cypress: check keyboard visibility when editing shapes in writer
Change-Id: I1580f4620459797b95eecb88edbcd12406531618 Reviewed-on: https://gerrit.libreoffice.org/c/online/+/90992 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Andras Timar <andras.timar@collabora.com>
This commit is contained in:
parent
0b7f70786c
commit
d6526b4982
1 changed files with 5 additions and 1 deletions
|
@ -191,13 +191,17 @@ describe('Focus tests', function() {
|
|||
var posX = svg[0].getBBox().x + svg[0].getBBox().width / 2;
|
||||
var posY = svg[0].getBBox().y + svg[0].getBBox().height / 2;
|
||||
cy.get('#document-container')
|
||||
.dblclick(posX, posY);
|
||||
.dblclick(posX, posY).wait(100);
|
||||
});
|
||||
|
||||
// Document still has the focus
|
||||
// TODO: Focus is inconsistent here.
|
||||
//cy.document().its('activeElement.className')
|
||||
// .should('be.eq', 'clipboard');
|
||||
|
||||
cy.window().then(win => {
|
||||
expect(win.shouldAcceptInput(), 'Should accept input').to.equal(true);
|
||||
});
|
||||
});
|
||||
|
||||
it('Focus with hamburger menu.', function() {
|
||||
|
|
Loading…
Reference in a new issue