]> git.proxmox.com Git - ceph.git/blame - ceph/src/pybind/mgr/dashboard/frontend/cypress/e2e/orchestrator/workflow/07-osds.e2e-spec.ts
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / pybind / mgr / dashboard / frontend / cypress / e2e / orchestrator / workflow / 07-osds.e2e-spec.ts
CommitLineData
2a845540
TL
1/* tslint:disable*/
2import { OSDsPageHelper } from '../../cluster/osds.po';
3/* tslint:enable*/
20effc67
TL
4
5describe('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});