cypress: avoid "detached from DOM" failure in statusbar tests.
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com> Change-Id: I48696c4b7bba68b176ab948dcac9d7728a9c7831
This commit is contained in:
parent
fd481bf669
commit
d4f4abde02
1 changed files with 2 additions and 4 deletions
|
@ -23,14 +23,12 @@ describe('Statubar tests.', function() {
|
|||
cy.get('#StatusDocPos')
|
||||
.should('have.text', 'Sheet 1 of 2');
|
||||
|
||||
cy.contains('.spreadsheet-tab', 'Sheet2')
|
||||
.click();
|
||||
helper.clickOnIdle('.spreadsheet-tab', 'Sheet2');
|
||||
|
||||
cy.get('#StatusDocPos')
|
||||
.should('have.text', 'Sheet 2 of 2');
|
||||
|
||||
cy.contains('.spreadsheet-tab', 'Sheet1')
|
||||
.click();
|
||||
helper.clickOnIdle('.spreadsheet-tab', 'Sheet1');
|
||||
|
||||
cy.get('#StatusDocPos')
|
||||
.should('have.text', 'Sheet 1 of 2');
|
||||
|
|
Loading…
Reference in a new issue