File tree Expand file tree Collapse file tree 3 files changed +9
-10
lines changed
SalesRule/Test/Mftf/ActionGroup Expand file tree Collapse file tree 3 files changed +9
-10
lines changed Original file line number Diff line number Diff line change 17
17
<argument name =" total" type =" string" />
18
18
<argument name =" discount" type =" string" />
19
19
</arguments >
20
-
21
20
<waitForPageLoad stepKey =" waitForPageLoad" />
22
- <waitForLoadingMaskToDisappear stepKey =" waitForPrices" />
21
+ <waitForElement time =" 30" selector =" {{CheckoutCartSummarySection.estimateShippingAndTaxForm}}" stepKey =" waitForEstimateShippingAndTaxForm" />
22
+ <waitForElement time =" 30" selector =" {{CheckoutCartSummarySection.shippingMethodForm}}" stepKey =" waitForShippingMethodForm" />
23
+ <waitForElementVisible time =" 30" selector =" {{CheckoutCartSummarySection.total}}" stepKey =" waitForTotalElement" />
24
+ <see selector =" {{CheckoutCartSummarySection.total}}" userInput =" ${{total}}" stepKey =" assertTotal" />
25
+ <waitForElementVisible selector =" {{CheckoutCartSummarySection.discountAmount}}" stepKey =" waitForDiscountElement" />
23
26
<see selector =" {{CheckoutCartSummarySection.discountAmount}}" userInput =" -${{discount}}" stepKey =" assertDiscount" />
24
- <wait time =" 10" stepKey =" waitForTotalPrice" />
25
- <reloadPage stepKey =" reloadPage" after =" waitForTotalPrice" />
26
- <waitForPageLoad after =" reloadPage" stepKey =" WaitForPageLoaded" />
27
- <see selector =" {{CheckoutCartSummarySection.total}}" userInput =" ${{total}}" stepKey =" assertTotal" after =" WaitForPageLoaded" />
28
27
</actionGroup >
29
28
</actionGroups >
Original file line number Diff line number Diff line change 33
33
<element name =" methodName" type =" text" selector =" #co-shipping-method-form label" />
34
34
<element name =" shippingPrice" type =" text" selector =" #co-shipping-method-form span .price" />
35
35
<element name =" shippingMethodElementId" type =" radio" selector =" #s_method_{{carrierCode}}_{{methodCode}}" parameterized =" true" />
36
+ <element name =" estimateShippingAndTaxForm" type =" block" selector =" #shipping-zip-form" />
36
37
</section >
37
38
</sections >
Original file line number Diff line number Diff line change 18
18
19
19
<amOnPage url =" {{AdminCartPriceRulesPage.url}}" stepKey =" goToCartPriceRules" />
20
20
<waitForPageLoad stepKey =" waitForCartPriceRules" />
21
- <click selector =" {{AdminCartPriceRulesFormSection.resetSearchFilter }}" stepKey =" resetFilterBeforeDelete" />
21
+ <click selector =" {{AdminDataGridHeaderSection.clearFilters }}" stepKey =" resetFilterBeforeDelete" />
22
22
<waitForPageLoad stepKey =" waitForCartPriceRulesResetFilter" />
23
23
<fillField selector =" {{AdminCartPriceRulesSection.filterByNameInput}}" userInput =" {{ruleName.name}}" stepKey =" filterByName" />
24
24
<click selector =" {{AdminCartPriceRulesSection.searchButton}}" stepKey =" doFilter" />
25
25
<click selector =" {{AdminCartPriceRulesSection.rowByIndex('1')}}" stepKey =" goToEditRulePage" />
26
26
<click selector =" {{AdminCartPriceRulesFormSection.delete}}" stepKey =" clickDeleteButton" />
27
- <click selector =" {{AdminCartPriceRulesFormSection.modalAcceptButton}}" stepKey =" confirmDelete" />
28
- <click selector =" {{AdminCartPriceRulesFormSection.resetSearchFilter}}" stepKey =" resetFilterAfterDelete" />
29
- <waitForPageLoad stepKey =" waitForCartPriceRulesAfterDelete" />
27
+ <waitForElementVisible selector =" {{AdminConfirmationModalSection.ok}}" stepKey =" waitForConfirmModal" />
28
+ <click selector =" {{AdminConfirmationModalSection.ok}}" stepKey =" confirmDelete" />
30
29
</actionGroup >
31
30
</actionGroups >
You can’t perform that action at this time.
0 commit comments