diff --git a/.github/workflows/e2e-test.yml b/.github/workflows/e2e-test.yml index 7bbd6db4d..13ba016a8 100644 --- a/.github/workflows/e2e-test.yml +++ b/.github/workflows/e2e-test.yml @@ -14,6 +14,9 @@ jobs: - uses: actions/setup-node@v4 with: node-version: 18 + - name: Set file/directory permissions + run: | + chmod 777 trust uploads modules templates_c cache mainfile.php - name: Run Docker Compose run: | docker-compose up -d @@ -23,20 +26,18 @@ jobs: host: localhost port: 3306 timeout: 60 - - name: Setup tmate session - uses: mxschmitt/action-tmate@v3 - # - name: Install dependencies - # run: npm ci - # working-directory: ci - # - name: Install Playwright Browsers - # run: npx playwright install --with-deps - # working-directory: ci - # - name: Run Playwright tests - # run: npx playwright test - # working-directory: ci - # - uses: actions/upload-artifact@v3 - # if: always() - # with: - # name: playwright-report - # path: playwright-report/ - # retention-days: 30 + - name: Install dependencies + run: npm ci + working-directory: ci + - name: Install Playwright Browsers + run: npx playwright install --with-deps + working-directory: ci + - name: Run Playwright tests + run: npx playwright test + working-directory: ci + - uses: actions/upload-artifact@v3 + if: always() + with: + name: playwright-report + path: playwright-report/ + retention-days: 30