Skip to content

Commit 576df69

Browse files
committed
Adding one closing of sidemenu.
1 parent dd550ed commit 576df69

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

eform-client/cypress/e2e/plugins/time-planning-pn/b/dashboard-assert.spec.cy.ts

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -465,9 +465,8 @@ describe('Dashboard assert', () => {
465465
cy.intercept('PUT', '**/api/time-planning-pn/working-hours').as('save');
466466
cy.get('#workingHoursSave').click();
467467
cy.wait('@save');
468-
cy.get('#sumFlex7 input').should('contain.value', '-78.55');
469-
470468
cy.get('mat-toolbar > button .mat-mdc-button-persistent-ripple').parent().click();
469+
cy.get('#sumFlex7 input').should('contain.value', '-78.55');
471470
pluginPage.Navbar.goToPluginsPage();
472471
const pluginName = 'Microting Time Planning Plugin';
473472

@@ -489,6 +488,7 @@ describe('Dashboard assert', () => {
489488
cy.get('#saveSettings').click();
490489
cy.get('mat-tree-node').contains('Dashboard').click();
491490
cy.wait('@index-update', { timeout: 60000 });
491+
cy.get('mat-toolbar > button .mat-mdc-button-persistent-ripple').parent().click();
492492
cy.get('#backwards').click();
493493
cy.wait('@index-update', { timeout: 60000 });
494494
cy.get('#plannedHours3').should('include.text', '53:15');
@@ -664,9 +664,8 @@ describe('Dashboard assert', () => {
664664
cy.intercept('PUT', '**/api/time-planning-pn/working-hours').as('save');
665665
cy.get('#workingHoursSave').click();
666666
cy.wait('@save');
667-
cy.get('#sumFlex7 input').should('contain.value', '-48.05');
668-
669667
cy.get('mat-toolbar > button .mat-mdc-button-persistent-ripple').parent().click();
668+
cy.get('#sumFlex7 input').should('contain.value', '-48.05');
670669

671670

672671

0 commit comments

Comments
 (0)