Commit ed7f327
fix(playwright): stabilise Entity.spec.ts deny-access tests against CI timeout flakiness (#29560)
The deny-access tests that use the `dataConsumerPage` fixture were
missing `test.slow(true)`, causing them to flake under CI load. The
fixture's fresh login plus `visitEntityPage`'s search-response wait
together routinely exceeded the 60 s test timeout when multiple entity
suites ran in parallel, producing an opaque "Target page, context or
browser has been closed" error at entity.ts:77.
- Added `test.slow(true)` (180 s budget) to the two affected tests:
`User should be denied access to edit description` (all 16 entities)
and `Data Consumer should be denied access to queries/sample data`
(Table entity).
- Added `{ timeout: 30000 }` to `page.waitForResponse` in
`visitEntityPage` so future failures produce a clear timeout error
instead of the opaque page-closed message.
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 496a7e6 commit ed7f327
2 files changed
Lines changed: 6 additions & 1 deletion
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2174 | 2174 | | |
2175 | 2175 | | |
2176 | 2176 | | |
| 2177 | + | |
| 2178 | + | |
2177 | 2179 | | |
2178 | 2180 | | |
2179 | 2181 | | |
| |||
2307 | 2309 | | |
2308 | 2310 | | |
2309 | 2311 | | |
| 2312 | + | |
| 2313 | + | |
2310 | 2314 | | |
2311 | 2315 | | |
2312 | 2316 | | |
| |||
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
81 | | - | |
| 81 | + | |
| 82 | + | |
82 | 83 | | |
83 | 84 | | |
84 | 85 | | |
| |||
0 commit comments