Skip to content

Commit

Permalink
make web integration tests identical to flutter fire
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmednfwela committed Nov 26, 2024
1 parent c3b9614 commit 778fca3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -184,8 +184,8 @@ jobs:
- name: Run Web Integration Tests
working-directory: ${{ matrix.working-directory }}
run: |
chromedriver --verbose --port=4444 --trace-buffer-size=100000 | tee chromedriver.log & sleep 5
flutter drive --driver=test_driver/integration_test.dart --target=integration_test/app_test.dart -d chrome | tee output.log
chromedriver --port=4444 --trace-buffer-size=100000 &
flutter drive --driver=./test_driver/integration_test.dart --target=./integration_test/app_test.dart -d chrome | tee output.log
# We have to check the output for failed tests matching the string "[E]"
output=$(<output.log)
if [[ "$output" =~ \[E\] ]]; then
Expand Down

0 comments on commit 778fca3

Please sign in to comment.