Skip to content

Commit

Permalink
click methode in behat_block_groups
Browse files Browse the repository at this point in the history
  • Loading branch information
NinaHerrmann committed Aug 2, 2016
1 parent 33c2261 commit a46f2e0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/behat/behat_block_groups.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ class behat_block_groups extends behat_base {
public function i_click_on_the_block_groups_label($labelname) {
$label = $this->find('xpath' , "//div[@class='wrapperblockgroupsandgroupingcheckbox']['checkboxgroup']//
following-sibling::label[contains(.,'" .$labelname. "')]");
$label->press();
$label->click();
}

/**
Expand All @@ -60,6 +60,6 @@ public function i_click_on_the_block_groups_label($labelname) {
public function i_click_on_the_eye_icon_of_group_name($groupname) {
$eyeicon = $this->find('xpath' , "//div[@class='wrapperblockgroupsandgroupingcheckbox'][2]/ul/
li[contains(.,'". $groupname . "')]//child::div[@class='rightalign']");
$eyeicon->press();
$eyeicon->click();
}
}

0 comments on commit a46f2e0

Please sign in to comment.