Working on tests

This commit is contained in:
Hillel Coren 2017-04-09 23:52:42 +03:00
parent b86bf323f7
commit 841c26df76

View File

@ -61,7 +61,7 @@ class GatewayFeesCest
$invoiceId = $I->grabFromDatabase('invitations', 'invoice_id', ['invitation_key' => $invitationKey]);
$invoicePublicId = $I->grabFromDatabase('invoices', 'public_id', ['id' => $invoiceId]);
$I->amOnPage('/invoices/' . $invoicePublicId . '/edit');
$I->click('Save');
$I->click('Save Invoice');
$I->wait(2);
$I->see('Successfully updated invoice');
$this->createPayment($I, $invitationKey, $total + $partialFeeWithTax, 0, $partialFeeWithTax);