Skip to content

Commit

Permalink
[7.x] run page_load_metrics tests in visual regresssion jobs (#68570) (
Browse files Browse the repository at this point in the history
…#68675)

Co-authored-by: spalger <spalger@users.noreply.github.com>
  • Loading branch information
Spencer and spalger committed Jun 10, 2020
1 parent fa5585f commit 31292ed
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
3 changes: 1 addition & 2 deletions test/scripts/jenkins_visual_regression.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@ 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 -- -- \
yarn percy exec -t 500 -- -- \
node scripts/functional_tests \
--debug --bail \
--kibana-install-dir "$installDir" \
Expand Down
6 changes: 4 additions & 2 deletions test/scripts/jenkins_xpack_visual_regression.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,11 @@ tar -xzf "$linuxBuild" -C "$installDir" --strip=1

echo " -> running visual regression tests from x-pack directory"
cd "$XPACK_DIR"
checks-reporter-with-killswitch "X-Pack visual regression tests" \
yarn percy exec -t 500 -- -- \
yarn percy exec -t 500 -- -- \
node scripts/functional_tests \
--debug --bail \
--kibana-install-dir "$installDir" \
--config test/visual_regression/config.ts;

cd "$KIBANA_DIR"
source "test/scripts/jenkins_xpack_page_load_metrics.sh"

0 comments on commit 31292ed

Please sign in to comment.