\TemplateManager0001Test
This class tests the Template Manager: Add / Edit Screen.
Synopsis
class TemplateManager0001Test
extends JoomlaWebdriverTestCase
{
- // members
- protected templateManagerPage $templateManagerPage;
- // Inherited members from JoomlaWebdriverTestCase
- public SeleniumConfig $cfg;
- protected Webdriver $driver;
- protected $testUrl;
- // methods
- public void setUp()
- public void tearDown()
- public void constructor_OpenEditScreen_TemplateEditOpened()
- public void getTabIds_ScreenDisplayed_EqualExpected()
- public void copyStyle_MakeDuplicate()
- public void editStyle_EditDuplicate()
- // 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
- $templateManagerPage
—
templateManagerPage
The page class being tested. - $testUrl — string
public
- $cfg — SeleniumConfig
Methods
public
- constructor_OpenEditScreen_TemplateEditOpened()
- copyStyle_MakeDuplicate()
- editStyle_EditDuplicate()
- getTabIds_ScreenDisplayed_EqualExpected() — This function will work only for the current example, it may not work for a different test_template
- setUp() — Login to back end and navigate to menu .
- 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()