tests/acceptance/client/BillCest.php 1 location
|
@@ 31-39 (lines=9) @@
|
28 |
|
$this->index = new IndexPage($I); |
29 |
|
} |
30 |
|
|
31 |
|
public function ensureIndexPageWorks(Client $I) |
32 |
|
{ |
33 |
|
$I->login(); |
34 |
|
$I->needPage(Url::to('@bill/index')); |
35 |
|
$I->see('Bills', 'h1'); |
36 |
|
$I->seeLink('Recharge account', Url::to('@pay/deposit')); |
37 |
|
$this->ensureICanSeeAdvancedSearchBox($I); |
38 |
|
$this->ensureICanSeeBulkBillSearchBox(); |
39 |
|
} |
40 |
|
|
41 |
|
private function ensureICanSeeAdvancedSearchBox(Client $I) |
42 |
|
{ |
tests/acceptance/seller/HeldPaymentsCest.php 1 location
|
@@ 31-38 (lines=8) @@
|
28 |
|
$this->index = new IndexPage($I); |
29 |
|
} |
30 |
|
|
31 |
|
public function ensureIndexPageWorks(Seller $I) |
32 |
|
{ |
33 |
|
$I->login(); |
34 |
|
$I->needPage(Url::to('@finance/held-payments')); |
35 |
|
$I->see('Pending confirmation payments', 'h1'); |
36 |
|
$this->ensureICanSeeAdvancedSearchBox($I); |
37 |
|
$this->ensureICanSeeBulkBillSearchBox(); |
38 |
|
} |
39 |
|
|
40 |
|
private function ensureICanSeeAdvancedSearchBox(Seller $I) |
41 |
|
{ |
tests/acceptance/seller/PlanCest.php 1 location
|
@@ 31-39 (lines=9) @@
|
28 |
|
$this->index = new IndexPage($I); |
29 |
|
} |
30 |
|
|
31 |
|
public function ensureIndexPageWorks(Seller $I) |
32 |
|
{ |
33 |
|
$I->login(); |
34 |
|
$I->needPage(Url::to('@plan/index')); |
35 |
|
$I->see('Tariff plans', 'h1'); |
36 |
|
$I->see('Create', 'a'); |
37 |
|
$this->ensureICanSeeAdvancedSearchBox($I); |
38 |
|
$this->ensureICanSeeBulkBillSearchBox(); |
39 |
|
} |
40 |
|
|
41 |
|
private function ensureICanSeeAdvancedSearchBox(Seller $I) |
42 |
|
{ |
tests/acceptance/seller/SalesCest.php 1 location
|
@@ 32-39 (lines=8) @@
|
29 |
|
$this->index = new IndexPage($I); |
30 |
|
} |
31 |
|
|
32 |
|
public function ensureIndexPageWorks(Seller $I) |
33 |
|
{ |
34 |
|
$I->login(); |
35 |
|
$I->needPage(Url::to('@sale')); |
36 |
|
$I->see('Sales', 'h1'); |
37 |
|
$this->ensureICanSeeAdvancedSearchBox($I); |
38 |
|
$this->ensureICanSeeBulkBillSearchBox(); |
39 |
|
} |
40 |
|
|
41 |
|
private function ensureICanSeeAdvancedSearchBox(Seller $I) |
42 |
|
{ |