From 5334c705659cb663469965cc69588dc19a0d12f3 Mon Sep 17 00:00:00 2001
From: Joe Haddad <joe.haddad@zeit.co>
Date: Mon, 14 Oct 2019 14:32:59 -0400
Subject: [PATCH] Pin Azure Chromedriver This pins chromedriver to the version
 specified in
 https://github.com/Microsoft/azure-pipelines-image-generation/blob/master/images/win/Vs2017-Server2016-Readme.md.

---
 azure-pipelines.yml | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/azure-pipelines.yml b/azure-pipelines.yml
index cc39d77b375f1..222811468ab8e 100644
--- a/azure-pipelines.yml
+++ b/azure-pipelines.yml
@@ -4,6 +4,7 @@ pool:
 variables:
   NEXT_TELEMETRY_DISABLED: '1'
   YARN_CACHE_FOLDER: $(Pipeline.Workspace)/.yarn
+  CHROMEDRIVER_VERSION: '76.0.3809.68'
 
 strategy:
   maxParallel: 10
@@ -37,6 +38,10 @@ steps:
       yarn --frozen-lockfile --check-files
     displayName: 'Install dependencies'
 
+  - script: |
+      yarn add chromedriver@76 -W
+    displayName: 'Install correct Chrome Driver version'
+
   - script: |
       node run-tests.js -c 2 -g $(group)
     displayName: 'Run tests'