Skip to content

Commit

Permalink
[EDR Workflows] Add missing services to Osquery Cypress (#197213)
Browse files Browse the repository at this point in the history
  • Loading branch information
tomsonpl authored Oct 22, 2024
1 parent 0f5fcf2 commit a3ba90c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
4 changes: 2 additions & 2 deletions x-pack/test/osquery_cypress/cli_config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@
*/

import { FtrConfigProviderContext } from '@kbn/test';

import { services } from './services';
import { startOsqueryCypress } from './runner';

export default async function ({ readConfigFile }: FtrConfigProviderContext) {
const osqueryCypressConfig = await readConfigFile(require.resolve('./config.ts'));
return {
...osqueryCypressConfig.getAll(),

services,
testRunner: startOsqueryCypress,
};
}
8 changes: 1 addition & 7 deletions x-pack/test/osquery_cypress/services.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,4 @@
* 2.0.
*/

import { commonFunctionalServices } from '@kbn/ftr-common-functional-services';
import { commonFunctionalUIServices } from '@kbn/ftr-common-functional-ui-services';

export const services = {
...commonFunctionalServices,
...commonFunctionalUIServices,
} as const;
export * from '@kbn/test-suites-src/common/services';

0 comments on commit a3ba90c

Please sign in to comment.