File tree Expand file tree Collapse file tree 4 files changed +15
-8
lines changed
Backend/Test/Mftf/ActionGroup Expand file tree Collapse file tree 4 files changed +15
-8
lines changed Original file line number Diff line number Diff line change 10
10
xsi : noNamespaceSchemaLocation =" urn:magento:mftf:Test/etc/actionGroupSchema.xsd" >
11
11
<actionGroup name =" LoginActionGroup" >
12
12
<annotations >
13
- <description >Login to Backend Admin using ENV Admin credentials. PLEASE NOTE: This Action Group does NOT validate that you are Logged In.</description >
13
+ <description >DEPRECATED. Please use LoginAsAdmin instead.
14
+ Login to Backend Admin using ENV Admin credentials. PLEASE NOTE: This Action Group does NOT validate that you are Logged In.</description >
14
15
</annotations >
15
16
16
17
<amOnPage url =" {{_ENV.MAGENTO_BACKEND_NAME}}" stepKey =" navigateToAdmin" />
Original file line number Diff line number Diff line change 17
17
<click selector =" {{BlockNewPagePageActionsSection.expandSplitButton}}" stepKey =" expandSplitButton" />
18
18
<click selector =" {{BlockNewPagePageActionsSection.saveAndClose}}" stepKey =" clickSaveBlock" />
19
19
<waitForPageLoad stepKey =" waitForPageLoadAfterClickingSave" />
20
- <see userInput =" You saved the block." stepKey =" assertSaveBlockSuccessMessage" />
20
+ <waitForElementVisible selector =" {{AdminMessagesSection.success}}" stepKey =" waitForSuccessMessageAppear" />
21
+ <see userInput =" You saved the block." selector =" {{AdminMessagesSection.success}}" stepKey =" assertSaveBlockSuccessMessage" />
21
22
</actionGroup >
22
23
</actionGroups >
Original file line number Diff line number Diff line change 17
17
<waitForPageLoad stepKey =" waitForPageLoad1" />
18
18
<!-- Verify Save&Duplicate button and Save&Close button-->
19
19
<click selector =" {{BlockNewPagePageActionsSection.expandSplitButton}}" stepKey =" expandSplitBtn1" />
20
+ <waitForElementVisible selector =" {{BlockNewPagePageActionsSection.saveAndDuplicate}}" stepKey =" waitForButtonMenuOpened" />
20
21
<see selector =" {{BlockNewPagePageActionsSection.saveAndDuplicate}}" userInput =" Save & Duplicate" stepKey =" seeSaveAndDuplicate" />
21
22
<see selector =" {{BlockNewPagePageActionsSection.saveAndClose}}" userInput =" Save & Close" stepKey =" seeSaveAndClose" />
22
23
</actionGroup >
Original file line number Diff line number Diff line change 16
16
<description value =" Admin should be able to create a CMS block using save and close" />
17
17
<severity value =" CRITICAL" />
18
18
<group value =" Cms" />
19
+ <group value =" WYSIWYGDisabled" />
19
20
</annotations >
21
+
20
22
<before >
21
- <actionGroup ref =" LoginActionGroup" stepKey =" loginGetFromGeneralFile" />
22
- <actionGroup ref =" DisabledWYSIWYGActionGroup" stepKey =" disableWYSIWYG" />
23
+ <actionGroup ref =" LoginAsAdmin" stepKey =" loginToAdminPanel" />
23
24
</before >
25
+
24
26
<after >
25
27
<actionGroup ref =" deleteBlock" stepKey =" deleteCreatedBlock" >
26
28
<argument name =" Block" value =" _defaultBlock" />
27
29
</actionGroup >
28
- <actionGroup ref =" logout" stepKey =" logout" />
30
+ <actionGroup ref =" ClearFiltersAdminDataGridActionGroup" stepKey =" resetGridFilters" />
31
+ <actionGroup ref =" logout" stepKey =" logoutFromAdmin" />
29
32
</after >
33
+
30
34
<!-- Navigate to create cms block page and verify save split button -->
31
- <actionGroup ref =" VerifyCmsBlockSaveSplitButtonActionGroup" stepKey =" verifyCmsBlockSaveSplitButton " />
35
+ <actionGroup ref =" VerifyCmsBlockSaveSplitButtonActionGroup" stepKey =" assertCmsBlockSaveSplitButton " />
32
36
<!-- Create new CMS Block page-->
33
- <actionGroup ref =" FillOutBlockContent" stepKey =" FillOutBlockContent " />
37
+ <actionGroup ref =" FillOutBlockContent" stepKey =" fillOutBlockContent " />
34
38
<actionGroup ref =" SaveAndCloseCMSBlockWithSplitButtonActionGroup" stepKey =" saveCmsBlockContent" />
35
39
</test >
36
- </tests >
40
+ </tests >
You can’t perform that action at this time.
0 commit comments