cypress: NC: fix copy&paste desktop test.

Change-Id: I5cd8ad2fe6682e34100fdc0409c2792acd115566
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/102475
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
This commit is contained in:
Tamás Zolnai 2020-09-11 16:35:18 +02:00
parent 5bdab937e1
commit beb84fb38c

View file

@ -35,5 +35,11 @@ describe('Clipboard operations.', function() {
// https://github.com/cypress-io/cypress/issues/2851
cy.get('.vex-dialog-message p')
.should('have.text', 'Your browser has very limited access to the clipboard, so use these keyboard shortcuts:');
cy.get('.vex-dialog-form button[type=\'submit\']')
.click();
cy.get('.vex-dialog-form')
.should('not.be.visible');
});
});