This repository has been archived by the owner on Feb 22, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 63
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
41 changed files
with
120 additions
and
62 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
-1.96 KB
(98%)
...lts-old.spec.ts-snapshots/audio-results-narrow-viewport-desktop-UA-sm-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-4.65 KB
(95%)
...lts-old.spec.ts-snapshots/audio-results-narrow-viewport-desktop-UA-xs-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
39 changes: 39 additions & 0 deletions
39
test/playwright/visual-regression/components/audio-results.spec.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
import { test } from '@playwright/test' | ||
|
||
import breakpoints from '~~/test/playwright/utils/breakpoints' | ||
import { | ||
closeFilters, | ||
enableNewHeader, | ||
} from '~~/test/playwright/utils/navigation' | ||
|
||
test.describe.configure({ mode: 'parallel' }) | ||
|
||
test.describe('audio results', () => { | ||
test.beforeEach(async ({ page }) => { | ||
await enableNewHeader(page) | ||
await page.goto('/search/audio?q=birds') | ||
}) | ||
|
||
breakpoints.describeEachMobile({ uaMocking: false }, ({ expectSnapshot }) => { | ||
test('should render small row layout desktop UA with narrow viewport', async ({ | ||
page, | ||
}) => { | ||
await expectSnapshot('audio-results-narrow-viewport-desktop-UA', page) | ||
}) | ||
}) | ||
|
||
breakpoints.describeEachMobile({ uaMocking: true }, ({ expectSnapshot }) => { | ||
test('should render small row layout mobile UA with narrow viewport', async ({ | ||
page, | ||
}) => { | ||
await expectSnapshot('audio-results-narrow-viewport-mobile-UA', page) | ||
}) | ||
}) | ||
|
||
breakpoints.describeEachDesktop(({ expectSnapshot }) => { | ||
test('desktop audio results', async ({ page }) => { | ||
await closeFilters(page) | ||
await expectSnapshot('audio-results-desktop', page) | ||
}) | ||
}) | ||
}) |
Binary file added
BIN
+131 KB
.../components/audio-results.spec.ts-snapshots/audio-results-desktop-2xl-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+118 KB
...n/components/audio-results.spec.ts-snapshots/audio-results-desktop-lg-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+126 KB
...n/components/audio-results.spec.ts-snapshots/audio-results-desktop-xl-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+105 KB
...results.spec.ts-snapshots/audio-results-narrow-viewport-desktop-UA-sm-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+92.6 KB
...results.spec.ts-snapshots/audio-results-narrow-viewport-desktop-UA-xs-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+105 KB
...-results.spec.ts-snapshots/audio-results-narrow-viewport-mobile-UA-sm-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+92.6 KB
...-results.spec.ts-snapshots/audio-results-narrow-viewport-mobile-UA-xs-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file added
BIN
+4.37 KB
.../visual-regression/components/header.spec.ts-snapshots/resting-ltr-md-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+2.58 KB
.../visual-regression/components/header.spec.ts-snapshots/resting-ltr-sm-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+2.4 KB
.../visual-regression/components/header.spec.ts-snapshots/resting-ltr-xs-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+3.87 KB
.../visual-regression/components/header.spec.ts-snapshots/resting-rtl-md-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+2.55 KB
.../visual-regression/components/header.spec.ts-snapshots/resting-rtl-sm-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+2.39 KB
.../visual-regression/components/header.spec.ts-snapshots/resting-rtl-xs-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+4.38 KB
...visual-regression/components/header.spec.ts-snapshots/scrolled-ltr-md-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+2.58 KB
...visual-regression/components/header.spec.ts-snapshots/scrolled-ltr-sm-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+2.41 KB
...visual-regression/components/header.spec.ts-snapshots/scrolled-ltr-xs-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+3.87 KB
...visual-regression/components/header.spec.ts-snapshots/scrolled-rtl-md-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+2.55 KB
...visual-regression/components/header.spec.ts-snapshots/scrolled-rtl-sm-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+2.39 KB
...visual-regression/components/header.spec.ts-snapshots/scrolled-rtl-xs-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+5.48 KB
...egression/components/header.spec.ts-snapshots/searchbar-active-ltr-md-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+5.13 KB
...egression/components/header.spec.ts-snapshots/searchbar-active-ltr-sm-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+4.26 KB
...egression/components/header.spec.ts-snapshots/searchbar-active-ltr-xs-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+5.46 KB
...egression/components/header.spec.ts-snapshots/searchbar-active-rtl-md-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+5.11 KB
...egression/components/header.spec.ts-snapshots/searchbar-active-rtl-sm-linux.png
Oops, something went wrong.
Binary file added
BIN
+4.24 KB
...egression/components/header.spec.ts-snapshots/searchbar-active-rtl-xs-linux.png
Oops, something went wrong.
Binary file added
BIN
+4.81 KB
...gression/components/header.spec.ts-snapshots/searchbar-hovered-ltr-md-linux.png
Oops, something went wrong.
Binary file added
BIN
+3.04 KB
...gression/components/header.spec.ts-snapshots/searchbar-hovered-ltr-sm-linux.png
Oops, something went wrong.
Binary file added
BIN
+2.85 KB
...gression/components/header.spec.ts-snapshots/searchbar-hovered-ltr-xs-linux.png
Oops, something went wrong.
Binary file added
BIN
+4.34 KB
...gression/components/header.spec.ts-snapshots/searchbar-hovered-rtl-md-linux.png
Oops, something went wrong.
Binary file added
BIN
+3.03 KB
...gression/components/header.spec.ts-snapshots/searchbar-hovered-rtl-sm-linux.png
Oops, something went wrong.
Binary file added
BIN
+2.86 KB
...gression/components/header.spec.ts-snapshots/searchbar-hovered-rtl-xs-linux.png
Oops, something went wrong.