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: no-sw error shows for subdomain requests (#491)
* test: enable testing of pages with no service worker loaded
* test: add no-sw tests that repro #272
* fix: no-sw error shows for subdomain requests
* test: no-service-worker tests target a test file & run in CI
Copy file name to clipboardExpand all lines: playwright.config.js
+26Lines changed: 26 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -51,6 +51,32 @@ export default defineConfig({
51
51
...devices['Desktop Firefox'],
52
52
baseURL: process.env.BASE_URL
53
53
}
54
+
},
55
+
{
56
+
/**
57
+
* Test the site with service workers disabled. You need to `import {testNoServiceWorker as test, expect} from './fixtures/config-test-fixtures.js'` to use this project.
58
+
* Anything needing a service worker will be skipped when this project is ran.
* A fixture that skips tests that require the service worker. This is needed in order to test handling of requests where the service worker is not present.
0 commit comments