waitForValidationErrors() 공개 메소드

public waitForValidationErrors ( integer $timeout )
$timeout integer
예제 #1
0
 /**
  * @Then /^I should be notified that (this product) does not have sufficient stock$/
  */
 public function iShouldBeNotifiedThatThisProductDoesNotHaveSufficientStock(ProductInterface $product)
 {
     $this->showPage->waitForValidationErrors(3);
     Assert::true($this->showPage->hasProductOutOfStockValidationMessage($product), sprintf('I should see validation message for %s product', $product->getName()));
 }