1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-08 20:22:42 +01:00

Working on tests

This commit is contained in:
Hillel Coren 2017-03-30 20:32:59 +03:00
parent ec46107dba
commit 0ca4b91943

View File

@ -148,8 +148,8 @@ class GatewayFeesCest
// check we correctly remove/add back the gateway fee
$I->amOnPage('/view/' . $invitationKey);
$I->click('Pay Now');
$I->see('$' . number_format($fee, 2) . ' Fee');
$I->see('$' . number_format($fee * 2, 2) . ' Fee');
$I->see(number_format($fee, 2) . ' Fee');
$I->see(number_format($fee * 2, 2) . ' Fee');
$I->amOnPage('/payment/' . $invitationKey . '/credit_card');
$I->amOnPage('/payment/' . $invitationKey . '/bank_transfer');
@ -157,8 +157,8 @@ class GatewayFeesCest
$I->amOnPage('/view/' . $invitationKey);
$I->click('Pay Now');
$I->see('$' . number_format($fee, 2) . ' Fee');
$I->see('$' . number_format($fee * 2, 2) . ' Fee');
$I->see(number_format($fee, 2) . ' Fee');
$I->see(number_format($fee * 2, 2) . ' Fee');
$I->createOnlinePayment($I, $invitationKey);