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…
Reference in a new issue