-
Notifications
You must be signed in to change notification settings - Fork 69
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Integrate Playwrite library into the app. Add necessary infrastructur…
…e to fully support of visual regression tests.
- Loading branch information
Showing
219 changed files
with
2,473 additions
and
437 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,79 @@ | ||
name: e2e tests | ||
on: | ||
pull_request: | ||
branches: | ||
- develop | ||
- main | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.base_ref }}-${{ github.head_ref }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
e2e-tests: | ||
timeout-minutes: 60 | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
shardIndex: [1] | ||
shardTotal: [1] | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: '18.x' | ||
cache: 'yarn' | ||
cache-dependency-path: | | ||
**/yarn.lock | ||
- name: 'Build' | ||
run: | | ||
yarn | ||
yarn build | ||
cd server && yarn | ||
- name: 'Run e2e tests' | ||
run: yarn test-e2e --shard=${{ matrix.shardIndex }}/${{ matrix.shardTotal }} | ||
|
||
- name: 'Upload e2e blob report' | ||
if: always() | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: e2e-blob-report-${{ matrix.shardIndex }} | ||
path: ./uui-e2e-tests/tests/.report/report | ||
retention-days: 1 | ||
|
||
e2e-tests-merge-reports: | ||
if: always() | ||
needs: [e2e-tests] | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: '18.x' | ||
cache: 'yarn' | ||
cache-dependency-path: | | ||
**/yarn.lock | ||
- name: 'Install dependencies' | ||
run: | | ||
yarn | ||
cd server && yarn | ||
- name: 'Download all e2e blob reports' | ||
uses: actions/download-artifact@v4 | ||
with: | ||
path: e2e-blob-reports-all | ||
pattern: e2e-blob-report-* | ||
merge-multiple: true | ||
|
||
- name: 'Merge all e2e blob reports' | ||
run: yarn test-e2e-report-merge ./e2e-blob-reports-all | ||
|
||
- name: 'Upload HTML report' | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: html-e2e-report-attempt-${{ github.run_attempt }} | ||
path: playwright-report | ||
retention-days: 3 |
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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
11 changes: 11 additions & 0 deletions
11
app/src/common/docs/baseDocBlock/BaseDocsBlock.module.scss
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,11 @@ | ||
.container { | ||
display: flex; | ||
flex-direction: column; | ||
flex: 1 1 0; | ||
min-width: 0; | ||
height: calc(100vh - 60px); | ||
overflow: hidden; | ||
background-color: var(--uui-surface-main); | ||
border-top: 1px solid var(--uui-divider); | ||
box-sizing: border-box; | ||
} |
Oops, something went wrong.