cypress: fix shape_properties_spec
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com> Change-Id: I0afcbf2fd9ba0c271a54fae08ba5f3548a14ac44
This commit is contained in:
parent
2e54ce8079
commit
df538b11d6
3 changed files with 11 additions and 0 deletions
|
@ -122,6 +122,8 @@ function openMobileWizard() {
|
|||
.should('not.have.class', 'disabled')
|
||||
.click();
|
||||
|
||||
cy.wait(1000);
|
||||
|
||||
// Mobile wizard is opened and it has content
|
||||
cy.get('#mobile-wizard-content')
|
||||
.should('not.be.empty');
|
||||
|
@ -303,6 +305,8 @@ function selectListBoxItem2(listboxSelector, item) {
|
|||
|
||||
helper.clickOnIdle('.ui-combobox-text', item);
|
||||
|
||||
cy.wait(1000);
|
||||
|
||||
cy.get(listboxSelector + ' .ui-header-left')
|
||||
.should('have.text', item);
|
||||
|
||||
|
|
|
@ -21,7 +21,12 @@ describe('Apply paragraph properties on selected shape.', function() {
|
|||
|
||||
function triggerNewSVG() {
|
||||
mobileHelper.closeMobileWizard();
|
||||
|
||||
cy.wait(1000);
|
||||
|
||||
impressHelper.triggerNewSVGForShapeInTheCenter();
|
||||
|
||||
cy.wait(1000);
|
||||
}
|
||||
|
||||
function openParagraphPropertiesPanel() {
|
||||
|
|
|
@ -37,6 +37,8 @@ describe('Change shape properties via mobile wizard.', function() {
|
|||
function triggerNewSVG() {
|
||||
mobileHelper.closeMobileWizard();
|
||||
|
||||
cy.wait(1000);
|
||||
|
||||
// Change width
|
||||
openPosSizePanel();
|
||||
|
||||
|
|
Loading…
Reference in a new issue