Skip to content

Commit eab8536

Browse files
author
Natallia Harshunova
committed
Run tests only on 149 version
1 parent a755504 commit eab8536

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

scripts/test.mjs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,9 @@ async function runTests(attempt) {
111111
});
112112
}
113113

114+
const chromePath = _installChrome('149.0.7827.14');
115+
process.env.CHROME_M149_EXECUTABLE_PATH = chromePath;
116+
114117
const maxAttempts = shouldRetry ? 3 : 1;
115118
let exitCode = 1;
116119

tests/network_blocking.test.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ describe('Network Blocking Integration', () => {
7676
},
7777
{
7878
blockedUrlPattern: [server.getRoute('/blocked.html')],
79+
executablePath: process.env.CHROME_M149_EXECUTABLE_PATH,
7980
},
8081
);
8182
});
@@ -139,6 +140,7 @@ describe('Network Blocking Integration', () => {
139140
},
140141
{
141142
allowedUrlPattern: [server.getRoute('/allowed.html')],
143+
executablePath: process.env.CHROME_M149_EXECUTABLE_PATH,
142144
},
143145
);
144146
});
@@ -232,6 +234,7 @@ describe('Network Blocking Integration', () => {
232234
},
233235
{
234236
blockedUrlPattern: [server.getRoute('/blocked.html')],
237+
executablePath: process.env.CHROME_M149_EXECUTABLE_PATH,
235238
},
236239
);
237240
});

0 commit comments

Comments
 (0)