diff --git a/CHANGELOG.md b/CHANGELOG.md index 7a2297875d..7c026c4a26 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -97,6 +97,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. - `@babel/runtime@7.6.3` - `core-js@3.3.6` - `component`: Bumps [`adaptivecards@1.2.3`](https://npmjs.com/package/adaptivecards), by [@corinagum](https://github.com/corinagum) in PR [#2523](https://github.com/microsoft/BotFramework-WebChat/pull/2532) +- Bumps Chrome in Docker to 78.0.3904.70, by [@spyip](https://github.com/spyip) in PR [#2545](https://github.com/microsoft/BotFramework-WebChat/pull/2545) ## [4.6.0] - 2019-10-31 diff --git a/Dockerfile-selenium b/Dockerfile-selenium index 9d03ac44d3..968ed6ecc4 100644 --- a/Dockerfile-selenium +++ b/Dockerfile-selenium @@ -1,6 +1,6 @@ # https://github.com/SeleniumHQ/docker-selenium # https://hub.docker.com/r/selenium/standalone-chrome/tags/ -FROM selenium/standalone-chrome:3.141.59-radium +FROM selenium/standalone-chrome:3.141.59-xenon ADD __tests__/setup/local ~/Downloads diff --git a/__tests__/__image_snapshots__/chrome-docker/adaptive-cards-js-breakfast-card-1-snap.png b/__tests__/__image_snapshots__/chrome-docker/adaptive-cards-js-breakfast-card-1-snap.png index 9a7fdd7e3b..50d5bff20f 100644 Binary files a/__tests__/__image_snapshots__/chrome-docker/adaptive-cards-js-breakfast-card-1-snap.png and b/__tests__/__image_snapshots__/chrome-docker/adaptive-cards-js-breakfast-card-1-snap.png differ diff --git a/__tests__/__image_snapshots__/chrome-docker/adaptive-cards-js-breakfast-card-with-custom-host-config-1-snap.png b/__tests__/__image_snapshots__/chrome-docker/adaptive-cards-js-breakfast-card-with-custom-host-config-1-snap.png index d7cb9856b2..5a5e9fea6e 100644 Binary files a/__tests__/__image_snapshots__/chrome-docker/adaptive-cards-js-breakfast-card-with-custom-host-config-1-snap.png and b/__tests__/__image_snapshots__/chrome-docker/adaptive-cards-js-breakfast-card-with-custom-host-config-1-snap.png differ diff --git a/__tests__/__image_snapshots__/chrome-docker/basic-js-long-ur-ls-with-break-all-1-snap.png b/__tests__/__image_snapshots__/chrome-docker/basic-js-long-ur-ls-with-break-all-1-snap.png index 63a3bbcb45..abeeb53c77 100644 Binary files a/__tests__/__image_snapshots__/chrome-docker/basic-js-long-ur-ls-with-break-all-1-snap.png and b/__tests__/__image_snapshots__/chrome-docker/basic-js-long-ur-ls-with-break-all-1-snap.png differ diff --git a/__tests__/__image_snapshots__/chrome-docker/basic-js-long-ur-ls-with-break-word-1-snap.png b/__tests__/__image_snapshots__/chrome-docker/basic-js-long-ur-ls-with-break-word-1-snap.png index de765222c0..a379abf814 100644 Binary files a/__tests__/__image_snapshots__/chrome-docker/basic-js-long-ur-ls-with-break-word-1-snap.png and b/__tests__/__image_snapshots__/chrome-docker/basic-js-long-ur-ls-with-break-word-1-snap.png differ diff --git a/__tests__/__image_snapshots__/chrome-docker/basic-js-long-ur-ls-with-keep-all-1-snap.png b/__tests__/__image_snapshots__/chrome-docker/basic-js-long-ur-ls-with-keep-all-1-snap.png index f3edc33213..fd5eeddc8c 100644 Binary files a/__tests__/__image_snapshots__/chrome-docker/basic-js-long-ur-ls-with-keep-all-1-snap.png and b/__tests__/__image_snapshots__/chrome-docker/basic-js-long-ur-ls-with-keep-all-1-snap.png differ diff --git a/__tests__/__image_snapshots__/chrome-docker/basic-js-setup-1-snap.png b/__tests__/__image_snapshots__/chrome-docker/basic-js-setup-1-snap.png index 516e4a29c8..f38145de8b 100644 Binary files a/__tests__/__image_snapshots__/chrome-docker/basic-js-setup-1-snap.png and b/__tests__/__image_snapshots__/chrome-docker/basic-js-setup-1-snap.png differ diff --git a/__tests__/__image_snapshots__/chrome-docker/bubble-border-js-bubble-border-with-deprecated-border-style-of-2-px-1-snap.png b/__tests__/__image_snapshots__/chrome-docker/bubble-border-js-bubble-border-with-deprecated-border-style-of-2-px-1-snap.png index 15bfb5237e..972719c682 100644 Binary files a/__tests__/__image_snapshots__/chrome-docker/bubble-border-js-bubble-border-with-deprecated-border-style-of-2-px-1-snap.png and b/__tests__/__image_snapshots__/chrome-docker/bubble-border-js-bubble-border-with-deprecated-border-style-of-2-px-1-snap.png differ diff --git a/__tests__/__image_snapshots__/chrome-docker/bubble-border-js-bubble-border-with-deprecated-border-style-of-dashed-2-px-red-and-dotted-2-px-green-1-snap.png b/__tests__/__image_snapshots__/chrome-docker/bubble-border-js-bubble-border-with-deprecated-border-style-of-dashed-2-px-red-and-dotted-2-px-green-1-snap.png index 01cd11022c..1b5d5c5309 100644 Binary files a/__tests__/__image_snapshots__/chrome-docker/bubble-border-js-bubble-border-with-deprecated-border-style-of-dashed-2-px-red-and-dotted-2-px-green-1-snap.png and b/__tests__/__image_snapshots__/chrome-docker/bubble-border-js-bubble-border-with-deprecated-border-style-of-dashed-2-px-red-and-dotted-2-px-green-1-snap.png differ diff --git a/__tests__/__image_snapshots__/chrome-docker/bubble-border-js-bubble-border-with-deprecated-border-style-of-dashed-and-dotted-1-snap.png b/__tests__/__image_snapshots__/chrome-docker/bubble-border-js-bubble-border-with-deprecated-border-style-of-dashed-and-dotted-1-snap.png index be5bd5dcbb..8d7992ddc9 100644 Binary files a/__tests__/__image_snapshots__/chrome-docker/bubble-border-js-bubble-border-with-deprecated-border-style-of-dashed-and-dotted-1-snap.png and b/__tests__/__image_snapshots__/chrome-docker/bubble-border-js-bubble-border-with-deprecated-border-style-of-dashed-and-dotted-1-snap.png differ diff --git a/__tests__/__image_snapshots__/chrome-docker/bubble-border-js-bubble-border-with-deprecated-border-style-of-red-and-green-1-snap.png b/__tests__/__image_snapshots__/chrome-docker/bubble-border-js-bubble-border-with-deprecated-border-style-of-red-and-green-1-snap.png index 2504d6a350..eaf8594e3e 100644 Binary files a/__tests__/__image_snapshots__/chrome-docker/bubble-border-js-bubble-border-with-deprecated-border-style-of-red-and-green-1-snap.png and b/__tests__/__image_snapshots__/chrome-docker/bubble-border-js-bubble-border-with-deprecated-border-style-of-red-and-green-1-snap.png differ diff --git a/__tests__/__image_snapshots__/chrome-docker/card-action-middleware-js-card-action-open-url-1-snap.png b/__tests__/__image_snapshots__/chrome-docker/card-action-middleware-js-card-action-open-url-1-snap.png index fb6f24a4cd..4a66447d24 100644 Binary files a/__tests__/__image_snapshots__/chrome-docker/card-action-middleware-js-card-action-open-url-1-snap.png and b/__tests__/__image_snapshots__/chrome-docker/card-action-middleware-js-card-action-open-url-1-snap.png differ diff --git a/__tests__/__image_snapshots__/chrome-docker/card-action-middleware-js-card-action-signin-1-snap.png b/__tests__/__image_snapshots__/chrome-docker/card-action-middleware-js-card-action-signin-1-snap.png index 2cfedb7e95..a3d41a8452 100644 Binary files a/__tests__/__image_snapshots__/chrome-docker/card-action-middleware-js-card-action-signin-1-snap.png and b/__tests__/__image_snapshots__/chrome-docker/card-action-middleware-js-card-action-signin-1-snap.png differ diff --git a/__tests__/__image_snapshots__/chrome-docker/carousel-js-carousel-with-avatar-initials-1-attachment-with-wide-screen-1-snap.png b/__tests__/__image_snapshots__/chrome-docker/carousel-js-carousel-with-avatar-initials-1-attachment-with-wide-screen-1-snap.png index beda61d5f7..bf38b3e54d 100644 Binary files a/__tests__/__image_snapshots__/chrome-docker/carousel-js-carousel-with-avatar-initials-1-attachment-with-wide-screen-1-snap.png and b/__tests__/__image_snapshots__/chrome-docker/carousel-js-carousel-with-avatar-initials-1-attachment-with-wide-screen-1-snap.png differ diff --git a/__tests__/__image_snapshots__/chrome-docker/carousel-js-carousel-with-avatar-initials-2-attachments-with-wide-screen-1-snap.png b/__tests__/__image_snapshots__/chrome-docker/carousel-js-carousel-with-avatar-initials-2-attachments-with-wide-screen-1-snap.png index 8cca6e0a17..c022412805 100644 Binary files a/__tests__/__image_snapshots__/chrome-docker/carousel-js-carousel-with-avatar-initials-2-attachments-with-wide-screen-1-snap.png and b/__tests__/__image_snapshots__/chrome-docker/carousel-js-carousel-with-avatar-initials-2-attachments-with-wide-screen-1-snap.png differ diff --git a/__tests__/__image_snapshots__/chrome-docker/carousel-js-carousel-without-avatar-initials-1-attachment-with-wide-screen-1-snap.png b/__tests__/__image_snapshots__/chrome-docker/carousel-js-carousel-without-avatar-initials-1-attachment-with-wide-screen-1-snap.png index fbe4aae65f..8005f0d0b4 100644 Binary files a/__tests__/__image_snapshots__/chrome-docker/carousel-js-carousel-without-avatar-initials-1-attachment-with-wide-screen-1-snap.png and b/__tests__/__image_snapshots__/chrome-docker/carousel-js-carousel-without-avatar-initials-1-attachment-with-wide-screen-1-snap.png differ diff --git a/__tests__/__image_snapshots__/chrome-docker/carousel-js-carousel-without-avatar-initials-2-attachments-with-wide-screen-1-snap.png b/__tests__/__image_snapshots__/chrome-docker/carousel-js-carousel-without-avatar-initials-2-attachments-with-wide-screen-1-snap.png index 710d6b1270..71eb1da0b8 100644 Binary files a/__tests__/__image_snapshots__/chrome-docker/carousel-js-carousel-without-avatar-initials-2-attachments-with-wide-screen-1-snap.png and b/__tests__/__image_snapshots__/chrome-docker/carousel-js-carousel-without-avatar-initials-2-attachments-with-wide-screen-1-snap.png differ diff --git a/__tests__/__image_snapshots__/chrome-docker/carousel-js-carousel-without-avatar-initials-4-attachments-and-message-1-snap.png b/__tests__/__image_snapshots__/chrome-docker/carousel-js-carousel-without-avatar-initials-4-attachments-and-message-1-snap.png index c8192cd8ba..f38145de8b 100644 Binary files a/__tests__/__image_snapshots__/chrome-docker/carousel-js-carousel-without-avatar-initials-4-attachments-and-message-1-snap.png and b/__tests__/__image_snapshots__/chrome-docker/carousel-js-carousel-without-avatar-initials-4-attachments-and-message-1-snap.png differ diff --git a/__tests__/__image_snapshots__/chrome-docker/clock-skew-js-clock-skew-faking-clock-skew-should-affect-activity-order-1-snap.png b/__tests__/__image_snapshots__/chrome-docker/clock-skew-js-clock-skew-faking-clock-skew-should-affect-activity-order-1-snap.png index 5344d54de4..e4ab7503ec 100644 Binary files a/__tests__/__image_snapshots__/chrome-docker/clock-skew-js-clock-skew-faking-clock-skew-should-affect-activity-order-1-snap.png and b/__tests__/__image_snapshots__/chrome-docker/clock-skew-js-clock-skew-faking-clock-skew-should-affect-activity-order-1-snap.png differ diff --git a/__tests__/__image_snapshots__/chrome-docker/clock-skew-js-clock-skew-should-not-have-any-effects-1-snap.png b/__tests__/__image_snapshots__/chrome-docker/clock-skew-js-clock-skew-should-not-have-any-effects-1-snap.png index df09222e7d..a0e6f249be 100644 Binary files a/__tests__/__image_snapshots__/chrome-docker/clock-skew-js-clock-skew-should-not-have-any-effects-1-snap.png and b/__tests__/__image_snapshots__/chrome-docker/clock-skew-js-clock-skew-should-not-have-any-effects-1-snap.png differ diff --git a/__tests__/__image_snapshots__/chrome-docker/focus-js-type-focus-sink-should-not-paste-in-the-send-box-when-focus-is-on-a-text-box-of-an-adaptive-card-1-snap.png b/__tests__/__image_snapshots__/chrome-docker/focus-js-type-focus-sink-should-not-paste-in-the-send-box-when-focus-is-on-a-text-box-of-an-adaptive-card-1-snap.png index b6cf885dd5..67bc487297 100644 Binary files a/__tests__/__image_snapshots__/chrome-docker/focus-js-type-focus-sink-should-not-paste-in-the-send-box-when-focus-is-on-a-text-box-of-an-adaptive-card-1-snap.png and b/__tests__/__image_snapshots__/chrome-docker/focus-js-type-focus-sink-should-not-paste-in-the-send-box-when-focus-is-on-a-text-box-of-an-adaptive-card-1-snap.png differ diff --git a/__tests__/__image_snapshots__/chrome-docker/focus-js-type-focus-sink-should-not-type-in-the-send-box-when-focus-is-on-a-text-box-of-an-adaptive-card-1-snap.png b/__tests__/__image_snapshots__/chrome-docker/focus-js-type-focus-sink-should-not-type-in-the-send-box-when-focus-is-on-a-text-box-of-an-adaptive-card-1-snap.png index 0606398310..62b5de69f1 100644 Binary files a/__tests__/__image_snapshots__/chrome-docker/focus-js-type-focus-sink-should-not-type-in-the-send-box-when-focus-is-on-a-text-box-of-an-adaptive-card-1-snap.png and b/__tests__/__image_snapshots__/chrome-docker/focus-js-type-focus-sink-should-not-type-in-the-send-box-when-focus-is-on-a-text-box-of-an-adaptive-card-1-snap.png differ diff --git a/__tests__/__image_snapshots__/chrome-docker/input-js-textarea-send-on-enter-1-snap.png b/__tests__/__image_snapshots__/chrome-docker/input-js-textarea-send-on-enter-1-snap.png index f89e76c9c9..76be235b00 100644 Binary files a/__tests__/__image_snapshots__/chrome-docker/input-js-textarea-send-on-enter-1-snap.png and b/__tests__/__image_snapshots__/chrome-docker/input-js-textarea-send-on-enter-1-snap.png differ diff --git a/__tests__/__image_snapshots__/chrome-docker/markdown-js-hero-card-1-snap.png b/__tests__/__image_snapshots__/chrome-docker/markdown-js-hero-card-1-snap.png index 26a62aea9a..25304ecfab 100644 Binary files a/__tests__/__image_snapshots__/chrome-docker/markdown-js-hero-card-1-snap.png and b/__tests__/__image_snapshots__/chrome-docker/markdown-js-hero-card-1-snap.png differ diff --git a/__tests__/__image_snapshots__/chrome-docker/offline-ui-js-offline-ui-should-display-send-failed-retry-when-activity-is-not-able-to-send-1-snap.png b/__tests__/__image_snapshots__/chrome-docker/offline-ui-js-offline-ui-should-display-send-failed-retry-when-activity-is-not-able-to-send-1-snap.png index d3ab17ecac..d9b5494b73 100644 Binary files a/__tests__/__image_snapshots__/chrome-docker/offline-ui-js-offline-ui-should-display-send-failed-retry-when-activity-is-not-able-to-send-1-snap.png and b/__tests__/__image_snapshots__/chrome-docker/offline-ui-js-offline-ui-should-display-send-failed-retry-when-activity-is-not-able-to-send-1-snap.png differ diff --git a/__tests__/__image_snapshots__/chrome-docker/offline-ui-js-offline-ui-should-display-send-failed-retry-when-activity-is-sent-but-not-acknowledged-1-snap.png b/__tests__/__image_snapshots__/chrome-docker/offline-ui-js-offline-ui-should-display-send-failed-retry-when-activity-is-sent-but-not-acknowledged-1-snap.png index d5fff28f7b..b32b139624 100644 Binary files a/__tests__/__image_snapshots__/chrome-docker/offline-ui-js-offline-ui-should-display-send-failed-retry-when-activity-is-sent-but-not-acknowledged-1-snap.png and b/__tests__/__image_snapshots__/chrome-docker/offline-ui-js-offline-ui-should-display-send-failed-retry-when-activity-is-sent-but-not-acknowledged-1-snap.png differ diff --git a/__tests__/__image_snapshots__/chrome-docker/offline-ui-js-offline-ui-should-show-render-error-connectivity-status-when-a-java-script-error-is-present-in-the-code-1-snap.png b/__tests__/__image_snapshots__/chrome-docker/offline-ui-js-offline-ui-should-show-render-error-connectivity-status-when-a-java-script-error-is-present-in-the-code-1-snap.png index 71e524ba5f..95b84f30f8 100644 Binary files a/__tests__/__image_snapshots__/chrome-docker/offline-ui-js-offline-ui-should-show-render-error-connectivity-status-when-a-java-script-error-is-present-in-the-code-1-snap.png and b/__tests__/__image_snapshots__/chrome-docker/offline-ui-js-offline-ui-should-show-render-error-connectivity-status-when-a-java-script-error-is-present-in-the-code-1-snap.png differ diff --git a/__tests__/__image_snapshots__/chrome-docker/rich-cards-js-audio-card-1-snap.png b/__tests__/__image_snapshots__/chrome-docker/rich-cards-js-audio-card-1-snap.png index 4f6d2468a4..75f7af12b7 100644 Binary files a/__tests__/__image_snapshots__/chrome-docker/rich-cards-js-audio-card-1-snap.png and b/__tests__/__image_snapshots__/chrome-docker/rich-cards-js-audio-card-1-snap.png differ diff --git a/__tests__/__image_snapshots__/chrome-docker/rich-cards-js-hero-card-1-snap.png b/__tests__/__image_snapshots__/chrome-docker/rich-cards-js-hero-card-1-snap.png index 3198745df5..2dc39fa8ab 100644 Binary files a/__tests__/__image_snapshots__/chrome-docker/rich-cards-js-hero-card-1-snap.png and b/__tests__/__image_snapshots__/chrome-docker/rich-cards-js-hero-card-1-snap.png differ diff --git a/__tests__/__image_snapshots__/chrome-docker/rich-cards-js-receipt-card-1-snap.png b/__tests__/__image_snapshots__/chrome-docker/rich-cards-js-receipt-card-1-snap.png index 7a22e096d3..df0151d578 100644 Binary files a/__tests__/__image_snapshots__/chrome-docker/rich-cards-js-receipt-card-1-snap.png and b/__tests__/__image_snapshots__/chrome-docker/rich-cards-js-receipt-card-1-snap.png differ diff --git a/__tests__/__image_snapshots__/chrome-docker/scroll-to-bottom-js-clicking-new-messages-button-should-scroll-to-end-and-stick-to-bottom-2-snap.png b/__tests__/__image_snapshots__/chrome-docker/scroll-to-bottom-js-clicking-new-messages-button-should-scroll-to-end-and-stick-to-bottom-2-snap.png index df78ec7df3..1fa1739fd7 100644 Binary files a/__tests__/__image_snapshots__/chrome-docker/scroll-to-bottom-js-clicking-new-messages-button-should-scroll-to-end-and-stick-to-bottom-2-snap.png and b/__tests__/__image_snapshots__/chrome-docker/scroll-to-bottom-js-clicking-new-messages-button-should-scroll-to-end-and-stick-to-bottom-2-snap.png differ diff --git a/__tests__/__image_snapshots__/chrome-docker/scroll-to-bottom-js-clicking-new-messages-button-should-scroll-to-end-and-stick-to-bottom-3-snap.png b/__tests__/__image_snapshots__/chrome-docker/scroll-to-bottom-js-clicking-new-messages-button-should-scroll-to-end-and-stick-to-bottom-3-snap.png index 22c4f648ba..c949440647 100644 Binary files a/__tests__/__image_snapshots__/chrome-docker/scroll-to-bottom-js-clicking-new-messages-button-should-scroll-to-end-and-stick-to-bottom-3-snap.png and b/__tests__/__image_snapshots__/chrome-docker/scroll-to-bottom-js-clicking-new-messages-button-should-scroll-to-end-and-stick-to-bottom-3-snap.png differ diff --git a/__tests__/__image_snapshots__/chrome-docker/send-box-js-should-focus-send-box-when-message-is-being-sent-1-snap.png b/__tests__/__image_snapshots__/chrome-docker/send-box-js-should-focus-send-box-when-message-is-being-sent-1-snap.png index e4e81178c9..eeeef8f553 100644 Binary files a/__tests__/__image_snapshots__/chrome-docker/send-box-js-should-focus-send-box-when-message-is-being-sent-1-snap.png and b/__tests__/__image_snapshots__/chrome-docker/send-box-js-should-focus-send-box-when-message-is-being-sent-1-snap.png differ diff --git a/__tests__/__image_snapshots__/chrome-docker/stacked-js-stacked-with-avatar-initials-4-attachments-1-snap.png b/__tests__/__image_snapshots__/chrome-docker/stacked-js-stacked-with-avatar-initials-4-attachments-1-snap.png index 822846bda1..5e1fed1aa0 100644 Binary files a/__tests__/__image_snapshots__/chrome-docker/stacked-js-stacked-with-avatar-initials-4-attachments-1-snap.png and b/__tests__/__image_snapshots__/chrome-docker/stacked-js-stacked-with-avatar-initials-4-attachments-1-snap.png differ diff --git a/__tests__/__image_snapshots__/chrome-docker/style-options-js-style-options-bubble-background-and-color-1-snap.png b/__tests__/__image_snapshots__/chrome-docker/style-options-js-style-options-bubble-background-and-color-1-snap.png index 2150ef2be8..9786664557 100644 Binary files a/__tests__/__image_snapshots__/chrome-docker/style-options-js-style-options-bubble-background-and-color-1-snap.png and b/__tests__/__image_snapshots__/chrome-docker/style-options-js-style-options-bubble-background-and-color-1-snap.png differ diff --git a/__tests__/__image_snapshots__/chrome-docker/style-options-js-style-options-hide-scroll-to-bottom-button-1-snap.png b/__tests__/__image_snapshots__/chrome-docker/style-options-js-style-options-hide-scroll-to-bottom-button-1-snap.png index 27efa6427c..47241081e2 100644 Binary files a/__tests__/__image_snapshots__/chrome-docker/style-options-js-style-options-hide-scroll-to-bottom-button-1-snap.png and b/__tests__/__image_snapshots__/chrome-docker/style-options-js-style-options-hide-scroll-to-bottom-button-1-snap.png differ diff --git a/__tests__/__image_snapshots__/chrome-docker/style-options-js-style-options-hide-scroll-to-bottom-button-2-snap.png b/__tests__/__image_snapshots__/chrome-docker/style-options-js-style-options-hide-scroll-to-bottom-button-2-snap.png index a8e28deda9..28e7da051e 100644 Binary files a/__tests__/__image_snapshots__/chrome-docker/style-options-js-style-options-hide-scroll-to-bottom-button-2-snap.png and b/__tests__/__image_snapshots__/chrome-docker/style-options-js-style-options-hide-scroll-to-bottom-button-2-snap.png differ diff --git a/__tests__/__image_snapshots__/chrome-docker/suggested-actions-js-suggested-actions-command-should-show-response-from-bot-and-no-text-from-user-on-imback-1-snap.png b/__tests__/__image_snapshots__/chrome-docker/suggested-actions-js-suggested-actions-command-should-show-response-from-bot-and-no-text-from-user-on-imback-1-snap.png index a3b685182c..3c81421676 100644 Binary files a/__tests__/__image_snapshots__/chrome-docker/suggested-actions-js-suggested-actions-command-should-show-response-from-bot-and-no-text-from-user-on-imback-1-snap.png and b/__tests__/__image_snapshots__/chrome-docker/suggested-actions-js-suggested-actions-command-should-show-response-from-bot-and-no-text-from-user-on-imback-1-snap.png differ diff --git a/__tests__/__image_snapshots__/chrome-docker/suggested-actions-js-suggested-actions-command-should-show-response-from-bot-and-no-text-from-user-on-postback-1-snap.png b/__tests__/__image_snapshots__/chrome-docker/suggested-actions-js-suggested-actions-command-should-show-response-from-bot-and-no-text-from-user-on-postback-1-snap.png index 228c81754c..61aa20b6c7 100644 Binary files a/__tests__/__image_snapshots__/chrome-docker/suggested-actions-js-suggested-actions-command-should-show-response-from-bot-and-no-text-from-user-on-postback-1-snap.png and b/__tests__/__image_snapshots__/chrome-docker/suggested-actions-js-suggested-actions-command-should-show-response-from-bot-and-no-text-from-user-on-postback-1-snap.png differ diff --git a/__tests__/__image_snapshots__/chrome-docker/video-js-video-1-snap.png b/__tests__/__image_snapshots__/chrome-docker/video-js-video-1-snap.png index 546732d99a..8f7ba455fd 100644 Binary files a/__tests__/__image_snapshots__/chrome-docker/video-js-video-1-snap.png and b/__tests__/__image_snapshots__/chrome-docker/video-js-video-1-snap.png differ diff --git a/__tests__/setup/pageObjects/playMediaToCompletion.js b/__tests__/setup/pageObjects/playMediaToCompletion.js index 17584330e5..b64448d1e6 100644 --- a/__tests__/setup/pageObjects/playMediaToCompletion.js +++ b/__tests__/setup/pageObjects/playMediaToCompletion.js @@ -1,13 +1,13 @@ import executePromiseScript from './executePromiseScript'; -export default async function pingBot(driver, mediaElement) { +export default async function playMediaToCompletion(driver, mediaElement) { await executePromiseScript( driver, mediaElement => new Promise(resolve => { mediaElement.loop = false; mediaElement.play(); - mediaElement.onended = resolve; + mediaElement.onended = () => resolve(); }), mediaElement );