Commit cf233da
fix(tests): bound CDP connect timeout, drop https for storage-state probe
Two unrelated Windows-only failures on PR #3051:
1. test_connect_over_cdp_passing_header_works hung on Windows + Python
3.12/3.13: connect_over_cdp had no explicit timeout, the bogus
ws://127.0.0.1/ws endpoint never speaks CDP, and the IOCP scheduler
on 3.12+ kept the await past the 90s pytest timeout. Pass timeout=5000
so the Error rises promptly. Upstream's parallel TS test does the
same with timeout: 100; 5000 leaves headroom for slow runners.
2. test_set_storage_state_should_apply_state_to_existing_context hung
on Stable Edge (Windows) only. The two https://www.example.com
navigations took the network path before page.route intercepted.
Use http://example.com instead — same origin semantics for the
localStorage assertion, no TLS setup.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 3392e01 commit cf233da
2 files changed
Lines changed: 8 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
136 | 136 | | |
137 | 137 | | |
138 | 138 | | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
139 | 142 | | |
140 | 143 | | |
141 | 144 | | |
142 | 145 | | |
143 | 146 | | |
144 | 147 | | |
145 | | - | |
| 148 | + | |
146 | 149 | | |
147 | 150 | | |
148 | 151 | | |
| |||
154 | 157 | | |
155 | 158 | | |
156 | 159 | | |
157 | | - | |
| 160 | + | |
158 | 161 | | |
159 | 162 | | |
160 | 163 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
99 | | - | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
100 | 102 | | |
101 | 103 | | |
102 | 104 | | |
| |||
0 commit comments