From c4bdaefc481956207a3718ecf3fa5170f6b98424 Mon Sep 17 00:00:00 2001 From: artem-babich Date: Thu, 23 Feb 2023 14:32:11 +0400 Subject: [PATCH] fix: job reporting tests in proxyless --- gulp/constants/functional-test-globs.js | 1 - .../fixtures/browser-provider/job-reporting/test.js | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/gulp/constants/functional-test-globs.js b/gulp/constants/functional-test-globs.js index 608a9a3d893..d3a5cf874cf 100644 --- a/gulp/constants/functional-test-globs.js +++ b/gulp/constants/functional-test-globs.js @@ -30,7 +30,6 @@ const DEBUG_GLOB_2 = [ const PROXYLESS_TESTS_GLOB = [ ...TESTS_GLOB, '!test/functional/fixtures/ui/test.js', - '!test/functional/fixtures/browser-provider/job-reporting/test.js', '!test/functional/fixtures/driver/script-execution-barrier/test.js', '!test/functional/fixtures/run-options/request-timeout/test.js', '!test/functional/fixtures/run-options/disable-page-caching/test.js', diff --git a/test/functional/fixtures/browser-provider/job-reporting/test.js b/test/functional/fixtures/browser-provider/job-reporting/test.js index e035a1cd3eb..9a356c65c40 100644 --- a/test/functional/fixtures/browser-provider/job-reporting/test.js +++ b/test/functional/fixtures/browser-provider/job-reporting/test.js @@ -18,7 +18,7 @@ if (config.useLocalBrowsers && !config.hasBrowser('ie')) { state: {}, idNameMap: {}, - openBrowser (browserId, pageUrl, browserConfig) { + openBrowser (browserId, pageUrl, browserConfig, additionalOptions) { const self = this; const providerId = typeof browserConfig === 'string' ? browserConfig : browserConfig.userArgs.replace(/\W*/, ''); @@ -37,7 +37,7 @@ if (config.useLocalBrowsers && !config.hasBrowser('ie')) { userArgs: `--no-sandbox ${browserConfig.userArgs}`, headless: true, }, - { disableMultipleWindows: false }); + { ...additionalOptions, disableMultipleWindows: false }); }, closeBrowser (browserId) {