Try to fix flaky cypress test
This commit is contained in:
parent
0df74774d0
commit
76113de9ad
|
|
@ -150,9 +150,9 @@ function checkboxIconUncheckedTailwindClass(lc: LearningContent) {
|
|||
<ol class="border bg-white px-4 lg:px-6" :class="learningSequenceBorderClass">
|
||||
<li
|
||||
v-for="learningUnit in learningSequence.learning_units"
|
||||
data-cy="lp-learning-unit"
|
||||
:id="learningUnit.slug"
|
||||
:key="learningUnit.id"
|
||||
data-cy="lp-learning-unit"
|
||||
class="pt-3 lg:pt-6"
|
||||
>
|
||||
<div
|
||||
|
|
|
|||
|
|
@ -43,6 +43,7 @@ describe("circle.cy.js", () => {
|
|||
"Verschaffe dir einen Überblick"
|
||||
);
|
||||
cy.get('[data-cy="complete-and-continue"]').click({ force: true });
|
||||
cy.get('[data-cy="circle-title"]').should("contain", "Fahrzeug");
|
||||
|
||||
cy.get('[data-cy="ls-continue-button"]').click();
|
||||
cy.get('[data-cy="lc-title"]').should(
|
||||
|
|
@ -50,6 +51,7 @@ describe("circle.cy.js", () => {
|
|||
"Handlungsfeld «Fahrzeug»"
|
||||
);
|
||||
cy.get('[data-cy="complete-and-continue"]').click({ force: true });
|
||||
cy.get('[data-cy="circle-title"]').should("contain", "Fahrzeug");
|
||||
|
||||
cy.get(
|
||||
'[data-cy="test-lehrgang-lp-circle-fahrzeug-lc-verschaffe-dir-einen-überblick-checkbox"]'
|
||||
|
|
|
|||
Loading…
Reference in New Issue