Skip to content

Commit fd41d15

Browse files
committed
Fixes.
1 parent 43cfa17 commit fd41d15

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

.github/workflows/e2e-test.yml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ jobs:
6969
name: ${{ needs.detect-plugin.outputs.plugin }} Playwright E2E Tests
7070
env:
7171
PLUGIN: ${{ needs.detect-plugin.outputs.plugin }}
72+
7273
steps:
7374
- name: Checkout code
7475
uses: actions/checkout@v4
@@ -81,27 +82,27 @@ jobs:
8182

8283
- name: Install dependencies
8384
run: npm ci
84-
working-directory: plugins/${{ env.PLUGIN }}
8585

8686
- name: Setup PHP with Cached Composer
8787
uses: ./.github/actions/setup-php-composer
8888
with:
8989
php-version: 8.2
90-
working-directory: plugins/${{ env.PLUGIN }}
90+
working-directory: plugins/${{ env.PLUGIN }}
9191
composer-options: '--no-progress --optimize-autoloader --no-dev'
9292

93-
- name: Install playwright browsers (${{ env.PLUGIN }})
93+
- name: Install playwright browsers
9494
run: npx playwright install --with-deps
9595
working-directory: plugins/${{ env.PLUGIN }}
9696

97-
- name: Start wp-env (${{ env.PLUGIN }})
98-
run: npm run wp-env start
97+
- name: Start wp-env
98+
run: |
99+
npm run wp-env start
99100
working-directory: plugins/${{ env.PLUGIN }}
100101

101-
- name: Run Playwright tests (${{ env.PLUGIN }})
102+
- name: Run Playwright tests
102103
run: npm run test:e2e
103104
working-directory: plugins/${{ env.PLUGIN }}
104105

105-
- name: Stop wp-env (${{ env.PLUGIN }})
106+
- name: Stop wp-env
106107
run: npm run wp-env stop
107108
working-directory: plugins/${{ env.PLUGIN }}

0 commit comments

Comments
 (0)