File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed
src/docs/handbook/getting-started Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -63,9 +63,10 @@ Learn more about [Serenity/JS architecture](/handbook/getting-started/architectu
63
63
To enable [ Serenity/JS reporting services] ( /handbook/reporting/ ) , configure Playwright Test as follows:
64
64
65
65
``` typescript title="playwright.config.ts"
66
- import type { PlaywrightTestConfig } from ' @playwright/test'
66
+ import { defineConfig , devices } from ' @playwright/test'
67
+ import type { SerenityOptions } from ' @serenity-js/playwright-test'
67
68
68
- const config : PlaywrightTestConfig = {
69
+ export default defineConfig < SerenityOptions >( {
69
70
reporter: [
70
71
// Serenity/JS reporting services
71
72
[ ' @serenity-js/playwright-test' , {
@@ -93,9 +94,7 @@ const config: PlaywrightTestConfig = {
93
94
},
94
95
95
96
// Other Playwright Test configuration options
96
- }
97
-
98
- export default config
97
+ });
99
98
```
100
99
101
100
Learn more about:
You can’t perform that action at this time.
0 commit comments