Exemplo n.º 1
0
 /**
  * @Then /^I should be redirected (?:|back )to the thank you page$/
  */
 public function iShouldBeRedirectedBackToTheThankYouPage()
 {
     $this->thankYouPage->waitForResponse(5);
     Assert::true($this->thankYouPage->isOpen(), 'I should be on thank you page, but I am not.');
 }
Exemplo n.º 2
0
 /**
  * @Then I should be redirected back to the thank you page
  */
 public function iShouldBeRedirectedBackToTheThankYouPage()
 {
     $this->checkoutThankYouPage->waitForResponse(5);
     expect($this->checkoutThankYouPage->isOpen())->toBe(true);
 }