Skip to content
This repository has been archived by the owner on Nov 30, 2022. It is now read-only.

Commit

Permalink
Add test target for local dev of E2E
Browse files Browse the repository at this point in the history
  • Loading branch information
axelssonHakan committed Jan 23, 2019
1 parent 785ee87 commit 7ac72e4
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"test:unit": "aw --glob test/unit/*.spec.js --src src/logic/*.js --coverage",
"test:comp": "aw -c ./test/comp/aw.config.js && nyc report -t ./coverage/.nyc_output -r lcov -r text",
"test:e2e": "aw puppeteer -c ./test/e2e/aw.config.js",
"test:e2e:local": "CI=true aw puppeteer -c ./test/e2e/aw.config.local.js",
"coverage:html": "nyc report -t ./coverage/.nyc_output -r html",
"lint": "eslint --ext .js,.jsx . && stylelint src/.",
"lint:fix": "eslint --ext .js,.jsx --fix . && stylelint --fix src/."
Expand Down
9 changes: 9 additions & 0 deletions test/e2e/aw.config.local.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
module.exports = {
glob: ['test/e2e/*.spec.js'],
launch: true,
'chrome.headless': false,
'chrome.defaultViewport': {
width: 1920,
height: 1080,
},
};

0 comments on commit 7ac72e4

Please sign in to comment.