Skip to content

Commit 2890f1f

Browse files
committed
Updated place order to wait up to two minutes for some *very* bad performing checkout pages.
1 parent 5833cb7 commit 2890f1f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/Magento/Actions/Checkout/Steps/PlaceOrder.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,12 @@ public function execute()
3737
public function nextAction()
3838
{
3939
$this->webdriver->byXpath($this->theme->getPlaceOrderButtonXpath())->click();
40-
$this->webdriver->wait()->until(
40+
$this->webdriver->wait(120)->until(
4141
ExpectedCondition::elementExists(
4242
$this->theme->getOrderReceivedCompleteXpath(),
4343
AbstractTestCase::BY_XPATH
4444
)
4545
);
4646
return true;
4747
}
48-
}
48+
}

0 commit comments

Comments
 (0)