mirror of
https://github.com/elastic/kibana.git
synced 2025-04-25 18:27:59 -04:00
19 lines
734 B
Bash
Executable file
19 lines
734 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
source src/dev/ci_setup/setup_env.sh
|
|
source "$KIBANA_DIR/src/dev/ci_setup/setup_percy.sh"
|
|
|
|
echo " -> building and extracting OSS Kibana distributable for use in functional tests"
|
|
node scripts/build --debug --oss
|
|
linuxBuild="$(find "$KIBANA_DIR/target" -name 'kibana-*-linux-x86_64.tar.gz')"
|
|
installDir="$PARENT_DIR/install/kibana"
|
|
mkdir -p "$installDir"
|
|
tar -xzf "$linuxBuild" -C "$installDir" --strip=1
|
|
|
|
echo " -> running visual regression tests from kibana directory"
|
|
checks-reporter-with-killswitch "X-Pack visual regression tests" \
|
|
yarn percy exec -t 500 -- -- \
|
|
node scripts/functional_tests \
|
|
--debug --bail \
|
|
--kibana-install-dir "$installDir" \
|
|
--config test/visual_regression/config.ts;
|