Skip to content

Commit

Permalink
Merge branch 'development' into DES/enhancement/#732-vlc-refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
brenner-company committed Apr 12, 2021
2 parents ef63327 + 9f83999 commit 3a5af0d
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions cypress/integration/all-flaky-tests/mandatee-assigning.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import utils from '../../selectors/utils.selectors';
import newsletter from '../../selectors/newsletter.selector';
import modal from '../../selectors/modal.selectors';
import actionModal from '../../selectors/action-modal.selectors';
import auComponents from '../../selectors/au-component-selectors';

function currentTimestamp() {
return Cypress.moment().unix();
Expand Down Expand Up @@ -270,14 +271,23 @@ context('Assigning a mandatee to agendaitem or subcase should update linked subc
cy.get(agenda.agendaDetailSidebarSubitem).as('agendaitems');
cy.get('@agendaitems').eq(1)
.click();
cy.get(auComponents.auLoading, {
timeout: 20000,
}).should('not.exist');
cy.get(mandatee.mandateePanelView.rows).as('listItems');
cy.get('@listItems').should('have.length', 2);
cy.get('@agendaitems').eq(2)
.click();
cy.get(auComponents.auLoading, {
timeout: 20000,
}).should('not.exist');
cy.get(mandatee.mandateePanelView.rows).as('listItems');
cy.get('@listItems').should('have.length', 3);
cy.get('@agendaitems').eq(3)
.click();
cy.get(auComponents.auLoading, {
timeout: 20000,
}).should('not.exist');
cy.get(mandatee.mandateePanelView.rows).as('listItems');
cy.get('@listItems').should('have.length', 5);

Expand Down

0 comments on commit 3a5af0d

Please sign in to comment.