Skip to content

Commit 86a08cb

Browse files
committed
MC-3393: Create/update MFTF tests for hiding content blocks
- update assertions
1 parent d30d940 commit 86a08cb

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

app/code/Magento/PageBuilder/Test/Mftf/Test/AdminPageBuilderBlockTest.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -843,7 +843,6 @@
843843
<actionGroup ref="dragContentTypeToStage" stepKey="dragBlockIntoStage">
844844
<argument name="contentType" value="PageBuilderBlockContentType"/>
845845
</actionGroup>
846-
<waitForElementVisible selector="{{BlockOnForm.title('Not Selected')}}" stepKey="seeNotSelectedBlock"/>
847846
<actionGroup ref="searchBlockInGrid" stepKey="searchBlockInGrid">
848847
<argument name="block" value="$$createPreReqBlock$$"/>
849848
</actionGroup>

app/code/Magento/PageBuilder/Test/Mftf/Test/AdminPageBuilderColumnTest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1715,7 +1715,7 @@
17151715
<moveMouseOver selector="{{ColumnOnBackend.base('1')}}" stepKey="moveMouseOverColumn" />
17161716
<waitForPageLoad stepKey="waitForMouseOver" />
17171717
<waitForElementVisible selector="{{PageBuilderContentTypeOptionsMenu.contentTypeOptionsMenuByIndex(PageBuilderColumnContentType.role, '1')}}" stepKey="waitForOptions"/>
1718-
<dontSeeElement selector="{{PageBuilderContentTypeOptionsMenu.contentTypeHide(PageBuilderColumnContentType.role, '1')}}" stepKey="dontSeeHideOption" />
1718+
<dontSeeElementInDOM selector="{{PageBuilderContentTypeOptionsMenu.contentTypeHide(PageBuilderColumnContentType.role, '1')}}" stepKey="dontSeeDomHideOption" />
17191719
</test>
17201720
<test name="ValidateShowHideOnColumnChildDefaultState">
17211721
<annotations>

app/code/Magento/PageBuilder/Test/Mftf/Test/AdminPageBuilderTabGroupTests.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -961,7 +961,7 @@
961961
</actionGroup>
962962
<click selector="{{TabOnStage.openOptionsMenu('1')}}" stepKey="openTabOptionMenu"/>
963963
<waitForElementNotVisible selector="{{PageBuilderContentTypeOptionsMenu.contentTypeHide(PageBuilderTabContentType.role, '1')}}" stepKey="waitForHideOptionNotVisible" />
964-
<dontSeeElement selector="{{PageBuilderContentTypeOptionsMenu.contentTypeHide(PageBuilderTabContentType.role, '1')}}" stepKey="dontSeeHideOption" />
964+
<dontSeeElementInDOM selector="{{PageBuilderContentTypeOptionsMenu.contentTypeHide(PageBuilderTabContentType.role, '1')}}" stepKey="dontSeeDomHideOption" />
965965
</test>
966966
<test name="ValidateShowHideOnTabChildDefaultState">
967967
<annotations>

0 commit comments

Comments
 (0)