From b0c7c38c45ea51f4e998f5408c35c1328f724ec8 Mon Sep 17 00:00:00 2001 From: Hillel Coren Date: Sat, 10 Mar 2018 21:51:41 +0200 Subject: [PATCH] Working on tests --- tests/acceptance/InvoiceCest.php | 2 +- tests/acceptance/QuoteCest.php | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/acceptance/InvoiceCest.php b/tests/acceptance/InvoiceCest.php index ba3737d90728..ab1b6cb56368 100644 --- a/tests/acceptance/InvoiceCest.php +++ b/tests/acceptance/InvoiceCest.php @@ -50,7 +50,7 @@ class InvoiceCest $this->fillItem($I, 1, 'Item', 'Notes', 64.50, 3); $I->click('#saveButton'); - $I->wait(1); + $I->wait(2); $I->see($invoiceNumber); $I->see('199.01'); diff --git a/tests/acceptance/QuoteCest.php b/tests/acceptance/QuoteCest.php index 799bee2eee88..4584e162dd84 100644 --- a/tests/acceptance/QuoteCest.php +++ b/tests/acceptance/QuoteCest.php @@ -72,8 +72,9 @@ class QuoteCest $I->fillField('table.invoice-table tbody tr:nth-child(1) td:nth-child(2) input.tt-input', $productKey); $I->click('table.invoice-table tbody tr:nth-child(1) .tt-selectable'); $I->click('Mark Sent'); + $I->wait(2); + $I->see($clientEmail); - $I->click('More Actions'); $I->click('New Proposal'); $I->see('Create');