browserstack-node-sdk 1.38.2 → 1.40.0
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 +1 -1
- 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 +2 -0
- package/src/bin/load/load/index.js +114 -0
- package/src/bin/load/load/loadUtils.js +58 -0
- package/src/bin/load/loadUtils.js +1 -0
- 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_0x4546dd=a1_0x4d08;(function(_0x1db4f6,_0x39ed01){const _0x2e4707=a1_0x4d08,_0x587d92=_0x1db4f6();while(!![]){try{const _0x4295b5=-parseInt(_0x2e4707(0x1da))/0x1+parseInt(_0x2e4707(0x159))/0x2+-parseInt(_0x2e4707(0x1ab))/0x3+-parseInt(_0x2e4707(0x1b0))/0x4+-parseInt(_0x2e4707(0x179))/0x5+parseInt(_0x2e4707(0x186))/0x6*(parseInt(_0x2e4707(0x19b))/0x7)+parseInt(_0x2e4707(0x17a))/0x8;if(_0x4295b5===_0x39ed01)break;else _0x587d92['push'](_0x587d92['shift']());}catch(_0x4e8029){_0x587d92['push'](_0x587d92['shift']());}}}(a1_0x4fa8,0xe4bbb));const fs=require('fs'),util=require(a1_0x4546dd(0x201)),{requireModule,markSessionStatus,isUndefined,isTrue,isBrowserstackInfra}=require(a1_0x4546dd(0x1c1)),logger=require('../../helpers/logger')['winstonLogger'],testOpsHelper=require(a1_0x4546dd(0x1a3)),requestSpy=require(a1_0x4546dd(0x181)),PlaywrightSessionDetails=require(a1_0x4546dd(0x190)),{O11yHelper,TEST_EVENTS,STATE_PASSED,STATE_FAILED}=require('./o11yHelper'),{shouldScanTestForAccessibility,isAccessibilityAutomationSession}=require(a1_0x4546dd(0x1c6)),AccessibilityHelper=require(a1_0x4546dd(0x15c)),scripts=require(a1_0x4546dd(0x209)),PerformanceTester=require(a1_0x4546dd(0x1b8)),{EVENTS:PerformanceEvents,AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceHookEvents}=require('../../helpers/performance/constants'),{processWebDriverConfig,shouldPatchExecuteScript}=require('./helper.js'),testHubConstants=require(a1_0x4546dd(0x1e5)),globals=require(a1_0x4546dd(0x1e2)),CodeceptJS=requireModule(a1_0x4546dd(0x19c),'codeceptjs'),CodeceptUtils=requireModule('codeceptjs/lib/utils.js',a1_0x4546dd(0x20f)),CodeceptWebDriver=requireModule(a1_0x4546dd(0x19d),a1_0x4546dd(0x20f)),CodeceptRecorder=requireModule('codeceptjs/lib/recorder.js',a1_0x4546dd(0x20f)),CodeceptPlaywright=requireModule(a1_0x4546dd(0x210),a1_0x4546dd(0x20f)),playwrightMarkSessionStatus=(_0x580111,_0x36f947,_0x35aaed)=>{const _0x4074af=a1_0x4546dd,_0x15cbb3={'vttrc':_0x4074af(0x1e6),'OIEsz':function(_0x1e554f,_0x16378a){return _0x1e554f(_0x16378a);}},_0x2c8c44={};_0x2c8c44['status']=_0x36f947;const _0x2a100e={};_0x2a100e[_0x4074af(0x1a8)]=_0x15cbb3[_0x4074af(0x1df)],_0x2a100e[_0x4074af(0x1c5)]=_0x2c8c44;const _0x2fb3d1=_0x2a100e;return!_0x15cbb3[_0x4074af(0x1b5)](isUndefined,_0x35aaed)&&(_0x2fb3d1[_0x4074af(0x1c5)]['reason']=JSON[_0x4074af(0x19f)](_0x35aaed)),_0x580111[_0x4074af(0x15e)](()=>{},_0x4074af(0x20b)+JSON[_0x4074af(0x19f)](_0x2fb3d1));},o11ySync=PerformanceTester[a1_0x4546dd(0x226)](PerformanceO11yEvents[a1_0x4546dd(0x1cb)],async _0x536b30=>{const _0x23ae7d=a1_0x4546dd,_0x3975de={};_0x3975de[_0x23ae7d(0x1d5)]=function(_0x12545e,_0x511e0a){return _0x12545e===_0x511e0a;},_0x3975de[_0x23ae7d(0x1f3)]=_0x23ae7d(0x178);const _0x53a39c=_0x3975de;_0x53a39c[_0x23ae7d(0x1d5)](_0x536b30[_0x23ae7d(0x176)]['name'],_0x53a39c['tZqdF'])?await _0x536b30[_0x23ae7d(0x15e)](_0x3bacde=>{},testOpsHelper[_0x23ae7d(0x208)]()):await _0x536b30[_0x23ae7d(0x15e)](testOpsHelper[_0x23ae7d(0x208)]());}),markSessionName=PerformanceTester[a1_0x4546dd(0x226)](PerformanceAutEvents[a1_0x4546dd(0x175)],async(_0xc59040,_0x3e39ed)=>{const _0x339294=a1_0x4546dd,_0x89ceac={};_0x89ceac[_0x339294(0x172)]=_0x339294(0x223),_0x89ceac['Gmzfr']=function(_0x11f9b0,_0x4613a3){return _0x11f9b0===_0x4613a3;},_0x89ceac[_0x339294(0x16b)]=_0x339294(0x178);const _0x3469b3=_0x89ceac,_0x51d29c={};_0x51d29c[_0x339294(0x198)]=_0x3e39ed;const _0x186ca7={};_0x186ca7['action']=_0x3469b3[_0x339294(0x172)],_0x186ca7[_0x339294(0x1c5)]=_0x51d29c;const _0x42278c=_0x186ca7;_0x3469b3['Gmzfr'](_0xc59040[_0x339294(0x176)][_0x339294(0x198)],_0x3469b3[_0x339294(0x16b)])?await _0xc59040[_0x339294(0x15e)](()=>{},_0x339294(0x20b)+JSON['stringify'](_0x42278c)):await _0xc59040[_0x339294(0x15e)](_0x339294(0x20b)+JSON[_0x339294(0x19f)](_0x42278c));}),patchSaveScreenshot=_0xe21172=>{const _0x1232be=a1_0x4546dd,_0x796bc={'chuCI':'base64','bZikX':_0x1232be(0x22a),'mOJRi':function(_0x196426){return _0x196426();},'QTGgS':function(_0x232696,_0x1853a1){return _0x232696(_0x1853a1);},'bojgG':'Screenshot\x20path\x20not\x20found'};_0x796bc[_0x1232be(0x18c)](isTrue,process[_0x1232be(0x1a5)]['BS_TESTOPS_ALLOW_SCREENSHOTS'])&&!_0xe21172[_0x1232be(0x1fd)]&&(_0xe21172['patchSaveScreenshot']=!![],_0xe21172['initSaveScreenshot']=_0xe21172['saveScreenshot'],_0xe21172['saveScreenshot']=(_0x53734a,_0x57b6fe=![])=>{const _0x532efe=_0x1232be,_0x567297={'bsuzq':_0x796bc['chuCI'],'sVyVh':_0x796bc[_0x532efe(0x166)],'EEVJO':function(_0x523228){const _0x1f6fe8=_0x532efe;return _0x796bc[_0x1f6fe8(0x162)](_0x523228);},'JaHvx':function(_0x182135,_0x79611c){const _0x1977ea=_0x532efe;return _0x796bc[_0x1977ea(0x18c)](_0x182135,_0x79611c);},'zUMat':_0x796bc['bojgG']};return new Promise(function(_0x280daa,_0x171924){const _0xf188fc=_0x532efe,_0x5dad9b={'deFZU':_0x567297['bsuzq'],'eJBec':_0x567297['sVyVh'],'xPwAw':function(_0xc87ef6){const _0x352e29=a1_0x4d08;return _0x567297[_0x352e29(0x155)](_0xc87ef6);},'IILfE':function(_0x5a5fa3,_0x5d6403){const _0x47be0c=a1_0x4d08;return _0x567297[_0x47be0c(0x1b4)](_0x5a5fa3,_0x5d6403);},'fghor':_0x567297[_0xf188fc(0x225)]};_0xe21172['initSaveScreenshot'](_0x53734a,_0x57b6fe)[_0xf188fc(0x1c3)](()=>{const _0x219faa=_0xf188fc,_0x1c4ede=CodeceptUtils[_0x219faa(0x1dc)](_0x53734a);if(_0x1c4ede){const _0x333c84=fs['readFileSync'](_0x1c4ede);process[_0x219faa(0x21c)](_0x219faa(0x200)+process[_0x219faa(0x1b7)],{'timestamp':new Date()[_0x219faa(0x231)](),'message':_0x333c84[_0x219faa(0x207)](_0x5dad9b[_0x219faa(0x215)]),'kind':_0x5dad9b[_0x219faa(0x191)]}),_0x5dad9b['xPwAw'](_0x280daa);}_0x5dad9b[_0x219faa(0x1bd)](_0x171924,new Error(_0x5dad9b[_0x219faa(0x17c)]));})['catch'](()=>null);});});},patchWebDriverBefore=_0x300cb9=>{const _0x1e2a5f=a1_0x4546dd,_0x21175d={'UcGYC':function(_0x1bb02d){return _0x1bb02d();},'ELueG':function(_0x5b7b52,_0x26a3c0){return _0x5b7b52(_0x26a3c0);},'wkQij':function(_0x49fb52,_0x1d8d57){return _0x49fb52===_0x1d8d57;},'OQswk':_0x1e2a5f(0x1c2),'PAAbU':function(_0x3f5196,_0x4e29f2){return _0x3f5196(_0x4e29f2);}},_0x56a60c=async function(_0x41dc9b,_0x2066df){const _0x324b87=_0x1e2a5f;return _0x21175d['UcGYC'](isAccessibilityAutomationSession)&&!global['bstackAllyScanning']&&global['accessibilityPlatform']&&scripts[_0x324b87(0x194)](_0x41dc9b['name'])&&_0x21175d[_0x324b87(0x1e3)](shouldPatchExecuteScript,arguments[0x2])&&(global[_0x324b87(0x21e)]=!![],await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x324b87(0x1f2)],async()=>{const _0x2952d5=_0x324b87;logger['debug']('Performing\x20scan\x20for\x20'+_0x41dc9b[_0x2952d5(0x1d8)]+'\x20'+_0x41dc9b['name']),await AccessibilityHelper[_0x2952d5(0x193)](_0x300cb9,scripts[_0x2952d5(0x229)]);},{'command':_0x41dc9b[_0x324b87(0x198)]})()),global['bstackAllyScanning']=![],_0x2066df[_0x324b87(0x1a4)](this,Array[_0x324b87(0x16e)][_0x324b87(0x19a)][_0x324b87(0x218)](arguments,0x2));},_0x7b1e93=CodeceptWebDriver[_0x1e2a5f(0x16e)][_0x1e2a5f(0x160)];CodeceptWebDriver['prototype'][_0x1e2a5f(0x160)]=async function(){const _0x921256=_0x1e2a5f;try{await _0x7b1e93['apply'](this,arguments);}catch(_0x546a28){logger[_0x921256(0x167)](_0x921256(0x1b9)+util[_0x921256(0x189)](_0x546a28));}scripts[_0x921256(0x1fa)][_0x921256(0x1e0)](_0x113889=>_0x113889[_0x921256(0x198)]&&_0x113889['class'])[_0x921256(0x214)](_0xee1ff9=>{const _0x4845d7=_0x921256;this[_0x4845d7(0x1ed)][_0x4845d7(0x1b2)](_0xee1ff9['name'],_0x56a60c[_0x4845d7(0x1bb)](this,_0xee1ff9),_0x21175d[_0x4845d7(0x1a6)](_0xee1ff9[_0x4845d7(0x1d8)],_0x21175d[_0x4845d7(0x1f9)]));}),_0x21175d['PAAbU'](processWebDriverConfig,_0x300cb9);};},patchPlaywrightBefore=()=>{const _0x223232=a1_0x4546dd;PlaywrightSessionDetails[_0x223232(0x16f)]();const _0x3252d8=CodeceptPlaywright['prototype'][_0x223232(0x160)];CodeceptPlaywright[_0x223232(0x16e)][_0x223232(0x160)]=async function(){const _0x39a010=_0x223232;this['browserContext']=await this[_0x39a010(0x1ed)]['contexts']()[0x0],await _0x3252d8[_0x39a010(0x1a4)](this,arguments);};},getCodeceptDriver=()=>{const _0x565a92=a1_0x4546dd,_0x4945e2={};_0x4945e2['BidFu']=_0x565a92(0x1cf),_0x4945e2[_0x565a92(0x221)]='Playwright',_0x4945e2[_0x565a92(0x15b)]=_0x565a92(0x17f),_0x4945e2['wwKyk']=_0x565a92(0x1d2);const _0x728e9b=_0x4945e2,_0x417515=[_0x728e9b[_0x565a92(0x1d3)],_0x728e9b[_0x565a92(0x221)],_0x728e9b['WkjdP'],_0x728e9b['wwKyk']],_0xe0e1ac=_0x417515[_0x565a92(0x173)](_0x200270=>!!CodeceptJS[_0x565a92(0x1b6)]['helpers'](_0x200270));if(!_0xe0e1ac)return null;return CodeceptJS[_0x565a92(0x1b6)][_0x565a92(0x20d)](_0xe0e1ac);};module[a1_0x4546dd(0x1ac)]=function(_0x4a5735){const _0x2a0152=a1_0x4546dd,_0x13db6a={'CNEcy':function(_0x14169e){return _0x14169e();},'nGVBL':function(_0x42c944,_0x5248af){return _0x42c944(_0x5248af);},'caeqs':'getAccessibilityResults','gmRwf':_0x2a0152(0x188),'qBVCy':_0x2a0152(0x22f),'DWSrO':_0x2a0152(0x16d),'wVuzA':_0x2a0152(0x21a),'bGYuL':_0x2a0152(0x1f8),'XLaJT':'hook-failed','DRuPX':_0x2a0152(0x1ec),'RRQbM':function(_0x4d610a){return _0x4d610a();},'qBUuU':_0x2a0152(0x1b1),'uEJcn':function(_0x2a14a0){return _0x2a14a0();},'SgMPI':function(_0x2e1934,_0x3b0dfb){return _0x2e1934(_0x3b0dfb);},'OOfsS':function(_0x31107f,_0x396fca,_0x2e6fcd){return _0x31107f(_0x396fca,_0x2e6fcd);},'ZceIw':_0x2a0152(0x163),'JNoLC':function(_0x4c3005){return _0x4c3005();},'WgRIV':function(_0x1da372,_0x39a800,_0x52fd14){return _0x1da372(_0x39a800,_0x52fd14);},'QnLtc':_0x2a0152(0x1aa),'dxwUw':function(_0x5357cc){return _0x5357cc();},'fbOfm':function(_0x558d5c,_0x289c30,_0x230fc0,_0xafcaab){return _0x558d5c(_0x289c30,_0x230fc0,_0xafcaab);},'UbZmh':function(_0x2b3eb0,_0x5e8cd1){return _0x2b3eb0===_0x5e8cd1;},'XNHpb':_0x2a0152(0x185),'yTYDk':_0x2a0152(0x184),'atcIm':_0x2a0152(0x1fc),'HHzPT':_0x2a0152(0x15f),'aHPyJ':function(_0x16ef49,_0x4afabd,_0x525f98){return _0x16ef49(_0x4afabd,_0x525f98);},'YLSOc':'Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','MfFmv':_0x2a0152(0x20e),'ZwzDf':_0x2a0152(0x1ff),'mPYsm':_0x2a0152(0x1d0),'ykNXm':'step-comment','QTqfs':'bddStep-before','WrDDM':_0x2a0152(0x219),'jlTRh':'Playwright'};_0x4a5735[_0x2a0152(0x1f7)]&&(global[_0x2a0152(0x213)]=_0x4a5735[_0x2a0152(0x1f7)]);PerformanceTester[_0x2a0152(0x1bf)]();const _0x2c1c12=_0x13db6a[_0x2a0152(0x17e)](getCodeceptDriver),_0x94f16=new O11yHelper(_0x2c1c12,_0x4a5735),_0x3ca9da=!!CodeceptJS[_0x2a0152(0x1b6)][_0x2a0152(0x20d)](_0x13db6a[_0x2a0152(0x1cd)]);global['__driver']=_0x2c1c12,_0x2c1c12&&(PerformanceTester[_0x2a0152(0x226)](PerformanceEvents[_0x2a0152(0x18f)],()=>{const _0x174cc3=_0x2a0152;_0x3ca9da?_0x13db6a['CNEcy'](patchPlaywrightBefore):_0x13db6a[_0x174cc3(0x168)](patchWebDriverBefore,_0x2c1c12);})(),PerformanceTester['measureWrapper'](PerformanceEvents[_0x2a0152(0x228)],()=>{const _0x4ed418=_0x2a0152,_0x4cac53={};_0x4cac53[_0x4ed418(0x1ba)]=_0x13db6a[_0x4ed418(0x192)],_0x4cac53[_0x4ed418(0x1de)]=_0x13db6a[_0x4ed418(0x205)];const _0xf9dff8=_0x4cac53;_0x2c1c12[_0x4ed418(0x22f)]=async()=>{const _0x13b9c4=_0x4ed418;if(global[_0x13b9c4(0x171)]){const _0x59f0ef={};_0x59f0ef['command']=_0xf9dff8[_0x13b9c4(0x1ba)],await PerformanceTester[_0x13b9c4(0x226)](PerformanceA11yEvents[_0x13b9c4(0x1f2)],async()=>{const _0x20d0cf=_0x13b9c4;await AccessibilityHelper[_0x20d0cf(0x193)](_0x2c1c12,scripts[_0x20d0cf(0x229)]);},_0x59f0ef)(),await PerformanceTester[_0x13b9c4(0x226)](PerformanceA11yEvents[_0x13b9c4(0x165)],async()=>{const _0x32d54f=_0x13b9c4;await AccessibilityHelper[_0x32d54f(0x193)](_0x2c1c12,scripts[_0x32d54f(0x220)]);})();}else return logger['warn'](_0xf9dff8[_0x13b9c4(0x1de)]),{};},_0x2c1c12[_0x4ed418(0x1cc)]=async()=>{const _0x135daf=_0x4ed418;if(global[_0x135daf(0x171)]){const _0x53ea58={};_0x53ea58[_0x135daf(0x1ce)]=_0x13db6a[_0x135daf(0x1f0)],await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x135daf(0x1f2)],async()=>{const _0x460680=_0x135daf;await AccessibilityHelper['browserStackExecuteDriver'](_0x2c1c12,scripts[_0x460680(0x229)]);},_0x53ea58)(),await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x135daf(0x212)],async()=>{const _0x389f7d=_0x135daf;await AccessibilityHelper[_0x389f7d(0x193)](_0x2c1c12,scripts[_0x389f7d(0x180)]);})();}else return logger[_0x135daf(0x224)](_0x13db6a[_0x135daf(0x156)]),{};},_0x13db6a[_0x4ed418(0x168)](patchSaveScreenshot,_0x2c1c12);})()),CodeceptJS[_0x2a0152(0x196)][_0x2a0152(0x1d6)]['on'](CodeceptJS[_0x2a0152(0x196)][_0x2a0152(0x204)][_0x2a0152(0x182)],()=>{const _0x8596cb=_0x2a0152;PerformanceTester[_0x8596cb(0x227)](PerformanceEvents[_0x8596cb(0x1ca)]);try{_0x94f16[_0x8596cb(0x227)](),testOpsHelper[_0x8596cb(0x1e1)](),PerformanceTester[_0x8596cb(0x18d)](PerformanceEvents[_0x8596cb(0x1ca)]);}catch(_0x1b678f){PerformanceTester[_0x8596cb(0x1ef)](_0x1b678f),PerformanceTester[_0x8596cb(0x18d)](PerformanceEvents[_0x8596cb(0x1ca)],![],_0x1b678f);}}),CodeceptJS[_0x2a0152(0x196)][_0x2a0152(0x1d6)]['on'](CodeceptJS['event'][_0x2a0152(0x204)]['after'],async()=>{const _0x440112=_0x2a0152;PerformanceTester[_0x440112(0x227)](PerformanceEvents[_0x440112(0x1f5)]);try{requestSpy[_0x440112(0x1db)](),await _0x94f16[_0x440112(0x1ad)](),PerformanceTester[_0x440112(0x18d)](PerformanceEvents[_0x440112(0x1f5)]);}catch(_0x4cb2d0){PerformanceTester[_0x440112(0x1ef)](_0x4cb2d0),PerformanceTester[_0x440112(0x18d)](PerformanceEvents[_0x440112(0x1f5)],![],_0x4cb2d0);}finally{PerformanceTester[_0x440112(0x1e9)]();}}),CodeceptJS[_0x2a0152(0x196)][_0x2a0152(0x1d6)]['on'](CodeceptJS[_0x2a0152(0x196)]['hook']['started'],_0x29ce53=>{const _0x4b57e7=_0x2a0152;PerformanceTester[_0x4b57e7(0x227)](PerformanceEvents[_0x4b57e7(0x177)]);try{const _0x1b5883=_0x29ce53[_0x4b57e7(0x1c0)]['test'],_0x43d268=_0x94f16['captureEvent'](TEST_EVENTS[_0x4b57e7(0x17d)],_0x1b5883);CodeceptRecorder[_0x4b57e7(0x1fb)](()=>_0x94f16['fireEvent'](TEST_EVENTS[_0x4b57e7(0x17d)],_0x43d268));const _0x2c132f={};_0x2c132f['hookType']=_0x13db6a['wVuzA'],PerformanceTester['end'](PerformanceEvents[_0x4b57e7(0x177)],!![],null,_0x2c132f);}catch(_0x1882f7){const _0x4ce2a1={};_0x4ce2a1[_0x4b57e7(0x22e)]=_0x13db6a[_0x4b57e7(0x199)],PerformanceTester[_0x4b57e7(0x18d)](PerformanceEvents[_0x4b57e7(0x177)],![],_0x1882f7,_0x4ce2a1),PerformanceTester['captureError'](_0x1882f7);}}),CodeceptJS[_0x2a0152(0x196)][_0x2a0152(0x1d6)]['on'](CodeceptJS[_0x2a0152(0x196)][_0x2a0152(0x1a9)][_0x2a0152(0x1e7)],_0x211fd9=>{const _0x4ba72e=_0x2a0152,_0x5e48b7={};_0x5e48b7[_0x4ba72e(0x22e)]=_0x13db6a[_0x4ba72e(0x1d9)],PerformanceTester[_0x4ba72e(0x227)](PerformanceHookEvents[_0x4ba72e(0x177)],!![],null,_0x5e48b7);try{const _0x4503fc=_0x211fd9[_0x4ba72e(0x1c0)][_0x4ba72e(0x217)],_0x44d51f=_0x94f16[_0x4ba72e(0x22c)](TEST_EVENTS[_0x4ba72e(0x1f1)],_0x4503fc);CodeceptRecorder['add'](()=>_0x94f16[_0x4ba72e(0x18b)](TEST_EVENTS[_0x4ba72e(0x1f1)],_0x44d51f));const _0x58120f={};_0x58120f[_0x4ba72e(0x22e)]=_0x13db6a[_0x4ba72e(0x1d9)],PerformanceTester[_0x4ba72e(0x18d)](PerformanceHookEvents[_0x4ba72e(0x177)],!![],null,_0x58120f);}catch(_0x51e4a8){PerformanceTester[_0x4ba72e(0x1ef)](_0x51e4a8);const _0x3fd820={};_0x3fd820[_0x4ba72e(0x22e)]=_0x13db6a[_0x4ba72e(0x1d9)],PerformanceTester[_0x4ba72e(0x18d)](PerformanceHookEvents[_0x4ba72e(0x177)],![],_0x51e4a8,_0x3fd820);}}),CodeceptJS[_0x2a0152(0x196)][_0x2a0152(0x1d6)]['on'](CodeceptJS[_0x2a0152(0x196)][_0x2a0152(0x1a9)]['failed'],async(_0x3f97b7,_0x49c49c)=>{const _0x45a380=_0x2a0152;PerformanceTester[_0x45a380(0x227)](PerformanceHookEvents[_0x45a380(0x177)]);try{const _0x321048=_0x3f97b7[_0x45a380(0x1c0)]['test'],_0x44c65d=_0x94f16['captureEvent'](TEST_EVENTS[_0x45a380(0x1f1)],_0x321048,_0x49c49c);CodeceptRecorder[_0x45a380(0x1fb)](()=>_0x94f16[_0x45a380(0x18b)](TEST_EVENTS[_0x45a380(0x1f1)],_0x44c65d));const _0x5c0ed0={};_0x5c0ed0[_0x45a380(0x22e)]=_0x13db6a[_0x45a380(0x187)],PerformanceTester[_0x45a380(0x227)](PerformanceHookEvents[_0x45a380(0x177)],!![],null,_0x5c0ed0);}catch(_0x51011b){PerformanceTester[_0x45a380(0x1ef)](_0x51011b);const _0x59cd57={};_0x59cd57[_0x45a380(0x22e)]=_0x13db6a[_0x45a380(0x187)],PerformanceTester[_0x45a380(0x18d)](PerformanceHookEvents[_0x45a380(0x177)],![],_0x51011b,_0x59cd57);}const _0x543982={};_0x543982[_0x45a380(0x22e)]=_0x13db6a['XLaJT'],PerformanceTester[_0x45a380(0x18d)](PerformanceHookEvents[_0x45a380(0x177)],!![],null,_0x543982);}),CodeceptJS[_0x2a0152(0x196)][_0x2a0152(0x1d6)]['on'](CodeceptJS[_0x2a0152(0x196)]['test'][_0x2a0152(0x182)],_0x22c6ae=>{const _0x8dd4=_0x2a0152;PerformanceTester['start'](PerformanceHookEvents[_0x8dd4(0x177)]);try{globals[_0x8dd4(0x15a)](_0x13db6a['DRuPX'],_0x22c6ae[_0x8dd4(0x1bc)]);_0x13db6a[_0x8dd4(0x17e)](isBrowserstackInfra)&&(_0x3ca9da&&(global[_0x8dd4(0x174)]={'currentTest':{'name':_0x22c6ae[_0x8dd4(0x1bc)],'testInfo':{'titlePath':_0x22c6ae['titlePath']()}}}));const _0x2cc4ed={};_0x2cc4ed[_0x8dd4(0x22e)]=_0x13db6a[_0x8dd4(0x158)],PerformanceTester[_0x8dd4(0x18d)](PerformanceHookEvents[_0x8dd4(0x177)],!![],null,_0x2cc4ed);}catch(_0x538210){PerformanceTester[_0x8dd4(0x1ef)](_0x538210);const _0x340b93={};_0x340b93[_0x8dd4(0x22e)]=_0x13db6a[_0x8dd4(0x158)],PerformanceTester[_0x8dd4(0x18d)](PerformanceHookEvents[_0x8dd4(0x177)],![],_0x538210,_0x340b93);}}),CodeceptJS[_0x2a0152(0x196)][_0x2a0152(0x1d6)]['on'](CodeceptJS['event']['test'][_0x2a0152(0x18a)],_0x16d202=>{const _0x56f365=_0x2a0152,_0x47054c={'AileZ':function(_0x433409){const _0x5b578a=a1_0x4d08;return _0x13db6a[_0x5b578a(0x1e8)](_0x433409);},'SsgIk':function(_0x2dc9ca,_0x131888){const _0x52f86d=a1_0x4d08;return _0x13db6a[_0x52f86d(0x1be)](_0x2dc9ca,_0x131888);},'YjUoE':function(_0x568087,_0x205a16,_0x34e1e2){return _0x13db6a['OOfsS'](_0x568087,_0x205a16,_0x34e1e2);}};PerformanceTester[_0x56f365(0x227)](PerformanceHookEvents[_0x56f365(0x177)]);try{globals[_0x56f365(0x15a)](_0x13db6a[_0x56f365(0x1a7)],_0x16d202['title']);const _0x56a873=_0x94f16[_0x56f365(0x22c)](TEST_EVENTS['TEST_RUN_STARTED'],_0x16d202);CodeceptRecorder[_0x56f365(0x1fb)](()=>_0x94f16[_0x56f365(0x18b)](TEST_EVENTS[_0x56f365(0x1d4)],_0x56a873)),CodeceptRecorder[_0x56f365(0x1fb)](async()=>{const _0x389e91=_0x56f365;_0x47054c[_0x389e91(0x222)](isBrowserstackInfra)&&(!_0x47054c['SsgIk'](isTrue,_0x4a5735[_0x389e91(0x211)])&&await _0x47054c[_0x389e91(0x161)](markSessionName,_0x2c1c12,_0x16d202[_0x389e91(0x1bc)]),_0x94f16[_0x389e91(0x17b)]&&await _0x47054c[_0x389e91(0x216)](o11ySync,_0x2c1c12));});}catch(_0x1d2aa9){const _0xfbd900={};_0xfbd900[_0x56f365(0x22e)]=_0x13db6a['ZceIw'],PerformanceTester['end'](PerformanceHookEvents[_0x56f365(0x177)],![],_0x1d2aa9,_0xfbd900),PerformanceTester[_0x56f365(0x1ef)](_0x1d2aa9);}const _0x2ba164={};_0x2ba164[_0x56f365(0x22e)]=_0x13db6a['ZceIw'],PerformanceTester['end'](PerformanceHookEvents[_0x56f365(0x177)],!![],null,_0x2ba164);}),CodeceptJS[_0x2a0152(0x196)][_0x2a0152(0x1d6)]['on'](CodeceptJS[_0x2a0152(0x196)][_0x2a0152(0x217)][_0x2a0152(0x1e7)],_0x343500=>{const _0x423d02=_0x2a0152,_0x2a0712={'YwOYN':function(_0x39f446,_0x2ecfce,_0x3244df){const _0x12ef9d=a1_0x4d08;return _0x13db6a[_0x12ef9d(0x22b)](_0x39f446,_0x2ecfce,_0x3244df);},'AVFhm':function(_0x5e5a19,_0x473f9e,_0x5cb49e){const _0x4ac62f=a1_0x4d08;return _0x13db6a[_0x4ac62f(0x1c4)](_0x5e5a19,_0x473f9e,_0x5cb49e);}};PerformanceTester[_0x423d02(0x227)](PerformanceHookEvents[_0x423d02(0x177)]);try{const _0xa40e80=_0x94f16[_0x423d02(0x22c)](TEST_EVENTS[_0x423d02(0x21d)],_0x343500);CodeceptRecorder[_0x423d02(0x1fb)](()=>_0x94f16[_0x423d02(0x18b)](TEST_EVENTS[_0x423d02(0x21d)],_0xa40e80)),CodeceptRecorder[_0x423d02(0x1fb)](async()=>{const _0x3d048c=_0x423d02;_0x13db6a[_0x3d048c(0x22d)](isBrowserstackInfra)&&await PerformanceTester[_0x3d048c(0x226)](PerformanceAutEvents[_0x3d048c(0x20a)],async()=>{const _0x23874e=_0x3d048c;_0x3ca9da?await _0x2a0712[_0x23874e(0x1ae)](playwrightMarkSessionStatus,_0x2c1c12,STATE_PASSED):await _0x2a0712[_0x23874e(0x19e)](markSessionStatus,_0x2c1c12,STATE_PASSED);})();}),PerformanceTester['end'](PerformanceEvents['SDK_TEST']);}catch(_0x1a8853){PerformanceTester[_0x423d02(0x1ef)](_0x1a8853);const _0x3be6ec={};_0x3be6ec[_0x423d02(0x22e)]=_0x13db6a[_0x423d02(0x183)],PerformanceTester['end'](PerformanceHookEvents[_0x423d02(0x177)],![],_0x1a8853,_0x3be6ec),PerformanceTester['end'](PerformanceEvents['SDK_TEST'],![],_0x1a8853);}const _0x1b07a6={};_0x1b07a6['hookType']=_0x13db6a[_0x423d02(0x183)],PerformanceTester[_0x423d02(0x18d)](PerformanceHookEvents[_0x423d02(0x177)],!![],null,_0x1b07a6);}),CodeceptJS[_0x2a0152(0x196)][_0x2a0152(0x1d6)]['on'](CodeceptJS[_0x2a0152(0x196)][_0x2a0152(0x217)]['failed'],(_0x5a7fa0,_0x269158)=>{const _0x24cb1e=_0x2a0152,_0x31a48e={'yRCyW':function(_0x5dda62){return _0x13db6a['dxwUw'](_0x5dda62);},'xOglU':function(_0x594d7f,_0x12a7ee,_0xcb4f2f,_0x588044){const _0x25af58=a1_0x4d08;return _0x13db6a[_0x25af58(0x1f4)](_0x594d7f,_0x12a7ee,_0xcb4f2f,_0x588044);}};PerformanceTester[_0x24cb1e(0x227)](PerformanceHookEvents[_0x24cb1e(0x177)]);try{if(_0x13db6a[_0x24cb1e(0x1a1)](_0x5a7fa0['constructor'][_0x24cb1e(0x198)],_0x13db6a[_0x24cb1e(0x1fe)])){const _0x60163e=_0x94f16[_0x24cb1e(0x22c)](TEST_EVENTS[_0x24cb1e(0x1dd)],_0x5a7fa0[_0x24cb1e(0x1c0)][_0x24cb1e(0x1af)]);CodeceptRecorder[_0x24cb1e(0x1fb)](()=>_0x94f16[_0x24cb1e(0x18b)](TEST_EVENTS['TEST_RUN_SKIPPED'],_0x60163e));}else{const _0x5ed126=_0x94f16['captureEvent'](TEST_EVENTS['TEST_RUN_FINISHED'],_0x5a7fa0,_0x269158);CodeceptRecorder[_0x24cb1e(0x1fb)](()=>{const _0x41c9e0=_0x24cb1e;try{_0x94f16[_0x41c9e0(0x18b)](TEST_EVENTS[_0x41c9e0(0x21d)],_0x5ed126);}catch(_0x1a0fe1){logger[_0x41c9e0(0x167)](_0x41c9e0(0x164)+util[_0x41c9e0(0x189)](_0x1a0fe1)),PerformanceTester[_0x41c9e0(0x18d)](PerformanceEvents[_0x41c9e0(0x206)],![],_0x1a0fe1);}}),CodeceptRecorder[_0x24cb1e(0x1fb)](async()=>{const _0x4b712e=_0x24cb1e;try{_0x31a48e['yRCyW'](isBrowserstackInfra)&&(_0x3ca9da?await _0x31a48e[_0x4b712e(0x170)](playwrightMarkSessionStatus,_0x2c1c12,STATE_FAILED,_0x269158):await _0x31a48e[_0x4b712e(0x170)](markSessionStatus,_0x2c1c12,STATE_FAILED,_0x269158));}catch(_0x355333){logger[_0x4b712e(0x167)](_0x4b712e(0x1a0)+util[_0x4b712e(0x189)](_0x355333)),PerformanceTester['end'](PerformanceEvents[_0x4b712e(0x206)],![],_0x355333);}});}PerformanceTester[_0x24cb1e(0x18d)](PerformanceEvents[_0x24cb1e(0x206)]);}catch(_0x53e5a3){PerformanceTester[_0x24cb1e(0x1ef)](_0x53e5a3);const _0x273f58={};_0x273f58['hookType']=_0x13db6a[_0x24cb1e(0x1b3)],PerformanceTester[_0x24cb1e(0x18d)](PerformanceHookEvents['SDK_HOOK'],![],_0x53e5a3,_0x273f58),PerformanceTester['end'](PerformanceEvents[_0x24cb1e(0x206)],![],_0x53e5a3);}const _0x4e9e3a={};_0x4e9e3a[_0x24cb1e(0x22e)]=_0x13db6a[_0x24cb1e(0x1b3)],PerformanceTester[_0x24cb1e(0x18d)](PerformanceHookEvents[_0x24cb1e(0x177)],!![],null,_0x4e9e3a);}),CodeceptJS['event']['dispatcher']['on'](CodeceptJS[_0x2a0152(0x196)]['test'][_0x2a0152(0x154)],_0x25bcd7=>{const _0x194303=_0x2a0152;PerformanceTester[_0x194303(0x227)](PerformanceHookEvents['SDK_HOOK']);try{const _0x2845a8=_0x94f16[_0x194303(0x22c)](TEST_EVENTS[_0x194303(0x1dd)],_0x25bcd7);CodeceptRecorder['add'](()=>_0x94f16[_0x194303(0x18b)](TEST_EVENTS[_0x194303(0x1dd)],_0x2845a8)),PerformanceTester['end'](PerformanceEvents['SDK_TEST']);}catch(_0x2c4e6c){PerformanceTester[_0x194303(0x1ef)](_0x2c4e6c),PerformanceTester[_0x194303(0x18d)](PerformanceEvents[_0x194303(0x206)],![],_0x2c4e6c);const _0x553100={};_0x553100[_0x194303(0x22e)]=_0x13db6a[_0x194303(0x1eb)],PerformanceTester[_0x194303(0x18d)](PerformanceHookEvents['SDK_HOOK'],![],_0x2c4e6c,_0x553100);}const _0x47e413={};_0x47e413[_0x194303(0x22e)]=_0x13db6a[_0x194303(0x1eb)],PerformanceTester['end'](PerformanceHookEvents[_0x194303(0x177)],!![],null,_0x47e413);}),CodeceptJS[_0x2a0152(0x196)][_0x2a0152(0x1d6)]['on'](CodeceptJS[_0x2a0152(0x196)][_0x2a0152(0x217)]['after'],async(_0xe3df81,_0x911228)=>{const _0x15c867=_0x2a0152,_0x27c060={};_0x27c060[_0x15c867(0x20c)]=_0x13db6a[_0x15c867(0x197)];const _0x2882c3=_0x27c060;try{PerformanceTester['start'](PerformanceHookEvents[_0x15c867(0x177)]);const _0x3049e4=_0x13db6a[_0x15c867(0x195)](shouldScanTestForAccessibility,_0xe3df81[_0x15c867(0x1c9)](),!![]);if(_0x13db6a['dxwUw'](isAccessibilityAutomationSession)&&global[_0x15c867(0x171)]&&_0x3049e4){const _0x55234b={};_0x55234b[_0x15c867(0x230)]=_0xe3df81[_0x15c867(0x1ee)],_0x55234b[_0x15c867(0x16a)]=process[_0x15c867(0x1a5)][testHubConstants['ENV_VAR']['BROWSERSTACK_TESTHUB_UUID']],_0x55234b['thJwtToken']=process[_0x15c867(0x1a5)][testHubConstants[_0x15c867(0x202)][_0x15c867(0x169)]];const _0x5f5c40=_0x55234b;logger[_0x15c867(0x167)](_0x15c867(0x1e4)+JSON[_0x15c867(0x19f)](_0x5f5c40)),CodeceptRecorder['add'](async()=>{const _0x5c57a9=_0x15c867,_0x37146f={};_0x37146f[_0x5c57a9(0x1ce)]=_0x2882c3[_0x5c57a9(0x20c)],await PerformanceTester[_0x5c57a9(0x226)](PerformanceA11yEvents[_0x5c57a9(0x1f2)],async()=>{const _0x2b24cc=_0x5c57a9;await AccessibilityHelper[_0x2b24cc(0x193)](_0x2c1c12,scripts[_0x2b24cc(0x229)]);},_0x37146f)(),await PerformanceTester[_0x5c57a9(0x226)](PerformanceA11yEvents[_0x5c57a9(0x1c7)],async()=>{const _0x203796=_0x5c57a9;await AccessibilityHelper[_0x203796(0x193)](_0x2c1c12,scripts[_0x203796(0x1c8)],_0x5f5c40);})();}),logger[_0x15c867(0x1a2)](_0x13db6a[_0x15c867(0x203)]);}const _0x9fed97={};_0x9fed97[_0x15c867(0x22e)]=_0x13db6a[_0x15c867(0x1ea)],PerformanceTester['end'](PerformanceHookEvents[_0x15c867(0x177)],!![],null,_0x9fed97);}catch(_0x3780db){PerformanceTester['captureError'](_0x3780db);const _0x1ec97a={};_0x1ec97a['hookType']=_0x13db6a[_0x15c867(0x1ea)],PerformanceTester[_0x15c867(0x18d)](PerformanceHookEvents[_0x15c867(0x177)],![],_0x3780db,_0x1ec97a);}}),CodeceptJS[_0x2a0152(0x196)][_0x2a0152(0x1d6)]['on'](CodeceptJS['event']['step'][_0x2a0152(0x1f6)],_0x3ec6b6=>{const _0x2cc79c=_0x2a0152;PerformanceTester[_0x2cc79c(0x227)](PerformanceHookEvents[_0x2cc79c(0x177)]);try{process[_0x2cc79c(0x21c)]('bs:addLog:'+process[_0x2cc79c(0x1b7)],{'timestamp':new Date()[_0x2cc79c(0x231)](),'level':_0x13db6a['ZwzDf'],'message':_0x3ec6b6,'kind':_0x13db6a[_0x2cc79c(0x21f)],'http_response':{}});}catch(_0x1dfaec){PerformanceTester[_0x2cc79c(0x1ef)](_0x1dfaec);const _0x4d8bf2={};_0x4d8bf2[_0x2cc79c(0x22e)]=_0x13db6a['ykNXm'],PerformanceTester[_0x2cc79c(0x18d)](PerformanceHookEvents[_0x2cc79c(0x177)],![],_0x1dfaec,_0x4d8bf2);}const _0x4be196={};_0x4be196[_0x2cc79c(0x22e)]=_0x13db6a[_0x2cc79c(0x18e)],PerformanceTester[_0x2cc79c(0x18d)](PerformanceHookEvents[_0x2cc79c(0x177)],!![],null,_0x4be196);}),CodeceptJS[_0x2a0152(0x196)]['dispatcher']['on'](CodeceptJS[_0x2a0152(0x196)][_0x2a0152(0x16c)]['before'],_0x580f24=>{const _0x155f76=_0x2a0152,_0x1ad064={};_0x1ad064[_0x155f76(0x22e)]=_0x13db6a[_0x155f76(0x15d)],PerformanceTester[_0x155f76(0x226)](PerformanceHookEvents[_0x155f76(0x177)],()=>{const _0x3db254=_0x155f76;_0x94f16[_0x3db254(0x21b)](_0x580f24);},_0x1ad064)();}),CodeceptJS[_0x2a0152(0x196)][_0x2a0152(0x1d6)]['on'](CodeceptJS[_0x2a0152(0x196)][_0x2a0152(0x16c)][_0x2a0152(0x1d7)],_0x5ae4e1=>{const _0x6d6560=_0x2a0152,_0x5e2a6e={};_0x5e2a6e[_0x6d6560(0x22e)]=_0x13db6a[_0x6d6560(0x157)],PerformanceTester[_0x6d6560(0x226)](PerformanceHookEvents[_0x6d6560(0x177)],()=>{const _0xf4e293=_0x6d6560;_0x94f16[_0xf4e293(0x1d1)](_0x5ae4e1);},_0x5e2a6e)();});};function a1_0x4d08(_0x129f96,_0x26ace0){const _0x4fa8fe=a1_0x4fa8();return a1_0x4d08=function(_0x4d0816,_0x2b420b){_0x4d0816=_0x4d0816-0x154;let _0x1add7e=_0x4fa8fe[_0x4d0816];return _0x1add7e;},a1_0x4d08(_0x129f96,_0x26ace0);}function a1_0x4fa8(){const _0x3f5802=['setSessionName','warn','zUMat','measureWrapper','start','SDK_POST_INITIALIZE','performScan','TEST_SCREENSHOT','WgRIV','captureEvent','JNoLC','hookType','getAccessibilityResultsSummary','thTestRunUuid','toISOString','skipped','EEVJO','gmRwf','WrDDM','qBUuU','2987156uHVLDN','setGlobal','WkjdP','../../bin/playwright/accessibility-helper','QTqfs','executeScript','afterTest','_before','YjUoE','mOJRi','test-started','Failed\x20in\x20sending\x20TestRunFinish\x20event:\x20','GET_RESULTS_SUMMARY','bZikX','debug','nGVBL','BROWSERSTACK_TESTHUB_JWT','thBuildUuid','kHosT','bddStep','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20summary.','prototype','patch','xOglU','accessibilityPlatform','YlVVB','find','__workerDetails','SESSION_NAME','constructor','SDK_HOOK','Playwright','7831125pLABXe','25700536xltdGn','enabled','fghor','HOOK_RUN_STARTED','RRQbM','Puppeteer','getResults','../../helpers/request-spy','before','QnLtc','test-failed','Suite','114TELFNO','XLaJT','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','format','started','fireEvent','QTGgS','end','ykNXm','SDK_PRE_INITIALIZE','../../bin/playwright/sessionDetails','eJBec','qBVCy','browserStackExecuteDriver','shouldWrapCommand','aHPyJ','event','HHzPT','name','wVuzA','slice','214053IJPyzA','codeceptjs/lib/index.js','codeceptjs/lib/helper/WebDriver.js','AVFhm','stringify','Failed\x20in\x20marking\x20session\x20status\x20of\x20test:\x20','UbZmh','info','../../helpers/test-observability/utils','apply','env','wkQij','DRuPX','action','hook','test-passed','5051262aRstXM','exports','stop','YwOYN','currentTest','3054304NSRHgJ','test-before','overwriteCommand','yTYDk','JaHvx','OIEsz','container','pid','../../helpers/performance/performance-tester','Failed\x20to\x20execute\x20_before:\x20','ZHdaC','bind','title','IILfE','SgMPI','startMonitoring','ctx','../../helpers/helper','Element','then','OOfsS','arguments','../../helpers/accessibility-automation/helper','SAVE_RESULTS','saveTestResults','titlePath','SDK_PRE_TEST','SYNC','getAccessibilityResults','jlTRh','command','WebDriver','TEST_LOG','bddStepFinish','TestCafe','BidFu','TEST_RUN_STARTED','iKdLk','dispatcher','after','class','bGYuL','336700CauRbs','restore','screenshotOutputFolder','TEST_RUN_SKIPPED','gussY','vttrc','filter','addRequestSpy','../../helpers/globals.js','ELueG','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','../../helpers/testhub/constants.js','setSessionStatus','passed','uEJcn','stopMonitoring','MfFmv','atcIm','browserstackTestName','browser','testAnalyticsId','captureError','caeqs','HOOK_RUN_FINISHED','PERFORM_SCAN','tZqdF','fbOfm','SDK_POST_TEST','comment','skipSessionStatus','hook-passed','OQswk','commandsToWrap','add','test-skipped','patchSaveScreenshot','XNHpb','INFO','bs:addLog:','util','ENV_VAR','YLSOc','all','DWSrO','SDK_TEST','toString','getSyncScript','../../helpers/accessibility-automation/scripts','SESSION_STATUS','browserstack_executor:\x20','ryAIS','helpers','test-after','codeceptjs','codeceptjs/lib/helper/Playwright.js','skipSessionName','GET_RESULTS','__skipSessionStatus','forEach','deFZU','SsgIk','test','call','bddStep-after','hook-started','bddStepStart','emit','TEST_RUN_FINISHED','bstackAllyScanning','mPYsm','getResultsSummary','JIbEb','AileZ'];a1_0x4fa8=function(){return _0x3f5802;};return a1_0x4fa8();}
|
|
1
|
+
function a1_0x49e1(_0x3b6d14,_0x31fc23){const _0x36c734=a1_0x36c7();return a1_0x49e1=function(_0x49e1b4,_0x35117d){_0x49e1b4=_0x49e1b4-0x11d;let _0x46c348=_0x36c734[_0x49e1b4];return _0x46c348;},a1_0x49e1(_0x3b6d14,_0x31fc23);}const a1_0x33990e=a1_0x49e1;(function(_0x22a2dd,_0x2b899c){const _0x4712c2=a1_0x49e1,_0x373064=_0x22a2dd();while(!![]){try{const _0x3398da=-parseInt(_0x4712c2(0x1cb))/0x1*(-parseInt(_0x4712c2(0x1f7))/0x2)+parseInt(_0x4712c2(0x127))/0x3+-parseInt(_0x4712c2(0x166))/0x4+parseInt(_0x4712c2(0x19a))/0x5*(parseInt(_0x4712c2(0x1bb))/0x6)+parseInt(_0x4712c2(0x178))/0x7+parseInt(_0x4712c2(0x150))/0x8+-parseInt(_0x4712c2(0x1ab))/0x9;if(_0x3398da===_0x2b899c)break;else _0x373064['push'](_0x373064['shift']());}catch(_0x3936ed){_0x373064['push'](_0x373064['shift']());}}}(a1_0x36c7,0xab959));function a1_0x36c7(){const _0x63e502=['captureError','bddStep-after','kreCX','saveTestResults','../../helpers/testhub/constants.js','class','SDK_HOOK','fQAve','base64','startMonitoring','start','bstackAllyScanning','bind','nykir','all','PERFORM_SCAN','10493096uvapVE','../../helpers/performance/constants','SDK_TEST','codeceptjs/lib/helper/WebDriver.js','sdYaK','thBuildUuid','testAnalyticsId','afuJK','pid','gyRfp','MKNsk','browser','skipped','fZcpv','executeScript','lCreE','prototype','DdUxc','QbEKx','forEach','FeDSR','hook-failed','2196216gpirzK','./o11yHelper','overwriteCommand','thTestRunUuid','TEST_RUN_STARTED','./helper.js','Element','fireEvent','_before','oKhMf','Playwright','BdUIT','HOOK_RUN_FINISHED','Failed\x20to\x20execute\x20_before:\x20','Failed\x20in\x20marking\x20session\x20status\x20of\x20test:\x20','failed','filter','enabled','4547305oVuQDm','TEzVH','initSaveScreenshot','apply','SAVE_RESULTS','getResultsSummary','command','step','afterTest','TEST_LOG','getSyncScript','titlePath','LEWsb','uFYbe','../../helpers/accessibility-automation/helper','BrcyP','saveScreenshot','test-skipped','TPbXN','Performing\x20scan\x20for\x20','__driver','QXHyA','arguments','ejvWx','Failed\x20in\x20sending\x20TestRunFinish\x20event:\x20','eGxhI','HVtYQ','OZFFH','end','bs:addLog:','event','axuFv','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','after','177685YxaVTS','browserContext','WgIxH','stop','Screenshot\x20path\x20not\x20found','skipSessionStatus','../../helpers/logger','tsAeY','setGlobal','ueaVE','bddStep-before','SDcgl','comment','helpers','../../bin/playwright/sessionDetails','XOQPd','rGZcs','36515961TidnTM','KChOW','codeceptjs/lib/index.js','../../helpers/accessibility-automation/scripts','util','bhdmk','getAccessibilityResultsSummary','AwoSZ','codeceptjs/lib/helper/Playwright.js','captureEvent','contexts','SSpIf','__workerDetails','WebDriver','readFileSync','SDK_PRE_TEST','198JZOrpC','patch','test-passed','kqBfY','hookType','Bdhqn','SDK_POST_INITIALIZE','SESSION_NAME','utVKU','format','SDK_POST_TEST','reason','hook','ENV_VAR','PvWlc','stopMonitoring','1PqiBur','status','restore','debug','test-before','hook-started','../../helpers/test-observability/utils','GET_RESULTS_SUMMARY','dispatcher','name','test-after','emit','currentTest','winstonLogger','commandsToWrap','slice','../../bin/playwright/accessibility-helper','bddStepFinish','../../helpers/helper','bddStepStart','measureWrapper','ctx','screenshotOutputFolder','TEST_RUN_SKIPPED','exports','FFXRX','step-comment','getResults','jSTtC','browserstack_executor:\x20','stringify','codeceptjs','EhyIP','before','bTZAb','accessibilityPlatform','pZhzt','constructor','fARgZ','LBnaO','add','KWNky','UKBiX','sVyCF','2020052hnwCrL','toISOString','toString','../../helpers/globals.js','setSessionStatus','nWUgL','test-failed','nbrPe','test','hook-passed','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','kgDHz','browserStackExecuteDriver','BROWSERSTACK_TESTHUB_JWT','passed','addRequestSpy','INFO','bddStep','3495579wJpGJE','EnMSm','HOOK_RUN_STARTED','setSessionName','SESSION_STATUS','pBFKc','KAanf','Suite','patchSaveScreenshot','codeceptjs/lib/recorder.js','thJwtToken','vIREz','LFeZd','title','catch','started','bEeim','TEST_RUN_FINISHED','warn','performScan','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20summary.','agSGV','shouldWrapCommand','ljeWD','env'];a1_0x36c7=function(){return _0x63e502;};return a1_0x36c7();}const fs=require('fs'),util=require(a1_0x33990e(0x1af)),{requireModule,markSessionStatus,isUndefined,isTrue,isBrowserstackInfra}=require(a1_0x33990e(0x1dd)),logger=require(a1_0x33990e(0x1a0))[a1_0x33990e(0x1d8)],testOpsHelper=require(a1_0x33990e(0x1d1)),requestSpy=require('../../helpers/request-spy'),PlaywrightSessionDetails=require(a1_0x33990e(0x1a8)),{O11yHelper,TEST_EVENTS,STATE_PASSED,STATE_FAILED}=require(a1_0x33990e(0x167)),{shouldScanTestForAccessibility,isAccessibilityAutomationSession}=require(a1_0x33990e(0x186)),AccessibilityHelper=require(a1_0x33990e(0x1db)),scripts=require(a1_0x33990e(0x1ae)),PerformanceTester=require('../../helpers/performance/performance-tester'),{EVENTS:PerformanceEvents,AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceHookEvents}=require(a1_0x33990e(0x151)),{processWebDriverConfig,shouldPatchExecuteScript}=require(a1_0x33990e(0x16b)),testHubConstants=require(a1_0x33990e(0x144)),globals=require(a1_0x33990e(0x1fa)),CodeceptJS=requireModule(a1_0x33990e(0x1ad),'codeceptjs'),CodeceptUtils=requireModule('codeceptjs/lib/utils.js','codeceptjs'),CodeceptWebDriver=requireModule(a1_0x33990e(0x153),a1_0x33990e(0x1ea)),CodeceptRecorder=requireModule(a1_0x33990e(0x130),a1_0x33990e(0x1ea)),CodeceptPlaywright=requireModule(a1_0x33990e(0x1b3),'codeceptjs'),playwrightMarkSessionStatus=(_0x133bd7,_0x3400f1,_0x7d6826)=>{const _0x30e653=a1_0x33990e,_0x39f937={'lCreE':_0x30e653(0x1fb),'BrcyP':function(_0x102d4f,_0x4beaca){return _0x102d4f(_0x4beaca);}},_0x2a8fcc={};_0x2a8fcc[_0x30e653(0x1cc)]=_0x3400f1;const _0x5deb0b={};_0x5deb0b['action']=_0x39f937[_0x30e653(0x15f)],_0x5deb0b['arguments']=_0x2a8fcc;const _0x397789=_0x5deb0b;return!_0x39f937[_0x30e653(0x187)](isUndefined,_0x7d6826)&&(_0x397789[_0x30e653(0x18e)][_0x30e653(0x1c6)]=JSON[_0x30e653(0x1e9)](_0x7d6826)),_0x133bd7['executeScript'](()=>{},_0x30e653(0x1e8)+JSON['stringify'](_0x397789));},o11ySync=PerformanceTester['measureWrapper'](PerformanceO11yEvents['SYNC'],async _0x4aea6d=>{const _0x48c314=a1_0x33990e,_0x5b5402={};_0x5b5402[_0x48c314(0x13c)]=function(_0x44f2dd,_0x2a1295){return _0x44f2dd===_0x2a1295;},_0x5b5402[_0x48c314(0x1fc)]=_0x48c314(0x170);const _0x2be384=_0x5b5402;_0x2be384[_0x48c314(0x13c)](_0x4aea6d[_0x48c314(0x1f0)][_0x48c314(0x1d4)],_0x2be384[_0x48c314(0x1fc)])?await _0x4aea6d['executeScript'](_0x25806c=>{},testOpsHelper['getSyncScript']()):await _0x4aea6d[_0x48c314(0x15e)](testOpsHelper[_0x48c314(0x182)]());}),markSessionName=PerformanceTester[a1_0x33990e(0x1df)](PerformanceAutEvents[a1_0x33990e(0x1c2)],async(_0x3b7382,_0x1e8709)=>{const _0x36e7b6=a1_0x33990e,_0x1e5483={};_0x1e5483[_0x36e7b6(0x161)]=_0x36e7b6(0x12a),_0x1e5483[_0x36e7b6(0x1e7)]=function(_0xb91cec,_0x2a6793){return _0xb91cec===_0x2a6793;},_0x1e5483[_0x36e7b6(0x1aa)]=_0x36e7b6(0x170);const _0x10f13a=_0x1e5483,_0x40adbf={};_0x40adbf[_0x36e7b6(0x1d4)]=_0x1e8709;const _0x54516b={};_0x54516b['action']=_0x10f13a[_0x36e7b6(0x161)],_0x54516b[_0x36e7b6(0x18e)]=_0x40adbf;const _0x3a1ca3=_0x54516b;_0x10f13a[_0x36e7b6(0x1e7)](_0x3b7382[_0x36e7b6(0x1f0)][_0x36e7b6(0x1d4)],_0x10f13a[_0x36e7b6(0x1aa)])?await _0x3b7382[_0x36e7b6(0x15e)](()=>{},_0x36e7b6(0x1e8)+JSON[_0x36e7b6(0x1e9)](_0x3a1ca3)):await _0x3b7382[_0x36e7b6(0x15e)](_0x36e7b6(0x1e8)+JSON['stringify'](_0x3a1ca3));}),patchSaveScreenshot=_0x436045=>{const _0x7aabb2=a1_0x33990e,_0x4c6a29={'XOQPd':_0x7aabb2(0x148),'pZhzt':'TEST_SCREENSHOT','ueaVE':function(_0x4c5704){return _0x4c5704();},'SSpIf':function(_0x2c0e0e,_0x13b434){return _0x2c0e0e(_0x13b434);},'fARgZ':_0x7aabb2(0x19e)};_0x4c6a29[_0x7aabb2(0x1b6)](isTrue,process[_0x7aabb2(0x13f)]['BS_TESTOPS_ALLOW_SCREENSHOTS'])&&!_0x436045[_0x7aabb2(0x12f)]&&(_0x436045[_0x7aabb2(0x12f)]=!![],_0x436045['initSaveScreenshot']=_0x436045[_0x7aabb2(0x188)],_0x436045[_0x7aabb2(0x188)]=(_0x50dd11,_0x43b327=![])=>{const _0x41c72d=_0x7aabb2,_0x250a55={'xvNfE':_0x4c6a29[_0x41c72d(0x1a9)],'kqBfY':_0x4c6a29[_0x41c72d(0x1ef)],'HVtYQ':function(_0x30a1ba){const _0x11c19a=_0x41c72d;return _0x4c6a29[_0x11c19a(0x1a3)](_0x30a1ba);},'bFvfK':function(_0x47aaf8,_0x1672d0){const _0x235e1e=_0x41c72d;return _0x4c6a29[_0x235e1e(0x1b6)](_0x47aaf8,_0x1672d0);},'sdYaK':_0x4c6a29[_0x41c72d(0x1f1)]};return new Promise(function(_0x3bf156,_0x5e810c){const _0x34c627=_0x41c72d;_0x436045[_0x34c627(0x17a)](_0x50dd11,_0x43b327)['then'](()=>{const _0x4c4579=_0x34c627,_0x5eecfb=CodeceptUtils[_0x4c4579(0x1e1)](_0x50dd11);if(_0x5eecfb){const _0x372b38=fs[_0x4c4579(0x1b9)](_0x5eecfb);process[_0x4c4579(0x1d6)](_0x4c4579(0x195)+process[_0x4c4579(0x158)],{'timestamp':new Date()[_0x4c4579(0x1f8)](),'message':_0x372b38[_0x4c4579(0x1f9)](_0x250a55['xvNfE']),'kind':_0x250a55[_0x4c4579(0x1be)]}),_0x250a55[_0x4c4579(0x192)](_0x3bf156);}_0x250a55['bFvfK'](_0x5e810c,new Error(_0x250a55[_0x4c4579(0x154)]));})[_0x34c627(0x135)](()=>null);});});},patchWebDriverBefore=_0xacd84c=>{const _0x26556b=a1_0x33990e,_0x326d2f={'nbrPe':function(_0x65df3c){return _0x65df3c();},'ljeWD':function(_0x265796,_0x2d15fc){return _0x265796(_0x2d15fc);},'pBFKc':function(_0x523bdb,_0x21eaf4){return _0x523bdb===_0x21eaf4;},'fZcpv':_0x26556b(0x16c)},_0x4d889f=async function(_0x410d84,_0x53c7be){const _0x1946eb=_0x26556b;return _0x326d2f[_0x1946eb(0x1fe)](isAccessibilityAutomationSession)&&!global[_0x1946eb(0x14b)]&&global[_0x1946eb(0x1ee)]&&scripts[_0x1946eb(0x13d)](_0x410d84[_0x1946eb(0x1d4)])&&_0x326d2f[_0x1946eb(0x13e)](shouldPatchExecuteScript,arguments[0x2])&&(global[_0x1946eb(0x14b)]=!![],await PerformanceTester['measureWrapper'](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x578561=_0x1946eb;logger['debug'](_0x578561(0x18b)+_0x410d84[_0x578561(0x145)]+'\x20'+_0x410d84[_0x578561(0x1d4)]),await AccessibilityHelper[_0x578561(0x121)](_0xacd84c,scripts[_0x578561(0x13a)]);},{'command':_0x410d84[_0x1946eb(0x1d4)]})()),global[_0x1946eb(0x14b)]=![],_0x53c7be[_0x1946eb(0x17b)](this,Array[_0x1946eb(0x160)][_0x1946eb(0x1da)]['call'](arguments,0x2));},_0x5c682a=CodeceptWebDriver[_0x26556b(0x160)][_0x26556b(0x16e)];CodeceptWebDriver[_0x26556b(0x160)][_0x26556b(0x16e)]=async function(){const _0x2ac47c=_0x26556b,_0x4215d5={'FeDSR':function(_0x190e43,_0x1771fc){const _0x36b1f7=a1_0x49e1;return _0x326d2f[_0x36b1f7(0x12c)](_0x190e43,_0x1771fc);},'LFeZd':_0x326d2f[_0x2ac47c(0x15d)]};try{await _0x5c682a['apply'](this,arguments);}catch(_0x3a0c49){logger[_0x2ac47c(0x1ce)](_0x2ac47c(0x173)+util[_0x2ac47c(0x1c4)](_0x3a0c49));}scripts[_0x2ac47c(0x1d9)][_0x2ac47c(0x176)](_0x52dd3e=>_0x52dd3e[_0x2ac47c(0x1d4)]&&_0x52dd3e[_0x2ac47c(0x145)])[_0x2ac47c(0x163)](_0x2cca15=>{const _0x4f7d67=_0x2ac47c;this[_0x4f7d67(0x15b)][_0x4f7d67(0x168)](_0x2cca15[_0x4f7d67(0x1d4)],_0x4d889f[_0x4f7d67(0x14c)](this,_0x2cca15),_0x4215d5[_0x4f7d67(0x164)](_0x2cca15[_0x4f7d67(0x145)],_0x4215d5[_0x4f7d67(0x133)]));}),_0x326d2f['ljeWD'](processWebDriverConfig,_0xacd84c);};},patchPlaywrightBefore=()=>{const _0x26541d=a1_0x33990e;PlaywrightSessionDetails[_0x26541d(0x1bc)]();const _0x7a58ed=CodeceptPlaywright[_0x26541d(0x160)]['_before'];CodeceptPlaywright['prototype'][_0x26541d(0x16e)]=async function(){const _0x517e78=_0x26541d;this[_0x517e78(0x19b)]=await this[_0x517e78(0x15b)][_0x517e78(0x1b5)]()[0x0],await _0x7a58ed[_0x517e78(0x17b)](this,arguments);};},getCodeceptDriver=()=>{const _0x5eeb10=a1_0x33990e,_0x27d504={};_0x27d504[_0x5eeb10(0x1b2)]=_0x5eeb10(0x1b8),_0x27d504[_0x5eeb10(0x1f4)]=_0x5eeb10(0x170),_0x27d504[_0x5eeb10(0x128)]='Puppeteer',_0x27d504['SDcgl']='TestCafe';const _0x23da8f=_0x27d504,_0x2fab94=[_0x23da8f[_0x5eeb10(0x1b2)],_0x23da8f[_0x5eeb10(0x1f4)],_0x23da8f[_0x5eeb10(0x128)],_0x23da8f[_0x5eeb10(0x1a5)]],_0x2fc443=_0x2fab94['find'](_0x29e2b8=>!!CodeceptJS['container']['helpers'](_0x29e2b8));if(!_0x2fc443)return null;return CodeceptJS['container'][_0x5eeb10(0x1a7)](_0x2fc443);};module[a1_0x33990e(0x1e3)]=function(_0x5e7bfe){const _0x29d586=a1_0x33990e,_0x380bdf={'OZFFH':function(_0x582433){return _0x582433();},'afuJK':function(_0x1d1d19,_0x55515d){return _0x1d1d19(_0x55515d);},'MKNsk':_0x29d586(0x1b1),'Bdhqn':_0x29d586(0x13b),'QXHyA':'getAccessibilityResults','PvWlc':'Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','jmXpr':function(_0x202899,_0x484fa8){return _0x202899(_0x484fa8);},'oKhMf':_0x29d586(0x1d0),'eGxhI':_0x29d586(0x11e),'utVKU':_0x29d586(0x165),'axuFv':'browserstackTestName','kreCX':function(_0x1c99d5){return _0x1c99d5();},'OyAhG':_0x29d586(0x1cf),'ejvWx':function(_0x126227){return _0x126227();},'WgIxH':function(_0x440d7f,_0xc19046){return _0x440d7f(_0xc19046);},'bhdmk':function(_0x53dfa0,_0x72bfbb,_0x3308c7){return _0x53dfa0(_0x72bfbb,_0x3308c7);},'lkfkT':'test-started','TEzVH':function(_0x52575d,_0x83a6b4,_0xaedebb){return _0x52575d(_0x83a6b4,_0xaedebb);},'QbEKx':_0x29d586(0x1bd),'nWUwG':function(_0x2658f4){return _0x2658f4();},'FFXRX':function(_0x120c91,_0x44d703,_0x5593aa,_0x37eae7){return _0x120c91(_0x44d703,_0x5593aa,_0x37eae7);},'sVyCF':function(_0x2d6331,_0x77c2cc,_0x3069fe,_0x2d0a2a){return _0x2d6331(_0x77c2cc,_0x3069fe,_0x2d0a2a);},'ZgQpp':function(_0x273688,_0x5c2fca){return _0x273688===_0x5c2fca;},'vIREz':_0x29d586(0x12e),'nykir':_0x29d586(0x1fd),'tsAeY':_0x29d586(0x189),'KAanf':_0x29d586(0x180),'kgDHz':function(_0x2dea44){return _0x2dea44();},'Lbrxy':_0x29d586(0x198),'KChOW':_0x29d586(0x1d5),'AUkCi':_0x29d586(0x125),'bTZAb':_0x29d586(0x181),'TPbXN':_0x29d586(0x1e5),'LEWsb':_0x29d586(0x1a4),'BdUIT':_0x29d586(0x141),'UKBiX':'Playwright'};_0x5e7bfe[_0x29d586(0x19f)]&&(global['__skipSessionStatus']=_0x5e7bfe[_0x29d586(0x19f)]);PerformanceTester[_0x29d586(0x149)]();const _0x3a872d=_0x380bdf[_0x29d586(0x120)](getCodeceptDriver),_0x3420a6=new O11yHelper(_0x3a872d,_0x5e7bfe),_0x1b680d=!!CodeceptJS['container']['helpers'](_0x380bdf[_0x29d586(0x1f5)]);global[_0x29d586(0x18c)]=_0x3a872d,_0x3a872d&&(PerformanceTester[_0x29d586(0x1df)](PerformanceEvents['SDK_PRE_INITIALIZE'],()=>{const _0x169b59=_0x29d586;_0x1b680d?_0x380bdf[_0x169b59(0x193)](patchPlaywrightBefore):_0x380bdf[_0x169b59(0x157)](patchWebDriverBefore,_0x3a872d);})(),PerformanceTester[_0x29d586(0x1df)](PerformanceEvents[_0x29d586(0x1c1)],()=>{const _0x1f626f=_0x29d586,_0x27faa2={};_0x27faa2[_0x1f626f(0x159)]=_0x380bdf[_0x1f626f(0x15a)],_0x27faa2[_0x1f626f(0x185)]=_0x380bdf[_0x1f626f(0x1c0)],_0x27faa2[_0x1f626f(0x1eb)]=_0x380bdf[_0x1f626f(0x18d)],_0x27faa2[_0x1f626f(0x147)]=_0x380bdf[_0x1f626f(0x1c9)];const _0x46672c=_0x27faa2;_0x3a872d[_0x1f626f(0x1b1)]=async()=>{const _0x2ef419=_0x1f626f;if(global[_0x2ef419(0x1ee)]){const _0x28d494={};_0x28d494['command']=_0x46672c['gyRfp'],await PerformanceTester[_0x2ef419(0x1df)](PerformanceA11yEvents[_0x2ef419(0x14f)],async()=>{const _0x465738=_0x2ef419;await AccessibilityHelper[_0x465738(0x121)](_0x3a872d,scripts['performScan']);},_0x28d494)(),await PerformanceTester[_0x2ef419(0x1df)](PerformanceA11yEvents[_0x2ef419(0x1d2)],async()=>{const _0x5a5a93=_0x2ef419;await AccessibilityHelper[_0x5a5a93(0x121)](_0x3a872d,scripts[_0x5a5a93(0x17d)]);})();}else return logger['warn'](_0x46672c['uFYbe']),{};},_0x3a872d['getAccessibilityResults']=async()=>{const _0x3969ed=_0x1f626f;if(global[_0x3969ed(0x1ee)]){const _0x5d2d6a={};_0x5d2d6a['command']=_0x46672c[_0x3969ed(0x1eb)],await PerformanceTester[_0x3969ed(0x1df)](PerformanceA11yEvents[_0x3969ed(0x14f)],async()=>{const _0x469d69=_0x3969ed;await AccessibilityHelper['browserStackExecuteDriver'](_0x3a872d,scripts[_0x469d69(0x13a)]);},_0x5d2d6a)(),await PerformanceTester[_0x3969ed(0x1df)](PerformanceA11yEvents['GET_RESULTS'],async()=>{const _0x41ae93=_0x3969ed;await AccessibilityHelper[_0x41ae93(0x121)](_0x3a872d,scripts[_0x41ae93(0x1e6)]);})();}else return logger[_0x3969ed(0x139)](_0x46672c[_0x3969ed(0x147)]),{};},_0x380bdf['jmXpr'](patchSaveScreenshot,_0x3a872d);})()),CodeceptJS[_0x29d586(0x196)]['dispatcher']['on'](CodeceptJS[_0x29d586(0x196)][_0x29d586(0x14e)][_0x29d586(0x1ec)],()=>{const _0x389f30=_0x29d586;PerformanceTester[_0x389f30(0x14a)](PerformanceEvents[_0x389f30(0x1ba)]);try{_0x3420a6[_0x389f30(0x14a)](),testOpsHelper[_0x389f30(0x124)](),PerformanceTester[_0x389f30(0x194)](PerformanceEvents[_0x389f30(0x1ba)]);}catch(_0x49dc26){PerformanceTester[_0x389f30(0x140)](_0x49dc26),PerformanceTester[_0x389f30(0x194)](PerformanceEvents[_0x389f30(0x1ba)],![],_0x49dc26);}}),CodeceptJS[_0x29d586(0x196)][_0x29d586(0x1d3)]['on'](CodeceptJS['event'][_0x29d586(0x14e)]['after'],async()=>{const _0x5b5a32=_0x29d586;PerformanceTester[_0x5b5a32(0x14a)](PerformanceEvents['SDK_POST_TEST']);try{requestSpy[_0x5b5a32(0x1cd)](),await _0x3420a6[_0x5b5a32(0x19d)](),PerformanceTester['end'](PerformanceEvents[_0x5b5a32(0x1c5)]);}catch(_0x3234d3){PerformanceTester[_0x5b5a32(0x140)](_0x3234d3),PerformanceTester[_0x5b5a32(0x194)](PerformanceEvents[_0x5b5a32(0x1c5)],![],_0x3234d3);}finally{PerformanceTester[_0x5b5a32(0x1ca)]();}}),CodeceptJS[_0x29d586(0x196)][_0x29d586(0x1d3)]['on'](CodeceptJS[_0x29d586(0x196)][_0x29d586(0x1c7)][_0x29d586(0x136)],_0x3e8c03=>{const _0x5550da=_0x29d586;PerformanceTester[_0x5550da(0x14a)](PerformanceEvents[_0x5550da(0x146)]);try{const _0x22436b=_0x3e8c03['ctx'][_0x5550da(0x11d)],_0x53967e=_0x3420a6[_0x5550da(0x1b4)](TEST_EVENTS[_0x5550da(0x129)],_0x22436b);CodeceptRecorder['add'](()=>_0x3420a6[_0x5550da(0x16d)](TEST_EVENTS[_0x5550da(0x129)],_0x53967e));const _0x1ec8e8={};_0x1ec8e8[_0x5550da(0x1bf)]=_0x380bdf[_0x5550da(0x16f)],PerformanceTester[_0x5550da(0x194)](PerformanceEvents[_0x5550da(0x146)],!![],null,_0x1ec8e8);}catch(_0x41a965){const _0x2cc89b={};_0x2cc89b[_0x5550da(0x1bf)]=_0x380bdf[_0x5550da(0x16f)],PerformanceTester['end'](PerformanceEvents['SDK_HOOK'],![],_0x41a965,_0x2cc89b),PerformanceTester[_0x5550da(0x140)](_0x41a965);}}),CodeceptJS[_0x29d586(0x196)][_0x29d586(0x1d3)]['on'](CodeceptJS[_0x29d586(0x196)][_0x29d586(0x1c7)][_0x29d586(0x123)],_0x4241cd=>{const _0x50e042=_0x29d586,_0x59cbd5={};_0x59cbd5[_0x50e042(0x1bf)]=_0x380bdf[_0x50e042(0x191)],PerformanceTester[_0x50e042(0x14a)](PerformanceHookEvents[_0x50e042(0x146)],!![],null,_0x59cbd5);try{const _0x1a29e3=_0x4241cd[_0x50e042(0x1e0)]['test'],_0x3ef846=_0x3420a6[_0x50e042(0x1b4)](TEST_EVENTS[_0x50e042(0x172)],_0x1a29e3);CodeceptRecorder[_0x50e042(0x1f3)](()=>_0x3420a6[_0x50e042(0x16d)](TEST_EVENTS[_0x50e042(0x172)],_0x3ef846));const _0x4c40dc={};_0x4c40dc['hookType']=_0x380bdf['eGxhI'],PerformanceTester[_0x50e042(0x194)](PerformanceHookEvents[_0x50e042(0x146)],!![],null,_0x4c40dc);}catch(_0x377914){PerformanceTester[_0x50e042(0x140)](_0x377914);const _0x2e81c5={};_0x2e81c5[_0x50e042(0x1bf)]=_0x380bdf[_0x50e042(0x191)],PerformanceTester[_0x50e042(0x194)](PerformanceHookEvents[_0x50e042(0x146)],![],_0x377914,_0x2e81c5);}}),CodeceptJS[_0x29d586(0x196)][_0x29d586(0x1d3)]['on'](CodeceptJS[_0x29d586(0x196)]['hook'][_0x29d586(0x175)],async(_0x4acdf1,_0x4f3479)=>{const _0xfd4650=_0x29d586;PerformanceTester['start'](PerformanceHookEvents[_0xfd4650(0x146)]);try{const _0x207251=_0x4acdf1[_0xfd4650(0x1e0)][_0xfd4650(0x11d)],_0x5727ae=_0x3420a6[_0xfd4650(0x1b4)](TEST_EVENTS[_0xfd4650(0x172)],_0x207251,_0x4f3479);CodeceptRecorder[_0xfd4650(0x1f3)](()=>_0x3420a6['fireEvent'](TEST_EVENTS['HOOK_RUN_FINISHED'],_0x5727ae));const _0x547820={};_0x547820['hookType']=_0x380bdf[_0xfd4650(0x1c3)],PerformanceTester[_0xfd4650(0x14a)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x547820);}catch(_0x26ef26){PerformanceTester[_0xfd4650(0x140)](_0x26ef26);const _0x713a47={};_0x713a47['hookType']=_0x380bdf[_0xfd4650(0x1c3)],PerformanceTester[_0xfd4650(0x194)](PerformanceHookEvents['SDK_HOOK'],![],_0x26ef26,_0x713a47);}const _0x53167f={};_0x53167f[_0xfd4650(0x1bf)]=_0x380bdf[_0xfd4650(0x1c3)],PerformanceTester[_0xfd4650(0x194)](PerformanceHookEvents[_0xfd4650(0x146)],!![],null,_0x53167f);}),CodeceptJS[_0x29d586(0x196)][_0x29d586(0x1d3)]['on'](CodeceptJS['event'][_0x29d586(0x11d)][_0x29d586(0x1ec)],_0xc09683=>{const _0x358106=_0x29d586;PerformanceTester['start'](PerformanceHookEvents[_0x358106(0x146)]);try{globals[_0x358106(0x1a2)](_0x380bdf['axuFv'],_0xc09683['title']);_0x380bdf[_0x358106(0x142)](isBrowserstackInfra)&&(_0x1b680d&&(global[_0x358106(0x1b7)]={'currentTest':{'name':_0xc09683[_0x358106(0x134)],'testInfo':{'titlePath':_0xc09683[_0x358106(0x183)]()}}}));const _0x3f1ea0={};_0x3f1ea0['hookType']=_0x380bdf['OyAhG'],PerformanceTester[_0x358106(0x194)](PerformanceHookEvents[_0x358106(0x146)],!![],null,_0x3f1ea0);}catch(_0x41af49){PerformanceTester['captureError'](_0x41af49);const _0x8f653c={};_0x8f653c[_0x358106(0x1bf)]=_0x380bdf['OyAhG'],PerformanceTester[_0x358106(0x194)](PerformanceHookEvents['SDK_HOOK'],![],_0x41af49,_0x8f653c);}}),CodeceptJS[_0x29d586(0x196)]['dispatcher']['on'](CodeceptJS[_0x29d586(0x196)][_0x29d586(0x11d)][_0x29d586(0x136)],_0x1eab75=>{const _0x4d8863=_0x29d586;PerformanceTester[_0x4d8863(0x14a)](PerformanceHookEvents[_0x4d8863(0x146)]);try{globals[_0x4d8863(0x1a2)](_0x380bdf[_0x4d8863(0x197)],_0x1eab75[_0x4d8863(0x134)]);const _0x38b2e1=_0x3420a6[_0x4d8863(0x1b4)](TEST_EVENTS[_0x4d8863(0x16a)],_0x1eab75);CodeceptRecorder[_0x4d8863(0x1f3)](()=>_0x3420a6[_0x4d8863(0x16d)](TEST_EVENTS[_0x4d8863(0x16a)],_0x38b2e1)),CodeceptRecorder['add'](async()=>{const _0x4972e4=_0x4d8863;_0x380bdf[_0x4972e4(0x18f)](isBrowserstackInfra)&&(!_0x380bdf[_0x4972e4(0x19c)](isTrue,_0x5e7bfe['skipSessionName'])&&await _0x380bdf[_0x4972e4(0x1b0)](markSessionName,_0x3a872d,_0x1eab75[_0x4972e4(0x134)]),_0x3420a6[_0x4972e4(0x177)]&&await _0x380bdf['WgIxH'](o11ySync,_0x3a872d));});}catch(_0x151d80){const _0x3a1331={};_0x3a1331[_0x4d8863(0x1bf)]=_0x380bdf['lkfkT'],PerformanceTester['end'](PerformanceHookEvents['SDK_HOOK'],![],_0x151d80,_0x3a1331),PerformanceTester['captureError'](_0x151d80);}const _0x58f6d5={};_0x58f6d5[_0x4d8863(0x1bf)]=_0x380bdf['lkfkT'],PerformanceTester['end'](PerformanceHookEvents[_0x4d8863(0x146)],!![],null,_0x58f6d5);}),CodeceptJS[_0x29d586(0x196)]['dispatcher']['on'](CodeceptJS[_0x29d586(0x196)][_0x29d586(0x11d)][_0x29d586(0x123)],_0x58a8f8=>{const _0x384424=_0x29d586,_0x5a721f={'KXItM':function(_0x3d2c89,_0x7d64f6,_0x468563){return _0x380bdf['TEzVH'](_0x3d2c89,_0x7d64f6,_0x468563);},'bEeim':function(_0x1281c3,_0x4642de,_0x5cc6cb){const _0x1c10fe=a1_0x49e1;return _0x380bdf[_0x1c10fe(0x179)](_0x1281c3,_0x4642de,_0x5cc6cb);},'LBnaO':function(_0x41e284){return _0x380bdf['ejvWx'](_0x41e284);}};PerformanceTester[_0x384424(0x14a)](PerformanceHookEvents[_0x384424(0x146)]);try{const _0x2b501c=_0x3420a6[_0x384424(0x1b4)](TEST_EVENTS['TEST_RUN_FINISHED'],_0x58a8f8);CodeceptRecorder[_0x384424(0x1f3)](()=>_0x3420a6[_0x384424(0x16d)](TEST_EVENTS['TEST_RUN_FINISHED'],_0x2b501c)),CodeceptRecorder['add'](async()=>{const _0x468015=_0x384424;_0x5a721f[_0x468015(0x1f2)](isBrowserstackInfra)&&await PerformanceTester[_0x468015(0x1df)](PerformanceAutEvents[_0x468015(0x12b)],async()=>{const _0x2dc8ef=_0x468015;_0x1b680d?await _0x5a721f['KXItM'](playwrightMarkSessionStatus,_0x3a872d,STATE_PASSED):await _0x5a721f[_0x2dc8ef(0x137)](markSessionStatus,_0x3a872d,STATE_PASSED);})();}),PerformanceTester['end'](PerformanceEvents[_0x384424(0x152)]);}catch(_0x556d37){PerformanceTester[_0x384424(0x140)](_0x556d37);const _0x155e72={};_0x155e72[_0x384424(0x1bf)]=_0x380bdf[_0x384424(0x162)],PerformanceTester['end'](PerformanceHookEvents['SDK_HOOK'],![],_0x556d37,_0x155e72),PerformanceTester['end'](PerformanceEvents[_0x384424(0x152)],![],_0x556d37);}const _0x13233f={};_0x13233f['hookType']=_0x380bdf[_0x384424(0x162)],PerformanceTester[_0x384424(0x194)](PerformanceHookEvents[_0x384424(0x146)],!![],null,_0x13233f);}),CodeceptJS[_0x29d586(0x196)][_0x29d586(0x1d3)]['on'](CodeceptJS[_0x29d586(0x196)][_0x29d586(0x11d)][_0x29d586(0x175)],(_0x39dd46,_0xc8ebae)=>{const _0x252ea4=_0x29d586;PerformanceTester[_0x252ea4(0x14a)](PerformanceHookEvents[_0x252ea4(0x146)]);try{if(_0x380bdf['ZgQpp'](_0x39dd46['constructor'][_0x252ea4(0x1d4)],_0x380bdf[_0x252ea4(0x132)])){const _0x4bfb88=_0x3420a6[_0x252ea4(0x1b4)](TEST_EVENTS[_0x252ea4(0x1e2)],_0x39dd46['ctx'][_0x252ea4(0x1d7)]);CodeceptRecorder[_0x252ea4(0x1f3)](()=>_0x3420a6['fireEvent'](TEST_EVENTS[_0x252ea4(0x1e2)],_0x4bfb88));}else{const _0x4e416d=_0x3420a6[_0x252ea4(0x1b4)](TEST_EVENTS[_0x252ea4(0x138)],_0x39dd46,_0xc8ebae);CodeceptRecorder[_0x252ea4(0x1f3)](()=>{const _0x55e978=_0x252ea4;try{_0x3420a6[_0x55e978(0x16d)](TEST_EVENTS['TEST_RUN_FINISHED'],_0x4e416d);}catch(_0x2520d9){logger[_0x55e978(0x1ce)](_0x55e978(0x190)+util[_0x55e978(0x1c4)](_0x2520d9)),PerformanceTester[_0x55e978(0x194)](PerformanceEvents[_0x55e978(0x152)],![],_0x2520d9);}}),CodeceptRecorder[_0x252ea4(0x1f3)](async()=>{const _0x58d97b=_0x252ea4;try{_0x380bdf['nWUwG'](isBrowserstackInfra)&&(_0x1b680d?await _0x380bdf[_0x58d97b(0x1e4)](playwrightMarkSessionStatus,_0x3a872d,STATE_FAILED,_0xc8ebae):await _0x380bdf[_0x58d97b(0x1f6)](markSessionStatus,_0x3a872d,STATE_FAILED,_0xc8ebae));}catch(_0x1fd20c){logger[_0x58d97b(0x1ce)](_0x58d97b(0x174)+util[_0x58d97b(0x1c4)](_0x1fd20c)),PerformanceTester[_0x58d97b(0x194)](PerformanceEvents[_0x58d97b(0x152)],![],_0x1fd20c);}});}PerformanceTester['end'](PerformanceEvents[_0x252ea4(0x152)]);}catch(_0x41b00d){PerformanceTester[_0x252ea4(0x140)](_0x41b00d);const _0x10163d={};_0x10163d[_0x252ea4(0x1bf)]=_0x380bdf['nykir'],PerformanceTester[_0x252ea4(0x194)](PerformanceHookEvents[_0x252ea4(0x146)],![],_0x41b00d,_0x10163d),PerformanceTester[_0x252ea4(0x194)](PerformanceEvents[_0x252ea4(0x152)],![],_0x41b00d);}const _0x536d8b={};_0x536d8b[_0x252ea4(0x1bf)]=_0x380bdf[_0x252ea4(0x14d)],PerformanceTester['end'](PerformanceHookEvents[_0x252ea4(0x146)],!![],null,_0x536d8b);}),CodeceptJS['event'][_0x29d586(0x1d3)]['on'](CodeceptJS['event'][_0x29d586(0x11d)][_0x29d586(0x15c)],_0x5112d9=>{const _0xfbd0c1=_0x29d586;PerformanceTester[_0xfbd0c1(0x14a)](PerformanceHookEvents[_0xfbd0c1(0x146)]);try{const _0xf6a057=_0x3420a6[_0xfbd0c1(0x1b4)](TEST_EVENTS[_0xfbd0c1(0x1e2)],_0x5112d9);CodeceptRecorder[_0xfbd0c1(0x1f3)](()=>_0x3420a6[_0xfbd0c1(0x16d)](TEST_EVENTS[_0xfbd0c1(0x1e2)],_0xf6a057)),PerformanceTester[_0xfbd0c1(0x194)](PerformanceEvents[_0xfbd0c1(0x152)]);}catch(_0x489271){PerformanceTester[_0xfbd0c1(0x140)](_0x489271),PerformanceTester[_0xfbd0c1(0x194)](PerformanceEvents[_0xfbd0c1(0x152)],![],_0x489271);const _0x2fd60d={};_0x2fd60d[_0xfbd0c1(0x1bf)]=_0x380bdf[_0xfbd0c1(0x1a1)],PerformanceTester['end'](PerformanceHookEvents['SDK_HOOK'],![],_0x489271,_0x2fd60d);}const _0x4a68db={};_0x4a68db[_0xfbd0c1(0x1bf)]=_0x380bdf['tsAeY'],PerformanceTester['end'](PerformanceHookEvents[_0xfbd0c1(0x146)],!![],null,_0x4a68db);}),CodeceptJS['event'][_0x29d586(0x1d3)]['on'](CodeceptJS['event'][_0x29d586(0x11d)][_0x29d586(0x199)],async(_0x2e4d00,_0x489553)=>{const _0x2b25cd=_0x29d586;try{PerformanceTester['start'](PerformanceHookEvents[_0x2b25cd(0x146)]);const _0x5b9c54=_0x380bdf[_0x2b25cd(0x1b0)](shouldScanTestForAccessibility,_0x2e4d00[_0x2b25cd(0x183)](),!![]);if(_0x380bdf[_0x2b25cd(0x120)](isAccessibilityAutomationSession)&&global[_0x2b25cd(0x1ee)]&&_0x5b9c54){const _0xb9408f={};_0xb9408f[_0x2b25cd(0x169)]=_0x2e4d00[_0x2b25cd(0x156)],_0xb9408f[_0x2b25cd(0x155)]=process[_0x2b25cd(0x13f)][testHubConstants[_0x2b25cd(0x1c8)]['BROWSERSTACK_TESTHUB_UUID']],_0xb9408f[_0x2b25cd(0x131)]=process[_0x2b25cd(0x13f)][testHubConstants[_0x2b25cd(0x1c8)][_0x2b25cd(0x122)]];const _0x1661dc=_0xb9408f;logger[_0x2b25cd(0x1ce)](_0x2b25cd(0x11f)+JSON['stringify'](_0x1661dc)),CodeceptRecorder['add'](async()=>{const _0x5bf285=_0x2b25cd,_0x1f0e68={};_0x1f0e68[_0x5bf285(0x17e)]=_0x380bdf[_0x5bf285(0x12d)],await PerformanceTester[_0x5bf285(0x1df)](PerformanceA11yEvents[_0x5bf285(0x14f)],async()=>{const _0x2e4bbc=_0x5bf285;await AccessibilityHelper[_0x2e4bbc(0x121)](_0x3a872d,scripts[_0x2e4bbc(0x13a)]);},_0x1f0e68)(),await PerformanceTester[_0x5bf285(0x1df)](PerformanceA11yEvents[_0x5bf285(0x17c)],async()=>{const _0x49e1e3=_0x5bf285;await AccessibilityHelper[_0x49e1e3(0x121)](_0x3a872d,scripts[_0x49e1e3(0x143)],_0x1661dc);})();}),logger['info'](_0x380bdf['Lbrxy']);}const _0x1522ef={};_0x1522ef[_0x2b25cd(0x1bf)]=_0x380bdf[_0x2b25cd(0x1ac)],PerformanceTester[_0x2b25cd(0x194)](PerformanceHookEvents[_0x2b25cd(0x146)],!![],null,_0x1522ef);}catch(_0x1b29af){PerformanceTester[_0x2b25cd(0x140)](_0x1b29af);const _0x221f05={};_0x221f05[_0x2b25cd(0x1bf)]=_0x380bdf['KChOW'],PerformanceTester['end'](PerformanceHookEvents[_0x2b25cd(0x146)],![],_0x1b29af,_0x221f05);}}),CodeceptJS[_0x29d586(0x196)][_0x29d586(0x1d3)]['on'](CodeceptJS['event'][_0x29d586(0x17f)][_0x29d586(0x1a6)],_0x6f9f81=>{const _0x52eefb=_0x29d586;PerformanceTester[_0x52eefb(0x14a)](PerformanceHookEvents['SDK_HOOK']);try{process[_0x52eefb(0x1d6)](_0x52eefb(0x195)+process[_0x52eefb(0x158)],{'timestamp':new Date()[_0x52eefb(0x1f8)](),'level':_0x380bdf['AUkCi'],'message':_0x6f9f81,'kind':_0x380bdf[_0x52eefb(0x1ed)],'http_response':{}});}catch(_0x5911d3){PerformanceTester[_0x52eefb(0x140)](_0x5911d3);const _0x3a1d63={};_0x3a1d63[_0x52eefb(0x1bf)]=_0x380bdf['TPbXN'],PerformanceTester[_0x52eefb(0x194)](PerformanceHookEvents[_0x52eefb(0x146)],![],_0x5911d3,_0x3a1d63);}const _0x56d8c5={};_0x56d8c5[_0x52eefb(0x1bf)]=_0x380bdf[_0x52eefb(0x18a)],PerformanceTester['end'](PerformanceHookEvents[_0x52eefb(0x146)],!![],null,_0x56d8c5);}),CodeceptJS['event'][_0x29d586(0x1d3)]['on'](CodeceptJS[_0x29d586(0x196)]['bddStep'][_0x29d586(0x1ec)],_0x5d25dd=>{const _0x39e486=_0x29d586,_0x1d689c={};_0x1d689c[_0x39e486(0x1bf)]=_0x380bdf[_0x39e486(0x184)],PerformanceTester[_0x39e486(0x1df)](PerformanceHookEvents[_0x39e486(0x146)],()=>{const _0x3be696=_0x39e486;_0x3420a6[_0x3be696(0x1de)](_0x5d25dd);},_0x1d689c)();}),CodeceptJS[_0x29d586(0x196)][_0x29d586(0x1d3)]['on'](CodeceptJS['event'][_0x29d586(0x126)][_0x29d586(0x199)],_0x549027=>{const _0x34dd2b=_0x29d586,_0x43f8e0={};_0x43f8e0[_0x34dd2b(0x1bf)]=_0x380bdf[_0x34dd2b(0x171)],PerformanceTester[_0x34dd2b(0x1df)](PerformanceHookEvents[_0x34dd2b(0x146)],()=>{const _0x48266e=_0x34dd2b;_0x3420a6[_0x48266e(0x1dc)](_0x549027);},_0x43f8e0)();});};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a2_0x3a7a09=a2_0x44b1;function a2_0xdf93(){const _0x4fec0a=['result','SDK_CLEANUP','skipSessionName','skipSessionStatus','webkit','desiredCapabilities','3614724NqKHSm','Getting\x20your\x20codeceptjs\x20configs\x20from\x20','5UzFGPa','getPlaywrightUrl','BrowserStackPlugin.js','887528dGvhoR','BROWSERSTACK_TEST_ACCESSIBILITY_YML','getPlatformName','DOnKR','BROWSERSTACK_TEST_OBSERVABILITY_YML','map','bootstrapAll','findIndex','codeceptjs','teardownAll','testObservability','--config','now','isEmpty','push','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','finalExecution','rTFMm','uNknD','browserWSEndpoint','playwright-webkit','chrome','tpJNf','../../helpers/performance/constants','event','WebDriver','browserStackCwd','title','exports','dmivc','errorMessage','accessibilityOptions','toLowerCase','SFEdo','join','setAdditionalCapabilities','../../bin/playwright/accessibility-helper','itQQL','before','userName','codecept.conf.js','5367621EgPWbW','printResults','spawn','VbcOY','Playwright','45732kxQWQx','jFaLB','npiyK','../../helpers/testhub/testhubHandler','existsSync','helpers','root','27691130LbqYAg','/wd/hub','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','../../helpers/performance/performance-tester','Workers','SDK_SETUP','length','stack','Started\x20:\x20','forEach','split','cwd','isTestObservabilitySession','accessibility','xsqZz','load','key','accessKey','stringify','trim','assign','../../helpers/BrowserStackSetup','3702048kYWAjf','../utils/constants','wAHyk','FRAMEWORKS','end','path','4|5|1|2|0|3','SChoA','36TaKFpv','EVENTS','codeceptjs/lib/index.js','log','all','process','Failed\x20:\x20','testConfig','plugins','AejAY','Passed\x20:\x20','printBuildLink','isUndefined','testContextOptions','mergeDeep','BrowserStackPlugin','../../helpers/helper','info','replace','profile','gherkin','../../helpers/utilities','UeyxV','kLBgc','initialize','failed','MOrnz','test','playwright-chromium','chdir','rQtBB','ofikg','launchBuild','FVKky','uefJM','BROWSERSTACK_RERUN_TESTS','validPlatformsPresent','getUserWorkerCount','SkctT','browserName','vWSjP','dirname','CODECEPT_CUCUMBER','config','winstonLogger','965385NSgvAd','icSIt','prepareCapabilities','addOptions','env','addTests','CODECEPT','9qrkLFz','platforms','isTrue','addConfig','err','enabled','browser','11OwLrKs'];a2_0xdf93=function(){return _0x4fec0a;};return a2_0xdf93();}(function(_0x1cea67,_0x53d131){const _0x56ec50=a2_0x44b1,_0x5bf03d=_0x1cea67();while(!![]){try{const _0x23677d=parseInt(_0x56ec50(0x14d))/0x1*(parseInt(_0x56ec50(0x172))/0x2)+parseInt(_0x56ec50(0x19f))/0x3+parseInt(_0x56ec50(0x16a))/0x4+-parseInt(_0x56ec50(0x11c))/0x5*(-parseInt(_0x56ec50(0x11a))/0x6)+parseInt(_0x56ec50(0x148))/0x7+-parseInt(_0x56ec50(0x11f))/0x8*(parseInt(_0x56ec50(0x1a6))/0x9)+-parseInt(_0x56ec50(0x154))/0xa*(parseInt(_0x56ec50(0x1ad))/0xb);if(_0x23677d===_0x53d131)break;else _0x5bf03d['push'](_0x5bf03d['shift']());}catch(_0x57710e){_0x5bf03d['push'](_0x5bf03d['shift']());}}}(a2_0xdf93,0x88a46));function a2_0x44b1(_0x49ce2d,_0x38c527){const _0xdf932=a2_0xdf93();return a2_0x44b1=function(_0x44b194,_0x2d028c){_0x44b194=_0x44b194-0x119;let _0x1d2d5c=_0xdf932[_0x44b194];return _0x1d2d5c;},a2_0x44b1(_0x49ce2d,_0x38c527);}const fs=require('fs'),path=require('path'),util=require('util'),process=require(a2_0x3a7a09(0x177)),logger=require('../../helpers/logger')[a2_0x3a7a09(0x19e)],{default:BrowserStackSetup}=require(a2_0x3a7a09(0x169)),helper=require(a2_0x3a7a09(0x182)),utilities=require(a2_0x3a7a09(0x187)),{checkAccessibilityPlatformConfig}=require('../../helpers/accessibility-automation/helper'),{setAccessibilityCapabilities}=require(a2_0x3a7a09(0x143)),{requireModule,nestedKeyValue,isBrowserstackInfra}=require('../../helpers/helper'),CodeceptJS=requireModule(a2_0x3a7a09(0x174),a2_0x3a7a09(0x127)),testOpsHelper=require('../../helpers/test-observability/utils'),TestHubHandler=require(a2_0x3a7a09(0x150)),constants=require(a2_0x3a7a09(0x16b)),PerformanceTester=require(a2_0x3a7a09(0x157)),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),PerformanceEvents=require(a2_0x3a7a09(0x136))[a2_0x3a7a09(0x173)],_testErrorData=[],getUserCodeceptJSConfigs=(_0x3e96e6,_0x282b8e)=>{const _0x32360d=a2_0x3a7a09,_0x17395f={};_0x17395f[_0x32360d(0x162)]=function(_0xac1ab4,_0x5d1ebb){return _0xac1ab4===_0x5d1ebb;},_0x17395f[_0x32360d(0x19a)]=_0x32360d(0x147),_0x17395f[_0x32360d(0x198)]='codecept.json';const _0xf77053=_0x17395f;let _0x1f4fdf=null;const _0x50c900={};let _0x4eb5d9=_0x282b8e[_0x32360d(0x126)](_0x585cbb=>_0x585cbb===_0x32360d(0x12a));_0xf77053[_0x32360d(0x162)](_0x4eb5d9,-0x1)&&(_0x4eb5d9=_0x282b8e[_0x32360d(0x126)](_0x3e134f=>_0x3e134f==='-c'));if(!helper[_0x32360d(0x17e)](_0x3e96e6['config'])&&fs['existsSync'](path['join'](process[_0x32360d(0x15f)](),_0x3e96e6[_0x32360d(0x19d)])))_0x1f4fdf=path[_0x32360d(0x141)](process[_0x32360d(0x15f)](),_0x3e96e6[_0x32360d(0x19d)]),_0x282b8e['slice'](_0x4eb5d9,0x2);else{if(!helper[_0x32360d(0x17e)](_0x3e96e6['c'])&&fs[_0x32360d(0x151)](path[_0x32360d(0x141)](process[_0x32360d(0x15f)](),_0x3e96e6['c'])))_0x1f4fdf=path[_0x32360d(0x141)](process[_0x32360d(0x15f)](),_0x3e96e6['c']),_0x282b8e['slice'](_0x4eb5d9,0x2);else{if(fs['existsSync'](path['join'](process['cwd'](),_0xf77053[_0x32360d(0x19a)])))_0x1f4fdf=path['join'](process[_0x32360d(0x15f)](),_0xf77053[_0x32360d(0x19a)]);else fs[_0x32360d(0x151)](path['join'](process[_0x32360d(0x15f)](),_0xf77053[_0x32360d(0x198)]))&&(_0x1f4fdf=path['join'](process[_0x32360d(0x15f)](),_0xf77053[_0x32360d(0x198)]));}}return process[_0x32360d(0x1a3)]['USER_CONFIG_DETAILS_PATH']=_0x1f4fdf,_0x1f4fdf;},getO11yRerunPattern=()=>{const _0x2be276=a2_0x3a7a09,_0x276dc7=helper[_0x2be276(0x1a8)](process[_0x2be276(0x1a3)]['BROWSERSTACK_RERUN']);if(_0x276dc7){const _0x903cc0=process[_0x2be276(0x1a3)][_0x2be276(0x195)],_0x85ac98=[];if(helper['validateRerunTestList'](_0x903cc0)&&!helper[_0x2be276(0x17e)](_0x903cc0)){_0x903cc0['split'](',')[_0x2be276(0x124)](_0x2ceffa=>{const _0x3996d0=_0x2be276;_0x85ac98['push']('('+_0x2ceffa[_0x3996d0(0x167)]()+')');});const _0x2d94d0='^'+_0x85ac98[_0x2be276(0x141)]('|')+'$';return _0x2d94d0;}}return null;},a2_0x18a831={};a2_0x18a831[a2_0x3a7a09(0x134)]='chromium',a2_0x18a831[a2_0x3a7a09(0x18e)]='chromium',a2_0x18a831['playwright-firefox']='firefox',a2_0x18a831[a2_0x3a7a09(0x133)]=a2_0x3a7a09(0x1b2);const pwToCodeceptBrowser=a2_0x18a831;async function run(_0x13a2d2,_0x429f4b,_0xaf9967){const _0x39cea6=a2_0x3a7a09,_0x8cfeb={'FVKky':function(_0x1abd3e,_0x2f3f39){return _0x1abd3e+_0x2f3f39;},'uNknD':function(_0x41df94,_0x500b47){return _0x41df94(_0x500b47);},'icSIt':function(_0x13a969,_0x578d83){return _0x13a969+_0x578d83;},'aFBVT':function(_0x45bc45,_0x18a8ba,_0x5101ba){return _0x45bc45(_0x18a8ba,_0x5101ba);},'tpJNf':_0x39cea6(0x152),'rTFMm':function(_0x8fc041){return _0x8fc041();},'SHzak':_0x39cea6(0x155),'wAHyk':_0x39cea6(0x178),'SpIuA':_0x39cea6(0x17c),'uefJM':_0x39cea6(0x15c),'ByAIv':_0x39cea6(0x170),'ofikg':_0x39cea6(0x12e),'jFaLB':function(_0x170360,_0x310fab,_0x4a71e7){return _0x170360(_0x310fab,_0x4a71e7);},'AejAY':_0x39cea6(0x14c),'SFEdo':_0x39cea6(0x138),'MOrnz':function(_0x4f0221,_0x252f53){return _0x4f0221!=_0x252f53;},'kLBgc':function(_0x26e385,_0x18a09b){return _0x26e385===_0x18a09b;},'rQtBB':function(_0x17e706,_0x2ed7da,_0x54989f){return _0x17e706(_0x2ed7da,_0x54989f);},'QKMYZ':_0x39cea6(0x186),'npiyK':function(_0x4a5bdf,_0x58e8cf){return _0x4a5bdf*_0x58e8cf;},'SChoA':_0x39cea6(0x1ac),'VbcOY':function(_0x3dcb12,_0x4de51b,_0x58dd99){return _0x3dcb12(_0x4de51b,_0x58dd99);},'UeyxV':_0x39cea6(0x119),'DOnKR':function(_0x4af177,_0xe33ed1,_0x445a0d){return _0x4af177(_0xe33ed1,_0x445a0d);},'dmivc':_0x39cea6(0x153),'itQQL':_0x39cea6(0x11e),'qusUO':_0x39cea6(0x139)};await _0xaf9967[_0x39cea6(0x18a)](_0x13a2d2),await helper['handleApp'](_0xaf9967[_0x39cea6(0x19d)]);if(!_0xaf9967[_0x39cea6(0x19d)])return;process['profile']=_0x13a2d2[_0x39cea6(0x185)];_0x13a2d2[_0x39cea6(0x185)]&&(process[_0x39cea6(0x1a3)][_0x39cea6(0x185)]=_0x13a2d2[_0x39cea6(0x185)]);const _0x2a29ab=_0x8cfeb['aFBVT'](getUserCodeceptJSConfigs,_0x13a2d2,_0x429f4b);let _0x346fd4={};_0x2a29ab?(logger[_0x39cea6(0x183)](_0x39cea6(0x11b)+_0x2a29ab),_0x346fd4=CodeceptJS[_0x39cea6(0x19d)][_0x39cea6(0x163)](_0x2a29ab)):logger[_0x39cea6(0x183)](_0x8cfeb[_0x39cea6(0x191)]);let _0x4c4a82=![];_0x8cfeb[_0x39cea6(0x14e)](nestedKeyValue,_0x346fd4,[_0x8cfeb[_0x39cea6(0x135)],_0x8cfeb[_0x39cea6(0x17b)]])&&(_0x4c4a82=!![]);const _0x321ad1=_0x4c4a82?_0x8cfeb[_0x39cea6(0x17b)]:_0x8cfeb[_0x39cea6(0x140)];let _0xc5c1b6=!_0x4c4a82?helper['useW3C'](_0xaf9967[_0x39cea6(0x19d)]):![];!helper[_0x39cea6(0x17e)](_0xaf9967[_0x39cea6(0x19d)][_0x39cea6(0x13e)])&&(process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON[_0x39cea6(0x166)](_0xaf9967[_0x39cea6(0x19d)][_0x39cea6(0x13e)]));let _0x6fb7bc=_0xaf9967[_0x39cea6(0x19d)][_0x39cea6(0x161)];_0x6fb7bc=_0x6fb7bc||_0x8cfeb['uNknD'](checkAccessibilityPlatformConfig,_0xaf9967[_0x39cea6(0x19d)]),process[_0x39cea6(0x1a3)][_0x39cea6(0x120)]=_0x6fb7bc;_0x6fb7bc&&(_0xc5c1b6=!_0x6fb7bc);_0x8cfeb[_0x39cea6(0x18c)](_0xaf9967[_0x39cea6(0x19d)][_0x39cea6(0x129)],null)?process[_0x39cea6(0x1a3)][_0x39cea6(0x123)]=_0xaf9967[_0x39cea6(0x19d)][_0x39cea6(0x129)]:process[_0x39cea6(0x1a3)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x8cfeb[_0x39cea6(0x189)](_0x321ad1,_0x8cfeb['AejAY']);const _0x3b4d5d=_0x8cfeb['rQtBB'](nestedKeyValue,_0x346fd4,[_0x8cfeb['QKMYZ']]),_0x3d8958=_0x3b4d5d&&!helper[_0x39cea6(0x12c)](_0x3b4d5d)?FRAMEWORKS[_0x39cea6(0x19c)]:FRAMEWORKS[_0x39cea6(0x1a5)],_0x54e171=await TestHubHandler[_0x39cea6(0x192)](_0x3d8958,_0xaf9967);_0x6fb7bc&&_0x8cfeb[_0x39cea6(0x131)](setAccessibilityCapabilities,_0xaf9967[_0x39cea6(0x19d)]);const _0x2fe403={},_0x579c31=[],_0xb5998c=_0xaf9967[_0x39cea6(0x19d)]['parallelsPerPlatform']||helper[_0x39cea6(0x197)](_0x13a2d2,_0x429f4b,_0xaf9967[_0x39cea6(0x19d)],constants[_0x39cea6(0x16d)]['CODECEPT'])||0x1;let _0x30f5da=0x1;if(_0x8cfeb[_0x39cea6(0x130)](isBrowserstackInfra)){const _0x412c72=helper[_0x39cea6(0x1a1)](_0xaf9967['config'],_0xc5c1b6,constants[_0x39cea6(0x16d)][_0x39cea6(0x1a5)]);_0x412c72[_0x39cea6(0x15d)](_0x10b047=>{const _0x3132fd=_0x39cea6;helper[_0x3132fd(0x142)](_0x10b047);}),helper[_0x39cea6(0x196)](_0xaf9967[_0x39cea6(0x19d)])?_0x30f5da=_0x8cfeb[_0x39cea6(0x14f)](_0xb5998c,_0xaf9967['config'][_0x39cea6(0x1a7)][_0x39cea6(0x15a)]):_0x30f5da=_0xb5998c,_0x412c72[_0x39cea6(0x15d)](_0x3909de=>{const _0x1e1fd6=_0x39cea6,_0x42538a=_0x8cfeb[_0x1e1fd6(0x1a0)](helper[_0x1e1fd6(0x121)](_0x3909de,'_'),'_'+Date[_0x1e1fd6(0x12b)]()),_0x14ce23=((()=>{const _0x19c52f=_0x1e1fd6;if(_0x4c4a82){const _0x1b6aa8=pwToCodeceptBrowser[_0x3909de['browserName']]||_0x3909de[_0x19c52f(0x199)];return{'browser':_0x1b6aa8,[_0x1b6aa8]:{'browserWSEndpoint':_0x8cfeb[_0x19c52f(0x193)](helper[_0x19c52f(0x11d)](_0xaf9967[_0x19c52f(0x19d)]),_0x8cfeb[_0x19c52f(0x131)](encodeURIComponent,JSON[_0x19c52f(0x166)](_0x3909de)))}};}const _0x4cf27a={};return _0x4cf27a[_0x19c52f(0x119)]=_0x3909de,_0x4cf27a['user']=_0xaf9967[_0x19c52f(0x19d)][_0x19c52f(0x146)],_0x4cf27a[_0x19c52f(0x164)]=_0xaf9967[_0x19c52f(0x19d)][_0x19c52f(0x165)],_0x4cf27a;})()),_0x8c5c00=_0x8cfeb['aFBVT'](nestedKeyValue,_0x346fd4,[_0x8cfeb[_0x1e1fd6(0x135)],_0x321ad1]);_0x2fe403[_0x42538a]=_0x8c5c00?helper[_0x1e1fd6(0x180)](_0x14ce23,_0x8c5c00):_0x14ce23;if(!_0x4c4a82){_0x2fe403[_0x42538a][_0x1e1fd6(0x1ac)]=_0x3909de[_0x1e1fd6(0x199)]||_0x14ce23[_0x1e1fd6(0x1ac)];if(_0x8cfeb['rTFMm'](isBrowserstackInfra)){_0x2fe403[_0x42538a]['host']=constants['hubUrl'][_0x1e1fd6(0x184)](_0x8cfeb['SHzak'],'')['replace'](/https?:\/\//,'');;_0x2fe403[_0x42538a][_0x1e1fd6(0x16f)]=_0x8cfeb['SHzak'];}}_0x579c31[_0x1e1fd6(0x12d)](_0x42538a);});}else{_0x30f5da=0x1;if(_0x4c4a82){const _0x3ad76a=_0x8cfeb[_0x39cea6(0x190)](nestedKeyValue,_0x346fd4,[_0x8cfeb[_0x39cea6(0x135)],_0x321ad1,_0x8cfeb[_0x39cea6(0x171)]]),_0x242864=_0x8cfeb[_0x39cea6(0x14b)](nestedKeyValue,_0x346fd4,[_0x8cfeb['tpJNf'],_0x321ad1,_0x3ad76a]);if(_0x242864&&_0x242864[_0x39cea6(0x132)]){const _0x27eb3b={};_0x27eb3b[_0x39cea6(0x1a7)]=[],_0x242864[_0x39cea6(0x132)]=helper[_0x39cea6(0x1a1)](Object[_0x39cea6(0x168)]({},_0xaf9967[_0x39cea6(0x19d)],_0x27eb3b),null,_0x3d8958[_0x39cea6(0x13f)](),null,null,_0x242864['browserWSEndpoint']);}}else{const _0x409e94={};_0x409e94['platforms']=[],_0x346fd4[_0x8cfeb[_0x39cea6(0x135)]][_0x321ad1][_0x8cfeb[_0x39cea6(0x188)]]=helper[_0x39cea6(0x1a1)](Object[_0x39cea6(0x168)]({},_0xaf9967[_0x39cea6(0x19d)],_0x409e94),null,_0x3d8958[_0x39cea6(0x13f)](),_0x8cfeb[_0x39cea6(0x122)](nestedKeyValue,_0x346fd4,[_0x8cfeb[_0x39cea6(0x135)],_0x321ad1,_0x8cfeb[_0x39cea6(0x188)]])||{},null,null);}_0x2fe403[_0x8cfeb[_0x39cea6(0x13c)]]=_0x346fd4,_0x579c31[_0x39cea6(0x12d)](_0x8cfeb[_0x39cea6(0x13c)]);}const _0x4ec8e={};_0x4ec8e[_0x39cea6(0x179)]=_0x2a29ab;const _0x1a8508=_0x4ec8e,_0x342dbb=path['join'](__dirname,_0x8cfeb[_0x39cea6(0x144)]),_0x4f475a=process['cwd']();process['env'][_0x8cfeb['qusUO']]=_0x4f475a,process['chdir'](path[_0x39cea6(0x19b)](_0x2a29ab));const _0xfa7cee=new CodeceptJS[(_0x39cea6(0x158))](null,_0x1a8508),_0x107566=_0xfa7cee['createGroupsOfSuites'](_0x30f5da),_0x2ef05b=testOpsHelper[_0x39cea6(0x160)](),_0x266abe=_0x579c31[_0x39cea6(0x124)](_0x29e7d0=>{const _0x21f4b5=_0x39cea6,_0x277894={};_0x277894[_0x21f4b5(0x14c)]=_0x2fe403[_0x29e7d0];const _0x1d1658={};_0x1d1658[_0x21f4b5(0x138)]=_0x2fe403[_0x29e7d0];const _0x2c1cba=_0x4c4a82?_0x277894:_0x1d1658,_0x5c058c=_0x8cfeb['rTFMm'](getO11yRerunPattern),_0x3bdc80={};_0x3bdc80['helpers']=_0x2c1cba;const _0x3ed154={};_0x3ed154['require']=_0x342dbb,_0x3ed154[_0x21f4b5(0x1ab)]=!![],_0x3ed154['skipSessionName']=_0xaf9967[_0x21f4b5(0x19d)][_0x21f4b5(0x17f)][_0x21f4b5(0x1b0)],_0x3ed154[_0x21f4b5(0x1b1)]=_0xaf9967['config'][_0x21f4b5(0x17f)]['skipSessionStatus'],_0x3ed154[_0x21f4b5(0x129)]=_0x2ef05b,_0x3ed154['frameworkName']=_0x3d8958;const _0xb845d0={};_0xb845d0[_0x21f4b5(0x181)]=_0x3ed154;const _0x324c6c={};return _0x324c6c[_0x21f4b5(0x17a)]=_0xb845d0,helper[_0x21f4b5(0x180)]({},_0x346fd4,_0x8cfeb['rTFMm'](isBrowserstackInfra)?_0x3bdc80:{},_0x5c058c?{'grep':_0x5c058c}:{},_0x324c6c);});for(const _0x2725fc of _0x266abe){for(const _0x38dbb8 of _0x107566){const _0x18f086=_0xfa7cee[_0x39cea6(0x14a)]();_0x18f086[_0x39cea6(0x1a4)](_0x38dbb8),_0x18f086[_0x39cea6(0x1a9)](_0x2725fc);const _0x2deabf={};_0x2deabf['config']=_0x2a29ab,_0x18f086[_0x39cea6(0x1a2)](_0x2deabf);}}_0xfa7cee['on'](CodeceptJS[_0x39cea6(0x137)][_0x39cea6(0x18d)][_0x39cea6(0x18b)],(_0x53b72c,_0x562951)=>{const _0x2f89c4=_0x39cea6;console[_0x2f89c4(0x175)](_0x8cfeb[_0x2f89c4(0x16c)],_0x53b72c['title']);const _0x3d68c9={[_0x53b72c[_0x2f89c4(0x13a)]]:_0x53b72c[_0x2f89c4(0x1aa)][_0x2f89c4(0x15b)]};_testErrorData[_0x2f89c4(0x12d)](_0x3d68c9);}),_0xfa7cee['on'](CodeceptJS[_0x39cea6(0x137)][_0x39cea6(0x18d)]['passed'],async _0x2fc7a2=>{const _0x3e4091=_0x39cea6;console[_0x3e4091(0x175)](_0x8cfeb['SpIuA'],_0x2fc7a2[_0x3e4091(0x13a)]);}),_0xfa7cee['on'](CodeceptJS[_0x39cea6(0x137)][_0x39cea6(0x18d)][_0x39cea6(0x145)],async _0x3fe97b=>{const _0x4fb399=_0x39cea6;console[_0x4fb399(0x175)](_0x8cfeb[_0x4fb399(0x194)],_0x3fe97b[_0x4fb399(0x13a)]);}),_0xfa7cee['on'](CodeceptJS[_0x39cea6(0x137)][_0x39cea6(0x176)][_0x39cea6(0x1ae)],async()=>{const _0x40e2e2=_0x39cea6,_0x98c580=_0x8cfeb['ByAIv'][_0x40e2e2(0x15e)]('|');let _0x2980fb=0x0;while(!![]){switch(_0x98c580[_0x2980fb++]){case'0':try{await TestHubHandler['stop']();}catch(_0x2f3b3a){logger['debug'](_0x40e2e2(0x156)+util['format'](_0x2f3b3a));}continue;case'1':testOpsHelper[_0x40e2e2(0x17d)]();continue;case'2':utilities[_0x40e2e2(0x12f)](_0xaf9967);continue;case'3':_0xfa7cee[_0x40e2e2(0x149)]();continue;case'4':PerformanceTester['start'](PerformanceEvents[_0x40e2e2(0x1af)]);continue;case'5':_0xaf9967[_0x40e2e2(0x13d)]=_testErrorData;continue;}break;}});async function _0x3f5083(){const _0x244067=_0x39cea6;try{await _0xfa7cee[_0x244067(0x125)](),await _0xfa7cee['run']();}finally{process[_0x244067(0x18f)](_0x4f475a),await _0xfa7cee[_0x244067(0x128)]();}}PerformanceTester[_0x39cea6(0x16e)](PerformanceEvents[_0x39cea6(0x159)]),_0x8cfeb['rTFMm'](_0x3f5083);}module[a2_0x3a7a09(0x13b)]=run;
|
|
2
|
+
'use strict';const a2_0x101c96=a2_0x1132;(function(_0xb5de2a,_0x406386){const _0xbe6bc5=a2_0x1132,_0x3d5cd1=_0xb5de2a();while(!![]){try{const _0x36d340=-parseInt(_0xbe6bc5(0x168))/0x1*(-parseInt(_0xbe6bc5(0x116))/0x2)+parseInt(_0xbe6bc5(0x17a))/0x3*(-parseInt(_0xbe6bc5(0x112))/0x4)+-parseInt(_0xbe6bc5(0x11d))/0x5*(-parseInt(_0xbe6bc5(0x184))/0x6)+parseInt(_0xbe6bc5(0x17f))/0x7+-parseInt(_0xbe6bc5(0x13d))/0x8+-parseInt(_0xbe6bc5(0x187))/0x9+parseInt(_0xbe6bc5(0xfe))/0xa*(-parseInt(_0xbe6bc5(0x12e))/0xb);if(_0x36d340===_0x406386)break;else _0x3d5cd1['push'](_0x3d5cd1['shift']());}catch(_0x164691){_0x3d5cd1['push'](_0x3d5cd1['shift']());}}}(a2_0x3564,0x52c69));function a2_0x3564(){const _0x3215cf=['../../helpers/testhub/testhubHandler','env','user','createGroupsOfSuites','setAdditionalCapabilities','1703756FGgBwP','browserStackCwd','ncssN','handleApp','4496ZjjuCN','userName','initialize','../utils/constants','VzQDf','host','SDK_CLEANUP','808810GiFfcT','event','RyGaZ','browser','--config','NjuHz','../../bin/playwright/accessibility-helper','ALyhj','FRAMEWORKS','addConfig','codeceptjs','gherkin','split','isTrue','prepareCapabilities','toLowerCase','validateRerunTestList','22ypnzPx','assign','findIndex','../../helpers/test-observability/utils','require','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','teardownAll','BROWSERSTACK_TEST_OBSERVABILITY_YML','KMbNb','../../helpers/performance/constants','../../helpers/BrowserStackSetup','playwright-firefox','validPlatformsPresent','CODECEPT_CUCUMBER','skipSessionName','1326472wsmomb','browserWSEndpoint','Workers','PcGVL','addTests','bootstrapAll','../../helpers/accessibility-automation/helper','process','enabled','skipSessionStatus','dirname','run','slice','testObservability','../../helpers/utilities','bQeTo','plugins','JFaFa','WLjHp','map','stringify','OuCSB','ewxCL','getPlaywrightUrl','testConfig','wvdyH','title','testContextOptions','config','getUserWorkerCount','err','chrome','hubUrl','nEgwV','printResults','lbjVH','cwd','result','push','Rkdov','EVENTS','parallelsPerPlatform','all','265YHcuaR','BrowserStackPlugin','5|3|0|4|2|1','cXyXC','info','BROWSERSTACK_RERUN','isTestObservabilitySession','Playwright','platforms','isUndefined','launchBuild','spawn','/wd/hub','codeceptjs/lib/index.js','path','BROWSERSTACK_TEST_ACCESSIBILITY_YML','now','browserName','3eqEXVi','Started\x20:\x20','accessKey','frameworkName','profile','4089288lEVPIQ','getPlatformName','dyVJB','../../helpers/helper','utzub','6mmXGVV','PQkHX','lBMDe','1526895nblroP','CODECEPT','Failed\x20:\x20','failed','stack','join','USER_CONFIG_DETAILS_PATH','desiredCapabilities','../../helpers/logger','playwright-chromium','firefox','CJoxJ','jXKGZ','AaIBW','stop','existsSync','chromium','ijAcA','load','replace','CSsVP','log','useW3C','key','helpers','test','1206070gwmhoC','forEach','EesOQ','accessibilityOptions','WGLTr','codecept.conf.js','exports','winstonLogger','isEmpty','debug','root','chdir','Getting\x20your\x20codeceptjs\x20configs\x20from\x20','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','mergeDeep'];a2_0x3564=function(){return _0x3215cf;};return a2_0x3564();}function a2_0x1132(_0x553796,_0x12f606){const _0x35644f=a2_0x3564();return a2_0x1132=function(_0x1132ba,_0x519b28){_0x1132ba=_0x1132ba-0xfa;let _0x51aa7a=_0x35644f[_0x1132ba];return _0x51aa7a;},a2_0x1132(_0x553796,_0x12f606);}const fs=require('fs'),path=require('path'),util=require('util'),process=require(a2_0x101c96(0x144)),logger=require(a2_0x101c96(0x18f))[a2_0x101c96(0x105)],{default:BrowserStackSetup}=require(a2_0x101c96(0x138)),helper=require(a2_0x101c96(0x182)),utilities=require(a2_0x101c96(0x14b)),{checkAccessibilityPlatformConfig}=require(a2_0x101c96(0x143)),{setAccessibilityCapabilities}=require(a2_0x101c96(0x123)),{requireModule,nestedKeyValue,isBrowserstackInfra}=require(a2_0x101c96(0x182)),CodeceptJS=requireModule(a2_0x101c96(0x175),a2_0x101c96(0x127)),testOpsHelper=require(a2_0x101c96(0x131)),TestHubHandler=require(a2_0x101c96(0x10d)),constants=require(a2_0x101c96(0x119)),PerformanceTester=require('../../helpers/performance/performance-tester'),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),PerformanceEvents=require(a2_0x101c96(0x137))[a2_0x101c96(0x165)],_testErrorData=[],getUserCodeceptJSConfigs=(_0x14167c,_0x491f2c)=>{const _0x466977=a2_0x101c96,_0x4f8f06={};_0x4f8f06['cXyXC']=function(_0x41e966,_0x3a12c1){return _0x41e966===_0x3a12c1;},_0x4f8f06[_0x466977(0x153)]=_0x466977(0x103),_0x4f8f06[_0x466977(0x164)]='codecept.json';const _0x35bdde=_0x4f8f06;let _0x202c3d=null;const _0x268960={};let _0x3b992b=_0x491f2c[_0x466977(0x130)](_0x165b1e=>_0x165b1e===_0x466977(0x121));_0x35bdde[_0x466977(0x16b)](_0x3b992b,-0x1)&&(_0x3b992b=_0x491f2c[_0x466977(0x130)](_0x110846=>_0x110846==='-c'));if(!helper[_0x466977(0x171)](_0x14167c[_0x466977(0x159)])&&fs[_0x466977(0x196)](path['join'](process[_0x466977(0x161)](),_0x14167c[_0x466977(0x159)])))_0x202c3d=path[_0x466977(0x18c)](process[_0x466977(0x161)](),_0x14167c[_0x466977(0x159)]),_0x491f2c[_0x466977(0x149)](_0x3b992b,0x2);else{if(!helper[_0x466977(0x171)](_0x14167c['c'])&&fs['existsSync'](path[_0x466977(0x18c)](process[_0x466977(0x161)](),_0x14167c['c'])))_0x202c3d=path[_0x466977(0x18c)](process['cwd'](),_0x14167c['c']),_0x491f2c[_0x466977(0x149)](_0x3b992b,0x2);else{if(fs[_0x466977(0x196)](path[_0x466977(0x18c)](process[_0x466977(0x161)](),_0x35bdde['ewxCL'])))_0x202c3d=path[_0x466977(0x18c)](process['cwd'](),_0x35bdde['ewxCL']);else fs[_0x466977(0x196)](path[_0x466977(0x18c)](process[_0x466977(0x161)](),_0x35bdde['Rkdov']))&&(_0x202c3d=path['join'](process['cwd'](),_0x35bdde[_0x466977(0x164)]));}}return process['env'][_0x466977(0x18d)]=_0x202c3d,_0x202c3d;},getO11yRerunPattern=()=>{const _0x28d399=a2_0x101c96,_0x274389=helper[_0x28d399(0x12a)](process[_0x28d399(0x10e)][_0x28d399(0x16d)]);if(_0x274389){const _0x5bb3ea=process[_0x28d399(0x10e)]['BROWSERSTACK_RERUN_TESTS'],_0x10a053=[];if(helper[_0x28d399(0x12d)](_0x5bb3ea)&&!helper['isUndefined'](_0x5bb3ea)){_0x5bb3ea[_0x28d399(0x129)](',')[_0x28d399(0x150)](_0x1f2485=>{const _0x5ec7ef=_0x28d399;_0x10a053[_0x5ec7ef(0x163)]('('+_0x1f2485['trim']()+')');});const _0x3f1096='^'+_0x10a053[_0x28d399(0x18c)]('|')+'$';return _0x3f1096;}}return null;},a2_0x4343c2={};a2_0x4343c2[a2_0x101c96(0x15c)]='chromium',a2_0x4343c2[a2_0x101c96(0x190)]=a2_0x101c96(0x197),a2_0x4343c2[a2_0x101c96(0x139)]=a2_0x101c96(0x191),a2_0x4343c2['playwright-webkit']='webkit';const pwToCodeceptBrowser=a2_0x4343c2;async function run(_0x37e534,_0x448ceb,_0x221a4a){const _0xcc7463=a2_0x101c96,_0x4ff3d0={'PcGVL':function(_0x39e46e,_0x47267d){return _0x39e46e+_0x47267d;},'lbjVH':function(_0x476929,_0x4a92e1){return _0x476929(_0x4a92e1);},'NjuHz':function(_0x2b80eb,_0x82695b,_0x1a7c3a){return _0x2b80eb(_0x82695b,_0x1a7c3a);},'nEgwV':'helpers','PQkHX':function(_0x172d7d){return _0x172d7d();},'bQeTo':_0xcc7463(0x174),'utzub':function(_0x1ed0f1){return _0x1ed0f1();},'OuCSB':_0xcc7463(0x189),'wvdyH':'Passed\x20:\x20','jXKGZ':_0xcc7463(0x17b),'ALyhj':_0xcc7463(0x16a),'TZlLo':_0xcc7463(0x133),'WLjHp':_0xcc7463(0x16f),'CJoxJ':'WebDriver','DjnYh':function(_0x164cb0,_0x12d971){return _0x164cb0(_0x12d971);},'dyVJB':function(_0xbd39e8,_0x2bd106){return _0xbd39e8!=_0x2bd106;},'KMbNb':function(_0x1428c3,_0x129b29){return _0x1428c3===_0x129b29;},'EesOQ':function(_0x523bfe,_0x21f693,_0xf0374){return _0x523bfe(_0x21f693,_0xf0374);},'CSsVP':_0xcc7463(0x128),'WGLTr':function(_0x3a98a0,_0x398f4e){return _0x3a98a0(_0x398f4e);},'RyGaZ':function(_0x563ad9,_0x1d08ca){return _0x563ad9*_0x1d08ca;},'VzQDf':_0xcc7463(0x120),'lBMDe':function(_0x13bf35,_0x4f0ac2,_0x5b727f){return _0x13bf35(_0x4f0ac2,_0x5b727f);},'AaIBW':'desiredCapabilities','ncssN':_0xcc7463(0x108),'ijAcA':'BrowserStackPlugin.js','JFaFa':_0xcc7463(0x113)};await _0x221a4a[_0xcc7463(0x118)](_0x37e534),await helper[_0xcc7463(0x115)](_0x221a4a['config']);if(!_0x221a4a[_0xcc7463(0x159)])return;process[_0xcc7463(0x17e)]=_0x37e534[_0xcc7463(0x17e)];_0x37e534[_0xcc7463(0x17e)]&&(process[_0xcc7463(0x10e)][_0xcc7463(0x17e)]=_0x37e534[_0xcc7463(0x17e)]);const _0xd14555=_0x4ff3d0[_0xcc7463(0x122)](getUserCodeceptJSConfigs,_0x37e534,_0x448ceb);let _0x3e9a0b={};_0xd14555?(logger['info'](_0xcc7463(0x10a)+_0xd14555),_0x3e9a0b=CodeceptJS[_0xcc7463(0x159)][_0xcc7463(0x199)](_0xd14555)):logger[_0xcc7463(0x16c)](_0x4ff3d0['TZlLo']);let _0x165bf2=![];_0x4ff3d0[_0xcc7463(0x122)](nestedKeyValue,_0x3e9a0b,[_0x4ff3d0[_0xcc7463(0x15e)],_0x4ff3d0[_0xcc7463(0x14f)]])&&(_0x165bf2=!![]);const _0x38b404=_0x165bf2?_0x4ff3d0['WLjHp']:_0x4ff3d0[_0xcc7463(0x192)];let _0xcad44f=!_0x165bf2?helper[_0xcc7463(0xfa)](_0x221a4a['config']):![];!helper[_0xcc7463(0x171)](_0x221a4a[_0xcc7463(0x159)][_0xcc7463(0x101)])&&(process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON[_0xcc7463(0x151)](_0x221a4a[_0xcc7463(0x159)][_0xcc7463(0x101)]));let _0x4ccadd=_0x221a4a['config']['accessibility'];_0x4ccadd=_0x4ccadd||_0x4ff3d0['DjnYh'](checkAccessibilityPlatformConfig,_0x221a4a[_0xcc7463(0x159)]),process['env'][_0xcc7463(0x177)]=_0x4ccadd;_0x4ccadd&&(_0xcad44f=!_0x4ccadd);_0x4ff3d0[_0xcc7463(0x181)](_0x221a4a[_0xcc7463(0x159)][_0xcc7463(0x14a)],null)?process[_0xcc7463(0x10e)][_0xcc7463(0x135)]=_0x221a4a[_0xcc7463(0x159)][_0xcc7463(0x14a)]:process['env']['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x4ff3d0[_0xcc7463(0x136)](_0x38b404,_0x4ff3d0[_0xcc7463(0x14f)]);const _0x127b53=_0x4ff3d0[_0xcc7463(0x100)](nestedKeyValue,_0x3e9a0b,[_0x4ff3d0[_0xcc7463(0x19b)]]),_0x32e0a5=_0x127b53&&!helper[_0xcc7463(0x106)](_0x127b53)?FRAMEWORKS[_0xcc7463(0x13b)]:FRAMEWORKS['CODECEPT'],_0x6f8e8a=await TestHubHandler[_0xcc7463(0x172)](_0x32e0a5,_0x221a4a);_0x4ccadd&&_0x4ff3d0[_0xcc7463(0x102)](setAccessibilityCapabilities,_0x221a4a['config']);const _0x35e984={},_0x43d740=[],_0x21bf1a=_0x221a4a[_0xcc7463(0x159)][_0xcc7463(0x166)]||helper[_0xcc7463(0x15a)](_0x37e534,_0x448ceb,_0x221a4a[_0xcc7463(0x159)],constants['FRAMEWORKS']['CODECEPT'])||0x1;let _0x579d24=0x1;if(_0x4ff3d0['utzub'](isBrowserstackInfra)){const _0xe53470=helper[_0xcc7463(0x12b)](_0x221a4a[_0xcc7463(0x159)],_0xcad44f,constants[_0xcc7463(0x125)][_0xcc7463(0x188)]);_0xe53470['forEach'](_0x5c8b88=>{const _0x56c1f8=_0xcc7463;helper[_0x56c1f8(0x111)](_0x5c8b88);}),helper[_0xcc7463(0x13a)](_0x221a4a[_0xcc7463(0x159)])?_0x579d24=_0x4ff3d0[_0xcc7463(0x11f)](_0x21bf1a,_0x221a4a[_0xcc7463(0x159)][_0xcc7463(0x170)]['length']):_0x579d24=_0x21bf1a,_0xe53470[_0xcc7463(0xff)](_0x55ea4c=>{const _0x195cbc=_0xcc7463,_0x831514=_0x4ff3d0[_0x195cbc(0x140)](helper[_0x195cbc(0x180)](_0x55ea4c,'_'),'_'+Date[_0x195cbc(0x178)]()),_0x217316=((()=>{const _0x2acbbc=_0x195cbc;if(_0x165bf2){const _0x21673f=pwToCodeceptBrowser[_0x55ea4c[_0x2acbbc(0x179)]]||_0x55ea4c[_0x2acbbc(0x179)];return{'browser':_0x21673f,[_0x21673f]:{'browserWSEndpoint':_0x4ff3d0[_0x2acbbc(0x140)](helper[_0x2acbbc(0x154)](_0x221a4a[_0x2acbbc(0x159)]),_0x4ff3d0[_0x2acbbc(0x160)](encodeURIComponent,JSON['stringify'](_0x55ea4c)))}};}const _0x3f5e05={};return _0x3f5e05[_0x2acbbc(0x18e)]=_0x55ea4c,_0x3f5e05[_0x2acbbc(0x10f)]=_0x221a4a[_0x2acbbc(0x159)][_0x2acbbc(0x117)],_0x3f5e05[_0x2acbbc(0xfb)]=_0x221a4a[_0x2acbbc(0x159)][_0x2acbbc(0x17c)],_0x3f5e05;})()),_0x281d14=_0x4ff3d0[_0x195cbc(0x122)](nestedKeyValue,_0x3e9a0b,[_0x4ff3d0['nEgwV'],_0x38b404]);_0x35e984[_0x831514]=_0x281d14?helper[_0x195cbc(0x10c)](_0x217316,_0x281d14):_0x217316;if(!_0x165bf2){_0x35e984[_0x831514]['browser']=_0x55ea4c[_0x195cbc(0x179)]||_0x217316[_0x195cbc(0x120)];if(_0x4ff3d0[_0x195cbc(0x185)](isBrowserstackInfra)){_0x35e984[_0x831514][_0x195cbc(0x11b)]=constants[_0x195cbc(0x15d)][_0x195cbc(0x19a)](_0x4ff3d0[_0x195cbc(0x14c)],'')[_0x195cbc(0x19a)](/https?:\/\//,'');;_0x35e984[_0x831514][_0x195cbc(0x176)]=_0x4ff3d0[_0x195cbc(0x14c)];}}_0x43d740[_0x195cbc(0x163)](_0x831514);});}else{_0x579d24=0x1;if(_0x165bf2){const _0x4d39b7=_0x4ff3d0[_0xcc7463(0x100)](nestedKeyValue,_0x3e9a0b,[_0x4ff3d0[_0xcc7463(0x15e)],_0x38b404,_0x4ff3d0[_0xcc7463(0x11a)]]),_0x354229=_0x4ff3d0[_0xcc7463(0x186)](nestedKeyValue,_0x3e9a0b,[_0x4ff3d0[_0xcc7463(0x15e)],_0x38b404,_0x4d39b7]);if(_0x354229&&_0x354229[_0xcc7463(0x13e)]){const _0x2fe241={};_0x2fe241[_0xcc7463(0x170)]=[],_0x354229[_0xcc7463(0x13e)]=helper[_0xcc7463(0x12b)](Object[_0xcc7463(0x12f)]({},_0x221a4a[_0xcc7463(0x159)],_0x2fe241),null,_0x32e0a5[_0xcc7463(0x12c)](),null,null,_0x354229['browserWSEndpoint']);}}else{const _0x45cae4={};_0x45cae4[_0xcc7463(0x170)]=[],_0x3e9a0b[_0x4ff3d0[_0xcc7463(0x15e)]][_0x38b404][_0x4ff3d0[_0xcc7463(0x194)]]=helper[_0xcc7463(0x12b)](Object['assign']({},_0x221a4a[_0xcc7463(0x159)],_0x45cae4),null,_0x32e0a5[_0xcc7463(0x12c)](),_0x4ff3d0[_0xcc7463(0x100)](nestedKeyValue,_0x3e9a0b,[_0x4ff3d0[_0xcc7463(0x15e)],_0x38b404,_0x4ff3d0[_0xcc7463(0x194)]])||{},null,null);}_0x35e984[_0x4ff3d0[_0xcc7463(0x114)]]=_0x3e9a0b,_0x43d740['push'](_0x4ff3d0[_0xcc7463(0x114)]);}const _0x457a8a={};_0x457a8a[_0xcc7463(0x155)]=_0xd14555;const _0x5a836b=_0x457a8a,_0x813620=path[_0xcc7463(0x18c)](__dirname,_0x4ff3d0[_0xcc7463(0x198)]),_0x512f8d=process[_0xcc7463(0x161)]();process[_0xcc7463(0x10e)][_0x4ff3d0[_0xcc7463(0x14e)]]=_0x512f8d,process['chdir'](path[_0xcc7463(0x147)](_0xd14555));const _0x4734f3=new CodeceptJS[(_0xcc7463(0x13f))](null,_0x5a836b),_0x12c223=_0x4734f3[_0xcc7463(0x110)](_0x579d24),_0x35b6cb=testOpsHelper[_0xcc7463(0x16e)](),_0x2615f2=_0x43d740[_0xcc7463(0x150)](_0x3a1994=>{const _0x120218=_0xcc7463,_0x806094={};_0x806094[_0x120218(0x16f)]=_0x35e984[_0x3a1994];const _0x40df1b={};_0x40df1b['WebDriver']=_0x35e984[_0x3a1994];const _0xc09cbd=_0x165bf2?_0x806094:_0x40df1b,_0x3e5106=_0x4ff3d0['PQkHX'](getO11yRerunPattern),_0x7e9a78={};_0x7e9a78[_0x120218(0xfc)]=_0xc09cbd;const _0x2a74d0={};_0x2a74d0[_0x120218(0x132)]=_0x813620,_0x2a74d0[_0x120218(0x145)]=!![],_0x2a74d0[_0x120218(0x13c)]=_0x221a4a['config'][_0x120218(0x158)][_0x120218(0x13c)],_0x2a74d0[_0x120218(0x146)]=_0x221a4a[_0x120218(0x159)][_0x120218(0x158)][_0x120218(0x146)],_0x2a74d0[_0x120218(0x14a)]=_0x35b6cb,_0x2a74d0[_0x120218(0x17d)]=_0x32e0a5;const _0xa23e42={};_0xa23e42[_0x120218(0x169)]=_0x2a74d0;const _0x4b2c00={};return _0x4b2c00[_0x120218(0x14d)]=_0xa23e42,helper[_0x120218(0x10c)]({},_0x3e9a0b,_0x4ff3d0[_0x120218(0x183)](isBrowserstackInfra)?_0x7e9a78:{},_0x3e5106?{'grep':_0x3e5106}:{},_0x4b2c00);});for(const _0x4082bd of _0x2615f2){for(const _0x19c6e3 of _0x12c223){const _0x3e72a9=_0x4734f3[_0xcc7463(0x173)]();_0x3e72a9[_0xcc7463(0x141)](_0x19c6e3),_0x3e72a9[_0xcc7463(0x126)](_0x4082bd);const _0x247d6b={};_0x247d6b[_0xcc7463(0x159)]=_0xd14555,_0x3e72a9['addOptions'](_0x247d6b);}}_0x4734f3['on'](CodeceptJS['event'][_0xcc7463(0xfd)][_0xcc7463(0x18a)],(_0x2e570c,_0x417c3b)=>{const _0x52f1c5=_0xcc7463;console[_0x52f1c5(0x19c)](_0x4ff3d0[_0x52f1c5(0x152)],_0x2e570c[_0x52f1c5(0x157)]);const _0x49873e={[_0x2e570c[_0x52f1c5(0x157)]]:_0x2e570c[_0x52f1c5(0x15b)][_0x52f1c5(0x18b)]};_testErrorData[_0x52f1c5(0x163)](_0x49873e);}),_0x4734f3['on'](CodeceptJS[_0xcc7463(0x11e)]['test']['passed'],async _0x69d0ae=>{const _0x2d0d1e=_0xcc7463;console[_0x2d0d1e(0x19c)](_0x4ff3d0[_0x2d0d1e(0x156)],_0x69d0ae[_0x2d0d1e(0x157)]);}),_0x4734f3['on'](CodeceptJS['event']['test']['before'],async _0x2fd36b=>{const _0x11971f=_0xcc7463;console[_0x11971f(0x19c)](_0x4ff3d0[_0x11971f(0x193)],_0x2fd36b[_0x11971f(0x157)]);}),_0x4734f3['on'](CodeceptJS[_0xcc7463(0x11e)][_0xcc7463(0x167)][_0xcc7463(0x162)],async()=>{const _0xa0dbc3=_0xcc7463,_0x25aaf7=_0x4ff3d0[_0xa0dbc3(0x124)][_0xa0dbc3(0x129)]('|');let _0x306e45=0x0;while(!![]){switch(_0x25aaf7[_0x306e45++]){case'0':testOpsHelper['printBuildLink']();continue;case'1':_0x4734f3[_0xa0dbc3(0x15f)]();continue;case'2':try{await TestHubHandler[_0xa0dbc3(0x195)]();}catch(_0x12836a){logger[_0xa0dbc3(0x107)](_0xa0dbc3(0x10b)+util['format'](_0x12836a));}continue;case'3':_0x221a4a['errorMessage']=_testErrorData;continue;case'4':utilities['finalExecution'](_0x221a4a);continue;case'5':PerformanceTester['start'](PerformanceEvents[_0xa0dbc3(0x11c)]);continue;}break;}});async function _0x43a072(){const _0x59aa3e=_0xcc7463;try{await _0x4734f3[_0x59aa3e(0x142)](),await _0x4734f3[_0x59aa3e(0x148)]();}finally{process[_0x59aa3e(0x109)](_0x512f8d),await _0x4734f3[_0x59aa3e(0x134)]();}}PerformanceTester['end'](PerformanceEvents['SDK_SETUP']),_0x4ff3d0[_0xcc7463(0x183)](_0x43a072);}module[a2_0x101c96(0x104)]=run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a3_0xa706bd=a3_0x3663;function a3_0x3663(_0x4c8a21,_0x3d5689){const _0x194133=a3_0x1941();return a3_0x3663=function(_0x366309,_0x468155){_0x366309=_0x366309-0xf1;let _0x2d42d0=_0x194133[_0x366309];return _0x2d42d0;},a3_0x3663(_0x4c8a21,_0x3d5689);}(function(_0x4ab9d1,_0x3eaa87){const _0x947f27=a3_0x3663,_0x490cd8=_0x4ab9d1();while(!![]){try{const _0x497426=-parseInt(_0x947f27(0xf3))/0x1*(-parseInt(_0x947f27(0x10e))/0x2)+parseInt(_0x947f27(0x121))/0x3*(-parseInt(_0x947f27(0xfd))/0x4)+parseInt(_0x947f27(0x122))/0x5*(parseInt(_0x947f27(0x110))/0x6)+parseInt(_0x947f27(0x136))/0x7*(-parseInt(_0x947f27(0xf6))/0x8)+-parseInt(_0x947f27(0x126))/0x9+-parseInt(_0x947f27(0xf7))/0xa*(parseInt(_0x947f27(0x125))/0xb)+parseInt(_0x947f27(0x132))/0xc*(parseInt(_0x947f27(0xf8))/0xd);if(_0x497426===_0x3eaa87)break;else _0x490cd8['push'](_0x490cd8['shift']());}catch(_0x5348eb){_0x490cd8['push'](_0x490cd8['shift']());}}}(a3_0x1941,0x83e96));function a3_0x1941(){const _0x3fa6a0=['1282640cQSlag','platform_version','GXPcj','5581488cLshXI','3666366XhTOve','caps','../../helpers/test-observability/utils','config','bsSessionId','GyXci','NINAf','getDetails','../../bin/playwright/sessionDetails','../../helpers/logger','DQzal','platformVersion','1842492kbEtdg','warn','YCyeH','xCjvP','309869FXhLAa','browser','wMWsU','qIsKL','GlaHt','latest','searchParams','EwsUf','1scxndy','dnfXI','osVersion','88UsncCi','20uuVpMB','156VIhOiO','jbbqq','Kkrbd','browserstack_accessibility_automation_script','fetchPlatformDetails','1850536FyEutR','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','pufIF','cNEQj','unknown_grid','platformName','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','kxgvX','processWebDriverConfig','NYQPD','includes','UvxnQ','os_version','browserName','bstack:options','sessionId','browserWSEndpoint','86934PDJDCk','accessibilityPlatform','24rZnThd','name','pNeuG','CccVt','LOXBy','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','browserstack_executor','VPLwW','../../helpers/helper','capabilities','MnAeC','browserVersion','ZiSIs','browser_version','Playwright','SKLKY','YAIgE','3XkJeuW'];a3_0x1941=function(){return _0x3fa6a0;};return a3_0x1941();}const {isUndefined,nestedKeyValue}=require(a3_0xa706bd(0x118)),logger=require(a3_0xa706bd(0x12f))['winstonLogger'],PlaywrightSessionDetails=require(a3_0xa706bd(0x12e)),{isAccessibilityAutomationSession}=require('../../helpers/accessibility-automation/helper'),{getObservabilityLinkedProductName}=require(a3_0xa706bd(0x128)),getOSVersionFromCaps=_0x4382e5=>{const _0x191732=a3_0xa706bd,_0x194161={};_0x194161[_0x191732(0x106)]=_0x191732(0x10b),_0x194161[_0x191732(0x139)]='platformVersion',_0x194161['GlaHt']=_0x191732(0x123),_0x194161['YCyeH']=_0x191732(0xf5),_0x194161[_0x191732(0x108)]=_0x191732(0x109);const _0x44a7c1=_0x194161;if(!_0x4382e5)return null;const _0x5c6d40=_0x4382e5[_0x44a7c1[_0x191732(0x106)]],_0x443715=[_0x44a7c1['qIsKL'],_0x44a7c1[_0x191732(0x13a)],_0x44a7c1[_0x191732(0x134)],_0x44a7c1[_0x191732(0x108)]];for(const _0x45944d of _0x443715){if(_0x5c6d40&&_0x5c6d40[_0x45944d])return _0x5c6d40[_0x45944d];else{if(_0x4382e5[_0x45944d])return _0x4382e5[_0x45944d];}}return null;};exports[a3_0xa706bd(0xfc)]=_0x56d6d5=>{const _0x161494=a3_0xa706bd,_0x1afcd1={'RRbqw':_0x161494(0x101),'MnAeC':function(_0x20802f,_0xa0a76d){return _0x20802f===_0xa0a76d;},'dnfXI':'WebDriver','NINAf':function(_0x2496aa,_0x3d0ec4){return _0x2496aa(_0x3d0ec4);},'GXPcj':function(_0x328400,_0x567b64,_0x990157){return _0x328400(_0x567b64,_0x990157);},'jbbqq':_0x161494(0x129),'kKDTw':'desiredCapabilities','VPLwW':function(_0x248bca,_0x5934fc){return _0x248bca===_0x5934fc;},'jGYND':_0x161494(0x11e),'kxgvX':_0x161494(0x137),'Kkrbd':_0x161494(0x10d),'SKLKY':_0x161494(0x127),'ZiSIs':function(_0xa7d73f,_0x3aac39){return _0xa7d73f(_0x3aac39);}};if(!_0x56d6d5)return null;let _0x3cb377=global['__cloud_provider___']||_0x1afcd1['RRbqw'];if(_0x1afcd1[_0x161494(0x11a)](_0x56d6d5['constructor']['name'],_0x1afcd1[_0x161494(0xf4)])){const _0x1ec1a0=_0x56d6d5['browser'];if(!_0x1ec1a0)return null;const _0x350d9=_0x1ec1a0[_0x161494(0x119)],_0x141f65=_0x1afcd1[_0x161494(0x12c)](getOSVersionFromCaps,_0x1afcd1[_0x161494(0x124)](nestedKeyValue,_0x56d6d5,[_0x1afcd1[_0x161494(0xf9)],_0x1afcd1['kKDTw']]));return{[_0x3cb377]:{'browser':_0x350d9['browserName'],'browser_version':_0x350d9['browserVersion'],'capabilities':_0x350d9,'platform':_0x350d9[_0x161494(0x102)],'platform_version':_0x350d9[_0x161494(0x131)]||_0x141f65,'product':_0x1afcd1[_0x161494(0x12c)](getObservabilityLinkedProductName,_0x350d9),'session_id':_0x1ec1a0[_0x161494(0x10c)]}};}else{if(_0x1afcd1[_0x161494(0x117)](_0x56d6d5['constructor'][_0x161494(0x111)],_0x1afcd1['jGYND'])){const _0x580256=PlaywrightSessionDetails[_0x161494(0x12d)]();_0x3cb377=_0x580256['cloudProvider']||_0x3cb377;const _0x5683ca=_0x1afcd1[_0x161494(0x124)](nestedKeyValue,_0x56d6d5,[_0x1afcd1['jbbqq'],_0x1afcd1[_0x161494(0x104)],_0x1afcd1[_0x161494(0xfa)]]),_0x12d971=_0x5683ca?JSON['parse'](new URL(_0x5683ca)[_0x161494(0xf1)]['get'](_0x1afcd1[_0x161494(0x11f)])):{};return{[_0x3cb377]:{'browser':_0x580256['browser']||_0x12d971['browserName'],'browser_version':_0x580256[_0x161494(0x11d)]||_0x12d971['browser_version'],'capabilities':_0x12d971,'platform':_0x580256['platform'],'platform_version':_0x580256['platform_version'],'product':_0x1afcd1[_0x161494(0x11c)](getObservabilityLinkedProductName,_0x12d971),'session_id':_0x580256[_0x161494(0x12a)]}};}}},exports[a3_0xa706bd(0x105)]=_0x111741=>{const _0x2377b2=a3_0xa706bd,_0x272ca1={'FTHrV':function(_0x5a99c9){return _0x5a99c9();},'CccVt':function(_0x387b3d,_0x51ce0b){return _0x387b3d===_0x51ce0b;},'pufIF':_0x2377b2(0x13b),'wMWsU':function(_0x17c4f5,_0x555e82){return _0x17c4f5>_0x555e82;},'OPXcj':function(_0x5b8526,_0x5c7642){return _0x5b8526(_0x5c7642);},'EwsUf':_0x2377b2(0x103),'cNEQj':function(_0x5115d2,_0x59a31a){return _0x5115d2===_0x59a31a;},'jyzyF':'chrome','GyXci':function(_0x4e7881,_0x25f09f){return _0x4e7881===_0x25f09f;},'DQzal':'playwright-chromium','pNeuG':_0x2377b2(0x115),'LOXBy':function(_0x32ab4f,_0x724faa){return _0x32ab4f(_0x724faa);},'EFuEh':_0x2377b2(0xfe)};if(_0x272ca1['FTHrV'](isAccessibilityAutomationSession)){const _0xa5ed81=_0x111741[_0x2377b2(0x137)],_0x2703c7=_0xa5ed81[_0x2377b2(0x119)];global[_0x2377b2(0x10f)]=!![],!(_0x272ca1[_0x2377b2(0x113)](_0x2703c7[_0x2377b2(0x11b)],_0x272ca1[_0x2377b2(0xff)])||_0x272ca1[_0x2377b2(0x138)](_0x272ca1['OPXcj'](parseInt,_0x2703c7[_0x2377b2(0x11b)]),0x5e))&&(logger[_0x2377b2(0x133)](_0x272ca1[_0x2377b2(0xf2)]),global[_0x2377b2(0x10f)]=![]),!(_0x272ca1[_0x2377b2(0x100)](_0x2703c7[_0x2377b2(0x10a)],_0x272ca1['jyzyF'])||_0x272ca1[_0x2377b2(0x12b)](_0x2703c7['browserName'],_0x272ca1[_0x2377b2(0x130)]))&&(logger[_0x2377b2(0x133)](_0x272ca1[_0x2377b2(0x112)]),global[_0x2377b2(0x10f)]=![]),!_0x272ca1[_0x2377b2(0x114)](isUndefined,_0x2703c7['deviceName'])&&(logger[_0x2377b2(0x133)](_0x272ca1['EFuEh']),global['accessibilityPlatform']=![]);}},exports['shouldPatchExecuteScript']=_0x32d036=>{const _0x477653=a3_0xa706bd,_0xc81876={};_0xc81876[_0x477653(0x120)]=_0x477653(0x116),_0xc81876[_0x477653(0x135)]=_0x477653(0xfb);const _0x85a493=_0xc81876;if(!_0x32d036)return![];return!_0x32d036[_0x477653(0x107)](_0x85a493[_0x477653(0x120)])&&!_0x32d036[_0x477653(0x107)](_0x85a493[_0x477653(0x135)]);};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a4_0xc57499=a4_0x443c;(function(_0x567cf8,_0x2b5d84){const _0x155498=a4_0x443c,_0x244a1b=_0x567cf8();while(!![]){try{const _0x593b37=parseInt(_0x155498(0x287))/0x1+-parseInt(_0x155498(0x222))/0x2*(-parseInt(_0x155498(0x281))/0x3)+parseInt(_0x155498(0x229))/0x4+parseInt(_0x155498(0x2c5))/0x5+parseInt(_0x155498(0x1e0))/0x6+-parseInt(_0x155498(0x206))/0x7*(-parseInt(_0x155498(0x279))/0x8)+-parseInt(_0x155498(0x2ca))/0x9;if(_0x593b37===_0x2b5d84)break;else _0x244a1b['push'](_0x244a1b['shift']());}catch(_0x2fd570){_0x244a1b['push'](_0x244a1b['shift']());}}}(a4_0x386b,0x884ef));const path=require(a4_0xc57499(0x211)),fs=require('fs'),{v4:uuidv4}=require(a4_0xc57499(0x254)),{importFileFromPWCore,nestedKeyValue,parseWSEndpoint,isUndefined}=require(a4_0xc57499(0x24e)),testOpsHelper=require(a4_0xc57499(0x291)),{getTestEnv}=require(a4_0xc57499(0x1f1)),{FRAMEWORKS}=require(a4_0xc57499(0x1d8)),logger=require(a4_0xc57499(0x22e))['winstonLogger'],SessionHandler=require(a4_0xc57499(0x286)),RequestQueueHandler=require(a4_0xc57499(0x20b)),PlaywrightSessionDetails=require(a4_0xc57499(0x2c6)),debug=testOpsHelper[a4_0xc57499(0x257)],{processAccessibilityCaps}=require('../playwright/accessibility-helper'),Constants=require(a4_0xc57499(0x1ee)),{fetchPlatformDetails}=require(a4_0xc57499(0x23b)),{shouldProcessEventForTesthub,appendTesthubParams}=require(a4_0xc57499(0x27f)),STATE_PASSED=a4_0xc57499(0x265),STATE_FAILED=a4_0xc57499(0x239),a4_0xcf17e2={};function a4_0x386b(){const _0x3e100f=['meta','replace','lib','cwd','test_run_uuid','parent','XtWWC','bddStepFinish','forEach','toString','fPajc','BROWSERSTACK','pid','statSync','TzLzn','obsBrowserTypeMockApplied','rZNYa','mOCkk','getInstance','peqCF','UpHcn','__platformCaps','appendTestItemLog','inspect','jSETe','FMClR','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20Observability\x20with\x20error\x20:\x20','event_type','test_run','driver','toISOString','TEST_RUN_FINISHED','javascript','zzaYv','iYeDb','_afterAll','KnlOm','hook_type','svFpb','323965BHqhtE','../playwright/sessionDetails','hooks','file_name','wMZlw','26093754UzziPx','wtNTH','TEST_RUN_SKIPPED','browserType.js','defineProperty','stepAnalyticsId','test','then','now','ctx','type','_afterEach','push','getRootParentFile','../../helpers/test-observability/constants','LogCreated','hook_run','accessibilityPlatform','bddSteps','relative','HOOK_RUN_STARTED','err','5728590nUjDQp','_beforeEach','jmLvi','started','prefixTestPath','prototype','enabled','fullTitle','lqGxO','CtNZQ','vHKpo','MHJqK','status','removeAllListeners','../utils/constants','launch','liyxD','../mocha/test-observability/mochaUtils','HookRunFinished','join','rXXcG','uCYmF','grUeb','keyword','Exception\x20in\x20sending\x20test\x20data\x20for\x20event\x20','expanded','FCSUI','split','sYvdV','ApMwp','STATE_PASSED','kiRHM','BmXMI','TxOOm','frameworkName','WrEAY','ZBPxi','pkrdg','14iXXNQg','bSUoy','body','getCBTInfo','tSuKe','../../helpers/test-observability/requestQueueHandler','_paths','CBTSessionCreated','title','PLAYWRIGHT_HUB_URL','quBPE','path','match','backtrace','OeJel','TestRunFinished','unGtJ','errorsDetailed','setupBrowserDetails','initializeBddStep','util','bs:addLog:','toUpperCase','bCqod','retryOf','exports','lgEdJ','logs','8Ndaoqx','kNoQt','find','Ielwx','WHjrm','1|3|0|4|5|2','eRfMT','3502020yHJPsq','groups','Kgvrf','getFailureType','uBSFe','../../helpers/logger','tAQCp','fWKbL','ZzQwg','startedAt','gayJq','fsmYi','mapTestHooks','finished','IKNOr','HNpYz','failed','concat','./helper.js','result','message','sendCBTInfo','Playwright','suites','STATE_FAILED','failure_backtrace','getTime','getHierarchy','TestRunSkipped','XVibI','string','TestRunStarted','uploadEventData','MYQbH','RbiMz','nPvUV','captureEvent','../../helpers/helper','KkTjb','NMoGR','hook_run_uuid','start','dirname','uuid','integrations','OLlas','debug','sep','HOOK_RUN_FINISHED','KmbUR','codeceptjs','fAdND','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','finished_at','bind','success','feature','AMxsk','duration','connect','passed','text','GBAOM','testAnalyticsId','hookAnalyticsId','name','vVruK','YVaVC','currentTest','UuAoj','hook','fkbCj','Checking\x20for\x20accessibility\x20automation\x20session\x20with\x20','includes','stop','JygmC','client','findGitConfig','SBFis','failure','2661072HMCiAH','currentHook','pMXhA','wsEndpoint','\x20with\x20error\x20:\x20','Not\x20able\x20to\x20import\x20Browser','../../helpers/testhub/utils.js','apply','329883inFyWe','resetSkipTestHooks','toLowerCase','markedStatus','browserstack','../../helpers/test-observability/sessionHandler','457450weWTyW','_testEnv','_beforeAll','fsWdX','DcmOQ','Failed\x20to\x20parse\x20wsendpoint\x20','OKxoa','.git','getHooksForTest','gettU','../../helpers/test-observability/utils','getHookType','PathHelper','Exception\x20in\x20uploading\x20log\x20data\x20to\x20Observability\x20with\x20error\x20:\x20','hpOfg','failure_reason_expanded','NGFtL','stringify','tags','skipped','length','WyrZI','pending'];a4_0x386b=function(){return _0x3e100f;};return a4_0x386b();}a4_0xcf17e2['TEST_RUN_STARTED']=a4_0xc57499(0x248),a4_0xcf17e2[a4_0xc57499(0x2bd)]=a4_0xc57499(0x215),a4_0xcf17e2[a4_0xc57499(0x2cc)]=a4_0xc57499(0x245),a4_0xcf17e2[a4_0xc57499(0x1de)]='HookRunStarted',a4_0xcf17e2[a4_0xc57499(0x259)]=a4_0xc57499(0x1f2);const TEST_EVENTS=a4_0xcf17e2,parseEvent=_0x8c71a1=>{const _0x27fee0=a4_0xc57499,_0x416859={};_0x416859[_0x27fee0(0x226)]=function(_0x46ba0a,_0x431087){return _0x46ba0a<_0x431087;},_0x416859[_0x27fee0(0x2b6)]=function(_0xff73a,_0xa29a2e){return _0xff73a===_0xa29a2e;},_0x416859[_0x27fee0(0x234)]='test',_0x416859[_0x27fee0(0x231)]=_0x27fee0(0x26f),_0x416859[_0x27fee0(0x220)]=function(_0x571133,_0x3efe3d){return _0x571133===_0x3efe3d;},_0x416859[_0x27fee0(0x21d)]=_0x27fee0(0x29a),_0x416859[_0x27fee0(0x238)]='started',_0x416859['zKYcR']=_0x27fee0(0x236);const _0x3ddb9c=_0x416859,_0x567241=_0x8c71a1[_0x27fee0(0x212)](/^(.*)Run(.*)$/);if(!_0x567241)return null;if(_0x3ddb9c[_0x27fee0(0x226)](_0x567241[_0x27fee0(0x29b)],0x3))return null;const _0x50362f=_0x567241[0x1][_0x27fee0(0x283)](),_0x48ac4c=_0x567241[0x2][_0x27fee0(0x283)]();return{'test':_0x3ddb9c[_0x27fee0(0x2b6)](_0x50362f,_0x3ddb9c[_0x27fee0(0x234)]),'hook':_0x3ddb9c[_0x27fee0(0x2b6)](_0x50362f,_0x3ddb9c[_0x27fee0(0x231)]),'skipped':_0x3ddb9c[_0x27fee0(0x220)](_0x48ac4c,_0x3ddb9c[_0x27fee0(0x21d)]),'started':_0x3ddb9c['jSETe'](_0x48ac4c,_0x3ddb9c['HNpYz']),'finished':_0x3ddb9c[_0x27fee0(0x2b6)](_0x48ac4c,_0x3ddb9c['zKYcR'])};},mockPWBrowserType=_0x4a9c8d=>{const _0x1de67a=a4_0xc57499,_0x362a4b={'UuAoj':function(_0x5911e3,_0x22c97b){return _0x5911e3===_0x22c97b;},'WyrZI':_0x1de67a(0x247),'KnlOm':function(_0x444c28,_0x30327e,_0x182870){return _0x444c28(_0x30327e,_0x182870);},'rXXcG':_0x1de67a(0x27c),'svFpb':function(_0xa1ed0d,_0x26bf1a){return _0xa1ed0d(_0x26bf1a);},'wtNTH':_0x1de67a(0x285),'unGtJ':function(_0x1103a5,_0x77e88){return _0x1103a5(_0x77e88);},'UpHcn':_0x1de67a(0x2a0),'eRfMT':_0x1de67a(0x275),'rZNYa':_0x1de67a(0x2cd),'JygmC':function(_0x5119ab,_0x2df692){return _0x5119ab(_0x2df692);},'vHKpo':_0x1de67a(0x27e),'jxWfI':'connect','fkbCj':_0x1de67a(0x1ef)},_0x21ef12=path[_0x1de67a(0x1f3)](_0x362a4b[_0x1de67a(0x2b2)],_0x362a4b[_0x1de67a(0x228)],_0x362a4b[_0x1de67a(0x2ae)]),_0x326035=_0x362a4b[_0x1de67a(0x216)](importFileFromPWCore,_0x21ef12);if(!_0x326035){_0x362a4b[_0x1de67a(0x274)](debug,_0x362a4b[_0x1de67a(0x1ea)]);return;}const _0x4d4cce=_0x326035['BrowserType'],_0x11f63f=_0x4d4cce[_0x1de67a(0x1e5)];if(_0x11f63f[_0x1de67a(0x2ad)])return;const _0x3bfeb7=_0x11f63f[_0x1de67a(0x264)];Object['defineProperty'](_0x11f63f,_0x362a4b['jxWfI'],{'get':function(){return async function _0x446a45(_0x4a5a79,_0x1d1382){const _0x2ccc3e=a4_0x443c,_0x42639e={'DcmOQ':function(_0x2d9bd1,_0x49b136){const _0x477393=a4_0x443c;return _0x362a4b[_0x477393(0x26e)](_0x2d9bd1,_0x49b136);},'YVaVC':_0x362a4b[_0x2ccc3e(0x29c)]},_0x361feb=_0x362a4b[_0x2ccc3e(0x2c2)](nestedKeyValue,_0x4a5a79,[_0x362a4b[_0x2ccc3e(0x1f4)]])||_0x4a5a79;let _0x4819a7=null,_0x456070=null;try{[_0x456070,_0x4819a7]=_0x361feb?_0x362a4b[_0x2ccc3e(0x2c4)](parseWSEndpoint,_0x361feb):[null,null],global[_0x2ccc3e(0x2b3)]=_0x4819a7,logger[_0x2ccc3e(0x257)](_0x2ccc3e(0x271)+_0x456070),_0x456070[_0x2ccc3e(0x272)](Constants[_0x2ccc3e(0x2a9)])&&(global['__cloud_provider___']=_0x362a4b[_0x2ccc3e(0x2cb)]);}catch(_0x87fbf7){logger['debug'](_0x2ccc3e(0x28c)+_0x361feb+'\x20'+_0x87fbf7);}_0x362a4b[_0x2ccc3e(0x2c2)](processAccessibilityCaps,_0x4819a7,_0x456070);if(global[_0x2ccc3e(0x1db)]){const _0x554995=await _0x11f63f['connectOverCDP'][_0x2ccc3e(0x280)](this,[''+Constants[_0x2ccc3e(0x20f)]+_0x362a4b[_0x2ccc3e(0x216)](encodeURIComponent,JSON[_0x2ccc3e(0x298)](_0x4819a7))]);return PlaywrightSessionDetails[_0x2ccc3e(0x218)](_0x554995,_0x4a9c8d,_0x361feb),_0x554995;}return _0x3bfeb7[_0x2ccc3e(0x280)](this,arguments)[_0x2ccc3e(0x2d1)](_0x50ddcc=>{const _0x185ef6=_0x2ccc3e;let _0x5d77cf=_0x4a5a79[_0x185ef6(0x27c)];return _0x42639e[_0x185ef6(0x28b)](typeof _0x4a5a79,_0x42639e[_0x185ef6(0x26c)])&&(_0x5d77cf=_0x4a5a79),PlaywrightSessionDetails[_0x185ef6(0x218)](_0x50ddcc,_0x4a9c8d,_0x5d77cf),_0x50ddcc;});};}});const _0x5d118c=_0x11f63f[_0x1de67a(0x1ef)];Object[_0x1de67a(0x2ce)](_0x11f63f,_0x362a4b[_0x1de67a(0x270)],{'get':function(){return async function _0x6909f9(){const _0x32c834=a4_0x443c;return _0x5d118c['apply'](this,arguments)[_0x32c834(0x2d1)](_0x3c92f1=>{const _0x4989d2=_0x32c834;return PlaywrightSessionDetails[_0x4989d2(0x218)](_0x3c92f1,null),_0x3c92f1;});};}});};class O11yHelper{['currentTest']=null;[a4_0xc57499(0x27a)]=null;['enabled']=![];[a4_0xc57499(0x202)]=![];constructor(_0x1c0663,_0x6e878e){const _0x195324=a4_0xc57499,_0x57b5e2={'uCYmF':_0x195324(0x227),'FMClR':function(_0x312a46){return _0x312a46();},'KmbUR':function(_0x159b54,_0x34f436){return _0x159b54===_0x34f436;},'IKNOr':_0x195324(0x23f),'Kgvrf':function(_0x4bf715,_0x56a4b9){return _0x4bf715(_0x56a4b9);},'tSuKe':function(_0x4d09a4){return _0x4d09a4();}},_0x246e87=_0x57b5e2[_0x195324(0x1f5)][_0x195324(0x1fb)]('|');let _0x5c84a2=0x0;while(!![]){switch(_0x246e87[_0x5c84a2++]){case'0':this['driver']=_0x1c0663;continue;case'1':this[_0x195324(0x1e6)]=_0x57b5e2[_0x195324(0x2b7)](shouldProcessEventForTesthub);continue;case'2':this['driver']&&_0x57b5e2[_0x195324(0x25a)](this['driver']['constructor'][_0x195324(0x26a)],_0x57b5e2[_0x195324(0x237)])&&_0x57b5e2[_0x195324(0x22b)](mockPWBrowserType,null);continue;case'3':this[_0x195324(0x202)]=_0x6e878e[_0x195324(0x202)];continue;case'4':this[_0x195324(0x288)]=_0x57b5e2[_0x195324(0x20a)](getTestEnv);continue;case'5':this[_0x195324(0x20c)]=new testOpsHelper[(_0x195324(0x293))]({'cwd':process[_0x195324(0x2a1)]()},this[_0x195324(0x288)]['location_prefix']);continue;}break;}}[a4_0xc57499(0x252)](){const _0x13d996=a4_0xc57499;if(!this[_0x13d996(0x1e6)])return;testOpsHelper['patchConsoleLogger'](),process[_0x13d996(0x1ed)](_0x13d996(0x21b)+process[_0x13d996(0x2aa)]),process['on']('bs:addLog:'+process[_0x13d996(0x2aa)],this[_0x13d996(0x2b4)][_0x13d996(0x25f)](this));}async[a4_0xc57499(0x273)](){const _0x134ae6=a4_0xc57499;await RequestQueueHandler[_0x134ae6(0x2b0)]()['shutdown']();}async[a4_0xc57499(0x2b4)](_0x941df0){const _0x67e1cb=a4_0xc57499,_0x3a8f6d={'wMZlw':_0x67e1cb(0x1d9),'kNoQt':function(_0x405230,_0x3f4ddb){return _0x405230(_0x3f4ddb);}};try{this[_0x67e1cb(0x27a)]&&!this[_0x67e1cb(0x27a)][_0x67e1cb(0x284)]&&(_0x941df0[_0x67e1cb(0x251)]=this[_0x67e1cb(0x27a)][_0x67e1cb(0x269)]);!_0x941df0[_0x67e1cb(0x251)]&&this[_0x67e1cb(0x26d)]&&!this[_0x67e1cb(0x26d)][_0x67e1cb(0x284)]&&(_0x941df0[_0x67e1cb(0x2a2)]=this[_0x67e1cb(0x26d)][_0x67e1cb(0x268)]);if(_0x941df0['hook_run_uuid']||_0x941df0[_0x67e1cb(0x2a2)]){const _0xfe045c={};_0xfe045c[_0x67e1cb(0x2b9)]=_0x3a8f6d[_0x67e1cb(0x2c9)],_0xfe045c[_0x67e1cb(0x221)]=[_0x941df0],await SessionHandler[_0x67e1cb(0x249)](_0xfe045c);}}catch(_0x309b16){_0x3a8f6d[_0x67e1cb(0x223)](debug,_0x67e1cb(0x294)+_0x309b16);}}async[a4_0xc57499(0x23e)](_0x57ac79){const _0x1eacdf=a4_0xc57499,_0x4c4fd1={'RbiMz':_0x1eacdf(0x20d),'SBFis':function(_0x538df3,_0x547d2d){return _0x538df3(_0x547d2d);}};if(!this[_0x1eacdf(0x1e6)])return;const _0x453a8c=this[_0x1eacdf(0x209)](this[_0x1eacdf(0x2bb)]);try{const _0x370511={};_0x370511[_0x1eacdf(0x254)]=_0x57ac79,_0x370511[_0x1eacdf(0x255)]=_0x453a8c;const _0x15dff9=_0x370511,_0x856914={};_0x856914[_0x1eacdf(0x2b9)]=_0x4c4fd1[_0x1eacdf(0x24b)],_0x856914[_0x1eacdf(0x2ba)]=_0x15dff9,await SessionHandler[_0x1eacdf(0x249)](_0x856914);}catch(_0x55867b){_0x4c4fd1[_0x1eacdf(0x277)](debug,_0x1eacdf(0x2b8)+_0x55867b);}}['getCBTInfo'](_0x5b0cc6){const _0x499014=a4_0xc57499,_0x20e3bb={'peqCF':function(_0x5bcab7,_0x2b1b8a){return _0x5bcab7(_0x2b1b8a);}};return _0x20e3bb[_0x499014(0x2b1)](fetchPlatformDetails,_0x5b0cc6);}[a4_0xc57499(0x282)]=_0x296e6a=>{const _0x1777d3=a4_0xc57499,_0x2fb9fc={};_0x2fb9fc[_0x1777d3(0x27b)]=_0x1777d3(0x1e1),_0x2fb9fc[_0x1777d3(0x204)]=_0x1777d3(0x2d5);const _0x348ce9=_0x2fb9fc;if(!_0x296e6a||!_0x296e6a[_0x1777d3(0x2a3)])return;[_0x348ce9['pMXhA'],_0x348ce9[_0x1777d3(0x204)]][_0x1777d3(0x2a6)](_0x5c7b75=>{const _0x291973=_0x1777d3,_0x2c3e6a=_0x296e6a[_0x291973(0x2a3)][_0x5c7b75];_0x2c3e6a['forEach'](_0x4e78e1=>{const _0x279e65=_0x291973;_0x4e78e1['hookAnalyticsId']&&(_0x4e78e1[_0x279e65(0x269)]=null);});});};[a4_0xc57499(0x235)](_0x402c37){const _0x3c36fb=a4_0xc57499,_0xb4582f={'fPajc':_0x3c36fb(0x25b),'WLARp':function(_0xeb9f81){return _0xeb9f81();},'XtWWC':function(_0x47e91b,_0x3e3e23){return _0x47e91b===_0x3e3e23;},'lqGxO':'_afterEach','liyxD':function(_0x5532c6){return _0x5532c6();},'XVibI':'_beforeAll','xplSL':_0x3c36fb(0x2c1),'AMxsk':_0x3c36fb(0x1e1)};if(!_0x402c37||!_0x402c37[_0x3c36fb(0x2a3)])return;[_0xb4582f[_0x3c36fb(0x246)],_0xb4582f['xplSL'],_0xb4582f[_0x3c36fb(0x262)],_0xb4582f[_0x3c36fb(0x1e8)]][_0x3c36fb(0x2a6)](_0x3e9e50=>{const _0x38f904=_0x3c36fb,_0x410f85=_0x402c37[_0x38f904(0x2a3)][_0x3e9e50]||[];_0x410f85[_0x38f904(0x2a6)](_0x3ac568=>{const _0x1e6f62=_0x38f904;if(_0x3ac568['title'][_0x1e6f62(0x272)](_0xb4582f[_0x1e6f62(0x2a8)]))return;if(!_0x3ac568[_0x1e6f62(0x269)])_0x3ac568[_0x1e6f62(0x269)]=_0xb4582f['WLARp'](uuidv4);else _0x3ac568[_0x1e6f62(0x284)]&&_0xb4582f[_0x1e6f62(0x2a4)](_0x3e9e50,_0xb4582f['lqGxO'])&&(_0x3ac568[_0x1e6f62(0x269)]=_0xb4582f[_0x1e6f62(0x1f0)](uuidv4),delete _0x3ac568['markedStatus']);});}),this['mapTestHooks'](_0x402c37[_0x3c36fb(0x2a3)]);}[a4_0xc57499(0x28f)](_0x12f257){const _0x226a5d=a4_0xc57499,_0x2683e3={};_0x2683e3['mOCkk']=_0x226a5d(0x289),_0x2683e3[_0x226a5d(0x203)]=_0x226a5d(0x2c1),_0x2683e3['iYeDb']=_0x226a5d(0x1e1),_0x2683e3['CtNZQ']=_0x226a5d(0x2d5);const _0x5d76c4=_0x2683e3;if(!_0x12f257||!_0x12f257[_0x226a5d(0x2a3)])return[];const _0x156922=[];return[_0x5d76c4[_0x226a5d(0x2af)],_0x5d76c4[_0x226a5d(0x203)],_0x5d76c4[_0x226a5d(0x2c0)],_0x5d76c4[_0x226a5d(0x1e9)]]['forEach'](_0x3a99a0=>{const _0x271030=_0x226a5d,_0x2ac1de=_0x12f257[_0x271030(0x2a3)][_0x3a99a0]||[];_0x2ac1de[_0x271030(0x2a6)](_0x3ac339=>{const _0x2bd804=_0x271030;_0x3ac339[_0x2bd804(0x269)]&&_0x156922[_0x2bd804(0x1d6)](_0x3ac339[_0x2bd804(0x269)]);});}),[][_0x226a5d(0x23a)](_0x156922,this[_0x226a5d(0x28f)](_0x12f257[_0x226a5d(0x2a3)]));}[a4_0xc57499(0x292)](_0x4e4037){const _0x579e53=a4_0xc57499,_0x5dc0f5=/^"(?<hook>.*)" hook:.*$/,_0x26c401=_0x4e4037[_0x579e53(0x20e)],_0x1b4507=_0x26c401['match'](_0x5dc0f5);if(_0x1b4507&&_0x1b4507[_0x579e53(0x22a)])return _0x1b4507[_0x579e53(0x22a)][_0x579e53(0x26f)][_0x579e53(0x21c)]()[_0x579e53(0x29f)]('\x20','_');return null;}[a4_0xc57499(0x276)](_0x2b5f6b){const _0x1edc1b=a4_0xc57499,_0x1dc486={};_0x1dc486[_0x1edc1b(0x1e2)]=function(_0x2b7018,_0x14c523){return _0x2b7018===_0x14c523;},_0x1dc486[_0x1edc1b(0x201)]=function(_0x11456c,_0x4a358a){return _0x11456c===_0x4a358a;},_0x1dc486[_0x1edc1b(0x250)]=_0x1edc1b(0x28e),_0x1dc486[_0x1edc1b(0x297)]='config';const _0x543b11=_0x1dc486,_0x56feff=path[_0x1edc1b(0x258)];if(_0x543b11[_0x1edc1b(0x1e2)](_0x2b5f6b,null)||_0x543b11[_0x1edc1b(0x1e2)](_0x2b5f6b,'')||_0x543b11[_0x1edc1b(0x201)](_0x2b5f6b,_0x56feff)||_0x543b11['jmLvi'](_0x2b5f6b,path[_0x1edc1b(0x253)](_0x2b5f6b)))return null;try{return fs[_0x1edc1b(0x2ab)](path[_0x1edc1b(0x1f3)](_0x2b5f6b,_0x543b11['NMoGR'],_0x543b11[_0x1edc1b(0x297)])),_0x2b5f6b;}catch(_0x4a758f){const _0x1ff626=path[_0x1edc1b(0x253)](_0x2b5f6b);return this['findGitConfig'](_0x1ff626);}}[a4_0xc57499(0x1d7)](_0x629498){const _0x8b8c51=a4_0xc57499,_0x5d1875={};_0x5d1875[_0x8b8c51(0x256)]=function(_0x2e714c,_0x3e65a8){return _0x2e714c>_0x3e65a8;};const _0x25b689=_0x5d1875;if(_0x629498['file'])return _0x629498['file'];if(_0x629498[_0x8b8c51(0x2d3)]){const _0x4597d2=_0x629498[_0x8b8c51(0x2d3)]['currentTest']?this[_0x8b8c51(0x1d7)](_0x629498['ctx'][_0x8b8c51(0x26d)]):null;if(_0x4597d2)return _0x4597d2;}if(_0x629498['parent']){const _0x51e68a=this[_0x8b8c51(0x1d7)](_0x629498[_0x8b8c51(0x2a3)])||(_0x629498[_0x8b8c51(0x2a3)][_0x8b8c51(0x2d3)]&&_0x629498[_0x8b8c51(0x2a3)][_0x8b8c51(0x2d3)][_0x8b8c51(0x26d)]?this['getRootParentFile'](_0x629498['parent']['ctx'][_0x8b8c51(0x26d)]):null);if(_0x51e68a)return _0x51e68a;_0x629498[_0x8b8c51(0x2a3)][_0x8b8c51(0x240)]&&_0x25b689[_0x8b8c51(0x256)](_0x629498[_0x8b8c51(0x2a3)][_0x8b8c51(0x240)]['length'],0x0)&&_0x629498[_0x8b8c51(0x2a3)][_0x8b8c51(0x240)]['forEach'](_0x428d20=>{const _0x5d9bd9=_0x8b8c51,_0x49ca51=_0x428d20[_0x5d9bd9(0x2d3)]?this[_0x5d9bd9(0x1d7)](_0x428d20['ctx']):null;if(_0x49ca51)return _0x49ca51;});}return null;}[a4_0xc57499(0x244)](_0x57525a){const _0x599b41=a4_0xc57499,_0x3487cf={};_0x3487cf[_0x599b41(0x214)]=function(_0x5851f8,_0x57a8a1){return _0x5851f8!==_0x57a8a1;};const _0x25106f=_0x3487cf,_0x5a0375=[];if(_0x57525a&&_0x57525a[_0x599b41(0x2a3)]){let _0xc98689=_0x57525a[_0x599b41(0x2a3)];while(_0xc98689&&_0x25106f[_0x599b41(0x214)](_0xc98689[_0x599b41(0x20e)],'')){_0x5a0375[_0x599b41(0x1d6)](_0xc98689[_0x599b41(0x20e)]),_0xc98689=_0xc98689[_0x599b41(0x2a3)];}}return _0x5a0375;}[a4_0xc57499(0x24d)](_0xeaf06f,_0x599d97,_0x421724=undefined){const _0x2380d2=a4_0xc57499,_0x9ae63f={'TzLzn':function(_0x56a63d,_0x550d32){return _0x56a63d(_0x550d32);},'MHJqK':function(_0x4a0a51){return _0x4a0a51();},'sYvdV':function(_0x2c6faf){return _0x2c6faf();},'zzaYv':function(_0x4b0cc1){return _0x4b0cc1();},'fsWdX':function(_0x534461){return _0x534461();},'Xxzxc':function(_0x156a70,_0x1db8ff){return _0x156a70(_0x1db8ff);},'bSUoy':_0x2380d2(0x21a),'uBSFe':_0x2380d2(0x1df),'FCSUI':function(_0x41efaa,_0x2a41f2){return _0x41efaa!==_0x2a41f2;},'Ielwx':'File\x20path\x20could\x20not\x20be\x20found','BmXMI':_0x2380d2(0x29d),'fWKbL':_0x2380d2(0x239),'pkrdg':_0x2380d2(0x265),'LqvON':_0x2380d2(0x29a),'kiRHM':_0x2380d2(0x2be),'MYQbH':function(_0x487a57,_0x2e9a04){return _0x487a57-_0x2e9a04;},'gettU':function(_0x42b324,_0x38a350,_0xa5da5c,_0xeee57e,_0x1a4883){return _0x42b324(_0x38a350,_0xa5da5c,_0xeee57e,_0x1a4883);},'rShXH':_0x2380d2(0x255),'tAQCp':_0x2380d2(0x29e),'ApMwp':_0x2380d2(0x278),'gayJq':_0x2380d2(0x242),'OKxoa':_0x2380d2(0x213),'jryVP':_0x2380d2(0x296),'vVruK':_0x2380d2(0x1f9),'grUeb':function(_0x513c9c,_0x2d7faf){return _0x513c9c===_0x2d7faf;},'zRqNf':_0x2380d2(0x1da),'GBAOM':'test_run'};if(!this['enabled'])return;try{if(_0x599d97['fn']&&_0x599d97['fn'][_0x2380d2(0x2a7)]()[_0x2380d2(0x212)](/browserstack internal helper hook/))return;const _0x2665e1=_0x9ae63f[_0x2380d2(0x2ac)](parseEvent,_0xeaf06f);if(!_0x2665e1)return;if(_0x2665e1['test']){this['currentTest']=_0x599d97,this[_0x2380d2(0x27a)]=null;if(_0x2665e1[_0x2380d2(0x1e3)]||_0x2665e1['skipped']){_0x599d97[_0x2380d2(0x232)]=new Date(),_0x599d97[_0x2380d2(0x284)]=![];if(!_0x599d97['testAnalyticsId'])_0x599d97[_0x2380d2(0x268)]=_0x9ae63f[_0x2380d2(0x1eb)](uuidv4);else _0x599d97[_0x2380d2(0x284)]&&(!_0x599d97[_0x2380d2(0x21e)]&&(_0x599d97['retryOf']=_0x599d97[_0x2380d2(0x268)]),_0x599d97[_0x2380d2(0x268)]=_0x9ae63f[_0x2380d2(0x1fc)](uuidv4));}}else{if(_0x2665e1[_0x2380d2(0x26f)]){this[_0x2380d2(0x27a)]=_0x599d97;if(_0x2665e1[_0x2380d2(0x1e3)]){_0x599d97[_0x2380d2(0x232)]=new Date(),_0x599d97[_0x2380d2(0x284)]=![];if(!_0x599d97[_0x2380d2(0x269)])_0x599d97[_0x2380d2(0x269)]=_0x9ae63f[_0x2380d2(0x2bf)](uuidv4);else _0x599d97['hookAnalyticsId']&&_0x599d97['markedStatus']&&(_0x599d97[_0x2380d2(0x269)]=_0x9ae63f[_0x2380d2(0x28a)](uuidv4));}}}if(_0x2665e1[_0x2380d2(0x236)]&&_0x599d97[_0x2380d2(0x284)])return;let _0x43ad5c;try{_0x43ad5c=this['getRootParentFile'](_0x599d97);}catch(_0x255592){logger[_0x2380d2(0x257)]('failed\x20to\x20get\x20root\x20parent\x20file\x20'+_0x255592),_0x43ad5c=null;}const _0x4b30d4=_0x9ae63f['Xxzxc'](require,_0x9ae63f[_0x2380d2(0x207)]);let _0xc2b674=[];_0x421724&&(_0xc2b674=[_0x421724,_0x9ae63f[_0x2380d2(0x22d)]]);const _0x50f274=_0x9ae63f[_0x2380d2(0x1fa)](_0x599d97[_0x2380d2(0x217)],undefined)?_0x4b30d4[_0x2380d2(0x2b5)](_0x599d97[_0x2380d2(0x217)][0x0]):_0x9ae63f[_0x2380d2(0x1fa)](_0x421724,undefined)?_0x421724['toString']():undefined,_0x516627=_0x43ad5c?this[_0x2380d2(0x276)](_0x43ad5c):null,_0x49275c=_0x43ad5c?this[_0x2380d2(0x20c)][_0x2380d2(0x1e4)](this[_0x2380d2(0x1d7)](_0x599d97)):_0x9ae63f[_0x2380d2(0x225)];let _0xec2b83=_0x9ae63f[_0x2380d2(0x200)];const _0xf1b39a=!_0x2665e1[_0x2380d2(0x1e3)]?new Date()[_0x2380d2(0x2bc)]():null;if(_0x2665e1['finished'])_0xec2b83=_0x421724?_0x9ae63f[_0x2380d2(0x230)]:_0x9ae63f[_0x2380d2(0x205)],_0x599d97['markedStatus']=!![];else _0x2665e1[_0x2380d2(0x29a)]&&(_0xec2b83=_0x9ae63f['LqvON'],_0x599d97['markedStatus']=!![]);const _0x5a51b5={'framework':this[_0x2380d2(0x202)],'uuid':_0x599d97[_0x2380d2(0x268)]||_0x599d97[_0x2380d2(0x269)],'name':_0x599d97[_0x2380d2(0x20e)],'body':{'lang':_0x9ae63f[_0x2380d2(0x1ff)],'code':_0x599d97[_0x2380d2(0x208)][_0x2380d2(0x2a7)]()},'type':_0x599d97[_0x2380d2(0x2d4)],'scope':_0x599d97[_0x2380d2(0x1e7)](),'scopes':this['getHierarchy'](_0x599d97),'file_name':_0x49275c,'vc_filepath':_0x516627?path[_0x2380d2(0x1dd)](_0x516627,_0x43ad5c):null,'location':_0x49275c,'result':_0xec2b83,'failure_reason':_0x50f274,'duration_in_ms':_0x599d97[_0x2380d2(0x263)]||(_0x2665e1[_0x2380d2(0x236)]||_0x2665e1[_0x2380d2(0x29a)])?_0x9ae63f[_0x2380d2(0x24a)](Date[_0x2380d2(0x2d2)](),new Date(_0x599d97[_0x2380d2(0x232)])[_0x2380d2(0x243)]()):null,'started_at':new Date(_0x599d97[_0x2380d2(0x232)])[_0x2380d2(0x2bc)](),'finished_at':_0xf1b39a,'failure':testOpsHelper['failureData'][_0x2380d2(0x280)](null,_0xc2b674),'failure_type':!_0x50f274?null:testOpsHelper[_0x2380d2(0x22c)](_0x50f274),'retry_of':_0x599d97[_0x2380d2(0x21e)]||null,'tags':_0x599d97[_0x2380d2(0x299)]||[],'customRerunParam':{'rerun_name':_0x599d97[_0x2380d2(0x1e7)]()}};_0x9ae63f[_0x2380d2(0x290)](appendTesthubParams,_0x5a51b5,_0xeaf06f,_0x599d97,FRAMEWORKS['CODECEPT']);if(_0x2665e1[_0x2380d2(0x26f)])[_0x5a51b5[_0x2380d2(0x2c3)],_0x5a51b5[_0x2380d2(0x26a)]]=[this['getHookType'](_0x599d97),_0x599d97[_0x2380d2(0x2d3)][_0x2380d2(0x2d0)]['title']],_0x2665e1['finished']?_0x9ae63f['FCSUI'](_0x5a51b5['result'],_0x9ae63f[_0x2380d2(0x230)])&&(_0x5a51b5[_0x2380d2(0x23c)]=_0x9ae63f[_0x2380d2(0x205)]):_0x5a51b5['body']={};else _0x2665e1[_0x2380d2(0x2d0)]&&(this['mapTestHooks'](_0x599d97),_0x2665e1[_0x2380d2(0x29a)]&&this['resetSkipTestHooks'](_0x599d97),(_0x2665e1[_0x2380d2(0x236)]||_0x2665e1[_0x2380d2(0x29a)])&&(_0x5a51b5[_0x2380d2(0x2c7)]=this['getHooksForTest'](_0x599d97)));this[_0x2380d2(0x2bb)]&&(_0x2665e1[_0x2380d2(0x1e3)]||_0x2665e1[_0x2380d2(0x29a)])&&(_0x5a51b5[_0x9ae63f['rShXH']]=this[_0x2380d2(0x209)](this[_0x2380d2(0x2bb)]));_0x2665e1['test']&&_0x2665e1['finished']&&_0x599d97[_0x2380d2(0x1dc)]&&(_0x5a51b5[_0x9ae63f[_0x2380d2(0x22f)]]={'feature':{'name':_0x599d97['parent'][_0x2380d2(0x261)]['name'],'path':_0x5a51b5[_0x2380d2(0x2c8)],'description':_0x599d97[_0x2380d2(0x2a3)]['comment']},'scenario':{'name':_0x599d97[_0x2380d2(0x20e)]},'steps':_0x599d97[_0x2380d2(0x1dc)]});const _0x4879bb=_0x5a51b5[_0x9ae63f[_0x2380d2(0x1fd)]][0x0];_0x4879bb&&(_0x5a51b5[_0x9ae63f[_0x2380d2(0x233)]]=_0x4879bb[_0x9ae63f[_0x2380d2(0x28d)]],_0x5a51b5[_0x9ae63f['jryVP']]=_0x4879bb[_0x9ae63f[_0x2380d2(0x26b)]]);if(_0x599d97[_0x2380d2(0x1dc)])for(const _0x55cb0d of _0x599d97[_0x2380d2(0x1dc)]){!_0x55cb0d[_0x2380d2(0x25e)]&&(_0x55cb0d['finished_at']=new Date()[_0x2380d2(0x2bc)](),_0x9ae63f[_0x2380d2(0x1f6)](_0x55cb0d[_0x2380d2(0x23c)],_0x9ae63f[_0x2380d2(0x200)])&&(_0x4879bb?(_0x55cb0d[_0x2380d2(0x23c)]=_0x9ae63f[_0x2380d2(0x230)],_0x55cb0d['failure']=_0x4879bb[_0x9ae63f['OKxoa']][0x0]):_0x55cb0d['result']=_0x9ae63f['pkrdg']));}const _0x18b445={};_0x18b445[_0x2380d2(0x2b9)]=_0x2665e1[_0x2380d2(0x29a)]?TEST_EVENTS[_0x2380d2(0x2bd)]:_0xeaf06f;const _0x3c3246=_0x18b445;return _0x2665e1[_0x2380d2(0x26f)]?_0x3c3246[_0x9ae63f['zRqNf']]=_0x5a51b5:_0x3c3246[_0x9ae63f[_0x2380d2(0x267)]]=_0x5a51b5,_0x3c3246;}catch(_0xf14f59){logger[_0x2380d2(0x257)](_0x2380d2(0x25d)+_0xeaf06f+_0x2380d2(0x27d)+_0xf14f59);}}async['fireEvent'](_0x4b385a,_0x3c302f){const _0xbfcc73=a4_0xc57499;if(!this[_0xbfcc73(0x1e6)]||!_0x3c302f||!_0x4b385a)return![];try{return await SessionHandler['uploadEventData'](_0x3c302f);}catch(_0x33744e){logger[_0xbfcc73(0x257)](_0xbfcc73(0x1f8)+_0x4b385a+_0xbfcc73(0x27d)+_0x33744e);}}[a4_0xc57499(0x219)](_0xacd8c8){const _0x32cd07=a4_0xc57499,_0x414510={};_0x414510[_0x32cd07(0x210)]='pending';const _0x4ad0c8=_0x414510;return{'id':_0xacd8c8['stepAnalyticsId'],'text':_0xacd8c8[_0x32cd07(0x266)],'keyword':_0xacd8c8[_0x32cd07(0x1f7)],'started_at':_0xacd8c8[_0x32cd07(0x232)]['toISOString'](),'result':_0x4ad0c8['quBPE']};}['bddStepStart'](_0x2c7f39){const _0x65e09b=a4_0xc57499,_0x3ba01d={'hpOfg':function(_0x240100){return _0x240100();}};!this[_0x65e09b(0x26d)][_0x65e09b(0x1dc)]&&(this[_0x65e09b(0x26d)][_0x65e09b(0x1dc)]=[]),!_0x2c7f39[_0x65e09b(0x2cf)]&&(_0x2c7f39[_0x65e09b(0x2cf)]=_0x3ba01d[_0x65e09b(0x295)](uuidv4),_0x2c7f39[_0x65e09b(0x232)]=new Date(),this[_0x65e09b(0x26d)][_0x65e09b(0x1dc)][_0x65e09b(0x1d6)](this[_0x65e09b(0x219)](_0x2c7f39)));}[a4_0xc57499(0x2a5)](_0xba15bb){const _0x4a019c=a4_0xc57499,_0x2a0626={'ZGwLS':function(_0x41dcc9,_0xcd76a8){return _0x41dcc9(_0xcd76a8);},'fAdND':_0x4a019c(0x260),'NBirR':_0x4a019c(0x29d),'KkTjb':_0x4a019c(0x265),'nPvUV':function(_0x522812,_0x484fc0){return _0x522812-_0x484fc0;}};let _0x58cfc5=this[_0x4a019c(0x26d)][_0x4a019c(0x1dc)][_0x4a019c(0x224)](_0x483a67=>_0x483a67['id']===_0xba15bb[_0x4a019c(0x2cf)]);_0x2a0626['ZGwLS'](isUndefined,_0x58cfc5)&&(_0x58cfc5=this['initializeBddStep'](_0xba15bb)),_0x58cfc5[_0x4a019c(0x23c)]=[_0x2a0626[_0x4a019c(0x25c)],_0x2a0626['NBirR']][_0x4a019c(0x272)](_0xba15bb['status'])?_0x2a0626[_0x4a019c(0x24f)]:_0xba15bb[_0x4a019c(0x1ec)],_0x58cfc5['finished_at']=new Date()[_0x4a019c(0x2bc)](),_0x58cfc5['duration']=_0x2a0626[_0x4a019c(0x24c)](Date['now'](),_0xba15bb[_0x4a019c(0x232)]['getTime']()),_0x58cfc5['failure']=_0xba15bb['err']?_0xba15bb['err'][_0x4a019c(0x23d)]:null;}}function a4_0x443c(_0x117b05,_0x3b70ed){const _0x386b8b=a4_0x386b();return a4_0x443c=function(_0x443cad,_0x132222){_0x443cad=_0x443cad-0x1d6;let _0x1bf10b=_0x386b8b[_0x443cad];return _0x1bf10b;},a4_0x443c(_0x117b05,_0x3b70ed);}const a4_0x4a3ea4={};a4_0x4a3ea4['O11yHelper']=O11yHelper,a4_0x4a3ea4[a4_0xc57499(0x1fe)]=STATE_PASSED,a4_0x4a3ea4[a4_0xc57499(0x241)]=STATE_FAILED,a4_0x4a3ea4['TEST_EVENTS']=TEST_EVENTS,module[a4_0xc57499(0x21f)]=a4_0x4a3ea4;
|
|
1
|
+
function a4_0x5ab0(){const _0x22d8b5=['HwyeG','__platformCaps','status','TEmHE','failed','connect','message','ENWzq','FXIsA','exports','GsDCH','findGitConfig','Checking\x20for\x20accessibility\x20automation\x20session\x20with\x20','EKzde','failure','comment','relative','dNFAb','statSync','_testEnv','testAnalyticsId','dadqZ','gFiet','GRLzB','sUExA','CODECEPT','NkLSC','../playwright/accessibility-helper','YVwQq','dWErh','DoPTW','logs','XsmTE','browserType.js','LjbWW','HookRunFinished','concat','toLowerCase','finished','now','bwEha','debug','javascript','DpZwr','util','zNzwm','startedAt','start','../../helpers/test-observability/requestQueueHandler','bddSteps','getFailureType','ckRxW','TestRunFinished','keyword','parent','setupBrowserDetails','fullTitle','join','dirname','QtcfS','currentTest','stop','failure_backtrace','kGSSm','getRootParentFile','uuid','.git','TestRunSkipped','gxXaz','2GACOys','hooks','getHooksForTest','location_prefix','failure_reason_expanded','passed','jsCYZ','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20Observability\x20with\x20error\x20:\x20','sep','duration','constructor','getInstance','23300688hjdJcA','31355okMNEn','match','KwHYn','iSvLP','27iCPlXM','HPzHb','shutdown','pid','HookRunStarted','uploadEventData','KgYYY','../../helpers/logger','Izdox','qFMmJ','mapTestHooks','TEST_RUN_STARTED','length','2780690JsMTWK','DeBCJ','winstonLogger','dodmT','bbayT','VVlhE','DVDnR','hoRBJ','KNyYo','pending','CBTSessionCreated','_paths','EBWib','750198bcMOQw','../utils/constants','O11yHelper','vMzMC','integrations','_afterAll','backtrace','rCWhE','../../helpers/helper','enabled','initializeBddStep','DAehn','markedStatus','nvbBQ','test_run','qNztQ','yYORU','wsEndpoint','lib','toISOString','fireEvent','CZEzl','BrowserType','eVEOz','10pKiQor','browserstack','toUpperCase','TEST_RUN_FINISHED','hookAnalyticsId','test','string','getCBTInfo','patchConsoleLogger','body','fNqkJ','RWLof','XAhtX','defineProperty','400mQucUE','apply','frameworkName','2170735Zjelrw','GpjsQ','wekqX','SwKRI','getTime','hook','tags','49023yaIMhF','TroQk','sUctM','ZKhwl','stepAnalyticsId','../../helpers/test-observability/utils','name','launch','ntsjG','meta','currentHook','push','jTzVC','sendCBTInfo','vvGhL','zeQjB','success','../playwright/sessionDetails','bSGms','fIsOs','split','hook_run','CtKFE','file','tesep','UQzvJ','codeceptjs','path','../../helpers/test-observability/constants','getHookType','File\x20path\x20could\x20not\x20be\x20found','HOOK_RUN_FINISHED','driver','appendTestItemLog','hook_type','finished_at','PathHelper','BROWSERSTACK','captureEvent','prototype','QMRkf','groups','_beforeEach','bkYDZ','stringify','expanded','LogCreated','TSCbJ','LCKjj','NbNdg','suites','pjeAv','Exception\x20in\x20uploading\x20log\x20data\x20to\x20Observability\x20with\x20error\x20:\x20','accessibilityPlatform','vKSBp','test_run_uuid','PLAYWRIGHT_HUB_URL','connectOverCDP','errorsDetailed','started','failureData','includes','14KNYkRf','_afterEach','nNYfl','212728mWxlzX','skipped','PbPFX','getHierarchy','title','__cloud_provider___','Exception\x20in\x20sending\x20test\x20data\x20for\x20event\x20','inspect','then','retryOf','../../helpers/test-observability/sessionHandler','Qjwlr','lDlJX','result','obsBrowserTypeMockApplied','toString','hook_run_uuid','_beforeAll','err','bind','text','../../helpers/testhub/utils.js','type','KlZRg','event_type','ctx','forEach'];a4_0x5ab0=function(){return _0x22d8b5;};return a4_0x5ab0();}const a4_0x205ea3=a4_0x109c;(function(_0x30d715,_0x40c53e){const _0x136a57=a4_0x109c,_0x5de104=_0x30d715();while(!![]){try{const _0xc37612=-parseInt(_0x136a57(0x274))/0x1*(-parseInt(_0x136a57(0x267))/0x2)+-parseInt(_0x136a57(0x278))/0x3*(parseInt(_0x136a57(0x207))/0x4)+-parseInt(_0x136a57(0x2bb))/0x5+parseInt(_0x136a57(0x292))/0x6*(-parseInt(_0x136a57(0x204))/0x7)+-parseInt(_0x136a57(0x2b8))/0x8*(parseInt(_0x136a57(0x2c2))/0x9)+parseInt(_0x136a57(0x2aa))/0xa*(-parseInt(_0x136a57(0x285))/0xb)+parseInt(_0x136a57(0x273))/0xc;if(_0xc37612===_0x40c53e)break;else _0x5de104['push'](_0x5de104['shift']());}catch(_0x178a52){_0x5de104['push'](_0x5de104['shift']());}}}(a4_0x5ab0,0x459a0));const path=require(a4_0x205ea3(0x1e1)),fs=require('fs'),{v4:uuidv4}=require(a4_0x205ea3(0x263)),{importFileFromPWCore,nestedKeyValue,parseWSEndpoint,isUndefined}=require(a4_0x205ea3(0x29a)),testOpsHelper=require(a4_0x205ea3(0x1cb)),{getTestEnv}=require('../mocha/test-observability/mochaUtils'),{FRAMEWORKS}=require(a4_0x205ea3(0x1e2)),logger=require(a4_0x205ea3(0x27f))[a4_0x205ea3(0x287)],SessionHandler=require(a4_0x205ea3(0x211)),RequestQueueHandler=require(a4_0x205ea3(0x252)),PlaywrightSessionDetails=require(a4_0x205ea3(0x1d7)),debug=testOpsHelper[a4_0x205ea3(0x24b)],{processAccessibilityCaps}=require(a4_0x205ea3(0x23d)),Constants=require(a4_0x205ea3(0x293)),{fetchPlatformDetails}=require('./helper.js'),{shouldProcessEventForTesthub,appendTesthubParams}=require(a4_0x205ea3(0x21c)),STATE_PASSED=a4_0x205ea3(0x26c),STATE_FAILED=a4_0x205ea3(0x226),a4_0x4e0979={};a4_0x4e0979[a4_0x205ea3(0x283)]='TestRunStarted',a4_0x4e0979[a4_0x205ea3(0x2ad)]=a4_0x205ea3(0x256),a4_0x4e0979['TEST_RUN_SKIPPED']=a4_0x205ea3(0x265),a4_0x4e0979['HOOK_RUN_STARTED']=a4_0x205ea3(0x27c),a4_0x4e0979[a4_0x205ea3(0x1e5)]=a4_0x205ea3(0x245);function a4_0x109c(_0x286485,_0x22e7ff){const _0x5ab0b5=a4_0x5ab0();return a4_0x109c=function(_0x109c1d,_0x107c5b){_0x109c1d=_0x109c1d-0x1ca;let _0xba7a91=_0x5ab0b5[_0x109c1d];return _0xba7a91;},a4_0x109c(_0x286485,_0x22e7ff);}const TEST_EVENTS=a4_0x4e0979,parseEvent=_0x373cde=>{const _0x3209e0=a4_0x205ea3,_0xa6849e={};_0xa6849e['zeQjB']=function(_0x29a4d4,_0x1318f8){return _0x29a4d4<_0x1318f8;},_0xa6849e[_0x3209e0(0x280)]=function(_0x384b9b,_0x2439a5){return _0x384b9b===_0x2439a5;},_0xa6849e[_0x3209e0(0x291)]=_0x3209e0(0x2af),_0xa6849e[_0x3209e0(0x233)]=function(_0x856761,_0x1f61bc){return _0x856761===_0x1f61bc;},_0xa6849e[_0x3209e0(0x288)]=_0x3209e0(0x2c0),_0xa6849e[_0x3209e0(0x2c5)]=function(_0x35817f,_0x433b77){return _0x35817f===_0x433b77;},_0xa6849e['hoRBJ']=_0x3209e0(0x208),_0xa6849e[_0x3209e0(0x2a1)]=_0x3209e0(0x201),_0xa6849e[_0x3209e0(0x29f)]=function(_0x5f151a,_0x297507){return _0x5f151a===_0x297507;},_0xa6849e[_0x3209e0(0x1d8)]=_0x3209e0(0x248);const _0x44380f=_0xa6849e,_0x49c154=_0x373cde[_0x3209e0(0x275)](/^(.*)Run(.*)$/);if(!_0x49c154)return null;if(_0x44380f[_0x3209e0(0x1d5)](_0x49c154[_0x3209e0(0x284)],0x3))return null;const _0x2b69b6=_0x49c154[0x1]['toLowerCase'](),_0x1897fb=_0x49c154[0x2][_0x3209e0(0x247)]();return{'test':_0x44380f[_0x3209e0(0x280)](_0x2b69b6,_0x44380f[_0x3209e0(0x291)]),'hook':_0x44380f[_0x3209e0(0x233)](_0x2b69b6,_0x44380f['dodmT']),'skipped':_0x44380f[_0x3209e0(0x2c5)](_0x1897fb,_0x44380f[_0x3209e0(0x28c)]),'started':_0x44380f['ZKhwl'](_0x1897fb,_0x44380f[_0x3209e0(0x2a1)]),'finished':_0x44380f[_0x3209e0(0x29f)](_0x1897fb,_0x44380f[_0x3209e0(0x1d8)])};},mockPWBrowserType=_0x2a1ef9=>{const _0x1af264=a4_0x205ea3,_0x5192ee={'LCKjj':function(_0x3e24e8,_0x83f350){return _0x3e24e8===_0x83f350;},'DeBCJ':_0x1af264(0x2b0),'ENWzq':function(_0x431a23,_0x524271,_0x531109){return _0x431a23(_0x524271,_0x531109);},'jQKmP':_0x1af264(0x2a3),'fIsOs':function(_0x1ce19c,_0x56882c){return _0x1ce19c(_0x56882c);},'wekqX':_0x1af264(0x2ab),'VVlhE':function(_0x4f8c49,_0x15a9f3){return _0x4f8c49(_0x15a9f3);},'ntsjG':_0x1af264(0x2a4),'dWErh':'client','sUctM':_0x1af264(0x243),'XAhtX':'Not\x20able\x20to\x20import\x20Browser','eVEOz':_0x1af264(0x227),'ckRxW':_0x1af264(0x1cd)},_0x4fc246=path[_0x1af264(0x25b)](_0x5192ee[_0x1af264(0x1ce)],_0x5192ee[_0x1af264(0x23f)],_0x5192ee[_0x1af264(0x2c4)]),_0x727f5f=_0x5192ee[_0x1af264(0x28a)](importFileFromPWCore,_0x4fc246);if(!_0x727f5f){_0x5192ee['VVlhE'](debug,_0x5192ee[_0x1af264(0x2b6)]);return;}const _0x5896a3=_0x727f5f[_0x1af264(0x2a8)],_0x111d13=_0x5896a3[_0x1af264(0x1ed)];if(_0x111d13[_0x1af264(0x215)])return;const _0x54a57b=_0x111d13[_0x1af264(0x227)];Object[_0x1af264(0x2b7)](_0x111d13,_0x5192ee[_0x1af264(0x2a9)],{'get':function(){return async function _0x38bec0(_0x7dddb4,_0x1d80fd){const _0x1111c3=a4_0x109c,_0x202bc3={'jTzVC':function(_0x1e3a12,_0x2b8ee6){const _0x4388c6=a4_0x109c;return _0x5192ee[_0x4388c6(0x1f6)](_0x1e3a12,_0x2b8ee6);},'vzXRk':_0x5192ee[_0x1111c3(0x286)]},_0x3e0eb1=_0x5192ee[_0x1111c3(0x229)](nestedKeyValue,_0x7dddb4,[_0x5192ee['jQKmP']])||_0x7dddb4;let _0x160d7b=null,_0x4a5599=null;try{[_0x4a5599,_0x160d7b]=_0x3e0eb1?_0x5192ee[_0x1111c3(0x1d9)](parseWSEndpoint,_0x3e0eb1):[null,null],global[_0x1111c3(0x223)]=_0x160d7b,logger[_0x1111c3(0x24b)](_0x1111c3(0x22e)+_0x4a5599),_0x4a5599[_0x1111c3(0x203)](Constants[_0x1111c3(0x1eb)])&&(global[_0x1111c3(0x20c)]=_0x5192ee[_0x1111c3(0x2bd)]);}catch(_0xe89d6b){logger[_0x1111c3(0x24b)]('Failed\x20to\x20parse\x20wsendpoint\x20'+_0x3e0eb1+'\x20'+_0xe89d6b);}_0x5192ee['ENWzq'](processAccessibilityCaps,_0x160d7b,_0x4a5599);if(global[_0x1111c3(0x1fb)]){const _0x27d137=await _0x111d13[_0x1111c3(0x1ff)][_0x1111c3(0x2b9)](this,[''+Constants[_0x1111c3(0x1fe)]+_0x5192ee[_0x1111c3(0x28a)](encodeURIComponent,JSON[_0x1111c3(0x1f2)](_0x160d7b))]);return PlaywrightSessionDetails[_0x1111c3(0x259)](_0x27d137,_0x2a1ef9,_0x3e0eb1),_0x27d137;}return _0x54a57b[_0x1111c3(0x2b9)](this,arguments)[_0x1111c3(0x20f)](_0x4222da=>{const _0x2efa07=_0x1111c3;let _0x1d0b3f=_0x7dddb4[_0x2efa07(0x2a3)];return _0x202bc3[_0x2efa07(0x1d2)](typeof _0x7dddb4,_0x202bc3['vzXRk'])&&(_0x1d0b3f=_0x7dddb4),PlaywrightSessionDetails[_0x2efa07(0x259)](_0x4222da,_0x2a1ef9,_0x1d0b3f),_0x4222da;});};}});const _0x51a99a=_0x111d13['launch'];Object[_0x1af264(0x2b7)](_0x111d13,_0x5192ee[_0x1af264(0x255)],{'get':function(){return async function _0x31812d(){const _0x5e58e2=a4_0x109c;return _0x51a99a[_0x5e58e2(0x2b9)](this,arguments)[_0x5e58e2(0x20f)](_0x69a600=>{const _0x1d6a74=_0x5e58e2;return PlaywrightSessionDetails[_0x1d6a74(0x259)](_0x69a600,null),_0x69a600;});};}});};class O11yHelper{[a4_0x205ea3(0x25e)]=null;['currentHook']=null;['enabled']=![];[a4_0x205ea3(0x2ba)]=![];constructor(_0x27bcde,_0x716284){const _0x3d0e34=a4_0x205ea3,_0x490e89={'lDlJX':'3|0|4|2|1|5','YVwQq':function(_0x49b446){return _0x49b446();},'KgYYY':function(_0x2dd205){return _0x2dd205();},'QMRkf':function(_0x371d67,_0x10efb7){return _0x371d67===_0x10efb7;},'zMTap':'Playwright','QYtnI':function(_0x331e0e,_0xdb94b){return _0x331e0e(_0xdb94b);}},_0x52f9ea=_0x490e89[_0x3d0e34(0x213)][_0x3d0e34(0x1da)]('|');let _0x21e988=0x0;while(!![]){switch(_0x52f9ea[_0x21e988++]){case'0':this[_0x3d0e34(0x2ba)]=_0x716284['frameworkName'];continue;case'1':this[_0x3d0e34(0x290)]=new testOpsHelper[(_0x3d0e34(0x1ea))]({'cwd':process['cwd']()},this[_0x3d0e34(0x235)][_0x3d0e34(0x26a)]);continue;case'2':this['_testEnv']=_0x490e89[_0x3d0e34(0x23e)](getTestEnv);continue;case'3':this['enabled']=_0x490e89[_0x3d0e34(0x27e)](shouldProcessEventForTesthub);continue;case'4':this['driver']=_0x27bcde;continue;case'5':this['driver']&&_0x490e89[_0x3d0e34(0x1ee)](this[_0x3d0e34(0x1e6)][_0x3d0e34(0x271)][_0x3d0e34(0x1cc)],_0x490e89['zMTap'])&&_0x490e89['QYtnI'](mockPWBrowserType,null);continue;}break;}}[a4_0x205ea3(0x251)](){const _0x41202a=a4_0x205ea3;if(!this[_0x41202a(0x29b)])return;testOpsHelper[_0x41202a(0x2b2)](),process['removeAllListeners']('bs:addLog:'+process['pid']),process['on']('bs:addLog:'+process[_0x41202a(0x27b)],this[_0x41202a(0x1e7)][_0x41202a(0x21a)](this));}async[a4_0x205ea3(0x25f)](){const _0xcb6f8a=a4_0x205ea3;await RequestQueueHandler[_0xcb6f8a(0x272)]()[_0xcb6f8a(0x27a)]();}async[a4_0x205ea3(0x1e7)](_0x14a9cd){const _0xa11244=a4_0x205ea3,_0x2ed1d2={'QtcfS':_0xa11244(0x1f4),'kGSSm':function(_0x532879,_0x4dfbf7){return _0x532879(_0x4dfbf7);}};try{this[_0xa11244(0x1d0)]&&!this[_0xa11244(0x1d0)]['markedStatus']&&(_0x14a9cd[_0xa11244(0x217)]=this[_0xa11244(0x1d0)]['hookAnalyticsId']);!_0x14a9cd[_0xa11244(0x217)]&&this[_0xa11244(0x25e)]&&!this['currentTest'][_0xa11244(0x29e)]&&(_0x14a9cd[_0xa11244(0x1fd)]=this['currentTest'][_0xa11244(0x236)]);if(_0x14a9cd[_0xa11244(0x217)]||_0x14a9cd[_0xa11244(0x1fd)]){const _0x2627ee={};_0x2627ee['event_type']=_0x2ed1d2[_0xa11244(0x25d)],_0x2627ee[_0xa11244(0x241)]=[_0x14a9cd],await SessionHandler['uploadEventData'](_0x2627ee);}}catch(_0x1554e7){_0x2ed1d2[_0xa11244(0x261)](debug,_0xa11244(0x1fa)+_0x1554e7);}}async[a4_0x205ea3(0x1d3)](_0x567515){const _0x6e9062=a4_0x205ea3,_0x1f41d2={'WFTkb':_0x6e9062(0x28f),'DpZwr':function(_0x1dfa30,_0x4318b9){return _0x1dfa30(_0x4318b9);}};if(!this[_0x6e9062(0x29b)])return;const _0x3cfdf4=this[_0x6e9062(0x2b1)](this[_0x6e9062(0x1e6)]);try{const _0x26de31={};_0x26de31['uuid']=_0x567515,_0x26de31[_0x6e9062(0x296)]=_0x3cfdf4;const _0x53ce49=_0x26de31,_0x58187a={};_0x58187a[_0x6e9062(0x21f)]=_0x1f41d2['WFTkb'],_0x58187a[_0x6e9062(0x2a0)]=_0x53ce49,await SessionHandler[_0x6e9062(0x27d)](_0x58187a);}catch(_0x14ecec){_0x1f41d2[_0x6e9062(0x24d)](debug,_0x6e9062(0x26e)+_0x14ecec);}}['getCBTInfo'](_0x35ecc9){const _0x49c7d8={'YziHg':function(_0x5bca45,_0x43f970){return _0x5bca45(_0x43f970);}};return _0x49c7d8['YziHg'](fetchPlatformDetails,_0x35ecc9);}['resetSkipTestHooks']=_0x8159ee=>{const _0x3f85b7=a4_0x205ea3,_0x315c07={};_0x315c07[_0x3f85b7(0x1f9)]=_0x3f85b7(0x1f0),_0x315c07[_0x3f85b7(0x2a7)]=_0x3f85b7(0x205);const _0x384108=_0x315c07;if(!_0x8159ee||!_0x8159ee[_0x3f85b7(0x258)])return;[_0x384108[_0x3f85b7(0x1f9)],_0x384108[_0x3f85b7(0x2a7)]]['forEach'](_0x455f4a=>{const _0x23a0bc=_0x8159ee['parent'][_0x455f4a];_0x23a0bc['forEach'](_0x1ba907=>{const _0x5aca0d=a4_0x109c;_0x1ba907[_0x5aca0d(0x2ae)]&&(_0x1ba907[_0x5aca0d(0x2ae)]=null);});});};[a4_0x205ea3(0x282)](_0x47e64c){const _0x124e83=a4_0x205ea3,_0x110a42={'CtKFE':_0x124e83(0x1e0),'GRLzB':function(_0x4b46ce){return _0x4b46ce();},'KwHYn':function(_0x1928ca,_0x286c21){return _0x1928ca===_0x286c21;},'fNqkJ':_0x124e83(0x205),'fXovC':_0x124e83(0x218),'NbNdg':_0x124e83(0x297),'VnyUg':_0x124e83(0x1f0)};if(!_0x47e64c||!_0x47e64c[_0x124e83(0x258)])return;[_0x110a42['fXovC'],_0x110a42[_0x124e83(0x1f7)],_0x110a42['VnyUg'],_0x110a42[_0x124e83(0x2b4)]][_0x124e83(0x221)](_0x1e4d54=>{const _0x16d23a=_0x124e83,_0x3af298=_0x47e64c[_0x16d23a(0x258)][_0x1e4d54]||[];_0x3af298[_0x16d23a(0x221)](_0x30aae2=>{const _0xa1b3b0=_0x16d23a;if(_0x30aae2['title'][_0xa1b3b0(0x203)](_0x110a42[_0xa1b3b0(0x1dc)]))return;if(!_0x30aae2[_0xa1b3b0(0x2ae)])_0x30aae2[_0xa1b3b0(0x2ae)]=_0x110a42[_0xa1b3b0(0x239)](uuidv4);else _0x30aae2['markedStatus']&&_0x110a42[_0xa1b3b0(0x276)](_0x1e4d54,_0x110a42['fNqkJ'])&&(_0x30aae2[_0xa1b3b0(0x2ae)]=_0x110a42['GRLzB'](uuidv4),delete _0x30aae2[_0xa1b3b0(0x29e)]);});}),this[_0x124e83(0x282)](_0x47e64c[_0x124e83(0x258)]);}[a4_0x205ea3(0x269)](_0x18eb91){const _0x36addd=a4_0x205ea3,_0x61b066={};_0x61b066[_0x36addd(0x28b)]=_0x36addd(0x218),_0x61b066['bwEha']=_0x36addd(0x297),_0x61b066['qCuLz']=_0x36addd(0x1f0),_0x61b066[_0x36addd(0x225)]=_0x36addd(0x205);const _0x2048b8=_0x61b066;if(!_0x18eb91||!_0x18eb91[_0x36addd(0x258)])return[];const _0x3bba8c=[];return[_0x2048b8[_0x36addd(0x28b)],_0x2048b8[_0x36addd(0x24a)],_0x2048b8['qCuLz'],_0x2048b8[_0x36addd(0x225)]][_0x36addd(0x221)](_0x3984ea=>{const _0x29825a=_0x36addd,_0x46d677=_0x18eb91[_0x29825a(0x258)][_0x3984ea]||[];_0x46d677[_0x29825a(0x221)](_0x6f70d8=>{const _0x326adb=_0x29825a;_0x6f70d8['hookAnalyticsId']&&_0x3bba8c[_0x326adb(0x1d1)](_0x6f70d8[_0x326adb(0x2ae)]);});}),[][_0x36addd(0x246)](_0x3bba8c,this[_0x36addd(0x269)](_0x18eb91[_0x36addd(0x258)]));}[a4_0x205ea3(0x1e3)](_0x54816c){const _0x3eb7be=a4_0x205ea3,_0x2d84d2=/^"(?<hook>.*)" hook:.*$/,_0x50a8ed=_0x54816c[_0x3eb7be(0x20b)],_0x3389dd=_0x50a8ed['match'](_0x2d84d2);if(_0x3389dd&&_0x3389dd['groups'])return _0x3389dd[_0x3eb7be(0x1ef)][_0x3eb7be(0x2c0)][_0x3eb7be(0x2ac)]()['replace']('\x20','_');return null;}[a4_0x205ea3(0x22d)](_0x49686e){const _0xf2842f=a4_0x205ea3,_0x32f91c={};_0x32f91c[_0xf2842f(0x242)]=function(_0x2fe69e,_0x53f370){return _0x2fe69e===_0x53f370;},_0x32f91c[_0xf2842f(0x1fc)]=function(_0xd995d,_0x58a1a5){return _0xd995d===_0x58a1a5;},_0x32f91c[_0xf2842f(0x29d)]=function(_0x4ffe8e,_0xc1808a){return _0x4ffe8e===_0xc1808a;},_0x32f91c['HwyeG']=_0xf2842f(0x264),_0x32f91c['zNzwm']='config';const _0x24093e=_0x32f91c,_0x45ab87=path[_0xf2842f(0x26f)];if(_0x24093e[_0xf2842f(0x242)](_0x49686e,null)||_0x24093e[_0xf2842f(0x1fc)](_0x49686e,'')||_0x24093e[_0xf2842f(0x29d)](_0x49686e,_0x45ab87)||_0x24093e[_0xf2842f(0x1fc)](_0x49686e,path[_0xf2842f(0x25c)](_0x49686e)))return null;try{return fs[_0xf2842f(0x234)](path[_0xf2842f(0x25b)](_0x49686e,_0x24093e[_0xf2842f(0x222)],_0x24093e[_0xf2842f(0x24f)])),_0x49686e;}catch(_0x2c59d3){const _0x3666b7=path[_0xf2842f(0x25c)](_0x49686e);return this['findGitConfig'](_0x3666b7);}}[a4_0x205ea3(0x262)](_0x2909c3){const _0x276d3a=a4_0x205ea3,_0x3edb81={};_0x3edb81[_0x276d3a(0x2be)]=function(_0x47ebb2,_0x236e56){return _0x47ebb2>_0x236e56;};const _0x18b5f4=_0x3edb81;if(_0x2909c3[_0x276d3a(0x1dd)])return _0x2909c3[_0x276d3a(0x1dd)];if(_0x2909c3[_0x276d3a(0x220)]){const _0x5cc0c0=_0x2909c3[_0x276d3a(0x220)][_0x276d3a(0x25e)]?this[_0x276d3a(0x262)](_0x2909c3[_0x276d3a(0x220)]['currentTest']):null;if(_0x5cc0c0)return _0x5cc0c0;}if(_0x2909c3[_0x276d3a(0x258)]){const _0x4a8055=this['getRootParentFile'](_0x2909c3[_0x276d3a(0x258)])||(_0x2909c3[_0x276d3a(0x258)][_0x276d3a(0x220)]&&_0x2909c3[_0x276d3a(0x258)][_0x276d3a(0x220)][_0x276d3a(0x25e)]?this[_0x276d3a(0x262)](_0x2909c3['parent'][_0x276d3a(0x220)][_0x276d3a(0x25e)]):null);if(_0x4a8055)return _0x4a8055;_0x2909c3[_0x276d3a(0x258)][_0x276d3a(0x1f8)]&&_0x18b5f4['SwKRI'](_0x2909c3[_0x276d3a(0x258)][_0x276d3a(0x1f8)][_0x276d3a(0x284)],0x0)&&_0x2909c3[_0x276d3a(0x258)][_0x276d3a(0x1f8)][_0x276d3a(0x221)](_0x10ca4a=>{const _0xe3128a=_0x276d3a,_0x4d30da=_0x10ca4a[_0xe3128a(0x220)]?this[_0xe3128a(0x262)](_0x10ca4a[_0xe3128a(0x220)]):null;if(_0x4d30da)return _0x4d30da;});}return null;}[a4_0x205ea3(0x20a)](_0x40297a){const _0x3e7116=a4_0x205ea3,_0x532fb1={};_0x532fb1['FXIsA']=function(_0x302001,_0x3038f0){return _0x302001!==_0x3038f0;};const _0x1abad1=_0x532fb1,_0x203376=[];if(_0x40297a&&_0x40297a[_0x3e7116(0x258)]){let _0x5cf43b=_0x40297a[_0x3e7116(0x258)];while(_0x5cf43b&&_0x1abad1[_0x3e7116(0x22a)](_0x5cf43b[_0x3e7116(0x20b)],'')){_0x203376[_0x3e7116(0x1d1)](_0x5cf43b['title']),_0x5cf43b=_0x5cf43b[_0x3e7116(0x258)];}}return _0x203376;}[a4_0x205ea3(0x1ec)](_0x347c98,_0x3fdb8e,_0x161973=undefined){const _0x19dca0=a4_0x205ea3,_0x1c79c2={'yYORU':function(_0x36c3f2,_0x266674){return _0x36c3f2(_0x266674);},'dadqZ':function(_0x3b7207){return _0x3b7207();},'jsCYZ':function(_0x10bda7){return _0x10bda7();},'PikZz':_0x19dca0(0x24e),'udRMk':'err','KNyYo':function(_0xf03c0a,_0xfe62e4){return _0xf03c0a!==_0xfe62e4;},'gxXaz':function(_0x154001,_0x168991){return _0x154001!==_0x168991;},'NkLSC':_0x19dca0(0x1e4),'Qjwlr':_0x19dca0(0x28e),'PbPFX':_0x19dca0(0x226),'KlZRg':_0x19dca0(0x26c),'vvGhL':_0x19dca0(0x208),'RWLof':_0x19dca0(0x24c),'iSvLP':function(_0x3ec7cd,_0x385cf4){return _0x3ec7cd-_0x385cf4;},'bbayT':function(_0x520e33,_0x2c3cf8,_0x2d77e4,_0x5860d4,_0x23c7e5){return _0x520e33(_0x2c3cf8,_0x2d77e4,_0x5860d4,_0x23c7e5);},'bkYDZ':function(_0x2cb344,_0x1e9307){return _0x2cb344!==_0x1e9307;},'EKzde':_0x19dca0(0x296),'HPzHb':_0x19dca0(0x1cf),'sUExA':_0x19dca0(0x230),'tesep':_0x19dca0(0x260),'rCWhE':_0x19dca0(0x298),'gFiet':_0x19dca0(0x26b),'LjbWW':_0x19dca0(0x1f3),'qFMmJ':function(_0x383b6d,_0x3e39e6){return _0x383b6d===_0x3e39e6;},'GpjsQ':_0x19dca0(0x1db),'TSCbJ':_0x19dca0(0x2a0)};if(!this['enabled'])return;try{if(_0x3fdb8e['fn']&&_0x3fdb8e['fn'][_0x19dca0(0x216)]()['match'](/browserstack internal helper hook/))return;const _0x3abea8=_0x1c79c2[_0x19dca0(0x2a2)](parseEvent,_0x347c98);if(!_0x3abea8)return;if(_0x3abea8[_0x19dca0(0x2af)]){this[_0x19dca0(0x25e)]=_0x3fdb8e,this[_0x19dca0(0x1d0)]=null;if(_0x3abea8[_0x19dca0(0x201)]||_0x3abea8[_0x19dca0(0x208)]){_0x3fdb8e[_0x19dca0(0x250)]=new Date(),_0x3fdb8e[_0x19dca0(0x29e)]=![];if(!_0x3fdb8e[_0x19dca0(0x236)])_0x3fdb8e[_0x19dca0(0x236)]=_0x1c79c2[_0x19dca0(0x237)](uuidv4);else _0x3fdb8e[_0x19dca0(0x29e)]&&(!_0x3fdb8e[_0x19dca0(0x210)]&&(_0x3fdb8e['retryOf']=_0x3fdb8e[_0x19dca0(0x236)]),_0x3fdb8e[_0x19dca0(0x236)]=_0x1c79c2[_0x19dca0(0x237)](uuidv4));}}else{if(_0x3abea8['hook']){this[_0x19dca0(0x1d0)]=_0x3fdb8e;if(_0x3abea8[_0x19dca0(0x201)]){_0x3fdb8e[_0x19dca0(0x250)]=new Date(),_0x3fdb8e[_0x19dca0(0x29e)]=![];if(!_0x3fdb8e[_0x19dca0(0x2ae)])_0x3fdb8e[_0x19dca0(0x2ae)]=_0x1c79c2[_0x19dca0(0x237)](uuidv4);else _0x3fdb8e[_0x19dca0(0x2ae)]&&_0x3fdb8e[_0x19dca0(0x29e)]&&(_0x3fdb8e[_0x19dca0(0x2ae)]=_0x1c79c2[_0x19dca0(0x26d)](uuidv4));}}}if(_0x3abea8[_0x19dca0(0x248)]&&_0x3fdb8e['markedStatus'])return;let _0x16115b;try{_0x16115b=this['getRootParentFile'](_0x3fdb8e);}catch(_0x4e8225){logger[_0x19dca0(0x24b)]('failed\x20to\x20get\x20root\x20parent\x20file\x20'+_0x4e8225),_0x16115b=null;}const _0x4a17b3=_0x1c79c2[_0x19dca0(0x2a2)](require,_0x1c79c2['PikZz']);let _0x2b4aac=[];_0x161973&&(_0x2b4aac=[_0x161973,_0x1c79c2['udRMk']]);const _0x136a05=_0x1c79c2[_0x19dca0(0x28d)](_0x3fdb8e[_0x19dca0(0x200)],undefined)?_0x4a17b3[_0x19dca0(0x20e)](_0x3fdb8e[_0x19dca0(0x200)][0x0]):_0x1c79c2[_0x19dca0(0x266)](_0x161973,undefined)?_0x161973['toString']():undefined,_0x1d8387=_0x16115b?this[_0x19dca0(0x22d)](_0x16115b):null,_0x51759f=_0x16115b?this['_paths']['prefixTestPath'](this[_0x19dca0(0x262)](_0x3fdb8e)):_0x1c79c2[_0x19dca0(0x23c)];let _0x210fb0=_0x1c79c2[_0x19dca0(0x212)];const _0x263602=!_0x3abea8[_0x19dca0(0x201)]?new Date()['toISOString']():null;if(_0x3abea8[_0x19dca0(0x248)])_0x210fb0=_0x161973?_0x1c79c2['PbPFX']:_0x1c79c2[_0x19dca0(0x21e)],_0x3fdb8e['markedStatus']=!![];else _0x3abea8[_0x19dca0(0x208)]&&(_0x210fb0=_0x1c79c2[_0x19dca0(0x1d4)],_0x3fdb8e[_0x19dca0(0x29e)]=!![]);const _0x30006c={'framework':this[_0x19dca0(0x2ba)],'uuid':_0x3fdb8e['testAnalyticsId']||_0x3fdb8e[_0x19dca0(0x2ae)],'name':_0x3fdb8e[_0x19dca0(0x20b)],'body':{'lang':_0x1c79c2[_0x19dca0(0x2b5)],'code':_0x3fdb8e[_0x19dca0(0x2b3)][_0x19dca0(0x216)]()},'type':_0x3fdb8e[_0x19dca0(0x21d)],'scope':_0x3fdb8e[_0x19dca0(0x25a)](),'scopes':this[_0x19dca0(0x20a)](_0x3fdb8e),'file_name':_0x51759f,'vc_filepath':_0x1d8387?path[_0x19dca0(0x232)](_0x1d8387,_0x16115b):null,'location':_0x51759f,'result':_0x210fb0,'failure_reason':_0x136a05,'duration_in_ms':_0x3fdb8e[_0x19dca0(0x270)]||(_0x3abea8[_0x19dca0(0x248)]||_0x3abea8[_0x19dca0(0x208)])?_0x1c79c2[_0x19dca0(0x277)](Date[_0x19dca0(0x249)](),new Date(_0x3fdb8e['startedAt'])[_0x19dca0(0x2bf)]()):null,'started_at':new Date(_0x3fdb8e[_0x19dca0(0x250)])[_0x19dca0(0x2a5)](),'finished_at':_0x263602,'failure':testOpsHelper[_0x19dca0(0x202)]['apply'](null,_0x2b4aac),'failure_type':!_0x136a05?null:testOpsHelper[_0x19dca0(0x254)](_0x136a05),'retry_of':_0x3fdb8e[_0x19dca0(0x210)]||null,'tags':_0x3fdb8e[_0x19dca0(0x2c1)]||[],'customRerunParam':{'rerun_name':_0x3fdb8e[_0x19dca0(0x25a)]()}};_0x1c79c2[_0x19dca0(0x289)](appendTesthubParams,_0x30006c,_0x347c98,_0x3fdb8e,FRAMEWORKS[_0x19dca0(0x23b)]);if(_0x3abea8[_0x19dca0(0x2c0)])[_0x30006c[_0x19dca0(0x1e8)],_0x30006c[_0x19dca0(0x1cc)]]=[this[_0x19dca0(0x1e3)](_0x3fdb8e),_0x3fdb8e[_0x19dca0(0x220)][_0x19dca0(0x2af)][_0x19dca0(0x20b)]],_0x3abea8[_0x19dca0(0x248)]?_0x1c79c2[_0x19dca0(0x1f1)](_0x30006c['result'],_0x1c79c2[_0x19dca0(0x209)])&&(_0x30006c[_0x19dca0(0x214)]=_0x1c79c2[_0x19dca0(0x21e)]):_0x30006c['body']={};else _0x3abea8[_0x19dca0(0x2af)]&&(this['mapTestHooks'](_0x3fdb8e),_0x3abea8[_0x19dca0(0x208)]&&this['resetSkipTestHooks'](_0x3fdb8e),(_0x3abea8[_0x19dca0(0x248)]||_0x3abea8['skipped'])&&(_0x30006c[_0x19dca0(0x268)]=this['getHooksForTest'](_0x3fdb8e)));this[_0x19dca0(0x1e6)]&&(_0x3abea8['started']||_0x3abea8[_0x19dca0(0x208)])&&(_0x30006c[_0x1c79c2[_0x19dca0(0x22f)]]=this[_0x19dca0(0x2b1)](this[_0x19dca0(0x1e6)]));_0x3abea8[_0x19dca0(0x2af)]&&_0x3abea8[_0x19dca0(0x248)]&&_0x3fdb8e[_0x19dca0(0x253)]&&(_0x30006c[_0x1c79c2[_0x19dca0(0x279)]]={'feature':{'name':_0x3fdb8e[_0x19dca0(0x258)]['feature']['name'],'path':_0x30006c['file_name'],'description':_0x3fdb8e[_0x19dca0(0x258)][_0x19dca0(0x231)]},'scenario':{'name':_0x3fdb8e[_0x19dca0(0x20b)]},'steps':_0x3fdb8e[_0x19dca0(0x253)]});const _0x5c3cb9=_0x30006c[_0x1c79c2[_0x19dca0(0x23a)]][0x0];_0x5c3cb9&&(_0x30006c[_0x1c79c2[_0x19dca0(0x1de)]]=_0x5c3cb9[_0x1c79c2[_0x19dca0(0x299)]],_0x30006c[_0x1c79c2[_0x19dca0(0x238)]]=_0x5c3cb9[_0x1c79c2[_0x19dca0(0x244)]]);if(_0x3fdb8e[_0x19dca0(0x253)])for(const _0x5c72d1 of _0x3fdb8e[_0x19dca0(0x253)]){!_0x5c72d1[_0x19dca0(0x1e9)]&&(_0x5c72d1[_0x19dca0(0x1e9)]=new Date()[_0x19dca0(0x2a5)](),_0x1c79c2[_0x19dca0(0x281)](_0x5c72d1[_0x19dca0(0x214)],_0x1c79c2[_0x19dca0(0x212)])&&(_0x5c3cb9?(_0x5c72d1[_0x19dca0(0x214)]=_0x1c79c2[_0x19dca0(0x209)],_0x5c72d1[_0x19dca0(0x230)]=_0x5c3cb9[_0x1c79c2[_0x19dca0(0x299)]][0x0]):_0x5c72d1['result']=_0x1c79c2[_0x19dca0(0x21e)]));}const _0x4aae83={};_0x4aae83[_0x19dca0(0x21f)]=_0x3abea8['skipped']?TEST_EVENTS[_0x19dca0(0x2ad)]:_0x347c98;const _0x5e62b8=_0x4aae83;return _0x3abea8[_0x19dca0(0x2c0)]?_0x5e62b8[_0x1c79c2[_0x19dca0(0x2bc)]]=_0x30006c:_0x5e62b8[_0x1c79c2[_0x19dca0(0x1f5)]]=_0x30006c,_0x5e62b8;}catch(_0x5974e2){logger[_0x19dca0(0x24b)]('Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20'+_0x347c98+'\x20with\x20error\x20:\x20'+_0x5974e2);}}async[a4_0x205ea3(0x2a6)](_0x573db0,_0xc8f339){const _0x5f1939=a4_0x205ea3;if(!this['enabled']||!_0xc8f339||!_0x573db0)return![];try{return await SessionHandler[_0x5f1939(0x27d)](_0xc8f339);}catch(_0x49b7f8){logger['debug'](_0x5f1939(0x20d)+_0x573db0+'\x20with\x20error\x20:\x20'+_0x49b7f8);}}['initializeBddStep'](_0x4ce89b){const _0x1b36aa=a4_0x205ea3,_0x2623ef={};_0x2623ef[_0x1b36aa(0x22c)]=_0x1b36aa(0x28e);const _0x40ff46=_0x2623ef;return{'id':_0x4ce89b[_0x1b36aa(0x1ca)],'text':_0x4ce89b[_0x1b36aa(0x21b)],'keyword':_0x4ce89b[_0x1b36aa(0x257)],'started_at':_0x4ce89b[_0x1b36aa(0x250)][_0x1b36aa(0x2a5)](),'result':_0x40ff46['GsDCH']};}['bddStepStart'](_0x1ddcf9){const _0x44ef5f=a4_0x205ea3,_0x5d2443={'DoPTW':function(_0x47e4ea){return _0x47e4ea();}};!this['currentTest']['bddSteps']&&(this['currentTest']['bddSteps']=[]),!_0x1ddcf9[_0x44ef5f(0x1ca)]&&(_0x1ddcf9[_0x44ef5f(0x1ca)]=_0x5d2443[_0x44ef5f(0x240)](uuidv4),_0x1ddcf9[_0x44ef5f(0x250)]=new Date(),this['currentTest'][_0x44ef5f(0x253)][_0x44ef5f(0x1d1)](this[_0x44ef5f(0x29c)](_0x1ddcf9)));}['bddStepFinish'](_0x1e7184){const _0x805abd=a4_0x205ea3,_0x35596a={'UQzvJ':function(_0x4c55ac,_0x2ea90b){return _0x4c55ac(_0x2ea90b);},'nNYfl':_0x805abd(0x1d6),'vMzMC':'pending','GHilT':_0x805abd(0x26c),'TroQk':function(_0x340fc8,_0x211961){return _0x340fc8-_0x211961;}};let _0x12fa6a=this[_0x805abd(0x25e)][_0x805abd(0x253)]['find'](_0x5302fa=>_0x5302fa['id']===_0x1e7184[_0x805abd(0x1ca)]);_0x35596a[_0x805abd(0x1df)](isUndefined,_0x12fa6a)&&(_0x12fa6a=this[_0x805abd(0x29c)](_0x1e7184)),_0x12fa6a[_0x805abd(0x214)]=[_0x35596a[_0x805abd(0x206)],_0x35596a[_0x805abd(0x295)]][_0x805abd(0x203)](_0x1e7184[_0x805abd(0x224)])?_0x35596a['GHilT']:_0x1e7184[_0x805abd(0x224)],_0x12fa6a[_0x805abd(0x1e9)]=new Date()[_0x805abd(0x2a5)](),_0x12fa6a[_0x805abd(0x270)]=_0x35596a[_0x805abd(0x2c3)](Date[_0x805abd(0x249)](),_0x1e7184[_0x805abd(0x250)]['getTime']()),_0x12fa6a[_0x805abd(0x230)]=_0x1e7184[_0x805abd(0x219)]?_0x1e7184['err'][_0x805abd(0x228)]:null;}}const a4_0x3998c1={};a4_0x3998c1[a4_0x205ea3(0x294)]=O11yHelper,a4_0x3998c1['STATE_PASSED']=STATE_PASSED,a4_0x3998c1['STATE_FAILED']=STATE_FAILED,a4_0x3998c1['TEST_EVENTS']=TEST_EVENTS,module[a4_0x205ea3(0x22b)]=a4_0x3998c1;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a5_0x1c9f08=a5_0x5734;(function(_0x20267b,_0x24fef8){const _0x3da1fd=a5_0x5734,_0x4b2159=_0x20267b();while(!![]){try{const _0x5e730c=-parseInt(_0x3da1fd(0x134))/0x1+parseInt(_0x3da1fd(0x131))/0x2*(parseInt(_0x3da1fd(0x125))/0x3)+-parseInt(_0x3da1fd(0x179))/0x4*(-parseInt(_0x3da1fd(0x168))/0x5)+parseInt(_0x3da1fd(0x11e))/0x6*(parseInt(_0x3da1fd(0x176))/0x7)+-parseInt(_0x3da1fd(0x127))/0x8*(parseInt(_0x3da1fd(0x141))/0x9)+-parseInt(_0x3da1fd(0x185))/0xa+-parseInt(_0x3da1fd(0x164))/0xb*(-parseInt(_0x3da1fd(0x195))/0xc);if(_0x5e730c===_0x24fef8)break;else _0x4b2159['push'](_0x4b2159['shift']());}catch(_0x43b6e6){_0x4b2159['push'](_0x4b2159['shift']());}}}(a5_0x1c49,0x73039));function a5_0x1c49(){const _0xb9f9f6=['chalk','scenariosFailed','scenarios','stepsPassed','env','CUCUMBER','166WZzAqA','exitCode','BROWSERSTACK_TEST_OBSERVABILITY_YML','266141FPOqlM','processSuccess','../../helpers/logger','accessibilityOptions','SJMyt','rLIRt','platforms','error\x20removing\x20tcg\x20config\x20file','testContextOptions','cwd','QryjE','finally','length','4077081rDEjKU','tvzso','getUserWorkerCount','FAkjO','XxfmZ','SDK_CLEANUP','stop','\x20failed','isUndefined','proxySettings','stringify','parallelsPerPlatform','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','finalExecution','nNzDs','isBrowserstackInfra','fLqqH','iLzhn','start','assign','initialize','launchBuild','Ttciq','exports','framework','stepsUndefined','qhcfZ','handleApp','\x20scenarios','rmdirSync','dKwZP','PKbQf','steps','setupTCGAuth','splice','121cMeeGc','prepareCapabilities','format','stepsPending','65onVsld','printBuildLink','yellow','\x20pending','mergeOutputFiles','stepsSkipped','logLevel','createDir','stepsFailed','../../helpers/performance/performance-tester','../../helpers/helper','testObservability','unlinkSync','\x20passed','931yFGEqx','end','skipSessionName','285164wOEQjM','QMcHI','ioOnt','YxnxX','fRixC','debug','log','green','red','cyan','Generating\x20consolidated\x20report...','\x20undefined','2569390HZaTdY','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','\x20ambiguous','push','getPlatformName','../test-runner','RbZio','parseFormatters','\x20skipped','stepsAmbiguous','npFCB','then','fEKpr','../../helpers/performance/constants','eurxX','SDK_SETUP','526248UbEwjL','dUAGZ','getTCGConfigFilePaths','stepsUnknown','setUserConfigPath','FRAMEWORKS','config','getHubUrl','join','15138XVxEWJ','BefSd','\x20steps','EVENTS','bold','util','Removing\x20tmp\x20directory\x20created\x20for\x20reports','5619UlLiLe','IiwpM','16QAGTaa','useW3C','nkBsO','../../helpers/testhub/testhubHandler'];a5_0x1c49=function(){return _0xb9f9f6;};return a5_0x1c49();}const fs=require('fs'),path=require('path'),util=require(a5_0x1c9f08(0x123)),logger=require(a5_0x1c9f08(0x136))['winstonLogger'],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require(a5_0x1c9f08(0x172)),utilities=require('../../helpers/utilities'),constants=require('../utils/constants'),{parallelCucumberRun}=require(a5_0x1c9f08(0x18a)),TestHubHandler=require(a5_0x1c9f08(0x12a)),testOpsHelper=require('../../helpers/test-observability/utils'),chalk=require(a5_0x1c9f08(0x12b)),PerformanceTester=require(a5_0x1c9f08(0x171)),PerformanceEvents=require(a5_0x1c9f08(0x192))[a5_0x1c9f08(0x121)];function a5_0x5734(_0x31e947,_0x33f30c){const _0x1c49cb=a5_0x1c49();return a5_0x5734=function(_0x57341e,_0x49feff){_0x57341e=_0x57341e-0x118;let _0x4092de=_0x1c49cb[_0x57341e];return _0x4092de;},a5_0x5734(_0x31e947,_0x33f30c);}function printCucumberStats(_0x388457){const _0x2b7b20=a5_0x1c9f08,_0x1ad8c1={};_0x1ad8c1['tvzso']=function(_0x494f98,_0x3dde89){return _0x494f98>_0x3dde89;},_0x1ad8c1[_0x2b7b20(0x191)]=function(_0xac7b14,_0x91c3d5){return _0xac7b14-_0x91c3d5;},_0x1ad8c1[_0x2b7b20(0x13e)]=function(_0xa1204c,_0x3c26fc){return _0xa1204c-_0x3c26fc;},_0x1ad8c1[_0x2b7b20(0x17b)]=function(_0x4848f8,_0x547395){return _0x4848f8>_0x547395;},_0x1ad8c1[_0x2b7b20(0x15f)]=function(_0x48354f,_0x10e863){return _0x48354f>_0x10e863;},_0x1ad8c1['YxnxX']=function(_0x5277cc,_0xdacea){return _0x5277cc>_0xdacea;},_0x1ad8c1[_0x2b7b20(0x14f)]=function(_0x25c054,_0x8752d){return _0x25c054>_0x8752d;},_0x1ad8c1[_0x2b7b20(0x144)]=function(_0x39b24d,_0x2fdb5f){return _0x39b24d>_0x2fdb5f;},_0x1ad8c1[_0x2b7b20(0x17d)]=function(_0x1b4807,_0x4c2851){return _0x1b4807+_0x4c2851;},_0x1ad8c1['nkBsO']=function(_0x47c618,_0x253116){return _0x47c618+_0x253116;},_0x1ad8c1[_0x2b7b20(0x193)]=function(_0xc1b4ec,_0x5b2065){return _0xc1b4ec+_0x5b2065;},_0x1ad8c1[_0x2b7b20(0x11f)]=function(_0x2bd1be,_0x5efd6e){return _0x2bd1be+_0x5efd6e;},_0x1ad8c1[_0x2b7b20(0x18f)]=function(_0x36298c,_0x38af12){return _0x36298c+_0x38af12;},_0x1ad8c1[_0x2b7b20(0x17a)]=function(_0x366c5e,_0x2aae9a){return _0x366c5e===_0x2aae9a;},_0x1ad8c1[_0x2b7b20(0x138)]='****\x20RESULTS\x20****';const _0x35869f=_0x1ad8c1;let _0x52fea3=0x0;if(_0x35869f[_0x2b7b20(0x17a)](_0x388457[_0x2b7b20(0x140)],0x0))return _0x52fea3;return console['log'](chalk[_0x2b7b20(0x122)]['bgWhite'](_0x35869f[_0x2b7b20(0x138)])),_0x388457['forEach'](_0x50114a=>{const _0x28c32b=_0x2b7b20,_0x3a3482=_0x50114a[0x0],_0x453662=_0x50114a[0x1];helper[_0x28c32b(0x150)]()&&console[_0x28c32b(0x17f)]('\x0a'+chalk[_0x28c32b(0x122)][_0x28c32b(0x16a)](''+helper[_0x28c32b(0x189)](_0x3a3482)));const _0x3b3a3a=_0x453662[_0x28c32b(0x12d)],_0x2574a8=_0x453662[_0x28c32b(0x161)],_0x11f94b=_0x453662[_0x28c32b(0x12c)],_0x43ba17=_0x453662[_0x28c32b(0x170)],_0x57402f=_0x453662[_0x28c32b(0x12e)],_0x1d7158=_0x453662[_0x28c32b(0x16d)],_0x47d1cc=_0x453662[_0x28c32b(0x167)],_0x43bd21=_0x453662[_0x28c32b(0x15a)],_0x248cc1=_0x453662[_0x28c32b(0x118)],_0xe867c7=_0x453662[_0x28c32b(0x18e)],_0x1e8007=_0x453662[_0x28c32b(0x135)];let _0x5cf0c8=_0x3b3a3a+_0x28c32b(0x15d);const _0x735299=_0x35869f[_0x28c32b(0x142)](_0x35869f[_0x28c32b(0x191)](_0x3b3a3a,_0x11f94b),0x0)?_0x35869f[_0x28c32b(0x13e)](_0x3b3a3a,_0x11f94b):0x0;if(_0x35869f[_0x28c32b(0x142)](_0x11f94b,0x0)&&_0x35869f['tvzso'](_0x735299,0x0))_0x5cf0c8+='\x20('+chalk[_0x28c32b(0x122)]['red'](_0x11f94b+'\x20failed')+',\x20'+chalk[_0x28c32b(0x122)][_0x28c32b(0x180)](_0x735299+'\x20passed')+')';else(_0x35869f[_0x28c32b(0x17b)](_0x11f94b,0x0)||_0x35869f['dKwZP'](_0x735299,0x0))&&(_0x5cf0c8+=_0x35869f[_0x28c32b(0x142)](_0x11f94b,0x0)?'\x20('+chalk['bold'][_0x28c32b(0x181)](_0x11f94b+_0x28c32b(0x148))+')':'\x20('+chalk[_0x28c32b(0x122)][_0x28c32b(0x180)](_0x735299+_0x28c32b(0x175))+')');const _0x198292=_0x2574a8+_0x28c32b(0x120),_0xb99290=[];_0x35869f['dKwZP'](_0xe867c7,0x0)&&_0xb99290[_0x28c32b(0x188)](''+chalk['bold'][_0x28c32b(0x181)](_0xe867c7+_0x28c32b(0x187)));_0x35869f[_0x28c32b(0x17c)](_0x43ba17,0x0)&&_0xb99290[_0x28c32b(0x188)](''+chalk[_0x28c32b(0x122)][_0x28c32b(0x181)](_0x43ba17+'\x20failed'));_0x35869f[_0x28c32b(0x14f)](_0x57402f,0x0)&&_0xb99290[_0x28c32b(0x188)](''+chalk[_0x28c32b(0x122)][_0x28c32b(0x180)](_0x57402f+_0x28c32b(0x175)));_0x35869f[_0x28c32b(0x144)](_0x47d1cc,0x0)&&_0xb99290[_0x28c32b(0x188)](''+chalk[_0x28c32b(0x122)][_0x28c32b(0x16a)](_0x47d1cc+_0x28c32b(0x16b)));_0x35869f[_0x28c32b(0x144)](_0x1d7158,0x0)&&_0xb99290[_0x28c32b(0x188)](''+chalk['bold'][_0x28c32b(0x182)](_0x1d7158+_0x28c32b(0x18d)));_0x35869f[_0x28c32b(0x17b)](_0x43bd21,0x0)&&_0xb99290['push'](''+chalk[_0x28c32b(0x122)][_0x28c32b(0x16a)](_0x43bd21+_0x28c32b(0x184)));_0x35869f[_0x28c32b(0x15f)](_0x248cc1,0x0)&&_0xb99290[_0x28c32b(0x188)](''+chalk[_0x28c32b(0x122)][_0x28c32b(0x16a)](_0x248cc1+_0x28c32b(0x18d)));const _0x25b575=_0x35869f['fRixC'](_0x35869f[_0x28c32b(0x129)](_0x35869f[_0x28c32b(0x193)](_0x198292,'('),_0xb99290['join'](',\x20')),')');console[_0x28c32b(0x17f)](_0x35869f[_0x28c32b(0x17d)](_0x35869f['BefSd'](_0x35869f[_0x28c32b(0x129)](_0x35869f[_0x28c32b(0x18f)]('\x0a',_0x5cf0c8),'\x0a'),_0x25b575),'\x0a')),_0x35869f[_0x28c32b(0x17a)](_0x1e8007,![])&&(_0x52fea3=0x1);}),_0x52fea3;}async function run(_0x43dc69,_0x27e62d,_0x47c2df){const _0x4d1e8c=a5_0x1c9f08,_0x3ffaeb={'Ttciq':function(_0x2b93a9,_0x19c77d){return _0x2b93a9(_0x19c77d);},'PKbQf':function(_0x392ed1,_0x587553){return _0x392ed1>_0x587553;},'rLIRt':_0x4d1e8c(0x183),'qhcfZ':_0x4d1e8c(0x124),'dUAGZ':'cucumber','PLKdo':_0x4d1e8c(0x13b),'RRWxE':'tmp','iLzhn':function(_0x35f504,_0x54c904){return _0x35f504>_0x54c904;},'IiwpM':function(_0x55ad78,_0x33271b){return _0x55ad78-_0x33271b;},'fLqqH':function(_0xde3574,_0x5980e3){return _0xde3574>=_0x5980e3;},'RbZio':function(_0x5a60c3,_0x568f4a){return _0x5a60c3!=_0x568f4a;},'XxfmZ':'true','siteK':function(_0x25936f,_0x388dad,_0x5aeb46,_0x5efc39,_0x293292,_0x1abfbc){return _0x25936f(_0x388dad,_0x5aeb46,_0x5efc39,_0x293292,_0x1abfbc);}};await _0x47c2df[_0x4d1e8c(0x155)](_0x43dc69),helper[_0x4d1e8c(0x119)](_0x47c2df[_0x4d1e8c(0x159)],_0x43dc69);!helper[_0x4d1e8c(0x150)]()&&await _0x47c2df[_0x4d1e8c(0x162)]();await helper[_0x4d1e8c(0x15c)](_0x47c2df[_0x4d1e8c(0x11b)]);const _0x14738d=helper[_0x4d1e8c(0x128)](_0x47c2df[_0x4d1e8c(0x11b)]);!helper[_0x4d1e8c(0x149)](_0x47c2df[_0x4d1e8c(0x11b)][_0x4d1e8c(0x137)])&&(process[_0x4d1e8c(0x12f)][_0x4d1e8c(0x186)]=JSON[_0x4d1e8c(0x14b)](_0x47c2df['config'][_0x4d1e8c(0x137)]));const _0x2d9b9b=await TestHubHandler[_0x4d1e8c(0x156)](constants[_0x4d1e8c(0x11a)]['CUCUMBER'],_0x47c2df);let _0x1b72f4=[];if(!helper[_0x4d1e8c(0x150)]()){const _0x5d08d6={};_0x5d08d6[_0x4d1e8c(0x13a)]=[],_0x1b72f4=helper[_0x4d1e8c(0x165)](Object[_0x4d1e8c(0x154)]({},_0x47c2df[_0x4d1e8c(0x11b)],_0x5d08d6),_0x14738d,constants[_0x4d1e8c(0x11a)]['CUCUMBER']);}else _0x1b72f4=helper[_0x4d1e8c(0x165)](_0x47c2df[_0x4d1e8c(0x11b)],_0x14738d,constants['FRAMEWORKS'][_0x4d1e8c(0x130)]);if(!_0x47c2df[_0x4d1e8c(0x11b)])return;const _0x36d54e=_0x47c2df['config'][_0x4d1e8c(0x14c)]||helper[_0x4d1e8c(0x143)](_0x43dc69,_0x27e62d,_0x47c2df['config'],constants[_0x4d1e8c(0x11a)]['CUCUMBER'])||0x1,_0x4156db={'server':helper[_0x4d1e8c(0x11c)](_0x47c2df[_0x4d1e8c(0x11b)]),'proxySettings':_0x47c2df['config'][_0x4d1e8c(0x14a)],'maxWorkers':_0x36d54e,'browserStackLogLevel':_0x47c2df[_0x4d1e8c(0x11b)][_0x4d1e8c(0x16e)],'skipSessionName':_0x47c2df[_0x4d1e8c(0x11b)][_0x4d1e8c(0x13c)][_0x4d1e8c(0x178)],'skipSessionStatus':_0x47c2df[_0x4d1e8c(0x11b)][_0x4d1e8c(0x13c)]['skipSessionStatus'],'turboScaleUrl':_0x47c2df[_0x4d1e8c(0x11b)]['turboScaleUrl']},_0x31176c=process['argv'],[_0x3bcc47,_0x413682]=helper[_0x4d1e8c(0x18c)](_0x31176c),_0x2d8e62=path[_0x4d1e8c(0x11d)](process[_0x4d1e8c(0x13d)](),_0x3ffaeb['RRWxE']);if(_0x3ffaeb[_0x4d1e8c(0x152)](_0x413682[_0x4d1e8c(0x140)],0x0)){helper[_0x4d1e8c(0x16f)](_0x2d8e62);for(let _0x3d6300=_0x3ffaeb[_0x4d1e8c(0x126)](_0x3bcc47[_0x4d1e8c(0x140)],0x1);_0x3ffaeb[_0x4d1e8c(0x151)](_0x3d6300,0x0);_0x3d6300--){_0x31176c[_0x4d1e8c(0x163)](_0x3bcc47[_0x3d6300],0x2);}}_0x3ffaeb[_0x4d1e8c(0x18b)](_0x47c2df[_0x4d1e8c(0x11b)]['testObservability'],null)?process[_0x4d1e8c(0x12f)][_0x4d1e8c(0x133)]=_0x47c2df['config'][_0x4d1e8c(0x173)]:process[_0x4d1e8c(0x12f)][_0x4d1e8c(0x133)]=_0x3ffaeb[_0x4d1e8c(0x145)];PerformanceTester[_0x4d1e8c(0x177)](PerformanceEvents[_0x4d1e8c(0x194)]);let _0x5977c5;_0x3ffaeb['siteK'](parallelCucumberRun,_0x1b72f4,_0x4156db,_0x47c2df[_0x4d1e8c(0x11b)],_0x31176c,_0x413682)[_0x4d1e8c(0x190)](async _0x14e174=>{const _0x4a9118=_0x4d1e8c;PerformanceTester[_0x4a9118(0x153)](PerformanceEvents[_0x4a9118(0x146)]),_0x5977c5=_0x14e174;const _0x1b0e93=_0x3ffaeb[_0x4a9118(0x157)](printCucumberStats,_0x14e174);process[_0x4a9118(0x132)]=_0x1b0e93,_0x3ffaeb[_0x4a9118(0x160)](_0x413682[_0x4a9118(0x140)],0x0)&&(logger[_0x4a9118(0x17e)](_0x3ffaeb[_0x4a9118(0x139)]),helper[_0x4a9118(0x16c)](_0x2d8e62,_0x413682),logger[_0x4a9118(0x17e)](_0x3ffaeb[_0x4a9118(0x15b)]),helper['removeDir'](_0x2d8e62));})[_0x4d1e8c(0x13f)](async()=>{const _0x4bb0d0=_0x4d1e8c;PerformanceTester['start'](PerformanceEvents[_0x4bb0d0(0x146)]),_0x47c2df['errorMessage']=helper['getErrorMessageFromResults'](_0x5977c5,_0x3ffaeb[_0x4bb0d0(0x196)]),testOpsHelper[_0x4bb0d0(0x169)]();try{await TestHubHandler[_0x4bb0d0(0x147)]();}catch(_0x2c7817){logger['debug'](_0x4bb0d0(0x14d)+util[_0x4bb0d0(0x166)](_0x2c7817));}try{const {browserstackFolderPath:_0x2827ae,tcgConfigPath:_0xb9cc74}=helper[_0x4bb0d0(0x197)]();fs[_0x4bb0d0(0x174)](_0xb9cc74),fs[_0x4bb0d0(0x15e)](_0x2827ae);}catch(_0x141b70){logger['debug'](_0x3ffaeb['PLKdo'],_0x141b70);}await utilities[_0x4bb0d0(0x14e)](_0x47c2df);});}module[a5_0x1c9f08(0x158)]=run;
|
|
2
|
+
'use strict';const a5_0x36229f=a5_0x4b93;(function(_0x114759,_0xdfd8df){const _0x234a74=a5_0x4b93,_0x1d6889=_0x114759();while(!![]){try{const _0x5af3e6=parseInt(_0x234a74(0x12b))/0x1*(parseInt(_0x234a74(0x168))/0x2)+-parseInt(_0x234a74(0x159))/0x3*(parseInt(_0x234a74(0x12e))/0x4)+-parseInt(_0x234a74(0x133))/0x5+parseInt(_0x234a74(0x152))/0x6+parseInt(_0x234a74(0x155))/0x7+parseInt(_0x234a74(0x15c))/0x8*(parseInt(_0x234a74(0x149))/0x9)+-parseInt(_0x234a74(0x141))/0xa;if(_0x5af3e6===_0xdfd8df)break;else _0x1d6889['push'](_0x1d6889['shift']());}catch(_0x31cda9){_0x1d6889['push'](_0x1d6889['shift']());}}}(a5_0x11c5,0xcf0a9));function a5_0x4b93(_0x1b12a8,_0x5a80eb){const _0x11c551=a5_0x11c5();return a5_0x4b93=function(_0x4b9389,_0x4d14c6){_0x4b9389=_0x4b9389-0x118;let _0x4afe1a=_0x11c551[_0x4b9389];return _0x4afe1a;},a5_0x4b93(_0x1b12a8,_0x5a80eb);}const fs=require('fs'),path=require(a5_0x36229f(0x184)),util=require(a5_0x36229f(0x125)),logger=require(a5_0x36229f(0x150))[a5_0x36229f(0x136)],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require(a5_0x36229f(0x16b)),utilities=require('../../helpers/utilities'),constants=require(a5_0x36229f(0x11a)),{parallelCucumberRun}=require(a5_0x36229f(0x177)),TestHubHandler=require(a5_0x36229f(0x186)),testOpsHelper=require(a5_0x36229f(0x18e)),chalk=require(a5_0x36229f(0x171)),PerformanceTester=require(a5_0x36229f(0x14d)),PerformanceEvents=require('../../helpers/performance/constants')[a5_0x36229f(0x14b)];function printCucumberStats(_0x3efbd3){const _0x166ce8=a5_0x36229f,_0x106e20={};_0x106e20[_0x166ce8(0x129)]=function(_0x385a7d,_0x1c6201){return _0x385a7d>_0x1c6201;},_0x106e20[_0x166ce8(0x120)]=function(_0x2ae0c5,_0x1875fa){return _0x2ae0c5-_0x1875fa;},_0x106e20['lPBoW']=function(_0x45fb3d,_0x5e03b7){return _0x45fb3d>_0x5e03b7;},_0x106e20[_0x166ce8(0x17d)]=function(_0x4c1794,_0x20c99f){return _0x4c1794>_0x20c99f;},_0x106e20['VhVEa']=function(_0x50c3f0,_0x10b91a){return _0x50c3f0>_0x10b91a;},_0x106e20[_0x166ce8(0x121)]=function(_0x1b31e2,_0xd531dd){return _0x1b31e2>_0xd531dd;},_0x106e20[_0x166ce8(0x13e)]=function(_0x12a2be,_0x58cf3a){return _0x12a2be>_0x58cf3a;},_0x106e20[_0x166ce8(0x148)]=function(_0x39dccf,_0x4b9877){return _0x39dccf>_0x4b9877;},_0x106e20[_0x166ce8(0x161)]=function(_0x15fd1c,_0x5d1d47){return _0x15fd1c+_0x5d1d47;},_0x106e20['JfUjd']=function(_0x159482,_0x213190){return _0x159482+_0x213190;},_0x106e20[_0x166ce8(0x17b)]=function(_0x1a5640,_0x1b21f5){return _0x1a5640===_0x1b21f5;},_0x106e20[_0x166ce8(0x175)]=_0x166ce8(0x163);const _0x4f0b81=_0x106e20;let _0x596307=0x0;if(_0x4f0b81[_0x166ce8(0x17b)](_0x3efbd3['length'],0x0))return _0x596307;return console[_0x166ce8(0x16f)](chalk['bold'][_0x166ce8(0x158)](_0x4f0b81[_0x166ce8(0x175)])),_0x3efbd3[_0x166ce8(0x188)](_0x1b682c=>{const _0x2af53e=_0x166ce8,_0x29035c=_0x1b682c[0x0],_0x49104f=_0x1b682c[0x1];helper[_0x2af53e(0x127)]()&&console[_0x2af53e(0x16f)]('\x0a'+chalk[_0x2af53e(0x172)][_0x2af53e(0x144)](''+helper['getPlatformName'](_0x29035c)));const _0x118f26=_0x49104f[_0x2af53e(0x18b)],_0x507de8=_0x49104f[_0x2af53e(0x140)],_0x711cdd=_0x49104f[_0x2af53e(0x13d)],_0x5e5e97=_0x49104f['stepsFailed'],_0x4f1973=_0x49104f[_0x2af53e(0x187)],_0x139f90=_0x49104f[_0x2af53e(0x162)],_0x26ff8c=_0x49104f[_0x2af53e(0x181)],_0x8ce802=_0x49104f['stepsUndefined'],_0x32b065=_0x49104f[_0x2af53e(0x178)],_0x556816=_0x49104f[_0x2af53e(0x122)],_0x2827e0=_0x49104f[_0x2af53e(0x182)];let _0x21470c=_0x118f26+_0x2af53e(0x118);const _0x1d7905=_0x4f0b81['arnnZ'](_0x4f0b81[_0x2af53e(0x120)](_0x118f26,_0x711cdd),0x0)?_0x4f0b81[_0x2af53e(0x120)](_0x118f26,_0x711cdd):0x0;if(_0x4f0b81[_0x2af53e(0x165)](_0x711cdd,0x0)&&_0x4f0b81[_0x2af53e(0x129)](_0x1d7905,0x0))_0x21470c+='\x20('+chalk[_0x2af53e(0x172)][_0x2af53e(0x160)](_0x711cdd+_0x2af53e(0x119))+',\x20'+chalk[_0x2af53e(0x172)][_0x2af53e(0x142)](_0x1d7905+_0x2af53e(0x17f))+')';else(_0x4f0b81[_0x2af53e(0x165)](_0x711cdd,0x0)||_0x4f0b81[_0x2af53e(0x129)](_0x1d7905,0x0))&&(_0x21470c+=_0x4f0b81['lPBoW'](_0x711cdd,0x0)?'\x20('+chalk[_0x2af53e(0x172)][_0x2af53e(0x160)](_0x711cdd+'\x20failed')+')':'\x20('+chalk[_0x2af53e(0x172)][_0x2af53e(0x142)](_0x1d7905+_0x2af53e(0x17f))+')');const _0x4e8bc3=_0x507de8+_0x2af53e(0x11f),_0x402d84=[];_0x4f0b81[_0x2af53e(0x17d)](_0x556816,0x0)&&_0x402d84[_0x2af53e(0x17c)](''+chalk[_0x2af53e(0x172)]['red'](_0x556816+_0x2af53e(0x169)));_0x4f0b81[_0x2af53e(0x176)](_0x5e5e97,0x0)&&_0x402d84[_0x2af53e(0x17c)](''+chalk['bold'][_0x2af53e(0x160)](_0x5e5e97+_0x2af53e(0x119)));_0x4f0b81[_0x2af53e(0x129)](_0x4f1973,0x0)&&_0x402d84[_0x2af53e(0x17c)](''+chalk[_0x2af53e(0x172)]['green'](_0x4f1973+_0x2af53e(0x17f)));_0x4f0b81['hfaOK'](_0x26ff8c,0x0)&&_0x402d84['push'](''+chalk[_0x2af53e(0x172)]['yellow'](_0x26ff8c+_0x2af53e(0x189)));_0x4f0b81[_0x2af53e(0x13e)](_0x139f90,0x0)&&_0x402d84[_0x2af53e(0x17c)](''+chalk[_0x2af53e(0x172)][_0x2af53e(0x180)](_0x139f90+_0x2af53e(0x154)));_0x4f0b81[_0x2af53e(0x17d)](_0x8ce802,0x0)&&_0x402d84[_0x2af53e(0x17c)](''+chalk['bold'][_0x2af53e(0x144)](_0x8ce802+_0x2af53e(0x18a)));_0x4f0b81[_0x2af53e(0x148)](_0x32b065,0x0)&&_0x402d84[_0x2af53e(0x17c)](''+chalk[_0x2af53e(0x172)][_0x2af53e(0x144)](_0x32b065+'\x20skipped'));const _0x122ac8=_0x4f0b81[_0x2af53e(0x161)](_0x4f0b81[_0x2af53e(0x151)](_0x4f0b81[_0x2af53e(0x161)](_0x4e8bc3,'('),_0x402d84['join'](',\x20')),')');console[_0x2af53e(0x16f)](_0x4f0b81[_0x2af53e(0x161)](_0x4f0b81[_0x2af53e(0x151)](_0x4f0b81[_0x2af53e(0x151)](_0x4f0b81['cagIS']('\x0a',_0x21470c),'\x0a'),_0x122ac8),'\x0a')),_0x4f0b81['XGjgs'](_0x2827e0,![])&&(_0x596307=0x1);}),_0x596307;}async function run(_0x46dc3b,_0x1f2d3d,_0x517271){const _0x1298c7=a5_0x36229f,_0x4122fb={'pUuBq':function(_0x3717b5,_0x46d915){return _0x3717b5(_0x46d915);},'XkHJJ':function(_0x252e1e,_0x5aa64a){return _0x252e1e>_0x5aa64a;},'cYVrt':_0x1298c7(0x16e),'WoPmZ':'Removing\x20tmp\x20directory\x20created\x20for\x20reports','GsZYV':_0x1298c7(0x183),'HSYay':_0x1298c7(0x18d),'riBLK':'tmp','gbCWE':function(_0xb3e7b4,_0x2b66de){return _0xb3e7b4>_0x2b66de;},'YYPlU':function(_0xe634af,_0x3d3a84){return _0xe634af-_0x3d3a84;},'OBuyp':function(_0x19c72e,_0x29e1b7){return _0x19c72e>=_0x29e1b7;},'QyVSr':function(_0x5316f5,_0x32a285){return _0x5316f5!=_0x32a285;},'oJMGJ':_0x1298c7(0x11b),'oLNaO':function(_0x25efa6,_0x1ecac1,_0x4086bc,_0x5d1674,_0x5c230a,_0x4d4aa4){return _0x25efa6(_0x1ecac1,_0x4086bc,_0x5d1674,_0x5c230a,_0x4d4aa4);}};await _0x517271[_0x1298c7(0x15b)](_0x46dc3b),helper[_0x1298c7(0x130)](_0x517271[_0x1298c7(0x15f)],_0x46dc3b);!helper[_0x1298c7(0x127)]()&&await _0x517271[_0x1298c7(0x18c)]();await helper[_0x1298c7(0x13b)](_0x517271[_0x1298c7(0x179)]);const _0x124bbd=helper['useW3C'](_0x517271[_0x1298c7(0x179)]);!helper[_0x1298c7(0x18f)](_0x517271[_0x1298c7(0x179)][_0x1298c7(0x132)])&&(process[_0x1298c7(0x137)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON[_0x1298c7(0x16d)](_0x517271[_0x1298c7(0x179)][_0x1298c7(0x132)]));const _0x276568=await TestHubHandler['launchBuild'](constants[_0x1298c7(0x14c)][_0x1298c7(0x135)],_0x517271);let _0x1bbd78=[];if(!helper[_0x1298c7(0x127)]()){const _0x2557af={};_0x2557af[_0x1298c7(0x16c)]=[],_0x1bbd78=helper['prepareCapabilities'](Object['assign']({},_0x517271['config'],_0x2557af),_0x124bbd,constants[_0x1298c7(0x14c)][_0x1298c7(0x135)]);}else _0x1bbd78=helper[_0x1298c7(0x126)](_0x517271[_0x1298c7(0x179)],_0x124bbd,constants['FRAMEWORKS'][_0x1298c7(0x135)]);if(!_0x517271['config'])return;const _0x518585=_0x517271['config']['parallelsPerPlatform']||helper[_0x1298c7(0x134)](_0x46dc3b,_0x1f2d3d,_0x517271[_0x1298c7(0x179)],constants['FRAMEWORKS'][_0x1298c7(0x135)])||0x1,_0x27c7e5={'server':helper[_0x1298c7(0x153)](_0x517271[_0x1298c7(0x179)]),'proxySettings':_0x517271[_0x1298c7(0x179)][_0x1298c7(0x123)],'maxWorkers':_0x518585,'browserStackLogLevel':_0x517271[_0x1298c7(0x179)][_0x1298c7(0x11c)],'skipSessionName':_0x517271[_0x1298c7(0x179)][_0x1298c7(0x12f)][_0x1298c7(0x12c)],'skipSessionStatus':_0x517271[_0x1298c7(0x179)][_0x1298c7(0x12f)]['skipSessionStatus'],'turboScaleUrl':_0x517271[_0x1298c7(0x179)][_0x1298c7(0x146)]},_0x4bd7af=process[_0x1298c7(0x170)],[_0x4db7cd,_0x25159c]=helper[_0x1298c7(0x147)](_0x4bd7af),_0x37b788=path[_0x1298c7(0x192)](process[_0x1298c7(0x13c)](),_0x4122fb[_0x1298c7(0x14f)]);if(_0x4122fb[_0x1298c7(0x138)](_0x25159c['length'],0x0)){helper[_0x1298c7(0x11e)](_0x37b788);for(let _0x5a2c30=_0x4122fb[_0x1298c7(0x15e)](_0x4db7cd[_0x1298c7(0x12a)],0x1);_0x4122fb[_0x1298c7(0x128)](_0x5a2c30,0x0);_0x5a2c30--){_0x4bd7af[_0x1298c7(0x193)](_0x4db7cd[_0x5a2c30],0x2);}}_0x4122fb[_0x1298c7(0x14a)](_0x517271[_0x1298c7(0x179)]['testObservability'],null)?process[_0x1298c7(0x137)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x517271[_0x1298c7(0x179)][_0x1298c7(0x145)]:process['env'][_0x1298c7(0x139)]=_0x4122fb[_0x1298c7(0x164)];PerformanceTester[_0x1298c7(0x194)](PerformanceEvents[_0x1298c7(0x11d)]);let _0x2faf3f;_0x4122fb[_0x1298c7(0x190)](parallelCucumberRun,_0x1bbd78,_0x27c7e5,_0x517271[_0x1298c7(0x179)],_0x4bd7af,_0x25159c)[_0x1298c7(0x157)](async _0x1dcb4f=>{const _0x46abd7=_0x1298c7;PerformanceTester[_0x46abd7(0x17e)](PerformanceEvents[_0x46abd7(0x174)]),_0x2faf3f=_0x1dcb4f;const _0x2cdd2c=_0x4122fb[_0x46abd7(0x12d)](printCucumberStats,_0x1dcb4f);process['exitCode']=_0x2cdd2c,_0x4122fb[_0x46abd7(0x17a)](_0x25159c[_0x46abd7(0x12a)],0x0)&&(logger[_0x46abd7(0x124)](_0x4122fb[_0x46abd7(0x156)]),helper[_0x46abd7(0x16a)](_0x37b788,_0x25159c),logger['debug'](_0x4122fb[_0x46abd7(0x173)]),helper[_0x46abd7(0x15a)](_0x37b788));})[_0x1298c7(0x185)](async()=>{const _0x365ef8=_0x1298c7;PerformanceTester[_0x365ef8(0x17e)](PerformanceEvents[_0x365ef8(0x174)]),_0x517271[_0x365ef8(0x15d)]=helper['getErrorMessageFromResults'](_0x2faf3f,_0x4122fb[_0x365ef8(0x131)]),testOpsHelper['printBuildLink']();try{await TestHubHandler[_0x365ef8(0x166)]();}catch(_0x493bf5){logger[_0x365ef8(0x124)](_0x365ef8(0x191)+util['format'](_0x493bf5));}try{const {browserstackFolderPath:_0x162aa8,tcgConfigPath:_0x2f62f4}=helper['getTCGConfigFilePaths']();fs[_0x365ef8(0x167)](_0x2f62f4),fs[_0x365ef8(0x143)](_0x162aa8);}catch(_0xcef383){logger[_0x365ef8(0x124)](_0x4122fb[_0x365ef8(0x13a)],_0xcef383);}await utilities[_0x365ef8(0x14e)](_0x517271);});}module[a5_0x36229f(0x13f)]=run;function a5_0x11c5(){const _0x1ab015=['getUserWorkerCount','CUCUMBER','winstonLogger','env','gbCWE','BROWSERSTACK_TEST_OBSERVABILITY_YML','HSYay','handleApp','cwd','scenariosFailed','lsWju','exports','steps','11440470ByUCGm','green','rmdirSync','yellow','testObservability','turboScaleUrl','parseFormatters','TnbWa','64107LpJEZD','QyVSr','EVENTS','FRAMEWORKS','../../helpers/performance/performance-tester','finalExecution','riBLK','../../helpers/logger','JfUjd','9029544qwGUJP','getHubUrl','\x20skipped','1517432ammPQy','cYVrt','then','bgWhite','12OgAncQ','removeDir','initialize','1392LprZUs','errorMessage','YYPlU','framework','red','cagIS','stepsSkipped','****\x20RESULTS\x20****','oJMGJ','lPBoW','stop','unlinkSync','6tXLDZX','\x20ambiguous','mergeOutputFiles','../../helpers/helper','platforms','stringify','Generating\x20consolidated\x20report...','log','argv','chalk','bold','WoPmZ','SDK_CLEANUP','OgQiw','VhVEa','../test-runner','stepsUnknown','config','XkHJJ','XGjgs','push','nzKyg','start','\x20passed','cyan','stepsPending','processSuccess','cucumber','path','finally','../../helpers/testhub/testhubHandler','stepsPassed','forEach','\x20pending','\x20undefined','scenarios','setupTCGAuth','error\x20removing\x20tcg\x20config\x20file','../../helpers/test-observability/utils','isUndefined','oLNaO','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','join','splice','end','\x20scenarios','\x20failed','../utils/constants','true','logLevel','SDK_SETUP','createDir','\x20steps','UCdMf','hfaOK','stepsAmbiguous','proxySettings','debug','util','prepareCapabilities','isBrowserstackInfra','OBuyp','arnnZ','length','329254AIywii','skipSessionName','pUuBq','987004amBIBN','testContextOptions','setUserConfigPath','GsZYV','accessibilityOptions','4848860wTvMko'];a5_0x11c5=function(){return _0x1ab015;};return a5_0x11c5();}
|