-
Notifications
You must be signed in to change notification settings - Fork 607
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* UI: visuail tests initial * add Dashboards screenshots * addes snapshots images * increased maxDiffPixels threshold * remove logging
- Loading branch information
Showing
21 changed files
with
103 additions
and
25 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
/config.local | ||
/tmp | ||
/cache |
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,4 @@ | ||
[core] | ||
remote = gs | ||
['remote "gs"'] | ||
url = gs://evidently-service-visual-testing |
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,3 @@ | ||
# Add patterns of files dvc should ignore, which could improve | ||
# the performance. Learn more at | ||
# https://dvc.org/doc/user-guide/dvcignore |
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 |
---|---|---|
|
@@ -75,9 +75,15 @@ jobs: | |
architecture: "x64" | ||
cache: "pip" | ||
|
||
- name: Install python dependencies | ||
- name: Install Evidently | ||
run: pip install -e . | ||
|
||
- name: Install dvc | ||
run: pip install dvc[gs] | ||
|
||
- name: Pull data | ||
run: dvc pull | ||
|
||
- uses: pnpm/action-setup@v2 | ||
with: | ||
version: 8 | ||
|
@@ -98,11 +104,11 @@ jobs: | |
run: pnpm dlx [email protected] install --with-deps | ||
|
||
- name: Run UI | ||
run: evidently ui --port 8000 --demo-projects bikes,reviews --workspace test-workspace & | ||
run: evidently ui --port 8000 --workspace workspace-for-visual-testing & | ||
|
||
- name: Wait UI to be ready to test | ||
working-directory: ui/service | ||
run: pnpm wait-on tcp:127.0.0.1:8000 -t 300000 | ||
run: pnpm wait-on tcp:127.0.0.1:8000 -t 10000 | ||
|
||
- name: Run Service Playwright tests | ||
working-directory: ui/service | ||
|
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 |
---|---|---|
|
@@ -20,3 +20,4 @@ __pycache__ | |
# see .devcontainer/devcontainer.json | ||
test-workspace | ||
workspace | ||
workspace-for-visual-testing |
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 added
BIN
+275 KB
...ts/visual.spec.ts-snapshots/Dashboard-Demo-project---Bikes-1-chromium-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
+460 KB
.../visual.spec.ts-snapshots/Dashboard-Demo-project---Reviews-1-chromium-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 removed
BIN
-275 KB
...ts/visual.spec.ts-snapshots/Demo-project---Bikes-Dashboard-1-chromium-linux.png
Binary file not shown.
Binary file removed
BIN
-708 KB
...tests/visual.spec.ts-snapshots/Demo-project---Bikes-Report-1-chromium-linux.png
Binary file not shown.
Binary file removed
BIN
-294 KB
...s/visual.spec.ts-snapshots/Demo-project---Bikes-Test-Suite-1-chromium-linux.png
Binary file not shown.
Binary file removed
BIN
-459 KB
.../visual.spec.ts-snapshots/Demo-project---Reviews-Dashboard-1-chromium-linux.png
Binary file not shown.
Binary file removed
BIN
-1.06 MB
...sts/visual.spec.ts-snapshots/Demo-project---Reviews-Report-1-chromium-linux.png
Binary file not shown.
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
+709 KB
...tests/visual.spec.ts-snapshots/Report-Demo-project---Bikes-1-chromium-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
+1.06 MB
...sts/visual.spec.ts-snapshots/Report-Demo-project---Reviews-1-chromium-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
+458 KB
...visual.spec.ts-snapshots/Reports-List-Demo-project---Bikes-1-chromium-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
+295 KB
...s/visual.spec.ts-snapshots/Test-Suite-Demo-project---Bikes-1-chromium-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
+533 KB
...al.spec.ts-snapshots/Test-Suites-List-Demo-project---Bikes-1-chromium-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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
outs: | ||
- md5: 9136a5067f431ded98869250d0476667.dir | ||
size: 9283262 | ||
nfiles: 97 | ||
hash: md5 | ||
path: workspace-for-visual-testing |