Add Android landscape screenshots

This commit is contained in:
Gabe Kangas 2023-02-12 14:50:26 -08:00
parent 99485b65cc
commit 7d288365b4
No known key found for this signature in database
GPG key ID: 4345B2060657F330
18 changed files with 58 additions and 31 deletions

View file

@ -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,
// },

View file

@ -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

View file

@ -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>

View file

@ -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 } }}
/>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 63 KiB

After

Width:  |  Height:  |  Size: 64 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 125 KiB

After

Width:  |  Height:  |  Size: 126 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 103 KiB

After

Width:  |  Height:  |  Size: 103 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 136 KiB

After

Width:  |  Height:  |  Size: 138 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 55 KiB

After

Width:  |  Height:  |  Size: 57 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 40 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 40 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 204 KiB

After

Width:  |  Height:  |  Size: 185 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 32 KiB

After

Width:  |  Height:  |  Size: 33 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 32 KiB

After

Width:  |  Height:  |  Size: 33 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB