Skip to content

Commit 4327eb4

Browse files
committed
MAGETWO-86048: Special characters in CSV return error: General system exception happened
1 parent 99377a9 commit 4327eb4

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

dev/tests/functional/tests/app/Magento/CatalogRule/Test/Constraint/AssertCatalogPriceRuleAppliedShoppingCart.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66

77
namespace Magento\CatalogRule\Test\Constraint;
88

9+
use Magento\Checkout\Test\Constraint\Utils\CartPageLoadTrait;
910
use Magento\Customer\Test\Fixture\Customer;
1011
use Magento\Checkout\Test\Page\CheckoutCart;
1112
use Magento\Mtf\Constraint\AbstractConstraint;
@@ -16,6 +17,8 @@
1617
*/
1718
class AssertCatalogPriceRuleAppliedShoppingCart extends AbstractConstraint
1819
{
20+
use CartPageLoadTrait;
21+
1922
/**
2023
* Assert that Catalog Price Rule is applied for product(s) in Shopping Cart
2124
* according to Priority(Priority/Stop Further Rules Processing).
@@ -48,6 +51,7 @@ public function processAssert(
4851
['products' => $products]
4952
)->run();
5053
$checkoutCartPage->open();
54+
$this->waitForCartPageLoaded($checkoutCartPage);
5155
foreach ($products as $key => $product) {
5256
$actualPrice = $checkoutCartPage->getCartBlock()->getCartItem($product)->getSubtotalPrice();
5357
\PHPUnit_Framework_Assert::assertEquals(

0 commit comments

Comments
 (0)