From 5f2bc6339d1d5d8f43ab2fc6a8d81646084a0152 Mon Sep 17 00:00:00 2001 From: liza-mae Date: Thu, 19 Sep 2019 11:23:44 -0600 Subject: [PATCH] Revert hiding Kibana icon, test Percy rendering (#43990) * Revert hiding Kibana icon, test Percy rendering * Update jobs.yml * Use percy token for kibana dev * Update Percy token to read from kibana-issues * Read correct field * increase timeout * Run each visual job 10 times * Revert last commit * Increase timeout * Disable visual tests and revert percy token * Fix jest tests * Another jest test fix --- .../__snapshots__/exit_full_screen_button.test.js.snap | 4 +--- .../__snapshots__/exit_full_screen_button.test.tsx.snap | 4 +--- .../exit_full_screen_button/exit_full_screen_button.tsx | 2 +- test/scripts/jenkins_visual_regression.sh | 2 +- test/scripts/jenkins_xpack_visual_regression.sh | 2 +- 5 files changed, 5 insertions(+), 9 deletions(-) diff --git a/src/legacy/ui/public/exit_full_screen/__snapshots__/exit_full_screen_button.test.js.snap b/src/legacy/ui/public/exit_full_screen/__snapshots__/exit_full_screen_button.test.js.snap index 451283305df21..2fe29dd29a59b 100644 --- a/src/legacy/ui/public/exit_full_screen/__snapshots__/exit_full_screen_button.test.js.snap +++ b/src/legacy/ui/public/exit_full_screen/__snapshots__/exit_full_screen_button.test.js.snap @@ -1,9 +1,7 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP exports[`is rendered 1`] = ` -
+

-

+

{ public render() { return ( -

+

{i18n.translate('kibana-react.exitFullScreenButton.fullScreenModeDescription', { diff --git a/test/scripts/jenkins_visual_regression.sh b/test/scripts/jenkins_visual_regression.sh index 40dca03b593be..abfb0cca0e99d 100755 --- a/test/scripts/jenkins_visual_regression.sh +++ b/test/scripts/jenkins_visual_regression.sh @@ -27,7 +27,7 @@ fi export TEST_BROWSER_HEADLESS=1 checks-reporter-with-killswitch "Kibana visual regression tests" \ - yarn run percy exec \ + yarn run percy exec -t 500 \ node scripts/functional_tests \ --debug --bail \ --kibana-install-dir "$installDir" \ diff --git a/test/scripts/jenkins_xpack_visual_regression.sh b/test/scripts/jenkins_xpack_visual_regression.sh index b6110488e91cc..cc9b6adcecd40 100755 --- a/test/scripts/jenkins_xpack_visual_regression.sh +++ b/test/scripts/jenkins_xpack_visual_regression.sh @@ -30,7 +30,7 @@ export TEST_BROWSER_HEADLESS=1 cd "$XPACK_DIR" checks-reporter-with-killswitch "X-Pack visual regression tests" \ - yarn run percy exec \ + yarn run percy exec -t 500 \ node scripts/functional_tests \ --debug --bail \ --kibana-install-dir "$KIBANA_INSTALL_DIR" \