Browse Source

Add Android landscape screenshots

pull/2704/head
Gabe Kangas 3 years ago
parent
commit
7d288365b4
No known key found for this signature in database
GPG Key ID: 4345B2060657F330
  1. 50
      test/automated/screenshots/index.js
  2. 11
      test/automated/screenshots/run.sh
  3. 26
      web/.storybook/stories-category-doc-pages/screenshots/android/Screenshots-android-stock-browser-landscape.stories.mdx
  4. 2
      web/.storybook/stories-category-doc-pages/screenshots/android/Screenshots-android-stock-browser-portrait.stories.mdx
  5. BIN
      web/.storybook/story-assets/screenshots/android-10.0-android-browser-samsung-galaxy-s20-ultra-landscape-offline.png
  6. BIN
      web/.storybook/story-assets/screenshots/android-10.0-android-browser-samsung-galaxy-s20-ultra-landscape-online.png
  7. BIN
      web/.storybook/story-assets/screenshots/android-13.0-android-browser-google-pixel-7-pro-portrait-online.png
  8. BIN
      web/.storybook/story-assets/screenshots/ios-16-mobile-safari-ipad-pro-11-2022-landscape-online.png
  9. BIN
      web/.storybook/story-assets/screenshots/ios-16-mobile-safari-ipad-pro-11-2022-portrait-offline.png
  10. BIN
      web/.storybook/story-assets/screenshots/ios-16-mobile-safari-ipad-pro-11-2022-portrait-online.png
  11. BIN
      web/.storybook/story-assets/screenshots/ios-16-mobile-safari-iphone-14-pro-portrait-online.png
  12. BIN
      web/.storybook/story-assets/screenshots/os-x-ventura-firefox-desktop-default-offline.png
  13. BIN
      web/.storybook/story-assets/screenshots/os-x-ventura-firefox-desktop-default-online.png
  14. BIN
      web/.storybook/story-assets/screenshots/os-x-ventura-safari-desktop-default-online.png
  15. BIN
      web/.storybook/story-assets/screenshots/windows-10-edge-desktop-default-offline.png
  16. BIN
      web/.storybook/story-assets/screenshots/windows-10-edge-desktop-default-online.png
  17. BIN
      web/.storybook/story-assets/screenshots/windows-11-firefox-desktop-default-offline.png
  18. BIN
      web/.storybook/story-assets/screenshots/windows-11-firefox-desktop-default-online.png

50
test/automated/screenshots/index.js

@ -23,22 +23,22 @@ const testBrowsersPortrait = [ @@ -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 = [ @@ -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 = [ @@ -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,
// },

11
test/automated/screenshots/run.sh

@ -4,17 +4,18 @@ set -e @@ -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

26
web/.storybook/stories-category-doc-pages/screenshots/android/Screenshots-android-stock-browser-landscape.stories.mdx

@ -0,0 +1,26 @@ @@ -0,0 +1,26 @@
import { Canvas, Meta, Story } from '@storybook/addon-docs';
<Meta
title="owncast/Screenshots/Android Landscape/Stock Browser"
parameters={{ chromatic: { disableSnapshot: true } }}
/>
<Story name="Offline">
<img
src="screenshots/android-10.0-android-browser-samsung-galaxy-s20-ultra-landscape-offline.png"
alt="Android Browser offline"
height="1000px"
/>
</Story>
<Story name="Online">
<img
src="screenshots/android-10.0-android-browser-samsung-galaxy-s20-ultra-landscape-online.png"
alt="Android Browser offline"
height="1000px"
/>
</Story>

2
web/.storybook/stories-category-doc-pages/screenshots/android/Screenshots-android-stock-browser.stories.mdx → web/.storybook/stories-category-doc-pages/screenshots/android/Screenshots-android-stock-browser-portrait.stories.mdx

@ -1,7 +1,7 @@ @@ -1,7 +1,7 @@
import { Canvas, Meta, Story } from '@storybook/addon-docs';
<Meta
title="owncast/Screenshots/Android/Stock Browser"
title="owncast/Screenshots/Android Portrait/Stock Browser"
parameters={{ chromatic: { disableSnapshot: true } }}
/>

BIN
web/.storybook/story-assets/screenshots/android-10.0-android-browser-samsung-galaxy-s20-ultra-landscape-offline.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 40 KiB

BIN
web/.storybook/story-assets/screenshots/android-10.0-android-browser-samsung-galaxy-s20-ultra-landscape-online.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 93 KiB

BIN
web/.storybook/story-assets/screenshots/android-13.0-android-browser-google-pixel-7-pro-portrait-online.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 63 KiB

After

Width:  |  Height:  |  Size: 64 KiB

BIN
web/.storybook/story-assets/screenshots/ios-16-mobile-safari-ipad-pro-11-2022-landscape-online.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 125 KiB

After

Width:  |  Height:  |  Size: 126 KiB

BIN
web/.storybook/story-assets/screenshots/ios-16-mobile-safari-ipad-pro-11-2022-portrait-offline.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 103 KiB

After

Width:  |  Height:  |  Size: 103 KiB

BIN
web/.storybook/story-assets/screenshots/ios-16-mobile-safari-ipad-pro-11-2022-portrait-online.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 136 KiB

After

Width:  |  Height:  |  Size: 138 KiB

BIN
web/.storybook/story-assets/screenshots/ios-16-mobile-safari-iphone-14-pro-portrait-online.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 55 KiB

After

Width:  |  Height:  |  Size: 57 KiB

BIN
web/.storybook/story-assets/screenshots/os-x-ventura-firefox-desktop-default-offline.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 40 KiB

BIN
web/.storybook/story-assets/screenshots/os-x-ventura-firefox-desktop-default-online.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 40 KiB

BIN
web/.storybook/story-assets/screenshots/os-x-ventura-safari-desktop-default-online.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 204 KiB

After

Width:  |  Height:  |  Size: 185 KiB

BIN
web/.storybook/story-assets/screenshots/windows-10-edge-desktop-default-offline.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 32 KiB

After

Width:  |  Height:  |  Size: 33 KiB

BIN
web/.storybook/story-assets/screenshots/windows-10-edge-desktop-default-online.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 32 KiB

After

Width:  |  Height:  |  Size: 33 KiB

BIN
web/.storybook/story-assets/screenshots/windows-11-firefox-desktop-default-offline.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

BIN
web/.storybook/story-assets/screenshots/windows-11-firefox-desktop-default-online.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Loading…
Cancel
Save