Fix 404 test

This commit is contained in:
Aarni Halinen
2020-07-08 18:50:52 +03:00
parent 545562bf0d
commit 2f045b462f
2 changed files with 2 additions and 3 deletions
+1 -2
View File
@@ -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");
});