File tree Expand file tree Collapse file tree 10 files changed +22
-15
lines changed
Integration/Test/Mftf/ActionGroup
LoginAsCustomer/Test/Mftf/ActionGroup
User/Test/Mftf/ActionGroup Expand file tree Collapse file tree 10 files changed +22
-15
lines changed Original file line number Diff line number Diff line change 35
35
<click selector =" {{AdminUserGridSection.searchResultFirstRow}}" stepKey =" clickFoundUsername" />
36
36
<waitForPageLoad time =" 30" stepKey =" wait2" />
37
37
<seeInField selector =" {{AdminEditUserSection.usernameTextField}}" userInput =" $$noReportUser.username$$" stepKey =" seeUsernameInField" />
38
- <fillField selector =" {{AdminEditUserSection.currentPasswordField}}" userInput =" {{_ENV. MAGENTO_ADMIN_PASSWORD}}" stepKey =" fillCurrentPassword" />
38
+ <fillField selector =" {{AdminEditUserSection.currentPasswordField}}" userInput =" {{_CREDS.magento/ MAGENTO_ADMIN_PASSWORD}}" stepKey =" fillCurrentPassword" />
39
39
<scrollToTopOfPage stepKey =" scrollToTopOfPage" />
40
40
41
41
<click selector =" {{AdminEditUserSection.userRoleTab}}" stepKey =" clickUserRoleTab" />
Original file line number Diff line number Diff line change 14
14
</annotations >
15
15
<arguments >
16
16
<argument name =" username" type =" string" defaultValue =" {{_ENV.MAGENTO_ADMIN_USERNAME}}" />
17
- <argument name =" password" type =" string" defaultValue =" {{_CREDS.magento/MAGENTO_ADMIN_PASSWORD}}" /></arguments >
17
+ <argument name =" password" type =" string" defaultValue =" {{_CREDS.magento/MAGENTO_ADMIN_PASSWORD}}" />
18
+ </arguments >
18
19
19
20
<amOnPage url =" {{AdminLoginPage.url}}" stepKey =" navigateToAdmin" />
20
21
<fillField selector =" {{AdminLoginFormSection.username}}" userInput =" {{username}}" stepKey =" fillUsername" />
Original file line number Diff line number Diff line change 20
20
<waitForElementVisible selector =" {{AdminSystemAccountSection.interfaceLocale}}" stepKey =" waitForInterfaceLocale" />
21
21
<!-- Change Admin locale to Français (France) / French (France) -->
22
22
<selectOption userInput =" {{InterfaceLocaleByValue}}" selector =" {{AdminSystemAccountSection.interfaceLocale}}" stepKey =" setInterfaceLocate" />
23
- <fillField selector =" {{AdminSystemAccountSection.currentPassword}}" userInput =" {{_ENV. MAGENTO_ADMIN_PASSWORD}}" stepKey =" fillPassword" />
23
+ <fillField selector =" {{AdminSystemAccountSection.currentPassword}}" userInput =" {{_CREDS.magento/ MAGENTO_ADMIN_PASSWORD}}" stepKey =" fillPassword" />
24
24
<click selector =" {{AdminMainActionsSection.save}}" stepKey =" clickSave" />
25
25
<waitForElementVisible selector =" {{AdminMessagesSection.success}}" stepKey =" waitSuccessMessage" />
26
26
<see selector =" {{AdminMessagesSection.success}}" userInput =" You saved the account." stepKey =" seeSuccessMessage" />
Original file line number Diff line number Diff line change 22
22
</annotations >
23
23
24
24
<actionGroup ref =" AdminLoginActionGroup" stepKey =" loginAsAdmin" >
25
- <argument name =" password" value =" INVALID!{{_ENV.MAGENTO_ADMIN_PASSWORD}} " />
25
+ <argument name =" password" value =" INVALID!" />
26
26
</actionGroup >
27
27
<actionGroup ref =" AssertMessageOnAdminLoginActionGroup" stepKey =" assertErrorMessage" />
28
28
</test >
Original file line number Diff line number Diff line change 8
8
9
9
<tests xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
10
10
xsi : noNamespaceSchemaLocation =" urn:magento:mftf:Test/etc/testSchema.xsd" >
11
- <test name =" AdminFilterProductListByBundleProductInDutchUserLanguageTest" >
11
+ <test name =" AdminFilterProductListByBundleProductInDutchUserLanguageTest" >
12
12
<annotations >
13
13
<features value =" Bundle" />
14
14
<stories value =" Admin list bundle products when user language is set as Dutch" />
42
42
<argument name =" InterfaceLocaleByValue" value =" en_US" />
43
43
</actionGroup >
44
44
<actionGroup ref =" AdminLogoutActionGroup" stepKey =" logoutFromAdmin" />
45
+ <actionGroup ref =" CliIndexerReindexActionGroup" stepKey =" reindex" >
46
+ <argument name =" indices" value =" " />
47
+ </actionGroup >
48
+ <actionGroup ref =" CliCacheCleanActionGroup" stepKey =" cleanInvalidatedCaches" >
49
+ <argument name =" tags" value =" config full_page" />
50
+ </actionGroup >
45
51
</after >
46
52
47
53
<!-- Change Admin locale to Nederlands (Nederland) / Nederlands (Nederland) -->
Original file line number Diff line number Diff line change 62
62
63
63
<!-- Fill the form and validate message -->
64
64
<actionGroup ref =" AdminOrderStatusFormFillAndSave" stepKey =" fillFormAndClickSave" >
65
- <argument name =" status" value =" {{EnableFreeOrderStatusCustom.value }}" />
66
- <argument name =" label" value =" {{EnableFreeOrderStatusCustom .label}}" />
65
+ <argument name =" status" value =" {{defaultOrderStatus.status }}" />
66
+ <argument name =" label" value =" {{defaultOrderStatus .label}}" />
67
67
</actionGroup >
68
68
<actionGroup ref =" AssertOrderStatusFormSaveSuccess" stepKey =" seeFormSaveSuccess" />
69
69
70
70
<!-- Verify the order status grid page shows the order status we just created -->
71
71
<actionGroup ref =" AssertOrderStatusExistsInGrid" stepKey =" searchCreatedOrderStatus" >
72
- <argument name =" status" value =" {{EnableFreeOrderStatusCustom.value }}" />
73
- <argument name =" label" value =" {{EnableFreeOrderStatusCustom .label}}" />
72
+ <argument name =" status" value =" {{defaultOrderStatus.status }}" />
73
+ <argument name =" label" value =" {{defaultOrderStatus .label}}" />
74
74
</actionGroup >
75
75
76
76
<!-- Assign status to state -->
113
113
114
114
<actionGroup ref =" AdminCheckOrderStatusInGridActionGroup" stepKey =" seeOrderStatusInGrid" >
115
115
<argument name =" orderId" value =" $grabOrderNumber" />
116
- <argument name =" status" value =" {{EnableFreeOrderStatusCustom .label}}" />
116
+ <argument name =" status" value =" {{defaultOrderStatus .label}}" />
117
117
</actionGroup >
118
118
119
119
<!-- Open order -->
Original file line number Diff line number Diff line change 10
10
<actionGroup name =" AdminFillIntegrationFormActionGroup" >
11
11
<arguments >
12
12
<argument name =" integration" type =" entity" />
13
- <argument name =" currentAdminPassword" type =" string" defaultValue =" {{_ENV. MAGENTO_ADMIN_PASSWORD}}" />
13
+ <argument name =" currentAdminPassword" type =" string" defaultValue =" {{_CREDS.magento/ MAGENTO_ADMIN_PASSWORD}}" />
14
14
</arguments >
15
15
16
16
<fillField selector =" {{AdminNewIntegrationFormSection.integrationName}}" userInput =" {{integration.name}}" stepKey =" fillIntegrationName" />
Original file line number Diff line number Diff line change 22
22
<see selector =" {{AdminDataGridTableSection.row('1')}}" userInput =" {{roleName}}" stepKey =" seeUserRole" />
23
23
<click selector =" {{AdminDataGridTableSection.row('1')}}" stepKey =" openRoleEditPage" />
24
24
<waitForPageLoad stepKey =" waitForRoleEditPageLoad" />
25
- <fillField selector =" {{AdminEditRoleInfoSection.password}}" userInput =" {{_ENV. MAGENTO_ADMIN_PASSWORD}}" stepKey =" enterThePassword" />
25
+ <fillField selector =" {{AdminEditRoleInfoSection.password}}" userInput =" {{_CREDS.magento/ MAGENTO_ADMIN_PASSWORD}}" stepKey =" enterThePassword" />
26
26
<click selector =" {{AdminCreateRoleSection.roleResources}}" stepKey =" clickToOpenRoleResources" />
27
27
<waitForPageLoad stepKey =" waitForRoleResourceTab" />
28
28
<selectOption userInput =" Custom" selector =" {{AdminCreateRoleSection.resourceAccess}}"
Original file line number Diff line number Diff line change 108
108
</actionGroup >
109
109
<actionGroup ref =" ClickViewAndEditCartFromMiniCartActionGroup" stepKey =" openTheCartWithFirstAndSecondGroupedProducts" />
110
110
<waitForPageLoad stepKey =" waitForGrandTotalToLoad" />
111
- <waitForElement time =" 30" selector =" {{CheckoutCartSummarySection.estimateShippingAndTaxForm}}" stepKey =" waitForEstimateShippingAndTaxForm" />
112
- <waitForElement time =" 30" selector =" {{CheckoutCartSummarySection.shippingMethodForm}}" stepKey =" waitForShippingMethodForm" />
111
+ <waitForElementVisible time =" 30" selector =" {{CheckoutCartSummarySection.estimateShippingAndTaxForm}}" stepKey =" waitForEstimateShippingAndTaxForm" />
112
+ <waitForElementVisible time =" 30" selector =" {{CheckoutCartSummarySection.shippingMethodForm}}" stepKey =" waitForShippingMethodForm" />
113
113
<waitForElementVisible time =" 30" selector =" {{CheckoutCartSummarySection.total}}" stepKey =" waitForTotalElement" />
114
114
<!-- Discount amount is applied for product from first category only -->
115
115
<actionGroup ref =" StorefrontCheckCartTotalWithDiscountCategoryActionGroup" stepKey =" checkDiscountIsApplied" >
Original file line number Diff line number Diff line change 14
14
<amOnPage url =" {{AdminRolesPage.url}}" stepKey =" amOnAdminUsersPage" />
15
15
<waitForPageLoad stepKey =" waitForUserRolePageLoad" />
16
16
<click stepKey =" clickToAddNewRole" selector =" {{AdminDeleteRoleSection.role(role.name)}}" />
17
- <fillField stepKey =" TypeCurrentPassword" selector =" {{AdminDeleteRoleSection.current_pass}}" userInput =" {{_ENV. MAGENTO_ADMIN_PASSWORD}}" />
17
+ <fillField stepKey =" TypeCurrentPassword" selector =" {{AdminDeleteRoleSection.current_pass}}" userInput =" {{_CREDS.magento/ MAGENTO_ADMIN_PASSWORD}}" />
18
18
<click stepKey =" clickToDeleteRole" selector =" {{AdminDeleteRoleSection.delete}}" />
19
19
<waitForElementVisible stepKey =" wait" selector =" {{AdminDeleteRoleSection.confirm}}" time =" 30" />
20
20
<click stepKey =" clickToConfirm" selector =" {{AdminDeleteRoleSection.confirm}}" />
You can’t perform that action at this time.
0 commit comments