Skip to content

Commit 97ef82f

Browse files
bexsoftBenjamin Perez
andauthored
Fixed UI Tests (#3471)
Signed-off-by: Benjamin Perez <benjamin@bexsoft.net> Co-authored-by: Benjamin Perez <benjamin@bexsoft.net>
1 parent 2ca484c commit 97ef82f

File tree

13 files changed

+23
-398
lines changed

13 files changed

+23
-398
lines changed

.github/workflows/jobs.yaml

Lines changed: 0 additions & 95 deletions
Original file line numberDiff line numberDiff line change
@@ -537,101 +537,6 @@ jobs:
537537
timeout-minutes: 5
538538
run: npx testcafe "firefox:headless" web-app/tests/permissions-6/ --skip-js-errors
539539

540-
all-permissions-7:
541-
name: Permissions Tests Part 7
542-
needs:
543-
- compile-binary
544-
runs-on: [ubuntu-latest]
545-
strategy:
546-
matrix:
547-
go-version: [1.22.x]
548-
os: [ubuntu-latest]
549-
steps:
550-
- name: Check out code
551-
uses: actions/checkout@v3
552-
- name: Read .nvmrc
553-
id: node_version
554-
run: echo "$(cat .nvmrc)" && echo "NVMRC=$(cat .nvmrc)" >> $GITHUB_ENV
555-
- name: Enable Corepack
556-
run: corepack enable
557-
- uses: actions/setup-node@v4
558-
with:
559-
node-version: ${{ env.NVMRC }}
560-
- name: Install MinIO JS
561-
working-directory: ./
562-
continue-on-error: false
563-
run: |
564-
yarn add minio
565-
- uses: actions/cache@v4
566-
name: Console Binary Cache
567-
with:
568-
path: |
569-
./console
570-
key: ${{ runner.os }}-binary-${{ github.run_id }}
571-
572-
- name: clean-previous-containers-if-any
573-
run: |
574-
docker stop minio || true;
575-
docker container prune -f || true;
576-
577-
- name: Start Console, front-end app and initialize users/policies
578-
run: |
579-
(./console server) & (make initialize-permissions)
580-
- name: Install TestCafe
581-
run: npm install testcafe@3.5.0
582-
583-
- name: Run TestCafe Tests
584-
timeout-minutes: 5
585-
run: npx testcafe "firefox:headless" web-app/tests/permissions-7/ --skip-js-errors
586-
587-
all-permissions-8:
588-
name: Permissions Tests Part 8
589-
needs:
590-
- compile-binary
591-
runs-on: [ubuntu-latest]
592-
strategy:
593-
matrix:
594-
go-version: [1.22.x]
595-
os: [ubuntu-latest]
596-
steps:
597-
- name: Check out code
598-
uses: actions/checkout@v3
599-
- name: Read .nvmrc
600-
id: node_version
601-
run: echo "$(cat .nvmrc)" && echo "NVMRC=$(cat .nvmrc)" >> $GITHUB_ENV
602-
- name: Enable Corepack
603-
run: corepack enable
604-
- uses: actions/setup-node@v4
605-
with:
606-
node-version: ${{ env.NVMRC }}
607-
- name: Install MinIO JS
608-
working-directory: ./
609-
continue-on-error: false
610-
run: |
611-
yarn add minio
612-
- uses: actions/cache@v4
613-
name: Console Binary Cache
614-
with:
615-
path: |
616-
./console
617-
key: ${{ runner.os }}-binary-${{ github.run_id }}
618-
619-
- name: clean-previous-containers-if-any
620-
run: |
621-
docker stop minio || true;
622-
docker container prune -f || true;
623-
624-
- name: Start Console, front-end app and initialize users/policies
625-
run: |
626-
(./console server) & (make initialize-permissions)
627-
628-
- name: Install TestCafe
629-
run: npm install testcafe@3.5.0
630-
631-
- name: Run TestCafe Tests
632-
timeout-minutes: 5
633-
run: npx testcafe "firefox:headless" web-app/tests/permissions-8/ --skip-js-errors
634-
635540
all-permissions-A:
636541
name: Permissions Tests Part A
637542
needs:

Makefile

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -216,11 +216,6 @@ test-permissions-6:
216216
@(env bash $(PWD)/web-app/tests/scripts/permissions.sh "web-app/tests/permissions-6/")
217217
@(docker stop minio)
218218

219-
test-permissions-7:
220-
@(docker run -v /data1 -v /data2 -v /data3 -v /data4 -d --name minio --rm -p 9000:9000 quay.io/minio/minio:latest server /data{1...4})
221-
@(env bash $(PWD)/web-app/tests/scripts/permissions.sh "web-app/tests/permissions-7/")
222-
@(docker stop minio)
223-
224219
test-apply-permissions:
225220
@(env bash $(PWD)/web-app/tests/scripts/initialize-env.sh)
226221

integration/tiers_test.go

Lines changed: 0 additions & 53 deletions
This file was deleted.

web-app/tests/permissions-1/trace.ts

Lines changed: 0 additions & 68 deletions
This file was deleted.

web-app/tests/permissions-2/inspect.ts

Lines changed: 0 additions & 154 deletions
This file was deleted.

0 commit comments

Comments
 (0)