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

Rule to prevent using xpath #218

Open
wlsf82 opened this issue Aug 15, 2024 · 3 comments
Open

Rule to prevent using xpath #218

wlsf82 opened this issue Aug 15, 2024 · 3 comments

Comments

@wlsf82
Copy link

wlsf82 commented Aug 15, 2024

A mentee of mine (@RenanDezotti) asked in my mentorship Slack group if it would be possible to create a rule using eslint-plugin-cypress to prevent users from using xpath selectors with Cypress.

I told him this wasn't possible but would be a great addition to the plugin.

So here's the idea.

I hope someone can pick it up and implement it.

@jennifer-shehane
Copy link
Member

I agree with this sentiment. There are a lot more people than you think using xpath.

@wlsf82
Copy link
Author

wlsf82 commented Aug 15, 2024

I agree with this sentiment. There are a lot more people than you think using xpath.

I can imagine.

@AndradeJV
Copy link

I agree with you Walmyr and I think should interesting this rule!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants