Make WordPress Core

Changeset 58431


Ignore:
Timestamp:
06/18/2024 10:49:29 AM (18 months ago)
Author:
swissspidy
Message:

Build/Test Tools: install additional languages in end-to-end tests.

As a follow-up to [58430], this makes another locale available during the e2e tests, allowing testing of scenarios that require loading translations in the future.

See #61240.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/.github/workflows/reusable-end-to-end-tests.yml

    r58329 r58431  
    4646  # - Install WordPress within the Docker container.
    4747  # - Install Gutenberg.
     48  # - Install additional languages.
    4849  # - Run the E2E tests.
    4950  # - Uploads screenshots and HTML snapshots as an artifact.
     
    115116        run: npm run env:cli -- plugin install gutenberg --path=/var/www/${{ env.LOCAL_DIR }}
    116117
     118      - name: Install additional languages
     119        run: |
     120          npm run env:cli -- language core install de_DE --path=/var/www/${{ env.LOCAL_DIR }}
     121          npm run env:cli -- language plugin install de_DE --all --path=/var/www/${{ env.LOCAL_DIR }}
     122          npm run env:cli -- language theme install de_DE --all --path=/var/www/${{ env.LOCAL_DIR }}
     123
    117124      - name: Run E2E tests
    118125        run: npm run test:e2e
Note: See TracChangeset for help on using the changeset viewer.