1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-18 09:04:35 +01:00
invoiceninja/tests/acceptance/WelcomeCept.php
Hillel Coren 2d23bb1e3e bug fixes
2014-02-04 09:07:16 +02:00

15 lines
440 B
PHP

<?php
$I = new WebGuy($scenario);
$I->wantTo('click invoice now');
$I->amOnPage('/rocksteady');
$I->click('#startButton');
$I->seeInDatabase('users', ['id' => 1]);
$I->wantTo('create a client');
$I->click('#createClientLink');
$I->fillField('input#email', 'test@aol.com');
$I->click('#clientDoneButton');
$I->click('#saveButton');
$I->seeInDatabase('contacts', ['email' => 'test@aol.com']);
$I->seeInField('input#email', 'test@aol.com');