File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed
app/code/Magento/PageBuilder/Test/Mftf/Test Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change 650
650
<argument name =" gridSize" value =" 2" />
651
651
</actionGroup >
652
652
<actionGroup ref =" closeGridSizeForm" stepKey =" closeGridSizeForm" />
653
- <actionGroup ref =" duplicateContentType" stepKey =" duplicateColumn" >
654
- <argument name =" contentType" value =" PageBuilderColumnContentType" />
655
- <argument name =" targetIndex" value =" 1" />
656
- </actionGroup >
657
- <waitForElementVisible selector =" {{PageBuilderStage.modalOk}}" stepKey =" seeCannotDuplicateColumnModal" />
653
+ <waitForElementVisible selector =" {{PageBuilderStage.contentTypeInStageByIndex(PageBuilderColumnContentType.role, '1')}}" stepKey =" waitForColumn1Visible" />
654
+ <moveMouseOver selector =" {{PageBuilderStage.contentTypeInStageByIndex(PageBuilderColumnContentType.role, '1')}}" stepKey =" mouseOverColumn1" />
655
+ <waitForElementVisible selector =" {{PageBuilderContentTypeOptionsMenu.contentTypeOptionsMenuByIndex(PageBuilderColumnContentType.role, '1')}}" stepKey =" waitForOptionsMenu" />
656
+ <click selector =" {{PageBuilderContentTypeOptionsMenu.contentTypeDuplicate(PageBuilderColumnContentType.role, '1')}}" stepKey =" clickDuplicate" />
657
+ <waitForPageLoad stepKey =" waitForPageLoad" />
658
+ <waitForElementVisible selector =" {{PageBuilderStage.modalOk}}" stepKey =" waitForCannotDuplicateColumnModal" />
658
659
<seeElement selector =" {{PageBuilderStage.errorModal(PageBuilderColumnDuplicate.cannotDuplicateColumnErrorMessage)}}" stepKey =" seeErrorMessage" />
659
660
<click selector =" {{PageBuilderStage.modalOk}}" stepKey =" closeModal" />
661
+ <waitForPageLoad stepKey =" waitForPageLoad2" />
660
662
<seeNumberOfElements selector =" {{ColumnOnBackend.allColumns}}" userInput =" 2" stepKey =" seeNumberOfColumns2" />
661
663
</test >
662
664
<test name =" ValidateMaxColumnError" >
You can’t perform that action at this time.
0 commit comments