Skip to content

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

devops: fix Selenium tests (#24472)

Max Schmittad467446bb36
diff --git a/tests/installation/fixture-scripts/download-chromedriver.js b/tests/installation/fixture-scripts/download-chromedriver.js
index ee57b62a02..e8bf936e8c 100644
--- a/tests/installation/fixture-scripts/download-chromedriver.js
+++ b/tests/installation/fixture-scripts/download-chromedriver.js
@@ -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);
})();