Skip to content

Commit 7c6ebf8

Browse files
committed
perses post coo140
1 parent 6a94ff6 commit 7c6ebf8

29 files changed

Lines changed: 267 additions & 372 deletions

web/cypress/e2e/perses/00.coo_bvt_perses_admin.cy.ts

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { nav } from '../../views/nav';
2-
import { runBVTCOOPersesTests } from '../../support/perses/00.coo_bvt_perses_admin.cy';
3-
import { guidedTour } from '../../views/tour';
2+
//TODO: rename after customizable-dashboards gets merged
3+
import { runBVTCOOPersesTests1 } from '../../support/perses/00.coo_bvt_perses_admin.cy';
44

55
// Set constants for the operators that need to be installed for tests.
66
const MCP = {
@@ -18,17 +18,20 @@ const MP = {
1818
operatorName: 'Cluster Monitoring Operator',
1919
};
2020

21+
//TODO: change tag to @smoke, @dashboards, @perses when customizable-dashboards gets merged
2122
describe('BVT: COO - Dashboards (Perses) - Administrator perspective', { tags: ['@smoke', '@dashboards', '@perses'] }, () => {
2223

2324
before(() => {
2425
cy.beforeBlockCOO(MCP, MP);
26+
cy.cleanupPersesTestDashboardsBeforeTests();
2527
});
2628

2729
beforeEach(() => {
2830
nav.sidenav.clickNavLink(['Observe', 'Dashboards (Perses)']);
2931
});
3032

31-
runBVTCOOPersesTests({
33+
//TODO: rename after customizable-dashboards gets merged
34+
runBVTCOOPersesTests1({
3235
name: 'Administrator',
3336
});
3437

web/cypress/e2e/perses/00.coo_bvt_perses_admin_1.cy.ts

Lines changed: 0 additions & 38 deletions
This file was deleted.

web/cypress/e2e/perses/01.coo_list_perses_admin.cy.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const MP = {
1919
};
2020

2121
//TODO: change tag to @dashboards when customizable-dashboards gets merged
22-
describe('COO - Dashboards (Perses) - List perses dashboards', { tags: ['@perses', '@dashboards-'] }, () => {
22+
describe('COO - Dashboards (Perses) - List perses dashboards', { tags: ['@perses', '@dashboards'] }, () => {
2323

2424
before(() => {
2525
cy.beforeBlockCOO(MCP, MP);

web/cypress/e2e/perses/02.coo_edit_perses_admin.cy.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const MP = {
1919
};
2020

2121
//TODO: change tag to @dashboards when customizable-dashboards gets merged
22-
describe('COO - Dashboards (Perses) - Edit perses dashboard', { tags: ['@perses', '@dashboards-'] }, () => {
22+
describe('COO - Dashboards (Perses) - Edit perses dashboard', { tags: ['@perses', '@dashboards'] }, () => {
2323

2424
before(() => {
2525
cy.beforeBlockCOO(MCP, MP);

web/cypress/e2e/perses/03.coo_create_perses_admin.cy.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ const MP = {
1818
};
1919

2020
//TODO: change tag to @dashboards when customizable-dashboards gets merged
21-
describe('COO - Dashboards (Perses) - Create perses dashboard', { tags: ['@perses', '@dashboards-'] }, () => {
21+
describe('COO - Dashboards (Perses) - Create perses dashboard', { tags: ['@perses', '@dashboards'] }, () => {
2222

2323
before(() => {
2424
cy.beforeBlockCOO(MCP, MP);

web/cypress/e2e/perses/04.coo_import_perses_admin.cy.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ const MP = {
1818
};
1919

2020
//TODO: change tag to @dashboards when customizable-dashboards gets merged
21-
describe('COO - Dashboards (Perses) - Import perses dashboard', { tags: ['@perses', '@dashboards-'] }, () => {
21+
describe('COO - Dashboards (Perses) - Import perses dashboard', { tags: ['@perses', '@dashboards'] }, () => {
2222

2323
before(() => {
2424
cy.beforeBlockCOO(MCP, MP);

web/cypress/e2e/perses/99.coo_rbac_perses_user1.cy.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const MP = {
1919
};
2020

2121
//TODO: change tag to @smoke, @dashboards, @perses when customizable-dashboards gets merged
22-
describe('RBAC User1: COO - Dashboards (Perses) - Administrator perspective', { tags: ['@smoke-', '@dashboards-', '@perses-dev'] }, () => {
22+
describe('RBAC User1: COO - Dashboards (Perses) - Administrator perspective', { tags: ['@perses','@perses-dev'] }, () => {
2323

2424
before(() => {
2525
//TODO: https://issues.redhat.com/browse/OCPBUGS-58468 - when it gets fixed, installation can be don using non-admin user

web/cypress/e2e/perses/99.coo_rbac_perses_user2.cy.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const MP = {
1919
};
2020

2121
//TODO: change tag to @smoke, @dashboards, @perses when customizable-dashboards gets merged
22-
describe('RBAC User2: COO - Dashboards (Perses) - Administrator perspective', { tags: ['@smoke-', '@dashboards-', '@perses-dev'] }, () => {
22+
describe('RBAC User2: COO - Dashboards (Perses) - Administrator perspective', { tags: ['@perses','@perses-dev'] }, () => {
2323

2424
before(() => {
2525
//TODO: https://issues.redhat.com/browse/OCPBUGS-58468 - when it gets fixed, installation can be don using non-admin user

web/cypress/e2e/perses/99.coo_rbac_perses_user3.cy.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const MP = {
1919
};
2020

2121
//TODO: change tag to @smoke, @dashboards, @perses when customizable-dashboards gets merged
22-
describe('RBAC User3: COO - Dashboards (Perses) - Administrator perspective', { tags: ['@smoke-', '@dashboards-', '@perses-dev'] }, () => {
22+
describe('RBAC User3: COO - Dashboards (Perses) - Administrator perspective', { tags: ['@perses','@perses-dev'] }, () => {
2323

2424
before(() => {
2525
//TODO: https://issues.redhat.com/browse/OCPBUGS-58468 - when it gets fixed, installation can be don using non-admin user

web/cypress/e2e/perses/99.coo_rbac_perses_user4.cy.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const MP = {
1919
};
2020

2121
//TODO: change tag to @smoke, @dashboards, @perses when customizable-dashboards gets merged
22-
describe('RBAC User4: COO - Dashboards (Perses) - Administrator perspective', { tags: ['@smoke-', '@dashboards-', '@perses-dev'] }, () => {
22+
describe('RBAC User4: COO - Dashboards (Perses) - Administrator perspective', { tags: ['@perses','@perses-dev'] }, () => {
2323

2424
before(() => {
2525
//TODO: https://issues.redhat.com/browse/OCPBUGS-58468 - when it gets fixed, installation can be don using non-admin user

0 commit comments

Comments
 (0)