lib/Magento/Actions/Checkout/Steps/PaymentMethod.php 1 location
|
@@ 54-72 (lines=19) @@
|
| 51 |
|
return true; |
| 52 |
|
} |
| 53 |
|
|
| 54 |
|
public function nextAction() |
| 55 |
|
{ |
| 56 |
|
$this->webdriver->byXpath($this->theme->getPaymentMethodContinueButtonXpath())->click(); |
| 57 |
|
|
| 58 |
|
try { |
| 59 |
|
$this->webdriver->wait()->until( |
| 60 |
|
WebDriverExpectedCondition::not( |
| 61 |
|
WebDriverExpectedCondition::visibilityOf( |
| 62 |
|
$this->webdriver->byXpath( |
| 63 |
|
$this->theme->getPaymentMethodContinueCompleteXpath() |
| 64 |
|
) |
| 65 |
|
) |
| 66 |
|
) |
| 67 |
|
); |
| 68 |
|
} catch (StaleElementReferenceException $e) { |
| 69 |
|
// it is possible that the page rendered with unexpected timing which may lead to a harmless StaleElementReferenceException |
| 70 |
|
} |
| 71 |
|
return true; |
| 72 |
|
} |
| 73 |
|
} |
lib/Magento/Actions/Checkout/Steps/BillingAddress.php 1 location
|
@@ 152-158 (lines=7) @@
|
| 149 |
|
} |
| 150 |
|
|
| 151 |
|
|
| 152 |
|
public function nextAction() |
| 153 |
|
{ |
| 154 |
|
$this->testCase->byXpath($this->theme->getBillingContinueButtonXpath())->click(); |
| 155 |
|
|
| 156 |
|
$this->webdriver->wait()->until(WebDriverExpectedCondition::not(WebDriverExpectedCondition::visibilityOf($this->webdriver->byXpath($this->theme->getBillingContinueCompletedXpath())))); |
| 157 |
|
return true; |
| 158 |
|
} |
| 159 |
|
} |
lib/Magento/Actions/Checkout/Steps/ShippingAddress.php 1 location
|
@@ 128-137 (lines=10) @@
|
| 125 |
|
return true; |
| 126 |
|
} |
| 127 |
|
|
| 128 |
|
public function nextAction() |
| 129 |
|
{ |
| 130 |
|
if ($this->bypassNextStep) { |
| 131 |
|
return true; |
| 132 |
|
} |
| 133 |
|
$this->testCase->byXpath($this->theme->getShippingContinueButtonXpath())->click(); |
| 134 |
|
|
| 135 |
|
$this->webdriver->wait()->until(WebDriverExpectedCondition::not(WebDriverExpectedCondition::visibilityOf($this->webdriver->byXpath($this->theme->getShippingContinueCompletedXpath())))); |
| 136 |
|
return true; |
| 137 |
|
} |
| 138 |
|
} |