[Console] Disable the monaco migration for 8.15 release (#187237)

## Summary

This PR disables the Monaco Console in 8.15 as we don't want to add it
to public release yet (it's planned to be released in 8.16).

**How to test:**
1. Check out the PR and start Es and Kibana
2. Verify that Console still uses the old Ace editor.

Co-authored-by: Elena Stoeva <59341489+ElenaStoeva@users.noreply.github.com>
This commit is contained in:
Yulia Čech 2024-07-08 16:27:46 +02:00 committed by GitHub
parent c47cca3e30
commit b10c5bca89
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 11 additions and 3 deletions

View file

@ -31,7 +31,7 @@ const schemaLatest = schema.object(
defaultValue: 'stack',
}),
}),
dev: schema.object({ enableMonaco: schema.boolean({ defaultValue: true }) }),
dev: schema.object({ enableMonaco: schema.boolean({ defaultValue: false }) }),
},
{ defaultValue: undefined }
);

View file

@ -15,5 +15,13 @@ export default async function ({ readConfigFile }: FtrConfigProviderContext) {
return configureHTTP2({
...functionalConfig.getAll(),
testFiles: [require.resolve('.')],
kbnTestServer: {
...functionalConfig.get('kbnTestServer'),
serverArgs: [
...functionalConfig.get('kbnTestServer.serverArgs'),
// enabling the monaco editor to run tests for it
`--console.dev.enableMonaco=true`,
],
},
});
}

View file

@ -20,7 +20,7 @@ export default async function ({ readConfigFile }: FtrConfigProviderContext) {
testFiles: [
require.resolve('./apps/dashboard/group3'),
require.resolve('./apps/discover/ccs_compatibility'),
require.resolve('./apps/console/monaco/_console_ccs'),
require.resolve('./apps/console/ace/_console_ccs'),
require.resolve('./apps/management/ccs_compatibility'),
require.resolve('./apps/getting_started'),
],

View file

@ -16,7 +16,7 @@ export default async function ({ readConfigFile }: FtrConfigProviderContext) {
return {
...baseConfig.getAll(),
testFiles: [require.resolve('../apps/console/monaco')],
testFiles: [require.resolve('../apps/console/ace')],
junit: {
reportName: 'Firefox UI Functional Tests - Console',