Skip to content

Commit 2c43f00

Browse files
committed
Add Playwright tests with different baseUrl - #161
1 parent d5db173 commit 2c43f00

File tree

1 file changed

+18
-1
lines changed

1 file changed

+18
-1
lines changed

.github/workflows/ci.yml

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ jobs:
8989
- name: Install playwright dependencies
9090
working-directory: plugin/e2e
9191
run: npx playwright install chromium firefox
92-
- name: Run end to end tests
92+
- name: Run UI tests
9393
working-directory: plugin/e2e
9494
run: npx playwright test -c playwright.config.js
9595
- name: Stop development server
@@ -102,6 +102,23 @@ jobs:
102102
name: playwright-report
103103
path: e2e/playwright-report/
104104

105+
- name: Start development server proxy
106+
working-directory: plugin/runtime
107+
run: |
108+
docker compose up -f docker-compose-proxy.yml --detach --wait
109+
- name: Run UI tests proxy
110+
working-directory: plugin/e2e
111+
run: npx playwright test -c playwright.config.proxy.js
112+
- name: Stop development server proxy
113+
working-directory: plugin/runtime
114+
run: |
115+
docker compose down -f docker-compose-proxy.yml
116+
- uses: actions/upload-artifact@v4
117+
if: ${{ always() }}
118+
with:
119+
name: playwright-report-proxy
120+
path: e2e/playwright-report/
121+
105122
- name: Package signed .rpm
106123
if: endsWith(steps.requestPom.outputs.VERSION,'SNAPSHOT') == false
107124
working-directory: plugin

0 commit comments

Comments
 (0)