Commit dd44146
authored
Try to reduce flake in a vitest browser test (#3353)
Tentative fix for an intermittent Firefox Vitest browser flake seen in
[this
run](https://github.com/oxidecomputer/console/actions/runs/32997554927/job/98270746108)
and
[earlier](https://github.com/oxidecomputer/console/actions/runs/32167049254/job/95809059849),
where Escape occasionally leaves the ActionMenu open.
`userEvent.type(search, '{Escape}')` explicitly focuses the search input
before sending Escape, which may prevent Firefox CI from missing the
key. Could not repro the flake locally even with CPU maxed out, so I
really have no idea if this will work.1 parent d44615b commit dd44146
2 files changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| 36 | + | |
36 | 37 | | |
37 | 38 | | |
38 | 39 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
70 | | - | |
| 70 | + | |
| 71 | + | |
71 | 72 | | |
72 | 73 | | |
73 | 74 | | |
| |||
0 commit comments