oxidecomputer / oxidecomputer/console
Test flake: silos.e2e.ts - form scrolls to name field on already exists error
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 228
- Forks
- 22
- Avg merge
- 19h 42m
- Merged PRs (30d)
- 32
Description
https://github.com/oxidecomputer/console/actions/runs/18888326325/job/53909442616
1) [firefox] › test/e2e/silos.e2e.ts:349:1 › form scrolls to name field on already exists error ──
Test timeout of 60000ms exceeded.
Error: page.waitForEvent: Test timeout of 60000ms exceeded.
=========================== logs ===========================
waiting for event "filechooser"
============================================================
at utils.ts:233
231 | size: 'large' | 'small' = 'large'
232 | ) {
> 233 | const fileChooserPromise = page.waitForEvent('filechooser')
| ^
234 | await inputLocator.click({ force: true })
235 | const fileChooser = await fileChooserPromise
236 | await fileChooser.setFiles({
at chooseFile (/Users/runner/work/console/console/test/e2e/utils.ts:233:35)
at addTlsCert (/Users/runner/work/console/console/test/e2e/utils.ts:262:9)
at /Users/runner/work/console/console/test/e2e/silos.e2e.ts:364:3
Watching the trace didn't show anything too interesting. When it was supposed to scroll down and hit the file upload thing wait for the file picker to pop up, it seems to have gotten stuck in the description thing for 57 seconds. It's a bit weird.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with test/e2e/silos.e2e.ts at the failing test around line 349 and inspect test/e2e/utils.ts, especially chooseFile and addTlsCert around lines 233 and 262. Review the linked trace for the 57-second wait and reproduce the Firefox test. Done means the test reaches the file chooser reliably and verifies the scroll-to-name-field behavior without timing out.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- playwright, typescript
- Domain
- testing-qa
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100