From 02b08402156c784977ad86692ddf0695fcb7c30d Mon Sep 17 00:00:00 2001 From: Hillel Coren Date: Fri, 13 May 2016 10:38:42 +0300 Subject: [PATCH] Fix for online payment test --- tests/acceptance/OnlinePaymentCest.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/acceptance/OnlinePaymentCest.php b/tests/acceptance/OnlinePaymentCest.php index 7e85f2cc6b5a..4621fecb7bb8 100644 --- a/tests/acceptance/OnlinePaymentCest.php +++ b/tests/acceptance/OnlinePaymentCest.php @@ -77,7 +77,7 @@ class OnlinePaymentCest $I->fillField(['name' => 'postal_code'], $this->faker->postcode); $I->selectDropdown($I, 'United States', '.country-select .dropdown-toggle'); */ - + $I->fillField('#card_number', '4242424242424242'); $I->fillField('#cvv', '1234'); $I->selectOption('#expiration_month', 12); @@ -94,10 +94,10 @@ class OnlinePaymentCest $I->selectDropdown($I, $clientEmail, '.client_select .dropdown-toggle'); $I->fillField('table.invoice-table tbody tr:nth-child(1) #product_key', $productKey); $I->click('table.invoice-table tbody tr:nth-child(1) .tt-selectable'); - $I->checkOption('#auto_bill'); + $I->selectOption('#auto_bill', 3); $I->executeJS('preparePdfData(\'email\')'); $I->wait(3); $I->see("$0.00"); } -} \ No newline at end of file +}