Skip to content

Commit

Permalink
up
Browse files Browse the repository at this point in the history
  • Loading branch information
theosanderson committed Oct 12, 2023
1 parent 100cf1a commit e903999
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
7 changes: 2 additions & 5 deletions taxonium_website/e2e/example.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -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/);
});

2 changes: 1 addition & 1 deletion taxonium_website/e2e/test-2.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

1 comment on commit e903999

@vercel
Copy link

@vercel vercel bot commented on e903999 Oct 12, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.