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:
parent
af08ff61ff
commit
931ed6f683
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue