Skip to content

Add Playwright for Flutter Web #12

Add Playwright for Flutter Web

Add Playwright for Flutter Web #12

name: Integration tests
on:
workflow_dispatch:
pull_request:
paths-ignore:
- "**/*.md"
env:
JAVA_VERSION: 22
jobs:
integration_test:
name: Run integration tests
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Java
uses: actions/setup-java@v4
with:
java-version: ${{ env.JAVA_VERSION }}
distribution: "temurin"
cache: maven
cache-dependency-path: "tmail_selenium/pom.xml"
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build local image
uses: docker/build-push-action@v6
with:
load: true
tags: tmail-web:integration-test
- uses: browser-actions/setup-chrome@v1
with:
chrome-version: stable
install-chromedriver: true
- uses: browser-actions/setup-firefox@v1
- uses: browser-actions/setup-geckodriver@latest
- name: Configure frontend
env:
FRONTEND_CONFIG: ${{ secrets.FRONTEND_CONFIG }}
FRONTEND_CREDS: ${{ secrets.FRONTEND_CREDS }}
run: ../scripts/setup-desktop-integration-tests.sh
working-directory: tmail_selenium
- name: Run integration tests
run: ../scripts/run-desktop-integration-tests.sh
working-directory: tmail_selenium