[artifacts testing] Re-enable FTR smoke tests (#132076)

* [artifacts testing] Re-enable FTR smoke tests

* --quiet

* docker disable chromium sandbox

* newline
This commit is contained in:
Jonathan Budzenski 2022-05-12 10:03:39 -05:00 committed by GitHub
parent 56dedf3856
commit 179cf309ec
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 10 additions and 6 deletions

View file

@ -41,9 +41,11 @@ trap "echoKibanaLogs" EXIT
vagrant provision "$TEST_PACKAGE"
# export TEST_BROWSER_HEADLESS=1
# export TEST_KIBANA_URL="http://elastic:changeme@$KIBANA_IP_ADDRESS:5601"
# export TEST_ES_URL=http://elastic:changeme@192.168.56.1:9200
export TEST_BROWSER_HEADLESS=1
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
cd x-pack
echo "--- FTR - Reporting"
node scripts/functional_test_runner.js --config test/functional/apps/visualize/config.ts --include-tag=smoke --quiet

View file

@ -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'

View file

@ -25,7 +25,8 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
'visEditor',
]);
describe('Visualize Reporting Screenshots', () => {
describe('Visualize Reporting Screenshots', function () {
this.tags(['smoke']);
before('initialize tests', async () => {
log.debug('ReportingPage:initTests');
await esArchiver.loadIfNeeded('x-pack/test/functional/es_archives/reporting/ecommerce');