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
fix: `config.kit.csp.directives['trusted-types']` requires `'svelte-trusted-html'` (and `'sveltekit-trusted-url'` when a service worker is automatically registered) if it is configured
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+13-1Lines changed: 13 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -84,8 +84,20 @@ If there are tests that fail on the CI, you can retrieve the failed screenshots
84
84
85
85
It is very easy to introduce flakiness in a browser test. If you try to fix the flakiness in a test, you can run it until failure to gain some confidence you've fixed the test with a command like:
86
86
87
+
```sh
88
+
pnpx playwright test --workers=1 --repeat-each 1000 --max-failures 1 -g "accepts a Request object"
87
89
```
88
-
npx playwright test --workers=1 --repeat-each 1000 --max-failures 1 -g "accepts a Request object"
90
+
91
+
The Playwright tests can also be run with the following environment variables to augment how the tests run locally:
92
+
93
+
```sh
94
+
# Default values
95
+
KIT_E2E_BROWSER=chromium
96
+
KIT_E2E_RETRIES=0
97
+
KIT_E2E_WORKERS=undefined
98
+
99
+
# Append the modified environment variable before the test command
0 commit comments