-
Notifications
You must be signed in to change notification settings - Fork 0
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
chore (refs DPLAN-11668): Add missing Hooks for E-2-E Test. #881
chore (refs DPLAN-11668): Add missing Hooks for E-2-E Test. #881
Conversation
@@ -3,6 +3,7 @@ | |||
<button | |||
v-for="(step, idx) in steps" | |||
:key="`step_${idx}`" | |||
:data-cy="`${dataCy}:${idx}`" |
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.
:data-cy="`${dataCy}:${idx}`" | |
:data-cy="`${dataCy}:${step.label}`" |
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.
With this change we have now hooks like: data-cy="multistepNav:Ihre Stellungnahme"
with space.
Can I make it like :data-cy="
${dataCy}:${step.label.replace(/\s+/g, '-').toLowerCase()}"
?
Then Hook data-cy="multistepNav:ihre-stellungnahme"
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.
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.
Ok. Sorry. Thought the label would look more like a key. than we better stick to the idx.
@@ -3,6 +3,7 @@ | |||
<button | |||
v-for="(step, idx) in steps" | |||
:key="`step_${idx}`" | |||
:data-cy="`${dataCy}:${idx}`" |
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.
Ok. Sorry. Thought the label would look more like a key. than we better stick to the idx.
Ticket
https://demoseurope.youtrack.cloud/issue/DPLAN-11668/Hooks-Public-View-Hooks