Wait for initial step in cypress test
This commit is contained in:
parent
33750c31e2
commit
08b99fb843
|
|
@ -14,7 +14,14 @@ describe("feedbackStudent.cy.js", () => {
|
||||||
});
|
});
|
||||||
|
|
||||||
it("can create feedback by giving answers to all steps", () => {
|
it("can create feedback by giving answers to all steps", () => {
|
||||||
|
// initial wait for step 0 (or none with step==0) is required for pipelines
|
||||||
|
cy.url().should((url) => {
|
||||||
|
expect(url).to.match(/\/fahrzeug\/feedback(\?step=0)?$/);
|
||||||
|
});
|
||||||
|
|
||||||
|
cy.wait(200);
|
||||||
cy.learningContentMultiLayoutNextStep();
|
cy.learningContentMultiLayoutNextStep();
|
||||||
|
cy.wait(200);
|
||||||
|
|
||||||
// fill feedback form
|
// fill feedback form
|
||||||
// step 1
|
// step 1
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue