From 6c638d6f45f50cfcf566d6e156ab44aadc9b1c61 Mon Sep 17 00:00:00 2001 From: Hillel Coren Date: Fri, 13 Oct 2017 08:29:08 +0300 Subject: [PATCH] Working on tests --- .travis.yml | 26 +++++++++++++------------- tests/_support/AcceptanceTester.php | 1 - 2 files changed, 13 insertions(+), 14 deletions(-) diff --git a/.travis.yml b/.travis.yml index 3763887451..b8f19fb9e6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -75,19 +75,19 @@ before_script: script: - php ./vendor/codeception/codeception/codecept run --debug acceptance APICest.php -# - php ./vendor/codeception/codeception/codecept run --debug acceptance TaxRatesCest.php -# - php ./vendor/codeception/codeception/codecept run --debug acceptance CheckBalanceCest.php -# - php ./vendor/codeception/codeception/codecept run --debug acceptance ClientCest.php -# - php ./vendor/codeception/codeception/codecept run --debug acceptance ExpenseCest.php -# - php ./vendor/codeception/codeception/codecept run --debug acceptance CreditCest.php -# - php ./vendor/codeception/codeception/codecept run --debug acceptance InvoiceCest.php -# - php ./vendor/codeception/codeception/codecept run --debug acceptance QuoteCest.php -# - php ./vendor/codeception/codeception/codecept run --debug acceptance InvoiceDesignCest.php -# - php ./vendor/codeception/codeception/codecept run --debug acceptance OnlinePaymentCest.php -# - php ./vendor/codeception/codeception/codecept run --debug acceptance PaymentCest.php -# - php ./vendor/codeception/codeception/codecept run --debug acceptance TaskCest.php -# - php ./vendor/codeception/codeception/codecept run --debug acceptance GatewayFeesCest.php -# - php ./vendor/codeception/codeception/codecept run --debug acceptance AllPagesCept.php + - php ./vendor/codeception/codeception/codecept run --debug acceptance TaxRatesCest.php + - php ./vendor/codeception/codeception/codecept run --debug acceptance CheckBalanceCest.php + - php ./vendor/codeception/codeception/codecept run --debug acceptance ClientCest.php + - php ./vendor/codeception/codeception/codecept run --debug acceptance ExpenseCest.php + - php ./vendor/codeception/codeception/codecept run --debug acceptance CreditCest.php + - php ./vendor/codeception/codeception/codecept run --debug acceptance InvoiceCest.php + - php ./vendor/codeception/codeception/codecept run --debug acceptance QuoteCest.php + - php ./vendor/codeception/codeception/codecept run --debug acceptance InvoiceDesignCest.php + - php ./vendor/codeception/codeception/codecept run --debug acceptance OnlinePaymentCest.php + - php ./vendor/codeception/codeception/codecept run --debug acceptance PaymentCest.php + - php ./vendor/codeception/codeception/codecept run --debug acceptance TaskCest.php + - php ./vendor/codeception/codeception/codecept run --debug acceptance GatewayFeesCest.php + - php ./vendor/codeception/codeception/codecept run --debug acceptance AllPagesCept.php #- sed -i 's/NINJA_DEV=true/NINJA_PROD=true/g' .env #- php ./vendor/codeception/codeception/codecept run acceptance GoProCest.php diff --git a/tests/_support/AcceptanceTester.php b/tests/_support/AcceptanceTester.php index 7e675fc983..635e3801e4 100644 --- a/tests/_support/AcceptanceTester.php +++ b/tests/_support/AcceptanceTester.php @@ -126,7 +126,6 @@ class AcceptanceTester extends \Codeception\Actor $clientSession->does(function(AcceptanceTester $I) use ($invitationKey) { $I->amOnPage('/view/' . $invitationKey); $I->click('Pay Now'); - $I->click('Credit Card'); $I->fillField('#card_number', '4242424242424242'); $I->fillField('#cvv', '100'); $I->selectOption('#expiration_month', 12);