Wait for initial step in cypress test

This commit is contained in:
Daniel Egger 2023-09-27 17:00:45 +02:00
parent 33750c31e2
commit 08b99fb843
1 changed files with 7 additions and 0 deletions

View File

@ -14,7 +14,14 @@ describe("feedbackStudent.cy.js", () => {
});
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.wait(200);
// fill feedback form
// step 1