Skip to content

Commit 42f5246

Browse files
updated dependencies (#20)
1 parent 1860dc6 commit 42f5246

File tree

6 files changed

+52
-51
lines changed

6 files changed

+52
-51
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ Check [Keep a Changelog](http://keepachangelog.com/) for recommendations on how
1010
:pencil: - chore
1111
:microscope: - experimental
1212

13+
## [1.0.1]
14+
- :pencil: updated dependencies
15+
- :rocket: renamed adapter spec to cucumber.spec.ts
16+
1317
## [1.0.0]
1418
- :rocket: added `executeStep` method to world to execute step definitions programmatically
1519
```typescript

package-lock.json

Lines changed: 33 additions & 32 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@qavajs/playwright-runner-adapter",
3-
"version": "1.0.0",
3+
"version": "1.0.1",
44
"description": "adapter for playwright test runner",
55
"scripts": {
66
"build": "tsc",
@@ -10,13 +10,13 @@
1010
"author": "Alexandr Galichenko",
1111
"license": "MIT",
1212
"dependencies": {
13-
"@cucumber/gherkin": "^29.0.0",
13+
"@cucumber/gherkin": "^30.0.4",
1414
"glob": "^11.0.0"
1515
},
1616
"devDependencies": {
17-
"@cucumber/cucumber": "^11.1.0",
18-
"@playwright/test": "^1.49.0",
19-
"@types/node": "^22.10.1",
17+
"@cucumber/cucumber": "^11.1.1",
18+
"@playwright/test": "^1.49.1",
19+
"@types/node": "^22.10.2",
2020
"typescript": "^5.7.2"
2121
}
2222
}
File renamed without changes.

test/playwright-e2e.config.ts

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,6 @@
11
import { defineConfig, devices } from '@playwright/test';
2-
import { resolve } from 'node:path';
32
import { defineCucumber } from '../src/defineCucumber';
43

5-
defineCucumber({
6-
config: 'test/cucumber.ts',
7-
profile: 'default'
8-
});
9-
104
/**
115
* Read environment variables from file.
126
* https://github.com/motdotla/dotenv
@@ -17,7 +11,11 @@ defineCucumber({
1711
* See https://playwright.dev/docs/test-configuration.
1812
*/
1913
export default defineConfig({
20-
testDir: resolve('adapter'),
14+
testDir: defineCucumber({
15+
config: 'test/cucumber.ts',
16+
profile: 'default',
17+
adapter: '../adapter'
18+
}),
2119
/* Run tests in files in parallel */
2220
fullyParallel: true,
2321
/* Fail the build on CI if you accidentally left test.only in the source code. */

test/playwright.config.ts

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,15 @@
11
import { defineConfig, devices } from '@playwright/test';
2-
import { resolve } from 'node:path';
32
import { defineCucumber } from '../src/defineCucumber';
43

5-
defineCucumber({
6-
config: 'test/cucumber.ts',
7-
profile: 'default'
8-
});
9-
104
/**
115
* See https://playwright.dev/docs/test-configuration.
126
*/
137
export default defineConfig({
14-
testDir: resolve('src'),
8+
testDir: defineCucumber({
9+
config: 'test/cucumber.ts',
10+
profile: 'default',
11+
adapter: '../src'
12+
}),
1513
/* Run tests in files in parallel */
1614
fullyParallel: true,
1715
/* Fail the build on CI if you accidentally left test.only in the source code. */

0 commit comments

Comments
 (0)