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

support for shadowRoot elements in @wdio/visual-service for tab testing #515

Open
pclicious opened this issue Sep 10, 2024 · 1 comment
Open
Assignees
Labels
enhancement New feature or request

Comments

@pclicious
Copy link

pclicious commented Sep 10, 2024

ShadowRoot elements are not getting recognized during tab testing
While trying tab testing on my website, which is having many shadow root elements, it was not capturing tabs for elements inside shadowRoot

await expect(await browser.checkTabbablePage(screenshotName, { // ignoreColors: true, })).toEqual(differencesCount);

User should have parameterized option to enable tab testing for shadowRoot elements as well
Referred https://www.npmjs.com/package/tabbable, here we have getShadowRoot option to enable shadowRoot elements, similarly we should have an option in the library to enable tab testing to include shadowRoot elements along with other elements.

@wswebcreation wswebcreation added the enhancement New feature or request label Sep 24, 2024
@wswebcreation wswebcreation self-assigned this Sep 24, 2024
@wswebcreation
Copy link
Member

Hi @pclicious

Do you also have an example site that I can work with that has shadowroot elements and other elements that are can be tabbed?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants