Skip to content

Commit

Permalink
Test cont (#547)
Browse files Browse the repository at this point in the history
* a

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* up

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
theosanderson and pre-commit-ci[bot] authored Oct 12, 2023
1 parent e903999 commit 990c152
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/playwright.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ jobs:
run: yarn build
working-directory: ./taxonium_website
- name: Run Playwright tests
run: yarn playwright test
run: pwd
yarn playwright test
working-directory: ./taxonium_website
- uses: actions/upload-artifact@v3
if: always()
Expand Down
2 changes: 0 additions & 2 deletions taxonium_website/e2e/example.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ import { test, expect } from "@playwright/test";
test("has title", async ({ page }) => {
await page.goto("//localhost:4173/");


// 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 990c152

@vercel
Copy link

@vercel vercel bot commented on 990c152 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.