From 743b4a52f421c3072ce66c144c44a62806be9245 Mon Sep 17 00:00:00 2001 From: ahmednfwela Date: Mon, 25 Nov 2024 15:39:12 +0200 Subject: [PATCH] sleep 5 --- .github/workflows/tests.yaml | 4 ++-- melos.yaml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 08b3633..a73f607 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -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 diff --git a/melos.yaml b/melos.yaml index 13f1660..e1165f5 100644 --- a/melos.yaml +++ b/melos.yaml @@ -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: