\LevelManager0001Test
This class tests the Manager: Add / Edit Screen
- Author: Mark
Synopsis
class LevelManager0001Test
extends JoomlaWebdriverTestCase
{
- // members
- protected LevelManagerPage $levelManagerPage;
- // Inherited members from JoomlaWebdriverTestCase
- public SeleniumConfig $cfg;
- protected Webdriver $driver;
- protected $testUrl;
- // methods
- public void setUp()
- public void tearDown()
- public void constructor_OpenEditScreen_LevelEditOpened()
- public void getAllInputFields_ScreenDisplayed_EqualExpected()
- public void add_WithFieldDefaults_Added()
- public void addLevel_WithGivenFields_LevelAdded()
- public void editLevel_ChangeFields_FieldsChanged()
- public void setFilter_TestOrdering_ShouldOrderLevels()
- // 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
- $levelManagerPage — LevelManagerPage
- $testUrl — string
public
- $cfg — SeleniumConfig
Methods
public
- addLevel_WithGivenFields_LevelAdded()
- add_WithFieldDefaults_Added()
- constructor_OpenEditScreen_LevelEditOpened()
- editLevel_ChangeFields_FieldsChanged()
- getAllInputFields_ScreenDisplayed_EqualExpected()
- setFilter_TestOrdering_ShouldOrderLevels()
- 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()