Skip to content

Commit e361e71

Browse files
committed
docs(website): wordsmithing
1 parent 78bfaf3 commit e361e71

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

src/docs/handbook/test-runners/playwright-test.mdx

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ export default defineConfig<SerenityOptions>({
137137
});
138138
```
139139

140-
This configuration enables the [`@serenity-js/playwright-test`](/api/playwright-test/), which in turn configures the ["stage crew"](/handbook/architecture/#serenityjs-reporting-services) of Serenity/JS reporting services:
140+
This configuration enables the [`@serenity-js/playwright-test`](/api/playwright-test/) test runner adapter, which in turn configures the ["stage crew"](/handbook/architecture/#serenityjs-reporting-services) of Serenity/JS reporting services:
141141
- [Console reporter](/handbook/reporting/console-reporter/) - Displays test results in the terminal.
142142
- [Serenity BDD reporter](/handbook/reporting/serenity-bdd-reporter/) - Produces `json` reports to be ingested by the Serenity BDD CLI and produce the living documentation.
143143
- [Artifact Archiver](/handbook/reporting/artifact-archiver/) - Stores the `json` reports and screenshots captured by the Photographer to disk.
@@ -1030,15 +1030,16 @@ parameters to your NPM scripts. See the [`npm-failsafe` documentation](https://g
10301030
10311031
## Integration architecture
10321032
1033-
To recap, Serenity/JS integrates with Playwright Test through the [`@serenity-js/playwright-test`](/api/playwright-test) module, which acts as a [test runner adapter](/handbook/architecture/#serenityjs-test-runner-adapters) and:
1033+
To recap, Serenity/JS integrates with Playwright Test through the [`@serenity-js/playwright-test`](/api/playwright-test) module,
1034+
which acts as a [test runner adapter](/handbook/architecture/#serenityjs-test-runner-adapters) and:
10341035
- Captures test execution events from Playwright Test
10351036
- Translates them into [Serenity/JS domain events](/handbook/reporting/domain-events)
10361037
- Makes them available to [Serenity/JS reporting services](/handbook/reporting/)
10371038
1038-
This modular architecture enables Serenity/JS to enhance both classic Playwright Test scenarios and those following the Screenplay Pattern with advanced reporting capabilities, as it:
1039+
This modular architecture enables Serenity/JS to enhance both classic Playwright Test scenarios and those following the Screenplay Pattern with advanced reporting capabilities.
10391040
10401041
To enable this integration, you need to:
1041-
1. Configure [Serenity/JS reporting services](#integrating-serenityjs-reporting) in your `playwright.config.ts` file
1042+
1. Configure [Serenity/JS test runner adapter and reporting services](#integrating-serenityjs-reporting) in your `playwright.config.ts` file
10421043
2. Optionally, use the [Serenity/JS test fixtures](#using-the-screenplay-pattern-apis) to enable Screenplay Pattern APIs in your Playwright Test scenarios
10431044
10441045
<figure>
@@ -1076,10 +1077,10 @@ To take things further, check out:
10761077
- [Your first web scenario (Serenity/JS + Playwright Test tutorial)](/handbook/tutorials/your-first-web-scenario)
10771078
- [The Screenplay Pattern](/handbook/design/screenplay-pattern/)
10781079
- [Serenity/JS Web Testing Patterns](/handbook/web-testing/)
1079-
- [Serenity/JS examples on GitHub](https://github.com/serenity-js/serenity-js/tree/main/examples/)
1080-
- [Serenity/JS Playwright project templates](https://github.com/serenity-js?q=playwright+template&type=all&language=&sort=)
1080+
- [Serenity/JS Playwright project templates](/handbook/project-templates/#playwright)
10811081
- [Serenity/JS Web API docs](/api/web/)
10821082
- [Serenity/JS Assertions API docs](/api/assertions/)
1083+
- [Serenity/JS examples on GitHub](https://github.com/serenity-js/serenity-js/tree/main/examples/)
10831084
- 📚 Our book, ["BDD in Action, Second Edition"](https://www.manning.com/books/bdd-in-action-second-edition)
10841085
10851086
Remember, new features, tutorials, and demos are coming soon!

0 commit comments

Comments
 (0)