/** * @Then tax total value should be :taxTotal * @Then my cart taxes should be :taxTotal */ public function myCartTaxesShouldBe($taxTotal) { $this->summaryPage->open(); Assert::same($this->summaryPage->getTaxTotal(), $taxTotal, 'Tax total value should be %2$s, but it is %s.'); }