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