PHP Class BackendAdminCest

Author: Gawain Lynch ([email protected])
Inheritance: extends AbstractAcceptanceTest
Mostrar archivo Open project: bolt/bolt

Public Methods

Method Description
addNewContentTypeTest ( AcceptanceTester $I ) Edit contenttypes.yml and add a 'Resources' Contenttype
addNotFoundRecordTest ( AcceptanceTester $I ) Update the database after creating the Resources Contenttype
canCreateEmptyShowcaseTest ( AcceptanceTester $I ) Check that admin user can create an empty showcase.
checkChangeLogTest ( AcceptanceTester $I ) Check the we can use the change log
checkSystemLogTest ( AcceptanceTester $I ) Check the we can use the system log
clearCacheTest ( AcceptanceTester $I ) Clear the cache
createAuthorTest ( AcceptanceTester $I ) Create a 'author' user with the 'author' role
createDerpaderpTest ( AcceptanceTester $I ) Fail creating a user where password matches user and display names and email address is invalid.
createDeveloperTest ( AcceptanceTester $I ) Create a 'developer' user with the 'developer' role
createEditorTest ( AcceptanceTester $I ) Create a 'editor' user with the 'editor' role
createLemmingsTest ( AcceptanceTester $I ) Create a 'Lemmings' user with the 'admin' role… until they cliff appears!
createManagerTest ( AcceptanceTester $I ) Create a 'manager' user with the 'chief-editor' role
editConfigTest ( AcceptanceTester $I ) Edit site config and set 'canonical', 'notfound' and 'changelog'.
editMenuTest ( AcceptanceTester $I ) Edit the menu file
editPermissionsTest ( AcceptanceTester $I ) Edit site permissions
editRoutingTest ( AcceptanceTester $I ) Edit the routing file
editTaxonomyTest ( AcceptanceTester $I ) Edit the taxonomy
loginAdminUserTest ( AcceptanceTester $I ) Login the admin user
logoutAdminUserTest ( AcceptanceTester $I ) Logout the admin user
updateDatabaseTest ( AcceptanceTester $I ) Update the database after creating the Resources Contenttype
viewAllContenttypesTest ( AcceptanceTester $I ) Check that admin user can view all content types

Method Details

addNewContentTypeTest() public method

Edit contenttypes.yml and add a 'Resources' Contenttype
public addNewContentTypeTest ( AcceptanceTester $I )
$I AcceptanceTester

addNotFoundRecordTest() public method

Update the database after creating the Resources Contenttype
public addNotFoundRecordTest ( AcceptanceTester $I )
$I AcceptanceTester

canCreateEmptyShowcaseTest() public method

Check that admin user can create an empty showcase.
public canCreateEmptyShowcaseTest ( AcceptanceTester $I )
$I AcceptanceTester

checkChangeLogTest() public method

Check the we can use the change log
public checkChangeLogTest ( AcceptanceTester $I )
$I AcceptanceTester

checkSystemLogTest() public method

Check the we can use the system log
public checkSystemLogTest ( AcceptanceTester $I )
$I AcceptanceTester

clearCacheTest() public method

Clear the cache
public clearCacheTest ( AcceptanceTester $I )
$I AcceptanceTester

createAuthorTest() public method

Create a 'author' user with the 'author' role
public createAuthorTest ( AcceptanceTester $I )
$I AcceptanceTester

createDerpaderpTest() public method

Fail creating a user where password matches user and display names and email address is invalid.
public createDerpaderpTest ( AcceptanceTester $I )
$I AcceptanceTester

createDeveloperTest() public method

Create a 'developer' user with the 'developer' role
public createDeveloperTest ( AcceptanceTester $I )
$I AcceptanceTester

createEditorTest() public method

Create a 'editor' user with the 'editor' role
public createEditorTest ( AcceptanceTester $I )
$I AcceptanceTester

createLemmingsTest() public method

Create a 'Lemmings' user with the 'admin' role… until they cliff appears!
public createLemmingsTest ( AcceptanceTester $I )
$I AcceptanceTester

createManagerTest() public method

Create a 'manager' user with the 'chief-editor' role
public createManagerTest ( AcceptanceTester $I )
$I AcceptanceTester

editConfigTest() public method

Edit site config and set 'canonical', 'notfound' and 'changelog'.
public editConfigTest ( AcceptanceTester $I )
$I AcceptanceTester

editMenuTest() public method

Edit the menu file
public editMenuTest ( AcceptanceTester $I )
$I AcceptanceTester

editPermissionsTest() public method

Edit site permissions
public editPermissionsTest ( AcceptanceTester $I )
$I AcceptanceTester

editRoutingTest() public method

Edit the routing file
public editRoutingTest ( AcceptanceTester $I )
$I AcceptanceTester

editTaxonomyTest() public method

Edit the taxonomy
public editTaxonomyTest ( AcceptanceTester $I )
$I AcceptanceTester

loginAdminUserTest() public method

Login the admin user
public loginAdminUserTest ( AcceptanceTester $I )
$I AcceptanceTester

logoutAdminUserTest() public method

Logout the admin user
public logoutAdminUserTest ( AcceptanceTester $I )
$I AcceptanceTester

updateDatabaseTest() public method

Update the database after creating the Resources Contenttype
public updateDatabaseTest ( AcceptanceTester $I )
$I AcceptanceTester

viewAllContenttypesTest() public method

Check that admin user can view all content types
public viewAllContenttypesTest ( AcceptanceTester $I )
$I AcceptanceTester