-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(SPV-1105): run visual tests in docker
thanks by that screenshots will be consistent between the repository and github actions (linux)
- Loading branch information
1 parent
31017d5
commit f4084e1
Showing
18 changed files
with
39 additions
and
4 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
FROM node:22-bookworm-slim | ||
|
||
RUN npx -y [email protected] install --with-deps | ||
|
||
WORKDIR /app | ||
|
||
COPY package.json ./ | ||
COPY yarn.lock ./ | ||
|
||
RUN yarn install | ||
|
||
COPY . . | ||
|
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,20 @@ | ||
services: | ||
playwright-tests: | ||
build: | ||
context: ./.. | ||
dockerfile: playwright/Dockerfile | ||
volumes: | ||
- ../src/__tests__/visual/__screenshoots__:/app/src/__tests__/visual/__screenshoots__ | ||
- ../playwright-report:/app/playwright-report | ||
- ../test-results:/app/test-results | ||
command: npx playwright test --reporter=html | ||
environment: | ||
CI: false | ||
|
||
playwright-update-tests: | ||
build: | ||
context: ./.. | ||
dockerfile: playwright/Dockerfile | ||
volumes: | ||
- ../src/__tests__/visual/__screenshoots__:/app/src/__tests__/visual/__screenshoots__ | ||
command: npx playwright test --update-snapshots |
Binary file added
BIN
+224 KB
...screenshoots__/login-page-login-form/linux/login-page-login-form-1-chromium.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
+308 KB
..._screenshoots__/login-page-login-form/linux/login-page-login-form-1-firefox.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
+227 KB
...__screenshoots__/login-page-login-form/linux/login-page-login-form-1-webkit.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
+225 KB
...alid-credentials/linux/login-page-login-with-invalid-credentials-1-chromium.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
+309 KB
...valid-credentials/linux/login-page-login-with-invalid-credentials-1-firefox.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
+228 KB
...nvalid-credentials/linux/login-page-login-with-invalid-credentials-1-webkit.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
+84.2 KB
...age-xpubs-table-with-data/linux/xpubs-page-xpubs-table-with-data-1-chromium.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
+109 KB
...page-xpubs-table-with-data/linux/xpubs-page-xpubs-table-with-data-1-firefox.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
+67.1 KB
...-page-xpubs-table-with-data/linux/xpubs-page-xpubs-table-with-data-1-webkit.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 removed
BIN
-224 KB
...l/login-page/__screenshoots__/login-page-login-form/login-page-login-form-1.png
Binary file not shown.
Binary file removed
BIN
-225 KB
...-login-with-invalid-credentials/login-page-login-with-invalid-credentials-1.png
Binary file not shown.
Binary file removed
BIN
-78.8 KB
...hoots__/xpubs-page-xpubs-table-with-data/xpubs-page-xpubs-table-with-data-1.png
Binary file not shown.
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