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 1010 xsi : noNamespaceSchemaLocation =" urn:magento:mftf:Test/etc/actionGroupSchema.xsd" >
1111 <actionGroup name =" LoginActionGroup" >
1212 <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 >
1415 </annotations >
1516
1617 <amOnPage url =" {{_ENV.MAGENTO_BACKEND_NAME}}" stepKey =" navigateToAdmin" />
Original file line number Diff line number Diff line change 1717 <click selector =" {{BlockNewPagePageActionsSection.expandSplitButton}}" stepKey =" expandSplitButton" />
1818 <click selector =" {{BlockNewPagePageActionsSection.saveAndClose}}" stepKey =" clickSaveBlock" />
1919 <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" />
2122 </actionGroup >
2223</actionGroups >
Original file line number Diff line number Diff line change 1717 <waitForPageLoad stepKey =" waitForPageLoad1" />
1818 <!-- Verify Save&Duplicate button and Save&Close button-->
1919 <click selector =" {{BlockNewPagePageActionsSection.expandSplitButton}}" stepKey =" expandSplitBtn1" />
20+ <waitForElementVisible selector =" {{BlockNewPagePageActionsSection.saveAndDuplicate}}" stepKey =" waitForButtonMenuOpened" />
2021 <see selector =" {{BlockNewPagePageActionsSection.saveAndDuplicate}}" userInput =" Save & Duplicate" stepKey =" seeSaveAndDuplicate" />
2122 <see selector =" {{BlockNewPagePageActionsSection.saveAndClose}}" userInput =" Save & Close" stepKey =" seeSaveAndClose" />
2223 </actionGroup >
Original file line number Diff line number Diff line change 1616 <description value =" Admin should be able to create a CMS block using save and close" />
1717 <severity value =" CRITICAL" />
1818 <group value =" Cms" />
19+ <group value =" WYSIWYGDisabled" />
1920 </annotations >
21+
2022 <before >
21- <actionGroup ref =" LoginActionGroup" stepKey =" loginGetFromGeneralFile" />
22- <actionGroup ref =" DisabledWYSIWYGActionGroup" stepKey =" disableWYSIWYG" />
23+ <actionGroup ref =" LoginAsAdmin" stepKey =" loginToAdminPanel" />
2324 </before >
25+
2426 <after >
2527 <actionGroup ref =" deleteBlock" stepKey =" deleteCreatedBlock" >
2628 <argument name =" Block" value =" _defaultBlock" />
2729 </actionGroup >
28- <actionGroup ref =" logout" stepKey =" logout" />
30+ <actionGroup ref =" ClearFiltersAdminDataGridActionGroup" stepKey =" resetGridFilters" />
31+ <actionGroup ref =" logout" stepKey =" logoutFromAdmin" />
2932 </after >
33+
3034 <!-- Navigate to create cms block page and verify save split button -->
31- <actionGroup ref =" VerifyCmsBlockSaveSplitButtonActionGroup" stepKey =" verifyCmsBlockSaveSplitButton " />
35+ <actionGroup ref =" VerifyCmsBlockSaveSplitButtonActionGroup" stepKey =" assertCmsBlockSaveSplitButton " />
3236 <!-- Create new CMS Block page-->
33- <actionGroup ref =" FillOutBlockContent" stepKey =" FillOutBlockContent " />
37+ <actionGroup ref =" FillOutBlockContent" stepKey =" fillOutBlockContent " />
3438 <actionGroup ref =" SaveAndCloseCMSBlockWithSplitButtonActionGroup" stepKey =" saveCmsBlockContent" />
3539 </test >
36- </tests >
40+ </tests >
You can’t perform that action at this time.
0 commit comments