\WeblinkManager0001Test
This class tests the Weblink: Add / Edit Screen.
Synopsis
class WeblinkManager0001Test
extends JoomlaWebdriverTestCase
{
- // members
- protected weblinkManagerPage $weblinkManagerPage;
- // 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_WeblinkEditOpened()
- public void getTabIds_ScreenDisplayed_EqualExpected()
- public void addWeblink_WithFieldDefaults_WeblinkAdded()
- public void addWeblink_WithGivenFields_WeblinkAdded()
- public void editWeblink_ChangeFields_FieldsChanged()
- public void changeWeblinkState_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
- $weblinkManagerPage
—
weblinkManagerPage
The page class being tested.
public
- $cfg — SeleniumConfig
Methods
public
- addWeblink_WithFieldDefaults_WeblinkAdded()
- addWeblink_WithGivenFields_WeblinkAdded()
- changeWeblinkState_ChangeEnabledUsingToolbar_EnabledChanged()
- constructor_OpenEditScreen_WeblinkEditOpened()
- editWeblink_ChangeFields_FieldsChanged()
- getAllInputFields_ScreenDisplayed_EqualExpected()
- getTabIds_ScreenDisplayed_EqualExpected()
- setUp() — Login to back end and navigate to menu Weblinks.
- 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()