From 59fa0836128620e029a4da1718136a9265144336 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Eike=20Ha=C3=9F?= Date: Fri, 28 Jun 2024 18:23:23 +0200 Subject: [PATCH] fix docker workflow --- .github/workflows/build-and-test.yml | 4 ++-- bindings/wasm/package.json | 4 ++++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index 364f6fadd1..b7ec88ec52 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -258,7 +258,7 @@ jobs: load: true - name: Run cypress - run: docker run cypress-test --browser firefox + run: docker run cypress-test test:browser:parallel:firefox - name: Tear down iota sandbox if: always() @@ -311,7 +311,7 @@ jobs: load: true - name: Run cypress - run: docker run cypress-test --browser chrome + run: docker run test:browser:parallel:chrome - name: Tear down iota sandbox if: always() diff --git a/bindings/wasm/package.json b/bindings/wasm/package.json index 6aacd6014d..760a47f1de 100644 --- a/bindings/wasm/package.json +++ b/bindings/wasm/package.json @@ -22,7 +22,11 @@ "test": "npm run test:unit:node && npm run test:readme && npm run test:node && test:browser:parallel", "test:node": "ts-mocha -r tsconfig-paths/register -p tsconfig.node.json ./examples/src/tests/*.ts --parallel --jobs 4 --retries 3 --timeout 180000 --exit", "test:browser:parallel": "npm run build:examples:web && cypress-parallel -s test:browser -t 4 -d cypress/e2e -a '\"--quiet\"'", + "test:browser:parallel": "npm run build:examples:web && cypress-parallel -s test:browser:firefox -t 4 -d cypress/e2e -a '\"--quiet\"'", + "test:browser:parallel": "npm run build:examples:web && cypress-parallel -s test:browser:chrome -t 4 -d cypress/e2e -a '\"--quiet\"'", "test:browser": "cypress run --headless", + "test:browser:firefox": "cypress run --headless --browser firefox", + "test:browser:chrome": "cypress run --headless --browser chrome", "test:readme": "mocha ./tests/txm_readme.js --retries 3 --timeout 180000 --exit", "test:readme:rust": "mocha ./tests/txm_readme_rust.js --retries 3 --timeout 360000 --exit", "test:unit:node": "ts-mocha -p tsconfig.node.json ./tests/*.ts --parallel --exit",