\TagManager0001Test
This class tests the Tags: Add / Edit Screen.
Synopsis
class TagManager0001Test
extends JoomlaWebdriverTestCase
{
- // members
- protected TagManagerPage $tagManagerPage;
- // Inherited members from JoomlaWebdriverTestCase
- public SeleniumConfig $cfg;
- protected Webdriver $driver;
- protected $testUrl;
- // methods
- public void setUp()
- public void tearDown()
- public void getAllInputFields_ScreenDisplayed_EqualExpected()
- public void constructor_OpenEditScreen_TagEditOpened()
- public void getTabIds_ScreenDisplayed_EqualExpected()
- public void addTag_WithFieldDefaults_TagAdded()
- public void addTag_WithGivenFields_TagAdded()
- public void editTag_ChangeFields_FieldsChanged()
- public void changeTagState_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
- $tagManagerPage
—
TagManagerPage
The page class being tested. - $testUrl — string
public
- $cfg — SeleniumConfig
Methods
public
- addTag_WithFieldDefaults_TagAdded()
- addTag_WithGivenFields_TagAdded()
- changeTagState_ChangeEnabledUsingToolbar_EnabledChanged()
- constructor_OpenEditScreen_TagEditOpened()
- editTag_ChangeFields_FieldsChanged()
- getAllInputFields_ScreenDisplayed_EqualExpected()
- getTabIds_ScreenDisplayed_EqualExpected()
- setUp() — Login to back end and navigate to menu Tags.
- tearDown() — Logout and close test.
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()