/** * Delete Tax Rate Entity test. * * @param TaxRate $taxRate * @return void */ public function testDeleteTaxRate(TaxRate $taxRate) { // Precondition $taxRate->persist(); // Steps $this->taxRateIndex->open(); $this->taxRateIndex->getTaxRatesGrid()->searchAndOpen(['code' => $taxRate->getCode()]); $this->taxRateEdit->getFormPageActions()->deleteAndAcceptAlert(); }