1 import { Input, ManagerModulesPageHelper } from './mgr-modules.po';
3 describe('Manager modules page', () => {
4 const mgrmodules = new ManagerModulesPageHelper();
8 mgrmodules.navigateTo();
11 describe('breadcrumb test', () => {
12 it('should open and show breadcrumb', () => {
13 mgrmodules.expectBreadcrumbText('Manager Modules');
17 describe('verifies editing functionality for manager modules', () => {
18 it('should test editing on diskprediction_cloud module', () => {
19 const diskpredCloudArr: Input[] = [
21 id: 'diskprediction_cert_context',
31 mgrmodules.editMgrModule('diskprediction_cloud', diskpredCloudArr);
34 it('should test editing on balancer module', () => {
35 const balancerArr: Input[] = [
37 id: 'crush_compat_max_iterations',
42 mgrmodules.editMgrModule('balancer', balancerArr);
45 it('should test editing on dashboard module', () => {
46 const dashboardArr: Input[] = [
48 id: 'RGW_API_USER_ID',
53 id: 'GRAFANA_API_PASSWORD',
58 mgrmodules.editMgrModule('dashboard', dashboardArr);
61 it('should test editing on devicehealth module', () => {
62 const devHealthArray: Input[] = [
64 id: 'mark_out_threshold',
71 oldValue: 'device_health_metrics'
74 id: 'retention_period',
79 id: 'scrape_frequency',
95 mgrmodules.editMgrModule('devicehealth', devHealthArray);