Document repair checks for jsdialog

Previous code checked for a tunneled dialog

Signed-off-by: NickWingate <nick.wingate@collabora.com>
Change-Id: I87f78bd8ef6542dc11132f5938d8c5f3838c5c5c
This commit is contained in:
NickWingate 2023-02-21 11:39:24 +00:00 committed by Rashesh Padia
parent 5c40ab722a
commit 8ef1cb153b

View file

@ -68,12 +68,12 @@ describe('Help dialog screenshot updation', function() {
cy.get('#menu-editmenu').click()
.get('#menu-repair').click();
cy.get('.leaflet-popup-content-wrapper')
cy.get('.jsdialog-container.lokdialog_container')
.should('exist');
helper.waitUntilIdle('.leaflet-popup-content-wrapper');
helper.waitUntilIdle('.jsdialog-container.lokdialog_container');
cy.get('.leaflet-popup-content-wrapper')
cy.get('.jsdialog-container.lokdialog_container')
.screenshot('repair-document');
copyScreenshot('repair-document.png');