Given I go to "([^"]*)?"
Navigate to a url.
Exmaple:
- Given I go to "https://webship.co"
Then I should( not)* see "([^"]*)?"
Asserting a text in the page.
Exmaple:
- Then I should see "Welcome"
- Then I should not see "Access denied"
usage: steplist.js [-h] [-v] [-l] [-i] [-c CONFIG] [-s SRC_FOLDERS] [-f FORMAT]
Argparse example
optional arguments:
-h, --help show this help message and exit
-v, --version show program's version number and exit
-l, --list Display step definitions list without information.
-i, --information Display step definitions list with information.
-c CONFIG, --config CONFIG
Add your nightwatch config file, Example: -c="config.js" OR
-c=config.js OR -c config.js
-s SRC_FOLDERS, --src_folders SRC_FOLDERS
Add your step definitions folder/s path, Example: -s="path/to/folder1"
OR -s="path/to/folder1 path/to/folder2", You can add as much as you
want of folder paths
-f FORMAT, --format FORMAT
Choose step definitions list format style, just add a number. (1)
stdout-space. (2) stdout-dashes. Example: -f=1 OR -f 2