diff --git a/.github/workflows/pr-build-and-e2e-tests.yml b/.github/workflows/pr-build-and-e2e-tests.yml index 213e20bb6a7..0b0e08a34ff 100644 --- a/.github/workflows/pr-build-and-e2e-tests.yml +++ b/.github/workflows/pr-build-and-e2e-tests.yml @@ -118,7 +118,7 @@ jobs: - name: Load docker images and start containers. working-directory: package/woocommerce/plugins/woocommerce - run: pnpx wc-e2e docker:up + run: pnpx wc-e2e docker:up && pnpx wc-e2e docker:wait - name: Move current directory to code. We will install zip file in this dir later. run: mv ./package/woocommerce/plugins/woocommerce/* ./code/woocommerce @@ -141,10 +141,6 @@ jobs: npm install -g pnpm pnpm install - - name: Wait for the Docker container to be built - working-directory: package/woocommerce/plugins/woocommerce - run: pnpx wc-e2e docker:wait - - name: Run tests command. working-directory: package/woocommerce/plugins/woocommerce env: