|
@@ 113-116 (lines=4) @@
|
| 110 |
|
|
| 111 |
|
// Tax and shipping may not be displayed |
| 112 |
|
|
| 113 |
|
if ($this->webDriver->elementDisplayed($this->theme->getCartSummaryCheckoutTax(), WebDriver::BY_XPATH)) { |
| 114 |
|
$this->values[self::VALUE_TAX] |
| 115 |
|
= trim($this->webDriver->byXpath($this->theme->getCartSummaryCheckoutTax())->getText()); |
| 116 |
|
} |
| 117 |
|
if ($this->webDriver->elementDisplayed($this->theme->getCartSummaryCheckoutShippingTotal(), WebDriver::BY_XPATH)) { |
| 118 |
|
$this->values[self::VALUE_SnH] |
| 119 |
|
= trim($this->webDriver->byXpath($this->theme->getCartSummaryCheckoutShippingTotal())->getText()); |
|
@@ 117-120 (lines=4) @@
|
| 114 |
|
$this->values[self::VALUE_TAX] |
| 115 |
|
= trim($this->webDriver->byXpath($this->theme->getCartSummaryCheckoutTax())->getText()); |
| 116 |
|
} |
| 117 |
|
if ($this->webDriver->elementDisplayed($this->theme->getCartSummaryCheckoutShippingTotal(), WebDriver::BY_XPATH)) { |
| 118 |
|
$this->values[self::VALUE_SnH] |
| 119 |
|
= trim($this->webDriver->byXpath($this->theme->getCartSummaryCheckoutShippingTotal())->getText()); |
| 120 |
|
} |
| 121 |
|
|
| 122 |
|
|
| 123 |
|
|