Skip to content

Commit

Permalink
fix testFiles loading
Browse files Browse the repository at this point in the history
  • Loading branch information
dmlemeshko committed Feb 7, 2023
1 parent 2fe0e9e commit bab790f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions x-pack/test/functional_with_es_ssl/apps/cases/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,13 @@
*/

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

export default async function ({ readConfigFile }: FtrConfigProviderContext) {
const baseConfig = await readConfigFile(require.resolve('../../config.base.ts'));

return {
...baseConfig.getAll(),
testFiles: [resolve('.')],
testFiles: [require.resolve('.')],
junit: {
reportName: 'Chrome X-Pack UI Functional Tests with ES SSL - Cases',
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,13 @@
*/

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

export default async function ({ readConfigFile }: FtrConfigProviderContext) {
const baseConfig = await readConfigFile(require.resolve('../../config.base.ts'));

return {
...baseConfig.getAll(),
testFiles: [resolve('.')],
testFiles: [require.resolve('.')],
junit: {
reportName: 'Chrome X-Pack UI Functional Tests with ES SSL - Triggers Actions UI',
},
Expand Down

0 comments on commit bab790f

Please sign in to comment.