add backand ticket/index changes, add backand\ticket\index export pdf, xls
This commit is contained in:
30
tests/codeception/backend/acceptance/ObjectCept.php
Normal file
30
tests/codeception/backend/acceptance/ObjectCept.php
Normal file
@@ -0,0 +1,30 @@
|
||||
<?php
|
||||
use tests\codeception\backend\AcceptanceTester;
|
||||
|
||||
class ObjectCept
|
||||
{
|
||||
private $cookie = null;
|
||||
|
||||
public function _before(AcceptanceTester $I)
|
||||
{
|
||||
}
|
||||
|
||||
public function _after(AcceptanceTester $I)
|
||||
{
|
||||
}
|
||||
|
||||
/*
|
||||
// tests
|
||||
public function login(AcceptanceTester $I)
|
||||
{
|
||||
$I->wantTo('entrar al sistema');
|
||||
$I->amOnPage('/');
|
||||
$I->seeInCurrentUrl('/admin/login');
|
||||
$I->fillField('user','perry');
|
||||
$I->fillField('pass','pass-perry');
|
||||
$I->click('Login');
|
||||
$I->see('You\'re logged!');
|
||||
$this->cookie = $I->grabCookie('your-session-cookie-name');
|
||||
}
|
||||
*/
|
||||
}
|
||||
Reference in New Issue
Block a user