Commit 488c77d
committed
fix(e2e): resolve Phase 1 spec runtime issues (UX-1208, UX-1198)
Three runtime failures in enterprise CI run 24562051088:
1. AclPage.submitForm() waits for HTTP 2xx/3xx via page.waitForResponse,
so acl-create-error.spec.ts tests that mock an HTTP 4xx/5xx response
or abort the request hang until the 60s timeout. Added:
AclPage.submitFormExpectingError(kind: 'http-error' | 'network-abort')
— mirrors submitForm but matches status >= 400, or skips the response
wait entirely for aborted requests. Zero change to existing callers.
2. acl-principal-special-chars.spec.ts + acl-delete-multi-match.spec.ts
used getByTestId('search-field-input').getByRole('textbox').fill(...)
for the ACLs page SearchField. Redpanda UI's SearchField does not
expose an inner textbox role — existing acl.spec.ts calls .fill()
directly on the testid'd wrapper. Removed the .getByRole sub-selector.
No new RPC mocking logic; all fixes are in the test infrastructure
(page-object + selector usage). No backend or frontend source changes.
bun run type:check clean.1 parent b07f4f4 commit 488c77d
4 files changed
Lines changed: 42 additions & 5 deletions
File tree
- frontend/tests/test-variant-console
- acls
- utils
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
| 50 | + | |
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
| |||
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
73 | | - | |
| 73 | + | |
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
| |||
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
68 | | - | |
| 68 | + | |
| 69 | + | |
69 | 70 | | |
70 | 71 | | |
71 | 72 | | |
| |||
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
49 | 51 | | |
50 | | - | |
| 52 | + | |
51 | 53 | | |
52 | 54 | | |
53 | 55 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
336 | 336 | | |
337 | 337 | | |
338 | 338 | | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
339 | 373 | | |
340 | 374 | | |
341 | 375 | | |
| |||
0 commit comments