From ac2c337e951f67d80b82ca76666909efe177217e Mon Sep 17 00:00:00 2001 From: Mat Jordan Date: Tue, 17 Sep 2024 09:43:35 -0400 Subject: [PATCH] Debug. --- tests/work.spec.ts | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/tests/work.spec.ts b/tests/work.spec.ts index 593ad2cc..cccbed36 100644 --- a/tests/work.spec.ts +++ b/tests/work.spec.ts @@ -19,18 +19,16 @@ const test = base.extend({ await openGraphPage.goto(); await use(openGraphPage); }, - // A fixture to help with the Search Page shared functionality workPage: async ({ page }, use) => { const workPage = new WorkPage(page); - await workPage.goto(); await use(workPage); }, }); -test.describe("Work page component", async () => { - test.beforeEach(async ({ page, workPage }) => { - await workPage.goto(); +test.describe("Work page component", async () => {{ + test.beforeEach(async ({ page }) => { + await page.goto(`/items/${CANARY_WORK_ID}`); }); return;