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;