Skip to content

Commit aace6fa

Browse files
committed
Merge branch 'FearlessKiwis-MAGETWO-51577-downloadable_configurable_product_functional_tests' into develop
2 parents 90c8975 + b4f31ea commit aace6fa

File tree

6 files changed

+17
-5
lines changed

6 files changed

+17
-5
lines changed

app/code/Magento/Sales/Block/Adminhtml/Order/View/Items/Renderer/DefaultRenderer.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -281,9 +281,6 @@ public function getColumnHtml(\Magento\Framework\DataObject $item, $column, $fie
281281
case 'price-original':
282282
$html = $this->displayPriceAttribute('original_price');
283283
break;
284-
case 'price':
285-
$html = $this->displayPriceAttribute('price');
286-
break;
287284
case 'tax-amount':
288285
$html = $this->displayPriceAttribute('tax_amount');
289286
break;

dev/tests/functional/tests/app/Magento/Backend/Test/Block/FormPageActions.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,7 @@ public function save()
117117
*/
118118
public function delete()
119119
{
120+
$this->waitBeforeClick();
120121
$this->_rootElement->find($this->deleteButton)->click();
121122
}
122123

@@ -139,6 +140,6 @@ public function checkDeleteButton()
139140
protected function waitBeforeClick()
140141
{
141142
time_nanosleep(0, 600000000);
142-
usleep(500000);
143+
usleep(1000000);
143144
}
144145
}

dev/tests/functional/tests/app/Magento/ConfigurableProduct/Test/TestCase/TaxCalculationTest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<data name="customer/dataset" xsi:type="string">johndoe_unique</data>
1515
<data name="salesRule" xsi:type="string">active_sales_rule_for_all_groups_no_coupon</data>
1616
<data name="catalogRule" xsi:type="string">-</data>
17-
<data name="configData" xsi:type="string">display_excluding_including_tax</data>
17+
<data name="configData" xsi:type="string">total_cat_excl_ship_incl_after_disc_on_excl, display_excluding_including_tax</data>
1818
<data name="qty" xsi:type="string">3</data>
1919
<data name="prices/category_price_excl_tax" xsi:type="string">1.00</data>
2020
<data name="prices/category_price_incl_tax" xsi:type="string">1.10</data>

dev/tests/functional/tests/app/Magento/SalesRule/Test/TestStep/CreateSalesRuleStep.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ public function __construct(FixtureFactory $fixtureFactory, DeleteAllSalesRuleSt
5757
*/
5858
public function run()
5959
{
60+
$this->deleteAllSalesRule->run();
6061
$result['salesRule'] = null;
6162
if ($this->salesRule !== null) {
6263
$salesRule = $this->fixtureFactory->createByCode(

dev/tests/functional/tests/app/Magento/Tax/Test/Constraint/AbstractAssertOrderTaxOnBackend.php

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ public function processAssert(
9393
$this->orderInvoiceNew = $orderInvoiceNew;
9494
$this->orderCreditMemoNew = $orderCreditMemoNew;
9595
$orderIndex->open();
96+
$this->waitBeforeClick();
9697
$orderIndex->getSalesOrderGrid()->openFirstRow();
9798
//Check prices on order page
9899
$actualPrices = [];
@@ -222,4 +223,15 @@ public function toString()
222223
{
223224
return 'Prices on backend after order creation is correct.';
224225
}
226+
227+
/**
228+
* Wait for User before click
229+
*
230+
* @return void
231+
*/
232+
protected function waitBeforeClick()
233+
{
234+
time_nanosleep(0, 600000000);
235+
usleep(1000000);
236+
}
225237
}

dev/tests/functional/tests/app/Magento/Tax/Test/TestStep/CreateTaxRuleStep.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ public function __construct(FixtureFactory $fixtureFactory, DeleteAllTaxRulesSte
5757
*/
5858
public function run()
5959
{
60+
$this->deleteAllTaxRule->run();
6061
$result['taxRule'] = null;
6162
if ($this->taxRule !== null) {
6263
$taxRuleDataSets = explode(',', $this->taxRule);

0 commit comments

Comments
 (0)