diff --git a/test/automated/screenshots/index.js b/test/automated/screenshots/index.js index c840811cf..8b60eef53 100644 --- a/test/automated/screenshots/index.js +++ b/test/automated/screenshots/index.js @@ -23,22 +23,22 @@ const testBrowsersPortrait = [ browser_version: '16.0', real_mobile: null, }, - // { - // os: 'OS X', - // os_version: 'Ventura', - // browser: 'firefox', - // device: null, - // browser_version: '90.0', - // real_mobile: null, - // }, - // { - // os: 'Windows', - // os_version: '10', - // browser: 'firefox', - // device: null, - // browser_version: '90.0', - // real_mobile: null, - // }, + { + os: 'OS X', + os_version: 'Ventura', + browser: 'firefox', + device: null, + browser_version: '89.0', + real_mobile: null, + }, + { + os: 'Windows', + os_version: '11', + browser: 'firefox', + device: null, + browser_version: '89.0', + real_mobile: null, + }, { os: 'Windows', os_version: '11', @@ -82,14 +82,14 @@ const testBrowsersPortrait = [ ]; const testBrowsersLandscape = [ - // { - // os: 'android', - // os_version: '13.0', - // browser: 'Android Browser', - // device: 'Google Pixel 7 Pro', - // browser_version: null, - // real_mobile: true, - // }, + { + os: 'android', + os_version: '10.0', + browser: 'Android Browser', + device: 'Samsung Galaxy S20 Ultra', + browser_version: null, + real_mobile: true, + }, { os: 'ios', os_version: '16', @@ -102,7 +102,7 @@ const testBrowsersLandscape = [ // os: 'ios', // os_version: '16', // browser: 'Mobile Safari', - // device: 'iPhone 14 Pro', + // device: 'iPhone 14', // browser_version: null, // real_mobile: true, // }, diff --git a/test/automated/screenshots/run.sh b/test/automated/screenshots/run.sh index 767655327..a9309da03 100755 --- a/test/automated/screenshots/run.sh +++ b/test/automated/screenshots/run.sh @@ -4,17 +4,18 @@ set -e set -o errexit set -o pipefail +finish() { + kill_with_kids "$BROWSERSTACK_PID" + kill_with_kids "$STREAM_PID" +} + rm -rf ./screenshots mkdir -p ./screenshots curl -o ./BrowserStackLocal-linux-x64.zip https://www.browserstack.com/browserstack-local/BrowserStackLocal-linux-x64.zip unzip -o ./BrowserStackLocal-linux-x64.zip ./BrowserStackLocal --key "$BROWSERSTACK_KEY" & - -finish() { - killall BrowserStackLocal - kill_with_kids "$STREAM_PID" -} +BROWSERSTACK_PID=$! trap finish EXIT TERM INT diff --git a/web/.storybook/stories-category-doc-pages/screenshots/android/Screenshots-android-stock-browser-landscape.stories.mdx b/web/.storybook/stories-category-doc-pages/screenshots/android/Screenshots-android-stock-browser-landscape.stories.mdx new file mode 100644 index 000000000..d0df27682 --- /dev/null +++ b/web/.storybook/stories-category-doc-pages/screenshots/android/Screenshots-android-stock-browser-landscape.stories.mdx @@ -0,0 +1,26 @@ +import { Canvas, Meta, Story } from '@storybook/addon-docs'; + + + + + +Android Browser offline + + + + + +Android Browser offline + + diff --git a/web/.storybook/stories-category-doc-pages/screenshots/android/Screenshots-android-stock-browser.stories.mdx b/web/.storybook/stories-category-doc-pages/screenshots/android/Screenshots-android-stock-browser-portrait.stories.mdx similarity index 88% rename from web/.storybook/stories-category-doc-pages/screenshots/android/Screenshots-android-stock-browser.stories.mdx rename to web/.storybook/stories-category-doc-pages/screenshots/android/Screenshots-android-stock-browser-portrait.stories.mdx index 02e4571c8..22f4035b6 100644 --- a/web/.storybook/stories-category-doc-pages/screenshots/android/Screenshots-android-stock-browser.stories.mdx +++ b/web/.storybook/stories-category-doc-pages/screenshots/android/Screenshots-android-stock-browser-portrait.stories.mdx @@ -1,7 +1,7 @@ import { Canvas, Meta, Story } from '@storybook/addon-docs'; diff --git a/web/.storybook/story-assets/screenshots/android-10.0-android-browser-samsung-galaxy-s20-ultra-landscape-offline.png b/web/.storybook/story-assets/screenshots/android-10.0-android-browser-samsung-galaxy-s20-ultra-landscape-offline.png new file mode 100644 index 000000000..bbd7d8ae9 Binary files /dev/null and b/web/.storybook/story-assets/screenshots/android-10.0-android-browser-samsung-galaxy-s20-ultra-landscape-offline.png differ diff --git a/web/.storybook/story-assets/screenshots/android-10.0-android-browser-samsung-galaxy-s20-ultra-landscape-online.png b/web/.storybook/story-assets/screenshots/android-10.0-android-browser-samsung-galaxy-s20-ultra-landscape-online.png new file mode 100644 index 000000000..fad81d872 Binary files /dev/null and b/web/.storybook/story-assets/screenshots/android-10.0-android-browser-samsung-galaxy-s20-ultra-landscape-online.png differ diff --git a/web/.storybook/story-assets/screenshots/android-13.0-android-browser-google-pixel-7-pro-portrait-online.png b/web/.storybook/story-assets/screenshots/android-13.0-android-browser-google-pixel-7-pro-portrait-online.png index bc40df5af..40065c436 100644 Binary files a/web/.storybook/story-assets/screenshots/android-13.0-android-browser-google-pixel-7-pro-portrait-online.png and b/web/.storybook/story-assets/screenshots/android-13.0-android-browser-google-pixel-7-pro-portrait-online.png differ diff --git a/web/.storybook/story-assets/screenshots/ios-16-mobile-safari-ipad-pro-11-2022-landscape-online.png b/web/.storybook/story-assets/screenshots/ios-16-mobile-safari-ipad-pro-11-2022-landscape-online.png index b1fc32446..51cef6b13 100644 Binary files a/web/.storybook/story-assets/screenshots/ios-16-mobile-safari-ipad-pro-11-2022-landscape-online.png and b/web/.storybook/story-assets/screenshots/ios-16-mobile-safari-ipad-pro-11-2022-landscape-online.png differ diff --git a/web/.storybook/story-assets/screenshots/ios-16-mobile-safari-ipad-pro-11-2022-portrait-offline.png b/web/.storybook/story-assets/screenshots/ios-16-mobile-safari-ipad-pro-11-2022-portrait-offline.png index 4e222a9ca..0c7b81418 100644 Binary files a/web/.storybook/story-assets/screenshots/ios-16-mobile-safari-ipad-pro-11-2022-portrait-offline.png and b/web/.storybook/story-assets/screenshots/ios-16-mobile-safari-ipad-pro-11-2022-portrait-offline.png differ diff --git a/web/.storybook/story-assets/screenshots/ios-16-mobile-safari-ipad-pro-11-2022-portrait-online.png b/web/.storybook/story-assets/screenshots/ios-16-mobile-safari-ipad-pro-11-2022-portrait-online.png index 8503dd34e..d6208da96 100644 Binary files a/web/.storybook/story-assets/screenshots/ios-16-mobile-safari-ipad-pro-11-2022-portrait-online.png and b/web/.storybook/story-assets/screenshots/ios-16-mobile-safari-ipad-pro-11-2022-portrait-online.png differ diff --git a/web/.storybook/story-assets/screenshots/ios-16-mobile-safari-iphone-14-pro-portrait-online.png b/web/.storybook/story-assets/screenshots/ios-16-mobile-safari-iphone-14-pro-portrait-online.png index afda66c3f..3fd1ba222 100644 Binary files a/web/.storybook/story-assets/screenshots/ios-16-mobile-safari-iphone-14-pro-portrait-online.png and b/web/.storybook/story-assets/screenshots/ios-16-mobile-safari-iphone-14-pro-portrait-online.png differ diff --git a/web/.storybook/story-assets/screenshots/os-x-ventura-firefox-desktop-default-offline.png b/web/.storybook/story-assets/screenshots/os-x-ventura-firefox-desktop-default-offline.png new file mode 100644 index 000000000..1dbf402d3 Binary files /dev/null and b/web/.storybook/story-assets/screenshots/os-x-ventura-firefox-desktop-default-offline.png differ diff --git a/web/.storybook/story-assets/screenshots/os-x-ventura-firefox-desktop-default-online.png b/web/.storybook/story-assets/screenshots/os-x-ventura-firefox-desktop-default-online.png new file mode 100644 index 000000000..1dbf402d3 Binary files /dev/null and b/web/.storybook/story-assets/screenshots/os-x-ventura-firefox-desktop-default-online.png differ diff --git a/web/.storybook/story-assets/screenshots/os-x-ventura-safari-desktop-default-online.png b/web/.storybook/story-assets/screenshots/os-x-ventura-safari-desktop-default-online.png index 9a4cbed9e..fcfdf5b32 100644 Binary files a/web/.storybook/story-assets/screenshots/os-x-ventura-safari-desktop-default-online.png and b/web/.storybook/story-assets/screenshots/os-x-ventura-safari-desktop-default-online.png differ diff --git a/web/.storybook/story-assets/screenshots/windows-10-edge-desktop-default-offline.png b/web/.storybook/story-assets/screenshots/windows-10-edge-desktop-default-offline.png index 02fa29ede..4852493ea 100644 Binary files a/web/.storybook/story-assets/screenshots/windows-10-edge-desktop-default-offline.png and b/web/.storybook/story-assets/screenshots/windows-10-edge-desktop-default-offline.png differ diff --git a/web/.storybook/story-assets/screenshots/windows-10-edge-desktop-default-online.png b/web/.storybook/story-assets/screenshots/windows-10-edge-desktop-default-online.png index 3aa941d82..d9720fe70 100644 Binary files a/web/.storybook/story-assets/screenshots/windows-10-edge-desktop-default-online.png and b/web/.storybook/story-assets/screenshots/windows-10-edge-desktop-default-online.png differ diff --git a/web/.storybook/story-assets/screenshots/windows-11-firefox-desktop-default-offline.png b/web/.storybook/story-assets/screenshots/windows-11-firefox-desktop-default-offline.png new file mode 100644 index 000000000..8378ca852 Binary files /dev/null and b/web/.storybook/story-assets/screenshots/windows-11-firefox-desktop-default-offline.png differ diff --git a/web/.storybook/story-assets/screenshots/windows-11-firefox-desktop-default-online.png b/web/.storybook/story-assets/screenshots/windows-11-firefox-desktop-default-online.png new file mode 100644 index 000000000..8378ca852 Binary files /dev/null and b/web/.storybook/story-assets/screenshots/windows-11-firefox-desktop-default-online.png differ