add backand ticket/index changes, add backand\ticket\index export pdf, xls

This commit is contained in:
2016-06-29 20:18:47 +02:00
parent 06eca0fe03
commit 5438c9a038
20 changed files with 870 additions and 284 deletions

View File

@@ -10,11 +10,22 @@ $I->wantTo('ensure login page works');
$loginPage = LoginPage::openBy($I);
if (method_exists($I, 'wait')) {
$I->wait(10); // only for selenium
}
$I->expectTo('see that login button');
$I->see('Fitness');
/*
$I->amGoingTo('submit login form with no data');
$loginPage->login('', '');
if (method_exists($I, 'wait')) {
$I->wait(3); // only for selenium
}
*/
/*
$I->expectTo('see validations errors');
$I->see('Username cannot be blank.', '.help-block');
$I->see('Password cannot be blank.', '.help-block');
@@ -27,16 +38,16 @@ if (method_exists($I, 'wait')) {
}
$I->expectTo('see validations errors');
$I->see('Incorrect username or password.', '.help-block');
*/
$I->amGoingTo('try to login with correct credentials');
$loginPage->login('erau', 'password_0');
$loginPage->login('admin', 'test');
if (method_exists($I, 'wait')) {
$I->wait(3); // only for selenium
$I->wait(10); // only for selenium
}
$I->expectTo('see that user is logged');
$I->seeLink('Logout (erau)');
$I->dontSeeLink('Login');
$I->dontSeeLink('Signup');
$I->see('Üdvözöljük adminisztrációs felületünkön');
//$I->dontSeeLink('Signup');
/** Uncomment if using WebDriver
* $I->click('Logout (erau)');
* $I->dontSeeLink('Logout (erau)');