diff --git a/ui/playwright.config.ts b/ui/playwright.config.ts index 4a83bb8ae..2af1d6f36 100644 --- a/ui/playwright.config.ts +++ b/ui/playwright.config.ts @@ -38,6 +38,18 @@ export default defineConfig({ viewport: { width: 1280, height: 720 }, }, }, + { + name: "iphone", + use: { + ...devices["iPhone 15"], + }, + }, + { + name: "android", + use: { + ...devices["Pixel 7"], + }, + }, ], webServer: { command: "npx vite --port 3123 --strictPort", diff --git a/ui/src/e2e/snapshots/android/EmptyGrid.png b/ui/src/e2e/snapshots/android/EmptyGrid.png new file mode 100644 index 000000000..5523c1302 Binary files /dev/null and b/ui/src/e2e/snapshots/android/EmptyGrid.png differ diff --git a/ui/src/e2e/snapshots/android/FatalError.png b/ui/src/e2e/snapshots/android/FatalError.png new file mode 100644 index 000000000..8ca3a6def Binary files /dev/null and b/ui/src/e2e/snapshots/android/FatalError.png differ diff --git a/ui/src/e2e/snapshots/android/Grid.png b/ui/src/e2e/snapshots/android/Grid.png new file mode 100644 index 000000000..4d1088a23 Binary files /dev/null and b/ui/src/e2e/snapshots/android/Grid.png differ diff --git a/ui/src/e2e/snapshots/android/GridColorTitleBar.png b/ui/src/e2e/snapshots/android/GridColorTitleBar.png new file mode 100644 index 000000000..4d1088a23 Binary files /dev/null and b/ui/src/e2e/snapshots/android/GridColorTitleBar.png differ diff --git a/ui/src/e2e/snapshots/android/InternalError.png b/ui/src/e2e/snapshots/android/InternalError.png new file mode 100644 index 000000000..683a6ef1c Binary files /dev/null and b/ui/src/e2e/snapshots/android/InternalError.png differ diff --git a/ui/src/e2e/snapshots/android/MainModal.png b/ui/src/e2e/snapshots/android/MainModal.png new file mode 100644 index 000000000..ab392cddb Binary files /dev/null and b/ui/src/e2e/snapshots/android/MainModal.png differ diff --git a/ui/src/e2e/snapshots/android/ManagedSilence.png b/ui/src/e2e/snapshots/android/ManagedSilence.png new file mode 100644 index 000000000..93b5f8b45 Binary files /dev/null and b/ui/src/e2e/snapshots/android/ManagedSilence.png differ diff --git a/ui/src/e2e/snapshots/android/NavBar.png b/ui/src/e2e/snapshots/android/NavBar.png new file mode 100644 index 000000000..ce45ac878 Binary files /dev/null and b/ui/src/e2e/snapshots/android/NavBar.png differ diff --git a/ui/src/e2e/snapshots/android/NavBarPaused.png b/ui/src/e2e/snapshots/android/NavBarPaused.png new file mode 100644 index 000000000..ce45ac878 Binary files /dev/null and b/ui/src/e2e/snapshots/android/NavBarPaused.png differ diff --git a/ui/src/e2e/snapshots/android/NoUpstream.png b/ui/src/e2e/snapshots/android/NoUpstream.png new file mode 100644 index 000000000..f98079172 Binary files /dev/null and b/ui/src/e2e/snapshots/android/NoUpstream.png differ diff --git a/ui/src/e2e/snapshots/android/OverviewModal.png b/ui/src/e2e/snapshots/android/OverviewModal.png new file mode 100644 index 000000000..c9028f58d Binary files /dev/null and b/ui/src/e2e/snapshots/android/OverviewModal.png differ diff --git a/ui/src/e2e/snapshots/android/ReloadNeeded.png b/ui/src/e2e/snapshots/android/ReloadNeeded.png new file mode 100644 index 000000000..d40564e8f Binary files /dev/null and b/ui/src/e2e/snapshots/android/ReloadNeeded.png differ diff --git a/ui/src/e2e/snapshots/android/SilenceModalBrowser.png b/ui/src/e2e/snapshots/android/SilenceModalBrowser.png new file mode 100644 index 000000000..797dbd5af Binary files /dev/null and b/ui/src/e2e/snapshots/android/SilenceModalBrowser.png differ diff --git a/ui/src/e2e/snapshots/android/SilenceModalEditor.png b/ui/src/e2e/snapshots/android/SilenceModalEditor.png new file mode 100644 index 000000000..882825fea Binary files /dev/null and b/ui/src/e2e/snapshots/android/SilenceModalEditor.png differ diff --git a/ui/src/e2e/snapshots/android/SilenceModalEditorEndsTab.png b/ui/src/e2e/snapshots/android/SilenceModalEditorEndsTab.png new file mode 100644 index 000000000..46a2031b5 Binary files /dev/null and b/ui/src/e2e/snapshots/android/SilenceModalEditorEndsTab.png differ diff --git a/ui/src/e2e/snapshots/android/SilenceModalEditorReadOnly.png b/ui/src/e2e/snapshots/android/SilenceModalEditorReadOnly.png new file mode 100644 index 000000000..07e3ade95 Binary files /dev/null and b/ui/src/e2e/snapshots/android/SilenceModalEditorReadOnly.png differ diff --git a/ui/src/e2e/snapshots/android/SilenceModalEmptyBrowser.png b/ui/src/e2e/snapshots/android/SilenceModalEmptyBrowser.png new file mode 100644 index 000000000..4ba810eb3 Binary files /dev/null and b/ui/src/e2e/snapshots/android/SilenceModalEmptyBrowser.png differ diff --git a/ui/src/e2e/snapshots/android/Toast.png b/ui/src/e2e/snapshots/android/Toast.png new file mode 100644 index 000000000..a30819469 Binary files /dev/null and b/ui/src/e2e/snapshots/android/Toast.png differ diff --git a/ui/src/e2e/snapshots/android/UpgradeNeeded.png b/ui/src/e2e/snapshots/android/UpgradeNeeded.png new file mode 100644 index 000000000..a4d731f04 Binary files /dev/null and b/ui/src/e2e/snapshots/android/UpgradeNeeded.png differ diff --git a/ui/src/e2e/snapshots/iphone/EmptyGrid.png b/ui/src/e2e/snapshots/iphone/EmptyGrid.png new file mode 100644 index 000000000..f7e5a2088 Binary files /dev/null and b/ui/src/e2e/snapshots/iphone/EmptyGrid.png differ diff --git a/ui/src/e2e/snapshots/iphone/FatalError.png b/ui/src/e2e/snapshots/iphone/FatalError.png new file mode 100644 index 000000000..a57437aaf Binary files /dev/null and b/ui/src/e2e/snapshots/iphone/FatalError.png differ diff --git a/ui/src/e2e/snapshots/iphone/Grid.png b/ui/src/e2e/snapshots/iphone/Grid.png new file mode 100644 index 000000000..bf0ca6468 Binary files /dev/null and b/ui/src/e2e/snapshots/iphone/Grid.png differ diff --git a/ui/src/e2e/snapshots/iphone/GridColorTitleBar.png b/ui/src/e2e/snapshots/iphone/GridColorTitleBar.png new file mode 100644 index 000000000..bf0ca6468 Binary files /dev/null and b/ui/src/e2e/snapshots/iphone/GridColorTitleBar.png differ diff --git a/ui/src/e2e/snapshots/iphone/InternalError.png b/ui/src/e2e/snapshots/iphone/InternalError.png new file mode 100644 index 000000000..c9cf612cb Binary files /dev/null and b/ui/src/e2e/snapshots/iphone/InternalError.png differ diff --git a/ui/src/e2e/snapshots/iphone/MainModal.png b/ui/src/e2e/snapshots/iphone/MainModal.png new file mode 100644 index 000000000..676f8cd00 Binary files /dev/null and b/ui/src/e2e/snapshots/iphone/MainModal.png differ diff --git a/ui/src/e2e/snapshots/iphone/ManagedSilence.png b/ui/src/e2e/snapshots/iphone/ManagedSilence.png new file mode 100644 index 000000000..dbaf25f0f Binary files /dev/null and b/ui/src/e2e/snapshots/iphone/ManagedSilence.png differ diff --git a/ui/src/e2e/snapshots/iphone/NavBar.png b/ui/src/e2e/snapshots/iphone/NavBar.png new file mode 100644 index 000000000..56d470104 Binary files /dev/null and b/ui/src/e2e/snapshots/iphone/NavBar.png differ diff --git a/ui/src/e2e/snapshots/iphone/NavBarPaused.png b/ui/src/e2e/snapshots/iphone/NavBarPaused.png new file mode 100644 index 000000000..56d470104 Binary files /dev/null and b/ui/src/e2e/snapshots/iphone/NavBarPaused.png differ diff --git a/ui/src/e2e/snapshots/iphone/NoUpstream.png b/ui/src/e2e/snapshots/iphone/NoUpstream.png new file mode 100644 index 000000000..a78e52f54 Binary files /dev/null and b/ui/src/e2e/snapshots/iphone/NoUpstream.png differ diff --git a/ui/src/e2e/snapshots/iphone/OverviewModal.png b/ui/src/e2e/snapshots/iphone/OverviewModal.png new file mode 100644 index 000000000..f867037f3 Binary files /dev/null and b/ui/src/e2e/snapshots/iphone/OverviewModal.png differ diff --git a/ui/src/e2e/snapshots/iphone/ReloadNeeded.png b/ui/src/e2e/snapshots/iphone/ReloadNeeded.png new file mode 100644 index 000000000..26df27f04 Binary files /dev/null and b/ui/src/e2e/snapshots/iphone/ReloadNeeded.png differ diff --git a/ui/src/e2e/snapshots/iphone/SilenceModalBrowser.png b/ui/src/e2e/snapshots/iphone/SilenceModalBrowser.png new file mode 100644 index 000000000..9794b0874 Binary files /dev/null and b/ui/src/e2e/snapshots/iphone/SilenceModalBrowser.png differ diff --git a/ui/src/e2e/snapshots/iphone/SilenceModalEditor.png b/ui/src/e2e/snapshots/iphone/SilenceModalEditor.png new file mode 100644 index 000000000..77c1c2969 Binary files /dev/null and b/ui/src/e2e/snapshots/iphone/SilenceModalEditor.png differ diff --git a/ui/src/e2e/snapshots/iphone/SilenceModalEditorEndsTab.png b/ui/src/e2e/snapshots/iphone/SilenceModalEditorEndsTab.png new file mode 100644 index 000000000..88b0cdb76 Binary files /dev/null and b/ui/src/e2e/snapshots/iphone/SilenceModalEditorEndsTab.png differ diff --git a/ui/src/e2e/snapshots/iphone/SilenceModalEditorReadOnly.png b/ui/src/e2e/snapshots/iphone/SilenceModalEditorReadOnly.png new file mode 100644 index 000000000..d286c4d63 Binary files /dev/null and b/ui/src/e2e/snapshots/iphone/SilenceModalEditorReadOnly.png differ diff --git a/ui/src/e2e/snapshots/iphone/SilenceModalEmptyBrowser.png b/ui/src/e2e/snapshots/iphone/SilenceModalEmptyBrowser.png new file mode 100644 index 000000000..5e2350a3f Binary files /dev/null and b/ui/src/e2e/snapshots/iphone/SilenceModalEmptyBrowser.png differ diff --git a/ui/src/e2e/snapshots/iphone/Toast.png b/ui/src/e2e/snapshots/iphone/Toast.png new file mode 100644 index 000000000..f7c275099 Binary files /dev/null and b/ui/src/e2e/snapshots/iphone/Toast.png differ diff --git a/ui/src/e2e/snapshots/iphone/UpgradeNeeded.png b/ui/src/e2e/snapshots/iphone/UpgradeNeeded.png new file mode 100644 index 000000000..d32399d1c Binary files /dev/null and b/ui/src/e2e/snapshots/iphone/UpgradeNeeded.png differ