(baseURL: string, path: string)
| 16 | // Playwright's goto with absolute paths (like '/modules') ignores baseURL's path portion |
| 17 | // So we need to manually construct the full URL |
| 18 | const buildUrl = (baseURL: string, path: string) => { |
| 19 | return baseURL.replace(/\/$/, '') + path |
| 20 | } |
| 21 | |
| 22 | test.describe('with JavaScript disabled', () => { |
| 23 | test.use({ javaScriptEnabled: false, whitelistErrors }) |