You are here

public function SocialMinkContext::assertCheckBox in Open Social 8.2

@override MinkContext::assertCheckBox()

File

tests/behat/features/bootstrap/SocialMinkContext.php, line 46

Class

SocialMinkContext
Defines application features from the specific context.

Code

public function assertCheckBox($checkbox) {
  $this
    ->getSession()
    ->executeScript("\n      var inputs = document.getElementsByTagName('input');\n      for (var i = 0; i < inputs.length; i++) {\n        inputs[i].style.opacity = 1;\n        inputs[i].style.left = 0;\n        inputs[i].style.position = 'relative';\n      }\n    ");
  parent::assertCheckBox($checkbox);
}