* convert kbn test config into TS * add test for Kibana embedded in iframe * run embedded tests in functional suite * ignore tls errors in functional tests by default * switch test to https * remove env vars mutation * allow to pass ssl config to Kibana * pass ssl config to axios * adopt KbnClient interfaces * adopt KibanaServer * use KbnRequester in security service * set sameSiteCookies:None in test * acceptInsecureCerts in chrome * remove leftovers * fix type error * remove unnecessary field * address comments * refactor plugin * refactor test * make acceptInsecureCerts configurable * run firefox tests on ci * up TS version * fix firefox.sh script * fix path Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
27 lines
742 B
TypeScript
27 lines
742 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';
|
|
|
|
export default async function ({ readConfigFile }: FtrConfigProviderContext) {
|
|
const chromeConfig = await readConfigFile(require.resolve('./config'));
|
|
|
|
return {
|
|
...chromeConfig.getAll(),
|
|
|
|
browser: {
|
|
type: 'firefox',
|
|
acceptInsecureCerts: true,
|
|
},
|
|
|
|
suiteTags: {
|
|
exclude: ['skipFirefox'],
|
|
},
|
|
|
|
junit: {
|
|
reportName: 'Firefox Kibana Embedded in iframe with X-Pack Security',
|
|
},
|
|
};
|
|
}
|