| Conditions | 1 |
| Paths | 1 |
| Total Lines | 21 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 24 | public function testBuyRegistered() |
||
| 25 | { |
||
| 26 | $this->prepareProductAndCheckout(false); |
||
| 27 | $this->login(); |
||
| 28 | $this->fillShippingMethod(); |
||
| 29 | $this->fillPaymentMethod(); |
||
| 30 | |||
| 31 | // get cart total price |
||
| 32 | // $button = WebDriverBy::xpath("//td[@class='main']/strong[1]"); |
||
| 33 | // $condition = WebDriverExpectedCondition::visibilityOfElementLocated($button); |
||
| 34 | // $this->waitUntil($condition); |
||
| 35 | // $cartPrice = $this->findByXpath("//td[@class='main']/strong[1]")->getText(); |
||
| 36 | |||
| 37 | |||
| 38 | // -------------------- |
||
| 39 | $this->goToPagantis(); |
||
| 40 | $this->verifyPagantis(); |
||
| 41 | $this->commitPurchase(); |
||
| 42 | $this->checkPurchaseReturn(self::CORRECT_PURCHASE_MESSAGE); |
||
| 43 | // $this->makeValidation(); |
||
| 44 | $this->quit(); |
||
| 45 | } |
||
| 47 |