Skip to content

Commit

Permalink
temp
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthewMi11er committed Apr 8, 2018
1 parent 30425dd commit 166b3e4
Show file tree
Hide file tree
Showing 3 changed files with 673 additions and 23 deletions.
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
"semantic-release": "semantic-release",
"start": "per-env",
"start:development": "babel-node lib/build.js",
"testcafe": "testcafe chrome testcafe/testcafe.js",
"pretty-quick": "pretty-quick --staged"
},
"config": {
Expand Down Expand Up @@ -100,6 +101,7 @@
"semantic-release": "15.1.5",
"sonarwhal": "1.4.0",
"sort-package-json": "1.11.0",
"testcafe": "0.18.6",
"uglifyjs-webpack-plugin": "1.2.4",
"webpack": "4.5.0",
"webpack-merge": "4.1.2"
Expand Down
13 changes: 13 additions & 0 deletions testcafe/testcafe.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
/* eslint-disable */

import { Selector } from 'testcafe';

fixture`Getting Started`.page`http://localhost:3000/`;

test('Check that placeholder test is updated', async t => {
await t

// Use the assertion to check if the actual header text is equal to the expected one
.expect(Selector('#theBestPassword').innerText)
.notEql('placeholder');
});
Loading

0 comments on commit 166b3e4

Please sign in to comment.