cherry-pick workaround for flaky test in CI
This commit is contained in:
parent
fd9e2b7310
commit
ef3e6a8f0d
|
|
@ -45,6 +45,12 @@ describe("circle.cy.js", () => {
|
|||
cy.get('[data-cy="complete-and-continue"]').click({ force: true });
|
||||
cy.get('[data-cy="circle-title"]').should("contain", "Fahrzeug");
|
||||
|
||||
// workaround for flaky test in CI:
|
||||
// for some strange reason, locally we don't have to do this
|
||||
// but in CI if we don't do this, the next click will not work...
|
||||
// => it's not great but this workaround at least gives us a stable test
|
||||
cy.visit("/course/test-lehrgang/learn/fahrzeug");
|
||||
|
||||
cy.get('[data-cy="ls-continue-button"]').click();
|
||||
cy.get('[data-cy="lc-title"]').should(
|
||||
"contain",
|
||||
|
|
|
|||
Loading…
Reference in New Issue