You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
test(ui): fix three flaky browser-suite waits (#2612)
---
*🤖 written by Claude (start)*
## Overview
- **#2609** — the collapsed nav icon is measured against its own row
rather than the rail's centre line, so the assertion no longer reports
which engine drew the frame.
- **#2610** — the chat fixture now says when a turn has finished, so the
specs wait on that instead of on a 5s deadline over a ~3s scripted
stream.
- **#2611** — the step that deliberately does not wait chooses its
namespace from the keyboard rather than by clicking a popup that is
hit-tested where it is drawn, and the sibling test reads the address
with `toHaveURL` instead of a bare `page.url()` that had no retry at
all.
- **Cluster setup** — `make create-kind-cluster` no longer races the
apiserver it just created. `kind create cluster` waits for the control
plane, and the MetalLB step waits on `/readyz` before its first apply —
which had been failing with `net/http: TLS handshake timeout`.
No timeouts were raised and no retries added; everything runs on
Playwright's defaults, and the two writes #2611 exists for still land
with nothing waited between them.
## Changelog
Three flaky browser-suite waits now watch the signal they were standing
in for.
Closes#2609Closes#2610Closes#2611
## Testing
1. `cd ui && yarn test:pw`.
2. Drop the `& .ant-menu-inline-collapsed .ant-menu-item` block from
`ui/src/components/Structure/AppSidebar.tsx` and rerun `yarn playwright
test shell-chrome` — it fails naming the row and both gaps.
## Release note
```
NONE
```
---
*🤖 written by Claude (end)*
---------
Signed-off-by: Nicholas Bucher <behappy54321@gmail.com>
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
0 commit comments