Skip to content

Commit caab350

Browse files
Merge pull request #8263 from magento-cia/cia-2.4.7-beta1-develop-bugfixes-04272023
cia-2.4.7-beta1-develop-bugfixes-04272023
2 parents 8a83b82 + 680a09f commit caab350

File tree

11 files changed

+25
-9
lines changed

11 files changed

+25
-9
lines changed

app/code/Magento/Captcha/Test/Mftf/Test/StorefrontCaptchaOnOnepageCheckoutPyamentTest.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
<group value="storefront_captcha_enabled"/>
2222
</annotations>
2323
<before>
24+
<magentoCLI command="config:set checkout/options/enable_guest_checkout_login 1" stepKey="EnablingGuestCheckoutLogin"/>
2425
<!-- Create Simple Product -->
2526
<createData entity="SimpleProduct2" stepKey="createSimpleProduct">
2627
<field key="price">20</field>
@@ -62,6 +63,7 @@
6263

6364
<!-- Delete customer -->
6465
<deleteData createDataKey="createCustomer" stepKey="deleteCustomer"/>
66+
<magentoCLI command="config:set checkout/options/enable_guest_checkout_login 0" stepKey="DisablingGuestCheckoutLogin"/>
6567
</after>
6668

6769
<!-- Reindex and flush cache -->

app/code/Magento/Catalog/Test/Mftf/Test/EndToEndB2CAdminTest.xml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,16 @@
1818
<testCaseId value="MAGETWO-87014"/>
1919
<group value="pr_exclude"/>
2020
</annotations>
21+
<before>
22+
<magentoCLI command="config:set checkout/options/enable_guest_checkout_login 1" stepKey="EnablingGuestCheckoutLogin"/>
23+
</before>
2124
<after>
2225
<actionGroup ref="AdminLogoutActionGroup" stepKey="logoutOfAdmin"/>
26+
<magentoCLI command="config:set checkout/options/enable_guest_checkout_login 0" stepKey="DisablingGuestCheckoutLogin"/>
2327
</after>
2428

2529
<!--Login to Admin Area-->
2630
<actionGroup ref="AdminLoginActionGroup" stepKey="loginToAdminArea"/>
27-
2831
<!--Admin creates product-->
2932
<!--Create Simple Product-->
3033
<actionGroup ref="AdminOpenProductIndexPageActionGroup" stepKey="visitAdminProductPageSimple"/>

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@
2020
<group value="mtf_migrated"/>
2121
</annotations>
2222
<before>
23+
<magentoCLI command="config:set checkout/options/enable_guest_checkout_login 1" stepKey="EnablingGuestCheckoutLogin"/>
2324
<!-- Create Simple Product -->
2425
<createData entity="SimpleProduct2" stepKey="createSimpleProduct">
2526
<field key="price">560</field>
2627
</createData>
27-
2828
<!-- Create customer -->
2929
<createData entity="Simple_US_Customer_Multiple_Addresses" stepKey="createCustomer"/>
3030
</before>
@@ -40,6 +40,7 @@
4040

4141
<!-- Delete customer -->
4242
<deleteData createDataKey="createCustomer" stepKey="deleteCustomer"/>
43+
<magentoCLI command="config:set checkout/options/enable_guest_checkout_login 0" stepKey="DisablingGuestCheckoutLogin"/>
4344
</after>
4445

4546
<!-- Add Simple Product to cart -->

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
<group value="mtf_migrated"/>
2121
</annotations>
2222
<before>
23+
<magentoCLI command="config:set checkout/options/enable_guest_checkout_login 1" stepKey="EnablingGuestCheckoutLogin"/>
2324
<!-- Create Simple Product -->
2425
<createData entity="SimpleProduct2" stepKey="createSimpleProduct">
2526
<field key="price">560</field>
@@ -40,6 +41,7 @@
4041

4142
<!-- Delete customer -->
4243
<deleteData createDataKey="createCustomer" stepKey="deleteCustomer"/>
44+
<magentoCLI command="config:set checkout/options/enable_guest_checkout_login 0" stepKey="DisablingGuestCheckoutLogin"/>
4345
</after>
4446

4547
<!-- Add Simple Product to cart -->

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
</annotations>
1919

2020
<before>
21+
<magentoCLI command="config:set checkout/options/enable_guest_checkout_login 1" stepKey="EnablingGuestCheckoutLogin"/>
2122
<actionGroup ref="AdminLoginActionGroup" stepKey="loginToAdminPanel"/>
2223
<createData entity="Simple_US_Customer" stepKey="createCustomer"/>
2324
<createData entity="defaultSimpleProduct" stepKey="simpleProduct">
@@ -105,6 +106,7 @@
105106

106107
<!-- Reindex invalidated indices after product attribute has been created/deleted -->
107108
<magentoCron groups="index" stepKey="reindexInvalidatedIndices"/>
109+
<magentoCLI command="config:set checkout/options/enable_guest_checkout_login 0" stepKey="DisablingGuestCheckoutLogin"/>
108110
</after>
109111

110112
<!--Open Product page in StoreFront and assert product and price range -->

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
<group value="OnePageCheckout"/>
2020
</annotations>
2121
<before>
22+
<magentoCLI command="config:set checkout/options/enable_guest_checkout_login 1" stepKey="EnablingGuestCheckoutLogin"/>
2223
<!-- Create simple product -->
2324
<createData entity="SimpleProduct2" stepKey="createProduct"/>
2425

@@ -39,9 +40,9 @@
3940
<actionGroup ref="AdminDeleteCustomerActionGroup" stepKey="deleteCustomer">
4041
<argument name="customerEmail" value="CustomerEntityOne.email"/>
4142
</actionGroup>
42-
4343
<!-- Logout admin -->
4444
<actionGroup ref="AdminLogoutActionGroup" stepKey="logout"/>
45+
<magentoCLI command="config:set checkout/options/enable_guest_checkout_login 0" stepKey="DisablingGuestCheckoutLogin"/>
4546
</after>
4647
<!-- Go to Storefront as Guest and create new account -->
4748
<actionGroup ref="StorefrontOpenCustomerAccountCreatePageActionGroup" stepKey="openCreateAccountPage"/>

app/code/Magento/Customer/Test/Mftf/Test/EndToEndB2CLoggedInUserTest.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
</skip>
2424
</annotations>
2525
<before>
26+
<magentoCLI command="config:set checkout/options/enable_guest_checkout_login 1" stepKey="EnablingGuestCheckoutLogin"/>
2627
<resetCookie userInput="PHPSESSID" stepKey="resetCookieForCart"/>
2728
<actionGroup ref="AdminLoginActionGroup" after="resetCookieForCart" stepKey="loginAsAdmin"/>
2829
</before>
@@ -32,6 +33,7 @@
3233
<actionGroup ref="DeleteCustomerFromAdminActionGroup" stepKey="deleteCustomerFromAdmin"/>
3334
<actionGroup ref="ClearFiltersAdminDataGridActionGroup" stepKey="clearProductsGridFilters"/>
3435
<actionGroup ref="AdminLogoutActionGroup" stepKey="adminLogout"/>
36+
<magentoCLI command="config:set checkout/options/enable_guest_checkout_login 0" stepKey="DisablingGuestCheckoutLogin"/>
3537
</after>
3638
<!-- Step 0: User signs up an account -->
3739
<comment userInput="Start of signing up user account" stepKey="startOfSigningUpUserAccount" />

app/code/Magento/Reports/Test/Unit/Model/ResourceModel/Order/CollectionTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -466,7 +466,7 @@ public function firstPartDateRangeDataProvider(): array
466466
return [
467467
['', '', '', '0 0 0 23:59:59'],
468468
['24h', '', '', '0 0 1 0:0:0'],
469-
['7d', '', '', '0 0 6 22:59:59']
469+
['7d', '', '', '0 0 6 23:59:59']
470470
];
471471
}
472472

app/code/Magento/Sales/Test/Mftf/Test/PlaceAnOrderAndCreditMemoItValidateTheOrderStatusIsClosedTest.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
<testCaseId value="AC-1577"/>
1616
</annotations>
1717
<before>
18+
<magentoCLI command="config:set checkout/options/enable_guest_checkout_login 1" stepKey="EnablingGuestCheckoutLogin"/>
1819
<!-- Add downloadable domains -->
1920
<magentoCLI stepKey="addDownloadableDomain" command="downloadable:domains:add example.com static.magento.com"/>
2021

@@ -82,6 +83,7 @@
8283
<!-- Logout User and Admin -->
8384
<actionGroup ref="StorefrontCustomerLogoutActionGroup" stepKey="logoutCustomer"/>
8485
<actionGroup ref="AdminLogoutActionGroup" stepKey="logout"/>
86+
<magentoCLI command="config:set checkout/options/enable_guest_checkout_login 0" stepKey="DisablingGuestCheckoutLogin"/>
8587
</after>
8688

8789
<actionGroup ref="OpenStoreFrontProductPageActionGroup" stepKey="navigateToProductPage">

app/code/Magento/Sales/Test/Mftf/Test/StorefrontCreateOrderWithDifferentAddressesTest.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,16 @@
1515
<group value="sales"/>
1616
</annotations>
1717
<before>
18+
<magentoCLI command="config:set checkout/options/enable_guest_checkout_login 1" stepKey="EnablingGuestCheckoutLogin"/>
1819
<createData entity="SimpleProduct2" stepKey="createSimpleProduct"/>
1920
<createData entity="Customer_UK_US" stepKey="createCustomer"/>
2021
</before>
2122
<after>
2223
<deleteData createDataKey="createCustomer" stepKey="deleteCreateCustomer"/>
2324
<deleteData createDataKey="createSimpleProduct" stepKey="deleteSimpleProduct"/>
24-
2525
<actionGroup ref="AdminLogoutActionGroup" stepKey="logout"/>
2626
<actionGroup ref="StorefrontCustomerLogoutActionGroup" stepKey="logoutCustomer"/>
27+
<magentoCLI command="config:set checkout/options/enable_guest_checkout_login 0" stepKey="DisablingGuestCheckoutLogin"/>
2728
</after>
2829

2930
<actionGroup ref="OpenStoreFrontProductPageActionGroup" stepKey="navigateToProductPage">

0 commit comments

Comments
 (0)