Skip to content

Conversation

@elgreco247
Copy link
Contributor

Account for differences between Firefox and Chrome:

  • A button with a nested, titled SVG image has no accessible name in Firefox; removed the test, because it is an uncommon edge case IMHO.
  • If the accessible name is not set, Firefox returns null instead of an empty string.
  • No aria-role is returned for input elements of type password or date in Firefox; changed the method WebElement.isRequired to account for it.
  • Removed user-event dependency from FocusTest.
  • Colors are reported in rgb format in Firefox (instead of rgba in Chrome); both variants are valid.

@elgreco247 elgreco247 changed the title jestdom tests on Firefox Fix jestdom tests for Firefox Mar 4, 2024
@lsoares lsoares merged commit 1ced9ad into lsoares:main Mar 4, 2024
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