From 0b2b172930845dbbec2e458addb5a04b609c6c24 Mon Sep 17 00:00:00 2001 From: Nizamudeen A Date: Wed, 16 Dec 2020 13:53:14 +0530 Subject: [PATCH] mgr/dashboard: Fixing dashboard logs e2e test Yesterday there were some changes went in which disables the logging of config set and config-key set to to be logged in mgr audit logs. Dashboard has an e2e test which checks for this config set and broke the current e2e jenkins job. This commit removes that certain test to fix the jenkins job. Fixes: https://tracker.ceph.com/issues/48623 Signed-off-by: Nizamudeen A --- .../cypress/integration/cluster/logs.e2e-spec.ts | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/src/pybind/mgr/dashboard/frontend/cypress/integration/cluster/logs.e2e-spec.ts b/src/pybind/mgr/dashboard/frontend/cypress/integration/cluster/logs.e2e-spec.ts index 0e918fbf8c2..f5692bfe15f 100644 --- a/src/pybind/mgr/dashboard/frontend/cypress/integration/cluster/logs.e2e-spec.ts +++ b/src/pybind/mgr/dashboard/frontend/cypress/integration/cluster/logs.e2e-spec.ts @@ -1,14 +1,11 @@ import { PoolPageHelper } from '../pools/pools.po'; -import { ConfigurationPageHelper } from './configuration.po'; import { LogsPageHelper } from './logs.po'; describe('Logs page', () => { const logs = new LogsPageHelper(); const pools = new PoolPageHelper(); - const configuration = new ConfigurationPageHelper(); const poolname = 'e2e_logs_test_pool'; - const configname = 'log_graylog_port'; const today = new Date(); let hour = today.getHours(); if (hour > 12) { @@ -57,17 +54,4 @@ describe('Logs page', () => { logs.checkAuditForPoolFunction(poolname, 'delete', hour, minute); }); }); - - describe('audit logs respond to editing configuration setting test', () => { - it('should change config settings and check audit logs reacted', () => { - configuration.navigateTo(); - configuration.edit(configname, ['global', '5']); - - logs.navigateTo(); - logs.checkAuditForConfigChange(configname, 'global', hour, minute); - - configuration.navigateTo(); - configuration.configClear(configname); - }); - }); }); -- 2.39.5