Skip to content

Commit

Permalink
Try with chromedriver
Browse files Browse the repository at this point in the history
  • Loading branch information
jonasfj committed Jan 10, 2024
1 parent 348a765 commit 879742a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ jobs:
- name: Run integration_test with chromedriver
working-directory: ./example
run: |
xvfb-run ../tool/with-chromedriver.sh flutter drive \
../tool/with-chromedriver.sh flutter drive \
--driver=test_driver/integration_test.dart \
--target=integration_test/webcrypto_test.dart \
-d chrome
Expand Down
6 changes: 6 additions & 0 deletions tool/with-chromedriver.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,12 @@ else
PLATFORM='linux64'
elif [[ "$OSTYPE" == "darwin"* ]]; then
PLATFORM='mac64'
elif [[ "$OSTYPE" == "cygwin" ]]; then
PLATFORM='win32'
elif [[ "$OSTYPE" == "msys" ]]; then
PLATFORM='win32'
elif [[ "$OSTYPE" == "win32" ]]; then
PLATFORM='win32'
else
echo "Unsupported OSTYPE: $OSTYPE"
exit 1
Expand Down

0 comments on commit 879742a

Please sign in to comment.