Commit Graph

12 Commits

Author SHA1 Message Date
Haoqun Jiang
222477e4e5 fix(nightwatch): compat with legacy presets without webdrivers field (#5601) 2020-06-22 16:25:49 +08:00
Haoqun Jiang
795b27747d fix(nightwatch): should not install corresponding webdriver if the browser is unselected (#5528) 2020-06-18 15:52:43 +08:00
Cédric Exbrayat
adef4c9729 fix(e2e-nightwatch): fix eslint config generation (#5148)
Commit 1b64ff8464 introduced a nested if in `_eslintrc.js` with the same condition than the wrapping one. This changes the condition to check for TypeScript instead.
2020-02-05 22:55:19 +08:00
Haoqun Jiang
1b64ff8464 fix: fix eslint errors for typescript + e2e-nightwatch setup 2020-02-05 17:51:50 +08:00
Haoqun Jiang
c53a49dc98 fix: fix nightwatch template's compatibility with eslint plugin (#4622)
Fixes #4619

* fix: fix nightwatch template's compatibility with eslint plugin

* test: should add eslint plugin **after** nightwatch plugin

* fix: add _eslintrc.js
2019-09-29 22:06:21 +08:00
Haoqun Jiang
0473432679 feat(nightwatch): check user's installed browser versions on scaffolding / before running tests (#4563) 2019-09-12 18:33:10 +08:00
Andrei Rusu
59adbd69c7 feat: Upgrade Nightwatch to v1.2 and update bundled config and generated tests (#4541)
* feat: Upgraded Nightwatch to version 1.2; updated distributed config; added new cli flags: --headless, --parallel...; added support for running chromedriver and geckodriver standalone; added unit tests

* docs: updated nightwatch plugin readme

* feat: add chromedriver and geckodriver as peer dependencies

* updated readme and driver depedencies

* updated optional dependencies

* fixed failing tests

* updated generated tests

* updated tests
2019-09-09 18:49:33 +08:00
Haoqun Jiang
8f0673a93f chore!: upgrade chromedriver to 74 and make it a peer dependency (#3916) 2019-04-30 10:31:58 +08:00
Evan You
69ebd800a2 refactor: rename test commands
BREAKING CHANGE: `cli-plugin-unit-jest` and `cli-plugin-unit-mocha` now register
"test:unit" command and script instead of "test"; `cli-plugin-e2e-cypress` now
register "test:e2e" with optional `--headless` flag instead of "e2e" and
"e2e:open"; `cli-plugin-e2e-nightwatch` now register "test:e2e" instead of "e2e".

close #876, close #878
2018-05-01 18:15:25 -04:00
Evan You
64b4515731 refactor: change default test directory name to "tests"
BREAKING CHANGE: all tests are now located in "tests" instead of "test"
close #877
2018-02-28 18:07:06 -05:00
Evan You
f4d1841723 fix: nightwatch helper compat with airbnb linter
close #870
2018-02-28 17:37:19 -05:00
Evan You
655202f72d feat: e2e nightwatch 2018-01-18 00:25:07 +01:00