Cypress Chrome App Selectors not working in Cy.origin #29239
Unanswered
Bohemus307
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
-
I have a web application using NextJS and Auth0 for authentication. I followed the provided guide and I am successfully logging in and then running tests under Cy.origin callback. Unfortunately during these tests under Cy.origin i do have access to my test-id's or any other specific types of selectors like id or class it only shows css selectors and not consistently. I have tried a handful of solutions for the last day and I am truly stumped as to why this is happening and would really appreciate any ideas on how I can use this product as i have in every other case. Here are some screenshots to show the selector issue.
Code for base setup in tests
With Strange selectors when i click on a snapshot after the test is finished. this is the only time i can get a selector at all otherwise it just doesn't respond when i click on the selector and try to select a component.
No Selector working when the tests are finished and i try to use it as normal.
Beta Was this translation helpful? Give feedback.
All reactions