BotFramework-WebChat
BotFramework-WebChat copied to clipboard
[Test] Upgrade Selenium to 4.x
Upgrade Selenium
We are using Selenium 3.14 with Chrome 80.
We should take our time to upgrade to Selenium 4.x with latest version of Chrome.
There are a few RTL tests we disabled because Chrome 85 have fixed/reversed some of the logic, causing RTL tests to fail in Chrome 80.
chrome.dockerfile
FROM selenium/node-chrome:4.0.0-beta-3-20210426 # or higher
ADD __tests__/setup/local ~/Downloads
docker-compose-wsl2.yml
New environment variables needed for Selenium 4.x:
chrome:
build:
context: ./
dockerfile: chrome.dockerfile
depends_on:
- selenium-hub
- webchat
- webchat2
environment:
SE_EVENT_BUS_HOST: selenium-hub
SE_EVENT_BUS_PUBLISH_PORT: '4442'
SE_EVENT_BUS_SUBSCRIBE_PORT: '4443'
SE_OPTS: '--log-level WARNING'
selenium-hub:
image: selenium/hub:4.0.0-beta-3-20210426
container_name: selenium-hub
environment:
GRID_TIMEOUT: '300'
ports:
- '4444:4444'
[feature-request]
Howdyy @compulim I would like to step-up on this issue. If you don't mind :)