Skip to content

Commit 2188be7

Browse files
committed
MC-3407: Create/update MFTF tests for background attributes for tab
- Resolve issue with targeting text on second tab due to background images
1 parent d1b9a09 commit 2188be7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -683,7 +683,8 @@
683683
<argument name="from" value="1"/>
684684
<argument name="to" value="2"/>
685685
</actionGroup>
686-
<waitForElementVisible selector="{{TextOnStorefront.notHidden('2')}}" stepKey="waitForContentTypeShownStorefront2"/>
686+
<!-- Due to background images on tabs we must check the 3rd element for the second tab on desktop -->
687+
<waitForElementVisible selector="{{TextOnStorefront.notHidden('3')}}" stepKey="waitForContentTypeShownStorefront2"/>
687688
<seeElementInDOM selector="{{TabOnStorefront.tabContentText('2')}}" stepKey="seeTextElementInTabContent"/>
688689
</test>
689690
<test name="TabsCannotAddToStage">

0 commit comments

Comments
 (0)