mirror of
https://github.com/elastic/kibana.git
synced 2025-06-29 03:24:45 -04:00
## Summary This PR in cloud https://github.com/elastic/cloud/pull/135346 is going to pass an `onboarding_token` query string. I am just trying to Intercept it and saved it. Therefore solution can streamline the Kibana onboarding process for trial user. ### Checklist - [x] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
26 lines
1,007 B
TypeScript
26 lines
1,007 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
|
|
* 2.0; you may not use this file except in compliance with the Elastic License
|
|
* 2.0.
|
|
*/
|
|
|
|
import { FtrConfigProviderContext } from '@kbn/test';
|
|
|
|
export default async function ({ readConfigFile }: FtrConfigProviderContext) {
|
|
const baseIntegrationTestsConfig = await readConfigFile(require.resolve('../../config.ts'));
|
|
|
|
return {
|
|
...baseIntegrationTestsConfig.getAll(),
|
|
testFiles: [require.resolve('./tests/set_cloud_data_route')],
|
|
kbnTestServer: {
|
|
...baseIntegrationTestsConfig.get('kbnTestServer'),
|
|
serverArgs: [
|
|
...baseIntegrationTestsConfig.get('kbnTestServer.serverArgs'),
|
|
'--xpack.cloud.id="ftr_fake_cloud_id:aGVsbG8uY29tOjQ0MyRFUzEyM2FiYyRrYm4xMjNhYmM="',
|
|
'--xpack.cloud.base_url="https://cloud.elastic.co"',
|
|
'--xpack.spaces.allowSolutionVisibility=true',
|
|
],
|
|
},
|
|
};
|
|
}
|