executable-stories-playwright 8.5.2 → 8.5.4

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 (2) hide show
  1. package/README.md +2 -2
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -5,7 +5,7 @@ BDD-style executable stories for Playwright Test with documentation generation.
5
5
  ## Install
6
6
 
7
7
  ```bash
8
- pnpm add -D executable-stories-playwright executable-stories-formatters
8
+ pnpm add -D executable-stories-playwright
9
9
  ```
10
10
 
11
11
  ## Usage
@@ -155,7 +155,7 @@ story.init(testInfo, {
155
155
  ## Developer experience
156
156
 
157
157
  - **API:** Top-level step functions: `given`, `when`, `then`, `and`, `but` from `executable-stories-playwright`, plus `story` object with `story.init()` and the same steps on `story` for a consistent entry point. Use `story.init(testInfo)` and then `story.given` / `story.when` / `story.then`, etc.
158
- - **Modifiers:** Playwright’s `.skip`, `.only`, `.fixme`, `.todo`, `.fail`, `.slow` on tests; use `story.skip` / `story.only` / `story.fixme` / `story.slow` for scenario-level modifiers.
158
+ - **Modifiers:** Use Playwright’s native test modifiers — `test.skip`, `test.only`, `test.fixme`, `test.slow`, `test.fail` (and `.todo`) for scenario-level control. The `story` object does not provide its own modifiers.
159
159
  - **Attach story to a plain test:** Call `story.init(testInfo)` inside a normal `test()` so that test appears in generated docs. Playwright does not export `doc`; scenario title comes from the Playwright test title.
160
160
  - **Rich step docs:** `story.note()`, `story.json()`, `story.code()`, `story.mermaid()`, etc., or pass a `StoryDocs` object as the second argument when not using a callback. See the root [Features matrix](https://github.com/jagreehal/executable-stories#features-matrix).
161
161
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "executable-stories-playwright",
3
- "version": "8.5.2",
3
+ "version": "8.5.4",
4
4
  "description": "BDD-style executable stories for Playwright Test with documentation generation",
5
5
  "type": "module",
6
6
  "sideEffects": false,
@@ -33,7 +33,7 @@
33
33
  }
34
34
  },
35
35
  "dependencies": {
36
- "executable-stories-formatters": "0.14.0"
36
+ "executable-stories-formatters": "0.15.1"
37
37
  },
38
38
  "devDependencies": {
39
39
  "@opentelemetry/api": "^1.9.1",