Skip to content

Commit be940d2

Browse files
committed
push
1 parent 46c7bfd commit be940d2

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

helpers.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ module.exports = {
287287
const version = process.env.CHROME_FOR_TESTING_VERSION || '136.0.7103.49';
288288

289289
const platformMap = {
290-
'win32': 'win32',
290+
'win32': 'win64',
291291
'darwin': 'mac-x64', // 可以根据需要添加 mac-arm64
292292
'linux': 'linux64'
293293
};
@@ -371,6 +371,7 @@ module.exports = {
371371

372372
getChromeBinaryPath(chromeDirectory, platform) {
373373
const binaryMap = {
374+
'win64': path.join(chromeDirectory, 'chrome-win64', 'chrome.exe'),
374375
'win32': path.join(chromeDirectory, 'chrome-win32', 'chrome.exe'),
375376
'mac-x64': path.join(chromeDirectory, 'chrome-mac-x64', 'Google Chrome for Testing.app', 'Contents', 'MacOS', 'Google Chrome for Testing'),
376377
'mac-arm64': path.join(chromeDirectory, 'chrome-mac-arm64', 'Google Chrome for Testing.app', 'Contents', 'MacOS', 'Google Chrome for Testing'),

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@gracefnr/synpress",
3-
"version": "1.0.10",
3+
"version": "1.0.11",
44
"packageManager": "pnpm@9.1.3",
55
"description": "Synpress is e2e testing framework based around Cypress.io & playwright with included MetaMask support. Test your dapps with ease.",
66
"keywords": [

0 commit comments

Comments
 (0)