Fix handling keyboard in rich text dropdown #55
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: 'Run Playwright E2E tests' | |
on: | |
pull_request: | |
push: | |
branches: | |
- 'master' | |
env: | |
TEST_USER_EMAIL: 'uitest-${{ github.run_id }}@lumeer.io' | |
jobs: | |
run-tests: | |
timeout-minutes: 60 | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-java@v3 | |
with: | |
distribution: 'zulu' | |
java-version: '21' | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 20 | |
- name: Generate password to env variables | |
run: echo "TEST_USER_PASSWORD=$(uuidgen)" >> "$GITHUB_ENV" | |
- name: Build (mvn clean install) | |
run: | | |
chmod +x ./playwright-scripts/build.sh | |
./playwright-scripts/build.sh | |
- name: Install Playwright Browsers | |
run: npx playwright install --with-deps | |
- name: Run tests | |
run: | | |
chmod +x ./playwright-scripts/playwright-tests.sh | |
./playwright-scripts/playwright-tests.sh | |
shell: bash | |
- name: 'Upload artifact' | |
uses: actions/upload-artifact@v3 | |
if: always() | |
with: | |
name: playwright-report | |
path: playwright-report/ | |
retention-days: 30 |