diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index ee09d245d..82d147ac1 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -32,16 +32,15 @@ jobs: with: path: '**/node_modules' key: ${{ runner.os }}-${{ hashFiles('**/yarn.lock') }} - + - name: Install dependencies - if: steps.cache.outputs.cache-hit != 'true' run: yarn setup - name: Install Playwright Browsers - run: npx playwright install chromium --with-deps + run: yarn dlx playwright install chromium --with-deps - name: Run dev server - run: yarn run:omrs develop --sources packages/apps/esm-login-app --port 8180 & # Refer to O3-1994 + run: yarn run:omrs develop --sources packages/apps/esm-*-app --port 8180 & # Refer to O3-1994 - name: Run E2E tests run: yarn playwright test @@ -80,11 +79,10 @@ jobs: key: ${{ runner.os }}-${{ hashFiles('**/yarn.lock') }} - name: Install dependencies - if: steps.cache.outputs.cache-hit != 'true' run: yarn setup - name: Install Playwright Browsers - run: npx playwright install chromium --with-deps + run: yarn dlx playwright install chromium --with-deps - name: Run db and web containers run: |