From 1ff53cd2fc243984b75ac2336e0a2fc37eefaa1e Mon Sep 17 00:00:00 2001 From: JJ Kasper Date: Fri, 4 Feb 2022 13:42:22 -0600 Subject: [PATCH] Update azure config (#33999) * Update azure config * speed up checkout * update config * remove checkout path * undo checkout change --- azure-pipelines.yml | 7 ++----- test/jest-setup-after-env.ts | 2 +- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index da56c8d77fc24..57978a2058b6d 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -69,11 +69,9 @@ stages: - stage: Test dependsOn: Build jobs: - - job: test_ie11 + - job: test_integration pool: vmImage: 'windows-2019' - variables: - BROWSER_NAME: internet explorer steps: - checkout: none - task: NodeTool@0 @@ -89,8 +87,7 @@ stages: displayName: Cache Build - script: | - npm i -g selenium-standalone@6.18.0 - displayName: 'Install selenium node' + npx playwright install chromium - script: | node run-tests.js -c 1 test/integration/production/test/index.test.js test/integration/css-client-nav/test/index.test.js test/integration/rewrites-has-condition/test/index.test.js diff --git a/test/jest-setup-after-env.ts b/test/jest-setup-after-env.ts index bea975558f5db..86cc1a8e3327d 100644 --- a/test/jest-setup-after-env.ts +++ b/test/jest-setup-after-env.ts @@ -1,3 +1,3 @@ // A default max-timeout of 90 seconds is allowed // per test we should aim to bring this down though -jest.setTimeout(90 * 1000) +jest.setTimeout((process.platform === 'win32' ? 180 : 90) * 1000)