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

Remove data-cy attribute on build #5

Open
Zorin95670 opened this issue Nov 21, 2023 · 0 comments
Open

Remove data-cy attribute on build #5

Zorin95670 opened this issue Nov 21, 2023 · 0 comments

Comments

@Zorin95670
Copy link
Member

Description

Like leto-modelizer remove data-cy html attribute on production build except if :

  • process.env.KEEP_CYPRESS_ATTRIBUTE === 'true'

OR

  • process.env.NODE_ENV === 'development'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: 📋 Backlog
Development

No branches or pull requests

1 participant