|
1575 | 1575 | <comment userInput="Validate Storefront" stepKey="commentValidateStorefront"/>
|
1576 | 1576 | <waitForElementNotVisible selector="{{TextOnStorefront.base('1')}}" stepKey="waitForTextStorefront"/>
|
1577 | 1577 | </test>
|
1578 |
| - <test name="TextRequiredAttributes"> |
| 1578 | + <test name="TextHasNoRequired"> |
1579 | 1579 | <annotations>
|
1580 | 1580 | <features value="PageBuilder"/>
|
1581 | 1581 | <stories value="Text"/>
|
1582 |
| - <title value="Validate Required Attributes"/> |
1583 |
| - <description value="Validate that required attributes are required for text."/> |
| 1582 | + <title value="Text has no required fields in edit form"/> |
| 1583 | + <description value="Check there are no required fields in text edit form"/> |
1584 | 1584 | <severity value="AVERAGE"/>
|
1585 | 1585 | <useCaseId value="MAGETWO-90461"/>
|
1586 | 1586 | <testCaseId value="MAGETWO-91077"/>
|
1587 | 1587 | <group value="pagebuilder"/>
|
| 1588 | + <group value="pagebuilder-me"/> |
1588 | 1589 | <group value="pagebuilder-text"/>
|
1589 | 1590 | </annotations>
|
1590 | 1591 | <before>
|
|
1604 | 1605 | <actionGroup ref="openPageBuilderEditPanel" stepKey="openEditMenuOnStage">
|
1605 | 1606 | <argument name="contentType" value="PageBuilderTextContentType"/>
|
1606 | 1607 | </actionGroup>
|
1607 |
| - <!-- Validate Cannot Save Edit Panel --> |
1608 |
| - <comment userInput="Validate Cannot Save Edit Panel" stepKey="commentValidateCannotSave"/> |
1609 |
| - <waitForPageLoad stepKey="waitForPageLoad"/> |
1610 |
| - <waitForElementVisible time="5" selector="{{EditPanelForm.editFormSave}}" stepKey="waitForColumnSaveButton" /> |
1611 |
| - <click selector="{{EditPanelForm.editFormSave}}" stepKey="clickSaveColumn"/> |
1612 |
| - <waitForPageLoad stepKey="waitForPageLoad2"/> |
1613 |
| - <seeElement selector="{{TextOnConfiguration.panelFieldValidationErrorMessage(PageBuilderTextContentTypeEmpty.section, PageBuilderTextContentTypeEmpty.errorMessage)}}" stepKey="seeElementErrorMessage"/> |
1614 |
| - <!-- Validate User Can Recover From Error --> |
1615 |
| - <comment userInput="Validate User Can Recover From Error" stepKey="commentValidateRecovery"/> |
1616 |
| - <actionGroup ref="addTextToTinyMCE" stepKey="enterText"> |
1617 |
| - <argument name="property" value="PageBuilderTextProperty"/> |
| 1608 | + <!-- Clear Fields --> |
| 1609 | + <comment userInput="Clear Fields" stepKey="commentClearFields"/> |
| 1610 | + <actionGroup ref="addTextToTinyMCE" stepKey="clearText"> |
| 1611 | + <argument name="property" value="PageBuilderTextContentTypeEmpty"/> |
1618 | 1612 | </actionGroup>
|
| 1613 | + <!-- Validate No Required Fields --> |
| 1614 | + <comment userInput="Validate No Required Fields" stepKey="commentValidateNoRequired"/> |
| 1615 | + <dontSeeElementInDOM selector="{{EditPanelForm.editFormAllRequiredFields}}" stepKey="dontSeeRequiredClassInEditForm"/> |
1619 | 1616 | <actionGroup ref="saveEditPanelSettings" stepKey="saveEditPanelSettings"/>
|
1620 |
| - <waitForElementVisible selector="{{TextOnStage.text('1', PageBuilderTextProperty.value)}}" stepKey="waitForTextStage"/> |
| 1617 | + <waitForElementVisible time="10" selector="{{CmsNewPagePageActionsSection.saveAndContinueEdit}}" stepKey="waitForCmsPageSaveButton"/> |
1621 | 1618 | </test>
|
1622 | 1619 | <test name="TextDisabledWYSIWYGAddImage">
|
1623 | 1620 | <annotations>
|
|
0 commit comments