diff --git a/apps/nextjs/tests-e2e/tests/sharing.test.ts b/apps/nextjs/tests-e2e/tests/sharing.test.ts index 6e0bdd046..b15ab5060 100644 --- a/apps/nextjs/tests-e2e/tests/sharing.test.ts +++ b/apps/nextjs/tests-e2e/tests/sharing.test.ts @@ -12,7 +12,7 @@ const checkPage = async (page: Page) => { await expect(banner).toContainText("Please check content carefully"); const keyStageSubjectTitle = page.getByTestId("key-stage-subject"); - await expect(keyStageSubjectTitle).toContainText("Key Stage 4"); + await expect(keyStageSubjectTitle).toContainText("Key stage 4"); await expect(keyStageSubjectTitle).toContainText("Computing"); await expect(page.locator("h1")).toContainText("Software Testing Techniques"); @@ -61,7 +61,7 @@ test("sharing a lesson", async ({ page, context, browser }) => { const modal = page.getByTestId("chat-share-dialog"); await expect(modal).toBeVisible(); - await expect(modal).toContainText("Share Chat"); + await expect(modal).toContainText("Share chat"); await modal.getByText("Create shareable link").click(); diff --git a/apps/nextjs/tests-e2e/tests/sidebar.test.ts b/apps/nextjs/tests-e2e/tests/sidebar.test.ts index 41bde008b..0220657ee 100644 --- a/apps/nextjs/tests-e2e/tests/sidebar.test.ts +++ b/apps/nextjs/tests-e2e/tests/sidebar.test.ts @@ -18,13 +18,13 @@ test( await page.getByTestId("sidebar-button").click(); const sidebar = page.getByTestId("sidebar"); expect(sidebar).toBeVisible(); - await sidebar.getByText("Software Testing Techniques").click(); + await sidebar.getByText("Software testing techniques").click(); }); await test.step("Lesson has loaded", async () => { await page.waitForURL(/\/aila\/.+/); await expect(page.locator("h1")).toContainText( - "Software Testing Techniques", + "Software testing techniques", ); }); },