]> git.proxmox.com Git - ceph.git/blob - ceph/src/pybind/mgr/dashboard/frontend/cypress/integration/orchestrator/workflow/07-osds.e2e-spec.ts
buildsys: change download over to reef release
[ceph.git] / ceph / src / pybind / mgr / dashboard / frontend / cypress / integration / orchestrator / workflow / 07-osds.e2e-spec.ts
1 /* tslint:disable*/
2 import { OSDsPageHelper } from '../../cluster/osds.po';
3 /* tslint:enable*/
4
5 describe('OSDs page', () => {
6 const osds = new OSDsPageHelper();
7
8 beforeEach(() => {
9 cy.login();
10 Cypress.Cookies.preserveOnce('token');
11 osds.navigateTo();
12 });
13
14 it('should check if atleast 3 osds are created', { retries: 3 }, () => {
15 // we have created a total of more than 3 osds throughout
16 // the whole tests so ensuring that atleast
17 // 3 osds are listed in the table. Since the OSD
18 // creation can take more time going with
19 // retry of 3
20 for (let id = 0; id < 3; id++) {
21 osds.checkStatus(id, ['in', 'up']);
22 }
23 });
24 });