diff --git a/tests/work.spec.ts b/tests/work.spec.ts index a66d9d30..45365a60 100644 --- a/tests/work.spec.ts +++ b/tests/work.spec.ts @@ -23,6 +23,7 @@ const test = base.extend({ // 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); }, }); @@ -47,12 +48,12 @@ test.describe("Work page component", async () => { // ); }); - test("renders the Work top level metadata", async ({ page }) => { + test("renders the Work top level metadata", async ({ page, workPage }) => { // const metadataEl = page.getByTestId("metadata"); - // await expect(page.getByTestId("title")).toContainText( - // canaryWork.title || "", - // ); + await expect(page.getByTestId("title")).toContainText( + canaryWork.title || "", + ); return;