\UserManager0001Test
This class tests the User Manager: Add / Edit User Screen
- Author: Mark
Synopsis
class UserManager0001Test
extends JoomlaWebdriverTestCase
{
- // members
- protected UserManagerPage $userManagerPage;
- // Inherited members from JoomlaWebdriverTestCase
- public SeleniumConfig $cfg;
- protected Webdriver $driver;
- protected $testUrl;
- // methods
- public void setUp()
- public void tearDown()
- public void constructor_OpenEditScreen_UserEditOpened()
- public void getTabIds_ScreenDisplayed_EqualExpected()
- public void getAllInputFields_ScreenDisplayed_EqualExpected()
- public void addUser_WithFieldDefaults_UserAdded()
- public void addUser_WithGivenFields_UserAdded()
- public void editUser_ChangeFields_FieldsChanged()
- public void changeUserState_ChangeEnabledUsingToolbar_EnabledChanged()
- // Inherited methods from JoomlaWebdriverTestCase
- public void setUp()
- public void tearDown()
- public AdminPage getPageObject()
- public void doAdminLogin()
- public void doAdminLogout()
- public void doSiteLogin()
- public void doSiteLogout()
- public void getActualFieldsFromElements()
- public string helpScreenshot()
Hierarchy
Extends
Members
protected
- $driver — Webdriver
- $testUrl — string
- $userManagerPage — UserManagerPage
public
- $cfg — SeleniumConfig
Methods
public
- addUser_WithFieldDefaults_UserAdded()
- addUser_WithGivenFields_UserAdded()
- changeUserState_ChangeEnabledUsingToolbar_EnabledChanged()
- constructor_OpenEditScreen_UserEditOpened()
- editUser_ChangeFields_FieldsChanged()
- getAllInputFields_ScreenDisplayed_EqualExpected()
- getTabIds_ScreenDisplayed_EqualExpected()
- setUp()
- tearDown()
Inherited from JoomlaWebdriverTestCase
public
- doAdminLogin()
- doAdminLogout()
- doSiteLogin()
- doSiteLogout()
- getActualFieldsFromElements()
- getPageObject()
- helpScreenshot() — Takes screenshot of current screen, saves it in specified default directory or as specified in parameter
- setUp()
- tearDown()