Skip to content
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

test: prevent date-picker aria-hidden warning in ITs #8544

Merged
merged 1 commit into from
Jan 21, 2025

Conversation

web-padawan
Copy link
Member

Description

Updated IT tests to avoid following warnings:

test/integration/component-tooltip.test.js:

 🚧 Browser logs:
      Error: [object HTMLInputElement] is not contained inside [object HTMLBodyElement]. Skip setting aria-hidden.
      Error: [object HTMLInputElement] is not contained inside [object HTMLBodyElement]. Skip setting aria-hidden.

test/integration/confirm-dialog-fields.test.js:

 🚧 Browser logs:
      Error: [object HTMLInputElement] is not contained inside [object HTMLBodyElement]. Skip setting aria-hidden.
      Error: [object HTMLElement] is not contained inside [object HTMLBodyElement]. Skip setting aria-hidden.
  • In the component tooltip test, added await nextRender() after opening date-picker overlay,
  • in the confirm-dialog test, added autoOpenDisabled as we don't need to open overlay there.

Type of change

  • Test

@web-padawan web-padawan requested a review from vursen January 21, 2025 11:30
@web-padawan web-padawan force-pushed the test/overlay-it-warning branch from 4fec9bb to 1bc3d14 Compare January 21, 2025 11:40
@web-padawan web-padawan merged commit 4498a52 into main Jan 21, 2025
9 checks passed
@web-padawan web-padawan deleted the test/overlay-it-warning branch January 21, 2025 11:50
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