-
-
Notifications
You must be signed in to change notification settings - Fork 219
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes bug in export data afterAll. Removes webdriver-version replace, which no longer applies to current version of protractor. #7124 #7118 (cherry picked from commit 28f2afb)
- Loading branch information
1 parent
186ace8
commit 0cb55a7
Showing
3 changed files
with
6 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,9 @@ | ||
mkdir -p tests/logs && | ||
CHROME_VERSION=`google-chrome-stable --version | grep -Po '(\d+)(?=\.\d+\.\d+\.\d+)'` && | ||
CHROME_VERSION=`google-chrome-stable --version | grep -Po '(\d+)(?=\.\d+\.\d+\.\d+)'` && | ||
echo 'Detected chrome version ' $CHROME_VERSION && | ||
CHROMEDRIVER_VERSION=$(curl -sS https://chromedriver.storage.googleapis.com/LATEST_RELEASE_$CHROME_VERSION) && | ||
CHROMEDRIVER_VERSION="90.0.4430.24" # temporary fix because of regression in driver v91 | ||
echo 'Getting Chrome driver version ' $CHROMEDRIVER_VERSION && | ||
./node_modules/.bin/webdriver-manager update --versions.chrome $CHROMEDRIVER_VERSION && | ||
./node_modules/.bin/webdriver-manager start --versions.chrome $CHROMEDRIVER_VERSION > tests/logs/webdriver.log & | ||
until nc -z localhost 4444; do sleep 1; done | ||
until nc -z localhost 4444; do sleep 1; done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters