diff --git a/taxonium_website/e2e/example.spec.js b/taxonium_website/e2e/example.spec.js index 36fd6a36..5dfefa8f 100644 --- a/taxonium_website/e2e/example.spec.js +++ b/taxonium_website/e2e/example.spec.js @@ -2,13 +2,10 @@ import { test, expect } from "@playwright/test"; test("has title", async ({ page }) => { - await page.goto("//localhost:4173"); - // wait a few seconds - await page.waitForTimeout(1000); - // print the content of the page + await page.goto("//localhost:4173/"); - console.log(await page.content()); // Expect a title "to contain" a substring. await expect(page).toHaveTitle(/Taxonium/); }); + diff --git a/taxonium_website/e2e/test-2.spec.ts b/taxonium_website/e2e/test-2.spec.ts index a9edce68..86c54431 100644 --- a/taxonium_website/e2e/test-2.spec.ts +++ b/taxonium_website/e2e/test-2.spec.ts @@ -5,7 +5,7 @@ test("test", async ({ page }) => { await page.locator('input[type="file"]').click(); await page .locator('input[type="file"]') - .setInputFiles("../../data/tfci-taxonium-chron.jsonl"); + .setInputFiles("../data/tfci-taxonium-chron.jsonl"); await page.locator('input[name="treenomeEnabled"]').check(); await page.locator('input[name="treenomeEnabled"]').uncheck(); await page.getByLabel("Tree type:DistanceTime").selectOption("x_time");