From e9039994cb50f8632d0a83704799a0c972fa73c5 Mon Sep 17 00:00:00 2001 From: Theo Sanderson Date: Thu, 12 Oct 2023 20:24:15 +0100 Subject: [PATCH] up --- taxonium_website/e2e/example.spec.js | 7 ++----- taxonium_website/e2e/test-2.spec.ts | 2 +- 2 files changed, 3 insertions(+), 6 deletions(-) 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");