diff --git a/src/pages/NotFoundPage.tsx b/src/pages/NotFoundPage.tsx index 8720f6b..ab08ac7 100644 --- a/src/pages/NotFoundPage.tsx +++ b/src/pages/NotFoundPage.tsx @@ -19,7 +19,7 @@ const NotFoundPage: React.FC = () => ( 404 | Ei vaan löydy - + 404 | Ei vaan löydy diff --git a/tests/testcafe/404.test.ts b/tests/testcafe/404.test.ts index 93e52c7..a555ec3 100644 --- a/tests/testcafe/404.test.ts +++ b/tests/testcafe/404.test.ts @@ -11,7 +11,6 @@ test("Page contains the text 404", async t => { /** * Test if there is a favicon element on the page */ - const elem = Selector(".not-found-page"); + const elem = Selector("#not-found"); await t.expect(elem.textContent).contains("404"); }); -