browserstack-node-sdk 1.40.1 → 1.40.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +2 -2
- package/src/ai-sdk-node/bundle.js +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customSequencer.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/load/index.js +1 -1
- package/src/bin/load/load/index.js +46 -27
- package/src/bin/load/load/loadUtils.js +37 -31
- package/src/bin/load/loadUtils.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/builderPatch.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/v2/TestInfo.js +1 -1
- package/src/bin/v2/browserstackCLI.js +1 -1
- package/src/bin/v2/cliUtils.js +1 -1
- package/src/bin/v2/customTagManager.js +1 -1
- package/src/bin/v2/eventDispatcher.js +1 -1
- package/src/bin/v2/framework/automationFramework.js +1 -1
- package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
- package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
- package/src/bin/v2/framework/testFramework.js +1 -1
- package/src/bin/v2/grpcClient.js +1 -1
- package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/trackedContext.js +1 -1
- package/src/bin/v2/instances/trackedInstance.js +1 -1
- package/src/bin/v2/modules/accessibilityModule.js +1 -1
- package/src/bin/v2/modules/baseModule.js +1 -1
- package/src/bin/v2/modules/observabilityModule.js +1 -1
- package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
- package/src/bin/v2/modules/testhubModule.js +1 -1
- package/src/bin/v2/state/automationFrameworkState.js +1 -1
- package/src/bin/v2/state/hookState.js +1 -1
- package/src/bin/v2/state/testFrameworkState.js +1 -1
- package/src/bin/v2/uploadAttachmentsManager.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
- package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/central-scanner/constants.js +1 -1
- package/src/helpers/central-scanner/helpers.js +1 -1
- package/src/helpers/classLogger.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/metadata.js +1 -1
- package/src/helpers/patchHelper.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance/constants.js +1 -1
- package/src/helpers/performance/performance-tester.js +1 -1
- package/src/helpers/processHelper.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/test-orchestration/constants.js +1 -1
- package/src/helpers/test-orchestration/failfastManager.js +1 -1
- package/src/helpers/test-orchestration/fileHelper.js +1 -1
- package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
- package/src/helpers/test-orchestration/requestUtils.js +1 -1
- package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
- package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
- package/src/helpers/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/timeoutPromise.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const a1_0x429e2f=a1_0xc836;(function(_0x42203d,_0xcf24d2){const _0x58a549=a1_0xc836,_0x19801e=_0x42203d();while(!![]){try{const _0x28fc59=parseInt(_0x58a549(0x17b))/0x1*(parseInt(_0x58a549(0x185))/0x2)+parseInt(_0x58a549(0x13f))/0x3*(-parseInt(_0x58a549(0x1e8))/0x4)+parseInt(_0x58a549(0x1c7))/0x5+parseInt(_0x58a549(0x189))/0x6*(-parseInt(_0x58a549(0x1ac))/0x7)+parseInt(_0x58a549(0x1af))/0x8+-parseInt(_0x58a549(0x1bc))/0x9+-parseInt(_0x58a549(0x153))/0xa;if(_0x28fc59===_0xcf24d2)break;else _0x19801e['push'](_0x19801e['shift']());}catch(_0x8e2f55){_0x19801e['push'](_0x19801e['shift']());}}}(a1_0x55c5,0xbf938));const fs=require('fs'),util=require(a1_0x429e2f(0x13b)),{requireModule,markSessionStatus,isUndefined,isTrue,isBrowserstackInfra}=require(a1_0x429e2f(0x132)),logger=require('../../helpers/logger')[a1_0x429e2f(0x11f)],testOpsHelper=require(a1_0x429e2f(0x18f)),requestSpy=require(a1_0x429e2f(0x144)),PlaywrightSessionDetails=require(a1_0x429e2f(0x159)),{O11yHelper,TEST_EVENTS,STATE_PASSED,STATE_FAILED}=require('./o11yHelper'),{shouldScanTestForAccessibility,isAccessibilityAutomationSession}=require(a1_0x429e2f(0x1a2)),AccessibilityHelper=require(a1_0x429e2f(0x14a)),scripts=require(a1_0x429e2f(0x167)),PerformanceTester=require('../../helpers/performance/performance-tester'),{EVENTS:PerformanceEvents,AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceHookEvents}=require(a1_0x429e2f(0x1c8)),{processWebDriverConfig,shouldPatchExecuteScript}=require('./helper.js'),testHubConstants=require(a1_0x429e2f(0x1df)),globals=require('../../helpers/globals.js'),CodeceptJS=requireModule('codeceptjs/lib/index.js','codeceptjs'),CodeceptUtils=requireModule(a1_0x429e2f(0x1d5),'codeceptjs'),CodeceptWebDriver=requireModule(a1_0x429e2f(0x196),a1_0x429e2f(0x11e)),CodeceptRecorder=requireModule('codeceptjs/lib/recorder.js','codeceptjs'),CodeceptPlaywright=requireModule('codeceptjs/lib/helper/Playwright.js',a1_0x429e2f(0x11e)),playwrightMarkSessionStatus=(_0x18bac2,_0x59bedb,_0x1e23c7)=>{const _0x1259da=a1_0x429e2f,_0x1276c4={'njBWf':_0x1259da(0x154),'NVNiw':function(_0x39dbac,_0x3d4154){return _0x39dbac(_0x3d4154);}},_0x2dc1c6={};_0x2dc1c6[_0x1259da(0x17d)]=_0x59bedb;const _0x11c91d={};_0x11c91d[_0x1259da(0x18b)]=_0x1276c4[_0x1259da(0x1d2)],_0x11c91d[_0x1259da(0x14c)]=_0x2dc1c6;const _0x3d249a=_0x11c91d;return!_0x1276c4['NVNiw'](isUndefined,_0x1e23c7)&&(_0x3d249a[_0x1259da(0x14c)][_0x1259da(0x166)]=JSON[_0x1259da(0x12c)](_0x1e23c7)),_0x18bac2[_0x1259da(0x16f)](()=>{},_0x1259da(0x1dc)+JSON[_0x1259da(0x12c)](_0x3d249a));},o11ySync=PerformanceTester[a1_0x429e2f(0x14f)](PerformanceO11yEvents[a1_0x429e2f(0x1c2)],async _0x2c7bd0=>{const _0x4839c2=a1_0x429e2f,_0x3d22ed={};_0x3d22ed[_0x4839c2(0x18c)]=function(_0x5b4baf,_0x475501){return _0x5b4baf===_0x475501;},_0x3d22ed['paEcU']=_0x4839c2(0x1c0);const _0x17980c=_0x3d22ed;_0x17980c[_0x4839c2(0x18c)](_0x2c7bd0[_0x4839c2(0x1d9)][_0x4839c2(0x19e)],_0x17980c[_0x4839c2(0x18d)])?await _0x2c7bd0['executeScript'](_0x32c854=>{},testOpsHelper[_0x4839c2(0x1e1)]()):await _0x2c7bd0['executeScript'](testOpsHelper['getSyncScript']());}),markSessionName=PerformanceTester[a1_0x429e2f(0x14f)](PerformanceAutEvents[a1_0x429e2f(0x1e4)],async(_0x56f82d,_0x9b886b)=>{const _0x33bb51=a1_0x429e2f,_0x491039={};_0x491039[_0x33bb51(0x15e)]=_0x33bb51(0x1e6),_0x491039[_0x33bb51(0x1aa)]=function(_0x5368e1,_0x2bdc4f){return _0x5368e1===_0x2bdc4f;},_0x491039[_0x33bb51(0x158)]='Playwright';const _0x5612a9=_0x491039,_0xd8eec5={};_0xd8eec5['name']=_0x9b886b;const _0x1ab73f={};_0x1ab73f[_0x33bb51(0x18b)]=_0x5612a9[_0x33bb51(0x15e)],_0x1ab73f[_0x33bb51(0x14c)]=_0xd8eec5;const _0x35ef17=_0x1ab73f;_0x5612a9[_0x33bb51(0x1aa)](_0x56f82d['constructor'][_0x33bb51(0x19e)],_0x5612a9['Blwwb'])?await _0x56f82d[_0x33bb51(0x16f)](()=>{},_0x33bb51(0x1dc)+JSON[_0x33bb51(0x12c)](_0x35ef17)):await _0x56f82d[_0x33bb51(0x16f)]('browserstack_executor:\x20'+JSON['stringify'](_0x35ef17));}),patchSaveScreenshot=_0xa08fa8=>{const _0x278c41=a1_0x429e2f,_0x219035={'xTpFw':'base64','GJJQB':_0x278c41(0x128),'vdWnd':function(_0x323df2){return _0x323df2();},'UYcSH':function(_0x31cb3c,_0x28f379){return _0x31cb3c(_0x28f379);},'dXVqC':'Screenshot\x20path\x20not\x20found','SQNLo':function(_0x186830,_0x4e77e9){return _0x186830(_0x4e77e9);}};_0x219035[_0x278c41(0x1c1)](isTrue,process[_0x278c41(0x156)]['BS_TESTOPS_ALLOW_SCREENSHOTS'])&&!_0xa08fa8[_0x278c41(0x163)]&&(_0xa08fa8[_0x278c41(0x163)]=!![],_0xa08fa8[_0x278c41(0x1ec)]=_0xa08fa8[_0x278c41(0x1c6)],_0xa08fa8['saveScreenshot']=(_0x4e5597,_0x5d80ca=![])=>{const _0x26e286=_0x278c41,_0x2f265c={'UjNfU':_0x219035['xTpFw'],'Cfmcz':_0x219035[_0x26e286(0x126)],'RoGnl':function(_0xca0a41){return _0x219035['vdWnd'](_0xca0a41);},'FNpzv':function(_0x1e8e84,_0x5e9cbf){return _0x219035['UYcSH'](_0x1e8e84,_0x5e9cbf);},'xyhHP':_0x219035[_0x26e286(0x123)]};return new Promise(function(_0xede40c,_0x4cae9b){const _0x16ead1=_0x26e286;_0xa08fa8[_0x16ead1(0x1ec)](_0x4e5597,_0x5d80ca)[_0x16ead1(0x183)](()=>{const _0x210a18=_0x16ead1,_0x41fe45=CodeceptUtils[_0x210a18(0x118)](_0x4e5597);if(_0x41fe45){const _0x55449c=fs[_0x210a18(0x1d1)](_0x41fe45);process[_0x210a18(0x190)](_0x210a18(0x169)+process[_0x210a18(0x182)],{'timestamp':new Date()[_0x210a18(0x1bd)](),'message':_0x55449c[_0x210a18(0x1ba)](_0x2f265c['UjNfU']),'kind':_0x2f265c[_0x210a18(0x1cd)]}),_0x2f265c[_0x210a18(0x179)](_0xede40c);}_0x2f265c['FNpzv'](_0x4cae9b,new Error(_0x2f265c[_0x210a18(0x193)]));})[_0x16ead1(0x180)](()=>null);});});},patchWebDriverBefore=_0x40e130=>{const _0x2d7192=a1_0x429e2f,_0x4790ee={'AwSeb':function(_0x10266e){return _0x10266e();},'kspsY':function(_0x192ecb,_0x39717d){return _0x192ecb(_0x39717d);},'vvgld':function(_0x5664c8,_0x10a7b0){return _0x5664c8===_0x10a7b0;},'eoNTz':'Element'},_0x8ee2db=async function(_0x1d92f5,_0x11e319){const _0x2a0c5c=a1_0xc836;return _0x4790ee[_0x2a0c5c(0x1e5)](isAccessibilityAutomationSession)&&!global[_0x2a0c5c(0x1e2)]&&global['accessibilityPlatform']&&scripts[_0x2a0c5c(0x131)](_0x1d92f5[_0x2a0c5c(0x19e)])&&_0x4790ee[_0x2a0c5c(0x18a)](shouldPatchExecuteScript,arguments[0x2])&&(global[_0x2a0c5c(0x1e2)]=!![],await PerformanceTester[_0x2a0c5c(0x14f)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x3bbb6a=_0x2a0c5c;logger[_0x3bbb6a(0x1d4)]('Performing\x20scan\x20for\x20'+_0x1d92f5[_0x3bbb6a(0x199)]+'\x20'+_0x1d92f5[_0x3bbb6a(0x19e)]),await AccessibilityHelper[_0x3bbb6a(0x141)](_0x40e130,scripts[_0x3bbb6a(0x1a5)]);},{'command':_0x1d92f5[_0x2a0c5c(0x19e)]})()),global[_0x2a0c5c(0x1e2)]=![],_0x11e319[_0x2a0c5c(0x151)](this,Array[_0x2a0c5c(0x147)][_0x2a0c5c(0x1be)][_0x2a0c5c(0x19a)](arguments,0x2));},_0x142d60=CodeceptWebDriver['prototype'][_0x2d7192(0x162)];CodeceptWebDriver[_0x2d7192(0x147)][_0x2d7192(0x162)]=async function(){const _0x1d14c1=_0x2d7192;try{await _0x142d60['apply'](this,arguments);}catch(_0x2389c9){logger[_0x1d14c1(0x1d4)](_0x1d14c1(0x13a)+util[_0x1d14c1(0x174)](_0x2389c9));}scripts[_0x1d14c1(0x1ae)][_0x1d14c1(0x12d)](_0x518235=>_0x518235[_0x1d14c1(0x19e)]&&_0x518235['class'])[_0x1d14c1(0x1de)](_0x4ae03f=>{const _0x6a18b3=_0x1d14c1;this['browser']['overwriteCommand'](_0x4ae03f[_0x6a18b3(0x19e)],_0x8ee2db[_0x6a18b3(0x1a7)](this,_0x4ae03f),_0x4790ee['vvgld'](_0x4ae03f[_0x6a18b3(0x199)],_0x4790ee[_0x6a18b3(0x17f)]));}),_0x4790ee[_0x1d14c1(0x18a)](processWebDriverConfig,_0x40e130);};},patchPlaywrightBefore=()=>{const _0x4246de=a1_0x429e2f;PlaywrightSessionDetails[_0x4246de(0x1b7)]();const _0x17bb23=CodeceptPlaywright[_0x4246de(0x147)]['_before'];CodeceptPlaywright[_0x4246de(0x147)][_0x4246de(0x162)]=async function(){const _0x4d15cb=_0x4246de;this['browserContext']=await this[_0x4d15cb(0x187)]['contexts']()[0x0],await _0x17bb23[_0x4d15cb(0x151)](this,arguments);};},getCodeceptDriver=()=>{const _0x46673b=a1_0x429e2f,_0xb35f58={};_0xb35f58[_0x46673b(0x1dd)]=_0x46673b(0x165),_0xb35f58['nSFRq']='Playwright',_0xb35f58[_0x46673b(0x149)]=_0x46673b(0x1b0),_0xb35f58[_0x46673b(0x1a3)]=_0x46673b(0x119);const _0x57f6d7=_0xb35f58,_0x332f07=[_0x57f6d7[_0x46673b(0x1dd)],_0x57f6d7[_0x46673b(0x164)],_0x57f6d7['sxDrN'],_0x57f6d7[_0x46673b(0x1a3)]],_0x21af7a=_0x332f07[_0x46673b(0x170)](_0x344481=>!!CodeceptJS[_0x46673b(0x14d)][_0x46673b(0x11a)](_0x344481));if(!_0x21af7a)return null;return CodeceptJS[_0x46673b(0x14d)]['helpers'](_0x21af7a);};function a1_0xc836(_0x15d874,_0x4865a8){const _0x55c509=a1_0x55c5();return a1_0xc836=function(_0xc836df,_0x5beddd){_0xc836df=_0xc836df-0x112;let _0x302615=_0x55c509[_0xc836df];return _0x302615;},a1_0xc836(_0x15d874,_0x4865a8);}module[a1_0x429e2f(0x137)]=function(_0x3d62ab){const _0x16807c=a1_0x429e2f,_0x3ff9d5={'bNzpG':function(_0x222666){return _0x222666();},'ObdNX':function(_0x22ad49,_0x1b6d5b){return _0x22ad49(_0x1b6d5b);},'VgvBn':_0x16807c(0x140),'MEcux':_0x16807c(0x1a1),'gVgKG':'getAccessibilityResults','faqdm':'Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','boYbk':_0x16807c(0x16e),'zWeXi':_0x16807c(0x171),'jragP':'hook-failed','KMqUi':_0x16807c(0x176),'OtqAN':_0x16807c(0x1a9),'FRiOs':function(_0x2e20a3){return _0x2e20a3();},'JbdkD':function(_0x5b6194,_0x17b169,_0x4f59e4){return _0x5b6194(_0x17b169,_0x4f59e4);},'lfYuW':_0x16807c(0x14e),'VLcza':function(_0x4d43cc){return _0x4d43cc();},'QyBsB':'test-passed','wZWPR':function(_0x8fcabc,_0x2e250e,_0x35579a,_0x5bb0a2){return _0x8fcabc(_0x2e250e,_0x35579a,_0x5bb0a2);},'TGIXB':function(_0x60258e,_0x5152f7){return _0x60258e===_0x5152f7;},'XFROQ':_0x16807c(0x1b1),'ribDb':'test-failed','recsB':_0x16807c(0x113),'ZMIFZ':_0x16807c(0x135),'SoiGF':function(_0x10f676,_0x5dde1c,_0x5349e5){return _0x10f676(_0x5dde1c,_0x5349e5);},'IzKPZ':function(_0x574740){return _0x574740();},'YpBYG':_0x16807c(0x15f),'oqoiJ':_0x16807c(0x17a),'oCtaj':_0x16807c(0x12f),'CcNCF':'TEST_LOG','ZEWMY':'step-comment','fEVRf':_0x16807c(0x115),'shauw':'bddStep-after','hBdSD':_0x16807c(0x1c0)};_0x3d62ab[_0x16807c(0x1b4)]&&(global[_0x16807c(0x134)]=_0x3d62ab[_0x16807c(0x1b4)]);PerformanceTester[_0x16807c(0x1ca)]();const _0x20c3e2=_0x3ff9d5[_0x16807c(0x125)](getCodeceptDriver),_0x145f86=new O11yHelper(_0x20c3e2,_0x3d62ab),_0x1a1054=!!CodeceptJS['container']['helpers'](_0x3ff9d5[_0x16807c(0x121)]);global['__driver']=_0x20c3e2,_0x20c3e2&&(PerformanceTester[_0x16807c(0x14f)](PerformanceEvents[_0x16807c(0x1c4)],()=>{const _0x4a1872=_0x16807c;_0x1a1054?_0x3ff9d5[_0x4a1872(0x125)](patchPlaywrightBefore):_0x3ff9d5[_0x4a1872(0x197)](patchWebDriverBefore,_0x20c3e2);})(),PerformanceTester[_0x16807c(0x14f)](PerformanceEvents[_0x16807c(0x184)],()=>{const _0x25cd67=_0x16807c,_0x191999={};_0x191999[_0x25cd67(0x114)]=_0x3ff9d5[_0x25cd67(0x1bb)],_0x191999[_0x25cd67(0x11c)]=_0x3ff9d5[_0x25cd67(0x11b)],_0x191999['gTcZU']=_0x3ff9d5[_0x25cd67(0x160)],_0x191999[_0x25cd67(0x1cc)]=_0x3ff9d5[_0x25cd67(0x1c3)];const _0x58e4d0=_0x191999;_0x20c3e2[_0x25cd67(0x140)]=async()=>{const _0x1a9dc9=_0x25cd67;if(global['accessibilityPlatform']){const _0x5719ca={};_0x5719ca['command']=_0x58e4d0[_0x1a9dc9(0x114)],await PerformanceTester[_0x1a9dc9(0x14f)](PerformanceA11yEvents[_0x1a9dc9(0x13e)],async()=>{const _0x5345a4=_0x1a9dc9;await AccessibilityHelper[_0x5345a4(0x141)](_0x20c3e2,scripts[_0x5345a4(0x1a5)]);},_0x5719ca)(),await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x1a9dc9(0x13c)],async()=>{const _0x2f0ef1=_0x1a9dc9;await AccessibilityHelper[_0x2f0ef1(0x141)](_0x20c3e2,scripts[_0x2f0ef1(0x155)]);})();}else return logger['warn'](_0x58e4d0[_0x1a9dc9(0x11c)]),{};},_0x20c3e2[_0x25cd67(0x1e7)]=async()=>{const _0x4b27f8=_0x25cd67;if(global['accessibilityPlatform']){const _0x24f13a={};_0x24f13a['command']=_0x58e4d0[_0x4b27f8(0x1cf)],await PerformanceTester[_0x4b27f8(0x14f)](PerformanceA11yEvents[_0x4b27f8(0x13e)],async()=>{const _0x51451b=_0x4b27f8;await AccessibilityHelper[_0x51451b(0x141)](_0x20c3e2,scripts[_0x51451b(0x1a5)]);},_0x24f13a)(),await PerformanceTester[_0x4b27f8(0x14f)](PerformanceA11yEvents[_0x4b27f8(0x172)],async()=>{const _0x305c35=_0x4b27f8;await AccessibilityHelper[_0x305c35(0x141)](_0x20c3e2,scripts['getResults']);})();}else return logger[_0x4b27f8(0x1e0)](_0x58e4d0[_0x4b27f8(0x1cc)]),{};},_0x3ff9d5[_0x25cd67(0x197)](patchSaveScreenshot,_0x20c3e2);})()),CodeceptJS[_0x16807c(0x15d)]['dispatcher']['on'](CodeceptJS[_0x16807c(0x15d)][_0x16807c(0x1d6)][_0x16807c(0x1bf)],()=>{const _0x39d686=_0x16807c;PerformanceTester[_0x39d686(0x16c)](PerformanceEvents[_0x39d686(0x1b5)]);try{_0x145f86[_0x39d686(0x16c)](),testOpsHelper[_0x39d686(0x18e)](),PerformanceTester[_0x39d686(0x1a4)](PerformanceEvents[_0x39d686(0x1b5)]);}catch(_0x3d1eaf){PerformanceTester[_0x39d686(0x16b)](_0x3d1eaf),PerformanceTester['end'](PerformanceEvents[_0x39d686(0x1b5)],![],_0x3d1eaf);}}),CodeceptJS[_0x16807c(0x15d)][_0x16807c(0x1e9)]['on'](CodeceptJS['event']['all'][_0x16807c(0x124)],async()=>{const _0x1e6b3d=_0x16807c;PerformanceTester[_0x1e6b3d(0x16c)](PerformanceEvents[_0x1e6b3d(0x143)]);try{requestSpy[_0x1e6b3d(0x15b)](),await _0x145f86[_0x1e6b3d(0x112)](),PerformanceTester[_0x1e6b3d(0x1a4)](PerformanceEvents[_0x1e6b3d(0x143)]);}catch(_0x10f5ae){PerformanceTester[_0x1e6b3d(0x16b)](_0x10f5ae),PerformanceTester[_0x1e6b3d(0x1a4)](PerformanceEvents['SDK_POST_TEST'],![],_0x10f5ae);}finally{PerformanceTester['stopMonitoring']();}}),CodeceptJS['event'][_0x16807c(0x1e9)]['on'](CodeceptJS[_0x16807c(0x15d)][_0x16807c(0x1d7)][_0x16807c(0x122)],_0x157cf6=>{const _0x305d9f=_0x16807c;PerformanceTester[_0x305d9f(0x16c)](PerformanceEvents[_0x305d9f(0x175)]);try{const _0x488ac1=_0x157cf6['ctx'][_0x305d9f(0x1c5)],_0x271de9=_0x145f86[_0x305d9f(0x161)](TEST_EVENTS[_0x305d9f(0x1a8)],_0x488ac1);CodeceptRecorder[_0x305d9f(0x19f)](()=>_0x145f86[_0x305d9f(0x1b2)](TEST_EVENTS[_0x305d9f(0x1a8)],_0x271de9));const _0x1297bc={};_0x1297bc[_0x305d9f(0x12a)]=_0x3ff9d5['boYbk'],PerformanceTester['end'](PerformanceEvents[_0x305d9f(0x175)],!![],null,_0x1297bc);}catch(_0x3b1ef4){const _0x419c04={};_0x419c04[_0x305d9f(0x12a)]=_0x3ff9d5['boYbk'],PerformanceTester['end'](PerformanceEvents[_0x305d9f(0x175)],![],_0x3b1ef4,_0x419c04),PerformanceTester['captureError'](_0x3b1ef4);}}),CodeceptJS[_0x16807c(0x15d)][_0x16807c(0x1e9)]['on'](CodeceptJS['event'][_0x16807c(0x1d7)][_0x16807c(0x14b)],_0x4b349c=>{const _0x5a47c6=_0x16807c,_0x499c98={};_0x499c98['hookType']=_0x3ff9d5[_0x5a47c6(0x1a0)],PerformanceTester['start'](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x499c98);try{const _0x27443e=_0x4b349c['ctx'][_0x5a47c6(0x1c5)],_0x3c7911=_0x145f86[_0x5a47c6(0x161)](TEST_EVENTS[_0x5a47c6(0x194)],_0x27443e);CodeceptRecorder[_0x5a47c6(0x19f)](()=>_0x145f86['fireEvent'](TEST_EVENTS[_0x5a47c6(0x194)],_0x3c7911));const _0x17c8bb={};_0x17c8bb['hookType']=_0x3ff9d5[_0x5a47c6(0x1a0)],PerformanceTester[_0x5a47c6(0x1a4)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x17c8bb);}catch(_0x386019){PerformanceTester[_0x5a47c6(0x16b)](_0x386019);const _0x3a1a0a={};_0x3a1a0a[_0x5a47c6(0x12a)]=_0x3ff9d5[_0x5a47c6(0x1a0)],PerformanceTester['end'](PerformanceHookEvents[_0x5a47c6(0x175)],![],_0x386019,_0x3a1a0a);}}),CodeceptJS[_0x16807c(0x15d)][_0x16807c(0x1e9)]['on'](CodeceptJS['event'][_0x16807c(0x1d7)][_0x16807c(0x192)],async(_0x25c0ce,_0x1ddc7c)=>{const _0x1a3a69=_0x16807c;PerformanceTester['start'](PerformanceHookEvents['SDK_HOOK']);try{const _0x1bc517=_0x25c0ce[_0x1a3a69(0x116)][_0x1a3a69(0x1c5)],_0x253e2b=_0x145f86[_0x1a3a69(0x161)](TEST_EVENTS['HOOK_RUN_FINISHED'],_0x1bc517,_0x1ddc7c);CodeceptRecorder['add'](()=>_0x145f86['fireEvent'](TEST_EVENTS[_0x1a3a69(0x194)],_0x253e2b));const _0x60c5ee={};_0x60c5ee['hookType']=_0x3ff9d5[_0x1a3a69(0x1db)],PerformanceTester['start'](PerformanceHookEvents[_0x1a3a69(0x175)],!![],null,_0x60c5ee);}catch(_0x548779){PerformanceTester[_0x1a3a69(0x16b)](_0x548779);const _0x3e59f9={};_0x3e59f9['hookType']=_0x3ff9d5['jragP'],PerformanceTester[_0x1a3a69(0x1a4)](PerformanceHookEvents[_0x1a3a69(0x175)],![],_0x548779,_0x3e59f9);}const _0x9ec6db={};_0x9ec6db['hookType']=_0x3ff9d5[_0x1a3a69(0x1db)],PerformanceTester[_0x1a3a69(0x1a4)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x9ec6db);}),CodeceptJS[_0x16807c(0x15d)][_0x16807c(0x1e9)]['on'](CodeceptJS[_0x16807c(0x15d)][_0x16807c(0x1c5)]['before'],_0x2a9430=>{const _0x465d9f=_0x16807c;PerformanceTester[_0x465d9f(0x16c)](PerformanceHookEvents[_0x465d9f(0x175)]);try{globals[_0x465d9f(0x139)](_0x3ff9d5[_0x465d9f(0x1a6)],_0x2a9430[_0x465d9f(0x19b)]);_0x3ff9d5[_0x465d9f(0x125)](isBrowserstackInfra)&&(_0x1a1054&&(global[_0x465d9f(0x1da)]={'currentTest':{'name':_0x2a9430[_0x465d9f(0x19b)],'testInfo':{'titlePath':_0x2a9430[_0x465d9f(0x148)]()}}}));const _0x35ea3e={};_0x35ea3e[_0x465d9f(0x12a)]=_0x3ff9d5[_0x465d9f(0x1d8)],PerformanceTester[_0x465d9f(0x1a4)](PerformanceHookEvents[_0x465d9f(0x175)],!![],null,_0x35ea3e);}catch(_0x250fee){PerformanceTester[_0x465d9f(0x16b)](_0x250fee);const _0x5704ea={};_0x5704ea[_0x465d9f(0x12a)]=_0x3ff9d5['OtqAN'],PerformanceTester['end'](PerformanceHookEvents[_0x465d9f(0x175)],![],_0x250fee,_0x5704ea);}}),CodeceptJS[_0x16807c(0x15d)][_0x16807c(0x1e9)]['on'](CodeceptJS['event'][_0x16807c(0x1c5)][_0x16807c(0x122)],_0x53e32b=>{const _0x5633eb=_0x16807c,_0x45b862={'edzbc':function(_0x3a7706){const _0x31fc39=a1_0xc836;return _0x3ff9d5[_0x31fc39(0x127)](_0x3a7706);},'GNxlx':function(_0x2f5933,_0x4f5d2a){return _0x3ff9d5['ObdNX'](_0x2f5933,_0x4f5d2a);},'ZQpil':function(_0xd32565,_0x26a5f6,_0x478840){const _0x4b0d73=a1_0xc836;return _0x3ff9d5[_0x4b0d73(0x17c)](_0xd32565,_0x26a5f6,_0x478840);},'eqcTT':function(_0x50f2b8,_0x4aa7f3){return _0x3ff9d5['ObdNX'](_0x50f2b8,_0x4aa7f3);}};PerformanceTester[_0x5633eb(0x16c)](PerformanceHookEvents['SDK_HOOK']);try{globals[_0x5633eb(0x139)](_0x3ff9d5[_0x5633eb(0x1a6)],_0x53e32b[_0x5633eb(0x19b)]);const _0x5348dd=_0x145f86[_0x5633eb(0x161)](TEST_EVENTS['TEST_RUN_STARTED'],_0x53e32b);CodeceptRecorder[_0x5633eb(0x19f)](()=>_0x145f86[_0x5633eb(0x1b2)](TEST_EVENTS[_0x5633eb(0x16d)],_0x5348dd)),CodeceptRecorder[_0x5633eb(0x19f)](async()=>{const _0x396f86=_0x5633eb;_0x45b862[_0x396f86(0x12b)](isBrowserstackInfra)&&(!_0x45b862[_0x396f86(0x1ab)](isTrue,_0x3d62ab['skipSessionName'])&&await _0x45b862[_0x396f86(0x117)](markSessionName,_0x20c3e2,_0x53e32b['title']),_0x145f86[_0x396f86(0x120)]&&await _0x45b862[_0x396f86(0x19d)](o11ySync,_0x20c3e2));});}catch(_0x1493de){const _0x197eb8={};_0x197eb8['hookType']=_0x3ff9d5[_0x5633eb(0x191)],PerformanceTester['end'](PerformanceHookEvents['SDK_HOOK'],![],_0x1493de,_0x197eb8),PerformanceTester[_0x5633eb(0x16b)](_0x1493de);}const _0x172ffc={};_0x172ffc[_0x5633eb(0x12a)]=_0x3ff9d5[_0x5633eb(0x191)],PerformanceTester[_0x5633eb(0x1a4)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x172ffc);}),CodeceptJS[_0x16807c(0x15d)][_0x16807c(0x1e9)]['on'](CodeceptJS[_0x16807c(0x15d)][_0x16807c(0x1c5)][_0x16807c(0x14b)],_0x1c8786=>{const _0x33d7d5=_0x16807c,_0x369892={'sNHOn':function(_0x50cd1c,_0x3f841b,_0x35d002){return _0x3ff9d5['JbdkD'](_0x50cd1c,_0x3f841b,_0x35d002);},'IKCVo':function(_0x1f7028){return _0x3ff9d5['VLcza'](_0x1f7028);}};PerformanceTester[_0x33d7d5(0x16c)](PerformanceHookEvents[_0x33d7d5(0x175)]);try{const _0x49cbc4=_0x145f86['captureEvent'](TEST_EVENTS[_0x33d7d5(0x1b9)],_0x1c8786);CodeceptRecorder['add'](()=>_0x145f86['fireEvent'](TEST_EVENTS[_0x33d7d5(0x1b9)],_0x49cbc4)),CodeceptRecorder[_0x33d7d5(0x19f)](async()=>{const _0x39a9a7=_0x33d7d5,_0x428722={'ZtXrY':function(_0x1d1b9f,_0x246a4a,_0x5ba523){const _0x450a55=a1_0xc836;return _0x369892[_0x450a55(0x1c9)](_0x1d1b9f,_0x246a4a,_0x5ba523);}};_0x369892[_0x39a9a7(0x1e3)](isBrowserstackInfra)&&await PerformanceTester['measureWrapper'](PerformanceAutEvents[_0x39a9a7(0x1cb)],async()=>{const _0x4f7312=_0x39a9a7;_0x1a1054?await _0x428722['ZtXrY'](playwrightMarkSessionStatus,_0x20c3e2,STATE_PASSED):await _0x428722[_0x4f7312(0x16a)](markSessionStatus,_0x20c3e2,STATE_PASSED);})();}),PerformanceTester[_0x33d7d5(0x1a4)](PerformanceEvents[_0x33d7d5(0x19c)]);}catch(_0x1babd2){PerformanceTester[_0x33d7d5(0x16b)](_0x1babd2);const _0x143022={};_0x143022['hookType']=_0x3ff9d5['QyBsB'],PerformanceTester['end'](PerformanceHookEvents[_0x33d7d5(0x175)],![],_0x1babd2,_0x143022),PerformanceTester[_0x33d7d5(0x1a4)](PerformanceEvents[_0x33d7d5(0x19c)],![],_0x1babd2);}const _0x51a5e4={};_0x51a5e4[_0x33d7d5(0x12a)]=_0x3ff9d5[_0x33d7d5(0x195)],PerformanceTester[_0x33d7d5(0x1a4)](PerformanceHookEvents[_0x33d7d5(0x175)],!![],null,_0x51a5e4);}),CodeceptJS[_0x16807c(0x15d)][_0x16807c(0x1e9)]['on'](CodeceptJS['event'][_0x16807c(0x1c5)][_0x16807c(0x192)],(_0x59267c,_0x547ce9)=>{const _0x241db1=_0x16807c;PerformanceTester[_0x241db1(0x16c)](PerformanceHookEvents[_0x241db1(0x175)]);try{if(_0x3ff9d5[_0x241db1(0x13d)](_0x59267c[_0x241db1(0x1d9)][_0x241db1(0x19e)],_0x3ff9d5[_0x241db1(0x1d0)])){const _0x46b03d=_0x145f86['captureEvent'](TEST_EVENTS['TEST_RUN_SKIPPED'],_0x59267c['ctx'][_0x241db1(0x1ad)]);CodeceptRecorder[_0x241db1(0x19f)](()=>_0x145f86[_0x241db1(0x1b2)](TEST_EVENTS[_0x241db1(0x130)],_0x46b03d));}else{const _0x15a8a4=_0x145f86[_0x241db1(0x161)](TEST_EVENTS[_0x241db1(0x1b9)],_0x59267c,_0x547ce9);CodeceptRecorder['add'](()=>{const _0x23ed9d=_0x241db1;try{_0x145f86[_0x23ed9d(0x1b2)](TEST_EVENTS[_0x23ed9d(0x1b9)],_0x15a8a4);}catch(_0x3a710e){logger['debug'](_0x23ed9d(0x146)+util[_0x23ed9d(0x174)](_0x3a710e)),PerformanceTester[_0x23ed9d(0x1a4)](PerformanceEvents[_0x23ed9d(0x19c)],![],_0x3a710e);}}),CodeceptRecorder['add'](async()=>{const _0x2a7822=_0x241db1;try{_0x3ff9d5['FRiOs'](isBrowserstackInfra)&&(_0x1a1054?await _0x3ff9d5['wZWPR'](playwrightMarkSessionStatus,_0x20c3e2,STATE_FAILED,_0x547ce9):await _0x3ff9d5['wZWPR'](markSessionStatus,_0x20c3e2,STATE_FAILED,_0x547ce9));}catch(_0x1f5b06){logger[_0x2a7822(0x1d4)](_0x2a7822(0x188)+util[_0x2a7822(0x174)](_0x1f5b06)),PerformanceTester[_0x2a7822(0x1a4)](PerformanceEvents[_0x2a7822(0x19c)],![],_0x1f5b06);}});}PerformanceTester['end'](PerformanceEvents[_0x241db1(0x19c)]);}catch(_0x39d166){PerformanceTester[_0x241db1(0x16b)](_0x39d166);const _0x3241c1={};_0x3241c1[_0x241db1(0x12a)]=_0x3ff9d5[_0x241db1(0x157)],PerformanceTester[_0x241db1(0x1a4)](PerformanceHookEvents[_0x241db1(0x175)],![],_0x39d166,_0x3241c1),PerformanceTester[_0x241db1(0x1a4)](PerformanceEvents[_0x241db1(0x19c)],![],_0x39d166);}const _0x18fd40={};_0x18fd40['hookType']=_0x3ff9d5[_0x241db1(0x157)],PerformanceTester['end'](PerformanceHookEvents[_0x241db1(0x175)],!![],null,_0x18fd40);}),CodeceptJS[_0x16807c(0x15d)]['dispatcher']['on'](CodeceptJS['event']['test'][_0x16807c(0x138)],_0x4e839b=>{const _0x575c37=_0x16807c;PerformanceTester[_0x575c37(0x16c)](PerformanceHookEvents[_0x575c37(0x175)]);try{const _0x42a7b4=_0x145f86[_0x575c37(0x161)](TEST_EVENTS['TEST_RUN_SKIPPED'],_0x4e839b);CodeceptRecorder[_0x575c37(0x19f)](()=>_0x145f86['fireEvent'](TEST_EVENTS[_0x575c37(0x130)],_0x42a7b4)),PerformanceTester[_0x575c37(0x1a4)](PerformanceEvents[_0x575c37(0x19c)]);}catch(_0x1c0562){PerformanceTester['captureError'](_0x1c0562),PerformanceTester['end'](PerformanceEvents[_0x575c37(0x19c)],![],_0x1c0562);const _0x484d42={};_0x484d42['hookType']=_0x3ff9d5[_0x575c37(0x1b3)],PerformanceTester[_0x575c37(0x1a4)](PerformanceHookEvents[_0x575c37(0x175)],![],_0x1c0562,_0x484d42);}const _0x53480f={};_0x53480f[_0x575c37(0x12a)]=_0x3ff9d5[_0x575c37(0x1b3)],PerformanceTester[_0x575c37(0x1a4)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x53480f);}),CodeceptJS['event'][_0x16807c(0x1e9)]['on'](CodeceptJS[_0x16807c(0x15d)][_0x16807c(0x1c5)][_0x16807c(0x124)],async(_0x3913ba,_0x18697d)=>{const _0x229f9f=_0x16807c,_0x50311f={};_0x50311f[_0x229f9f(0x15a)]=_0x3ff9d5[_0x229f9f(0x178)];const _0xc0def4=_0x50311f;try{PerformanceTester['start'](PerformanceHookEvents['SDK_HOOK']);const _0x91a3ea=_0x3ff9d5[_0x229f9f(0x145)](shouldScanTestForAccessibility,_0x3913ba[_0x229f9f(0x148)](),!![]);if(_0x3ff9d5[_0x229f9f(0x150)](isAccessibilityAutomationSession)&&global[_0x229f9f(0x136)]&&_0x91a3ea){const _0x328f52={};_0x328f52['thTestRunUuid']=_0x3913ba[_0x229f9f(0x1b8)],_0x328f52[_0x229f9f(0x1b6)]=process[_0x229f9f(0x156)][testHubConstants[_0x229f9f(0x173)][_0x229f9f(0x152)]],_0x328f52[_0x229f9f(0x198)]=process[_0x229f9f(0x156)][testHubConstants['ENV_VAR']['BROWSERSTACK_TESTHUB_JWT']];const _0xcc58b6=_0x328f52;logger[_0x229f9f(0x1d4)](_0x229f9f(0x168)+JSON[_0x229f9f(0x12c)](_0xcc58b6)),CodeceptRecorder[_0x229f9f(0x19f)](async()=>{const _0x37c1e8=_0x229f9f,_0x5612ab={};_0x5612ab['command']=_0xc0def4[_0x37c1e8(0x15a)],await PerformanceTester[_0x37c1e8(0x14f)](PerformanceA11yEvents[_0x37c1e8(0x13e)],async()=>{const _0x3cb153=_0x37c1e8;await AccessibilityHelper[_0x3cb153(0x141)](_0x20c3e2,scripts[_0x3cb153(0x1a5)]);},_0x5612ab)(),await PerformanceTester[_0x37c1e8(0x14f)](PerformanceA11yEvents[_0x37c1e8(0x1ce)],async()=>{const _0x383a49=_0x37c1e8;await AccessibilityHelper[_0x383a49(0x141)](_0x20c3e2,scripts[_0x383a49(0x17e)],_0xcc58b6);})();}),logger[_0x229f9f(0x15c)](_0x3ff9d5[_0x229f9f(0x142)]);}const _0x532b2e={};_0x532b2e[_0x229f9f(0x12a)]=_0x3ff9d5[_0x229f9f(0x177)],PerformanceTester[_0x229f9f(0x1a4)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x532b2e);}catch(_0x295aae){PerformanceTester[_0x229f9f(0x16b)](_0x295aae);const _0x528e9c={};_0x528e9c[_0x229f9f(0x12a)]=_0x3ff9d5[_0x229f9f(0x177)],PerformanceTester[_0x229f9f(0x1a4)](PerformanceHookEvents['SDK_HOOK'],![],_0x295aae,_0x528e9c);}}),CodeceptJS[_0x16807c(0x15d)][_0x16807c(0x1e9)]['on'](CodeceptJS['event'][_0x16807c(0x11d)]['comment'],_0x5b6c3c=>{const _0xea51c2=_0x16807c;PerformanceTester[_0xea51c2(0x16c)](PerformanceHookEvents[_0xea51c2(0x175)]);try{process['emit'](_0xea51c2(0x169)+process[_0xea51c2(0x182)],{'timestamp':new Date()[_0xea51c2(0x1bd)](),'level':_0x3ff9d5[_0xea51c2(0x133)],'message':_0x5b6c3c,'kind':_0x3ff9d5[_0xea51c2(0x1d3)],'http_response':{}});}catch(_0x137704){PerformanceTester[_0xea51c2(0x16b)](_0x137704);const _0xa750aa={};_0xa750aa[_0xea51c2(0x12a)]=_0x3ff9d5[_0xea51c2(0x12e)],PerformanceTester[_0xea51c2(0x1a4)](PerformanceHookEvents[_0xea51c2(0x175)],![],_0x137704,_0xa750aa);}const _0x8525f4={};_0x8525f4['hookType']=_0x3ff9d5[_0xea51c2(0x12e)],PerformanceTester[_0xea51c2(0x1a4)](PerformanceHookEvents[_0xea51c2(0x175)],!![],null,_0x8525f4);}),CodeceptJS[_0x16807c(0x15d)]['dispatcher']['on'](CodeceptJS[_0x16807c(0x15d)][_0x16807c(0x1ea)]['before'],_0x1264bc=>{const _0x5f2a09=_0x16807c,_0x3849b0={};_0x3849b0[_0x5f2a09(0x12a)]=_0x3ff9d5[_0x5f2a09(0x186)],PerformanceTester[_0x5f2a09(0x14f)](PerformanceHookEvents['SDK_HOOK'],()=>{const _0x4ee40f=_0x5f2a09;_0x145f86[_0x4ee40f(0x181)](_0x1264bc);},_0x3849b0)();}),CodeceptJS[_0x16807c(0x15d)][_0x16807c(0x1e9)]['on'](CodeceptJS[_0x16807c(0x15d)]['bddStep'][_0x16807c(0x124)],_0x3dc048=>{const _0x20e737=_0x16807c,_0x414ede={};_0x414ede['hookType']=_0x3ff9d5[_0x20e737(0x129)],PerformanceTester[_0x20e737(0x14f)](PerformanceHookEvents[_0x20e737(0x175)],()=>{const _0x270242=_0x20e737;_0x145f86[_0x270242(0x1eb)](_0x3dc048);},_0x414ede)();});};function a1_0x55c5(){const _0xbcf4a3=['10862168csFaSk','Puppeteer','Suite','fireEvent','recsB','skipSessionStatus','SDK_PRE_TEST','thBuildUuid','patch','testAnalyticsId','TEST_RUN_FINISHED','toString','VgvBn','12386376lTcaBs','toISOString','slice','before','Playwright','SQNLo','SYNC','faqdm','SDK_PRE_INITIALIZE','test','saveScreenshot','6615550jQAYZm','../../helpers/performance/constants','sNHOn','startMonitoring','SESSION_STATUS','ReGsL','Cfmcz','SAVE_RESULTS','gTcZU','XFROQ','readFileSync','njBWf','CcNCF','debug','codeceptjs/lib/utils.js','all','hook','OtqAN','constructor','__workerDetails','jragP','browserstack_executor:\x20','DovqQ','forEach','../../helpers/testhub/constants.js','warn','getSyncScript','bstackAllyScanning','IKCVo','SESSION_NAME','AwSeb','setSessionName','getAccessibilityResults','43608zgEwMm','dispatcher','bddStep','bddStepFinish','initSaveScreenshot','stop','test-skipped','OzNMl','bddStep-before','ctx','ZQpil','screenshotOutputFolder','TestCafe','helpers','MEcux','IQwov','step','codeceptjs','winstonLogger','enabled','hBdSD','started','dXVqC','after','bNzpG','GJJQB','FRiOs','TEST_SCREENSHOT','shauw','hookType','edzbc','stringify','filter','ZEWMY','INFO','TEST_RUN_SKIPPED','shouldWrapCommand','../../helpers/helper','oCtaj','__skipSessionStatus','afterTest','accessibilityPlatform','exports','skipped','setGlobal','Failed\x20to\x20execute\x20_before:\x20','util','GET_RESULTS_SUMMARY','TGIXB','PERFORM_SCAN','102MyDeTN','getAccessibilityResultsSummary','browserStackExecuteDriver','YpBYG','SDK_POST_TEST','../../helpers/request-spy','SoiGF','Failed\x20in\x20sending\x20TestRunFinish\x20event:\x20','prototype','titlePath','sxDrN','../../bin/playwright/accessibility-helper','passed','arguments','container','test-started','measureWrapper','IzKPZ','apply','BROWSERSTACK_TESTHUB_UUID','6503320SizfXM','setSessionStatus','getResultsSummary','env','ribDb','Blwwb','../../bin/playwright/sessionDetails','BmOTu','restore','info','event','GBYSA','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','gVgKG','captureEvent','_before','patchSaveScreenshot','nSFRq','WebDriver','reason','../../helpers/accessibility-automation/scripts','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','bs:addLog:','ZtXrY','captureError','start','TEST_RUN_STARTED','hook-started','executeScript','find','hook-passed','GET_RESULTS','ENV_VAR','format','SDK_HOOK','browserstackTestName','oqoiJ','ZMIFZ','RoGnl','test-after','163221HPKFKS','JbdkD','status','saveTestResults','eoNTz','catch','bddStepStart','pid','then','SDK_POST_INITIALIZE','14lnjfdI','fEVRf','browser','Failed\x20in\x20marking\x20session\x20status\x20of\x20test:\x20','3848808WTRxNG','kspsY','action','vrQBZ','paEcU','addRequestSpy','../../helpers/test-observability/utils','emit','lfYuW','failed','xyhHP','HOOK_RUN_FINISHED','QyBsB','codeceptjs/lib/helper/WebDriver.js','ObdNX','thJwtToken','class','call','title','SDK_TEST','eqcTT','name','add','zWeXi','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20summary.','../../helpers/accessibility-automation/helper','SwIJs','end','performScan','KMqUi','bind','HOOK_RUN_STARTED','test-before','hMagt','GNxlx','7zkDVpZ','currentTest','commandsToWrap'];a1_0x55c5=function(){return _0xbcf4a3;};return a1_0x55c5();}
|
|
1
|
+
const a1_0x4fd780=a1_0x124f;function a1_0xb8e8(){const _0x389d13=['debug','lAwyq','WebDriver','startMonitoring','WmTaH','VmMGo','lYHRj','4321264mxBfVm','env','NuqrR','setGlobal','setSessionStatus','tdQvc','captureEvent','wqsrF','CXCEt','command','constructor','codeceptjs/lib/helper/WebDriver.js','apply','browserstack_executor:\x20','stringify','XRwwl','getResults','Screenshot\x20path\x20not\x20found','AXmAR','bddStep-after','YAgJQ','SDK_POST_INITIALIZE','../../helpers/performance/constants','bstackAllyScanning','arguments','Element','VAhcP','TEST_SCREENSHOT','getSyncScript','info','browser','dispatcher','wFXmb','Puppeteer','hook-started','browserStackExecuteDriver','15757vQvVIC','ENV_VAR','../../helpers/logger','5uLJapl','_before','KQzKz','HUsxV','format','test-after','container','Tqxst','aaENT','../../bin/playwright/accessibility-helper','thBuildUuid','SXZmS','uzPAQ','slice','skipped','hOLzt','lOXBm','initSaveScreenshot','pUQkn','titlePath','add','contexts','dymSS','__skipSessionStatus','class','hookType','measureWrapper','LCmhL','2072754HaphXU','../../helpers/accessibility-automation/helper','SDK_PRE_INITIALIZE','YdocD','helpers','__workerDetails','../../helpers/testhub/constants.js','rQNGV','../../helpers/accessibility-automation/scripts','patch','captureError','hook','SESSION_STATUS','1584777GPrhtO','QPQkK','then','bddStepFinish','PYugW','forEach','lLaxy','bddStep','saveTestResults','exports','executeScript','testAnalyticsId','test','nSfvs','../../helpers/performance/performance-tester','failed','readFileSync','../../helpers/globals.js','codeceptjs/lib/recorder.js','vhXdi','ZjZEM','BROWSERSTACK_TESTHUB_UUID','codeceptjs/lib/utils.js','JRFrb','name','../../helpers/test-observability/utils','SDK_PRE_TEST','prototype','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','browserstackTestName','addRequestSpy','jmCoI','oDJfB','find','wIKbg','860346qbjsYa','bind','SAVE_RESULTS','Suite','codeceptjs/lib/helper/Playwright.js','cKIbi','lYxBo','start','QwLjp','getResultsSummary','test-before','afterTest','getAccessibilityResults','PERFORM_SCAN','codeceptjs','step-comment','overwriteCommand','toISOString','VtWOx','performScan','passed','reason','RJlxp','after','TEST_RUN_SKIPPED','all','SuXMR','action','itEXq','comment','SESSION_NAME','xSEKZ','SDK_POST_TEST','util','440QMkOFy','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','1699488rIKntY','./helper.js','hpZcx','warn','HOOK_RUN_FINISHED','fireEvent','ctx','6008ySRDaE','VdPPF','emit','SDK_TEST','accessibilityPlatform','stop','title','test-passed','started','patchSaveScreenshot','INFO','BROWSERSTACK_TESTHUB_JWT','Failed\x20to\x20execute\x20_before:\x20','aIIsy','SiKXU','qLfeG','before','test-started','pid','SDK_HOOK','SYNC','HOOK_RUN_STARTED','./o11yHelper','3302178SCkEZD','TEST_RUN_FINISHED','bs:addLog:','winstonLogger','codeceptjs/lib/index.js','status','PRaDK','wElHS','Playwright','qdDig','browserContext','ktnRw','oOkKC','event','step','bddStep-before','enabled','screenshotOutputFolder','gItZA','TEST_LOG','saveScreenshot','PxATY','QlavU','test-failed','kibke','end','skipSessionStatus'];a1_0xb8e8=function(){return _0x389d13;};return a1_0xb8e8();}function a1_0x124f(_0x3ba943,_0x529b08){const _0xb8e850=a1_0xb8e8();return a1_0x124f=function(_0x124fdf,_0x127520){_0x124fdf=_0x124fdf-0x16a;let _0xc511ec=_0xb8e850[_0x124fdf];return _0xc511ec;},a1_0x124f(_0x3ba943,_0x529b08);}(function(_0x2d3ce9,_0x5c297c){const _0x3c809f=a1_0x124f,_0x10b830=_0x2d3ce9();while(!![]){try{const _0x1416a9=parseInt(_0x3c809f(0x1ec))/0x1+parseInt(_0x3c809f(0x233))/0x2+-parseInt(_0x3c809f(0x1df))/0x3+parseInt(_0x3c809f(0x19c))/0x4+parseInt(_0x3c809f(0x1c3))/0x5*(parseInt(_0x3c809f(0x17a))/0x6)+-parseInt(_0x3c809f(0x1c0))/0x7*(-parseInt(_0x3c809f(0x23a))/0x8)+parseInt(_0x3c809f(0x20f))/0x9*(-parseInt(_0x3c809f(0x231))/0xa);if(_0x1416a9===_0x5c297c)break;else _0x10b830['push'](_0x10b830['shift']());}catch(_0x4e29bc){_0x10b830['push'](_0x10b830['shift']());}}}(a1_0xb8e8,0xd1a17));const fs=require('fs'),util=require(a1_0x4fd780(0x230)),{requireModule,markSessionStatus,isUndefined,isTrue,isBrowserstackInfra}=require('../../helpers/helper'),logger=require(a1_0x4fd780(0x1c2))[a1_0x4fd780(0x17d)],testOpsHelper=require(a1_0x4fd780(0x205)),requestSpy=require('../../helpers/request-spy'),PlaywrightSessionDetails=require('../../bin/playwright/sessionDetails'),{O11yHelper,TEST_EVENTS,STATE_PASSED,STATE_FAILED}=require(a1_0x4fd780(0x179)),{shouldScanTestForAccessibility,isAccessibilityAutomationSession}=require(a1_0x4fd780(0x1e0)),AccessibilityHelper=require(a1_0x4fd780(0x1cc)),scripts=require(a1_0x4fd780(0x1e7)),PerformanceTester=require(a1_0x4fd780(0x1fa)),{EVENTS:PerformanceEvents,AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceHookEvents}=require(a1_0x4fd780(0x1b2)),{processWebDriverConfig,shouldPatchExecuteScript}=require(a1_0x4fd780(0x234)),testHubConstants=require(a1_0x4fd780(0x1e5)),globals=require(a1_0x4fd780(0x1fd)),CodeceptJS=requireModule(a1_0x4fd780(0x17e),'codeceptjs'),CodeceptUtils=requireModule(a1_0x4fd780(0x202),a1_0x4fd780(0x21d)),CodeceptWebDriver=requireModule(a1_0x4fd780(0x1a7),a1_0x4fd780(0x21d)),CodeceptRecorder=requireModule(a1_0x4fd780(0x1fe),a1_0x4fd780(0x21d)),CodeceptPlaywright=requireModule(a1_0x4fd780(0x213),a1_0x4fd780(0x21d)),playwrightMarkSessionStatus=(_0x3560e9,_0x1b40a8,_0x55870e)=>{const _0x533a1f=a1_0x4fd780,_0x2c38d9={'LCmhL':_0x533a1f(0x1a0),'hpZcx':function(_0x24f3cc,_0xd42a32){return _0x24f3cc(_0xd42a32);}},_0x28e1ab={};_0x28e1ab[_0x533a1f(0x17f)]=_0x1b40a8;const _0xa17fef={};_0xa17fef[_0x533a1f(0x22a)]=_0x2c38d9[_0x533a1f(0x1de)],_0xa17fef[_0x533a1f(0x1b4)]=_0x28e1ab;const _0x1f5df0=_0xa17fef;return!_0x2c38d9[_0x533a1f(0x235)](isUndefined,_0x55870e)&&(_0x1f5df0[_0x533a1f(0x1b4)][_0x533a1f(0x224)]=JSON[_0x533a1f(0x1aa)](_0x55870e)),_0x3560e9[_0x533a1f(0x1f6)](()=>{},_0x533a1f(0x1a9)+JSON[_0x533a1f(0x1aa)](_0x1f5df0));},o11ySync=PerformanceTester[a1_0x4fd780(0x1dd)](PerformanceO11yEvents[a1_0x4fd780(0x177)],async _0x4475c6=>{const _0x32d546=a1_0x4fd780,_0x520b61={};_0x520b61[_0x32d546(0x1bc)]=function(_0x414d21,_0x36d851){return _0x414d21===_0x36d851;},_0x520b61[_0x32d546(0x18f)]=_0x32d546(0x182);const _0xda57d6=_0x520b61;_0xda57d6[_0x32d546(0x1bc)](_0x4475c6[_0x32d546(0x1a6)][_0x32d546(0x204)],_0xda57d6[_0x32d546(0x18f)])?await _0x4475c6[_0x32d546(0x1f6)](_0x4af618=>{},testOpsHelper[_0x32d546(0x1b8)]()):await _0x4475c6['executeScript'](testOpsHelper['getSyncScript']());}),markSessionName=PerformanceTester[a1_0x4fd780(0x1dd)](PerformanceAutEvents[a1_0x4fd780(0x22d)],async(_0x4f4da2,_0x1dc4b9)=>{const _0x50110b=a1_0x4fd780,_0x2133d0={};_0x2133d0[_0x50110b(0x20c)]='setSessionName',_0x2133d0['lYHRj']=function(_0x201c26,_0x4ff849){return _0x201c26===_0x4ff849;},_0x2133d0[_0x50110b(0x1ce)]=_0x50110b(0x182);const _0xa8de0f=_0x2133d0,_0x59a75b={};_0x59a75b[_0x50110b(0x204)]=_0x1dc4b9;const _0x278cad={};_0x278cad[_0x50110b(0x22a)]=_0xa8de0f[_0x50110b(0x20c)],_0x278cad['arguments']=_0x59a75b;const _0x10b11e=_0x278cad;_0xa8de0f[_0x50110b(0x19b)](_0x4f4da2['constructor']['name'],_0xa8de0f['SXZmS'])?await _0x4f4da2[_0x50110b(0x1f6)](()=>{},'browserstack_executor:\x20'+JSON[_0x50110b(0x1aa)](_0x10b11e)):await _0x4f4da2[_0x50110b(0x1f6)](_0x50110b(0x1a9)+JSON[_0x50110b(0x1aa)](_0x10b11e));}),patchSaveScreenshot=_0x34a501=>{const _0x29e2b8=a1_0x4fd780,_0x3e0acd={'wDvvG':'base64','tdQvc':_0x29e2b8(0x1b7),'XqQXf':function(_0x4ab053){return _0x4ab053();},'SuXMR':function(_0x369c37,_0x56c4fe){return _0x369c37(_0x56c4fe);},'MPCcl':_0x29e2b8(0x1ad)};_0x3e0acd[_0x29e2b8(0x229)](isTrue,process['env']['BS_TESTOPS_ALLOW_SCREENSHOTS'])&&!_0x34a501[_0x29e2b8(0x16c)]&&(_0x34a501[_0x29e2b8(0x16c)]=!![],_0x34a501[_0x29e2b8(0x1d4)]=_0x34a501[_0x29e2b8(0x18e)],_0x34a501['saveScreenshot']=(_0x2a04e9,_0x1732b4=![])=>{const _0x4c8204=_0x29e2b8,_0x2704cb={'lOXBm':_0x3e0acd['wDvvG'],'HUsxV':_0x3e0acd[_0x4c8204(0x1a1)],'AXmAR':function(_0x5e7eab){return _0x3e0acd['XqQXf'](_0x5e7eab);},'JRFrb':function(_0x19e83c,_0x2f5222){const _0x1307a6=_0x4c8204;return _0x3e0acd[_0x1307a6(0x229)](_0x19e83c,_0x2f5222);},'wIKbg':_0x3e0acd['MPCcl']};return new Promise(function(_0x5a4b83,_0x3ffe64){const _0x4ac357=_0x4c8204;_0x34a501[_0x4ac357(0x1d4)](_0x2a04e9,_0x1732b4)[_0x4ac357(0x1ee)](()=>{const _0x3ccee5=_0x4ac357,_0x4718cc=CodeceptUtils[_0x3ccee5(0x18b)](_0x2a04e9);if(_0x4718cc){const _0x47843b=fs[_0x3ccee5(0x1fc)](_0x4718cc);process[_0x3ccee5(0x23c)](_0x3ccee5(0x17c)+process[_0x3ccee5(0x175)],{'timestamp':new Date()[_0x3ccee5(0x220)](),'message':_0x47843b['toString'](_0x2704cb[_0x3ccee5(0x1d3)]),'kind':_0x2704cb[_0x3ccee5(0x1c6)]}),_0x2704cb[_0x3ccee5(0x1ae)](_0x5a4b83);}_0x2704cb[_0x3ccee5(0x203)](_0x3ffe64,new Error(_0x2704cb[_0x3ccee5(0x20e)]));})['catch'](()=>null);});});},patchWebDriverBefore=_0xc411f3=>{const _0x898627=a1_0x4fd780,_0x22a0b1={'lAwyq':function(_0x2b497f){return _0x2b497f();},'VAhcP':function(_0x7620ae,_0x2e3e94){return _0x7620ae(_0x2e3e94);},'nSfvs':function(_0x1a5908,_0x4ec378){return _0x1a5908===_0x4ec378;},'fyGIz':_0x898627(0x1b5),'aIIsy':function(_0x74a1c0,_0x2616f7){return _0x74a1c0(_0x2616f7);}},_0x1aa916=async function(_0x446958,_0x2afa1d){const _0x17e627=_0x898627;return _0x22a0b1[_0x17e627(0x196)](isAccessibilityAutomationSession)&&!global[_0x17e627(0x1b3)]&&global[_0x17e627(0x23e)]&&scripts['shouldWrapCommand'](_0x446958[_0x17e627(0x204)])&&_0x22a0b1[_0x17e627(0x1b6)](shouldPatchExecuteScript,arguments[0x2])&&(global[_0x17e627(0x1b3)]=!![],await PerformanceTester[_0x17e627(0x1dd)](PerformanceA11yEvents[_0x17e627(0x21c)],async()=>{const _0x208186=_0x17e627;logger[_0x208186(0x195)]('Performing\x20scan\x20for\x20'+_0x446958[_0x208186(0x1db)]+'\x20'+_0x446958[_0x208186(0x204)]),await AccessibilityHelper[_0x208186(0x1bf)](_0xc411f3,scripts['performScan']);},{'command':_0x446958[_0x17e627(0x204)]})()),global[_0x17e627(0x1b3)]=![],_0x2afa1d[_0x17e627(0x1a8)](this,Array[_0x17e627(0x207)][_0x17e627(0x1d0)]['call'](arguments,0x2));},_0x3b4321=CodeceptWebDriver[_0x898627(0x207)][_0x898627(0x1c4)];CodeceptWebDriver[_0x898627(0x207)][_0x898627(0x1c4)]=async function(){const _0x33d864=_0x898627,_0xece805={'QwLjp':function(_0x2b34d7,_0x488b7a){const _0x2ba209=a1_0x124f;return _0x22a0b1[_0x2ba209(0x1f9)](_0x2b34d7,_0x488b7a);},'nRwlO':_0x22a0b1['fyGIz']};try{await _0x3b4321[_0x33d864(0x1a8)](this,arguments);}catch(_0x1cd568){logger['debug'](_0x33d864(0x16f)+util[_0x33d864(0x1c7)](_0x1cd568));}scripts['commandsToWrap']['filter'](_0x28aa8f=>_0x28aa8f['name']&&_0x28aa8f['class'])[_0x33d864(0x1f1)](_0x37de6f=>{const _0x20edcb=_0x33d864;this['browser'][_0x20edcb(0x21f)](_0x37de6f[_0x20edcb(0x204)],_0x1aa916[_0x20edcb(0x210)](this,_0x37de6f),_0xece805[_0x20edcb(0x217)](_0x37de6f[_0x20edcb(0x1db)],_0xece805['nRwlO']));}),_0x22a0b1[_0x33d864(0x170)](processWebDriverConfig,_0xc411f3);};},patchPlaywrightBefore=()=>{const _0x1c16d7=a1_0x4fd780;PlaywrightSessionDetails[_0x1c16d7(0x1e8)]();const _0x41ba51=CodeceptPlaywright[_0x1c16d7(0x207)][_0x1c16d7(0x1c4)];CodeceptPlaywright['prototype'][_0x1c16d7(0x1c4)]=async function(){const _0x50d6a1=_0x1c16d7;this[_0x50d6a1(0x184)]=await this[_0x50d6a1(0x1ba)][_0x50d6a1(0x1d8)]()[0x0],await _0x41ba51['apply'](this,arguments);};},getCodeceptDriver=()=>{const _0xfe4e9c=a1_0x4fd780,_0x5630eb={};_0x5630eb[_0xfe4e9c(0x1f2)]=_0xfe4e9c(0x197),_0x5630eb[_0xfe4e9c(0x18c)]=_0xfe4e9c(0x182),_0x5630eb['hXcZA']=_0xfe4e9c(0x1bd),_0x5630eb['lYxBo']='TestCafe';const _0x4f740d=_0x5630eb,_0x42e246=[_0x4f740d[_0xfe4e9c(0x1f2)],_0x4f740d['gItZA'],_0x4f740d['hXcZA'],_0x4f740d[_0xfe4e9c(0x215)]],_0x119ee0=_0x42e246[_0xfe4e9c(0x20d)](_0x472b39=>!!CodeceptJS[_0xfe4e9c(0x1c9)][_0xfe4e9c(0x1e3)](_0x472b39));if(!_0x119ee0)return null;return CodeceptJS['container'][_0xfe4e9c(0x1e3)](_0x119ee0);};module[a1_0x4fd780(0x1f5)]=function(_0x581f4f){const _0x9f372=a1_0x4fd780,_0x29a08a={'jmCoI':function(_0x5b0223){return _0x5b0223();},'YAgJQ':function(_0x22d749,_0x2be907){return _0x22d749(_0x2be907);},'wqsrF':_0x9f372(0x21b),'WmTaH':_0x9f372(0x208),'hOLzt':'getAccessibilityResultsSummary','qdDig':'Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20summary.','itEXq':function(_0x483d61,_0x13e285){return _0x483d61(_0x13e285);},'pUQkn':_0x9f372(0x1be),'cKIbi':'hook-passed','qLfeG':'hook-failed','Tqxst':_0x9f372(0x209),'WKUFE':function(_0xde37ba){return _0xde37ba();},'xSEKZ':_0x9f372(0x219),'ZjZEM':function(_0x2505bd){return _0x2505bd();},'XRwwl':function(_0x254e54,_0xb8d968,_0x1d92be){return _0x254e54(_0xb8d968,_0x1d92be);},'VmMGo':function(_0x29abd3,_0xdf5821){return _0x29abd3(_0xdf5821);},'VtWOx':_0x9f372(0x174),'dymSS':function(_0x281317,_0x375212,_0x49190d){return _0x281317(_0x375212,_0x49190d);},'RJlxp':_0x9f372(0x16a),'vhXdi':function(_0x145ccd){return _0x145ccd();},'kILVb':function(_0x2cfda0,_0x39b51e,_0xcedfeb,_0x57490f){return _0x2cfda0(_0x39b51e,_0xcedfeb,_0x57490f);},'kibke':function(_0x565258,_0x16520b){return _0x565258===_0x16520b;},'hclfp':_0x9f372(0x212),'SiKXU':_0x9f372(0x191),'PRaDK':'test-skipped','ubPvs':_0x9f372(0x21a),'oOkKC':function(_0x572be2){return _0x572be2();},'ktnRw':_0x9f372(0x232),'QPQkK':_0x9f372(0x1c8),'hlBdK':_0x9f372(0x16d),'PYugW':_0x9f372(0x18d),'wElHS':_0x9f372(0x21e),'QlavU':_0x9f372(0x189),'VdPPF':_0x9f372(0x1af),'NuqrR':function(_0x2f236c){return _0x2f236c();},'YdocD':_0x9f372(0x182)};_0x581f4f[_0x9f372(0x194)]&&(global[_0x9f372(0x1da)]=_0x581f4f[_0x9f372(0x194)]);PerformanceTester[_0x9f372(0x198)]();const _0x3e4f3c=_0x29a08a[_0x9f372(0x19e)](getCodeceptDriver),_0x9cfcd9=new O11yHelper(_0x3e4f3c,_0x581f4f),_0xcb3e28=!!CodeceptJS[_0x9f372(0x1c9)][_0x9f372(0x1e3)](_0x29a08a[_0x9f372(0x1e2)]);global['__driver']=_0x3e4f3c,_0x3e4f3c&&(PerformanceTester[_0x9f372(0x1dd)](PerformanceEvents[_0x9f372(0x1e1)],()=>{const _0x458ef7=_0x9f372;_0xcb3e28?_0x29a08a[_0x458ef7(0x20b)](patchPlaywrightBefore):_0x29a08a[_0x458ef7(0x1b0)](patchWebDriverBefore,_0x3e4f3c);})(),PerformanceTester['measureWrapper'](PerformanceEvents[_0x9f372(0x1b1)],()=>{const _0x48c439=_0x9f372,_0x23b99b={};_0x23b99b[_0x48c439(0x1e6)]=_0x29a08a[_0x48c439(0x1d2)],_0x23b99b[_0x48c439(0x1a4)]=_0x29a08a[_0x48c439(0x183)];const _0x4dc8a8=_0x23b99b;_0x3e4f3c['getAccessibilityResultsSummary']=async()=>{const _0x229478=_0x48c439;if(global['accessibilityPlatform']){const _0x402f02={};_0x402f02[_0x229478(0x1a5)]=_0x4dc8a8[_0x229478(0x1e6)],await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x229478(0x21c)],async()=>{const _0x300d5d=_0x229478;await AccessibilityHelper[_0x300d5d(0x1bf)](_0x3e4f3c,scripts['performScan']);},_0x402f02)(),await PerformanceTester[_0x229478(0x1dd)](PerformanceA11yEvents['GET_RESULTS_SUMMARY'],async()=>{const _0x2c329d=_0x229478;await AccessibilityHelper[_0x2c329d(0x1bf)](_0x3e4f3c,scripts[_0x2c329d(0x218)]);})();}else return logger[_0x229478(0x236)](_0x4dc8a8[_0x229478(0x1a4)]),{};},_0x3e4f3c[_0x48c439(0x21b)]=async()=>{const _0x30e272=_0x48c439;if(global[_0x30e272(0x23e)]){const _0x2dadb9={};_0x2dadb9[_0x30e272(0x1a5)]=_0x29a08a[_0x30e272(0x1a3)],await PerformanceTester[_0x30e272(0x1dd)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x5df2c4=_0x30e272;await AccessibilityHelper[_0x5df2c4(0x1bf)](_0x3e4f3c,scripts['performScan']);},_0x2dadb9)(),await PerformanceTester[_0x30e272(0x1dd)](PerformanceA11yEvents['GET_RESULTS'],async()=>{const _0xc9e1fd=_0x30e272;await AccessibilityHelper[_0xc9e1fd(0x1bf)](_0x3e4f3c,scripts[_0xc9e1fd(0x1ac)]);})();}else return logger['warn'](_0x29a08a[_0x30e272(0x199)]),{};},_0x29a08a[_0x48c439(0x22b)](patchSaveScreenshot,_0x3e4f3c);})()),CodeceptJS['event'][_0x9f372(0x1bb)]['on'](CodeceptJS['event'][_0x9f372(0x228)]['before'],()=>{const _0x19d8a3=_0x9f372;PerformanceTester[_0x19d8a3(0x216)](PerformanceEvents['SDK_PRE_TEST']);try{_0x9cfcd9[_0x19d8a3(0x216)](),testOpsHelper[_0x19d8a3(0x20a)](),PerformanceTester[_0x19d8a3(0x193)](PerformanceEvents[_0x19d8a3(0x206)]);}catch(_0x24c274){PerformanceTester[_0x19d8a3(0x1e9)](_0x24c274),PerformanceTester[_0x19d8a3(0x193)](PerformanceEvents[_0x19d8a3(0x206)],![],_0x24c274);}}),CodeceptJS['event']['dispatcher']['on'](CodeceptJS[_0x9f372(0x187)]['all']['after'],async()=>{const _0x17584b=_0x9f372;PerformanceTester[_0x17584b(0x216)](PerformanceEvents[_0x17584b(0x22f)]);try{requestSpy['restore'](),await _0x9cfcd9[_0x17584b(0x23f)](),PerformanceTester[_0x17584b(0x193)](PerformanceEvents['SDK_POST_TEST']);}catch(_0x32e7f9){PerformanceTester[_0x17584b(0x1e9)](_0x32e7f9),PerformanceTester['end'](PerformanceEvents[_0x17584b(0x22f)],![],_0x32e7f9);}finally{PerformanceTester['stopMonitoring']();}}),CodeceptJS['event'][_0x9f372(0x1bb)]['on'](CodeceptJS['event'][_0x9f372(0x1ea)][_0x9f372(0x16b)],_0x3314b8=>{const _0x7eafb1=_0x9f372;PerformanceTester['start'](PerformanceEvents[_0x7eafb1(0x176)]);try{const _0x4cb31e=_0x3314b8[_0x7eafb1(0x239)][_0x7eafb1(0x1f8)],_0xe70f6b=_0x9cfcd9[_0x7eafb1(0x1a2)](TEST_EVENTS[_0x7eafb1(0x178)],_0x4cb31e);CodeceptRecorder[_0x7eafb1(0x1d7)](()=>_0x9cfcd9[_0x7eafb1(0x238)](TEST_EVENTS[_0x7eafb1(0x178)],_0xe70f6b));const _0x3d06ef={};_0x3d06ef[_0x7eafb1(0x1dc)]=_0x29a08a['pUQkn'],PerformanceTester[_0x7eafb1(0x193)](PerformanceEvents['SDK_HOOK'],!![],null,_0x3d06ef);}catch(_0x3f97a0){const _0x1526d2={};_0x1526d2[_0x7eafb1(0x1dc)]=_0x29a08a[_0x7eafb1(0x1d5)],PerformanceTester[_0x7eafb1(0x193)](PerformanceEvents[_0x7eafb1(0x176)],![],_0x3f97a0,_0x1526d2),PerformanceTester[_0x7eafb1(0x1e9)](_0x3f97a0);}}),CodeceptJS[_0x9f372(0x187)][_0x9f372(0x1bb)]['on'](CodeceptJS[_0x9f372(0x187)][_0x9f372(0x1ea)][_0x9f372(0x223)],_0x369842=>{const _0x4ad833=_0x9f372,_0x531981={};_0x531981[_0x4ad833(0x1dc)]=_0x29a08a[_0x4ad833(0x214)],PerformanceTester[_0x4ad833(0x216)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x531981);try{const _0x25d80b=_0x369842[_0x4ad833(0x239)][_0x4ad833(0x1f8)],_0x7dcbcb=_0x9cfcd9[_0x4ad833(0x1a2)](TEST_EVENTS[_0x4ad833(0x237)],_0x25d80b);CodeceptRecorder[_0x4ad833(0x1d7)](()=>_0x9cfcd9[_0x4ad833(0x238)](TEST_EVENTS['HOOK_RUN_FINISHED'],_0x7dcbcb));const _0x33c75a={};_0x33c75a[_0x4ad833(0x1dc)]=_0x29a08a[_0x4ad833(0x214)],PerformanceTester['end'](PerformanceHookEvents[_0x4ad833(0x176)],!![],null,_0x33c75a);}catch(_0x2c5f47){PerformanceTester[_0x4ad833(0x1e9)](_0x2c5f47);const _0x3c0b84={};_0x3c0b84[_0x4ad833(0x1dc)]=_0x29a08a[_0x4ad833(0x214)],PerformanceTester[_0x4ad833(0x193)](PerformanceHookEvents[_0x4ad833(0x176)],![],_0x2c5f47,_0x3c0b84);}}),CodeceptJS[_0x9f372(0x187)][_0x9f372(0x1bb)]['on'](CodeceptJS[_0x9f372(0x187)]['hook'][_0x9f372(0x1fb)],async(_0x3b0bbc,_0x5d5c85)=>{const _0x124c78=_0x9f372;PerformanceTester[_0x124c78(0x216)](PerformanceHookEvents[_0x124c78(0x176)]);try{const _0x10289b=_0x3b0bbc['ctx'][_0x124c78(0x1f8)],_0x3d76a=_0x9cfcd9['captureEvent'](TEST_EVENTS[_0x124c78(0x237)],_0x10289b,_0x5d5c85);CodeceptRecorder[_0x124c78(0x1d7)](()=>_0x9cfcd9[_0x124c78(0x238)](TEST_EVENTS[_0x124c78(0x237)],_0x3d76a));const _0x1cfd9c={};_0x1cfd9c[_0x124c78(0x1dc)]=_0x29a08a[_0x124c78(0x172)],PerformanceTester[_0x124c78(0x216)](PerformanceHookEvents[_0x124c78(0x176)],!![],null,_0x1cfd9c);}catch(_0x4d151c){PerformanceTester[_0x124c78(0x1e9)](_0x4d151c);const _0x1fad36={};_0x1fad36[_0x124c78(0x1dc)]=_0x29a08a[_0x124c78(0x172)],PerformanceTester[_0x124c78(0x193)](PerformanceHookEvents['SDK_HOOK'],![],_0x4d151c,_0x1fad36);}const _0x3750fb={};_0x3750fb[_0x124c78(0x1dc)]=_0x29a08a[_0x124c78(0x172)],PerformanceTester[_0x124c78(0x193)](PerformanceHookEvents[_0x124c78(0x176)],!![],null,_0x3750fb);}),CodeceptJS[_0x9f372(0x187)][_0x9f372(0x1bb)]['on'](CodeceptJS[_0x9f372(0x187)][_0x9f372(0x1f8)][_0x9f372(0x173)],_0x2f87ec=>{const _0x2f65bc=_0x9f372;PerformanceTester[_0x2f65bc(0x216)](PerformanceHookEvents[_0x2f65bc(0x176)]);try{globals[_0x2f65bc(0x19f)](_0x29a08a[_0x2f65bc(0x1ca)],_0x2f87ec[_0x2f65bc(0x240)]);_0x29a08a['WKUFE'](isBrowserstackInfra)&&(_0xcb3e28&&(global[_0x2f65bc(0x1e4)]={'currentTest':{'name':_0x2f87ec[_0x2f65bc(0x240)],'testInfo':{'titlePath':_0x2f87ec['titlePath']()}}}));const _0x4957d9={};_0x4957d9[_0x2f65bc(0x1dc)]=_0x29a08a[_0x2f65bc(0x22e)],PerformanceTester[_0x2f65bc(0x193)](PerformanceHookEvents[_0x2f65bc(0x176)],!![],null,_0x4957d9);}catch(_0x4133a1){PerformanceTester[_0x2f65bc(0x1e9)](_0x4133a1);const _0x1741bd={};_0x1741bd[_0x2f65bc(0x1dc)]=_0x29a08a[_0x2f65bc(0x22e)],PerformanceTester[_0x2f65bc(0x193)](PerformanceHookEvents[_0x2f65bc(0x176)],![],_0x4133a1,_0x1741bd);}}),CodeceptJS['event'][_0x9f372(0x1bb)]['on'](CodeceptJS['event'][_0x9f372(0x1f8)][_0x9f372(0x16b)],_0x1959de=>{const _0x153514=_0x9f372;PerformanceTester['start'](PerformanceHookEvents[_0x153514(0x176)]);try{globals[_0x153514(0x19f)](_0x29a08a['Tqxst'],_0x1959de['title']);const _0x1c0447=_0x9cfcd9[_0x153514(0x1a2)](TEST_EVENTS['TEST_RUN_STARTED'],_0x1959de);CodeceptRecorder['add'](()=>_0x9cfcd9['fireEvent'](TEST_EVENTS['TEST_RUN_STARTED'],_0x1c0447)),CodeceptRecorder[_0x153514(0x1d7)](async()=>{const _0x39cc09=_0x153514;_0x29a08a[_0x39cc09(0x200)](isBrowserstackInfra)&&(!_0x29a08a[_0x39cc09(0x22b)](isTrue,_0x581f4f['skipSessionName'])&&await _0x29a08a[_0x39cc09(0x1ab)](markSessionName,_0x3e4f3c,_0x1959de['title']),_0x9cfcd9[_0x39cc09(0x18a)]&&await _0x29a08a[_0x39cc09(0x19a)](o11ySync,_0x3e4f3c));});}catch(_0x5d5b15){const _0x4789fb={};_0x4789fb[_0x153514(0x1dc)]=_0x29a08a[_0x153514(0x221)],PerformanceTester[_0x153514(0x193)](PerformanceHookEvents[_0x153514(0x176)],![],_0x5d5b15,_0x4789fb),PerformanceTester[_0x153514(0x1e9)](_0x5d5b15);}const _0x45b497={};_0x45b497[_0x153514(0x1dc)]=_0x29a08a['VtWOx'],PerformanceTester[_0x153514(0x193)](PerformanceHookEvents[_0x153514(0x176)],!![],null,_0x45b497);}),CodeceptJS[_0x9f372(0x187)][_0x9f372(0x1bb)]['on'](CodeceptJS[_0x9f372(0x187)][_0x9f372(0x1f8)]['passed'],_0x1e829c=>{const _0x41938d=_0x9f372;PerformanceTester['start'](PerformanceHookEvents['SDK_HOOK']);try{const _0x2d8f49=_0x9cfcd9[_0x41938d(0x1a2)](TEST_EVENTS['TEST_RUN_FINISHED'],_0x1e829c);CodeceptRecorder[_0x41938d(0x1d7)](()=>_0x9cfcd9[_0x41938d(0x238)](TEST_EVENTS['TEST_RUN_FINISHED'],_0x2d8f49)),CodeceptRecorder[_0x41938d(0x1d7)](async()=>{const _0x7a0eed=_0x41938d,_0x53c18b={'KQzKz':function(_0x4c2ced,_0x2e0873,_0x49f277){const _0x3193fd=a1_0x124f;return _0x29a08a[_0x3193fd(0x1d9)](_0x4c2ced,_0x2e0873,_0x49f277);}};_0x29a08a[_0x7a0eed(0x20b)](isBrowserstackInfra)&&await PerformanceTester[_0x7a0eed(0x1dd)](PerformanceAutEvents[_0x7a0eed(0x1eb)],async()=>{const _0x40f286=_0x7a0eed;_0xcb3e28?await _0x53c18b['KQzKz'](playwrightMarkSessionStatus,_0x3e4f3c,STATE_PASSED):await _0x53c18b[_0x40f286(0x1c5)](markSessionStatus,_0x3e4f3c,STATE_PASSED);})();}),PerformanceTester[_0x41938d(0x193)](PerformanceEvents['SDK_TEST']);}catch(_0x436a5d){PerformanceTester[_0x41938d(0x1e9)](_0x436a5d);const _0x19572e={};_0x19572e['hookType']=_0x29a08a[_0x41938d(0x225)],PerformanceTester[_0x41938d(0x193)](PerformanceHookEvents[_0x41938d(0x176)],![],_0x436a5d,_0x19572e),PerformanceTester[_0x41938d(0x193)](PerformanceEvents[_0x41938d(0x23d)],![],_0x436a5d);}const _0x4c6b7e={};_0x4c6b7e['hookType']=_0x29a08a[_0x41938d(0x225)],PerformanceTester['end'](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x4c6b7e);}),CodeceptJS['event'][_0x9f372(0x1bb)]['on'](CodeceptJS[_0x9f372(0x187)][_0x9f372(0x1f8)]['failed'],(_0x32acd8,_0x5bc0d5)=>{const _0x4ab149=_0x9f372,_0x49db53={'CLTAH':function(_0x94654f){const _0x15cdd5=a1_0x124f;return _0x29a08a[_0x15cdd5(0x1ff)](_0x94654f);},'aaENT':function(_0x4c6fbf,_0x40f2b2,_0x157195,_0x53e5e5){return _0x29a08a['kILVb'](_0x4c6fbf,_0x40f2b2,_0x157195,_0x53e5e5);}};PerformanceTester['start'](PerformanceHookEvents['SDK_HOOK']);try{if(_0x29a08a[_0x4ab149(0x192)](_0x32acd8[_0x4ab149(0x1a6)][_0x4ab149(0x204)],_0x29a08a['hclfp'])){const _0x2c479a=_0x9cfcd9[_0x4ab149(0x1a2)](TEST_EVENTS[_0x4ab149(0x227)],_0x32acd8[_0x4ab149(0x239)]['currentTest']);CodeceptRecorder[_0x4ab149(0x1d7)](()=>_0x9cfcd9[_0x4ab149(0x238)](TEST_EVENTS['TEST_RUN_SKIPPED'],_0x2c479a));}else{const _0x32e364=_0x9cfcd9[_0x4ab149(0x1a2)](TEST_EVENTS[_0x4ab149(0x17b)],_0x32acd8,_0x5bc0d5);CodeceptRecorder[_0x4ab149(0x1d7)](()=>{const _0x30d6b7=_0x4ab149;try{_0x9cfcd9[_0x30d6b7(0x238)](TEST_EVENTS[_0x30d6b7(0x17b)],_0x32e364);}catch(_0x208b3d){logger[_0x30d6b7(0x195)]('Failed\x20in\x20sending\x20TestRunFinish\x20event:\x20'+util[_0x30d6b7(0x1c7)](_0x208b3d)),PerformanceTester[_0x30d6b7(0x193)](PerformanceEvents[_0x30d6b7(0x23d)],![],_0x208b3d);}}),CodeceptRecorder[_0x4ab149(0x1d7)](async()=>{const _0x2f0707=_0x4ab149;try{_0x49db53['CLTAH'](isBrowserstackInfra)&&(_0xcb3e28?await _0x49db53[_0x2f0707(0x1cb)](playwrightMarkSessionStatus,_0x3e4f3c,STATE_FAILED,_0x5bc0d5):await _0x49db53[_0x2f0707(0x1cb)](markSessionStatus,_0x3e4f3c,STATE_FAILED,_0x5bc0d5));}catch(_0x237820){logger[_0x2f0707(0x195)]('Failed\x20in\x20marking\x20session\x20status\x20of\x20test:\x20'+util[_0x2f0707(0x1c7)](_0x237820)),PerformanceTester['end'](PerformanceEvents[_0x2f0707(0x23d)],![],_0x237820);}});}PerformanceTester['end'](PerformanceEvents[_0x4ab149(0x23d)]);}catch(_0x51021c){PerformanceTester[_0x4ab149(0x1e9)](_0x51021c);const _0xb78630={};_0xb78630[_0x4ab149(0x1dc)]=_0x29a08a[_0x4ab149(0x171)],PerformanceTester[_0x4ab149(0x193)](PerformanceHookEvents[_0x4ab149(0x176)],![],_0x51021c,_0xb78630),PerformanceTester[_0x4ab149(0x193)](PerformanceEvents['SDK_TEST'],![],_0x51021c);}const _0x523925={};_0x523925[_0x4ab149(0x1dc)]=_0x29a08a[_0x4ab149(0x171)],PerformanceTester[_0x4ab149(0x193)](PerformanceHookEvents[_0x4ab149(0x176)],!![],null,_0x523925);}),CodeceptJS['event'][_0x9f372(0x1bb)]['on'](CodeceptJS[_0x9f372(0x187)][_0x9f372(0x1f8)][_0x9f372(0x1d1)],_0x52f4e6=>{const _0x1275fc=_0x9f372;PerformanceTester[_0x1275fc(0x216)](PerformanceHookEvents['SDK_HOOK']);try{const _0x20e0b6=_0x9cfcd9[_0x1275fc(0x1a2)](TEST_EVENTS[_0x1275fc(0x227)],_0x52f4e6);CodeceptRecorder[_0x1275fc(0x1d7)](()=>_0x9cfcd9[_0x1275fc(0x238)](TEST_EVENTS[_0x1275fc(0x227)],_0x20e0b6)),PerformanceTester[_0x1275fc(0x193)](PerformanceEvents['SDK_TEST']);}catch(_0x13454d){PerformanceTester['captureError'](_0x13454d),PerformanceTester[_0x1275fc(0x193)](PerformanceEvents[_0x1275fc(0x23d)],![],_0x13454d);const _0xf03652={};_0xf03652[_0x1275fc(0x1dc)]=_0x29a08a[_0x1275fc(0x180)],PerformanceTester[_0x1275fc(0x193)](PerformanceHookEvents['SDK_HOOK'],![],_0x13454d,_0xf03652);}const _0xb4b7fe={};_0xb4b7fe[_0x1275fc(0x1dc)]=_0x29a08a[_0x1275fc(0x180)],PerformanceTester['end'](PerformanceHookEvents[_0x1275fc(0x176)],!![],null,_0xb4b7fe);}),CodeceptJS['event'][_0x9f372(0x1bb)]['on'](CodeceptJS[_0x9f372(0x187)][_0x9f372(0x1f8)][_0x9f372(0x226)],async(_0x4b66dd,_0x4267a2)=>{const _0x585aec=_0x9f372,_0x22fb4d={};_0x22fb4d[_0x585aec(0x1cf)]=_0x29a08a['ubPvs'];const _0x1374ba=_0x22fb4d;try{PerformanceTester[_0x585aec(0x216)](PerformanceHookEvents[_0x585aec(0x176)]);const _0x589591=_0x29a08a[_0x585aec(0x1d9)](shouldScanTestForAccessibility,_0x4b66dd[_0x585aec(0x1d6)](),!![]);if(_0x29a08a[_0x585aec(0x186)](isAccessibilityAutomationSession)&&global[_0x585aec(0x23e)]&&_0x589591){const _0x26a638={};_0x26a638['thTestRunUuid']=_0x4b66dd[_0x585aec(0x1f7)],_0x26a638[_0x585aec(0x1cd)]=process[_0x585aec(0x19d)][testHubConstants[_0x585aec(0x1c1)][_0x585aec(0x201)]],_0x26a638['thJwtToken']=process[_0x585aec(0x19d)][testHubConstants[_0x585aec(0x1c1)][_0x585aec(0x16e)]];const _0x242549=_0x26a638;logger['debug']('Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20'+JSON[_0x585aec(0x1aa)](_0x242549)),CodeceptRecorder[_0x585aec(0x1d7)](async()=>{const _0x27d3ad=_0x585aec,_0x32024b={};_0x32024b['command']=_0x1374ba[_0x27d3ad(0x1cf)],await PerformanceTester[_0x27d3ad(0x1dd)](PerformanceA11yEvents[_0x27d3ad(0x21c)],async()=>{const _0x4b9ed7=_0x27d3ad;await AccessibilityHelper[_0x4b9ed7(0x1bf)](_0x3e4f3c,scripts[_0x4b9ed7(0x222)]);},_0x32024b)(),await PerformanceTester[_0x27d3ad(0x1dd)](PerformanceA11yEvents[_0x27d3ad(0x211)],async()=>{const _0x35d0b9=_0x27d3ad;await AccessibilityHelper[_0x35d0b9(0x1bf)](_0x3e4f3c,scripts[_0x35d0b9(0x1f4)],_0x242549);})();}),logger[_0x585aec(0x1b9)](_0x29a08a[_0x585aec(0x185)]);}const _0x3b91fa={};_0x3b91fa['hookType']=_0x29a08a['QPQkK'],PerformanceTester[_0x585aec(0x193)](PerformanceHookEvents[_0x585aec(0x176)],!![],null,_0x3b91fa);}catch(_0x252e46){PerformanceTester[_0x585aec(0x1e9)](_0x252e46);const _0x33174b={};_0x33174b[_0x585aec(0x1dc)]=_0x29a08a[_0x585aec(0x1ed)],PerformanceTester[_0x585aec(0x193)](PerformanceHookEvents[_0x585aec(0x176)],![],_0x252e46,_0x33174b);}}),CodeceptJS['event'][_0x9f372(0x1bb)]['on'](CodeceptJS[_0x9f372(0x187)][_0x9f372(0x188)][_0x9f372(0x22c)],_0x99dc30=>{const _0x58666d=_0x9f372;PerformanceTester['start'](PerformanceHookEvents[_0x58666d(0x176)]);try{process['emit'](_0x58666d(0x17c)+process[_0x58666d(0x175)],{'timestamp':new Date()['toISOString'](),'level':_0x29a08a['hlBdK'],'message':_0x99dc30,'kind':_0x29a08a[_0x58666d(0x1f0)],'http_response':{}});}catch(_0xc8c663){PerformanceTester['captureError'](_0xc8c663);const _0x3ae030={};_0x3ae030[_0x58666d(0x1dc)]=_0x29a08a[_0x58666d(0x181)],PerformanceTester[_0x58666d(0x193)](PerformanceHookEvents[_0x58666d(0x176)],![],_0xc8c663,_0x3ae030);}const _0xdae6cd={};_0xdae6cd['hookType']=_0x29a08a['wElHS'],PerformanceTester['end'](PerformanceHookEvents['SDK_HOOK'],!![],null,_0xdae6cd);}),CodeceptJS[_0x9f372(0x187)][_0x9f372(0x1bb)]['on'](CodeceptJS['event'][_0x9f372(0x1f3)][_0x9f372(0x173)],_0x2f1849=>{const _0x1475cd=_0x9f372,_0x246267={};_0x246267[_0x1475cd(0x1dc)]=_0x29a08a[_0x1475cd(0x190)],PerformanceTester['measureWrapper'](PerformanceHookEvents[_0x1475cd(0x176)],()=>{_0x9cfcd9['bddStepStart'](_0x2f1849);},_0x246267)();}),CodeceptJS[_0x9f372(0x187)][_0x9f372(0x1bb)]['on'](CodeceptJS[_0x9f372(0x187)][_0x9f372(0x1f3)][_0x9f372(0x226)],_0x32823a=>{const _0x18e480=_0x9f372,_0x503282={};_0x503282[_0x18e480(0x1dc)]=_0x29a08a[_0x18e480(0x23b)],PerformanceTester[_0x18e480(0x1dd)](PerformanceHookEvents[_0x18e480(0x176)],()=>{const _0x1dd729=_0x18e480;_0x9cfcd9[_0x1dd729(0x1ef)](_0x32823a);},_0x503282)();});};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a2_0x26ede6=a2_0x10f0;(function(_0x3ab1a9,_0x202881){const _0x2bc562=a2_0x10f0,_0x582233=_0x3ab1a9();while(!![]){try{const _0x192b72=-parseInt(_0x2bc562(0x1e9))/0x1+parseInt(_0x2bc562(0x245))/0x2*(parseInt(_0x2bc562(0x20b))/0x3)+-parseInt(_0x2bc562(0x25c))/0x4+parseInt(_0x2bc562(0x21d))/0x5*(parseInt(_0x2bc562(0x25b))/0x6)+parseInt(_0x2bc562(0x242))/0x7+-parseInt(_0x2bc562(0x277))/0x8+parseInt(_0x2bc562(0x205))/0x9;if(_0x192b72===_0x202881)break;else _0x582233['push'](_0x582233['shift']());}catch(_0x250dad){_0x582233['push'](_0x582233['shift']());}}}(a2_0x5941,0x5c587));const fs=require('fs'),path=require(a2_0x26ede6(0x23f)),util=require(a2_0x26ede6(0x25a)),process=require(a2_0x26ede6(0x20c)),logger=require(a2_0x26ede6(0x211))[a2_0x26ede6(0x246)],{default:BrowserStackSetup}=require(a2_0x26ede6(0x27d)),helper=require(a2_0x26ede6(0x261)),utilities=require('../../helpers/utilities'),{checkAccessibilityPlatformConfig}=require(a2_0x26ede6(0x258)),{setAccessibilityCapabilities}=require(a2_0x26ede6(0x227)),{requireModule,nestedKeyValue,isBrowserstackInfra}=require(a2_0x26ede6(0x261)),CodeceptJS=requireModule(a2_0x26ede6(0x215),a2_0x26ede6(0x274)),testOpsHelper=require(a2_0x26ede6(0x27f)),TestHubHandler=require(a2_0x26ede6(0x21b)),constants=require(a2_0x26ede6(0x1f7)),PerformanceTester=require(a2_0x26ede6(0x1f9)),{FRAMEWORKS}=require(a2_0x26ede6(0x256)),PerformanceEvents=require('../../helpers/performance/constants')['EVENTS'],_testErrorData=[],getUserCodeceptJSConfigs=(_0x2e5697,_0x2f4015)=>{const _0x542bc4=a2_0x26ede6,_0x4bcee7={};_0x4bcee7['ZNDHW']=function(_0x88916d,_0x2d5405){return _0x88916d===_0x2d5405;},_0x4bcee7[_0x542bc4(0x250)]='codecept.conf.js',_0x4bcee7[_0x542bc4(0x222)]=_0x542bc4(0x213);const _0x443840=_0x4bcee7;let _0x2d588c=null;const _0x5d5bfd={};let _0x24ebcd=_0x2f4015[_0x542bc4(0x237)](_0x2ecd7b=>_0x2ecd7b==='--config');_0x443840[_0x542bc4(0x1fa)](_0x24ebcd,-0x1)&&(_0x24ebcd=_0x2f4015[_0x542bc4(0x237)](_0x5aaf75=>_0x5aaf75==='-c'));if(!helper[_0x542bc4(0x249)](_0x2e5697[_0x542bc4(0x267)])&&fs['existsSync'](path[_0x542bc4(0x268)](process[_0x542bc4(0x27c)](),_0x2e5697[_0x542bc4(0x267)])))_0x2d588c=path[_0x542bc4(0x268)](process[_0x542bc4(0x27c)](),_0x2e5697[_0x542bc4(0x267)]),_0x2f4015[_0x542bc4(0x209)](_0x24ebcd,0x2);else{if(!helper[_0x542bc4(0x249)](_0x2e5697['c'])&&fs['existsSync'](path['join'](process[_0x542bc4(0x27c)](),_0x2e5697['c'])))_0x2d588c=path['join'](process[_0x542bc4(0x27c)](),_0x2e5697['c']),_0x2f4015[_0x542bc4(0x209)](_0x24ebcd,0x2);else{if(fs['existsSync'](path[_0x542bc4(0x268)](process[_0x542bc4(0x27c)](),_0x443840[_0x542bc4(0x250)])))_0x2d588c=path['join'](process[_0x542bc4(0x27c)](),_0x443840[_0x542bc4(0x250)]);else fs[_0x542bc4(0x212)](path[_0x542bc4(0x268)](process[_0x542bc4(0x27c)](),_0x443840[_0x542bc4(0x222)]))&&(_0x2d588c=path['join'](process[_0x542bc4(0x27c)](),_0x443840[_0x542bc4(0x222)]));}}return process[_0x542bc4(0x248)][_0x542bc4(0x26b)]=_0x2d588c,_0x2d588c;},getO11yRerunPattern=()=>{const _0x1afacc=a2_0x26ede6,_0x225f0a=helper[_0x1afacc(0x203)](process[_0x1afacc(0x248)][_0x1afacc(0x1fd)]);if(_0x225f0a){const _0x2796e9=process[_0x1afacc(0x248)][_0x1afacc(0x234)],_0x5c78a1=[];if(helper[_0x1afacc(0x1f4)](_0x2796e9)&&!helper[_0x1afacc(0x249)](_0x2796e9)){_0x2796e9[_0x1afacc(0x269)](',')['map'](_0x196e76=>{const _0x1efb13=_0x1afacc;_0x5c78a1[_0x1efb13(0x235)]('('+_0x196e76[_0x1efb13(0x206)]()+')');});const _0x45d0f6='^'+_0x5c78a1[_0x1afacc(0x268)]('|')+'$';return _0x45d0f6;}}return null;},a2_0x189167={};a2_0x189167['chrome']=a2_0x26ede6(0x21a),a2_0x189167['playwright-chromium']=a2_0x26ede6(0x21a),a2_0x189167[a2_0x26ede6(0x200)]=a2_0x26ede6(0x240),a2_0x189167['playwright-webkit']=a2_0x26ede6(0x26c);function a2_0x10f0(_0x2804e1,_0x414d88){const _0x5941d3=a2_0x5941();return a2_0x10f0=function(_0x10f024,_0x211e72){_0x10f024=_0x10f024-0x1e6;let _0x185257=_0x5941d3[_0x10f024];return _0x185257;},a2_0x10f0(_0x2804e1,_0x414d88);}const pwToCodeceptBrowser=a2_0x189167;function a2_0x5941(){const _0x6db768=['OrJZy','SDK_SETUP','initialize','AeDtz','handleApp','event','run','plugins','../../bin/playwright/accessibility-helper','BROWSERSTACK_TEST_ACCESSIBILITY_YML','start','helpers','failed','key','length','chdir','log','title','RLQou','addTests','gherkin','BROWSERSTACK_RERUN_TESTS','push','setAdditionalCapabilities','findIndex','exports','err','dirname','skipSessionStatus','hubUrl','testContextOptions','browserWSEndpoint','path','firefox','PREsv','450744BcySll','BrowserStackPlugin.js','accessKey','1236834QARaQy','winstonLogger','FwraI','env','isUndefined','Playwright','frameworkName','BjQjZ','launchBuild','CriOF','user','bZyjp','LdksF','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','lkxEl','stack','stringify','../../helpers/test-observability/constants','getPlatformName','../../helpers/accessibility-automation/helper','Started\x20:\x20','util','15966IwiEht','2956716eOWcPA','stop','SPSgV','PvvGy','3|5|1|2|4|0','../../helpers/helper','tGgCi','validPlatformsPresent','desiredCapabilities','finalExecution','CODECEPT','config','join','split','getPlaywrightUrl','USER_CONFIG_DETAILS_PATH','webkit','browserName','xkwcT','addOptions','OTEcS','bootstrapAll','Workers','Failed\x20:\x20','codeceptjs','replace','debug','5254504XxKPrG','userName','profile','rOcuu','map','cwd','../../helpers/BrowserStackSetup','aHqsY','../../helpers/test-observability/utils','platforms','afEzz','mergeDeep','COZNh','Getting\x20your\x20codeceptjs\x20configs\x20from\x20','331478hdFoKg','/wd/hub','BROWSERSTACK_TEST_OBSERVABILITY_YML','skipSessionName','printResults','Passed\x20:\x20','spawn','prepareCapabilities','format','tdymq','browser','validateRerunTestList','VuUGX','errorMessage','../utils/constants','WebDriver','../../helpers/performance/performance-tester','ZNDHW','host','accessibility','BROWSERSTACK_RERUN','toLowerCase','accessibilityOptions','playwright-firefox','end','ZMadV','isTrue','BrowserStackPlugin','7465545yeUwqp','trim','result','jdSeG','slice','testObservability','3CVOsOv','process','CODECEPT_CUCUMBER','before','test','teardownAll','../../helpers/logger','existsSync','codecept.json','createGroupsOfSuites','codeceptjs/lib/index.js','NlDtQ','root','forEach','assign','chromium','../../helpers/testhub/testhubHandler','isTestObservabilitySession','1115ylnCye','FRAMEWORKS'];a2_0x5941=function(){return _0x6db768;};return a2_0x5941();}async function run(_0x1ded47,_0x57d1e6,_0x895553){const _0x37f641=a2_0x26ede6,_0x3e6aaf={'FwraI':function(_0x190e92,_0x40e6dd){return _0x190e92+_0x40e6dd;},'NlDtQ':function(_0x46c9ce,_0x34bda5){return _0x46c9ce(_0x34bda5);},'OTEcS':function(_0x1c3648,_0x1e7d3e,_0x39f872){return _0x1c3648(_0x1e7d3e,_0x39f872);},'afEzz':_0x37f641(0x22a),'tGgCi':function(_0x5d9160){return _0x5d9160();},'aHqsY':_0x37f641(0x1ea),'PREsv':function(_0x4cc92a){return _0x4cc92a();},'BjQjZ':_0x37f641(0x273),'VuUGX':_0x37f641(0x1ee),'LdksF':_0x37f641(0x259),'PvvGy':_0x37f641(0x260),'dFfPH':function(_0x2aaf16,_0x262b5c,_0x5e2b9a){return _0x2aaf16(_0x262b5c,_0x5e2b9a);},'xORDE':'Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','tdymq':_0x37f641(0x24a),'ZMadV':_0x37f641(0x1f8),'OrJZy':function(_0x8e4044,_0x2bae34){return _0x8e4044(_0x2bae34);},'nrRpG':function(_0xc5dcf1,_0x4d9eeb){return _0xc5dcf1!=_0x4d9eeb;},'rOcuu':function(_0x2c00b4,_0x32f28a){return _0x2c00b4===_0x32f28a;},'CriOF':function(_0x3cf89f,_0x3f4ab9,_0xe682b7){return _0x3cf89f(_0x3f4ab9,_0xe682b7);},'xkwcT':_0x37f641(0x233),'jdSeG':function(_0x24540b,_0x251e24){return _0x24540b(_0x251e24);},'yFRtF':function(_0x3515b4,_0x59c57c){return _0x3515b4*_0x59c57c;},'BHVzU':'browser','ldFeI':function(_0x5951c7,_0x4057d4,_0x514a3d){return _0x5951c7(_0x4057d4,_0x514a3d);},'SPSgV':_0x37f641(0x264),'COZNh':_0x37f641(0x217),'lkxEl':_0x37f641(0x243),'RLQou':'browserStackCwd'};await _0x895553[_0x37f641(0x221)](_0x1ded47),await helper[_0x37f641(0x223)](_0x895553[_0x37f641(0x267)]);if(!_0x895553[_0x37f641(0x267)])return;process[_0x37f641(0x279)]=_0x1ded47[_0x37f641(0x279)];_0x1ded47[_0x37f641(0x279)]&&(process[_0x37f641(0x248)][_0x37f641(0x279)]=_0x1ded47[_0x37f641(0x279)]);const _0x7537f4=_0x3e6aaf['dFfPH'](getUserCodeceptJSConfigs,_0x1ded47,_0x57d1e6);let _0x54fbda={};_0x7537f4?(logger['info'](_0x37f641(0x1e8)+_0x7537f4),_0x54fbda=CodeceptJS['config']['load'](_0x7537f4)):logger['info'](_0x3e6aaf['xORDE']);let _0x518706=![];_0x3e6aaf[_0x37f641(0x270)](nestedKeyValue,_0x54fbda,[_0x3e6aaf['afEzz'],_0x3e6aaf[_0x37f641(0x1f2)]])&&(_0x518706=!![]);const _0x1ad5cd=_0x518706?_0x3e6aaf[_0x37f641(0x1f2)]:_0x3e6aaf[_0x37f641(0x202)];let _0x4eadd9=!_0x518706?helper['useW3C'](_0x895553[_0x37f641(0x267)]):![];!helper[_0x37f641(0x249)](_0x895553[_0x37f641(0x267)][_0x37f641(0x1ff)])&&(process[_0x37f641(0x248)][_0x37f641(0x252)]=JSON['stringify'](_0x895553[_0x37f641(0x267)][_0x37f641(0x1ff)]));let _0x3e8da9=_0x895553[_0x37f641(0x267)][_0x37f641(0x1fc)];_0x3e8da9=_0x3e8da9||_0x3e6aaf[_0x37f641(0x21f)](checkAccessibilityPlatformConfig,_0x895553[_0x37f641(0x267)]),process['env'][_0x37f641(0x228)]=_0x3e8da9;_0x3e8da9&&(_0x4eadd9=!_0x3e8da9);_0x3e6aaf['nrRpG'](_0x895553[_0x37f641(0x267)][_0x37f641(0x20a)],null)?process[_0x37f641(0x248)][_0x37f641(0x1eb)]=_0x895553[_0x37f641(0x267)][_0x37f641(0x20a)]:process[_0x37f641(0x248)][_0x37f641(0x1eb)]=_0x3e6aaf[_0x37f641(0x27a)](_0x1ad5cd,_0x3e6aaf[_0x37f641(0x1f2)]);const _0x248705=_0x3e6aaf[_0x37f641(0x24e)](nestedKeyValue,_0x54fbda,[_0x3e6aaf[_0x37f641(0x26e)]]),_0x53aff3=_0x248705&&!helper['isEmpty'](_0x248705)?FRAMEWORKS[_0x37f641(0x20d)]:FRAMEWORKS[_0x37f641(0x266)],_0x3b2779=await TestHubHandler[_0x37f641(0x24d)](_0x53aff3,_0x895553);_0x3e8da9&&_0x3e6aaf[_0x37f641(0x208)](setAccessibilityCapabilities,_0x895553['config']);const _0x3af116={},_0x4b0c3d=[],_0x1cad07=_0x895553[_0x37f641(0x267)]['parallelsPerPlatform']||helper['getUserWorkerCount'](_0x1ded47,_0x57d1e6,_0x895553[_0x37f641(0x267)],constants[_0x37f641(0x21e)][_0x37f641(0x266)])||0x1;let _0x5739d6=0x1;if(_0x3e6aaf[_0x37f641(0x241)](isBrowserstackInfra)){const _0x14e2d9=helper['prepareCapabilities'](_0x895553['config'],_0x4eadd9,constants[_0x37f641(0x21e)][_0x37f641(0x266)]);_0x14e2d9['forEach'](_0x9487fc=>{const _0x2e106f=_0x37f641;helper[_0x2e106f(0x236)](_0x9487fc);}),helper[_0x37f641(0x263)](_0x895553[_0x37f641(0x267)])?_0x5739d6=_0x3e6aaf['yFRtF'](_0x1cad07,_0x895553['config'][_0x37f641(0x280)][_0x37f641(0x22d)]):_0x5739d6=_0x1cad07,_0x14e2d9[_0x37f641(0x218)](_0xadcc14=>{const _0x24a0fe=_0x37f641,_0x4bd859=_0x3e6aaf[_0x24a0fe(0x247)](helper[_0x24a0fe(0x257)](_0xadcc14,'_'),'_'+Date['now']()),_0x55a823=((()=>{const _0x1e0db5=_0x24a0fe;if(_0x518706){const _0x138f17=pwToCodeceptBrowser[_0xadcc14[_0x1e0db5(0x26d)]]||_0xadcc14[_0x1e0db5(0x26d)];return{'browser':_0x138f17,[_0x138f17]:{'browserWSEndpoint':_0x3e6aaf['FwraI'](helper[_0x1e0db5(0x26a)](_0x895553[_0x1e0db5(0x267)]),_0x3e6aaf[_0x1e0db5(0x216)](encodeURIComponent,JSON[_0x1e0db5(0x255)](_0xadcc14)))}};}const _0x223dab={};return _0x223dab[_0x1e0db5(0x264)]=_0xadcc14,_0x223dab[_0x1e0db5(0x24f)]=_0x895553[_0x1e0db5(0x267)][_0x1e0db5(0x278)],_0x223dab[_0x1e0db5(0x22c)]=_0x895553[_0x1e0db5(0x267)][_0x1e0db5(0x244)],_0x223dab;})()),_0x2dbc6f=_0x3e6aaf[_0x24a0fe(0x270)](nestedKeyValue,_0x54fbda,[_0x3e6aaf[_0x24a0fe(0x281)],_0x1ad5cd]);_0x3af116[_0x4bd859]=_0x2dbc6f?helper[_0x24a0fe(0x1e6)](_0x55a823,_0x2dbc6f):_0x55a823;if(!_0x518706){_0x3af116[_0x4bd859][_0x24a0fe(0x1f3)]=_0xadcc14[_0x24a0fe(0x26d)]||_0x55a823[_0x24a0fe(0x1f3)];if(_0x3e6aaf[_0x24a0fe(0x262)](isBrowserstackInfra)){_0x3af116[_0x4bd859][_0x24a0fe(0x1fb)]=constants[_0x24a0fe(0x23c)][_0x24a0fe(0x275)](_0x3e6aaf[_0x24a0fe(0x27e)],'')[_0x24a0fe(0x275)](/https?:\/\//,'');;_0x3af116[_0x4bd859][_0x24a0fe(0x23f)]=_0x3e6aaf[_0x24a0fe(0x27e)];}}_0x4b0c3d[_0x24a0fe(0x235)](_0x4bd859);});}else{_0x5739d6=0x1;if(_0x518706){const _0xc8780c=_0x3e6aaf[_0x37f641(0x24e)](nestedKeyValue,_0x54fbda,[_0x3e6aaf[_0x37f641(0x281)],_0x1ad5cd,_0x3e6aaf['BHVzU']]),_0x212d9a=_0x3e6aaf['ldFeI'](nestedKeyValue,_0x54fbda,[_0x3e6aaf[_0x37f641(0x281)],_0x1ad5cd,_0xc8780c]);if(_0x212d9a&&_0x212d9a[_0x37f641(0x23e)]){const _0xfedc6b={};_0xfedc6b[_0x37f641(0x280)]=[],_0x212d9a[_0x37f641(0x23e)]=helper['prepareCapabilities'](Object[_0x37f641(0x219)]({},_0x895553[_0x37f641(0x267)],_0xfedc6b),null,_0x53aff3[_0x37f641(0x1fe)](),null,null,_0x212d9a['browserWSEndpoint']);}}else{const _0x23f46f={};_0x23f46f[_0x37f641(0x280)]=[],_0x54fbda[_0x3e6aaf[_0x37f641(0x281)]][_0x1ad5cd][_0x3e6aaf[_0x37f641(0x25e)]]=helper[_0x37f641(0x1f0)](Object[_0x37f641(0x219)]({},_0x895553['config'],_0x23f46f),null,_0x53aff3[_0x37f641(0x1fe)](),_0x3e6aaf['CriOF'](nestedKeyValue,_0x54fbda,[_0x3e6aaf[_0x37f641(0x281)],_0x1ad5cd,_0x3e6aaf[_0x37f641(0x25e)]])||{},null,null);}_0x3af116[_0x3e6aaf[_0x37f641(0x1e7)]]=_0x54fbda,_0x4b0c3d[_0x37f641(0x235)](_0x3e6aaf['COZNh']);}const _0x498acb={};_0x498acb['testConfig']=_0x7537f4;const _0x5e0fb0=_0x498acb,_0x1922e8=path['join'](__dirname,_0x3e6aaf[_0x37f641(0x253)]),_0x588bed=process['cwd']();process[_0x37f641(0x248)][_0x3e6aaf[_0x37f641(0x231)]]=_0x588bed,process[_0x37f641(0x22e)](path[_0x37f641(0x23a)](_0x7537f4));const _0x5518dc=new CodeceptJS[(_0x37f641(0x272))](null,_0x5e0fb0),_0x51cdac=_0x5518dc[_0x37f641(0x214)](_0x5739d6),_0x1512d3=testOpsHelper[_0x37f641(0x21c)](),_0x3144b2=_0x4b0c3d[_0x37f641(0x27b)](_0x2ff0f7=>{const _0x468461=_0x37f641,_0x2dd133={};_0x2dd133[_0x468461(0x24a)]=_0x3af116[_0x2ff0f7];const _0x3be158={};_0x3be158['WebDriver']=_0x3af116[_0x2ff0f7];const _0x4eb3ce=_0x518706?_0x2dd133:_0x3be158,_0x4a8ba8=_0x3e6aaf['PREsv'](getO11yRerunPattern),_0xba11a6={};_0xba11a6[_0x468461(0x22a)]=_0x4eb3ce;const _0x1f8514={};_0x1f8514['require']=_0x1922e8,_0x1f8514['enabled']=!![],_0x1f8514['skipSessionName']=_0x895553['config']['testContextOptions'][_0x468461(0x1ec)],_0x1f8514[_0x468461(0x23b)]=_0x895553[_0x468461(0x267)][_0x468461(0x23d)][_0x468461(0x23b)],_0x1f8514[_0x468461(0x20a)]=_0x1512d3,_0x1f8514[_0x468461(0x24b)]=_0x53aff3;const _0x18108c={};_0x18108c[_0x468461(0x204)]=_0x1f8514;const _0x11b1a9={};return _0x11b1a9[_0x468461(0x226)]=_0x18108c,helper[_0x468461(0x1e6)]({},_0x54fbda,_0x3e6aaf[_0x468461(0x262)](isBrowserstackInfra)?_0xba11a6:{},_0x4a8ba8?{'grep':_0x4a8ba8}:{},_0x11b1a9);});for(const _0x308ed1 of _0x3144b2){for(const _0x1c4337 of _0x51cdac){const _0x17bed8=_0x5518dc[_0x37f641(0x1ef)]();_0x17bed8[_0x37f641(0x232)](_0x1c4337),_0x17bed8['addConfig'](_0x308ed1);const _0x32c493={};_0x32c493['config']=_0x7537f4,_0x17bed8[_0x37f641(0x26f)](_0x32c493);}}_0x5518dc['on'](CodeceptJS[_0x37f641(0x224)][_0x37f641(0x20f)][_0x37f641(0x22b)],(_0x4d7825,_0x3fc71c)=>{const _0x195863=_0x37f641;console[_0x195863(0x22f)](_0x3e6aaf[_0x195863(0x24c)],_0x4d7825[_0x195863(0x230)]);const _0x5ab438={[_0x4d7825['title']]:_0x4d7825[_0x195863(0x239)][_0x195863(0x254)]};_testErrorData[_0x195863(0x235)](_0x5ab438);}),_0x5518dc['on'](CodeceptJS[_0x37f641(0x224)]['test']['passed'],async _0xb60928=>{const _0x4f2d3f=_0x37f641;console[_0x4f2d3f(0x22f)](_0x3e6aaf[_0x4f2d3f(0x1f5)],_0xb60928[_0x4f2d3f(0x230)]);}),_0x5518dc['on'](CodeceptJS[_0x37f641(0x224)][_0x37f641(0x20f)][_0x37f641(0x20e)],async _0xbdba61=>{const _0x32b1f6=_0x37f641;console[_0x32b1f6(0x22f)](_0x3e6aaf[_0x32b1f6(0x251)],_0xbdba61[_0x32b1f6(0x230)]);}),_0x5518dc['on'](CodeceptJS[_0x37f641(0x224)]['all'][_0x37f641(0x207)],async()=>{const _0x2dbdc9=_0x37f641,_0x3d9130=_0x3e6aaf[_0x2dbdc9(0x25f)][_0x2dbdc9(0x269)]('|');let _0x1010af=0x0;while(!![]){switch(_0x3d9130[_0x1010af++]){case'0':_0x5518dc[_0x2dbdc9(0x1ed)]();continue;case'1':testOpsHelper['printBuildLink']();continue;case'2':utilities[_0x2dbdc9(0x265)](_0x895553);continue;case'3':PerformanceTester[_0x2dbdc9(0x229)](PerformanceEvents['SDK_CLEANUP']);continue;case'4':try{await TestHubHandler[_0x2dbdc9(0x25d)]();}catch(_0x5b0923){logger[_0x2dbdc9(0x276)]('Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20'+util[_0x2dbdc9(0x1f1)](_0x5b0923));}continue;case'5':_0x895553[_0x2dbdc9(0x1f6)]=_testErrorData;continue;}break;}});async function _0x211ab8(){const _0x50ef99=_0x37f641;try{await _0x5518dc[_0x50ef99(0x271)](),await _0x5518dc[_0x50ef99(0x225)]();}finally{process[_0x50ef99(0x22e)](_0x588bed),await _0x5518dc[_0x50ef99(0x210)]();}}PerformanceTester[_0x37f641(0x201)](PerformanceEvents[_0x37f641(0x220)]),_0x3e6aaf[_0x37f641(0x262)](_0x211ab8);}module[a2_0x26ede6(0x238)]=run;
|
|
2
|
+
'use strict';const a2_0x26beb9=a2_0x16ba;(function(_0x2f8a72,_0x4b0055){const _0x5e055b=a2_0x16ba,_0x4c294c=_0x2f8a72();while(!![]){try{const _0x189653=-parseInt(_0x5e055b(0x1ba))/0x1+parseInt(_0x5e055b(0x1b8))/0x2*(parseInt(_0x5e055b(0x196))/0x3)+parseInt(_0x5e055b(0x1ca))/0x4*(-parseInt(_0x5e055b(0x140))/0x5)+-parseInt(_0x5e055b(0x1dc))/0x6+parseInt(_0x5e055b(0x1c6))/0x7+parseInt(_0x5e055b(0x1b6))/0x8*(-parseInt(_0x5e055b(0x1de))/0x9)+-parseInt(_0x5e055b(0x159))/0xa*(-parseInt(_0x5e055b(0x1d7))/0xb);if(_0x189653===_0x4b0055)break;else _0x4c294c['push'](_0x4c294c['shift']());}catch(_0x5683c2){_0x4c294c['push'](_0x4c294c['shift']());}}}(a2_0x4b70,0x7baee));const fs=require('fs'),path=require('path'),util=require(a2_0x26beb9(0x189)),process=require(a2_0x26beb9(0x15b)),logger=require(a2_0x26beb9(0x181))[a2_0x26beb9(0x158)],{default:BrowserStackSetup}=require(a2_0x26beb9(0x1ae)),helper=require(a2_0x26beb9(0x16f)),utilities=require(a2_0x26beb9(0x1e3)),{checkAccessibilityPlatformConfig}=require(a2_0x26beb9(0x16b)),{setAccessibilityCapabilities}=require('../../bin/playwright/accessibility-helper'),{requireModule,nestedKeyValue,isBrowserstackInfra}=require(a2_0x26beb9(0x16f)),CodeceptJS=requireModule(a2_0x26beb9(0x169),a2_0x26beb9(0x1cf)),testOpsHelper=require(a2_0x26beb9(0x149)),TestHubHandler=require(a2_0x26beb9(0x19d)),constants=require(a2_0x26beb9(0x188)),PerformanceTester=require(a2_0x26beb9(0x1b1)),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),PerformanceEvents=require(a2_0x26beb9(0x17e))[a2_0x26beb9(0x185)],_testErrorData=[],getUserCodeceptJSConfigs=(_0x202564,_0x2cc0a8)=>{const _0x407efb=a2_0x26beb9,_0x5ee98f={};_0x5ee98f[_0x407efb(0x1bb)]=function(_0x3df4c2,_0x2cc277){return _0x3df4c2===_0x2cc277;},_0x5ee98f[_0x407efb(0x193)]='codecept.conf.js',_0x5ee98f[_0x407efb(0x13e)]=_0x407efb(0x172);const _0x30f9a7=_0x5ee98f;let _0x15ba61=null;const _0x322e50={};let _0x41a6e8=_0x2cc0a8['findIndex'](_0x9b2323=>_0x9b2323===_0x407efb(0x1a0));_0x30f9a7[_0x407efb(0x1bb)](_0x41a6e8,-0x1)&&(_0x41a6e8=_0x2cc0a8[_0x407efb(0x182)](_0xe612c0=>_0xe612c0==='-c'));if(!helper['isUndefined'](_0x202564[_0x407efb(0x156)])&&fs[_0x407efb(0x17c)](path[_0x407efb(0x144)](process[_0x407efb(0x1b2)](),_0x202564[_0x407efb(0x156)])))_0x15ba61=path[_0x407efb(0x144)](process[_0x407efb(0x1b2)](),_0x202564[_0x407efb(0x156)]),_0x2cc0a8[_0x407efb(0x1cc)](_0x41a6e8,0x2);else{if(!helper['isUndefined'](_0x202564['c'])&&fs[_0x407efb(0x17c)](path[_0x407efb(0x144)](process[_0x407efb(0x1b2)](),_0x202564['c'])))_0x15ba61=path['join'](process[_0x407efb(0x1b2)](),_0x202564['c']),_0x2cc0a8[_0x407efb(0x1cc)](_0x41a6e8,0x2);else{if(fs['existsSync'](path[_0x407efb(0x144)](process[_0x407efb(0x1b2)](),_0x30f9a7[_0x407efb(0x193)])))_0x15ba61=path[_0x407efb(0x144)](process['cwd'](),_0x30f9a7['NdWNq']);else fs[_0x407efb(0x17c)](path[_0x407efb(0x144)](process[_0x407efb(0x1b2)](),_0x30f9a7[_0x407efb(0x13e)]))&&(_0x15ba61=path[_0x407efb(0x144)](process['cwd'](),_0x30f9a7[_0x407efb(0x13e)]));}}return process['env'][_0x407efb(0x1c9)]=_0x15ba61,_0x15ba61;},getO11yRerunPattern=()=>{const _0x57ec2e=a2_0x26beb9,_0x422cd4=helper[_0x57ec2e(0x166)](process['env'][_0x57ec2e(0x174)]);if(_0x422cd4){const _0x4b66a7=process['env'][_0x57ec2e(0x1bc)],_0x199857=[];if(helper[_0x57ec2e(0x1c0)](_0x4b66a7)&&!helper[_0x57ec2e(0x1c1)](_0x4b66a7)){_0x4b66a7['split'](',')['map'](_0x4e2c32=>{const _0x14757e=_0x57ec2e;_0x199857[_0x14757e(0x13f)]('('+_0x4e2c32[_0x14757e(0x17a)]()+')');});const _0x600d63='^'+_0x199857['join']('|')+'$';return _0x600d63;}}return null;},a2_0x166c77={};a2_0x166c77[a2_0x26beb9(0x14b)]='chromium',a2_0x166c77[a2_0x26beb9(0x1e4)]=a2_0x26beb9(0x1bf),a2_0x166c77[a2_0x26beb9(0x199)]=a2_0x26beb9(0x1db),a2_0x166c77[a2_0x26beb9(0x1dd)]=a2_0x26beb9(0x16a);const pwToCodeceptBrowser=a2_0x166c77;function a2_0x16ba(_0x237d16,_0x303ff6){const _0x4b708e=a2_0x4b70();return a2_0x16ba=function(_0x16ba18,_0x1d8b95){_0x16ba18=_0x16ba18-0x13d;let _0x5735b9=_0x4b708e[_0x16ba18];return _0x5735b9;},a2_0x16ba(_0x237d16,_0x303ff6);}function a2_0x4b70(){const _0x35a2d1=['YjdMD','cxpzm','push','5VVKkJb','mvQlM','browser','nENSX','join','all','KtHTy','helpers','end','../../helpers/test-observability/utils','forEach','chrome','jOoqL','load','err','validPlatformsPresent','CODECEPT_CUCUMBER','prepareCapabilities','browserWSEndpoint','platforms','test','errorMessage','config','mergeDeep','winstonLogger','412410FmKDTc','profile','process','Started\x20:\x20','result','teardownAll','CODECEPT','getUserWorkerCount','passed','VTGLB','testContextOptions','Slirr','Workers','isTrue','bootstrapAll','key','codeceptjs/lib/index.js','webkit','../../helpers/accessibility-automation/helper','log','initialize','DZukG','../../helpers/helper','dmiOL','XrdvK','codecept.json','mqyqT','BROWSERSTACK_RERUN','path','enabled','addOptions','gNYrP','isTestObservabilitySession','trim','assign','existsSync','user','../../helpers/performance/constants','accessibility','spawn','../../helpers/logger','findIndex','launchBuild','stop','EVENTS','FZmMZ','parallelsPerPlatform','../utils/constants','util','ACIDl','Playwright','addTests','browserName','desiredCapabilities','env','QlubM','wnDzK','gherkin','NdWNq','ODLot','useW3C','12liTLiH','BROWSERSTACK_TEST_ACCESSIBILITY_YML','map','playwright-firefox','format','Frwlt','BROWSERSTACK_TEST_OBSERVABILITY_YML','../../helpers/testhub/testhubHandler','plugins','toLowerCase','--config','setAdditionalCapabilities','createGroupsOfSuites','Getting\x20your\x20codeceptjs\x20configs\x20from\x20','info','accessKey','WebDriver','title','finalExecution','now','getPlatformName','host','FRAMEWORKS','KcpcE','../../helpers/BrowserStackSetup','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','handleApp','../../helpers/performance/performance-tester','cwd','run','testObservability','dTltW','664DxRyml','dOSdf','206216QCjLCT','kwCrJ','669752itafAH','jjuJo','BROWSERSTACK_RERUN_TESTS','start','skipSessionStatus','chromium','validateRerunTestList','isUndefined','printResults','failed','printBuildLink','debug','3840963ClPudb','replace','getPlaywrightUrl','USER_CONFIG_DETAILS_PATH','1334420IeqxgJ','frameworkName','slice','hubUrl','FdzAb','codeceptjs','skipSessionName','before','BrowserStackPlugin.js','VeBXU','event','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','Passed\x20:\x20','473zrzMzM','pJbRB','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','addConfig','firefox','5984220oEVOGT','playwright-webkit','24633algkef','oZZin','stringify','split','root','../../helpers/utilities','playwright-chromium'];a2_0x4b70=function(){return _0x35a2d1;};return a2_0x4b70();}async function run(_0x42e60b,_0xc4ddf6,_0x40b607){const _0x35dc3b=a2_0x26beb9,_0x22361f={'ydAkK':function(_0x368a10,_0x40a954){return _0x368a10+_0x40a954;},'mqyqT':function(_0x2e45f8,_0x34f04a){return _0x2e45f8(_0x34f04a);},'KkiMV':function(_0x24153b,_0x5d4399){return _0x24153b+_0x5d4399;},'ACIDl':function(_0x281594,_0x54f38d,_0x1f47e1){return _0x281594(_0x54f38d,_0x1f47e1);},'dOSdf':_0x35dc3b(0x147),'Slirr':function(_0x4521f4){return _0x4521f4();},'pJbRB':'/wd/hub','QlubM':function(_0x29da8e){return _0x29da8e();},'wnDzK':function(_0x504864){return _0x504864();},'nENSX':'Failed\x20:\x20','YjdMD':_0x35dc3b(0x1d6),'FZmMZ':_0x35dc3b(0x15c),'VeBXU':'1|0|2|5|3|4','DZukG':_0x35dc3b(0x1d9),'Frwlt':_0x35dc3b(0x18b),'VTGLB':'WebDriver','nQfnH':function(_0x2ab413,_0x1f6f40){return _0x2ab413!=_0x1f6f40;},'ODLot':function(_0x3abe83,_0x25f47b){return _0x3abe83===_0x25f47b;},'kwCrJ':function(_0x1452d0,_0x49facd,_0x57abd0){return _0x1452d0(_0x49facd,_0x57abd0);},'dTltW':_0x35dc3b(0x192),'KcpcE':function(_0x39082e,_0x35ef19){return _0x39082e(_0x35ef19);},'jOoqL':function(_0x162a22,_0x518c0c){return _0x162a22*_0x518c0c;},'oZZin':function(_0x2db546,_0x58a752,_0x4b0bab){return _0x2db546(_0x58a752,_0x4b0bab);},'XrdvK':_0x35dc3b(0x142),'fyCqv':function(_0x48926f,_0x2a65f8,_0x23ece2){return _0x48926f(_0x2a65f8,_0x23ece2);},'FdzAb':'desiredCapabilities','KtHTy':function(_0x4a5594,_0x2b9261,_0x381f21){return _0x4a5594(_0x2b9261,_0x381f21);},'ixApq':_0x35dc3b(0x1e2),'gNYrP':_0x35dc3b(0x1d2),'mvQlM':'browserStackCwd','dmiOL':function(_0xf7c8e3){return _0xf7c8e3();}};await _0x40b607[_0x35dc3b(0x16d)](_0x42e60b),await helper[_0x35dc3b(0x1b0)](_0x40b607[_0x35dc3b(0x156)]);if(!_0x40b607['config'])return;process[_0x35dc3b(0x15a)]=_0x42e60b[_0x35dc3b(0x15a)];_0x42e60b[_0x35dc3b(0x15a)]&&(process[_0x35dc3b(0x18f)][_0x35dc3b(0x15a)]=_0x42e60b[_0x35dc3b(0x15a)]);const _0x1b2bb9=_0x22361f[_0x35dc3b(0x18a)](getUserCodeceptJSConfigs,_0x42e60b,_0xc4ddf6);let _0xa7b911={};_0x1b2bb9?(logger['info'](_0x35dc3b(0x1a3)+_0x1b2bb9),_0xa7b911=CodeceptJS['config'][_0x35dc3b(0x14d)](_0x1b2bb9)):logger[_0x35dc3b(0x1a4)](_0x22361f[_0x35dc3b(0x16e)]);let _0xfc6690=![];_0x22361f['ACIDl'](nestedKeyValue,_0xa7b911,[_0x22361f[_0x35dc3b(0x1b7)],_0x22361f[_0x35dc3b(0x19b)]])&&(_0xfc6690=!![]);const _0x240fb0=_0xfc6690?_0x22361f[_0x35dc3b(0x19b)]:_0x22361f[_0x35dc3b(0x162)];let _0x3e2a70=!_0xfc6690?helper[_0x35dc3b(0x195)](_0x40b607['config']):![];!helper[_0x35dc3b(0x1c1)](_0x40b607['config']['accessibilityOptions'])&&(process[_0x35dc3b(0x18f)][_0x35dc3b(0x1d5)]=JSON[_0x35dc3b(0x1e0)](_0x40b607[_0x35dc3b(0x156)]['accessibilityOptions']));let _0x1c8442=_0x40b607[_0x35dc3b(0x156)][_0x35dc3b(0x17f)];_0x1c8442=_0x1c8442||_0x22361f[_0x35dc3b(0x173)](checkAccessibilityPlatformConfig,_0x40b607[_0x35dc3b(0x156)]),process[_0x35dc3b(0x18f)][_0x35dc3b(0x197)]=_0x1c8442;_0x1c8442&&(_0x3e2a70=!_0x1c8442);_0x22361f['nQfnH'](_0x40b607['config'][_0x35dc3b(0x1b4)],null)?process['env'][_0x35dc3b(0x19c)]=_0x40b607[_0x35dc3b(0x156)]['testObservability']:process['env'][_0x35dc3b(0x19c)]=_0x22361f[_0x35dc3b(0x194)](_0x240fb0,_0x22361f[_0x35dc3b(0x19b)]);const _0x39e1cf=_0x22361f[_0x35dc3b(0x1b9)](nestedKeyValue,_0xa7b911,[_0x22361f[_0x35dc3b(0x1b5)]]),_0x54088b=_0x39e1cf&&!helper['isEmpty'](_0x39e1cf)?FRAMEWORKS[_0x35dc3b(0x150)]:FRAMEWORKS['CODECEPT'],_0x4a5416=await TestHubHandler[_0x35dc3b(0x183)](_0x54088b,_0x40b607);_0x1c8442&&_0x22361f[_0x35dc3b(0x1ad)](setAccessibilityCapabilities,_0x40b607[_0x35dc3b(0x156)]);const _0xb96fb={},_0x359407=[],_0x42678b=_0x40b607[_0x35dc3b(0x156)][_0x35dc3b(0x187)]||helper[_0x35dc3b(0x160)](_0x42e60b,_0xc4ddf6,_0x40b607['config'],constants['FRAMEWORKS'][_0x35dc3b(0x15f)])||0x1;let _0x3bedc9=0x1;if(_0x22361f[_0x35dc3b(0x190)](isBrowserstackInfra)){const _0x49588e=helper['prepareCapabilities'](_0x40b607[_0x35dc3b(0x156)],_0x3e2a70,constants[_0x35dc3b(0x1ac)][_0x35dc3b(0x15f)]);_0x49588e[_0x35dc3b(0x14a)](_0x19cc0e=>{const _0x2c43e8=_0x35dc3b;helper[_0x2c43e8(0x1a1)](_0x19cc0e);}),helper[_0x35dc3b(0x14f)](_0x40b607[_0x35dc3b(0x156)])?_0x3bedc9=_0x22361f[_0x35dc3b(0x14c)](_0x42678b,_0x40b607[_0x35dc3b(0x156)][_0x35dc3b(0x153)]['length']):_0x3bedc9=_0x42678b,_0x49588e['forEach'](_0x81ea51=>{const _0x20bda2=_0x35dc3b,_0x409b00=_0x22361f['KkiMV'](helper[_0x20bda2(0x1aa)](_0x81ea51,'_'),'_'+Date[_0x20bda2(0x1a9)]()),_0x1c3651=((()=>{const _0x3facad=_0x20bda2;if(_0xfc6690){const _0x59408a=pwToCodeceptBrowser[_0x81ea51[_0x3facad(0x18d)]]||_0x81ea51['browserName'];return{'browser':_0x59408a,[_0x59408a]:{'browserWSEndpoint':_0x22361f['ydAkK'](helper[_0x3facad(0x1c8)](_0x40b607[_0x3facad(0x156)]),_0x22361f['mqyqT'](encodeURIComponent,JSON[_0x3facad(0x1e0)](_0x81ea51)))}};}const _0x3b61dd={};return _0x3b61dd[_0x3facad(0x18e)]=_0x81ea51,_0x3b61dd[_0x3facad(0x17d)]=_0x40b607[_0x3facad(0x156)]['userName'],_0x3b61dd[_0x3facad(0x168)]=_0x40b607[_0x3facad(0x156)][_0x3facad(0x1a5)],_0x3b61dd;})()),_0x167a84=_0x22361f[_0x20bda2(0x18a)](nestedKeyValue,_0xa7b911,[_0x22361f[_0x20bda2(0x1b7)],_0x240fb0]);_0xb96fb[_0x409b00]=_0x167a84?helper[_0x20bda2(0x157)](_0x1c3651,_0x167a84):_0x1c3651;if(!_0xfc6690){_0xb96fb[_0x409b00][_0x20bda2(0x142)]=_0x81ea51[_0x20bda2(0x18d)]||_0x1c3651[_0x20bda2(0x142)];if(_0x22361f[_0x20bda2(0x164)](isBrowserstackInfra)){_0xb96fb[_0x409b00][_0x20bda2(0x1ab)]=constants[_0x20bda2(0x1cd)][_0x20bda2(0x1c7)](_0x22361f[_0x20bda2(0x1d8)],'')[_0x20bda2(0x1c7)](/https?:\/\//,'');;_0xb96fb[_0x409b00][_0x20bda2(0x175)]=_0x22361f['pJbRB'];}}_0x359407[_0x20bda2(0x13f)](_0x409b00);});}else{_0x3bedc9=0x1;if(_0xfc6690){const _0x532d63=_0x22361f[_0x35dc3b(0x1df)](nestedKeyValue,_0xa7b911,[_0x22361f['dOSdf'],_0x240fb0,_0x22361f[_0x35dc3b(0x171)]]),_0x18c21f=_0x22361f['fyCqv'](nestedKeyValue,_0xa7b911,[_0x22361f['dOSdf'],_0x240fb0,_0x532d63]);if(_0x18c21f&&_0x18c21f['browserWSEndpoint']){const _0x5adafa={};_0x5adafa[_0x35dc3b(0x153)]=[],_0x18c21f[_0x35dc3b(0x152)]=helper[_0x35dc3b(0x151)](Object[_0x35dc3b(0x17b)]({},_0x40b607[_0x35dc3b(0x156)],_0x5adafa),null,_0x54088b[_0x35dc3b(0x19f)](),null,null,_0x18c21f[_0x35dc3b(0x152)]);}}else{const _0x2f9fa6={};_0x2f9fa6['platforms']=[],_0xa7b911[_0x22361f[_0x35dc3b(0x1b7)]][_0x240fb0][_0x22361f['FdzAb']]=helper[_0x35dc3b(0x151)](Object[_0x35dc3b(0x17b)]({},_0x40b607[_0x35dc3b(0x156)],_0x2f9fa6),null,_0x54088b[_0x35dc3b(0x19f)](),_0x22361f[_0x35dc3b(0x146)](nestedKeyValue,_0xa7b911,[_0x22361f[_0x35dc3b(0x1b7)],_0x240fb0,_0x22361f[_0x35dc3b(0x1ce)]])||{},null,null);}_0xb96fb[_0x22361f['ixApq']]=_0xa7b911,_0x359407[_0x35dc3b(0x13f)](_0x22361f['ixApq']);}const _0x539d7d={};_0x539d7d['testConfig']=_0x1b2bb9;const _0x1f6308=_0x539d7d,_0x2ac662=path[_0x35dc3b(0x144)](__dirname,_0x22361f[_0x35dc3b(0x178)]),_0x48294c=process[_0x35dc3b(0x1b2)]();process['env'][_0x22361f[_0x35dc3b(0x141)]]=_0x48294c,process['chdir'](path['dirname'](_0x1b2bb9));const _0x881498=new CodeceptJS[(_0x35dc3b(0x165))](null,_0x1f6308),_0x5712e8=_0x881498[_0x35dc3b(0x1a2)](_0x3bedc9),_0x330a8c=testOpsHelper[_0x35dc3b(0x179)](),_0x2d3d82=_0x359407[_0x35dc3b(0x198)](_0x2b0f41=>{const _0x493bc8=_0x35dc3b,_0x2bebe4={};_0x2bebe4['Playwright']=_0xb96fb[_0x2b0f41];const _0x22eb94={};_0x22eb94[_0x493bc8(0x1a6)]=_0xb96fb[_0x2b0f41];const _0x21f6c2=_0xfc6690?_0x2bebe4:_0x22eb94,_0xd33e15=_0x22361f['QlubM'](getO11yRerunPattern),_0x12d2f6={};_0x12d2f6[_0x493bc8(0x147)]=_0x21f6c2;const _0x29d741={};_0x29d741['require']=_0x2ac662,_0x29d741[_0x493bc8(0x176)]=!![],_0x29d741['skipSessionName']=_0x40b607[_0x493bc8(0x156)][_0x493bc8(0x163)][_0x493bc8(0x1d0)],_0x29d741[_0x493bc8(0x1be)]=_0x40b607[_0x493bc8(0x156)][_0x493bc8(0x163)][_0x493bc8(0x1be)],_0x29d741['testObservability']=_0x330a8c,_0x29d741[_0x493bc8(0x1cb)]=_0x54088b;const _0x1820c8={};_0x1820c8['BrowserStackPlugin']=_0x29d741;const _0x363cfc={};return _0x363cfc[_0x493bc8(0x19e)]=_0x1820c8,helper[_0x493bc8(0x157)]({},_0xa7b911,_0x22361f[_0x493bc8(0x191)](isBrowserstackInfra)?_0x12d2f6:{},_0xd33e15?{'grep':_0xd33e15}:{},_0x363cfc);});for(const _0x30ad72 of _0x2d3d82){for(const _0x126754 of _0x5712e8){const _0x2dee53=_0x881498[_0x35dc3b(0x180)]();_0x2dee53[_0x35dc3b(0x18c)](_0x126754),_0x2dee53[_0x35dc3b(0x1da)](_0x30ad72);const _0x30acbd={};_0x30acbd['config']=_0x1b2bb9,_0x2dee53[_0x35dc3b(0x177)](_0x30acbd);}}_0x881498['on'](CodeceptJS[_0x35dc3b(0x1d4)]['test'][_0x35dc3b(0x1c3)],(_0x4ebb56,_0x15d031)=>{const _0x324cd1=_0x35dc3b;console[_0x324cd1(0x16c)](_0x22361f[_0x324cd1(0x143)],_0x4ebb56[_0x324cd1(0x1a7)]);const _0x38a6e6={[_0x4ebb56[_0x324cd1(0x1a7)]]:_0x4ebb56[_0x324cd1(0x14e)]['stack']};_testErrorData[_0x324cd1(0x13f)](_0x38a6e6);}),_0x881498['on'](CodeceptJS[_0x35dc3b(0x1d4)][_0x35dc3b(0x154)][_0x35dc3b(0x161)],async _0x5c9400=>{const _0x3e3b61=_0x35dc3b;console[_0x3e3b61(0x16c)](_0x22361f[_0x3e3b61(0x13d)],_0x5c9400[_0x3e3b61(0x1a7)]);}),_0x881498['on'](CodeceptJS[_0x35dc3b(0x1d4)][_0x35dc3b(0x154)][_0x35dc3b(0x1d1)],async _0x5d6cbf=>{const _0x300419=_0x35dc3b;console[_0x300419(0x16c)](_0x22361f[_0x300419(0x186)],_0x5d6cbf[_0x300419(0x1a7)]);}),_0x881498['on'](CodeceptJS[_0x35dc3b(0x1d4)][_0x35dc3b(0x145)][_0x35dc3b(0x15d)],async()=>{const _0x3c1ee3=_0x35dc3b,_0x594001=_0x22361f[_0x3c1ee3(0x1d3)][_0x3c1ee3(0x1e1)]('|');let _0x54eeb7=0x0;while(!![]){switch(_0x594001[_0x54eeb7++]){case'0':_0x40b607[_0x3c1ee3(0x155)]=_testErrorData;continue;case'1':PerformanceTester[_0x3c1ee3(0x1bd)](PerformanceEvents['SDK_CLEANUP']);continue;case'2':testOpsHelper[_0x3c1ee3(0x1c4)]();continue;case'3':try{await TestHubHandler[_0x3c1ee3(0x184)]();}catch(_0x687ce1){logger[_0x3c1ee3(0x1c5)](_0x3c1ee3(0x1af)+util[_0x3c1ee3(0x19a)](_0x687ce1));}continue;case'4':_0x881498[_0x3c1ee3(0x1c2)]();continue;case'5':utilities[_0x3c1ee3(0x1a8)](_0x40b607);continue;}break;}});async function _0x491772(){const _0x2b4424=_0x35dc3b;try{await _0x881498[_0x2b4424(0x167)](),await _0x881498[_0x2b4424(0x1b3)]();}finally{process['chdir'](_0x48294c),await _0x881498[_0x2b4424(0x15e)]();}}PerformanceTester[_0x35dc3b(0x148)](PerformanceEvents['SDK_SETUP']),_0x22361f[_0x35dc3b(0x170)](_0x491772);}module['exports']=run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a3_0x4b5f57=a3_0x563b;function a3_0x563b(_0x3955c9,_0x5b8cdb){const _0x5ed786=a3_0x5ed7();return a3_0x563b=function(_0x563b79,_0x4413d6){_0x563b79=_0x563b79-0x125;let _0x5a32f2=_0x5ed786[_0x563b79];return _0x5a32f2;},a3_0x563b(_0x3955c9,_0x5b8cdb);}(function(_0x53a2ce,_0x45015c){const _0x50841d=a3_0x563b,_0x4800f1=_0x53a2ce();while(!![]){try{const _0x3a20d3=-parseInt(_0x50841d(0x161))/0x1+parseInt(_0x50841d(0x14f))/0x2+-parseInt(_0x50841d(0x165))/0x3*(parseInt(_0x50841d(0x166))/0x4)+parseInt(_0x50841d(0x125))/0x5*(-parseInt(_0x50841d(0x13c))/0x6)+-parseInt(_0x50841d(0x167))/0x7*(-parseInt(_0x50841d(0x155))/0x8)+-parseInt(_0x50841d(0x145))/0x9+parseInt(_0x50841d(0x15e))/0xa;if(_0x3a20d3===_0x45015c)break;else _0x4800f1['push'](_0x4800f1['shift']());}catch(_0x5ea0be){_0x4800f1['push'](_0x4800f1['shift']());}}}(a3_0x5ed7,0x8a4be));const {isUndefined,nestedKeyValue}=require(a3_0x4b5f57(0x150)),logger=require(a3_0x4b5f57(0x158))[a3_0x4b5f57(0x12f)],PlaywrightSessionDetails=require(a3_0x4b5f57(0x127)),{isAccessibilityAutomationSession}=require('../../helpers/accessibility-automation/helper'),{getObservabilityLinkedProductName}=require(a3_0x4b5f57(0x12a)),getOSVersionFromCaps=_0x3047f4=>{const _0xf01998=a3_0x4b5f57,_0x372b2a={};_0x372b2a[_0xf01998(0x172)]=_0xf01998(0x14d),_0x372b2a[_0xf01998(0x137)]=_0xf01998(0x138),_0x372b2a[_0xf01998(0x16e)]=_0xf01998(0x13a),_0x372b2a[_0xf01998(0x169)]=_0xf01998(0x16d),_0x372b2a['VczZY']=_0xf01998(0x12e);const _0x47ccbd=_0x372b2a;if(!_0x3047f4)return null;const _0x257804=_0x3047f4[_0x47ccbd[_0xf01998(0x172)]],_0x3f608b=[_0x47ccbd[_0xf01998(0x137)],_0x47ccbd[_0xf01998(0x16e)],_0x47ccbd[_0xf01998(0x169)],_0x47ccbd[_0xf01998(0x129)]];for(const _0x4c315f of _0x3f608b){if(_0x257804&&_0x257804[_0x4c315f])return _0x257804[_0x4c315f];else{if(_0x3047f4[_0x4c315f])return _0x3047f4[_0x4c315f];}}return null;};exports[a3_0x4b5f57(0x15a)]=_0x403e98=>{const _0x3616aa=a3_0x4b5f57,_0x3f801a={'oeYMA':_0x3616aa(0x170),'JYTnC':function(_0x39a88,_0x21f506){return _0x39a88===_0x21f506;},'IiNAu':_0x3616aa(0x135),'hZUTD':function(_0x4e3e8b,_0x3a12a9){return _0x4e3e8b(_0x3a12a9);},'XMGJu':function(_0x3fba88,_0x2653be,_0x400c14){return _0x3fba88(_0x2653be,_0x400c14);},'BHJJx':_0x3616aa(0x142),'dgIcm':_0x3616aa(0x128),'GChKe':function(_0x3b9bfb,_0x2d2ae4){return _0x3b9bfb===_0x2d2ae4;},'gDBQi':_0x3616aa(0x148),'fBpkP':_0x3616aa(0x15b),'rJoQM':_0x3616aa(0x16c),'jJyAR':'caps'};if(!_0x403e98)return null;let _0x10c377=global[_0x3616aa(0x147)]||_0x3f801a[_0x3616aa(0x141)];if(_0x3f801a[_0x3616aa(0x175)](_0x403e98['constructor'][_0x3616aa(0x12c)],_0x3f801a['IiNAu'])){const _0x18670b=_0x403e98[_0x3616aa(0x15b)];if(!_0x18670b)return null;const _0x285ff4=_0x18670b[_0x3616aa(0x16a)],_0x301435=_0x3f801a[_0x3616aa(0x16f)](getOSVersionFromCaps,_0x3f801a[_0x3616aa(0x157)](nestedKeyValue,_0x403e98,[_0x3f801a[_0x3616aa(0x139)],_0x3f801a['dgIcm']]));return{[_0x10c377]:{'browser':_0x285ff4[_0x3616aa(0x13e)],'browser_version':_0x285ff4['browserVersion'],'capabilities':_0x285ff4,'platform':_0x285ff4[_0x3616aa(0x134)],'platform_version':_0x285ff4[_0x3616aa(0x138)]||_0x301435,'product':_0x3f801a[_0x3616aa(0x16f)](getObservabilityLinkedProductName,_0x285ff4),'session_id':_0x18670b[_0x3616aa(0x168)]}};}else{if(_0x3f801a[_0x3616aa(0x144)](_0x403e98[_0x3616aa(0x173)][_0x3616aa(0x12c)],_0x3f801a[_0x3616aa(0x126)])){const _0x10e85a=PlaywrightSessionDetails[_0x3616aa(0x140)]();_0x10c377=_0x10e85a[_0x3616aa(0x13d)]||_0x10c377;const _0x360e69=_0x3f801a[_0x3616aa(0x157)](nestedKeyValue,_0x403e98,[_0x3f801a[_0x3616aa(0x139)],_0x3f801a[_0x3616aa(0x14c)],_0x3f801a[_0x3616aa(0x14e)]]),_0x4a937b=_0x360e69?JSON[_0x3616aa(0x136)](new URL(_0x360e69)[_0x3616aa(0x13f)][_0x3616aa(0x171)](_0x3f801a[_0x3616aa(0x16b)])):{};return{[_0x10c377]:{'browser':_0x10e85a[_0x3616aa(0x15b)]||_0x4a937b[_0x3616aa(0x13e)],'browser_version':_0x10e85a[_0x3616aa(0x176)]||_0x4a937b[_0x3616aa(0x176)],'capabilities':_0x4a937b,'platform':_0x10e85a[_0x3616aa(0x13b)],'platform_version':_0x10e85a[_0x3616aa(0x13a)],'product':_0x3f801a[_0x3616aa(0x16f)](getObservabilityLinkedProductName,_0x4a937b),'session_id':_0x10e85a[_0x3616aa(0x149)]}};}}},exports[a3_0x4b5f57(0x12b)]=_0x4d8e73=>{const _0x402335=a3_0x4b5f57,_0x38ad65={'nJZHv':function(_0x479bc8){return _0x479bc8();},'wpImG':function(_0x2d417d,_0x3d9938){return _0x2d417d===_0x3d9938;},'kToKc':_0x402335(0x14a),'wehZq':function(_0x174ef8,_0x59a0dc){return _0x174ef8>_0x59a0dc;},'mPsxF':function(_0x320a93,_0x1b23c){return _0x320a93(_0x1b23c);},'eYyUk':_0x402335(0x174),'pylnC':function(_0x46b031,_0x818475){return _0x46b031===_0x818475;},'xKWkC':'chrome','URQTo':_0x402335(0x12d),'ZasUs':_0x402335(0x156),'SBrYd':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.'};if(_0x38ad65[_0x402335(0x160)](isAccessibilityAutomationSession)){const _0x5bf36f=_0x4d8e73[_0x402335(0x15b)],_0x1fd8a2=_0x5bf36f[_0x402335(0x16a)];global[_0x402335(0x163)]=!![],!(_0x38ad65['wpImG'](_0x1fd8a2[_0x402335(0x15c)],_0x38ad65[_0x402335(0x146)])||_0x38ad65[_0x402335(0x15f)](_0x38ad65['mPsxF'](parseInt,_0x1fd8a2[_0x402335(0x15c)]),0x5e))&&(logger[_0x402335(0x152)](_0x38ad65[_0x402335(0x130)]),global[_0x402335(0x163)]=![]),!(_0x38ad65[_0x402335(0x14b)](_0x1fd8a2[_0x402335(0x13e)],_0x38ad65[_0x402335(0x143)])||_0x38ad65[_0x402335(0x14b)](_0x1fd8a2[_0x402335(0x13e)],_0x38ad65[_0x402335(0x151)]))&&(logger[_0x402335(0x152)](_0x38ad65[_0x402335(0x153)]),global[_0x402335(0x163)]=![]),!_0x38ad65[_0x402335(0x162)](isUndefined,_0x1fd8a2['deviceName'])&&(logger['warn'](_0x38ad65[_0x402335(0x15d)]),global[_0x402335(0x163)]=![]);}},exports[a3_0x4b5f57(0x164)]=_0x544657=>{const _0x16a7e0=a3_0x4b5f57,_0x244405={};_0x244405[_0x16a7e0(0x159)]=_0x16a7e0(0x154),_0x244405['bZBTB']=_0x16a7e0(0x133);const _0x37e7f5=_0x244405;if(!_0x544657)return![];return!_0x544657[_0x16a7e0(0x131)](_0x37e7f5[_0x16a7e0(0x159)])&&!_0x544657[_0x16a7e0(0x131)](_0x37e7f5[_0x16a7e0(0x132)]);};function a3_0x5ed7(){const _0x129d7e=['shouldPatchExecuteScript','40686tyxROC','212nuOplV','6151439CBMgin','sessionId','NuECp','capabilities','jJyAR','browserWSEndpoint','osVersion','PspbP','hZUTD','unknown_grid','get','Ufxtn','constructor','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','JYTnC','browser_version','1705cwcdtq','gDBQi','../../bin/playwright/sessionDetails','desiredCapabilities','VczZY','../../helpers/test-observability/utils','processWebDriverConfig','name','playwright-chromium','os_version','winstonLogger','eYyUk','includes','bZBTB','browserstack_accessibility_automation_script','platformName','WebDriver','parse','sycof','platformVersion','BHJJx','platform_version','platform','14010jgXPMS','cloudProvider','browserName','searchParams','getDetails','oeYMA','config','xKWkC','GChKe','1205235mWLbWs','kToKc','__cloud_provider___','Playwright','bsSessionId','latest','pylnC','fBpkP','bstack:options','rJoQM','2015512SbQrrQ','../../helpers/helper','URQTo','warn','ZasUs','browserstack_executor','8sZnPhT','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','XMGJu','../../helpers/logger','dAEkE','fetchPlatformDetails','browser','browserVersion','SBrYd','13571780opulCW','wehZq','nJZHv','1028313XXAqrJ','mPsxF','accessibilityPlatform'];a3_0x5ed7=function(){return _0x129d7e;};return a3_0x5ed7();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a4_0x131c(){const _0x3cf255=['ynxyD','message','getFailureType','../../helpers/testhub/utils.js','getTime','HCBaj','event_type','findGitConfig','onjUO','string','NwrNv','\x20with\x20error\x20:\x20','DCYyN','prototype','getHooksForTest','backtrace','CxFfk','hook_run','QAaJw','ckfum','1032348FjcDeO','apply','frXXi','UiaDu','find','obsBrowserTypeMockApplied','hook','KvoqG','file_name','initializeBddStep','debug','inspect','bNFkc','SOQNA','Checking\x20for\x20accessibility\x20automation\x20session\x20with\x20','PathHelper','name','hook_type','PLAYWRIGHT_HUB_URL','KQTJo','wEmgu','Playwright','sep','TestRunStarted','16EnVrdm','patchConsoleLogger','scyuY','IdjZb','hhJtx','driver','hookAnalyticsId','O11yHelper','tsPWg','Not\x20able\x20to\x20import\x20Browser','enabled','exports','finished_at','mYptt','yFZVv','__cloud_provider___','EQQVB','OYYhT','GzCxl','rYvmM','OnRrM','Xgkhm','feature','2256933vFBsLe','_afterAll','bddStepFinish','statSync','qVUOj','gmcZS','testAnalyticsId','cwd','skipped','gRbrW','../../helpers/test-observability/constants','tags','forEach','../utils/constants','xLQVj','DPcBA','Hkkcv','suites','status','javascript','push','NEqmz','uploadEventData','stepAnalyticsId','meta','bddSteps','../../helpers/helper','mapTestHooks','fireEvent','FPAyP','match','LogCreated','yRcjn','toLowerCase','accessibilityPlatform','pSLag','TEST_RUN_FINISHED','duration','_beforeEach','rjbPh','TestRunFinished','uRdgY','stringify','getHookType','tfbrK','_beforeAll','success','EFNHd','getRootParentFile','rORNq','Failed\x20to\x20parse\x20wsendpoint\x20','hook_run_uuid','codeceptjs','UfzeO','_afterEach','TEST_RUN_SKIPPED','tkaMg','now','Exception\x20in\x20uploading\x20log\x20data\x20to\x20Observability\x20with\x20error\x20:\x20','iDXbl','HookRunStarted','pending','dCSsa','join','axOqq','fZYJJ','errorsDetailed','captureEvent','launch','STATE_PASSED','YLEnJ','frameworkName','kgqRm','browserType.js','gFniX','failed','WixgQ','../../helpers/test-observability/utils','nwuen','wgzuE','finished','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20Observability\x20with\x20error\x20:\x20','currentHook','dirname','TEST_EVENTS','SLuzE','util','JwGIC','body','../playwright/sessionDetails','ZXCwD','aVPxm','client','uAPEN','gIurT','647281IYJWxH','STATE_FAILED','dlCuS','toISOString','getHierarchy','split','title','prefixTestPath','then','KLjfI','currentTest','CODECEPT','hhCrW','vUkWj','NOKDM','xjLOF','1146114WmSpXH','35muIslw','test','test_run_uuid','connect','1584954aQfocv','JtNEr','setupBrowserDetails','relative','pid','markedStatus','oZsxm','__platformCaps','Ranpi','result','HookRunFinished','1815162gumyuH','BROWSERSTACK','BcpsN','err','constructor','wOqUM','_testEnv','passed','bind','started','file','failure','getCBTInfo','0|3|5|2|4|1','defineProperty','resetSkipTestHooks','startedAt','length','keyword','includes','retryOf','./helper.js','logs','shutdown','oJOqa','appendTestItemLog','path','khzml','integrations','failure_reason_expanded','fullTitle','CFSHy','parent','kqJlP','replace','xgFEq','14314959HzfavH','_paths','nQywD','expanded','plfQw','iXnxZ','uuid','test_run','qmNtB','failed\x20to\x20get\x20root\x20parent\x20file\x20','toString','nIQPZ','dkdLP','ctx'];a4_0x131c=function(){return _0x3cf255;};return a4_0x131c();}const a4_0x545fbd=a4_0x43bd;(function(_0x2ac162,_0x1030ad){const _0x4fdb2a=a4_0x43bd,_0x22a066=_0x2ac162();while(!![]){try{const _0x18d64a=parseInt(_0x4fdb2a(0x1f0))/0x1+-parseInt(_0x4fdb2a(0x11c))/0x2+parseInt(_0x4fdb2a(0x205))/0x3+parseInt(_0x4fdb2a(0x162))/0x4*(parseInt(_0x4fdb2a(0x201))/0x5)+-parseInt(_0x4fdb2a(0x200))/0x6+parseInt(_0x4fdb2a(0x191))/0x7*(parseInt(_0x4fdb2a(0x17a))/0x8)+-parseInt(_0x4fdb2a(0x140))/0x9;if(_0x18d64a===_0x1030ad)break;else _0x22a066['push'](_0x22a066['shift']());}catch(_0x393ee3){_0x22a066['push'](_0x22a066['shift']());}}}(a4_0x131c,0xe4fa7));const path=require(a4_0x545fbd(0x136)),fs=require('fs'),{v4:uuidv4}=require(a4_0x545fbd(0x146)),{importFileFromPWCore,nestedKeyValue,parseWSEndpoint,isUndefined}=require(a4_0x545fbd(0x1ab)),testOpsHelper=require(a4_0x545fbd(0x1de)),{getTestEnv}=require('../mocha/test-observability/mochaUtils'),{FRAMEWORKS}=require(a4_0x545fbd(0x19b)),logger=require('../../helpers/logger')['winstonLogger'],SessionHandler=require('../../helpers/test-observability/sessionHandler'),RequestQueueHandler=require('../../helpers/test-observability/requestQueueHandler'),PlaywrightSessionDetails=require(a4_0x545fbd(0x1ea)),debug=testOpsHelper[a4_0x545fbd(0x16c)],{processAccessibilityCaps}=require('../playwright/accessibility-helper'),Constants=require(a4_0x545fbd(0x19e)),{fetchPlatformDetails}=require(a4_0x545fbd(0x131)),{shouldProcessEventForTesthub,appendTesthubParams}=require(a4_0x545fbd(0x151)),STATE_PASSED='passed',STATE_FAILED=a4_0x545fbd(0x1dc),a4_0x5ca9a6={};function a4_0x43bd(_0x3507e6,_0x5ecd7f){const _0x131c4c=a4_0x131c();return a4_0x43bd=function(_0x43bd51,_0x444906){_0x43bd51=_0x43bd51-0x115;let _0x3ba668=_0x131c4c[_0x43bd51];return _0x3ba668;},a4_0x43bd(_0x3507e6,_0x5ecd7f);}a4_0x5ca9a6['TEST_RUN_STARTED']=a4_0x545fbd(0x179),a4_0x5ca9a6[a4_0x545fbd(0x1b5)]=a4_0x545fbd(0x1b9),a4_0x5ca9a6[a4_0x545fbd(0x1c8)]='TestRunSkipped',a4_0x5ca9a6['HOOK_RUN_STARTED']=a4_0x545fbd(0x1cd),a4_0x5ca9a6['HOOK_RUN_FINISHED']=a4_0x545fbd(0x11b);const TEST_EVENTS=a4_0x5ca9a6,parseEvent=_0x320834=>{const _0x58c4a8=a4_0x545fbd,_0x3cc846={};_0x3cc846[_0x58c4a8(0x18c)]=function(_0x1fa17c,_0x2ebd52){return _0x1fa17c<_0x2ebd52;},_0x3cc846['gmcZS']=function(_0xb87bda,_0x120dd9){return _0xb87bda===_0x120dd9;},_0x3cc846[_0x58c4a8(0x1cc)]=_0x58c4a8(0x202),_0x3cc846[_0x58c4a8(0x1b8)]=function(_0x54bfc4,_0x2fc2c6){return _0x54bfc4===_0x2fc2c6;},_0x3cc846[_0x58c4a8(0x1e0)]='hook',_0x3cc846[_0x58c4a8(0x121)]=function(_0x5d37c3,_0x10210c){return _0x5d37c3===_0x10210c;},_0x3cc846[_0x58c4a8(0x1c6)]='skipped',_0x3cc846[_0x58c4a8(0x14c)]=_0x58c4a8(0x125),_0x3cc846['xgFEq']=function(_0xfc0870,_0x4d2975){return _0xfc0870===_0x4d2975;},_0x3cc846[_0x58c4a8(0x1c0)]=_0x58c4a8(0x1e1);const _0x4b20a7=_0x3cc846,_0x3ddc2c=_0x320834['match'](/^(.*)Run(.*)$/);if(!_0x3ddc2c)return null;if(_0x4b20a7[_0x58c4a8(0x18c)](_0x3ddc2c[_0x58c4a8(0x12d)],0x3))return null;const _0x542ed0=_0x3ddc2c[0x1][_0x58c4a8(0x1b2)](),_0x458699=_0x3ddc2c[0x2][_0x58c4a8(0x1b2)]();return{'test':_0x4b20a7[_0x58c4a8(0x196)](_0x542ed0,_0x4b20a7[_0x58c4a8(0x1cc)]),'hook':_0x4b20a7[_0x58c4a8(0x1b8)](_0x542ed0,_0x4b20a7[_0x58c4a8(0x1e0)]),'skipped':_0x4b20a7['wOqUM'](_0x458699,_0x4b20a7[_0x58c4a8(0x1c6)]),'started':_0x4b20a7[_0x58c4a8(0x196)](_0x458699,_0x4b20a7['dkdLP']),'finished':_0x4b20a7[_0x58c4a8(0x13f)](_0x458699,_0x4b20a7['EFNHd'])};},mockPWBrowserType=_0x4832d2=>{const _0x521d5c=a4_0x545fbd,_0x5e074b={'onjUO':function(_0x490245,_0x4966d1){return _0x490245===_0x4966d1;},'Sqhvw':_0x521d5c(0x157),'KLjfI':function(_0x29c76c,_0x8d5283,_0x27af80){return _0x29c76c(_0x8d5283,_0x27af80);},'QAaJw':'wsEndpoint','tsPWg':function(_0x211ad4,_0x18982a){return _0x211ad4(_0x18982a);},'oJOqa':'browserstack','gIurT':'lib','Mmowu':_0x521d5c(0x1ed),'SLuzE':_0x521d5c(0x1da),'Ranpi':_0x521d5c(0x183),'NEqmz':'connect','wEmgu':_0x521d5c(0x1d5)},_0x308995=path[_0x521d5c(0x1d0)](_0x5e074b[_0x521d5c(0x1ef)],_0x5e074b['Mmowu'],_0x5e074b[_0x521d5c(0x1e6)]),_0x25402b=_0x5e074b[_0x521d5c(0x182)](importFileFromPWCore,_0x308995);if(!_0x25402b){_0x5e074b['tsPWg'](debug,_0x5e074b[_0x521d5c(0x119)]);return;}const _0xbe773d=_0x25402b['BrowserType'],_0x371101=_0xbe773d[_0x521d5c(0x15b)];if(_0x371101[_0x521d5c(0x167)])return;const _0xe5a488=_0x371101[_0x521d5c(0x204)];Object[_0x521d5c(0x12a)](_0x371101,_0x5e074b[_0x521d5c(0x1a6)],{'get':function(){const _0x398486=_0x521d5c,_0x5853e8={'BcpsN':function(_0x36cab3,_0x5811d3){const _0x9dc761=a4_0x43bd;return _0x5e074b[_0x9dc761(0x156)](_0x36cab3,_0x5811d3);},'uRdgY':_0x5e074b['Sqhvw'],'FPAyP':function(_0x1a07c0,_0x1c51eb,_0x2c5f91){return _0x5e074b['KLjfI'](_0x1a07c0,_0x1c51eb,_0x2c5f91);},'Udmsi':_0x5e074b[_0x398486(0x160)],'JwGIC':function(_0x41caf6,_0x28a3fb){const _0x101b20=_0x398486;return _0x5e074b[_0x101b20(0x182)](_0x41caf6,_0x28a3fb);},'kgqRm':_0x5e074b[_0x398486(0x134)],'nQywD':function(_0x50ee3f,_0x148273,_0x30f877){const _0x116b7c=_0x398486;return _0x5e074b[_0x116b7c(0x1f9)](_0x50ee3f,_0x148273,_0x30f877);}};return async function _0x522669(_0x49af47,_0x2731e8){const _0x3274e3=_0x398486,_0x153873={'ayJAj':function(_0x43a36d,_0x584cd3){const _0x412ad1=a4_0x43bd;return _0x5853e8[_0x412ad1(0x11e)](_0x43a36d,_0x584cd3);},'NwrNv':_0x5853e8[_0x3274e3(0x1ba)]},_0xfc39bd=_0x5853e8[_0x3274e3(0x1ae)](nestedKeyValue,_0x49af47,[_0x5853e8['Udmsi']])||_0x49af47;let _0x35ad62=null,_0x1b8eee=null;try{[_0x1b8eee,_0x35ad62]=_0xfc39bd?_0x5853e8[_0x3274e3(0x1e8)](parseWSEndpoint,_0xfc39bd):[null,null],global[_0x3274e3(0x118)]=_0x35ad62,logger[_0x3274e3(0x16c)](_0x3274e3(0x170)+_0x1b8eee),_0x1b8eee[_0x3274e3(0x12f)](Constants[_0x3274e3(0x11d)])&&(global[_0x3274e3(0x189)]=_0x5853e8[_0x3274e3(0x1d9)]);}catch(_0x38ec7b){logger[_0x3274e3(0x16c)](_0x3274e3(0x1c3)+_0xfc39bd+'\x20'+_0x38ec7b);}_0x5853e8[_0x3274e3(0x142)](processAccessibilityCaps,_0x35ad62,_0x1b8eee);if(global[_0x3274e3(0x1b3)]){const _0x3fc314=await _0x371101['connectOverCDP']['apply'](this,[''+Constants[_0x3274e3(0x174)]+_0x5853e8[_0x3274e3(0x1e8)](encodeURIComponent,JSON[_0x3274e3(0x1bb)](_0x35ad62))]);return PlaywrightSessionDetails['setupBrowserDetails'](_0x3fc314,_0x4832d2,_0xfc39bd),_0x3fc314;}return _0xe5a488['apply'](this,arguments)['then'](_0x365c23=>{const _0x1104a8=_0x3274e3;let _0xd8683c=_0x49af47['wsEndpoint'];return _0x153873['ayJAj'](typeof _0x49af47,_0x153873[_0x1104a8(0x158)])&&(_0xd8683c=_0x49af47),PlaywrightSessionDetails[_0x1104a8(0x207)](_0x365c23,_0x4832d2,_0xd8683c),_0x365c23;});};}});const _0xcc1f66=_0x371101[_0x521d5c(0x1d5)];Object['defineProperty'](_0x371101,_0x5e074b[_0x521d5c(0x176)],{'get':function(){return async function _0x2907fe(){const _0x407083=a4_0x43bd;return _0xcc1f66[_0x407083(0x163)](this,arguments)[_0x407083(0x1f8)](_0x2897cd=>{const _0x11c113=_0x407083;return PlaywrightSessionDetails[_0x11c113(0x207)](_0x2897cd,null),_0x2897cd;});};}});};class O11yHelper{[a4_0x545fbd(0x1fa)]=null;[a4_0x545fbd(0x1e3)]=null;['enabled']=![];[a4_0x545fbd(0x1d8)]=![];constructor(_0x39ce43,_0x5b8854){const _0x3484cb=a4_0x545fbd,_0x1cf4c0={'CFSHy':_0x3484cb(0x129),'pSLag':function(_0xc8329f){return _0xc8329f();},'KQTJo':function(_0x5d9f36,_0x3f57b7){return _0x5d9f36===_0x3f57b7;},'gFniX':_0x3484cb(0x177),'scyuY':function(_0xb0ca85,_0x3be91b){return _0xb0ca85(_0x3be91b);}},_0x4b1ca0=_0x1cf4c0[_0x3484cb(0x13b)][_0x3484cb(0x1f5)]('|');let _0x2e679c=0x0;while(!![]){switch(_0x4b1ca0[_0x2e679c++]){case'0':this[_0x3484cb(0x184)]=_0x1cf4c0[_0x3484cb(0x1b4)](shouldProcessEventForTesthub);continue;case'1':this[_0x3484cb(0x17f)]&&_0x1cf4c0[_0x3484cb(0x175)](this[_0x3484cb(0x17f)][_0x3484cb(0x120)]['name'],_0x1cf4c0[_0x3484cb(0x1db)])&&_0x1cf4c0[_0x3484cb(0x17c)](mockPWBrowserType,null);continue;case'2':this[_0x3484cb(0x122)]=_0x1cf4c0[_0x3484cb(0x1b4)](getTestEnv);continue;case'3':this['frameworkName']=_0x5b8854[_0x3484cb(0x1d8)];continue;case'4':this[_0x3484cb(0x141)]=new testOpsHelper[(_0x3484cb(0x171))]({'cwd':process[_0x3484cb(0x198)]()},this['_testEnv']['location_prefix']);continue;case'5':this['driver']=_0x39ce43;continue;}break;}}['start'](){const _0x5c0915=a4_0x545fbd;if(!this[_0x5c0915(0x184)])return;testOpsHelper[_0x5c0915(0x17b)](),process['removeAllListeners']('bs:addLog:'+process[_0x5c0915(0x115)]),process['on']('bs:addLog:'+process['pid'],this[_0x5c0915(0x135)][_0x5c0915(0x124)](this));}async['stop'](){const _0xb96607=a4_0x545fbd;await RequestQueueHandler['getInstance']()[_0xb96607(0x133)]();}async[a4_0x545fbd(0x135)](_0x10c5e8){const _0x1c2fba=a4_0x545fbd,_0x1934fd={'Jkrwb':_0x1c2fba(0x1b0),'tfbrK':function(_0x442589,_0x1e9aa1){return _0x442589(_0x1e9aa1);}};try{this[_0x1c2fba(0x1e3)]&&!this[_0x1c2fba(0x1e3)]['markedStatus']&&(_0x10c5e8['hook_run_uuid']=this[_0x1c2fba(0x1e3)]['hookAnalyticsId']);!_0x10c5e8[_0x1c2fba(0x1c4)]&&this[_0x1c2fba(0x1fa)]&&!this[_0x1c2fba(0x1fa)]['markedStatus']&&(_0x10c5e8[_0x1c2fba(0x203)]=this[_0x1c2fba(0x1fa)][_0x1c2fba(0x197)]);if(_0x10c5e8[_0x1c2fba(0x1c4)]||_0x10c5e8['test_run_uuid']){const _0x368799={};_0x368799['event_type']=_0x1934fd['Jkrwb'],_0x368799[_0x1c2fba(0x132)]=[_0x10c5e8],await SessionHandler[_0x1c2fba(0x1a7)](_0x368799);}}catch(_0x513491){_0x1934fd[_0x1c2fba(0x1bd)](debug,_0x1c2fba(0x1cb)+_0x513491);}}async['sendCBTInfo'](_0x520ee6){const _0x5a8135=a4_0x545fbd,_0x4a7ffc={'uAPEN':'CBTSessionCreated','yIqcl':function(_0x4544b8,_0x50e19f){return _0x4544b8(_0x50e19f);}};if(!this['enabled'])return;const _0x37f451=this[_0x5a8135(0x128)](this['driver']);try{const _0x1f8700={};_0x1f8700[_0x5a8135(0x146)]=_0x520ee6,_0x1f8700['integrations']=_0x37f451;const _0x569c5b=_0x1f8700,_0x3a7b34={};_0x3a7b34[_0x5a8135(0x154)]=_0x4a7ffc[_0x5a8135(0x1ee)],_0x3a7b34[_0x5a8135(0x147)]=_0x569c5b,await SessionHandler[_0x5a8135(0x1a7)](_0x3a7b34);}catch(_0x3b1313){_0x4a7ffc['yIqcl'](debug,_0x5a8135(0x1e2)+_0x3b1313);}}[a4_0x545fbd(0x128)](_0x59dda2){const _0x57f4fd=a4_0x545fbd,_0x4e8776={'fZYJJ':function(_0x357a88,_0x39b4d3){return _0x357a88(_0x39b4d3);}};return _0x4e8776[_0x57f4fd(0x1d2)](fetchPlatformDetails,_0x59dda2);}[a4_0x545fbd(0x12b)]=_0x5554bf=>{const _0x2257e3=a4_0x545fbd,_0x418d06={};_0x418d06[_0x2257e3(0x1b1)]=_0x2257e3(0x1b7),_0x418d06[_0x2257e3(0x18e)]=_0x2257e3(0x1c7);const _0x2892c5=_0x418d06;if(!_0x5554bf||!_0x5554bf['parent'])return;[_0x2892c5['yRcjn'],_0x2892c5[_0x2257e3(0x18e)]][_0x2257e3(0x19d)](_0x3c3c3b=>{const _0x24f25b=_0x2257e3,_0x5d17f4=_0x5554bf['parent'][_0x3c3c3b];_0x5d17f4[_0x24f25b(0x19d)](_0x8d04c0=>{const _0x32e681=_0x24f25b;_0x8d04c0[_0x32e681(0x180)]&&(_0x8d04c0[_0x32e681(0x180)]=null);});});};[a4_0x545fbd(0x1ac)](_0x213f49){const _0x43e4ee=a4_0x545fbd,_0x3a5c5b={'rYvmM':_0x43e4ee(0x1c5),'khzml':function(_0x3dc9e2){return _0x3dc9e2();},'mYptt':function(_0x2651b4,_0xfb2553){return _0x2651b4===_0xfb2553;},'NOKDM':_0x43e4ee(0x1c7),'uEuAY':_0x43e4ee(0x1be),'nwuen':_0x43e4ee(0x192),'rnDFr':_0x43e4ee(0x1b7)};if(!_0x213f49||!_0x213f49[_0x43e4ee(0x13c)])return;[_0x3a5c5b['uEuAY'],_0x3a5c5b[_0x43e4ee(0x1df)],_0x3a5c5b['rnDFr'],_0x3a5c5b[_0x43e4ee(0x1fe)]][_0x43e4ee(0x19d)](_0x1731a1=>{const _0x50afe9=_0x43e4ee,_0xc544a={'DCYyN':_0x3a5c5b[_0x50afe9(0x18d)],'WixgQ':function(_0x31be4e){const _0x57e012=_0x50afe9;return _0x3a5c5b[_0x57e012(0x137)](_0x31be4e);},'kqJlP':function(_0xebe6aa,_0x51a839){const _0x574b38=_0x50afe9;return _0x3a5c5b[_0x574b38(0x187)](_0xebe6aa,_0x51a839);},'ckfum':_0x3a5c5b[_0x50afe9(0x1fe)],'yFZVv':function(_0x4b4fad){const _0x4cf777=_0x50afe9;return _0x3a5c5b[_0x4cf777(0x137)](_0x4b4fad);}},_0x4aa320=_0x213f49[_0x50afe9(0x13c)][_0x1731a1]||[];_0x4aa320[_0x50afe9(0x19d)](_0x32e459=>{const _0xf301aa=_0x50afe9;if(_0x32e459[_0xf301aa(0x1f6)][_0xf301aa(0x12f)](_0xc544a[_0xf301aa(0x15a)]))return;if(!_0x32e459[_0xf301aa(0x180)])_0x32e459[_0xf301aa(0x180)]=_0xc544a[_0xf301aa(0x1dd)](uuidv4);else _0x32e459['markedStatus']&&_0xc544a[_0xf301aa(0x13d)](_0x1731a1,_0xc544a[_0xf301aa(0x161)])&&(_0x32e459['hookAnalyticsId']=_0xc544a[_0xf301aa(0x188)](uuidv4),delete _0x32e459[_0xf301aa(0x116)]);});}),this[_0x43e4ee(0x1ac)](_0x213f49[_0x43e4ee(0x13c)]);}[a4_0x545fbd(0x15c)](_0x3182cf){const _0x3d40a0=a4_0x545fbd,_0x5a66d2={};_0x5a66d2[_0x3d40a0(0x1cf)]='_beforeAll',_0x5a66d2[_0x3d40a0(0x165)]=_0x3d40a0(0x192),_0x5a66d2[_0x3d40a0(0x16f)]='_beforeEach',_0x5a66d2[_0x3d40a0(0x1fc)]=_0x3d40a0(0x1c7);const _0x4d8a0d=_0x5a66d2;if(!_0x3182cf||!_0x3182cf['parent'])return[];const _0x30c8cb=[];return[_0x4d8a0d[_0x3d40a0(0x1cf)],_0x4d8a0d[_0x3d40a0(0x165)],_0x4d8a0d[_0x3d40a0(0x16f)],_0x4d8a0d['hhCrW']][_0x3d40a0(0x19d)](_0x520153=>{const _0x147bce=_0x3d40a0,_0x188c42=_0x3182cf[_0x147bce(0x13c)][_0x520153]||[];_0x188c42['forEach'](_0x11edd5=>{const _0x28d356=_0x147bce;_0x11edd5['hookAnalyticsId']&&_0x30c8cb[_0x28d356(0x1a5)](_0x11edd5[_0x28d356(0x180)]);});}),[]['concat'](_0x30c8cb,this[_0x3d40a0(0x15c)](_0x3182cf[_0x3d40a0(0x13c)]));}['getHookType'](_0x597cad){const _0x280ecb=a4_0x545fbd,_0x57fb59=/^"(?<hook>.*)" hook:.*$/,_0x3ccbb0=_0x597cad[_0x280ecb(0x1f6)],_0x258653=_0x3ccbb0[_0x280ecb(0x1af)](_0x57fb59);if(_0x258653&&_0x258653['groups'])return _0x258653['groups'][_0x280ecb(0x168)]['toUpperCase']()[_0x280ecb(0x13e)]('\x20','_');return null;}[a4_0x545fbd(0x155)](_0x13531e){const _0x5082c2=a4_0x545fbd,_0x17dba9={};_0x17dba9[_0x5082c2(0x117)]=function(_0x52fb20,_0x14966b){return _0x52fb20===_0x14966b;},_0x17dba9[_0x5082c2(0x144)]='.git',_0x17dba9['bNFkc']='config';const _0x568521=_0x17dba9,_0x35bf55=path[_0x5082c2(0x178)];if(_0x568521[_0x5082c2(0x117)](_0x13531e,null)||_0x568521[_0x5082c2(0x117)](_0x13531e,'')||_0x568521[_0x5082c2(0x117)](_0x13531e,_0x35bf55)||_0x568521['oZsxm'](_0x13531e,path[_0x5082c2(0x1e4)](_0x13531e)))return null;try{return fs[_0x5082c2(0x194)](path[_0x5082c2(0x1d0)](_0x13531e,_0x568521[_0x5082c2(0x144)],_0x568521[_0x5082c2(0x16e)])),_0x13531e;}catch(_0x43e4b9){const _0x9fcad6=path[_0x5082c2(0x1e4)](_0x13531e);return this['findGitConfig'](_0x9fcad6);}}[a4_0x545fbd(0x1c1)](_0x3a2cd4){const _0x9bafc2=a4_0x545fbd,_0x3ce827={};_0x3ce827[_0x9bafc2(0x1fd)]=function(_0x2aadc4,_0x3cf7ca){return _0x2aadc4>_0x3cf7ca;};const _0xaa06df=_0x3ce827;if(_0x3a2cd4[_0x9bafc2(0x126)])return _0x3a2cd4[_0x9bafc2(0x126)];if(_0x3a2cd4[_0x9bafc2(0x14d)]){const _0x54d7bc=_0x3a2cd4[_0x9bafc2(0x14d)][_0x9bafc2(0x1fa)]?this[_0x9bafc2(0x1c1)](_0x3a2cd4[_0x9bafc2(0x14d)][_0x9bafc2(0x1fa)]):null;if(_0x54d7bc)return _0x54d7bc;}if(_0x3a2cd4[_0x9bafc2(0x13c)]){const _0x8603dc=this['getRootParentFile'](_0x3a2cd4[_0x9bafc2(0x13c)])||(_0x3a2cd4['parent'][_0x9bafc2(0x14d)]&&_0x3a2cd4[_0x9bafc2(0x13c)]['ctx'][_0x9bafc2(0x1fa)]?this[_0x9bafc2(0x1c1)](_0x3a2cd4[_0x9bafc2(0x13c)]['ctx']['currentTest']):null);if(_0x8603dc)return _0x8603dc;_0x3a2cd4['parent'][_0x9bafc2(0x1a2)]&&_0xaa06df['vUkWj'](_0x3a2cd4[_0x9bafc2(0x13c)][_0x9bafc2(0x1a2)]['length'],0x0)&&_0x3a2cd4[_0x9bafc2(0x13c)][_0x9bafc2(0x1a2)][_0x9bafc2(0x19d)](_0x5a93e4=>{const _0x56dee3=_0x9bafc2,_0x474483=_0x5a93e4[_0x56dee3(0x14d)]?this[_0x56dee3(0x1c1)](_0x5a93e4[_0x56dee3(0x14d)]):null;if(_0x474483)return _0x474483;});}return null;}['getHierarchy'](_0x5af30b){const _0x578892=a4_0x545fbd,_0x38f1e0={};_0x38f1e0[_0x578892(0x19f)]=function(_0x2da31b,_0x2e1ff8){return _0x2da31b!==_0x2e1ff8;};const _0x122f98=_0x38f1e0,_0x53d297=[];if(_0x5af30b&&_0x5af30b[_0x578892(0x13c)]){let _0x1fad16=_0x5af30b[_0x578892(0x13c)];while(_0x1fad16&&_0x122f98[_0x578892(0x19f)](_0x1fad16[_0x578892(0x1f6)],'')){_0x53d297[_0x578892(0x1a5)](_0x1fad16[_0x578892(0x1f6)]),_0x1fad16=_0x1fad16[_0x578892(0x13c)];}}return _0x53d297;}[a4_0x545fbd(0x1d4)](_0x103c8a,_0x139ef8,_0x920db0=undefined){const _0x4e742f=a4_0x545fbd,_0x1c60df={'aVPxm':function(_0x2f9e83,_0x5eb687){return _0x2f9e83(_0x5eb687);},'gRbrW':function(_0x472a64){return _0x472a64();},'IdjZb':function(_0x75e1f1,_0x276b72){return _0x75e1f1(_0x276b72);},'KvoqG':_0x4e742f(0x1e7),'JtNEr':_0x4e742f(0x11f),'pding':function(_0x4b63ca,_0x3383af){return _0x4b63ca!==_0x3383af;},'rORNq':function(_0x119eb8,_0x37fab5){return _0x119eb8!==_0x37fab5;},'EQQVB':'File\x20path\x20could\x20not\x20be\x20found','ZXCwD':_0x4e742f(0x1ce),'YLEnJ':_0x4e742f(0x1dc),'xjLOF':_0x4e742f(0x123),'hhJtx':'skipped','WfMOu':_0x4e742f(0x1a4),'qVUOj':function(_0x15de08,_0x21ec7a){return _0x15de08-_0x21ec7a;},'kahFA':function(_0x227006,_0x2561dc,_0x573201,_0x8933f1,_0x5808c6){return _0x227006(_0x2561dc,_0x573201,_0x8933f1,_0x5808c6);},'ynxyD':function(_0x2cdd3d,_0x7af91c){return _0x2cdd3d!==_0x7af91c;},'OYYhT':_0x4e742f(0x138),'axOqq':_0x4e742f(0x1a9),'UBHoI':_0x4e742f(0x127),'iXnxZ':'failure_backtrace','qmNtB':_0x4e742f(0x15d),'Xgkhm':_0x4e742f(0x139),'wAQLm':_0x4e742f(0x143),'deGlZ':function(_0x2201cc,_0x20782c){return _0x2201cc===_0x20782c;},'tkaMg':_0x4e742f(0x15f),'FtDMv':_0x4e742f(0x147)};if(!this[_0x4e742f(0x184)])return;try{if(_0x139ef8['fn']&&_0x139ef8['fn'][_0x4e742f(0x14a)]()['match'](/browserstack internal helper hook/))return;const _0x1b6854=_0x1c60df[_0x4e742f(0x1ec)](parseEvent,_0x103c8a);if(!_0x1b6854)return;if(_0x1b6854[_0x4e742f(0x202)]){this[_0x4e742f(0x1fa)]=_0x139ef8,this[_0x4e742f(0x1e3)]=null;if(_0x1b6854[_0x4e742f(0x125)]||_0x1b6854[_0x4e742f(0x199)]){_0x139ef8[_0x4e742f(0x12c)]=new Date(),_0x139ef8['markedStatus']=![];if(!_0x139ef8[_0x4e742f(0x197)])_0x139ef8[_0x4e742f(0x197)]=_0x1c60df[_0x4e742f(0x19a)](uuidv4);else _0x139ef8[_0x4e742f(0x116)]&&(!_0x139ef8[_0x4e742f(0x130)]&&(_0x139ef8[_0x4e742f(0x130)]=_0x139ef8[_0x4e742f(0x197)]),_0x139ef8['testAnalyticsId']=_0x1c60df[_0x4e742f(0x19a)](uuidv4));}}else{if(_0x1b6854['hook']){this[_0x4e742f(0x1e3)]=_0x139ef8;if(_0x1b6854[_0x4e742f(0x125)]){_0x139ef8[_0x4e742f(0x12c)]=new Date(),_0x139ef8[_0x4e742f(0x116)]=![];if(!_0x139ef8[_0x4e742f(0x180)])_0x139ef8[_0x4e742f(0x180)]=_0x1c60df[_0x4e742f(0x19a)](uuidv4);else _0x139ef8['hookAnalyticsId']&&_0x139ef8[_0x4e742f(0x116)]&&(_0x139ef8[_0x4e742f(0x180)]=_0x1c60df[_0x4e742f(0x19a)](uuidv4));}}}if(_0x1b6854[_0x4e742f(0x1e1)]&&_0x139ef8[_0x4e742f(0x116)])return;let _0x3d18ca;try{_0x3d18ca=this[_0x4e742f(0x1c1)](_0x139ef8);}catch(_0x1825a2){logger[_0x4e742f(0x16c)](_0x4e742f(0x149)+_0x1825a2),_0x3d18ca=null;}const _0x2e54fe=_0x1c60df[_0x4e742f(0x17d)](require,_0x1c60df[_0x4e742f(0x169)]);let _0x1289a3=[];_0x920db0&&(_0x1289a3=[_0x920db0,_0x1c60df[_0x4e742f(0x206)]]);const _0x1e40b7=_0x1c60df['pding'](_0x139ef8[_0x4e742f(0x1d3)],undefined)?_0x2e54fe[_0x4e742f(0x16d)](_0x139ef8['errorsDetailed'][0x0]):_0x1c60df[_0x4e742f(0x1c2)](_0x920db0,undefined)?_0x920db0[_0x4e742f(0x14a)]():undefined,_0x1e56ad=_0x3d18ca?this['findGitConfig'](_0x3d18ca):null,_0x556d5f=_0x3d18ca?this[_0x4e742f(0x141)][_0x4e742f(0x1f7)](this[_0x4e742f(0x1c1)](_0x139ef8)):_0x1c60df[_0x4e742f(0x18a)];let _0x7157ca=_0x1c60df[_0x4e742f(0x1eb)];const _0x518334=!_0x1b6854[_0x4e742f(0x125)]?new Date()['toISOString']():null;if(_0x1b6854[_0x4e742f(0x1e1)])_0x7157ca=_0x920db0?_0x1c60df[_0x4e742f(0x1d7)]:_0x1c60df[_0x4e742f(0x1ff)],_0x139ef8[_0x4e742f(0x116)]=!![];else _0x1b6854[_0x4e742f(0x199)]&&(_0x7157ca=_0x1c60df[_0x4e742f(0x17e)],_0x139ef8[_0x4e742f(0x116)]=!![]);const _0x55a11b={'framework':this[_0x4e742f(0x1d8)],'uuid':_0x139ef8[_0x4e742f(0x197)]||_0x139ef8['hookAnalyticsId'],'name':_0x139ef8[_0x4e742f(0x1f6)],'body':{'lang':_0x1c60df['WfMOu'],'code':_0x139ef8[_0x4e742f(0x1e9)][_0x4e742f(0x14a)]()},'type':_0x139ef8['type'],'scope':_0x139ef8[_0x4e742f(0x13a)](),'scopes':this[_0x4e742f(0x1f4)](_0x139ef8),'file_name':_0x556d5f,'vc_filepath':_0x1e56ad?path[_0x4e742f(0x208)](_0x1e56ad,_0x3d18ca):null,'location':_0x556d5f,'result':_0x7157ca,'failure_reason':_0x1e40b7,'duration_in_ms':_0x139ef8[_0x4e742f(0x1b6)]||(_0x1b6854[_0x4e742f(0x1e1)]||_0x1b6854[_0x4e742f(0x199)])?_0x1c60df[_0x4e742f(0x195)](Date[_0x4e742f(0x1ca)](),new Date(_0x139ef8[_0x4e742f(0x12c)])[_0x4e742f(0x152)]()):null,'started_at':new Date(_0x139ef8['startedAt'])['toISOString'](),'finished_at':_0x518334,'failure':testOpsHelper['failureData']['apply'](null,_0x1289a3),'failure_type':!_0x1e40b7?null:testOpsHelper[_0x4e742f(0x150)](_0x1e40b7),'retry_of':_0x139ef8['retryOf']||null,'tags':_0x139ef8[_0x4e742f(0x19c)]||[],'customRerunParam':{'rerun_name':_0x139ef8[_0x4e742f(0x13a)]()}};_0x1c60df['kahFA'](appendTesthubParams,_0x55a11b,_0x103c8a,_0x139ef8,FRAMEWORKS[_0x4e742f(0x1fb)]);if(_0x1b6854[_0x4e742f(0x168)])[_0x55a11b[_0x4e742f(0x173)],_0x55a11b[_0x4e742f(0x172)]]=[this[_0x4e742f(0x1bc)](_0x139ef8),_0x139ef8[_0x4e742f(0x14d)][_0x4e742f(0x202)]['title']],_0x1b6854['finished']?_0x1c60df[_0x4e742f(0x14e)](_0x55a11b[_0x4e742f(0x11a)],_0x1c60df[_0x4e742f(0x1d7)])&&(_0x55a11b['result']=_0x1c60df[_0x4e742f(0x1ff)]):_0x55a11b[_0x4e742f(0x1e9)]={};else _0x1b6854[_0x4e742f(0x202)]&&(this[_0x4e742f(0x1ac)](_0x139ef8),_0x1b6854[_0x4e742f(0x199)]&&this[_0x4e742f(0x12b)](_0x139ef8),(_0x1b6854[_0x4e742f(0x1e1)]||_0x1b6854[_0x4e742f(0x199)])&&(_0x55a11b['hooks']=this[_0x4e742f(0x15c)](_0x139ef8)));this[_0x4e742f(0x17f)]&&(_0x1b6854[_0x4e742f(0x125)]||_0x1b6854[_0x4e742f(0x199)])&&(_0x55a11b[_0x1c60df[_0x4e742f(0x18b)]]=this[_0x4e742f(0x128)](this[_0x4e742f(0x17f)]));_0x1b6854[_0x4e742f(0x202)]&&_0x1b6854[_0x4e742f(0x1e1)]&&_0x139ef8[_0x4e742f(0x1aa)]&&(_0x55a11b[_0x1c60df[_0x4e742f(0x1d1)]]={'feature':{'name':_0x139ef8[_0x4e742f(0x13c)][_0x4e742f(0x190)]['name'],'path':_0x55a11b[_0x4e742f(0x16a)],'description':_0x139ef8['parent']['comment']},'scenario':{'name':_0x139ef8['title']},'steps':_0x139ef8[_0x4e742f(0x1aa)]});const _0x5affa6=_0x55a11b[_0x1c60df['UBHoI']][0x0];_0x5affa6&&(_0x55a11b[_0x1c60df[_0x4e742f(0x145)]]=_0x5affa6[_0x1c60df[_0x4e742f(0x148)]],_0x55a11b[_0x1c60df[_0x4e742f(0x18f)]]=_0x5affa6[_0x1c60df['wAQLm']]);if(_0x139ef8[_0x4e742f(0x1aa)])for(const _0x11d33e of _0x139ef8[_0x4e742f(0x1aa)]){!_0x11d33e['finished_at']&&(_0x11d33e[_0x4e742f(0x186)]=new Date()['toISOString'](),_0x1c60df['deGlZ'](_0x11d33e[_0x4e742f(0x11a)],_0x1c60df[_0x4e742f(0x1eb)])&&(_0x5affa6?(_0x11d33e['result']=_0x1c60df['YLEnJ'],_0x11d33e[_0x4e742f(0x127)]=_0x5affa6[_0x1c60df[_0x4e742f(0x148)]][0x0]):_0x11d33e[_0x4e742f(0x11a)]=_0x1c60df['xjLOF']));}const _0x5761d3={};_0x5761d3['event_type']=_0x1b6854['skipped']?TEST_EVENTS[_0x4e742f(0x1b5)]:_0x103c8a;const _0x1d1541=_0x5761d3;return _0x1b6854['hook']?_0x1d1541[_0x1c60df[_0x4e742f(0x1c9)]]=_0x55a11b:_0x1d1541[_0x1c60df['FtDMv']]=_0x55a11b,_0x1d1541;}catch(_0x49fc4f){logger[_0x4e742f(0x16c)]('Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20'+_0x103c8a+_0x4e742f(0x159)+_0x49fc4f);}}async[a4_0x545fbd(0x1ad)](_0x51c2ba,_0x16d969){const _0x42e7a3=a4_0x545fbd;if(!this[_0x42e7a3(0x184)]||!_0x16d969||!_0x51c2ba)return![];try{return await SessionHandler[_0x42e7a3(0x1a7)](_0x16d969);}catch(_0x20ed35){logger[_0x42e7a3(0x16c)]('Exception\x20in\x20sending\x20test\x20data\x20for\x20event\x20'+_0x51c2ba+'\x20with\x20error\x20:\x20'+_0x20ed35);}}[a4_0x545fbd(0x16b)](_0x5cf1c9){const _0x5d599d=a4_0x545fbd,_0x41ab90={};_0x41ab90[_0x5d599d(0x14b)]=_0x5d599d(0x1ce);const _0x1e0c21=_0x41ab90;return{'id':_0x5cf1c9[_0x5d599d(0x1a8)],'text':_0x5cf1c9['text'],'keyword':_0x5cf1c9[_0x5d599d(0x12e)],'started_at':_0x5cf1c9[_0x5d599d(0x12c)][_0x5d599d(0x1f3)](),'result':_0x1e0c21[_0x5d599d(0x14b)]};}['bddStepStart'](_0x2a0f6c){const _0x33ccf6=a4_0x545fbd,_0x5b1b52={'DPcBA':function(_0x10bc9d){return _0x10bc9d();}};!this[_0x33ccf6(0x1fa)]['bddSteps']&&(this[_0x33ccf6(0x1fa)][_0x33ccf6(0x1aa)]=[]),!_0x2a0f6c[_0x33ccf6(0x1a8)]&&(_0x2a0f6c['stepAnalyticsId']=_0x5b1b52[_0x33ccf6(0x1a0)](uuidv4),_0x2a0f6c[_0x33ccf6(0x12c)]=new Date(),this['currentTest'][_0x33ccf6(0x1aa)][_0x33ccf6(0x1a5)](this[_0x33ccf6(0x16b)](_0x2a0f6c)));}[a4_0x545fbd(0x193)](_0x3af348){const _0xfdfea8=a4_0x545fbd,_0x52cae0={'dlCuS':function(_0x5090ea,_0x424cb4){return _0x5090ea(_0x424cb4);},'frXXi':_0xfdfea8(0x1bf),'CxFfk':'pending','Hkkcv':_0xfdfea8(0x123),'HCBaj':function(_0x258295,_0x208ba4){return _0x258295-_0x208ba4;}};let _0x34bd4b=this[_0xfdfea8(0x1fa)][_0xfdfea8(0x1aa)][_0xfdfea8(0x166)](_0x1b1207=>_0x1b1207['id']===_0x3af348['stepAnalyticsId']);_0x52cae0[_0xfdfea8(0x1f2)](isUndefined,_0x34bd4b)&&(_0x34bd4b=this['initializeBddStep'](_0x3af348)),_0x34bd4b[_0xfdfea8(0x11a)]=[_0x52cae0[_0xfdfea8(0x164)],_0x52cae0[_0xfdfea8(0x15e)]][_0xfdfea8(0x12f)](_0x3af348[_0xfdfea8(0x1a3)])?_0x52cae0[_0xfdfea8(0x1a1)]:_0x3af348[_0xfdfea8(0x1a3)],_0x34bd4b[_0xfdfea8(0x186)]=new Date()[_0xfdfea8(0x1f3)](),_0x34bd4b[_0xfdfea8(0x1b6)]=_0x52cae0[_0xfdfea8(0x153)](Date['now'](),_0x3af348[_0xfdfea8(0x12c)]['getTime']()),_0x34bd4b[_0xfdfea8(0x127)]=_0x3af348[_0xfdfea8(0x11f)]?_0x3af348[_0xfdfea8(0x11f)][_0xfdfea8(0x14f)]:null;}}const a4_0x270e4c={};a4_0x270e4c[a4_0x545fbd(0x181)]=O11yHelper,a4_0x270e4c[a4_0x545fbd(0x1d6)]=STATE_PASSED,a4_0x270e4c[a4_0x545fbd(0x1f1)]=STATE_FAILED,a4_0x270e4c[a4_0x545fbd(0x1e5)]=TEST_EVENTS,module[a4_0x545fbd(0x185)]=a4_0x270e4c;
|
|
1
|
+
const a4_0x627e9=a4_0x27b4;function a4_0x27b4(_0x29cf3f,_0x3f0c24){const _0x321f8b=a4_0x321f();return a4_0x27b4=function(_0x27b475,_0x204486){_0x27b475=_0x27b475-0x192;let _0x4667eb=_0x321f8b[_0x27b475];return _0x4667eb;},a4_0x27b4(_0x29cf3f,_0x3f0c24);}(function(_0x3bb9cf,_0x1bb62c){const _0x38e64d=a4_0x27b4,_0x3b0665=_0x3bb9cf();while(!![]){try{const _0x5d0f22=-parseInt(_0x38e64d(0x277))/0x1+parseInt(_0x38e64d(0x1e3))/0x2+-parseInt(_0x38e64d(0x24f))/0x3*(parseInt(_0x38e64d(0x1e2))/0x4)+parseInt(_0x38e64d(0x194))/0x5*(-parseInt(_0x38e64d(0x1fa))/0x6)+-parseInt(_0x38e64d(0x206))/0x7*(parseInt(_0x38e64d(0x22c))/0x8)+parseInt(_0x38e64d(0x258))/0x9*(-parseInt(_0x38e64d(0x1a6))/0xa)+parseInt(_0x38e64d(0x1c1))/0xb;if(_0x5d0f22===_0x1bb62c)break;else _0x3b0665['push'](_0x3b0665['shift']());}catch(_0x5a6185){_0x3b0665['push'](_0x3b0665['shift']());}}}(a4_0x321f,0x6104e));const path=require('path'),fs=require('fs'),{v4:uuidv4}=require(a4_0x627e9(0x19d)),{importFileFromPWCore,nestedKeyValue,parseWSEndpoint,isUndefined}=require('../../helpers/helper'),testOpsHelper=require(a4_0x627e9(0x270)),{getTestEnv}=require('../mocha/test-observability/mochaUtils'),{FRAMEWORKS}=require(a4_0x627e9(0x268)),logger=require(a4_0x627e9(0x192))[a4_0x627e9(0x193)],SessionHandler=require(a4_0x627e9(0x1d7)),RequestQueueHandler=require(a4_0x627e9(0x254)),PlaywrightSessionDetails=require(a4_0x627e9(0x1a1)),debug=testOpsHelper[a4_0x627e9(0x1cc)],{processAccessibilityCaps}=require(a4_0x627e9(0x237)),Constants=require(a4_0x627e9(0x28b)),{fetchPlatformDetails}=require(a4_0x627e9(0x19a)),{shouldProcessEventForTesthub,appendTesthubParams}=require(a4_0x627e9(0x23a)),STATE_PASSED=a4_0x627e9(0x229),STATE_FAILED=a4_0x627e9(0x227),a4_0x299123={};a4_0x299123[a4_0x627e9(0x1c6)]=a4_0x627e9(0x285),a4_0x299123[a4_0x627e9(0x224)]=a4_0x627e9(0x1df),a4_0x299123['TEST_RUN_SKIPPED']=a4_0x627e9(0x246),a4_0x299123[a4_0x627e9(0x1fb)]=a4_0x627e9(0x1fe),a4_0x299123['HOOK_RUN_FINISHED']=a4_0x627e9(0x1b9);const TEST_EVENTS=a4_0x299123,parseEvent=_0x10f8f1=>{const _0xd6624d=a4_0x627e9,_0x5c2de1={};_0x5c2de1[_0xd6624d(0x20f)]=function(_0x44a4c4,_0x424369){return _0x44a4c4<_0x424369;},_0x5c2de1['GaEMb']=function(_0x47aba6,_0x216800){return _0x47aba6===_0x216800;},_0x5c2de1[_0xd6624d(0x1cf)]=_0xd6624d(0x1ee),_0x5c2de1[_0xd6624d(0x20b)]=_0xd6624d(0x1a0),_0x5c2de1[_0xd6624d(0x267)]=_0xd6624d(0x263),_0x5c2de1[_0xd6624d(0x27c)]=function(_0x275f07,_0x515f90){return _0x275f07===_0x515f90;},_0x5c2de1['bHrcJ']='started',_0x5c2de1[_0xd6624d(0x1d3)]=function(_0x1298e6,_0x3e7606){return _0x1298e6===_0x3e7606;},_0x5c2de1['ruAid']=_0xd6624d(0x1bc);const _0x262e4f=_0x5c2de1,_0x473394=_0x10f8f1[_0xd6624d(0x1fc)](/^(.*)Run(.*)$/);if(!_0x473394)return null;if(_0x262e4f[_0xd6624d(0x20f)](_0x473394['length'],0x3))return null;const _0xb452de=_0x473394[0x1][_0xd6624d(0x22e)](),_0x1fae95=_0x473394[0x2]['toLowerCase']();return{'test':_0x262e4f[_0xd6624d(0x221)](_0xb452de,_0x262e4f['ZSyML']),'hook':_0x262e4f[_0xd6624d(0x221)](_0xb452de,_0x262e4f['xgkkH']),'skipped':_0x262e4f[_0xd6624d(0x221)](_0x1fae95,_0x262e4f[_0xd6624d(0x267)]),'started':_0x262e4f[_0xd6624d(0x27c)](_0x1fae95,_0x262e4f[_0xd6624d(0x1a4)]),'finished':_0x262e4f['Ncrri'](_0x1fae95,_0x262e4f['ruAid'])};},mockPWBrowserType=_0x597726=>{const _0x5953ae=a4_0x627e9,_0x4cc5ec={'BMOMT':function(_0x3bee93,_0x18323c){return _0x3bee93===_0x18323c;},'xDVHP':_0x5953ae(0x234),'jsjgu':function(_0x2c79e1,_0x289f75,_0x114d4c){return _0x2c79e1(_0x289f75,_0x114d4c);},'oIUxS':_0x5953ae(0x250),'JsDlX':function(_0x3d98a0,_0x1cbde6){return _0x3d98a0(_0x1cbde6);},'eZEOL':_0x5953ae(0x266),'hCvPY':_0x5953ae(0x1e1),'yQxBL':_0x5953ae(0x238),'EsRWj':_0x5953ae(0x21c),'ENrDL':function(_0x5bfe34,_0x4964e5){return _0x5bfe34(_0x4964e5);},'VPtvt':function(_0x2ae176,_0x4a3ca7){return _0x2ae176(_0x4a3ca7);},'TLhIy':'Not\x20able\x20to\x20import\x20Browser','vABdK':'connect','fPhjw':_0x5953ae(0x1ba)},_0x463271=path[_0x5953ae(0x1fd)](_0x4cc5ec['hCvPY'],_0x4cc5ec[_0x5953ae(0x197)],_0x4cc5ec[_0x5953ae(0x28d)]),_0x5dba30=_0x4cc5ec['ENrDL'](importFileFromPWCore,_0x463271);if(!_0x5dba30){_0x4cc5ec[_0x5953ae(0x1b6)](debug,_0x4cc5ec['TLhIy']);return;}const _0x31c802=_0x5dba30[_0x5953ae(0x288)],_0x29b0a4=_0x31c802['prototype'];if(_0x29b0a4[_0x5953ae(0x239)])return;const _0x2c7f2c=_0x29b0a4[_0x5953ae(0x1e6)];Object[_0x5953ae(0x24a)](_0x29b0a4,_0x4cc5ec['vABdK'],{'get':function(){const _0x38d20a=_0x5953ae,_0x513d95={'UyyKy':function(_0x203558,_0x1e0d19){const _0x5eb8fb=a4_0x27b4;return _0x4cc5ec[_0x5eb8fb(0x26a)](_0x203558,_0x1e0d19);},'Ehwdc':_0x4cc5ec[_0x38d20a(0x1e9)],'xQCoc':function(_0xd91b05,_0x30c69a,_0x1fa3aa){const _0x36a784=_0x38d20a;return _0x4cc5ec[_0x36a784(0x1f0)](_0xd91b05,_0x30c69a,_0x1fa3aa);},'hxbnV':_0x4cc5ec[_0x38d20a(0x23c)],'DSJfy':function(_0x416235,_0x178191){const _0x4350b1=_0x38d20a;return _0x4cc5ec[_0x4350b1(0x22d)](_0x416235,_0x178191);},'GmvVa':_0x4cc5ec[_0x38d20a(0x1c7)],'jIeWd':function(_0x1a70c3,_0x44eafb,_0x1465b3){const _0x1c56b0=_0x38d20a;return _0x4cc5ec[_0x1c56b0(0x1f0)](_0x1a70c3,_0x44eafb,_0x1465b3);},'lyymm':function(_0x4574ec,_0x42e117){const _0x4508d5=_0x38d20a;return _0x4cc5ec[_0x4508d5(0x22d)](_0x4574ec,_0x42e117);}};return async function _0x7a7bb0(_0x4551a5,_0x2570c4){const _0x58429b=_0x38d20a,_0x36f799={'ykxhw':function(_0x442972,_0x22287c){const _0x19cedb=a4_0x27b4;return _0x513d95[_0x19cedb(0x26b)](_0x442972,_0x22287c);},'GELOY':_0x513d95['Ehwdc']},_0x394f47=_0x513d95[_0x58429b(0x1ae)](nestedKeyValue,_0x4551a5,[_0x513d95['hxbnV']])||_0x4551a5;let _0x136ee5=null,_0x3a8ab0=null;try{[_0x3a8ab0,_0x136ee5]=_0x394f47?_0x513d95[_0x58429b(0x1ed)](parseWSEndpoint,_0x394f47):[null,null],global[_0x58429b(0x282)]=_0x136ee5,logger[_0x58429b(0x1cc)](_0x58429b(0x27d)+_0x3a8ab0),_0x3a8ab0[_0x58429b(0x28a)](Constants[_0x58429b(0x276)])&&(global[_0x58429b(0x236)]=_0x513d95[_0x58429b(0x1d4)]);}catch(_0x38b3a1){logger[_0x58429b(0x1cc)](_0x58429b(0x208)+_0x394f47+'\x20'+_0x38b3a1);}_0x513d95[_0x58429b(0x21a)](processAccessibilityCaps,_0x136ee5,_0x3a8ab0);if(global['accessibilityPlatform']){const _0x452489=await _0x29b0a4['connectOverCDP'][_0x58429b(0x24b)](this,[''+Constants['PLAYWRIGHT_HUB_URL']+_0x513d95[_0x58429b(0x289)](encodeURIComponent,JSON['stringify'](_0x136ee5))]);return PlaywrightSessionDetails[_0x58429b(0x27f)](_0x452489,_0x597726,_0x394f47),_0x452489;}return _0x2c7f2c[_0x58429b(0x24b)](this,arguments)[_0x58429b(0x202)](_0x49f401=>{const _0x4fecfa=_0x58429b;let _0x4282b9=_0x4551a5['wsEndpoint'];return _0x36f799[_0x4fecfa(0x1b2)](typeof _0x4551a5,_0x36f799[_0x4fecfa(0x20c)])&&(_0x4282b9=_0x4551a5),PlaywrightSessionDetails[_0x4fecfa(0x27f)](_0x49f401,_0x597726,_0x4282b9),_0x49f401;});};}});const _0x43edbd=_0x29b0a4[_0x5953ae(0x1ba)];Object[_0x5953ae(0x24a)](_0x29b0a4,_0x4cc5ec[_0x5953ae(0x1f7)],{'get':function(){return async function _0xc64f3e(){const _0x580bf1=a4_0x27b4;return _0x43edbd[_0x580bf1(0x24b)](this,arguments)['then'](_0x461bdd=>{return PlaywrightSessionDetails['setupBrowserDetails'](_0x461bdd,null),_0x461bdd;});};}});};class O11yHelper{[a4_0x627e9(0x203)]=null;['currentHook']=null;['enabled']=![];[a4_0x627e9(0x26e)]=![];constructor(_0x28bf5e,_0x59b24c){const _0x22edb4=a4_0x627e9,_0x19d69e={'VCMFW':_0x22edb4(0x284),'ipiOL':function(_0x67eef6,_0x206bd1){return _0x67eef6===_0x206bd1;},'CBQzw':_0x22edb4(0x1c9),'iCOiF':function(_0x53b78c,_0x293094){return _0x53b78c(_0x293094);},'XEdXz':function(_0x3bb526){return _0x3bb526();}},_0x431196=_0x19d69e[_0x22edb4(0x1f9)]['split']('|');let _0x29d4cc=0x0;while(!![]){switch(_0x431196[_0x29d4cc++]){case'0':this[_0x22edb4(0x26e)]=_0x59b24c[_0x22edb4(0x26e)];continue;case'1':this['driver']&&_0x19d69e[_0x22edb4(0x1eb)](this[_0x22edb4(0x230)][_0x22edb4(0x23f)][_0x22edb4(0x218)],_0x19d69e[_0x22edb4(0x1d6)])&&_0x19d69e['iCOiF'](mockPWBrowserType,null);continue;case'2':this[_0x22edb4(0x230)]=_0x28bf5e;continue;case'3':this['enabled']=_0x19d69e[_0x22edb4(0x199)](shouldProcessEventForTesthub);continue;case'4':this[_0x22edb4(0x1d2)]=_0x19d69e[_0x22edb4(0x199)](getTestEnv);continue;case'5':this[_0x22edb4(0x260)]=new testOpsHelper[(_0x22edb4(0x1bd))]({'cwd':process[_0x22edb4(0x1e0)]()},this[_0x22edb4(0x1d2)][_0x22edb4(0x279)]);continue;}break;}}[a4_0x627e9(0x251)](){const _0x400512=a4_0x627e9;if(!this['enabled'])return;testOpsHelper[_0x400512(0x278)](),process[_0x400512(0x201)]('bs:addLog:'+process[_0x400512(0x274)]),process['on'](_0x400512(0x286)+process[_0x400512(0x274)],this[_0x400512(0x1ac)][_0x400512(0x235)](this));}async[a4_0x627e9(0x1e4)](){const _0x45e974=a4_0x627e9;await RequestQueueHandler[_0x45e974(0x1e5)]()['shutdown']();}async[a4_0x627e9(0x1ac)](_0xa6eb1f){const _0x13746a=a4_0x627e9,_0xee4b44={'LbhdQ':_0x13746a(0x1ca),'Fawxe':function(_0x8c1b41,_0x2ce907){return _0x8c1b41(_0x2ce907);}};try{this[_0x13746a(0x212)]&&!this['currentHook'][_0x13746a(0x220)]&&(_0xa6eb1f[_0x13746a(0x1ea)]=this[_0x13746a(0x212)][_0x13746a(0x244)]);!_0xa6eb1f['hook_run_uuid']&&this[_0x13746a(0x203)]&&!this[_0x13746a(0x203)][_0x13746a(0x220)]&&(_0xa6eb1f['test_run_uuid']=this['currentTest'][_0x13746a(0x223)]);if(_0xa6eb1f[_0x13746a(0x1ea)]||_0xa6eb1f[_0x13746a(0x1a9)]){const _0x2d0686={};_0x2d0686[_0x13746a(0x26d)]=_0xee4b44[_0x13746a(0x1f3)],_0x2d0686['logs']=[_0xa6eb1f],await SessionHandler[_0x13746a(0x1b4)](_0x2d0686);}}catch(_0x416f4c){_0xee4b44[_0x13746a(0x261)](debug,_0x13746a(0x21d)+_0x416f4c);}}async[a4_0x627e9(0x217)](_0x15ff2e){const _0x286eb6=a4_0x627e9,_0x1cb80c={'JzzfK':_0x286eb6(0x211),'pyDCU':function(_0x56793a,_0x2a02ec){return _0x56793a(_0x2a02ec);}};if(!this[_0x286eb6(0x21f)])return;const _0x5e83e5=this[_0x286eb6(0x1e8)](this[_0x286eb6(0x230)]);try{const _0x3334f3={};_0x3334f3[_0x286eb6(0x19d)]=_0x15ff2e,_0x3334f3['integrations']=_0x5e83e5;const _0x409808=_0x3334f3,_0x109a26={};_0x109a26['event_type']=_0x1cb80c[_0x286eb6(0x20d)],_0x109a26[_0x286eb6(0x215)]=_0x409808,await SessionHandler[_0x286eb6(0x1b4)](_0x109a26);}catch(_0x297053){_0x1cb80c[_0x286eb6(0x22b)](debug,_0x286eb6(0x231)+_0x297053);}}['getCBTInfo'](_0x4f09d3){const _0x522e2f=a4_0x627e9,_0xc398ce={'IYAbM':function(_0x22a4c7,_0x12c76d){return _0x22a4c7(_0x12c76d);}};return _0xc398ce[_0x522e2f(0x196)](fetchPlatformDetails,_0x4f09d3);}[a4_0x627e9(0x219)]=_0x8aceb=>{const _0x46917c=a4_0x627e9,_0x3ac599={};_0x3ac599[_0x46917c(0x1ff)]='_beforeEach',_0x3ac599['dOhhB']=_0x46917c(0x1ce);const _0x5cfdd6=_0x3ac599;if(!_0x8aceb||!_0x8aceb['parent'])return;[_0x5cfdd6[_0x46917c(0x1ff)],_0x5cfdd6['dOhhB']][_0x46917c(0x1ad)](_0x211c00=>{const _0x58ca11=_0x46917c,_0x4cb708=_0x8aceb[_0x58ca11(0x1f2)][_0x211c00];_0x4cb708[_0x58ca11(0x1ad)](_0x16ec58=>{const _0x574b0f=_0x58ca11;_0x16ec58['hookAnalyticsId']&&(_0x16ec58[_0x574b0f(0x244)]=null);});});};['mapTestHooks'](_0x169cd4){const _0x2e2d9b=a4_0x627e9,_0x3c7e1b={'rsFyl':_0x2e2d9b(0x264),'TMJaM':function(_0x39341f){return _0x39341f();},'DAAHM':function(_0x319fdf,_0x293db6){return _0x319fdf===_0x293db6;},'wmVcd':_0x2e2d9b(0x1ce),'LtAnX':'_beforeAll','Vkiqt':_0x2e2d9b(0x225),'WkASW':_0x2e2d9b(0x19e)};if(!_0x169cd4||!_0x169cd4[_0x2e2d9b(0x1f2)])return;[_0x3c7e1b['LtAnX'],_0x3c7e1b[_0x2e2d9b(0x1e7)],_0x3c7e1b[_0x2e2d9b(0x200)],_0x3c7e1b['wmVcd']][_0x2e2d9b(0x1ad)](_0x155522=>{const _0xa54bcd=_0x2e2d9b,_0x29e34d=_0x169cd4[_0xa54bcd(0x1f2)][_0x155522]||[];_0x29e34d['forEach'](_0x26c5ad=>{const _0x4c2572=_0xa54bcd;if(_0x26c5ad['title'][_0x4c2572(0x28a)](_0x3c7e1b['rsFyl']))return;if(!_0x26c5ad[_0x4c2572(0x244)])_0x26c5ad[_0x4c2572(0x244)]=_0x3c7e1b[_0x4c2572(0x275)](uuidv4);else _0x26c5ad[_0x4c2572(0x220)]&&_0x3c7e1b['DAAHM'](_0x155522,_0x3c7e1b['wmVcd'])&&(_0x26c5ad[_0x4c2572(0x244)]=_0x3c7e1b['TMJaM'](uuidv4),delete _0x26c5ad[_0x4c2572(0x220)]);});}),this[_0x2e2d9b(0x23e)](_0x169cd4[_0x2e2d9b(0x1f2)]);}['getHooksForTest'](_0x3b119f){const _0xfa0764=a4_0x627e9,_0x48f8d5={};_0x48f8d5[_0xfa0764(0x241)]=_0xfa0764(0x1b7),_0x48f8d5['QHfwq']=_0xfa0764(0x225),_0x48f8d5['IJvql']=_0xfa0764(0x19e),_0x48f8d5['VFLbA']=_0xfa0764(0x1ce);const _0x23d37f=_0x48f8d5;if(!_0x3b119f||!_0x3b119f[_0xfa0764(0x1f2)])return[];const _0x1baa0c=[];return[_0x23d37f[_0xfa0764(0x241)],_0x23d37f[_0xfa0764(0x1cb)],_0x23d37f[_0xfa0764(0x1d1)],_0x23d37f[_0xfa0764(0x209)]][_0xfa0764(0x1ad)](_0x523e2c=>{const _0x2c0ea5=_0xfa0764,_0x5049cb=_0x3b119f[_0x2c0ea5(0x1f2)][_0x523e2c]||[];_0x5049cb['forEach'](_0x389699=>{const _0x3411de=_0x2c0ea5;_0x389699[_0x3411de(0x244)]&&_0x1baa0c[_0x3411de(0x1bb)](_0x389699[_0x3411de(0x244)]);});}),[][_0xfa0764(0x243)](_0x1baa0c,this[_0xfa0764(0x280)](_0x3b119f['parent']));}[a4_0x627e9(0x247)](_0x28f501){const _0x13747f=a4_0x627e9,_0xd60223=/^"(?<hook>.*)" hook:.*$/,_0x574437=_0x28f501[_0x13747f(0x1b0)],_0x100255=_0x574437[_0x13747f(0x1fc)](_0xd60223);if(_0x100255&&_0x100255[_0x13747f(0x271)])return _0x100255[_0x13747f(0x271)][_0x13747f(0x1a0)][_0x13747f(0x1f4)]()[_0x13747f(0x1ef)]('\x20','_');return null;}[a4_0x627e9(0x1a2)](_0x12c5f7){const _0x5af8b8=a4_0x627e9,_0x58e46b={};_0x58e46b[_0x5af8b8(0x222)]=function(_0x575c34,_0x29baea){return _0x575c34===_0x29baea;},_0x58e46b[_0x5af8b8(0x281)]=function(_0x1942f9,_0x2f6655){return _0x1942f9===_0x2f6655;},_0x58e46b[_0x5af8b8(0x1db)]=function(_0x290258,_0x3e0b72){return _0x290258===_0x3e0b72;},_0x58e46b[_0x5af8b8(0x22f)]='.git',_0x58e46b[_0x5af8b8(0x1f5)]='config';const _0x140dad=_0x58e46b,_0x41e5ba=path[_0x5af8b8(0x210)];if(_0x140dad[_0x5af8b8(0x222)](_0x12c5f7,null)||_0x140dad[_0x5af8b8(0x281)](_0x12c5f7,'')||_0x140dad[_0x5af8b8(0x281)](_0x12c5f7,_0x41e5ba)||_0x140dad[_0x5af8b8(0x1db)](_0x12c5f7,path['dirname'](_0x12c5f7)))return null;try{return fs[_0x5af8b8(0x259)](path[_0x5af8b8(0x1fd)](_0x12c5f7,_0x140dad[_0x5af8b8(0x22f)],_0x140dad['NUpft'])),_0x12c5f7;}catch(_0xa278){const _0x3eeb0e=path[_0x5af8b8(0x1c0)](_0x12c5f7);return this[_0x5af8b8(0x1a2)](_0x3eeb0e);}}[a4_0x627e9(0x287)](_0x1635a7){const _0x47f14d=a4_0x627e9,_0x3a3f86={};_0x3a3f86[_0x47f14d(0x204)]=function(_0x755e06,_0x1fad10){return _0x755e06>_0x1fad10;};const _0x5cba6e=_0x3a3f86;if(_0x1635a7[_0x47f14d(0x25b)])return _0x1635a7['file'];if(_0x1635a7['ctx']){const _0x1cd7b4=_0x1635a7['ctx'][_0x47f14d(0x203)]?this[_0x47f14d(0x287)](_0x1635a7[_0x47f14d(0x1c5)][_0x47f14d(0x203)]):null;if(_0x1cd7b4)return _0x1cd7b4;}if(_0x1635a7['parent']){const _0x47cc0a=this[_0x47f14d(0x287)](_0x1635a7['parent'])||(_0x1635a7['parent']['ctx']&&_0x1635a7['parent'][_0x47f14d(0x1c5)][_0x47f14d(0x203)]?this[_0x47f14d(0x287)](_0x1635a7['parent'][_0x47f14d(0x1c5)][_0x47f14d(0x203)]):null);if(_0x47cc0a)return _0x47cc0a;_0x1635a7['parent'][_0x47f14d(0x28e)]&&_0x5cba6e['fpbtm'](_0x1635a7[_0x47f14d(0x1f2)][_0x47f14d(0x28e)][_0x47f14d(0x25f)],0x0)&&_0x1635a7['parent'][_0x47f14d(0x28e)][_0x47f14d(0x1ad)](_0x1e2ff3=>{const _0x1b11a0=_0x47f14d,_0x3a307c=_0x1e2ff3[_0x1b11a0(0x1c5)]?this[_0x1b11a0(0x287)](_0x1e2ff3[_0x1b11a0(0x1c5)]):null;if(_0x3a307c)return _0x3a307c;});}return null;}['getHierarchy'](_0x467748){const _0x3aa49e=a4_0x627e9,_0x52bdb0={};_0x52bdb0[_0x3aa49e(0x245)]=function(_0x416a25,_0x4077c0){return _0x416a25!==_0x4077c0;};const _0x271b50=_0x52bdb0,_0x38b54c=[];if(_0x467748&&_0x467748[_0x3aa49e(0x1f2)]){let _0x32e256=_0x467748['parent'];while(_0x32e256&&_0x271b50[_0x3aa49e(0x245)](_0x32e256['title'],'')){_0x38b54c[_0x3aa49e(0x1bb)](_0x32e256['title']),_0x32e256=_0x32e256[_0x3aa49e(0x1f2)];}}return _0x38b54c;}['captureEvent'](_0x4b69ed,_0x2e0fa5,_0x2c08f7=undefined){const _0x187def=a4_0x627e9,_0x4d2b23={'KZnUj':function(_0x39a3b7,_0x28a79a){return _0x39a3b7(_0x28a79a);},'rQmOI':function(_0x189294){return _0x189294();},'NYDae':function(_0x3d8c4a){return _0x3d8c4a();},'DEMnq':function(_0x318cf1){return _0x318cf1();},'fdVqg':function(_0x24a583){return _0x24a583();},'vuueP':_0x187def(0x26f),'ojsqn':_0x187def(0x1d5),'bvQak':function(_0x46f44a,_0x4cd12e){return _0x46f44a!==_0x4cd12e;},'ydNFQ':function(_0x4e50f8,_0x16de29){return _0x4e50f8!==_0x16de29;},'EVsvt':_0x187def(0x228),'WRFpd':_0x187def(0x1be),'IoApK':_0x187def(0x227),'qzJzE':_0x187def(0x229),'yYKHM':_0x187def(0x263),'docjL':_0x187def(0x1f8),'unDwI':function(_0x12ad6b,_0x3d5776){return _0x12ad6b-_0x3d5776;},'fgIHE':function(_0x5a56ac,_0x266e33,_0x361f1e,_0x40be0d,_0x363d98){return _0x5a56ac(_0x266e33,_0x361f1e,_0x40be0d,_0x363d98);},'MoCQT':function(_0x5533b3,_0x15df82){return _0x5533b3!==_0x15df82;},'ozBQP':_0x187def(0x1b8),'Xmpbh':_0x187def(0x216),'UArHo':_0x187def(0x21e),'KIYCq':_0x187def(0x19f),'FJfTV':_0x187def(0x1aa),'hxNKD':_0x187def(0x25a),'CuVzS':_0x187def(0x23d),'SmLdD':function(_0x2d5f28,_0x1d92b0){return _0x2d5f28===_0x1d92b0;},'rVKHX':_0x187def(0x257),'unWaB':_0x187def(0x215)};if(!this['enabled'])return;try{if(_0x2e0fa5['fn']&&_0x2e0fa5['fn'][_0x187def(0x1d0)]()['match'](/browserstack internal helper hook/))return;const _0x43340c=_0x4d2b23['KZnUj'](parseEvent,_0x4b69ed);if(!_0x43340c)return;if(_0x43340c['test']){this[_0x187def(0x203)]=_0x2e0fa5,this[_0x187def(0x212)]=null;if(_0x43340c[_0x187def(0x248)]||_0x43340c[_0x187def(0x263)]){_0x2e0fa5['startedAt']=new Date(),_0x2e0fa5[_0x187def(0x220)]=![];if(!_0x2e0fa5['testAnalyticsId'])_0x2e0fa5['testAnalyticsId']=_0x4d2b23[_0x187def(0x25c)](uuidv4);else _0x2e0fa5[_0x187def(0x220)]&&(!_0x2e0fa5[_0x187def(0x232)]&&(_0x2e0fa5['retryOf']=_0x2e0fa5[_0x187def(0x223)]),_0x2e0fa5[_0x187def(0x223)]=_0x4d2b23['NYDae'](uuidv4));}}else{if(_0x43340c[_0x187def(0x1a0)]){this[_0x187def(0x212)]=_0x2e0fa5;if(_0x43340c[_0x187def(0x248)]){_0x2e0fa5['startedAt']=new Date(),_0x2e0fa5[_0x187def(0x220)]=![];if(!_0x2e0fa5[_0x187def(0x244)])_0x2e0fa5['hookAnalyticsId']=_0x4d2b23['DEMnq'](uuidv4);else _0x2e0fa5[_0x187def(0x244)]&&_0x2e0fa5[_0x187def(0x220)]&&(_0x2e0fa5[_0x187def(0x244)]=_0x4d2b23[_0x187def(0x262)](uuidv4));}}}if(_0x43340c[_0x187def(0x1bc)]&&_0x2e0fa5[_0x187def(0x220)])return;let _0x394173;try{_0x394173=this[_0x187def(0x287)](_0x2e0fa5);}catch(_0x2a01ec){logger[_0x187def(0x1cc)](_0x187def(0x1a3)+_0x2a01ec),_0x394173=null;}const _0x1cdb07=_0x4d2b23[_0x187def(0x195)](require,_0x4d2b23['vuueP']);let _0x517ada=[];_0x2c08f7&&(_0x517ada=[_0x2c08f7,_0x4d2b23[_0x187def(0x240)]]);const _0x580227=_0x4d2b23['bvQak'](_0x2e0fa5[_0x187def(0x1c4)],undefined)?_0x1cdb07[_0x187def(0x1a7)](_0x2e0fa5[_0x187def(0x1c4)][0x0]):_0x4d2b23[_0x187def(0x242)](_0x2c08f7,undefined)?_0x2c08f7[_0x187def(0x1d0)]():undefined,_0x37de6a=_0x394173?this['findGitConfig'](_0x394173):null,_0x1c9fdc=_0x394173?this[_0x187def(0x260)][_0x187def(0x256)](this['getRootParentFile'](_0x2e0fa5)):_0x4d2b23['EVsvt'];let _0x4bccea=_0x4d2b23[_0x187def(0x24c)];const _0x450582=!_0x43340c[_0x187def(0x248)]?new Date()['toISOString']():null;if(_0x43340c[_0x187def(0x1bc)])_0x4bccea=_0x2c08f7?_0x4d2b23[_0x187def(0x233)]:_0x4d2b23[_0x187def(0x20a)],_0x2e0fa5[_0x187def(0x220)]=!![];else _0x43340c[_0x187def(0x263)]&&(_0x4bccea=_0x4d2b23[_0x187def(0x1f6)],_0x2e0fa5['markedStatus']=!![]);const _0x5e18bd={'framework':this['frameworkName'],'uuid':_0x2e0fa5[_0x187def(0x223)]||_0x2e0fa5[_0x187def(0x244)],'name':_0x2e0fa5[_0x187def(0x1b0)],'body':{'lang':_0x4d2b23[_0x187def(0x24e)],'code':_0x2e0fa5['body']['toString']()},'type':_0x2e0fa5['type'],'scope':_0x2e0fa5[_0x187def(0x1d9)](),'scopes':this[_0x187def(0x207)](_0x2e0fa5),'file_name':_0x1c9fdc,'vc_filepath':_0x37de6a?path[_0x187def(0x255)](_0x37de6a,_0x394173):null,'location':_0x1c9fdc,'result':_0x4bccea,'failure_reason':_0x580227,'duration_in_ms':_0x2e0fa5['duration']||(_0x43340c[_0x187def(0x1bc)]||_0x43340c[_0x187def(0x263)])?_0x4d2b23[_0x187def(0x25e)](Date[_0x187def(0x1d8)](),new Date(_0x2e0fa5[_0x187def(0x19b)])[_0x187def(0x226)]()):null,'started_at':new Date(_0x2e0fa5[_0x187def(0x19b)])[_0x187def(0x1ab)](),'finished_at':_0x450582,'failure':testOpsHelper[_0x187def(0x27a)]['apply'](null,_0x517ada),'failure_type':!_0x580227?null:testOpsHelper[_0x187def(0x1b3)](_0x580227),'retry_of':_0x2e0fa5[_0x187def(0x232)]||null,'tags':_0x2e0fa5['tags']||[],'customRerunParam':{'rerun_name':_0x2e0fa5['fullTitle']()}};_0x4d2b23['fgIHE'](appendTesthubParams,_0x5e18bd,_0x4b69ed,_0x2e0fa5,FRAMEWORKS[_0x187def(0x253)]);if(_0x43340c['hook'])[_0x5e18bd['hook_type'],_0x5e18bd[_0x187def(0x218)]]=[this[_0x187def(0x247)](_0x2e0fa5),_0x2e0fa5[_0x187def(0x1c5)]['test'][_0x187def(0x1b0)]],_0x43340c[_0x187def(0x1bc)]?_0x4d2b23[_0x187def(0x1bf)](_0x5e18bd[_0x187def(0x1a8)],_0x4d2b23[_0x187def(0x233)])&&(_0x5e18bd[_0x187def(0x1a8)]=_0x4d2b23[_0x187def(0x20a)]):_0x5e18bd['body']={};else _0x43340c[_0x187def(0x1ee)]&&(this[_0x187def(0x23e)](_0x2e0fa5),_0x43340c[_0x187def(0x263)]&&this[_0x187def(0x219)](_0x2e0fa5),(_0x43340c[_0x187def(0x1bc)]||_0x43340c[_0x187def(0x263)])&&(_0x5e18bd[_0x187def(0x1cd)]=this['getHooksForTest'](_0x2e0fa5)));this[_0x187def(0x230)]&&(_0x43340c['started']||_0x43340c[_0x187def(0x263)])&&(_0x5e18bd[_0x4d2b23[_0x187def(0x27b)]]=this[_0x187def(0x1e8)](this[_0x187def(0x230)]));_0x43340c['test']&&_0x43340c[_0x187def(0x1bc)]&&_0x2e0fa5[_0x187def(0x23b)]&&(_0x5e18bd[_0x4d2b23[_0x187def(0x21b)]]={'feature':{'name':_0x2e0fa5['parent'][_0x187def(0x1b1)][_0x187def(0x218)],'path':_0x5e18bd[_0x187def(0x205)],'description':_0x2e0fa5[_0x187def(0x1f2)]['comment']},'scenario':{'name':_0x2e0fa5[_0x187def(0x1b0)]},'steps':_0x2e0fa5[_0x187def(0x23b)]});const _0x472ce5=_0x5e18bd[_0x4d2b23[_0x187def(0x1dc)]][0x0];_0x472ce5&&(_0x5e18bd[_0x4d2b23['KIYCq']]=_0x472ce5[_0x4d2b23[_0x187def(0x214)]],_0x5e18bd[_0x4d2b23[_0x187def(0x25d)]]=_0x472ce5[_0x4d2b23['CuVzS']]);if(_0x2e0fa5[_0x187def(0x23b)])for(const _0x5c8181 of _0x2e0fa5[_0x187def(0x23b)]){!_0x5c8181[_0x187def(0x19c)]&&(_0x5c8181[_0x187def(0x19c)]=new Date()['toISOString'](),_0x4d2b23[_0x187def(0x22a)](_0x5c8181['result'],_0x4d2b23['WRFpd'])&&(_0x472ce5?(_0x5c8181[_0x187def(0x1a8)]=_0x4d2b23['IoApK'],_0x5c8181[_0x187def(0x21e)]=_0x472ce5[_0x4d2b23[_0x187def(0x214)]][0x0]):_0x5c8181[_0x187def(0x1a8)]=_0x4d2b23[_0x187def(0x20a)]));}const _0x36904b={};_0x36904b[_0x187def(0x26d)]=_0x43340c[_0x187def(0x263)]?TEST_EVENTS[_0x187def(0x224)]:_0x4b69ed;const _0x35e045=_0x36904b;return _0x43340c['hook']?_0x35e045[_0x4d2b23[_0x187def(0x283)]]=_0x5e18bd:_0x35e045[_0x4d2b23[_0x187def(0x1a5)]]=_0x5e18bd,_0x35e045;}catch(_0x147319){logger['debug'](_0x187def(0x20e)+_0x4b69ed+_0x187def(0x1b5)+_0x147319);}}async[a4_0x627e9(0x1ec)](_0x4c5f0b,_0x582aa3){const _0x34310c=a4_0x627e9;if(!this['enabled']||!_0x582aa3||!_0x4c5f0b)return![];try{return await SessionHandler[_0x34310c(0x1b4)](_0x582aa3);}catch(_0x1ea901){logger[_0x34310c(0x1cc)]('Exception\x20in\x20sending\x20test\x20data\x20for\x20event\x20'+_0x4c5f0b+_0x34310c(0x1b5)+_0x1ea901);}}[a4_0x627e9(0x26c)](_0x108dee){const _0x4e8a66=a4_0x627e9,_0x34a427={};_0x34a427[_0x4e8a66(0x1af)]=_0x4e8a66(0x1be);const _0x183832=_0x34a427;return{'id':_0x108dee[_0x4e8a66(0x27e)],'text':_0x108dee[_0x4e8a66(0x198)],'keyword':_0x108dee[_0x4e8a66(0x269)],'started_at':_0x108dee[_0x4e8a66(0x19b)][_0x4e8a66(0x1ab)](),'result':_0x183832[_0x4e8a66(0x1af)]};}[a4_0x627e9(0x273)](_0x172298){const _0x2c36be=a4_0x627e9,_0x1d4bd4={'vmeqp':function(_0x5b25ec){return _0x5b25ec();}};!this[_0x2c36be(0x203)][_0x2c36be(0x23b)]&&(this[_0x2c36be(0x203)][_0x2c36be(0x23b)]=[]),!_0x172298[_0x2c36be(0x27e)]&&(_0x172298[_0x2c36be(0x27e)]=_0x1d4bd4[_0x2c36be(0x1c8)](uuidv4),_0x172298[_0x2c36be(0x19b)]=new Date(),this['currentTest']['bddSteps'][_0x2c36be(0x1bb)](this['initializeBddStep'](_0x172298)));}['bddStepFinish'](_0x25d5f7){const _0x447d9a=a4_0x627e9,_0x7a0187={'rbgZE':function(_0x5eef5d,_0x52edbe){return _0x5eef5d(_0x52edbe);},'ToTnJ':'success','gJxZQ':_0x447d9a(0x1be),'UIRYL':_0x447d9a(0x229),'SyEhm':function(_0x47591c,_0x34707e){return _0x47591c-_0x34707e;}};let _0x1472db=this[_0x447d9a(0x203)]['bddSteps'][_0x447d9a(0x24d)](_0x3a6562=>_0x3a6562['id']===_0x25d5f7[_0x447d9a(0x27e)]);_0x7a0187[_0x447d9a(0x265)](isUndefined,_0x1472db)&&(_0x1472db=this['initializeBddStep'](_0x25d5f7)),_0x1472db[_0x447d9a(0x1a8)]=[_0x7a0187[_0x447d9a(0x252)],_0x7a0187[_0x447d9a(0x1c2)]][_0x447d9a(0x28a)](_0x25d5f7[_0x447d9a(0x1f1)])?_0x7a0187[_0x447d9a(0x1da)]:_0x25d5f7['status'],_0x1472db['finished_at']=new Date()[_0x447d9a(0x1ab)](),_0x1472db[_0x447d9a(0x272)]=_0x7a0187['SyEhm'](Date['now'](),_0x25d5f7[_0x447d9a(0x19b)][_0x447d9a(0x226)]()),_0x1472db['failure']=_0x25d5f7[_0x447d9a(0x1d5)]?_0x25d5f7['err'][_0x447d9a(0x249)]:null;}}function a4_0x321f(){const _0x992aa6=['HOOK_RUN_STARTED','match','join','HookRunStarted','urYqP','WkASW','removeAllListeners','then','currentTest','fpbtm','file_name','14ksJMaP','getHierarchy','Failed\x20to\x20parse\x20wsendpoint\x20','VFLbA','qzJzE','xgkkH','GELOY','JzzfK','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','Trqmd','sep','CBTSessionCreated','currentHook','exports','FJfTV','test_run','meta','sendCBTInfo','name','resetSkipTestHooks','jIeWd','Xmpbh','browserType.js','Exception\x20in\x20uploading\x20log\x20data\x20to\x20Observability\x20with\x20error\x20:\x20','failure','enabled','markedStatus','GaEMb','ugBhR','testAnalyticsId','TEST_RUN_FINISHED','_afterAll','getTime','failed','File\x20path\x20could\x20not\x20be\x20found','passed','SmLdD','pyDCU','56408VUokGW','JsDlX','toLowerCase','OzqUW','driver','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20Observability\x20with\x20error\x20:\x20','retryOf','IoApK','string','bind','__cloud_provider___','../playwright/accessibility-helper','client','obsBrowserTypeMockApplied','../../helpers/testhub/utils.js','bddSteps','oIUxS','expanded','mapTestHooks','constructor','ojsqn','srkVN','ydNFQ','concat','hookAnalyticsId','MepeR','TestRunSkipped','getHookType','started','message','defineProperty','apply','WRFpd','find','docjL','205929lkTewM','wsEndpoint','start','ToTnJ','CODECEPT','../../helpers/test-observability/requestQueueHandler','relative','prefixTestPath','hook_run','47781heORip','statSync','failure_reason_expanded','file','rQmOI','hxNKD','unDwI','length','_paths','Fawxe','fdVqg','skipped','codeceptjs','rbgZE','browserstack','iYGXT','../../helpers/test-observability/constants','keyword','BMOMT','UyyKy','initializeBddStep','event_type','frameworkName','util','../../helpers/test-observability/utils','groups','duration','bddStepStart','pid','TMJaM','BROWSERSTACK','335903hQkcwb','patchConsoleLogger','location_prefix','failureData','ozBQP','IDlaK','Checking\x20for\x20accessibility\x20automation\x20session\x20with\x20','stepAnalyticsId','setupBrowserDetails','getHooksForTest','jKlit','__platformCaps','rVKHX','3|0|2|4|5|1','TestRunStarted','bs:addLog:','getRootParentFile','BrowserType','lyymm','includes','../utils/constants','TEST_EVENTS','EsRWj','suites','../../helpers/logger','winstonLogger','5vSqqQJ','KZnUj','IYAbM','yQxBL','text','XEdXz','./helper.js','startedAt','finished_at','uuid','_beforeEach','failure_backtrace','hook','../playwright/sessionDetails','findGitConfig','failed\x20to\x20get\x20root\x20parent\x20file\x20','bHrcJ','unWaB','70oGlJOs','inspect','result','test_run_uuid','backtrace','toISOString','appendTestItemLog','forEach','xQCoc','zeaEE','title','feature','ykxhw','getFailureType','uploadEventData','\x20with\x20error\x20:\x20','VPtvt','_beforeAll','integrations','HookRunFinished','launch','push','finished','PathHelper','pending','MoCQT','dirname','17702586RcJCXU','gJxZQ','O11yHelper','errorsDetailed','ctx','TEST_RUN_STARTED','eZEOL','vmeqp','Playwright','LogCreated','QHfwq','debug','hooks','_afterEach','ZSyML','toString','IJvql','_testEnv','Ncrri','GmvVa','err','CBQzw','../../helpers/test-observability/sessionHandler','now','fullTitle','UIRYL','ZnPCI','UArHo','STATE_PASSED','STATE_FAILED','TestRunFinished','cwd','lib','44FxyJCD','299592muURzl','stop','getInstance','connect','Vkiqt','getCBTInfo','xDVHP','hook_run_uuid','ipiOL','fireEvent','DSJfy','test','replace','jsjgu','status','parent','LbhdQ','toUpperCase','NUpft','yYKHM','fPhjw','javascript','VCMFW','1316946FAjbgs'];a4_0x321f=function(){return _0x992aa6;};return a4_0x321f();}const a4_0x3426f0={};a4_0x3426f0[a4_0x627e9(0x1c3)]=O11yHelper,a4_0x3426f0[a4_0x627e9(0x1dd)]=STATE_PASSED,a4_0x3426f0[a4_0x627e9(0x1de)]=STATE_FAILED,a4_0x3426f0[a4_0x627e9(0x28c)]=TEST_EVENTS,module[a4_0x627e9(0x213)]=a4_0x3426f0;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a5_0x5f1c8e=a5_0xf223;function a5_0xf223(_0x2ec413,_0x2fc470){const _0xe0b6ee=a5_0xe0b6();return a5_0xf223=function(_0xf223cb,_0x5862d4){_0xf223cb=_0xf223cb-0x107;let _0xd48c79=_0xe0b6ee[_0xf223cb];return _0xd48c79;},a5_0xf223(_0x2ec413,_0x2fc470);}(function(_0x1dc3d2,_0x51b9cb){const _0x51346b=a5_0xf223,_0x747002=_0x1dc3d2();while(!![]){try{const _0x8eebc9=-parseInt(_0x51346b(0x14b))/0x1+-parseInt(_0x51346b(0x12c))/0x2+-parseInt(_0x51346b(0x128))/0x3*(parseInt(_0x51346b(0x171))/0x4)+parseInt(_0x51346b(0x136))/0x5+parseInt(_0x51346b(0x14e))/0x6+-parseInt(_0x51346b(0x12e))/0x7*(-parseInt(_0x51346b(0x14d))/0x8)+parseInt(_0x51346b(0x15a))/0x9;if(_0x8eebc9===_0x51b9cb)break;else _0x747002['push'](_0x747002['shift']());}catch(_0x5b3c28){_0x747002['push'](_0x747002['shift']());}}}(a5_0xe0b6,0x7ded0));const fs=require('fs'),path=require('path'),util=require(a5_0x5f1c8e(0x17b)),logger=require(a5_0x5f1c8e(0x13f))[a5_0x5f1c8e(0x119)],{default:BrowserStackSetup}=require(a5_0x5f1c8e(0x11f)),helper=require(a5_0x5f1c8e(0x120)),utilities=require('../../helpers/utilities'),constants=require(a5_0x5f1c8e(0x10a)),{parallelCucumberRun}=require(a5_0x5f1c8e(0x13b)),TestHubHandler=require(a5_0x5f1c8e(0x160)),testOpsHelper=require(a5_0x5f1c8e(0x13d)),chalk=require(a5_0x5f1c8e(0x111)),PerformanceTester=require(a5_0x5f1c8e(0x17d)),PerformanceEvents=require(a5_0x5f1c8e(0x168))[a5_0x5f1c8e(0x163)];function printCucumberStats(_0x3231bb){const _0x11b0dd=a5_0x5f1c8e,_0x1a40f6={};_0x1a40f6['cWWtF']=function(_0x46c00a,_0x5bd5a6){return _0x46c00a>_0x5bd5a6;},_0x1a40f6['dZBBU']=function(_0x573a4e,_0x30e266){return _0x573a4e-_0x30e266;},_0x1a40f6['Eniln']=function(_0x378ea4,_0x5a2fc1){return _0x378ea4-_0x5a2fc1;},_0x1a40f6['ykBYj']=function(_0x8d60cc,_0x4464ff){return _0x8d60cc>_0x4464ff;},_0x1a40f6[_0x11b0dd(0x114)]=function(_0x5405b9,_0x2e3e50){return _0x5405b9>_0x2e3e50;},_0x1a40f6[_0x11b0dd(0x176)]=function(_0x43efae,_0x1d63a5){return _0x43efae>_0x1d63a5;},_0x1a40f6['dOMsA']=function(_0x59dd98,_0x1dc267){return _0x59dd98>_0x1dc267;},_0x1a40f6[_0x11b0dd(0x110)]=function(_0x1d09d0,_0x26539e){return _0x1d09d0>_0x26539e;},_0x1a40f6[_0x11b0dd(0x124)]=function(_0x55545f,_0x552e4f){return _0x55545f>_0x552e4f;},_0x1a40f6[_0x11b0dd(0x154)]=function(_0x43b8d3,_0x18aaa1){return _0x43b8d3>_0x18aaa1;},_0x1a40f6['MLylo']=function(_0x32031e,_0x48bf7f){return _0x32031e+_0x48bf7f;},_0x1a40f6['FqAgX']=function(_0xcdcb93,_0x506f49){return _0xcdcb93+_0x506f49;},_0x1a40f6[_0x11b0dd(0x115)]=function(_0x110eb7,_0x1ded4c){return _0x110eb7+_0x1ded4c;},_0x1a40f6[_0x11b0dd(0x178)]=function(_0x296c0c,_0x2e6c16){return _0x296c0c+_0x2e6c16;},_0x1a40f6['auaLH']=function(_0x19ac9f,_0x16ca8b){return _0x19ac9f+_0x16ca8b;},_0x1a40f6[_0x11b0dd(0x17f)]=function(_0xc8c35d,_0x5a8854){return _0xc8c35d===_0x5a8854;},_0x1a40f6['XPWzs']=_0x11b0dd(0x17e);const _0xf36ddb=_0x1a40f6;let _0x1c6588=0x0;if(_0xf36ddb[_0x11b0dd(0x17f)](_0x3231bb[_0x11b0dd(0x108)],0x0))return _0x1c6588;return console[_0x11b0dd(0x12b)](chalk[_0x11b0dd(0x166)][_0x11b0dd(0x14c)](_0xf36ddb[_0x11b0dd(0x15d)])),_0x3231bb[_0x11b0dd(0x126)](_0x2160b1=>{const _0x13539c=_0x11b0dd,_0x2047c9=_0x2160b1[0x0],_0x15bc84=_0x2160b1[0x1];helper['isBrowserstackInfra']()&&console[_0x13539c(0x12b)]('\x0a'+chalk[_0x13539c(0x166)][_0x13539c(0x175)](''+helper['getPlatformName'](_0x2047c9)));const _0x5baa74=_0x15bc84[_0x13539c(0x174)],_0x361802=_0x15bc84[_0x13539c(0x12f)],_0x5dd613=_0x15bc84['scenariosFailed'],_0x3e5417=_0x15bc84['stepsFailed'],_0x17570c=_0x15bc84['stepsPassed'],_0x8d88b5=_0x15bc84[_0x13539c(0x121)],_0x1ce042=_0x15bc84['stepsPending'],_0x3f3b2e=_0x15bc84[_0x13539c(0x11d)],_0x416ad1=_0x15bc84[_0x13539c(0x170)],_0x27029f=_0x15bc84[_0x13539c(0x17a)],_0x404ba7=_0x15bc84['processSuccess'];let _0x1d988b=_0x5baa74+_0x13539c(0x14a);const _0x2727b2=_0xf36ddb[_0x13539c(0x16e)](_0xf36ddb[_0x13539c(0x12a)](_0x5baa74,_0x5dd613),0x0)?_0xf36ddb[_0x13539c(0x135)](_0x5baa74,_0x5dd613):0x0;if(_0xf36ddb[_0x13539c(0x16e)](_0x5dd613,0x0)&&_0xf36ddb[_0x13539c(0x16e)](_0x2727b2,0x0))_0x1d988b+='\x20('+chalk['bold'][_0x13539c(0x155)](_0x5dd613+_0x13539c(0x109))+',\x20'+chalk[_0x13539c(0x166)][_0x13539c(0x132)](_0x2727b2+_0x13539c(0x137))+')';else(_0xf36ddb[_0x13539c(0x158)](_0x5dd613,0x0)||_0xf36ddb['gBRXI'](_0x2727b2,0x0))&&(_0x1d988b+=_0xf36ddb['QzQXe'](_0x5dd613,0x0)?'\x20('+chalk[_0x13539c(0x166)][_0x13539c(0x155)](_0x5dd613+_0x13539c(0x109))+')':'\x20('+chalk[_0x13539c(0x166)][_0x13539c(0x132)](_0x2727b2+_0x13539c(0x137))+')');const _0x438c76=_0x361802+_0x13539c(0x152),_0x30ad94=[];_0xf36ddb['QzQXe'](_0x27029f,0x0)&&_0x30ad94[_0x13539c(0x10b)](''+chalk[_0x13539c(0x166)]['red'](_0x27029f+_0x13539c(0x139)));_0xf36ddb[_0x13539c(0x13a)](_0x3e5417,0x0)&&_0x30ad94['push'](''+chalk[_0x13539c(0x166)][_0x13539c(0x155)](_0x3e5417+_0x13539c(0x109)));_0xf36ddb[_0x13539c(0x114)](_0x17570c,0x0)&&_0x30ad94[_0x13539c(0x10b)](''+chalk[_0x13539c(0x166)][_0x13539c(0x132)](_0x17570c+_0x13539c(0x137)));_0xf36ddb[_0x13539c(0x110)](_0x1ce042,0x0)&&_0x30ad94[_0x13539c(0x10b)](''+chalk[_0x13539c(0x166)][_0x13539c(0x175)](_0x1ce042+_0x13539c(0x10c)));_0xf36ddb[_0x13539c(0x124)](_0x8d88b5,0x0)&&_0x30ad94[_0x13539c(0x10b)](''+chalk[_0x13539c(0x166)][_0x13539c(0x148)](_0x8d88b5+'\x20skipped'));_0xf36ddb[_0x13539c(0x154)](_0x3f3b2e,0x0)&&_0x30ad94['push'](''+chalk[_0x13539c(0x166)][_0x13539c(0x175)](_0x3f3b2e+'\x20undefined'));_0xf36ddb[_0x13539c(0x158)](_0x416ad1,0x0)&&_0x30ad94['push'](''+chalk[_0x13539c(0x166)][_0x13539c(0x175)](_0x416ad1+_0x13539c(0x129)));const _0x2833a3=_0xf36ddb[_0x13539c(0x140)](_0xf36ddb[_0x13539c(0x140)](_0xf36ddb['FqAgX'](_0x438c76,'('),_0x30ad94['join'](',\x20')),')');console[_0x13539c(0x12b)](_0xf36ddb[_0x13539c(0x130)](_0xf36ddb['olveV'](_0xf36ddb['ZZCRY'](_0xf36ddb[_0x13539c(0x15b)]('\x0a',_0x1d988b),'\x0a'),_0x2833a3),'\x0a')),_0xf36ddb[_0x13539c(0x17f)](_0x404ba7,![])&&(_0x1c6588=0x1);}),_0x1c6588;}async function run(_0x4ec2d9,_0x492972,_0x330811){const _0x1449d0=a5_0x5f1c8e,_0x2d2137={'NGoas':function(_0xb47de7,_0x40343f){return _0xb47de7(_0x40343f);},'uKIyR':function(_0x27298f,_0x129f3b){return _0x27298f>_0x129f3b;},'Hbvpd':_0x1449d0(0x165),'gjYdE':_0x1449d0(0x10e),'CtmAL':_0x1449d0(0x131),'NCReV':_0x1449d0(0x153),'eRpra':_0x1449d0(0x156),'iLrmP':function(_0x2fec84,_0x17c127){return _0x2fec84-_0x17c127;},'mTVFQ':function(_0xb71670,_0x419d5f){return _0xb71670>=_0x419d5f;},'rQWuX':function(_0x569096,_0x2bcb59){return _0x569096!=_0x2bcb59;},'dUUNq':_0x1449d0(0x123),'eUJjO':function(_0x500914,_0x6d59aa,_0x230968,_0x177724,_0x2a55b9,_0x23549f){return _0x500914(_0x6d59aa,_0x230968,_0x177724,_0x2a55b9,_0x23549f);}};await _0x330811['initialize'](_0x4ec2d9),helper[_0x1449d0(0x159)](_0x330811[_0x1449d0(0x11e)],_0x4ec2d9);!helper[_0x1449d0(0x157)]()&&await _0x330811['setupTCGAuth']();await helper[_0x1449d0(0x169)](_0x330811['config']);const _0x10a5d5=helper[_0x1449d0(0x162)](_0x330811['config']);!helper[_0x1449d0(0x15f)](_0x330811['config']['accessibilityOptions'])&&(process[_0x1449d0(0x16c)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON[_0x1449d0(0x144)](_0x330811[_0x1449d0(0x164)][_0x1449d0(0x112)]));const _0x548ace=await TestHubHandler['launchBuild'](constants['FRAMEWORKS'][_0x1449d0(0x149)],_0x330811);let _0xd22e02=[];if(!helper[_0x1449d0(0x157)]()){const _0x3d57c7={};_0x3d57c7['platforms']=[],_0xd22e02=helper[_0x1449d0(0x13e)](Object[_0x1449d0(0x151)]({},_0x330811['config'],_0x3d57c7),_0x10a5d5,constants[_0x1449d0(0x150)][_0x1449d0(0x149)]);}else _0xd22e02=helper[_0x1449d0(0x13e)](_0x330811[_0x1449d0(0x164)],_0x10a5d5,constants[_0x1449d0(0x150)][_0x1449d0(0x149)]);if(!_0x330811[_0x1449d0(0x164)])return;const _0x1ebe72=_0x330811[_0x1449d0(0x164)][_0x1449d0(0x113)]||helper[_0x1449d0(0x145)](_0x4ec2d9,_0x492972,_0x330811[_0x1449d0(0x164)],constants[_0x1449d0(0x150)][_0x1449d0(0x149)])||0x1,_0x400079={'server':helper['getHubUrl'](_0x330811[_0x1449d0(0x164)]),'proxySettings':_0x330811[_0x1449d0(0x164)][_0x1449d0(0x11b)],'maxWorkers':_0x1ebe72,'browserStackLogLevel':_0x330811[_0x1449d0(0x164)][_0x1449d0(0x146)],'skipSessionName':_0x330811[_0x1449d0(0x164)][_0x1449d0(0x172)][_0x1449d0(0x11a)],'skipSessionStatus':_0x330811[_0x1449d0(0x164)][_0x1449d0(0x172)][_0x1449d0(0x116)],'turboScaleUrl':_0x330811[_0x1449d0(0x164)][_0x1449d0(0x117)]},_0x5e0985=process['argv'],[_0x13e855,_0x227b13]=helper[_0x1449d0(0x122)](_0x5e0985),_0x2eddd6=path[_0x1449d0(0x173)](process[_0x1449d0(0x14f)](),_0x2d2137[_0x1449d0(0x167)]);if(_0x2d2137['uKIyR'](_0x227b13['length'],0x0)){helper[_0x1449d0(0x11c)](_0x2eddd6);for(let _0x3858f0=_0x2d2137['iLrmP'](_0x13e855[_0x1449d0(0x108)],0x1);_0x2d2137['mTVFQ'](_0x3858f0,0x0);_0x3858f0--){_0x5e0985['splice'](_0x13e855[_0x3858f0],0x2);}}_0x2d2137[_0x1449d0(0x125)](_0x330811[_0x1449d0(0x164)]['testObservability'],null)?process[_0x1449d0(0x16c)][_0x1449d0(0x12d)]=_0x330811['config'][_0x1449d0(0x118)]:process[_0x1449d0(0x16c)][_0x1449d0(0x12d)]=_0x2d2137[_0x1449d0(0x177)];PerformanceTester[_0x1449d0(0x16f)](PerformanceEvents[_0x1449d0(0x138)]);let _0x37d260;_0x2d2137[_0x1449d0(0x17c)](parallelCucumberRun,_0xd22e02,_0x400079,_0x330811[_0x1449d0(0x164)],_0x5e0985,_0x227b13)['then'](async _0x524502=>{const _0x31d72e=_0x1449d0;PerformanceTester[_0x31d72e(0x107)](PerformanceEvents[_0x31d72e(0x16a)]),_0x37d260=_0x524502;const _0xdcc498=_0x2d2137['NGoas'](printCucumberStats,_0x524502);process[_0x31d72e(0x16d)]=_0xdcc498,_0x2d2137[_0x31d72e(0x142)](_0x227b13[_0x31d72e(0x108)],0x0)&&(logger[_0x31d72e(0x134)](_0x2d2137['Hbvpd']),helper[_0x31d72e(0x10d)](_0x2eddd6,_0x227b13),logger[_0x31d72e(0x134)](_0x2d2137[_0x31d72e(0x15e)]),helper[_0x31d72e(0x179)](_0x2eddd6));})[_0x1449d0(0x16b)](async()=>{const _0x2a153d=_0x1449d0;PerformanceTester[_0x2a153d(0x107)](PerformanceEvents[_0x2a153d(0x16a)]),_0x330811['errorMessage']=helper[_0x2a153d(0x147)](_0x37d260,_0x2d2137[_0x2a153d(0x10f)]),testOpsHelper[_0x2a153d(0x15c)]();try{await TestHubHandler[_0x2a153d(0x13c)]();}catch(_0x54ae4c){logger[_0x2a153d(0x134)](_0x2a153d(0x143)+util[_0x2a153d(0x127)](_0x54ae4c));}try{const {browserstackFolderPath:_0x4c6fb9,tcgConfigPath:_0x8e5745}=helper['getTCGConfigFilePaths']();fs[_0x2a153d(0x133)](_0x8e5745),fs['rmdirSync'](_0x4c6fb9);}catch(_0x5cb3a4){logger['debug'](_0x2d2137[_0x2a153d(0x161)],_0x5cb3a4);}await utilities[_0x2a153d(0x141)](_0x330811);});}module['exports']=run;function a5_0xe0b6(){const _0x40db63=['vaAZu','chalk','accessibilityOptions','parallelsPerPlatform','gBRXI','olveV','skipSessionStatus','turboScaleUrl','testObservability','winstonLogger','skipSessionName','proxySettings','createDir','stepsUndefined','framework','../../helpers/BrowserStackSetup','../../helpers/helper','stepsSkipped','parseFormatters','true','OnZud','rQWuX','forEach','format','25119HjYLSe','\x20skipped','dZBBU','log','598586ydqtAh','BROWSERSTACK_TEST_OBSERVABILITY_YML','511kUyvbg','steps','FqAgX','cucumber','green','unlinkSync','debug','Eniln','248285cLRBLq','\x20passed','SDK_SETUP','\x20ambiguous','dOMsA','../test-runner','stop','../../helpers/test-observability/utils','prepareCapabilities','../../helpers/logger','MLylo','finalExecution','uKIyR','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','stringify','getUserWorkerCount','logLevel','getErrorMessageFromResults','cyan','CUCUMBER','\x20scenarios','703361DZkAMN','bgWhite','75592tabZDD','1933218VUQUPL','cwd','FRAMEWORKS','assign','\x20steps','error\x20removing\x20tcg\x20config\x20file','Rjeql','red','tmp','isBrowserstackInfra','ykBYj','setUserConfigPath','13380192VnTLRF','auaLH','printBuildLink','XPWzs','gjYdE','isUndefined','../../helpers/testhub/testhubHandler','NCReV','useW3C','EVENTS','config','Generating\x20consolidated\x20report...','bold','eRpra','../../helpers/performance/constants','handleApp','SDK_CLEANUP','finally','env','exitCode','cWWtF','end','stepsUnknown','492DiTrsM','testContextOptions','join','scenarios','yellow','QzQXe','dUUNq','ZZCRY','removeDir','stepsAmbiguous','util','eUJjO','../../helpers/performance/performance-tester','****\x20RESULTS\x20****','FrkSb','start','length','\x20failed','../utils/constants','push','\x20pending','mergeOutputFiles','Removing\x20tmp\x20directory\x20created\x20for\x20reports','CtmAL'];a5_0xe0b6=function(){return _0x40db63;};return a5_0xe0b6();}
|
|
2
|
+
'use strict';const a5_0x5f1b25=a5_0x22f0;(function(_0x9ee350,_0x45d13f){const _0xaeb23a=a5_0x22f0,_0x25af84=_0x9ee350();while(!![]){try{const _0x40b27f=-parseInt(_0xaeb23a(0xdd))/0x1*(-parseInt(_0xaeb23a(0x13d))/0x2)+parseInt(_0xaeb23a(0xff))/0x3*(parseInt(_0xaeb23a(0x11f))/0x4)+parseInt(_0xaeb23a(0xe3))/0x5+parseInt(_0xaeb23a(0x100))/0x6+-parseInt(_0xaeb23a(0x123))/0x7+-parseInt(_0xaeb23a(0x10e))/0x8*(parseInt(_0xaeb23a(0x105))/0x9)+-parseInt(_0xaeb23a(0x128))/0xa*(parseInt(_0xaeb23a(0x102))/0xb);if(_0x40b27f===_0x45d13f)break;else _0x25af84['push'](_0x25af84['shift']());}catch(_0x319113){_0x25af84['push'](_0x25af84['shift']());}}}(a5_0x1606,0x9b524));function a5_0x22f0(_0x78b6a8,_0x31ef71){const _0x1606ac=a5_0x1606();return a5_0x22f0=function(_0x22f0a1,_0x5dc296){_0x22f0a1=_0x22f0a1-0xc9;let _0x52ed8a=_0x1606ac[_0x22f0a1];return _0x52ed8a;},a5_0x22f0(_0x78b6a8,_0x31ef71);}const fs=require('fs'),path=require(a5_0x5f1b25(0x122)),util=require(a5_0x5f1b25(0xd3)),logger=require(a5_0x5f1b25(0xfb))[a5_0x5f1b25(0x120)],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require(a5_0x5f1b25(0xe1)),utilities=require(a5_0x5f1b25(0xd8)),constants=require(a5_0x5f1b25(0x110)),{parallelCucumberRun}=require(a5_0x5f1b25(0x11b)),TestHubHandler=require(a5_0x5f1b25(0x10c)),testOpsHelper=require(a5_0x5f1b25(0x107)),chalk=require(a5_0x5f1b25(0x117)),PerformanceTester=require('../../helpers/performance/performance-tester'),PerformanceEvents=require(a5_0x5f1b25(0x101))[a5_0x5f1b25(0x137)];function a5_0x1606(){const _0x1a8ba5=['378216lPxvpQ','\x20ambiguous','../utils/constants','GrVEK','Removing\x20tmp\x20directory\x20created\x20for\x20reports','isBrowserstackInfra','debug','\x20undefined','XhMTI','chalk','length','red','mergeOutputFiles','../test-runner','KxUxT','mRwLq','true','3148756yaVEln','winstonLogger','format','path','5286967xqHMdf','setupTCGAuth','stepsUndefined','wqEbf','stepsAmbiguous','2325710pdkfVX','\x20steps','CUCUMBER','NZBoS','vLiZL','logLevel','start','error\x20removing\x20tcg\x20config\x20file','unlinkSync','steps','KMffD','\x20passed','exports','log','framework','EVENTS','cMIUU','bgWhite','config','errorMessage','VXxFR','10lfYQVh','parseFormatters','testContextOptions','SDK_SETUP','createDir','zRmWi','getTCGConfigFilePaths','green','\x20pending','stepsFailed','GPjPl','bold','cwd','stepsSkipped','PcunM','Generating\x20consolidated\x20report...','join','Unymd','xYlZd','util','LUdGW','useW3C','launchBuild','scenariosFailed','../../helpers/utilities','rmdirSync','xeppR','QvwdU','exitCode','227011WRmCUa','cyan','processSuccess','stepsPassed','../../helpers/helper','initialize','1754475oMhkpT','testObservability','VQnAU','\x20skipped','stringify','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','printBuildLink','getUserWorkerCount','then','env','BROWSERSTACK_TEST_OBSERVABILITY_YML','finalExecution','UbzbM','accessibilityOptions','splice','stepsUnknown','Erwyw','sYaHH','FRAMEWORKS','yellow','QSRVU','\x20failed','LvCcG','../../helpers/logger','skipSessionStatus','assign','prepareCapabilities','3ngbqPM','6271518HGkRUR','../../helpers/performance/constants','33xebLWD','push','scenarios','234DDsVjG','forEach','../../helpers/test-observability/utils','turboScaleUrl','isUndefined','mpHJY','stop','../../helpers/testhub/testhubHandler','tmp'];a5_0x1606=function(){return _0x1a8ba5;};return a5_0x1606();}function printCucumberStats(_0x37d44a){const _0x346443=a5_0x5f1b25,_0x5997cd={};_0x5997cd[_0x346443(0xdb)]=function(_0x6d1718,_0x126ea9){return _0x6d1718>_0x126ea9;},_0x5997cd['Erwyw']=function(_0x3f36d3,_0xb20249){return _0x3f36d3-_0xb20249;},_0x5997cd[_0x346443(0x132)]=function(_0xe6c20e,_0x8c008a){return _0xe6c20e-_0x8c008a;},_0x5997cd[_0x346443(0x10a)]=function(_0x2a401b,_0x30663b){return _0x2a401b>_0x30663b;},_0x5997cd[_0x346443(0xe5)]=function(_0x228ef5,_0x5c05bf){return _0x228ef5>_0x5c05bf;},_0x5997cd['NZBoS']=function(_0x3d40bf,_0x5bba0a){return _0x3d40bf>_0x5bba0a;},_0x5997cd[_0x346443(0x11d)]=function(_0x44d5d7,_0x116aae){return _0x44d5d7>_0x116aae;},_0x5997cd['VXxFR']=function(_0x14dfa4,_0x4d618b){return _0x14dfa4>_0x4d618b;},_0x5997cd[_0x346443(0x142)]=function(_0x27a66b,_0x45b7d5){return _0x27a66b>_0x45b7d5;},_0x5997cd['yTleM']=function(_0x530758,_0x489282){return _0x530758+_0x489282;},_0x5997cd['yQRyF']=function(_0x115ded,_0x11d711){return _0x115ded+_0x11d711;},_0x5997cd[_0x346443(0x126)]=function(_0xc51fa,_0x43e548){return _0xc51fa+_0x43e548;},_0x5997cd[_0x346443(0xf0)]=function(_0x2a0c70,_0x1573a4){return _0x2a0c70+_0x1573a4;},_0x5997cd['sYaHH']=function(_0x4d7037,_0x28a5cf){return _0x4d7037+_0x28a5cf;},_0x5997cd[_0x346443(0xfa)]=function(_0x1fdcf9,_0x557211){return _0x1fdcf9+_0x557211;},_0x5997cd['Unymd']=function(_0x16c2f0,_0x377173){return _0x16c2f0===_0x377173;},_0x5997cd[_0x346443(0xd2)]='****\x20RESULTS\x20****';const _0xb34c5b=_0x5997cd;let _0x5190de=0x0;if(_0xb34c5b[_0x346443(0xd1)](_0x37d44a[_0x346443(0x118)],0x0))return _0x5190de;return console[_0x346443(0x135)](chalk[_0x346443(0xcb)][_0x346443(0x139)](_0xb34c5b['xYlZd'])),_0x37d44a[_0x346443(0x106)](_0xd158f8=>{const _0x39867e=_0x346443,_0x4cbf82=_0xd158f8[0x0],_0x18f371=_0xd158f8[0x1];helper[_0x39867e(0x113)]()&&console['log']('\x0a'+chalk['bold'][_0x39867e(0xf7)](''+helper['getPlatformName'](_0x4cbf82)));const _0x2096a5=_0x18f371[_0x39867e(0x104)],_0x1c06ff=_0x18f371[_0x39867e(0x131)],_0x37040f=_0x18f371[_0x39867e(0xd7)],_0x5f3758=_0x18f371[_0x39867e(0xc9)],_0x44e3ed=_0x18f371[_0x39867e(0xe0)],_0x36955b=_0x18f371[_0x39867e(0xcd)],_0x4d174f=_0x18f371['stepsPending'],_0x1a0504=_0x18f371[_0x39867e(0x125)],_0x361795=_0x18f371[_0x39867e(0xf3)],_0x241fc0=_0x18f371[_0x39867e(0x127)],_0x2e5862=_0x18f371[_0x39867e(0xdf)];let _0x166caa=_0x2096a5+'\x20scenarios';const _0x5c8dbb=_0xb34c5b[_0x39867e(0xdb)](_0xb34c5b[_0x39867e(0xf4)](_0x2096a5,_0x37040f),0x0)?_0xb34c5b[_0x39867e(0x132)](_0x2096a5,_0x37040f):0x0;if(_0xb34c5b[_0x39867e(0xdb)](_0x37040f,0x0)&&_0xb34c5b[_0x39867e(0x10a)](_0x5c8dbb,0x0))_0x166caa+='\x20('+chalk[_0x39867e(0xcb)][_0x39867e(0x119)](_0x37040f+'\x20failed')+',\x20'+chalk['bold'][_0x39867e(0x144)](_0x5c8dbb+_0x39867e(0x133))+')';else(_0xb34c5b[_0x39867e(0xe5)](_0x37040f,0x0)||_0xb34c5b[_0x39867e(0x12b)](_0x5c8dbb,0x0))&&(_0x166caa+=_0xb34c5b[_0x39867e(0x10a)](_0x37040f,0x0)?'\x20('+chalk[_0x39867e(0xcb)]['red'](_0x37040f+_0x39867e(0xf9))+')':'\x20('+chalk['bold']['green'](_0x5c8dbb+'\x20passed')+')');const _0x190f82=_0x1c06ff+_0x39867e(0x129),_0x28a3dd=[];_0xb34c5b[_0x39867e(0x10a)](_0x241fc0,0x0)&&_0x28a3dd[_0x39867e(0x103)](''+chalk[_0x39867e(0xcb)][_0x39867e(0x119)](_0x241fc0+_0x39867e(0x10f)));_0xb34c5b[_0x39867e(0x12b)](_0x5f3758,0x0)&&_0x28a3dd[_0x39867e(0x103)](''+chalk[_0x39867e(0xcb)][_0x39867e(0x119)](_0x5f3758+_0x39867e(0xf9)));_0xb34c5b[_0x39867e(0x11d)](_0x44e3ed,0x0)&&_0x28a3dd[_0x39867e(0x103)](''+chalk[_0x39867e(0xcb)][_0x39867e(0x144)](_0x44e3ed+_0x39867e(0x133)));_0xb34c5b[_0x39867e(0x12b)](_0x4d174f,0x0)&&_0x28a3dd[_0x39867e(0x103)](''+chalk[_0x39867e(0xcb)][_0x39867e(0xf7)](_0x4d174f+_0x39867e(0x145)));_0xb34c5b[_0x39867e(0x13c)](_0x36955b,0x0)&&_0x28a3dd[_0x39867e(0x103)](''+chalk['bold'][_0x39867e(0xde)](_0x36955b+_0x39867e(0xe6)));_0xb34c5b[_0x39867e(0x12b)](_0x1a0504,0x0)&&_0x28a3dd[_0x39867e(0x103)](''+chalk[_0x39867e(0xcb)]['yellow'](_0x1a0504+_0x39867e(0x115)));_0xb34c5b['zRmWi'](_0x361795,0x0)&&_0x28a3dd[_0x39867e(0x103)](''+chalk[_0x39867e(0xcb)][_0x39867e(0xf7)](_0x361795+_0x39867e(0xe6)));const _0x13a4ca=_0xb34c5b['yTleM'](_0xb34c5b['yTleM'](_0xb34c5b['yQRyF'](_0x190f82,'('),_0x28a3dd[_0x39867e(0xd0)](',\x20')),')');console[_0x39867e(0x135)](_0xb34c5b['wqEbf'](_0xb34c5b[_0x39867e(0xf0)](_0xb34c5b[_0x39867e(0xf5)](_0xb34c5b[_0x39867e(0xfa)]('\x0a',_0x166caa),'\x0a'),_0x13a4ca),'\x0a')),_0xb34c5b[_0x39867e(0xd1)](_0x2e5862,![])&&(_0x5190de=0x1);}),_0x5190de;}async function run(_0x5699ea,_0x3715e9,_0x511ed4){const _0x42ed17=a5_0x5f1b25,_0x5a50dd={'xeppR':function(_0x2e0686,_0xbc1691){return _0x2e0686(_0xbc1691);},'LUdGW':function(_0x18199e,_0x392a0d){return _0x18199e>_0x392a0d;},'PcunM':_0x42ed17(0xcf),'QWtSZ':_0x42ed17(0x112),'GPjPl':'cucumber','XhMTI':_0x42ed17(0x12f),'cMIUU':_0x42ed17(0x10d),'QSRVU':function(_0xdfe678,_0x32e056){return _0xdfe678-_0x32e056;},'KxUxT':function(_0x423439,_0xba8673){return _0x423439>=_0xba8673;},'OqjEk':function(_0x10527e,_0x145765){return _0x10527e!=_0x145765;},'vLiZL':_0x42ed17(0x11e),'GrVEK':function(_0x38198e,_0x207374,_0x1a6815,_0x474e54,_0x4cbe5b,_0x39e511){return _0x38198e(_0x207374,_0x1a6815,_0x474e54,_0x4cbe5b,_0x39e511);}};await _0x511ed4[_0x42ed17(0xe2)](_0x5699ea),helper['setUserConfigPath'](_0x511ed4[_0x42ed17(0x136)],_0x5699ea);!helper[_0x42ed17(0x113)]()&&await _0x511ed4[_0x42ed17(0x124)]();await helper['handleApp'](_0x511ed4[_0x42ed17(0x13a)]);const _0x5733c1=helper[_0x42ed17(0xd5)](_0x511ed4[_0x42ed17(0x13a)]);!helper[_0x42ed17(0x109)](_0x511ed4['config'][_0x42ed17(0xf1)])&&(process[_0x42ed17(0xed)][_0x42ed17(0xe9)]=JSON[_0x42ed17(0xe7)](_0x511ed4[_0x42ed17(0x13a)][_0x42ed17(0xf1)]));const _0x2c0366=await TestHubHandler[_0x42ed17(0xd6)](constants[_0x42ed17(0xf6)][_0x42ed17(0x12a)],_0x511ed4);let _0x5284b3=[];if(!helper[_0x42ed17(0x113)]()){const _0x398c05={};_0x398c05['platforms']=[],_0x5284b3=helper[_0x42ed17(0xfe)](Object[_0x42ed17(0xfd)]({},_0x511ed4[_0x42ed17(0x13a)],_0x398c05),_0x5733c1,constants[_0x42ed17(0xf6)][_0x42ed17(0x12a)]);}else _0x5284b3=helper[_0x42ed17(0xfe)](_0x511ed4[_0x42ed17(0x13a)],_0x5733c1,constants[_0x42ed17(0xf6)]['CUCUMBER']);if(!_0x511ed4[_0x42ed17(0x13a)])return;const _0x51c232=_0x511ed4[_0x42ed17(0x13a)]['parallelsPerPlatform']||helper[_0x42ed17(0xeb)](_0x5699ea,_0x3715e9,_0x511ed4[_0x42ed17(0x13a)],constants['FRAMEWORKS'][_0x42ed17(0x12a)])||0x1,_0x1cd90d={'server':helper['getHubUrl'](_0x511ed4[_0x42ed17(0x13a)]),'proxySettings':_0x511ed4[_0x42ed17(0x13a)]['proxySettings'],'maxWorkers':_0x51c232,'browserStackLogLevel':_0x511ed4[_0x42ed17(0x13a)][_0x42ed17(0x12d)],'skipSessionName':_0x511ed4[_0x42ed17(0x13a)][_0x42ed17(0x13f)]['skipSessionName'],'skipSessionStatus':_0x511ed4['config'][_0x42ed17(0x13f)][_0x42ed17(0xfc)],'turboScaleUrl':_0x511ed4['config'][_0x42ed17(0x108)]},_0x5c719f=process['argv'],[_0x4b43b4,_0x2515d9]=helper[_0x42ed17(0x13e)](_0x5c719f),_0xbecce9=path[_0x42ed17(0xd0)](process[_0x42ed17(0xcc)](),_0x5a50dd[_0x42ed17(0x138)]);if(_0x5a50dd[_0x42ed17(0xd4)](_0x2515d9['length'],0x0)){helper[_0x42ed17(0x141)](_0xbecce9);for(let _0x1371ab=_0x5a50dd[_0x42ed17(0xf8)](_0x4b43b4[_0x42ed17(0x118)],0x1);_0x5a50dd[_0x42ed17(0x11c)](_0x1371ab,0x0);_0x1371ab--){_0x5c719f[_0x42ed17(0xf2)](_0x4b43b4[_0x1371ab],0x2);}}_0x5a50dd['OqjEk'](_0x511ed4[_0x42ed17(0x13a)]['testObservability'],null)?process[_0x42ed17(0xed)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x511ed4['config'][_0x42ed17(0xe4)]:process[_0x42ed17(0xed)][_0x42ed17(0xee)]=_0x5a50dd[_0x42ed17(0x12c)];PerformanceTester['end'](PerformanceEvents[_0x42ed17(0x140)]);let _0x26792e;_0x5a50dd[_0x42ed17(0x111)](parallelCucumberRun,_0x5284b3,_0x1cd90d,_0x511ed4[_0x42ed17(0x13a)],_0x5c719f,_0x2515d9)[_0x42ed17(0xec)](async _0x2489d1=>{const _0x4eace1=_0x42ed17;PerformanceTester[_0x4eace1(0x12e)](PerformanceEvents['SDK_CLEANUP']),_0x26792e=_0x2489d1;const _0x5ae983=_0x5a50dd[_0x4eace1(0xda)](printCucumberStats,_0x2489d1);process[_0x4eace1(0xdc)]=_0x5ae983,_0x5a50dd[_0x4eace1(0xd4)](_0x2515d9['length'],0x0)&&(logger[_0x4eace1(0x114)](_0x5a50dd[_0x4eace1(0xce)]),helper[_0x4eace1(0x11a)](_0xbecce9,_0x2515d9),logger['debug'](_0x5a50dd['QWtSZ']),helper['removeDir'](_0xbecce9));})['finally'](async()=>{const _0x257e68=_0x42ed17;PerformanceTester[_0x257e68(0x12e)](PerformanceEvents['SDK_CLEANUP']),_0x511ed4[_0x257e68(0x13b)]=helper['getErrorMessageFromResults'](_0x26792e,_0x5a50dd[_0x257e68(0xca)]),testOpsHelper[_0x257e68(0xea)]();try{await TestHubHandler[_0x257e68(0x10b)]();}catch(_0x39b209){logger['debug'](_0x257e68(0xe8)+util[_0x257e68(0x121)](_0x39b209));}try{const {browserstackFolderPath:_0x4ba7d0,tcgConfigPath:_0x26dd34}=helper[_0x257e68(0x143)]();fs[_0x257e68(0x130)](_0x26dd34),fs[_0x257e68(0xd9)](_0x4ba7d0);}catch(_0x8545fd){logger[_0x257e68(0x114)](_0x5a50dd[_0x257e68(0x116)],_0x8545fd);}await utilities[_0x257e68(0xef)](_0x511ed4);});}module[a5_0x5f1b25(0x134)]=run;
|