browserstack-node-sdk 1.34.54 → 1.34.56
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/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/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/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/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/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_0x4772ab=a1_0x3030;(function(_0x4425af,_0x1019e7){const _0x382bbd=a1_0x3030,_0xf29108=_0x4425af();while(!![]){try{const _0x3eb543=-parseInt(_0x382bbd(0x166))/0x1*(-parseInt(_0x382bbd(0x12a))/0x2)+-parseInt(_0x382bbd(0x8b))/0x3*(parseInt(_0x382bbd(0xb6))/0x4)+-parseInt(_0x382bbd(0x134))/0x5+-parseInt(_0x382bbd(0x94))/0x6+parseInt(_0x382bbd(0x15b))/0x7+-parseInt(_0x382bbd(0xf9))/0x8+parseInt(_0x382bbd(0xfb))/0x9;if(_0x3eb543===_0x1019e7)break;else _0xf29108['push'](_0xf29108['shift']());}catch(_0x6c5556){_0xf29108['push'](_0xf29108['shift']());}}}(a1_0x4217,0xd4bec));const fs=require('fs'),util=require(a1_0x4772ab(0x127)),{requireModule,markSessionStatus,isUndefined,isTrue,isBrowserstackInfra}=require(a1_0x4772ab(0xbf)),logger=require(a1_0x4772ab(0x106))['winstonLogger'],testOpsHelper=require('../../helpers/test-observability/utils'),requestSpy=require(a1_0x4772ab(0x160)),PlaywrightSessionDetails=require(a1_0x4772ab(0xbd)),{O11yHelper,TEST_EVENTS,STATE_PASSED,STATE_FAILED}=require(a1_0x4772ab(0xc3)),{shouldScanTestForAccessibility,isAccessibilityAutomationSession}=require(a1_0x4772ab(0x13c)),AccessibilityHelper=require(a1_0x4772ab(0xa7)),scripts=require('../../helpers/accessibility-automation/scripts'),PerformanceTester=require(a1_0x4772ab(0x100)),{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_0x4772ab(0x164)),globals=require(a1_0x4772ab(0xba)),CodeceptJS=requireModule('codeceptjs/lib/index.js','codeceptjs'),CodeceptUtils=requireModule(a1_0x4772ab(0xc6),a1_0x4772ab(0x158)),CodeceptWebDriver=requireModule(a1_0x4772ab(0xb7),a1_0x4772ab(0x158)),CodeceptRecorder=requireModule(a1_0x4772ab(0x13a),a1_0x4772ab(0x158)),CodeceptPlaywright=requireModule(a1_0x4772ab(0xb9),a1_0x4772ab(0x158)),playwrightMarkSessionStatus=(_0x1a0a18,_0x275b72,_0x4c2658)=>{const _0x31fb83=a1_0x4772ab,_0x113353={'fXrLm':_0x31fb83(0xad),'WZBYg':function(_0x54457d,_0x465c28){return _0x54457d(_0x465c28);}},_0x1cba1f={};_0x1cba1f[_0x31fb83(0x8c)]=_0x275b72;const _0x469864={};_0x469864[_0x31fb83(0x14f)]=_0x113353['fXrLm'],_0x469864[_0x31fb83(0xf3)]=_0x1cba1f;const _0x2244ff=_0x469864;return!_0x113353[_0x31fb83(0x131)](isUndefined,_0x4c2658)&&(_0x2244ff['arguments'][_0x31fb83(0xfd)]=JSON[_0x31fb83(0xa4)](_0x4c2658)),_0x1a0a18[_0x31fb83(0x155)](()=>{},'browserstack_executor:\x20'+JSON[_0x31fb83(0xa4)](_0x2244ff));},o11ySync=PerformanceTester[a1_0x4772ab(0xb1)](PerformanceO11yEvents[a1_0x4772ab(0xa8)],async _0x662cd8=>{const _0x3f3895=a1_0x4772ab,_0x5e980f={};_0x5e980f[_0x3f3895(0x159)]=function(_0x1cc523,_0x316bac){return _0x1cc523===_0x316bac;},_0x5e980f[_0x3f3895(0xdc)]='Playwright';const _0x143112=_0x5e980f;_0x143112['pyPGe'](_0x662cd8[_0x3f3895(0x128)][_0x3f3895(0x137)],_0x143112[_0x3f3895(0xdc)])?await _0x662cd8[_0x3f3895(0x155)](_0x18493a=>{},testOpsHelper[_0x3f3895(0xbb)]()):await _0x662cd8['executeScript'](testOpsHelper[_0x3f3895(0xbb)]());}),markSessionName=PerformanceTester[a1_0x4772ab(0xb1)](PerformanceAutEvents[a1_0x4772ab(0x152)],async(_0xf5a79c,_0x45b3a4)=>{const _0x3fac66=a1_0x4772ab,_0x14569e={};_0x14569e[_0x3fac66(0x138)]=_0x3fac66(0xcb),_0x14569e['Ghszc']=function(_0x2217a8,_0x27b124){return _0x2217a8===_0x27b124;},_0x14569e[_0x3fac66(0x143)]=_0x3fac66(0xd0);const _0x45437e=_0x14569e,_0x2c0dc9={};_0x2c0dc9[_0x3fac66(0x137)]=_0x45b3a4;const _0xbf0fe8={};_0xbf0fe8[_0x3fac66(0x14f)]=_0x45437e['UOpBV'],_0xbf0fe8['arguments']=_0x2c0dc9;const _0x51ecb1=_0xbf0fe8;_0x45437e[_0x3fac66(0x149)](_0xf5a79c['constructor'][_0x3fac66(0x137)],_0x45437e[_0x3fac66(0x143)])?await _0xf5a79c['executeScript'](()=>{},_0x3fac66(0x9b)+JSON[_0x3fac66(0xa4)](_0x51ecb1)):await _0xf5a79c['executeScript']('browserstack_executor:\x20'+JSON[_0x3fac66(0xa4)](_0x51ecb1));}),patchSaveScreenshot=_0x14791b=>{const _0x49fac2=a1_0x4772ab,_0x3da818={'nzLNA':_0x49fac2(0xde),'hCpPX':_0x49fac2(0x13d),'btlGD':function(_0x177a02){return _0x177a02();},'PDkWV':function(_0x5aeb78,_0x2e610b){return _0x5aeb78(_0x2e610b);},'aHWLF':_0x49fac2(0xdb)};_0x3da818[_0x49fac2(0x99)](isTrue,process[_0x49fac2(0xce)][_0x49fac2(0x133)])&&!_0x14791b['patchSaveScreenshot']&&(_0x14791b[_0x49fac2(0x11a)]=!![],_0x14791b[_0x49fac2(0xd8)]=_0x14791b[_0x49fac2(0x120)],_0x14791b[_0x49fac2(0x120)]=(_0x66be95,_0x43808c=![])=>{const _0x29b792=_0x49fac2,_0x40cc7f={'gFyBN':_0x3da818['nzLNA'],'dnaXw':_0x3da818[_0x29b792(0xae)],'GWgUC':function(_0x2da14c){const _0x4a4207=_0x29b792;return _0x3da818[_0x4a4207(0x10f)](_0x2da14c);},'VCTfI':function(_0x13e0c2,_0x113cf7){const _0xe8f750=_0x29b792;return _0x3da818[_0xe8f750(0x99)](_0x13e0c2,_0x113cf7);},'LQezA':_0x3da818[_0x29b792(0x10b)]};return new Promise(function(_0x3ba78f,_0x5dee3d){const _0xbee4b6=_0x29b792,_0x5862cd={'DDThs':_0x40cc7f[_0xbee4b6(0x8e)],'hqxVg':_0x40cc7f['dnaXw'],'RAdAf':function(_0x3e4ed4){const _0x13b128=_0xbee4b6;return _0x40cc7f[_0x13b128(0x91)](_0x3e4ed4);},'hHjxL':function(_0x48b7d1,_0x585243){const _0x32c894=_0xbee4b6;return _0x40cc7f[_0x32c894(0xe0)](_0x48b7d1,_0x585243);},'SJHcS':_0x40cc7f['LQezA']};_0x14791b[_0xbee4b6(0xd8)](_0x66be95,_0x43808c)[_0xbee4b6(0xfe)](()=>{const _0x43ab1e=_0xbee4b6,_0x19961b=CodeceptUtils[_0x43ab1e(0x132)](_0x66be95);if(_0x19961b){const _0x2c2ac2=fs['readFileSync'](_0x19961b);process['emit'](_0x43ab1e(0x165)+process[_0x43ab1e(0xbc)],{'timestamp':new Date()['toISOString'](),'message':_0x2c2ac2[_0x43ab1e(0xd6)](_0x5862cd[_0x43ab1e(0x157)]),'kind':_0x5862cd[_0x43ab1e(0x119)]}),_0x5862cd['RAdAf'](_0x3ba78f);}_0x5862cd[_0x43ab1e(0xc8)](_0x5dee3d,new Error(_0x5862cd[_0x43ab1e(0xc4)]));})[_0xbee4b6(0x151)](()=>null);});});},patchWebDriverBefore=_0x342147=>{const _0x5440f4=a1_0x4772ab,_0x4cdd8e={'xLmFz':function(_0x1c3424){return _0x1c3424();},'gJqFg':function(_0x10f9cb,_0xeac8f6){return _0x10f9cb(_0xeac8f6);},'ocaQY':function(_0x2c2551,_0x3ee50b){return _0x2c2551===_0x3ee50b;},'Pcbxo':'Element','QOYkJ':function(_0x397a9c,_0x5e7588){return _0x397a9c(_0x5e7588);}},_0x341476=async function(_0x388eb2,_0x217f7d){const _0x589d5f=a1_0x3030;return _0x4cdd8e[_0x589d5f(0x15a)](isAccessibilityAutomationSession)&&!global[_0x589d5f(0xbe)]&&global[_0x589d5f(0x105)]&&scripts['shouldWrapCommand'](_0x388eb2['name'])&&_0x4cdd8e[_0x589d5f(0xc7)](shouldPatchExecuteScript,arguments[0x2])&&(global['bstackAllyScanning']=!![],await PerformanceTester[_0x589d5f(0xb1)](PerformanceA11yEvents[_0x589d5f(0xe4)],async()=>{const _0x1ac51c=_0x589d5f;logger[_0x1ac51c(0xe3)](_0x1ac51c(0x10e)+_0x388eb2['class']+'\x20'+_0x388eb2['name']),await AccessibilityHelper['browserStackExecuteDriver'](_0x342147,scripts[_0x1ac51c(0xa9)]);},{'command':_0x388eb2[_0x589d5f(0x137)]})()),global['bstackAllyScanning']=![],_0x217f7d[_0x589d5f(0xdd)](this,Array['prototype'][_0x589d5f(0xed)]['call'](arguments,0x2));},_0x51aefe=CodeceptWebDriver[_0x5440f4(0x9f)][_0x5440f4(0x9a)];CodeceptWebDriver['prototype'][_0x5440f4(0x9a)]=async function(){const _0x5b77b7=_0x5440f4,_0x1a9c94={'Qquqv':function(_0x5d2f65,_0x44dba2){const _0x51d327=a1_0x3030;return _0x4cdd8e[_0x51d327(0xf6)](_0x5d2f65,_0x44dba2);},'KusmF':_0x4cdd8e[_0x5b77b7(0x15c)]};try{await _0x51aefe[_0x5b77b7(0xdd)](this,arguments);}catch(_0x3bc7c3){logger['debug'](_0x5b77b7(0x10a)+util[_0x5b77b7(0x162)](_0x3bc7c3));}scripts[_0x5b77b7(0xee)][_0x5b77b7(0x101)](_0x564ab9=>_0x564ab9[_0x5b77b7(0x137)]&&_0x564ab9['class'])[_0x5b77b7(0x12f)](_0x4697f3=>{const _0x582a3b=_0x5b77b7;this[_0x582a3b(0x9d)][_0x582a3b(0x10d)](_0x4697f3[_0x582a3b(0x137)],_0x341476[_0x582a3b(0x11b)](this,_0x4697f3),_0x1a9c94[_0x582a3b(0x115)](_0x4697f3['class'],_0x1a9c94['KusmF']));}),_0x4cdd8e[_0x5b77b7(0x13b)](processWebDriverConfig,_0x342147);};},patchPlaywrightBefore=()=>{const _0x435b19=a1_0x4772ab;PlaywrightSessionDetails['patch']();const _0x2da8b3=CodeceptPlaywright[_0x435b19(0x9f)][_0x435b19(0x9a)];CodeceptPlaywright[_0x435b19(0x9f)][_0x435b19(0x9a)]=async function(){const _0x55269b=_0x435b19;this[_0x55269b(0x108)]=await this[_0x55269b(0x9d)][_0x55269b(0x136)]()[0x0],await _0x2da8b3[_0x55269b(0xdd)](this,arguments);};},getCodeceptDriver=()=>{const _0x2da39c=a1_0x4772ab,_0x44e4da={};_0x44e4da[_0x2da39c(0x8f)]='WebDriver',_0x44e4da[_0x2da39c(0x110)]=_0x2da39c(0xd0),_0x44e4da[_0x2da39c(0xe1)]=_0x2da39c(0x107),_0x44e4da[_0x2da39c(0xc1)]=_0x2da39c(0x12b);const _0xb438e7=_0x44e4da,_0x4a4876=[_0xb438e7['lgAUs'],_0xb438e7[_0x2da39c(0x110)],_0xb438e7[_0x2da39c(0xe1)],_0xb438e7[_0x2da39c(0xc1)]],_0x4ae986=_0x4a4876['find'](_0x6fe4b3=>!!CodeceptJS['container'][_0x2da39c(0xb4)](_0x6fe4b3));if(!_0x4ae986)return null;return CodeceptJS[_0x2da39c(0xaa)][_0x2da39c(0xb4)](_0x4ae986);};module['exports']=function(_0xc8b857){const _0x5485f8=a1_0x4772ab,_0x5d4c22={'TNoMK':function(_0x4bfb37){return _0x4bfb37();},'XmWBH':function(_0x134c52,_0xb647bf){return _0x134c52(_0xb647bf);},'xNBjD':'getAccessibilityResultsSummary','hmKwV':'Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20summary.','ahDMb':'getAccessibilityResults','Wpxsg':_0x5485f8(0x140),'jTXYx':_0x5485f8(0x126),'bXIck':_0x5485f8(0x90),'eXVfU':_0x5485f8(0x12e),'qPPiz':_0x5485f8(0x13e),'LTLpl':function(_0x562e7c){return _0x562e7c();},'LKPch':_0x5485f8(0xf7),'WGOnX':function(_0x41a1e5){return _0x41a1e5();},'Vduuf':function(_0x714e14,_0x3d3ae3,_0x4f65ed){return _0x714e14(_0x3d3ae3,_0x4f65ed);},'xuvxN':'test-started','cmTTG':function(_0x2c5337,_0x135085,_0x2e869e){return _0x2c5337(_0x135085,_0x2e869e);},'MXEKA':function(_0x232331){return _0x232331();},'lXyAY':_0x5485f8(0x8d),'fIWXH':function(_0x187592,_0x25fb00,_0x1c6665,_0x1ef9ca){return _0x187592(_0x25fb00,_0x1c6665,_0x1ef9ca);},'AziZv':function(_0x152d48,_0x12cb8,_0x54aa02,_0x2714b9){return _0x152d48(_0x12cb8,_0x54aa02,_0x2714b9);},'EGutB':function(_0x548800,_0x43b0d6){return _0x548800===_0x43b0d6;},'CiCUY':_0x5485f8(0xb3),'heSpZ':_0x5485f8(0xa3),'Fxjpa':_0x5485f8(0x121),'AkLsV':_0x5485f8(0x125),'lHidg':function(_0x2493c3){return _0x2493c3();},'fPEFA':function(_0xb9c4de,_0xdeb62b,_0x945979){return _0xb9c4de(_0xdeb62b,_0x945979);},'TJhqI':function(_0x185465){return _0x185465();},'IXMpJ':_0x5485f8(0xab),'FozNI':_0x5485f8(0x14c),'QICRg':_0x5485f8(0xd5),'ANaTp':'TEST_LOG','RzyKy':'step-comment','xnMsy':_0x5485f8(0x146),'YvxFY':_0x5485f8(0xd4),'gABND':function(_0x177732){return _0x177732();},'vWIQa':_0x5485f8(0xd0)};_0xc8b857[_0x5485f8(0xe2)]&&(global[_0x5485f8(0xe5)]=_0xc8b857[_0x5485f8(0xe2)]);PerformanceTester[_0x5485f8(0x153)]();const _0x43d81c=_0x5d4c22['gABND'](getCodeceptDriver),_0x4b4e6f=new O11yHelper(_0x43d81c,_0xc8b857),_0x3c625f=!!CodeceptJS[_0x5485f8(0xaa)][_0x5485f8(0xb4)](_0x5d4c22[_0x5485f8(0xdf)]);global[_0x5485f8(0x95)]=_0x43d81c,_0x43d81c&&(PerformanceTester[_0x5485f8(0xb1)](PerformanceEvents[_0x5485f8(0x139)],()=>{const _0x2c724e=_0x5485f8;_0x3c625f?_0x5d4c22[_0x2c724e(0x8a)](patchPlaywrightBefore):_0x5d4c22[_0x2c724e(0xaf)](patchWebDriverBefore,_0x43d81c);})(),PerformanceTester[_0x5485f8(0xb1)](PerformanceEvents['SDK_POST_INITIALIZE'],()=>{const _0x34d5ee=_0x5485f8;_0x43d81c[_0x34d5ee(0xcd)]=async()=>{const _0x828964=_0x34d5ee;if(global[_0x828964(0x105)]){const _0x30b040={};_0x30b040[_0x828964(0xec)]=_0x5d4c22[_0x828964(0x11d)],await PerformanceTester['measureWrapper'](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x241fdd=_0x828964;await AccessibilityHelper[_0x241fdd(0x10c)](_0x43d81c,scripts[_0x241fdd(0xa9)]);},_0x30b040)(),await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x828964(0x14b)],async()=>{const _0x53a22e=_0x828964;await AccessibilityHelper['browserStackExecuteDriver'](_0x43d81c,scripts[_0x53a22e(0xb2)]);})();}else return logger[_0x828964(0x145)](_0x5d4c22['hmKwV']),{};},_0x43d81c[_0x34d5ee(0xd7)]=async()=>{const _0x1f4911=_0x34d5ee;if(global[_0x1f4911(0x105)]){const _0xacf378={};_0xacf378['command']=_0x5d4c22[_0x1f4911(0xe6)],await PerformanceTester[_0x1f4911(0xb1)](PerformanceA11yEvents[_0x1f4911(0xe4)],async()=>{const _0x2e7dd6=_0x1f4911;await AccessibilityHelper[_0x2e7dd6(0x10c)](_0x43d81c,scripts[_0x2e7dd6(0xa9)]);},_0xacf378)(),await PerformanceTester[_0x1f4911(0xb1)](PerformanceA11yEvents[_0x1f4911(0xa0)],async()=>{const _0x1e2b67=_0x1f4911;await AccessibilityHelper['browserStackExecuteDriver'](_0x43d81c,scripts[_0x1e2b67(0xff)]);})();}else return logger['warn'](_0x5d4c22[_0x1f4911(0x142)]),{};},_0x5d4c22[_0x34d5ee(0xaf)](patchSaveScreenshot,_0x43d81c);})()),CodeceptJS[_0x5485f8(0xef)]['dispatcher']['on'](CodeceptJS[_0x5485f8(0xef)][_0x5485f8(0xe8)][_0x5485f8(0xf2)],()=>{const _0x54a807=_0x5485f8;PerformanceTester[_0x54a807(0xd3)](PerformanceEvents[_0x54a807(0xfa)]);try{_0x4b4e6f[_0x54a807(0xd3)](),testOpsHelper['addRequestSpy'](),PerformanceTester[_0x54a807(0x15e)](PerformanceEvents['SDK_PRE_TEST']);}catch(_0x377a0b){PerformanceTester[_0x54a807(0x163)](_0x377a0b),PerformanceTester['end'](PerformanceEvents['SDK_PRE_TEST'],![],_0x377a0b);}}),CodeceptJS[_0x5485f8(0xef)][_0x5485f8(0xa2)]['on'](CodeceptJS[_0x5485f8(0xef)][_0x5485f8(0xe8)][_0x5485f8(0xd9)],async()=>{const _0x8817ed=_0x5485f8;PerformanceTester[_0x8817ed(0xd3)](PerformanceEvents[_0x8817ed(0x11f)]);try{requestSpy[_0x8817ed(0x156)](),await _0x4b4e6f['stop'](),PerformanceTester['end'](PerformanceEvents['SDK_POST_TEST']);}catch(_0x4b354e){PerformanceTester[_0x8817ed(0x163)](_0x4b354e),PerformanceTester[_0x8817ed(0x15e)](PerformanceEvents[_0x8817ed(0x11f)],![],_0x4b354e);}finally{PerformanceTester['stopMonitoring']();}}),CodeceptJS[_0x5485f8(0xef)][_0x5485f8(0xa2)]['on'](CodeceptJS[_0x5485f8(0xef)][_0x5485f8(0x141)][_0x5485f8(0x15f)],_0x1ea7b5=>{const _0x8b0686=_0x5485f8;PerformanceTester[_0x8b0686(0xd3)](PerformanceEvents[_0x8b0686(0xeb)]);try{const _0x230b4c=_0x1ea7b5[_0x8b0686(0xea)]['test'],_0x319261=_0x4b4e6f['captureEvent'](TEST_EVENTS[_0x8b0686(0x104)],_0x230b4c);CodeceptRecorder[_0x8b0686(0xd1)](()=>_0x4b4e6f[_0x8b0686(0xa1)](TEST_EVENTS[_0x8b0686(0x104)],_0x319261));const _0x76acce={};_0x76acce['hookType']=_0x5d4c22[_0x8b0686(0xac)],PerformanceTester['end'](PerformanceEvents[_0x8b0686(0xeb)],!![],null,_0x76acce);}catch(_0x226afb){const _0x3e8032={};_0x3e8032[_0x8b0686(0xcf)]=_0x5d4c22[_0x8b0686(0xac)],PerformanceTester['end'](PerformanceEvents[_0x8b0686(0xeb)],![],_0x226afb,_0x3e8032),PerformanceTester['captureError'](_0x226afb);}}),CodeceptJS[_0x5485f8(0xef)][_0x5485f8(0xa2)]['on'](CodeceptJS[_0x5485f8(0xef)]['hook'][_0x5485f8(0xc5)],_0x5024e0=>{const _0x5e0bf3=_0x5485f8,_0x3ce7bb={};_0x3ce7bb[_0x5e0bf3(0xcf)]=_0x5d4c22[_0x5e0bf3(0x154)],PerformanceTester[_0x5e0bf3(0xd3)](PerformanceHookEvents[_0x5e0bf3(0xeb)],!![],null,_0x3ce7bb);try{const _0x368fcc=_0x5024e0[_0x5e0bf3(0xea)]['test'],_0x3c7e15=_0x4b4e6f['captureEvent'](TEST_EVENTS[_0x5e0bf3(0x113)],_0x368fcc);CodeceptRecorder[_0x5e0bf3(0xd1)](()=>_0x4b4e6f[_0x5e0bf3(0xa1)](TEST_EVENTS[_0x5e0bf3(0x113)],_0x3c7e15));const _0x3d77f7={};_0x3d77f7[_0x5e0bf3(0xcf)]=_0x5d4c22[_0x5e0bf3(0x154)],PerformanceTester[_0x5e0bf3(0x15e)](PerformanceHookEvents[_0x5e0bf3(0xeb)],!![],null,_0x3d77f7);}catch(_0x257d86){PerformanceTester[_0x5e0bf3(0x163)](_0x257d86);const _0x4e3975={};_0x4e3975[_0x5e0bf3(0xcf)]=_0x5d4c22['bXIck'],PerformanceTester[_0x5e0bf3(0x15e)](PerformanceHookEvents[_0x5e0bf3(0xeb)],![],_0x257d86,_0x4e3975);}}),CodeceptJS['event'][_0x5485f8(0xa2)]['on'](CodeceptJS[_0x5485f8(0xef)][_0x5485f8(0x141)]['failed'],async(_0x9d620f,_0x2ff9de)=>{const _0xeebf8e=_0x5485f8;PerformanceTester['start'](PerformanceHookEvents[_0xeebf8e(0xeb)]);try{const _0x41fbe5=_0x9d620f[_0xeebf8e(0xea)][_0xeebf8e(0x117)],_0x43afc5=_0x4b4e6f[_0xeebf8e(0x109)](TEST_EVENTS['HOOK_RUN_FINISHED'],_0x41fbe5,_0x2ff9de);CodeceptRecorder['add'](()=>_0x4b4e6f[_0xeebf8e(0xa1)](TEST_EVENTS[_0xeebf8e(0x113)],_0x43afc5));const _0x1ef116={};_0x1ef116[_0xeebf8e(0xcf)]=_0x5d4c22[_0xeebf8e(0xca)],PerformanceTester[_0xeebf8e(0xd3)](PerformanceHookEvents[_0xeebf8e(0xeb)],!![],null,_0x1ef116);}catch(_0x5bd1df){PerformanceTester[_0xeebf8e(0x163)](_0x5bd1df);const _0x214676={};_0x214676[_0xeebf8e(0xcf)]=_0x5d4c22['eXVfU'],PerformanceTester[_0xeebf8e(0x15e)](PerformanceHookEvents['SDK_HOOK'],![],_0x5bd1df,_0x214676);}const _0x3dff82={};_0x3dff82[_0xeebf8e(0xcf)]=_0x5d4c22[_0xeebf8e(0xca)],PerformanceTester[_0xeebf8e(0x15e)](PerformanceHookEvents[_0xeebf8e(0xeb)],!![],null,_0x3dff82);}),CodeceptJS[_0x5485f8(0xef)]['dispatcher']['on'](CodeceptJS['event'][_0x5485f8(0x117)][_0x5485f8(0xf2)],_0x39ee98=>{const _0x279be6=_0x5485f8;PerformanceTester[_0x279be6(0xd3)](PerformanceHookEvents[_0x279be6(0xeb)]);try{globals['setGlobal'](_0x5d4c22[_0x279be6(0xc9)],_0x39ee98[_0x279be6(0xf1)]);_0x5d4c22['LTLpl'](isBrowserstackInfra)&&(_0x3c625f&&(global[_0x279be6(0x118)]={'currentTest':{'name':_0x39ee98[_0x279be6(0xf1)],'testInfo':{'titlePath':_0x39ee98[_0x279be6(0x102)]()}}}));const _0x4d0323={};_0x4d0323[_0x279be6(0xcf)]=_0x5d4c22[_0x279be6(0xf4)],PerformanceTester[_0x279be6(0x15e)](PerformanceHookEvents[_0x279be6(0xeb)],!![],null,_0x4d0323);}catch(_0x3d7458){PerformanceTester[_0x279be6(0x163)](_0x3d7458);const _0xacdc13={};_0xacdc13[_0x279be6(0xcf)]=_0x5d4c22[_0x279be6(0xf4)],PerformanceTester[_0x279be6(0x15e)](PerformanceHookEvents[_0x279be6(0xeb)],![],_0x3d7458,_0xacdc13);}}),CodeceptJS[_0x5485f8(0xef)][_0x5485f8(0xa2)]['on'](CodeceptJS[_0x5485f8(0xef)][_0x5485f8(0x117)][_0x5485f8(0x15f)],_0x272a0d=>{const _0x4be7ab=_0x5485f8,_0x4881e4={'puNpx':function(_0x132bdb){const _0x5d7cb8=a1_0x3030;return _0x5d4c22[_0x5d7cb8(0x96)](_0x132bdb);},'mzQvc':function(_0xb3dedf,_0x4f5199){const _0x2476ff=a1_0x3030;return _0x5d4c22[_0x2476ff(0xaf)](_0xb3dedf,_0x4f5199);},'ZSUDD':function(_0x47d332,_0x45d7ea,_0x5d9526){const _0x37022c=a1_0x3030;return _0x5d4c22[_0x37022c(0x147)](_0x47d332,_0x45d7ea,_0x5d9526);}};PerformanceTester['start'](PerformanceHookEvents[_0x4be7ab(0xeb)]);try{globals['setGlobal'](_0x5d4c22[_0x4be7ab(0xc9)],_0x272a0d[_0x4be7ab(0xf1)]);const _0x5f10f2=_0x4b4e6f[_0x4be7ab(0x109)](TEST_EVENTS[_0x4be7ab(0x13f)],_0x272a0d);CodeceptRecorder[_0x4be7ab(0xd1)](()=>_0x4b4e6f['fireEvent'](TEST_EVENTS[_0x4be7ab(0x13f)],_0x5f10f2)),CodeceptRecorder[_0x4be7ab(0xd1)](async()=>{const _0x5cc694=_0x4be7ab;_0x4881e4['puNpx'](isBrowserstackInfra)&&(!_0x4881e4['mzQvc'](isTrue,_0xc8b857['skipSessionName'])&&await _0x4881e4['ZSUDD'](markSessionName,_0x43d81c,_0x272a0d[_0x5cc694(0xf1)]),_0x4b4e6f[_0x5cc694(0xf0)]&&await _0x4881e4[_0x5cc694(0xc0)](o11ySync,_0x43d81c));});}catch(_0x1151ea){const _0x1e5f6d={};_0x1e5f6d[_0x4be7ab(0xcf)]=_0x5d4c22[_0x4be7ab(0x9c)],PerformanceTester[_0x4be7ab(0x15e)](PerformanceHookEvents[_0x4be7ab(0xeb)],![],_0x1151ea,_0x1e5f6d),PerformanceTester[_0x4be7ab(0x163)](_0x1151ea);}const _0x3e6e02={};_0x3e6e02[_0x4be7ab(0xcf)]=_0x5d4c22[_0x4be7ab(0x9c)],PerformanceTester[_0x4be7ab(0x15e)](PerformanceHookEvents[_0x4be7ab(0xeb)],!![],null,_0x3e6e02);}),CodeceptJS[_0x5485f8(0xef)][_0x5485f8(0xa2)]['on'](CodeceptJS[_0x5485f8(0xef)]['test'][_0x5485f8(0xc5)],_0xfd85cf=>{const _0x91cba7=_0x5485f8;PerformanceTester[_0x91cba7(0xd3)](PerformanceHookEvents[_0x91cba7(0xeb)]);try{const _0x48984c=_0x4b4e6f[_0x91cba7(0x109)](TEST_EVENTS[_0x91cba7(0x114)],_0xfd85cf);CodeceptRecorder['add'](()=>_0x4b4e6f[_0x91cba7(0xa1)](TEST_EVENTS['TEST_RUN_FINISHED'],_0x48984c)),CodeceptRecorder[_0x91cba7(0xd1)](async()=>{const _0x433f4b=_0x91cba7,_0x49916f={'oevvl':function(_0x5e71a9,_0x533cbf,_0x3337f5){const _0x13e55a=a1_0x3030;return _0x5d4c22[_0x13e55a(0x147)](_0x5e71a9,_0x533cbf,_0x3337f5);},'EMDpI':function(_0x40ea90,_0x517ffa,_0x115d80){const _0x1a6d10=a1_0x3030;return _0x5d4c22[_0x1a6d10(0x112)](_0x40ea90,_0x517ffa,_0x115d80);}};_0x5d4c22['MXEKA'](isBrowserstackInfra)&&await PerformanceTester[_0x433f4b(0xb1)](PerformanceAutEvents[_0x433f4b(0x111)],async()=>{const _0x390248=_0x433f4b;_0x3c625f?await _0x49916f[_0x390248(0xd2)](playwrightMarkSessionStatus,_0x43d81c,STATE_PASSED):await _0x49916f[_0x390248(0x11e)](markSessionStatus,_0x43d81c,STATE_PASSED);})();}),PerformanceTester['end'](PerformanceEvents['SDK_TEST']);}catch(_0x50ed58){PerformanceTester[_0x91cba7(0x163)](_0x50ed58);const _0x26f17c={};_0x26f17c[_0x91cba7(0xcf)]=_0x5d4c22[_0x91cba7(0x93)],PerformanceTester['end'](PerformanceHookEvents['SDK_HOOK'],![],_0x50ed58,_0x26f17c),PerformanceTester[_0x91cba7(0x15e)](PerformanceEvents[_0x91cba7(0xe9)],![],_0x50ed58);}const _0x3e40b6={};_0x3e40b6[_0x91cba7(0xcf)]=_0x5d4c22[_0x91cba7(0x93)],PerformanceTester[_0x91cba7(0x15e)](PerformanceHookEvents[_0x91cba7(0xeb)],!![],null,_0x3e40b6);}),CodeceptJS[_0x5485f8(0xef)][_0x5485f8(0xa2)]['on'](CodeceptJS[_0x5485f8(0xef)][_0x5485f8(0x117)][_0x5485f8(0x135)],(_0x6bfe2e,_0x5cc69a)=>{const _0x25dae9=_0x5485f8;PerformanceTester['start'](PerformanceHookEvents['SDK_HOOK']);try{if(_0x5d4c22[_0x25dae9(0xc2)](_0x6bfe2e['constructor']['name'],_0x5d4c22['CiCUY'])){const _0x5cc402=_0x4b4e6f[_0x25dae9(0x109)](TEST_EVENTS[_0x25dae9(0x97)],_0x6bfe2e['ctx']['currentTest']);CodeceptRecorder[_0x25dae9(0xd1)](()=>_0x4b4e6f[_0x25dae9(0xa1)](TEST_EVENTS['TEST_RUN_SKIPPED'],_0x5cc402));}else{const _0x51af34=_0x4b4e6f[_0x25dae9(0x109)](TEST_EVENTS[_0x25dae9(0x114)],_0x6bfe2e,_0x5cc69a);CodeceptRecorder[_0x25dae9(0xd1)](()=>{const _0x3b3475=_0x25dae9;try{_0x4b4e6f['fireEvent'](TEST_EVENTS[_0x3b3475(0x114)],_0x51af34);}catch(_0x918365){logger[_0x3b3475(0xe3)](_0x3b3475(0x98)+util[_0x3b3475(0x162)](_0x918365)),PerformanceTester[_0x3b3475(0x15e)](PerformanceEvents[_0x3b3475(0xe9)],![],_0x918365);}}),CodeceptRecorder[_0x25dae9(0xd1)](async()=>{const _0x3463f5=_0x25dae9;try{_0x5d4c22[_0x3463f5(0x8a)](isBrowserstackInfra)&&(_0x3c625f?await _0x5d4c22[_0x3463f5(0x144)](playwrightMarkSessionStatus,_0x43d81c,STATE_FAILED,_0x5cc69a):await _0x5d4c22[_0x3463f5(0x92)](markSessionStatus,_0x43d81c,STATE_FAILED,_0x5cc69a));}catch(_0x12b72e){logger['debug'](_0x3463f5(0x123)+util[_0x3463f5(0x162)](_0x12b72e)),PerformanceTester[_0x3463f5(0x15e)](PerformanceEvents['SDK_TEST'],![],_0x12b72e);}});}PerformanceTester[_0x25dae9(0x15e)](PerformanceEvents[_0x25dae9(0xe9)]);}catch(_0x206a06){PerformanceTester[_0x25dae9(0x163)](_0x206a06);const _0x5d46ed={};_0x5d46ed[_0x25dae9(0xcf)]=_0x5d4c22[_0x25dae9(0x124)],PerformanceTester[_0x25dae9(0x15e)](PerformanceHookEvents[_0x25dae9(0xeb)],![],_0x206a06,_0x5d46ed),PerformanceTester['end'](PerformanceEvents[_0x25dae9(0xe9)],![],_0x206a06);}const _0x19384c={};_0x19384c[_0x25dae9(0xcf)]=_0x5d4c22[_0x25dae9(0x124)],PerformanceTester[_0x25dae9(0x15e)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x19384c);}),CodeceptJS[_0x5485f8(0xef)][_0x5485f8(0xa2)]['on'](CodeceptJS[_0x5485f8(0xef)][_0x5485f8(0x117)][_0x5485f8(0x12d)],_0x1d3c0e=>{const _0x3a526c=_0x5485f8;PerformanceTester[_0x3a526c(0xd3)](PerformanceHookEvents[_0x3a526c(0xeb)]);try{const _0x4c7df8=_0x4b4e6f['captureEvent'](TEST_EVENTS['TEST_RUN_SKIPPED'],_0x1d3c0e);CodeceptRecorder[_0x3a526c(0xd1)](()=>_0x4b4e6f['fireEvent'](TEST_EVENTS[_0x3a526c(0x97)],_0x4c7df8)),PerformanceTester[_0x3a526c(0x15e)](PerformanceEvents['SDK_TEST']);}catch(_0x3c36bb){PerformanceTester[_0x3a526c(0x163)](_0x3c36bb),PerformanceTester[_0x3a526c(0x15e)](PerformanceEvents['SDK_TEST'],![],_0x3c36bb);const _0x4794e2={};_0x4794e2['hookType']=_0x5d4c22[_0x3a526c(0xf8)],PerformanceTester[_0x3a526c(0x15e)](PerformanceHookEvents[_0x3a526c(0xeb)],![],_0x3c36bb,_0x4794e2);}const _0x4552ca={};_0x4552ca['hookType']=_0x5d4c22[_0x3a526c(0xf8)],PerformanceTester[_0x3a526c(0x15e)](PerformanceHookEvents[_0x3a526c(0xeb)],!![],null,_0x4552ca);}),CodeceptJS[_0x5485f8(0xef)][_0x5485f8(0xa2)]['on'](CodeceptJS[_0x5485f8(0xef)][_0x5485f8(0x117)]['after'],async(_0x5ab347,_0x5c0a1a)=>{const _0x4ddfaf=_0x5485f8;try{PerformanceTester['start'](PerformanceHookEvents[_0x4ddfaf(0xeb)]);if(_0x5d4c22[_0x4ddfaf(0x116)](isBrowserstackInfra)){const _0x52e8dd=_0x5d4c22[_0x4ddfaf(0x103)](shouldScanTestForAccessibility,_0x5ab347[_0x4ddfaf(0x102)](),!![]);if(_0x5d4c22[_0x4ddfaf(0x148)](isAccessibilityAutomationSession)&&global[_0x4ddfaf(0x105)]&&_0x52e8dd){const _0x8c911c={};_0x8c911c[_0x4ddfaf(0xa5)]=_0x5ab347['testAnalyticsId'],_0x8c911c[_0x4ddfaf(0x129)]=process[_0x4ddfaf(0xce)][testHubConstants[_0x4ddfaf(0xe7)][_0x4ddfaf(0xb0)]],_0x8c911c[_0x4ddfaf(0x12c)]=process[_0x4ddfaf(0xce)][testHubConstants[_0x4ddfaf(0xe7)][_0x4ddfaf(0xf5)]];const _0x243432=_0x8c911c;logger[_0x4ddfaf(0xe3)]('Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20'+JSON[_0x4ddfaf(0xa4)](_0x243432)),CodeceptRecorder[_0x4ddfaf(0xd1)](async()=>{const _0x281059=_0x4ddfaf,_0x554752={};_0x554752['command']=_0x5d4c22[_0x281059(0xcc)],await PerformanceTester[_0x281059(0xb1)](PerformanceA11yEvents[_0x281059(0xe4)],async()=>{const _0x23698a=_0x281059;await AccessibilityHelper[_0x23698a(0x10c)](_0x43d81c,scripts[_0x23698a(0xa9)]);},_0x554752)(),await PerformanceTester[_0x281059(0xb1)](PerformanceA11yEvents[_0x281059(0x150)],async()=>{const _0x3863f0=_0x281059;await AccessibilityHelper[_0x3863f0(0x10c)](_0x43d81c,scripts[_0x3863f0(0x130)],_0x243432);})();}),logger[_0x4ddfaf(0xa6)](_0x5d4c22[_0x4ddfaf(0x9e)]);}}const _0xea6f8a={};_0xea6f8a[_0x4ddfaf(0xcf)]=_0x5d4c22[_0x4ddfaf(0xda)],PerformanceTester['end'](PerformanceHookEvents['SDK_HOOK'],!![],null,_0xea6f8a);}catch(_0x55b656){PerformanceTester[_0x4ddfaf(0x163)](_0x55b656);const _0x1838a8={};_0x1838a8[_0x4ddfaf(0xcf)]=_0x5d4c22[_0x4ddfaf(0xda)],PerformanceTester[_0x4ddfaf(0x15e)](PerformanceHookEvents[_0x4ddfaf(0xeb)],![],_0x55b656,_0x1838a8);}}),CodeceptJS[_0x5485f8(0xef)]['dispatcher']['on'](CodeceptJS[_0x5485f8(0xef)][_0x5485f8(0x14a)][_0x5485f8(0x122)],_0x4317a5=>{const _0xadcff=_0x5485f8;PerformanceTester[_0xadcff(0xd3)](PerformanceHookEvents[_0xadcff(0xeb)]);try{process['emit'](_0xadcff(0x165)+process[_0xadcff(0xbc)],{'timestamp':new Date()[_0xadcff(0x11c)](),'level':_0x5d4c22[_0xadcff(0xb5)],'message':_0x4317a5,'kind':_0x5d4c22[_0xadcff(0x161)],'http_response':{}});}catch(_0x415a74){PerformanceTester[_0xadcff(0x163)](_0x415a74);const _0x54c38b={};_0x54c38b[_0xadcff(0xcf)]=_0x5d4c22[_0xadcff(0xfc)],PerformanceTester[_0xadcff(0x15e)](PerformanceHookEvents[_0xadcff(0xeb)],![],_0x415a74,_0x54c38b);}const _0x35db29={};_0x35db29[_0xadcff(0xcf)]=_0x5d4c22[_0xadcff(0xfc)],PerformanceTester[_0xadcff(0x15e)](PerformanceHookEvents[_0xadcff(0xeb)],!![],null,_0x35db29);}),CodeceptJS[_0x5485f8(0xef)][_0x5485f8(0xa2)]['on'](CodeceptJS[_0x5485f8(0xef)][_0x5485f8(0x14d)][_0x5485f8(0xf2)],_0x470ec8=>{const _0x2287f2=_0x5485f8,_0x2a2047={};_0x2a2047[_0x2287f2(0xcf)]=_0x5d4c22[_0x2287f2(0x15d)],PerformanceTester['measureWrapper'](PerformanceHookEvents[_0x2287f2(0xeb)],()=>{const _0x53635f=_0x2287f2;_0x4b4e6f[_0x53635f(0xb8)](_0x470ec8);},_0x2a2047)();}),CodeceptJS['event'][_0x5485f8(0xa2)]['on'](CodeceptJS[_0x5485f8(0xef)][_0x5485f8(0x14d)]['after'],_0x1b53ba=>{const _0x1ba889=_0x5485f8,_0xa54c41={};_0xa54c41[_0x1ba889(0xcf)]=_0x5d4c22[_0x1ba889(0x14e)],PerformanceTester[_0x1ba889(0xb1)](PerformanceHookEvents[_0x1ba889(0xeb)],()=>{_0x4b4e6f['bddStepFinish'](_0x1b53ba);},_0xa54c41)();});};function a1_0x3030(_0x32bcd0,_0x3cffce){const _0x421761=a1_0x4217();return a1_0x3030=function(_0x3030a0,_0x2ce24c){_0x3030a0=_0x3030a0-0x8a;let _0x2ce76f=_0x421761[_0x3030a0];return _0x2ce76f;},a1_0x3030(_0x32bcd0,_0x3cffce);}function a1_0x4217(){const _0x5c271e=['codeceptjs/lib/recorder.js','QOYkJ','../../helpers/accessibility-automation/helper','TEST_SCREENSHOT','browserstackTestName','TEST_RUN_STARTED','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','hook','Wpxsg','AtOeA','fIWXH','warn','bddStep-before','Vduuf','TJhqI','Ghszc','step','GET_RESULTS_SUMMARY','test-after','bddStep','YvxFY','action','SAVE_RESULTS','catch','SESSION_NAME','startMonitoring','bXIck','executeScript','restore','DDThs','codeceptjs','pyPGe','xLmFz','6871004RDZfQD','Pcbxo','xnMsy','end','started','../../helpers/request-spy','ANaTp','format','captureError','../../helpers/testhub/constants.js','bs:addLog:','32366eKPUJt','TNoMK','3MsgKio','status','test-passed','gFyBN','lgAUs','hook-passed','GWgUC','AziZv','lXyAY','5170506OQxPby','__driver','WGOnX','TEST_RUN_SKIPPED','Failed\x20in\x20sending\x20TestRunFinish\x20event:\x20','PDkWV','_before','browserstack_executor:\x20','xuvxN','browser','IXMpJ','prototype','GET_RESULTS','fireEvent','dispatcher','test-failed','stringify','thTestRunUuid','info','../../bin/playwright/accessibility-helper','SYNC','performScan','container','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','jTXYx','setSessionStatus','hCpPX','XmWBH','BROWSERSTACK_TESTHUB_UUID','measureWrapper','getResultsSummary','Suite','helpers','QICRg','3964836kMrbfM','codeceptjs/lib/helper/WebDriver.js','bddStepStart','codeceptjs/lib/helper/Playwright.js','../../helpers/globals.js','getSyncScript','pid','../../bin/playwright/sessionDetails','bstackAllyScanning','../../helpers/helper','mzQvc','HQaSp','EGutB','./o11yHelper','SJHcS','passed','codeceptjs/lib/utils.js','gJqFg','hHjxL','qPPiz','eXVfU','setSessionName','AkLsV','getAccessibilityResultsSummary','env','hookType','Playwright','add','oevvl','start','bddStep-after','INFO','toString','getAccessibilityResults','initSaveScreenshot','after','FozNI','Screenshot\x20path\x20not\x20found','hcKjV','apply','base64','vWIQa','VCTfI','RtaYK','skipSessionStatus','debug','PERFORM_SCAN','__skipSessionStatus','ahDMb','ENV_VAR','all','SDK_TEST','ctx','SDK_HOOK','command','slice','commandsToWrap','event','enabled','title','before','arguments','LKPch','BROWSERSTACK_TESTHUB_JWT','ocaQY','test-before','Fxjpa','13302808qoEfzK','SDK_PRE_TEST','32703237TsBRHG','RzyKy','reason','then','getResults','../../helpers/performance/performance-tester','filter','titlePath','fPEFA','HOOK_RUN_STARTED','accessibilityPlatform','../../helpers/logger','Puppeteer','browserContext','captureEvent','Failed\x20to\x20execute\x20_before:\x20','aHWLF','browserStackExecuteDriver','overwriteCommand','Performing\x20scan\x20for\x20','btlGD','RCVzi','SESSION_STATUS','cmTTG','HOOK_RUN_FINISHED','TEST_RUN_FINISHED','Qquqv','lHidg','test','__workerDetails','hqxVg','patchSaveScreenshot','bind','toISOString','xNBjD','EMDpI','SDK_POST_TEST','saveScreenshot','test-skipped','comment','Failed\x20in\x20marking\x20session\x20status\x20of\x20test:\x20','heSpZ','afterTest','hook-started','util','constructor','thBuildUuid','28NrOtxu','TestCafe','thJwtToken','skipped','hook-failed','forEach','saveTestResults','WZBYg','screenshotOutputFolder','BS_TESTOPS_ALLOW_SCREENSHOTS','3405870DcEwwu','failed','contexts','name','UOpBV','SDK_PRE_INITIALIZE'];a1_0x4217=function(){return _0x5c271e;};return a1_0x4217();}
|
|
1
|
+
const a1_0x1f1cf8=a1_0x1504;(function(_0x21f243,_0x2a84cd){const _0x27faf5=a1_0x1504,_0x4c4bb2=_0x21f243();while(!![]){try{const _0xa4e378=-parseInt(_0x27faf5(0x22a))/0x1+-parseInt(_0x27faf5(0x287))/0x2+parseInt(_0x27faf5(0x214))/0x3+parseInt(_0x27faf5(0x261))/0x4+-parseInt(_0x27faf5(0x22e))/0x5*(parseInt(_0x27faf5(0x216))/0x6)+parseInt(_0x27faf5(0x22b))/0x7+-parseInt(_0x27faf5(0x2af))/0x8;if(_0xa4e378===_0x2a84cd)break;else _0x4c4bb2['push'](_0x4c4bb2['shift']());}catch(_0x4b787d){_0x4c4bb2['push'](_0x4c4bb2['shift']());}}}(a1_0x2a06,0x96115));function a1_0x1504(_0x18fcd,_0x54b462){const _0x2a062e=a1_0x2a06();return a1_0x1504=function(_0x15047f,_0x203f10){_0x15047f=_0x15047f-0x1f4;let _0x1f611b=_0x2a062e[_0x15047f];return _0x1f611b;},a1_0x1504(_0x18fcd,_0x54b462);}const fs=require('fs'),util=require('util'),{requireModule,markSessionStatus,isUndefined,isTrue,isBrowserstackInfra}=require(a1_0x1f1cf8(0x213)),logger=require(a1_0x1f1cf8(0x1f7))['winstonLogger'],testOpsHelper=require(a1_0x1f1cf8(0x203)),requestSpy=require(a1_0x1f1cf8(0x1f9)),PlaywrightSessionDetails=require(a1_0x1f1cf8(0x21b)),{O11yHelper,TEST_EVENTS,STATE_PASSED,STATE_FAILED}=require(a1_0x1f1cf8(0x29d)),{shouldScanTestForAccessibility,isAccessibilityAutomationSession}=require(a1_0x1f1cf8(0x2ae)),AccessibilityHelper=require('../../bin/playwright/accessibility-helper'),scripts=require(a1_0x1f1cf8(0x226)),PerformanceTester=require(a1_0x1f1cf8(0x20e)),{EVENTS:PerformanceEvents,AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceHookEvents}=require('../../helpers/performance/constants'),{processWebDriverConfig,shouldPatchExecuteScript}=require(a1_0x1f1cf8(0x24d)),testHubConstants=require(a1_0x1f1cf8(0x27b)),globals=require(a1_0x1f1cf8(0x295)),CodeceptJS=requireModule('codeceptjs/lib/index.js',a1_0x1f1cf8(0x241)),CodeceptUtils=requireModule('codeceptjs/lib/utils.js',a1_0x1f1cf8(0x241)),CodeceptWebDriver=requireModule(a1_0x1f1cf8(0x224),a1_0x1f1cf8(0x241)),CodeceptRecorder=requireModule(a1_0x1f1cf8(0x297),a1_0x1f1cf8(0x241)),CodeceptPlaywright=requireModule(a1_0x1f1cf8(0x2a0),a1_0x1f1cf8(0x241)),playwrightMarkSessionStatus=(_0x12a705,_0x50af4d,_0x2e7b11)=>{const _0x4e2208=a1_0x1f1cf8,_0x972f34={'KcHGm':_0x4e2208(0x2a4),'oOVhK':function(_0x1719ea,_0x2aebe4){return _0x1719ea(_0x2aebe4);}},_0x3d2d94={};_0x3d2d94['status']=_0x50af4d;const _0x44732b={};_0x44732b[_0x4e2208(0x20a)]=_0x972f34[_0x4e2208(0x253)],_0x44732b[_0x4e2208(0x288)]=_0x3d2d94;const _0x193013=_0x44732b;return!_0x972f34['oOVhK'](isUndefined,_0x2e7b11)&&(_0x193013[_0x4e2208(0x288)]['reason']=JSON[_0x4e2208(0x269)](_0x2e7b11)),_0x12a705[_0x4e2208(0x220)](()=>{},_0x4e2208(0x1f6)+JSON['stringify'](_0x193013));},o11ySync=PerformanceTester[a1_0x1f1cf8(0x232)](PerformanceO11yEvents['SYNC'],async _0x3cbb9d=>{const _0x54eaf5=a1_0x1f1cf8,_0x568876={};_0x568876[_0x54eaf5(0x1fa)]=function(_0x5025eb,_0x2dab5f){return _0x5025eb===_0x2dab5f;},_0x568876[_0x54eaf5(0x2bb)]=_0x54eaf5(0x20c);const _0x394031=_0x568876;_0x394031[_0x54eaf5(0x1fa)](_0x3cbb9d[_0x54eaf5(0x210)]['name'],_0x394031['apoXV'])?await _0x3cbb9d['executeScript'](_0x5d9550=>{},testOpsHelper[_0x54eaf5(0x28b)]()):await _0x3cbb9d[_0x54eaf5(0x220)](testOpsHelper[_0x54eaf5(0x28b)]());}),markSessionName=PerformanceTester[a1_0x1f1cf8(0x232)](PerformanceAutEvents['SESSION_NAME'],async(_0x156cad,_0x221096)=>{const _0x34f87e=a1_0x1f1cf8,_0xc59ea9={};_0xc59ea9['ObZOS']='setSessionName',_0xc59ea9[_0x34f87e(0x299)]=function(_0x4379e2,_0x47bf94){return _0x4379e2===_0x47bf94;},_0xc59ea9[_0x34f87e(0x2b4)]=_0x34f87e(0x20c);const _0x33d4df=_0xc59ea9,_0x5e025d={};_0x5e025d[_0x34f87e(0x208)]=_0x221096;const _0x43e64b={};_0x43e64b[_0x34f87e(0x20a)]=_0x33d4df['ObZOS'],_0x43e64b['arguments']=_0x5e025d;const _0x4762ed=_0x43e64b;_0x33d4df[_0x34f87e(0x299)](_0x156cad[_0x34f87e(0x210)]['name'],_0x33d4df['zJuGz'])?await _0x156cad[_0x34f87e(0x220)](()=>{},'browserstack_executor:\x20'+JSON[_0x34f87e(0x269)](_0x4762ed)):await _0x156cad[_0x34f87e(0x220)](_0x34f87e(0x1f6)+JSON[_0x34f87e(0x269)](_0x4762ed));}),patchSaveScreenshot=_0x255541=>{const _0xa4a56c=a1_0x1f1cf8,_0x4fdf0c={'UwFpJ':_0xa4a56c(0x21f),'RotVp':_0xa4a56c(0x2b8),'JUhkd':function(_0x5a248c){return _0x5a248c();},'TIyRH':function(_0x59a6e5,_0x578104){return _0x59a6e5(_0x578104);},'YLfiU':_0xa4a56c(0x275)};_0x4fdf0c[_0xa4a56c(0x2b9)](isTrue,process[_0xa4a56c(0x285)][_0xa4a56c(0x298)])&&!_0x255541[_0xa4a56c(0x22d)]&&(_0x255541['patchSaveScreenshot']=!![],_0x255541['initSaveScreenshot']=_0x255541['saveScreenshot'],_0x255541['saveScreenshot']=(_0x22a699,_0x120965=![])=>{const _0x374d23={'SrZIM':_0x4fdf0c['UwFpJ'],'zKUFM':_0x4fdf0c['RotVp'],'AqLPe':function(_0x22a8ba){const _0x17c2f2=a1_0x1504;return _0x4fdf0c[_0x17c2f2(0x29f)](_0x22a8ba);},'bVynP':function(_0x3b2260,_0x3f5a75){const _0x411308=a1_0x1504;return _0x4fdf0c[_0x411308(0x2b9)](_0x3b2260,_0x3f5a75);},'oNlQY':_0x4fdf0c['YLfiU']};return new Promise(function(_0x50fe45,_0x54686e){const _0x10c8e7=a1_0x1504;_0x255541[_0x10c8e7(0x29e)](_0x22a699,_0x120965)[_0x10c8e7(0x2b2)](()=>{const _0x1314b2=_0x10c8e7,_0x5c7f5e=CodeceptUtils[_0x1314b2(0x268)](_0x22a699);if(_0x5c7f5e){const _0x53da3e=fs[_0x1314b2(0x2c5)](_0x5c7f5e);process[_0x1314b2(0x2c2)]('bs:addLog:'+process[_0x1314b2(0x204)],{'timestamp':new Date()[_0x1314b2(0x201)](),'message':_0x53da3e[_0x1314b2(0x242)](_0x374d23[_0x1314b2(0x223)]),'kind':_0x374d23['zKUFM']}),_0x374d23[_0x1314b2(0x26f)](_0x50fe45);}_0x374d23['bVynP'](_0x54686e,new Error(_0x374d23[_0x1314b2(0x267)]));})[_0x10c8e7(0x217)](()=>null);});});},patchWebDriverBefore=_0x2ac041=>{const _0x207fa8=a1_0x1f1cf8,_0x740790={'tfthv':function(_0x40430e){return _0x40430e();},'vchMF':function(_0x3e3c44,_0x2967d2){return _0x3e3c44(_0x2967d2);},'IrmPo':function(_0x996042,_0x272ead){return _0x996042===_0x272ead;},'NNcaV':'Element'},_0x24de10=async function(_0x2db65b,_0x5b346a){const _0x32b38e=a1_0x1504;return _0x740790['tfthv'](isAccessibilityAutomationSession)&&!global[_0x32b38e(0x221)]&&global[_0x32b38e(0x2ba)]&&scripts[_0x32b38e(0x272)](_0x2db65b[_0x32b38e(0x208)])&&_0x740790[_0x32b38e(0x27c)](shouldPatchExecuteScript,arguments[0x2])&&(global[_0x32b38e(0x221)]=!![],await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x32b38e(0x2bc)],async()=>{const _0x1994d6=_0x32b38e;logger[_0x1994d6(0x25f)]('Performing\x20scan\x20for\x20'+_0x2db65b[_0x1994d6(0x250)]+'\x20'+_0x2db65b[_0x1994d6(0x208)]),await AccessibilityHelper['browserStackExecuteDriver'](_0x2ac041,scripts['performScan']);},{'command':_0x2db65b[_0x32b38e(0x208)]})()),global[_0x32b38e(0x221)]=![],_0x5b346a['apply'](this,Array[_0x32b38e(0x25d)][_0x32b38e(0x2c0)][_0x32b38e(0x29c)](arguments,0x2));},_0x3b8104=CodeceptWebDriver[_0x207fa8(0x25d)][_0x207fa8(0x1fb)];CodeceptWebDriver[_0x207fa8(0x25d)]['_before']=async function(){const _0x96124=_0x207fa8;try{await _0x3b8104[_0x96124(0x270)](this,arguments);}catch(_0x11f9dd){logger['debug'](_0x96124(0x1fd)+util[_0x96124(0x1ff)](_0x11f9dd));}scripts[_0x96124(0x290)][_0x96124(0x286)](_0x3521c5=>_0x3521c5[_0x96124(0x208)]&&_0x3521c5[_0x96124(0x250)])[_0x96124(0x279)](_0x52b9c4=>{const _0x11e864=_0x96124;this[_0x11e864(0x23a)][_0x11e864(0x252)](_0x52b9c4[_0x11e864(0x208)],_0x24de10[_0x11e864(0x243)](this,_0x52b9c4),_0x740790[_0x11e864(0x28e)](_0x52b9c4[_0x11e864(0x250)],_0x740790[_0x11e864(0x28f)]));}),_0x740790[_0x96124(0x27c)](processWebDriverConfig,_0x2ac041);};},patchPlaywrightBefore=()=>{const _0xfbb275=a1_0x1f1cf8;PlaywrightSessionDetails['patch']();const _0x211051=CodeceptPlaywright['prototype'][_0xfbb275(0x1fb)];CodeceptPlaywright[_0xfbb275(0x25d)][_0xfbb275(0x1fb)]=async function(){const _0x3a9bff=_0xfbb275;this['browserContext']=await this[_0x3a9bff(0x23a)][_0x3a9bff(0x247)]()[0x0],await _0x211051[_0x3a9bff(0x270)](this,arguments);};},getCodeceptDriver=()=>{const _0x33d9c5=a1_0x1f1cf8,_0x19eb07={};_0x19eb07[_0x33d9c5(0x2a2)]=_0x33d9c5(0x238),_0x19eb07['YUTHe']=_0x33d9c5(0x20c),_0x19eb07[_0x33d9c5(0x28d)]=_0x33d9c5(0x21c),_0x19eb07[_0x33d9c5(0x235)]=_0x33d9c5(0x271);const _0x23aa9f=_0x19eb07,_0x10c5c4=[_0x23aa9f[_0x33d9c5(0x2a2)],_0x23aa9f[_0x33d9c5(0x2a6)],_0x23aa9f[_0x33d9c5(0x28d)],_0x23aa9f['jInCU']],_0x4222f1=_0x10c5c4[_0x33d9c5(0x281)](_0x1f0c93=>!!CodeceptJS[_0x33d9c5(0x24e)][_0x33d9c5(0x257)](_0x1f0c93));if(!_0x4222f1)return null;return CodeceptJS[_0x33d9c5(0x24e)]['helpers'](_0x4222f1);};module[a1_0x1f1cf8(0x229)]=function(_0xe2a094){const _0x5aa89f=a1_0x1f1cf8,_0x13217d={'QRhjm':function(_0xf74a6e){return _0xf74a6e();},'LkHPF':function(_0x1adfe7,_0x3540ff){return _0x1adfe7(_0x3540ff);},'jDRcd':_0x5aa89f(0x273),'ShdqT':'Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20summary.','xEQXQ':_0x5aa89f(0x233),'ZaajG':'Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','YWnfD':'hook-started','asvMt':_0x5aa89f(0x255),'bUKIF':_0x5aa89f(0x225),'TpcOv':'browserstackTestName','lkeSd':function(_0x46ae59){return _0x46ae59();},'VgUEA':_0x5aa89f(0x266),'VSSnj':function(_0x6ce984,_0x4fe609){return _0x6ce984(_0x4fe609);},'pcFHx':function(_0x128885,_0x42f0aa,_0x3fb325){return _0x128885(_0x42f0aa,_0x3fb325);},'sLnId':function(_0x59d94e,_0x358789){return _0x59d94e(_0x358789);},'wuJxe':_0x5aa89f(0x245),'ZBavN':function(_0x3062da){return _0x3062da();},'TEfwE':function(_0x1090e2,_0x27661c,_0x263569){return _0x1090e2(_0x27661c,_0x263569);},'EKQmb':_0x5aa89f(0x237),'hHcxB':function(_0xa02c){return _0xa02c();},'mJGhR':function(_0xe2567d,_0x4aaf0c,_0x1c7c6d,_0x19fa09){return _0xe2567d(_0x4aaf0c,_0x1c7c6d,_0x19fa09);},'HybMT':function(_0x149e6c,_0x50363b,_0x157289,_0x446cab){return _0x149e6c(_0x50363b,_0x157289,_0x446cab);},'BxOXd':function(_0x20dc03,_0x4041ba){return _0x20dc03===_0x4041ba;},'xHyne':_0x5aa89f(0x236),'CMOVN':'test-failed','pnaYR':_0x5aa89f(0x20b),'NGuzD':_0x5aa89f(0x26e),'kiIBa':function(_0xccb557){return _0xccb557();},'inDKG':function(_0x28b164,_0x193888,_0x24bf66){return _0x28b164(_0x193888,_0x24bf66);},'wACwO':'Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','aNEcz':'test-after','qEdFf':_0x5aa89f(0x26b),'hhavm':_0x5aa89f(0x2b6),'BlAXL':_0x5aa89f(0x206),'CbPwD':_0x5aa89f(0x218),'OhiMJ':'bddStep-after','ZhCKD':_0x5aa89f(0x20c)};_0xe2a094[_0x5aa89f(0x228)]&&(global[_0x5aa89f(0x202)]=_0xe2a094[_0x5aa89f(0x228)]);PerformanceTester[_0x5aa89f(0x25a)]();const _0x1a05f7=_0x13217d[_0x5aa89f(0x292)](getCodeceptDriver),_0xea4ed5=new O11yHelper(_0x1a05f7,_0xe2a094),_0x50531d=!!CodeceptJS[_0x5aa89f(0x24e)]['helpers'](_0x13217d[_0x5aa89f(0x284)]);global[_0x5aa89f(0x259)]=_0x1a05f7,_0x1a05f7&&(PerformanceTester[_0x5aa89f(0x232)](PerformanceEvents[_0x5aa89f(0x209)],()=>{const _0x1db04b=_0x5aa89f;_0x50531d?_0x13217d[_0x1db04b(0x2a5)](patchPlaywrightBefore):_0x13217d[_0x1db04b(0x1f4)](patchWebDriverBefore,_0x1a05f7);})(),PerformanceTester[_0x5aa89f(0x232)](PerformanceEvents[_0x5aa89f(0x24c)],()=>{const _0xa14712=_0x5aa89f,_0x37b828={};_0x37b828[_0xa14712(0x23f)]=_0x13217d['jDRcd'],_0x37b828['pXfFi']=_0x13217d['ShdqT'],_0x37b828['TFtcJ']=_0x13217d[_0xa14712(0x2ab)],_0x37b828['pxwPn']=_0x13217d[_0xa14712(0x26c)];const _0x17c9bb=_0x37b828;_0x1a05f7[_0xa14712(0x273)]=async()=>{const _0x3f3c4c=_0xa14712;if(global[_0x3f3c4c(0x2ba)]){const _0x11a946={};_0x11a946[_0x3f3c4c(0x2a1)]=_0x17c9bb[_0x3f3c4c(0x23f)],await PerformanceTester[_0x3f3c4c(0x232)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x46e6d3=_0x3f3c4c;await AccessibilityHelper['browserStackExecuteDriver'](_0x1a05f7,scripts[_0x46e6d3(0x248)]);},_0x11a946)(),await PerformanceTester[_0x3f3c4c(0x232)](PerformanceA11yEvents[_0x3f3c4c(0x262)],async()=>{const _0x19383e=_0x3f3c4c;await AccessibilityHelper[_0x19383e(0x200)](_0x1a05f7,scripts[_0x19383e(0x296)]);})();}else return logger['warn'](_0x17c9bb[_0x3f3c4c(0x24a)]),{};},_0x1a05f7['getAccessibilityResults']=async()=>{const _0x5134c1=_0xa14712;if(global[_0x5134c1(0x2ba)]){const _0x1b4cbe={};_0x1b4cbe['command']=_0x17c9bb['TFtcJ'],await PerformanceTester[_0x5134c1(0x232)](PerformanceA11yEvents[_0x5134c1(0x2bc)],async()=>{const _0x1a4175=_0x5134c1;await AccessibilityHelper[_0x1a4175(0x200)](_0x1a05f7,scripts[_0x1a4175(0x248)]);},_0x1b4cbe)(),await PerformanceTester[_0x5134c1(0x232)](PerformanceA11yEvents[_0x5134c1(0x22c)],async()=>{const _0x2e144e=_0x5134c1;await AccessibilityHelper['browserStackExecuteDriver'](_0x1a05f7,scripts[_0x2e144e(0x27a)]);})();}else return logger[_0x5134c1(0x21d)](_0x17c9bb[_0x5134c1(0x293)]),{};},_0x13217d[_0xa14712(0x1f4)](patchSaveScreenshot,_0x1a05f7);})()),CodeceptJS[_0x5aa89f(0x282)][_0x5aa89f(0x22f)]['on'](CodeceptJS[_0x5aa89f(0x282)][_0x5aa89f(0x212)][_0x5aa89f(0x230)],()=>{const _0x1454ae=_0x5aa89f;PerformanceTester['start'](PerformanceEvents['SDK_PRE_TEST']);try{_0xea4ed5['start'](),testOpsHelper[_0x1454ae(0x222)](),PerformanceTester['end'](PerformanceEvents[_0x1454ae(0x1fe)]);}catch(_0x5a1ba2){PerformanceTester[_0x1454ae(0x256)](_0x5a1ba2),PerformanceTester['end'](PerformanceEvents[_0x1454ae(0x1fe)],![],_0x5a1ba2);}}),CodeceptJS[_0x5aa89f(0x282)][_0x5aa89f(0x22f)]['on'](CodeceptJS[_0x5aa89f(0x282)][_0x5aa89f(0x212)]['after'],async()=>{const _0x244b4a=_0x5aa89f;PerformanceTester[_0x244b4a(0x249)](PerformanceEvents['SDK_POST_TEST']);try{requestSpy['restore'](),await _0xea4ed5[_0x244b4a(0x239)](),PerformanceTester['end'](PerformanceEvents[_0x244b4a(0x291)]);}catch(_0xed7492){PerformanceTester['captureError'](_0xed7492),PerformanceTester['end'](PerformanceEvents[_0x244b4a(0x291)],![],_0xed7492);}finally{PerformanceTester[_0x244b4a(0x2ac)]();}}),CodeceptJS[_0x5aa89f(0x282)][_0x5aa89f(0x22f)]['on'](CodeceptJS[_0x5aa89f(0x282)][_0x5aa89f(0x28a)][_0x5aa89f(0x2b7)],_0x1abbb8=>{const _0x5c41ed=_0x5aa89f;PerformanceTester[_0x5c41ed(0x249)](PerformanceEvents[_0x5c41ed(0x274)]);try{const _0x829af9=_0x1abbb8['ctx'][_0x5c41ed(0x276)],_0x534867=_0xea4ed5['captureEvent'](TEST_EVENTS[_0x5c41ed(0x244)],_0x829af9);CodeceptRecorder['add'](()=>_0xea4ed5['fireEvent'](TEST_EVENTS['HOOK_RUN_STARTED'],_0x534867));const _0x5d4d0b={};_0x5d4d0b[_0x5c41ed(0x277)]=_0x13217d['YWnfD'],PerformanceTester[_0x5c41ed(0x294)](PerformanceEvents[_0x5c41ed(0x274)],!![],null,_0x5d4d0b);}catch(_0x33f94e){const _0x39d113={};_0x39d113[_0x5c41ed(0x277)]=_0x13217d['YWnfD'],PerformanceTester[_0x5c41ed(0x294)](PerformanceEvents['SDK_HOOK'],![],_0x33f94e,_0x39d113),PerformanceTester[_0x5c41ed(0x256)](_0x33f94e);}}),CodeceptJS['event']['dispatcher']['on'](CodeceptJS[_0x5aa89f(0x282)][_0x5aa89f(0x28a)]['passed'],_0x34d7fc=>{const _0x56dd02=_0x5aa89f,_0x415a81={};_0x415a81['hookType']=_0x13217d[_0x56dd02(0x254)],PerformanceTester[_0x56dd02(0x249)](PerformanceHookEvents[_0x56dd02(0x274)],!![],null,_0x415a81);try{const _0x5e3f37=_0x34d7fc['ctx'][_0x56dd02(0x276)],_0x43cfe2=_0xea4ed5[_0x56dd02(0x24b)](TEST_EVENTS[_0x56dd02(0x246)],_0x5e3f37);CodeceptRecorder[_0x56dd02(0x24f)](()=>_0xea4ed5['fireEvent'](TEST_EVENTS[_0x56dd02(0x246)],_0x43cfe2));const _0x3557c4={};_0x3557c4[_0x56dd02(0x277)]=_0x13217d[_0x56dd02(0x254)],PerformanceTester['end'](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x3557c4);}catch(_0x14848c){PerformanceTester[_0x56dd02(0x256)](_0x14848c);const _0x2e9517={};_0x2e9517[_0x56dd02(0x277)]=_0x13217d[_0x56dd02(0x254)],PerformanceTester[_0x56dd02(0x294)](PerformanceHookEvents[_0x56dd02(0x274)],![],_0x14848c,_0x2e9517);}}),CodeceptJS[_0x5aa89f(0x282)][_0x5aa89f(0x22f)]['on'](CodeceptJS[_0x5aa89f(0x282)][_0x5aa89f(0x28a)][_0x5aa89f(0x25b)],async(_0x2ba34d,_0x3094f2)=>{const _0x1efee5=_0x5aa89f;PerformanceTester['start'](PerformanceHookEvents['SDK_HOOK']);try{const _0x2e3bfc=_0x2ba34d[_0x1efee5(0x1fc)]['test'],_0x59826a=_0xea4ed5['captureEvent'](TEST_EVENTS[_0x1efee5(0x246)],_0x2e3bfc,_0x3094f2);CodeceptRecorder[_0x1efee5(0x24f)](()=>_0xea4ed5[_0x1efee5(0x215)](TEST_EVENTS[_0x1efee5(0x246)],_0x59826a));const _0x1a7bb5={};_0x1a7bb5[_0x1efee5(0x277)]=_0x13217d[_0x1efee5(0x29a)],PerformanceTester['start'](PerformanceHookEvents[_0x1efee5(0x274)],!![],null,_0x1a7bb5);}catch(_0x3059f9){PerformanceTester[_0x1efee5(0x256)](_0x3059f9);const _0x3366b6={};_0x3366b6[_0x1efee5(0x277)]=_0x13217d[_0x1efee5(0x29a)],PerformanceTester['end'](PerformanceHookEvents[_0x1efee5(0x274)],![],_0x3059f9,_0x3366b6);}const _0x4e1978={};_0x4e1978[_0x1efee5(0x277)]=_0x13217d[_0x1efee5(0x29a)],PerformanceTester[_0x1efee5(0x294)](PerformanceHookEvents[_0x1efee5(0x274)],!![],null,_0x4e1978);}),CodeceptJS[_0x5aa89f(0x282)][_0x5aa89f(0x22f)]['on'](CodeceptJS[_0x5aa89f(0x282)][_0x5aa89f(0x276)][_0x5aa89f(0x230)],_0x4edb95=>{const _0x27e54d=_0x5aa89f;PerformanceTester['start'](PerformanceHookEvents[_0x27e54d(0x274)]);try{globals[_0x27e54d(0x25c)](_0x13217d[_0x27e54d(0x21e)],_0x4edb95[_0x27e54d(0x25e)]);_0x13217d[_0x27e54d(0x292)](isBrowserstackInfra)&&(_0x50531d&&(global['__workerDetails']={'currentTest':{'name':_0x4edb95[_0x27e54d(0x25e)],'testInfo':{'titlePath':_0x4edb95[_0x27e54d(0x20f)]()}}}));const _0x550538={};_0x550538[_0x27e54d(0x277)]=_0x13217d[_0x27e54d(0x23e)],PerformanceTester[_0x27e54d(0x294)](PerformanceHookEvents[_0x27e54d(0x274)],!![],null,_0x550538);}catch(_0x2bc629){PerformanceTester[_0x27e54d(0x256)](_0x2bc629);const _0x3453c7={};_0x3453c7[_0x27e54d(0x277)]=_0x13217d[_0x27e54d(0x23e)],PerformanceTester[_0x27e54d(0x294)](PerformanceHookEvents[_0x27e54d(0x274)],![],_0x2bc629,_0x3453c7);}}),CodeceptJS[_0x5aa89f(0x282)][_0x5aa89f(0x22f)]['on'](CodeceptJS['event'][_0x5aa89f(0x276)]['started'],_0x19c1c6=>{const _0x4c6547=_0x5aa89f,_0x32ee2c={'CxyqR':function(_0x49a60e){return _0x13217d['QRhjm'](_0x49a60e);},'AomiD':function(_0x3423b0,_0x384458){return _0x13217d['VSSnj'](_0x3423b0,_0x384458);},'NqaEX':function(_0x1f233b,_0x25efa6,_0x14055d){return _0x13217d['pcFHx'](_0x1f233b,_0x25efa6,_0x14055d);},'glteh':function(_0x44fb80,_0x57f67e){const _0xaddf5c=a1_0x1504;return _0x13217d[_0xaddf5c(0x27f)](_0x44fb80,_0x57f67e);}};PerformanceTester[_0x4c6547(0x249)](PerformanceHookEvents[_0x4c6547(0x274)]);try{globals['setGlobal'](_0x13217d['TpcOv'],_0x19c1c6['title']);const _0x3c2986=_0xea4ed5['captureEvent'](TEST_EVENTS[_0x4c6547(0x211)],_0x19c1c6);CodeceptRecorder[_0x4c6547(0x24f)](()=>_0xea4ed5['fireEvent'](TEST_EVENTS[_0x4c6547(0x211)],_0x3c2986)),CodeceptRecorder['add'](async()=>{const _0x2451d1=_0x4c6547;_0x32ee2c[_0x2451d1(0x1f5)](isBrowserstackInfra)&&(!_0x32ee2c['AomiD'](isTrue,_0xe2a094[_0x2451d1(0x2ad)])&&await _0x32ee2c[_0x2451d1(0x2bf)](markSessionName,_0x1a05f7,_0x19c1c6[_0x2451d1(0x25e)]),_0xea4ed5[_0x2451d1(0x219)]&&await _0x32ee2c['glteh'](o11ySync,_0x1a05f7));});}catch(_0x3c18db){const _0x5709a1={};_0x5709a1['hookType']=_0x13217d[_0x4c6547(0x23c)],PerformanceTester[_0x4c6547(0x294)](PerformanceHookEvents[_0x4c6547(0x274)],![],_0x3c18db,_0x5709a1),PerformanceTester[_0x4c6547(0x256)](_0x3c18db);}const _0xfbb616={};_0xfbb616[_0x4c6547(0x277)]=_0x13217d[_0x4c6547(0x23c)],PerformanceTester[_0x4c6547(0x294)](PerformanceHookEvents[_0x4c6547(0x274)],!![],null,_0xfbb616);}),CodeceptJS['event']['dispatcher']['on'](CodeceptJS[_0x5aa89f(0x282)][_0x5aa89f(0x276)]['passed'],_0x59b64a=>{const _0x135641=_0x5aa89f,_0x1a08e1={'UAvLL':function(_0x5a4ca7,_0x1afb76,_0x28f61a){return _0x13217d['TEfwE'](_0x5a4ca7,_0x1afb76,_0x28f61a);}};PerformanceTester[_0x135641(0x249)](PerformanceHookEvents[_0x135641(0x274)]);try{const _0x22ed7c=_0xea4ed5['captureEvent'](TEST_EVENTS[_0x135641(0x2a8)],_0x59b64a);CodeceptRecorder[_0x135641(0x24f)](()=>_0xea4ed5[_0x135641(0x215)](TEST_EVENTS[_0x135641(0x2a8)],_0x22ed7c)),CodeceptRecorder[_0x135641(0x24f)](async()=>{const _0x1e740b=_0x135641;_0x13217d['ZBavN'](isBrowserstackInfra)&&await PerformanceTester['measureWrapper'](PerformanceAutEvents[_0x1e740b(0x263)],async()=>{const _0x4a11bd=_0x1e740b;_0x50531d?await _0x1a08e1[_0x4a11bd(0x23b)](playwrightMarkSessionStatus,_0x1a05f7,STATE_PASSED):await _0x1a08e1[_0x4a11bd(0x23b)](markSessionStatus,_0x1a05f7,STATE_PASSED);})();}),PerformanceTester[_0x135641(0x294)](PerformanceEvents['SDK_TEST']);}catch(_0x40ed57){PerformanceTester['captureError'](_0x40ed57);const _0x2ef39f={};_0x2ef39f[_0x135641(0x277)]=_0x13217d['EKQmb'],PerformanceTester[_0x135641(0x294)](PerformanceHookEvents[_0x135641(0x274)],![],_0x40ed57,_0x2ef39f),PerformanceTester[_0x135641(0x294)](PerformanceEvents[_0x135641(0x205)],![],_0x40ed57);}const _0x5daa32={};_0x5daa32[_0x135641(0x277)]=_0x13217d['EKQmb'],PerformanceTester['end'](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x5daa32);}),CodeceptJS[_0x5aa89f(0x282)][_0x5aa89f(0x22f)]['on'](CodeceptJS[_0x5aa89f(0x282)][_0x5aa89f(0x276)][_0x5aa89f(0x25b)],(_0x15488e,_0x1b62af)=>{const _0x6c92da=_0x5aa89f,_0x25e721={'HKChN':function(_0x27ac9e){const _0x3ee090=a1_0x1504;return _0x13217d[_0x3ee090(0x2be)](_0x27ac9e);},'PuliO':function(_0x10c9f6,_0x34aa18,_0xfdc0d5,_0x22f5c9){const _0x6aec63=a1_0x1504;return _0x13217d[_0x6aec63(0x289)](_0x10c9f6,_0x34aa18,_0xfdc0d5,_0x22f5c9);},'ozYYl':function(_0x14164d,_0x25d834,_0x2c2b14,_0x34721c){const _0x531972=a1_0x1504;return _0x13217d[_0x531972(0x2c4)](_0x14164d,_0x25d834,_0x2c2b14,_0x34721c);}};PerformanceTester['start'](PerformanceHookEvents[_0x6c92da(0x274)]);try{if(_0x13217d[_0x6c92da(0x2c1)](_0x15488e['constructor'][_0x6c92da(0x208)],_0x13217d[_0x6c92da(0x283)])){const _0x3a91c8=_0xea4ed5[_0x6c92da(0x24b)](TEST_EVENTS[_0x6c92da(0x26a)],_0x15488e[_0x6c92da(0x1fc)]['currentTest']);CodeceptRecorder[_0x6c92da(0x24f)](()=>_0xea4ed5['fireEvent'](TEST_EVENTS[_0x6c92da(0x26a)],_0x3a91c8));}else{const _0x1eef42=_0xea4ed5[_0x6c92da(0x24b)](TEST_EVENTS[_0x6c92da(0x2a8)],_0x15488e,_0x1b62af);CodeceptRecorder[_0x6c92da(0x24f)](()=>{const _0x3cfdb6=_0x6c92da;try{_0xea4ed5[_0x3cfdb6(0x215)](TEST_EVENTS[_0x3cfdb6(0x2a8)],_0x1eef42);}catch(_0x406d75){logger['debug'](_0x3cfdb6(0x258)+util['format'](_0x406d75)),PerformanceTester[_0x3cfdb6(0x294)](PerformanceEvents[_0x3cfdb6(0x205)],![],_0x406d75);}}),CodeceptRecorder[_0x6c92da(0x24f)](async()=>{const _0x35a7dd=_0x6c92da;try{_0x25e721['HKChN'](isBrowserstackInfra)&&(_0x50531d?await _0x25e721[_0x35a7dd(0x28c)](playwrightMarkSessionStatus,_0x1a05f7,STATE_FAILED,_0x1b62af):await _0x25e721['ozYYl'](markSessionStatus,_0x1a05f7,STATE_FAILED,_0x1b62af));}catch(_0x2f6000){logger[_0x35a7dd(0x25f)](_0x35a7dd(0x23d)+util['format'](_0x2f6000)),PerformanceTester['end'](PerformanceEvents[_0x35a7dd(0x205)],![],_0x2f6000);}});}PerformanceTester['end'](PerformanceEvents[_0x6c92da(0x205)]);}catch(_0x27d00d){PerformanceTester[_0x6c92da(0x256)](_0x27d00d);const _0x4d9bf4={};_0x4d9bf4[_0x6c92da(0x277)]=_0x13217d[_0x6c92da(0x278)],PerformanceTester[_0x6c92da(0x294)](PerformanceHookEvents[_0x6c92da(0x274)],![],_0x27d00d,_0x4d9bf4),PerformanceTester[_0x6c92da(0x294)](PerformanceEvents[_0x6c92da(0x205)],![],_0x27d00d);}const _0x412a96={};_0x412a96[_0x6c92da(0x277)]=_0x13217d[_0x6c92da(0x278)],PerformanceTester['end'](PerformanceHookEvents[_0x6c92da(0x274)],!![],null,_0x412a96);}),CodeceptJS['event'][_0x5aa89f(0x22f)]['on'](CodeceptJS['event'][_0x5aa89f(0x276)]['skipped'],_0x44a376=>{const _0x563814=_0x5aa89f;PerformanceTester[_0x563814(0x249)](PerformanceHookEvents['SDK_HOOK']);try{const _0x566eb8=_0xea4ed5[_0x563814(0x24b)](TEST_EVENTS[_0x563814(0x26a)],_0x44a376);CodeceptRecorder['add'](()=>_0xea4ed5[_0x563814(0x215)](TEST_EVENTS[_0x563814(0x26a)],_0x566eb8)),PerformanceTester[_0x563814(0x294)](PerformanceEvents['SDK_TEST']);}catch(_0x25ebed){PerformanceTester[_0x563814(0x256)](_0x25ebed),PerformanceTester[_0x563814(0x294)](PerformanceEvents[_0x563814(0x205)],![],_0x25ebed);const _0xb92886={};_0xb92886[_0x563814(0x277)]=_0x13217d[_0x563814(0x2aa)],PerformanceTester[_0x563814(0x294)](PerformanceHookEvents[_0x563814(0x274)],![],_0x25ebed,_0xb92886);}const _0x35f6f3={};_0x35f6f3[_0x563814(0x277)]=_0x13217d[_0x563814(0x2aa)],PerformanceTester[_0x563814(0x294)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x35f6f3);}),CodeceptJS[_0x5aa89f(0x282)]['dispatcher']['on'](CodeceptJS[_0x5aa89f(0x282)][_0x5aa89f(0x276)][_0x5aa89f(0x2b0)],async(_0x40aa81,_0x4ffc73)=>{const _0x35a71e=_0x5aa89f,_0x2f4467={};_0x2f4467[_0x35a71e(0x2b1)]=_0x13217d[_0x35a71e(0x251)];const _0x579081=_0x2f4467;try{PerformanceTester[_0x35a71e(0x249)](PerformanceHookEvents[_0x35a71e(0x274)]);if(_0x13217d[_0x35a71e(0x2a9)](isBrowserstackInfra)){const _0x5e86e1=_0x13217d[_0x35a71e(0x265)](shouldScanTestForAccessibility,_0x40aa81[_0x35a71e(0x20f)](),!![]);if(_0x13217d[_0x35a71e(0x2a5)](isAccessibilityAutomationSession)&&global[_0x35a71e(0x2ba)]&&_0x5e86e1){const _0xc8faa1={};_0xc8faa1[_0x35a71e(0x2a3)]=_0x40aa81[_0x35a71e(0x27d)],_0xc8faa1[_0x35a71e(0x29b)]=process[_0x35a71e(0x285)][testHubConstants['ENV_VAR'][_0x35a71e(0x26d)]],_0xc8faa1[_0x35a71e(0x231)]=process[_0x35a71e(0x285)][testHubConstants[_0x35a71e(0x227)][_0x35a71e(0x20d)]];const _0x548c86=_0xc8faa1;logger[_0x35a71e(0x25f)](_0x35a71e(0x264)+JSON[_0x35a71e(0x269)](_0x548c86)),CodeceptRecorder[_0x35a71e(0x24f)](async()=>{const _0x4f696d=_0x35a71e,_0xcf545b={};_0xcf545b[_0x4f696d(0x2a1)]=_0x579081[_0x4f696d(0x2b1)],await PerformanceTester[_0x4f696d(0x232)](PerformanceA11yEvents[_0x4f696d(0x2bc)],async()=>{const _0x300d4c=_0x4f696d;await AccessibilityHelper[_0x300d4c(0x200)](_0x1a05f7,scripts['performScan']);},_0xcf545b)(),await PerformanceTester[_0x4f696d(0x232)](PerformanceA11yEvents[_0x4f696d(0x2b5)],async()=>{const _0x5f3fa9=_0x4f696d;await AccessibilityHelper[_0x5f3fa9(0x200)](_0x1a05f7,scripts[_0x5f3fa9(0x280)],_0x548c86);})();}),logger[_0x35a71e(0x2bd)](_0x13217d[_0x35a71e(0x2c3)]);}}const _0x1e05ff={};_0x1e05ff[_0x35a71e(0x277)]=_0x13217d[_0x35a71e(0x240)],PerformanceTester[_0x35a71e(0x294)](PerformanceHookEvents[_0x35a71e(0x274)],!![],null,_0x1e05ff);}catch(_0x3c01f0){PerformanceTester[_0x35a71e(0x256)](_0x3c01f0);const _0x208109={};_0x208109['hookType']=_0x13217d['aNEcz'],PerformanceTester[_0x35a71e(0x294)](PerformanceHookEvents['SDK_HOOK'],![],_0x3c01f0,_0x208109);}}),CodeceptJS['event']['dispatcher']['on'](CodeceptJS[_0x5aa89f(0x282)][_0x5aa89f(0x260)][_0x5aa89f(0x2b3)],_0x390cbb=>{const _0x17213a=_0x5aa89f;PerformanceTester[_0x17213a(0x249)](PerformanceHookEvents[_0x17213a(0x274)]);try{process[_0x17213a(0x2c2)]('bs:addLog:'+process[_0x17213a(0x204)],{'timestamp':new Date()[_0x17213a(0x201)](),'level':_0x13217d['qEdFf'],'message':_0x390cbb,'kind':_0x13217d['hhavm'],'http_response':{}});}catch(_0x188081){PerformanceTester[_0x17213a(0x256)](_0x188081);const _0x43b7b4={};_0x43b7b4[_0x17213a(0x277)]=_0x13217d[_0x17213a(0x1f8)],PerformanceTester['end'](PerformanceHookEvents[_0x17213a(0x274)],![],_0x188081,_0x43b7b4);}const _0x90df3e={};_0x90df3e[_0x17213a(0x277)]=_0x13217d['BlAXL'],PerformanceTester[_0x17213a(0x294)](PerformanceHookEvents[_0x17213a(0x274)],!![],null,_0x90df3e);}),CodeceptJS[_0x5aa89f(0x282)]['dispatcher']['on'](CodeceptJS[_0x5aa89f(0x282)][_0x5aa89f(0x207)][_0x5aa89f(0x230)],_0x55073c=>{const _0xd820ed=_0x5aa89f,_0x4e28b7={};_0x4e28b7[_0xd820ed(0x277)]=_0x13217d[_0xd820ed(0x234)],PerformanceTester[_0xd820ed(0x232)](PerformanceHookEvents[_0xd820ed(0x274)],()=>{const _0x170c12=_0xd820ed;_0xea4ed5[_0x170c12(0x21a)](_0x55073c);},_0x4e28b7)();}),CodeceptJS['event']['dispatcher']['on'](CodeceptJS[_0x5aa89f(0x282)][_0x5aa89f(0x207)]['after'],_0x3ddb31=>{const _0x1f157f=_0x5aa89f,_0x3a6933={};_0x3a6933['hookType']=_0x13217d[_0x1f157f(0x2a7)],PerformanceTester[_0x1f157f(0x232)](PerformanceHookEvents[_0x1f157f(0x274)],()=>{const _0x59b274=_0x1f157f;_0xea4ed5[_0x59b274(0x27e)](_0x3ddb31);},_0x3a6933)();});};function a1_0x2a06(){const _0x19e8bd=['QrmFM','IrmPo','NNcaV','commandsToWrap','SDK_POST_TEST','lkeSd','pxwPn','end','../../helpers/globals.js','getResultsSummary','codeceptjs/lib/recorder.js','BS_TESTOPS_ALLOW_SCREENSHOTS','ZmxUm','bUKIF','thBuildUuid','call','./o11yHelper','initSaveScreenshot','JUhkd','codeceptjs/lib/helper/Playwright.js','command','ajZAF','thTestRunUuid','setSessionStatus','QRhjm','YUTHe','OhiMJ','TEST_RUN_FINISHED','kiIBa','pnaYR','xEQXQ','stopMonitoring','skipSessionName','../../helpers/accessibility-automation/helper','271840iCHfGh','after','kTegC','then','comment','zJuGz','SAVE_RESULTS','TEST_LOG','started','TEST_SCREENSHOT','TIyRH','accessibilityPlatform','apoXV','PERFORM_SCAN','info','hHcxB','NqaEX','slice','BxOXd','emit','wACwO','HybMT','readFileSync','LkHPF','CxyqR','browserstack_executor:\x20','../../helpers/logger','BlAXL','../../helpers/request-spy','viGzB','_before','ctx','Failed\x20to\x20execute\x20_before:\x20','SDK_PRE_TEST','format','browserStackExecuteDriver','toISOString','__skipSessionStatus','../../helpers/test-observability/utils','pid','SDK_TEST','step-comment','bddStep','name','SDK_PRE_INITIALIZE','action','test-skipped','Playwright','BROWSERSTACK_TESTHUB_JWT','../../helpers/performance/performance-tester','titlePath','constructor','TEST_RUN_STARTED','all','../../helpers/helper','3036381TiyezW','fireEvent','2597844iOBqnj','catch','bddStep-before','enabled','bddStepStart','../../bin/playwright/sessionDetails','Puppeteer','warn','TpcOv','base64','executeScript','bstackAllyScanning','addRequestSpy','SrZIM','codeceptjs/lib/helper/WebDriver.js','hook-failed','../../helpers/accessibility-automation/scripts','ENV_VAR','skipSessionStatus','exports','705031YnzuRP','4970728rkzjsD','GET_RESULTS','patchSaveScreenshot','10ffmOBl','dispatcher','before','thJwtToken','measureWrapper','getAccessibilityResults','CbPwD','jInCU','Suite','test-passed','WebDriver','stop','browser','UAvLL','wuJxe','Failed\x20in\x20marking\x20session\x20status\x20of\x20test:\x20','VgUEA','GTElj','aNEcz','codeceptjs','toString','bind','HOOK_RUN_STARTED','test-started','HOOK_RUN_FINISHED','contexts','performScan','start','pXfFi','captureEvent','SDK_POST_INITIALIZE','./helper.js','container','add','class','NGuzD','overwriteCommand','KcHGm','asvMt','hook-passed','captureError','helpers','Failed\x20in\x20sending\x20TestRunFinish\x20event:\x20','__driver','startMonitoring','failed','setGlobal','prototype','title','debug','step','3868204CtBjaD','GET_RESULTS_SUMMARY','SESSION_STATUS','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','inDKG','test-before','oNlQY','screenshotOutputFolder','stringify','TEST_RUN_SKIPPED','INFO','ZaajG','BROWSERSTACK_TESTHUB_UUID','afterTest','AqLPe','apply','TestCafe','shouldWrapCommand','getAccessibilityResultsSummary','SDK_HOOK','Screenshot\x20path\x20not\x20found','test','hookType','CMOVN','forEach','getResults','../../helpers/testhub/constants.js','vchMF','testAnalyticsId','bddStepFinish','sLnId','saveTestResults','find','event','xHyne','ZhCKD','env','filter','939292cBjFCJ','arguments','mJGhR','hook','getSyncScript','PuliO'];a1_0x2a06=function(){return _0x19e8bd;};return a1_0x2a06();}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';function a2_0x1f1b(){const _0x44f28d=['Getting\x20your\x20codeceptjs\x20configs\x20from\x20','CODECEPT','ASTyL','enabled','useW3C','forEach','title','now','browserName','../../helpers/testhub/testhubHandler','Playwright','winstonLogger','log','getPlatformName','../../helpers/utilities','join','KqecS','4qFsPHe','QPPVi','UVSBN','accessibilityOptions','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','helpers','../utils/constants','cwd','setAdditionalCapabilities','BwUJc','run','skipSessionName','aKQbo','trim','dirname','stringify','../../helpers/performance/constants','188070xTvBMg','findIndex','process','load','testContextOptions','desiredCapabilities','frameworkName','skipSessionStatus','sxPdH','MZWeY','testObservability','BrowserStackPlugin.js','IiiEf','parallelsPerPlatform','format','prepareCapabilities','slice','XvHTV','--config','root','printResults','platforms','../../bin/playwright/accessibility-helper','4|2|1|5|3|0','config','env','playwright-webkit','vJAwK','existsSync','map','FNFVS','../../helpers/helper','plugins','BrowserStackPlugin','EVENTS','length','../../helpers/performance/performance-tester','failed','playwright-firefox','initialize','SbIFn','before','getUserWorkerCount','160qjzHJo','launchBuild','browserStackCwd','browserWSEndpoint','Passed\x20:\x20','BROWSERSTACK_RERUN_TESTS','passed','4587156eNWbmL','17595fTwshk','path','end','result','Started\x20:\x20','createGroupsOfSuites','../../helpers/test-observability/constants','15MFTYHG','toLowerCase','../../helpers/BrowserStackSetup','OYQaY','stop','spawn','../../helpers/accessibility-automation/helper','debug','bBWrb','handleApp','isTestObservabilitySession','hesbO','push','codeceptjs','test','split','isTrue','CODECEPT_CUCUMBER','BROWSERSTACK_TEST_ACCESSIBILITY_YML','oqPxW','addConfig','require','validateRerunTestList','544468DAfRjv','event','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','stack','chromium','bootstrapAll','FRAMEWORKS','exports','SDK_SETUP','BROWSERSTACK_RERUN','codecept.conf.js','teardownAll','WebDriver','785844QYoYAk','3456550dahqWM','accessibility','LBnCz','2361075EnTMCY','codecept.json','USER_CONFIG_DETAILS_PATH','browser','tqeSP','mergeDeep','isUndefined','chdir','addTests','ZulOW','err','SDK_CLEANUP','errorMessage','util','../../helpers/test-observability/utils','VWotJ','profile','lwlNX','TfIYS','AhcJW','KAnDb','gherkin'];a2_0x1f1b=function(){return _0x44f28d;};return a2_0x1f1b();}const a2_0x222e02=a2_0x50f9;function a2_0x50f9(_0xbf13c7,_0x828137){const _0x1f1b60=a2_0x1f1b();return a2_0x50f9=function(_0x50f9e4,_0x55a65a){_0x50f9e4=_0x50f9e4-0x89;let _0x46b69d=_0x1f1b60[_0x50f9e4];return _0x46b69d;},a2_0x50f9(_0xbf13c7,_0x828137);}(function(_0x3f3ea6,_0x5e4aed){const _0x2d49e5=a2_0x50f9,_0x4bef25=_0x3f3ea6();while(!![]){try{const _0x8fad4b=parseInt(_0x2d49e5(0xe3))/0x1+-parseInt(_0x2d49e5(0xf0))/0x2+parseInt(_0x2d49e5(0xf4))/0x3*(parseInt(_0x2d49e5(0x11b))/0x4)+parseInt(_0x2d49e5(0xcc))/0x5*(-parseInt(_0x2d49e5(0x92))/0x6)+-parseInt(_0x2d49e5(0xc4))/0x7+parseInt(_0x2d49e5(0xbd))/0x8*(parseInt(_0x2d49e5(0xc5))/0x9)+parseInt(_0x2d49e5(0xf1))/0xa;if(_0x8fad4b===_0x5e4aed)break;else _0x4bef25['push'](_0x4bef25['shift']());}catch(_0x58e3f6){_0x4bef25['push'](_0x4bef25['shift']());}}}(a2_0x1f1b,0x8c21f));const fs=require('fs'),path=require(a2_0x222e02(0xc6)),util=require(a2_0x222e02(0x101)),process=require(a2_0x222e02(0x94)),logger=require('../../helpers/logger')[a2_0x222e02(0x115)],{default:BrowserStackSetup}=require(a2_0x222e02(0xce)),helper=require(a2_0x222e02(0xb1)),utilities=require(a2_0x222e02(0x118)),{checkAccessibilityPlatformConfig}=require(a2_0x222e02(0xd2)),{setAccessibilityCapabilities}=require(a2_0x222e02(0xa8)),{requireModule,nestedKeyValue,isBrowserstackInfra}=require(a2_0x222e02(0xb1)),CodeceptJS=requireModule('codeceptjs/lib/index.js',a2_0x222e02(0xd9)),testOpsHelper=require(a2_0x222e02(0x102)),TestHubHandler=require(a2_0x222e02(0x113)),constants=require(a2_0x222e02(0x121)),PerformanceTester=require(a2_0x222e02(0xb6)),{FRAMEWORKS}=require(a2_0x222e02(0xcb)),PerformanceEvents=require(a2_0x222e02(0x91))[a2_0x222e02(0xb4)],_testErrorData=[],getUserCodeceptJSConfigs=(_0x2468d6,_0x10edbf)=>{const _0x1ef5fa=a2_0x222e02,_0x3c03fc={};_0x3c03fc['hesbO']=function(_0x52b5fa,_0x2703c5){return _0x52b5fa===_0x2703c5;},_0x3c03fc[_0x1ef5fa(0xba)]=_0x1ef5fa(0xed),_0x3c03fc[_0x1ef5fa(0x10c)]=_0x1ef5fa(0xf5);const _0x5b5e6d=_0x3c03fc;let _0x580be6=null;const _0x3ac6e4={};let _0x27e560=_0x10edbf[_0x1ef5fa(0x93)](_0x55c569=>_0x55c569===_0x1ef5fa(0xa4));_0x5b5e6d[_0x1ef5fa(0xd7)](_0x27e560,-0x1)&&(_0x27e560=_0x10edbf['findIndex'](_0x4be517=>_0x4be517==='-c'));if(!helper[_0x1ef5fa(0xfa)](_0x2468d6[_0x1ef5fa(0xaa)])&&fs['existsSync'](path['join'](process[_0x1ef5fa(0x122)](),_0x2468d6['config'])))_0x580be6=path['join'](process[_0x1ef5fa(0x122)](),_0x2468d6[_0x1ef5fa(0xaa)]),_0x10edbf['slice'](_0x27e560,0x2);else{if(!helper[_0x1ef5fa(0xfa)](_0x2468d6['c'])&&fs[_0x1ef5fa(0xae)](path[_0x1ef5fa(0x119)](process[_0x1ef5fa(0x122)](),_0x2468d6['c'])))_0x580be6=path['join'](process[_0x1ef5fa(0x122)](),_0x2468d6['c']),_0x10edbf[_0x1ef5fa(0xa2)](_0x27e560,0x2);else{if(fs[_0x1ef5fa(0xae)](path[_0x1ef5fa(0x119)](process['cwd'](),_0x5b5e6d['SbIFn'])))_0x580be6=path[_0x1ef5fa(0x119)](process[_0x1ef5fa(0x122)](),_0x5b5e6d['SbIFn']);else fs[_0x1ef5fa(0xae)](path['join'](process[_0x1ef5fa(0x122)](),_0x5b5e6d['ASTyL']))&&(_0x580be6=path[_0x1ef5fa(0x119)](process['cwd'](),_0x5b5e6d[_0x1ef5fa(0x10c)]));}}return process['env'][_0x1ef5fa(0xf6)]=_0x580be6,_0x580be6;},getO11yRerunPattern=()=>{const _0x58aa9c=a2_0x222e02,_0x2da62f=helper[_0x58aa9c(0xdc)](process[_0x58aa9c(0xab)][_0x58aa9c(0xec)]);if(_0x2da62f){const _0x260d0e=process[_0x58aa9c(0xab)][_0x58aa9c(0xc2)],_0x373864=[];if(helper[_0x58aa9c(0xe2)](_0x260d0e)&&!helper[_0x58aa9c(0xfa)](_0x260d0e)){_0x260d0e[_0x58aa9c(0xdb)](',')['map'](_0x3477bb=>{const _0x759512=_0x58aa9c;_0x373864[_0x759512(0xd8)]('('+_0x3477bb[_0x759512(0x8e)]()+')');});const _0x390132='^'+_0x373864['join']('|')+'$';return _0x390132;}}return null;},a2_0x5a8f26={};a2_0x5a8f26['chrome']=a2_0x222e02(0xe7),a2_0x5a8f26['playwright-chromium']='chromium',a2_0x5a8f26[a2_0x222e02(0xb8)]='firefox',a2_0x5a8f26[a2_0x222e02(0xac)]='webkit';const pwToCodeceptBrowser=a2_0x5a8f26;async function run(_0xa8c8e6,_0x5df688){const _0x30ed5d=a2_0x222e02,_0x19f618={'BwUJc':function(_0x194d70,_0x3fcbd6){return _0x194d70+_0x3fcbd6;},'KqecS':function(_0x35dcc0,_0x4144c1){return _0x35dcc0(_0x4144c1);},'bBWrb':function(_0x3c43be,_0x52fde7,_0x260473){return _0x3c43be(_0x52fde7,_0x260473);},'IiiEf':_0x30ed5d(0x120),'aKQbo':function(_0x2d362f){return _0x2d362f();},'lwlNX':'Failed\x20:\x20','ZulOW':_0x30ed5d(0xc1),'oqPxW':_0x30ed5d(0xc9),'VWotJ':_0x30ed5d(0xa9),'IeFHx':_0x30ed5d(0xd9),'vJAwK':function(_0x34ca8e,_0x5bf913,_0x4e7378){return _0x34ca8e(_0x5bf913,_0x4e7378);},'XvHTV':'Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','MZWeY':'Playwright','TfIYS':_0x30ed5d(0xef),'QPPVi':function(_0x1dc7e1,_0x325834){return _0x1dc7e1(_0x325834);},'VuHVU':function(_0x22bec8,_0x3ec1bc){return _0x22bec8!=_0x3ec1bc;},'FNFVS':function(_0x56363b,_0x5c24ac){return _0x56363b===_0x5c24ac;},'UVSBN':_0x30ed5d(0x109),'pLjiE':function(_0x3537ba){return _0x3537ba();},'OYQaY':function(_0x3f0e76,_0x35a3bb){return _0x3f0e76*_0x35a3bb;},'AhcJW':_0x30ed5d(0xf7),'KAnDb':_0x30ed5d(0x97),'tqeSP':_0x30ed5d(0xa5),'sxPdH':_0x30ed5d(0x9d),'ZEdBN':_0x30ed5d(0xbf),'LBnCz':function(_0x2e32f8){return _0x2e32f8();}},_0x4b3231=new BrowserStackSetup(_0xa8c8e6,_0x19f618['IeFHx']);await _0x4b3231[_0x30ed5d(0xb9)](),await helper[_0x30ed5d(0xd5)](_0x4b3231[_0x30ed5d(0xaa)]);if(!_0x4b3231[_0x30ed5d(0xaa)])return;process[_0x30ed5d(0x104)]=_0xa8c8e6[_0x30ed5d(0x104)];_0xa8c8e6[_0x30ed5d(0x104)]&&(process[_0x30ed5d(0xab)][_0x30ed5d(0x104)]=_0xa8c8e6[_0x30ed5d(0x104)]);const _0x13dbb3=_0x19f618[_0x30ed5d(0xad)](getUserCodeceptJSConfigs,_0xa8c8e6,_0x5df688);let _0x3b9a82={};_0x13dbb3?(logger['info'](_0x30ed5d(0x10a)+_0x13dbb3),_0x3b9a82=CodeceptJS[_0x30ed5d(0xaa)][_0x30ed5d(0x95)](_0x13dbb3)):logger['info'](_0x19f618[_0x30ed5d(0xa3)]);let _0x1b33b2=![];_0x19f618[_0x30ed5d(0xad)](nestedKeyValue,_0x3b9a82,[_0x19f618[_0x30ed5d(0x9e)],_0x19f618[_0x30ed5d(0x9b)]])&&(_0x1b33b2=!![]);const _0x1075a1=_0x1b33b2?_0x19f618[_0x30ed5d(0x9b)]:_0x19f618[_0x30ed5d(0x106)];let _0x415428=!_0x1b33b2?helper[_0x30ed5d(0x10e)](_0x4b3231[_0x30ed5d(0xaa)]):![];!helper['isUndefined'](_0x4b3231[_0x30ed5d(0xaa)][_0x30ed5d(0x11e)])&&(process[_0x30ed5d(0xab)][_0x30ed5d(0xe5)]=JSON[_0x30ed5d(0x90)](_0x4b3231[_0x30ed5d(0xaa)]['accessibilityOptions']));let _0x44c123=_0x4b3231[_0x30ed5d(0xaa)][_0x30ed5d(0xf2)];_0x44c123=_0x44c123||_0x19f618[_0x30ed5d(0x11c)](checkAccessibilityPlatformConfig,_0x4b3231['config']),process[_0x30ed5d(0xab)][_0x30ed5d(0xde)]=_0x44c123;_0x44c123&&(_0x415428=!_0x44c123);_0x19f618['VuHVU'](_0x4b3231[_0x30ed5d(0xaa)][_0x30ed5d(0x9c)],null)?process[_0x30ed5d(0xab)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x4b3231['config'][_0x30ed5d(0x9c)]:process[_0x30ed5d(0xab)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x19f618[_0x30ed5d(0xb0)](_0x1075a1,_0x19f618['MZWeY']);const _0x44b893=_0x19f618[_0x30ed5d(0xd4)](nestedKeyValue,_0x3b9a82,[_0x19f618[_0x30ed5d(0x11d)]]),_0x42f852=_0x44b893&&!helper['isEmpty'](_0x44b893)?FRAMEWORKS[_0x30ed5d(0xdd)]:FRAMEWORKS['CODECEPT'],_0x2c055d=await TestHubHandler[_0x30ed5d(0xbe)](_0x42f852,_0x4b3231);_0x44c123&&_0x19f618[_0x30ed5d(0x11c)](setAccessibilityCapabilities,_0x4b3231['config']);const _0x367a3c={},_0x38e1f0=[],_0x5cb452=_0x4b3231[_0x30ed5d(0xaa)][_0x30ed5d(0x9f)]||helper[_0x30ed5d(0xbc)](_0xa8c8e6,_0x5df688,_0x4b3231['config'],constants[_0x30ed5d(0xe9)][_0x30ed5d(0x10b)])||0x1;let _0x3861e3=0x1;if(_0x19f618['pLjiE'](isBrowserstackInfra)){const _0x1fbecd=helper[_0x30ed5d(0xa1)](_0x4b3231[_0x30ed5d(0xaa)],_0x415428,constants[_0x30ed5d(0xe9)][_0x30ed5d(0x10b)]);_0x1fbecd[_0x30ed5d(0x10f)](_0x3c6e01=>{const _0x5a7b1a=_0x30ed5d;helper[_0x5a7b1a(0x89)](_0x3c6e01);}),helper['validPlatformsPresent'](_0x4b3231[_0x30ed5d(0xaa)])?_0x3861e3=_0x19f618[_0x30ed5d(0xcf)](_0x5cb452,_0x4b3231[_0x30ed5d(0xaa)][_0x30ed5d(0xa7)][_0x30ed5d(0xb5)]):_0x3861e3=_0x5cb452,_0x1fbecd[_0x30ed5d(0x10f)](_0x4e3adf=>{const _0x48bc52=_0x30ed5d,_0x1d53e8=_0x19f618[_0x48bc52(0x8a)](helper[_0x48bc52(0x117)](_0x4e3adf,'_'),'_'+Date[_0x48bc52(0x111)]()),_0x45a5f9=((()=>{const _0x5b71f8=_0x48bc52;if(_0x1b33b2){const _0x1f1c51=pwToCodeceptBrowser[_0x4e3adf['browserName']]||_0x4e3adf[_0x5b71f8(0x112)];return{'browser':_0x1f1c51,[_0x1f1c51]:{'browserWSEndpoint':_0x19f618[_0x5b71f8(0x8a)](helper['getPlaywrightUrl'](_0x4b3231[_0x5b71f8(0xaa)]),_0x19f618[_0x5b71f8(0x11a)](encodeURIComponent,JSON[_0x5b71f8(0x90)](_0x4e3adf)))}};}const _0x2e7709={};return _0x2e7709[_0x5b71f8(0x97)]=_0x4e3adf,_0x2e7709;})()),_0x45fc3e=_0x19f618[_0x48bc52(0xd4)](nestedKeyValue,_0x3b9a82,[_0x19f618[_0x48bc52(0x9e)],_0x1075a1]);_0x367a3c[_0x1d53e8]=_0x45fc3e?helper[_0x48bc52(0xf9)](_0x45a5f9,_0x45fc3e):_0x45a5f9,!_0x1b33b2&&(_0x367a3c[_0x1d53e8][_0x48bc52(0xf7)]=_0x4e3adf['browserName']||_0x45a5f9[_0x48bc52(0xf7)]),_0x38e1f0[_0x48bc52(0xd8)](_0x1d53e8);});}else{_0x3861e3=0x1;if(_0x1b33b2){const _0x1dcb5d=_0x19f618[_0x30ed5d(0xad)](nestedKeyValue,_0x3b9a82,[_0x19f618[_0x30ed5d(0x9e)],_0x1075a1,_0x19f618[_0x30ed5d(0x107)]]),_0x31b53d=_0x19f618[_0x30ed5d(0xad)](nestedKeyValue,_0x3b9a82,[_0x19f618[_0x30ed5d(0x9e)],_0x1075a1,_0x1dcb5d]);_0x31b53d&&_0x31b53d['browserWSEndpoint']&&(_0x31b53d['browserWSEndpoint']=helper[_0x30ed5d(0xa1)](null,null,_0x42f852[_0x30ed5d(0xcd)](),null,null,_0x31b53d[_0x30ed5d(0xc0)]));}else _0x3b9a82[_0x19f618['IiiEf']][_0x1075a1][_0x19f618[_0x30ed5d(0x108)]]=helper[_0x30ed5d(0xa1)](null,null,_0x42f852[_0x30ed5d(0xcd)](),_0x19f618[_0x30ed5d(0xad)](nestedKeyValue,_0x3b9a82,[_0x19f618[_0x30ed5d(0x9e)],_0x1075a1,_0x19f618[_0x30ed5d(0x108)]]),null,null);_0x367a3c[_0x19f618[_0x30ed5d(0xf8)]]=_0x3b9a82,_0x38e1f0[_0x30ed5d(0xd8)](_0x19f618[_0x30ed5d(0xf8)]);}const _0x1ef88d={};_0x1ef88d['testConfig']=_0x13dbb3;const _0x3340ff=_0x1ef88d,_0x9d666c=path[_0x30ed5d(0x119)](__dirname,_0x19f618[_0x30ed5d(0x9a)]),_0x2fee0b=process[_0x30ed5d(0x122)]();process[_0x30ed5d(0xab)][_0x19f618['ZEdBN']]=_0x2fee0b,process['chdir'](path[_0x30ed5d(0x8f)](_0x13dbb3));const _0x5f38a0=new CodeceptJS['Workers'](null,_0x3340ff),_0x394fd7=_0x5f38a0[_0x30ed5d(0xca)](_0x3861e3),_0x250ee5=testOpsHelper[_0x30ed5d(0xd6)](),_0x43473c=_0x38e1f0[_0x30ed5d(0xaf)](_0x15de28=>{const _0x213f24=_0x30ed5d,_0x1c398c={};_0x1c398c[_0x213f24(0x114)]=_0x367a3c[_0x15de28];const _0x385c58={};_0x385c58['WebDriver']=_0x367a3c[_0x15de28];const _0x23fedb=_0x1b33b2?_0x1c398c:_0x385c58,_0x2bde35=_0x19f618[_0x213f24(0x8d)](getO11yRerunPattern),_0x240ef1={};_0x240ef1['helpers']=_0x23fedb;const _0x383921={};_0x383921[_0x213f24(0xe1)]=_0x9d666c,_0x383921[_0x213f24(0x10d)]=!![],_0x383921[_0x213f24(0x8c)]=_0x4b3231[_0x213f24(0xaa)][_0x213f24(0x96)][_0x213f24(0x8c)],_0x383921[_0x213f24(0x99)]=_0x4b3231[_0x213f24(0xaa)]['testContextOptions'][_0x213f24(0x99)],_0x383921[_0x213f24(0x9c)]=_0x250ee5,_0x383921[_0x213f24(0x98)]=_0x42f852;const _0x46ae67={};_0x46ae67[_0x213f24(0xb3)]=_0x383921;const _0x6f18fc={};return _0x6f18fc[_0x213f24(0xb2)]=_0x46ae67,helper['mergeDeep']({},_0x3b9a82,_0x19f618[_0x213f24(0x8d)](isBrowserstackInfra)?_0x240ef1:{},_0x2bde35?{'grep':_0x2bde35}:{},_0x6f18fc);});for(const _0x40b414 of _0x43473c){for(const _0x492546 of _0x394fd7){const _0x3ed3d6=_0x5f38a0[_0x30ed5d(0xd1)]();_0x3ed3d6[_0x30ed5d(0xfc)](_0x492546),_0x3ed3d6[_0x30ed5d(0xe0)](_0x40b414);const _0x234652={};_0x234652[_0x30ed5d(0xaa)]=_0x13dbb3,_0x3ed3d6['addOptions'](_0x234652);}}_0x5f38a0['on'](CodeceptJS[_0x30ed5d(0xe4)][_0x30ed5d(0xda)][_0x30ed5d(0xb7)],(_0x2cca47,_0xf0def1)=>{const _0xd16910=_0x30ed5d;console['log'](_0x19f618[_0xd16910(0x105)],_0x2cca47[_0xd16910(0x110)]);const _0x542497={[_0x2cca47[_0xd16910(0x110)]]:_0x2cca47[_0xd16910(0xfe)][_0xd16910(0xe6)]};_testErrorData[_0xd16910(0xd8)](_0x542497);}),_0x5f38a0['on'](CodeceptJS['event'][_0x30ed5d(0xda)][_0x30ed5d(0xc3)],async _0x43e4f0=>{const _0x191cca=_0x30ed5d;console[_0x191cca(0x116)](_0x19f618[_0x191cca(0xfd)],_0x43e4f0[_0x191cca(0x110)]);}),_0x5f38a0['on'](CodeceptJS['event'][_0x30ed5d(0xda)][_0x30ed5d(0xbb)],async _0x599996=>{const _0x24024e=_0x30ed5d;console[_0x24024e(0x116)](_0x19f618[_0x24024e(0xdf)],_0x599996[_0x24024e(0x110)]);}),_0x5f38a0['on'](CodeceptJS[_0x30ed5d(0xe4)]['all'][_0x30ed5d(0xc8)],async()=>{const _0x3e8ade=_0x30ed5d,_0x512761=_0x19f618[_0x3e8ade(0x103)][_0x3e8ade(0xdb)]('|');let _0x5e1293=0x0;while(!![]){switch(_0x512761[_0x5e1293++]){case'0':_0x5f38a0[_0x3e8ade(0xa6)]();continue;case'1':testOpsHelper['printBuildLink']();continue;case'2':_0x4b3231[_0x3e8ade(0x100)]=_testErrorData;continue;case'3':try{await TestHubHandler[_0x3e8ade(0xd0)]();}catch(_0x4c58c0){logger[_0x3e8ade(0xd3)](_0x3e8ade(0x11f)+util[_0x3e8ade(0xa0)](_0x4c58c0));}continue;case'4':PerformanceTester['start'](PerformanceEvents[_0x3e8ade(0xff)]);continue;case'5':utilities['finalExecution'](_0x4b3231);continue;}break;}});async function _0x3ebfee(){const _0x2f44d6=_0x30ed5d;try{await _0x5f38a0[_0x2f44d6(0xe8)](),await _0x5f38a0[_0x2f44d6(0x8b)]();}finally{process[_0x2f44d6(0xfb)](_0x2fee0b),await _0x5f38a0[_0x2f44d6(0xee)]();}}PerformanceTester[_0x30ed5d(0xc7)](PerformanceEvents[_0x30ed5d(0xeb)]),_0x19f618[_0x30ed5d(0xf3)](_0x3ebfee);}module[a2_0x222e02(0xea)]=run;
|
|
2
|
+
'use strict';const a2_0x227859=a2_0x14ec;(function(_0x51eaf0,_0x4d8ac2){const _0x335954=a2_0x14ec,_0xcb2767=_0x51eaf0();while(!![]){try{const _0x1c6faa=-parseInt(_0x335954(0x1ae))/0x1*(-parseInt(_0x335954(0x182))/0x2)+parseInt(_0x335954(0x172))/0x3+-parseInt(_0x335954(0x175))/0x4+-parseInt(_0x335954(0x1e5))/0x5+-parseInt(_0x335954(0x177))/0x6+-parseInt(_0x335954(0x1c5))/0x7*(parseInt(_0x335954(0x1e7))/0x8)+parseInt(_0x335954(0x1be))/0x9;if(_0x1c6faa===_0x4d8ac2)break;else _0xcb2767['push'](_0xcb2767['shift']());}catch(_0x3f6422){_0xcb2767['push'](_0xcb2767['shift']());}}}(a2_0x49b6,0xa2895));function a2_0x14ec(_0x47c459,_0x3a2735){const _0x49b6fd=a2_0x49b6();return a2_0x14ec=function(_0x14ec30,_0x12dfb7){_0x14ec30=_0x14ec30-0x159;let _0x3b929c=_0x49b6fd[_0x14ec30];return _0x3b929c;},a2_0x14ec(_0x47c459,_0x3a2735);}const fs=require('fs'),path=require(a2_0x227859(0x19b)),util=require('util'),process=require(a2_0x227859(0x1ba)),logger=require(a2_0x227859(0x189))[a2_0x227859(0x15e)],{default:BrowserStackSetup}=require(a2_0x227859(0x1ce)),helper=require(a2_0x227859(0x17f)),utilities=require(a2_0x227859(0x1de)),{checkAccessibilityPlatformConfig}=require(a2_0x227859(0x162)),{setAccessibilityCapabilities}=require(a2_0x227859(0x18f)),{requireModule,nestedKeyValue,isBrowserstackInfra}=require(a2_0x227859(0x17f)),CodeceptJS=requireModule(a2_0x227859(0x1a9),a2_0x227859(0x179)),testOpsHelper=require(a2_0x227859(0x1d5)),TestHubHandler=require(a2_0x227859(0x1ab)),constants=require(a2_0x227859(0x168)),PerformanceTester=require('../../helpers/performance/performance-tester'),{FRAMEWORKS}=require(a2_0x227859(0x196)),PerformanceEvents=require(a2_0x227859(0x190))['EVENTS'],_testErrorData=[],getUserCodeceptJSConfigs=(_0x20cbb1,_0xdc94e3)=>{const _0x2578d5=a2_0x227859,_0x5e1ab9={};_0x5e1ab9[_0x2578d5(0x18a)]=function(_0x2c5f10,_0x1b99cb){return _0x2c5f10===_0x1b99cb;},_0x5e1ab9['lwbAV']=_0x2578d5(0x1dc),_0x5e1ab9[_0x2578d5(0x15a)]=_0x2578d5(0x1c8);const _0x17d5fd=_0x5e1ab9;let _0x49b7a4=null;const _0x4fb13d={};let _0x3aa2d2=_0xdc94e3[_0x2578d5(0x1db)](_0x176430=>_0x176430===_0x2578d5(0x1cf));_0x17d5fd[_0x2578d5(0x18a)](_0x3aa2d2,-0x1)&&(_0x3aa2d2=_0xdc94e3['findIndex'](_0x5836fe=>_0x5836fe==='-c'));if(!helper[_0x2578d5(0x16f)](_0x20cbb1[_0x2578d5(0x160)])&&fs['existsSync'](path[_0x2578d5(0x1d3)](process[_0x2578d5(0x185)](),_0x20cbb1['config'])))_0x49b7a4=path[_0x2578d5(0x1d3)](process[_0x2578d5(0x185)](),_0x20cbb1['config']),_0xdc94e3[_0x2578d5(0x188)](_0x3aa2d2,0x2);else{if(!helper['isUndefined'](_0x20cbb1['c'])&&fs[_0x2578d5(0x1cb)](path['join'](process[_0x2578d5(0x185)](),_0x20cbb1['c'])))_0x49b7a4=path['join'](process['cwd'](),_0x20cbb1['c']),_0xdc94e3[_0x2578d5(0x188)](_0x3aa2d2,0x2);else{if(fs[_0x2578d5(0x1cb)](path[_0x2578d5(0x1d3)](process[_0x2578d5(0x185)](),_0x17d5fd[_0x2578d5(0x1d4)])))_0x49b7a4=path['join'](process[_0x2578d5(0x185)](),_0x17d5fd[_0x2578d5(0x1d4)]);else fs[_0x2578d5(0x1cb)](path[_0x2578d5(0x1d3)](process['cwd'](),_0x17d5fd[_0x2578d5(0x15a)]))&&(_0x49b7a4=path[_0x2578d5(0x1d3)](process[_0x2578d5(0x185)](),_0x17d5fd[_0x2578d5(0x15a)]));}}return process[_0x2578d5(0x1bb)]['USER_CONFIG_DETAILS_PATH']=_0x49b7a4,_0x49b7a4;},getO11yRerunPattern=()=>{const _0x59e5b4=a2_0x227859,_0x4108b8=helper[_0x59e5b4(0x1bc)](process[_0x59e5b4(0x1bb)][_0x59e5b4(0x186)]);if(_0x4108b8){const _0x228483=process[_0x59e5b4(0x1bb)][_0x59e5b4(0x15f)],_0x130b96=[];if(helper[_0x59e5b4(0x16b)](_0x228483)&&!helper[_0x59e5b4(0x16f)](_0x228483)){_0x228483['split'](',')['map'](_0x356e36=>{const _0x56c2b2=_0x59e5b4;_0x130b96[_0x56c2b2(0x1b0)]('('+_0x356e36[_0x56c2b2(0x193)]()+')');});const _0x59cc56='^'+_0x130b96[_0x59e5b4(0x1d3)]('|')+'$';return _0x59cc56;}}return null;},a2_0xee817c={};function a2_0x49b6(){const _0xf77789=['stack','Workers','path','testContextOptions','CODECEPT','webkit','result','ggbHw','stop','accessibility','jfovL','desiredCapabilities','mbRmi','accessibilityOptions','HUmRd','playwright-webkit','codeceptjs/lib/index.js','test','../../helpers/testhub/testhubHandler','start','exports','630052pvQuCl','all','push','getPlaywrightUrl','before','browserStackCwd','kuJaj','XgUMI','zdRlQ','now','err','suLQA','process','env','isTrue','info','5816943eDdSWG','setAdditionalCapabilities','Getting\x20your\x20codeceptjs\x20configs\x20from\x20','handleApp','getPlatformName','dirname','browserName','13468tZPWUy','createGroupsOfSuites','root','codecept.json','WebDriver','debug','existsSync','chrome','KDfkt','../../helpers/BrowserStackSetup','--config','CODECEPT_CUCUMBER','gherkin','teardownAll','join','lwbAV','../../helpers/test-observability/utils','fhKSJ','Playwright','frameworkName','skipSessionName','zrunD','findIndex','codecept.conf.js','helpers','../../helpers/utilities','chdir','failed','getUserWorkerCount','BrowserStackPlugin.js','isTestObservabilitySession','playwright-firefox','689750bTsQtq','forEach','4128tUMTDW','jkXlN','BROWSERSTACK_TEST_OBSERVABILITY_YML','WdCNu','EWZUl','mergeDeep','event','winstonLogger','BROWSERSTACK_RERUN_TESTS','config','end','../../helpers/accessibility-automation/helper','ZRVdM','xiSKi','playwright-chromium','profile','AfkTC','../utils/constants','isEmpty','chromium','validateRerunTestList','AtEmQ','bootstrapAll','testObservability','isUndefined','UBUgs','firefox','3478539GxivfK','initialize','SDK_SETUP','809920VRqCsQ','format','2621574OWOxCd','IRtcb','codeceptjs','plugins','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','spawn','IFeGt','map','../../helpers/helper','toLowerCase','FRAMEWORKS','2RPzwwk','stringify','HFqBA','cwd','BROWSERSTACK_RERUN','run','slice','../../helpers/logger','lRwVz','pjrct','sbphN','addTests','SDK_CLEANUP','../../bin/playwright/accessibility-helper','../../helpers/performance/constants','RCCDu','BROWSERSTACK_TEST_ACCESSIBILITY_YML','trim','browserWSEndpoint','addConfig','../../helpers/test-observability/constants','title','addOptions'];a2_0x49b6=function(){return _0xf77789;};return a2_0x49b6();}a2_0xee817c[a2_0x227859(0x1cc)]=a2_0x227859(0x16a),a2_0xee817c[a2_0x227859(0x165)]=a2_0x227859(0x16a),a2_0xee817c[a2_0x227859(0x1e4)]=a2_0x227859(0x171),a2_0xee817c[a2_0x227859(0x1a8)]=a2_0x227859(0x19e);const pwToCodeceptBrowser=a2_0xee817c;async function run(_0x499354,_0x34860a){const _0xf033b3=a2_0x227859,_0x3e2f1e={'pjrct':function(_0x268129,_0x319cd3){return _0x268129+_0x319cd3;},'sbphN':function(_0x12927b,_0x1a2c88){return _0x12927b(_0x1a2c88);},'jfovL':function(_0x59034a,_0x423b4b,_0x1d9f88){return _0x59034a(_0x423b4b,_0x1d9f88);},'fhKSJ':_0xf033b3(0x1dd),'mbRmi':function(_0x2723ac){return _0x2723ac();},'UBUgs':'Failed\x20:\x20','mKENc':'Passed\x20:\x20','PKhGM':'Started\x20:\x20','sCNnl':'5|3|4|2|1|0','ijLdQ':_0xf033b3(0x179),'zrunD':_0xf033b3(0x17b),'IFeGt':function(_0x5a930b,_0x155696,_0x125e85){return _0x5a930b(_0x155696,_0x125e85);},'kuJaj':_0xf033b3(0x1d7),'ggbHw':_0xf033b3(0x1c9),'AfkTC':function(_0x3d3298,_0x524b0b){return _0x3d3298(_0x524b0b);},'IRtcb':function(_0x3a422e,_0x576af1){return _0x3a422e!=_0x576af1;},'ZRVdM':function(_0x39062f,_0x49a3e6){return _0x39062f===_0x49a3e6;},'BVPFf':function(_0xfd7641,_0x148f27,_0x2ad889){return _0xfd7641(_0x148f27,_0x2ad889);},'KDfkt':_0xf033b3(0x1d1),'HUmRd':function(_0xb97bc5,_0x393f62){return _0xb97bc5(_0x393f62);},'GVRBw':function(_0x1a5112){return _0x1a5112();},'xiSKi':function(_0x1d4739,_0x111f50){return _0x1d4739*_0x111f50;},'RCCDu':function(_0x5e8138,_0x3a6ac9,_0x52b4c9){return _0x5e8138(_0x3a6ac9,_0x52b4c9);},'AtEmQ':'browser','XgUMI':_0xf033b3(0x1a4),'zdRlQ':function(_0x9dd896,_0x31627c,_0x463de8){return _0x9dd896(_0x31627c,_0x463de8);},'jkXlN':_0xf033b3(0x1c7),'HFqBA':_0xf033b3(0x1e2),'thZWh':_0xf033b3(0x1b3)},_0x364d98=new BrowserStackSetup(_0x499354,_0x3e2f1e['ijLdQ']);await _0x364d98[_0xf033b3(0x173)](),await helper[_0xf033b3(0x1c1)](_0x364d98[_0xf033b3(0x160)]);if(!_0x364d98['config'])return;process[_0xf033b3(0x166)]=_0x499354['profile'];_0x499354['profile']&&(process[_0xf033b3(0x1bb)]['profile']=_0x499354[_0xf033b3(0x166)]);const _0x7a18ad=_0x3e2f1e[_0xf033b3(0x1a3)](getUserCodeceptJSConfigs,_0x499354,_0x34860a);let _0x44e72d={};_0x7a18ad?(logger[_0xf033b3(0x1bd)](_0xf033b3(0x1c0)+_0x7a18ad),_0x44e72d=CodeceptJS[_0xf033b3(0x160)]['load'](_0x7a18ad)):logger['info'](_0x3e2f1e[_0xf033b3(0x1da)]);let _0x203a1c=![];_0x3e2f1e[_0xf033b3(0x17d)](nestedKeyValue,_0x44e72d,[_0x3e2f1e[_0xf033b3(0x1d6)],_0x3e2f1e[_0xf033b3(0x1b4)]])&&(_0x203a1c=!![]);const _0x24616d=_0x203a1c?_0x3e2f1e['kuJaj']:_0x3e2f1e[_0xf033b3(0x1a0)];let _0x28106b=!_0x203a1c?helper['useW3C'](_0x364d98[_0xf033b3(0x160)]):![];!helper[_0xf033b3(0x16f)](_0x364d98[_0xf033b3(0x160)][_0xf033b3(0x1a6)])&&(process[_0xf033b3(0x1bb)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON[_0xf033b3(0x183)](_0x364d98[_0xf033b3(0x160)][_0xf033b3(0x1a6)]));let _0x59f10a=_0x364d98[_0xf033b3(0x160)][_0xf033b3(0x1a2)];_0x59f10a=_0x59f10a||_0x3e2f1e[_0xf033b3(0x167)](checkAccessibilityPlatformConfig,_0x364d98[_0xf033b3(0x160)]),process[_0xf033b3(0x1bb)][_0xf033b3(0x192)]=_0x59f10a;_0x59f10a&&(_0x28106b=!_0x59f10a);_0x3e2f1e[_0xf033b3(0x178)](_0x364d98[_0xf033b3(0x160)][_0xf033b3(0x16e)],null)?process[_0xf033b3(0x1bb)][_0xf033b3(0x159)]=_0x364d98['config']['testObservability']:process[_0xf033b3(0x1bb)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x3e2f1e[_0xf033b3(0x163)](_0x24616d,_0x3e2f1e[_0xf033b3(0x1b4)]);const _0x4333ee=_0x3e2f1e['BVPFf'](nestedKeyValue,_0x44e72d,[_0x3e2f1e[_0xf033b3(0x1cd)]]),_0x400c09=_0x4333ee&&!helper[_0xf033b3(0x169)](_0x4333ee)?FRAMEWORKS[_0xf033b3(0x1d0)]:FRAMEWORKS[_0xf033b3(0x19d)],_0x55f3d5=await TestHubHandler['launchBuild'](_0x400c09,_0x364d98);_0x59f10a&&_0x3e2f1e[_0xf033b3(0x1a7)](setAccessibilityCapabilities,_0x364d98[_0xf033b3(0x160)]);const _0x1149bc={},_0x625b67=[],_0x342616=_0x364d98['config']['parallelsPerPlatform']||helper[_0xf033b3(0x1e1)](_0x499354,_0x34860a,_0x364d98[_0xf033b3(0x160)],constants[_0xf033b3(0x181)][_0xf033b3(0x19d)])||0x1;let _0x17d5cd=0x1;if(_0x3e2f1e['GVRBw'](isBrowserstackInfra)){const _0x1ab73a=helper['prepareCapabilities'](_0x364d98[_0xf033b3(0x160)],_0x28106b,constants['FRAMEWORKS'][_0xf033b3(0x19d)]);_0x1ab73a[_0xf033b3(0x1e6)](_0x5183a9=>{const _0x53fadc=_0xf033b3;helper[_0x53fadc(0x1bf)](_0x5183a9);}),helper['validPlatformsPresent'](_0x364d98[_0xf033b3(0x160)])?_0x17d5cd=_0x3e2f1e[_0xf033b3(0x164)](_0x342616,_0x364d98[_0xf033b3(0x160)]['platforms']['length']):_0x17d5cd=_0x342616,_0x1ab73a[_0xf033b3(0x1e6)](_0x331d82=>{const _0x225aa5=_0xf033b3,_0x5e0acf={'suLQA':function(_0x5f489e,_0x26e21c){const _0x3be233=a2_0x14ec;return _0x3e2f1e[_0x3be233(0x18b)](_0x5f489e,_0x26e21c);},'EWZUl':function(_0x38903a,_0x33c524){const _0x141562=a2_0x14ec;return _0x3e2f1e[_0x141562(0x18c)](_0x38903a,_0x33c524);}},_0x26b6ef=_0x3e2f1e[_0x225aa5(0x18b)](helper[_0x225aa5(0x1c2)](_0x331d82,'_'),'_'+Date[_0x225aa5(0x1b7)]()),_0x40c875=((()=>{const _0x158e83=_0x225aa5;if(_0x203a1c){const _0x208dea=pwToCodeceptBrowser[_0x331d82['browserName']]||_0x331d82[_0x158e83(0x1c4)];return{'browser':_0x208dea,[_0x208dea]:{'browserWSEndpoint':_0x5e0acf[_0x158e83(0x1b9)](helper[_0x158e83(0x1b1)](_0x364d98[_0x158e83(0x160)]),_0x5e0acf[_0x158e83(0x15b)](encodeURIComponent,JSON[_0x158e83(0x183)](_0x331d82)))}};}const _0x2c7e30={};return _0x2c7e30[_0x158e83(0x1a4)]=_0x331d82,_0x2c7e30;})()),_0x2b3099=_0x3e2f1e[_0x225aa5(0x1a3)](nestedKeyValue,_0x44e72d,[_0x3e2f1e['fhKSJ'],_0x24616d]);_0x1149bc[_0x26b6ef]=_0x2b3099?helper[_0x225aa5(0x15c)](_0x40c875,_0x2b3099):_0x40c875,!_0x203a1c&&(_0x1149bc[_0x26b6ef]['browser']=_0x331d82['browserName']||_0x40c875['browser']),_0x625b67[_0x225aa5(0x1b0)](_0x26b6ef);});}else{_0x17d5cd=0x1;if(_0x203a1c){const _0x4bcc32=_0x3e2f1e['RCCDu'](nestedKeyValue,_0x44e72d,[_0x3e2f1e[_0xf033b3(0x1d6)],_0x24616d,_0x3e2f1e[_0xf033b3(0x16c)]]),_0x576bfb=_0x3e2f1e[_0xf033b3(0x191)](nestedKeyValue,_0x44e72d,[_0x3e2f1e[_0xf033b3(0x1d6)],_0x24616d,_0x4bcc32]);_0x576bfb&&_0x576bfb[_0xf033b3(0x194)]&&(_0x576bfb['browserWSEndpoint']=helper['prepareCapabilities'](null,null,_0x400c09[_0xf033b3(0x180)](),null,null,_0x576bfb[_0xf033b3(0x194)]));}else _0x44e72d[_0x3e2f1e[_0xf033b3(0x1d6)]][_0x24616d][_0x3e2f1e[_0xf033b3(0x1b5)]]=helper['prepareCapabilities'](null,null,_0x400c09[_0xf033b3(0x180)](),_0x3e2f1e[_0xf033b3(0x1b6)](nestedKeyValue,_0x44e72d,[_0x3e2f1e[_0xf033b3(0x1d6)],_0x24616d,_0x3e2f1e[_0xf033b3(0x1b5)]]),null,null);_0x1149bc[_0x3e2f1e[_0xf033b3(0x1e8)]]=_0x44e72d,_0x625b67[_0xf033b3(0x1b0)](_0x3e2f1e[_0xf033b3(0x1e8)]);}const _0x41cc85={};_0x41cc85['testConfig']=_0x7a18ad;const _0x490b8a=_0x41cc85,_0x3e5778=path[_0xf033b3(0x1d3)](__dirname,_0x3e2f1e[_0xf033b3(0x184)]),_0x3fa002=process[_0xf033b3(0x185)]();process[_0xf033b3(0x1bb)][_0x3e2f1e['thZWh']]=_0x3fa002,process['chdir'](path[_0xf033b3(0x1c3)](_0x7a18ad));const _0x27a53c=new CodeceptJS[(_0xf033b3(0x19a))](null,_0x490b8a),_0x59c3df=_0x27a53c[_0xf033b3(0x1c6)](_0x17d5cd),_0x10b4c2=testOpsHelper[_0xf033b3(0x1e3)](),_0x13be93=_0x625b67[_0xf033b3(0x17e)](_0x42bdc5=>{const _0x486c45=_0xf033b3,_0x65da3a={};_0x65da3a[_0x486c45(0x1d7)]=_0x1149bc[_0x42bdc5];const _0xc25459={};_0xc25459[_0x486c45(0x1c9)]=_0x1149bc[_0x42bdc5];const _0x544211=_0x203a1c?_0x65da3a:_0xc25459,_0x43cec1=_0x3e2f1e[_0x486c45(0x1a5)](getO11yRerunPattern),_0x50b36a={};_0x50b36a[_0x486c45(0x1dd)]=_0x544211;const _0x44e9cc={};_0x44e9cc['require']=_0x3e5778,_0x44e9cc['enabled']=!![],_0x44e9cc['skipSessionName']=_0x364d98[_0x486c45(0x160)]['testContextOptions'][_0x486c45(0x1d9)],_0x44e9cc['skipSessionStatus']=_0x364d98[_0x486c45(0x160)][_0x486c45(0x19c)]['skipSessionStatus'],_0x44e9cc[_0x486c45(0x16e)]=_0x10b4c2,_0x44e9cc[_0x486c45(0x1d8)]=_0x400c09;const _0x4ed53a={};_0x4ed53a['BrowserStackPlugin']=_0x44e9cc;const _0x558348={};return _0x558348[_0x486c45(0x17a)]=_0x4ed53a,helper['mergeDeep']({},_0x44e72d,_0x3e2f1e['mbRmi'](isBrowserstackInfra)?_0x50b36a:{},_0x43cec1?{'grep':_0x43cec1}:{},_0x558348);});for(const _0x1fc522 of _0x13be93){for(const _0x2bd34b of _0x59c3df){const _0x3e1dab=_0x27a53c[_0xf033b3(0x17c)]();_0x3e1dab[_0xf033b3(0x18d)](_0x2bd34b),_0x3e1dab[_0xf033b3(0x195)](_0x1fc522);const _0x717313={};_0x717313['config']=_0x7a18ad,_0x3e1dab[_0xf033b3(0x198)](_0x717313);}}_0x27a53c['on'](CodeceptJS['event'][_0xf033b3(0x1aa)][_0xf033b3(0x1e0)],(_0x14ff5e,_0x1f3482)=>{const _0x407ce8=_0xf033b3;console['log'](_0x3e2f1e[_0x407ce8(0x170)],_0x14ff5e[_0x407ce8(0x197)]);const _0x1a64ca={[_0x14ff5e['title']]:_0x14ff5e[_0x407ce8(0x1b8)][_0x407ce8(0x199)]};_testErrorData['push'](_0x1a64ca);}),_0x27a53c['on'](CodeceptJS[_0xf033b3(0x15d)]['test']['passed'],async _0x3c273e=>{const _0x45736a=_0xf033b3;console['log'](_0x3e2f1e['mKENc'],_0x3c273e[_0x45736a(0x197)]);}),_0x27a53c['on'](CodeceptJS[_0xf033b3(0x15d)][_0xf033b3(0x1aa)][_0xf033b3(0x1b2)],async _0x13ee86=>{const _0x5ebd00=_0xf033b3;console['log'](_0x3e2f1e['PKhGM'],_0x13ee86[_0x5ebd00(0x197)]);}),_0x27a53c['on'](CodeceptJS[_0xf033b3(0x15d)][_0xf033b3(0x1af)][_0xf033b3(0x19f)],async()=>{const _0x2ed1a9=_0xf033b3,_0x3d382c=_0x3e2f1e['sCNnl']['split']('|');let _0x1361ce=0x0;while(!![]){switch(_0x3d382c[_0x1361ce++]){case'0':_0x27a53c['printResults']();continue;case'1':try{await TestHubHandler[_0x2ed1a9(0x1a1)]();}catch(_0x1463d1){logger[_0x2ed1a9(0x1ca)]('Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20'+util[_0x2ed1a9(0x176)](_0x1463d1));}continue;case'2':utilities['finalExecution'](_0x364d98);continue;case'3':_0x364d98['errorMessage']=_testErrorData;continue;case'4':testOpsHelper['printBuildLink']();continue;case'5':PerformanceTester[_0x2ed1a9(0x1ac)](PerformanceEvents[_0x2ed1a9(0x18e)]);continue;}break;}});async function _0x2df5b3(){const _0xfd9400=_0xf033b3;try{await _0x27a53c[_0xfd9400(0x16d)](),await _0x27a53c[_0xfd9400(0x187)]();}finally{process[_0xfd9400(0x1df)](_0x3fa002),await _0x27a53c[_0xfd9400(0x1d2)]();}}PerformanceTester[_0xf033b3(0x161)](PerformanceEvents[_0xf033b3(0x174)]),_0x3e2f1e[_0xf033b3(0x1a5)](_0x2df5b3);}module[a2_0x227859(0x1ad)]=run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a3_0x1d7fcd=a3_0x2b3e;(function(_0x57b51c,_0xad9480){const _0x246711=a3_0x2b3e,_0x11e2da=_0x57b51c();while(!![]){try{const _0x45bde9=-parseInt(_0x246711(0x1a5))/0x1*(-parseInt(_0x246711(0x16f))/0x2)+parseInt(_0x246711(0x1b3))/0x3*(parseInt(_0x246711(0x1b5))/0x4)+-parseInt(_0x246711(0x1ad))/0x5+parseInt(_0x246711(0x16b))/0x6+parseInt(_0x246711(0x1a0))/0x7*(parseInt(_0x246711(0x19a))/0x8)+parseInt(_0x246711(0x177))/0x9*(parseInt(_0x246711(0x16d))/0xa)+-parseInt(_0x246711(0x197))/0xb*(parseInt(_0x246711(0x194))/0xc);if(_0x45bde9===_0xad9480)break;else _0x11e2da['push'](_0x11e2da['shift']());}catch(_0x36603f){_0x11e2da['push'](_0x11e2da['shift']());}}}(a3_0x4f01,0xb47f5));const {isUndefined,nestedKeyValue}=require(a3_0x1d7fcd(0x1aa)),logger=require(a3_0x1d7fcd(0x186))[a3_0x1d7fcd(0x1bb)],PlaywrightSessionDetails=require(a3_0x1d7fcd(0x1b2)),{isAccessibilityAutomationSession}=require(a3_0x1d7fcd(0x1b8)),{getObservabilityLinkedProductName}=require(a3_0x1d7fcd(0x1b6)),getOSVersionFromCaps=_0x353a91=>{const _0x31e795=a3_0x1d7fcd,_0x29fa46={};_0x29fa46[_0x31e795(0x18e)]=_0x31e795(0x18d),_0x29fa46[_0x31e795(0x1ba)]='platformVersion',_0x29fa46[_0x31e795(0x19c)]=_0x31e795(0x171),_0x29fa46[_0x31e795(0x181)]=_0x31e795(0x182),_0x29fa46[_0x31e795(0x1a9)]='os_version';const _0x52644b=_0x29fa46;if(!_0x353a91)return null;const _0x4e3d46=_0x353a91[_0x52644b['TWyAl']],_0x3c540f=[_0x52644b[_0x31e795(0x1ba)],_0x52644b[_0x31e795(0x19c)],_0x52644b[_0x31e795(0x181)],_0x52644b[_0x31e795(0x1a9)]];for(const _0xe40be3 of _0x3c540f){if(_0x4e3d46&&_0x4e3d46[_0xe40be3])return _0x4e3d46[_0xe40be3];else{if(_0x353a91[_0xe40be3])return _0x353a91[_0xe40be3];}}return null;};function a3_0x2b3e(_0x5832bc,_0x5cade3){const _0x4f018b=a3_0x4f01();return a3_0x2b3e=function(_0x2b3e0e,_0xec52ea){_0x2b3e0e=_0x2b3e0e-0x16a;let _0x398341=_0x4f018b[_0x2b3e0e];return _0x398341;},a3_0x2b3e(_0x5832bc,_0x5cade3);}function a3_0x4f01(){const _0x5a8bc3=['KLTsR','Playwright','warn','MiEet','1694FWSsNa','LyJUo','bsnXE','playwright-chromium','capabilities','398757hexXBa','caps','cloudProvider','XceAa','tmdjn','../../helpers/helper','sessionId','muPIX','6202250WQdlvY','platform','chrome','Mliqp','get','../../bin/playwright/sessionDetails','6LzDZjN','stdsd','1307732bcvNPN','../../helpers/test-observability/utils','__cloud_provider___','../../helpers/accessibility-automation/helper','pbFeP','HdvxX','winstonLogger','name','config','871644IhGWXh','browserName','2336910dCAgWh','iedWZ','2DRvhlH','browser_version','platform_version','constructor','vdPwX','wxSyt','bsSessionId','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','45SIkypz','browserstack_executor','JKehb','NrfmA','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','cswcZ','unknown_grid','accessibilityPlatform','platformName','searchParams','QBQWK','osVersion','browser','fetchPlatformDetails','desiredCapabilities','../../helpers/logger','otdEt','browserWSEndpoint','qpqgx','deviceName','includes','NbBor','bstack:options','TWyAl','processWebDriverConfig','YcEiR','browserVersion','jAqWU','JMJpT','1116nOOFmE','KYjgJ','latest','98593siWDBA','ZLwKV','pSLgJ','14776dZgfol','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.'];a3_0x4f01=function(){return _0x5a8bc3;};return a3_0x4f01();}exports[a3_0x1d7fcd(0x184)]=_0x4bd71e=>{const _0x474a20=a3_0x1d7fcd,_0x280390={'JMJpT':_0x474a20(0x17d),'vdPwX':function(_0x262d27,_0x3e8e42){return _0x262d27===_0x3e8e42;},'LyJUo':'WebDriver','muPIX':function(_0x855fca,_0x2ecb6a){return _0x855fca(_0x2ecb6a);},'cswcZ':function(_0x413c42,_0x42daa0,_0x31655e){return _0x413c42(_0x42daa0,_0x31655e);},'JKehb':_0x474a20(0x16a),'NbBor':_0x474a20(0x185),'jAqWU':function(_0x1ec7b1,_0xf92b4c){return _0x1ec7b1(_0xf92b4c);},'pSLgJ':_0x474a20(0x19d),'MiEet':_0x474a20(0x183),'AmfXx':_0x474a20(0x188),'wxSyt':_0x474a20(0x1a6)};if(!_0x4bd71e)return null;let _0x4b5e55=global[_0x474a20(0x1b7)]||_0x280390[_0x474a20(0x193)];if(_0x280390['vdPwX'](_0x4bd71e[_0x474a20(0x172)][_0x474a20(0x1bc)],_0x280390[_0x474a20(0x1a1)])){const _0x13a8c6=_0x4bd71e[_0x474a20(0x183)];if(!_0x13a8c6)return null;const _0xb21f75=_0x13a8c6[_0x474a20(0x1a4)],_0x21b74e=_0x280390['muPIX'](getOSVersionFromCaps,_0x280390[_0x474a20(0x17c)](nestedKeyValue,_0x4bd71e,[_0x280390['JKehb'],_0x280390[_0x474a20(0x18c)]]));return{[_0x4b5e55]:{'browser':_0xb21f75[_0x474a20(0x16c)],'browser_version':_0xb21f75[_0x474a20(0x191)],'capabilities':_0xb21f75,'platform':_0xb21f75[_0x474a20(0x17f)],'platform_version':_0xb21f75['platformVersion']||_0x21b74e,'product':_0x280390[_0x474a20(0x192)](getObservabilityLinkedProductName,_0xb21f75),'session_id':_0x13a8c6[_0x474a20(0x1ab)]}};}else{if(_0x280390[_0x474a20(0x173)](_0x4bd71e[_0x474a20(0x172)][_0x474a20(0x1bc)],_0x280390[_0x474a20(0x199)])){const _0x42bbc4=PlaywrightSessionDetails['getDetails']();_0x4b5e55=_0x42bbc4[_0x474a20(0x1a7)]||_0x4b5e55;const _0x235c1e=_0x280390['cswcZ'](nestedKeyValue,_0x4bd71e,[_0x280390[_0x474a20(0x179)],_0x280390[_0x474a20(0x19f)],_0x280390['AmfXx']]),_0xdb7c17=_0x235c1e?JSON['parse'](new URL(_0x235c1e)[_0x474a20(0x180)][_0x474a20(0x1b1)](_0x280390[_0x474a20(0x174)])):{};return{[_0x4b5e55]:{'browser':_0x42bbc4[_0x474a20(0x183)]||_0xdb7c17[_0x474a20(0x16c)],'browser_version':_0x42bbc4[_0x474a20(0x170)]||_0xdb7c17[_0x474a20(0x170)],'capabilities':_0xdb7c17,'platform':_0x42bbc4[_0x474a20(0x1ae)],'platform_version':_0x42bbc4[_0x474a20(0x171)],'product':_0x280390[_0x474a20(0x1ac)](getObservabilityLinkedProductName,_0xdb7c17),'session_id':_0x42bbc4[_0x474a20(0x175)]}};}}},exports[a3_0x1d7fcd(0x18f)]=_0x39fb00=>{const _0x4531fe=a3_0x1d7fcd,_0x4e7a02={'stdsd':function(_0x2916b7){return _0x2916b7();},'NrfmA':function(_0x17f9ea,_0x42273c){return _0x17f9ea===_0x42273c;},'otdEt':_0x4531fe(0x196),'KYjgJ':function(_0x64dc2f,_0x2a33d0){return _0x64dc2f>_0x2a33d0;},'Mliqp':function(_0x33637c,_0x44ab7c){return _0x33637c(_0x44ab7c);},'qpqgx':_0x4531fe(0x17b),'XceAa':_0x4531fe(0x1af),'ZLwKV':function(_0x107cd6,_0x8c5ef3){return _0x107cd6===_0x8c5ef3;},'kiEgX':_0x4531fe(0x1a3),'pbFeP':_0x4531fe(0x176),'iedWZ':_0x4531fe(0x19b)};if(_0x4e7a02[_0x4531fe(0x1b4)](isAccessibilityAutomationSession)){const _0x1e1312=_0x39fb00[_0x4531fe(0x183)],_0x467d0d=_0x1e1312[_0x4531fe(0x1a4)];global['accessibilityPlatform']=!![],!(_0x4e7a02['NrfmA'](_0x467d0d[_0x4531fe(0x191)],_0x4e7a02[_0x4531fe(0x187)])||_0x4e7a02[_0x4531fe(0x195)](_0x4e7a02[_0x4531fe(0x1b0)](parseInt,_0x467d0d[_0x4531fe(0x191)]),0x5e))&&(logger['warn'](_0x4e7a02[_0x4531fe(0x189)]),global[_0x4531fe(0x17e)]=![]),!(_0x4e7a02[_0x4531fe(0x17a)](_0x467d0d['browserName'],_0x4e7a02[_0x4531fe(0x1a8)])||_0x4e7a02[_0x4531fe(0x198)](_0x467d0d['browserName'],_0x4e7a02['kiEgX']))&&(logger[_0x4531fe(0x19e)](_0x4e7a02[_0x4531fe(0x1b9)]),global[_0x4531fe(0x17e)]=![]),!_0x4e7a02[_0x4531fe(0x1b0)](isUndefined,_0x467d0d[_0x4531fe(0x18a)])&&(logger[_0x4531fe(0x19e)](_0x4e7a02[_0x4531fe(0x16e)]),global['accessibilityPlatform']=![]);}},exports['shouldPatchExecuteScript']=_0x129287=>{const _0x2bc199=a3_0x1d7fcd,_0x40232e={};_0x40232e[_0x2bc199(0x190)]=_0x2bc199(0x178),_0x40232e[_0x2bc199(0x1a2)]='browserstack_accessibility_automation_script';const _0x4c7f85=_0x40232e;if(!_0x129287)return![];return!_0x129287[_0x2bc199(0x18b)](_0x4c7f85[_0x2bc199(0x190)])&&!_0x129287[_0x2bc199(0x18b)](_0x4c7f85[_0x2bc199(0x1a2)]);};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a4_0x343d35=a4_0x3d43;(function(_0x43b8aa,_0x154313){const _0x346161=a4_0x3d43,_0x26f074=_0x43b8aa();while(!![]){try{const _0x50a0e2=-parseInt(_0x346161(0x1b6))/0x1*(-parseInt(_0x346161(0x16d))/0x2)+-parseInt(_0x346161(0x164))/0x3+parseInt(_0x346161(0xfc))/0x4*(parseInt(_0x346161(0x178))/0x5)+parseInt(_0x346161(0x14e))/0x6+-parseInt(_0x346161(0x1c6))/0x7+-parseInt(_0x346161(0x13a))/0x8*(parseInt(_0x346161(0x138))/0x9)+parseInt(_0x346161(0x195))/0xa;if(_0x50a0e2===_0x154313)break;else _0x26f074['push'](_0x26f074['shift']());}catch(_0x2cd103){_0x26f074['push'](_0x26f074['shift']());}}}(a4_0x2966,0xcee89));const path=require(a4_0x343d35(0x123)),fs=require('fs'),{v4:uuidv4}=require(a4_0x343d35(0x1b7)),{importFileFromPWCore,nestedKeyValue,parseWSEndpoint,isUndefined}=require(a4_0x343d35(0x15e)),testOpsHelper=require('../../helpers/test-observability/utils'),{getTestEnv}=require(a4_0x343d35(0x100)),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),logger=require(a4_0x343d35(0x165))[a4_0x343d35(0x1c2)],SessionHandler=require(a4_0x343d35(0x182)),RequestQueueHandler=require(a4_0x343d35(0x177)),PlaywrightSessionDetails=require(a4_0x343d35(0x142)),debug=testOpsHelper[a4_0x343d35(0x1ce)],{processAccessibilityCaps}=require(a4_0x343d35(0x1c5)),Constants=require(a4_0x343d35(0x153)),{fetchPlatformDetails}=require(a4_0x343d35(0x1bf)),{shouldProcessEventForTesthub,appendTesthubParams}=require('../../helpers/testhub/utils.js'),STATE_PASSED=a4_0x343d35(0x11d),STATE_FAILED=a4_0x343d35(0x14f),a4_0x58ee39={};a4_0x58ee39[a4_0x343d35(0x144)]='TestRunStarted',a4_0x58ee39[a4_0x343d35(0xeb)]=a4_0x343d35(0x121),a4_0x58ee39['TEST_RUN_SKIPPED']=a4_0x343d35(0x1d8),a4_0x58ee39[a4_0x343d35(0x148)]=a4_0x343d35(0x130),a4_0x58ee39[a4_0x343d35(0x169)]='HookRunFinished';const TEST_EVENTS=a4_0x58ee39,parseEvent=_0x5abd08=>{const _0x1d01c2=a4_0x343d35,_0x2d2c2c={};_0x2d2c2c[_0x1d01c2(0x162)]=function(_0x4a46d7,_0x8ff60d){return _0x4a46d7<_0x8ff60d;},_0x2d2c2c[_0x1d01c2(0x12b)]=function(_0x27c91c,_0x47a7af){return _0x27c91c===_0x47a7af;},_0x2d2c2c[_0x1d01c2(0x1bc)]=_0x1d01c2(0xf2),_0x2d2c2c[_0x1d01c2(0x16b)]=function(_0x11e8cc,_0x2d9990){return _0x11e8cc===_0x2d9990;},_0x2d2c2c['TUGbB']='hook',_0x2d2c2c[_0x1d01c2(0x1b1)]=_0x1d01c2(0x139),_0x2d2c2c[_0x1d01c2(0x1cf)]=function(_0x4aba45,_0x1b4da5){return _0x4aba45===_0x1b4da5;},_0x2d2c2c[_0x1d01c2(0xe5)]=_0x1d01c2(0x180),_0x2d2c2c[_0x1d01c2(0x1a8)]=function(_0xe36645,_0x2fbb35){return _0xe36645===_0x2fbb35;},_0x2d2c2c[_0x1d01c2(0xf5)]=_0x1d01c2(0x147);const _0x22158b=_0x2d2c2c,_0x2fa80a=_0x5abd08[_0x1d01c2(0x141)](/^(.*)Run(.*)$/);if(!_0x2fa80a)return null;if(_0x22158b['uCrxV'](_0x2fa80a[_0x1d01c2(0xf7)],0x3))return null;const _0x599149=_0x2fa80a[0x1][_0x1d01c2(0x1cc)](),_0x2ae02a=_0x2fa80a[0x2][_0x1d01c2(0x1cc)]();return{'test':_0x22158b[_0x1d01c2(0x12b)](_0x599149,_0x22158b['yHuez']),'hook':_0x22158b['osPbx'](_0x599149,_0x22158b[_0x1d01c2(0x10b)]),'skipped':_0x22158b[_0x1d01c2(0x12b)](_0x2ae02a,_0x22158b[_0x1d01c2(0x1b1)]),'started':_0x22158b[_0x1d01c2(0x1cf)](_0x2ae02a,_0x22158b[_0x1d01c2(0xe5)]),'finished':_0x22158b['SdMac'](_0x2ae02a,_0x22158b[_0x1d01c2(0xf5)])};},mockPWBrowserType=_0x5b1992=>{const _0x5e813f=a4_0x343d35,_0x28860c={'jnVZX':function(_0x2457db,_0x2e9111){return _0x2457db===_0x2e9111;},'KYwtx':_0x5e813f(0x18b),'ZxnHl':function(_0xcd91e8,_0xe575ed,_0x182fd7){return _0xcd91e8(_0xe575ed,_0x182fd7);},'InXxw':_0x5e813f(0x1d3),'zedYD':function(_0x20f9f1,_0x503cda){return _0x20f9f1(_0x503cda);},'uOSax':_0x5e813f(0x163),'OEwXW':function(_0x26a4b7,_0x146d7c,_0xcc4c21){return _0x26a4b7(_0x146d7c,_0xcc4c21);},'tSTFn':_0x5e813f(0xfb),'ieMsQ':_0x5e813f(0x190),'aADEO':_0x5e813f(0x143),'DBHVu':function(_0x59de2a,_0x4d3854){return _0x59de2a(_0x4d3854);},'pxEkm':_0x5e813f(0xf9),'UNXAA':'connect','yNgiK':_0x5e813f(0x1a9)},_0x422b85=path[_0x5e813f(0x1a2)](_0x28860c[_0x5e813f(0x103)],_0x28860c[_0x5e813f(0x106)],_0x28860c[_0x5e813f(0x105)]),_0x5e8549=_0x28860c[_0x5e813f(0x184)](importFileFromPWCore,_0x422b85);if(!_0x5e8549){_0x28860c[_0x5e813f(0x14b)](debug,_0x28860c[_0x5e813f(0x11a)]);return;}const _0x4d660a=_0x5e8549[_0x5e813f(0x160)],_0x4ee4fc=_0x4d660a[_0x5e813f(0xf3)];if(_0x4ee4fc[_0x5e813f(0xfe)])return;const _0x5c54c1=_0x4ee4fc[_0x5e813f(0x16e)];Object[_0x5e813f(0x186)](_0x4ee4fc,_0x28860c['UNXAA'],{'get':function(){const _0x55a038=_0x5e813f,_0x2a8e95={'ArCMX':function(_0x5a6c38,_0x30ce4a){const _0x2a0e42=a4_0x3d43;return _0x28860c[_0x2a0e42(0x10f)](_0x5a6c38,_0x30ce4a);},'MAWAZ':_0x28860c['KYwtx'],'vuzeQ':function(_0x1d5af3,_0x3b0db3,_0x236155){return _0x28860c['ZxnHl'](_0x1d5af3,_0x3b0db3,_0x236155);},'joFGn':_0x28860c[_0x55a038(0x19d)],'lvtmZ':function(_0xb32a35,_0x431ed3){const _0x388e31=_0x55a038;return _0x28860c[_0x388e31(0x184)](_0xb32a35,_0x431ed3);},'JAMWG':_0x28860c[_0x55a038(0x191)],'xghhS':function(_0x26c65b,_0x72c1cf,_0xc14021){const _0x1b297b=_0x55a038;return _0x28860c[_0x1b297b(0x131)](_0x26c65b,_0x72c1cf,_0xc14021);},'vfgVu':function(_0x19b5e0,_0x8ca958){return _0x28860c['zedYD'](_0x19b5e0,_0x8ca958);}};return async function _0x5e162f(_0x3169dc,_0x326ebd){const _0x1f11c7=_0x55a038,_0x346e5d=_0x2a8e95[_0x1f11c7(0x12a)](nestedKeyValue,_0x3169dc,[_0x2a8e95[_0x1f11c7(0x1a7)]])||_0x3169dc;let _0x1330b0=null,_0x240b08=null;try{[_0x240b08,_0x1330b0]=_0x346e5d?_0x2a8e95['lvtmZ'](parseWSEndpoint,_0x346e5d):[null,null],global[_0x1f11c7(0x17c)]=_0x1330b0,_0x240b08[_0x1f11c7(0x112)](_0x2a8e95[_0x1f11c7(0x1cd)])&&(global['__cloud_provider___']=_0x2a8e95[_0x1f11c7(0x1cd)]);}catch(_0x12f259){logger[_0x1f11c7(0x1ce)](_0x1f11c7(0x137)+_0x346e5d+'\x20'+_0x12f259);}_0x2a8e95['xghhS'](processAccessibilityCaps,_0x1330b0,_0x240b08);if(global['accessibilityPlatform']){const _0x52a495=await _0x4ee4fc[_0x1f11c7(0x167)][_0x1f11c7(0xe9)](this,[''+Constants['PLAYWRIGHT_HUB_URL']+_0x2a8e95[_0x1f11c7(0x168)](encodeURIComponent,JSON['stringify'](_0x1330b0))]);return PlaywrightSessionDetails[_0x1f11c7(0x159)](_0x52a495,_0x5b1992,_0x346e5d),_0x52a495;}return _0x5c54c1[_0x1f11c7(0xe9)](this,arguments)[_0x1f11c7(0x12d)](_0x442dcc=>{const _0x17210a=_0x1f11c7;let _0x87be09=_0x3169dc[_0x17210a(0x1d3)];return _0x2a8e95['ArCMX'](typeof _0x3169dc,_0x2a8e95[_0x17210a(0x157)])&&(_0x87be09=_0x3169dc),PlaywrightSessionDetails[_0x17210a(0x159)](_0x442dcc,_0x5b1992,_0x87be09),_0x442dcc;});};}});const _0x2b495d=_0x4ee4fc['launch'];Object[_0x5e813f(0x186)](_0x4ee4fc,_0x28860c[_0x5e813f(0x181)],{'get':function(){return async function _0x1b6e0b(){const _0x492185=a4_0x3d43;return _0x2b495d[_0x492185(0xe9)](this,arguments)[_0x492185(0x12d)](_0x5dc422=>{const _0x47d683=_0x492185;return PlaywrightSessionDetails[_0x47d683(0x159)](_0x5dc422,null),_0x5dc422;});};}});};class O11yHelper{[a4_0x343d35(0x13c)]=null;[a4_0x343d35(0x1ca)]=null;[a4_0x343d35(0x15f)]=![];['frameworkName']=![];constructor(_0x45e6d4,_0x23a758){const _0x2de4ba=a4_0x343d35,_0x455a5e={'StWBY':_0x2de4ba(0x194),'oRsbo':function(_0x1f851c,_0x503a94){return _0x1f851c===_0x503a94;},'IAOdZ':_0x2de4ba(0x1a5),'MSsZT':function(_0x16eea0,_0x57bbe7){return _0x16eea0(_0x57bbe7);},'TNRsg':function(_0x5dd65b){return _0x5dd65b();}},_0x4dcb87=_0x455a5e[_0x2de4ba(0x150)][_0x2de4ba(0xf0)]('|');let _0x497b5d=0x0;while(!![]){switch(_0x4dcb87[_0x497b5d++]){case'0':this['driver']&&_0x455a5e[_0x2de4ba(0x14a)](this[_0x2de4ba(0x18e)][_0x2de4ba(0x10a)][_0x2de4ba(0x1aa)],_0x455a5e['IAOdZ'])&&_0x455a5e[_0x2de4ba(0x133)](mockPWBrowserType,null);continue;case'1':this['frameworkName']=_0x23a758[_0x2de4ba(0x1cb)];continue;case'2':this[_0x2de4ba(0x18e)]=_0x45e6d4;continue;case'3':this[_0x2de4ba(0x19e)]=new testOpsHelper[(_0x2de4ba(0x1d4))]({'cwd':process[_0x2de4ba(0x185)]()},this['_testEnv'][_0x2de4ba(0x1ba)]);continue;case'4':this['enabled']=_0x455a5e['TNRsg'](shouldProcessEventForTesthub);continue;case'5':this[_0x2de4ba(0x113)]=_0x455a5e[_0x2de4ba(0x18f)](getTestEnv);continue;}break;}}[a4_0x343d35(0x1bd)](){const _0x5d03b5=a4_0x343d35;if(!this[_0x5d03b5(0x15f)])return;testOpsHelper[_0x5d03b5(0x1d5)](),process[_0x5d03b5(0x1c8)]('bs:addLog:'+process[_0x5d03b5(0x14d)]),process['on'](_0x5d03b5(0x114)+process[_0x5d03b5(0x14d)],this[_0x5d03b5(0x13f)][_0x5d03b5(0x1b2)](this));}async[a4_0x343d35(0x176)](){const _0x108644=a4_0x343d35;await RequestQueueHandler['getInstance']()[_0x108644(0x179)]();}async[a4_0x343d35(0x13f)](_0x9defbc){const _0x2ba494=a4_0x343d35,_0x41efdc={'jFGPn':_0x2ba494(0x1a6),'VacLf':function(_0x4fbd9e,_0x3bf722){return _0x4fbd9e(_0x3bf722);}};try{this[_0x2ba494(0x1ca)]&&!this[_0x2ba494(0x1ca)][_0x2ba494(0x1d0)]&&(_0x9defbc['hook_run_uuid']=this[_0x2ba494(0x1ca)][_0x2ba494(0x18a)]);!_0x9defbc['hook_run_uuid']&&this[_0x2ba494(0x13c)]&&!this[_0x2ba494(0x13c)]['markedStatus']&&(_0x9defbc[_0x2ba494(0x1b3)]=this['currentTest'][_0x2ba494(0x166)]);if(_0x9defbc[_0x2ba494(0x174)]||_0x9defbc[_0x2ba494(0x1b3)]){const _0x23044f={};_0x23044f[_0x2ba494(0xe4)]=_0x41efdc['jFGPn'],_0x23044f['logs']=[_0x9defbc],await SessionHandler[_0x2ba494(0x152)](_0x23044f);}}catch(_0x2128c8){_0x41efdc['VacLf'](debug,_0x2ba494(0x1ad)+_0x2128c8);}}async[a4_0x343d35(0x111)](_0x4db2b8){const _0x1b71c5=a4_0x343d35,_0x309806={'RoRwW':'CBTSessionCreated','CwdNF':function(_0x17ef8d,_0x164714){return _0x17ef8d(_0x164714);}};if(!this[_0x1b71c5(0x15f)])return;const _0x311964=this[_0x1b71c5(0x1d2)](this[_0x1b71c5(0x18e)]);try{const _0xcc6c57={};_0xcc6c57[_0x1b71c5(0x1b7)]=_0x4db2b8,_0xcc6c57[_0x1b71c5(0x1c3)]=_0x311964;const _0x765dea=_0xcc6c57,_0xbb4668={};_0xbb4668['event_type']=_0x309806['RoRwW'],_0xbb4668[_0x1b71c5(0x15b)]=_0x765dea,await SessionHandler[_0x1b71c5(0x152)](_0xbb4668);}catch(_0x4cb89f){_0x309806[_0x1b71c5(0x12e)](debug,_0x1b71c5(0x172)+_0x4cb89f);}}['getCBTInfo'](_0x131a09){const _0x4b52f5=a4_0x343d35,_0x3b377c={'dvmzD':function(_0x501bc9,_0x47fa07){return _0x501bc9(_0x47fa07);}};return _0x3b377c[_0x4b52f5(0x124)](fetchPlatformDetails,_0x131a09);}[a4_0x343d35(0x140)]=_0x3c8e2d=>{const _0x591eb7=a4_0x343d35,_0x58f8c6={};_0x58f8c6[_0x591eb7(0x10d)]='_beforeEach',_0x58f8c6['bHMWp']=_0x591eb7(0x199);const _0x1277cf=_0x58f8c6;if(!_0x3c8e2d||!_0x3c8e2d[_0x591eb7(0x11e)])return;[_0x1277cf[_0x591eb7(0x10d)],_0x1277cf[_0x591eb7(0x19a)]][_0x591eb7(0x115)](_0x2d1c71=>{const _0x2993ea=_0x3c8e2d['parent'][_0x2d1c71];_0x2993ea['forEach'](_0x5844fc=>{const _0x17a936=a4_0x3d43;_0x5844fc[_0x17a936(0x18a)]&&(_0x5844fc['hookAnalyticsId']=null);});});};[a4_0x343d35(0xec)](_0x48bc1c){const _0x5783fb=a4_0x343d35,_0x1a9345={'ATbUv':'codeceptjs','JNXBA':function(_0x290cac){return _0x290cac();},'GcRJe':function(_0x339e80,_0xf4ad1e){return _0x339e80===_0xf4ad1e;},'sAxXb':_0x5783fb(0x199),'TwpYG':function(_0xa054cf){return _0xa054cf();},'HINdg':_0x5783fb(0x118),'XdxbC':'_afterAll','VBezm':_0x5783fb(0x192)};if(!_0x48bc1c||!_0x48bc1c[_0x5783fb(0x11e)])return;[_0x1a9345[_0x5783fb(0x11c)],_0x1a9345[_0x5783fb(0x198)],_0x1a9345[_0x5783fb(0x109)],_0x1a9345['sAxXb']][_0x5783fb(0x115)](_0x46ec85=>{const _0x9fbe46=_0x5783fb,_0x1558ff=_0x48bc1c[_0x9fbe46(0x11e)][_0x46ec85]||[];_0x1558ff[_0x9fbe46(0x115)](_0x3d0e16=>{const _0x37d644=_0x9fbe46;if(_0x3d0e16[_0x37d644(0x16a)][_0x37d644(0x112)](_0x1a9345[_0x37d644(0x173)]))return;if(!_0x3d0e16['hookAnalyticsId'])_0x3d0e16[_0x37d644(0x18a)]=_0x1a9345['JNXBA'](uuidv4);else _0x3d0e16[_0x37d644(0x1d0)]&&_0x1a9345['GcRJe'](_0x46ec85,_0x1a9345[_0x37d644(0x1a4)])&&(_0x3d0e16['hookAnalyticsId']=_0x1a9345['TwpYG'](uuidv4),delete _0x3d0e16[_0x37d644(0x1d0)]);});}),this[_0x5783fb(0xec)](_0x48bc1c['parent']);}[a4_0x343d35(0x156)](_0x3c0acd){const _0x250eaa=a4_0x343d35,_0x5c910c={};_0x5c910c[_0x250eaa(0x183)]=_0x250eaa(0x118),_0x5c910c[_0x250eaa(0x155)]=_0x250eaa(0x1b8),_0x5c910c['ppemR']=_0x250eaa(0x192),_0x5c910c['Kkalm']='_afterEach';const _0x1fc283=_0x5c910c;if(!_0x3c0acd||!_0x3c0acd[_0x250eaa(0x11e)])return[];const _0x1c0422=[];return[_0x1fc283['MzEhc'],_0x1fc283[_0x250eaa(0x155)],_0x1fc283['ppemR'],_0x1fc283[_0x250eaa(0x14c)]][_0x250eaa(0x115)](_0x39e07d=>{const _0x3871f6=_0x250eaa,_0x2f5e98=_0x3c0acd[_0x3871f6(0x11e)][_0x39e07d]||[];_0x2f5e98[_0x3871f6(0x115)](_0x17a142=>{const _0x417f8a=_0x3871f6;_0x17a142[_0x417f8a(0x18a)]&&_0x1c0422['push'](_0x17a142[_0x417f8a(0x18a)]);});}),[][_0x250eaa(0x117)](_0x1c0422,this[_0x250eaa(0x156)](_0x3c0acd[_0x250eaa(0x11e)]));}[a4_0x343d35(0x196)](_0x4ff17c){const _0x575a01=a4_0x343d35,_0x58c851=/^"(?<hook>.*)" hook:.*$/,_0x206b88=_0x4ff17c[_0x575a01(0x16a)],_0x38f7cd=_0x206b88[_0x575a01(0x141)](_0x58c851);if(_0x38f7cd&&_0x38f7cd['groups'])return _0x38f7cd['groups'][_0x575a01(0x18d)][_0x575a01(0x17e)]()[_0x575a01(0x1b9)]('\x20','_');return null;}['findGitConfig'](_0x2bd10f){const _0x156649=a4_0x343d35,_0x575caa={};_0x575caa[_0x156649(0x12c)]=function(_0x5599ea,_0x4239d6){return _0x5599ea===_0x4239d6;},_0x575caa['zLOKL']=function(_0x3db18e,_0x591867){return _0x3db18e===_0x591867;},_0x575caa['DRzEs']='.git',_0x575caa[_0x156649(0x161)]='config';const _0x1cfaba=_0x575caa,_0x1649f7=path['sep'];if(_0x1cfaba['GXwkO'](_0x2bd10f,null)||_0x1cfaba['zLOKL'](_0x2bd10f,'')||_0x1cfaba[_0x156649(0x1b4)](_0x2bd10f,_0x1649f7)||_0x1cfaba[_0x156649(0x1b4)](_0x2bd10f,path[_0x156649(0x189)](_0x2bd10f)))return null;try{return fs[_0x156649(0x19f)](path[_0x156649(0x1a2)](_0x2bd10f,_0x1cfaba['DRzEs'],_0x1cfaba[_0x156649(0x161)])),_0x2bd10f;}catch(_0x29e93e){const _0x2be2d2=path[_0x156649(0x189)](_0x2bd10f);return this[_0x156649(0xf6)](_0x2be2d2);}}[a4_0x343d35(0x151)](_0xfd5715){const _0x121b44=a4_0x343d35,_0x2cd485={};_0x2cd485[_0x121b44(0x10c)]=function(_0x2e55cb,_0x114f58){return _0x2e55cb>_0x114f58;};const _0x12a5f7=_0x2cd485;if(_0xfd5715['file'])return _0xfd5715[_0x121b44(0x13d)];if(_0xfd5715[_0x121b44(0x1c9)]){const _0xaafddc=_0xfd5715['ctx']['currentTest']?this[_0x121b44(0x151)](_0xfd5715[_0x121b44(0x1c9)][_0x121b44(0x13c)]):null;if(_0xaafddc)return _0xaafddc;}if(_0xfd5715[_0x121b44(0x11e)]){const _0x52b235=this[_0x121b44(0x151)](_0xfd5715[_0x121b44(0x11e)])||(_0xfd5715[_0x121b44(0x11e)][_0x121b44(0x1c9)]&&_0xfd5715[_0x121b44(0x11e)]['ctx'][_0x121b44(0x13c)]?this['getRootParentFile'](_0xfd5715['parent'][_0x121b44(0x1c9)][_0x121b44(0x13c)]):null);if(_0x52b235)return _0x52b235;_0xfd5715[_0x121b44(0x11e)][_0x121b44(0x120)]&&_0x12a5f7['VWrsX'](_0xfd5715[_0x121b44(0x11e)][_0x121b44(0x120)][_0x121b44(0xf7)],0x0)&&_0xfd5715['parent'][_0x121b44(0x120)][_0x121b44(0x115)](_0x1a88f2=>{const _0x3a03e6=_0x121b44,_0x3dc19e=_0x1a88f2[_0x3a03e6(0x1c9)]?this[_0x3a03e6(0x151)](_0x1a88f2[_0x3a03e6(0x1c9)]):null;if(_0x3dc19e)return _0x3dc19e;});}return null;}['getHierarchy'](_0x50f30e){const _0x44c863=a4_0x343d35,_0x17bed6={};_0x17bed6[_0x44c863(0x11b)]=function(_0x5e55e6,_0x5dd84d){return _0x5e55e6!==_0x5dd84d;};const _0x5a3e72=_0x17bed6,_0x3b2864=[];if(_0x50f30e&&_0x50f30e['parent']){let _0x1a70cd=_0x50f30e[_0x44c863(0x11e)];while(_0x1a70cd&&_0x5a3e72[_0x44c863(0x11b)](_0x1a70cd[_0x44c863(0x16a)],'')){_0x3b2864[_0x44c863(0x101)](_0x1a70cd['title']),_0x1a70cd=_0x1a70cd[_0x44c863(0x11e)];}}return _0x3b2864;}[a4_0x343d35(0x15a)](_0x130977,_0x25e2c4,_0x2bae42=undefined){const _0x493967=a4_0x343d35,_0x566788={'kLNtR':function(_0x2c2925,_0x24b9e5){return _0x2c2925(_0x24b9e5);},'AOBIB':function(_0x38a202){return _0x38a202();},'iVYYV':function(_0x3a2fc6){return _0x3a2fc6();},'EbTKO':function(_0x30b44f){return _0x30b44f();},'mIAyD':'util','qwZzr':_0x493967(0x149),'tgEzc':function(_0x463ecf,_0x4c541a){return _0x463ecf!==_0x4c541a;},'vqouk':function(_0x2b268a,_0x21d789){return _0x2b268a!==_0x21d789;},'fsxrL':_0x493967(0x16f),'ejFgU':_0x493967(0x1be),'Wtdpg':_0x493967(0x14f),'StHdp':_0x493967(0x11d),'WZnEj':_0x493967(0x139),'NtTkd':_0x493967(0x158),'OrLsz':function(_0x344d62,_0x295547){return _0x344d62-_0x295547;},'BbVLl':function(_0x3d7b30,_0x6ccebf,_0x53e649,_0x1a9ac8,_0x3eb00e){return _0x3d7b30(_0x6ccebf,_0x53e649,_0x1a9ac8,_0x3eb00e);},'lZpUk':function(_0x48b156,_0x5f3c8f){return _0x48b156!==_0x5f3c8f;},'VeqKc':_0x493967(0x1c3),'olztk':_0x493967(0x1c4),'LOsCN':'failure','cUcJj':'failure_backtrace','TglZj':_0x493967(0x1b0),'jKDMB':_0x493967(0x175),'rSNRd':_0x493967(0x128),'WkUWW':function(_0x1da9df,_0x4ee90d){return _0x1da9df===_0x4ee90d;},'iKDaP':_0x493967(0xee),'eCNCs':'test_run'};if(!this[_0x493967(0x15f)])return;try{if(_0x25e2c4['fn']&&_0x25e2c4['fn'][_0x493967(0xe8)]()[_0x493967(0x141)](/browserstack internal helper hook/))return;const _0x83a22b=_0x566788[_0x493967(0x125)](parseEvent,_0x130977);if(!_0x83a22b)return;if(_0x83a22b[_0x493967(0xf2)]){this[_0x493967(0x13c)]=_0x25e2c4,this['currentHook']=null;if(_0x83a22b[_0x493967(0x180)]||_0x83a22b['skipped']){_0x25e2c4['startedAt']=new Date(),_0x25e2c4[_0x493967(0x1d0)]=![];if(!_0x25e2c4[_0x493967(0x166)])_0x25e2c4[_0x493967(0x166)]=_0x566788[_0x493967(0x110)](uuidv4);else _0x25e2c4['markedStatus']&&(!_0x25e2c4['retryOf']&&(_0x25e2c4['retryOf']=_0x25e2c4[_0x493967(0x166)]),_0x25e2c4[_0x493967(0x166)]=_0x566788[_0x493967(0x17f)](uuidv4));}}else{if(_0x83a22b[_0x493967(0x18d)]){this['currentHook']=_0x25e2c4;if(_0x83a22b[_0x493967(0x180)]){_0x25e2c4[_0x493967(0x134)]=new Date(),_0x25e2c4[_0x493967(0x1d0)]=![];if(!_0x25e2c4['hookAnalyticsId'])_0x25e2c4[_0x493967(0x18a)]=_0x566788[_0x493967(0x110)](uuidv4);else _0x25e2c4[_0x493967(0x18a)]&&_0x25e2c4[_0x493967(0x1d0)]&&(_0x25e2c4[_0x493967(0x18a)]=_0x566788[_0x493967(0x1c0)](uuidv4));}}}if(_0x83a22b[_0x493967(0x147)]&&_0x25e2c4[_0x493967(0x1d0)])return;let _0x4262a3;try{_0x4262a3=this[_0x493967(0x151)](_0x25e2c4);}catch(_0x13403b){logger['debug']('failed\x20to\x20get\x20root\x20parent\x20file\x20'+_0x13403b),_0x4262a3=null;}const _0x5c643f=_0x566788[_0x493967(0x125)](require,_0x566788[_0x493967(0x127)]);let _0x3d55f2=[];_0x2bae42&&(_0x3d55f2=[_0x2bae42,_0x566788[_0x493967(0x10e)]]);const _0x28cb62=_0x566788[_0x493967(0x136)](_0x25e2c4[_0x493967(0x1c1)],undefined)?_0x5c643f[_0x493967(0x15d)](_0x25e2c4[_0x493967(0x1c1)][0x0]):_0x566788['vqouk'](_0x2bae42,undefined)?_0x2bae42[_0x493967(0xe8)]():undefined,_0x141652=_0x4262a3?this['findGitConfig'](_0x4262a3):null,_0x2db7b0=_0x4262a3?this['_paths']['prefixTestPath'](this[_0x493967(0x151)](_0x25e2c4)):_0x566788[_0x493967(0x1d1)];let _0x241ef5=_0x566788[_0x493967(0x1d7)];const _0x4e2159=!_0x83a22b[_0x493967(0x180)]?new Date()['toISOString']():null;if(_0x83a22b[_0x493967(0x147)])_0x241ef5=_0x2bae42?_0x566788['Wtdpg']:_0x566788['StHdp'],_0x25e2c4[_0x493967(0x1d0)]=!![];else _0x83a22b[_0x493967(0x139)]&&(_0x241ef5=_0x566788[_0x493967(0x107)],_0x25e2c4[_0x493967(0x1d0)]=!![]);const _0x19dd52={'framework':this[_0x493967(0x1cb)],'uuid':_0x25e2c4[_0x493967(0x166)]||_0x25e2c4[_0x493967(0x18a)],'name':_0x25e2c4[_0x493967(0x16a)],'body':{'lang':_0x566788['NtTkd'],'code':_0x25e2c4[_0x493967(0x19b)][_0x493967(0xe8)]()},'type':_0x25e2c4[_0x493967(0x1a3)],'scope':_0x25e2c4['fullTitle'](),'scopes':this[_0x493967(0xff)](_0x25e2c4),'file_name':_0x2db7b0,'vc_filepath':_0x141652?path['relative'](_0x141652,_0x4262a3):null,'location':_0x2db7b0,'result':_0x241ef5,'failure_reason':_0x28cb62,'duration_in_ms':_0x25e2c4[_0x493967(0x12f)]||(_0x83a22b[_0x493967(0x147)]||_0x83a22b[_0x493967(0x139)])?_0x566788[_0x493967(0x108)](Date['now'](),new Date(_0x25e2c4[_0x493967(0x134)])[_0x493967(0x1a0)]()):null,'started_at':new Date(_0x25e2c4[_0x493967(0x134)])['toISOString'](),'finished_at':_0x4e2159,'failure':testOpsHelper[_0x493967(0x1ae)]['apply'](null,_0x3d55f2),'failure_type':!_0x28cb62?null:testOpsHelper[_0x493967(0x135)](_0x28cb62),'retry_of':_0x25e2c4[_0x493967(0x119)]||null,'tags':_0x25e2c4[_0x493967(0x116)]||[],'customRerunParam':{'rerun_name':_0x25e2c4[_0x493967(0x19c)]()}};_0x566788[_0x493967(0xe6)](appendTesthubParams,_0x19dd52,_0x130977,_0x25e2c4,FRAMEWORKS['CODECEPT']);if(_0x83a22b[_0x493967(0x18d)])[_0x19dd52[_0x493967(0xf1)],_0x19dd52[_0x493967(0x1aa)]]=[this[_0x493967(0x196)](_0x25e2c4),_0x25e2c4['ctx'][_0x493967(0xf2)][_0x493967(0x16a)]],_0x83a22b[_0x493967(0x147)]?_0x566788[_0x493967(0xfd)](_0x19dd52[_0x493967(0x170)],_0x566788[_0x493967(0x188)])&&(_0x19dd52[_0x493967(0x170)]=_0x566788[_0x493967(0x193)]):_0x19dd52[_0x493967(0x19b)]={};else _0x83a22b[_0x493967(0xf2)]&&(this[_0x493967(0xec)](_0x25e2c4),_0x83a22b[_0x493967(0x139)]&&this[_0x493967(0x140)](_0x25e2c4),(_0x83a22b[_0x493967(0x147)]||_0x83a22b['skipped'])&&(_0x19dd52[_0x493967(0x102)]=this[_0x493967(0x156)](_0x25e2c4)));this[_0x493967(0x18e)]&&(_0x83a22b[_0x493967(0x180)]||_0x83a22b[_0x493967(0x139)])&&(_0x19dd52[_0x566788[_0x493967(0x122)]]=this['getCBTInfo'](this[_0x493967(0x18e)]));_0x83a22b['test']&&_0x83a22b[_0x493967(0x147)]&&_0x25e2c4[_0x493967(0x1ab)]&&(_0x19dd52[_0x566788[_0x493967(0x1d6)]]={'feature':{'name':_0x25e2c4[_0x493967(0x11e)][_0x493967(0x171)][_0x493967(0x1aa)],'path':_0x19dd52['file_name'],'description':_0x25e2c4[_0x493967(0x11e)][_0x493967(0x1ac)]},'scenario':{'name':_0x25e2c4['title']},'steps':_0x25e2c4[_0x493967(0x1ab)]});const _0x5b8dc1=_0x19dd52[_0x566788['LOsCN']][0x0];_0x5b8dc1&&(_0x19dd52[_0x566788[_0x493967(0xe7)]]=_0x5b8dc1[_0x566788[_0x493967(0x1c7)]],_0x19dd52[_0x566788[_0x493967(0x1a1)]]=_0x5b8dc1[_0x566788[_0x493967(0x15c)]]);if(_0x25e2c4['bddSteps'])for(const _0x2cec4c of _0x25e2c4[_0x493967(0x1ab)]){!_0x2cec4c[_0x493967(0x104)]&&(_0x2cec4c[_0x493967(0x104)]=new Date()[_0x493967(0x187)](),_0x566788[_0x493967(0x197)](_0x2cec4c[_0x493967(0x170)],_0x566788[_0x493967(0x1d7)])&&(_0x5b8dc1?(_0x2cec4c['result']=_0x566788[_0x493967(0x188)],_0x2cec4c[_0x493967(0xef)]=_0x5b8dc1[_0x566788[_0x493967(0x1c7)]][0x0]):_0x2cec4c[_0x493967(0x170)]=_0x566788[_0x493967(0x193)]));}const _0x37ff3b={};_0x37ff3b[_0x493967(0xe4)]=_0x83a22b['skipped']?TEST_EVENTS[_0x493967(0xeb)]:_0x130977;const _0x375b2e=_0x37ff3b;return _0x83a22b['hook']?_0x375b2e[_0x566788[_0x493967(0x1af)]]=_0x19dd52:_0x375b2e[_0x566788[_0x493967(0x18c)]]=_0x19dd52,_0x375b2e;}catch(_0x3a4d19){logger['debug'](_0x493967(0x146)+_0x130977+_0x493967(0x126)+_0x3a4d19);}}async[a4_0x343d35(0xe3)](_0x10a928,_0x2267e7){const _0x120356=a4_0x343d35;if(!this['enabled']||!_0x2267e7||!_0x10a928)return![];try{return await SessionHandler[_0x120356(0x152)](_0x2267e7);}catch(_0x1b3f21){logger[_0x120356(0x1ce)](_0x120356(0xea)+_0x10a928+_0x120356(0x126)+_0x1b3f21);}}[a4_0x343d35(0x132)](_0x34ad90){const _0x301875=a4_0x343d35,_0x7a76f={};_0x7a76f['SyeWH']=_0x301875(0x1be);const _0x17bcbb=_0x7a76f;return{'id':_0x34ad90[_0x301875(0x16c)],'text':_0x34ad90[_0x301875(0x1bb)],'keyword':_0x34ad90['keyword'],'started_at':_0x34ad90[_0x301875(0x134)][_0x301875(0x187)](),'result':_0x17bcbb[_0x301875(0x17b)]};}[a4_0x343d35(0x1b5)](_0x5aa3ff){const _0x5d7a8f=a4_0x343d35,_0x38a611={'MlVWn':function(_0xa1e4fc){return _0xa1e4fc();}};!this[_0x5d7a8f(0x13c)]['bddSteps']&&(this[_0x5d7a8f(0x13c)][_0x5d7a8f(0x1ab)]=[]),!_0x5aa3ff[_0x5d7a8f(0x16c)]&&(_0x5aa3ff[_0x5d7a8f(0x16c)]=_0x38a611[_0x5d7a8f(0x11f)](uuidv4),_0x5aa3ff['startedAt']=new Date(),this[_0x5d7a8f(0x13c)][_0x5d7a8f(0x1ab)][_0x5d7a8f(0x101)](this['initializeBddStep'](_0x5aa3ff)));}[a4_0x343d35(0x154)](_0x21c7db){const _0x32ce6c=a4_0x343d35,_0x424cd6={'aCfaH':function(_0x209823,_0x358442){return _0x209823(_0x358442);},'iCUdg':_0x32ce6c(0xf8),'aUJUZ':_0x32ce6c(0x1be),'mJafs':_0x32ce6c(0x11d),'bjuhW':function(_0x53392f,_0x27d960){return _0x53392f-_0x27d960;}};let _0x28966f=this[_0x32ce6c(0x13c)][_0x32ce6c(0x1ab)]['find'](_0x585a8c=>_0x585a8c['id']===_0x21c7db['stepAnalyticsId']);_0x424cd6['aCfaH'](isUndefined,_0x28966f)&&(_0x28966f=this[_0x32ce6c(0x132)](_0x21c7db)),_0x28966f[_0x32ce6c(0x170)]=[_0x424cd6[_0x32ce6c(0xfa)],_0x424cd6['aUJUZ']][_0x32ce6c(0x112)](_0x21c7db[_0x32ce6c(0x13e)])?_0x424cd6[_0x32ce6c(0x17a)]:_0x21c7db['status'],_0x28966f[_0x32ce6c(0x104)]=new Date()[_0x32ce6c(0x187)](),_0x28966f[_0x32ce6c(0x12f)]=_0x424cd6[_0x32ce6c(0x13b)](Date[_0x32ce6c(0xed)](),_0x21c7db['startedAt'][_0x32ce6c(0x1a0)]()),_0x28966f[_0x32ce6c(0xef)]=_0x21c7db['err']?_0x21c7db[_0x32ce6c(0x149)][_0x32ce6c(0xf4)]:null;}}const a4_0x504abc={};a4_0x504abc[a4_0x343d35(0x129)]=O11yHelper,a4_0x504abc['STATE_PASSED']=STATE_PASSED,a4_0x504abc['STATE_FAILED']=STATE_FAILED,a4_0x504abc[a4_0x343d35(0x145)]=TEST_EVENTS,module[a4_0x343d35(0x17d)]=a4_0x504abc;function a4_0x3d43(_0x381ed5,_0x26a21b){const _0x296616=a4_0x2966();return a4_0x3d43=function(_0x3d436c,_0x50775e){_0x3d436c=_0x3d436c-0xe3;let _0x98e034=_0x296616[_0x3d436c];return _0x98e034;},a4_0x3d43(_0x381ed5,_0x26a21b);}function a4_0x2966(){const _0xb74929=['WkUWW','XdxbC','_afterEach','bHMWp','body','fullTitle','InXxw','_paths','statSync','getTime','jKDMB','join','type','sAxXb','Playwright','LogCreated','joFGn','SdMac','launch','name','bddSteps','comment','Exception\x20in\x20uploading\x20log\x20data\x20to\x20Observability\x20with\x20error\x20:\x20','failureData','iKDaP','backtrace','SdUGN','bind','test_run_uuid','zLOKL','bddStepStart','9899btcehq','uuid','_afterAll','replace','location_prefix','text','yHuez','start','pending','./helper.js','EbTKO','errorsDetailed','winstonLogger','integrations','meta','../playwright/accessibility-helper','11561683YbEjII','TglZj','removeAllListeners','ctx','currentHook','frameworkName','toLowerCase','JAMWG','debug','EHBib','markedStatus','fsxrL','getCBTInfo','wsEndpoint','PathHelper','patchConsoleLogger','olztk','ejFgU','TestRunSkipped','fireEvent','event_type','cHLJI','BbVLl','cUcJj','toString','apply','Exception\x20in\x20sending\x20test\x20data\x20for\x20event\x20','TEST_RUN_FINISHED','mapTestHooks','now','hook_run','failure','split','hook_type','test','prototype','message','HmLkY','findGitConfig','length','success','Not\x20able\x20to\x20import\x20Browser','iCUdg','lib','6214288GmGLxO','lZpUk','obsBrowserTypeMockApplied','getHierarchy','../mocha/test-observability/mochaUtils','push','hooks','tSTFn','finished_at','aADEO','ieMsQ','WZnEj','OrLsz','VBezm','constructor','TUGbB','VWrsX','MQQSh','qwZzr','jnVZX','AOBIB','sendCBTInfo','includes','_testEnv','bs:addLog:','forEach','tags','concat','_beforeAll','retryOf','pxEkm','fjqGZ','HINdg','passed','parent','MlVWn','suites','TestRunFinished','VeqKc','path','dvmzD','kLNtR','\x20with\x20error\x20:\x20','mIAyD','expanded','O11yHelper','vuzeQ','qxXYQ','GXwkO','then','CwdNF','duration','HookRunStarted','OEwXW','initializeBddStep','MSsZT','startedAt','getFailureType','tgEzc','Failed\x20to\x20parse\x20wsendpoint\x20','8610174BSbiFq','skipped','8vsoeKt','bjuhW','currentTest','file','status','appendTestItemLog','resetSkipTestHooks','match','../playwright/sessionDetails','browserType.js','TEST_RUN_STARTED','TEST_EVENTS','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','finished','HOOK_RUN_STARTED','err','oRsbo','DBHVu','Kkalm','pid','961014yzdTDZ','failed','StWBY','getRootParentFile','uploadEventData','../utils/constants','bddStepFinish','IpUiW','getHooksForTest','MAWAZ','javascript','setupBrowserDetails','captureEvent','test_run','rSNRd','inspect','../../helpers/helper','enabled','BrowserType','DgknB','uCrxV','browserstack','407145JEETNr','../../helpers/logger','testAnalyticsId','connectOverCDP','vfgVu','HOOK_RUN_FINISHED','title','osPbx','stepAnalyticsId','338JESDBr','connect','File\x20path\x20could\x20not\x20be\x20found','result','feature','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20Observability\x20with\x20error\x20:\x20','ATbUv','hook_run_uuid','failure_reason_expanded','stop','../../helpers/test-observability/requestQueueHandler','5EbIrhU','shutdown','mJafs','SyeWH','__platformCaps','exports','toUpperCase','iVYYV','started','yNgiK','../../helpers/test-observability/sessionHandler','MzEhc','zedYD','cwd','defineProperty','toISOString','Wtdpg','dirname','hookAnalyticsId','string','eCNCs','hook','driver','TNRsg','client','uOSax','_beforeEach','StHdp','4|1|2|5|3|0','2048950EBQges','getHookType'];a4_0x2966=function(){return _0xb74929;};return a4_0x2966();}
|
|
1
|
+
const a4_0x3e1156=a4_0x582b;(function(_0x3d32c4,_0x3d8265){const _0x1ab48e=a4_0x582b,_0x1154f9=_0x3d32c4();while(!![]){try{const _0x26afbd=parseInt(_0x1ab48e(0x27e))/0x1*(parseInt(_0x1ab48e(0x1ae))/0x2)+parseInt(_0x1ab48e(0x252))/0x3+parseInt(_0x1ab48e(0x244))/0x4+-parseInt(_0x1ab48e(0x1ca))/0x5*(-parseInt(_0x1ab48e(0x1ad))/0x6)+-parseInt(_0x1ab48e(0x201))/0x7+parseInt(_0x1ab48e(0x261))/0x8*(parseInt(_0x1ab48e(0x1f8))/0x9)+-parseInt(_0x1ab48e(0x1b7))/0xa*(parseInt(_0x1ab48e(0x27c))/0xb);if(_0x26afbd===_0x3d8265)break;else _0x1154f9['push'](_0x1154f9['shift']());}catch(_0x215c32){_0x1154f9['push'](_0x1154f9['shift']());}}}(a4_0x3d3c,0xa93c6));const path=require(a4_0x3e1156(0x1d4)),fs=require('fs'),{v4:uuidv4}=require(a4_0x3e1156(0x220)),{importFileFromPWCore,nestedKeyValue,parseWSEndpoint,isUndefined}=require(a4_0x3e1156(0x1de)),testOpsHelper=require(a4_0x3e1156(0x276)),{getTestEnv}=require(a4_0x3e1156(0x1cb)),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),logger=require(a4_0x3e1156(0x23e))[a4_0x3e1156(0x1a3)],SessionHandler=require(a4_0x3e1156(0x1f1)),RequestQueueHandler=require('../../helpers/test-observability/requestQueueHandler'),PlaywrightSessionDetails=require(a4_0x3e1156(0x1a4)),debug=testOpsHelper[a4_0x3e1156(0x28b)],{processAccessibilityCaps}=require('../playwright/accessibility-helper'),Constants=require(a4_0x3e1156(0x19f)),{fetchPlatformDetails}=require('./helper.js'),{shouldProcessEventForTesthub,appendTesthubParams}=require(a4_0x3e1156(0x1b1)),STATE_PASSED='passed',STATE_FAILED=a4_0x3e1156(0x278),a4_0x5acceb={};function a4_0x582b(_0x1b54fc,_0x5235f4){const _0x3d3c32=a4_0x3d3c();return a4_0x582b=function(_0x582bfb,_0x30a17a){_0x582bfb=_0x582bfb-0x19a;let _0x385420=_0x3d3c32[_0x582bfb];return _0x385420;},a4_0x582b(_0x1b54fc,_0x5235f4);}a4_0x5acceb[a4_0x3e1156(0x22f)]=a4_0x3e1156(0x207),a4_0x5acceb[a4_0x3e1156(0x290)]=a4_0x3e1156(0x280),a4_0x5acceb[a4_0x3e1156(0x1c5)]='TestRunSkipped',a4_0x5acceb[a4_0x3e1156(0x288)]=a4_0x3e1156(0x19a),a4_0x5acceb[a4_0x3e1156(0x1a0)]='HookRunFinished';const TEST_EVENTS=a4_0x5acceb,parseEvent=_0x3da79a=>{const _0xa2911=a4_0x3e1156,_0x4dd569={};_0x4dd569[_0xa2911(0x250)]=function(_0x37020e,_0x3fcac3){return _0x37020e<_0x3fcac3;},_0x4dd569[_0xa2911(0x259)]=function(_0x12935e,_0x36f32c){return _0x12935e===_0x36f32c;},_0x4dd569[_0xa2911(0x21c)]='test',_0x4dd569[_0xa2911(0x1ac)]=_0xa2911(0x24f),_0x4dd569[_0xa2911(0x28a)]=_0xa2911(0x227),_0x4dd569[_0xa2911(0x1d1)]=_0xa2911(0x202),_0x4dd569[_0xa2911(0x233)]=function(_0x55bc4,_0x51b6a9){return _0x55bc4===_0x51b6a9;},_0x4dd569[_0xa2911(0x251)]=_0xa2911(0x200);const _0x5897e4=_0x4dd569,_0x513fc4=_0x3da79a[_0xa2911(0x21b)](/^(.*)Run(.*)$/);if(!_0x513fc4)return null;if(_0x5897e4[_0xa2911(0x250)](_0x513fc4[_0xa2911(0x28d)],0x3))return null;const _0x51c330=_0x513fc4[0x1][_0xa2911(0x1e1)](),_0x4d2bc2=_0x513fc4[0x2][_0xa2911(0x1e1)]();return{'test':_0x5897e4[_0xa2911(0x259)](_0x51c330,_0x5897e4[_0xa2911(0x21c)]),'hook':_0x5897e4[_0xa2911(0x259)](_0x51c330,_0x5897e4[_0xa2911(0x1ac)]),'skipped':_0x5897e4[_0xa2911(0x259)](_0x4d2bc2,_0x5897e4['roNCT']),'started':_0x5897e4[_0xa2911(0x259)](_0x4d2bc2,_0x5897e4['HbvxQ']),'finished':_0x5897e4[_0xa2911(0x233)](_0x4d2bc2,_0x5897e4['lBQry'])};},mockPWBrowserType=_0xc4e2a=>{const _0x260cca=a4_0x3e1156,_0x2b7e19={'hDFGO':function(_0x374008,_0x3e31ac,_0x1252e2){return _0x374008(_0x3e31ac,_0x1252e2);},'uFALN':_0x260cca(0x24b),'ALrtC':function(_0x50f649,_0xf37dd9){return _0x50f649(_0xf37dd9);},'OMUit':_0x260cca(0x27a),'HCRTQ':function(_0x40fb32,_0x11e47a,_0x26eada){return _0x40fb32(_0x11e47a,_0x26eada);},'woZag':function(_0x19ff30,_0x131e51){return _0x19ff30===_0x131e51;},'cjoKD':'string','HmzEA':'lib','ZVxgg':_0x260cca(0x286),'gyIBf':_0x260cca(0x218),'BFUEP':_0x260cca(0x242),'yAcFx':'connect','IBLiG':'launch'},_0x4ea60b=path['join'](_0x2b7e19[_0x260cca(0x1b8)],_0x2b7e19[_0x260cca(0x21a)],_0x2b7e19[_0x260cca(0x283)]),_0x54e44a=_0x2b7e19[_0x260cca(0x284)](importFileFromPWCore,_0x4ea60b);if(!_0x54e44a){_0x2b7e19['ALrtC'](debug,_0x2b7e19[_0x260cca(0x1c7)]);return;}const _0x4bc669=_0x54e44a[_0x260cca(0x1ef)],_0x500090=_0x4bc669[_0x260cca(0x1f6)];if(_0x500090['obsBrowserTypeMockApplied'])return;const _0xb6d41e=_0x500090[_0x260cca(0x206)];Object['defineProperty'](_0x500090,_0x2b7e19[_0x260cca(0x267)],{'get':function(){const _0xbe751b=_0x260cca,_0x1cfb4d={'Ocjym':function(_0x3465c8,_0x3cfc4c){return _0x2b7e19['woZag'](_0x3465c8,_0x3cfc4c);},'BBCko':_0x2b7e19[_0xbe751b(0x1e0)]};return async function _0x56c3cd(_0x54e73d,_0x2bf4bb){const _0x9ac212=_0xbe751b,_0x595505=_0x2b7e19[_0x9ac212(0x1c2)](nestedKeyValue,_0x54e73d,[_0x2b7e19[_0x9ac212(0x1cc)]])||_0x54e73d;let _0x4bda12=null,_0x2e4a42=null;try{[_0x2e4a42,_0x4bda12]=_0x595505?_0x2b7e19[_0x9ac212(0x284)](parseWSEndpoint,_0x595505):[null,null],global['__platformCaps']=_0x4bda12,_0x2e4a42['includes'](_0x2b7e19[_0x9ac212(0x23a)])&&(global[_0x9ac212(0x1fc)]=_0x2b7e19[_0x9ac212(0x23a)]);}catch(_0x3efae0){logger[_0x9ac212(0x28b)]('Failed\x20to\x20parse\x20wsendpoint\x20'+_0x595505+'\x20'+_0x3efae0);}_0x2b7e19[_0x9ac212(0x1af)](processAccessibilityCaps,_0x4bda12,_0x2e4a42);if(global[_0x9ac212(0x26a)]){const _0x5b0fa3=await _0x500090['connectOverCDP']['apply'](this,[''+Constants[_0x9ac212(0x1d0)]+_0x2b7e19['ALrtC'](encodeURIComponent,JSON[_0x9ac212(0x23b)](_0x4bda12))]);return PlaywrightSessionDetails[_0x9ac212(0x236)](_0x5b0fa3,_0xc4e2a,_0x595505),_0x5b0fa3;}return _0xb6d41e[_0x9ac212(0x1e5)](this,arguments)[_0x9ac212(0x1c1)](_0x39cc68=>{const _0x2b7e0a=_0x9ac212;let _0x5c8558=_0x54e73d[_0x2b7e0a(0x24b)];return _0x1cfb4d[_0x2b7e0a(0x230)](typeof _0x54e73d,_0x1cfb4d[_0x2b7e0a(0x273)])&&(_0x5c8558=_0x54e73d),PlaywrightSessionDetails[_0x2b7e0a(0x236)](_0x39cc68,_0xc4e2a,_0x5c8558),_0x39cc68;});};}});const _0x45680f=_0x500090['launch'];Object[_0x260cca(0x1a7)](_0x500090,_0x2b7e19[_0x260cca(0x226)],{'get':function(){return async function _0x44abfc(){const _0x26353a=a4_0x582b;return _0x45680f['apply'](this,arguments)[_0x26353a(0x1c1)](_0x5c8482=>{const _0x2499aa=_0x26353a;return PlaywrightSessionDetails[_0x2499aa(0x236)](_0x5c8482,null),_0x5c8482;});};}});};class O11yHelper{[a4_0x3e1156(0x20b)]=null;[a4_0x3e1156(0x19c)]=null;['enabled']=![];[a4_0x3e1156(0x1a2)]=![];constructor(_0x323011,_0xe76ed0){const _0x4d2011=a4_0x3e1156,_0x595387={'fIhoK':_0x4d2011(0x1c0),'SzEWm':function(_0x17c141){return _0x17c141();},'fBRhx':function(_0x596a4c){return _0x596a4c();},'uBQzk':function(_0x3c3784,_0x2c91fa){return _0x3c3784===_0x2c91fa;},'ZTeIk':_0x4d2011(0x19d),'XvnCw':function(_0x1e3bc8,_0x31f872){return _0x1e3bc8(_0x31f872);}},_0x471647=_0x595387[_0x4d2011(0x1e4)][_0x4d2011(0x1e3)]('|');let _0x1a388b=0x0;while(!![]){switch(_0x471647[_0x1a388b++]){case'0':this['_paths']=new testOpsHelper[(_0x4d2011(0x1b2))]({'cwd':process[_0x4d2011(0x281)]()},this['_testEnv']['location_prefix']);continue;case'1':this[_0x4d2011(0x1b0)]=_0x595387[_0x4d2011(0x246)](getTestEnv);continue;case'2':this[_0x4d2011(0x1a2)]=_0xe76ed0[_0x4d2011(0x1a2)];continue;case'3':this[_0x4d2011(0x22d)]=_0x323011;continue;case'4':this[_0x4d2011(0x1fb)]=_0x595387[_0x4d2011(0x25e)](shouldProcessEventForTesthub);continue;case'5':this[_0x4d2011(0x22d)]&&_0x595387[_0x4d2011(0x209)](this[_0x4d2011(0x22d)][_0x4d2011(0x1e7)][_0x4d2011(0x224)],_0x595387[_0x4d2011(0x28f)])&&_0x595387[_0x4d2011(0x26b)](mockPWBrowserType,null);continue;}break;}}['start'](){const _0x50619b=a4_0x3e1156;if(!this['enabled'])return;testOpsHelper[_0x50619b(0x232)](),process[_0x50619b(0x1ee)](_0x50619b(0x1a8)+process[_0x50619b(0x1cf)]),process['on'](_0x50619b(0x1a8)+process[_0x50619b(0x1cf)],this[_0x50619b(0x1dd)]['bind'](this));}async[a4_0x3e1156(0x212)](){const _0x452254=a4_0x3e1156;await RequestQueueHandler[_0x452254(0x1b5)]()['shutdown']();}async[a4_0x3e1156(0x1dd)](_0x35d660){const _0x23b9be=a4_0x3e1156,_0x557c53={'FmrXh':_0x23b9be(0x222),'WDoPl':function(_0x445d62,_0x49557b){return _0x445d62(_0x49557b);}};try{this['currentHook']&&!this[_0x23b9be(0x19c)]['markedStatus']&&(_0x35d660[_0x23b9be(0x237)]=this[_0x23b9be(0x19c)][_0x23b9be(0x25b)]);!_0x35d660['hook_run_uuid']&&this[_0x23b9be(0x20b)]&&!this[_0x23b9be(0x20b)][_0x23b9be(0x1e6)]&&(_0x35d660[_0x23b9be(0x20c)]=this[_0x23b9be(0x20b)][_0x23b9be(0x1a6)]);if(_0x35d660['hook_run_uuid']||_0x35d660['test_run_uuid']){const _0x318982={};_0x318982[_0x23b9be(0x221)]=_0x557c53[_0x23b9be(0x269)],_0x318982[_0x23b9be(0x1d7)]=[_0x35d660],await SessionHandler[_0x23b9be(0x205)](_0x318982);}}catch(_0x462b2c){_0x557c53[_0x23b9be(0x282)](debug,_0x23b9be(0x26c)+_0x462b2c);}}async[a4_0x3e1156(0x234)](_0xb451e7){const _0x1cc545=a4_0x3e1156,_0x4f1387={'OhQdP':'CBTSessionCreated','aNqpS':function(_0x46b562,_0x41eef2){return _0x46b562(_0x41eef2);}};if(!this[_0x1cc545(0x1fb)])return;const _0x196b1f=this[_0x1cc545(0x1aa)](this[_0x1cc545(0x22d)]);try{const _0x47e593={};_0x47e593[_0x1cc545(0x220)]=_0xb451e7,_0x47e593[_0x1cc545(0x1c6)]=_0x196b1f;const _0x472a56=_0x47e593,_0x465b41={};_0x465b41[_0x1cc545(0x221)]=_0x4f1387[_0x1cc545(0x208)],_0x465b41[_0x1cc545(0x266)]=_0x472a56,await SessionHandler[_0x1cc545(0x205)](_0x465b41);}catch(_0x44893e){_0x4f1387[_0x1cc545(0x253)](debug,_0x1cc545(0x1be)+_0x44893e);}}[a4_0x3e1156(0x1aa)](_0xe6fa2d){const _0x283170=a4_0x3e1156,_0x2174e8={'RfgRD':function(_0x370db3,_0x1f0c32){return _0x370db3(_0x1f0c32);}};return _0x2174e8[_0x283170(0x1df)](fetchPlatformDetails,_0xe6fa2d);}[a4_0x3e1156(0x1ec)]=_0x473e50=>{const _0x58bb66=a4_0x3e1156,_0x492625={};_0x492625['HXcQI']=_0x58bb66(0x245),_0x492625[_0x58bb66(0x271)]=_0x58bb66(0x25d);const _0x70ce22=_0x492625;if(!_0x473e50||!_0x473e50[_0x58bb66(0x1c4)])return;[_0x70ce22[_0x58bb66(0x1f2)],_0x70ce22[_0x58bb66(0x271)]][_0x58bb66(0x22e)](_0x5971ab=>{const _0x2a107a=_0x58bb66,_0x33090d=_0x473e50[_0x2a107a(0x1c4)][_0x5971ab];_0x33090d[_0x2a107a(0x22e)](_0x21daec=>{const _0x3089d8=_0x2a107a;_0x21daec[_0x3089d8(0x25b)]&&(_0x21daec[_0x3089d8(0x25b)]=null);});});};[a4_0x3e1156(0x27f)](_0x576884){const _0x3127fc=a4_0x3e1156,_0x281328={'FQBxj':_0x3127fc(0x23d),'XJvOC':function(_0x17fccd){return _0x17fccd();},'qKgNX':function(_0x1c52e1,_0x3e7ebd){return _0x1c52e1===_0x3e7ebd;},'NsAOR':_0x3127fc(0x25d),'vTgnV':_0x3127fc(0x25f),'awUMl':_0x3127fc(0x241),'dihHE':_0x3127fc(0x245)};if(!_0x576884||!_0x576884['parent'])return;[_0x281328['vTgnV'],_0x281328['awUMl'],_0x281328['dihHE'],_0x281328[_0x3127fc(0x219)]]['forEach'](_0x34ade7=>{const _0x5eaa64=_0x3127fc,_0x5f4d8=_0x576884[_0x5eaa64(0x1c4)][_0x34ade7]||[];_0x5f4d8['forEach'](_0x4085bc=>{const _0xc4d460=_0x5eaa64;if(_0x4085bc[_0xc4d460(0x1f9)][_0xc4d460(0x1f3)](_0x281328[_0xc4d460(0x258)]))return;if(!_0x4085bc[_0xc4d460(0x25b)])_0x4085bc[_0xc4d460(0x25b)]=_0x281328[_0xc4d460(0x1fd)](uuidv4);else _0x4085bc[_0xc4d460(0x1e6)]&&_0x281328[_0xc4d460(0x228)](_0x34ade7,_0x281328[_0xc4d460(0x219)])&&(_0x4085bc[_0xc4d460(0x25b)]=_0x281328[_0xc4d460(0x1fd)](uuidv4),delete _0x4085bc[_0xc4d460(0x1e6)]);});}),this[_0x3127fc(0x27f)](_0x576884[_0x3127fc(0x1c4)]);}[a4_0x3e1156(0x22a)](_0x24bd13){const _0x114c27=a4_0x3e1156,_0x43d5fe={};_0x43d5fe[_0x114c27(0x213)]=_0x114c27(0x25f),_0x43d5fe[_0x114c27(0x223)]=_0x114c27(0x241),_0x43d5fe['ewvUK']=_0x114c27(0x245),_0x43d5fe['JWJpO']=_0x114c27(0x25d);const _0x3c928f=_0x43d5fe;if(!_0x24bd13||!_0x24bd13[_0x114c27(0x1c4)])return[];const _0x399df8=[];return[_0x3c928f[_0x114c27(0x213)],_0x3c928f[_0x114c27(0x223)],_0x3c928f[_0x114c27(0x1d2)],_0x3c928f['JWJpO']][_0x114c27(0x22e)](_0x4ecc5f=>{const _0x8c8493=_0x114c27,_0x379ae6=_0x24bd13[_0x8c8493(0x1c4)][_0x4ecc5f]||[];_0x379ae6['forEach'](_0xa372b2=>{const _0x34fa87=_0x8c8493;_0xa372b2[_0x34fa87(0x25b)]&&_0x399df8[_0x34fa87(0x231)](_0xa372b2[_0x34fa87(0x25b)]);});}),[][_0x114c27(0x204)](_0x399df8,this[_0x114c27(0x22a)](_0x24bd13[_0x114c27(0x1c4)]));}[a4_0x3e1156(0x254)](_0x1ab8f2){const _0x4e0eb9=a4_0x3e1156,_0x1758a9=/^"(?<hook>.*)" hook:.*$/,_0x164a5a=_0x1ab8f2[_0x4e0eb9(0x1f9)],_0xedc483=_0x164a5a[_0x4e0eb9(0x21b)](_0x1758a9);if(_0xedc483&&_0xedc483[_0x4e0eb9(0x20e)])return _0xedc483[_0x4e0eb9(0x20e)][_0x4e0eb9(0x24f)][_0x4e0eb9(0x265)]()[_0x4e0eb9(0x249)]('\x20','_');return null;}[a4_0x3e1156(0x285)](_0x41f417){const _0x488618=a4_0x3e1156,_0x1af35b={};_0x1af35b[_0x488618(0x24a)]=function(_0x21d35a,_0x42e490){return _0x21d35a===_0x42e490;},_0x1af35b[_0x488618(0x1f4)]=function(_0x208cc4,_0x390976){return _0x208cc4===_0x390976;},_0x1af35b[_0x488618(0x26d)]=_0x488618(0x264),_0x1af35b[_0x488618(0x256)]=_0x488618(0x1d3);const _0x7e719a=_0x1af35b,_0x3b1be8=path[_0x488618(0x1f5)];if(_0x7e719a[_0x488618(0x24a)](_0x41f417,null)||_0x7e719a['wEaWI'](_0x41f417,'')||_0x7e719a[_0x488618(0x24a)](_0x41f417,_0x3b1be8)||_0x7e719a[_0x488618(0x24a)](_0x41f417,path['dirname'](_0x41f417)))return null;try{return fs[_0x488618(0x25c)](path['join'](_0x41f417,_0x7e719a['wJUdz'],_0x7e719a[_0x488618(0x256)])),_0x41f417;}catch(_0x456ead){const _0x1d931b=path['dirname'](_0x41f417);return this['findGitConfig'](_0x1d931b);}}[a4_0x3e1156(0x1c8)](_0xcbe7dc){const _0x116af0=a4_0x3e1156,_0x3b5aac={};_0x3b5aac[_0x116af0(0x24e)]=function(_0xd5aeff,_0x2b47cc){return _0xd5aeff>_0x2b47cc;};const _0x10ba3c=_0x3b5aac;if(_0xcbe7dc[_0x116af0(0x247)])return _0xcbe7dc['file'];if(_0xcbe7dc[_0x116af0(0x24d)]){const _0x5c0787=_0xcbe7dc[_0x116af0(0x24d)][_0x116af0(0x20b)]?this[_0x116af0(0x1c8)](_0xcbe7dc[_0x116af0(0x24d)][_0x116af0(0x20b)]):null;if(_0x5c0787)return _0x5c0787;}if(_0xcbe7dc[_0x116af0(0x1c4)]){const _0xe5e78f=this[_0x116af0(0x1c8)](_0xcbe7dc[_0x116af0(0x1c4)])||(_0xcbe7dc[_0x116af0(0x1c4)][_0x116af0(0x24d)]&&_0xcbe7dc[_0x116af0(0x1c4)][_0x116af0(0x24d)][_0x116af0(0x20b)]?this['getRootParentFile'](_0xcbe7dc[_0x116af0(0x1c4)]['ctx'][_0x116af0(0x20b)]):null);if(_0xe5e78f)return _0xe5e78f;_0xcbe7dc[_0x116af0(0x1c4)][_0x116af0(0x277)]&&_0x10ba3c[_0x116af0(0x24e)](_0xcbe7dc[_0x116af0(0x1c4)][_0x116af0(0x277)][_0x116af0(0x28d)],0x0)&&_0xcbe7dc[_0x116af0(0x1c4)]['suites'][_0x116af0(0x22e)](_0x20e4bc=>{const _0x16c880=_0x116af0,_0x1c23c4=_0x20e4bc['ctx']?this['getRootParentFile'](_0x20e4bc[_0x16c880(0x24d)]):null;if(_0x1c23c4)return _0x1c23c4;});}return null;}[a4_0x3e1156(0x262)](_0x511f0f){const _0x5ae0ec=a4_0x3e1156,_0x390aed={};_0x390aed[_0x5ae0ec(0x216)]=function(_0x5b5efa,_0x45d39e){return _0x5b5efa!==_0x45d39e;};const _0x1418ba=_0x390aed,_0x1cc344=[];if(_0x511f0f&&_0x511f0f['parent']){let _0x4fde7=_0x511f0f[_0x5ae0ec(0x1c4)];while(_0x4fde7&&_0x1418ba[_0x5ae0ec(0x216)](_0x4fde7[_0x5ae0ec(0x1f9)],'')){_0x1cc344['push'](_0x4fde7[_0x5ae0ec(0x1f9)]),_0x4fde7=_0x4fde7['parent'];}}return _0x1cc344;}[a4_0x3e1156(0x22b)](_0x2af072,_0x296d8b,_0x289b52=undefined){const _0x520331=a4_0x3e1156,_0x131338={'DDIIZ':function(_0x45910b,_0x15edd8){return _0x45910b(_0x15edd8);},'mstdJ':function(_0x383d85){return _0x383d85();},'NjXvH':function(_0x2486fa){return _0x2486fa();},'tGfxA':function(_0x2e9041){return _0x2e9041();},'ZuUhm':'util','qiRNY':_0x520331(0x1e9),'Kmehf':function(_0x579ada,_0x37f1d4){return _0x579ada!==_0x37f1d4;},'QaScJ':_0x520331(0x260),'HoIZd':_0x520331(0x1db),'tjvSu':_0x520331(0x278),'RtGZN':'passed','DXOHK':'skipped','zdAXs':_0x520331(0x243),'sbwLF':function(_0x299b6b,_0x2c3ee8){return _0x299b6b-_0x2c3ee8;},'XQfNX':function(_0x3fb97a,_0x134266,_0x23b28a,_0xa3ca26,_0xf51cce){return _0x3fb97a(_0x134266,_0x23b28a,_0xa3ca26,_0xf51cce);},'bTZpy':'integrations','jxCDp':_0x520331(0x1f7),'phBfE':_0x520331(0x1ff),'FUvri':_0x520331(0x1d8),'KsZxL':_0x520331(0x229),'FWNhU':_0x520331(0x1bf),'YhyeF':_0x520331(0x217),'YMnfO':function(_0xd9e38f,_0x3ba59a){return _0xd9e38f===_0x3ba59a;},'cICRg':_0x520331(0x21d),'owKeK':_0x520331(0x266)};if(!this[_0x520331(0x1fb)])return;try{if(_0x296d8b['fn']&&_0x296d8b['fn'][_0x520331(0x1b9)]()['match'](/browserstack internal helper hook/))return;const _0x381ef4=_0x131338['DDIIZ'](parseEvent,_0x2af072);if(!_0x381ef4)return;if(_0x381ef4[_0x520331(0x1ab)]){this[_0x520331(0x20b)]=_0x296d8b,this[_0x520331(0x19c)]=null;if(_0x381ef4['started']||_0x381ef4[_0x520331(0x227)]){_0x296d8b[_0x520331(0x19e)]=new Date(),_0x296d8b[_0x520331(0x1e6)]=![];if(!_0x296d8b[_0x520331(0x1a6)])_0x296d8b[_0x520331(0x1a6)]=_0x131338[_0x520331(0x22c)](uuidv4);else _0x296d8b[_0x520331(0x1e6)]&&(!_0x296d8b[_0x520331(0x268)]&&(_0x296d8b[_0x520331(0x268)]=_0x296d8b[_0x520331(0x1a6)]),_0x296d8b['testAnalyticsId']=_0x131338[_0x520331(0x248)](uuidv4));}}else{if(_0x381ef4[_0x520331(0x24f)]){this['currentHook']=_0x296d8b;if(_0x381ef4[_0x520331(0x202)]){_0x296d8b[_0x520331(0x19e)]=new Date(),_0x296d8b['markedStatus']=![];if(!_0x296d8b['hookAnalyticsId'])_0x296d8b['hookAnalyticsId']=_0x131338[_0x520331(0x1fa)](uuidv4);else _0x296d8b[_0x520331(0x25b)]&&_0x296d8b[_0x520331(0x1e6)]&&(_0x296d8b[_0x520331(0x25b)]=_0x131338[_0x520331(0x248)](uuidv4));}}}if(_0x381ef4['finished']&&_0x296d8b[_0x520331(0x1e6)])return;let _0x2116f4;try{_0x2116f4=this[_0x520331(0x1c8)](_0x296d8b);}catch(_0x5c8d5d){logger[_0x520331(0x28b)](_0x520331(0x1f0)+_0x5c8d5d),_0x2116f4=null;}const _0x2f0bf0=_0x131338[_0x520331(0x1d5)](require,_0x131338[_0x520331(0x240)]);let _0xd4a92f=[];_0x289b52&&(_0xd4a92f=[_0x289b52,_0x131338[_0x520331(0x215)]]);const _0x3e831b=_0x131338[_0x520331(0x20a)](_0x296d8b['errorsDetailed'],undefined)?_0x2f0bf0[_0x520331(0x257)](_0x296d8b['errorsDetailed'][0x0]):_0x131338[_0x520331(0x20a)](_0x289b52,undefined)?_0x289b52[_0x520331(0x1b9)]():undefined,_0x52a1b9=_0x2116f4?this['findGitConfig'](_0x2116f4):null,_0x47cf2c=_0x2116f4?this[_0x520331(0x270)][_0x520331(0x274)](this[_0x520331(0x1c8)](_0x296d8b)):_0x131338[_0x520331(0x225)];let _0x13fdc1=_0x131338[_0x520331(0x23c)];const _0x46119a=!_0x381ef4[_0x520331(0x202)]?new Date()[_0x520331(0x1bb)]():null;if(_0x381ef4['finished'])_0x13fdc1=_0x289b52?_0x131338['tjvSu']:_0x131338['RtGZN'],_0x296d8b[_0x520331(0x1e6)]=!![];else _0x381ef4[_0x520331(0x227)]&&(_0x13fdc1=_0x131338['DXOHK'],_0x296d8b[_0x520331(0x1e6)]=!![]);const _0x5aa37e={'framework':this[_0x520331(0x1a2)],'uuid':_0x296d8b[_0x520331(0x1a6)]||_0x296d8b[_0x520331(0x25b)],'name':_0x296d8b[_0x520331(0x1f9)],'body':{'lang':_0x131338[_0x520331(0x1cd)],'code':_0x296d8b['body'][_0x520331(0x1b9)]()},'type':_0x296d8b[_0x520331(0x238)],'scope':_0x296d8b[_0x520331(0x1eb)](),'scopes':this['getHierarchy'](_0x296d8b),'file_name':_0x47cf2c,'vc_filepath':_0x52a1b9?path[_0x520331(0x1b6)](_0x52a1b9,_0x2116f4):null,'location':_0x47cf2c,'result':_0x13fdc1,'failure_reason':_0x3e831b,'duration_in_ms':_0x296d8b[_0x520331(0x28c)]||(_0x381ef4['finished']||_0x381ef4['skipped'])?_0x131338[_0x520331(0x211)](Date['now'](),new Date(_0x296d8b[_0x520331(0x19e)])['getTime']()):null,'started_at':new Date(_0x296d8b['startedAt'])[_0x520331(0x1bb)](),'finished_at':_0x46119a,'failure':testOpsHelper[_0x520331(0x1ed)][_0x520331(0x1e5)](null,_0xd4a92f),'failure_type':!_0x3e831b?null:testOpsHelper[_0x520331(0x27b)](_0x3e831b),'retry_of':_0x296d8b['retryOf']||null,'tags':_0x296d8b[_0x520331(0x1b3)]||[],'customRerunParam':{'rerun_name':_0x296d8b['fullTitle']()}};_0x131338[_0x520331(0x289)](appendTesthubParams,_0x5aa37e,_0x2af072,_0x296d8b,FRAMEWORKS[_0x520331(0x25a)]);if(_0x381ef4[_0x520331(0x24f)])[_0x5aa37e[_0x520331(0x1fe)],_0x5aa37e['name']]=[this[_0x520331(0x254)](_0x296d8b),_0x296d8b[_0x520331(0x24d)][_0x520331(0x1ab)][_0x520331(0x1f9)]],_0x381ef4[_0x520331(0x200)]?_0x131338[_0x520331(0x20a)](_0x5aa37e[_0x520331(0x1d6)],_0x131338[_0x520331(0x239)])&&(_0x5aa37e['result']=_0x131338[_0x520331(0x235)]):_0x5aa37e[_0x520331(0x26f)]={};else _0x381ef4['test']&&(this[_0x520331(0x27f)](_0x296d8b),_0x381ef4[_0x520331(0x227)]&&this[_0x520331(0x1ec)](_0x296d8b),(_0x381ef4[_0x520331(0x200)]||_0x381ef4[_0x520331(0x227)])&&(_0x5aa37e[_0x520331(0x27d)]=this[_0x520331(0x22a)](_0x296d8b)));this[_0x520331(0x22d)]&&(_0x381ef4[_0x520331(0x202)]||_0x381ef4[_0x520331(0x227)])&&(_0x5aa37e[_0x131338[_0x520331(0x24c)]]=this['getCBTInfo'](this['driver']));_0x381ef4['test']&&_0x381ef4[_0x520331(0x200)]&&_0x296d8b[_0x520331(0x1b4)]&&(_0x5aa37e[_0x131338[_0x520331(0x1bd)]]={'feature':{'name':_0x296d8b[_0x520331(0x1c4)]['feature'][_0x520331(0x224)],'path':_0x5aa37e[_0x520331(0x23f)],'description':_0x296d8b['parent'][_0x520331(0x1dc)]},'scenario':{'name':_0x296d8b[_0x520331(0x1f9)]},'steps':_0x296d8b[_0x520331(0x1b4)]});const _0xa9dea2=_0x5aa37e[_0x131338[_0x520331(0x1a5)]][0x0];_0xa9dea2&&(_0x5aa37e[_0x131338[_0x520331(0x1ce)]]=_0xa9dea2[_0x131338[_0x520331(0x21e)]],_0x5aa37e[_0x131338['FWNhU']]=_0xa9dea2[_0x131338['YhyeF']]);if(_0x296d8b[_0x520331(0x1b4)])for(const _0x4556b9 of _0x296d8b['bddSteps']){!_0x4556b9[_0x520331(0x1a1)]&&(_0x4556b9[_0x520331(0x1a1)]=new Date()[_0x520331(0x1bb)](),_0x131338[_0x520331(0x20d)](_0x4556b9['result'],_0x131338['HoIZd'])&&(_0xa9dea2?(_0x4556b9[_0x520331(0x1d6)]=_0x131338[_0x520331(0x239)],_0x4556b9[_0x520331(0x1ff)]=_0xa9dea2[_0x131338[_0x520331(0x21e)]][0x0]):_0x4556b9[_0x520331(0x1d6)]=_0x131338[_0x520331(0x235)]));}const _0x57cf42={};_0x57cf42[_0x520331(0x221)]=_0x381ef4['skipped']?TEST_EVENTS[_0x520331(0x290)]:_0x2af072;const _0x225c96=_0x57cf42;return _0x381ef4[_0x520331(0x24f)]?_0x225c96[_0x131338[_0x520331(0x210)]]=_0x5aa37e:_0x225c96[_0x131338[_0x520331(0x263)]]=_0x5aa37e,_0x225c96;}catch(_0x262b9b){logger[_0x520331(0x28b)]('Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20'+_0x2af072+'\x20with\x20error\x20:\x20'+_0x262b9b);}}async[a4_0x3e1156(0x275)](_0x35dd24,_0x52a177){const _0xe20aae=a4_0x3e1156;if(!this[_0xe20aae(0x1fb)]||!_0x52a177||!_0x35dd24)return![];try{return await SessionHandler[_0xe20aae(0x205)](_0x52a177);}catch(_0x491e7a){logger['debug'](_0xe20aae(0x272)+_0x35dd24+_0xe20aae(0x1c3)+_0x491e7a);}}[a4_0x3e1156(0x21f)](_0x1e9b63){const _0x56dc85=a4_0x3e1156,_0x1799c6={};_0x1799c6[_0x56dc85(0x1a9)]=_0x56dc85(0x1db);const _0x400880=_0x1799c6;return{'id':_0x1e9b63[_0x56dc85(0x1d9)],'text':_0x1e9b63[_0x56dc85(0x19b)],'keyword':_0x1e9b63['keyword'],'started_at':_0x1e9b63[_0x56dc85(0x19e)][_0x56dc85(0x1bb)](),'result':_0x400880[_0x56dc85(0x1a9)]};}[a4_0x3e1156(0x1e8)](_0x112468){const _0x111131=a4_0x3e1156,_0x594ab1={'ZKZNF':function(_0x4eee9d){return _0x4eee9d();}};!this[_0x111131(0x20b)][_0x111131(0x1b4)]&&(this[_0x111131(0x20b)]['bddSteps']=[]),!_0x112468[_0x111131(0x1d9)]&&(_0x112468['stepAnalyticsId']=_0x594ab1[_0x111131(0x26e)](uuidv4),_0x112468[_0x111131(0x19e)]=new Date(),this[_0x111131(0x20b)][_0x111131(0x1b4)][_0x111131(0x231)](this['initializeBddStep'](_0x112468)));}[a4_0x3e1156(0x214)](_0x330c33){const _0x2fcffc=a4_0x3e1156,_0x23f64d={'EJDTu':function(_0x35f30b,_0x4dbc01){return _0x35f30b(_0x4dbc01);},'IvfdF':_0x2fcffc(0x287),'BDMDF':'pending','eTVcp':'passed','cxySF':function(_0x5bb226,_0x1d4d95){return _0x5bb226-_0x1d4d95;}};let _0x5e6f0b=this[_0x2fcffc(0x20b)]['bddSteps']['find'](_0xf1993c=>_0xf1993c['id']===_0x330c33[_0x2fcffc(0x1d9)]);_0x23f64d[_0x2fcffc(0x1ea)](isUndefined,_0x5e6f0b)&&(_0x5e6f0b=this['initializeBddStep'](_0x330c33)),_0x5e6f0b['result']=[_0x23f64d['IvfdF'],_0x23f64d[_0x2fcffc(0x28e)]]['includes'](_0x330c33[_0x2fcffc(0x1bc)])?_0x23f64d[_0x2fcffc(0x1e2)]:_0x330c33[_0x2fcffc(0x1bc)],_0x5e6f0b['finished_at']=new Date()[_0x2fcffc(0x1bb)](),_0x5e6f0b[_0x2fcffc(0x28c)]=_0x23f64d[_0x2fcffc(0x1c9)](Date[_0x2fcffc(0x279)](),_0x330c33[_0x2fcffc(0x19e)][_0x2fcffc(0x203)]()),_0x5e6f0b[_0x2fcffc(0x1ff)]=_0x330c33[_0x2fcffc(0x1e9)]?_0x330c33[_0x2fcffc(0x1e9)]['message']:null;}}function a4_0x3d3c(){const _0x4a9f43=['startedAt','../utils/constants','HOOK_RUN_FINISHED','finished_at','frameworkName','winstonLogger','../playwright/sessionDetails','phBfE','testAnalyticsId','defineProperty','bs:addLog:','niWIF','getCBTInfo','test','bgJZq','6GYIHuB','214GghvCx','HCRTQ','_testEnv','../../helpers/testhub/utils.js','PathHelper','tags','bddSteps','getInstance','relative','3548950XaVTGf','HmzEA','toString','STATE_FAILED','toISOString','status','jxCDp','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20Observability\x20with\x20error\x20:\x20','failure_reason_expanded','4|2|3|1|0|5','then','hDFGO','\x20with\x20error\x20:\x20','parent','TEST_RUN_SKIPPED','integrations','BFUEP','getRootParentFile','cxySF','2482985HsDFMI','../mocha/test-observability/mochaUtils','uFALN','zdAXs','FUvri','pid','PLAYWRIGHT_HUB_URL','HbvxQ','ewvUK','config','path','DDIIZ','result','logs','failure_backtrace','stepAnalyticsId','O11yHelper','pending','comment','appendTestItemLog','../../helpers/helper','RfgRD','cjoKD','toLowerCase','eTVcp','split','fIhoK','apply','markedStatus','constructor','bddStepStart','err','EJDTu','fullTitle','resetSkipTestHooks','failureData','removeAllListeners','BrowserType','failed\x20to\x20get\x20root\x20parent\x20file\x20','../../helpers/test-observability/sessionHandler','HXcQI','includes','wEaWI','sep','prototype','meta','9OkoTvk','title','tGfxA','enabled','__cloud_provider___','XJvOC','hook_type','failure','finished','1971095SQnIQa','started','getTime','concat','uploadEventData','connect','TestRunStarted','OhQdP','uBQzk','Kmehf','currentTest','test_run_uuid','YMnfO','groups','TEST_EVENTS','cICRg','sbwLF','stop','uDhWA','bddStepFinish','qiRNY','nnbaO','expanded','browserType.js','NsAOR','ZVxgg','match','kztZA','hook_run','KsZxL','initializeBddStep','uuid','event_type','LogCreated','wcRKf','name','QaScJ','IBLiG','skipped','qKgNX','backtrace','getHooksForTest','captureEvent','mstdJ','driver','forEach','TEST_RUN_STARTED','Ocjym','push','patchConsoleLogger','uIDgv','sendCBTInfo','RtGZN','setupBrowserDetails','hook_run_uuid','type','tjvSu','OMUit','stringify','HoIZd','codeceptjs','../../helpers/logger','file_name','ZuUhm','_afterAll','Not\x20able\x20to\x20import\x20Browser','javascript','4134968mDFyJm','_beforeEach','SzEWm','file','NjXvH','replace','xzxvh','wsEndpoint','bTZpy','ctx','KpFgu','hook','QJQAp','lBQry','3117612fdpDME','aNqpS','getHookType','exports','IAHTZ','inspect','FQBxj','jYDGN','CODECEPT','hookAnalyticsId','statSync','_afterEach','fBRhx','_beforeAll','File\x20path\x20could\x20not\x20be\x20found','7272904hSHMqp','getHierarchy','owKeK','.git','toUpperCase','test_run','yAcFx','retryOf','FmrXh','accessibilityPlatform','XvnCw','Exception\x20in\x20uploading\x20log\x20data\x20to\x20Observability\x20with\x20error\x20:\x20','wJUdz','ZKZNF','body','_paths','HhyLE','Exception\x20in\x20sending\x20test\x20data\x20for\x20event\x20','BBCko','prefixTestPath','fireEvent','../../helpers/test-observability/utils','suites','failed','now','browserstack','getFailureType','110jlXvDs','hooks','9767KSjdtX','mapTestHooks','TestRunFinished','cwd','WDoPl','gyIBf','ALrtC','findGitConfig','client','success','HOOK_RUN_STARTED','XQfNX','roNCT','debug','duration','length','BDMDF','ZTeIk','TEST_RUN_FINISHED','HookRunStarted','text','currentHook','Playwright'];a4_0x3d3c=function(){return _0x4a9f43;};return a4_0x3d3c();}const a4_0x4aaeb0={};a4_0x4aaeb0[a4_0x3e1156(0x1da)]=O11yHelper,a4_0x4aaeb0['STATE_PASSED']=STATE_PASSED,a4_0x4aaeb0[a4_0x3e1156(0x1ba)]=STATE_FAILED,a4_0x4aaeb0[a4_0x3e1156(0x20f)]=TEST_EVENTS,module[a4_0x3e1156(0x255)]=a4_0x4aaeb0;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a5_0xa70bfa=a5_0x5037;(function(_0x36081a,_0x2ac6d0){const _0x384983=a5_0x5037,_0x130e6a=_0x36081a();while(!![]){try{const _0x200c62=-parseInt(_0x384983(0x1a9))/0x1*(parseInt(_0x384983(0x1a7))/0x2)+-parseInt(_0x384983(0x158))/0x3*(-parseInt(_0x384983(0x1af))/0x4)+parseInt(_0x384983(0x193))/0x5+parseInt(_0x384983(0x19d))/0x6+-parseInt(_0x384983(0x163))/0x7*(-parseInt(_0x384983(0x152))/0x8)+parseInt(_0x384983(0x17a))/0x9*(parseInt(_0x384983(0x1b8))/0xa)+parseInt(_0x384983(0x168))/0xb*(-parseInt(_0x384983(0x16b))/0xc);if(_0x200c62===_0x2ac6d0)break;else _0x130e6a['push'](_0x130e6a['shift']());}catch(_0x2b5f45){_0x130e6a['push'](_0x130e6a['shift']());}}}(a5_0x55d2,0xf22ac));function a5_0x5037(_0x28a45c,_0x779fac){const _0x55d25a=a5_0x55d2();return a5_0x5037=function(_0x503771,_0x3954a5){_0x503771=_0x503771-0x146;let _0x3e23f1=_0x55d25a[_0x503771];return _0x3e23f1;},a5_0x5037(_0x28a45c,_0x779fac);}const fs=require('fs'),path=require('path'),util=require(a5_0xa70bfa(0x173)),logger=require(a5_0xa70bfa(0x175))['winstonLogger'],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require(a5_0xa70bfa(0x162)),utilities=require(a5_0xa70bfa(0x191)),constants=require(a5_0xa70bfa(0x184)),{parallelCucumberRun}=require(a5_0xa70bfa(0x14b)),TestHubHandler=require('../../helpers/testhub/testhubHandler'),testOpsHelper=require('../../helpers/test-observability/utils'),chalk=require(a5_0xa70bfa(0x15b)),PerformanceTester=require(a5_0xa70bfa(0x180)),PerformanceEvents=require(a5_0xa70bfa(0x1b3))[a5_0xa70bfa(0x181)];function a5_0x55d2(){const _0x1b714e=['stepsUndefined','\x20skipped','util','julLo','../../helpers/logger','splice','handleApp','FzPBz','green','675oiqeNH','tmp','skipSessionStatus','turboScaleUrl','cucumber-js','\x20failed','../../helpers/performance/performance-tester','EVENTS','rmdirSync','format','../utils/constants','config','\x20scenarios','exports','UrwBw','getTCGConfigFilePaths','launchBuild','testObservability','lAIUg','parseFormatters','XCthX','AdJyY','stepsAmbiguous','../../helpers/utilities','losEk','4939380sGVnyD','LlIWg','bold','SDK_CLEANUP','WWgZY','processSuccess','testContextOptions','debug','BROWSERSTACK_TEST_OBSERVABILITY_YML','useW3C','3943410TjiDTh','finally','Removing\x20tmp\x20directory\x20created\x20for\x20reports','logLevel','getPlatformName','push','log','errorMessage','\x20steps','start','1108IpbTCz','initialize','892XtzajU','scenarios','bgWhite','FRAMEWORKS','true','getHubUrl','16yQteIB','stepsUnknown','cwd','exitCode','../../helpers/performance/constants','\x20passed','then','FqrfX','getUserWorkerCount','7970fANoIv','AJiEn','prepareCapabilities','setupTCGAuth','removeDir','\x20pending','../test-runner','stepsPassed','yellow','join','CcdZI','steps','stepsSkipped','12681624gbnvFz','createDir','IuYAQ','kXUNo','length','getErrorMessageFromResults','527064WLtiZW','accessibilityOptions','proxySettings','chalk','env','AmtBA','CUCUMBER','****\x20RESULTS\x20****','skipSessionName','red','../../helpers/helper','7XPiafB','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','PyAAp','BNxLt','argv','2506757IFjGKC','mergeOutputFiles','YoAXH','132MfyIGX','stepsPending','stepsFailed','\x20ambiguous','framework','parallelsPerPlatform'];a5_0x55d2=function(){return _0x1b714e;};return a5_0x55d2();}function printCucumberStats(_0x58347e){const _0x4fd260=a5_0xa70bfa,_0x440dfb={};_0x440dfb[_0x4fd260(0x178)]=function(_0x5f3b50,_0x5b4009){return _0x5f3b50>_0x5b4009;},_0x440dfb[_0x4fd260(0x18e)]=function(_0x39e2d6,_0x577820){return _0x39e2d6-_0x577820;},_0x440dfb[_0x4fd260(0x155)]=function(_0x52df5,_0xdc1327){return _0x52df5>_0xdc1327;},_0x440dfb['YoAXH']=function(_0x292fb0,_0x2c2d4d){return _0x292fb0>_0x2c2d4d;},_0x440dfb[_0x4fd260(0x14f)]=function(_0x454bb5,_0x5c4e6f){return _0x454bb5+_0x5c4e6f;},_0x440dfb['IuYAQ']=function(_0x3c2c61,_0x43f1e9){return _0x3c2c61+_0x43f1e9;},_0x440dfb['PyAAp']=function(_0x441c33,_0x3094d9){return _0x441c33+_0x3094d9;},_0x440dfb[_0x4fd260(0x192)]=function(_0x5aed36,_0x5b389a){return _0x5aed36+_0x5b389a;},_0x440dfb[_0x4fd260(0x146)]=function(_0x4e74c2,_0x2b6121){return _0x4e74c2===_0x2b6121;},_0x440dfb['wrkMB']=function(_0x36792a,_0x301bf0){return _0x36792a===_0x301bf0;},_0x440dfb[_0x4fd260(0x194)]=_0x4fd260(0x15f);const _0x341c60=_0x440dfb;let _0x374aa2=0x0;if(_0x341c60['wrkMB'](_0x58347e[_0x4fd260(0x156)],0x0))return _0x374aa2;return console[_0x4fd260(0x1a3)](chalk['bold'][_0x4fd260(0x1ab)](_0x341c60[_0x4fd260(0x194)])),_0x58347e['forEach'](_0x562823=>{const _0x23e263=_0x4fd260,_0x10220f=_0x562823[0x0],_0x35ca57=_0x562823[0x1];console[_0x23e263(0x1a3)]('\x0a'+chalk[_0x23e263(0x195)][_0x23e263(0x14d)](''+helper[_0x23e263(0x1a1)](_0x10220f)));const _0x19e649=_0x35ca57[_0x23e263(0x1aa)],_0x11e149=_0x35ca57[_0x23e263(0x150)],_0x48c423=_0x35ca57['scenariosFailed'],_0x1af310=_0x35ca57[_0x23e263(0x16d)],_0x8bee02=_0x35ca57[_0x23e263(0x14c)],_0x3bdbba=_0x35ca57[_0x23e263(0x151)],_0x5ba74b=_0x35ca57[_0x23e263(0x16c)],_0x5547f8=_0x35ca57[_0x23e263(0x171)],_0x7778ed=_0x35ca57[_0x23e263(0x1b0)],_0x20c893=_0x35ca57[_0x23e263(0x190)],_0xfd977=_0x35ca57[_0x23e263(0x198)];let _0x51390a=_0x19e649+_0x23e263(0x186);const _0x4cc97d=_0x341c60['FzPBz'](_0x341c60[_0x23e263(0x18e)](_0x19e649,_0x48c423),0x0)?_0x341c60['XCthX'](_0x19e649,_0x48c423):0x0;if(_0x341c60[_0x23e263(0x155)](_0x48c423,0x0)&&_0x341c60[_0x23e263(0x16a)](_0x4cc97d,0x0))_0x51390a+='\x20('+chalk[_0x23e263(0x195)][_0x23e263(0x161)](_0x48c423+_0x23e263(0x17f))+',\x20'+chalk[_0x23e263(0x195)]['green'](_0x4cc97d+_0x23e263(0x1b4))+')';else(_0x341c60[_0x23e263(0x16a)](_0x48c423,0x0)||_0x341c60[_0x23e263(0x16a)](_0x4cc97d,0x0))&&(_0x51390a+=_0x341c60[_0x23e263(0x178)](_0x48c423,0x0)?'\x20('+chalk[_0x23e263(0x195)][_0x23e263(0x161)](_0x48c423+_0x23e263(0x17f))+')':'\x20('+chalk[_0x23e263(0x195)][_0x23e263(0x179)](_0x4cc97d+_0x23e263(0x1b4))+')');const _0x539ee3=_0x11e149+_0x23e263(0x1a5),_0x1dcf4e=[];_0x341c60[_0x23e263(0x16a)](_0x20c893,0x0)&&_0x1dcf4e['push'](''+chalk[_0x23e263(0x195)][_0x23e263(0x161)](_0x20c893+_0x23e263(0x16e)));_0x341c60['kXUNo'](_0x1af310,0x0)&&_0x1dcf4e[_0x23e263(0x1a2)](''+chalk[_0x23e263(0x195)][_0x23e263(0x161)](_0x1af310+_0x23e263(0x17f)));_0x341c60['kXUNo'](_0x8bee02,0x0)&&_0x1dcf4e[_0x23e263(0x1a2)](''+chalk[_0x23e263(0x195)][_0x23e263(0x179)](_0x8bee02+_0x23e263(0x1b4)));_0x341c60['kXUNo'](_0x5ba74b,0x0)&&_0x1dcf4e[_0x23e263(0x1a2)](''+chalk[_0x23e263(0x195)]['yellow'](_0x5ba74b+_0x23e263(0x14a)));_0x341c60[_0x23e263(0x155)](_0x3bdbba,0x0)&&_0x1dcf4e[_0x23e263(0x1a2)](''+chalk[_0x23e263(0x195)]['cyan'](_0x3bdbba+_0x23e263(0x172)));_0x341c60['FzPBz'](_0x5547f8,0x0)&&_0x1dcf4e[_0x23e263(0x1a2)](''+chalk[_0x23e263(0x195)][_0x23e263(0x14d)](_0x5547f8+'\x20undefined'));_0x341c60[_0x23e263(0x16a)](_0x7778ed,0x0)&&_0x1dcf4e['push'](''+chalk['bold'][_0x23e263(0x14d)](_0x7778ed+_0x23e263(0x172)));const _0x816825=_0x341c60[_0x23e263(0x14f)](_0x341c60[_0x23e263(0x154)](_0x341c60[_0x23e263(0x14f)](_0x539ee3,'('),_0x1dcf4e['join'](',\x20')),')');console[_0x23e263(0x1a3)](_0x341c60[_0x23e263(0x154)](_0x341c60[_0x23e263(0x165)](_0x341c60[_0x23e263(0x192)](_0x341c60[_0x23e263(0x192)]('\x0a',_0x51390a),'\x0a'),_0x816825),'\x0a')),_0x341c60[_0x23e263(0x146)](_0xfd977,![])&&(_0x374aa2=0x1);}),_0x374aa2;}async function run(_0x154749,_0x3d3927){const _0x4089fe=a5_0xa70bfa,_0x47d73c={'dtHvP':function(_0x4cc7bf,_0x5c38dc){return _0x4cc7bf(_0x5c38dc);},'AdJyY':function(_0x3c6489,_0x14ee33){return _0x3c6489>_0x14ee33;},'FqrfX':'Generating\x20consolidated\x20report...','lAIUg':_0x4089fe(0x19f),'OuElX':'cucumber','WWgZY':'error\x20removing\x20tcg\x20config\x20file','julLo':_0x4089fe(0x17e),'AmtBA':_0x4089fe(0x17b),'BNxLt':function(_0x1266fe,_0x4623c6){return _0x1266fe>_0x4623c6;},'jpUpq':function(_0x4e617d,_0x294e6a){return _0x4e617d-_0x294e6a;},'GIgpf':function(_0x2225d6,_0x815457){return _0x2225d6>=_0x815457;},'uyqBL':function(_0x306b45,_0x13bd82){return _0x306b45!=_0x13bd82;},'UrwBw':_0x4089fe(0x1ad),'MhEVM':function(_0x230c4e,_0x343e29,_0x1be9b5,_0x5dfa80,_0x46eb01,_0x4ebdb3){return _0x230c4e(_0x343e29,_0x1be9b5,_0x5dfa80,_0x46eb01,_0x4ebdb3);}},_0x20bbf0=new BrowserStackSetup(_0x154749,_0x47d73c[_0x4089fe(0x174)]);await _0x20bbf0[_0x4089fe(0x1a8)](),helper['setUserConfigPath'](_0x20bbf0[_0x4089fe(0x16f)],_0x154749);!helper['isBrowserstackInfra']()&&await _0x20bbf0[_0x4089fe(0x148)]();await helper[_0x4089fe(0x177)](_0x20bbf0[_0x4089fe(0x185)]);const _0x217ee0=helper[_0x4089fe(0x19c)](_0x20bbf0['config']),_0x1aadbd=helper[_0x4089fe(0x147)](_0x20bbf0[_0x4089fe(0x185)],_0x217ee0,constants['FRAMEWORKS']['CUCUMBER']);if(!_0x20bbf0['config'])return;const _0x5288f0=_0x20bbf0[_0x4089fe(0x185)][_0x4089fe(0x170)]||helper[_0x4089fe(0x1b7)](_0x154749,_0x3d3927,_0x20bbf0['config'],constants[_0x4089fe(0x1ac)][_0x4089fe(0x15e)])||0x1,_0x48538c={'server':helper[_0x4089fe(0x1ae)](_0x20bbf0[_0x4089fe(0x185)]),'proxySettings':_0x20bbf0['config'][_0x4089fe(0x15a)],'maxWorkers':_0x5288f0,'browserStackLogLevel':_0x20bbf0['config'][_0x4089fe(0x1a0)],'skipSessionName':_0x20bbf0[_0x4089fe(0x185)][_0x4089fe(0x199)][_0x4089fe(0x160)],'skipSessionStatus':_0x20bbf0['config'][_0x4089fe(0x199)][_0x4089fe(0x17c)],'turboScaleUrl':_0x20bbf0[_0x4089fe(0x185)][_0x4089fe(0x17d)]},_0x560939=process[_0x4089fe(0x167)],[_0x3ebafd,_0x1b6cf7]=helper[_0x4089fe(0x18d)](_0x560939),_0x93e08d=path[_0x4089fe(0x14e)](process[_0x4089fe(0x1b1)](),_0x47d73c[_0x4089fe(0x15d)]);if(_0x47d73c[_0x4089fe(0x166)](_0x1b6cf7[_0x4089fe(0x156)],0x0)){helper[_0x4089fe(0x153)](_0x93e08d);for(let _0x407e60=_0x47d73c['jpUpq'](_0x3ebafd[_0x4089fe(0x156)],0x1);_0x47d73c['GIgpf'](_0x407e60,0x0);_0x407e60--){_0x560939[_0x4089fe(0x176)](_0x3ebafd[_0x407e60],0x2);}}!helper['isUndefined'](_0x20bbf0[_0x4089fe(0x185)][_0x4089fe(0x159)])&&(process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON['stringify'](_0x20bbf0['config'][_0x4089fe(0x159)]));_0x47d73c['uyqBL'](_0x20bbf0[_0x4089fe(0x185)][_0x4089fe(0x18b)],null)?process[_0x4089fe(0x15c)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x20bbf0[_0x4089fe(0x185)][_0x4089fe(0x18b)]:process['env'][_0x4089fe(0x19b)]=_0x47d73c[_0x4089fe(0x188)];const _0x2ed2ff=await TestHubHandler[_0x4089fe(0x18a)](constants[_0x4089fe(0x1ac)]['CUCUMBER'],_0x20bbf0);PerformanceTester['end'](PerformanceEvents['SDK_SETUP']);let _0x380df6;_0x47d73c['MhEVM'](parallelCucumberRun,_0x1aadbd,_0x48538c,_0x20bbf0[_0x4089fe(0x185)],_0x560939,_0x1b6cf7)[_0x4089fe(0x1b5)](async _0x5adcc8=>{const _0x503121=_0x4089fe;PerformanceTester[_0x503121(0x1a6)](PerformanceEvents[_0x503121(0x196)]),_0x380df6=_0x5adcc8;const _0x38b139=_0x47d73c['dtHvP'](printCucumberStats,_0x5adcc8);process[_0x503121(0x1b2)]=_0x38b139,_0x47d73c[_0x503121(0x18f)](_0x1b6cf7[_0x503121(0x156)],0x0)&&(logger['debug'](_0x47d73c[_0x503121(0x1b6)]),helper[_0x503121(0x169)](_0x93e08d,_0x1b6cf7),logger['debug'](_0x47d73c[_0x503121(0x18c)]),helper[_0x503121(0x149)](_0x93e08d));})[_0x4089fe(0x19e)](async()=>{const _0x29a1a0=_0x4089fe;PerformanceTester['start'](PerformanceEvents['SDK_CLEANUP']),_0x20bbf0[_0x29a1a0(0x1a4)]=helper[_0x29a1a0(0x157)](_0x380df6,_0x47d73c['OuElX']),testOpsHelper['printBuildLink']();try{await TestHubHandler['stop']();}catch(_0x270988){logger[_0x29a1a0(0x19a)](_0x29a1a0(0x164)+util[_0x29a1a0(0x183)](_0x270988));}try{const {browserstackFolderPath:_0xd28280,tcgConfigPath:_0x42094f}=helper[_0x29a1a0(0x189)]();fs['unlinkSync'](_0x42094f),fs[_0x29a1a0(0x182)](_0xd28280);}catch(_0x1912de){logger[_0x29a1a0(0x19a)](_0x47d73c[_0x29a1a0(0x197)],_0x1912de);}await utilities['finalExecution'](_0x20bbf0);});}module[a5_0xa70bfa(0x187)]=run;
|
|
2
|
+
'use strict';function a5_0x2887(_0x5cdbba,_0x1de83a){const _0x44a310=a5_0x44a3();return a5_0x2887=function(_0x2887dd,_0x257666){_0x2887dd=_0x2887dd-0x9e;let _0x42426e=_0x44a310[_0x2887dd];return _0x42426e;},a5_0x2887(_0x5cdbba,_0x1de83a);}const a5_0x6c1fa3=a5_0x2887;(function(_0x5c4150,_0x161b47){const _0xb19fcf=a5_0x2887,_0xde668d=_0x5c4150();while(!![]){try{const _0x1279ee=-parseInt(_0xb19fcf(0x124))/0x1*(-parseInt(_0xb19fcf(0xc8))/0x2)+parseInt(_0xb19fcf(0xe1))/0x3*(parseInt(_0xb19fcf(0xc9))/0x4)+parseInt(_0xb19fcf(0xec))/0x5+-parseInt(_0xb19fcf(0xb6))/0x6*(-parseInt(_0xb19fcf(0x118))/0x7)+parseInt(_0xb19fcf(0xc6))/0x8*(-parseInt(_0xb19fcf(0xa8))/0x9)+parseInt(_0xb19fcf(0xe8))/0xa+-parseInt(_0xb19fcf(0xc2))/0xb*(parseInt(_0xb19fcf(0xbd))/0xc);if(_0x1279ee===_0x161b47)break;else _0xde668d['push'](_0xde668d['shift']());}catch(_0x50d35c){_0xde668d['push'](_0xde668d['shift']());}}}(a5_0x44a3,0xeed21));const fs=require('fs'),path=require(a5_0x6c1fa3(0x10f)),util=require(a5_0x6c1fa3(0xc0)),logger=require(a5_0x6c1fa3(0xdb))[a5_0x6c1fa3(0xf8)],{default:BrowserStackSetup}=require(a5_0x6c1fa3(0xa2)),helper=require(a5_0x6c1fa3(0xea)),utilities=require(a5_0x6c1fa3(0xb9)),constants=require(a5_0x6c1fa3(0xeb)),{parallelCucumberRun}=require('../test-runner'),TestHubHandler=require(a5_0x6c1fa3(0x122)),testOpsHelper=require(a5_0x6c1fa3(0xc1)),chalk=require('chalk'),PerformanceTester=require(a5_0x6c1fa3(0xe2)),PerformanceEvents=require(a5_0x6c1fa3(0xa9))[a5_0x6c1fa3(0xbf)];function a5_0x44a3(){const _0x4040b3=['stepsFailed','skipSessionStatus','\x20skipped','winstonLogger','xwEyG','ISbTp','then','steps','\x20steps','parallelsPerPlatform','kHfqN','oiqfy','nXXwq','ANfaJ','stepsPassed','tmp','red','start','turboScaleUrl','length','ofzwI','bold','scenariosFailed','wbrLu','hBntD','testContextOptions','path','green','debug','ZNmzN','getPlatformName','prepareCapabilities','splice','printBuildLink','parseFormatters','6388879yDKYIa','cucumber','setupTCGAuth','DIfWG','oUWFZ','****\x20RESULTS\x20****','true','Removing\x20tmp\x20directory\x20created\x20for\x20reports','stepsPending','RJBtS','../../helpers/testhub/testhubHandler','Generating\x20consolidated\x20report...','50442uhpLWz','stepsUndefined','unlinkSync','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','cwd','getHubUrl','../../helpers/BrowserStackSetup','scenarios','getErrorMessageFromResults','LQsvW','forEach','hnqDJ','17163ejjUUM','../../helpers/performance/constants','processSuccess','rnqio','stringify','bSupo','accessibilityOptions','\x20ambiguous','KlRWE','push','CUCUMBER','uSSnL','join','handleApp','6NyKLhS','stop','error\x20removing\x20tcg\x20config\x20file','../../helpers/utilities','testObservability','format','launchBuild','24xPXTcV','ugnpe','EVENTS','util','../../helpers/test-observability/utils','26419162DJfukx','config','SDK_SETUP','aTwQr','184NmwoJw','cucumber-js','70vfyGPv','65656JUPrpx','stepsSkipped','\x20passed','finalExecution','createDir','EChgN','OHUeV','\x20scenarios','SDK_CLEANUP','BROWSERSTACK_TEST_OBSERVABILITY_YML','finally','env','log','AczPp','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','errorMessage','initialize','getUserWorkerCount','../../helpers/logger','cyan','setUserConfigPath','naSXA','isUndefined','exports','189xOVBos','../../helpers/performance/performance-tester','EzHee','exitCode','isBrowserstackInfra','liNZv','TSNUX','5036190hMmqJK','yellow','../../helpers/helper','../utils/constants','8048430QGgULS','stepsUnknown','stepsAmbiguous','framework','\x20failed','hMMMt','end','useW3C','DWIuA'];a5_0x44a3=function(){return _0x4040b3;};return a5_0x44a3();}function printCucumberStats(_0x5ccec4){const _0x46c2bc=a5_0x6c1fa3,_0x2ecf55={};_0x2ecf55[_0x46c2bc(0xf4)]=function(_0x5b31be,_0x4fe42a){return _0x5b31be>_0x4fe42a;},_0x2ecf55[_0x46c2bc(0xce)]=function(_0xc7ab1f,_0x2b1b9d){return _0xc7ab1f-_0x2b1b9d;},_0x2ecf55['aTwQr']=function(_0x413b1b,_0x26b264){return _0x413b1b-_0x26b264;},_0x2ecf55[_0x46c2bc(0xde)]=function(_0x317bad,_0x40e894){return _0x317bad>_0x40e894;},_0x2ecf55[_0x46c2bc(0xff)]=function(_0x4e3487,_0x31fc72){return _0x4e3487>_0x31fc72;},_0x2ecf55['hBntD']=function(_0x9b34c3,_0x445481){return _0x9b34c3>_0x445481;},_0x2ecf55[_0x46c2bc(0x109)]=function(_0x132c01,_0x3cdacf){return _0x132c01>_0x3cdacf;},_0x2ecf55[_0x46c2bc(0xa5)]=function(_0x51c1b7,_0x5b124e){return _0x51c1b7>_0x5b124e;},_0x2ecf55[_0x46c2bc(0xe3)]=function(_0x489575,_0x20f6cb){return _0x489575>_0x20f6cb;},_0x2ecf55['OHUeV']=function(_0x1785ba,_0x4a62dc){return _0x1785ba>_0x4a62dc;},_0x2ecf55[_0x46c2bc(0xe6)]=function(_0x81dd67,_0x49311c){return _0x81dd67>_0x49311c;},_0x2ecf55[_0x46c2bc(0x11b)]=function(_0xa4dfb0,_0xf4e6ab){return _0xa4dfb0+_0xf4e6ab;},_0x2ecf55[_0x46c2bc(0xab)]=function(_0x36118b,_0xa1792e){return _0x36118b+_0xa1792e;},_0x2ecf55['TSNUX']=function(_0x48a057,_0x5c500b){return _0x48a057+_0x5c500b;},_0x2ecf55[_0x46c2bc(0xf1)]=function(_0x5c7135,_0x530820){return _0x5c7135+_0x530820;},_0x2ecf55['KlRWE']=function(_0x10465c,_0x20f121){return _0x10465c+_0x20f121;},_0x2ecf55[_0x46c2bc(0x10c)]=function(_0x3a5da7,_0x17d846){return _0x3a5da7+_0x17d846;},_0x2ecf55[_0x46c2bc(0xf9)]=function(_0x4c1f16,_0x59036b){return _0x4c1f16===_0x59036b;},_0x2ecf55[_0x46c2bc(0x112)]=_0x46c2bc(0x11d);const _0x145fb5=_0x2ecf55;let _0xe3c032=0x0;if(_0x145fb5[_0x46c2bc(0xf9)](_0x5ccec4['length'],0x0))return _0xe3c032;return console[_0x46c2bc(0xd5)](chalk[_0x46c2bc(0x10a)]['bgWhite'](_0x145fb5[_0x46c2bc(0x112)])),_0x5ccec4[_0x46c2bc(0xa6)](_0x2739b5=>{const _0x309059=_0x46c2bc,_0x34d8a7=_0x2739b5[0x0],_0x2668b8=_0x2739b5[0x1];console['log']('\x0a'+chalk['bold'][_0x309059(0xe9)](''+helper[_0x309059(0x113)](_0x34d8a7)));const _0x475c4e=_0x2668b8[_0x309059(0xa3)],_0x4bbe2e=_0x2668b8[_0x309059(0xfc)],_0x2574a6=_0x2668b8[_0x309059(0x10b)],_0x1733b4=_0x2668b8[_0x309059(0xf5)],_0xe8b5f3=_0x2668b8[_0x309059(0x103)],_0x21b942=_0x2668b8[_0x309059(0xca)],_0x2e6656=_0x2668b8[_0x309059(0x120)],_0x254890=_0x2668b8[_0x309059(0x125)],_0x15cd3f=_0x2668b8[_0x309059(0xed)],_0x4dd2be=_0x2668b8[_0x309059(0xee)],_0x410efe=_0x2668b8[_0x309059(0xaa)];let _0x3852e4=_0x475c4e+_0x309059(0xd0);const _0x228a3a=_0x145fb5[_0x309059(0xf4)](_0x145fb5[_0x309059(0xce)](_0x475c4e,_0x2574a6),0x0)?_0x145fb5[_0x309059(0xc5)](_0x475c4e,_0x2574a6):0x0;if(_0x145fb5['DWIuA'](_0x2574a6,0x0)&&_0x145fb5[_0x309059(0xde)](_0x228a3a,0x0))_0x3852e4+='\x20('+chalk['bold'][_0x309059(0x105)](_0x2574a6+_0x309059(0xf0))+',\x20'+chalk[_0x309059(0x10a)][_0x309059(0x110)](_0x228a3a+_0x309059(0xcb))+')';else(_0x145fb5[_0x309059(0xde)](_0x2574a6,0x0)||_0x145fb5[_0x309059(0xde)](_0x228a3a,0x0))&&(_0x3852e4+=_0x145fb5[_0x309059(0xff)](_0x2574a6,0x0)?'\x20('+chalk['bold'][_0x309059(0x105)](_0x2574a6+_0x309059(0xf0))+')':'\x20('+chalk[_0x309059(0x10a)][_0x309059(0x110)](_0x228a3a+_0x309059(0xcb))+')');const _0x56e1e5=_0x4bbe2e+_0x309059(0xfd),_0x6b171=[];_0x145fb5[_0x309059(0x10d)](_0x4dd2be,0x0)&&_0x6b171['push'](''+chalk[_0x309059(0x10a)][_0x309059(0x105)](_0x4dd2be+_0x309059(0xaf)));_0x145fb5[_0x309059(0x109)](_0x1733b4,0x0)&&_0x6b171['push'](''+chalk[_0x309059(0x10a)][_0x309059(0x105)](_0x1733b4+_0x309059(0xf0)));_0x145fb5[_0x309059(0x109)](_0xe8b5f3,0x0)&&_0x6b171[_0x309059(0xb1)](''+chalk[_0x309059(0x10a)][_0x309059(0x110)](_0xe8b5f3+'\x20passed'));_0x145fb5[_0x309059(0xa5)](_0x2e6656,0x0)&&_0x6b171['push'](''+chalk[_0x309059(0x10a)][_0x309059(0xe9)](_0x2e6656+'\x20pending'));_0x145fb5[_0x309059(0xe3)](_0x21b942,0x0)&&_0x6b171['push'](''+chalk['bold'][_0x309059(0xdc)](_0x21b942+'\x20skipped'));_0x145fb5[_0x309059(0xcf)](_0x254890,0x0)&&_0x6b171['push'](''+chalk[_0x309059(0x10a)][_0x309059(0xe9)](_0x254890+'\x20undefined'));_0x145fb5[_0x309059(0xe6)](_0x15cd3f,0x0)&&_0x6b171[_0x309059(0xb1)](''+chalk[_0x309059(0x10a)][_0x309059(0xe9)](_0x15cd3f+_0x309059(0xf7)));const _0x57fc91=_0x145fb5[_0x309059(0x11b)](_0x145fb5['rnqio'](_0x145fb5[_0x309059(0xe7)](_0x56e1e5,'('),_0x6b171[_0x309059(0xb4)](',\x20')),')');console['log'](_0x145fb5[_0x309059(0xab)](_0x145fb5['hMMMt'](_0x145fb5[_0x309059(0xb0)](_0x145fb5[_0x309059(0x10c)]('\x0a',_0x3852e4),'\x0a'),_0x57fc91),'\x0a')),_0x145fb5['xwEyG'](_0x410efe,![])&&(_0xe3c032=0x1);}),_0xe3c032;}async function run(_0x2858bd,_0x1886be){const _0x17feda=a5_0x6c1fa3,_0x4887b0={'uSSnL':function(_0xbfd328,_0xd921b){return _0xbfd328(_0xd921b);},'oUWFZ':function(_0x1920fe,_0x171702){return _0x1920fe>_0x171702;},'oiqfy':_0x17feda(0x123),'ISbTp':_0x17feda(0x11f),'AczPp':_0x17feda(0x119),'RJBtS':_0x17feda(0xb8),'ugnpe':_0x17feda(0xc7),'elMkn':_0x17feda(0x104),'bSupo':function(_0x473db9,_0x4428b6){return _0x473db9-_0x4428b6;},'nXXwq':function(_0x25c784,_0x2411e8){return _0x25c784>=_0x2411e8;},'xGbEn':function(_0x3ccbcf,_0x1e2f2a){return _0x3ccbcf!=_0x1e2f2a;},'hnqDJ':_0x17feda(0x11e),'ANfaJ':function(_0x2664a5,_0x5144f8,_0x5acc15,_0xbad1d1,_0x4ebdff,_0x21015b){return _0x2664a5(_0x5144f8,_0x5acc15,_0xbad1d1,_0x4ebdff,_0x21015b);}},_0x447538=new BrowserStackSetup(_0x2858bd,_0x4887b0[_0x17feda(0xbe)]);await _0x447538[_0x17feda(0xd9)](),helper[_0x17feda(0xdd)](_0x447538[_0x17feda(0xef)],_0x2858bd);!helper[_0x17feda(0xe5)]()&&await _0x447538[_0x17feda(0x11a)]();await helper[_0x17feda(0xb5)](_0x447538['config']);const _0x349d29=helper[_0x17feda(0xf3)](_0x447538[_0x17feda(0xc3)]),_0xc22add=helper[_0x17feda(0x114)](_0x447538['config'],_0x349d29,constants['FRAMEWORKS'][_0x17feda(0xb2)]);if(!_0x447538[_0x17feda(0xc3)])return;const _0x51049f=_0x447538[_0x17feda(0xc3)][_0x17feda(0xfe)]||helper[_0x17feda(0xda)](_0x2858bd,_0x1886be,_0x447538[_0x17feda(0xc3)],constants['FRAMEWORKS'][_0x17feda(0xb2)])||0x1,_0x1c4e04={'server':helper[_0x17feda(0xa1)](_0x447538[_0x17feda(0xc3)]),'proxySettings':_0x447538['config']['proxySettings'],'maxWorkers':_0x51049f,'browserStackLogLevel':_0x447538[_0x17feda(0xc3)]['logLevel'],'skipSessionName':_0x447538[_0x17feda(0xc3)][_0x17feda(0x10e)]['skipSessionName'],'skipSessionStatus':_0x447538[_0x17feda(0xc3)][_0x17feda(0x10e)][_0x17feda(0xf6)],'turboScaleUrl':_0x447538[_0x17feda(0xc3)][_0x17feda(0x107)]},_0xdc8715=process['argv'],[_0x500faa,_0x354948]=helper[_0x17feda(0x117)](_0xdc8715),_0x4644c9=path[_0x17feda(0xb4)](process[_0x17feda(0xa0)](),_0x4887b0['elMkn']);if(_0x4887b0[_0x17feda(0x11c)](_0x354948['length'],0x0)){helper[_0x17feda(0xcd)](_0x4644c9);for(let _0x41a7fa=_0x4887b0[_0x17feda(0xad)](_0x500faa[_0x17feda(0x108)],0x1);_0x4887b0[_0x17feda(0x101)](_0x41a7fa,0x0);_0x41a7fa--){_0xdc8715[_0x17feda(0x115)](_0x500faa[_0x41a7fa],0x2);}}!helper[_0x17feda(0xdf)](_0x447538[_0x17feda(0xc3)][_0x17feda(0xae)])&&(process[_0x17feda(0xd4)][_0x17feda(0xd7)]=JSON[_0x17feda(0xac)](_0x447538[_0x17feda(0xc3)][_0x17feda(0xae)]));_0x4887b0['xGbEn'](_0x447538['config']['testObservability'],null)?process[_0x17feda(0xd4)][_0x17feda(0xd2)]=_0x447538[_0x17feda(0xc3)][_0x17feda(0xba)]:process['env'][_0x17feda(0xd2)]=_0x4887b0[_0x17feda(0xa7)];const _0x55f7e3=await TestHubHandler[_0x17feda(0xbc)](constants['FRAMEWORKS']['CUCUMBER'],_0x447538);PerformanceTester[_0x17feda(0xf2)](PerformanceEvents[_0x17feda(0xc4)]);let _0x364739;_0x4887b0[_0x17feda(0x102)](parallelCucumberRun,_0xc22add,_0x1c4e04,_0x447538['config'],_0xdc8715,_0x354948)[_0x17feda(0xfb)](async _0x1b488e=>{const _0x18d0b1=_0x17feda;PerformanceTester[_0x18d0b1(0x106)](PerformanceEvents[_0x18d0b1(0xd1)]),_0x364739=_0x1b488e;const _0xa75dfb=_0x4887b0[_0x18d0b1(0xb3)](printCucumberStats,_0x1b488e);process[_0x18d0b1(0xe4)]=_0xa75dfb,_0x4887b0['oUWFZ'](_0x354948[_0x18d0b1(0x108)],0x0)&&(logger[_0x18d0b1(0x111)](_0x4887b0[_0x18d0b1(0x100)]),helper['mergeOutputFiles'](_0x4644c9,_0x354948),logger['debug'](_0x4887b0[_0x18d0b1(0xfa)]),helper['removeDir'](_0x4644c9));})[_0x17feda(0xd3)](async()=>{const _0x1d649c=_0x17feda;PerformanceTester['start'](PerformanceEvents[_0x1d649c(0xd1)]),_0x447538[_0x1d649c(0xd8)]=helper[_0x1d649c(0xa4)](_0x364739,_0x4887b0[_0x1d649c(0xd6)]),testOpsHelper[_0x1d649c(0x116)]();try{await TestHubHandler[_0x1d649c(0xb7)]();}catch(_0x345778){logger[_0x1d649c(0x111)](_0x1d649c(0x9f)+util[_0x1d649c(0xbb)](_0x345778));}try{const {browserstackFolderPath:_0xd12ce2,tcgConfigPath:_0x4314c1}=helper['getTCGConfigFilePaths']();fs[_0x1d649c(0x9e)](_0x4314c1),fs['rmdirSync'](_0xd12ce2);}catch(_0x1b1b3c){logger['debug'](_0x4887b0[_0x1d649c(0x121)],_0x1b1b3c);}await utilities[_0x1d649c(0xcc)](_0x447538);});}module[a5_0x6c1fa3(0xe0)]=run;
|