10 use Magento\Checkout\Test\Page\CheckoutCart;
11 use Magento\Mtf\Constraint\AbstractConstraint;
30 $checkoutCart->open();
31 $checkoutCart->getTotalsBlock()->waitForUpdatedTotals();
34 $fixtureGrandTotal = number_format(
$cart->getGrandTotal(), 2);
35 $pageGrandTotal = $checkoutCart->getTotalsBlock()->getGrandTotal();
36 \PHPUnit\Framework\Assert::assertEquals(
39 'Grand total price in the shopping cart not equals to grand total price from fixture.' 50 return 'Grand total price in the shopping cart equals to expected grand total price from data set.';