|
|
@@ -420,20 +420,10 @@ jobs:
|
|
|
MONGO_URI: mongodb://mongodb:27017/growi-playwright-installer
|
|
|
ELASTICSEARCH_URI: http://localhost:${{ job.services.elasticsearch.ports['9200'] }}/growi
|
|
|
|
|
|
- - name: Copy dotenv file for automatic installation
|
|
|
- working-directory: ./apps/app
|
|
|
- run: |
|
|
|
- cat config/ci/.env.local.for-auto-install >> .env.production.local
|
|
|
-
|
|
|
- - name: Copy dotenv file for automatic installation with allowing guest mode
|
|
|
- if: ${{ matrix.spec-group == '21' }}
|
|
|
- working-directory: ./apps/app
|
|
|
- run: |
|
|
|
- cat config/ci/.env.local.for-auto-install-with-allowing-guest >> .env.production.local
|
|
|
-
|
|
|
- name: Playwright Run
|
|
|
working-directory: ./apps/app
|
|
|
run: |
|
|
|
+ cat config/ci/.env.local.for-auto-install >> .env.production.local
|
|
|
yarn playwright test --project=${{ matrix.browser }} --shard=${{ matrix.shard }}
|
|
|
env:
|
|
|
HOME: /root # ref: https://github.com/microsoft/playwright/issues/6500
|
|
|
@@ -444,6 +434,7 @@ jobs:
|
|
|
if: ${{ matrix.browser == 'chromium' }}
|
|
|
working-directory: ./apps/app
|
|
|
run: |
|
|
|
+ cat config/ci/.env.local.for-auto-install-with-allowing-guest >> .env.production.local
|
|
|
yarn playwright test --project=${{ matrix.browser }}/guest-mode --shard=${{ matrix.shard }}
|
|
|
env:
|
|
|
HOME: /root # ref: https://github.com/microsoft/playwright/issues/6500
|