Skip to content

Commit

Permalink
sleep 5
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmednfwela committed Nov 25, 2024
1 parent 6a65f0f commit 743b4a5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -174,8 +174,8 @@ jobs:
uses: nanasess/setup-chromedriver@v2
- run: |
export DISPLAY=:99
chromedriver --port=4444 --url-base=/wd/hub &
sudo Xvfb -ac :99 -screen 0 1280x1024x24 > /dev/null 2>&1 & # optional
chromedriver --port=4444 --url-base=/wd/hub & sleep 5
sudo Xvfb -ac :99 -screen 0 1280x1024x24 > /dev/null 2>&1 & sleep 5 # optional
name: run chrome driver
- name: Run Web Integration Tests
run: melos run integration_test:chrome
Expand Down
2 changes: 1 addition & 1 deletion melos.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ scripts:
- ios
integration_test:chrome:
name: Flutter Chrome Integration tests
exec: flutter drive --driver=test_driver/integration_test.dart --target=integration_test/app_test.dart -d web-server # optional: --web-port=8080
exec: flutter drive --driver=test_driver/integration_test.dart --target=integration_test/app_test.dart -d web-server --browser-name=chrome # optional: --web-port=8080
packageFilters:
flutter: true
dirExists:
Expand Down

0 comments on commit 743b4a5

Please sign in to comment.