Commit ccfed25
committed
test: derive expected scheme from page protocol in server-url e2e
The normalization test hardcoded https://127.0.0.1:9, which only holds on
the HTTPS dev server. The Docker E2E runs over HTTP, where normalizeServerUrl
correctly produces http://127.0.0.1:9 (it adopts the page's protocol — the
mixed-content fix), so the test failed in CI. Derive the expected scheme from
page.url() so it's correct on both HTTP and HTTPS.
https://claude.ai/code/session_01EeGweBeouxSsT6nSaXy8Pk1 parent ee4c7d1 commit ccfed25
1 file changed
Lines changed: 6 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
34 | | - | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
35 | 36 | | |
| 37 | + | |
36 | 38 | | |
37 | 39 | | |
38 | 40 | | |
39 | | - | |
40 | | - | |
| 41 | + | |
| 42 | + | |
41 | 43 | | |
0 commit comments