Fix for tests

This commit is contained in:
Hillel Coren 2016-12-05 20:22:11 +02:00
parent de7664f205
commit 880f903c8f
3 changed files with 3 additions and 3 deletions

View File

@ -45,7 +45,7 @@ class CheckBalanceCest
$I->selectDropdown($I, $clientEmail, '.client_select .dropdown-toggle');
$I->fillField('table.invoice-table tbody tr:nth-child(1) #product_key', $productKey);
$I->click('table.invoice-table tbody tr:nth-child(1) .tt-selectable');
$I->click('Save');
$I->click('Mark Sent');
$I->wait(2);
$I->see($clientEmail);
$invoiceId = $I->grabFromCurrentUrl('~invoices/(\d+)~');

View File

@ -42,7 +42,7 @@ class PaymentCest
$I->selectDropdown($I, $clientEmail, '.client_select .dropdown-toggle');
$I->fillField('table.invoice-table tbody tr:nth-child(1) #product_key', $productKey);
$I->click('table.invoice-table tbody tr:nth-child(1) .tt-selectable');
$I->click('Save');
$I->click('Mark Sent');
$I->wait(1);
$I->see($clientEmail);

View File

@ -43,7 +43,7 @@ class QuoteCest
$I->selectDropdown($I, $clientEmail, '.client_select .dropdown-toggle');
$I->fillField('table.invoice-table tbody tr:nth-child(1) #product_key', $productKey);
$I->click('table.invoice-table tbody tr:nth-child(1) .tt-selectable');
$I->click('Save');
$I->click('Mark Sent');
$I->see($clientEmail);
// enter payment