From 0d4f722f04f4fa86ee2141adf81ccfcaa60d7a2b Mon Sep 17 00:00:00 2001 From: Hillel Coren Date: Wed, 12 Apr 2017 17:06:49 +0300 Subject: [PATCH] Working on tests --- tests/acceptance/GatewayFeesCest.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/acceptance/GatewayFeesCest.php b/tests/acceptance/GatewayFeesCest.php index 0306ee69b644..bf22be60af8e 100644 --- a/tests/acceptance/GatewayFeesCest.php +++ b/tests/acceptance/GatewayFeesCest.php @@ -61,8 +61,7 @@ class GatewayFeesCest $invoicePublicId = $I->grabFromDatabase('invoices', 'public_id', ['id' => $invoiceId]); $I->amOnPage('/invoices/' . $invoicePublicId . '/edit'); $I->click('Save Invoice'); - $I->wait(3); - $I->see('Successfully updated invoice'); + $I->wait(2); $this->createPayment($I, $invitationKey, $total + $partialFeeWithTax, 0, $partialFeeWithTax); }