sandstorm-io/sandstorm

Tests can fail when Actions runner ships an older Chrome than the ChromeDriver installed by Selenium

Open

#3513 opened on Apr 18, 2021

View on GitHub
 (7 comments) (0 reactions) (0 assignees)JavaScript (6,583 stars) (737 forks)batch import
good first issuesandstorm-dev

Description

So, I noticed tests were broken yesterday, and the only error we got was hilariously because there were no screenshots to upload. I'm guessing this is the error in question though:

 Connection refused! Is selenium server started?
{
  value: {
    message: 'session not created: This version of ChromeDriver only supports Chrome version 90\n' +
      'Current browser version is 89.0.4389.114 with binary path /usr/bin/google-chrome\n' +
      '  (Driver info: chromedriver=90.0.4430.24 (4c6d850f087da467d926e8eddb76550aed655991-refs/branch-heads/4430@{#429}),platform=Linux 5.4.0-1043-azure x86_64) (WARNING: The server did not provide any stacktrace information)\n' +
      'Command duration or timeout: 5.43 seconds\n' +
      "Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:25:53'\n" +
      "System info: host: 'fv-az235-407', ip: '10.1.1.93', os.name: 'Linux', os.arch: 'amd64', os.version: '5.4.0-1043-azure', java.version: '11.0.10'\n" +
      'Driver info: driver.version: unknown',
    error: 'session not created'
  },
  status: 33
}

Contributor guide