Skip to content

Conversation

@david-crespo
Copy link
Collaborator

Got a test flake on main that I don't think I've seen before. The trace shows it failing to click on this combobox behind the bottom bar.

image

Scrolling puts it right in the middle, so I expect it will help.

image
    Retry #2 ───────────────────────────────────────────────────────────────────────────────────────

    Test timeout of 60000ms exceeded.

    Error: locator.click: Test timeout of 60000ms exceeded.
    Call log:
      - waiting for getByRole('option', { name: 'arch-2022-06-01' })
        - locator resolved to <div role="option" tabindex="-1" data-focus="" data-active="" aria-selected="false" data-headlessui-state="active focus" id="headlessui-combobox-option-«r2i»" class="relative border-b border-secondary last:border-0">…</div>
      - attempting click action
        2 × waiting for element to be visible, enabled and stable
          - element is visible, enabled and stable
          - scrolling into view if needed
          - done scrolling
          - <div class="flex h-20 items-center gutter">…</div> from <div id="root">…</div> subtree intercepts pointer events
        - retrying click action
        - waiting 20ms
        2 × waiting for element to be visible, enabled and stable
          - element is visible, enabled and stable
          - scrolling into view if needed
          - done scrolling
          - <div class="flex h-20 items-center gutter">…</div> from <div id="root">…</div> subtree intercepts pointer events
        - retrying click action
          - waiting 100ms
        85 × waiting for element to be visible, enabled and stable
           - element is visible, enabled and stable
           - scrolling into view if needed
           - done scrolling
           - <div class="flex h-20 items-center gutter">…</div> from <div id="root">…</div> subtree intercepts pointer events
         - retrying click action
           - waiting 500ms


      396 |   await imageSelectCombobox.fill('arch')
      397 |   // select the image
    > 398 |   await page.getByRole('option', { name: arch }).click()
          |                                                  ^
      399 |   // expect to find name of the image on page
      400 |   await expect(imageSelectCombobox).toHaveValue(arch)
      401 |   // change to a different tab
        at /Users/runner/work/console/console/test/e2e/instance-create.e2e.ts:398:50

@vercel
Copy link

vercel bot commented May 2, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
console ✅ Ready (Inspect) Visit Preview May 2, 2025 9:52pm

@david-crespo david-crespo merged commit f097ec9 into main May 2, 2025
7 checks passed
@david-crespo david-crespo deleted the scroll-image-combo branch May 2, 2025 22:07
david-crespo added a commit to oxidecomputer/omicron that referenced this pull request May 7, 2025
oxidecomputer/console@99a1f00...46e244f

* [46e244fd](oxidecomputer/console@46e244fd) oxidecomputer/console#2818
* [9811a9c7](oxidecomputer/console@9811a9c7) element=null on root redirect route to silence warnings
* [b8e9f385](oxidecomputer/console@b8e9f385) oxidecomputer/console#2821
* [f097ec96](oxidecomputer/console@f097ec96) oxidecomputer/console#2819
* [585fe913](oxidecomputer/console@585fe913) oxidecomputer/console#2815
* [973d332a](oxidecomputer/console@973d332a) oxidecomputer/console#2817
* [ad61a081](oxidecomputer/console@ad61a081) oxidecomputer/console#2816
* [239e34b9](oxidecomputer/console@239e34b9) oxidecomputer/console#2806
* [376f172f](oxidecomputer/console@376f172f) oxidecomputer/console#2805
* [5c7c8b5b](oxidecomputer/console@5c7c8b5b) oxidecomputer/console#2746
* [1d8c3b76](oxidecomputer/console@1d8c3b76) bump playwright, use more cores to run e2es locally
* [f493cb35](oxidecomputer/console@f493cb35) oxidecomputer/console#2772
* [819b99a6](oxidecomputer/console@819b99a6) chore: type error after RR 7.5. this is why we make PRs
* [c1134cff](oxidecomputer/console@c1134cff) chore: react-router 7.5.0
* [c1f0d78b](oxidecomputer/console@c1f0d78b) chore: vite 6.3.0 + vitest 3.1.1
* [79c6bc53](oxidecomputer/console@79c6bc53) oxidecomputer/console#2803
* [f454f5ee](oxidecomputer/console@f454f5ee) oxidecomputer/console#2804
* [ccfa5a58](oxidecomputer/console@ccfa5a58) fix deploy-dogfood script when used with a tag
* [6196fa48](oxidecomputer/console@6196fa48) invalidate anti-affinity group member lists on instance action success
david-crespo added a commit to oxidecomputer/omicron that referenced this pull request May 7, 2025
oxidecomputer/console@99a1f00...46e244f

* [46e244fd](oxidecomputer/console@46e244fd)
oxidecomputer/console#2818
* [9811a9c7](oxidecomputer/console@9811a9c7)
element=null on root redirect route to silence warnings
* [b8e9f385](oxidecomputer/console@b8e9f385)
oxidecomputer/console#2821
* [f097ec96](oxidecomputer/console@f097ec96)
oxidecomputer/console#2819
* [585fe913](oxidecomputer/console@585fe913)
oxidecomputer/console#2815
* [973d332a](oxidecomputer/console@973d332a)
oxidecomputer/console#2817
* [ad61a081](oxidecomputer/console@ad61a081)
oxidecomputer/console#2816
* [239e34b9](oxidecomputer/console@239e34b9)
oxidecomputer/console#2806
* [376f172f](oxidecomputer/console@376f172f)
oxidecomputer/console#2805
* [5c7c8b5b](oxidecomputer/console@5c7c8b5b)
oxidecomputer/console#2746
* [1d8c3b76](oxidecomputer/console@1d8c3b76)
bump playwright, use more cores to run e2es locally
* [f493cb35](oxidecomputer/console@f493cb35)
oxidecomputer/console#2772
* [819b99a6](oxidecomputer/console@819b99a6)
chore: type error after RR 7.5. this is why we make PRs
* [c1134cff](oxidecomputer/console@c1134cff)
chore: react-router 7.5.0
* [c1f0d78b](oxidecomputer/console@c1f0d78b)
chore: vite 6.3.0 + vitest 3.1.1
* [79c6bc53](oxidecomputer/console@79c6bc53)
oxidecomputer/console#2803
* [f454f5ee](oxidecomputer/console@f454f5ee)
oxidecomputer/console#2804
* [ccfa5a58](oxidecomputer/console@ccfa5a58)
fix deploy-dogfood script when used with a tag
* [6196fa48](oxidecomputer/console@6196fa48)
invalidate anti-affinity group member lists on instance action success
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants