Add favicon webpack plugin

This commit is contained in:
Jan Tuomi
2018-06-22 10:01:35 +03:00
parent 238e719aa7
commit f7059eefbe
8 changed files with 727 additions and 1 deletions
+8
View File
@@ -7,6 +7,14 @@ import { Selector } from "testcafe";
fixture`Page renders correctly`.page("http://localhost:3000");
test("Favicon exists", async t => {
/**
* Test if there is a favicon element on the page
*/
const elem = Selector("link[rel=\"icon\"");
await t.expect(elem.exists).ok();
});
test("Paragraph exists and is visible", async t => {
/**
* Test if there is a paragraph on the page.