]> git.proxmox.com Git - ceph.git/blob - ceph/src/pybind/mgr/dashboard/frontend/cypress/integration/rgw/daemons.e2e-spec.ts
import 15.2.4
[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 daemons.navigateTo();
9 });
10
11 describe('breadcrumb and tab tests', () => {
12 it('should open and show breadcrumb', () => {
13 daemons.expectBreadcrumbText('Daemons');
14 });
15
16 it('should show two tabs', () => {
17 daemons.getTabsCount().should('eq', 2);
18 });
19
20 it('should show daemons list tab at first', () => {
21 daemons.getTabText(0).should('eq', 'Daemons List');
22 });
23
24 it('should show overall performance as a second tab', () => {
25 daemons.getTabText(1).should('eq', 'Overall Performance');
26 });
27 });
28
29 describe('details and performance counters table tests', () => {
30 it('should check that details/performance tables are visible when daemon is selected', () => {
31 daemons.checkTables();
32 });
33 });
34 });