This repository has been archived by the owner on May 22, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[terra-functional-testing] Update to use seleniarm 4.10 docker images…
… for Apple silicon support (#790) * Update terra-functional-testing to use seleniarm 4.10 docker images * Update CHANGELOG and CONTRIBUTORS * Update WDIO screenshots * Add option to use secure HTTP when gridUrl is provided * Updated CHANGELOGs * Add newline * Revert https changes * Removed extra character * Updated CHANGELOG and added migration guide
- Loading branch information
Showing
29 changed files
with
32 additions
and
21 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
34 changes: 14 additions & 20 deletions
34
packages/terra-functional-testing/src/docker/docker-compose.yml
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,43 +1,37 @@ | ||
version: "3" | ||
|
||
services: | ||
selenium-hub: | ||
image: selenium/hub:${TERRA_SELENIUM_DOCKER_VERSION:-3.141.59-zirconium} | ||
image: seleniarm/hub:4.10.0-20230615 | ||
container_name: selenium-hub | ||
ports: | ||
- "4442:4442" | ||
- "4443:4443" | ||
- "4444:4444" | ||
healthcheck: | ||
test: ["CMD", "/opt/bin/check-grid.sh"] | ||
interval: 15s | ||
timeout: 30s | ||
retries: 5 | ||
|
||
chrome: | ||
image: selenium/node-chrome:${TERRA_SELENIUM_DOCKER_VERSION:-3.141.59-zirconium} | ||
# Volume mounting is necessary to ensure the browser does not crash inside the docker container. | ||
# For more details see: | ||
# https://github.com/SeleniumHQ/docker-selenium#running-the-images | ||
# https://bugs.chromium.org/p/chromium/issues/detail?id=519952 | ||
# https://bugzilla.mozilla.org/show_bug.cgi?id=1338771#c10 | ||
image: seleniarm/node-chromium:4.10.0-20230615 | ||
volumes: | ||
- /dev/shm:/dev/shm | ||
shm_size: 2gb | ||
depends_on: | ||
- selenium-hub | ||
environment: | ||
- HUB_HOST=selenium-hub | ||
- HUB_PORT=4444 | ||
|
||
- SE_EVENT_BUS_HOST=selenium-hub | ||
- SE_EVENT_BUS_PUBLISH_PORT=4442 | ||
- SE_EVENT_BUS_SUBSCRIBE_PORT=4443 | ||
firefox: | ||
image: selenium/node-firefox:${TERRA_SELENIUM_DOCKER_VERSION:-3.141.59-zirconium} | ||
# Volume mounting is necessary to ensure the browser does not crash inside the docker container. | ||
# For more details see: | ||
# https://github.com/SeleniumHQ/docker-selenium#running-the-images | ||
# https://bugs.chromium.org/p/chromium/issues/detail?id=519952 | ||
# https://bugzilla.mozilla.org/show_bug.cgi?id=1338771#c10 | ||
image: seleniarm/node-firefox:4.10.0-20230615 | ||
volumes: | ||
- /dev/shm:/dev/shm | ||
shm_size: 2gb | ||
depends_on: | ||
- selenium-hub | ||
environment: | ||
- HUB_HOST=selenium-hub | ||
- HUB_PORT=4444 | ||
- SE_EVENT_BUS_HOST=selenium-hub | ||
- SE_EVENT_BUS_PUBLISH_PORT=4442 | ||
- SE_EVENT_BUS_SUBSCRIBE_PORT=4443 | ||
|
Binary file modified
BIN
-1.16 KB
(83%)
...efault-theme/en/chrome_large/terra-validates-spec/out_of_bound_left_content.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+17 Bytes
(100%)
...fault-theme/en/chrome_large/terra-validates-spec/out_of_bound_right_content.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-402 Bytes
(84%)
...fault-theme/en/chrome_large/terra-validates-spec/validates-element-selector.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-361 Bytes
(94%)
.../terra-default-theme/en/chrome_large/terra-validates-spec/validates-element.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-1.28 KB
(81%)
...efault-theme/en/chrome_small/terra-validates-spec/out_of_bound_left_content.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+16 Bytes
(100%)
...fault-theme/en/chrome_small/terra-validates-spec/out_of_bound_right_content.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-343 Bytes
(85%)
...fault-theme/en/chrome_small/terra-validates-spec/validates-element-selector.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-354 Bytes
(94%)
.../terra-default-theme/en/chrome_small/terra-validates-spec/validates-element.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-527 Bytes
(82%)
...ault-theme/en/firefox_large/terra-validates-spec/validates-element-selector.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-605 Bytes
(92%)
...terra-default-theme/en/firefox_large/terra-validates-spec/validates-element.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-471 Bytes
(82%)
...ault-theme/en/firefox_small/terra-validates-spec/validates-element-selector.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-575 Bytes
(92%)
...terra-default-theme/en/firefox_small/terra-validates-spec/validates-element.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-1.16 KB
(83%)
...efault-theme/fr/chrome_large/terra-validates-spec/out_of_bound_left_content.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+17 Bytes
(100%)
...fault-theme/fr/chrome_large/terra-validates-spec/out_of_bound_right_content.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-402 Bytes
(84%)
...fault-theme/fr/chrome_large/terra-validates-spec/validates-element-selector.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-361 Bytes
(94%)
.../terra-default-theme/fr/chrome_large/terra-validates-spec/validates-element.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-1.28 KB
(81%)
...efault-theme/fr/chrome_small/terra-validates-spec/out_of_bound_left_content.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+16 Bytes
(100%)
...fault-theme/fr/chrome_small/terra-validates-spec/out_of_bound_right_content.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-343 Bytes
(85%)
...fault-theme/fr/chrome_small/terra-validates-spec/validates-element-selector.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-354 Bytes
(94%)
.../terra-default-theme/fr/chrome_small/terra-validates-spec/validates-element.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-527 Bytes
(82%)
...ault-theme/fr/firefox_large/terra-validates-spec/validates-element-selector.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-605 Bytes
(92%)
...terra-default-theme/fr/firefox_large/terra-validates-spec/validates-element.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-471 Bytes
(82%)
...ault-theme/fr/firefox_small/terra-validates-spec/validates-element-selector.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-575 Bytes
(92%)
...terra-default-theme/fr/firefox_small/terra-validates-spec/validates-element.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 |
---|---|---|
|
@@ -9,6 +9,11 @@ | |
|
||
## 2.14.0 - (July 10, 2023) | ||
|
||
* Added | ||
* Added migration guide for `[email protected]`. | ||
|
||
## 2.14.0 - (July 10, 2023) | ||
|
||
* Added | ||
* Added `useHttps` flag information to `terra-functional-testing` documentation. | ||
|
||
|
7 changes: 7 additions & 0 deletions
7
...ool/terra-functional-testing/upgrade-guides.5/version-4-upgrade-guide.4.tool.md
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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# Terra Functional Testing - Version 4 Upgrade Guide | ||
|
||
To upgrade to `terra-functional-testing` from v3 to v4, consumers will need to rerun their WDIO tests to generate new reference screenshots for all themes. This can be done by running the WDIO command with the `--updateScreenshots` flag. | ||
|
||
## Breaking Changes | ||
|
||
The docker image used for WDIO testing has been upgraded to be compatible with Apple Sillicon devices. However, the chromium version being tested on has been updated. The new chromium version has styling changes that affect the focus indicator and size of the testing environment -- therefore requiring consumers to generate new reference screenshots. |