ci: enable more Firefox tests that are now passing and fix others (#12502)

This commit is contained in:
Henrik Skupin
2024-05-30 11:31:47 +02:00
committed by GitHub
parent 73529cc64e
commit bae3721e04
4 changed files with 17 additions and 34 deletions

View File

@@ -120,7 +120,7 @@ export class FirefoxLauncher extends ProductLauncher {
if (profileArgIndex !== -1) {
userDataDir = firefoxArguments[profileArgIndex + 1];
if (!userDataDir || !fs.existsSync(userDataDir)) {
if (!userDataDir) {
throw new Error(`Firefox profile not found at '${userDataDir}'`);
}