@serenity-js/protractor 3.10.0 → 3.10.2

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.
Files changed (3) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/README.md +15 -16
  3. package/package.json +14 -14
package/CHANGELOG.md CHANGED
@@ -3,6 +3,25 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [3.10.2](https://github.com/serenity-js/serenity-js/compare/v3.10.1...v3.10.2) (2023-09-10)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * **core:** updated installation instruction in the README ([ec3f277](https://github.com/serenity-js/serenity-js/commit/ec3f2778334abbd7324497ceaa2df9f0560a103e)), closes [#1915](https://github.com/serenity-js/serenity-js/issues/1915)
12
+
13
+
14
+
15
+
16
+
17
+ ## [3.10.1](https://github.com/serenity-js/serenity-js/compare/v3.10.0...v3.10.1) (2023-09-01)
18
+
19
+ **Note:** Version bump only for package @serenity-js/protractor
20
+
21
+
22
+
23
+
24
+
6
25
  # [3.10.0](https://github.com/serenity-js/serenity-js/compare/v3.9.1...v3.10.0) (2023-08-23)
7
26
 
8
27
 
package/README.md CHANGED
@@ -9,9 +9,10 @@
9
9
  of complex software systems faster, more collaborative and easier to scale.
10
10
 
11
11
  ⭐️ Get started with Serenity/JS!
12
- - [Serenity/JS Handbook](https://serenity-js.org/handbook) and [tutorial](https://serenity-js.org/handbook/web-testing/your-first-web-scenario),
13
- - [API documentation](https://serenity-js.org/api/core),
14
- - [Serenity/JS project templates on GitHub](https://serenity-js.org/handbook/getting-started#serenityjs-project-templates).
12
+ - [Serenity/JS web testing tutorial](https://serenity-js.org/handbook/web-testing/your-first-web-scenario)
13
+ - [Serenity/JS Handbook](https://serenity-js.org/handbook) and [Getting Started guides](https://serenity-js.org/handbook/getting-started/)
14
+ - [API documentation](https://serenity-js.org/api/core)
15
+ - [Serenity/JS Project Templates on GitHub](https://serenity-js.org/handbook/getting-started#serenityjs-project-templates)
15
16
 
16
17
  👋 Join the Serenity/JS Community!
17
18
  - Meet other Serenity/JS developers and maintainers on the [Serenity/JS Community chat channel](https://matrix.to/#/#serenity-js:gitter.im),
@@ -31,13 +32,11 @@ Learn more about [integrating Serenity/JS with Protractor](https://serenity-js.o
31
32
 
32
33
  To install this module, run:
33
34
 
34
- ```console
35
- npm install --save-dev @serenity-js/{core,protractor}
35
+ ```sh
36
+ npm install --save-dev @serenity-js/core @serenity-js/protractor
36
37
  ```
37
38
 
38
- Next, install one of the below test runner adapters.
39
-
40
- Learn more about [integrating Serenity/JS with Protractor](https://serenity-js.org/handbook/test-runners/protractor/).
39
+ To learn more about Serenity/JS and how to use it on your project, follow the [Serenity/JS Getting Started guide for Protractor](https://serenity-js.org/handbook/getting-started/serenity-js-with-protractor/).
41
40
 
42
41
  #### Usage with Cucumber.js
43
42
 
@@ -78,7 +77,7 @@ const
78
77
  { ArtifactArchiver } = require('@serenity-js/core'),
79
78
  { ConsoleReporter } = require('@serenity-js/console-reporter'),
80
79
  { Photographer, TakePhotosOfFailures, TakePhotosOfInteractions } = require('@serenity-js/protractor'),
81
- { SerenityBDDReporter } = require('@serenity-js/serenity-bdd');
80
+ { SerenityBDDReporter } = require('@serenity-js/serenity-bdd')
82
81
 
83
82
  exports.config = {
84
83
  // Tell Protractor to use the Serenity/JS framework Protractor Adapter
@@ -117,7 +116,7 @@ exports.config = {
117
116
  },
118
117
 
119
118
  // ... other Protractor-specific configuration
120
- };
119
+ }
121
120
  ```
122
121
 
123
122
  Learn more about:
@@ -129,17 +128,17 @@ Learn more about:
129
128
  ### Interacting with websites and web apps
130
129
 
131
130
  ```typescript
132
- import { actorCalled } from '@serenity-js/core';
133
- import { Ensure, equals } from '@serenity-js/assertions';
134
- import { By, Navigate, Target, Text } from '@serenity-js/web';
135
- import { BrowseTheWebWithProtractor } from '@serenity-js/protractor';
136
- import { protractor } from 'protractor';
131
+ import { actorCalled } from '@serenity-js/core'
132
+ import { Ensure, equals } from '@serenity-js/assertions'
133
+ import { By, Navigate, Target, Text } from '@serenity-js/web'
134
+ import { BrowseTheWebWithProtractor } from '@serenity-js/protractor'
135
+ import { protractor } from 'protractor'
137
136
 
138
137
  // example Lean Page Object describing a widget we interact with in the test
139
138
  class SerenityJSWebsite {
140
139
  static header = () =>
141
140
  PageElement.located(By.css('h1')) // selector to identify the interactable element
142
- .describedAs('header'); // description to be used in reports
141
+ .describedAs('header') // description to be used in reports
143
142
  }
144
143
 
145
144
  // example Jasmine test
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@serenity-js/protractor",
3
- "version": "3.10.0",
3
+ "version": "3.10.2",
4
4
  "description": "Test your web apps with Serenity/JS",
5
5
  "author": {
6
6
  "name": "Jan Molak",
@@ -48,8 +48,8 @@
48
48
  "node": "^16.13 || ^18.12 || ^20"
49
49
  },
50
50
  "dependencies": {
51
- "@serenity-js/core": "3.10.0",
52
- "@serenity-js/web": "3.10.0",
51
+ "@serenity-js/core": "3.10.2",
52
+ "@serenity-js/web": "3.10.2",
53
53
  "deepmerge": "^4.3.1",
54
54
  "query-selector-shadow-dom": "^1.0.1",
55
55
  "selenium-webdriver": "^3.6.0",
@@ -75,19 +75,19 @@
75
75
  },
76
76
  "devDependencies": {
77
77
  "@integration/testing-tools": "3.0.0",
78
- "@serenity-js/assertions": "3.10.0",
79
- "@serenity-js/cucumber": "3.10.0",
80
- "@serenity-js/jasmine": "3.10.0",
81
- "@serenity-js/local-server": "3.10.0",
82
- "@serenity-js/mocha": "3.10.0",
83
- "@serenity-js/rest": "3.10.0",
78
+ "@serenity-js/assertions": "3.10.2",
79
+ "@serenity-js/cucumber": "3.10.2",
80
+ "@serenity-js/jasmine": "3.10.2",
81
+ "@serenity-js/local-server": "3.10.2",
82
+ "@serenity-js/mocha": "3.10.2",
83
+ "@serenity-js/rest": "3.10.2",
84
84
  "@serenity-js/web": "3.1.1",
85
- "@types/chai": "^4.3.5",
85
+ "@types/chai": "^4.3.6",
86
86
  "@types/express": "^4.17.17",
87
87
  "@types/html-minifier": "^4.0.2",
88
88
  "@types/mocha": "^10.0.1",
89
- "@types/selenium-webdriver": "^3.0.22",
90
- "axios": "^1.4.0",
89
+ "@types/selenium-webdriver": "^3.0.23",
90
+ "axios": "^1.5.0",
91
91
  "body-parser": "^1.20.2",
92
92
  "c8": "8.0.1",
93
93
  "cross-env": "^7.0.3",
@@ -99,7 +99,7 @@
99
99
  "selenium-webdriver": "^3.6.0",
100
100
  "start-server-and-test": "^2.0.0",
101
101
  "ts-node": "^10.9.1",
102
- "typescript": "^5.1.6"
102
+ "typescript": "5.1.6"
103
103
  },
104
- "gitHead": "06ae5d8a702be0be2890e989c120715c32f6578a"
104
+ "gitHead": "6834827fffe5dd8dd3d2f39d2fea2c4039ab1d3d"
105
105
  }