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 06:43:09 UTC

[incubator-streampipes] 10/18: [STREAMPIPES-478] Add wait to cypress action

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 7e442943806b33ca91698ae6c5a3c1ad67ef0a4b
Author: Philipp Zehnder <ze...@fzi.de>
AuthorDate: Sun Nov 28 17:39:39 2021 +0100

    [STREAMPIPES-478] Add wait to cypress action
---
 .github/workflows/cypress-test.yml | 27 +++++++++++++++++----------
 1 file changed, 17 insertions(+), 10 deletions(-)

diff --git a/.github/workflows/cypress-test.yml b/.github/workflows/cypress-test.yml
index 963c55d..a7004fc 100644
--- a/.github/workflows/cypress-test.yml
+++ b/.github/workflows/cypress-test.yml
@@ -34,7 +34,7 @@ jobs:
       - name: Set up Node
         uses: actions/setup-node@v1
         with:
-          node-version: '14'
+          node-version: '16.x'
       - name: Build UI
         working-directory: ./ui
         run: |
@@ -60,20 +60,27 @@ jobs:
         working-directory: ./installer/compose
         run: docker ps
 
-      - name: 'UI Tests'
+      - name: Wait 30 seconds
+        working-directory: ./installer/compose
+        run: sleep 30
+
+      - name: Docker PS
+        working-directory: ./installer/compose
+        run: docker ps
+
+        - name: 'UI Tests'
         uses: cypress-io/github-action@v2
         with:
           install: false
-          node-version: '14'
           wait-on: 'http://localhost/#/login'
           wait-on-timeout: 120
           spec: cypress/tests/**/*.smoke.ts
           working-directory: ui
 
-      - name: Run Cypress Tests
-        working-directory: ./ui
-        run: |
-          NODE_PATH=/cache/node_modules
-          NODE_OPTIONS=--max_old_space_size=6096
-          npm install --unsafe-perm --legacy-peer-deps
-          npm run test-cypress-github
\ No newline at end of file
+#      - name: Run Cypress Tests
+#        working-directory: ./ui
+#        run: |
+#          NODE_PATH=/cache/node_modules
+#          NODE_OPTIONS=--max_old_space_size=6096
+#          npm install --unsafe-perm --legacy-peer-deps
+#          npm run test-cypress-github
\ No newline at end of file