cypress: NC: fix slide insertion test.
In an iframe context 'not.exist' check does not work correctly. Change-Id: Ie522fd02ac5151fec401f49a8b80a64edbbbeb1b Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
This commit is contained in:
parent
e2c10e4389
commit
e30caa8053
1 changed files with 7 additions and 5 deletions
|
@ -1,4 +1,4 @@
|
|||
/* global describe it cy beforeEach require expect afterEach*/
|
||||
/* global describe it cy beforeEach require expect afterEach Cypress*/
|
||||
|
||||
require('cypress-file-upload');
|
||||
|
||||
|
@ -517,10 +517,12 @@ describe('Impress insertion wizard.', function() {
|
|||
|
||||
impressHelper.assertNumberOfSlidePreviews(2);
|
||||
|
||||
cy.get('#tb_actionbar_item_closemobile')
|
||||
.click();
|
||||
if (Cypress.env('INTEGRATION') !== 'nextcloud') {
|
||||
cy.get('#tb_actionbar_item_closemobile')
|
||||
.click();
|
||||
|
||||
cy.contains('.leaflet-control-zoom-in', '+')
|
||||
.should('not.be.visible');
|
||||
cy.contains('.leaflet-control-zoom-in', '+')
|
||||
.should('not.exist');
|
||||
}
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue