9 use Magento\Checkout\Test\Page\CheckoutOnepage;
10 use Magento\Mtf\Constraint\AbstractConstraint;
24 public function processAssert(CheckoutOnepage $checkoutOnepage, $billingCheckboxState)
26 $actualResult = $checkoutOnepage
28 ->getSelectedPaymentMethodBlock()
30 ->getSameAsShippingCheckboxValue();
32 \PHPUnit\Framework\Assert::assertEquals(
33 $billingCheckboxState,
35 '"Same as Shipping" checkbox has wrong value' 46 return '"Same as Shipping" checkbox has correct value.';
processAssert(CheckoutOnepage $checkoutOnepage, $billingCheckboxState)