mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00:00
devops: fix Selenium tests (#24472)
The issue was that it got unzipped under "chromedriver/chromedriver" and not just under "chromedriver"
This commit is contained in:
parent
335d5275cc
commit
ad467446bb
@ -27,8 +27,7 @@ const fs = require('fs');
|
||||
execSync(`curl ${chromeDriverURL} --output ${zip} --silent`);
|
||||
console.log(`Downloaded ${zip}`);
|
||||
|
||||
execSync(`unzip ${zip}`, { cwd: dir });
|
||||
execSync(`unzip -j ${zip}`, { cwd: dir });
|
||||
console.log(`Unzipped ${zip}`);
|
||||
|
||||
fs.renameSync(`chromedriver-${currentPlatform}`, `chromedriver`);
|
||||
fs.rmSync(zip);
|
||||
})();
|
||||
|
Loading…
x
Reference in New Issue
Block a user