We deployed to Canary on May
19 in the Azure Pipeline. When running all UI automation tests in the pipeline, all failed.
Here is the following error message in each test.
Initialization
method UIAutomationTests.Tests.TopicsTests.Setup threw exception.
System.InvalidOperationException: session not created: This version of
ChromeDriver only supports Chrome version 80
After
looking into this issue, here is my note.
·
Google
Chrome or Microsoft Edge Chromium version 82 is skipped due to COVID-19
pandemic. The latest version is 83.
·
The Cloud
test framework we use in the Azure pipeline is always installing the latest
version of Chrome. Therefore, the Chrome driver 80 or 81 was not supported in
Chrome 83. There is no Chrome driver 82 and it is required to use Chrome driver
83 to run the tests.
·
On
May 19, I did not see the Selenium.WebDriver.ChromeDriver V83 in NuGet Package.There is no way to update it.
In order to know the test result as soon as possible, I
need to manually download the Chrome driver 83 and updated the code in Visual
Studio 2019.
After updating it and running all tests in my machine, all passed.