webship-js 1.0.2 → 1.0.3

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.
@@ -8,7 +8,7 @@ jobs:
8
8
  runs-on: ubuntu-latest
9
9
 
10
10
  env:
11
- TEST_BASE_URL: http://webshipjs.test
11
+ TEST_BASE_URL: https://webship.co
12
12
  SELENIUM_HOST: http://selenium:4444/wd/hub
13
13
 
14
14
  services:
@@ -23,7 +23,6 @@ jobs:
23
23
  - name: Use Node.js
24
24
  uses: actions/setup-node@v3
25
25
  with:
26
- node-version: '12.x'
27
- - run: npm ci
28
- - run: npm run build --if-present
29
- - run: npm test
26
+ node-version: '16.x'
27
+ - run: yarn install
28
+ - run: yarn test
package/README.md CHANGED
@@ -1,7 +1,6 @@
1
1
  # Webship JS
2
2
 
3
-
4
- ![example branch parameter.](https://github.com/webship/webship-js/actions/workflows/github-actions.yml/badge.svg?branch=1.0.x)
3
+ [![Webship-js CI](https://github.com/webship/webship-js/actions/workflows/github-actions.yml/badge.svg?branch=1.0.x)](https://github.com/webship/webship-js/actions)
5
4
 
6
5
 
7
6
  Webship JS has a ready step definitions for automated functional testing.
@@ -72,8 +72,8 @@ module.exports = {
72
72
  '--incognito',
73
73
  '--disable-infobars',
74
74
  '--remote-debugging-port=9222',
75
- '--allowed-ips=*',
76
- '--whitelisted-ips=*',
75
+ '--allowed-ips=159.89.4.58',
76
+ '--whitelisted-ips=159.89.4.58',
77
77
  '--allow-insecure-localhost'
78
78
  ]
79
79
  }
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "webship-js",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "description": "Webship JS automated functional testing.",
5
5
  "main": "index.js",
6
6
  "directories": {
7
7
  "test": "test"
8
8
  },
9
9
  "scripts": {
10
- "test": "nightwatch"
10
+ "test": "nightwatch --format @cucumber/pretty-formatter --format json:./tests/reports/cucumber-report-$( date '+%Y-%m-%d_%H-%M' ).json --format html:./tests/reports/cucumber-report-$( date '+%Y-%m-%d_%H-%M' ).html"
11
11
  },
12
12
  "repository": {
13
13
  "type": "git",
@@ -22,7 +22,9 @@
22
22
  "dependencies": {
23
23
  "@cucumber/cucumber": "*",
24
24
  "chromedriver": "*",
25
- "cucumber-pretty": "*",
25
+ "@cucumber/pretty-formatter": "^1.0.0-alpha.2",
26
+ "eslint": "^7.32.0",
27
+ "mocha": "^9.1.3",
26
28
  "geckodriver": "*",
27
29
  "nightwatch": "^2.1.7"
28
30
  }