-
Notifications
You must be signed in to change notification settings - Fork 46
Expand file tree
/
Copy path00.coo_bvt_perses_admin_1.cy.ts
More file actions
38 lines (31 loc) · 1.11 KB
/
00.coo_bvt_perses_admin_1.cy.ts
File metadata and controls
38 lines (31 loc) · 1.11 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
import { nav } from '../../views/nav';
//TODO: rename after customizable-dashboards gets merged
import { runBVTCOOPersesTests1 } from '../../support/perses/00.coo_bvt_perses_admin_1.cy';
import { guidedTour } from '../../views/tour';
// Set constants for the operators that need to be installed for tests.
const MCP = {
namespace: 'openshift-cluster-observability-operator',
packageName: 'cluster-observability-operator',
operatorName: 'Cluster Observability Operator',
config: {
kind: 'UIPlugin',
name: 'monitoring',
},
};
const MP = {
namespace: 'openshift-monitoring',
operatorName: 'Cluster Monitoring Operator',
};
//TODO: change tag to @smoke, @dashboards, @perses when customizable-dashboards gets merged
describe('BVT: COO - Dashboards (Perses) - Administrator perspective', { tags: ['@smoke-', '@dashboards-', '@perses-'] }, () => {
before(() => {
cy.beforeBlockCOO(MCP, MP);
});
beforeEach(() => {
nav.sidenav.clickNavLink(['Observe', 'Dashboards (Perses)']);
});
//TODO: rename after customizable-dashboards gets merged
runBVTCOOPersesTests1({
name: 'Administrator',
});
});