Add favicon webpack plugin
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user