import { FtrProviderContext } from '../ftr_provider_context' ; export default function ( { getService , loadTestFile } ) { describe ( 'Reporting Functional Tests with Security enabled' , function ( ) { this . tags ( 'ciGroup2' ) ; before ( async ( ) => { const reportingFunctional = getService ( 'reportingFunctional' ) ; await reportingFunctional . logTaskManagerHealth ( ) ; await reportingFunctional . createDataAnalystRole ( ) ; await reportingFunctional . createDataAnalyst ( ) ; await reportingFunctional . createTestReportingUserRole ( ) ; await reportingFunctional . createTestReportingUser ( ) ; } ) ; loadTestFile ( require . resolve ( './security_roles_privileges' ) ) ; loadTestFile ( require . resolve ( './management' ) ) ; } ) ; }