* adds 'cypress:open-as-ci' command * fixes typecheck error Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
19 lines
667 B
TypeScript
19 lines
667 B
TypeScript
/*
|
|
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
|
* or more contributor license agreements. Licensed under the Elastic License;
|
|
* you may not use this file except in compliance with the Elastic License.
|
|
*/
|
|
|
|
import { FtrConfigProviderContext } from '@kbn/test/types/ftr';
|
|
|
|
import { SecuritySolutionCypressCliTestRunner } from './runner';
|
|
|
|
export default async function ({ readConfigFile }: FtrConfigProviderContext) {
|
|
const securitySolutionCypressConfig = await readConfigFile(require.resolve('./config.ts'));
|
|
return {
|
|
...securitySolutionCypressConfig.getAll(),
|
|
|
|
testRunner: SecuritySolutionCypressCliTestRunner,
|
|
};
|
|
}
|