lib/Magento/Actions/Checkout/PaymentMethods/AuthorizeNet.php 1 location
|
@@ 40-43 (lines=4) @@
|
37 |
|
$this->testCase->assertElementExists($this->getId()); |
38 |
|
} |
39 |
|
|
40 |
|
if (!$this->webDriver->elementDisplayed('authorizenet_cc_number')) { |
41 |
|
$element = $this->webDriver->byId($this->getId()); |
42 |
|
$this->webDriver->getMouse()->click($element->getCoordinates()); |
43 |
|
} |
44 |
|
$this->webDriver->byId('authorizenet_cc_number') |
45 |
|
->clear() |
46 |
|
->sendKeys($this->paymentInformation->getCreditCardNumber()); |
lib/Magento/Actions/Checkout/PaymentMethods/CashOnDelivery.php 1 location
|
@@ 41-44 (lines=4) @@
|
38 |
|
$this->testCase->assertElementExists($this->getId()); |
39 |
|
} |
40 |
|
|
41 |
|
if ($this->webDriver->elementDisplayed($this->getId())) { |
42 |
|
$element = $this->webDriver->byId($this->getId()); |
43 |
|
$this->webDriver->getMouse()->click($element->getCoordinates()); |
44 |
|
} |
45 |
|
} |
46 |
|
} |
lib/Magento/Actions/Checkout/PaymentMethods/SavedCC.php 1 location
|
@@ 47-50 (lines=4) @@
|
44 |
|
$this->testCase->assertElementExists($this->getId()); |
45 |
|
} |
46 |
|
|
47 |
|
if (!$this->webDriver->elementDisplayed('ccsave_cc_owner')) { |
48 |
|
$element = $this->webDriver->byId($this->getId()); |
49 |
|
$this->webDriver->getMouse()->click($element->getCoordinates()); |
50 |
|
} |
51 |
|
$this->assertion->assert(); |
52 |
|
|
53 |
|
$this->webDriver->byId('ccsave_cc_owner')->clear(); |
lib/Magento/Actions/Checkout/PaymentMethods/SagePay.php 1 location
|
@@ 47-49 (lines=3) @@
|
44 |
|
$this->testCase->assertElementExists($this->getId()); |
45 |
|
} |
46 |
|
|
47 |
|
if (!$this->webDriver->elementDisplayed('sagepaydirectpro_cc_owner')) { |
48 |
|
$this->webDriver->getMouse()->click($this->webDriver->byId($this->getId())->getCoordinates()); |
49 |
|
} |
50 |
|
$this->assertion->assert(); |
51 |
|
|
52 |
|
$select = new WebDriverSelect($this->webDriver->byId('sagepaydirectpro_cc_type')); |