public function iWaitForTextToDisappear($text)
   {
       $this->spin(function(FeatureContext $context) use ($text) {
           try {
               $context->assertPageContainsText($text);
           }
           catch(\Behat\Mink\Exception\ResponseTextException $e) {
               return true;
           }
           return false;
       });
   }
public function iWaitForTextToDisappear($text)
   {
       $this->spin(function(FeatureContext $context) use ($text) {
           try {
               $context->assertPageContainsText($text);
           }
           catch(\Behat\Mink\Exception\ResponseTextException $e) {
               return true;
           }
           return false;
       });
   }
public function iWaitForTextToDisappear ( $ text ) { $ this -> spin ( function ( FeatureContext $ context ) use ( $ text ) { try { $ context -> assertPageContainsText ( $ text ) ; } catch ( \ Behat \ Mink \ Exception \ ResponseTextException $ e ) { return true ; } return false ; } ) ; }
Espera que un texto desaparesca de la pagina
@When I wait for :text to disappear
@Then I should see :text disappear
@param $text
@throws \Exception
Espera que un texto desaparesca de la pagina