diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml
index 206183cd..b1494a29 100644
--- a/.github/workflows/tests.yml
+++ b/.github/workflows/tests.yml
@@ -38,6 +38,11 @@ jobs:
       - name: Wait for services to be ready
         run: |
           sleep 80 # Adjust time as necessary for services to initialize
+      - name: Run start-test-components.sh for web client tests
+        run: |
+          cd clients/tests/web
+          chmod +x start-test-components.sh
+          ./start-test-components.sh
       - name: Verify Bitcoin daemon Service and create wallet
         run: |
           container_id=$(docker ps -qf "name=mercurylayer-bitcoind-1")
@@ -160,11 +165,6 @@ jobs:
           node test_basic_workflow2.js
           node test_atomic_swap.js
           mocha ./test/tb04-simple-lightning-latch.mjs --exit
-      - name: Run start-test-components.sh for web client tests
-        run: |
-          cd clients/tests/web
-          chmod +x start-test-components.sh
-          ./start-test-components.sh
       - name: Run web client Tests
         run: |
           cd clients/tests/web