-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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: setup cypress #3152
test: setup cypress #3152
Conversation
Test summaryRun details
View run in Cypress Dashboard ➡️ Failures
This comment has been generated by cypress-bot as a result of this project's GitHub integration settings. You can manage this integration in this project's settings in the Cypress Dashboard |
I guess this addresses #2835, right? |
@mohammed90 well, it's related to, but it does not solve this issue. |
Kudos, SonarCloud Quality Gate passed!
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Bravo, huge huge work.
This pull request has been automatically locked since there |
Fix cypress run and add it to the pipeline.
List elements
When we deal with list elements, cypress cannot now the id of each item
The solution is to add the id of every items in a
v-cy-items
attribute:The test looks like:
the
item
var will contains the value of thecy-items
attribute (here there is only 1 item)Note that the
v-cy-items
andv-cy-name
predicates does not do anything in production. On other environments, they add an attribute with the name of the predicate.