From 880f903c8f5bb08e6b2dd18689cd23fee37d99c8 Mon Sep 17 00:00:00 2001 From: Hillel Coren Date: Mon, 5 Dec 2016 20:22:11 +0200 Subject: [PATCH] Fix for tests --- tests/acceptance/CheckBalanceCest.php | 2 +- tests/acceptance/PaymentCest.php | 2 +- tests/acceptance/QuoteCest.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/acceptance/CheckBalanceCest.php b/tests/acceptance/CheckBalanceCest.php index 99e304c50426..fb7f0eba288d 100644 --- a/tests/acceptance/CheckBalanceCest.php +++ b/tests/acceptance/CheckBalanceCest.php @@ -45,7 +45,7 @@ class CheckBalanceCest $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->click('Save'); + $I->click('Mark Sent'); $I->wait(2); $I->see($clientEmail); $invoiceId = $I->grabFromCurrentUrl('~invoices/(\d+)~'); diff --git a/tests/acceptance/PaymentCest.php b/tests/acceptance/PaymentCest.php index 718108dccaee..be87de835412 100644 --- a/tests/acceptance/PaymentCest.php +++ b/tests/acceptance/PaymentCest.php @@ -42,7 +42,7 @@ class PaymentCest $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->click('Save'); + $I->click('Mark Sent'); $I->wait(1); $I->see($clientEmail); diff --git a/tests/acceptance/QuoteCest.php b/tests/acceptance/QuoteCest.php index b749390af171..59d7c283b100 100644 --- a/tests/acceptance/QuoteCest.php +++ b/tests/acceptance/QuoteCest.php @@ -43,7 +43,7 @@ class QuoteCest $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->click('Save'); + $I->click('Mark Sent'); $I->see($clientEmail); // enter payment