Skip to content

Commit

Permalink
Updated place order to wait up to two minutes for some *very* bad per…
Browse files Browse the repository at this point in the history
…forming checkout pages.
  • Loading branch information
kschroeder committed Sep 28, 2017
1 parent 5833cb7 commit 2890f1f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Magento/Actions/Checkout/Steps/PlaceOrder.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,12 @@ public function execute()
public function nextAction()
{
$this->webdriver->byXpath($this->theme->getPlaceOrderButtonXpath())->click();
$this->webdriver->wait()->until(
$this->webdriver->wait(120)->until(
ExpectedCondition::elementExists(
$this->theme->getOrderReceivedCompleteXpath(),
AbstractTestCase::BY_XPATH
)
);
return true;
}
}
}

0 comments on commit 2890f1f

Please sign in to comment.