Skip to content

Commit dfa8248

Browse files
committed
Upgraded to Serenity/JS 3.16.2 and Playwright 1.41.2
1 parent cbf74fd commit dfa8248

File tree

5 files changed

+130
-146
lines changed

5 files changed

+130
-146
lines changed

cucumber.js

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,10 @@
66
*/
77
module.exports = {
88
default: [
9-
`--require-module 'ts-node/register'`, // use TypeScript in-memory transpiler, ts-node
10-
`--format "@serenity-js/cucumber"`, // use Serenity/JS Cucumber adapter - https://serenity-js.org/modules/cucumber/
11-
`--require "./features/**/*.steps.ts"`, // load step definition libraries
12-
`--require './features/**/*.config.ts'` // load configuration files, such as features/support/
9+
`--require-module 'ts-node/register'`, // use TypeScript in-memory transpiler, ts-node
10+
`--format "@serenity-js/cucumber"`, // use Serenity/JS Cucumber adapter - https://serenity-js.org/modules/cucumber/
11+
`--format-options '{"specDirectory": "features"}'`, // configure the adapter
12+
`--require "./features/**/*.steps.ts"`, // load step definition libraries
13+
`--require './features/**/*.config.ts'` // load configuration files, such as features/support/
1314
].join(' ')
1415
};

features/authentication/form-based_authentication.feature

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
Feature: Form-Based Authentication
1+
Feature: Form-based authentication
22

3-
In order to learn how to use Serenity/JS with Cucumber and WebdriverIO
3+
In order to learn how to use Serenity/JS with Cucumber and Playwright
44
As a Curious Developer
55
I'd like to see an example
66

features/authentication/narrative.md renamed to features/authentication/readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
The Internet - Authentication
1+
# The Internet - Authentication
22

33
Narrative:
44
In order to learn how to implement *high-quality automated tests*

0 commit comments

Comments
 (0)