From 62e9ef4fc9bbe51ef67ad83ec2a8d33c4f94fcce Mon Sep 17 00:00:00 2001 From: Ramon Wenger Date: Wed, 15 May 2024 11:39:41 +0200 Subject: [PATCH] Fix number of queries to wait for --- client/cypress/e2e/frontend/modules/snapshots.spec.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/client/cypress/e2e/frontend/modules/snapshots.spec.js b/client/cypress/e2e/frontend/modules/snapshots.spec.js index edd8ae89..de6277b6 100644 --- a/client/cypress/e2e/frontend/modules/snapshots.spec.js +++ b/client/cypress/e2e/frontend/modules/snapshots.spec.js @@ -204,7 +204,7 @@ describe('Snapshot', () => { cy.mockGraphqlOps(operations(true)); cy.visit('module/miteinander-reden/'); cy.getByDataCy('snapshot-menu').should('be.visible'); - waitNTimes(4); + waitNTimes(3); }); it('Menu is not visible for student', () => { @@ -227,7 +227,7 @@ describe('Snapshot', () => { .within(() => { cy.get('.snapshots__snapshot').should('have.length', 1); }); - waitNTimes(7); + waitNTimes(6); }); it('Applies Snapshot', () => { @@ -239,7 +239,7 @@ describe('Snapshot', () => { cy.getByDataCy('module-title').should('exist'); cy.getByDataCy('snapshot-header').should('not.exist'); - waitNTimes(9); + waitNTimes(8); }); it('Renames Snapshot', () => {