Skip to content

Commit

Permalink
Remove visible for checkbox and radio (as it can't be visible with th…
Browse files Browse the repository at this point in the history
…e good value before the click)
  • Loading branch information
François GERBES committed Nov 3, 2017
1 parent aa2d1a9 commit 086dc20
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions tests/_support/Step/Acceptance/Lisem.php
Original file line number Diff line number Diff line change
Expand Up @@ -125,14 +125,12 @@ public function selectDrop($id, $value, $tag = 'a')
public function clickCheckbox($name, $value = '1')
{
//$this->clickWithLeftButton('input[type="checkbox"][name$="[' . $name . ']"][value="' . $value . '"] + ins');
$this->waitForElementVisible('input[type="checkbox"][name$="[' . $name . ']"][value="' . $value . '"] + ins');
$this->click('input[type="checkbox"][name$="[' . $name . ']"][value="' . $value . '"] + ins');
}

public function clickRadio($name, $value = '1')
{
//$this->clickWithLeftButton('input[type="radio"][name$="[' . $name . ']"][value="' . $value . '"] + ins');
$this->waitForElementVisible('input[type="radio"][name$="[' . $name . ']"][value="' . $value . '"] + ins');
$this->click('input[type="radio"][name$="[' . $name . ']"][value="' . $value . '"] + ins');
}
}

0 comments on commit 086dc20

Please sign in to comment.