Skip to content

Commit 848147b

Browse files
committed
test: update ci
1 parent 597ff6c commit 848147b

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

scripts/test.sh

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -66,22 +66,21 @@ do
6666

6767
# force specific puppeteer/webdriver version to match up
6868
if [ "$NGX_PACKAGE_MANAGER" == "yarn" ]; then
69-
yarn add npm i puppeteer@16.2.0
69+
# yarn add npm i puppeteer@16.2.0
7070
yarn run webdriver-manager update --versions.chrome 104.0.5112.79 --gecko=false
7171
else
72-
npm i puppeteer@16.2.0
72+
# npm i -D puppeteer@16.2.0
7373
npx webdriver-manager update --versions.chrome 104.0.5112.79 --gecko=false
7474
fi
7575

7676
# force usage of local chrome binary, in headless mode
7777
PROTRACTOR_CHROME_BIN=$(node -p "require('puppeteer').executablePath()") \
7878
PROTRACTOR_CHROME_ARGS='["lang=en-US","--headless","--disable-gpu","--window-size=1024,768"]' \
79-
npm run e2e --if-present -- --webdriver-update=false
79+
npm run e2e --if-present -- # --webdriver-update=false
8080
else
81-
npm run e2e:ci --if-present
81+
npm run e2e --if-present
8282
fi
8383

84-
npm run e2e --if-present
8584
npm run build -- --no-progress
8685

8786
if [ -n "$TEST_ANDROID" ]; then

0 commit comments

Comments
 (0)