Skip to content

Commit d41ef98

Browse files
merge magento/2.3-develop into magento-obsessive-owls/MAGETWO-56442
2 parents 9ddee25 + ef04c2c commit d41ef98

18 files changed

+205
-35
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@
1212
<features value="Catalog"/>
1313
<stories value="MAGETWO-51484-Input type configuration for custom Product Attributes"/>
1414
<group value="Catalog"/>
15-
<title value="Admin should be able to switch between two versions of TinyMCE"/>
16-
<description value="Admin should be able to switch between two versions of TinyMCE"/>
15+
<title value="Admin are able to change Input Type of Text Editor product attribute"/>
16+
<description value="Admin are able to change Input Type of Text Editor product attribute"/>
1717
<severity value="CRITICAL"/>
18-
<testCaseId value="MAGETWO-85745"/>
18+
<testCaseId value="MC-6215"/>
1919
</annotations>
2020
<before>
2121
<actionGroup ref="LoginActionGroup" stepKey="loginGetFromGeneralFile"/>

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<title value="Admin should be able to sell products with different variants of their own"/>
1616
<description value="Admin should be able to sell products with different variants of their own"/>
1717
<severity value="CRITICAL"/>
18-
<testCaseId value="MAGETWO-58184"/>
18+
<testCaseId value="MC-16476"/>
1919
<group value="product"/>
2020
</annotations>
2121

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@
1212
<annotations>
1313
<features value="Catalog"/>
1414
<stories value="Purchase a product with Custom Options of different types"/>
15-
<title value="Admin should be able to sell products with different variants of their own"/>
16-
<description value="Admin should be able to sell products with different variants of their own"/>
15+
<title value="Admin should be able to sell products with custom options of different types"/>
16+
<description value="Admin should be able to sell products with custom options of different types"/>
1717
<severity value="CRITICAL"/>
18-
<testCaseId value="MAGETWO-61717"/>
18+
<testCaseId value="MC-16462"/>
1919
<group value="Catalog"/>
2020
</annotations>
2121
<before>

app/code/Magento/Catalog/Test/Unit/Pricing/Price/TierPriceTest.php

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -393,4 +393,40 @@ public function dataProviderGetSavePercent()
393393
['basePrice' => '20.80', 'tierPrice' => '18.72', 'savedPercent' => '10']
394394
];
395395
}
396+
397+
/**
398+
* @param null|string|float $quantity
399+
* @param float $expectedValue
400+
* @dataProvider getQuantityDataProvider
401+
*/
402+
public function testGetQuantity($quantity, $expectedValue)
403+
{
404+
$tierPrice = new TierPrice(
405+
$this->product,
406+
$quantity,
407+
$this->calculator,
408+
$this->priceCurrencyMock,
409+
$this->session,
410+
$this->groupManagement,
411+
$this->customerGroupRetriever
412+
);
413+
414+
$this->assertEquals($expectedValue, $tierPrice->getQuantity());
415+
}
416+
417+
/**
418+
* @return array
419+
*/
420+
public function getQuantityDataProvider()
421+
{
422+
return [
423+
[null, 1],
424+
['one', 1],
425+
['', 1],
426+
[4, 4],
427+
[4.5, 4.5],
428+
['0.7', 0.7],
429+
['0.0000000', 1]
430+
];
431+
}
396432
}

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@
1212
<annotations>
1313
<features value="Checkout"/>
1414
<stories value="MAGETWO-91465"/>
15-
<title value="Guest Checkout"/>
15+
<title value="Guest Checkout - address State field should not allow just integer values"/>
1616
<description value="Address State field should not allow just integer values"/>
1717
<severity value="MAJOR"/>
18-
<testCaseId value="MAGETWO-93203"/>
18+
<testCaseId value="MC-6223"/>
1919
<group value="checkout"/>
2020
</annotations>
2121
<before>

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<title value="Customer Checkout"/>
1616
<description value="To be sure that other elements of Success page are shown for placed order as registered Customer."/>
1717
<severity value="CRITICAL"/>
18-
<testCaseId value="MAGETWO-60345"/>
18+
<testCaseId value="MC-16488"/>
1919
<group value="checkout"/>
2020
</annotations>
2121

