Commit 42c431d
FIX [GUI] Fix e2e tests after Home becomes default view
Three Playwright e2e tests broke when the Home landing page replaced
Chat as the initial view:
- chat.spec.ts `should disable input when no target is active`: navigate
to Chat before asserting the no-target-banner, since Home does not
render that element.
- config.spec.ts `should enable chat input after a target is set`: same
Chat navigation before the no-target-banner assertion.
- accessibility.spec.ts `should be navigable with keyboard`: wait for
the Home sidebar button to render and dispatch the initial Tab through
`body` so the focus advances into the DOM reliably under parallel
worker load.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 5174d8e commit 42c431d
3 files changed
Lines changed: 10 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
64 | | - | |
65 | | - | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
66 | 72 | | |
67 | 73 | | |
68 | 74 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
297 | 297 | | |
298 | 298 | | |
299 | 299 | | |
| 300 | + | |
300 | 301 | | |
301 | 302 | | |
302 | 303 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
246 | 246 | | |
247 | 247 | | |
248 | 248 | | |
| 249 | + | |
249 | 250 | | |
250 | 251 | | |
251 | 252 | | |
| |||
0 commit comments