File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed
Checkout/Test/Mftf/ActionGroup
SalesRule/Test/Mftf/ActionGroup Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change 19
19
<argument name =" qty" type =" string" />
20
20
</arguments >
21
21
22
- <see selector =" {{StorefrontMinicartSection.miniCartItemsText}}" userInput =" {{productName}}" stepKey =" seeProductNameInMiniCart" />
23
- <see selector =" {{StorefrontMinicartSection.miniCartItemsText}}" userInput =" {{productPrice}}" stepKey =" seeProductPriceInMiniCart" />
22
+ <see selector =" {{StorefrontMinicartSection.productPriceByName(productName)}}" userInput =" {{productPrice}}" stepKey =" seeProductPriceInMiniCart" />
24
23
<seeElement selector =" {{StorefrontMinicartSection.goToCheckout}}" stepKey =" seeCheckOutButtonInMiniCart" />
25
24
<seeElement selector =" {{StorefrontMinicartSection.productQuantity(productName, qty)}}" stepKey =" seeProductQuantity1" />
26
25
<seeElement selector =" {{StorefrontMinicartSection.productImage}}" stepKey =" seeProductImage" />
37
36
<argument name =" productPrice" type =" string" />
38
37
</arguments >
39
38
40
- <dontSee selector =" {{StorefrontMinicartSection.miniCartItemsText}}" userInput =" {{productName}}" stepKey =" dontSeeProductNameInMiniCart" />
41
- <dontSee selector =" {{StorefrontMinicartSection.miniCartItemsText}}" userInput =" {{productPrice}}" stepKey =" dontSeeProductPriceInMiniCart" />
39
+ <dontSee selector =" {{StorefrontMinicartSection.productPriceByName(productName)}}" userInput =" {{productPrice}}" stepKey =" dontSeeProductPriceInMiniCart" />
42
40
</actionGroup >
43
41
</actionGroups >
Original file line number Diff line number Diff line change 15
15
<arguments >
16
16
<argument name =" ruleName" type =" entity" />
17
17
</arguments >
18
-
18
+
19
19
<amOnPage url =" {{AdminCartPriceRulesPage.url}}" stepKey =" goToCartPriceRules" />
20
20
<waitForPageLoad stepKey =" waitForCartPriceRules" />
21
+ <click selector =" {{AdminCartPriceRulesFormSection.resetSearchFilter}}" stepKey =" resetFilterBeforeDelete" />
22
+ <waitForPageLoad stepKey =" waitForCartPriceRulesResetFilter" />
21
23
<fillField selector =" {{AdminCartPriceRulesSection.filterByNameInput}}" userInput =" {{ruleName.name}}" stepKey =" filterByName" />
22
24
<click selector =" {{AdminCartPriceRulesSection.searchButton}}" stepKey =" doFilter" />
23
25
<click selector =" {{AdminCartPriceRulesSection.rowByIndex('1')}}" stepKey =" goToEditRulePage" />
24
26
<click selector =" {{AdminCartPriceRulesFormSection.delete}}" stepKey =" clickDeleteButton" />
25
27
<click selector =" {{AdminCartPriceRulesFormSection.modalAcceptButton}}" stepKey =" confirmDelete" />
28
+ <click selector =" {{AdminCartPriceRulesFormSection.resetSearchFilter}}" stepKey =" resetFilterAfterDelete" />
29
+ <waitForPageLoad stepKey =" waitForCartPriceRulesAfterDelete" />
26
30
</actionGroup >
27
31
</actionGroups >
You can’t perform that action at this time.
0 commit comments