Skip to content

Commit

Permalink
testing
Browse files Browse the repository at this point in the history
  • Loading branch information
SinaSeylani committed Jun 19, 2024
1 parent 7809eaa commit 67ea848
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/web-integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
- name: Set up ChromeDriver
uses: nanasess/setup-chromedriver@v2

- name: Start Xvfb
run: |
export DISPLAY=:99
Expand All @@ -51,9 +51,7 @@ jobs:

- name: Run Web tests
run: |
for test in integration_test/*.dart; do
flutter drive --driver=test_driver/integration_test.dart --target=$test -d web-server --web-port=4200 --browser-name=chrome --headless --dart-define=MAILOSAUR_API_KEY=${{ secrets.MAILOSAUR_API_KEY }} || exit 1
done
flutter drive --driver=test_driver/integration_test.dart --target=integration_test/magic_link_test.dart -d chrome --web-port 4200
working-directory: ./integrationtestapp
env:
MAILOSAUR_API_KEY: ${{ secrets.MAILOSAUR_API_KEY }}

0 comments on commit 67ea848

Please sign in to comment.