File tree Expand file tree Collapse file tree 4 files changed +7
-1
lines changed
Backend/Test/Mftf/ActionGroup
Checkout/Test/Mftf/ActionGroup
Widget/Test/Mftf/ActionGroup Expand file tree Collapse file tree 4 files changed +7
-1
lines changed Original file line number Diff line number Diff line change 23
23
<click stepKey =" resetFilters" selector =" {{AdminSecondaryGridSection.resetFilters}}" />
24
24
<fillField stepKey =" fillIdentifier" selector =" {{searchInput}}" userInput =" {{name}}" />
25
25
<click stepKey =" searchForName" selector =" {{AdminSecondaryGridSection.searchButton}}" />
26
+ <waitForPageLoad stepKey =" waitForPageLoad" />
27
+ <waitForElementClickable selector =" {{AdminSecondaryGridSection.firstRow}}" stepKey =" waitForResult" />
26
28
<click stepKey =" clickResult" selector =" {{AdminSecondaryGridSection.firstRow}}" />
27
29
<waitForPageLoad stepKey =" waitForTaxRateLoad" />
28
30
29
31
<!-- delete the rule -->
30
- <waitForElementVisible selector =" {{AdminStoresMainActionsSection.deleteButton}}" stepKey =" waitForDelete" />
32
+ <waitForElementClickable selector =" {{AdminStoresMainActionsSection.deleteButton}}" stepKey =" waitForDelete" />
31
33
<click stepKey =" clickDelete" selector =" {{AdminStoresMainActionsSection.deleteButton}}" />
32
34
<waitForElementVisible selector =" {{AdminConfirmationModalSection.ok}}" stepKey =" waitForConfirmationModal" />
33
35
<click stepKey =" clickOk" selector =" {{AdminConfirmationModalSection.ok}}" />
Original file line number Diff line number Diff line change 24
24
<selectOption selector =" {{CheckoutCartSummarySection.stateProvince}}" userInput =" {{estimateAddress.state}}" stepKey =" selectStateProvince" />
25
25
<waitForLoadingMaskToDisappear stepKey =" waitForStateLoadingMaskDisappear" />
26
26
<fillField selector =" {{CheckoutCartSummarySection.postcode}}" userInput =" {{estimateAddress.zipCode}}" stepKey =" fillZipPostalCodeField" />
27
+ <click selector =" {{CheckoutCartSummarySection.cartTotalsBlock}}" stepKey =" moveFocusOutOfPostcode" />
27
28
<waitForLoadingMaskToDisappear stepKey =" waitForZipLoadingMaskDisappear" />
28
29
</actionGroup >
29
30
</actionGroups >
Original file line number Diff line number Diff line change 9
9
<sections xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
10
10
xsi : noNamespaceSchemaLocation =" urn:magento:mftf:Page/etc/SectionObject.xsd" >
11
11
<section name =" CheckoutCartSummarySection" >
12
+ <element name =" cartTotalsBlock" type =" block" selector =" #cart-totals" />
12
13
<element name =" taxAmount" type =" text" selector =" [data-th='Tax']>span" />
13
14
<element name =" taxSummary" type =" text" selector =" .totals-tax-summary" />
14
15
<element name =" rate" type =" text" selector =" tr.totals-tax-details.shown th.mark" />
Original file line number Diff line number Diff line change 21
21
<conditionalClick selector =" {{AdminDataGridHeaderSection.clearFilters}}" dependentSelector =" {{AdminDataGridHeaderSection.clearFilters}}" visible =" true" stepKey =" clearExistingFilters" />
22
22
<fillField selector =" {{AdminWidgetsSection.widgetTitleSearch}}" userInput =" {{widget.name}}" stepKey =" fillTitle" />
23
23
<click selector =" {{AdminWidgetsSection.searchButton}}" stepKey =" clickContinue" />
24
+ <waitForElementClickable selector =" {{AdminWidgetsSection.searchResult}}" stepKey =" waitForSearchResult" />
24
25
<click selector =" {{AdminWidgetsSection.searchResult}}" stepKey =" clickSearchResult" />
25
26
<waitForPageLoad stepKey =" waitForResultLoad" />
27
+ <waitForElementClickable selector =" {{AdminMainActionsSection.delete}}" stepKey =" waitForDeleteButtonCliackable" />
26
28
<click selector =" {{AdminMainActionsSection.delete}}" stepKey =" clickDelete" />
27
29
<waitForAjaxLoad stepKey =" waitForAjaxLoad" />
28
30
<click selector =" {{AdminConfirmationModalSection.ok}}" stepKey =" confirmDelete" />
You can’t perform that action at this time.
0 commit comments