Working on tests

This commit is contained in:
Hillel Coren 2018-01-11 09:56:54 +02:00
parent 727170d246
commit 0b0c8de042

View File

@ -68,6 +68,7 @@ class DiscountCest
$I->fillField('table.invoice-table tbody tr:nth-child(1) td:nth-child(5) input', $quantity);
$I->click('Mark Sent');
$I->wait(3);
$total = $itemAmount * $quantity;
$total -= round($total * round($itemDiscount, 2) / 100, 2);