]>
Commit | Line | Data |
---|---|---|
2a845540 TL |
1 | /* tslint:disable*/ |
2 | import { OSDsPageHelper } from '../../cluster/osds.po'; | |
3 | /* tslint:enable*/ | |
20effc67 TL |
4 | |
5 | describe('OSDs page', () => { | |
6 | const osds = new OSDsPageHelper(); | |
7 | ||
8 | beforeEach(() => { | |
9 | cy.login(); | |
20effc67 TL |
10 | osds.navigateTo(); |
11 | }); | |
12 | ||
13 | it('should check if atleast 3 osds are created', { retries: 3 }, () => { | |
14 | // we have created a total of more than 3 osds throughout | |
15 | // the whole tests so ensuring that atleast | |
16 | // 3 osds are listed in the table. Since the OSD | |
17 | // creation can take more time going with | |
18 | // retry of 3 | |
19 | for (let id = 0; id < 3; id++) { | |
20 | osds.checkStatus(id, ['in', 'up']); | |
21 | } | |
22 | }); | |
23 | }); |