Skip to content

Commit

Permalink
Use @puppeteer/browsers to lock chromium version to 112
Browse files Browse the repository at this point in the history
Signed-off-by: Peter Zhu <zhujiaxi@amazon.com>
  • Loading branch information
peterzhuamazon committed Feb 20, 2024
1 parent 2784d24 commit 6720483
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion integtest.sh
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,10 @@ PASSWORD=`echo $CREDENTIAL | awk -F ':' '{print $2}'`
# User can send custom browser path through env variable
if [ -z "$BROWSER_PATH" ]
then
BROWSER_PATH="chromium"
# Lock chrome version using @puppeteer/browsers so it is independent of Operating Systems
# chromium@1108766 is version 112 with revision r1108766
# Please keep this version until cypress upgrade or test will freeze: https://github.com/opensearch-project/opensearch-build/issues/4241
BROWSER_PATH=`echo y | npx @puppeteer/browsers@2.0.1 install chromium@1108766 | cut -d ' ' -f2`
fi

. ./test_finder.sh
Expand Down

0 comments on commit 6720483

Please sign in to comment.