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