lib/Magento/Actions/Checkout/Steps/BillingAddress.php 1 location
|
@@ 131-137 (lines=7) @@
|
| 128 |
|
} |
| 129 |
|
|
| 130 |
|
|
| 131 |
|
public function nextAction() |
| 132 |
|
{ |
| 133 |
|
$this->testCase->byXpath($this->theme->getBillingContinueButtonXpath())->click(); |
| 134 |
|
|
| 135 |
|
$this->webdriver->wait()->until(WebDriverExpectedCondition::not(WebDriverExpectedCondition::visibilityOf($this->webdriver->byXpath($this->theme->getBillingContinueCompletedXpath())))); |
| 136 |
|
return true; |
| 137 |
|
} |
| 138 |
|
} |
lib/Magento/Actions/Checkout/Steps/ShippingAddress.php 1 location
|
@@ 106-115 (lines=10) @@
|
| 103 |
|
return true; |
| 104 |
|
} |
| 105 |
|
|
| 106 |
|
public function nextAction() |
| 107 |
|
{ |
| 108 |
|
if ($this->bypassNextStep) { |
| 109 |
|
return true; |
| 110 |
|
} |
| 111 |
|
$this->testCase->byXpath($this->theme->getShippingContinueButtonXpath())->click(); |
| 112 |
|
|
| 113 |
|
$this->webdriver->wait()->until(WebDriverExpectedCondition::not(WebDriverExpectedCondition::visibilityOf($this->webdriver->byXpath($this->theme->getShippingContinueCompletedXpath())))); |
| 114 |
|
return true; |
| 115 |
|
} |
| 116 |
|
} |
lib/Magento/Actions/Checkout/Steps/ShippingMethod.php 1 location
|
@@ 49-63 (lines=15) @@
|
| 46 |
|
return true; // continue to next step |
| 47 |
|
} |
| 48 |
|
|
| 49 |
|
public function nextAction() |
| 50 |
|
{ |
| 51 |
|
|
| 52 |
|
$this->webdriver->byXpath($this->theme->getShippingMethodContinueButtonXpath())->click(); |
| 53 |
|
$this->webdriver->wait()->until( |
| 54 |
|
WebDriverExpectedCondition::not( |
| 55 |
|
WebDriverExpectedCondition::visibilityOf( |
| 56 |
|
$this->webdriver->byXpath( |
| 57 |
|
$this->theme->getShippingMethodContinueCompletedXpath() |
| 58 |
|
) |
| 59 |
|
) |
| 60 |
|
) |
| 61 |
|
); |
| 62 |
|
return true; |
| 63 |
|
} |
| 64 |
|
} |
lib/Magento/Actions/Checkout/Steps/PaymentMethod.php 1 location
|
@@ 55-73 (lines=19) @@
|
| 52 |
|
return true; |
| 53 |
|
} |
| 54 |
|
|
| 55 |
|
public function nextAction() |
| 56 |
|
{ |
| 57 |
|
$this->webdriver->byXpath($this->theme->getPaymentMethodContinueButtonXpath())->click(); |
| 58 |
|
|
| 59 |
|
try { |
| 60 |
|
$this->webdriver->wait()->until( |
| 61 |
|
WebDriverExpectedCondition::not( |
| 62 |
|
WebDriverExpectedCondition::visibilityOf( |
| 63 |
|
$this->webdriver->byXpath( |
| 64 |
|
$this->theme->getPaymentMethodContinueCompleteXpath() |
| 65 |
|
) |
| 66 |
|
) |
| 67 |
|
) |
| 68 |
|
); |
| 69 |
|
} catch (StaleElementReferenceException $e) { |
| 70 |
|
// it is possible that the page rendered with unexpected timing which may lead to a harmless StaleElementReferenceException |
| 71 |
|
} |
| 72 |
|
return true; |
| 73 |
|
} |
| 74 |
|
} |