]> git.proxmox.com Git - ceph.git/blob - ceph/src/pybind/mgr/dashboard/frontend/cypress/integration/rgw/daemons.e2e-spec.ts
buildsys: change download over to reef release
[ceph.git] / ceph / src / pybind / mgr / dashboard / frontend / cypress / integration / rgw / daemons.e2e-spec.ts
1 import { DaemonsPageHelper } from './daemons.po';
2
3 describe('RGW daemons page', () => {
4 const daemons = new DaemonsPageHelper();
5
6 beforeEach(() => {
7 cy.login();
8 Cypress.Cookies.preserveOnce('token');
9 daemons.navigateTo();
10 });
11
12 describe('breadcrumb and tab tests', () => {
13 it('should open and show breadcrumb', () => {
14 daemons.expectBreadcrumbText('Daemons');
15 });
16
17 it('should show two tabs', () => {
18 daemons.getTabsCount().should('eq', 2);
19 });
20
21 it('should show daemons list tab at first', () => {
22 daemons.getTabText(0).should('eq', 'Daemons List');
23 });
24
25 it('should show overall performance as a second tab', () => {
26 daemons.getTabText(1).should('eq', 'Overall Performance');
27 });
28 });
29
30 describe('details and performance counters table tests', () => {
31 it('should check that details/performance tables are visible when daemon is selected', () => {
32 daemons.checkTables();
33 });
34 });
35 });