| @@ 16-32 (lines=17) @@ | ||
| 13 | use hipanel\tests\_support\Page\SidebarMenu; |
|
| 14 | use hipanel\tests\_support\Step\Acceptance\Admin; |
|
| 15 | ||
| 16 | class HostingSidebarMenuCest |
|
| 17 | { |
|
| 18 | public function ensureMenuIsOk(Admin $I) |
|
| 19 | { |
|
| 20 | (new SidebarMenu($I))->ensureContains('Hosting',[ |
|
| 21 | 'Accounts' => '@account/index', |
|
| 22 | 'Databases' => '@db/index', |
|
| 23 | 'Domains' => '@hdomain/index', |
|
| 24 | 'Mailboxes' => '@mail/index', |
|
| 25 | 'Backups' => '@backuping/index', |
|
| 26 | 'Crons' => '@crontab/index', |
|
| 27 | 'IP addresses' => '@ip/index', |
|
| 28 | 'Services' => '@service/index', |
|
| 29 | 'Requests' => '@request/index', |
|
| 30 | ]); |
|
| 31 | } |
|
| 32 | } |
|
| 33 | ||
| @@ 16-32 (lines=17) @@ | ||
| 13 | use hipanel\tests\_support\Page\SidebarMenu; |
|
| 14 | use hipanel\tests\_support\Step\Acceptance\Client; |
|
| 15 | ||
| 16 | class HostingSidebarMenuCest |
|
| 17 | { |
|
| 18 | public function ensureMenuIsOk(Client $I) |
|
| 19 | { |
|
| 20 | (new SidebarMenu($I))->ensureContains('Hosting',[ |
|
| 21 | 'Accounts' => '@account/index', |
|
| 22 | 'Databases' => '@db/index', |
|
| 23 | 'Domains' => '@hdomain/index', |
|
| 24 | 'Mailboxes' => '@mail/index', |
|
| 25 | 'Backups' => '@backuping/index', |
|
| 26 | 'Crons' => '@crontab/index', |
|
| 27 | 'IP addresses' => '@ip/index', |
|
| 28 | 'Services' => '@service/index', |
|
| 29 | 'Requests' => '@request/index', |
|
| 30 | ]); |
|
| 31 | } |
|
| 32 | } |
|
| 33 | ||
| @@ 16-32 (lines=17) @@ | ||
| 13 | use hipanel\tests\_support\Page\SidebarMenu; |
|
| 14 | use hipanel\tests\_support\Step\Acceptance\Seller; |
|
| 15 | ||
| 16 | class HostingSidebarMenuCest |
|
| 17 | { |
|
| 18 | public function ensureMenuIsOk(Seller $I) |
|
| 19 | { |
|
| 20 | (new SidebarMenu($I))->ensureContains('Hosting',[ |
|
| 21 | 'Accounts' => '@account/index', |
|
| 22 | 'Databases' => '@db/index', |
|
| 23 | 'Domains' => '@hdomain/index', |
|
| 24 | 'Mailboxes' => '@mail/index', |
|
| 25 | 'Backups' => '@backuping/index', |
|
| 26 | 'Crons' => '@crontab/index', |
|
| 27 | 'IP addresses' => '@ip/index', |
|
| 28 | 'Services' => '@service/index', |
|
| 29 | 'Requests' => '@request/index', |
|
| 30 | ]); |
|
| 31 | } |
|
| 32 | } |
|
| 33 | ||