Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Check [Keep a Changelog](http://keepachangelog.com/) for recommendations on how

:microscope: - experimental

## [Unreleased]
## [1.8.0]
- :rocket: added `gherkinDocument` to hooks parameter

## [1.7.1]
Expand Down
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ npm install @qavajs/playwright-runner-adapter
## Basic Configuration

### Create cucumber config file
Set _paths_ and _require_ properties
Set `paths` and `require` properties
```typescript
export default {
paths: ['test/features/*.feature'],
Expand All @@ -34,8 +34,8 @@ export default defineConfig({

## Advanced Configuration
### Customizing test instance
Custom test instance can be passed to world constructor as _test_ property.
And then fixtures can be connected with world instance via _init_ property.
Custom test instance can be passed to world constructor as `test` property.
And then fixtures can be connected with world instance via `init` function-property.
```typescript
import { test as base, expect as baseExpect } from '@playwright/test';
import { SettingsPage } from './settings-page';
Expand Down Expand Up @@ -97,5 +97,6 @@ export default defineConfig({
## Limitation
- ES modules are not supported (at least for node <= 22, where experimental ESM require is introduced)
- `setParallelCanAssign` is not supported (use playwright projects and `fullyParallel` property)
- `CUCUMBER_PARALLEL`, `CUCUMBER_TOTAL_WORKERS` and `CUCUMBER_WORKER_ID` env vars are not supported. Use built-in `info()` method of world property `test`


4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@qavajs/playwright-runner-adapter",
"version": "1.7.1",
"version": "1.8.0",
"description": "adapter for playwright test runner",
"main": "adapter/index.js",
"types": "adapter/index.d.ts",
Expand All @@ -19,7 +19,7 @@
"url": "https://github.com/qavajs/playwright-runner-adapter/issues"
},
"dependencies": {
"@cucumber/gherkin": "^36.0.0",
"@cucumber/gherkin": "^36.1.0",
"@cucumber/tag-expressions": "^8.0.0",
"glob": "^11.0.3",
"@cucumber/cucumber": "^12.2.0"
Expand Down
Loading