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 keeps on failing but they passed on first few tries and component is clearly there #204

Open
rmrao12 opened this issue Jun 20, 2021 · 4 comments

Comments

@rmrao12
Copy link

rmrao12 commented Jun 20, 2021

as u can see in the snap the test is failing i dont understand why because component is there the test run in first few tries but now it says component not found please solve this issue for me because i had to demonstrate these test cases but they are failing now i dont know why please check in another snap that component is present
Image 2

Image 1

@abhinaba-ghosh
Copy link
Owner

abhinaba-ghosh commented Jun 20, 2021

Hi @rmrao12 can you share the test code and cypress.json configuration?

@rmrao12
Copy link
Author

rmrao12 commented Jun 20, 2021

Image 7

Image 6

it also gives this error sometimes , but as i said it does pass one time fails second time or if there are two test cases then first one runs second one failed

Image 8

@abhinaba-ghosh
Copy link
Owner

Please re-check the root selector in cypress.json file. I will write a utility to fetch the root automatically in the next release. Till then try to fetch relavent root selector.

@rmrao12
Copy link
Author

rmrao12 commented Jun 22, 2021

how to do that kindly guide me?

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

No branches or pull requests

2 participants