Skip to content

test: improve context-menu test helpers structure and usage - #9042

Merged
web-padawan merged 1 commit into
mainfrom
test/improve-context-menu-tests
May 5, 2025
Merged

web-padawan merged 1 commit into
mainfrom
test/improve-context-menu-tests

Conversation

@web-padawan

Copy link
Copy Markdown
Member

Description

Extracted from #9041

  • Updated a11y tests to wait for vaadin-overlay-open event to ensure focus logic works properly
  • Updated openMenu test helper to only use it for items that have submenu (i.e. "parent items")
  • Changed openMenu to also wait for vaadin-overlay-open instead of waiting for nextRender
  • Added activateItem test helper to be used by items without submenu (i.e. "non-parent items")

Type of change

  • Test

@web-padawan
web-padawan requested a review from vursen May 5, 2025 12:17
@sonarqubecloud

sonarqubecloud Bot commented May 5, 2025

Copy link
Copy Markdown

@web-padawan
web-padawan merged commit 647352e into main May 5, 2025
@web-padawan
web-padawan deleted the test/improve-context-menu-tests branch May 5, 2025 12:49
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