@@ 9-24 (lines=16) @@ | ||
6 | use hipanel\tests\_support\Step\Acceptance\Admin; |
|
7 | use yii\helpers\Url; |
|
8 | ||
9 | class TicketSidebarMenuCest |
|
10 | { |
|
11 | public function ensureMenuIsOk(Admin $I) |
|
12 | { |
|
13 | $I->login(); |
|
14 | $menu = new SidebarMenu($I); |
|
15 | ||
16 | $I->amOnPage(Url::to(['/'])); |
|
17 | $menu->ensureContains('Support', [ |
|
18 | 'Tickets' => '/ticket/ticket/index', |
|
19 | 'Templates' => '/ticket/template/index', |
|
20 | 'Tickets statistics' => '/ticket/statistic/index', |
|
21 | 'FAQ' => '/faq/faq/index', |
|
22 | ]); |
|
23 | } |
|
24 | } |
|
25 |
@@ 9-24 (lines=16) @@ | ||
6 | use hipanel\tests\_support\Step\Acceptance\Seller; |
|
7 | use yii\helpers\Url; |
|
8 | ||
9 | class TicketSidebarMenuCest |
|
10 | { |
|
11 | public function ensureMenuIsOk(Seller $I) |
|
12 | { |
|
13 | $I->login(); |
|
14 | $menu = new SidebarMenu($I); |
|
15 | ||
16 | $I->amOnPage(Url::to(['/'])); |
|
17 | $menu->ensureContains('Support', [ |
|
18 | 'Tickets' => '/ticket/ticket/index', |
|
19 | 'Templates' => '/ticket/template/index', |
|
20 | 'Tickets statistics' => '/ticket/statistic/index', |
|
21 | 'FAQ' => '/faq/faq/index', |
|
22 | ]); |
|
23 | } |
|
24 | } |
|
25 | ||
26 | ||
27 |