From 46ad32096290aaa73ae14535e734434e1076d89a Mon Sep 17 00:00:00 2001 From: Hillel Coren Date: Tue, 28 Jun 2016 21:21:01 +0300 Subject: [PATCH] Fix for go pro test --- tests/acceptance/GoProCest.php | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/tests/acceptance/GoProCest.php b/tests/acceptance/GoProCest.php index 2f8b9a2f0b32..1bb82c63dd3e 100644 --- a/tests/acceptance/GoProCest.php +++ b/tests/acceptance/GoProCest.php @@ -32,10 +32,13 @@ class GoProCest $I->wait(1); $I->amOnPage('/dashboard'); - $I->click('Go Pro'); + $I->click('Upgrade'); $I->wait(1); - $I->click('Upgrade Now!'); + $I->click('#changePlanButton'); + $I->wait(1); + + $I->click('Pay Now'); $I->wait(1); $I->fillField(['name' => 'address1'], $this->faker->streetAddress); @@ -56,4 +59,4 @@ class GoProCest $I->amOnPage('/dashboard'); $I->dontSee('Go Pro'); } -} \ No newline at end of file +}