1 import { PoolPageHelper } from './pools.po';
3 describe('Pools page', () => {
4 const pools = new PoolPageHelper();
5 const poolName = 'pool_e2e_pool/test';
12 describe('breadcrumb and tab tests', () => {
13 it('should open and show breadcrumb', () => {
14 pools.expectBreadcrumbText('Pools');
17 it('should show two tabs', () => {
18 pools.getTabsCount().should('equal', 2);
21 it('should show pools list tab at first', () => {
22 pools.getTabText(0).should('eq', 'Pools List');
25 it('should show overall performance as a second tab', () => {
26 pools.getTabText(1).should('eq', 'Overall Performance');
30 describe('Create, update and destroy', () => {
31 it('should create a pool', () => {
32 pools.exist(poolName, false);
33 pools.navigateTo('create');
34 pools.create(poolName, 8);
35 pools.exist(poolName, true);
38 it('should edit a pools placement group', () => {
39 pools.exist(poolName, true);
40 pools.edit_pool_pg(poolName, 32);
43 it('should delete a pool', () => {
44 pools.delete(poolName);