9 use Magento\Checkout\Test\Page\CheckoutOnepage;
10 use Magento\Mtf\Constraint\AbstractConstraint;
24 public function processAssert(CheckoutOnepage $checkoutOnepage, $shippingTotal)
26 $reviewShippingTotal = $checkoutOnepage->getReviewBlock()->getShippingExclTax();
28 \PHPUnit\Framework\Assert::assertEquals(
30 number_format($shippingTotal, 2),
31 'Shipping price: \'' . $reviewShippingTotal
32 .
'\' not equals with price from data
set: \
'' . $shippingTotal .
'\'' 43 return 'Shipping price equals to price from data set.';
processAssert(CheckoutOnepage $checkoutOnepage, $shippingTotal)