-
Couldn't load subscription status.
- Fork 13
Try to improve e2e test flake in FF #2941
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
The firewall rules one passed 2 out of 3 times, though interestingly when it failed, it failed one line earlier than usual. |
|
Claude cleverly points out, based on the effect the sleeps had, that it is probably the Enter keypress here that must somehow be bubbling up to the full form somehow. I see in the Playwright traces from the failures in CI that the test is failing because the form is being submitted early and closing, so the next form field we try to interact with is no longe present. console/test/e2e/firewall-rules.e2e.ts Lines 455 to 470 in f9854c6
|
|
I think it's likely that this is in fact a race in Headless's handling of the enter keypress in the combobox, but Claude's proposed solution doesn't work because we actually need that event to bubble and be turned by Headless into a form submission when the combobox list is closed. We are reworking this form at some point, which will probably eliminate the immediate problem, but if there's a bug inside Combobox we're just kicking the can if we don't fix it. console/app/ui/lib/Combobox.tsx Lines 215 to 225 in f9854c6
|
|
15f98f2 doesn't solve it: it passed CI 3 of 4 times, and the failing run 3 had a really weird failure on an unrelated test: And the pass on run 4 included two failures that look like the original one before eventually succeeding on retry: |
|
I'm going to merge this because I just saw the |
oxidecomputer/console@f9854c6...3947c8c * [3947c8c8](oxidecomputer/console@3947c8c8) oxidecomputer/console#2951 * [092937a7](oxidecomputer/console@092937a7) oxidecomputer/console#2950 * [bc543f80](oxidecomputer/console@bc543f80) oxidecomputer/console#2948 * [d9d35da1](oxidecomputer/console@d9d35da1) oxidecomputer/console#2945 * [8df79f45](oxidecomputer/console@8df79f45) oxidecomputer/console#2946 * [68973414](oxidecomputer/console@68973414) oxidecomputer/console#2941 * [3f5e7e60](oxidecomputer/console@3f5e7e60) oxidecomputer/console#2947
oxidecomputer/console@f9854c6...3947c8c * [3947c8c8](oxidecomputer/console@3947c8c8) oxidecomputer/console#2951 * [092937a7](oxidecomputer/console@092937a7) oxidecomputer/console#2950 * [bc543f80](oxidecomputer/console@bc543f80) oxidecomputer/console#2948 * [d9d35da1](oxidecomputer/console@d9d35da1) oxidecomputer/console#2945 * [8df79f45](oxidecomputer/console@8df79f45) oxidecomputer/console#2946 * [68973414](oxidecomputer/console@68973414) oxidecomputer/console#2941 * [3f5e7e60](oxidecomputer/console@3f5e7e60) oxidecomputer/console#2947


No description provided.