\SiteContentFeaturedPage
Home Page Class
Synopsis
class SiteContentFeaturedPage
extends SitePage
{
- // members
- protected $waitForXpath;
- protected $url;
- // Inherited members from SitePage
- protected Webdriver $driver;
- protected SeleniumConfig $cfg;
- protected $waitForXpath;
- protected JoomlaWebdriverTestCase $test;
- public $toolbar;
- protected $url;
- public $visibleMenuText;
- // methods
- public Array getArticleTitles()
- public Array getArticleText()
- public null clickEditArticle()
- public boolean isEditPresent()
- public boolean isUnpublishedPresent()
- // Inherited methods from SitePage
- public void __construct()
- public void __toString()
- public bool checkForNotices()
Hierarchy
Extends
Members
protected
- $cfg — SeleniumConfig
- $driver — Webdriver
- $test — JoomlaWebdriverTestCase
- $url
—
string
URL used to uniquely identify this page - $url — string
- $waitForXpath
—
string
XPath string used to uniquely identify this page - $waitForXpath — string
public
- $toolbar — array
- $visibleMenuText — array
Methods
public
- clickEditArticle() — Function which opens the article in editing mode at the front end
- getArticleText() — Function which returns Text array of Article content on the Home page of Front End
- getArticleTitles() — Function which returns Title array of Articles on the Home page of Front End
- isEditPresent() — Function to check if the edit icon is present on the page or not
- isUnpublishedPresent() — Function to check if the unpublished tag is present for a article or not
Inherited from SitePage
public
- __toString()
- checkForNotices() — Checks for notices on a page.