|
50 | 50 | <see selector="{{TabOnStage.empty}}" userInput="Drag content types or columns here" stepKey="seeTabPlaceholder"/>
|
51 | 51 | <!-- User sees the first tab to be active and focused. -->
|
52 | 52 | <comment userInput="User sees the first tab to be active and focused." stepKey="AC4"/>
|
53 |
| - <assertElementContainsAttribute selector="{{TabOnStage.tabPanel('1')}}" attribute="aria-expanded" expectedValue="true" stepKey="assertTab1ContentFocused"/> |
54 |
| - <assertElementContainsAttribute selector="{{TabOnStage.tabPanel('1')}}" attribute="aria-hidden" expectedValue="false" stepKey="assertTab1ContentVisible"/> |
| 53 | + <assertElementContainsAttribute stepKey="assertTab1ContentFocused"> |
| 54 | + <expectedResult selector="{{TabOnStage.tabPanel('1')}}" attribute="aria-expanded" type="string">true</expectedResult> |
| 55 | + </assertElementContainsAttribute> |
| 56 | + <assertElementContainsAttribute stepKey="assertTab1ContentVisible"> |
| 57 | + <expectedResult selector="{{TabOnStage.tabPanel('1')}}" attribute="aria-hidden" type="string">false</expectedResult> |
| 58 | + </assertElementContainsAttribute> |
55 | 59 | <!-- User doesn't see the Tabs option panel -->
|
56 | 60 | <comment userInput="User doesn't see the Tabs option panel" stepKey="AC5"/>
|
57 | 61 | <dontSeeElement selector="{{TabsOnStage.tabsOptionsTitle}}" stepKey="dontSeeTabsOptionsAfterAddTabs"/>
|
|
595 | 599 | </actionGroup>
|
596 | 600 | <waitForElementVisible selector="{{TabOnStage.tabContent('2')}}" stepKey="waitForNewTabContent"/>
|
597 | 601 | <waitForElementVisible selector="{{TabOnStage.tabHeader('2')}}" stepKey="waitForNewTabHeader"/>
|
598 |
| - <assertElementContainsAttribute selector="{{TabOnStage.tabPanel('1')}}" attribute="aria-hidden" expectedValue="true" stepKey="assertTab1ContentHidden"/> |
599 |
| - <assertElementContainsAttribute selector="{{TabOnStage.tabPanel('2')}}" attribute="aria-hidden" expectedValue="false" stepKey="assertTab2ContentVisible"/> |
| 602 | + <assertElementContainsAttribute stepKey="assertTab1ContentHidden"> |
| 603 | + <expectedResult selector="{{TabOnStage.tabPanel('1')}}" attribute="aria-hidden" type="string">true</expectedResult> |
| 604 | + </assertElementContainsAttribute> |
| 605 | + <assertElementContainsAttribute stepKey="assertTab2ContentVisible"> |
| 606 | + <expectedResult selector="{{TabOnStage.tabPanel('2')}}" attribute="aria-hidden" type="string">false</expectedResult> |
| 607 | + </assertElementContainsAttribute> |
600 | 608 | <comment userInput="Update name, color, and min height for second tab" stepKey="AC6"/>
|
601 | 609 | <actionGroup ref="openPageBuilderEditPanelSmallByIndex" stepKey="openEditPanel2">
|
602 | 610 | <argument name="section" value="TabOnStage"/>
|
|
640 | 648 | <waitForElementVisible selector="{{TabOnStorefront.tabHeaderItemActive('1')}}" stepKey="waitForFirstTabHeader"/>
|
641 | 649 | <waitForPageLoad stepKey="waitForTabsInit" time="30"/>
|
642 | 650 | <waitForElementVisible selector="{{TabOnStorefront.container('1')}}" stepKey="waitForFirstTabContent"/>
|
643 |
| - <assertElementContainsAttribute selector="{{TabOnStorefront.container('1')}}" attribute="aria-hidden" expectedValue="false" stepKey="assertTab1Visible"/> |
644 |
| - <assertElementContainsAttribute selector="{{TabOnStorefront.container('2')}}" attribute="aria-hidden" expectedValue="true" stepKey="assertTab2Hidden"/> |
| 651 | + <assertElementContainsAttribute stepKey="assertTab1Visible"> |
| 652 | + <expectedResult selector="{{TabOnStorefront.container('1')}}" attribute="aria-hidden" type="string">false</expectedResult> |
| 653 | + </assertElementContainsAttribute> |
| 654 | + <assertElementContainsAttribute stepKey="assertTab2Hidden"> |
| 655 | + <expectedResult selector="{{TabOnStorefront.container('2')}}" attribute="aria-hidden" type="string">true</expectedResult> |
| 656 | + </assertElementContainsAttribute> |
645 | 657 | <comment userInput="User sees Tab 1 with background color and min height on Storefront" stepKey="AC14"/>
|
646 | 658 | <waitForElementVisible selector="{{TabOnStorefront.tabHeader('1')}}" stepKey="seeTabHeader1Storefront"/>
|
647 | 659 | <see selector="{{TabOnStorefront.tabHeader('1')}}" userInput="{{PageBuilderTabNameRandom1.value}}" stepKey="seeTab1TitleStorefront"/>
|
|
0 commit comments