You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
141
141
-[Console reporter](/handbook/reporting/console-reporter/) - Displays test results in the terminal.
142
142
-[Serenity BDD reporter](/handbook/reporting/serenity-bdd-reporter/) - Produces `json` reports to be ingested by the Serenity BDD CLI and produce the living documentation.
143
143
-[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
1030
1030
1031
1031
## Integration architecture
1032
1032
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:
1034
1035
- Captures test execution events from Playwright Test
1035
1036
- Translates them into [Serenity/JS domain events](/handbook/reporting/domain-events)
1036
1037
- Makes them available to [Serenity/JS reporting services](/handbook/reporting/)
1037
1038
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.
1039
1040
1040
1041
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
1042
1043
2. Optionally, use the [Serenity/JS test fixtures](#using-the-screenplay-pattern-apis) to enable Screenplay Pattern APIs in your Playwright Test scenarios
1043
1044
1044
1045
<figure>
@@ -1076,10 +1077,10 @@ To take things further, check out:
1076
1077
- [Your first web scenario (Serenity/JS + Playwright Test tutorial)](/handbook/tutorials/your-first-web-scenario)
0 commit comments