import { FtrProviderContext } from '../../ftr_provider_context' ; export default function ( { getService , loadTestFile } ) { const esArchiver = getService ( 'esArchiver' ) ; const transform = getService ( 'transform' ) ; describe ( 'transform' , function ( ) { this . tags ( [ 'transform' ] ) ; before ( async ( ) => { await transform . securityCommon . createTransformRoles ( ) ; await transform . securityCommon . createTransformUsers ( ) ; } ) ; after ( async ( ) => { await transform . securityCommon . cleanTransformUsers ( ) ; await transform . securityCommon . cleanTransformRoles ( ) ; await esArchiver . unload ( 'x-pack/test/functional/es_archives/ml/farequote' ) ; await transform . testResources . resetKibanaTimeZone ( ) ; } ) ; loadTestFile ( require . resolve ( './delete_transforms' ) ) ; loadTestFile ( require . resolve ( './start_transforms' ) ) ; loadTestFile ( require . resolve ( './stop_transforms' ) ) ; loadTestFile ( require . resolve ( './transforms' ) ) ; loadTestFile ( require . resolve ( './transforms_nodes' ) ) ; loadTestFile ( require . resolve ( './transforms_preview' ) ) ; loadTestFile ( require . resolve ( './transforms_stats' ) ) ; loadTestFile ( require . resolve ( './transforms_update' ) ) ; loadTestFile ( require . resolve ( './transforms_create' ) ) ; } ) ; }