impress cypress: impress is not well aligned vertically for now.

there is a slight difference from the verticak middle. It will be adjusted when all commits are ported into master.

Signed-off-by: Gökay ŞATIR <gokaysatir@gmail.com>
Change-Id: Ic4ae4e0f89cbced2340e9bb8c7e5dda90c24109e
This commit is contained in:
Gökay ŞATIR 2021-07-09 19:48:04 +03:00
parent af08ff61ff
commit 931ed6f683

View file

@ -93,7 +93,7 @@ describe('Impress focus tests', function() {
// Click in the top left corner where there is no text.
let posX = items[0].getBoundingClientRect().width / 2;
let posY = items[0].getBoundingClientRect().height / 2;
let posY = items[0].getBoundingClientRect().height * (9 / 16);
cy.log('Got center coordinates at (' + posX + ', ' + posY + ')');
// Start editing; click on the text.