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