webship-js 1.0.8 → 1.0.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2,7 +2,7 @@
2
2
  'use strict';
3
3
 
4
4
  const fs = require('fs');
5
- const conf = require('../nightwatch.conf.js');
5
+ const conf = require('./nightwatch.conf.js');
6
6
 
7
7
  /**
8
8
  * -----------------------------------------------------
@@ -10,7 +10,7 @@ const conf = require('../nightwatch.conf.js');
10
10
  * -----------------------------------------------------
11
11
  */
12
12
  const { ArgumentParser } = require('argparse');
13
- const { version } = require('../package.json');
13
+ const { version } = require('./package.json');
14
14
 
15
15
  const parser = new ArgumentParser({
16
16
  description: 'Argparse example'
@@ -33,7 +33,7 @@ parser.add_argument('-i', '--information',
33
33
  parser.add_argument('-c', '--config',
34
34
  {
35
35
  help: 'Add your nightwatch config file, Example: -c="config.js" OR -c=config.js OR -c config.js',
36
- default: '../nightwatch.conf.js',
36
+ default: './nightwatch.conf.js',
37
37
  });
38
38
 
39
39
  parser.add_argument('-s', '--src_folders',
@@ -115,7 +115,7 @@ function callStartsWith(stepsList) {
115
115
  /**
116
116
  * Clean Steps List
117
117
  *
118
- * Return list of array items cleand from unreadable chars.
118
+ * Return list of array items was clean from unreadable chars.
119
119
  *
120
120
  * @param {array} stepsList The step definitions array before
121
121
  * clean unreadable signs.
@@ -0,0 +1,8 @@
1
+ Feature: Example test for webship-js
2
+ As a tester
3
+ I want to be able to test the webship.co site
4
+ So that I know it is working
5
+
6
+ Scenario: Check the webship.co site
7
+ Given I go to "https://webship.co"
8
+ Then I should see "Webship.co"