import { runBaseTests } from './helpers/base';
import BookReader from './models/BookReader';
import { runDesktopSearchTests } from './helpers/desktopSearch';
// import { runMobileSearchTests } from './helpers/mobileSearch';


const { BASE_URL } = process.env;
const OCAIDS = [
  'theworksofplato01platiala',
  // Removed because failing test 'Canonical URL with cookie shows paramters'
  // in tests/e2e/helpers/base.js
  // Cookie path should be:
  //   /BookReaderDemo/demo-ia-olivertwist.html
  // Cookie path is:
  // /BookReaderDemo/demo-ia-olivertwist.html/page/n13/mode/2up
  // 'demo-ia-olivertwist.html',
];
const DEMO_PATH  = 'demo-internetarchive.html?ocaid='

OCAIDS.forEach(ocaid => {
  const url = `${BASE_URL}${DEMO_PATH }${ocaid}`;

  fixture `Base Tests for: ${ocaid}`.page `${url}`;
  runBaseTests(new BookReader());

  fixture `Desktop Search Tests for: ${ocaid}`
    .page `${url}`
  runDesktopSearchTests(new BookReader());

  fixture `Mobile Search Tests for: ${ocaid}`
    .page `${url}`
  // runMobileSearchTests(new BookReader());


});

import { runBaseTests } from './helpers/base';
import BookReader from './models/BookReader';
import { runDesktopSearchTests } from './helpers/desktopSearch';
// import { runMobileSearchTests } from './helpers/mobileSearch';


const { BASE_URL } = process.env;
const OCAIDS = [
  'theworksofplato01platiala',
  // Removed because failing test 'Canonical URL with cookie shows paramters'
  // in tests/e2e/helpers/base.js
  // Cookie path should be:
  //   /BookReaderDemo/demo-ia-olivertwist.html
  // Cookie path is:
  // /BookReaderDemo/demo-ia-olivertwist.html/page/n13/mode/2up
  // 'demo-ia-olivertwist.html',
];
const DEMO_PATH  = 'demo-internetarchive.html?ocaid='

OCAIDS.forEach(ocaid => {
  const url = `${BASE_URL}${DEMO_PATH }${ocaid}`;

  fixture `Base Tests for: ${ocaid}`.page `${url}`;
  runBaseTests(new BookReader());

  fixture `Desktop Search Tests for: ${ocaid}`
    .page `${url}`
  runDesktopSearchTests(new BookReader());

  // fixture `Mobile Search Tests for: ${ocaid}`
  //   .page `${url}`
  // runMobileSearchTests(new BookReader());


});

Remove fixture mobile tests