| @@ 52-59 (lines=8) @@ | ||
| 49 | return true; |
|
| 50 | } |
|
| 51 | ||
| 52 | public function nextAction() |
|
| 53 | { |
|
| 54 | $button = $this->webdriver->byXpath($this->theme->getCustomerButtonXpath()); |
|
| 55 | $button->click(); |
|
| 56 | ||
| 57 | $this->webdriver->wait()->until(ExpectedCondition::elementExists($this->theme->getBillingFirstNameXpath(), AbstractTestCase::BY_XPATH)); |
|
| 58 | return true; |
|
| 59 | } |
|
| 60 | } |
|
| @@ 37-47 (lines=11) @@ | ||
| 34 | return true; |
|
| 35 | } |
|
| 36 | ||
| 37 | public function nextAction() |
|
| 38 | { |
|
| 39 | $this->webdriver->byXpath($this->theme->getPlaceOrderButtonXpath())->click(); |
|
| 40 | $this->webdriver->wait(120)->until( |
|
| 41 | ExpectedCondition::elementExists( |
|
| 42 | $this->theme->getOrderReceivedCompleteXpath(), |
|
| 43 | AbstractTestCase::BY_XPATH |
|
| 44 | ) |
|
| 45 | ); |
|
| 46 | return true; |
|
| 47 | } |
|
| 48 | } |
|
| 49 | ||