BotFramework-WebChat icon indicating copy to clipboard operation
BotFramework-WebChat copied to clipboard

[Test] Upgrade Selenium to 4.x

Open compulim opened this issue 3 years ago • 1 comments

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]

compulim avatar May 20 '21 10:05 compulim

Howdyy @compulim I would like to step-up on this issue. If you don't mind :)

vaish567 avatar Jun 07 '21 14:06 vaish567