import { createUsersAndRoles } from '../../common/lib/create_users_and_roles' ; import { FtrProviderContext } from '../../common/ftr_provider_context' ; export default function ( { loadTestFile , getService } ) { const es = getService ( 'es' ) ; const supertest = getService ( 'supertest' ) ; describe ( 'spaces api with security' , function ( ) { this . tags ( 'ciGroup8' ) ; before ( async ( ) => { await createUsersAndRoles ( es , supertest ) ; } ) ; loadTestFile ( require . resolve ( './copy_to_space' ) ) ; loadTestFile ( require . resolve ( './resolve_copy_to_space_conflicts' ) ) ; loadTestFile ( require . resolve ( './create' ) ) ; loadTestFile ( require . resolve ( './delete' ) ) ; loadTestFile ( require . resolve ( './get_all' ) ) ; loadTestFile ( require . resolve ( './get_shareable_references' ) ) ; loadTestFile ( require . resolve ( './get' ) ) ; loadTestFile ( require . resolve ( './update' ) ) ; loadTestFile ( require . resolve ( './update_objects_spaces' ) ) ; loadTestFile ( require . resolve ( './disable_legacy_url_aliases' ) ) ; } ) ; }