To migrate Permissions Tests Part 1 test (#2299)
migrate all-permissions-1
This commit is contained in:
committed by
GitHub
parent
ce255c5181
commit
3746dd47f8
16
.github/workflows/jobs.yaml
vendored
16
.github/workflows/jobs.yaml
vendored
@@ -401,7 +401,7 @@ jobs:
|
|||||||
- reuse-golang-dependencies
|
- reuse-golang-dependencies
|
||||||
- vulnerable-dependencies-checks
|
- vulnerable-dependencies-checks
|
||||||
- semgrep-static-code-analysis
|
- semgrep-static-code-analysis
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: [ self-hosted, vm-docker, xvfb-run ]
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
go-version: [ 1.18.x, 1.19.x ]
|
go-version: [ 1.18.x, 1.19.x ]
|
||||||
@@ -465,6 +465,18 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
make console
|
make console
|
||||||
|
|
||||||
|
- name: Install dependencies
|
||||||
|
env:
|
||||||
|
GO111MODULE: on
|
||||||
|
GOOS: linux
|
||||||
|
run: |
|
||||||
|
cd portal-ui; yarn install;
|
||||||
|
|
||||||
|
- name: clean-previous-containers-if-any
|
||||||
|
run: |
|
||||||
|
docker stop minio || true;
|
||||||
|
docker container prune -f || true;
|
||||||
|
|
||||||
- name: Start Console, front-end app and initialize users/policies
|
- name: Start Console, front-end app and initialize users/policies
|
||||||
run: |
|
run: |
|
||||||
(./console server) & (make initialize-permissions)
|
(./console server) & (make initialize-permissions)
|
||||||
@@ -472,7 +484,7 @@ jobs:
|
|||||||
- name: Run TestCafe Tests
|
- name: Run TestCafe Tests
|
||||||
uses: DevExpress/testcafe-action@latest
|
uses: DevExpress/testcafe-action@latest
|
||||||
with:
|
with:
|
||||||
args: '"chrome:headless" portal-ui/tests/permissions-1/ --skip-js-errors -c 3'
|
args: '"chrome --headless --no-sandbox" portal-ui/tests/permissions-1/ --skip-js-errors -c 3'
|
||||||
|
|
||||||
- name: Clean up users & policies
|
- name: Clean up users & policies
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user