This is an automated email from the ASF dual-hosted git repository.

riemer pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/streampipes.git


The following commit(s) were added to refs/heads/dev by this push:
     new ad2ea97b34 fix: Replace Cypress action with approved action
ad2ea97b34 is described below

commit ad2ea97b34c82164cae16e04f8fcc822c77872c7
Author: Dominik Riemer <[email protected]>
AuthorDate: Tue Aug 5 14:51:19 2025 +0200

    fix: Replace Cypress action with approved action
---
 .github/workflows/cypress-test.yml  | 16 ++++------------
 .github/workflows/pr-validation.yml | 13 ++++---------
 2 files changed, 8 insertions(+), 21 deletions(-)

diff --git a/.github/workflows/cypress-test.yml 
b/.github/workflows/cypress-test.yml
index e7c2ed6122..ac31a148b1 100644
--- a/.github/workflows/cypress-test.yml
+++ b/.github/workflows/cypress-test.yml
@@ -54,18 +54,10 @@ jobs:
       - name: Build and run streampipes
         run: docker compose up --build -d
 
-      - name: Wait 70 seconds
+      - name: Wait 80 seconds
         working-directory: ./installer/compose
-        run: sleep 70
+        run: sleep 80
 
       - name: 'UI Tests'
-        uses: cypress-io/github-action@v6
-        with:
-          install: false
-          wait-on: 'http://localhost/#/login'
-          record: true
-          wait-on-timeout: 120
-          spec: cypress/tests/**/*.spec.ts
-          working-directory: ui
-        env:
-          CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}
+        working-directory: ./ui
+        run: npx cypress run --record --key ${{ secrets.CYPRESS_RECORD_KEY }}  
--spec "cypress/tests/**/*.spec.ts"
diff --git a/.github/workflows/pr-validation.yml 
b/.github/workflows/pr-validation.yml
index 321431379a..5db4a3107f 100644
--- a/.github/workflows/pr-validation.yml
+++ b/.github/workflows/pr-validation.yml
@@ -97,18 +97,13 @@ jobs:
       - name: Build and run streampipes
         run: docker compose up --build -d
 
-      - name: Wait 70 seconds
+      - name: Wait 80 seconds
         working-directory: ./installer/compose
-        run: sleep 70
+        run: sleep 80
 
       - name: 'UI Tests'
-        uses: cypress-io/github-action@v6
-        with:
-          install: false
-          wait-on: 'http://localhost/#/login'
-          wait-on-timeout: 120
-          spec: cypress/tests/**/*.smoke.spec.ts
-          working-directory: ui
+        working-directory: ./ui
+        run: npx cypress run --spec "cypress/tests/**/*.smoke.spec.ts"
 
   python-quality-checks:
     runs-on: ubuntu-latest

Reply via email to