|
9 | 9 | <actionGroups xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
10 | 10 | xsi:noNamespaceSchemaLocation="../../../../../../../dev/tests/acceptance/vendor/magento/magento2-functional-testing-framework/src/Magento/FunctionalTestingFramework/Test/etc/actionGroupSchema.xsd">
|
11 | 11 | <actionGroup name="addTab">
|
12 |
| - <click selector="{{TabsOnStage.tabsContainer}}" stepKey="focusOnContentBlock"/> |
13 |
| - <waitForElementVisible time="10" selector="{{PageBuilderActionsSection.contentBlockInStage(PageBuilderTabsContentBlock.role)}}" stepKey="waitForContentBlockInStageVisible" /> |
14 |
| - <moveMouseOver selector="{{PageBuilderActionsSection.contentBlockInStage(PageBuilderTabsContentBlock.role)}}" x="10" y="0" stepKey="onMouseOverContentBlockStage"/> |
| 12 | + <click selector="{{TabsOnStage.tabsContainer}}" stepKey="focusOnContentType"/> |
| 13 | + <waitForElementVisible time="10" selector="{{PageBuilderActionsSection.contentTypeInStage(PageBuilderTabsContentType.role)}}" stepKey="waitForContentTypeInStageVisible" /> |
| 14 | + <moveMouseOver selector="{{PageBuilderActionsSection.contentTypeInStage(PageBuilderTabsContentType.role)}}" x="10" y="0" stepKey="onMouseOverContentTypeStage"/> |
15 | 15 | <waitForPageLoad stepKey="waitForMouseOverAnimation" />
|
16 |
| - <waitForElementVisible time="10" selector="{{PageBuilderActionsSection.contentBlockOptionsMenu(PageBuilderTabsContentBlock.role)}}" stepKey="waitForOptions" /> |
17 |
| - <click selector="{{PageBuilderActionsSection.contentBlockAdd(PageBuilderTabsContentBlock.role)}}" stepKey="clickAddContentBlock"/> |
| 16 | + <waitForElementVisible time="10" selector="{{PageBuilderActionsSection.contentTypeOptionsMenu(PageBuilderTabsContentType.role)}}" stepKey="waitForOptions" /> |
| 17 | + <click selector="{{PageBuilderActionsSection.contentTypeAdd(PageBuilderTabsContentType.role)}}" stepKey="clickAddContentType"/> |
18 | 18 | <waitForPageLoad stepKey="waitForNewTab" time="30"/>
|
19 | 19 | </actionGroup>
|
20 | 20 | <actionGroup name="addTabAndOpenNewTabOptions">
|
21 | 21 | <arguments>
|
22 | 22 | <argument name="from" defaultValue="1" type="string"/>
|
23 | 23 | <argument name="to" defaultValue="2" type="string"/>
|
24 | 24 | </arguments>
|
25 |
| - <click selector="{{TabsOnStage.tabsContainer}}" stepKey="focusOnContentBlock"/> |
26 |
| - <waitForElementVisible time="10" selector="{{PageBuilderActionsSection.contentBlockInStage(PageBuilderTabsContentBlock.role)}}" stepKey="waitForContentBlockInStageVisible" /> |
27 |
| - <moveMouseOver selector="{{PageBuilderActionsSection.contentBlockInStage(PageBuilderTabsContentBlock.role)}}" x="10" y="0" stepKey="onMouseOverContentBlockStage"/> |
| 25 | + <click selector="{{TabsOnStage.tabsContainer}}" stepKey="focusOnContentType"/> |
| 26 | + <waitForElementVisible time="10" selector="{{PageBuilderActionsSection.contentTypeInStage(PageBuilderTabsContentType.role)}}" stepKey="waitForContentTypeInStageVisible" /> |
| 27 | + <moveMouseOver selector="{{PageBuilderActionsSection.contentTypeInStage(PageBuilderTabsContentType.role)}}" x="10" y="0" stepKey="onMouseOverContentTypeStage"/> |
28 | 28 | <waitForPageLoad stepKey="waitForMouseOverAnimation" time="30"/>
|
29 |
| - <waitForElementVisible time="10" selector="{{PageBuilderActionsSection.contentBlockOptionsMenu(PageBuilderTabsContentBlock.role)}}" stepKey="waitForOptions" /> |
30 |
| - <click selector="{{PageBuilderActionsSection.contentBlockAdd(PageBuilderTabsContentBlock.role)}}" stepKey="clickAddContentBlock"/> |
| 29 | + <waitForElementVisible time="10" selector="{{PageBuilderActionsSection.contentTypeOptionsMenu(PageBuilderTabsContentType.role)}}" stepKey="waitForOptions" /> |
| 30 | + <click selector="{{PageBuilderActionsSection.contentTypeAdd(PageBuilderTabsContentType.role)}}" stepKey="clickAddContentType"/> |
31 | 31 | <waitForPageLoad stepKey="waitForNewTab" time="30"/>
|
32 | 32 | <waitForElementVisible selector="{{TabOnStage.tabContent(to)}}" stepKey="waitForNewTabContent"/>
|
33 | 33 | <waitForElementVisible selector="{{TabOnStage.tabHeader(to)}}" stepKey="waitForNewTabHeader"/>
|
34 | 34 | <waitForElementVisible selector="{{TabOnStage.tabOptionsByIndex(to)}}" stepKey="waitForTabOptionsPanel"/>
|
35 | 35 | <waitForElementVisible selector="{{TabOnStage.tabOptionsEdit}}" stepKey="seeTabOptionsEdit2"/>
|
36 |
| - <click selector="{{TabOnStage.tabOptionsEdit}}" stepKey="clickEditContentBlock2"/> |
| 36 | + <click selector="{{TabOnStage.tabOptionsEdit}}" stepKey="clickEditContentType2"/> |
37 | 37 | <waitForElementVisible time="5" selector="{{PageBuilderActionsSection.editForm}}" stepKey="waitForEditForm" />
|
38 | 38 | <!-- Required time wait due to animation -->
|
39 | 39 | <waitForPageLoad stepKey="waitForAnimation" time="30"/>
|
40 |
| - <see userInput="Edit Tab" selector="{{PageBuilderActionsSection.editFormTitle}}" stepKey="seeContentBlockNameInEditFormTitle"/> |
| 40 | + <see userInput="Edit Tab" selector="{{PageBuilderActionsSection.editFormTitle}}" stepKey="seeContentTypeNameInEditFormTitle"/> |
41 | 41 | </actionGroup>
|
42 | 42 | <actionGroup name="duplicateTabByIndex">
|
43 | 43 | <arguments>
|
44 | 44 | <argument name="index" defaultValue="1" type="string"/>
|
45 | 45 | </arguments>
|
46 |
| - <waitForElementVisible time="10" selector="{{TabOnStage.tabHeader(index)}}" stepKey="waitForContentBlockInStageVisible" /> |
| 46 | + <waitForElementVisible time="10" selector="{{TabOnStage.tabHeader(index)}}" stepKey="waitForContentTypeInStageVisible" /> |
47 | 47 | <click stepKey="clickTabTitle" selector="{{TabOnStage.tabHeader(index)}}"/>
|
48 | 48 | <waitForElementVisible selector="{{TabOnStage.tabOptionsEdit}}" stepKey="seeTabOptionsEdit"/>
|
49 |
| - <click selector="{{TabOnStage.tabOptionsDuplicate}}" stepKey="clickEditContentBlock"/> |
| 49 | + <click selector="{{TabOnStage.tabOptionsDuplicate}}" stepKey="clickEditContentType"/> |
50 | 50 | </actionGroup>
|
51 | 51 | <actionGroup name="openTabOptionsByIndex">
|
52 | 52 | <arguments>
|
53 | 53 | <argument name="index" defaultValue="1" type="string"/>
|
54 | 54 | </arguments>
|
55 |
| - <waitForElementVisible time="10" selector="{{TabOnStage.tabHeader(index)}}" stepKey="waitForContentBlockInStageVisible" /> |
| 55 | + <waitForElementVisible time="10" selector="{{TabOnStage.tabHeader(index)}}" stepKey="waitForContentTypeInStageVisible" /> |
56 | 56 | <click stepKey="clickTabTitle" selector="{{TabOnStage.tabHeader(index)}}"/>
|
57 | 57 | <waitForElementVisible selector="{{TabOnStage.tabOptionsEdit}}" stepKey="seeTabOptionsEdit"/>
|
58 |
| - <click selector="{{TabOnStage.tabOptionsEdit}}" stepKey="clickEditContentBlock"/> |
| 58 | + <click selector="{{TabOnStage.tabOptionsEdit}}" stepKey="clickEditContentType"/> |
59 | 59 | <waitForElementVisible time="5" selector="{{PageBuilderActionsSection.editForm}}" stepKey="waitForEditForm" />
|
60 | 60 | <!-- Required time wait due to animation -->
|
61 | 61 | <waitForPageLoad stepKey="waitForAnimation" time="30"/>
|
62 |
| - <see userInput="Edit Tab" selector="{{PageBuilderActionsSection.editFormTitle}}" stepKey="seeContentBlockNameInEditFormTitle"/> |
| 62 | + <see userInput="Edit Tab" selector="{{PageBuilderActionsSection.editFormTitle}}" stepKey="seeContentTypeNameInEditFormTitle"/> |
63 | 63 | </actionGroup>
|
64 | 64 | <actionGroup name="switchTabsAdmin">
|
65 | 65 | <arguments>
|
|
0 commit comments