Needs credentials for Google Translate API in repo's secrets.
|
- name: "Run Cypress tests: comment translation" |
|
if: env.DO_COMMENT_TRANSLATION |
|
uses: cypress-io/github-action@v2 |
|
env: |
|
CYPRESS_BASE_URL: https://localhost |
|
with: |
|
install: false |
|
working-directory: ./e2e |
|
spec: "**/comment-translation.secrets.spec.js" |
|
# Prevent cypress from discarding screenshots/videos from default test run. |
|
config: "trashAssetsBeforeRuns=false" |
|
browser: chrome |
Needs credentials for Google Translate API in repo's secrets.
polis/.github/workflows/cypress-tests.yml
Lines 75 to 86 in d83d32a