mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-07 10:24:31 -04:00
Fix for travis test
This commit is contained in:
parent
2d878b6480
commit
dfa6c518ab
@ -44,13 +44,14 @@ class ExpenseCest
|
|||||||
$I->selectDropdown($I, $vendorName, '.vendor-select .dropdown-toggle');
|
$I->selectDropdown($I, $vendorName, '.vendor-select .dropdown-toggle');
|
||||||
$I->selectDropdown($I, $clientEmail, '.client-select .dropdown-toggle');
|
$I->selectDropdown($I, $clientEmail, '.client-select .dropdown-toggle');
|
||||||
$I->click('Save');
|
$I->click('Save');
|
||||||
|
$I->wait(2);
|
||||||
$I->seeInDatabase('expenses', ['vendor_id' => $vendorId]);
|
$I->seeInDatabase('expenses', ['vendor_id' => $vendorId]);
|
||||||
|
|
||||||
// invoice expense
|
// invoice expense
|
||||||
$I->executeJS('submitAction(\'invoice\')');
|
$I->executeJS('submitAction(\'invoice\')');
|
||||||
$I->wait(3);
|
$I->wait(2);
|
||||||
$I->click('Save');
|
$I->click('Save');
|
||||||
$I->wait(3);
|
$I->wait(2);
|
||||||
$I->see($clientEmail);
|
$I->see($clientEmail);
|
||||||
$I->see($amount);
|
$I->see($amount);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user