Codeception Results OK (17.8s)

Cli Tests

[+] (base/00_YiiCept) 0.26s

I run shell command "/app/yii"
I see in shell output "This is Yii version 2.0."

[+] (base/01_GiiCept) 0.21s

I run shell command "/app/yii help gii"
I see in shell output "DESCRIPTION"
I see in shell output "SUB-COMMANDS"
I see in shell output "gii/"
I run shell command "/app/yii help gii/giiant-crud"
I see in shell output "DESCRIPTION"
I see in shell output "yii gii/giiant-crud"

[+] (sakila/10_GiiantBatchSakilaModuleCept) 2.47s

I run shell command "mkdir -p /app/src/modules/sakila/controllers"
I run shell command "mkdir -p /app/src/modules/sakila/models/search"
I run shell command "yii gii/giiant-module \ --interactive=0 \ --overwrite=1 \ --moduleID=sakila \ --moduleClass=app\\modules\\sakila\\Module"
I see file found "/app/src/modules/sakila/Module.php"
I run shell command "/app/yii giiant-batch \ --interactive=0 \ --overwrite=1 \ --modelDb=db \ --modelBaseClass=yii\\db\\ActiveRecord \ --modelNamespace=app\\modules\\sakila\\models \ --modelQueryNamespace=app\\modules\\sakila\\models\\query \ --crudAccessFilter=1 \ --crudControllerNamespace=app\\modules\\sakila\\controllers \ --crudSearchModelNamespace=app\\modules\\sakila\\models\\search \ --crudViewPath=@app/modules/sakila/views \ --crudPathPrefix= \ --crudSkipRelations=Variant,Variants \ --crudProviders=schmunk42\\giiant\\generators\\crud\\providers\\optsProvider \ --tables=actor,film,film_actor,language,film_category,category,inventory,store,rental,payment,customer,staff,address,city,country"
I don't see in shell output "Please fix the following errors"
I don't see in shell output "ErrorException"
I see in shell output "The following files will be generated"
I see file found "/app/src/modules/sakila/controllers/ActorController.php"
I see file found "/app/src/modules/sakila/models/Actor.php"

[+] (sakila/11_GiiantBatchSakilaCrudInFolderCept) 1.47s

I run shell command "mkdir -p /app/src/controllers/crud"
I run shell command "mkdir -p /app/src/models/crud/search"
I run shell command "/app/yii giiant-batch \ --interactive=0 \ --overwrite=1 \ --modelDb=db \ --modelBaseClass=yii\\db\\ActiveRecord \ --modelNamespace=app\\\models \ --crudControllerNamespace=app\\controllers\\crud \ --crudSearchModelNamespace=app\\models\\crud\\search \ --crudViewPath=@app/views/crud \ --crudPathPrefix=crud/ \ --crudSkipRelations=Variant,Variants \ --crudProviders=schmunk42\\giiant\\generators\\crud\\providers\\optsProvider \ --tables=actor,film,film_actor,language,film_category,category,inventory,store,rental,payment,customer,staff,address,city,country"
I don't see in shell output "Please fix the following errors"
I don't see in shell output "ErrorException"
I see in shell output "The following files will be generated"
I see file found "/app/src/controllers/crud/CountryController.php"

Acceptance Tests

[+] Ensure that copy button works (sakila/CopyButtonCept) 6.34s

I am on page "/en/user/login"
I am on page "/en/user/login"
I fill field "input[name="login-form[login]"]","admin"
I fill field "input[name="login-form[password]"]","admin"
I click "Sign in"
I wait for text "admin",5
I am on page "/sakila/actor/view?actor_id=1"
I see "1","h1"
I make screenshot "detail-view"
I click "Copy"
I see in field "#actor-first_name","PENELOPE"

[+] Ensure that crud works with access rules (sakila/CrudCept) 5.63s

I am on page "/sakila/actor"
I don't see "Actors","h1"
I make screenshot "crud-actor-login"
I see "Sign in","h3"
I am going to try to login with correct credentials
I am on page "/en/user/login"
I am on page "/en/user/login"
I fill field "input[name="login-form[login]"]","admin"
I fill field "input[name="login-form[password]"]","admin"
I click "Sign in"
I wait for text "admin",5
I see "Actors","h1"
I make screenshot "crud-actor"

[+] Ensure that module works (sakila/ModuleCept) 1.4s

I am on page "/sakila"
I see "rental"

Summary

Successful scenarios: 7
Failed scenarios: 0
Skipped scenarios: 0
Incomplete scenarios: 0