Cannot access shadow element during CI test. #31165
Unanswered
lulurian
asked this question in
Questions and Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello everyone,
I'm experiencing an issue with my Cypress tests failing in a CI/CD environment(im using docker for everything), specifically when trying to access elements within a Shadow DOM. On my local instance im running the same command and everything works just fine, the tests are all passing. I have same browser, node versions on both local and CI. All other tests are fine.
I am 100% procent sure my cypress.config.ts is taken in consideration as i have my baseUrl there.
My command is: cy.get('#my-selector').find('button#switch').click();
Here is the error im getting:
Here's a summary of what I've tried so far:
Any ideas? I've run out.
Many thanks.
Beta Was this translation helpful? Give feedback.
All reactions