Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions src/JoomlaBrowser.php
Original file line number Diff line number Diff line change
Expand Up @@ -425,4 +425,18 @@ public function checkExistenceOf($name)
$I->seeElement(['xpath' => "//form[@id='adminForm']/div/table/tbody"]);
$I->see($name,['xpath' => "//form[@id='adminForm']/div/table/tbody"]);
}

/**
* Function to select all the item in the Search results in Administrator List
*
* Note: We recommend use of checkAllResult function only after searchForItem to be sure you are selecting only the desired result set
*
* @return void
*/
public function checkAllResult()
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

wouldn't it be 'checkAllResultS()' with a final S?

{
$I = $this;
$this->debug("Selecting Checkall button");
$I->click(['xpath' => "//thead//input[@name='checkall-toggle' or @name='toggle']"]);
}
}