@@ -135,10 +135,10 @@
135135
<annotations>
136136
<features value="Checkout"/>
137137
<stories value="Success page elements are presented for placed order as Guest"/>
138-
<title value="Customer Checkout"/>
139-
<description value="To be sure that other elements of Success page are presented for placed order as Guest."/>
138+
<title value="Guest Checkout - elements of success page are presented for placed order as guest"/>
139+
<description value="To be sure that other elements of Success page are presented for placed order as Guest"/>
140140
<severity value="CRITICAL"/>
141-
<testCaseId value="MAGETWO-60346"/>
141+
<testCaseId value="MC-16490"/>
142142
<group value="checkout"/>
143143
</annotations>
144144

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<annotations>
1313
<features value="Checkout"/>
1414
<stories value="Checkout via the Admin"/>
15-
<title value="Customer Checkout"/>
15+
<title value="Customer Checkout via the Admin"/>
1616
<description value="Should be able to place an order as a customer."/>
1717
<severity value="CRITICAL"/>
1818
<testCaseId value="MC-5922"/>

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@
1212
<annotations>
1313
<features value="Checkout"/>
1414
<stories value="Checkout via Guest Checkout"/>
15-
<title value="Guest Checkout"/>
16-
<description value="Should be able to place an order as a Guest."/>
15+
<title value="Guest Checkout - guest should be able to place an order"/>
16+
<description value="Should be able to place an order as a Guest"/>
1717
<severity value="CRITICAL"/>
18-
<testCaseId value="MAGETWO-72094"/>
18+
<testCaseId value="MC-12825"/>
1919
<group value="checkout"/>
2020
</annotations>
2121
<before>

app/code/Magento/Paypal/Test/Mftf/Test/AdminConfigPaymentsConflictResolutionForPayPal.xml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<title value="Conflict resolution for PayPal in United Kingdom"/>
1616
<description value="A popup should show when enabling different paypal solutions when one is already enabled for merchant country United Kingdom"/>
1717
<severity value="Major"/>
18-
<testCaseId value="MC-13146"/>
18+
<testCaseId value="MC-16679"/>
1919
<group value="paypal"/>
2020
</annotations>
2121
<before>
@@ -120,7 +120,7 @@
120120
<title value="Conflict resolution for PayPal in France"/>
121121
<description value="A popup should show when enabling different paypal solutions when one is already enabled for merchant country France"/>
122122
<severity value="Major"/>
123-
<testCaseId value="MC-13146"/>
123+
<testCaseId value="MC-16675"/>
124124
<group value="paypal"/>
125125
</annotations>
126126
<selectOption selector="{{PaymentsConfigSection.merchantCountry}}" userInput="France" stepKey="setMerchantCountry"/>
@@ -160,7 +160,7 @@
160160
<title value="Conflict resolution for PayPal in Hong Kong"/>
161161
<description value="A popup should show when enabling different paypal solutions when one is already enabled for merchant country Hong Kong"/>
162162
<severity value="Major"/>
163-
<testCaseId value="MC-13146"/>
163+
<testCaseId value="MC-16676"/>
164164
<group value="paypal"/>
165165
</annotations>
166166
<selectOption selector="{{PaymentsConfigSection.merchantCountry}}" userInput="Hong Kong SAR China" stepKey="setMerchantCountry"/>
@@ -200,7 +200,7 @@
200200
<title value="Conflict resolution for PayPal in Italy"/>
201201
<description value="A popup should show when enabling different paypal solutions when one is already enabled for merchant country Italy"/>
202202
<severity value="Major"/>
203-
<testCaseId value="MC-13146"/>
203+
<testCaseId value="MC-16677"/>
204204
<group value="paypal"/>
205205
</annotations>
206206
<selectOption selector="{{PaymentsConfigSection.merchantCountry}}" userInput="Italy" stepKey="setMerchantCountry"/>
@@ -240,7 +240,7 @@
240240
<title value="Conflict resolution for PayPal in Spain"/>
241241
<description value="A popup should show when enabling different paypal solutions when one is already enabled for merchant country Spain"/>
242242
<severity value="Major"/>
243-
<testCaseId value="MC-13146"/>
243+
<testCaseId value="MC-16678"/>
244244
<group value="paypal"/>
245245
</annotations>
246246
<selectOption selector="{{PaymentsConfigSection.merchantCountry}}" userInput="Spain" stepKey="setMerchantCountry"/>

app/code/Magento/Tinymce3/Test/Mftf/Test/AdminSwitchWYSIWYGOptionsTest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<title value="Admin should able to switch between versions of TinyMCE"/>
1717
<description value="Admin should able to switch between versions of TinyMCE"/>
1818
<severity value="CRITICAL"/>
19-
<testCaseId value="MAGETWO-82936"/>
19+
<testCaseId value="MC-6114"/>
2020
</annotations>
2121
<before>
2222
<actionGroup ref="LoginActionGroup" stepKey="loginGetFromGeneralFile"/>

0 commit comments

Comments
 (0)