diff --git a/CHANGELOG.md b/CHANGELOG.md index 7f5ff27..30f19d2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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] diff --git a/README.md b/README.md index 2f6b97a..f02c851 100644 --- a/README.md +++ b/README.md @@ -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'], @@ -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'; @@ -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` diff --git a/package.json b/package.json index 7a98a75..ddf96ea 100644 --- a/package.json +++ b/package.json @@ -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", @@ -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"