File tree Expand file tree Collapse file tree 4 files changed +16
-12
lines changed Expand file tree Collapse file tree 4 files changed +16
-12
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 =" RecaptchaDisabledActionGroup" >
1212 <annotations >
13- <description >Enable or disable admin login recaptcha</description >
13+ <description >Disable admin login recaptcha</description >
1414 </annotations >
1515 <arguments >
1616 <argument name =" optionValue" type =" string" defaultValue =" {{recaptchaFormDisabled.value}}" />
1717 </arguments >
1818
19- <amOnPage url =" {{AdminStoreConfigurationPage.url}}" stepKey =" navigateToAdminStoreConfiguration" />
20- <scrollTo selector =" {{RecaptchaFormSection.label}}" stepKey =" scrollToDropdown" />
21- <click selector =" {{RecaptchaFormSection.optionvalue}}" stepKey =" clickedEnableForLogin" />
22- <selectOption selector =" {{RecaptchaFormSection.optionvalue}}" userInput =" {{optionValue}}" stepKey =" setValue" />
23- <click selector =" {{RecaptchaFormSection.saveConfig}}" stepKey =" clickSave" />
19+ <amOnPage url =" {{AdminStoreConfigurationPage.url}}" stepKey =" navigateToAdminStoresConfiguration" />
20+ <conditionalClick selector =" {{RecaptchaFormSection.adminblock}}" dependentSelector =" {{RecaptchaFormSection.label}}" visible =" false" stepKey =" expand_panel" />
21+ <scrollTo selector =" {{RecaptchaFormSection.label}}" stepKey =" scroll_to_dropdown" />
22+ <wait time =" 2" stepKey =" wait_for_Load" />
23+ <checkOption selector =" {{RecaptchaFormSection.useConfigSettings}}" stepKey =" check_config_setting" />
24+ <wait time =" 2" stepKey =" wait_for_load1" />
25+ <click selector =" {{RecaptchaFormSection.saveConfig}}" stepKey =" click_save" />
2426
2527 </actionGroup >
2628</actionGroups >
Original file line number Diff line number Diff line change 1010 xsi : noNamespaceSchemaLocation =" urn:magento:mftf:Test/etc/actionGroupSchema.xsd" >
1111 <actionGroup name =" RecaptchaEnabledActionGroup" >
1212 <annotations >
13- <description >Enable or disable admin login recaptcha</description >
13+ <description >Enable admin login recaptcha</description >
1414 </annotations >
1515 <arguments >
1616 <argument name =" optionValue" type =" string" defaultValue =" {{recaptchaForm.value}}" />
1717 </arguments >
1818
1919 <amOnPage url =" {{AdminStoreConfigurationPage.url}}" stepKey =" navigateToAdminStoreConfiguration" />
20+ <conditionalClick selector =" {{RecaptchaFormSection.adminblock}}" dependentSelector =" {{RecaptchaFormSection.label}}" visible =" false" stepKey =" expand_panel" />
2021 <scrollTo selector =" {{RecaptchaFormSection.label}}" stepKey =" scrollToDropdownSelection" />
21- <wait time =" 3 " stepKey =" waitForColumnUpdateToSave " />
22+ <wait time =" 2 " stepKey =" waitForLoad " />
2223 <uncheckOption selector =" {{RecaptchaFormSection.useConfigSettings}}" stepKey =" uncheckConfigSetting" />
23- <wait time =" 3 " stepKey =" waitForColumnUpdateToSave1 " />
24+ <wait time =" 2 " stepKey =" waitForLoad_1 " />
2425 <selectOption selector =" {{RecaptchaFormSection.optionvalue}}" userInput =" {{optionValue}}" stepKey =" setAttributeValue" />
2526 <click selector =" {{RecaptchaFormSection.saveConfig}}" stepKey =" clickSave" />
2627
Original file line number Diff line number Diff line change 1313 <element name =" saveConfig" type =" button" selector =" #save" timeout =" 30" />
1414 <element name =" label" type =" input" selector =" #row_recaptcha_backend_type_for_user_login" />
1515 <element name =" useConfigSettings" type =" checkbox" selector =" //input[@name='groups[type_for][fields][user_login][inherit]']" />
16+ <element name =" adminblock" type =" button" selector =' a#recaptcha_backend_type_for-head' />
1617 </section >
1718</sections >
Original file line number Diff line number Diff line change 2020 <before >
2121 <actionGroup ref =" AdminLoginActionGroup" stepKey =" login" />
2222 <actionGroup ref =" RecaptchaEnabledActionGroup" stepKey =" recaptchaEnabled" />
23- <!-- <actionGroup ref="AdminLogoutActionGroup" stepKey="logout"/> -- >
24- <!-- <actionGroup ref="AdminLoginActionGroup" stepKey="loginAgain11"/> -- >
25- <!-- <actionGroup ref="RecaptchaDisabledActionGroup" stepKey="recaptchaDisabled"/> -- >
23+ <actionGroup ref =" AdminLogoutActionGroup" stepKey =" logout" />
24+ <actionGroup ref =" AdminLoginActionGroup" stepKey =" loginAgain11" />
25+ <actionGroup ref =" RecaptchaDisabledActionGroup" stepKey =" recaptchaDisabled" />
2626 </before >
2727 <after >
2828 <actionGroup ref =" AdminLogoutActionGroup" stepKey =" logout" />
You can’t perform that action at this time.
0 commit comments