|
45 | 45 | </arguments>
|
46 | 46 | <waitForElementVisible time="10" selector="{{TabOnStage.tabHeader(index)}}" stepKey="waitForContentTypeInStageVisible" />
|
47 | 47 | <click stepKey="clickTabTitle" selector="{{TabOnStage.tabHeader(index)}}"/>
|
48 |
| - <waitForElementVisible selector="{{TabOnStage.tabOptionsEdit}}" stepKey="seeTabOptionsEdit"/> |
| 48 | + <waitForElementVisible time="30" selector="{{TabOnStage.tabOptionsEdit}}" stepKey="seeTabOptionsEdit"/> |
49 | 49 | <click selector="{{TabOnStage.tabOptionsDuplicate}}" stepKey="clickEditContentType"/>
|
50 | 50 | </actionGroup>
|
51 | 51 | <actionGroup name="openTabOptionsByIndex">
|
|
68 | 68 | </arguments>
|
69 | 69 | <click selector="{{TabOnStage.tabHeader(to)}}" stepKey="switchToTab"/>
|
70 | 70 | <waitForPageLoad stepKey="waitForTabChangeAnimation" time="30"/>
|
71 |
| - <waitForElementVisible selector="{{TabOnStage.tabHeaderItemActive(to)}}" stepKey="seeNewTabActive"/> |
| 71 | + <waitForElementVisible time="30" selector="{{TabOnStage.tabHeaderItemActive(to)}}" stepKey="seeNewTabActive"/> |
72 | 72 | <assertElementContainsAttribute selector="{{TabOnStage.tabPanel(from)}}" attribute="aria-hidden" expectedValue="true" stepKey="assertOldTabHidden"/>
|
73 | 73 | <assertElementContainsAttribute selector="{{TabOnStage.tabPanel(to)}}" attribute="aria-hidden" expectedValue="false" stepKey="assertNewTabVisible"/>
|
74 | 74 | </actionGroup>
|
|
77 | 77 | <argument name="from" defaultValue="1" type="string"/>
|
78 | 78 | <argument name="to" defaultValue="2" type="string"/>
|
79 | 79 | </arguments>
|
| 80 | + <!-- requires reloadPage before for tabs to become active, see MAGETWO-92406 --> |
80 | 81 | <click selector="{{TabOnStorefront.tabHeader(to)}}" stepKey="switchToTab"/>
|
81 | 82 | <waitForPageLoad stepKey="waitForTabChangeAnimationStorefront1" time="30"/>
|
82 | 83 | <scrollToTopOfPage stepKey="scrollToTopOfPage"/>
|
83 |
| - <wait time="1" stepKey="waitForTabRender"/> |
| 84 | + <wait time="2" stepKey="waitForTabRender"/> |
84 | 85 | <waitForPageLoad stepKey="waitForTabChangeAnimationStorefront2" time="30"/>
|
85 |
| - <waitForElementVisible selector="{{TabOnStorefront.tabHeaderItemActive(to)}}" stepKey="seeNewTabActive"/> |
| 86 | + <waitForElementVisible time="30" selector="{{TabOnStorefront.tabHeaderItemActive(to)}}" stepKey="seeNewTabActive"/> |
86 | 87 | <assertElementContainsAttribute selector="{{TabOnStorefront.tabContent(from)}}" attribute="aria-hidden" expectedValue="true" stepKey="assertOldTabHidden"/>
|
87 | 88 | <assertElementContainsAttribute selector="{{TabOnStorefront.tabContent(to)}}" attribute="aria-hidden" expectedValue="false" stepKey="assertNewTabVisible"/>
|
88 | 89 | </actionGroup>
|
|
0 commit comments