chore: allow PW_VERSION_OVERRIDE in tests (#27861)

This commit is contained in:
Dmitry Gozman 2023-10-30 11:04:35 -07:00 committed by GitHub
parent 3127765bde
commit f620828818
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -68,7 +68,7 @@ if (mode === 'service') {
};
}
if (mode === 'service2') {
process.env.PW_VERSION_OVERRIDE = '1.37';
process.env.PW_VERSION_OVERRIDE = process.env.PW_VERSION_OVERRIDE || '1.39';
connectOptions = {
wsEndpoint: `${process.env.PLAYWRIGHT_SERVICE_URL}?cap=${JSON.stringify({ os, runId })}`,
timeout: 3 * 60 * 1000,