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