forked from opensearch-project/OpenSearch-Dashboards
-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update unit & functional tests (#48)
Co-authored-by: yenienserrano <[email protected]>
- Loading branch information
1 parent
ea36827
commit 8b2e6be
Showing
4 changed files
with
27 additions
and
19 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -97,9 +97,16 @@ jobs: | |
npm uninstall -g yarn | ||
npm i -g [email protected] | ||
# image has the latest chrome v99 | ||
# image has the chrome v109.0.5414 | ||
# Note: Chrome is installed in the container image defined above. It seems | ||
# that OpenSearch periodically rebuilds this image, so the chromedriver | ||
# version originally used for v2.4.1 no longer fits the version of | ||
# Chrome installed in the image, causing the tests to fail. This is a | ||
# temporary fix to get the tests to pass, as in their `main` branch, they | ||
# have added an script to automatically detect the chrome version and | ||
# installed the correct chromedriver accordingly. | ||
- name: Setup chromedriver | ||
run: yarn add --dev chromedriver@99.0.0 | ||
run: yarn add --dev chromedriver@109.0.0 | ||
|
||
- name: Run bootstrap | ||
run: yarn osd bootstrap | ||
|
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
2 changes: 1 addition & 1 deletion
2
packages/osd-optimizer/src/integration_tests/__snapshots__/basic_optimization.test.ts.snap
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -2764,9 +2764,9 @@ | |
defer-to-connect "^2.0.0" | ||
|
||
"@testim/chrome-version@^1.1.2": | ||
version "1.1.2" | ||
resolved "https://registry.yarnpkg.com/@testim/chrome-version/-/chrome-version-1.1.2.tgz#092005c5b77bd3bb6576a4677110a11485e11864" | ||
integrity sha512-1c4ZOETSRpI0iBfIFUqU4KqwBAB2lHUAlBjZz/YqOHqwM9dTTzjV6Km0ZkiEiSCx/tLr1BtESIKyWWMww+RUqw== | ||
version "1.1.3" | ||
resolved "https://registry.yarnpkg.com/@testim/chrome-version/-/chrome-version-1.1.3.tgz#fbb68696899d7b8c1b9b891eded9c04fe2cd5529" | ||
integrity sha512-g697J3WxV/Zytemz8aTuKjTGYtta9+02kva3C1xc7KXB8GdbfE1akGJIsZLyY/FSh2QrnE+fiB7vmWU3XNcb6A== | ||
|
||
"@testing-library/dom@^8.0.0", "@testing-library/dom@^8.11.3": | ||
version "8.12.0" | ||
|
@@ -5520,7 +5520,7 @@ cacheable-lookup@^5.0.3: | |
resolved "https://registry.yarnpkg.com/cacheable-lookup/-/cacheable-lookup-5.0.4.tgz#5a6b865b2c44357be3d5ebc2a467b032719a7005" | ||
integrity sha512-2/kNscPhpcxrOigMZzbiWF7dz8ilhb/nIHU3EyZiXWXpeq/au8qJ8VhdftMkty3n7Gj6HIGalQG8oiBNB3AJgA== | ||
|
||
cacheable-request@^7.0.1, cacheable-request@^7.0.2: | ||
cacheable-request@^7.0.2: | ||
version "7.0.2" | ||
resolved "https://registry.yarnpkg.com/cacheable-request/-/cacheable-request-7.0.2.tgz#ea0d0b889364a25854757301ca12b2da77f91d27" | ||
integrity sha512-pouW8/FmiPQbuGpkXQ9BAPv/Mo5xDGANgSNXzTzJ8DrKGuXOssM4wIQRjfanNRh3Yu5cfYPvcorqbhg2KIJtew== | ||
|
@@ -5586,9 +5586,9 @@ camelize@^1.0.0: | |
integrity sha1-FkpUg+Yw+kMh5a8HAg5TGDGyYJs= | ||
|
||
caniuse-lite@^1.0.30001317: | ||
version "1.0.30001397" | ||
resolved "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001397.tgz" | ||
integrity sha512-SW9N2TbCdLf0eiNDRrrQXx2sOkaakNZbCjgNpPyMJJbiOrU5QzMIrXOVMRM1myBXTD5iTkdrtU/EguCrBocHlA== | ||
version "1.0.30001480" | ||
resolved "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001480.tgz" | ||
integrity sha512-q7cpoPPvZYgtyC4VaBSN0Bt+PJ4c4EYRf0DrduInOz2SkFpHD5p3LnvEpqBp7UnJn+8x1Ogl1s38saUxe+ihQQ== | ||
|
||
caseless@~0.12.0: | ||
version "0.12.0" | ||
|
@@ -7082,9 +7082,9 @@ del@^5.1.0: | |
slash "^3.0.0" | ||
|
||
del@^6.0.0: | ||
version "6.0.0" | ||
resolved "https://registry.yarnpkg.com/del/-/del-6.0.0.tgz#0b40d0332cea743f1614f818be4feb717714c952" | ||
integrity sha512-1shh9DQ23L16oXSZKB2JxpL7iMy2E0S9d517ptA1P8iw0alkPtQcrKH7ru31rYtKwF499HkTu+DRzq3TCKDFRQ== | ||
version "6.1.1" | ||
resolved "https://registry.yarnpkg.com/del/-/del-6.1.1.tgz#3b70314f1ec0aa325c6b14eb36b95786671edb7a" | ||
integrity sha512-ua8BhapfP0JUJKC/zV9yHHDW/rDoDxP4Zhn3AkA6/xT6gY7jYXJiaeyBZznYVujhZZET+UgcbZiQ7sN3WqcImg== | ||
dependencies: | ||
globby "^11.0.1" | ||
graceful-fs "^4.2.4" | ||
|
@@ -9423,7 +9423,7 @@ [email protected], got@^11.8.2: | |
"@types/cacheable-request" "^6.0.1" | ||
"@types/responselike" "^1.0.0" | ||
cacheable-lookup "^5.0.3" | ||
cacheable-request "^7.0.1" | ||
cacheable-request "^7.0.2" | ||
decompress-response "^6.0.0" | ||
http2-wrapper "^1.0.0-beta.5.2" | ||
lowercase-keys "^2.0.0" | ||
|