1 import { Input, ManagerModulesPageHelper } from './mgr-modules.po';
3 describe('Manager modules page', () => {
4 const mgrmodules = new ManagerModulesPageHelper();
8 Cypress.Cookies.preserveOnce('token');
9 mgrmodules.navigateTo();
12 describe('breadcrumb test', () => {
13 it('should open and show breadcrumb', () => {
14 mgrmodules.expectBreadcrumbText('Manager Modules');
18 describe('verifies editing functionality for manager modules', () => {
19 it('should test editing on balancer module', () => {
20 const balancerArr: Input[] = [
22 id: 'crush_compat_max_iterations',
27 mgrmodules.editMgrModule('balancer', balancerArr);
30 it('should test editing on dashboard module', () => {
31 const dashboardArr: Input[] = [
33 id: 'RGW_API_USER_ID',
38 id: 'GRAFANA_API_PASSWORD',
43 mgrmodules.editMgrModule('dashboard', dashboardArr);
46 it('should test editing on devicehealth module', () => {
47 const devHealthArray: Input[] = [
49 id: 'mark_out_threshold',
56 oldValue: 'device_health_metrics'
59 id: 'retention_period',
64 id: 'scrape_frequency',
80 mgrmodules.editMgrModule('devicehealth', devHealthArray);