Codeception Results OK (55.7s)

Functional Tests

+ AccessControlCept: Ensure that access control works 0.34s

I am on page "/backend"
I can see current url matches "|user/login|"
I am on page "/backend/default/view-config"
I can see current url matches "|user/login|"
I am on page "/prototype"
I can see current url matches "|user/login|"
I am on page "/prototype/html"
I can see current url matches "|user/login|"
I am on page "/settings"
I can see current url matches "|user/login|"
I am on page "/translatemanager"
I can see current url matches "|user/login|"
I am on page "/rbac"
I can see current url matches "|user/login|"
I am on page "/user"
I can see current url matches "|user/login|"
I am on page "/pages"
I can see current url matches "|user/login|"

+ AccessControlUICept: Ensure that access control ui works 0.2s

I am on page "/"
I don't see link "/de/backend",".nav"
I don't see "",".glyphicon.glyphicon-cog"
I am on page "/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 see "",".glyphicon.glyphicon-cog"

+ ErrorPageCept: Ensure that error page works 0.01s

I am on page "/_this_page_does_not_exist_"
I see response code is 404
I see "Not Found"

+ LanugagesCept: Ensure that language urls work 0.18s

I am going to try to login with correct credentials
I am on page "/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 expect to see user info
I am on page "/xx"
I see response code is 404
I am on page "/"
I see response code is 200
I am on page "/de"
I see response code is 200

+ LoginCept: Ensure that login works 0.3s

I am on page "/user/login"
I see "Sign In","h3"
I am going to try to login with empty credentials
I fill field "input[name="login-form[login]"]",""
I fill field "input[name="login-form[password]"]",""
I click "Sign in"
I expect to see validations errors
I see "Login cannot be blank."
I see "Password cannot be blank."
I am going to try to login with wrong credentials
I fill field "input[name="login-form[login]"]","admin"
I fill field "input[name="login-form[password]"]","wrong"
I click "Sign in"
I expect to see validations errors
I see "Invalid login or password"
I am going to try to login with correct credentials
I fill field "input[name="login-form[login]"]","admin"
I fill field "input[name="login-form[password]"]","admin"
I click "Sign in"
I expect to see user info

+ VersionCept: Check application versioning 0.03s

I don't see file found "version"
I see file found "src/version"
I open file "src/version"
I don't see in this file "dev"
I don't see in this file "dirty"
I am going to check version visiblity in modal
I expect to see application version 4.4.0-rc1-0-gbc726cd
I am on page "/user/security/login"
I see "4.4.0-rc1-0-gbc726cd\n",".modal-body"

Unit Tests

UserTest: User login 0.01s

UserTest: Non existing user model 0.01s

UserTest: User logout 0.01s

Cli Tests

+ GiiCept: 0.25s

I run shell command "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 "yii help gii/giiant-crud"
I see in shell output "DESCRIPTION"
I see in shell output "yii gii/giiant-crud"

+ YiiCept: 0.17s

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

Acceptance Tests

+ 05-AdminLoginCept: Login as admin 3.54s

I am going to try to login as admin
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 2
I see "admin","#link-user-menu"
I make screenshot "admin-login-frontend"

+ 10-PreviewRoleCept: Create a preview rbac role 9.34s

I am on page "/en/user/login"
I am going to try to login as admin
I fill field "input[name="login-form[login]"]","admin"
I fill field "input[name="login-form[password]"]","admin"
I click "Sign in"
I wait 2
I am going to try to view and create pages
I am on page "/rbac/role/create"
I fill field "#role-name","Preview"
I fill field "#role-description","Preview Role"
I click "Save"
I wait 2
I see "Preview Role","td"

+ 11-PreviewUserCept: Create a preview user 15.89s

I am going to try to login with correct credentials
I am on page "/en/user/login"
I see "Sign in","h3"
I fill field "input[name="login-form[login]"]","admin"
I fill field "input[name="login-form[password]"]","admin"
I click "Sign in"
I wait 2
I am going to try to view and create pages
I am on page "/user/admin/create"
I fill field "#user-email","preview@example.com"
I fill field "#user-username","preview"
I fill field "#user-password","preview1234"
I click "Save"
I wait 3
I see in page source "Update user account"
I make screenshot "success-preview-user"
I am going to assign permission to preview user
I click "Assignments"
I wait 2
I click ".select2-selection__rendered"
I wait 2
I click "[id$="-app_site"]"
I click ".select2-selection__rendered"
I click "[id$="-pages_default_page"]"
I wait 1
I make screenshot "success-preview-items"
I click "Update assignments"
I wait 2
I make screenshot "success-preview-items-update"

+ BackendAccessCept: Ensure backend access works 7.19s

I am on page "/backend"
I don't see element ".small-box"
I am on page "/prototype/html"
I don't see "Htmls","h1"
I am on page "/prototype/less"
I don't see "Lesses","h1"
I am on page "/settings"
I don't see "Settings","h1"
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 2
I am on page "/backend"
I see element ".small-box"
I am on page "/prototype/html"
I see "Htmls","h1"
I am on page "/prototype/less"
I see "Lesses","h1"
I am on page "/settings"
I see "Settings","h1"

+ HomeCept: Ensure that home page is not visible without login 1.14s

I am on page "/"
I see "Sign in",".panel.panel-default"
I see link "Login"
I make screenshot "home"

+ JavaScriptCept: Ensure that javascript works 1.6s

I am going to check javascript with a modal
I am on page "/en-us"
I don't see "#infoModal"
I click "footer .pull-left a"
I wait for element visible "#infoModal",3
I see element "#infoModal"
I make screenshot "modal"
I click "#infoModal .close"
I don't see "#infoModal"

+ LanguagesCept: Ensure that language urls and redirects work 2.08s

I am on page "/"
I see current url equals "/en/user/login"
I am on page "/de"
I see current url equals "/de/user/login"
I see "Anmelden"
I make screenshot "language-de"
I am on page "/en-us"
I see "Not Found"

+ LoginCept: Ensure that login works 4.2s

I am on page "/en/user/login"
I see "Sign in","h3"
I am going to try to login with correct credentials
I fill field "input[name="login-form[login]"]","admin"
I fill field "input[name="login-form[password]"]","admin"
I click "Sign in"
I wait 2
I make screenshot "login-success"
I expect to see user info
I click ".nav #link-user-menu a"
I see element "#link-logout"
I click "#link-logout"
I make screenshot "logout-success"

+ MobileCept: Ensure that responsive mobile layout works 4.03s

I resize window 320,568
I am on page "/"
I make screenshot "mobile"
I click "button.navbar-toggle"
I wait 3
I see element "li.active"
I see link "Login"
I make screenshot "mobile-open-menu"

+ PreviewAccessCept: Ensure that preview access works 4.34s

I am on page "/"
I make screenshot "debug-preview-access-login"
I am on page "/en/user/login"
I am going to try to login as preview
I fill field "input[name="login-form[login]"]","preview"
I fill field "input[name="login-form[password]"]","preview1234"
I click "Sign in"
I wait 2
I am on page "/"
I don't see ".alert"
I make screenshot "success-preview-access"

+ SignupCept: Ensure that sign-up works 0.82s

I am on page "/user/register"
I see "Sign up"

Summary

Successful scenarios: 22
Failed scenarios: 0
Skipped scenarios: 0
Incomplete scenarios: 0