Skip to content

Commit 68ae9b6

Browse files
committed
MC-4457: Convert OnePageCheckoutTest to MFTF
Fixed: MC-14734, MC-14718, MC-14727, MC-14007, MC-14008, MC-14009
1 parent 7c7dd2a commit 68ae9b6

9 files changed

+15
-8
lines changed

app/code/Magento/CatalogImportExport/Test/Mftf/Test/AdminExportBundleProductTest.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,7 @@
117117

118118
<!-- Run cron -->
119119
<magentoCLI command="cron:run" stepKey="runCron3"/>
120+
<magentoCLI command="cron:run" stepKey="runCron4"/>
120121

121122
<!-- Download product -->
122123
<actionGroup ref="downloadFileByRowIndex" stepKey="downloadCreatedProducts">

app/code/Magento/CatalogImportExport/Test/Mftf/Test/AdminExportGroupedProductWithSpecialPriceTest.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@
8282

8383
<!-- Run cron -->
8484
<magentoCLI command="cron:run" stepKey="runCron3"/>
85+
<magentoCLI command="cron:run" stepKey="runCron4"/>
8586

8687
<!-- Download product -->
8788
<actionGroup ref="downloadFileByRowIndex" stepKey="downloadCreatedProducts">

app/code/Magento/CatalogImportExport/Test/Mftf/Test/AdminExportSimpleAndConfigurableProductsWithCustomOptionsTest.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@
109109

110110
<!-- Run cron -->
111111
<magentoCLI command="cron:run" stepKey="runCron3"/>
112+
<magentoCLI command="cron:run" stepKey="runCron4"/>
112113

113114
<!-- Download product -->
114115
<actionGroup ref="downloadFileByRowIndex" stepKey="downloadCreatedProducts">

app/code/Magento/CatalogImportExport/Test/Mftf/Test/AdminExportSimpleProductAndConfigurableProductsWithAssignedImagesTest.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,7 @@
125125

126126
<!-- Run cron -->
127127
<magentoCLI command="cron:run" stepKey="runCron3"/>
128+
<magentoCLI command="cron:run" stepKey="runCron4"/>
128129

129130
<!-- Download product -->
130131
<actionGroup ref="downloadFileByRowIndex" stepKey="downloadCreatedProducts">

app/code/Magento/CatalogImportExport/Test/Mftf/Test/AdminExportSimpleProductAssignedToMainWebsiteAndConfigurableProductAssignedToCustomWebsiteTest.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@
107107

108108
<!-- Run cron -->
109109
<magentoCLI command="cron:run" stepKey="runCron3"/>
110+
<magentoCLI command="cron:run" stepKey="runCron4"/>
110111

111112
<!-- Download product -->
112113
<actionGroup ref="downloadFileByRowIndex" stepKey="downloadCreatedProducts">

app/code/Magento/CatalogImportExport/Test/Mftf/Test/AdminExportSimpleProductWithCustomAttributeTest.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@
5959

6060
<!-- Run cron -->
6161
<magentoCLI command="cron:run" stepKey="runCron3"/>
62+
<magentoCLI command="cron:run" stepKey="runCron4"/>
6263

6364
<!-- Download product -->
6465
<actionGroup ref="downloadFileByRowIndex" stepKey="downloadCreatedProducts">

app/code/Magento/Checkout/Test/Mftf/ActionGroup/AssertStorefrontShoppingCartSummaryWithShippingActionGroup.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<arguments>
1212
<argument name="shipping" type="string"/>
1313
</arguments>
14-
<waitForElementVisible selector="{{CheckoutCartSummarySection.shipping}}" stepKey="waitForElementToBeVisible" after="waitForPageToLoad"/>
15-
<see userInput="{{shipping}}" selector="{{CheckoutCartSummarySection.shipping}}" stepKey="assertShipping" after="waitForElementToBeVisible"/>
14+
<waitForElementVisible selector="{{CheckoutCartSummarySection.shipping}}" stepKey="waitForElementToBeVisible" after="assertSubtotal"/>
15+
<waitForText userInput="{{shipping}}" selector="{{CheckoutCartSummarySection.shipping}}" time="30" stepKey="assertShipping" after="waitForElementToBeVisible"/>
1616
</actionGroup>
1717
</actionGroups>

app/code/Magento/Checkout/Test/Mftf/Test/StorefrontAddGroupedProductToShoppingCartTest.xml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,13 @@
1515
<testCaseId value="MC-14718"/>
1616
<severity value="CRITICAL"/>
1717
<group value="mtf_migrated"/>
18-
<skip>
19-
<issueId value="MC-16684"/>
20-
</skip>
18+
<!--<skip>-->
19+
<!--<issueId value="MC-16684"/>-->
20+
<!--</skip>-->
2121
</annotations>
2222

2323
<before>
24+
<createData entity="FlatRateShippingMethodDefault" stepKey="setDefaultFlatRateShippingMethod"/>
2425
<!--Create Grouped product with three simple product -->
2526
<createData entity="ApiProductWithDescription" stepKey="simple1" before="simple2">
2627
<field key="price">100.00</field>

app/code/Magento/Checkout/Test/Mftf/Test/StorefrontAddOneBundleMultiSelectOptionToTheShoppingCartTest.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@
1515
<testCaseId value="MC-14727"/>
1616
<severity value="CRITICAL"/>
1717
<group value="mtf_migrated"/>
18-
<skip>
19-
<issueId value="MC-16684"/>
20-
</skip>
18+
<!--<skip>-->
19+
<!--<issueId value="MC-16684"/>-->
20+
<!--</skip>-->
2121
</annotations>
2222

2323
<before>

0 commit comments

Comments
 (0)