mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 09:19:04 -04:00
[7.17] Fix package tests (#163978)
https://github.com/elastic/kibana/pull/163363 backported the requirement for functional tests to specify a `--config` file. This adds a config file flag to package tests instead of relying on a global tag. This also swaps the test suite from an ingest test to reporting, the same as main. Tested [here](https://buildkite.com/elastic/kibana-artifacts-snapshot/builds/2696).
This commit is contained in:
parent
b698a91e3c
commit
91ee0ae974
4 changed files with 5 additions and 2 deletions
|
@ -50,4 +50,6 @@ export TEST_KIBANA_URL="http://elastic:changeme@$KIBANA_IP_ADDRESS:5601"
|
|||
export TEST_ES_URL=http://elastic:changeme@192.168.56.1:9200
|
||||
|
||||
cd x-pack
|
||||
node scripts/functional_test_runner.js --include-tag=smoke
|
||||
|
||||
echo "--- FTR - Reporting"
|
||||
node scripts/functional_test_runner.js --config test/functional/config.js --include-tag=smoke --quiet
|
||||
|
|
|
@ -24,3 +24,4 @@
|
|||
ELASTICSEARCH_HOSTS: http://192.168.56.1:9200
|
||||
ELASTICSEARCH_USERNAME: '{{ elasticsearch_username }}'
|
||||
ELASTICSEARCH_PASSWORD: '{{ elasticsearch_password }}'
|
||||
XPACK_REPORTING_CAPTURE_BROWSER_CHROMIUM_DISABLESANDBOX: 'true'
|
||||
|
|
|
@ -23,7 +23,6 @@ export default ({ getPageObjects, getService }: FtrProviderContext) => {
|
|||
const retry = getService('retry');
|
||||
|
||||
describe('Ingest Pipelines', function () {
|
||||
this.tags('smoke');
|
||||
this.onlyEsVersion('<=7');
|
||||
|
||||
before(async () => {
|
||||
|
|
|
@ -30,6 +30,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
|
|||
]);
|
||||
|
||||
describe('Visualize Reporting Screenshots', function () {
|
||||
this.tags(['smoke']);
|
||||
before('initialize tests', async () => {
|
||||
log.debug('ReportingPage:initTests');
|
||||
await browser.setWindowSize(1600, 850);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue