import { FtrProviderContext } from '../ftr_provider_context' ; export default function ( { getService , loadTestFile } ) { describe ( 'Reporting APIs' , function ( ) { this . tags ( 'ciGroup2' ) ; before ( async ( ) => { const reportingAPI = getService ( 'reportingAPI' ) ; await reportingAPI . logTaskManagerHealth ( ) ; await reportingAPI . createDataAnalystRole ( ) ; await reportingAPI . createTestReportingUserRole ( ) ; await reportingAPI . createDataAnalyst ( ) ; await reportingAPI . createTestReportingUser ( ) ; } ) ; loadTestFile ( require . resolve ( './bwc_existing_indexes' ) ) ; loadTestFile ( require . resolve ( './security_roles_privileges' ) ) ; loadTestFile ( require . resolve ( './download_csv_dashboard' ) ) ; loadTestFile ( require . resolve ( './generate_csv_discover' ) ) ; loadTestFile ( require . resolve ( './network_policy' ) ) ; loadTestFile ( require . resolve ( './spaces' ) ) ; loadTestFile ( require . resolve ( './usage' ) ) ; loadTestFile ( require . resolve ( './ilm_migration_apis' ) ) ; } ) ; }