Working on tests

This commit is contained in:
Hillel Coren 2018-03-10 21:51:41 +02:00
parent 963ddd183d
commit b0c7c38c45
2 changed files with 3 additions and 2 deletions

View File

@ -50,7 +50,7 @@ class InvoiceCest
$this->fillItem($I, 1, 'Item', 'Notes', 64.50, 3); $this->fillItem($I, 1, 'Item', 'Notes', 64.50, 3);
$I->click('#saveButton'); $I->click('#saveButton');
$I->wait(1); $I->wait(2);
$I->see($invoiceNumber); $I->see($invoiceNumber);
$I->see('199.01'); $I->see('199.01');

View File

@ -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->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('table.invoice-table tbody tr:nth-child(1) .tt-selectable');
$I->click('Mark Sent'); $I->click('Mark Sent');
$I->see($clientEmail); $I->wait(2);
$I->see($clientEmail);
$I->click('More Actions'); $I->click('More Actions');
$I->click('New Proposal'); $I->click('New Proposal');
$I->see('Create'); $I->see('Create');