Skip to content

Commit d83088a

Browse files
committed
extract nightwatch-helpers into npm package
1 parent 2388bdb commit d83088a

File tree

11 files changed

+3
-154
lines changed

11 files changed

+3
-154
lines changed

build/nightwatch.config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
module.exports = {
33
'src_folders': ['test/e2e/specs'],
44
'output_folder': 'test/e2e/reports',
5-
'custom_commands_path': ['test/e2e/custom-commands'],
6-
'custom_assertions_path': ['test/e2e/custom-assertions'],
5+
'custom_commands_path': ['node_modules/nightwatch-helpers/commands'],
6+
'custom_assertions_path': ['node_modules/nightwatch-helpers/assertions'],
77

88
'selenium': {
99
'start_process': true,

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@
7575
"karma-webpack": "^1.7.0",
7676
"lodash": "^4.13.1",
7777
"nightwatch": "^0.9.0",
78+
"nightwatch-helpers": "^1.0.0",
7879
"phantomjs-prebuilt": "^2.1.1",
7980
"rollup": "^0.33.0",
8081
"rollup-plugin-alias": "^1.2.0",

test/e2e/custom-assertions/attributePresent.js

Lines changed: 0 additions & 18 deletions
This file was deleted.

test/e2e/custom-assertions/checked.js

Lines changed: 0 additions & 18 deletions
This file was deleted.

test/e2e/custom-assertions/count.js

Lines changed: 0 additions & 18 deletions
This file was deleted.

test/e2e/custom-assertions/evaluate.js

Lines changed: 0 additions & 16 deletions
This file was deleted.

test/e2e/custom-assertions/focused.js

Lines changed: 0 additions & 18 deletions
This file was deleted.

test/e2e/custom-assertions/hasHTML.js

Lines changed: 0 additions & 18 deletions
This file was deleted.

test/e2e/custom-assertions/notVisible.js

Lines changed: 0 additions & 16 deletions
This file was deleted.

test/e2e/custom-commands/dblClick.js

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)