You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@streampipes.apache.org by ze...@apache.org on 2021/11/30 10:10:45 UTC

[incubator-streampipes] 03/21: [STREAMPIPES-478] Use cypress actions plugin

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

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

commit 01ca67b74d4b02417967f748cd0e45763110f62a
Author: Philipp Zehnder <ze...@fzi.de>
AuthorDate: Sun Nov 28 15:11:04 2021 +0100

    [STREAMPIPES-478] Use cypress actions plugin
---
 .github/workflows/cypress-test.yml | 23 ++++++++++++-----------
 1 file changed, 12 insertions(+), 11 deletions(-)

diff --git a/.github/workflows/cypress-test.yml b/.github/workflows/cypress-test.yml
index 3e98951..586f790 100644
--- a/.github/workflows/cypress-test.yml
+++ b/.github/workflows/cypress-test.yml
@@ -48,15 +48,16 @@ jobs:
       - name: Build and run streampipes
         run: docker-compose up --build -d
 
-      - name: Wait till streampipes is started
-        uses: nev7n/wait_for_response@v1
-        with:
-          url: 'http://localhost/#/login'
-          responseCode: 200
-          timeout: 20000
-          interval: 500
+      - name: 'UI Tests'
+          uses: cypress-io/github-action@v2
+          with:
+            install: false
+            wait-on: 'http://localhost:80'
+            wait-on-timeout: 120
+            spec: cypress/tests/**/*.smoke.ts
 
-      - name: Run Cypress Tests
-        working-directory: ./ui
-        run: |
-          npm run test-cypress-github
+#      - name: Run Cypress Tests
+#        working-directory: ./ui
+#        run: |
+#          npm run test-cypress-github
+#
\ No newline at end of file