\RedirectManager0001Test
This class tests the Redirect: Add / Edit Screen.
Synopsis
class RedirectManager0001Test
extends JoomlaWebdriverTestCase
{
- // members
- protected RedirectManagerPage $redirectManagerPage;
- // 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_RedirectEditOpened()
- public void getTabIds_ScreenDisplayed_EqualExpected()
- public void addRedirect_WithFieldDefaults_RedirectAdded()
- public void addRedirect_WithGivenFields_RedirectAdded()
- public void editRedirect_ChangeFields_FieldsChanged()
- public void changeRedirectState_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
- $redirectManagerPage
—
RedirectManagerPage
The page class being tested. - $testUrl — string
public
- $cfg — SeleniumConfig
Methods
public
- addRedirect_WithFieldDefaults_RedirectAdded()
- addRedirect_WithGivenFields_RedirectAdded()
- changeRedirectState_ChangeEnabledUsingToolbar_EnabledChanged()
- constructor_OpenEditScreen_RedirectEditOpened()
- editRedirect_ChangeFields_FieldsChanged()
- getAllInputFields_ScreenDisplayed_EqualExpected()
- getTabIds_ScreenDisplayed_EqualExpected()
- setUp() — Login to back end and navigate to menu Redirect.
- 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()