browserstack-node-sdk 1.34.42 → 1.34.44
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/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/templates/turboscale-agent.yaml +2 -0
- 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/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
|
-
function a1_0x392f(_0x55363d,_0x1e3cff){const _0x5f52e3=a1_0x5f52();return a1_0x392f=function(_0x392fc8,_0x5a916a){_0x392fc8=_0x392fc8-0x13e;let _0x1fbdd6=_0x5f52e3[_0x392fc8];return _0x1fbdd6;},a1_0x392f(_0x55363d,_0x1e3cff);}const a1_0x4f4bbd=a1_0x392f;(function(_0x321f6b,_0xc1714d){const _0x3c3ceb=a1_0x392f,_0x1f47ca=_0x321f6b();while(!![]){try{const _0x2e0a89=parseInt(_0x3c3ceb(0x1d6))/0x1*(-parseInt(_0x3c3ceb(0x1bc))/0x2)+-parseInt(_0x3c3ceb(0x1ef))/0x3+-parseInt(_0x3c3ceb(0x166))/0x4+parseInt(_0x3c3ceb(0x147))/0x5*(parseInt(_0x3c3ceb(0x165))/0x6)+-parseInt(_0x3c3ceb(0x19a))/0x7*(parseInt(_0x3c3ceb(0x1fa))/0x8)+parseInt(_0x3c3ceb(0x168))/0x9+parseInt(_0x3c3ceb(0x1eb))/0xa;if(_0x2e0a89===_0xc1714d)break;else _0x1f47ca['push'](_0x1f47ca['shift']());}catch(_0x124959){_0x1f47ca['push'](_0x1f47ca['shift']());}}}(a1_0x5f52,0xd53fd));const fs=require('fs'),util=require(a1_0x4f4bbd(0x209)),{requireModule,markSessionStatus,isUndefined,isTrue,isBrowserstackInfra}=require(a1_0x4f4bbd(0x1ca)),logger=require(a1_0x4f4bbd(0x200))[a1_0x4f4bbd(0x215)],testOpsHelper=require('../../helpers/test-observability/utils'),requestSpy=require(a1_0x4f4bbd(0x1e8)),PlaywrightSessionDetails=require(a1_0x4f4bbd(0x1c2)),{O11yHelper,TEST_EVENTS,STATE_PASSED,STATE_FAILED}=require(a1_0x4f4bbd(0x20d)),{shouldScanTestForAccessibility,isAccessibilityAutomationSession}=require(a1_0x4f4bbd(0x1a4)),AccessibilityHelper=require(a1_0x4f4bbd(0x1a0)),scripts=require('../../helpers/accessibility-automation/scripts'),PerformanceTester=require(a1_0x4f4bbd(0x151)),{EVENTS:PerformanceEvents,AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceHookEvents}=require(a1_0x4f4bbd(0x19f)),{processWebDriverConfig,shouldPatchExecuteScript}=require(a1_0x4f4bbd(0x177)),testHubConstants=require(a1_0x4f4bbd(0x1f1)),globals=require(a1_0x4f4bbd(0x1aa)),CodeceptJS=requireModule(a1_0x4f4bbd(0x1d0),a1_0x4f4bbd(0x1af)),CodeceptUtils=requireModule(a1_0x4f4bbd(0x142),a1_0x4f4bbd(0x1af)),CodeceptWebDriver=requireModule('codeceptjs/lib/helper/WebDriver.js',a1_0x4f4bbd(0x1af)),CodeceptRecorder=requireModule(a1_0x4f4bbd(0x1b7),a1_0x4f4bbd(0x1af)),CodeceptPlaywright=requireModule('codeceptjs/lib/helper/Playwright.js',a1_0x4f4bbd(0x1af)),playwrightMarkSessionStatus=(_0x439e7b,_0x4a6b2a,_0x2d958d)=>{const _0x28c774=a1_0x4f4bbd,_0x3ba253={'YRwVD':_0x28c774(0x1dd),'pDXNB':function(_0x192ac9,_0x303bce){return _0x192ac9(_0x303bce);}},_0x13c55d={};_0x13c55d[_0x28c774(0x20f)]=_0x4a6b2a;const _0x1b9232={};_0x1b9232[_0x28c774(0x216)]=_0x3ba253[_0x28c774(0x1e3)],_0x1b9232[_0x28c774(0x1e1)]=_0x13c55d;const _0x242d3b=_0x1b9232;return!_0x3ba253['pDXNB'](isUndefined,_0x2d958d)&&(_0x242d3b[_0x28c774(0x1e1)][_0x28c774(0x1e9)]=JSON[_0x28c774(0x17c)](_0x2d958d)),_0x439e7b['executeScript'](()=>{},_0x28c774(0x1ec)+JSON[_0x28c774(0x17c)](_0x242d3b));},o11ySync=PerformanceTester[a1_0x4f4bbd(0x1fd)](PerformanceO11yEvents[a1_0x4f4bbd(0x1d3)],async _0x156efe=>{const _0x7bbc55=a1_0x4f4bbd,_0x43aa1f={};_0x43aa1f[_0x7bbc55(0x174)]=function(_0x40bf02,_0x2cca38){return _0x40bf02===_0x2cca38;},_0x43aa1f[_0x7bbc55(0x1e6)]='Playwright';const _0x2ff998=_0x43aa1f;_0x2ff998[_0x7bbc55(0x174)](_0x156efe[_0x7bbc55(0x212)]['name'],_0x2ff998[_0x7bbc55(0x1e6)])?await _0x156efe[_0x7bbc55(0x20e)](_0x145178=>{},testOpsHelper[_0x7bbc55(0x186)]()):await _0x156efe[_0x7bbc55(0x20e)](testOpsHelper['getSyncScript']());}),markSessionName=PerformanceTester[a1_0x4f4bbd(0x1fd)](PerformanceAutEvents[a1_0x4f4bbd(0x150)],async(_0x2c6f09,_0x3ed4c1)=>{const _0x178245=a1_0x4f4bbd,_0x399d0a={};_0x399d0a[_0x178245(0x149)]=_0x178245(0x1fb),_0x399d0a[_0x178245(0x1dc)]=function(_0x1c5d68,_0x128267){return _0x1c5d68===_0x128267;},_0x399d0a['GMaCo']=_0x178245(0x203);const _0x20a1fe=_0x399d0a,_0x50a44f={};_0x50a44f[_0x178245(0x178)]=_0x3ed4c1;const _0x52abc8={};_0x52abc8[_0x178245(0x216)]=_0x20a1fe['WWXWf'],_0x52abc8['arguments']=_0x50a44f;const _0x4d7260=_0x52abc8;_0x20a1fe[_0x178245(0x1dc)](_0x2c6f09[_0x178245(0x212)]['name'],_0x20a1fe[_0x178245(0x141)])?await _0x2c6f09[_0x178245(0x20e)](()=>{},_0x178245(0x1ec)+JSON['stringify'](_0x4d7260)):await _0x2c6f09[_0x178245(0x20e)](_0x178245(0x1ec)+JSON[_0x178245(0x17c)](_0x4d7260));}),patchSaveScreenshot=_0x1d86f2=>{const _0x1ad312=a1_0x4f4bbd,_0x59dfe7={'DxqQE':'base64','gdToH':'TEST_SCREENSHOT','qHzcI':function(_0x48601d){return _0x48601d();},'VhEig':function(_0x2079e9,_0x129d66){return _0x2079e9(_0x129d66);}};_0x59dfe7[_0x1ad312(0x188)](isTrue,process[_0x1ad312(0x1ac)]['BS_TESTOPS_ALLOW_SCREENSHOTS'])&&!_0x1d86f2['patchSaveScreenshot']&&(_0x1d86f2[_0x1ad312(0x191)]=!![],_0x1d86f2[_0x1ad312(0x1c9)]=_0x1d86f2['saveScreenshot'],_0x1d86f2[_0x1ad312(0x208)]=(_0x1935cc,_0x31efbd=![])=>{const _0x2374b8=_0x1ad312,_0x44add6={'MXxFm':_0x59dfe7['DxqQE'],'LcdmZ':_0x59dfe7[_0x2374b8(0x1c5)],'bMpev':function(_0x519bbf){const _0x1eeaf7=_0x2374b8;return _0x59dfe7[_0x1eeaf7(0x17d)](_0x519bbf);}};return new Promise(function(_0x28c955,_0x861934){const _0x27194e=_0x2374b8,_0x2c5ea1={'rArch':_0x44add6[_0x27194e(0x143)],'gXxbZ':_0x44add6[_0x27194e(0x190)],'RTOTD':function(_0x50a9a8){return _0x44add6['bMpev'](_0x50a9a8);}};_0x1d86f2[_0x27194e(0x1c9)](_0x1935cc,_0x31efbd)[_0x27194e(0x161)](()=>{const _0x384635=_0x27194e,_0x5317c4=CodeceptUtils[_0x384635(0x1ea)](_0x1935cc),_0x20b359=fs[_0x384635(0x210)](_0x5317c4);process[_0x384635(0x154)](_0x384635(0x1a3)+process[_0x384635(0x1b1)],{'timestamp':new Date()[_0x384635(0x184)](),'message':_0x20b359[_0x384635(0x1e4)](_0x2c5ea1[_0x384635(0x195)]),'kind':_0x2c5ea1['gXxbZ']}),_0x2c5ea1[_0x384635(0x1db)](_0x28c955);})[_0x27194e(0x16d)](()=>null);});});},patchWebDriverBefore=_0x14bd47=>{const _0x63aa84=a1_0x4f4bbd,_0x5ae902={'tWwBv':function(_0x256a75){return _0x256a75();},'PLODw':function(_0x1630fd,_0x1ecdb5){return _0x1630fd(_0x1ecdb5);},'bmJVn':function(_0x28b8c2,_0x2ad1cd){return _0x28b8c2===_0x2ad1cd;},'LWfCp':_0x63aa84(0x1c8)},_0x4e502f=async function(_0x568582,_0x2dbff8){const _0x1794c0=_0x63aa84;return _0x5ae902[_0x1794c0(0x1a9)](isAccessibilityAutomationSession)&&!global[_0x1794c0(0x1b6)]&&global['accessibilityPlatform']&&scripts[_0x1794c0(0x1b5)](_0x568582[_0x1794c0(0x178)])&&_0x5ae902[_0x1794c0(0x158)](shouldPatchExecuteScript,arguments[0x2])&&(global[_0x1794c0(0x1b6)]=!![],await PerformanceTester[_0x1794c0(0x1fd)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x57109f=_0x1794c0;logger['debug']('Performing\x20scan\x20for\x20'+_0x568582['class']+'\x20'+_0x568582[_0x57109f(0x178)]),await AccessibilityHelper[_0x57109f(0x196)](_0x14bd47,scripts['performScan']);},{'command':_0x568582[_0x1794c0(0x178)]})()),global['bstackAllyScanning']=![],_0x2dbff8['apply'](this,Array[_0x1794c0(0x201)]['slice'][_0x1794c0(0x1ff)](arguments,0x2));},_0x350847=CodeceptWebDriver['prototype'][_0x63aa84(0x1a7)];CodeceptWebDriver[_0x63aa84(0x201)][_0x63aa84(0x1a7)]=async function(){const _0x548d46=_0x63aa84,_0x31e40b={'QNJqi':function(_0x43512d,_0x37d835){return _0x5ae902['bmJVn'](_0x43512d,_0x37d835);},'knKAG':_0x5ae902['LWfCp']};try{await _0x350847[_0x548d46(0x1d4)](this,arguments);}catch(_0x372d3e){logger[_0x548d46(0x1c4)]('Failed\x20to\x20execute\x20_before:\x20'+util[_0x548d46(0x17a)](_0x372d3e));}scripts['commandsToWrap']['filter'](_0x3ac9a2=>_0x3ac9a2[_0x548d46(0x178)]&&_0x3ac9a2[_0x548d46(0x1f9)])[_0x548d46(0x156)](_0x30d5c9=>{const _0x5cfb2c=_0x548d46;this[_0x5cfb2c(0x1b2)][_0x5cfb2c(0x1ee)](_0x30d5c9[_0x5cfb2c(0x178)],_0x4e502f[_0x5cfb2c(0x19e)](this,_0x30d5c9),_0x31e40b[_0x5cfb2c(0x159)](_0x30d5c9[_0x5cfb2c(0x1f9)],_0x31e40b['knKAG']));}),_0x5ae902[_0x548d46(0x158)](processWebDriverConfig,_0x14bd47);};},patchPlaywrightBefore=()=>{const _0x4fd6a4=a1_0x4f4bbd;PlaywrightSessionDetails[_0x4fd6a4(0x18b)]();const _0xd70bf=CodeceptPlaywright[_0x4fd6a4(0x201)]['_before'];CodeceptPlaywright[_0x4fd6a4(0x201)][_0x4fd6a4(0x1a7)]=async function(){const _0xb9df67=_0x4fd6a4;this[_0xb9df67(0x1c6)]=await this[_0xb9df67(0x1b2)]['contexts']()[0x0],await _0xd70bf[_0xb9df67(0x1d4)](this,arguments);};},getCodeceptDriver=()=>{const _0x44dd7d=a1_0x4f4bbd,_0xe0e7ce={};_0xe0e7ce[_0x44dd7d(0x16a)]=_0x44dd7d(0x18a),_0xe0e7ce[_0x44dd7d(0x15a)]=_0x44dd7d(0x203),_0xe0e7ce[_0x44dd7d(0x1cd)]=_0x44dd7d(0x1ad),_0xe0e7ce[_0x44dd7d(0x18c)]=_0x44dd7d(0x14a);const _0x53f6cc=_0xe0e7ce,_0x27a21b=[_0x53f6cc[_0x44dd7d(0x16a)],_0x53f6cc['UpveP'],_0x53f6cc[_0x44dd7d(0x1cd)],_0x53f6cc[_0x44dd7d(0x18c)]],_0x2315ef=_0x27a21b[_0x44dd7d(0x1e5)](_0x2a678c=>!!CodeceptJS[_0x44dd7d(0x181)][_0x44dd7d(0x1b8)](_0x2a678c));if(!_0x2315ef)return null;return CodeceptJS[_0x44dd7d(0x181)][_0x44dd7d(0x1b8)](_0x2315ef);};function a1_0x5f52(){const _0x993ee5=['afterTest','failed','HgOfG','SDK_HOOK','msQYc','codeceptjs/lib/index.js','hook-passed','FexEE','SYNC','apply','thTestRunUuid','1EFHOaU','browserstackTestName','getResultsSummary','stop','INFO','RTOTD','PQsUs','setSessionStatus','Failed\x20in\x20marking\x20session\x20status\x20of\x20test:\x20','MsisH','thBuildUuid','arguments','saveTestResults','YRwVD','toString','find','bvDvR','MTQDo','../../helpers/request-spy','reason','screenshotOutputFolder','14266230ArRrhO','browserstack_executor:\x20','GET_RESULTS','overwriteCommand','3735750bZmiCx','mziWQ','../../helpers/testhub/constants.js','__skipSessionStatus','xyOyl','getAccessibilityResults','hookType','startMonitoring','BGeFO','TEST_RUN_FINISHED','class','31016MgrJOU','setSessionName','bddStepFinish','measureWrapper','stopMonitoring','call','../../helpers/logger','prototype','zZUlo','Playwright','RNgQg','mSOJu','TEST_LOG','started','saveScreenshot','util','addRequestSpy','GPSbA','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20summary.','./o11yHelper','executeScript','status','readFileSync','title','constructor','test','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','winstonLogger','action','Suite','SDK_POST_INITIALIZE','hook-started','BROWSERSTACK_TESTHUB_JWT','GdUnY','warn','GMaCo','codeceptjs/lib/utils.js','MXxFm','event','XQnHc','__workerDetails','1702065UkqUNM','setGlobal','WWXWf','TestCafe','test-failed','all','command','skipSessionStatus','HOOK_RUN_STARTED','SESSION_NAME','../../helpers/performance/performance-tester','lwYMp','xWeDj','emit','captureError','forEach','captureEvent','PLODw','QNJqi','UpveP','TEST_RUN_SKIPPED','PERFORM_SCAN','rlwar','start','test-skipped','WVfJa','then','ciKXV','NkZmy','bddStepStart','12KDIlNj','1054320TXVAOB','PmLVD','9518013dxmqan','before','pFwpn','tKxGj','ctx','catch','NnVLg','dispatcher','YdVBJ','SDK_POST_TEST','LMbMh','test-after','mdvDj','BROWSERSTACK_TESTHUB_UUID','zMalt','./helper.js','name','QHteU','format','exports','stringify','qHzcI','BRTfG','GET_RESULTS_SUMMARY','Failed\x20in\x20sending\x20TestRunFinish\x20event:\x20','container','__driver','leaZc','toISOString','enabled','getSyncScript','testAnalyticsId','VhEig','test-before','WebDriver','patch','aHqrH','hook','end','SDK_PRE_INITIALIZE','LcdmZ','patchSaveScreenshot','performScan','XIgRn','ENV_VAR','rArch','browserStackExecuteDriver','oUrtC','add','restore','994fRPkrw','iWfsa','FgNAo','passed','bind','../../helpers/performance/constants','../../bin/playwright/accessibility-helper','thJwtToken','gtrQl','bs:addLog:','../../helpers/accessibility-automation/helper','HOOK_RUN_FINISHED','fireEvent','_before','tPEgN','tWwBv','../../helpers/globals.js','kPGzX','env','Puppeteer','currentTest','codeceptjs','kladU','pid','browser','MUhlt','UgRdZ','shouldWrapCommand','bstackAllyScanning','codeceptjs/lib/recorder.js','helpers','accessibilityPlatform','bddStep-after','edBHO','464346tYyKjv','test-started','bddStep-before','SDK_PRE_TEST','CKVzr','bddStep','../../bin/playwright/sessionDetails','TEST_RUN_STARTED','debug','gdToH','browserContext','SDK_TEST','Element','initSaveScreenshot','../../helpers/helper'];a1_0x5f52=function(){return _0x993ee5;};return a1_0x5f52();}module[a1_0x4f4bbd(0x17b)]=function(_0x4a6940){const _0x9f9afd=a1_0x4f4bbd,_0x5513f2={'msQYc':function(_0xcdddd7){return _0xcdddd7();},'ciKXV':function(_0x4145eb,_0x5a7ad8){return _0x4145eb(_0x5a7ad8);},'mSOJu':'getAccessibilityResultsSummary','tPEgN':_0x9f9afd(0x20c),'MsisH':_0x9f9afd(0x1f4),'FexEE':'Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','YdVBJ':_0x9f9afd(0x219),'mziWQ':_0x9f9afd(0x1d1),'oUrtC':'hook-failed','kPGzX':_0x9f9afd(0x1d7),'XIgRn':function(_0x477795){return _0x477795();},'leaZc':_0x9f9afd(0x189),'iWfsa':function(_0x1464a9,_0x412ecb){return _0x1464a9(_0x412ecb);},'BGeFO':function(_0x190c5c,_0x202b61,_0x4f57ca){return _0x190c5c(_0x202b61,_0x4f57ca);},'NkZmy':_0x9f9afd(0x1bd),'FgNAo':function(_0x54f61a){return _0x54f61a();},'WVfJa':'test-passed','rlwar':function(_0x46691f){return _0x46691f();},'LMbMh':function(_0x4bf2aa,_0x1aa3a8,_0x372bf3,_0x4d8c73){return _0x4bf2aa(_0x1aa3a8,_0x372bf3,_0x4d8c73);},'RNgQg':function(_0x303238,_0x42e8f9,_0x1bb255,_0x171219){return _0x303238(_0x42e8f9,_0x1bb255,_0x171219);},'QHteU':function(_0x35428e,_0xfedcb2){return _0x35428e===_0xfedcb2;},'MPaEB':_0x9f9afd(0x217),'CKVzr':_0x9f9afd(0x14b),'UgRdZ':_0x9f9afd(0x15f),'wUDxT':_0x9f9afd(0x1cb),'gtrQl':function(_0x2b4b2c,_0x1c1107,_0x103879){return _0x2b4b2c(_0x1c1107,_0x103879);},'NnVLg':function(_0x5ed397){return _0x5ed397();},'kladU':'Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','XQnHc':_0x9f9afd(0x173),'GdUnY':_0x9f9afd(0x1da),'zZUlo':_0x9f9afd(0x206),'MTQDo':'step-comment','edBHO':_0x9f9afd(0x1be),'MUhlt':_0x9f9afd(0x1ba),'xWeDj':function(_0x1836a6){return _0x1836a6();},'GPSbA':_0x9f9afd(0x203)};_0x4a6940[_0x9f9afd(0x14e)]&&(global[_0x9f9afd(0x1f2)]=_0x4a6940[_0x9f9afd(0x14e)]);PerformanceTester[_0x9f9afd(0x1f6)]();const _0x5d098b=_0x5513f2[_0x9f9afd(0x153)](getCodeceptDriver),_0x17b608=new O11yHelper(_0x5d098b,_0x4a6940),_0x3684bc=!!CodeceptJS[_0x9f9afd(0x181)]['helpers'](_0x5513f2[_0x9f9afd(0x20b)]);global[_0x9f9afd(0x182)]=_0x5d098b,_0x5d098b&&(PerformanceTester[_0x9f9afd(0x1fd)](PerformanceEvents[_0x9f9afd(0x18f)],()=>{const _0x495a11=_0x9f9afd;_0x3684bc?_0x5513f2[_0x495a11(0x1cf)](patchPlaywrightBefore):_0x5513f2[_0x495a11(0x162)](patchWebDriverBefore,_0x5d098b);})(),PerformanceTester[_0x9f9afd(0x1fd)](PerformanceEvents[_0x9f9afd(0x218)],()=>{const _0x40fc68=_0x9f9afd,_0x452e38={};_0x452e38['tKxGj']=_0x5513f2[_0x40fc68(0x1df)],_0x452e38[_0x40fc68(0x152)]=_0x5513f2[_0x40fc68(0x1d2)];const _0xcd31c3=_0x452e38;_0x5d098b['getAccessibilityResultsSummary']=async()=>{const _0x57a4a1=_0x40fc68;if(global[_0x57a4a1(0x1b9)]){const _0x2f2f5b={};_0x2f2f5b[_0x57a4a1(0x14d)]=_0x5513f2[_0x57a4a1(0x205)],await PerformanceTester[_0x57a4a1(0x1fd)](PerformanceA11yEvents[_0x57a4a1(0x15c)],async()=>{const _0x1f0d4=_0x57a4a1;await AccessibilityHelper[_0x1f0d4(0x196)](_0x5d098b,scripts[_0x1f0d4(0x192)]);},_0x2f2f5b)(),await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x57a4a1(0x17f)],async()=>{const _0x32fa13=_0x57a4a1;await AccessibilityHelper['browserStackExecuteDriver'](_0x5d098b,scripts[_0x32fa13(0x1d8)]);})();}else return logger[_0x57a4a1(0x140)](_0x5513f2[_0x57a4a1(0x1a8)]),{};},_0x5d098b[_0x40fc68(0x1f4)]=async()=>{const _0x57e600=_0x40fc68;if(global[_0x57e600(0x1b9)]){const _0x52ec52={};_0x52ec52['command']=_0xcd31c3[_0x57e600(0x16b)],await PerformanceTester[_0x57e600(0x1fd)](PerformanceA11yEvents[_0x57e600(0x15c)],async()=>{const _0x705d96=_0x57e600;await AccessibilityHelper[_0x705d96(0x196)](_0x5d098b,scripts['performScan']);},_0x52ec52)(),await PerformanceTester[_0x57e600(0x1fd)](PerformanceA11yEvents[_0x57e600(0x1ed)],async()=>{const _0xfbd4c6=_0x57e600;await AccessibilityHelper[_0xfbd4c6(0x196)](_0x5d098b,scripts['getResults']);})();}else return logger[_0x57e600(0x140)](_0xcd31c3[_0x57e600(0x152)]),{};},_0x5513f2[_0x40fc68(0x162)](patchSaveScreenshot,_0x5d098b);})()),CodeceptJS['event'][_0x9f9afd(0x16f)]['on'](CodeceptJS[_0x9f9afd(0x144)][_0x9f9afd(0x14c)][_0x9f9afd(0x169)],()=>{const _0x3c8136=_0x9f9afd;PerformanceTester[_0x3c8136(0x15e)](PerformanceEvents[_0x3c8136(0x1bf)]);try{_0x17b608[_0x3c8136(0x15e)](),testOpsHelper[_0x3c8136(0x20a)](),PerformanceTester[_0x3c8136(0x18e)](PerformanceEvents[_0x3c8136(0x1bf)]);}catch(_0x3ef6ae){PerformanceTester[_0x3c8136(0x155)](_0x3ef6ae),PerformanceTester[_0x3c8136(0x18e)](PerformanceEvents[_0x3c8136(0x1bf)],![],_0x3ef6ae);}}),CodeceptJS[_0x9f9afd(0x144)][_0x9f9afd(0x16f)]['on'](CodeceptJS[_0x9f9afd(0x144)][_0x9f9afd(0x14c)]['after'],async()=>{const _0x939ce7=_0x9f9afd;PerformanceTester['start'](PerformanceEvents[_0x939ce7(0x171)]);try{requestSpy[_0x939ce7(0x199)](),await _0x17b608[_0x939ce7(0x1d9)](),PerformanceTester[_0x939ce7(0x18e)](PerformanceEvents[_0x939ce7(0x171)]);}catch(_0x1c5207){PerformanceTester[_0x939ce7(0x155)](_0x1c5207),PerformanceTester[_0x939ce7(0x18e)](PerformanceEvents[_0x939ce7(0x171)],![],_0x1c5207);}finally{PerformanceTester[_0x939ce7(0x1fe)]();}}),CodeceptJS[_0x9f9afd(0x144)]['dispatcher']['on'](CodeceptJS[_0x9f9afd(0x144)]['hook'][_0x9f9afd(0x207)],_0x3f4c17=>{const _0x42efeb=_0x9f9afd;PerformanceTester[_0x42efeb(0x15e)](PerformanceEvents['SDK_HOOK']);try{const _0x226b15=_0x3f4c17[_0x42efeb(0x16c)][_0x42efeb(0x213)],_0x388799=_0x17b608[_0x42efeb(0x157)](TEST_EVENTS[_0x42efeb(0x14f)],_0x226b15);CodeceptRecorder[_0x42efeb(0x198)](()=>_0x17b608[_0x42efeb(0x1a6)](TEST_EVENTS['HOOK_RUN_STARTED'],_0x388799));const _0x57cca6={};_0x57cca6['hookType']=_0x5513f2[_0x42efeb(0x170)],PerformanceTester['end'](PerformanceEvents[_0x42efeb(0x1ce)],!![],null,_0x57cca6);}catch(_0x427e19){const _0x31d449={};_0x31d449[_0x42efeb(0x1f5)]=_0x5513f2[_0x42efeb(0x170)],PerformanceTester[_0x42efeb(0x18e)](PerformanceEvents[_0x42efeb(0x1ce)],![],_0x427e19,_0x31d449),PerformanceTester[_0x42efeb(0x155)](_0x427e19);}}),CodeceptJS[_0x9f9afd(0x144)][_0x9f9afd(0x16f)]['on'](CodeceptJS[_0x9f9afd(0x144)]['hook']['passed'],_0x3d6e13=>{const _0xe2fc6c=_0x9f9afd,_0x35957a={};_0x35957a[_0xe2fc6c(0x1f5)]=_0x5513f2['mziWQ'],PerformanceTester[_0xe2fc6c(0x15e)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x35957a);try{const _0x17669d=_0x3d6e13[_0xe2fc6c(0x16c)]['test'],_0x105fda=_0x17b608[_0xe2fc6c(0x157)](TEST_EVENTS['HOOK_RUN_FINISHED'],_0x17669d);CodeceptRecorder[_0xe2fc6c(0x198)](()=>_0x17b608[_0xe2fc6c(0x1a6)](TEST_EVENTS[_0xe2fc6c(0x1a5)],_0x105fda));const _0x27fe4e={};_0x27fe4e[_0xe2fc6c(0x1f5)]=_0x5513f2[_0xe2fc6c(0x1f0)],PerformanceTester['end'](PerformanceHookEvents[_0xe2fc6c(0x1ce)],!![],null,_0x27fe4e);}catch(_0x15f7fa){PerformanceTester[_0xe2fc6c(0x155)](_0x15f7fa);const _0x2c505f={};_0x2c505f[_0xe2fc6c(0x1f5)]=_0x5513f2[_0xe2fc6c(0x1f0)],PerformanceTester[_0xe2fc6c(0x18e)](PerformanceHookEvents['SDK_HOOK'],![],_0x15f7fa,_0x2c505f);}}),CodeceptJS[_0x9f9afd(0x144)][_0x9f9afd(0x16f)]['on'](CodeceptJS[_0x9f9afd(0x144)][_0x9f9afd(0x18d)][_0x9f9afd(0x1cc)],async(_0x5d3967,_0x2025af)=>{const _0x168fc8=_0x9f9afd;PerformanceTester['start'](PerformanceHookEvents[_0x168fc8(0x1ce)]);try{const _0x378268=_0x5d3967[_0x168fc8(0x16c)][_0x168fc8(0x213)],_0xdf02c6=_0x17b608[_0x168fc8(0x157)](TEST_EVENTS[_0x168fc8(0x1a5)],_0x378268,_0x2025af);CodeceptRecorder[_0x168fc8(0x198)](()=>_0x17b608[_0x168fc8(0x1a6)](TEST_EVENTS[_0x168fc8(0x1a5)],_0xdf02c6));const _0x5ea836={};_0x5ea836[_0x168fc8(0x1f5)]=_0x5513f2[_0x168fc8(0x197)],PerformanceTester[_0x168fc8(0x15e)](PerformanceHookEvents[_0x168fc8(0x1ce)],!![],null,_0x5ea836);}catch(_0xf5f0a1){PerformanceTester[_0x168fc8(0x155)](_0xf5f0a1);const _0x36c938={};_0x36c938[_0x168fc8(0x1f5)]=_0x5513f2[_0x168fc8(0x197)],PerformanceTester[_0x168fc8(0x18e)](PerformanceHookEvents['SDK_HOOK'],![],_0xf5f0a1,_0x36c938);}const _0x557806={};_0x557806[_0x168fc8(0x1f5)]=_0x5513f2['oUrtC'],PerformanceTester['end'](PerformanceHookEvents[_0x168fc8(0x1ce)],!![],null,_0x557806);}),CodeceptJS['event'][_0x9f9afd(0x16f)]['on'](CodeceptJS[_0x9f9afd(0x144)]['test'][_0x9f9afd(0x169)],_0xdfc8f=>{const _0x3479a1=_0x9f9afd;PerformanceTester[_0x3479a1(0x15e)](PerformanceHookEvents['SDK_HOOK']);try{globals[_0x3479a1(0x148)](_0x5513f2[_0x3479a1(0x1ab)],_0xdfc8f[_0x3479a1(0x211)]);_0x5513f2[_0x3479a1(0x193)](isBrowserstackInfra)&&(_0x3684bc&&(global[_0x3479a1(0x146)]={'currentTest':{'name':_0xdfc8f[_0x3479a1(0x211)],'testInfo':{'titlePath':_0xdfc8f['titlePath']()}}}));const _0x3dd56f={};_0x3dd56f[_0x3479a1(0x1f5)]=_0x5513f2[_0x3479a1(0x183)],PerformanceTester[_0x3479a1(0x18e)](PerformanceHookEvents[_0x3479a1(0x1ce)],!![],null,_0x3dd56f);}catch(_0x13364d){PerformanceTester[_0x3479a1(0x155)](_0x13364d);const _0x87a299={};_0x87a299[_0x3479a1(0x1f5)]=_0x5513f2['leaZc'],PerformanceTester[_0x3479a1(0x18e)](PerformanceHookEvents[_0x3479a1(0x1ce)],![],_0x13364d,_0x87a299);}}),CodeceptJS[_0x9f9afd(0x144)][_0x9f9afd(0x16f)]['on'](CodeceptJS[_0x9f9afd(0x144)][_0x9f9afd(0x213)][_0x9f9afd(0x207)],_0x1aeead=>{const _0x6da09=_0x9f9afd;PerformanceTester['start'](PerformanceHookEvents['SDK_HOOK']);try{globals['setGlobal'](_0x5513f2[_0x6da09(0x1ab)],_0x1aeead[_0x6da09(0x211)]);const _0x3c2402=_0x17b608[_0x6da09(0x157)](TEST_EVENTS[_0x6da09(0x1c3)],_0x1aeead);CodeceptRecorder[_0x6da09(0x198)](()=>_0x17b608['fireEvent'](TEST_EVENTS[_0x6da09(0x1c3)],_0x3c2402)),CodeceptRecorder[_0x6da09(0x198)](async()=>{const _0xc46dec=_0x6da09;_0x5513f2[_0xc46dec(0x1cf)](isBrowserstackInfra)&&(!_0x5513f2[_0xc46dec(0x19b)](isTrue,_0x4a6940['skipSessionName'])&&await _0x5513f2[_0xc46dec(0x1f7)](markSessionName,_0x5d098b,_0x1aeead[_0xc46dec(0x211)]),_0x17b608[_0xc46dec(0x185)]&&await _0x5513f2[_0xc46dec(0x162)](o11ySync,_0x5d098b));});}catch(_0x4fd5f4){const _0x19ec61={};_0x19ec61['hookType']=_0x5513f2['NkZmy'],PerformanceTester['end'](PerformanceHookEvents[_0x6da09(0x1ce)],![],_0x4fd5f4,_0x19ec61),PerformanceTester[_0x6da09(0x155)](_0x4fd5f4);}const _0x4dcba1={};_0x4dcba1['hookType']=_0x5513f2[_0x6da09(0x163)],PerformanceTester[_0x6da09(0x18e)](PerformanceHookEvents[_0x6da09(0x1ce)],!![],null,_0x4dcba1);}),CodeceptJS['event'][_0x9f9afd(0x16f)]['on'](CodeceptJS[_0x9f9afd(0x144)][_0x9f9afd(0x213)][_0x9f9afd(0x19d)],_0x25b7f8=>{const _0x5c712c=_0x9f9afd,_0xff42b8={'zMalt':function(_0x3638c6,_0x57b730,_0x3f0c7f){return _0x5513f2['BGeFO'](_0x3638c6,_0x57b730,_0x3f0c7f);},'xyOyl':function(_0x43413c){const _0x19fd30=a1_0x392f;return _0x5513f2[_0x19fd30(0x19c)](_0x43413c);}};PerformanceTester[_0x5c712c(0x15e)](PerformanceHookEvents[_0x5c712c(0x1ce)]);try{const _0x48a9f7=_0x17b608['captureEvent'](TEST_EVENTS[_0x5c712c(0x1f8)],_0x25b7f8);CodeceptRecorder[_0x5c712c(0x198)](()=>_0x17b608['fireEvent'](TEST_EVENTS[_0x5c712c(0x1f8)],_0x48a9f7)),CodeceptRecorder[_0x5c712c(0x198)](async()=>{const _0x28fcfe=_0x5c712c,_0x2b3c13={'PmLVD':function(_0x21ca3c,_0x2c0d51,_0x163eca){const _0x4beb3c=a1_0x392f;return _0xff42b8[_0x4beb3c(0x176)](_0x21ca3c,_0x2c0d51,_0x163eca);},'jEKsj':function(_0x4ff615,_0x765d8c,_0x5bb75b){const _0x37a900=a1_0x392f;return _0xff42b8[_0x37a900(0x176)](_0x4ff615,_0x765d8c,_0x5bb75b);}};_0xff42b8[_0x28fcfe(0x1f3)](isBrowserstackInfra)&&await PerformanceTester[_0x28fcfe(0x1fd)](PerformanceAutEvents['SESSION_STATUS'],async()=>{const _0x170057=_0x28fcfe;_0x3684bc?await _0x2b3c13[_0x170057(0x167)](playwrightMarkSessionStatus,_0x5d098b,STATE_PASSED):await _0x2b3c13['jEKsj'](markSessionStatus,_0x5d098b,STATE_PASSED);})();}),PerformanceTester[_0x5c712c(0x18e)](PerformanceEvents['SDK_TEST']);}catch(_0x51fe0a){PerformanceTester[_0x5c712c(0x155)](_0x51fe0a);const _0x202efa={};_0x202efa[_0x5c712c(0x1f5)]=_0x5513f2[_0x5c712c(0x160)],PerformanceTester[_0x5c712c(0x18e)](PerformanceHookEvents['SDK_HOOK'],![],_0x51fe0a,_0x202efa),PerformanceTester[_0x5c712c(0x18e)](PerformanceEvents[_0x5c712c(0x1c7)],![],_0x51fe0a);}const _0x299dad={};_0x299dad[_0x5c712c(0x1f5)]=_0x5513f2['WVfJa'],PerformanceTester[_0x5c712c(0x18e)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x299dad);}),CodeceptJS['event'][_0x9f9afd(0x16f)]['on'](CodeceptJS[_0x9f9afd(0x144)][_0x9f9afd(0x213)][_0x9f9afd(0x1cc)],(_0x38ba27,_0x3432f6)=>{const _0xb481d9=_0x9f9afd;PerformanceTester['start'](PerformanceHookEvents['SDK_HOOK']);try{if(_0x5513f2[_0xb481d9(0x179)](_0x38ba27['constructor']['name'],_0x5513f2['MPaEB'])){const _0x41f26b=_0x17b608[_0xb481d9(0x157)](TEST_EVENTS[_0xb481d9(0x15b)],_0x38ba27['ctx'][_0xb481d9(0x1ae)]);CodeceptRecorder[_0xb481d9(0x198)](()=>_0x17b608[_0xb481d9(0x1a6)](TEST_EVENTS['TEST_RUN_SKIPPED'],_0x41f26b));}else{const _0x57e09d=_0x17b608['captureEvent'](TEST_EVENTS[_0xb481d9(0x1f8)],_0x38ba27,_0x3432f6);CodeceptRecorder[_0xb481d9(0x198)](()=>{const _0x587fdc=_0xb481d9;try{_0x17b608['fireEvent'](TEST_EVENTS[_0x587fdc(0x1f8)],_0x57e09d);}catch(_0x177fbc){logger[_0x587fdc(0x1c4)](_0x587fdc(0x180)+util[_0x587fdc(0x17a)](_0x177fbc)),PerformanceTester[_0x587fdc(0x18e)](PerformanceEvents[_0x587fdc(0x1c7)],![],_0x177fbc);}}),CodeceptRecorder[_0xb481d9(0x198)](async()=>{const _0x290c4e=_0xb481d9;try{_0x5513f2[_0x290c4e(0x15d)](isBrowserstackInfra)&&(_0x3684bc?await _0x5513f2[_0x290c4e(0x172)](playwrightMarkSessionStatus,_0x5d098b,STATE_FAILED,_0x3432f6):await _0x5513f2[_0x290c4e(0x204)](markSessionStatus,_0x5d098b,STATE_FAILED,_0x3432f6));}catch(_0x143b13){logger[_0x290c4e(0x1c4)](_0x290c4e(0x1de)+util[_0x290c4e(0x17a)](_0x143b13)),PerformanceTester[_0x290c4e(0x18e)](PerformanceEvents[_0x290c4e(0x1c7)],![],_0x143b13);}});}PerformanceTester[_0xb481d9(0x18e)](PerformanceEvents[_0xb481d9(0x1c7)]);}catch(_0x490c3c){PerformanceTester[_0xb481d9(0x155)](_0x490c3c);const _0x180d15={};_0x180d15[_0xb481d9(0x1f5)]=_0x5513f2[_0xb481d9(0x1c0)],PerformanceTester[_0xb481d9(0x18e)](PerformanceHookEvents[_0xb481d9(0x1ce)],![],_0x490c3c,_0x180d15),PerformanceTester[_0xb481d9(0x18e)](PerformanceEvents[_0xb481d9(0x1c7)],![],_0x490c3c);}const _0xd1908c={};_0xd1908c[_0xb481d9(0x1f5)]=_0x5513f2['CKVzr'],PerformanceTester[_0xb481d9(0x18e)](PerformanceHookEvents[_0xb481d9(0x1ce)],!![],null,_0xd1908c);}),CodeceptJS[_0x9f9afd(0x144)][_0x9f9afd(0x16f)]['on'](CodeceptJS[_0x9f9afd(0x144)][_0x9f9afd(0x213)]['skipped'],_0x258f32=>{const _0x327519=_0x9f9afd;PerformanceTester['start'](PerformanceHookEvents[_0x327519(0x1ce)]);try{const _0x497f35=_0x17b608[_0x327519(0x157)](TEST_EVENTS['TEST_RUN_SKIPPED'],_0x258f32);CodeceptRecorder['add'](()=>_0x17b608[_0x327519(0x1a6)](TEST_EVENTS[_0x327519(0x15b)],_0x497f35)),PerformanceTester[_0x327519(0x18e)](PerformanceEvents[_0x327519(0x1c7)]);}catch(_0x57003b){PerformanceTester[_0x327519(0x155)](_0x57003b),PerformanceTester[_0x327519(0x18e)](PerformanceEvents[_0x327519(0x1c7)],![],_0x57003b);const _0x15fb8d={};_0x15fb8d[_0x327519(0x1f5)]=_0x5513f2[_0x327519(0x1b4)],PerformanceTester[_0x327519(0x18e)](PerformanceHookEvents[_0x327519(0x1ce)],![],_0x57003b,_0x15fb8d);}const _0x4d9844={};_0x4d9844['hookType']=_0x5513f2[_0x327519(0x1b4)],PerformanceTester['end'](PerformanceHookEvents[_0x327519(0x1ce)],!![],null,_0x4d9844);}),CodeceptJS[_0x9f9afd(0x144)][_0x9f9afd(0x16f)]['on'](CodeceptJS['event'][_0x9f9afd(0x213)]['after'],async(_0x45013f,_0x3156cd)=>{const _0x56a1a8=_0x9f9afd,_0x15d18b={};_0x15d18b[_0x56a1a8(0x17e)]=_0x5513f2['wUDxT'];const _0x132416=_0x15d18b;try{PerformanceTester[_0x56a1a8(0x15e)](PerformanceHookEvents[_0x56a1a8(0x1ce)]);if(_0x5513f2['msQYc'](isBrowserstackInfra)){const _0x1469e0=_0x5513f2[_0x56a1a8(0x1a2)](shouldScanTestForAccessibility,_0x45013f['titlePath'](),!![]);if(_0x5513f2[_0x56a1a8(0x16e)](isAccessibilityAutomationSession)&&global['accessibilityPlatform']&&_0x1469e0){const _0x458c4a={};_0x458c4a[_0x56a1a8(0x1d5)]=_0x45013f[_0x56a1a8(0x187)],_0x458c4a[_0x56a1a8(0x1e0)]=process[_0x56a1a8(0x1ac)][testHubConstants[_0x56a1a8(0x194)][_0x56a1a8(0x175)]],_0x458c4a[_0x56a1a8(0x1a1)]=process[_0x56a1a8(0x1ac)][testHubConstants['ENV_VAR'][_0x56a1a8(0x13e)]];const _0x3d87cd=_0x458c4a;logger[_0x56a1a8(0x1c4)](_0x56a1a8(0x214)+JSON[_0x56a1a8(0x17c)](_0x3d87cd)),CodeceptRecorder[_0x56a1a8(0x198)](async()=>{const _0x11efc2=_0x56a1a8,_0x365131={};_0x365131[_0x11efc2(0x14d)]=_0x132416[_0x11efc2(0x17e)],await PerformanceTester[_0x11efc2(0x1fd)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x226ed0=_0x11efc2;await AccessibilityHelper[_0x226ed0(0x196)](_0x5d098b,scripts[_0x226ed0(0x192)]);},_0x365131)(),await PerformanceTester[_0x11efc2(0x1fd)](PerformanceA11yEvents['SAVE_RESULTS'],async()=>{const _0x40f4a3=_0x11efc2;await AccessibilityHelper[_0x40f4a3(0x196)](_0x5d098b,scripts[_0x40f4a3(0x1e2)],_0x3d87cd);})();}),logger['info'](_0x5513f2[_0x56a1a8(0x1b0)]);}}const _0x184b25={};_0x184b25[_0x56a1a8(0x1f5)]=_0x5513f2[_0x56a1a8(0x145)],PerformanceTester[_0x56a1a8(0x18e)](PerformanceHookEvents[_0x56a1a8(0x1ce)],!![],null,_0x184b25);}catch(_0x3b1f33){PerformanceTester['captureError'](_0x3b1f33);const _0xdf90e1={};_0xdf90e1[_0x56a1a8(0x1f5)]=_0x5513f2[_0x56a1a8(0x145)],PerformanceTester[_0x56a1a8(0x18e)](PerformanceHookEvents[_0x56a1a8(0x1ce)],![],_0x3b1f33,_0xdf90e1);}}),CodeceptJS[_0x9f9afd(0x144)]['dispatcher']['on'](CodeceptJS[_0x9f9afd(0x144)]['step']['comment'],_0x1b340a=>{const _0x47e031=_0x9f9afd;PerformanceTester[_0x47e031(0x15e)](PerformanceHookEvents[_0x47e031(0x1ce)]);try{process[_0x47e031(0x154)](_0x47e031(0x1a3)+process[_0x47e031(0x1b1)],{'timestamp':new Date()[_0x47e031(0x184)](),'level':_0x5513f2[_0x47e031(0x13f)],'message':_0x1b340a,'kind':_0x5513f2[_0x47e031(0x202)],'http_response':{}});}catch(_0x936d15){PerformanceTester[_0x47e031(0x155)](_0x936d15);const _0x50c314={};_0x50c314['hookType']=_0x5513f2[_0x47e031(0x1e7)],PerformanceTester[_0x47e031(0x18e)](PerformanceHookEvents[_0x47e031(0x1ce)],![],_0x936d15,_0x50c314);}const _0xd7fbfb={};_0xd7fbfb[_0x47e031(0x1f5)]=_0x5513f2[_0x47e031(0x1e7)],PerformanceTester[_0x47e031(0x18e)](PerformanceHookEvents[_0x47e031(0x1ce)],!![],null,_0xd7fbfb);}),CodeceptJS[_0x9f9afd(0x144)]['dispatcher']['on'](CodeceptJS[_0x9f9afd(0x144)]['bddStep'][_0x9f9afd(0x169)],_0x5377a2=>{const _0x58d7c8=_0x9f9afd,_0x3614e9={};_0x3614e9[_0x58d7c8(0x1f5)]=_0x5513f2[_0x58d7c8(0x1bb)],PerformanceTester[_0x58d7c8(0x1fd)](PerformanceHookEvents[_0x58d7c8(0x1ce)],()=>{const _0x105643=_0x58d7c8;_0x17b608[_0x105643(0x164)](_0x5377a2);},_0x3614e9)();}),CodeceptJS[_0x9f9afd(0x144)]['dispatcher']['on'](CodeceptJS['event'][_0x9f9afd(0x1c1)]['after'],_0x5b6b92=>{const _0x3cb3b4=_0x9f9afd,_0x31d509={};_0x31d509[_0x3cb3b4(0x1f5)]=_0x5513f2[_0x3cb3b4(0x1b3)],PerformanceTester[_0x3cb3b4(0x1fd)](PerformanceHookEvents[_0x3cb3b4(0x1ce)],()=>{const _0x1e6625=_0x3cb3b4;_0x17b608[_0x1e6625(0x1fc)](_0x5b6b92);},_0x31d509)();});};
|
|
1
|
+
const a1_0x28eb99=a1_0x192a;(function(_0x419779,_0xb2cc8e){const _0x3a2a34=a1_0x192a,_0x93a51b=_0x419779();while(!![]){try{const _0x3de933=-parseInt(_0x3a2a34(0x164))/0x1+parseInt(_0x3a2a34(0x1dd))/0x2*(-parseInt(_0x3a2a34(0x153))/0x3)+parseInt(_0x3a2a34(0x18e))/0x4+parseInt(_0x3a2a34(0x19d))/0x5+parseInt(_0x3a2a34(0x1ea))/0x6*(-parseInt(_0x3a2a34(0x203))/0x7)+parseInt(_0x3a2a34(0x1f6))/0x8+parseInt(_0x3a2a34(0x14f))/0x9;if(_0x3de933===_0xb2cc8e)break;else _0x93a51b['push'](_0x93a51b['shift']());}catch(_0x2ea695){_0x93a51b['push'](_0x93a51b['shift']());}}}(a1_0x5ecd,0x9c961));const fs=require('fs'),util=require(a1_0x28eb99(0x1c9)),{requireModule,markSessionStatus,isUndefined,isTrue,isBrowserstackInfra}=require(a1_0x28eb99(0x198)),logger=require(a1_0x28eb99(0x1fd))[a1_0x28eb99(0x17b)],testOpsHelper=require('../../helpers/test-observability/utils'),requestSpy=require(a1_0x28eb99(0x178)),PlaywrightSessionDetails=require(a1_0x28eb99(0x161)),{O11yHelper,TEST_EVENTS,STATE_PASSED,STATE_FAILED}=require(a1_0x28eb99(0x185)),{shouldScanTestForAccessibility,isAccessibilityAutomationSession}=require('../../helpers/accessibility-automation/helper'),AccessibilityHelper=require(a1_0x28eb99(0x1a1)),scripts=require(a1_0x28eb99(0x158)),PerformanceTester=require('../../helpers/performance/performance-tester'),{EVENTS:PerformanceEvents,AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceHookEvents}=require(a1_0x28eb99(0x1ef)),{processWebDriverConfig,shouldPatchExecuteScript}=require(a1_0x28eb99(0x13b)),testHubConstants=require(a1_0x28eb99(0x1e2)),globals=require(a1_0x28eb99(0x183)),CodeceptJS=requireModule(a1_0x28eb99(0x189),a1_0x28eb99(0x1a8)),CodeceptUtils=requireModule('codeceptjs/lib/utils.js',a1_0x28eb99(0x1a8)),CodeceptWebDriver=requireModule(a1_0x28eb99(0x1fb),a1_0x28eb99(0x1a8)),CodeceptRecorder=requireModule(a1_0x28eb99(0x150),a1_0x28eb99(0x1a8)),CodeceptPlaywright=requireModule('codeceptjs/lib/helper/Playwright.js',a1_0x28eb99(0x1a8)),playwrightMarkSessionStatus=(_0x2ba002,_0x29e6fc,_0x5cac38)=>{const _0x4c4bb5=a1_0x28eb99,_0x4607eb={'WcDTh':_0x4c4bb5(0x209),'jyefl':function(_0x1c6b07,_0x42a780){return _0x1c6b07(_0x42a780);}},_0x1352ce={};_0x1352ce[_0x4c4bb5(0x170)]=_0x29e6fc;const _0xb095cf={};_0xb095cf[_0x4c4bb5(0x1b0)]=_0x4607eb['WcDTh'],_0xb095cf['arguments']=_0x1352ce;const _0x17a7cc=_0xb095cf;return!_0x4607eb['jyefl'](isUndefined,_0x5cac38)&&(_0x17a7cc[_0x4c4bb5(0x210)][_0x4c4bb5(0x174)]=JSON['stringify'](_0x5cac38)),_0x2ba002[_0x4c4bb5(0x192)](()=>{},_0x4c4bb5(0x1f7)+JSON[_0x4c4bb5(0x155)](_0x17a7cc));},o11ySync=PerformanceTester[a1_0x28eb99(0x184)](PerformanceO11yEvents[a1_0x28eb99(0x182)],async _0x392313=>{const _0x1fdead=a1_0x28eb99,_0x338b93={};_0x338b93[_0x1fdead(0x145)]=function(_0x4d9303,_0x1e7882){return _0x4d9303===_0x1e7882;},_0x338b93[_0x1fdead(0x17c)]=_0x1fdead(0x169);const _0x1b1224=_0x338b93;_0x1b1224[_0x1fdead(0x145)](_0x392313[_0x1fdead(0x1bf)][_0x1fdead(0x1f2)],_0x1b1224[_0x1fdead(0x17c)])?await _0x392313['executeScript'](_0x1ea7f9=>{},testOpsHelper[_0x1fdead(0x142)]()):await _0x392313[_0x1fdead(0x192)](testOpsHelper[_0x1fdead(0x142)]());}),markSessionName=PerformanceTester[a1_0x28eb99(0x184)](PerformanceAutEvents['SESSION_NAME'],async(_0x4d6e89,_0x1e7b66)=>{const _0x286f2c=a1_0x28eb99,_0x391bad={};_0x391bad[_0x286f2c(0x1c5)]='setSessionName',_0x391bad[_0x286f2c(0x188)]=function(_0x49a829,_0xbf8515){return _0x49a829===_0xbf8515;},_0x391bad[_0x286f2c(0x166)]=_0x286f2c(0x169);const _0x53456f=_0x391bad,_0x5c7a21={};_0x5c7a21[_0x286f2c(0x1f2)]=_0x1e7b66;const _0x4d34a9={};_0x4d34a9['action']=_0x53456f[_0x286f2c(0x1c5)],_0x4d34a9['arguments']=_0x5c7a21;const _0x2d1bbf=_0x4d34a9;_0x53456f[_0x286f2c(0x188)](_0x4d6e89[_0x286f2c(0x1bf)]['name'],_0x53456f[_0x286f2c(0x166)])?await _0x4d6e89[_0x286f2c(0x192)](()=>{},_0x286f2c(0x1f7)+JSON[_0x286f2c(0x155)](_0x2d1bbf)):await _0x4d6e89[_0x286f2c(0x192)](_0x286f2c(0x1f7)+JSON['stringify'](_0x2d1bbf));}),patchSaveScreenshot=_0x194b47=>{const _0x5d55eb=a1_0x28eb99,_0x3c2d66={'qDLCP':_0x5d55eb(0x14b),'Ctqlc':_0x5d55eb(0x140),'llplm':function(_0x50f5d8){return _0x50f5d8();},'mpfoq':function(_0x5dc618,_0x29d202){return _0x5dc618(_0x29d202);}};_0x3c2d66['mpfoq'](isTrue,process[_0x5d55eb(0x1fe)]['BS_TESTOPS_ALLOW_SCREENSHOTS'])&&!_0x194b47['patchSaveScreenshot']&&(_0x194b47[_0x5d55eb(0x168)]=!![],_0x194b47[_0x5d55eb(0x139)]=_0x194b47[_0x5d55eb(0x206)],_0x194b47[_0x5d55eb(0x206)]=(_0x4bb30a,_0x3de60e=![])=>{const _0x5c1b30=_0x5d55eb,_0x26b2de={'VKtKx':_0x3c2d66[_0x5c1b30(0x1a0)],'gJvQz':_0x3c2d66['Ctqlc'],'yUeMg':function(_0x354c00){const _0x3e4653=_0x5c1b30;return _0x3c2d66[_0x3e4653(0x143)](_0x354c00);}};return new Promise(function(_0xb90b30,_0x107de4){const _0x540046=_0x5c1b30;_0x194b47[_0x540046(0x139)](_0x4bb30a,_0x3de60e)['then'](()=>{const _0x1c4220=_0x540046,_0x35b52a=CodeceptUtils[_0x1c4220(0x1b5)](_0x4bb30a),_0x52331b=fs[_0x1c4220(0x196)](_0x35b52a);process[_0x1c4220(0x208)](_0x1c4220(0x1d5)+process['pid'],{'timestamp':new Date()[_0x1c4220(0x18d)](),'message':_0x52331b[_0x1c4220(0x1cb)](_0x26b2de[_0x1c4220(0x20b)]),'kind':_0x26b2de[_0x1c4220(0x1b3)]}),_0x26b2de[_0x1c4220(0x211)](_0xb90b30);})[_0x540046(0x16b)](()=>null);});});},patchWebDriverBefore=_0x2373c1=>{const _0x4e028e=a1_0x28eb99,_0x19022c={'ZkgsD':function(_0x1d4d1f){return _0x1d4d1f();},'MCVWZ':function(_0x4da260,_0x4fb260){return _0x4da260(_0x4fb260);},'YzhVx':function(_0x3f40a4,_0x161ed2){return _0x3f40a4===_0x161ed2;},'JDLqa':_0x4e028e(0x141),'NzhER':function(_0x423df6,_0x5d3e36){return _0x423df6(_0x5d3e36);}},_0x5f503d=async function(_0x588c0a,_0x4ea4a4){const _0x564a1a=_0x4e028e;return _0x19022c[_0x564a1a(0x20d)](isAccessibilityAutomationSession)&&!global[_0x564a1a(0x162)]&&global[_0x564a1a(0x18a)]&&scripts['shouldWrapCommand'](_0x588c0a[_0x564a1a(0x1f2)])&&_0x19022c['MCVWZ'](shouldPatchExecuteScript,arguments[0x2])&&(global[_0x564a1a(0x162)]=!![],await PerformanceTester[_0x564a1a(0x184)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x7f4dff=_0x564a1a;logger[_0x7f4dff(0x15e)](_0x7f4dff(0x15c)+_0x588c0a[_0x7f4dff(0x180)]+'\x20'+_0x588c0a[_0x7f4dff(0x1f2)]),await AccessibilityHelper['browserStackExecuteDriver'](_0x2373c1,scripts['performScan']);},{'command':_0x588c0a[_0x564a1a(0x1f2)]})()),global[_0x564a1a(0x162)]=![],_0x4ea4a4[_0x564a1a(0x19f)](this,Array[_0x564a1a(0x1c7)][_0x564a1a(0x1ae)][_0x564a1a(0x1be)](arguments,0x2));},_0x523b85=CodeceptWebDriver[_0x4e028e(0x1c7)][_0x4e028e(0x1ba)];CodeceptWebDriver[_0x4e028e(0x1c7)][_0x4e028e(0x1ba)]=async function(){const _0x2b8d6a=_0x4e028e;try{await _0x523b85[_0x2b8d6a(0x19f)](this,arguments);}catch(_0x2606ef){logger[_0x2b8d6a(0x15e)](_0x2b8d6a(0x16d)+util[_0x2b8d6a(0x1d4)](_0x2606ef));}scripts[_0x2b8d6a(0x1ac)][_0x2b8d6a(0x1e3)](_0x141661=>_0x141661[_0x2b8d6a(0x1f2)]&&_0x141661['class'])[_0x2b8d6a(0x204)](_0x139a2a=>{const _0x4e0aa5=_0x2b8d6a;this['browser'][_0x4e0aa5(0x14d)](_0x139a2a[_0x4e0aa5(0x1f2)],_0x5f503d['bind'](this,_0x139a2a),_0x19022c['YzhVx'](_0x139a2a[_0x4e0aa5(0x180)],_0x19022c[_0x4e0aa5(0x1ee)]));}),_0x19022c['NzhER'](processWebDriverConfig,_0x2373c1);};},patchPlaywrightBefore=()=>{const _0x409fc8=a1_0x28eb99;PlaywrightSessionDetails[_0x409fc8(0x154)]();const _0x316f55=CodeceptPlaywright[_0x409fc8(0x1c7)][_0x409fc8(0x1ba)];CodeceptPlaywright['prototype'][_0x409fc8(0x1ba)]=async function(){const _0x30a04f=_0x409fc8;this[_0x30a04f(0x146)]=await this[_0x30a04f(0x159)][_0x30a04f(0x1a3)]()[0x0],await _0x316f55[_0x30a04f(0x19f)](this,arguments);};},getCodeceptDriver=()=>{const _0x3b80d0=a1_0x28eb99,_0x3039e4={};_0x3039e4[_0x3b80d0(0x17a)]=_0x3b80d0(0x1c2),_0x3039e4[_0x3b80d0(0x14c)]=_0x3b80d0(0x169),_0x3039e4[_0x3b80d0(0x1cc)]='Puppeteer',_0x3039e4['pGmQH']=_0x3b80d0(0x1ec);const _0x4862ff=_0x3039e4,_0x5e4ff0=[_0x4862ff[_0x3b80d0(0x17a)],_0x4862ff['SMJaf'],_0x4862ff[_0x3b80d0(0x1cc)],_0x4862ff[_0x3b80d0(0x199)]],_0xcab1fb=_0x5e4ff0[_0x3b80d0(0x1d8)](_0x139693=>!!CodeceptJS[_0x3b80d0(0x1c3)][_0x3b80d0(0x167)](_0x139693));if(!_0xcab1fb)return null;return CodeceptJS['container'][_0x3b80d0(0x167)](_0xcab1fb);};function a1_0x192a(_0x499eda,_0x2be0e4){const _0x5ecd0d=a1_0x5ecd();return a1_0x192a=function(_0x192a38,_0x5eed63){_0x192a38=_0x192a38-0x138;let _0x3e1261=_0x5ecd0d[_0x192a38];return _0x3e1261;},a1_0x192a(_0x499eda,_0x2be0e4);}module['exports']=function(_0x5d498c){const _0x3648da=a1_0x28eb99,_0x455077={'ViVPX':function(_0x25d95b){return _0x25d95b();},'ESHTf':function(_0x57691c,_0xfea7e6){return _0x57691c(_0xfea7e6);},'XpPaR':_0x3648da(0x1ab),'HMJvg':_0x3648da(0x19c),'BhAjC':_0x3648da(0x1c1),'vLVGl':_0x3648da(0x1f5),'CKzyB':_0x3648da(0x149),'HZPEw':_0x3648da(0x151),'IancM':_0x3648da(0x1e9),'XpsWd':_0x3648da(0x18f),'PFpBg':function(_0x4c88e6){return _0x4c88e6();},'PdHND':'test-before','ucsRI':function(_0x2680c3,_0xca7752,_0x2185e8){return _0x2680c3(_0xca7752,_0x2185e8);},'LOlBo':'test-started','BJdXB':function(_0x4a219b,_0x3073ce,_0x4b7bf6){return _0x4a219b(_0x3073ce,_0x4b7bf6);},'sehOG':_0x3648da(0x15b),'bNerh':function(_0x367625){return _0x367625();},'wBnTa':function(_0x1d0bea,_0x456c74,_0x59753a,_0x76943a){return _0x1d0bea(_0x456c74,_0x59753a,_0x76943a);},'SZNFk':function(_0x4f2f37,_0xacc3cf){return _0x4f2f37===_0xacc3cf;},'OoRpR':_0x3648da(0x1b6),'QWxxy':_0x3648da(0x163),'BhLSE':_0x3648da(0x1d6),'cXVth':_0x3648da(0x1e1),'ymYQz':function(_0x2f73ba,_0x5177ab,_0x2d20c1){return _0x2f73ba(_0x5177ab,_0x2d20c1);},'NPwJq':_0x3648da(0x20c),'eYKih':_0x3648da(0x1df),'jLrQt':_0x3648da(0x18c),'PaMid':_0x3648da(0x1ca),'WUhCV':_0x3648da(0x1d0),'dlMcg':'bddStep-before','PSqzp':_0x3648da(0x20e),'DzwyS':_0x3648da(0x169)};_0x5d498c['skipSessionStatus']&&(global[_0x3648da(0x15a)]=_0x5d498c[_0x3648da(0x1f8)]);PerformanceTester['startMonitoring']();const _0xbf0e8=_0x455077['PFpBg'](getCodeceptDriver),_0x41a6cf=new O11yHelper(_0xbf0e8,_0x5d498c),_0x939754=!!CodeceptJS[_0x3648da(0x1c3)]['helpers'](_0x455077[_0x3648da(0x17d)]);global[_0x3648da(0x1bd)]=_0xbf0e8,_0xbf0e8&&(PerformanceTester[_0x3648da(0x184)](PerformanceEvents[_0x3648da(0x1e8)],()=>{const _0x211f14=_0x3648da;_0x939754?_0x455077[_0x211f14(0x1bb)](patchPlaywrightBefore):_0x455077[_0x211f14(0x1eb)](patchWebDriverBefore,_0xbf0e8);})(),PerformanceTester[_0x3648da(0x184)](PerformanceEvents['SDK_POST_INITIALIZE'],()=>{const _0x1194d0=_0x3648da,_0x1476aa={};_0x1476aa[_0x1194d0(0x177)]=_0x455077['BhAjC'],_0x1476aa[_0x1194d0(0x187)]=_0x455077[_0x1194d0(0x16e)];const _0x59f0da=_0x1476aa;_0xbf0e8[_0x1194d0(0x1c1)]=async()=>{const _0x17b26b=_0x1194d0;if(global[_0x17b26b(0x18a)]){const _0x4cb4e0={};_0x4cb4e0[_0x17b26b(0x19b)]=_0x59f0da['bjPkI'],await PerformanceTester[_0x17b26b(0x184)](PerformanceA11yEvents[_0x17b26b(0x1ff)],async()=>{const _0x30ce45=_0x17b26b;await AccessibilityHelper['browserStackExecuteDriver'](_0xbf0e8,scripts[_0x30ce45(0x148)]);},_0x4cb4e0)(),await PerformanceTester[_0x17b26b(0x184)](PerformanceA11yEvents['GET_RESULTS_SUMMARY'],async()=>{await AccessibilityHelper['browserStackExecuteDriver'](_0xbf0e8,scripts['getResultsSummary']);})();}else return logger[_0x17b26b(0x147)](_0x59f0da[_0x17b26b(0x187)]),{};},_0xbf0e8[_0x1194d0(0x1ab)]=async()=>{const _0x24f6e3=_0x1194d0;if(global[_0x24f6e3(0x18a)]){const _0x26a1e2={};_0x26a1e2[_0x24f6e3(0x19b)]=_0x455077[_0x24f6e3(0x1e6)],await PerformanceTester[_0x24f6e3(0x184)](PerformanceA11yEvents[_0x24f6e3(0x1ff)],async()=>{const _0x42b059=_0x24f6e3;await AccessibilityHelper[_0x42b059(0x1af)](_0xbf0e8,scripts[_0x42b059(0x148)]);},_0x26a1e2)(),await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x24f6e3(0x13f)],async()=>{const _0x5dd6e0=_0x24f6e3;await AccessibilityHelper[_0x5dd6e0(0x1af)](_0xbf0e8,scripts[_0x5dd6e0(0x1d3)]);})();}else return logger[_0x24f6e3(0x147)](_0x455077[_0x24f6e3(0x157)]),{};},_0x455077['ESHTf'](patchSaveScreenshot,_0xbf0e8);})()),CodeceptJS[_0x3648da(0x179)][_0x3648da(0x173)]['on'](CodeceptJS[_0x3648da(0x179)][_0x3648da(0x138)][_0x3648da(0x18b)],()=>{const _0x13dee2=_0x3648da;PerformanceTester[_0x13dee2(0x16f)](PerformanceEvents[_0x13dee2(0x207)]);try{_0x41a6cf['start'](),testOpsHelper[_0x13dee2(0x1c4)](),PerformanceTester['end'](PerformanceEvents['SDK_PRE_TEST']);}catch(_0x4158be){PerformanceTester[_0x13dee2(0x13a)](_0x4158be),PerformanceTester[_0x13dee2(0x156)](PerformanceEvents[_0x13dee2(0x207)],![],_0x4158be);}}),CodeceptJS[_0x3648da(0x179)][_0x3648da(0x173)]['on'](CodeceptJS[_0x3648da(0x179)][_0x3648da(0x138)][_0x3648da(0x1f3)],async()=>{const _0x50b472=_0x3648da;PerformanceTester[_0x50b472(0x16f)](PerformanceEvents[_0x50b472(0x1fc)]);try{requestSpy[_0x50b472(0x181)](),await _0x41a6cf['stop'](),PerformanceTester[_0x50b472(0x156)](PerformanceEvents[_0x50b472(0x1fc)]);}catch(_0xbc394){PerformanceTester[_0x50b472(0x13a)](_0xbc394),PerformanceTester[_0x50b472(0x156)](PerformanceEvents[_0x50b472(0x1fc)],![],_0xbc394);}finally{PerformanceTester[_0x50b472(0x14a)]();}}),CodeceptJS[_0x3648da(0x179)][_0x3648da(0x173)]['on'](CodeceptJS[_0x3648da(0x179)]['hook'][_0x3648da(0x1f4)],_0x4f06e3=>{const _0x462e3e=_0x3648da;PerformanceTester[_0x462e3e(0x16f)](PerformanceEvents[_0x462e3e(0x190)]);try{const _0x4d4af2=_0x4f06e3[_0x462e3e(0x205)][_0x462e3e(0x1aa)],_0xa4ebb0=_0x41a6cf[_0x462e3e(0x1b9)](TEST_EVENTS[_0x462e3e(0x152)],_0x4d4af2);CodeceptRecorder['add'](()=>_0x41a6cf[_0x462e3e(0x1cf)](TEST_EVENTS[_0x462e3e(0x152)],_0xa4ebb0));const _0x10ed82={};_0x10ed82['hookType']=_0x455077[_0x462e3e(0x171)],PerformanceTester[_0x462e3e(0x156)](PerformanceEvents[_0x462e3e(0x190)],!![],null,_0x10ed82);}catch(_0x21dbb6){const _0x118283={};_0x118283['hookType']=_0x455077[_0x462e3e(0x171)],PerformanceTester[_0x462e3e(0x156)](PerformanceEvents['SDK_HOOK'],![],_0x21dbb6,_0x118283),PerformanceTester[_0x462e3e(0x13a)](_0x21dbb6);}}),CodeceptJS['event'][_0x3648da(0x173)]['on'](CodeceptJS[_0x3648da(0x179)][_0x3648da(0x1c6)][_0x3648da(0x144)],_0x5ba4c1=>{const _0x346ce7=_0x3648da,_0x49c202={};_0x49c202[_0x346ce7(0x1da)]=_0x455077[_0x346ce7(0x1f9)],PerformanceTester['start'](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x49c202);try{const _0x53c98b=_0x5ba4c1['ctx'][_0x346ce7(0x1aa)],_0x112630=_0x41a6cf[_0x346ce7(0x1b9)](TEST_EVENTS[_0x346ce7(0x1c0)],_0x53c98b);CodeceptRecorder[_0x346ce7(0x13c)](()=>_0x41a6cf['fireEvent'](TEST_EVENTS['HOOK_RUN_FINISHED'],_0x112630));const _0x84a1fd={};_0x84a1fd[_0x346ce7(0x1da)]=_0x455077[_0x346ce7(0x1f9)],PerformanceTester['end'](PerformanceHookEvents[_0x346ce7(0x190)],!![],null,_0x84a1fd);}catch(_0x147717){PerformanceTester['captureError'](_0x147717);const _0x13923b={};_0x13923b['hookType']=_0x455077[_0x346ce7(0x1f9)],PerformanceTester[_0x346ce7(0x156)](PerformanceHookEvents[_0x346ce7(0x190)],![],_0x147717,_0x13923b);}}),CodeceptJS[_0x3648da(0x179)][_0x3648da(0x173)]['on'](CodeceptJS['event'][_0x3648da(0x1c6)]['failed'],async(_0x27a386,_0x18f1b1)=>{const _0x45620e=_0x3648da;PerformanceTester['start'](PerformanceHookEvents[_0x45620e(0x190)]);try{const _0x1032de=_0x27a386['ctx']['test'],_0x384e59=_0x41a6cf[_0x45620e(0x1b9)](TEST_EVENTS[_0x45620e(0x1c0)],_0x1032de,_0x18f1b1);CodeceptRecorder[_0x45620e(0x13c)](()=>_0x41a6cf[_0x45620e(0x1cf)](TEST_EVENTS[_0x45620e(0x1c0)],_0x384e59));const _0x34895b={};_0x34895b[_0x45620e(0x1da)]=_0x455077[_0x45620e(0x1d7)],PerformanceTester[_0x45620e(0x16f)](PerformanceHookEvents[_0x45620e(0x190)],!![],null,_0x34895b);}catch(_0x2baf94){PerformanceTester[_0x45620e(0x13a)](_0x2baf94);const _0x1ad33b={};_0x1ad33b[_0x45620e(0x1da)]=_0x455077['IancM'],PerformanceTester[_0x45620e(0x156)](PerformanceHookEvents[_0x45620e(0x190)],![],_0x2baf94,_0x1ad33b);}const _0x59c39c={};_0x59c39c[_0x45620e(0x1da)]=_0x455077['IancM'],PerformanceTester[_0x45620e(0x156)](PerformanceHookEvents[_0x45620e(0x190)],!![],null,_0x59c39c);}),CodeceptJS[_0x3648da(0x179)][_0x3648da(0x173)]['on'](CodeceptJS['event'][_0x3648da(0x1aa)]['before'],_0x39d71a=>{const _0x1bd280=_0x3648da;PerformanceTester[_0x1bd280(0x16f)](PerformanceHookEvents[_0x1bd280(0x190)]);try{globals['setGlobal'](_0x455077[_0x1bd280(0x1a7)],_0x39d71a[_0x1bd280(0x1e5)]);_0x455077['PFpBg'](isBrowserstackInfra)&&(_0x939754&&(global[_0x1bd280(0x1db)]={'currentTest':{'name':_0x39d71a[_0x1bd280(0x1e5)],'testInfo':{'titlePath':_0x39d71a[_0x1bd280(0x1b8)]()}}}));const _0x3fa929={};_0x3fa929[_0x1bd280(0x1da)]=_0x455077[_0x1bd280(0x17f)],PerformanceTester[_0x1bd280(0x156)](PerformanceHookEvents[_0x1bd280(0x190)],!![],null,_0x3fa929);}catch(_0x3fdda0){PerformanceTester[_0x1bd280(0x13a)](_0x3fdda0);const _0x17435b={};_0x17435b['hookType']=_0x455077[_0x1bd280(0x17f)],PerformanceTester['end'](PerformanceHookEvents['SDK_HOOK'],![],_0x3fdda0,_0x17435b);}}),CodeceptJS[_0x3648da(0x179)][_0x3648da(0x173)]['on'](CodeceptJS[_0x3648da(0x179)][_0x3648da(0x1aa)]['started'],_0x3de0fc=>{const _0x2599b8=_0x3648da,_0x380eb7={'IpPsI':function(_0x4616e9){return _0x455077['ViVPX'](_0x4616e9);},'JuUfo':function(_0x5c6715,_0x4c05a8){const _0x1b7192=a1_0x192a;return _0x455077[_0x1b7192(0x1eb)](_0x5c6715,_0x4c05a8);},'mYFSF':function(_0x5bcd35,_0x187bba,_0x2e9ef1){const _0x1fdda2=a1_0x192a;return _0x455077[_0x1fdda2(0x1c8)](_0x5bcd35,_0x187bba,_0x2e9ef1);}};PerformanceTester[_0x2599b8(0x16f)](PerformanceHookEvents[_0x2599b8(0x190)]);try{globals[_0x2599b8(0x15f)](_0x455077['XpsWd'],_0x3de0fc[_0x2599b8(0x1e5)]);const _0x3ec064=_0x41a6cf['captureEvent'](TEST_EVENTS['TEST_RUN_STARTED'],_0x3de0fc);CodeceptRecorder[_0x2599b8(0x13c)](()=>_0x41a6cf[_0x2599b8(0x1cf)](TEST_EVENTS[_0x2599b8(0x1a6)],_0x3ec064)),CodeceptRecorder[_0x2599b8(0x13c)](async()=>{const _0x5ebf3a=_0x2599b8;_0x380eb7['IpPsI'](isBrowserstackInfra)&&(!_0x380eb7[_0x5ebf3a(0x20a)](isTrue,_0x5d498c[_0x5ebf3a(0x1f0)])&&await _0x380eb7[_0x5ebf3a(0x1a2)](markSessionName,_0xbf0e8,_0x3de0fc[_0x5ebf3a(0x1e5)]),_0x41a6cf[_0x5ebf3a(0x172)]&&await _0x380eb7[_0x5ebf3a(0x20a)](o11ySync,_0xbf0e8));});}catch(_0x3c0023){const _0x5bca74={};_0x5bca74['hookType']=_0x455077[_0x2599b8(0x19a)],PerformanceTester['end'](PerformanceHookEvents[_0x2599b8(0x190)],![],_0x3c0023,_0x5bca74),PerformanceTester[_0x2599b8(0x13a)](_0x3c0023);}const _0x296b5a={};_0x296b5a[_0x2599b8(0x1da)]=_0x455077[_0x2599b8(0x19a)],PerformanceTester[_0x2599b8(0x156)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x296b5a);}),CodeceptJS['event'][_0x3648da(0x173)]['on'](CodeceptJS[_0x3648da(0x179)][_0x3648da(0x1aa)][_0x3648da(0x144)],_0x320fd9=>{const _0x318db9=_0x3648da,_0x2a41cc={'pjWqx':function(_0x240135,_0x43eb07,_0x39c087){const _0xe95e19=a1_0x192a;return _0x455077[_0xe95e19(0x165)](_0x240135,_0x43eb07,_0x39c087);},'jmTYr':function(_0x32c012){const _0x5b83ce=a1_0x192a;return _0x455077[_0x5b83ce(0x1b7)](_0x32c012);}};PerformanceTester[_0x318db9(0x16f)](PerformanceHookEvents[_0x318db9(0x190)]);try{const _0x210729=_0x41a6cf[_0x318db9(0x1b9)](TEST_EVENTS[_0x318db9(0x1de)],_0x320fd9);CodeceptRecorder[_0x318db9(0x13c)](()=>_0x41a6cf[_0x318db9(0x1cf)](TEST_EVENTS[_0x318db9(0x1de)],_0x210729)),CodeceptRecorder[_0x318db9(0x13c)](async()=>{const _0x1f3964=_0x318db9,_0x3d618d={'QBzvl':function(_0x12bc8c,_0x2c9247,_0x225d89){const _0x25a3a1=a1_0x192a;return _0x2a41cc[_0x25a3a1(0x1a4)](_0x12bc8c,_0x2c9247,_0x225d89);}};_0x2a41cc[_0x1f3964(0x175)](isBrowserstackInfra)&&await PerformanceTester[_0x1f3964(0x184)](PerformanceAutEvents[_0x1f3964(0x1d1)],async()=>{const _0x2419fe=_0x1f3964;_0x939754?await _0x3d618d['QBzvl'](playwrightMarkSessionStatus,_0xbf0e8,STATE_PASSED):await _0x3d618d[_0x2419fe(0x1ad)](markSessionStatus,_0xbf0e8,STATE_PASSED);})();}),PerformanceTester['end'](PerformanceEvents['SDK_TEST']);}catch(_0xf5a4e7){PerformanceTester[_0x318db9(0x13a)](_0xf5a4e7);const _0x7ab8fe={};_0x7ab8fe['hookType']=_0x455077['sehOG'],PerformanceTester[_0x318db9(0x156)](PerformanceHookEvents[_0x318db9(0x190)],![],_0xf5a4e7,_0x7ab8fe),PerformanceTester[_0x318db9(0x156)](PerformanceEvents[_0x318db9(0x1e7)],![],_0xf5a4e7);}const _0x5b18d2={};_0x5b18d2[_0x318db9(0x1da)]=_0x455077['sehOG'],PerformanceTester[_0x318db9(0x156)](PerformanceHookEvents[_0x318db9(0x190)],!![],null,_0x5b18d2);}),CodeceptJS[_0x3648da(0x179)][_0x3648da(0x173)]['on'](CodeceptJS[_0x3648da(0x179)][_0x3648da(0x1aa)][_0x3648da(0x1cd)],(_0x1c724b,_0x47f16f)=>{const _0x2bcaed=_0x3648da,_0x106895={'zXbnT':function(_0x1cb334){const _0x1b5a3e=a1_0x192a;return _0x455077[_0x1b5a3e(0x193)](_0x1cb334);},'faSrL':function(_0x445b96,_0x2154c8,_0x4578e5,_0x3ea2ad){const _0x1e1cb9=a1_0x192a;return _0x455077[_0x1e1cb9(0x186)](_0x445b96,_0x2154c8,_0x4578e5,_0x3ea2ad);}};PerformanceTester[_0x2bcaed(0x16f)](PerformanceHookEvents[_0x2bcaed(0x190)]);try{if(_0x455077[_0x2bcaed(0x197)](_0x1c724b[_0x2bcaed(0x1bf)]['name'],_0x455077[_0x2bcaed(0x191)])){const _0x16be3d=_0x41a6cf[_0x2bcaed(0x1b9)](TEST_EVENTS['TEST_RUN_SKIPPED'],_0x1c724b['ctx'][_0x2bcaed(0x1d9)]);CodeceptRecorder[_0x2bcaed(0x13c)](()=>_0x41a6cf['fireEvent'](TEST_EVENTS[_0x2bcaed(0x200)],_0x16be3d));}else{const _0x55cb18=_0x41a6cf['captureEvent'](TEST_EVENTS['TEST_RUN_FINISHED'],_0x1c724b,_0x47f16f);CodeceptRecorder['add'](()=>{const _0x57131d=_0x2bcaed;try{_0x41a6cf['fireEvent'](TEST_EVENTS[_0x57131d(0x1de)],_0x55cb18);}catch(_0x353c3b){logger[_0x57131d(0x15e)](_0x57131d(0x1e0)+util[_0x57131d(0x1d4)](_0x353c3b)),PerformanceTester[_0x57131d(0x156)](PerformanceEvents[_0x57131d(0x1e7)],![],_0x353c3b);}}),CodeceptRecorder[_0x2bcaed(0x13c)](async()=>{const _0x6d51fd=_0x2bcaed;try{_0x106895[_0x6d51fd(0x1a9)](isBrowserstackInfra)&&(_0x939754?await _0x106895[_0x6d51fd(0x160)](playwrightMarkSessionStatus,_0xbf0e8,STATE_FAILED,_0x47f16f):await _0x106895[_0x6d51fd(0x160)](markSessionStatus,_0xbf0e8,STATE_FAILED,_0x47f16f));}catch(_0x54e96d){logger[_0x6d51fd(0x15e)](_0x6d51fd(0x201)+util[_0x6d51fd(0x1d4)](_0x54e96d)),PerformanceTester[_0x6d51fd(0x156)](PerformanceEvents[_0x6d51fd(0x1e7)],![],_0x54e96d);}});}PerformanceTester[_0x2bcaed(0x156)](PerformanceEvents[_0x2bcaed(0x1e7)]);}catch(_0x53a80a){PerformanceTester['captureError'](_0x53a80a);const _0x4f3be6={};_0x4f3be6[_0x2bcaed(0x1da)]=_0x455077[_0x2bcaed(0x1f1)],PerformanceTester[_0x2bcaed(0x156)](PerformanceHookEvents[_0x2bcaed(0x190)],![],_0x53a80a,_0x4f3be6),PerformanceTester[_0x2bcaed(0x156)](PerformanceEvents[_0x2bcaed(0x1e7)],![],_0x53a80a);}const _0x5e5713={};_0x5e5713[_0x2bcaed(0x1da)]=_0x455077[_0x2bcaed(0x1f1)],PerformanceTester[_0x2bcaed(0x156)](PerformanceHookEvents[_0x2bcaed(0x190)],!![],null,_0x5e5713);}),CodeceptJS[_0x3648da(0x179)][_0x3648da(0x173)]['on'](CodeceptJS['event']['test'][_0x3648da(0x1dc)],_0x393f13=>{const _0x72dc52=_0x3648da;PerformanceTester[_0x72dc52(0x16f)](PerformanceHookEvents[_0x72dc52(0x190)]);try{const _0x5ec114=_0x41a6cf[_0x72dc52(0x1b9)](TEST_EVENTS['TEST_RUN_SKIPPED'],_0x393f13);CodeceptRecorder[_0x72dc52(0x13c)](()=>_0x41a6cf[_0x72dc52(0x1cf)](TEST_EVENTS[_0x72dc52(0x200)],_0x5ec114)),PerformanceTester[_0x72dc52(0x156)](PerformanceEvents['SDK_TEST']);}catch(_0x1e6426){PerformanceTester[_0x72dc52(0x13a)](_0x1e6426),PerformanceTester[_0x72dc52(0x156)](PerformanceEvents['SDK_TEST'],![],_0x1e6426);const _0xa95cb6={};_0xa95cb6['hookType']=_0x455077['BhLSE'],PerformanceTester[_0x72dc52(0x156)](PerformanceHookEvents[_0x72dc52(0x190)],![],_0x1e6426,_0xa95cb6);}const _0x15679f={};_0x15679f[_0x72dc52(0x1da)]=_0x455077[_0x72dc52(0x1ce)],PerformanceTester[_0x72dc52(0x156)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x15679f);}),CodeceptJS[_0x3648da(0x179)][_0x3648da(0x173)]['on'](CodeceptJS[_0x3648da(0x179)][_0x3648da(0x1aa)]['after'],async(_0x229089,_0x1b15e9)=>{const _0x297e27=_0x3648da,_0x5320b3={};_0x5320b3[_0x297e27(0x16a)]=_0x455077['cXVth'];const _0x3906ea=_0x5320b3;try{PerformanceTester[_0x297e27(0x16f)](PerformanceHookEvents[_0x297e27(0x190)]);if(_0x455077[_0x297e27(0x1b7)](isBrowserstackInfra)){const _0x34f59f=_0x455077[_0x297e27(0x17e)](shouldScanTestForAccessibility,_0x229089[_0x297e27(0x1b8)](),!![]);if(_0x455077[_0x297e27(0x193)](isAccessibilityAutomationSession)&&global[_0x297e27(0x18a)]&&_0x34f59f){const _0x1b477d={};_0x1b477d[_0x297e27(0x1b1)]=_0x229089['testAnalyticsId'],_0x1b477d['thBuildUuid']=process[_0x297e27(0x1fe)][testHubConstants['ENV_VAR'][_0x297e27(0x1e4)]],_0x1b477d[_0x297e27(0x1d2)]=process[_0x297e27(0x1fe)][testHubConstants[_0x297e27(0x20f)][_0x297e27(0x16c)]];const _0x48be99=_0x1b477d;logger[_0x297e27(0x15e)](_0x297e27(0x1ed)+JSON[_0x297e27(0x155)](_0x48be99)),CodeceptRecorder[_0x297e27(0x13c)](async()=>{const _0x56ca8d=_0x297e27,_0xd25665={};_0xd25665[_0x56ca8d(0x19b)]=_0x3906ea[_0x56ca8d(0x16a)],await PerformanceTester[_0x56ca8d(0x184)](PerformanceA11yEvents[_0x56ca8d(0x1ff)],async()=>{const _0x93426=_0x56ca8d;await AccessibilityHelper['browserStackExecuteDriver'](_0xbf0e8,scripts[_0x93426(0x148)]);},_0xd25665)(),await PerformanceTester[_0x56ca8d(0x184)](PerformanceA11yEvents['SAVE_RESULTS'],async()=>{const _0x42bd11=_0x56ca8d;await AccessibilityHelper[_0x42bd11(0x1af)](_0xbf0e8,scripts[_0x42bd11(0x176)],_0x48be99);})();}),logger[_0x297e27(0x13e)](_0x455077[_0x297e27(0x14e)]);}}const _0x51c6c2={};_0x51c6c2['hookType']=_0x455077['eYKih'],PerformanceTester[_0x297e27(0x156)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x51c6c2);}catch(_0x2f9750){PerformanceTester[_0x297e27(0x13a)](_0x2f9750);const _0x3b3c66={};_0x3b3c66[_0x297e27(0x1da)]=_0x455077['eYKih'],PerformanceTester['end'](PerformanceHookEvents[_0x297e27(0x190)],![],_0x2f9750,_0x3b3c66);}}),CodeceptJS[_0x3648da(0x179)]['dispatcher']['on'](CodeceptJS[_0x3648da(0x179)][_0x3648da(0x1b4)][_0x3648da(0x13d)],_0x5d6ee1=>{const _0x4c14de=_0x3648da;PerformanceTester[_0x4c14de(0x16f)](PerformanceHookEvents[_0x4c14de(0x190)]);try{process[_0x4c14de(0x208)](_0x4c14de(0x1d5)+process[_0x4c14de(0x194)],{'timestamp':new Date()[_0x4c14de(0x18d)](),'level':_0x455077[_0x4c14de(0x15d)],'message':_0x5d6ee1,'kind':_0x455077[_0x4c14de(0x195)],'http_response':{}});}catch(_0x46bbb5){PerformanceTester['captureError'](_0x46bbb5);const _0x6b7762={};_0x6b7762[_0x4c14de(0x1da)]=_0x455077[_0x4c14de(0x1bc)],PerformanceTester['end'](PerformanceHookEvents[_0x4c14de(0x190)],![],_0x46bbb5,_0x6b7762);}const _0xa35e45={};_0xa35e45['hookType']=_0x455077[_0x4c14de(0x1bc)],PerformanceTester['end'](PerformanceHookEvents[_0x4c14de(0x190)],!![],null,_0xa35e45);}),CodeceptJS[_0x3648da(0x179)][_0x3648da(0x173)]['on'](CodeceptJS['event'][_0x3648da(0x1a5)][_0x3648da(0x18b)],_0x5201f3=>{const _0x1040a6=_0x3648da,_0x442ef7={};_0x442ef7[_0x1040a6(0x1da)]=_0x455077[_0x1040a6(0x202)],PerformanceTester['measureWrapper'](PerformanceHookEvents[_0x1040a6(0x190)],()=>{const _0x572aa0=_0x1040a6;_0x41a6cf[_0x572aa0(0x1fa)](_0x5201f3);},_0x442ef7)();}),CodeceptJS[_0x3648da(0x179)][_0x3648da(0x173)]['on'](CodeceptJS[_0x3648da(0x179)]['bddStep']['after'],_0xc86582=>{const _0x30b01e=_0x3648da,_0x215302={};_0x215302[_0x30b01e(0x1da)]=_0x455077[_0x30b01e(0x1b2)],PerformanceTester[_0x30b01e(0x184)](PerformanceHookEvents['SDK_HOOK'],()=>{const _0x2835f0=_0x30b01e;_0x41a6cf[_0x2835f0(0x19e)](_0xc86582);},_0x215302)();});};function a1_0x5ecd(){const _0x57862a=['start','status','CKzyB','enabled','dispatcher','reason','jmTYr','saveTestResults','bjPkI','../../helpers/request-spy','event','OYjoO','winstonLogger','OCeRg','DzwyS','ymYQz','PdHND','class','restore','SYNC','../../helpers/globals.js','measureWrapper','./o11yHelper','wBnTa','xXnVO','Isycf','codeceptjs/lib/index.js','accessibilityPlatform','before','INFO','toISOString','3531268ZsEXDf','browserstackTestName','SDK_HOOK','OoRpR','executeScript','bNerh','pid','PaMid','readFileSync','SZNFk','../../helpers/helper','pGmQH','LOlBo','command','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','2428930zYHjay','bddStepFinish','apply','qDLCP','../../bin/playwright/accessibility-helper','mYFSF','contexts','pjWqx','bddStep','TEST_RUN_STARTED','XpsWd','codeceptjs','zXbnT','test','getAccessibilityResults','commandsToWrap','QBzvl','slice','browserStackExecuteDriver','action','thTestRunUuid','PSqzp','gJvQz','step','screenshotOutputFolder','Suite','PFpBg','titlePath','captureEvent','_before','ViVPX','WUhCV','__driver','call','constructor','HOOK_RUN_FINISHED','getAccessibilityResultsSummary','WebDriver','container','addRequestSpy','yipLF','hook','prototype','ucsRI','util','TEST_LOG','toString','aYQuy','failed','BhLSE','fireEvent','step-comment','SESSION_STATUS','thJwtToken','getResults','format','bs:addLog:','test-skipped','IancM','find','currentTest','hookType','__workerDetails','skipped','1644kGbBQH','TEST_RUN_FINISHED','test-after','Failed\x20in\x20sending\x20TestRunFinish\x20event:\x20','afterTest','../../helpers/testhub/constants.js','filter','BROWSERSTACK_TESTHUB_UUID','title','XpPaR','SDK_TEST','SDK_PRE_INITIALIZE','hook-failed','306TZNccP','ESHTf','TestCafe','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','JDLqa','../../helpers/performance/constants','skipSessionName','QWxxy','name','after','started','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20summary.','9736056bDLROV','browserstack_executor:\x20','skipSessionStatus','HZPEw','bddStepStart','codeceptjs/lib/helper/WebDriver.js','SDK_POST_TEST','../../helpers/logger','env','PERFORM_SCAN','TEST_RUN_SKIPPED','Failed\x20in\x20marking\x20session\x20status\x20of\x20test:\x20','dlMcg','121751JhTfjm','forEach','ctx','saveScreenshot','SDK_PRE_TEST','emit','setSessionStatus','JuUfo','VKtKx','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','ZkgsD','bddStep-after','ENV_VAR','arguments','yUeMg','all','initSaveScreenshot','captureError','./helper.js','add','comment','info','GET_RESULTS','TEST_SCREENSHOT','Element','getSyncScript','llplm','passed','gqCAW','browserContext','warn','performScan','hook-started','stopMonitoring','base64','SMJaf','overwriteCommand','NPwJq','1384065OxsrJv','codeceptjs/lib/recorder.js','hook-passed','HOOK_RUN_STARTED','3921pghqZp','patch','stringify','end','HMJvg','../../helpers/accessibility-automation/scripts','browser','__skipSessionStatus','test-passed','Performing\x20scan\x20for\x20','jLrQt','debug','setGlobal','faSrL','../../bin/playwright/sessionDetails','bstackAllyScanning','test-failed','136621xaARvZ','BJdXB','RsSdI','helpers','patchSaveScreenshot','Playwright','OdHLa','catch','BROWSERSTACK_TESTHUB_JWT','Failed\x20to\x20execute\x20_before:\x20','vLVGl'];a1_0x5ecd=function(){return _0x57862a;};return a1_0x5ecd();}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a2_0x275dd3=a2_0x1d77;(function(_0x59cab7,_0x113625){const _0x4aef8d=a2_0x1d77,_0x5e6a55=_0x59cab7();while(!![]){try{const _0x3382e8=-parseInt(_0x4aef8d(0x179))/0x1+parseInt(_0x4aef8d(0x1d6))/0x2+-parseInt(_0x4aef8d(0x16b))/0x3+-parseInt(_0x4aef8d(0x16a))/0x4*(-parseInt(_0x4aef8d(0x19d))/0x5)+-parseInt(_0x4aef8d(0x17d))/0x6+parseInt(_0x4aef8d(0x188))/0x7*(parseInt(_0x4aef8d(0x1bc))/0x8)+-parseInt(_0x4aef8d(0x157))/0x9*(-parseInt(_0x4aef8d(0x199))/0xa);if(_0x3382e8===_0x113625)break;else _0x5e6a55['push'](_0x5e6a55['shift']());}catch(_0x56ec91){_0x5e6a55['push'](_0x5e6a55['shift']());}}}(a2_0x48fb,0x4a2b1));const fs=require('fs'),path=require(a2_0x275dd3(0x183)),util=require('util'),process=require(a2_0x275dd3(0x1ce)),logger=require(a2_0x275dd3(0x19b))['winstonLogger'],{default:BrowserStackSetup}=require(a2_0x275dd3(0x174)),helper=require('../../helpers/helper'),utilities=require(a2_0x275dd3(0x1cd)),{checkAccessibilityPlatformConfig}=require(a2_0x275dd3(0x189)),{setAccessibilityCapabilities}=require(a2_0x275dd3(0x1ae)),{requireModule,nestedKeyValue,isBrowserstackInfra}=require(a2_0x275dd3(0x1e0)),CodeceptJS=requireModule(a2_0x275dd3(0x1ab),'codeceptjs'),testOpsHelper=require(a2_0x275dd3(0x1ca)),TestHubHandler=require(a2_0x275dd3(0x17a)),constants=require(a2_0x275dd3(0x1bd)),PerformanceTester=require(a2_0x275dd3(0x1cc)),PerformanceEvents=require('../../helpers/performance/constants')['EVENTS'],_testErrorData=[],getUserCodeceptJSConfigs=(_0x41ef5f,_0x353b70)=>{const _0x529828=a2_0x275dd3,_0x2bd32c={};_0x2bd32c[_0x529828(0x1c1)]=function(_0xbe4d8a,_0xf03ff3){return _0xbe4d8a===_0xf03ff3;},_0x2bd32c[_0x529828(0x167)]=_0x529828(0x18a),_0x2bd32c[_0x529828(0x1c8)]=_0x529828(0x1c5);const _0x43c192=_0x2bd32c;let _0x554ad9=null;const _0x46021d={};let _0x45c353=_0x353b70['findIndex'](_0x239637=>_0x239637===_0x529828(0x187));_0x43c192[_0x529828(0x1c1)](_0x45c353,-0x1)&&(_0x45c353=_0x353b70['findIndex'](_0x1f9df6=>_0x1f9df6==='-c'));if(!helper[_0x529828(0x1a0)](_0x41ef5f['config'])&&fs['existsSync'](path[_0x529828(0x19e)](process[_0x529828(0x1be)](),_0x41ef5f[_0x529828(0x1d9)])))_0x554ad9=path[_0x529828(0x19e)](process[_0x529828(0x1be)](),_0x41ef5f[_0x529828(0x1d9)]),_0x353b70[_0x529828(0x1b8)](_0x45c353,0x2);else{if(!helper[_0x529828(0x1a0)](_0x41ef5f['c'])&&fs[_0x529828(0x178)](path[_0x529828(0x19e)](process[_0x529828(0x1be)](),_0x41ef5f['c'])))_0x554ad9=path['join'](process['cwd'](),_0x41ef5f['c']),_0x353b70['slice'](_0x45c353,0x2);else{if(fs[_0x529828(0x178)](path[_0x529828(0x19e)](process['cwd'](),_0x43c192[_0x529828(0x167)])))_0x554ad9=path['join'](process[_0x529828(0x1be)](),_0x43c192[_0x529828(0x167)]);else fs['existsSync'](path[_0x529828(0x19e)](process[_0x529828(0x1be)](),_0x43c192[_0x529828(0x1c8)]))&&(_0x554ad9=path[_0x529828(0x19e)](process[_0x529828(0x1be)](),_0x43c192[_0x529828(0x1c8)]));}}return process[_0x529828(0x156)]['USER_CONFIG_DETAILS_PATH']=_0x554ad9,_0x554ad9;},getO11yRerunPattern=()=>{const _0xc1cdb0=a2_0x275dd3,_0x23d601=helper['isTrue'](process[_0xc1cdb0(0x156)][_0xc1cdb0(0x1a5)]);if(_0x23d601){const _0x2a4f75=process[_0xc1cdb0(0x156)][_0xc1cdb0(0x176)],_0x9cf639=[];if(helper[_0xc1cdb0(0x158)](_0x2a4f75)&&!helper[_0xc1cdb0(0x1a0)](_0x2a4f75)){_0x2a4f75[_0xc1cdb0(0x1ac)](',')[_0xc1cdb0(0x190)](_0x45c257=>{const _0x21c514=_0xc1cdb0;_0x9cf639[_0x21c514(0x18f)]('('+_0x45c257[_0x21c514(0x171)]()+')');});const _0x457d39='^'+_0x9cf639[_0xc1cdb0(0x19e)]('|')+'$';return _0x457d39;}}return null;},a2_0x558d00={};a2_0x558d00['chrome']=a2_0x275dd3(0x15c),a2_0x558d00['playwright-chromium']=a2_0x275dd3(0x15c),a2_0x558d00[a2_0x275dd3(0x18d)]=a2_0x275dd3(0x182),a2_0x558d00['playwright-webkit']=a2_0x275dd3(0x1c3);function a2_0x1d77(_0x120b44,_0x1a4321){const _0x48fb57=a2_0x48fb();return a2_0x1d77=function(_0x1d77dc,_0x52804f){_0x1d77dc=_0x1d77dc-0x156;let _0x594243=_0x48fb57[_0x1d77dc];return _0x594243;},a2_0x1d77(_0x120b44,_0x1a4321);}const pwToCodeceptBrowser=a2_0x558d00;function a2_0x48fb(){const _0x195df8=['8LAjuaf','848238OtoTzo','bootstrapAll','testConfig','log','DDjOl','title','trim','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','event','../../helpers/BrowserStackSetup','info','BROWSERSTACK_RERUN_TESTS','start','existsSync','505113OEpFyj','../../helpers/testhub/testhubHandler','browserName','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','1608012HkNCDb','browser','run','CODECEPT','browserWSEndpoint','firefox','path','result','chdir','errorMessage','--config','112APUNQt','../../helpers/accessibility-automation/helper','codecept.conf.js','launchBuild','format','playwright-firefox','initialize','push','map','codeceptjs','wiRJQ','plugins','qQQDg','prepareCapabilities','SDK_SETUP','pxhBe','end','8259560qNZaLx','now','../../helpers/logger','5|2|3|0|4|1','38435yiIqpB','join','FRAMEWORKS','isUndefined','fyOyt','axkBZ','getPlaywrightUrl','ogOmU','BROWSERSTACK_RERUN','HNaLt','finalExecution','stack','Playwright','desiredCapabilities','codeceptjs/lib/index.js','split','printBuildLink','../../bin/playwright/accessibility-helper','spawn','Started\x20:\x20','ZZBvm','lSqnG','cimDw','LNytX','OUgCD','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','BrowserStackPlugin','slice','mWSYu','testObservability','browserStackCwd','169368ELIPdp','../utils/constants','cwd','root','ZwCSf','ACaSx','all','webkit','toLowerCase','codecept.json','addTests','accessibilityOptions','UaUGK','mrMXS','../../helpers/test-observability/utils','gherkin','../../helpers/performance/performance-tester','../../helpers/utilities','process','teardownAll','skipSessionName','passed','WebDriver','helpers','platforms','forEach','359176EtAlHD','handleApp','Zhsnj','config','createGroupsOfSuites','ebEla','skipSessionStatus','fovJT','fzKGW','setAdditionalCapabilities','../../helpers/helper','isTestObservabilitySession','printResults','env','9CEsCBK','validateRerunTestList','UQpQO','stringify','getUserWorkerCount','chromium','mergeDeep','length','Failed\x20:\x20','profile','before','testContextOptions','Getting\x20your\x20codeceptjs\x20configs\x20from\x20','test','Eowlp','Passed\x20:\x20','dDVXx','HVqHF','NpqPo'];a2_0x48fb=function(){return _0x195df8;};return a2_0x48fb();}async function run(_0x1443b4,_0x1ca691){const _0x3facb4=a2_0x275dd3,_0x3698a2={'cimDw':function(_0x18a89d,_0x34a058){return _0x18a89d+_0x34a058;},'fzKGW':function(_0x4201b5,_0x34c694){return _0x4201b5(_0x34c694);},'UQpQO':function(_0x4c9c4a,_0x1d7abb,_0x4481ee){return _0x4c9c4a(_0x1d7abb,_0x4481ee);},'ZZBvm':_0x3facb4(0x1d3),'fovJT':function(_0x1c1bcd){return _0x1c1bcd();},'zIPFa':_0x3facb4(0x15f),'CbnUT':_0x3facb4(0x166),'mrMXS':_0x3facb4(0x1b0),'ebEla':_0x3facb4(0x19c),'HNaLt':_0x3facb4(0x191),'mWSYu':function(_0x2104d6,_0x25831c,_0x5f0ef9){return _0x2104d6(_0x25831c,_0x5f0ef9);},'Eowlp':_0x3facb4(0x172),'axkBZ':_0x3facb4(0x1a9),'Zhsnj':_0x3facb4(0x1d2),'lSqnG':function(_0x2314a0,_0x1e96e9){return _0x2314a0!=_0x1e96e9;},'ogOmU':function(_0x566a58,_0x1e4807){return _0x566a58===_0x1e4807;},'Ybcdi':function(_0x56422f,_0x3bcd7a){return _0x56422f+_0x3bcd7a;},'wiRJQ':function(_0x30842b,_0x498781,_0x3392d8){return _0x30842b(_0x498781,_0x3392d8);},'qQQDg':_0x3facb4(0x1cb),'ymesH':'-cucumber','NpqPo':function(_0x3b4a14){return _0x3b4a14();},'MGtYx':function(_0x3aea45,_0x4647d3){return _0x3aea45*_0x4647d3;},'DDjOl':_0x3facb4(0x17e),'OUgCD':function(_0x474761,_0x3c8c55,_0x59c088){return _0x474761(_0x3c8c55,_0x59c088);},'LNytX':_0x3facb4(0x1aa),'KymVY':function(_0x331cc6,_0x198698,_0x323aeb){return _0x331cc6(_0x198698,_0x323aeb);},'fyOyt':_0x3facb4(0x1bf),'pxhBe':'BrowserStackPlugin.js','HVqHF':_0x3facb4(0x1bb),'ZwCSf':function(_0x464225){return _0x464225();}},_0x1c712d=new BrowserStackSetup(_0x1443b4,_0x3698a2['HNaLt']);await _0x1c712d[_0x3facb4(0x18e)](),await helper[_0x3facb4(0x1d7)](_0x1c712d['config']);if(!_0x1c712d['config'])return;process[_0x3facb4(0x160)]=_0x1443b4[_0x3facb4(0x160)];_0x1443b4[_0x3facb4(0x160)]&&(process[_0x3facb4(0x156)][_0x3facb4(0x160)]=_0x1443b4[_0x3facb4(0x160)]);const _0x4a1898=_0x3698a2[_0x3facb4(0x1b9)](getUserCodeceptJSConfigs,_0x1443b4,_0x1ca691);let _0x5a1988={};_0x4a1898?(logger[_0x3facb4(0x175)](_0x3facb4(0x163)+_0x4a1898),_0x5a1988=CodeceptJS[_0x3facb4(0x1d9)]['load'](_0x4a1898)):logger['info'](_0x3698a2[_0x3facb4(0x165)]);let _0x420eba=![];_0x3698a2[_0x3facb4(0x159)](nestedKeyValue,_0x5a1988,[_0x3698a2[_0x3facb4(0x1b1)],_0x3698a2[_0x3facb4(0x1a2)]])&&(_0x420eba=!![]);const _0x539718=_0x420eba?_0x3698a2['axkBZ']:_0x3698a2[_0x3facb4(0x1d8)];let _0x5b3fff=!_0x420eba?helper['useW3C'](_0x1c712d[_0x3facb4(0x1d9)]):![];!helper[_0x3facb4(0x1a0)](_0x1c712d[_0x3facb4(0x1d9)][_0x3facb4(0x1c7)])&&(process['env'][_0x3facb4(0x1b6)]=JSON['stringify'](_0x1c712d[_0x3facb4(0x1d9)][_0x3facb4(0x1c7)]));let _0x5ab7ce=_0x1c712d[_0x3facb4(0x1d9)]['accessibility'];_0x5ab7ce=_0x5ab7ce||_0x3698a2[_0x3facb4(0x1de)](checkAccessibilityPlatformConfig,_0x1c712d['config']),process[_0x3facb4(0x156)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x5ab7ce;_0x5ab7ce&&(_0x5b3fff=!_0x5ab7ce);_0x3698a2[_0x3facb4(0x1b2)](_0x1c712d[_0x3facb4(0x1d9)][_0x3facb4(0x1ba)],null)?process[_0x3facb4(0x156)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x1c712d['config'][_0x3facb4(0x1ba)]:process[_0x3facb4(0x156)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x3698a2[_0x3facb4(0x1a4)](_0x539718,_0x3698a2[_0x3facb4(0x1a2)]);const _0x123aee=_0x3698a2['Ybcdi'](_0x3698a2[_0x3facb4(0x1a6)],_0x3698a2[_0x3facb4(0x192)](nestedKeyValue,_0x5a1988,[_0x3698a2[_0x3facb4(0x194)]])?_0x3698a2['ymesH']:''),_0x3df2ae=await TestHubHandler[_0x3facb4(0x18b)](_0x123aee,_0x1c712d);_0x5ab7ce&&_0x3698a2[_0x3facb4(0x1de)](setAccessibilityCapabilities,_0x1c712d[_0x3facb4(0x1d9)]);const _0x44f8b0={},_0x29a258=[],_0x58ed30=_0x1c712d[_0x3facb4(0x1d9)]['parallelsPerPlatform']||helper[_0x3facb4(0x15b)](_0x1443b4,_0x1ca691,_0x1c712d[_0x3facb4(0x1d9)],constants[_0x3facb4(0x19f)][_0x3facb4(0x180)])||0x1;let _0x1af14e=0x1;if(_0x3698a2[_0x3facb4(0x169)](isBrowserstackInfra)){const _0x2877c7=helper['prepareCapabilities'](_0x1c712d[_0x3facb4(0x1d9)],_0x5b3fff,constants[_0x3facb4(0x19f)]['CODECEPT']);_0x2877c7[_0x3facb4(0x1d5)](_0x5bbc1d=>{const _0x2272fb=_0x3facb4;helper[_0x2272fb(0x1df)](_0x5bbc1d);}),helper['validPlatformsPresent'](_0x1c712d[_0x3facb4(0x1d9)])?_0x1af14e=_0x3698a2['MGtYx'](_0x58ed30,_0x1c712d[_0x3facb4(0x1d9)][_0x3facb4(0x1d4)][_0x3facb4(0x15e)]):_0x1af14e=_0x58ed30,_0x2877c7[_0x3facb4(0x1d5)](_0x129bd8=>{const _0x4e9723=_0x3facb4,_0xa5b4a9=_0x3698a2[_0x4e9723(0x1b3)](helper['getPlatformName'](_0x129bd8,'_'),'_'+Date[_0x4e9723(0x19a)]()),_0x4072ef=((()=>{const _0x3ae21f=_0x4e9723;if(_0x420eba){const _0x3202eb=pwToCodeceptBrowser[_0x129bd8[_0x3ae21f(0x17b)]]||_0x129bd8[_0x3ae21f(0x17b)];return{'browser':_0x3202eb,[_0x3202eb]:{'browserWSEndpoint':_0x3698a2[_0x3ae21f(0x1b3)](helper[_0x3ae21f(0x1a3)](_0x1c712d[_0x3ae21f(0x1d9)]),_0x3698a2[_0x3ae21f(0x1de)](encodeURIComponent,JSON[_0x3ae21f(0x15a)](_0x129bd8)))}};}const _0x5562bd={};return _0x5562bd['desiredCapabilities']=_0x129bd8,_0x5562bd;})()),_0x2d0f6d=_0x3698a2[_0x4e9723(0x159)](nestedKeyValue,_0x5a1988,[_0x3698a2['ZZBvm'],_0x539718]);_0x44f8b0[_0xa5b4a9]=_0x2d0f6d?helper[_0x4e9723(0x15d)](_0x4072ef,_0x2d0f6d):_0x4072ef,!_0x420eba&&(_0x44f8b0[_0xa5b4a9][_0x4e9723(0x17e)]=_0x129bd8['browserName']||_0x4072ef[_0x4e9723(0x17e)]),_0x29a258[_0x4e9723(0x18f)](_0xa5b4a9);});}else{_0x1af14e=0x1;if(_0x420eba){const _0x4706a1=_0x3698a2[_0x3facb4(0x159)](nestedKeyValue,_0x5a1988,[_0x3698a2['ZZBvm'],_0x539718,_0x3698a2[_0x3facb4(0x16f)]]),_0x4d4593=_0x3698a2[_0x3facb4(0x1b5)](nestedKeyValue,_0x5a1988,[_0x3698a2[_0x3facb4(0x1b1)],_0x539718,_0x4706a1]);_0x4d4593&&_0x4d4593['browserWSEndpoint']&&(_0x4d4593[_0x3facb4(0x181)]=helper['prepareCapabilities'](null,null,_0x123aee[_0x3facb4(0x1c4)](),null,null,_0x4d4593[_0x3facb4(0x181)]));}else _0x5a1988[_0x3698a2['ZZBvm']][_0x539718][_0x3698a2['LNytX']]=helper[_0x3facb4(0x195)](null,null,_0x123aee[_0x3facb4(0x1c4)](),_0x3698a2['KymVY'](nestedKeyValue,_0x5a1988,[_0x3698a2['ZZBvm'],_0x539718,_0x3698a2[_0x3facb4(0x1b4)]]),null,null);_0x44f8b0[_0x3698a2['fyOyt']]=_0x5a1988,_0x29a258[_0x3facb4(0x18f)](_0x3698a2[_0x3facb4(0x1a1)]);}const _0x428224={};_0x428224[_0x3facb4(0x16d)]=_0x4a1898;const _0x5cb23d=_0x428224,_0x2cd3e4=path[_0x3facb4(0x19e)](__dirname,_0x3698a2[_0x3facb4(0x197)]),_0x310f3f=process['cwd']();process[_0x3facb4(0x156)][_0x3698a2[_0x3facb4(0x168)]]=_0x310f3f,process['chdir'](path['dirname'](_0x4a1898));const _0x289aa4=new CodeceptJS['Workers'](null,_0x5cb23d),_0x35d73b=_0x289aa4[_0x3facb4(0x1da)](_0x1af14e),_0x482e57=testOpsHelper[_0x3facb4(0x1e1)](),_0xd32ac5=_0x29a258[_0x3facb4(0x190)](_0x1ad874=>{const _0x186216=_0x3facb4,_0x13b34d={};_0x13b34d[_0x186216(0x1a9)]=_0x44f8b0[_0x1ad874];const _0x281190={};_0x281190[_0x186216(0x1d2)]=_0x44f8b0[_0x1ad874];const _0x18cec6=_0x420eba?_0x13b34d:_0x281190,_0x382d18=_0x3698a2[_0x186216(0x1dd)](getO11yRerunPattern),_0x3add53={};_0x3add53[_0x186216(0x1d3)]=_0x18cec6;const _0x5ef60e={};_0x5ef60e['require']=_0x2cd3e4,_0x5ef60e['enabled']=!![],_0x5ef60e[_0x186216(0x1d0)]=_0x1c712d[_0x186216(0x1d9)][_0x186216(0x162)][_0x186216(0x1d0)],_0x5ef60e[_0x186216(0x1dc)]=_0x1c712d[_0x186216(0x1d9)][_0x186216(0x162)][_0x186216(0x1dc)],_0x5ef60e[_0x186216(0x1ba)]=_0x482e57,_0x5ef60e['frameworkName']=_0x123aee;const _0x5321d0={};_0x5321d0[_0x186216(0x1b7)]=_0x5ef60e;const _0xaf188a={};return _0xaf188a[_0x186216(0x193)]=_0x5321d0,helper[_0x186216(0x15d)]({},_0x5a1988,_0x3698a2[_0x186216(0x1dd)](isBrowserstackInfra)?_0x3add53:{},_0x382d18?{'grep':_0x382d18}:{},_0xaf188a);});for(const _0x55dcfb of _0xd32ac5){for(const _0x3f3787 of _0x35d73b){const _0x4b5937=_0x289aa4[_0x3facb4(0x1af)]();_0x4b5937[_0x3facb4(0x1c6)](_0x3f3787),_0x4b5937['addConfig'](_0x55dcfb);}}_0x289aa4['on'](CodeceptJS[_0x3facb4(0x173)][_0x3facb4(0x164)]['failed'],(_0x5d4a70,_0x2e22f7)=>{const _0x2dcc20=_0x3facb4;console[_0x2dcc20(0x16e)](_0x3698a2['zIPFa'],_0x5d4a70['title']);const _0x18e9ab={[_0x5d4a70[_0x2dcc20(0x170)]]:_0x5d4a70['err'][_0x2dcc20(0x1a8)]};_testErrorData[_0x2dcc20(0x18f)](_0x18e9ab);}),_0x289aa4['on'](CodeceptJS['event']['test'][_0x3facb4(0x1d1)],async _0x55f3e4=>{const _0x25047b=_0x3facb4;console[_0x25047b(0x16e)](_0x3698a2['CbnUT'],_0x55f3e4[_0x25047b(0x170)]);}),_0x289aa4['on'](CodeceptJS[_0x3facb4(0x173)]['test'][_0x3facb4(0x161)],async _0x23aec6=>{const _0x4a4684=_0x3facb4;console[_0x4a4684(0x16e)](_0x3698a2[_0x4a4684(0x1c9)],_0x23aec6[_0x4a4684(0x170)]);}),_0x289aa4['on'](CodeceptJS[_0x3facb4(0x173)][_0x3facb4(0x1c2)][_0x3facb4(0x184)],async()=>{const _0x2366a7=_0x3facb4,_0x152b56=_0x3698a2[_0x2366a7(0x1db)][_0x2366a7(0x1ac)]('|');let _0x197097=0x0;while(!![]){switch(_0x152b56[_0x197097++]){case'0':utilities[_0x2366a7(0x1a7)](_0x1c712d);continue;case'1':_0x289aa4[_0x2366a7(0x1e2)]();continue;case'2':_0x1c712d[_0x2366a7(0x186)]=_testErrorData;continue;case'3':testOpsHelper[_0x2366a7(0x1ad)]();continue;case'4':try{await TestHubHandler['stop']();}catch(_0x46eb8c){logger['debug'](_0x2366a7(0x17c)+util[_0x2366a7(0x18c)](_0x46eb8c));}continue;case'5':PerformanceTester[_0x2366a7(0x177)](PerformanceEvents['SDK_CLEANUP']);continue;}break;}});async function _0x3fbcff(){const _0x11d674=_0x3facb4;try{await _0x289aa4[_0x11d674(0x16c)](),await _0x289aa4[_0x11d674(0x17f)]();}finally{process[_0x11d674(0x185)](_0x310f3f),await _0x289aa4[_0x11d674(0x1cf)]();}}PerformanceTester[_0x3facb4(0x198)](PerformanceEvents[_0x3facb4(0x196)]),_0x3698a2[_0x3facb4(0x1c0)](_0x3fbcff);}module['exports']=run;
|
|
2
|
+
'use strict';function a2_0x4b81(_0x366df7,_0x29d62a){const _0x4ef28f=a2_0x4ef2();return a2_0x4b81=function(_0x4b8159,_0x3649bf){_0x4b8159=_0x4b8159-0x12b;let _0x16b775=_0x4ef28f[_0x4b8159];return _0x16b775;},a2_0x4b81(_0x366df7,_0x29d62a);}const a2_0x4900a0=a2_0x4b81;(function(_0x4fc598,_0x3fc91c){const _0x27fb1e=a2_0x4b81,_0x5a1f21=_0x4fc598();while(!![]){try{const _0x52c215=parseInt(_0x27fb1e(0x1b6))/0x1*(-parseInt(_0x27fb1e(0x142))/0x2)+parseInt(_0x27fb1e(0x15e))/0x3*(parseInt(_0x27fb1e(0x153))/0x4)+parseInt(_0x27fb1e(0x171))/0x5+parseInt(_0x27fb1e(0x1a6))/0x6*(-parseInt(_0x27fb1e(0x177))/0x7)+-parseInt(_0x27fb1e(0x19c))/0x8*(parseInt(_0x27fb1e(0x13b))/0x9)+-parseInt(_0x27fb1e(0x15a))/0xa+parseInt(_0x27fb1e(0x155))/0xb;if(_0x52c215===_0x3fc91c)break;else _0x5a1f21['push'](_0x5a1f21['shift']());}catch(_0x67df5e){_0x5a1f21['push'](_0x5a1f21['shift']());}}}(a2_0x4ef2,0xd0fce));const fs=require('fs'),path=require(a2_0x4900a0(0x1b8)),util=require(a2_0x4900a0(0x17e)),process=require(a2_0x4900a0(0x131)),logger=require('../../helpers/logger')[a2_0x4900a0(0x1b9)],{default:BrowserStackSetup}=require(a2_0x4900a0(0x12f)),helper=require('../../helpers/helper'),utilities=require('../../helpers/utilities'),{checkAccessibilityPlatformConfig}=require(a2_0x4900a0(0x167)),{setAccessibilityCapabilities}=require(a2_0x4900a0(0x189)),{requireModule,nestedKeyValue,isBrowserstackInfra}=require(a2_0x4900a0(0x164)),CodeceptJS=requireModule(a2_0x4900a0(0x179),a2_0x4900a0(0x1b1)),testOpsHelper=require(a2_0x4900a0(0x134)),TestHubHandler=require(a2_0x4900a0(0x1a7)),constants=require('../utils/constants'),PerformanceTester=require(a2_0x4900a0(0x198)),PerformanceEvents=require(a2_0x4900a0(0x13a))[a2_0x4900a0(0x194)],_testErrorData=[],getUserCodeceptJSConfigs=(_0x3cedfc,_0xb9f56e)=>{const _0x234670=a2_0x4900a0,_0x536e81={};_0x536e81[_0x234670(0x170)]=function(_0x3c682a,_0x46a612){return _0x3c682a===_0x46a612;},_0x536e81[_0x234670(0x193)]='codecept.conf.js',_0x536e81['KXnCz']=_0x234670(0x176);const _0x5a099e=_0x536e81;let _0x48f5f5=null;const _0x2617b0={};let _0x17f2bc=_0xb9f56e['findIndex'](_0x135b04=>_0x135b04==='--config');_0x5a099e[_0x234670(0x170)](_0x17f2bc,-0x1)&&(_0x17f2bc=_0xb9f56e[_0x234670(0x18b)](_0x8f5d2=>_0x8f5d2==='-c'));if(!helper['isUndefined'](_0x3cedfc[_0x234670(0x130)])&&fs[_0x234670(0x14f)](path['join'](process['cwd'](),_0x3cedfc[_0x234670(0x130)])))_0x48f5f5=path[_0x234670(0x175)](process['cwd'](),_0x3cedfc[_0x234670(0x130)]),_0xb9f56e[_0x234670(0x19e)](_0x17f2bc,0x2);else{if(!helper[_0x234670(0x144)](_0x3cedfc['c'])&&fs[_0x234670(0x14f)](path['join'](process[_0x234670(0x19f)](),_0x3cedfc['c'])))_0x48f5f5=path['join'](process['cwd'](),_0x3cedfc['c']),_0xb9f56e[_0x234670(0x19e)](_0x17f2bc,0x2);else{if(fs[_0x234670(0x14f)](path[_0x234670(0x175)](process[_0x234670(0x19f)](),_0x5a099e[_0x234670(0x193)])))_0x48f5f5=path[_0x234670(0x175)](process[_0x234670(0x19f)](),_0x5a099e[_0x234670(0x193)]);else fs['existsSync'](path[_0x234670(0x175)](process[_0x234670(0x19f)](),_0x5a099e['KXnCz']))&&(_0x48f5f5=path[_0x234670(0x175)](process[_0x234670(0x19f)](),_0x5a099e[_0x234670(0x162)]));}}return process[_0x234670(0x199)][_0x234670(0x143)]=_0x48f5f5,_0x48f5f5;},getO11yRerunPattern=()=>{const _0x299be3=a2_0x4900a0,_0x3bfc55=helper['isTrue'](process['env'][_0x299be3(0x13c)]);if(_0x3bfc55){const _0x26b524=process[_0x299be3(0x199)][_0x299be3(0x150)],_0x4191ab=[];if(helper[_0x299be3(0x186)](_0x26b524)&&!helper[_0x299be3(0x144)](_0x26b524)){_0x26b524[_0x299be3(0x141)](',')[_0x299be3(0x16f)](_0x2deee0=>{const _0x4bfd71=_0x299be3;_0x4191ab['push']('('+_0x2deee0[_0x4bfd71(0x1b2)]()+')');});const _0x1940b7='^'+_0x4191ab['join']('|')+'$';return _0x1940b7;}}return null;},a2_0x3a4872={};a2_0x3a4872['chrome']=a2_0x4900a0(0x18d),a2_0x3a4872[a2_0x4900a0(0x182)]='chromium',a2_0x3a4872['playwright-firefox']='firefox',a2_0x3a4872[a2_0x4900a0(0x14a)]=a2_0x4900a0(0x147);const pwToCodeceptBrowser=a2_0x3a4872;async function run(_0x43f5c1,_0x184b48){const _0x75e5c9=a2_0x4900a0,_0xbea8e={'uRqYI':function(_0x75d014,_0x24db0b){return _0x75d014+_0x24db0b;},'DPQXM':function(_0x16a26f,_0x393125){return _0x16a26f(_0x393125);},'SjYor':function(_0x264506,_0x2cb90b){return _0x264506+_0x2cb90b;},'vufKY':function(_0x3930ac,_0x37f951,_0x543107){return _0x3930ac(_0x37f951,_0x543107);},'QwrBq':_0x75e5c9(0x185),'FIJuE':function(_0x18c89b){return _0x18c89b();},'rkvAl':_0x75e5c9(0x1aa),'zlnzV':_0x75e5c9(0x161),'uzrLv':_0x75e5c9(0x1a1),'IseTG':_0x75e5c9(0x16c),'kqUav':_0x75e5c9(0x1b1),'Adyvn':_0x75e5c9(0x17d),'PBCZO':'Playwright','vXzJn':_0x75e5c9(0x15b),'iJJHJ':function(_0x405cb1,_0x10b543){return _0x405cb1(_0x10b543);},'iBWXd':function(_0x73032f,_0x1aed9e){return _0x73032f!=_0x1aed9e;},'PdAeD':function(_0x4c2100,_0x2bb991){return _0x4c2100===_0x2bb991;},'EiWck':function(_0x3e65cc,_0x16dec1){return _0x3e65cc+_0x16dec1;},'EiTRg':'gherkin','ksVHv':_0x75e5c9(0x13d),'qtLuA':function(_0x5ca9b5,_0x47b506){return _0x5ca9b5*_0x47b506;},'Xyqxt':function(_0x51131f,_0x5af7af,_0x45ec6d){return _0x51131f(_0x5af7af,_0x45ec6d);},'pcOsQ':_0x75e5c9(0x149),'KvjfN':'desiredCapabilities','dZyvk':_0x75e5c9(0x139),'TlMAt':_0x75e5c9(0x16d),'txQnp':_0x75e5c9(0x15c)},_0x2de705=new BrowserStackSetup(_0x43f5c1,_0xbea8e[_0x75e5c9(0x19d)]);await _0x2de705['initialize'](),await helper['handleApp'](_0x2de705[_0x75e5c9(0x130)]);if(!_0x2de705[_0x75e5c9(0x130)])return;process[_0x75e5c9(0x16a)]=_0x43f5c1[_0x75e5c9(0x16a)];_0x43f5c1[_0x75e5c9(0x16a)]&&(process[_0x75e5c9(0x199)][_0x75e5c9(0x16a)]=_0x43f5c1['profile']);const _0x563398=_0xbea8e[_0x75e5c9(0x140)](getUserCodeceptJSConfigs,_0x43f5c1,_0x184b48);let _0x5000b8={};_0x563398?(logger[_0x75e5c9(0x146)](_0x75e5c9(0x178)+_0x563398),_0x5000b8=CodeceptJS['config'][_0x75e5c9(0x12b)](_0x563398)):logger['info'](_0xbea8e['Adyvn']);let _0x12b122=![];_0xbea8e['vufKY'](nestedKeyValue,_0x5000b8,[_0xbea8e[_0x75e5c9(0x160)],_0xbea8e['PBCZO']])&&(_0x12b122=!![]);const _0xe1ce6c=_0x12b122?_0xbea8e[_0x75e5c9(0x17f)]:_0xbea8e[_0x75e5c9(0x136)];let _0x99a21c=!_0x12b122?helper[_0x75e5c9(0x18c)](_0x2de705[_0x75e5c9(0x130)]):![];!helper[_0x75e5c9(0x144)](_0x2de705['config'][_0x75e5c9(0x18a)])&&(process[_0x75e5c9(0x199)][_0x75e5c9(0x15d)]=JSON[_0x75e5c9(0x157)](_0x2de705['config'][_0x75e5c9(0x18a)]));let _0x4edfaf=_0x2de705[_0x75e5c9(0x130)][_0x75e5c9(0x14d)];_0x4edfaf=_0x4edfaf||_0xbea8e[_0x75e5c9(0x152)](checkAccessibilityPlatformConfig,_0x2de705[_0x75e5c9(0x130)]),process[_0x75e5c9(0x199)][_0x75e5c9(0x196)]=_0x4edfaf;_0x4edfaf&&(_0x99a21c=!_0x4edfaf);_0xbea8e[_0x75e5c9(0x17b)](_0x2de705[_0x75e5c9(0x130)]['testObservability'],null)?process['env']['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x2de705[_0x75e5c9(0x130)]['testObservability']:process[_0x75e5c9(0x199)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0xbea8e[_0x75e5c9(0x148)](_0xe1ce6c,_0xbea8e[_0x75e5c9(0x17f)]);const _0x231116=_0xbea8e['EiWck'](_0xbea8e[_0x75e5c9(0x19d)],_0xbea8e['vufKY'](nestedKeyValue,_0x5000b8,[_0xbea8e[_0x75e5c9(0x19b)]])?_0xbea8e[_0x75e5c9(0x187)]:''),_0x296c65=await TestHubHandler[_0x75e5c9(0x138)](_0x231116,_0x2de705);_0x4edfaf&&_0xbea8e[_0x75e5c9(0x12e)](setAccessibilityCapabilities,_0x2de705[_0x75e5c9(0x130)]);const _0x27c536={},_0x3c2f90=[],_0x100301=_0x2de705['config'][_0x75e5c9(0x180)]||helper[_0x75e5c9(0x163)](_0x43f5c1,_0x184b48,_0x2de705[_0x75e5c9(0x130)],constants[_0x75e5c9(0x12d)]['CODECEPT'])||0x1;let _0x1ce0ea=0x1;if(_0xbea8e[_0x75e5c9(0x169)](isBrowserstackInfra)){const _0x5ddfbd=helper['prepareCapabilities'](_0x2de705['config'],_0x99a21c,constants[_0x75e5c9(0x12d)][_0x75e5c9(0x1a4)]);_0x5ddfbd['forEach'](_0xd8feff=>{const _0x498dcf=_0x75e5c9;helper[_0x498dcf(0x17a)](_0xd8feff);}),helper['validPlatformsPresent'](_0x2de705['config'])?_0x1ce0ea=_0xbea8e['qtLuA'](_0x100301,_0x2de705[_0x75e5c9(0x130)]['platforms']['length']):_0x1ce0ea=_0x100301,_0x5ddfbd[_0x75e5c9(0x188)](_0x50926a=>{const _0xd4b397=_0x75e5c9,_0x45d765=_0xbea8e[_0xd4b397(0x14b)](helper[_0xd4b397(0x1a5)](_0x50926a,'_'),'_'+Date[_0xd4b397(0x14c)]()),_0x1042be=((()=>{const _0x3ab639=_0xd4b397;if(_0x12b122){const _0x1b017f=pwToCodeceptBrowser[_0x50926a[_0x3ab639(0x151)]]||_0x50926a['browserName'];return{'browser':_0x1b017f,[_0x1b017f]:{'browserWSEndpoint':_0xbea8e[_0x3ab639(0x1a9)](helper[_0x3ab639(0x19a)](_0x2de705[_0x3ab639(0x130)]),_0xbea8e[_0x3ab639(0x12e)](encodeURIComponent,JSON[_0x3ab639(0x157)](_0x50926a)))}};}const _0x14bb48={};return _0x14bb48[_0x3ab639(0x1ae)]=_0x50926a,_0x14bb48;})()),_0x42ba5d=_0xbea8e[_0xd4b397(0x140)](nestedKeyValue,_0x5000b8,[_0xbea8e[_0xd4b397(0x160)],_0xe1ce6c]);_0x27c536[_0x45d765]=_0x42ba5d?helper[_0xd4b397(0x18f)](_0x1042be,_0x42ba5d):_0x1042be,!_0x12b122&&(_0x27c536[_0x45d765][_0xd4b397(0x149)]=_0x50926a['browserName']||_0x1042be['browser']),_0x3c2f90['push'](_0x45d765);});}else{_0x1ce0ea=0x1;if(_0x12b122){const _0x1f1ac8=_0xbea8e[_0x75e5c9(0x197)](nestedKeyValue,_0x5000b8,[_0xbea8e['QwrBq'],_0xe1ce6c,_0xbea8e[_0x75e5c9(0x16e)]]),_0x4231a1=_0xbea8e[_0x75e5c9(0x140)](nestedKeyValue,_0x5000b8,[_0xbea8e[_0x75e5c9(0x160)],_0xe1ce6c,_0x1f1ac8]);_0x4231a1&&_0x4231a1[_0x75e5c9(0x15f)]&&(_0x4231a1[_0x75e5c9(0x15f)]=helper['prepareCapabilities'](null,null,_0x231116[_0x75e5c9(0x184)](),null,null,_0x4231a1[_0x75e5c9(0x15f)]));}else _0x5000b8[_0xbea8e[_0x75e5c9(0x160)]][_0xe1ce6c][_0xbea8e[_0x75e5c9(0x172)]]=helper['prepareCapabilities'](null,null,_0x231116[_0x75e5c9(0x184)](),_0xbea8e[_0x75e5c9(0x140)](nestedKeyValue,_0x5000b8,[_0xbea8e[_0x75e5c9(0x160)],_0xe1ce6c,_0xbea8e[_0x75e5c9(0x172)]]),null,null);_0x27c536[_0xbea8e[_0x75e5c9(0x183)]]=_0x5000b8,_0x3c2f90[_0x75e5c9(0x12c)](_0xbea8e['dZyvk']);}const _0x230389={};_0x230389['testConfig']=_0x563398;const _0x328ac8=_0x230389,_0x21bc06=path['join'](__dirname,_0xbea8e[_0x75e5c9(0x1b5)]),_0x9282e4=process[_0x75e5c9(0x19f)]();process[_0x75e5c9(0x199)][_0xbea8e[_0x75e5c9(0x16b)]]=_0x9282e4,process[_0x75e5c9(0x159)](path['dirname'](_0x563398));const _0x28c254=new CodeceptJS[(_0x75e5c9(0x13f))](null,_0x328ac8),_0x551cf6=_0x28c254[_0x75e5c9(0x1a8)](_0x1ce0ea),_0x1c4834=testOpsHelper[_0x75e5c9(0x190)](),_0x1ce511=_0x3c2f90[_0x75e5c9(0x16f)](_0x4eba32=>{const _0x2e6ac6=_0x75e5c9,_0x195ad2={};_0x195ad2[_0x2e6ac6(0x165)]=_0x27c536[_0x4eba32];const _0x5640eb={};_0x5640eb[_0x2e6ac6(0x15b)]=_0x27c536[_0x4eba32];const _0x4fd76b=_0x12b122?_0x195ad2:_0x5640eb,_0x5c14fa=_0xbea8e[_0x2e6ac6(0x169)](getO11yRerunPattern),_0x5813be={};_0x5813be['helpers']=_0x4fd76b;const _0x891afd={};_0x891afd[_0x2e6ac6(0x1ad)]=_0x21bc06,_0x891afd[_0x2e6ac6(0x173)]=!![],_0x891afd['skipSessionName']=_0x2de705[_0x2e6ac6(0x130)][_0x2e6ac6(0x192)][_0x2e6ac6(0x166)],_0x891afd[_0x2e6ac6(0x156)]=_0x2de705[_0x2e6ac6(0x130)][_0x2e6ac6(0x192)]['skipSessionStatus'],_0x891afd[_0x2e6ac6(0x181)]=_0x1c4834,_0x891afd[_0x2e6ac6(0x13e)]=_0x231116;const _0x2adfc2={};_0x2adfc2['BrowserStackPlugin']=_0x891afd;const _0x5f5af2={};return _0x5f5af2[_0x2e6ac6(0x1ab)]=_0x2adfc2,helper[_0x2e6ac6(0x18f)]({},_0x5000b8,_0xbea8e[_0x2e6ac6(0x169)](isBrowserstackInfra)?_0x5813be:{},_0x5c14fa?{'grep':_0x5c14fa}:{},_0x5f5af2);});for(const _0x4035d6 of _0x1ce511){for(const _0x510b4d of _0x551cf6){const _0x1e5d98=_0x28c254[_0x75e5c9(0x1b4)]();_0x1e5d98[_0x75e5c9(0x14e)](_0x510b4d),_0x1e5d98['addConfig'](_0x4035d6);}}_0x28c254['on'](CodeceptJS['event'][_0x75e5c9(0x1b7)][_0x75e5c9(0x1a0)],(_0x104527,_0xdd0f39)=>{const _0x207dad=_0x75e5c9;console[_0x207dad(0x133)](_0xbea8e[_0x207dad(0x158)],_0x104527['title']);const _0x37ea28={[_0x104527[_0x207dad(0x135)]]:_0x104527[_0x207dad(0x1a3)]['stack']};_testErrorData[_0x207dad(0x12c)](_0x37ea28);}),_0x28c254['on'](CodeceptJS[_0x75e5c9(0x18e)][_0x75e5c9(0x1b7)][_0x75e5c9(0x17c)],async _0x389184=>{const _0x18b44e=_0x75e5c9;console['log'](_0xbea8e['zlnzV'],_0x389184[_0x18b44e(0x135)]);}),_0x28c254['on'](CodeceptJS[_0x75e5c9(0x18e)]['test']['before'],async _0x3b54fc=>{const _0x37ce65=_0x75e5c9;console[_0x37ce65(0x133)](_0xbea8e[_0x37ce65(0x145)],_0x3b54fc[_0x37ce65(0x135)]);}),_0x28c254['on'](CodeceptJS[_0x75e5c9(0x18e)]['all'][_0x75e5c9(0x154)],async()=>{const _0x13a791=_0x75e5c9,_0x56fad8=_0xbea8e[_0x13a791(0x195)][_0x13a791(0x141)]('|');let _0x4c85cd=0x0;while(!![]){switch(_0x56fad8[_0x4c85cd++]){case'0':utilities[_0x13a791(0x137)](_0x2de705);continue;case'1':_0x2de705[_0x13a791(0x174)]=_testErrorData;continue;case'2':try{await TestHubHandler[_0x13a791(0x168)]();}catch(_0x2e526e){logger[_0x13a791(0x132)]('Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20'+util[_0x13a791(0x191)](_0x2e526e));}continue;case'3':testOpsHelper[_0x13a791(0x1ac)]();continue;case'4':PerformanceTester[_0x13a791(0x1af)](PerformanceEvents['SDK_CLEANUP']);continue;case'5':_0x28c254[_0x13a791(0x1b3)]();continue;}break;}});async function _0x1231a1(){const _0x5be7e2=_0x75e5c9;try{await _0x28c254['bootstrapAll'](),await _0x28c254['run']();}finally{process[_0x5be7e2(0x159)](_0x9282e4),await _0x28c254[_0x5be7e2(0x1a2)]();}}PerformanceTester['end'](PerformanceEvents['SDK_SETUP']),_0xbea8e['FIJuE'](_0x1231a1);}module[a2_0x4900a0(0x1b0)]=run;function a2_0x4ef2(){const _0x3d9c6a=['printResults','spawn','TlMAt','27708IGmlAc','test','path','winstonLogger','load','push','FRAMEWORKS','DPQXM','../../helpers/BrowserStackSetup','config','process','debug','log','../../helpers/test-observability/utils','title','vXzJn','finalExecution','launchBuild','root','../../helpers/performance/constants','144297DZuZTY','BROWSERSTACK_RERUN','-cucumber','frameworkName','Workers','vufKY','split','44QsfMzT','USER_CONFIG_DETAILS_PATH','isUndefined','uzrLv','info','webkit','PdAeD','browser','playwright-webkit','SjYor','now','accessibility','addTests','existsSync','BROWSERSTACK_RERUN_TESTS','browserName','iJJHJ','17912hCDAxG','result','10926223HAFgbs','skipSessionStatus','stringify','rkvAl','chdir','3440670iTfEks','WebDriver','browserStackCwd','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','912DzcgaC','browserWSEndpoint','QwrBq','Passed\x20:\x20','KXnCz','getUserWorkerCount','../../helpers/helper','Playwright','skipSessionName','../../helpers/accessibility-automation/helper','stop','FIJuE','profile','txQnp','4|1|3|0|2|5','BrowserStackPlugin.js','pcOsQ','map','DaKGT','7383510LDuLnB','KvjfN','enabled','errorMessage','join','codecept.json','10447927fnjaok','Getting\x20your\x20codeceptjs\x20configs\x20from\x20','codeceptjs/lib/index.js','setAdditionalCapabilities','iBWXd','passed','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','util','PBCZO','parallelsPerPlatform','testObservability','playwright-chromium','dZyvk','toLowerCase','helpers','validateRerunTestList','ksVHv','forEach','../../bin/playwright/accessibility-helper','accessibilityOptions','findIndex','useW3C','chromium','event','mergeDeep','isTestObservabilitySession','format','testContextOptions','EWEww','EVENTS','IseTG','BROWSERSTACK_TEST_ACCESSIBILITY_YML','Xyqxt','../../helpers/performance/performance-tester','env','getPlaywrightUrl','EiTRg','264hrsoxZ','kqUav','slice','cwd','failed','Started\x20:\x20','teardownAll','err','CODECEPT','getPlatformName','6fFfcAu','../../helpers/testhub/testhubHandler','createGroupsOfSuites','uRqYI','Failed\x20:\x20','plugins','printBuildLink','require','desiredCapabilities','start','exports','codeceptjs','trim'];a2_0x4ef2=function(){return _0x3d9c6a;};return a2_0x4ef2();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a3_0x392f85=a3_0x3b89;function a3_0x3b89(_0x176495,_0x279bb7){const _0x5d19f1=a3_0x5d19();return a3_0x3b89=function(_0x3b89e8,_0x574d41){_0x3b89e8=_0x3b89e8-0xa3;let _0x332483=_0x5d19f1[_0x3b89e8];return _0x332483;},a3_0x3b89(_0x176495,_0x279bb7);}(function(_0x33be5d,_0x12c136){const _0x104879=a3_0x3b89,_0x198a66=_0x33be5d();while(!![]){try{const _0x8dc96d=parseInt(_0x104879(0xcc))/0x1*(-parseInt(_0x104879(0xd2))/0x2)+-parseInt(_0x104879(0xb8))/0x3+-parseInt(_0x104879(0xa6))/0x4*(-parseInt(_0x104879(0xe3))/0x5)+-parseInt(_0x104879(0xd7))/0x6*(-parseInt(_0x104879(0xdb))/0x7)+-parseInt(_0x104879(0xbf))/0x8+-parseInt(_0x104879(0xc3))/0x9+parseInt(_0x104879(0xa9))/0xa;if(_0x8dc96d===_0x12c136)break;else _0x198a66['push'](_0x198a66['shift']());}catch(_0x475377){_0x198a66['push'](_0x198a66['shift']());}}}(a3_0x5d19,0x89fc4));const {isUndefined,nestedKeyValue}=require('../../helpers/helper'),logger=require(a3_0x392f85(0xe9))['winstonLogger'],PlaywrightSessionDetails=require(a3_0x392f85(0xb1)),{isAccessibilityAutomationSession}=require(a3_0x392f85(0xc6)),{getObservabilityLinkedProductName}=require('../../helpers/test-observability/utils'),getOSVersionFromCaps=_0x33d80d=>{const _0x32a8ea=a3_0x392f85,_0x2c1ab0={};_0x2c1ab0[_0x32a8ea(0xd3)]=_0x32a8ea(0xb3),_0x2c1ab0[_0x32a8ea(0xac)]=_0x32a8ea(0xa4),_0x2c1ab0[_0x32a8ea(0xb7)]=_0x32a8ea(0xd8),_0x2c1ab0[_0x32a8ea(0xc0)]=_0x32a8ea(0xb0),_0x2c1ab0[_0x32a8ea(0xcd)]='os_version';const _0x58c81e=_0x2c1ab0;if(!_0x33d80d)return null;const _0x56d047=_0x33d80d[_0x58c81e[_0x32a8ea(0xd3)]],_0x51a36b=[_0x58c81e[_0x32a8ea(0xac)],_0x58c81e[_0x32a8ea(0xb7)],_0x58c81e['puKhd'],_0x58c81e[_0x32a8ea(0xcd)]];for(const _0x17a22e of _0x51a36b){if(_0x56d047&&_0x56d047[_0x17a22e])return _0x56d047[_0x17a22e];else{if(_0x33d80d[_0x17a22e])return _0x33d80d[_0x17a22e];}}return null;};function a3_0x5d19(){const _0x426e6e=['desiredCapabilities','RtJNa','platform','constructor','browser','../../helpers/logger','browserName','latest','platformVersion','shouldPatchExecuteScript','296IEazWe','bhWBf','nvVng','12584250SqvkFi','bsSessionId','zebzT','IsWUj','fetchPlatformDetails','name','DHmJE','osVersion','../../bin/playwright/sessionDetails','platformName','bstack:options','deviceName','XdbCQ','cloudProvider','JgZYh','397995dnhVYv','accessibilityPlatform','avZMG','FhDJI','UCNxf','nCaUp','__cloud_provider___','7283592HrKmTT','puKhd','TfewP','hZQXN','785358UmDeAq','lRkZQ','VBCDP','../../helpers/accessibility-automation/helper','HAaDU','capabilities','Playwright','searchParams','qEsrS','621369JXsotd','KOtAi','warn','BaqXR','prSwM','includes','2bSRyYf','roZwN','chrome','processWebDriverConfig','pKysS','30uCnOPJ','platform_version','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','getDetails','561218YGDQTF','browserVersion','riAUm','playwright-chromium','browserstack_accessibility_automation_script','browser_version','FOrFG','HbuVL','44435tEqcDM'];a3_0x5d19=function(){return _0x426e6e;};return a3_0x5d19();}exports[a3_0x392f85(0xad)]=_0x5eb33b=>{const _0x5d7f42=a3_0x392f85,_0x2874a3={'pKysS':'unknown_grid','UCNxf':function(_0x149ecc,_0x4fe122){return _0x149ecc===_0x4fe122;},'avZMG':'WebDriver','XdbCQ':function(_0x16ca4a,_0x5374e6){return _0x16ca4a(_0x5374e6);},'hZQXN':function(_0xf0ede1,_0x55df23,_0x5d3194){return _0xf0ede1(_0x55df23,_0x5d3194);},'qEsrS':'config','lPBaM':_0x5d7f42(0xe4),'igVgu':function(_0x728ef2,_0x389cfc){return _0x728ef2===_0x389cfc;},'bhWBf':_0x5d7f42(0xc9),'BaqXR':_0x5d7f42(0xe8),'HbuVL':'browserWSEndpoint','HAaDU':'caps'};if(!_0x5eb33b)return null;let _0x17ee94=global[_0x5d7f42(0xbe)]||_0x2874a3[_0x5d7f42(0xd6)];if(_0x2874a3[_0x5d7f42(0xbc)](_0x5eb33b[_0x5d7f42(0xe7)]['name'],_0x2874a3[_0x5d7f42(0xba)])){const _0x4a6506=_0x5eb33b[_0x5d7f42(0xe8)];if(!_0x4a6506)return null;const _0x348c6b=_0x4a6506[_0x5d7f42(0xc8)],_0x9848ff=_0x2874a3[_0x5d7f42(0xb5)](getOSVersionFromCaps,_0x2874a3[_0x5d7f42(0xc2)](nestedKeyValue,_0x5eb33b,[_0x2874a3[_0x5d7f42(0xcb)],_0x2874a3['lPBaM']]));return{[_0x17ee94]:{'browser':_0x348c6b[_0x5d7f42(0xea)],'browser_version':_0x348c6b[_0x5d7f42(0xdc)],'capabilities':_0x348c6b,'platform':_0x348c6b[_0x5d7f42(0xb2)],'platform_version':_0x348c6b['platformVersion']||_0x9848ff,'product':_0x2874a3[_0x5d7f42(0xb5)](getObservabilityLinkedProductName,_0x348c6b),'session_id':_0x4a6506['sessionId']}};}else{if(_0x2874a3['igVgu'](_0x5eb33b[_0x5d7f42(0xe7)][_0x5d7f42(0xae)],_0x2874a3[_0x5d7f42(0xa7)])){const _0x368b3a=PlaywrightSessionDetails[_0x5d7f42(0xda)]();_0x17ee94=_0x368b3a[_0x5d7f42(0xb6)]||_0x17ee94;const _0x4235a1=_0x2874a3[_0x5d7f42(0xc2)](nestedKeyValue,_0x5eb33b,[_0x2874a3[_0x5d7f42(0xcb)],_0x2874a3[_0x5d7f42(0xcf)],_0x2874a3[_0x5d7f42(0xe2)]]),_0x3240b6=_0x4235a1?JSON['parse'](new URL(_0x4235a1)[_0x5d7f42(0xca)]['get'](_0x2874a3[_0x5d7f42(0xc7)])):{};return{[_0x17ee94]:{'browser':_0x368b3a[_0x5d7f42(0xe8)]||_0x3240b6[_0x5d7f42(0xea)],'browser_version':_0x368b3a[_0x5d7f42(0xe0)]||_0x3240b6['browser_version'],'capabilities':_0x3240b6,'platform':_0x368b3a[_0x5d7f42(0xe6)],'platform_version':_0x368b3a[_0x5d7f42(0xd8)],'product':_0x2874a3[_0x5d7f42(0xb5)](getObservabilityLinkedProductName,_0x3240b6),'session_id':_0x368b3a[_0x5d7f42(0xaa)]}};}}},exports[a3_0x392f85(0xd5)]=_0xb10d48=>{const _0xfbcc68=a3_0x392f85,_0x427e87={'lRkZQ':function(_0xf08ebc){return _0xf08ebc();},'nvVng':function(_0x3d2764,_0x1962b7){return _0x3d2764===_0x1962b7;},'VBCDP':_0xfbcc68(0xa3),'DHmJE':function(_0x5d8ca2,_0xc70e4d){return _0x5d8ca2>_0xc70e4d;},'nCaUp':function(_0x2354b4,_0x3d733d){return _0x2354b4(_0x3d733d);},'FhDJI':_0xfbcc68(0xd9),'riAUm':_0xfbcc68(0xd4),'TfewP':function(_0x4d93a6,_0x4a75a7){return _0x4d93a6===_0x4a75a7;},'RtJNa':_0xfbcc68(0xde),'zebzT':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','prSwM':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.'};if(_0x427e87[_0xfbcc68(0xc4)](isAccessibilityAutomationSession)){const _0x3049c7=_0xb10d48[_0xfbcc68(0xe8)],_0x4527f6=_0x3049c7[_0xfbcc68(0xc8)];global[_0xfbcc68(0xb9)]=!![],!(_0x427e87[_0xfbcc68(0xa8)](_0x4527f6[_0xfbcc68(0xdc)],_0x427e87[_0xfbcc68(0xc5)])||_0x427e87[_0xfbcc68(0xaf)](_0x427e87[_0xfbcc68(0xbd)](parseInt,_0x4527f6['browserVersion']),0x5e))&&(logger['warn'](_0x427e87[_0xfbcc68(0xbb)]),global[_0xfbcc68(0xb9)]=![]),!(_0x427e87[_0xfbcc68(0xa8)](_0x4527f6[_0xfbcc68(0xea)],_0x427e87[_0xfbcc68(0xdd)])||_0x427e87[_0xfbcc68(0xc1)](_0x4527f6[_0xfbcc68(0xea)],_0x427e87[_0xfbcc68(0xe5)]))&&(logger[_0xfbcc68(0xce)](_0x427e87[_0xfbcc68(0xab)]),global[_0xfbcc68(0xb9)]=![]),!_0x427e87[_0xfbcc68(0xbd)](isUndefined,_0x4527f6[_0xfbcc68(0xb4)])&&(logger['warn'](_0x427e87[_0xfbcc68(0xd0)]),global[_0xfbcc68(0xb9)]=![]);}},exports[a3_0x392f85(0xa5)]=_0xf76749=>{const _0x510ade=a3_0x392f85,_0x1c4398={};_0x1c4398[_0x510ade(0xe1)]='browserstack_executor',_0x1c4398['dQFdV']=_0x510ade(0xdf);const _0x1958b6=_0x1c4398;if(!_0xf76749)return![];return!_0xf76749[_0x510ade(0xd1)](_0x1958b6[_0x510ade(0xe1)])&&!_0xf76749['includes'](_0x1958b6['dQFdV']);};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a4_0x453e(_0x3289ba,_0x536813){const _0x154c7e=a4_0x154c();return a4_0x453e=function(_0x453eec,_0x1f4170){_0x453eec=_0x453eec-0xa8;let _0x33f682=_0x154c7e[_0x453eec];return _0x33f682;},a4_0x453e(_0x3289ba,_0x536813);}const a4_0x267f91=a4_0x453e;(function(_0x5586fe,_0x66f789){const _0x458738=a4_0x453e,_0x12db0b=_0x5586fe();while(!![]){try{const _0x433a1e=parseInt(_0x458738(0xea))/0x1+-parseInt(_0x458738(0xbd))/0x2+parseInt(_0x458738(0x139))/0x3+-parseInt(_0x458738(0xbc))/0x4+-parseInt(_0x458738(0x199))/0x5*(-parseInt(_0x458738(0x18b))/0x6)+-parseInt(_0x458738(0x188))/0x7*(parseInt(_0x458738(0xd8))/0x8)+-parseInt(_0x458738(0xac))/0x9*(parseInt(_0x458738(0x147))/0xa);if(_0x433a1e===_0x66f789)break;else _0x12db0b['push'](_0x12db0b['shift']());}catch(_0x2b0a17){_0x12db0b['push'](_0x12db0b['shift']());}}}(a4_0x154c,0x7696a));const path=require(a4_0x267f91(0x142)),fs=require('fs'),{v4:uuidv4}=require(a4_0x267f91(0x13d)),{importFileFromPWCore,nestedKeyValue,parseWSEndpoint,isUndefined}=require(a4_0x267f91(0x17b)),testOpsHelper=require(a4_0x267f91(0x140)),{getTestEnv}=require(a4_0x267f91(0x11e)),{FRAMEWORKS}=require(a4_0x267f91(0xc6)),logger=require(a4_0x267f91(0x11b))[a4_0x267f91(0x10e)],SessionHandler=require(a4_0x267f91(0x116)),RequestQueueHandler=require(a4_0x267f91(0xf0)),PlaywrightSessionDetails=require(a4_0x267f91(0x17d)),debug=testOpsHelper[a4_0x267f91(0x181)],{processAccessibilityCaps}=require(a4_0x267f91(0xb2)),Constants=require(a4_0x267f91(0x154)),{fetchPlatformDetails}=require('./helper.js'),{shouldProcessEventForTesthub,appendTesthubParams}=require(a4_0x267f91(0x16e)),STATE_PASSED=a4_0x267f91(0x174),STATE_FAILED=a4_0x267f91(0x105),a4_0x2af862={};function a4_0x154c(){const _0x4c5902=['iZPYm','cciCA','kSOog','SXljq','399126OXvxLl','__platformCaps','TestRunFinished','474NMHpxA','groups','resetSkipTestHooks','oYNtp','file','_beforeAll','toString','HOOK_RUN_FINISHED','now','getTime','success','RYTQi','failure','pending','54875aYyWkx','ZRmmS','fsqql','UKHBH','mnEwy','yTAMy','IEtHG','test_run_uuid','hookAnalyticsId','LCVHl','ltCXK','mapTestHooks','connectOverCDP','TQkvB','387npAUJX','ptfJr','dltHp','length','lTUGQ','startedAt','../playwright/accessibility-helper','bddStepFinish','Kmgue','HookRunStarted','RDqkY','toISOString','eFDgc','getHooksForTest','fullTitle','suites','1994396NUTetA','124610maXNXq','pskBO','HOOK_RUN_STARTED','failed\x20to\x20get\x20root\x20parent\x20file\x20','launch','duration','defineProperty','GNLHG','join','../../helpers/test-observability/constants','HORli','xhCuz','naedc','relative','vHiwu','PathHelper','QhJwR','QVIbC','prefixTestPath','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','bddSteps','TestRunStarted','WqaRv','captureEvent','enabled','wOByA','O11yHelper','40QwiglE','sBQfj','getHookType','gOGtx','patchConsoleLogger','yjwHe','accessibilityPlatform','lib','lPRup','Exception\x20in\x20uploading\x20log\x20data\x20to\x20Observability\x20with\x20error\x20:\x20','cwd','toLowerCase','XOqoq','.git','connect','bs:addLog:','forEach','SpXZR','691953xxZFpN','4|0|3|5|2|1','ctx','TEST_RUN_FINISHED','type','xlvwG','../../helpers/test-observability/requestQueueHandler','hook','status','BzvZo','errorsDetailed','LnHqq','apply','err','test_run','prototype','fjPOQ','sTPVf','bind','hLfTE','concat','qZmPJ','_afterEach','then','driver','uploadEventData','hook_run_uuid','failed','constructor','fEmLS','getFailureType','feature','frameworkName','push','bfPtN','mDfEg','winstonLogger','event_type','failure_reason_expanded','uAjEn','CBTSessionCreated','getRootParentFile','setupBrowserDetails','name','../../helpers/test-observability/sessionHandler','wPvSz','lzoHn','XApuH','mYGID','../../helpers/logger','UEvwI','lpFby','../mocha/test-observability/mochaUtils','markedStatus','currentTest','failureData','retryOf','gLdTg','cwWeY','LogCreated','currentHook','HookRunFinished','bWmPW','string','BrowserType','finished_at','IcCpJ','skipped','sbxKt','SfGXV','uoUtD','sdXST','_beforeEach','Not\x20able\x20to\x20import\x20Browser','TEST_RUN_STARTED','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20Observability\x20with\x20error\x20:\x20','browserType.js','shutdown','exports','291309igAoIS','statSync','_testEnv','EhDlN','uuid','codeceptjs','dnKes','../../helpers/test-observability/utils','keyword','path','PllMU','Playwright','toUpperCase','find','75430LZRYQH','TDGeT','_afterAll','javascript','finished','STATE_PASSED','liARo','nrdvb','bkehD','gtcTU','test','dImHP','result','../utils/constants','qLbTr','PQZQC','\x20with\x20error\x20:\x20','failure_backtrace','tcYty','LuHbJ','OwDIS','coHgK','JQxhC','integrations','PLAYWRIGHT_HUB_URL','parent','config','hook_type','meta','NEphl','removeAllListeners','yKokM','location_prefix','wsEndpoint','findGitConfig','vBcwu','hook_run','getCBTInfo','getHierarchy','../../helpers/testhub/utils.js','started','title','Failed\x20to\x20parse\x20wsendpoint\x20','client','tBZab','passed','testAnalyticsId','CODECEPT','body','stop','TEST_RUN_SKIPPED','stepAnalyticsId','../../helpers/helper','initializeBddStep','../playwright/sessionDetails','tags','jeCxB','dirname','debug','appendTestItemLog','backtrace'];a4_0x154c=function(){return _0x4c5902;};return a4_0x154c();}a4_0x2af862[a4_0x267f91(0x134)]=a4_0x267f91(0xd2),a4_0x2af862[a4_0x267f91(0xed)]=a4_0x267f91(0x18a),a4_0x2af862[a4_0x267f91(0x179)]='TestRunSkipped',a4_0x2af862[a4_0x267f91(0xbf)]=a4_0x267f91(0xb5),a4_0x2af862[a4_0x267f91(0x192)]=a4_0x267f91(0x127);const TEST_EVENTS=a4_0x2af862,parseEvent=_0x5006f1=>{const _0x2c4bdb=a4_0x267f91,_0x30efa1={};_0x30efa1[_0x2c4bdb(0xe4)]=function(_0x2ea50b,_0x38e344){return _0x2ea50b<_0x38e344;},_0x30efa1[_0x2c4bdb(0x118)]=function(_0x5d897b,_0x26948f){return _0x5d897b===_0x26948f;},_0x30efa1[_0x2c4bdb(0xc7)]=_0x2c4bdb(0x151),_0x30efa1['UKHBH']=function(_0x263916,_0x1ba06e){return _0x263916===_0x1ba06e;},_0x30efa1[_0x2c4bdb(0x19e)]='hook',_0x30efa1['hLfTE']=function(_0x24954e,_0x188910){return _0x24954e===_0x188910;},_0x30efa1[_0x2c4bdb(0x196)]='skipped',_0x30efa1[_0x2c4bdb(0xf5)]=function(_0x266f16,_0x582c41){return _0x266f16===_0x582c41;},_0x30efa1[_0x2c4bdb(0xcb)]=_0x2c4bdb(0x16f),_0x30efa1[_0x2c4bdb(0x173)]=function(_0x40d6c8,_0x11c67c){return _0x40d6c8===_0x11c67c;},_0x30efa1[_0x2c4bdb(0x131)]=_0x2c4bdb(0x14b);const _0x5bd611=_0x30efa1,_0x25e19e=_0x5006f1['match'](/^(.*)Run(.*)$/);if(!_0x25e19e)return null;if(_0x5bd611[_0x2c4bdb(0xe4)](_0x25e19e[_0x2c4bdb(0xaf)],0x3))return null;const _0x109470=_0x25e19e[0x1]['toLowerCase'](),_0x5c8afe=_0x25e19e[0x2][_0x2c4bdb(0xe3)]();return{'test':_0x5bd611[_0x2c4bdb(0x118)](_0x109470,_0x5bd611[_0x2c4bdb(0xc7)]),'hook':_0x5bd611[_0x2c4bdb(0x19c)](_0x109470,_0x5bd611[_0x2c4bdb(0x19e)]),'skipped':_0x5bd611[_0x2c4bdb(0xfd)](_0x5c8afe,_0x5bd611[_0x2c4bdb(0x196)]),'started':_0x5bd611[_0x2c4bdb(0xf5)](_0x5c8afe,_0x5bd611[_0x2c4bdb(0xcb)]),'finished':_0x5bd611[_0x2c4bdb(0x173)](_0x5c8afe,_0x5bd611['sdXST'])};},mockPWBrowserType=_0x54364d=>{const _0x305ae2=a4_0x267f91,_0x271ad8={'gtcTU':function(_0x48c510,_0x1f01c6){return _0x48c510===_0x1f01c6;},'yTwxW':_0x305ae2(0x129),'XApuH':function(_0x4560c0,_0x12ad5d,_0x456ef1){return _0x4560c0(_0x12ad5d,_0x456ef1);},'NEphl':_0x305ae2(0x168),'bkehD':function(_0x4d2823,_0x3c4439){return _0x4d2823(_0x3c4439);},'TQkvB':'browserstack','mDfEg':function(_0x5ca334,_0xd7bf04,_0x43d109){return _0x5ca334(_0xd7bf04,_0x43d109);},'JQxhC':function(_0x17f0fe,_0x43bcf8){return _0x17f0fe(_0x43bcf8);},'IcCpJ':_0x305ae2(0xdf),'uAjEn':_0x305ae2(0x172),'SfGXV':_0x305ae2(0x136),'wOByA':function(_0x439f96,_0x3050c2){return _0x439f96(_0x3050c2);},'PQZQC':_0x305ae2(0x133),'jeCxB':_0x305ae2(0xe6),'ZRmmS':_0x305ae2(0xc1)},_0xaf940e=path[_0x305ae2(0xc5)](_0x271ad8[_0x305ae2(0x12c)],_0x271ad8[_0x305ae2(0x111)],_0x271ad8[_0x305ae2(0x12f)]),_0x3c7df8=_0x271ad8[_0x305ae2(0x14f)](importFileFromPWCore,_0xaf940e);if(!_0x3c7df8){_0x271ad8[_0x305ae2(0xd6)](debug,_0x271ad8[_0x305ae2(0x156)]);return;}const _0x3c5e5a=_0x3c7df8[_0x305ae2(0x12a)],_0x173174=_0x3c5e5a[_0x305ae2(0xf9)];if(_0x173174['obsBrowserTypeMockApplied'])return;const _0x47988b=_0x173174[_0x305ae2(0xe6)];Object[_0x305ae2(0xc3)](_0x173174,_0x271ad8[_0x305ae2(0x17f)],{'get':function(){const _0x8147b5=_0x305ae2,_0x495606={'PStmp':function(_0x3ab22d,_0x1333bd){const _0x18617f=a4_0x453e;return _0x271ad8[_0x18617f(0x150)](_0x3ab22d,_0x1333bd);},'IjfUr':_0x271ad8['yTwxW'],'UEvwI':function(_0x10a79a,_0x4eb91c,_0x317fa4){const _0x3f6680=a4_0x453e;return _0x271ad8[_0x3f6680(0x119)](_0x10a79a,_0x4eb91c,_0x317fa4);},'sbxKt':_0x271ad8[_0x8147b5(0x164)],'DyjEh':function(_0x3f0ce2,_0x27d0f6){const _0x362fbe=_0x8147b5;return _0x271ad8[_0x362fbe(0x14f)](_0x3f0ce2,_0x27d0f6);},'dImHP':_0x271ad8[_0x8147b5(0xab)],'EYyYd':function(_0x1910d6,_0x1ab6ef,_0x8bc3be){const _0x541411=_0x8147b5;return _0x271ad8[_0x541411(0x10d)](_0x1910d6,_0x1ab6ef,_0x8bc3be);},'BzvZo':function(_0x9ae12,_0x24c655){const _0x4ec2a6=_0x8147b5;return _0x271ad8[_0x4ec2a6(0x15d)](_0x9ae12,_0x24c655);}};return async function _0x55e71d(_0x5c2fc4,_0x26d242){const _0x24ae48=_0x8147b5,_0x24ac6d=_0x495606[_0x24ae48(0x11c)](nestedKeyValue,_0x5c2fc4,[_0x495606[_0x24ae48(0x12e)]])||_0x5c2fc4;let _0x45302a=null,_0x3a052f=null;try{[_0x3a052f,_0x45302a]=_0x24ac6d?_0x495606['DyjEh'](parseWSEndpoint,_0x24ac6d):[null,null],global[_0x24ae48(0x189)]=_0x45302a,_0x3a052f['includes'](_0x495606['dImHP'])&&(global['__cloud_provider___']=_0x495606[_0x24ae48(0x152)]);}catch(_0x396458){logger[_0x24ae48(0x181)](_0x24ae48(0x171)+_0x24ac6d+'\x20'+_0x396458);}_0x495606['EYyYd'](processAccessibilityCaps,_0x45302a,_0x3a052f);if(global[_0x24ae48(0xde)]){const _0x16c52b=await _0x173174[_0x24ae48(0xaa)][_0x24ae48(0xf6)](this,[''+Constants[_0x24ae48(0x15f)]+_0x495606[_0x24ae48(0xf3)](encodeURIComponent,JSON['stringify'](_0x45302a))]);return PlaywrightSessionDetails[_0x24ae48(0x114)](_0x16c52b,_0x54364d,_0x24ac6d),_0x16c52b;}return _0x47988b[_0x24ae48(0xf6)](this,arguments)[_0x24ae48(0x101)](_0x14a289=>{const _0x242f34=_0x24ae48;let _0x2c03c1=_0x5c2fc4[_0x242f34(0x168)];return _0x495606['PStmp'](typeof _0x5c2fc4,_0x495606['IjfUr'])&&(_0x2c03c1=_0x5c2fc4),PlaywrightSessionDetails[_0x242f34(0x114)](_0x14a289,_0x54364d,_0x2c03c1),_0x14a289;});};}});const _0x3f7a1b=_0x173174[_0x305ae2(0xc1)];Object['defineProperty'](_0x173174,_0x271ad8[_0x305ae2(0x19a)],{'get':function(){return async function _0x46528d(){return _0x3f7a1b['apply'](this,arguments)['then'](_0x50cf97=>{const _0x441fac=a4_0x453e;return PlaywrightSessionDetails[_0x441fac(0x114)](_0x50cf97,null),_0x50cf97;});};}});};class O11yHelper{[a4_0x267f91(0x120)]=null;[a4_0x267f91(0x126)]=null;[a4_0x267f91(0xd5)]=![];[a4_0x267f91(0x10a)]=![];constructor(_0x325940,_0x251644){const _0xa8a3c2=a4_0x267f91,_0x56d91e={'nrdvb':_0xa8a3c2(0xeb),'WIFmx':function(_0x3de3af,_0x7a9baa){return _0x3de3af===_0x7a9baa;},'QhJwR':_0xa8a3c2(0x144),'coHgK':function(_0x4b3e49,_0x585146){return _0x4b3e49(_0x585146);},'WqaRv':function(_0x4603d0){return _0x4603d0();}},_0xa9b8=_0x56d91e[_0xa8a3c2(0x14e)]['split']('|');let _0x2fc01c=0x0;while(!![]){switch(_0xa9b8[_0x2fc01c++]){case'0':this[_0xa8a3c2(0x10a)]=_0x251644[_0xa8a3c2(0x10a)];continue;case'1':this[_0xa8a3c2(0x102)]&&_0x56d91e['WIFmx'](this[_0xa8a3c2(0x102)][_0xa8a3c2(0x106)][_0xa8a3c2(0x115)],_0x56d91e[_0xa8a3c2(0xcd)])&&_0x56d91e[_0xa8a3c2(0x15c)](mockPWBrowserType,null);continue;case'2':this['_paths']=new testOpsHelper[(_0xa8a3c2(0xcc))]({'cwd':process[_0xa8a3c2(0xe2)]()},this[_0xa8a3c2(0x13b)][_0xa8a3c2(0x167)]);continue;case'3':this[_0xa8a3c2(0x102)]=_0x325940;continue;case'4':this[_0xa8a3c2(0xd5)]=_0x56d91e[_0xa8a3c2(0xd3)](shouldProcessEventForTesthub);continue;case'5':this[_0xa8a3c2(0x13b)]=_0x56d91e[_0xa8a3c2(0xd3)](getTestEnv);continue;}break;}}['start'](){const _0x409584=a4_0x267f91;if(!this[_0x409584(0xd5)])return;testOpsHelper[_0x409584(0xdc)](),process[_0x409584(0x165)](_0x409584(0xe7)+process['pid']),process['on']('bs:addLog:'+process['pid'],this[_0x409584(0x182)][_0x409584(0xfc)](this));}async[a4_0x267f91(0x178)](){const _0x574284=a4_0x267f91;await RequestQueueHandler['getInstance']()[_0x574284(0x137)]();}async[a4_0x267f91(0x182)](_0x447f1e){const _0x174af8=a4_0x267f91,_0xaa72fd={'LCVHl':_0x174af8(0x125),'yKokM':function(_0x354374,_0xea1e3c){return _0x354374(_0xea1e3c);}};try{this['currentHook']&&!this[_0x174af8(0x126)][_0x174af8(0x11f)]&&(_0x447f1e[_0x174af8(0x104)]=this[_0x174af8(0x126)]['hookAnalyticsId']);!_0x447f1e[_0x174af8(0x104)]&&this[_0x174af8(0x120)]&&!this[_0x174af8(0x120)][_0x174af8(0x11f)]&&(_0x447f1e[_0x174af8(0x1a0)]=this['currentTest'][_0x174af8(0x175)]);if(_0x447f1e[_0x174af8(0x104)]||_0x447f1e['test_run_uuid']){const _0x149b0d={};_0x149b0d[_0x174af8(0x10f)]=_0xaa72fd[_0x174af8(0x1a2)],_0x149b0d['logs']=[_0x447f1e],await SessionHandler[_0x174af8(0x103)](_0x149b0d);}}catch(_0x556b52){_0xaa72fd[_0x174af8(0x166)](debug,_0x174af8(0xe1)+_0x556b52);}}async['sendCBTInfo'](_0x18d29f){const _0x5acdb1=a4_0x267f91,_0x538275={'qpFyo':_0x5acdb1(0x112),'gLdTg':function(_0x35f15f,_0x394333){return _0x35f15f(_0x394333);}};if(!this[_0x5acdb1(0xd5)])return;const _0x47a755=this[_0x5acdb1(0x16c)](this['driver']);try{const _0x558dc1={};_0x558dc1[_0x5acdb1(0x13d)]=_0x18d29f,_0x558dc1['integrations']=_0x47a755;const _0x879d58=_0x558dc1,_0x4ff59a={};_0x4ff59a['event_type']=_0x538275['qpFyo'],_0x4ff59a[_0x5acdb1(0xf8)]=_0x879d58,await SessionHandler[_0x5acdb1(0x103)](_0x4ff59a);}catch(_0x1a835b){_0x538275[_0x5acdb1(0x123)](debug,_0x5acdb1(0x135)+_0x1a835b);}}[a4_0x267f91(0x16c)](_0x3e32ae){const _0x964248=a4_0x267f91,_0x156caf={'dltHp':function(_0x6346ed,_0x220786){return _0x6346ed(_0x220786);}};return _0x156caf[_0x964248(0xae)](fetchPlatformDetails,_0x3e32ae);}['resetSkipTestHooks']=_0x314588=>{const _0x509442=a4_0x267f91,_0x3730a4={};_0x3730a4[_0x509442(0xb8)]='_beforeEach',_0x3730a4[_0x509442(0x124)]='_afterEach';const _0x43a0b2=_0x3730a4;if(!_0x314588||!_0x314588['parent'])return;[_0x43a0b2[_0x509442(0xb8)],_0x43a0b2[_0x509442(0x124)]][_0x509442(0xe8)](_0xeb779=>{const _0x5c76ab=_0x509442,_0x261126=_0x314588[_0x5c76ab(0x160)][_0xeb779];_0x261126['forEach'](_0x9f60fe=>{const _0x5aea07=_0x5c76ab;_0x9f60fe[_0x5aea07(0x1a1)]&&(_0x9f60fe[_0x5aea07(0x1a1)]=null);});});};['mapTestHooks'](_0x637701){const _0x1a5429=a4_0x267f91,_0x339c0d={'fEmLS':_0x1a5429(0x13e),'ZqENT':function(_0x4e5ab2){return _0x4e5ab2();},'MDybd':function(_0x97936f,_0xf2cd0){return _0x97936f===_0xf2cd0;},'EhDlN':_0x1a5429(0x100),'mnEwy':function(_0x15aeb6){return _0x15aeb6();},'WZwwC':_0x1a5429(0x190),'oYNtp':'_afterAll','sTPVf':_0x1a5429(0x132)};if(!_0x637701||!_0x637701[_0x1a5429(0x160)])return;[_0x339c0d['WZwwC'],_0x339c0d[_0x1a5429(0x18e)],_0x339c0d[_0x1a5429(0xfb)],_0x339c0d[_0x1a5429(0x13c)]][_0x1a5429(0xe8)](_0xafdfc7=>{const _0x44c332=_0x1a5429,_0x3d9bba={'xhCuz':_0x339c0d[_0x44c332(0x107)],'dnKes':function(_0xd83ccc){return _0x339c0d['ZqENT'](_0xd83ccc);},'QVIbC':function(_0xf7c45a,_0x2faaf7){return _0x339c0d['MDybd'](_0xf7c45a,_0x2faaf7);},'eYoxe':_0x339c0d[_0x44c332(0x13c)],'Kmgue':function(_0x1e6171){const _0x233805=_0x44c332;return _0x339c0d[_0x233805(0x19d)](_0x1e6171);}},_0x30bf0f=_0x637701[_0x44c332(0x160)][_0xafdfc7]||[];_0x30bf0f[_0x44c332(0xe8)](_0x56ba9d=>{const _0x468d3f=_0x44c332;if(_0x56ba9d[_0x468d3f(0x170)]['includes'](_0x3d9bba[_0x468d3f(0xc8)]))return;if(!_0x56ba9d[_0x468d3f(0x1a1)])_0x56ba9d['hookAnalyticsId']=_0x3d9bba[_0x468d3f(0x13f)](uuidv4);else _0x56ba9d[_0x468d3f(0x11f)]&&_0x3d9bba[_0x468d3f(0xce)](_0xafdfc7,_0x3d9bba['eYoxe'])&&(_0x56ba9d[_0x468d3f(0x1a1)]=_0x3d9bba[_0x468d3f(0xb4)](uuidv4),delete _0x56ba9d[_0x468d3f(0x11f)]);});}),this['mapTestHooks'](_0x637701['parent']);}[a4_0x267f91(0xb9)](_0x22cd7b){const _0x30e5ab=a4_0x267f91,_0x36d8d0={};_0x36d8d0[_0x30e5ab(0xdd)]=_0x30e5ab(0x190),_0x36d8d0[_0x30e5ab(0xc9)]=_0x30e5ab(0x149),_0x36d8d0[_0x30e5ab(0xff)]='_beforeEach',_0x36d8d0[_0x30e5ab(0xef)]='_afterEach';const _0x2db1e4=_0x36d8d0;if(!_0x22cd7b||!_0x22cd7b['parent'])return[];const _0x25c760=[];return[_0x2db1e4['yjwHe'],_0x2db1e4[_0x30e5ab(0xc9)],_0x2db1e4[_0x30e5ab(0xff)],_0x2db1e4[_0x30e5ab(0xef)]]['forEach'](_0x36280f=>{const _0x328da4=_0x22cd7b['parent'][_0x36280f]||[];_0x328da4['forEach'](_0x5aa487=>{const _0x2c2c5c=a4_0x453e;_0x5aa487[_0x2c2c5c(0x1a1)]&&_0x25c760[_0x2c2c5c(0x10b)](_0x5aa487[_0x2c2c5c(0x1a1)]);});}),[][_0x30e5ab(0xfe)](_0x25c760,this[_0x30e5ab(0xb9)](_0x22cd7b[_0x30e5ab(0x160)]));}[a4_0x267f91(0xda)](_0x192b70){const _0x37f54=a4_0x267f91,_0x1cef08=/^"(?<hook>.*)" hook:.*$/,_0x261bc7=_0x192b70['title'],_0x2ed95f=_0x261bc7['match'](_0x1cef08);if(_0x2ed95f&&_0x2ed95f[_0x37f54(0x18c)])return _0x2ed95f[_0x37f54(0x18c)][_0x37f54(0xf1)][_0x37f54(0x145)]()['replace']('\x20','_');return null;}[a4_0x267f91(0x169)](_0x2a5944){const _0x6f2e5b=a4_0x267f91,_0x5be6c3={};_0x5be6c3[_0x6f2e5b(0xdb)]=function(_0x24f0af,_0x41e5f9){return _0x24f0af===_0x41e5f9;},_0x5be6c3['qLbTr']=function(_0x2cc0ab,_0x198645){return _0x2cc0ab===_0x198645;},_0x5be6c3['mYGID']=_0x6f2e5b(0xe5),_0x5be6c3[_0x6f2e5b(0x14d)]=_0x6f2e5b(0x161);const _0x3e10ea=_0x5be6c3,_0x5c5085=path['sep'];if(_0x3e10ea['gOGtx'](_0x2a5944,null)||_0x3e10ea[_0x6f2e5b(0x155)](_0x2a5944,'')||_0x3e10ea['gOGtx'](_0x2a5944,_0x5c5085)||_0x3e10ea[_0x6f2e5b(0x155)](_0x2a5944,path[_0x6f2e5b(0x180)](_0x2a5944)))return null;try{return fs[_0x6f2e5b(0x13a)](path[_0x6f2e5b(0xc5)](_0x2a5944,_0x3e10ea[_0x6f2e5b(0x11a)],_0x3e10ea[_0x6f2e5b(0x14d)])),_0x2a5944;}catch(_0x2fed38){const _0xdf0225=path[_0x6f2e5b(0x180)](_0x2a5944);return this[_0x6f2e5b(0x169)](_0xdf0225);}}['getRootParentFile'](_0x4c7a16){const _0x24c904=a4_0x267f91,_0x221d81={};_0x221d81[_0x24c904(0x159)]=function(_0x4fff76,_0x4d2993){return _0x4fff76>_0x4d2993;};const _0x5c58e3=_0x221d81;if(_0x4c7a16[_0x24c904(0x18f)])return _0x4c7a16['file'];if(_0x4c7a16[_0x24c904(0xec)]){const _0x20c19b=_0x4c7a16['ctx'][_0x24c904(0x120)]?this[_0x24c904(0x113)](_0x4c7a16[_0x24c904(0xec)][_0x24c904(0x120)]):null;if(_0x20c19b)return _0x20c19b;}if(_0x4c7a16[_0x24c904(0x160)]){const _0x396588=this[_0x24c904(0x113)](_0x4c7a16['parent'])||(_0x4c7a16[_0x24c904(0x160)][_0x24c904(0xec)]&&_0x4c7a16[_0x24c904(0x160)][_0x24c904(0xec)][_0x24c904(0x120)]?this['getRootParentFile'](_0x4c7a16[_0x24c904(0x160)][_0x24c904(0xec)][_0x24c904(0x120)]):null);if(_0x396588)return _0x396588;_0x4c7a16[_0x24c904(0x160)]['suites']&&_0x5c58e3[_0x24c904(0x159)](_0x4c7a16[_0x24c904(0x160)]['suites'][_0x24c904(0xaf)],0x0)&&_0x4c7a16[_0x24c904(0x160)][_0x24c904(0xbb)][_0x24c904(0xe8)](_0x5e99c0=>{const _0x439be6=_0x24c904,_0x1a7e54=_0x5e99c0[_0x439be6(0xec)]?this[_0x439be6(0x113)](_0x5e99c0[_0x439be6(0xec)]):null;if(_0x1a7e54)return _0x1a7e54;});}return null;}['getHierarchy'](_0x92493f){const _0x309adb=a4_0x267f91,_0x445f22={};_0x445f22['xWvRp']=function(_0x4a667a,_0x592797){return _0x4a667a!==_0x592797;};const _0x36bceb=_0x445f22,_0x366a98=[];if(_0x92493f&&_0x92493f[_0x309adb(0x160)]){let _0x55cb4e=_0x92493f[_0x309adb(0x160)];while(_0x55cb4e&&_0x36bceb['xWvRp'](_0x55cb4e[_0x309adb(0x170)],'')){_0x366a98[_0x309adb(0x10b)](_0x55cb4e[_0x309adb(0x170)]),_0x55cb4e=_0x55cb4e[_0x309adb(0x160)];}}return _0x366a98;}[a4_0x267f91(0xd4)](_0xafde56,_0x35cc13,_0x496ad8=undefined){const _0x3d45b3=a4_0x267f91,_0x1ffb8e={'sBQfj':function(_0x40af60,_0x451043){return _0x40af60(_0x451043);},'ptfJr':function(_0x2a7b9c){return _0x2a7b9c();},'zUJHd':function(_0x42ea4c){return _0x42ea4c();},'wPvSz':function(_0x3566b3){return _0x3566b3();},'lpFby':'util','ltCXK':_0x3d45b3(0xf7),'uoUtD':function(_0x18595b,_0x362808){return _0x18595b!==_0x362808;},'cciCA':function(_0x26d766,_0x3493e5){return _0x26d766!==_0x3493e5;},'TDGeT':'File\x20path\x20could\x20not\x20be\x20found','RDqkY':_0x3d45b3(0x198),'fsqql':_0x3d45b3(0x105),'bfPtN':_0x3d45b3(0x174),'fjPOQ':'skipped','LuHbJ':_0x3d45b3(0x14a),'NdRaa':function(_0x214012,_0x176041){return _0x214012-_0x176041;},'OwDIS':function(_0x611040,_0x2ee907,_0x3b2631,_0x367c19,_0x1cca40){return _0x611040(_0x2ee907,_0x3b2631,_0x367c19,_0x1cca40);},'cVtZO':_0x3d45b3(0x15e),'rhQFS':_0x3d45b3(0x163),'JLEvT':_0x3d45b3(0x197),'PllMU':_0x3d45b3(0x158),'lTUGQ':_0x3d45b3(0x183),'iZPYm':_0x3d45b3(0x110),'SXljq':'expanded','pskBO':function(_0x5a0083,_0x44f326){return _0x5a0083===_0x44f326;},'GNLHG':_0x3d45b3(0x16b),'kSOog':'test_run'};if(!this[_0x3d45b3(0xd5)])return;try{if(_0x35cc13['fn']&&_0x35cc13['fn']['toString']()['match'](/browserstack internal helper hook/))return;const _0x5aa301=_0x1ffb8e['sBQfj'](parseEvent,_0xafde56);if(!_0x5aa301)return;if(_0x5aa301[_0x3d45b3(0x151)]){this[_0x3d45b3(0x120)]=_0x35cc13,this[_0x3d45b3(0x126)]=null;if(_0x5aa301[_0x3d45b3(0x16f)]||_0x5aa301['skipped']){_0x35cc13[_0x3d45b3(0xb1)]=new Date(),_0x35cc13['markedStatus']=![];if(!_0x35cc13[_0x3d45b3(0x175)])_0x35cc13['testAnalyticsId']=_0x1ffb8e['ptfJr'](uuidv4);else _0x35cc13[_0x3d45b3(0x11f)]&&(!_0x35cc13[_0x3d45b3(0x122)]&&(_0x35cc13['retryOf']=_0x35cc13[_0x3d45b3(0x175)]),_0x35cc13[_0x3d45b3(0x175)]=_0x1ffb8e[_0x3d45b3(0xad)](uuidv4));}}else{if(_0x5aa301[_0x3d45b3(0xf1)]){this[_0x3d45b3(0x126)]=_0x35cc13;if(_0x5aa301[_0x3d45b3(0x16f)]){_0x35cc13['startedAt']=new Date(),_0x35cc13[_0x3d45b3(0x11f)]=![];if(!_0x35cc13['hookAnalyticsId'])_0x35cc13[_0x3d45b3(0x1a1)]=_0x1ffb8e['zUJHd'](uuidv4);else _0x35cc13[_0x3d45b3(0x1a1)]&&_0x35cc13['markedStatus']&&(_0x35cc13[_0x3d45b3(0x1a1)]=_0x1ffb8e[_0x3d45b3(0x117)](uuidv4));}}}if(_0x5aa301[_0x3d45b3(0x14b)]&&_0x35cc13[_0x3d45b3(0x11f)])return;let _0x14bc0a;try{_0x14bc0a=this[_0x3d45b3(0x113)](_0x35cc13);}catch(_0x3b67f8){logger['debug'](_0x3d45b3(0xc0)+_0x3b67f8),_0x14bc0a=null;}const _0x36f9fe=_0x1ffb8e[_0x3d45b3(0xd9)](require,_0x1ffb8e[_0x3d45b3(0x11d)]);let _0x1066ad=[];_0x496ad8&&(_0x1066ad=[_0x496ad8,_0x1ffb8e[_0x3d45b3(0xa8)]]);const _0x50b8a9=_0x1ffb8e[_0x3d45b3(0x130)](_0x35cc13[_0x3d45b3(0xf4)],undefined)?_0x36f9fe['inspect'](_0x35cc13['errorsDetailed'][0x0]):_0x1ffb8e['cciCA'](_0x496ad8,undefined)?_0x496ad8['toString']():undefined,_0x3069d6=_0x14bc0a?this[_0x3d45b3(0x169)](_0x14bc0a):null,_0x2eb170=_0x14bc0a?this['_paths'][_0x3d45b3(0xcf)](this[_0x3d45b3(0x113)](_0x35cc13)):_0x1ffb8e[_0x3d45b3(0x148)];let _0x449a4c=_0x1ffb8e[_0x3d45b3(0xb6)];const _0x321205=!_0x5aa301[_0x3d45b3(0x16f)]?new Date()[_0x3d45b3(0xb7)]():null;if(_0x5aa301[_0x3d45b3(0x14b)])_0x449a4c=_0x496ad8?_0x1ffb8e[_0x3d45b3(0x19b)]:_0x1ffb8e[_0x3d45b3(0x10c)],_0x35cc13[_0x3d45b3(0x11f)]=!![];else _0x5aa301[_0x3d45b3(0x12d)]&&(_0x449a4c=_0x1ffb8e[_0x3d45b3(0xfa)],_0x35cc13[_0x3d45b3(0x11f)]=!![]);const _0x393ffe={'framework':this['frameworkName'],'uuid':_0x35cc13[_0x3d45b3(0x175)]||_0x35cc13['hookAnalyticsId'],'name':_0x35cc13['title'],'body':{'lang':_0x1ffb8e[_0x3d45b3(0x15a)],'code':_0x35cc13[_0x3d45b3(0x177)][_0x3d45b3(0x191)]()},'type':_0x35cc13[_0x3d45b3(0xee)],'scope':_0x35cc13[_0x3d45b3(0xba)](),'scopes':this[_0x3d45b3(0x16d)](_0x35cc13),'file_name':_0x2eb170,'vc_filepath':_0x3069d6?path[_0x3d45b3(0xca)](_0x3069d6,_0x14bc0a):null,'location':_0x2eb170,'result':_0x449a4c,'failure_reason':_0x50b8a9,'duration_in_ms':_0x35cc13['duration']||(_0x5aa301[_0x3d45b3(0x14b)]||_0x5aa301[_0x3d45b3(0x12d)])?_0x1ffb8e['NdRaa'](Date[_0x3d45b3(0x193)](),new Date(_0x35cc13[_0x3d45b3(0xb1)])[_0x3d45b3(0x194)]()):null,'started_at':new Date(_0x35cc13[_0x3d45b3(0xb1)])[_0x3d45b3(0xb7)](),'finished_at':_0x321205,'failure':testOpsHelper[_0x3d45b3(0x121)]['apply'](null,_0x1066ad),'failure_type':!_0x50b8a9?null:testOpsHelper[_0x3d45b3(0x108)](_0x50b8a9),'retry_of':_0x35cc13[_0x3d45b3(0x122)]||null,'tags':_0x35cc13[_0x3d45b3(0x17e)]||[],'customRerunParam':{'rerun_name':_0x35cc13[_0x3d45b3(0xba)]()}};_0x1ffb8e[_0x3d45b3(0x15b)](appendTesthubParams,_0x393ffe,_0xafde56,_0x35cc13,FRAMEWORKS[_0x3d45b3(0x176)]);if(_0x5aa301[_0x3d45b3(0xf1)])[_0x393ffe[_0x3d45b3(0x162)],_0x393ffe[_0x3d45b3(0x115)]]=[this[_0x3d45b3(0xda)](_0x35cc13),_0x35cc13['ctx'][_0x3d45b3(0x151)][_0x3d45b3(0x170)]],_0x5aa301[_0x3d45b3(0x14b)]?_0x1ffb8e[_0x3d45b3(0x185)](_0x393ffe[_0x3d45b3(0x153)],_0x1ffb8e[_0x3d45b3(0x19b)])&&(_0x393ffe[_0x3d45b3(0x153)]=_0x1ffb8e[_0x3d45b3(0x10c)]):_0x393ffe['body']={};else _0x5aa301[_0x3d45b3(0x151)]&&(this[_0x3d45b3(0xa9)](_0x35cc13),_0x5aa301[_0x3d45b3(0x12d)]&&this[_0x3d45b3(0x18d)](_0x35cc13),(_0x5aa301['finished']||_0x5aa301[_0x3d45b3(0x12d)])&&(_0x393ffe['hooks']=this[_0x3d45b3(0xb9)](_0x35cc13)));this[_0x3d45b3(0x102)]&&(_0x5aa301[_0x3d45b3(0x16f)]||_0x5aa301[_0x3d45b3(0x12d)])&&(_0x393ffe[_0x1ffb8e['cVtZO']]=this['getCBTInfo'](this[_0x3d45b3(0x102)]));_0x5aa301[_0x3d45b3(0x151)]&&_0x5aa301[_0x3d45b3(0x14b)]&&_0x35cc13[_0x3d45b3(0xd1)]&&(_0x393ffe[_0x1ffb8e['rhQFS']]={'feature':{'name':_0x35cc13[_0x3d45b3(0x160)][_0x3d45b3(0x109)][_0x3d45b3(0x115)],'path':_0x393ffe['file_name'],'description':_0x35cc13[_0x3d45b3(0x160)]['comment']},'scenario':{'name':_0x35cc13[_0x3d45b3(0x170)]},'steps':_0x35cc13['bddSteps']});const _0x136a40=_0x393ffe[_0x1ffb8e['JLEvT']][0x0];_0x136a40&&(_0x393ffe[_0x1ffb8e[_0x3d45b3(0x143)]]=_0x136a40[_0x1ffb8e['lTUGQ']],_0x393ffe[_0x1ffb8e[_0x3d45b3(0x184)]]=_0x136a40[_0x1ffb8e[_0x3d45b3(0x187)]]);if(_0x35cc13[_0x3d45b3(0xd1)])for(const _0x365693 of _0x35cc13['bddSteps']){!_0x365693[_0x3d45b3(0x12b)]&&(_0x365693[_0x3d45b3(0x12b)]=new Date()[_0x3d45b3(0xb7)](),_0x1ffb8e[_0x3d45b3(0xbe)](_0x365693['result'],_0x1ffb8e[_0x3d45b3(0xb6)])&&(_0x136a40?(_0x365693['result']=_0x1ffb8e[_0x3d45b3(0x19b)],_0x365693['failure']=_0x136a40[_0x1ffb8e[_0x3d45b3(0xb0)]][0x0]):_0x365693[_0x3d45b3(0x153)]=_0x1ffb8e[_0x3d45b3(0x10c)]));}const _0x138c3d={};_0x138c3d[_0x3d45b3(0x10f)]=_0x5aa301[_0x3d45b3(0x12d)]?TEST_EVENTS['TEST_RUN_FINISHED']:_0xafde56;const _0x310576=_0x138c3d;return _0x5aa301[_0x3d45b3(0xf1)]?_0x310576[_0x1ffb8e[_0x3d45b3(0xc4)]]=_0x393ffe:_0x310576[_0x1ffb8e[_0x3d45b3(0x186)]]=_0x393ffe,_0x310576;}catch(_0x371cb2){logger['debug'](_0x3d45b3(0xd0)+_0xafde56+_0x3d45b3(0x157)+_0x371cb2);}}async['fireEvent'](_0x342304,_0xf47d82){const _0x2b8d65=a4_0x267f91;if(!this['enabled']||!_0xf47d82||!_0x342304)return![];try{return await SessionHandler[_0x2b8d65(0x103)](_0xf47d82);}catch(_0x1fb251){logger[_0x2b8d65(0x181)]('Exception\x20in\x20sending\x20test\x20data\x20for\x20event\x20'+_0x342304+_0x2b8d65(0x157)+_0x1fb251);}}[a4_0x267f91(0x17c)](_0x4acd2f){const _0x75f587=a4_0x267f91,_0x208dac={};_0x208dac[_0x75f587(0xe9)]=_0x75f587(0x198);const _0x56fc4d=_0x208dac;return{'id':_0x4acd2f['stepAnalyticsId'],'text':_0x4acd2f['text'],'keyword':_0x4acd2f[_0x75f587(0x141)],'started_at':_0x4acd2f[_0x75f587(0xb1)][_0x75f587(0xb7)](),'result':_0x56fc4d['SpXZR']};}['bddStepStart'](_0x3d8447){const _0x258293=a4_0x267f91,_0x38f5c9={'lPRup':function(_0x576caa){return _0x576caa();}};!this[_0x258293(0x120)][_0x258293(0xd1)]&&(this[_0x258293(0x120)][_0x258293(0xd1)]=[]),!_0x3d8447['stepAnalyticsId']&&(_0x3d8447[_0x258293(0x17a)]=_0x38f5c9[_0x258293(0xe0)](uuidv4),_0x3d8447[_0x258293(0xb1)]=new Date(),this[_0x258293(0x120)][_0x258293(0xd1)][_0x258293(0x10b)](this[_0x258293(0x17c)](_0x3d8447)));}[a4_0x267f91(0xb3)](_0x53d6ac){const _0x4a27e6=a4_0x267f91,_0x58e8b8={'bWmPW':function(_0xfcc4a4,_0xda95c7){return _0xfcc4a4(_0xda95c7);},'vBcwu':_0x4a27e6(0x195),'IEtHG':_0x4a27e6(0x198),'FnluZ':_0x4a27e6(0x174),'fObif':function(_0x3a7ba1,_0x3bde17){return _0x3a7ba1-_0x3bde17;}};let _0x2c1ee6=this['currentTest']['bddSteps'][_0x4a27e6(0x146)](_0x16a8c5=>_0x16a8c5['id']===_0x53d6ac[_0x4a27e6(0x17a)]);_0x58e8b8[_0x4a27e6(0x128)](isUndefined,_0x2c1ee6)&&(_0x2c1ee6=this[_0x4a27e6(0x17c)](_0x53d6ac)),_0x2c1ee6['result']=[_0x58e8b8[_0x4a27e6(0x16a)],_0x58e8b8[_0x4a27e6(0x19f)]]['includes'](_0x53d6ac[_0x4a27e6(0xf2)])?_0x58e8b8['FnluZ']:_0x53d6ac[_0x4a27e6(0xf2)],_0x2c1ee6[_0x4a27e6(0x12b)]=new Date()[_0x4a27e6(0xb7)](),_0x2c1ee6[_0x4a27e6(0xc2)]=_0x58e8b8['fObif'](Date[_0x4a27e6(0x193)](),_0x53d6ac['startedAt'][_0x4a27e6(0x194)]()),_0x2c1ee6[_0x4a27e6(0x197)]=_0x53d6ac[_0x4a27e6(0xf7)]?_0x53d6ac[_0x4a27e6(0xf7)]['message']:null;}}const a4_0x16765c={};a4_0x16765c[a4_0x267f91(0xd7)]=O11yHelper,a4_0x16765c[a4_0x267f91(0x14c)]=STATE_PASSED,a4_0x16765c['STATE_FAILED']=STATE_FAILED,a4_0x16765c['TEST_EVENTS']=TEST_EVENTS,module[a4_0x267f91(0x138)]=a4_0x16765c;
|
|
1
|
+
const a4_0xec7a87=a4_0x2f7e;(function(_0x1c674b,_0x23b33f){const _0x11742f=a4_0x2f7e,_0x2d1c65=_0x1c674b();while(!![]){try{const _0x49209a=-parseInt(_0x11742f(0x2d5))/0x1*(-parseInt(_0x11742f(0x224))/0x2)+parseInt(_0x11742f(0x27a))/0x3+-parseInt(_0x11742f(0x2cc))/0x4*(-parseInt(_0x11742f(0x228))/0x5)+-parseInt(_0x11742f(0x2b0))/0x6+-parseInt(_0x11742f(0x23a))/0x7*(parseInt(_0x11742f(0x2d2))/0x8)+-parseInt(_0x11742f(0x2b5))/0x9+parseInt(_0x11742f(0x27b))/0xa;if(_0x49209a===_0x23b33f)break;else _0x2d1c65['push'](_0x2d1c65['shift']());}catch(_0x2866e8){_0x2d1c65['push'](_0x2d1c65['shift']());}}}(a4_0x474f,0x97446));function a4_0x474f(){const _0x28b83c=['BPbcI','stringify','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20Observability\x20with\x20error\x20:\x20','TEST_EVENTS','toISOString','./helper.js','_afterEach','wsEndpoint','prototype','includes','STATE_FAILED','hook_run','Failed\x20to\x20parse\x20wsendpoint\x20','../../helpers/testhub/utils.js','uploadEventData','iiNhR','NHXGS','1246182XbwAoT','passed','aHXoL','concat','testAnalyticsId','11043963FkejRB','jBUte','../../helpers/test-observability/sessionHandler','result','rnsVK','KJsdp','pending','errorsDetailed','connectOverCDP','../../helpers/test-observability/utils','ctx','push','find','HookRunStarted','XyJLE','AHnhl','markedStatus','jkFjg','hooks','uhhHo','pid','event_type','wYQNb','36LKGCkT','wqECZ','getRootParentFile','err','getCBTInfo','toLowerCase','568424snaTEu','fireEvent','codeceptjs','2sqTvZs','bZeGc','skipped','inspect','TestRunSkipped','appendTestItemLog','TestRunStarted','failed','HUIGM','exports','huqYs','status','setupBrowserDetails','vfQZz','HookRunFinished','client','currentHook','LogCreated','expanded','test_run','HOOK_RUN_STARTED','title','toUpperCase','TocDK','ckEgQ','obsBrowserTypeMockApplied','message','match','TEST_RUN_STARTED','tlkvC','suites','TEST_RUN_SKIPPED','retryOf','Exception\x20in\x20uploading\x20log\x20data\x20to\x20Observability\x20with\x20error\x20:\x20','_beforeEach','YPCby','kQIhL','rngHX','driver','WzCKn','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','defineProperty','failed\x20to\x20get\x20root\x20parent\x20file\x20','rCJjm','../../helpers/helper','dirname','YSwnp','success','lpIwj','join','_afterAll','toString','pLrdW','initializeBddStep','statSync','bddSteps','yiaSp','nqKdG','nbPdO','yFcNM','findGitConfig','JlDIh','dprrN','mVncf','body','hookAnalyticsId','cdUQu','start','934186tzUvIb','bs:addLog:','finished','patchConsoleLogger','625880nHbXIs','test','sYXsP','_beforeAll','TEST_RUN_FINISHED','rcfOH','then','enabled','startedAt','rmrim','pDeaK','ukpKf','lEufJ','hUTiu','currentTest','started','removeAllListeners','xgNvh','49rFejkT','integrations','jBost','accessibilityPlatform','mRCti','tags','logs','jTqCH','kqvqJ','apply','MkqnN','stop','NDJWB','forEach','name','parent','flJjt','PathHelper','hook_type','Not\x20able\x20to\x20import\x20Browser','File\x20path\x20could\x20not\x20be\x20found','constructor','fullTitle','BrowserType','bind','SoJhB','_paths','fPqLS','launch','CODECEPT','split','bddStepFinish','IIRBJ','OmNWx','comment','type','failure_backtrace','.git','javascript','test_run_uuid','../mocha/test-observability/mochaUtils','replace','OSPqa','winstonLogger','fiBbF','Playwright','../playwright/sessionDetails','stepAnalyticsId','fGLHT','../../helpers/test-observability/requestQueueHandler','dEsnm','BvVvM','mapTestHooks','text','xgufQ','failure','failure_reason_expanded','Exception\x20in\x20sending\x20test\x20data\x20for\x20event\x20','UTgzi','path','failureData','../../helpers/test-observability/constants','\x20with\x20error\x20:\x20','getHierarchy','1281645vSRRjZ','637800GSmiFE','hook','finished_at','sakof','PLAYWRIGHT_HUB_URL','frameworkName','getHookType','feature','captureEvent','jPjhM','lib','RNTlX','duration','resetSkipTestHooks','HYHTL','backtrace','meta','length','__cloud_provider___','hpcZx','groups','getTime','_testEnv','debug','keyword','yZEJp','hook_run_uuid','getHooksForTest','QoRYR','KsCKe','now','getFailureType','LMMHw','file','HhtnI','file_name'];a4_0x474f=function(){return _0x28b83c;};return a4_0x474f();}const path=require(a4_0xec7a87(0x275)),fs=require('fs'),{v4:uuidv4}=require('uuid'),{importFileFromPWCore,nestedKeyValue,parseWSEndpoint,isUndefined}=require(a4_0xec7a87(0x20c)),testOpsHelper=require(a4_0xec7a87(0x2be)),{getTestEnv}=require(a4_0xec7a87(0x262)),{FRAMEWORKS}=require(a4_0xec7a87(0x277)),logger=require('../../helpers/logger')[a4_0xec7a87(0x265)],SessionHandler=require(a4_0xec7a87(0x2b7)),RequestQueueHandler=require(a4_0xec7a87(0x26b)),PlaywrightSessionDetails=require(a4_0xec7a87(0x268)),debug=testOpsHelper[a4_0xec7a87(0x292)],{processAccessibilityCaps}=require('../playwright/accessibility-helper'),Constants=require('../utils/constants'),{fetchPlatformDetails}=require(a4_0xec7a87(0x2a4)),{shouldProcessEventForTesthub,appendTesthubParams}=require(a4_0xec7a87(0x2ac)),STATE_PASSED='passed',STATE_FAILED='failed',a4_0x126b39={};function a4_0x2f7e(_0x264ce4,_0x139529){const _0x474f74=a4_0x474f();return a4_0x2f7e=function(_0x2f7e22,_0xc33465){_0x2f7e22=_0x2f7e22-0x1f3;let _0x1f66e7=_0x474f74[_0x2f7e22];return _0x1f66e7;},a4_0x2f7e(_0x264ce4,_0x139529);}a4_0x126b39[a4_0xec7a87(0x1fc)]=a4_0xec7a87(0x2db),a4_0x126b39[a4_0xec7a87(0x22c)]='TestRunFinished',a4_0x126b39[a4_0xec7a87(0x1ff)]=a4_0xec7a87(0x2d9),a4_0x126b39[a4_0xec7a87(0x1f4)]=a4_0xec7a87(0x2c2),a4_0x126b39['HOOK_RUN_FINISHED']=a4_0xec7a87(0x2e3);const TEST_EVENTS=a4_0x126b39,parseEvent=_0x48487b=>{const _0xc8d51a=a4_0xec7a87,_0x35d3c8={};_0x35d3c8[_0xc8d51a(0x26a)]=function(_0x564a75,_0x431904){return _0x564a75<_0x431904;},_0x35d3c8['vfQZz']=function(_0x4533ba,_0x2fff10){return _0x4533ba===_0x2fff10;},_0x35d3c8[_0xc8d51a(0x286)]=_0xc8d51a(0x229),_0x35d3c8[_0xc8d51a(0x253)]='hook',_0x35d3c8[_0xc8d51a(0x2cb)]=_0xc8d51a(0x2d7),_0x35d3c8[_0xc8d51a(0x255)]=_0xc8d51a(0x237),_0x35d3c8[_0xc8d51a(0x2af)]=_0xc8d51a(0x226);const _0x406b07=_0x35d3c8,_0x48574b=_0x48487b[_0xc8d51a(0x1fb)](/^(.*)Run(.*)$/);if(!_0x48574b)return null;if(_0x406b07['fGLHT'](_0x48574b[_0xc8d51a(0x28c)],0x3))return null;const _0x1ff83c=_0x48574b[0x1]['toLowerCase'](),_0x25c459=_0x48574b[0x2][_0xc8d51a(0x2d1)]();return{'test':_0x406b07['vfQZz'](_0x1ff83c,_0x406b07[_0xc8d51a(0x286)]),'hook':_0x406b07[_0xc8d51a(0x2e2)](_0x1ff83c,_0x406b07[_0xc8d51a(0x253)]),'skipped':_0x406b07[_0xc8d51a(0x2e2)](_0x25c459,_0x406b07[_0xc8d51a(0x2cb)]),'started':_0x406b07[_0xc8d51a(0x2e2)](_0x25c459,_0x406b07[_0xc8d51a(0x255)]),'finished':_0x406b07[_0xc8d51a(0x2e2)](_0x25c459,_0x406b07[_0xc8d51a(0x2af)])};},mockPWBrowserType=_0x2c1cab=>{const _0x42583c=a4_0xec7a87,_0x1c2c41={'HYHTL':function(_0xb98b87,_0x135f8a,_0x5a00d1){return _0xb98b87(_0x135f8a,_0x5a00d1);},'TocDK':'wsEndpoint','ZDCbx':function(_0x1b9cfb,_0x10296a){return _0x1b9cfb(_0x10296a);},'yFcNM':'browserstack','hUTiu':function(_0xfd0074,_0x14468a,_0x1e7c2f){return _0xfd0074(_0x14468a,_0x1e7c2f);},'jiOSj':function(_0x11e9a9,_0x3be535){return _0x11e9a9===_0x3be535;},'OmNWx':'string','HUIGM':_0x42583c(0x285),'pDeaK':_0x42583c(0x2e4),'dEsnm':'browserType.js','pXrJZ':function(_0xd1632c,_0x132833){return _0xd1632c(_0x132833);},'WzCKn':function(_0x44ed88,_0x248b91){return _0x44ed88(_0x248b91);},'iEmtU':_0x42583c(0x24d),'owuSt':'connect','kqvqJ':_0x42583c(0x256)},_0x6a574a=path[_0x42583c(0x211)](_0x1c2c41[_0x42583c(0x2dd)],_0x1c2c41[_0x42583c(0x232)],_0x1c2c41[_0x42583c(0x26c)]),_0x239a0b=_0x1c2c41['pXrJZ'](importFileFromPWCore,_0x6a574a);if(!_0x239a0b){_0x1c2c41[_0x42583c(0x207)](debug,_0x1c2c41['iEmtU']);return;}const _0x1f53a6=_0x239a0b[_0x42583c(0x251)],_0x28b388=_0x1f53a6[_0x42583c(0x2a7)];if(_0x28b388[_0x42583c(0x1f9)])return;const _0x1e9a34=_0x28b388['connect'];Object[_0x42583c(0x209)](_0x28b388,_0x1c2c41['owuSt'],{'get':function(){const _0xd20d78=_0x42583c,_0x1a911c={'yiaSp':function(_0x3c2c27,_0x3fc9a4){return _0x1c2c41['jiOSj'](_0x3c2c27,_0x3fc9a4);},'nqKdG':_0x1c2c41[_0xd20d78(0x25b)]};return async function _0x346d7d(_0x5ce301,_0x349550){const _0x58feb6=_0xd20d78,_0x2a8489=_0x1c2c41[_0x58feb6(0x289)](nestedKeyValue,_0x5ce301,[_0x1c2c41[_0x58feb6(0x1f7)]])||_0x5ce301;let _0x18e81c=null,_0x12550a=null;try{[_0x12550a,_0x18e81c]=_0x2a8489?_0x1c2c41['ZDCbx'](parseWSEndpoint,_0x2a8489):[null,null],global['__platformCaps']=_0x18e81c,_0x12550a[_0x58feb6(0x2a8)](_0x1c2c41[_0x58feb6(0x21b)])&&(global[_0x58feb6(0x28d)]=_0x1c2c41[_0x58feb6(0x21b)]);}catch(_0x4b03bc){logger[_0x58feb6(0x292)](_0x58feb6(0x2ab)+_0x2a8489+'\x20'+_0x4b03bc);}_0x1c2c41[_0x58feb6(0x235)](processAccessibilityCaps,_0x18e81c,_0x12550a);if(global[_0x58feb6(0x23d)]){const _0x4bffa3=await _0x28b388[_0x58feb6(0x2bd)][_0x58feb6(0x243)](this,[''+Constants[_0x58feb6(0x27f)]+_0x1c2c41['ZDCbx'](encodeURIComponent,JSON[_0x58feb6(0x2a0)](_0x18e81c))]);return PlaywrightSessionDetails[_0x58feb6(0x2e1)](_0x4bffa3,_0x2c1cab,_0x2a8489),_0x4bffa3;}return _0x1e9a34[_0x58feb6(0x243)](this,arguments)[_0x58feb6(0x22e)](_0x1124cf=>{const _0x259bd0=_0x58feb6;let _0x170d23=_0x5ce301[_0x259bd0(0x2a6)];return _0x1a911c[_0x259bd0(0x218)](typeof _0x5ce301,_0x1a911c[_0x259bd0(0x219)])&&(_0x170d23=_0x5ce301),PlaywrightSessionDetails[_0x259bd0(0x2e1)](_0x1124cf,_0x2c1cab,_0x170d23),_0x1124cf;});};}});const _0x31767d=_0x28b388[_0x42583c(0x256)];Object[_0x42583c(0x209)](_0x28b388,_0x1c2c41[_0x42583c(0x242)],{'get':function(){return async function _0x5116bb(){return _0x31767d['apply'](this,arguments)['then'](_0x32258c=>{const _0x109a44=a4_0x2f7e;return PlaywrightSessionDetails[_0x109a44(0x2e1)](_0x32258c,null),_0x32258c;});};}});};class O11yHelper{[a4_0xec7a87(0x236)]=null;[a4_0xec7a87(0x2e5)]=null;[a4_0xec7a87(0x22f)]=![];[a4_0xec7a87(0x280)]=![];constructor(_0x57b33d,_0x348511){const _0x2d9e81=a4_0xec7a87,_0x59d89b={'KJsdp':'5|0|2|3|4|1','PJkOA':function(_0x4ea07c,_0x26eba6){return _0x4ea07c===_0x26eba6;},'uhhHo':_0x2d9e81(0x267),'oKysz':function(_0x2b1190,_0x590861){return _0x2b1190(_0x590861);},'MkqnN':function(_0x23ead0){return _0x23ead0();}},_0x4c77d3=_0x59d89b[_0x2d9e81(0x2ba)][_0x2d9e81(0x258)]('|');let _0x3f03e5=0x0;while(!![]){switch(_0x4c77d3[_0x3f03e5++]){case'0':this['frameworkName']=_0x348511[_0x2d9e81(0x280)];continue;case'1':this[_0x2d9e81(0x206)]&&_0x59d89b['PJkOA'](this[_0x2d9e81(0x206)][_0x2d9e81(0x24f)]['name'],_0x59d89b[_0x2d9e81(0x2c8)])&&_0x59d89b['oKysz'](mockPWBrowserType,null);continue;case'2':this[_0x2d9e81(0x206)]=_0x57b33d;continue;case'3':this[_0x2d9e81(0x291)]=_0x59d89b[_0x2d9e81(0x244)](getTestEnv);continue;case'4':this[_0x2d9e81(0x254)]=new testOpsHelper[(_0x2d9e81(0x24b))]({'cwd':process['cwd']()},this['_testEnv']['location_prefix']);continue;case'5':this[_0x2d9e81(0x22f)]=_0x59d89b[_0x2d9e81(0x244)](shouldProcessEventForTesthub);continue;}break;}}[a4_0xec7a87(0x223)](){const _0x129657=a4_0xec7a87;if(!this[_0x129657(0x22f)])return;testOpsHelper[_0x129657(0x227)](),process[_0x129657(0x238)](_0x129657(0x225)+process[_0x129657(0x2c9)]),process['on']('bs:addLog:'+process[_0x129657(0x2c9)],this[_0x129657(0x2da)][_0x129657(0x252)](this));}async[a4_0xec7a87(0x245)](){await RequestQueueHandler['getInstance']()['shutdown']();}async[a4_0xec7a87(0x2da)](_0x540ce1){const _0x2d1eff=a4_0xec7a87,_0x33991e={'cbFfR':_0x2d1eff(0x2e6),'yxKza':function(_0x325f88,_0x30d372){return _0x325f88(_0x30d372);}};try{this['currentHook']&&!this[_0x2d1eff(0x2e5)]['markedStatus']&&(_0x540ce1[_0x2d1eff(0x295)]=this[_0x2d1eff(0x2e5)][_0x2d1eff(0x221)]);!_0x540ce1[_0x2d1eff(0x295)]&&this[_0x2d1eff(0x236)]&&!this[_0x2d1eff(0x236)]['markedStatus']&&(_0x540ce1[_0x2d1eff(0x261)]=this[_0x2d1eff(0x236)]['testAnalyticsId']);if(_0x540ce1[_0x2d1eff(0x295)]||_0x540ce1['test_run_uuid']){const _0x455e43={};_0x455e43[_0x2d1eff(0x2ca)]=_0x33991e['cbFfR'],_0x455e43[_0x2d1eff(0x240)]=[_0x540ce1],await SessionHandler[_0x2d1eff(0x2ad)](_0x455e43);}}catch(_0x1ab7b8){_0x33991e['yxKza'](debug,_0x2d1eff(0x201)+_0x1ab7b8);}}async['sendCBTInfo'](_0x194e7a){const _0x46bb95=a4_0xec7a87,_0x222137={'rngHX':'CBTSessionCreated','huqYs':function(_0x3ad398,_0x55a45e){return _0x3ad398(_0x55a45e);}};if(!this[_0x46bb95(0x22f)])return;const _0x177ead=this['getCBTInfo'](this[_0x46bb95(0x206)]);try{const _0x3e1915={};_0x3e1915['uuid']=_0x194e7a,_0x3e1915[_0x46bb95(0x23b)]=_0x177ead;const _0x317455=_0x3e1915,_0x3e30d5={};_0x3e30d5[_0x46bb95(0x2ca)]=_0x222137[_0x46bb95(0x205)],_0x3e30d5[_0x46bb95(0x1f3)]=_0x317455,await SessionHandler[_0x46bb95(0x2ad)](_0x3e30d5);}catch(_0x45cd41){_0x222137[_0x46bb95(0x2df)](debug,_0x46bb95(0x2a1)+_0x45cd41);}}[a4_0xec7a87(0x2d0)](_0x2afa1b){const _0x1ff694={'nqmej':function(_0x4d440b,_0x4a1068){return _0x4d440b(_0x4a1068);}};return _0x1ff694['nqmej'](fetchPlatformDetails,_0x2afa1b);}['resetSkipTestHooks']=_0x13e0ea=>{const _0x42c3dd=a4_0xec7a87,_0x5db66a={};_0x5db66a['xgNvh']='_beforeEach',_0x5db66a[_0x42c3dd(0x21f)]='_afterEach';const _0xff0e94=_0x5db66a;if(!_0x13e0ea||!_0x13e0ea['parent'])return;[_0xff0e94[_0x42c3dd(0x239)],_0xff0e94['mVncf']][_0x42c3dd(0x247)](_0x384945=>{const _0x3367e2=_0x42c3dd,_0x5ac295=_0x13e0ea[_0x3367e2(0x249)][_0x384945];_0x5ac295['forEach'](_0x60686d=>{const _0x21414a=_0x3367e2;_0x60686d['hookAnalyticsId']&&(_0x60686d[_0x21414a(0x221)]=null);});});};[a4_0xec7a87(0x26e)](_0x3f67a7){const _0x4b7025=a4_0xec7a87,_0x5a0f12={'iiNhR':_0x4b7025(0x2d4),'IIRBJ':function(_0x2f1e3f){return _0x2f1e3f();},'NDJWB':function(_0x4fbef9,_0x396f41){return _0x4fbef9===_0x396f41;},'tlkvC':_0x4b7025(0x2a5),'hHQEf':_0x4b7025(0x22b),'cdUQu':_0x4b7025(0x212),'XyJLE':_0x4b7025(0x202)};if(!_0x3f67a7||!_0x3f67a7[_0x4b7025(0x249)])return;[_0x5a0f12['hHQEf'],_0x5a0f12[_0x4b7025(0x222)],_0x5a0f12[_0x4b7025(0x2c3)],_0x5a0f12[_0x4b7025(0x1fd)]]['forEach'](_0x1e0b7c=>{const _0x57521d=_0x4b7025,_0x5f5d2a={'BPbcI':_0x5a0f12[_0x57521d(0x2ae)],'mRCti':function(_0x37419e){const _0x8eb40a=_0x57521d;return _0x5a0f12[_0x8eb40a(0x25a)](_0x37419e);},'wkUgm':function(_0x70ce91,_0x4d3581){const _0x1cc1d8=_0x57521d;return _0x5a0f12[_0x1cc1d8(0x246)](_0x70ce91,_0x4d3581);},'dZBGB':_0x5a0f12[_0x57521d(0x1fd)]},_0x250fb8=_0x3f67a7[_0x57521d(0x249)][_0x1e0b7c]||[];_0x250fb8['forEach'](_0x1861cc=>{const _0x278cb2=_0x57521d;if(_0x1861cc[_0x278cb2(0x1f5)][_0x278cb2(0x2a8)](_0x5f5d2a[_0x278cb2(0x29f)]))return;if(!_0x1861cc[_0x278cb2(0x221)])_0x1861cc[_0x278cb2(0x221)]=_0x5f5d2a[_0x278cb2(0x23e)](uuidv4);else _0x1861cc[_0x278cb2(0x2c5)]&&_0x5f5d2a['wkUgm'](_0x1e0b7c,_0x5f5d2a['dZBGB'])&&(_0x1861cc[_0x278cb2(0x221)]=_0x5f5d2a[_0x278cb2(0x23e)](uuidv4),delete _0x1861cc['markedStatus']);});}),this['mapTestHooks'](_0x3f67a7['parent']);}[a4_0xec7a87(0x296)](_0x56939a){const _0x52069e=a4_0xec7a87,_0x52bac5={};_0x52bac5[_0x52069e(0x21a)]=_0x52069e(0x22b),_0x52bac5[_0x52069e(0x2cd)]=_0x52069e(0x212),_0x52bac5['HhtnI']='_beforeEach',_0x52bac5['VGsgr']='_afterEach';const _0x4da1e5=_0x52bac5;if(!_0x56939a||!_0x56939a[_0x52069e(0x249)])return[];const _0x53fbda=[];return[_0x4da1e5[_0x52069e(0x21a)],_0x4da1e5[_0x52069e(0x2cd)],_0x4da1e5[_0x52069e(0x29d)],_0x4da1e5['VGsgr']][_0x52069e(0x247)](_0x23fd82=>{const _0xcb0aec=_0x52069e,_0x2388f3=_0x56939a[_0xcb0aec(0x249)][_0x23fd82]||[];_0x2388f3['forEach'](_0x561639=>{const _0x468b29=_0xcb0aec;_0x561639[_0x468b29(0x221)]&&_0x53fbda[_0x468b29(0x2c0)](_0x561639[_0x468b29(0x221)]);});}),[][_0x52069e(0x2b3)](_0x53fbda,this['getHooksForTest'](_0x56939a[_0x52069e(0x249)]));}[a4_0xec7a87(0x281)](_0x314771){const _0x42f850=a4_0xec7a87,_0x1951d2=/^"(?<hook>.*)" hook:.*$/,_0x1f2952=_0x314771['title'],_0x16c154=_0x1f2952['match'](_0x1951d2);if(_0x16c154&&_0x16c154['groups'])return _0x16c154[_0x42f850(0x28f)]['hook'][_0x42f850(0x1f6)]()[_0x42f850(0x263)]('\x20','_');return null;}[a4_0xec7a87(0x21c)](_0x5658bd){const _0x543808=a4_0xec7a87,_0x3eeb71={};_0x3eeb71['jBost']=function(_0x2d098b,_0x147169){return _0x2d098b===_0x147169;},_0x3eeb71[_0x543808(0x20b)]=function(_0x42220e,_0x13bcfb){return _0x42220e===_0x13bcfb;},_0x3eeb71[_0x543808(0x231)]=function(_0x3fbcce,_0x2d5339){return _0x3fbcce===_0x2d5339;},_0x3eeb71[_0x543808(0x27e)]=_0x543808(0x25f),_0x3eeb71[_0x543808(0x234)]='config';const _0x11b4a5=_0x3eeb71,_0x978681=path['sep'];if(_0x11b4a5[_0x543808(0x23c)](_0x5658bd,null)||_0x11b4a5['rCJjm'](_0x5658bd,'')||_0x11b4a5[_0x543808(0x231)](_0x5658bd,_0x978681)||_0x11b4a5[_0x543808(0x23c)](_0x5658bd,path[_0x543808(0x20d)](_0x5658bd)))return null;try{return fs[_0x543808(0x216)](path[_0x543808(0x211)](_0x5658bd,_0x11b4a5[_0x543808(0x27e)],_0x11b4a5[_0x543808(0x234)])),_0x5658bd;}catch(_0x338e79){const _0xb14c94=path[_0x543808(0x20d)](_0x5658bd);return this[_0x543808(0x21c)](_0xb14c94);}}[a4_0xec7a87(0x2ce)](_0x49a9ca){const _0x1c03f7=a4_0xec7a87,_0x1b6888={};_0x1b6888['sYXsP']=function(_0x4215e3,_0x4a6dbb){return _0x4215e3>_0x4a6dbb;};const _0x539e8e=_0x1b6888;if(_0x49a9ca[_0x1c03f7(0x29c)])return _0x49a9ca[_0x1c03f7(0x29c)];if(_0x49a9ca[_0x1c03f7(0x2bf)]){const _0x1268a6=_0x49a9ca['ctx'][_0x1c03f7(0x236)]?this[_0x1c03f7(0x2ce)](_0x49a9ca['ctx'][_0x1c03f7(0x236)]):null;if(_0x1268a6)return _0x1268a6;}if(_0x49a9ca[_0x1c03f7(0x249)]){const _0xde7b05=this[_0x1c03f7(0x2ce)](_0x49a9ca[_0x1c03f7(0x249)])||(_0x49a9ca[_0x1c03f7(0x249)][_0x1c03f7(0x2bf)]&&_0x49a9ca['parent'][_0x1c03f7(0x2bf)][_0x1c03f7(0x236)]?this[_0x1c03f7(0x2ce)](_0x49a9ca[_0x1c03f7(0x249)][_0x1c03f7(0x2bf)][_0x1c03f7(0x236)]):null);if(_0xde7b05)return _0xde7b05;_0x49a9ca['parent']['suites']&&_0x539e8e[_0x1c03f7(0x22a)](_0x49a9ca[_0x1c03f7(0x249)][_0x1c03f7(0x1fe)][_0x1c03f7(0x28c)],0x0)&&_0x49a9ca['parent'][_0x1c03f7(0x1fe)][_0x1c03f7(0x247)](_0x2f36ce=>{const _0x4a60a3=_0x1c03f7,_0xd7b903=_0x2f36ce['ctx']?this[_0x4a60a3(0x2ce)](_0x2f36ce[_0x4a60a3(0x2bf)]):null;if(_0xd7b903)return _0xd7b903;});}return null;}[a4_0xec7a87(0x279)](_0x3eabf4){const _0x545743=a4_0xec7a87,_0x1010f0={};_0x1010f0[_0x545743(0x2b9)]=function(_0x5b78b4,_0x1a014a){return _0x5b78b4!==_0x1a014a;};const _0x43567f=_0x1010f0,_0x2af9f3=[];if(_0x3eabf4&&_0x3eabf4[_0x545743(0x249)]){let _0x2a0735=_0x3eabf4[_0x545743(0x249)];while(_0x2a0735&&_0x43567f['rnsVK'](_0x2a0735['title'],'')){_0x2af9f3['push'](_0x2a0735['title']),_0x2a0735=_0x2a0735[_0x545743(0x249)];}}return _0x2af9f3;}[a4_0xec7a87(0x283)](_0x434d54,_0x5c6bf6,_0x422316=undefined){const _0x45a120=a4_0xec7a87,_0x4455ed={'jPjhM':function(_0x4d8a7b,_0x1939d9){return _0x4d8a7b(_0x1939d9);},'UTgzi':function(_0x53051a){return _0x53051a();},'lpIwj':function(_0x424ad8){return _0x424ad8();},'fFOgx':'util','fiBbF':_0x45a120(0x2cf),'KsCKe':function(_0x5a4039,_0x1c8211){return _0x5a4039!==_0x1c8211;},'kQIhL':_0x45a120(0x24e),'flJjt':_0x45a120(0x2bb),'BvVvM':_0x45a120(0x2dc),'YSwnp':_0x45a120(0x2b1),'jkFjg':_0x45a120(0x2d7),'jBUte':_0x45a120(0x260),'aHXoL':function(_0x1efe7a,_0x34b1c0){return _0x1efe7a-_0x34b1c0;},'ukpKf':function(_0x318b63,_0x3f8b89,_0xf5a2b6,_0x4b28f0,_0x598b20){return _0x318b63(_0x3f8b89,_0xf5a2b6,_0x4b28f0,_0x598b20);},'dprrN':_0x45a120(0x23b),'QoRYR':_0x45a120(0x28b),'pLrdW':'failure','bZeGc':_0x45a120(0x25e),'ckEgQ':_0x45a120(0x28a),'kjtyE':_0x45a120(0x272),'jTqCH':_0x45a120(0x2e7),'XpmwK':function(_0x17c83f,_0x4988fb){return _0x17c83f===_0x4988fb;},'AHnhl':_0x45a120(0x2aa),'OSPqa':'test_run'};if(!this['enabled'])return;try{if(_0x5c6bf6['fn']&&_0x5c6bf6['fn'][_0x45a120(0x213)]()[_0x45a120(0x1fb)](/browserstack internal helper hook/))return;const _0x1e0944=_0x4455ed[_0x45a120(0x284)](parseEvent,_0x434d54);if(!_0x1e0944)return;if(_0x1e0944[_0x45a120(0x229)]){this[_0x45a120(0x236)]=_0x5c6bf6,this[_0x45a120(0x2e5)]=null;if(_0x1e0944[_0x45a120(0x237)]||_0x1e0944[_0x45a120(0x2d7)]){_0x5c6bf6[_0x45a120(0x230)]=new Date(),_0x5c6bf6[_0x45a120(0x2c5)]=![];if(!_0x5c6bf6[_0x45a120(0x2b4)])_0x5c6bf6['testAnalyticsId']=_0x4455ed['UTgzi'](uuidv4);else _0x5c6bf6[_0x45a120(0x2c5)]&&(!_0x5c6bf6[_0x45a120(0x200)]&&(_0x5c6bf6[_0x45a120(0x200)]=_0x5c6bf6['testAnalyticsId']),_0x5c6bf6[_0x45a120(0x2b4)]=_0x4455ed[_0x45a120(0x274)](uuidv4));}}else{if(_0x1e0944['hook']){this[_0x45a120(0x2e5)]=_0x5c6bf6;if(_0x1e0944['started']){_0x5c6bf6[_0x45a120(0x230)]=new Date(),_0x5c6bf6[_0x45a120(0x2c5)]=![];if(!_0x5c6bf6[_0x45a120(0x221)])_0x5c6bf6[_0x45a120(0x221)]=_0x4455ed[_0x45a120(0x210)](uuidv4);else _0x5c6bf6['hookAnalyticsId']&&_0x5c6bf6[_0x45a120(0x2c5)]&&(_0x5c6bf6[_0x45a120(0x221)]=_0x4455ed[_0x45a120(0x274)](uuidv4));}}}if(_0x1e0944[_0x45a120(0x226)]&&_0x5c6bf6[_0x45a120(0x2c5)])return;let _0x3b44c6;try{_0x3b44c6=this[_0x45a120(0x2ce)](_0x5c6bf6);}catch(_0x1348a2){logger['debug'](_0x45a120(0x20a)+_0x1348a2),_0x3b44c6=null;}const _0x4fe2b1=_0x4455ed[_0x45a120(0x284)](require,_0x4455ed['fFOgx']);let _0x31cab8=[];_0x422316&&(_0x31cab8=[_0x422316,_0x4455ed[_0x45a120(0x266)]]);const _0x161397=_0x4455ed[_0x45a120(0x298)](_0x5c6bf6['errorsDetailed'],undefined)?_0x4fe2b1[_0x45a120(0x2d8)](_0x5c6bf6[_0x45a120(0x2bc)][0x0]):_0x4455ed[_0x45a120(0x298)](_0x422316,undefined)?_0x422316[_0x45a120(0x213)]():undefined,_0x2f8c63=_0x3b44c6?this[_0x45a120(0x21c)](_0x3b44c6):null,_0x4cb1d3=_0x3b44c6?this[_0x45a120(0x254)]['prefixTestPath'](this[_0x45a120(0x2ce)](_0x5c6bf6)):_0x4455ed[_0x45a120(0x204)];let _0x53714c=_0x4455ed[_0x45a120(0x24a)];const _0x4d96c4=!_0x1e0944[_0x45a120(0x237)]?new Date()[_0x45a120(0x2a3)]():null;if(_0x1e0944[_0x45a120(0x226)])_0x53714c=_0x422316?_0x4455ed[_0x45a120(0x26d)]:_0x4455ed[_0x45a120(0x20e)],_0x5c6bf6[_0x45a120(0x2c5)]=!![];else _0x1e0944['skipped']&&(_0x53714c=_0x4455ed[_0x45a120(0x2c6)],_0x5c6bf6[_0x45a120(0x2c5)]=!![]);const _0x47f3ed={'framework':this[_0x45a120(0x280)],'uuid':_0x5c6bf6[_0x45a120(0x2b4)]||_0x5c6bf6[_0x45a120(0x221)],'name':_0x5c6bf6[_0x45a120(0x1f5)],'body':{'lang':_0x4455ed[_0x45a120(0x2b6)],'code':_0x5c6bf6[_0x45a120(0x220)][_0x45a120(0x213)]()},'type':_0x5c6bf6[_0x45a120(0x25d)],'scope':_0x5c6bf6[_0x45a120(0x250)](),'scopes':this[_0x45a120(0x279)](_0x5c6bf6),'file_name':_0x4cb1d3,'vc_filepath':_0x2f8c63?path['relative'](_0x2f8c63,_0x3b44c6):null,'location':_0x4cb1d3,'result':_0x53714c,'failure_reason':_0x161397,'duration_in_ms':_0x5c6bf6[_0x45a120(0x287)]||(_0x1e0944[_0x45a120(0x226)]||_0x1e0944['skipped'])?_0x4455ed[_0x45a120(0x2b2)](Date['now'](),new Date(_0x5c6bf6[_0x45a120(0x230)])['getTime']()):null,'started_at':new Date(_0x5c6bf6[_0x45a120(0x230)])[_0x45a120(0x2a3)](),'finished_at':_0x4d96c4,'failure':testOpsHelper[_0x45a120(0x276)]['apply'](null,_0x31cab8),'failure_type':!_0x161397?null:testOpsHelper[_0x45a120(0x29a)](_0x161397),'retry_of':_0x5c6bf6[_0x45a120(0x200)]||null,'tags':_0x5c6bf6[_0x45a120(0x23f)]||[],'customRerunParam':{'rerun_name':_0x5c6bf6['fullTitle']()}};_0x4455ed[_0x45a120(0x233)](appendTesthubParams,_0x47f3ed,_0x434d54,_0x5c6bf6,FRAMEWORKS[_0x45a120(0x257)]);if(_0x1e0944[_0x45a120(0x27c)])[_0x47f3ed[_0x45a120(0x24c)],_0x47f3ed[_0x45a120(0x248)]]=[this[_0x45a120(0x281)](_0x5c6bf6),_0x5c6bf6[_0x45a120(0x2bf)]['test'][_0x45a120(0x1f5)]],_0x1e0944[_0x45a120(0x226)]?_0x4455ed['KsCKe'](_0x47f3ed[_0x45a120(0x2b8)],_0x4455ed[_0x45a120(0x26d)])&&(_0x47f3ed['result']=_0x4455ed[_0x45a120(0x20e)]):_0x47f3ed[_0x45a120(0x220)]={};else _0x1e0944[_0x45a120(0x229)]&&(this[_0x45a120(0x26e)](_0x5c6bf6),_0x1e0944['skipped']&&this[_0x45a120(0x288)](_0x5c6bf6),(_0x1e0944['finished']||_0x1e0944[_0x45a120(0x2d7)])&&(_0x47f3ed[_0x45a120(0x2c7)]=this[_0x45a120(0x296)](_0x5c6bf6)));this[_0x45a120(0x206)]&&(_0x1e0944['started']||_0x1e0944[_0x45a120(0x2d7)])&&(_0x47f3ed[_0x4455ed[_0x45a120(0x21e)]]=this[_0x45a120(0x2d0)](this[_0x45a120(0x206)]));_0x1e0944[_0x45a120(0x229)]&&_0x1e0944['finished']&&_0x5c6bf6[_0x45a120(0x217)]&&(_0x47f3ed[_0x4455ed[_0x45a120(0x297)]]={'feature':{'name':_0x5c6bf6[_0x45a120(0x249)][_0x45a120(0x282)][_0x45a120(0x248)],'path':_0x47f3ed[_0x45a120(0x29e)],'description':_0x5c6bf6[_0x45a120(0x249)][_0x45a120(0x25c)]},'scenario':{'name':_0x5c6bf6[_0x45a120(0x1f5)]},'steps':_0x5c6bf6['bddSteps']});const _0xecfb9e=_0x47f3ed[_0x4455ed[_0x45a120(0x214)]][0x0];_0xecfb9e&&(_0x47f3ed[_0x4455ed[_0x45a120(0x2d6)]]=_0xecfb9e[_0x4455ed[_0x45a120(0x1f8)]],_0x47f3ed[_0x4455ed['kjtyE']]=_0xecfb9e[_0x4455ed[_0x45a120(0x241)]]);if(_0x5c6bf6['bddSteps'])for(const _0x1e7af0 of _0x5c6bf6[_0x45a120(0x217)]){!_0x1e7af0[_0x45a120(0x27d)]&&(_0x1e7af0[_0x45a120(0x27d)]=new Date()[_0x45a120(0x2a3)](),_0x4455ed['XpmwK'](_0x1e7af0[_0x45a120(0x2b8)],_0x4455ed['flJjt'])&&(_0xecfb9e?(_0x1e7af0['result']=_0x4455ed['BvVvM'],_0x1e7af0['failure']=_0xecfb9e[_0x4455ed[_0x45a120(0x1f8)]][0x0]):_0x1e7af0[_0x45a120(0x2b8)]=_0x4455ed[_0x45a120(0x20e)]));}const _0x298a1d={};_0x298a1d['event_type']=_0x1e0944['skipped']?TEST_EVENTS[_0x45a120(0x22c)]:_0x434d54;const _0x17040b=_0x298a1d;return _0x1e0944[_0x45a120(0x27c)]?_0x17040b[_0x4455ed[_0x45a120(0x2c4)]]=_0x47f3ed:_0x17040b[_0x4455ed[_0x45a120(0x264)]]=_0x47f3ed,_0x17040b;}catch(_0x1b06b2){logger['debug'](_0x45a120(0x208)+_0x434d54+_0x45a120(0x278)+_0x1b06b2);}}async[a4_0xec7a87(0x2d3)](_0x58b217,_0x263bf6){const _0x51752f=a4_0xec7a87;if(!this[_0x51752f(0x22f)]||!_0x263bf6||!_0x58b217)return![];try{return await SessionHandler[_0x51752f(0x2ad)](_0x263bf6);}catch(_0xb626b1){logger['debug'](_0x51752f(0x273)+_0x58b217+_0x51752f(0x278)+_0xb626b1);}}[a4_0xec7a87(0x215)](_0x244498){const _0x43170a=a4_0xec7a87,_0x30c2f5={};_0x30c2f5[_0x43170a(0x29b)]=_0x43170a(0x2bb);const _0x59d20a=_0x30c2f5;return{'id':_0x244498['stepAnalyticsId'],'text':_0x244498[_0x43170a(0x26f)],'keyword':_0x244498[_0x43170a(0x293)],'started_at':_0x244498[_0x43170a(0x230)][_0x43170a(0x2a3)](),'result':_0x59d20a[_0x43170a(0x29b)]};}['bddStepStart'](_0x361711){const _0x315d38=a4_0xec7a87,_0x1279e3={'hpcZx':function(_0x50113b){return _0x50113b();}};!this[_0x315d38(0x236)][_0x315d38(0x217)]&&(this[_0x315d38(0x236)]['bddSteps']=[]),!_0x361711[_0x315d38(0x269)]&&(_0x361711[_0x315d38(0x269)]=_0x1279e3[_0x315d38(0x28e)](uuidv4),_0x361711['startedAt']=new Date(),this['currentTest'][_0x315d38(0x217)][_0x315d38(0x2c0)](this[_0x315d38(0x215)](_0x361711)));}[a4_0xec7a87(0x259)](_0x2b8748){const _0x2905b7=a4_0xec7a87,_0x1cf2f2={'JlDIh':function(_0x47bdf5,_0x2c3843){return _0x47bdf5(_0x2c3843);},'YPCby':_0x2905b7(0x20f),'rcfOH':_0x2905b7(0x2bb),'xgufQ':'passed','yZEJp':function(_0x1323b8,_0x412107){return _0x1323b8-_0x412107;}};let _0x3f140f=this[_0x2905b7(0x236)][_0x2905b7(0x217)][_0x2905b7(0x2c1)](_0x5a8981=>_0x5a8981['id']===_0x2b8748['stepAnalyticsId']);_0x1cf2f2[_0x2905b7(0x21d)](isUndefined,_0x3f140f)&&(_0x3f140f=this[_0x2905b7(0x215)](_0x2b8748)),_0x3f140f[_0x2905b7(0x2b8)]=[_0x1cf2f2[_0x2905b7(0x203)],_0x1cf2f2[_0x2905b7(0x22d)]][_0x2905b7(0x2a8)](_0x2b8748[_0x2905b7(0x2e0)])?_0x1cf2f2[_0x2905b7(0x270)]:_0x2b8748[_0x2905b7(0x2e0)],_0x3f140f[_0x2905b7(0x27d)]=new Date()[_0x2905b7(0x2a3)](),_0x3f140f[_0x2905b7(0x287)]=_0x1cf2f2[_0x2905b7(0x294)](Date[_0x2905b7(0x299)](),_0x2b8748[_0x2905b7(0x230)][_0x2905b7(0x290)]()),_0x3f140f[_0x2905b7(0x271)]=_0x2b8748[_0x2905b7(0x2cf)]?_0x2b8748[_0x2905b7(0x2cf)][_0x2905b7(0x1fa)]:null;}}const a4_0x110cd2={};a4_0x110cd2['O11yHelper']=O11yHelper,a4_0x110cd2['STATE_PASSED']=STATE_PASSED,a4_0x110cd2[a4_0xec7a87(0x2a9)]=STATE_FAILED,a4_0x110cd2[a4_0xec7a87(0x2a2)]=TEST_EVENTS,module[a4_0xec7a87(0x2de)]=a4_0x110cd2;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a5_0x33c29b=a5_0x104a;(function(_0x75bb12,_0xa353fa){const _0x2f2fe1=a5_0x104a,_0x457237=_0x75bb12();while(!![]){try{const _0x26684b=-parseInt(_0x2f2fe1(0xf0))/0x1+-parseInt(_0x2f2fe1(0xe1))/0x2*(parseInt(_0x2f2fe1(0x140))/0x3)+-parseInt(_0x2f2fe1(0xe0))/0x4+parseInt(_0x2f2fe1(0x107))/0x5*(-parseInt(_0x2f2fe1(0x12f))/0x6)+parseInt(_0x2f2fe1(0x10e))/0x7*(-parseInt(_0x2f2fe1(0x13e))/0x8)+-parseInt(_0x2f2fe1(0xe9))/0x9*(-parseInt(_0x2f2fe1(0x141))/0xa)+parseInt(_0x2f2fe1(0x102))/0xb;if(_0x26684b===_0xa353fa)break;else _0x457237['push'](_0x457237['shift']());}catch(_0xb71bd){_0x457237['push'](_0x457237['shift']());}}}(a5_0xa3f6,0xeb022));function a5_0xa3f6(){const _0x186833=['handleApp','yellow','\x20scenarios','log','stepsPending','rmdirSync','FRAMEWORKS','\x20undefined','\x20failed','getErrorMessageFromResults','accessibilityOptions','56933965NSFIIb','printBuildLink','iZJLg','BROWSERSTACK_TEST_OBSERVABILITY_YML','\x20steps','2824855URislI','logLevel','tmp','VTeLs','../../helpers/helper','start','EcsNt','14XBFTei','scenarios','green','cucumber-js','parallelsPerPlatform','ZHSGE','config','chalk','\x20pending','exports','\x20ambiguous','AFfdR','YCyUR','finally','exitCode','CKHdq','stepsUnknown','parseFormatters','red','util','getUserWorkerCount','stepsSkipped','../../helpers/utilities','testContextOptions','then','forEach','getTCGConfigFilePaths','env','xBosr','join','scenariosFailed','../../helpers/logger','mergeOutputFiles','12CJHyPj','format','removeDir','\x20skipped','length','unlinkSync','cyan','../test-runner','processSuccess','CUCUMBER','cxrhI','finalExecution','launchBuild','skipSessionName','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','6491216kGWYxh','\x20passed','81FEchJp','446210kMgxLz','cwd','../../helpers/performance/constants','LeJUQ','splice','Removing\x20tmp\x20directory\x20created\x20for\x20reports','../../helpers/testhub/testhubHandler','HYvxH','steps','../../helpers/test-observability/utils','jQwAb','push','setUserConfigPath','testObservability','getHubUrl','FRkNC','AIzOe','debug','stepsFailed','prepareCapabilities','SDK_CLEANUP','isUndefined','iBDJP','cucumber','EVENTS','../../helpers/BrowserStackSetup','SDK_SETUP','proxySettings','IXUKv','1922432gcPeRl','100782EBJHil','vKpIr','winstonLogger','initialize','stepsUndefined','wsbbI','true','MsCQo','369KIgnWJ','XDdZi','createDir','twgzg','bold','stop','error\x20removing\x20tcg\x20config\x20file','1448771dYcriq','evHJh','getPlatformName','../../helpers/performance/performance-tester','KnrZa','stepsPassed','useW3C'];a5_0xa3f6=function(){return _0x186833;};return a5_0xa3f6();}function a5_0x104a(_0x1db4d1,_0x5f44fa){const _0xa3f6ee=a5_0xa3f6();return a5_0x104a=function(_0x104ab3,_0x4527b5){_0x104ab3=_0x104ab3-0xdd;let _0x3b9b6e=_0xa3f6ee[_0x104ab3];return _0x3b9b6e;},a5_0x104a(_0x1db4d1,_0x5f44fa);}const fs=require('fs'),path=require('path'),util=require(a5_0x33c29b(0x121)),logger=require(a5_0x33c29b(0x12d))[a5_0x33c29b(0xe3)],{default:BrowserStackSetup}=require(a5_0x33c29b(0x15a)),helper=require(a5_0x33c29b(0x10b)),utilities=require(a5_0x33c29b(0x124)),constants=require('../utils/constants'),{parallelCucumberRun}=require(a5_0x33c29b(0x136)),TestHubHandler=require(a5_0x33c29b(0x147)),testOpsHelper=require(a5_0x33c29b(0x14a)),chalk=require(a5_0x33c29b(0x115)),PerformanceTester=require(a5_0x33c29b(0xf3)),PerformanceEvents=require(a5_0x33c29b(0x143))[a5_0x33c29b(0x159)];function printCucumberStats(_0x25ed18){const _0x5bfb91=a5_0x33c29b,_0x34f773={};_0x34f773['twgzg']=function(_0x492708,_0x4ecc61){return _0x492708>_0x4ecc61;},_0x34f773['iZJLg']=function(_0x4f62c3,_0x4af3b4){return _0x4f62c3-_0x4af3b4;},_0x34f773[_0x5bfb91(0x12a)]=function(_0x2aeef1,_0x461da9){return _0x2aeef1>_0x461da9;},_0x34f773[_0x5bfb91(0x14b)]=function(_0x4e9ab7,_0x4d1f4b){return _0x4e9ab7>_0x4d1f4b;},_0x34f773[_0x5bfb91(0xe6)]=function(_0x5c96aa,_0x1a3e26){return _0x5c96aa>_0x1a3e26;},_0x34f773[_0x5bfb91(0xe2)]=function(_0x5e7ff8,_0x269562){return _0x5e7ff8>_0x269562;},_0x34f773[_0x5bfb91(0xf4)]=function(_0x3b8333,_0x2bfb72){return _0x3b8333+_0x2bfb72;},_0x34f773[_0x5bfb91(0x144)]=function(_0x3f6c01,_0x1275dc){return _0x3f6c01+_0x1275dc;},_0x34f773[_0x5bfb91(0x150)]=function(_0x2e33d4,_0x2198c4){return _0x2e33d4+_0x2198c4;},_0x34f773[_0x5bfb91(0xea)]=function(_0x1dfad3,_0xe5dcb6){return _0x1dfad3+_0xe5dcb6;},_0x34f773['gFHcO']=function(_0x11a9ad,_0x4e72a0){return _0x11a9ad===_0x4e72a0;},_0x34f773[_0x5bfb91(0x148)]=function(_0x507021,_0x322104){return _0x507021===_0x322104;},_0x34f773[_0x5bfb91(0x10d)]='****\x20RESULTS\x20****';const _0x50581a=_0x34f773;let _0x28b527=0x0;if(_0x50581a[_0x5bfb91(0x148)](_0x25ed18[_0x5bfb91(0x133)],0x0))return _0x28b527;return console[_0x5bfb91(0xfa)](chalk[_0x5bfb91(0xed)]['bgWhite'](_0x50581a['EcsNt'])),_0x25ed18[_0x5bfb91(0x127)](_0x4934ae=>{const _0x21ec80=_0x5bfb91,_0xd95567=_0x4934ae[0x0],_0x4c744b=_0x4934ae[0x1];console[_0x21ec80(0xfa)]('\x0a'+chalk[_0x21ec80(0xed)][_0x21ec80(0xf8)](''+helper[_0x21ec80(0xf2)](_0xd95567)));const _0x49c2e5=_0x4c744b[_0x21ec80(0x10f)],_0x135b03=_0x4c744b[_0x21ec80(0x149)],_0x5aa62d=_0x4c744b[_0x21ec80(0x12c)],_0x3759ba=_0x4c744b[_0x21ec80(0x153)],_0x5e2d0b=_0x4c744b[_0x21ec80(0xf5)],_0xdcb5f5=_0x4c744b[_0x21ec80(0x123)],_0x9c80cb=_0x4c744b[_0x21ec80(0xfb)],_0x30f19d=_0x4c744b[_0x21ec80(0xe5)],_0x2ae297=_0x4c744b[_0x21ec80(0x11e)],_0x395a1c=_0x4c744b['stepsAmbiguous'],_0x36d6df=_0x4c744b[_0x21ec80(0x137)];let _0x4832fd=_0x49c2e5+_0x21ec80(0xf9);const _0x1176ad=_0x50581a['twgzg'](_0x50581a[_0x21ec80(0x104)](_0x49c2e5,_0x5aa62d),0x0)?_0x50581a[_0x21ec80(0x104)](_0x49c2e5,_0x5aa62d):0x0;if(_0x50581a[_0x21ec80(0x12a)](_0x5aa62d,0x0)&&_0x50581a[_0x21ec80(0x12a)](_0x1176ad,0x0))_0x4832fd+='\x20('+chalk[_0x21ec80(0xed)][_0x21ec80(0x120)](_0x5aa62d+'\x20failed')+',\x20'+chalk[_0x21ec80(0xed)][_0x21ec80(0x110)](_0x1176ad+'\x20passed')+')';else(_0x50581a[_0x21ec80(0x14b)](_0x5aa62d,0x0)||_0x50581a[_0x21ec80(0x12a)](_0x1176ad,0x0))&&(_0x4832fd+=_0x50581a['jQwAb'](_0x5aa62d,0x0)?'\x20('+chalk['bold']['red'](_0x5aa62d+_0x21ec80(0xff))+')':'\x20('+chalk[_0x21ec80(0xed)][_0x21ec80(0x110)](_0x1176ad+'\x20passed')+')');const _0x45d6c5=_0x135b03+_0x21ec80(0x106),_0x21d895=[];_0x50581a[_0x21ec80(0xec)](_0x395a1c,0x0)&&_0x21d895[_0x21ec80(0x14c)](''+chalk[_0x21ec80(0xed)][_0x21ec80(0x120)](_0x395a1c+_0x21ec80(0x118)));_0x50581a[_0x21ec80(0xe6)](_0x3759ba,0x0)&&_0x21d895['push'](''+chalk[_0x21ec80(0xed)][_0x21ec80(0x120)](_0x3759ba+_0x21ec80(0xff)));_0x50581a[_0x21ec80(0xe6)](_0x5e2d0b,0x0)&&_0x21d895[_0x21ec80(0x14c)](''+chalk[_0x21ec80(0xed)]['green'](_0x5e2d0b+_0x21ec80(0x13f)));_0x50581a[_0x21ec80(0x14b)](_0x9c80cb,0x0)&&_0x21d895[_0x21ec80(0x14c)](''+chalk[_0x21ec80(0xed)][_0x21ec80(0xf8)](_0x9c80cb+_0x21ec80(0x116)));_0x50581a['vKpIr'](_0xdcb5f5,0x0)&&_0x21d895[_0x21ec80(0x14c)](''+chalk[_0x21ec80(0xed)][_0x21ec80(0x135)](_0xdcb5f5+_0x21ec80(0x132)));_0x50581a[_0x21ec80(0x12a)](_0x30f19d,0x0)&&_0x21d895['push'](''+chalk[_0x21ec80(0xed)]['yellow'](_0x30f19d+_0x21ec80(0xfe)));_0x50581a[_0x21ec80(0xe6)](_0x2ae297,0x0)&&_0x21d895[_0x21ec80(0x14c)](''+chalk[_0x21ec80(0xed)]['yellow'](_0x2ae297+_0x21ec80(0x132)));const _0x11d6e5=_0x50581a[_0x21ec80(0xf4)](_0x50581a[_0x21ec80(0xf4)](_0x50581a['LeJUQ'](_0x45d6c5,'('),_0x21d895['join'](',\x20')),')');console[_0x21ec80(0xfa)](_0x50581a[_0x21ec80(0x144)](_0x50581a['LeJUQ'](_0x50581a['FRkNC'](_0x50581a[_0x21ec80(0xea)]('\x0a',_0x4832fd),'\x0a'),_0x11d6e5),'\x0a')),_0x50581a['gFHcO'](_0x36d6df,![])&&(_0x28b527=0x1);}),_0x28b527;}async function run(_0x3180ec,_0x1951dc){const _0x191791=a5_0x33c29b,_0x1664f5={'IXUKv':function(_0x50a2ca,_0x35f950){return _0x50a2ca(_0x35f950);},'YCyUR':function(_0x14a356,_0x3f5c09){return _0x14a356>_0x3f5c09;},'cxrhI':'Generating\x20consolidated\x20report...','AFfdR':_0x191791(0x146),'CKHdq':_0x191791(0x158),'iBDJP':_0x191791(0xef),'evHJh':_0x191791(0x111),'ZHSGE':_0x191791(0x109),'MsCQo':function(_0x2580ef,_0x936013){return _0x2580ef>_0x936013;},'fsfcn':function(_0x3ba59f,_0x22420d){return _0x3ba59f-_0x22420d;},'VTeLs':function(_0x22b70c,_0x43af0f){return _0x22b70c>=_0x43af0f;},'xtcjs':function(_0x48c71d,_0x296fde){return _0x48c71d!=_0x296fde;},'ijrTt':_0x191791(0xe7),'AIzOe':function(_0x2e9c72,_0x201b8a,_0x613e5d,_0x2afa8c,_0x144bbe,_0xbbaf9e){return _0x2e9c72(_0x201b8a,_0x613e5d,_0x2afa8c,_0x144bbe,_0xbbaf9e);}},_0x4fbd9a=new BrowserStackSetup(_0x3180ec,_0x1664f5[_0x191791(0xf1)]);await _0x4fbd9a[_0x191791(0xe4)](),helper[_0x191791(0x14d)](_0x4fbd9a['framework'],_0x3180ec);!helper['isBrowserstackInfra']()&&await _0x4fbd9a['setupTCGAuth']();await helper[_0x191791(0xf7)](_0x4fbd9a[_0x191791(0x114)]);const _0x3df3c2=helper[_0x191791(0xf6)](_0x4fbd9a['config']),_0x131566=helper[_0x191791(0x154)](_0x4fbd9a[_0x191791(0x114)],_0x3df3c2,constants[_0x191791(0xfd)]['CUCUMBER']);if(!_0x4fbd9a[_0x191791(0x114)])return;const _0x250dff=_0x4fbd9a['config'][_0x191791(0x112)]||helper[_0x191791(0x122)](_0x3180ec,_0x1951dc,_0x4fbd9a[_0x191791(0x114)],constants[_0x191791(0xfd)][_0x191791(0x138)])||0x1,_0x2f8aa9={'server':helper[_0x191791(0x14f)](_0x4fbd9a[_0x191791(0x114)]),'proxySettings':_0x4fbd9a[_0x191791(0x114)][_0x191791(0xde)],'maxWorkers':_0x250dff,'browserStackLogLevel':_0x4fbd9a['config'][_0x191791(0x108)],'skipSessionName':_0x4fbd9a[_0x191791(0x114)][_0x191791(0x125)][_0x191791(0x13c)],'skipSessionStatus':_0x4fbd9a['config'][_0x191791(0x125)]['skipSessionStatus'],'turboScaleUrl':_0x4fbd9a[_0x191791(0x114)]['turboScaleUrl']},_0x3bd0c2=process['argv'],[_0x21afef,_0x54e3b4]=helper[_0x191791(0x11f)](_0x3bd0c2),_0x39205=path[_0x191791(0x12b)](process[_0x191791(0x142)](),_0x1664f5[_0x191791(0x113)]);if(_0x1664f5[_0x191791(0xe8)](_0x54e3b4[_0x191791(0x133)],0x0)){helper[_0x191791(0xeb)](_0x39205);for(let _0x5bb4bf=_0x1664f5['fsfcn'](_0x21afef[_0x191791(0x133)],0x1);_0x1664f5[_0x191791(0x10a)](_0x5bb4bf,0x0);_0x5bb4bf--){_0x3bd0c2[_0x191791(0x145)](_0x21afef[_0x5bb4bf],0x2);}}!helper[_0x191791(0x156)](_0x4fbd9a['config'][_0x191791(0x101)])&&(process['env'][_0x191791(0x13d)]=JSON['stringify'](_0x4fbd9a[_0x191791(0x114)]['accessibilityOptions']));_0x1664f5['xtcjs'](_0x4fbd9a[_0x191791(0x114)][_0x191791(0x14e)],null)?process[_0x191791(0x129)][_0x191791(0x105)]=_0x4fbd9a[_0x191791(0x114)][_0x191791(0x14e)]:process[_0x191791(0x129)][_0x191791(0x105)]=_0x1664f5['ijrTt'];const _0x4d6ad5=await TestHubHandler[_0x191791(0x13b)](constants[_0x191791(0xfd)][_0x191791(0x138)],_0x4fbd9a);PerformanceTester['end'](PerformanceEvents[_0x191791(0xdd)]);let _0x2fe470;_0x1664f5[_0x191791(0x151)](parallelCucumberRun,_0x131566,_0x2f8aa9,_0x4fbd9a[_0x191791(0x114)],_0x3bd0c2,_0x54e3b4)[_0x191791(0x126)](async _0x303a24=>{const _0x1d5864=_0x191791;PerformanceTester[_0x1d5864(0x10c)](PerformanceEvents[_0x1d5864(0x155)]),_0x2fe470=_0x303a24;const _0x6a0379=_0x1664f5[_0x1d5864(0xdf)](printCucumberStats,_0x303a24);process[_0x1d5864(0x11c)]=_0x6a0379,_0x1664f5[_0x1d5864(0x11a)](_0x54e3b4[_0x1d5864(0x133)],0x0)&&(logger[_0x1d5864(0x152)](_0x1664f5[_0x1d5864(0x139)]),helper[_0x1d5864(0x12e)](_0x39205,_0x54e3b4),logger[_0x1d5864(0x152)](_0x1664f5[_0x1d5864(0x119)]),helper[_0x1d5864(0x131)](_0x39205));})[_0x191791(0x11b)](async()=>{const _0x103dd9=_0x191791;PerformanceTester[_0x103dd9(0x10c)](PerformanceEvents[_0x103dd9(0x155)]),_0x4fbd9a['errorMessage']=helper[_0x103dd9(0x100)](_0x2fe470,_0x1664f5[_0x103dd9(0x11d)]),testOpsHelper[_0x103dd9(0x103)]();try{await TestHubHandler[_0x103dd9(0xee)]();}catch(_0x44d4bc){logger[_0x103dd9(0x152)]('Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20'+util[_0x103dd9(0x130)](_0x44d4bc));}try{const {browserstackFolderPath:_0xbc9c4c,tcgConfigPath:_0x4f02cd}=helper[_0x103dd9(0x128)]();fs[_0x103dd9(0x134)](_0x4f02cd),fs[_0x103dd9(0xfc)](_0xbc9c4c);}catch(_0x16cba7){logger[_0x103dd9(0x152)](_0x1664f5[_0x103dd9(0x157)],_0x16cba7);}await utilities[_0x103dd9(0x13a)](_0x4fbd9a);});}module[a5_0x33c29b(0x117)]=run;
|
|
2
|
+
'use strict';const a5_0x33727a=a5_0xf017;function a5_0xf017(_0x56dc88,_0x7e7ebb){const _0x273f8e=a5_0x273f();return a5_0xf017=function(_0xf01703,_0x6a7ba7){_0xf01703=_0xf01703-0x109;let _0x1b8b4d=_0x273f8e[_0xf01703];return _0x1b8b4d;},a5_0xf017(_0x56dc88,_0x7e7ebb);}function a5_0x273f(){const _0x26dfa6=['piEWZ','steps','../../helpers/testhub/testhubHandler','FRAMEWORKS','../../helpers/utilities','763499ooCHyu','bold','kpldi','\x20scenarios','green','7974946luHEoS','join','getHubUrl','KXSxf','removeDir','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','turboScaleUrl','finalExecution','lkBMQ','12987gLNYhi','1417932pCCpWm','stepsSkipped','accessibilityOptions','4pVtRgI','end','../../helpers/performance/constants','Vggoo','logLevel','yellow','stringify','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','tmp','bgWhite','errorMessage','skipSessionStatus','../../helpers/logger','EhFSX','558520HjGJvA','AKLaJ','bfmAv','HpRDL','getUserWorkerCount','setupTCGAuth','\x20skipped','log','TOBrD','format','cyan','start','useW3C','proxySettings','exports','debug','EVENTS','YJnIq','stepsPending','stepsUndefined','setUserConfigPath','scenariosFailed','true','../test-runner','sdJYT','1608blIUtD','length','\x20pending','stepsUnknown','splice','cwd','NGlQE','red','\x20undefined','scenarios','util','finally','error\x20removing\x20tcg\x20config\x20file','zlXFk','../../helpers/BrowserStackSetup','isUndefined','14145FDAXQA','unlinkSync','SDK_SETUP','then','\x20failed','MBkWG','iCNca','1575060RJFsoQ','push','../../helpers/performance/performance-tester','BROWSERSTACK_TEST_OBSERVABILITY_YML','QkAHe','env','getTCGConfigFilePaths','\x20ambiguous','QSVmL','22sHdOqW','parallelsPerPlatform','ClaLM','stepsPassed','prepareCapabilities','mergeOutputFiles','getPlatformName','\x20passed','NgeIR','SDK_CLEANUP','rmdirSync','launchBuild','framework','config','cucumber-js','aSkvi','CUCUMBER','LXSIH','stepsFailed','oTMqF','vebKV','Generating\x20consolidated\x20report...','45xNlCjm','../utils/constants','****\x20RESULTS\x20****','../../helpers/test-observability/utils','isBrowserstackInfra'];a5_0x273f=function(){return _0x26dfa6;};return a5_0x273f();}(function(_0x3089ac,_0x3df542){const _0x4e88c1=a5_0xf017,_0x50974c=_0x3089ac();while(!![]){try{const _0x4a98cb=-parseInt(_0x4e88c1(0x17f))/0x1+parseInt(_0x4e88c1(0x118))/0x2*(parseInt(_0x4e88c1(0x114))/0x3)+-parseInt(_0x4e88c1(0x115))/0x4+-parseInt(_0x4e88c1(0x14f))/0x5*(-parseInt(_0x4e88c1(0x13f))/0x6)+parseInt(_0x4e88c1(0x10b))/0x7+parseInt(_0x4e88c1(0x126))/0x8*(parseInt(_0x4e88c1(0x175))/0x9)+parseInt(_0x4e88c1(0x156))/0xa*(-parseInt(_0x4e88c1(0x15f))/0xb);if(_0x4a98cb===_0x3df542)break;else _0x50974c['push'](_0x50974c['shift']());}catch(_0x50e395){_0x50974c['push'](_0x50974c['shift']());}}}(a5_0x273f,0xc8bad));const fs=require('fs'),path=require('path'),util=require(a5_0x33727a(0x149)),logger=require(a5_0x33727a(0x124))['winstonLogger'],{default:BrowserStackSetup}=require(a5_0x33727a(0x14d)),helper=require('../../helpers/helper'),utilities=require(a5_0x33727a(0x17e)),constants=require(a5_0x33727a(0x176)),{parallelCucumberRun}=require(a5_0x33727a(0x13d)),TestHubHandler=require(a5_0x33727a(0x17c)),testOpsHelper=require(a5_0x33727a(0x178)),chalk=require('chalk'),PerformanceTester=require(a5_0x33727a(0x158)),PerformanceEvents=require(a5_0x33727a(0x11a))[a5_0x33727a(0x136)];function printCucumberStats(_0x151851){const _0xab3b1=a5_0x33727a,_0x2c7126={};_0x2c7126[_0xab3b1(0x14c)]=function(_0x228529,_0x36bca5){return _0x228529>_0x36bca5;},_0x2c7126[_0xab3b1(0x161)]=function(_0x1f7b26,_0x578385){return _0x1f7b26-_0x578385;},_0x2c7126[_0xab3b1(0x127)]=function(_0x3fe770,_0x5a21aa){return _0x3fe770>_0x5a21aa;},_0x2c7126['YJnIq']=function(_0x34f672,_0x5b7f16){return _0x34f672>_0x5b7f16;},_0x2c7126[_0xab3b1(0x13e)]=function(_0x21d342,_0x3b948f){return _0x21d342>_0x3b948f;},_0x2c7126[_0xab3b1(0x167)]=function(_0xf3d62f,_0x133101){return _0xf3d62f>_0x133101;},_0x2c7126[_0xab3b1(0x10e)]=function(_0x22c263,_0x48fde2){return _0x22c263+_0x48fde2;},_0x2c7126[_0xab3b1(0x173)]=function(_0x4711b2,_0x15701f){return _0x4711b2+_0x15701f;},_0x2c7126[_0xab3b1(0x15e)]=function(_0x440a19,_0x8de28d){return _0x440a19+_0x8de28d;},_0x2c7126[_0xab3b1(0x15a)]=function(_0x53ace3,_0x31b051){return _0x53ace3+_0x31b051;},_0x2c7126[_0xab3b1(0x181)]=function(_0x57e2e2,_0x520d16){return _0x57e2e2+_0x520d16;},_0x2c7126[_0xab3b1(0x113)]=function(_0x15e7ac,_0xa3d039){return _0x15e7ac+_0xa3d039;},_0x2c7126[_0xab3b1(0x154)]=function(_0x57a0af,_0x1f71d5){return _0x57a0af===_0x1f71d5;},_0x2c7126[_0xab3b1(0x12e)]=function(_0x226a89,_0x2061bb){return _0x226a89===_0x2061bb;},_0x2c7126[_0xab3b1(0x170)]=_0xab3b1(0x177);const _0x49140c=_0x2c7126;let _0x371957=0x0;if(_0x49140c[_0xab3b1(0x12e)](_0x151851[_0xab3b1(0x140)],0x0))return _0x371957;return console[_0xab3b1(0x12d)](chalk['bold'][_0xab3b1(0x121)](_0x49140c[_0xab3b1(0x170)])),_0x151851['forEach'](_0x36c5c4=>{const _0x28b6ec=_0xab3b1,_0x590815=_0x36c5c4[0x0],_0x2caf78=_0x36c5c4[0x1];console[_0x28b6ec(0x12d)]('\x0a'+chalk['bold'][_0x28b6ec(0x11d)](''+helper[_0x28b6ec(0x165)](_0x590815)));const _0x129285=_0x2caf78[_0x28b6ec(0x148)],_0x535623=_0x2caf78[_0x28b6ec(0x17b)],_0x4a8e26=_0x2caf78[_0x28b6ec(0x13b)],_0x20e3b9=_0x2caf78[_0x28b6ec(0x171)],_0x2a3fda=_0x2caf78[_0x28b6ec(0x162)],_0x28d164=_0x2caf78[_0x28b6ec(0x116)],_0x7e3f02=_0x2caf78[_0x28b6ec(0x138)],_0x4155d7=_0x2caf78[_0x28b6ec(0x139)],_0x2d1f07=_0x2caf78[_0x28b6ec(0x142)],_0xb4e411=_0x2caf78['stepsAmbiguous'],_0x362206=_0x2caf78['processSuccess'];let _0x25f213=_0x129285+_0x28b6ec(0x109);const _0x1c586f=_0x49140c['zlXFk'](_0x49140c[_0x28b6ec(0x161)](_0x129285,_0x4a8e26),0x0)?_0x49140c[_0x28b6ec(0x161)](_0x129285,_0x4a8e26):0x0;if(_0x49140c[_0x28b6ec(0x14c)](_0x4a8e26,0x0)&&_0x49140c[_0x28b6ec(0x14c)](_0x1c586f,0x0))_0x25f213+='\x20('+chalk[_0x28b6ec(0x180)][_0x28b6ec(0x146)](_0x4a8e26+_0x28b6ec(0x153))+',\x20'+chalk[_0x28b6ec(0x180)][_0x28b6ec(0x10a)](_0x1c586f+_0x28b6ec(0x166))+')';else(_0x49140c[_0x28b6ec(0x14c)](_0x4a8e26,0x0)||_0x49140c[_0x28b6ec(0x14c)](_0x1c586f,0x0))&&(_0x25f213+=_0x49140c[_0x28b6ec(0x14c)](_0x4a8e26,0x0)?'\x20('+chalk[_0x28b6ec(0x180)][_0x28b6ec(0x146)](_0x4a8e26+_0x28b6ec(0x153))+')':'\x20('+chalk[_0x28b6ec(0x180)]['green'](_0x1c586f+_0x28b6ec(0x166))+')');const _0x1a4773=_0x535623+'\x20steps',_0x4cedab=[];_0x49140c[_0x28b6ec(0x127)](_0xb4e411,0x0)&&_0x4cedab['push'](''+chalk['bold']['red'](_0xb4e411+_0x28b6ec(0x15d)));_0x49140c[_0x28b6ec(0x127)](_0x20e3b9,0x0)&&_0x4cedab[_0x28b6ec(0x157)](''+chalk[_0x28b6ec(0x180)][_0x28b6ec(0x146)](_0x20e3b9+_0x28b6ec(0x153)));_0x49140c[_0x28b6ec(0x137)](_0x2a3fda,0x0)&&_0x4cedab[_0x28b6ec(0x157)](''+chalk[_0x28b6ec(0x180)][_0x28b6ec(0x10a)](_0x2a3fda+_0x28b6ec(0x166)));_0x49140c[_0x28b6ec(0x13e)](_0x7e3f02,0x0)&&_0x4cedab[_0x28b6ec(0x157)](''+chalk[_0x28b6ec(0x180)]['yellow'](_0x7e3f02+_0x28b6ec(0x141)));_0x49140c[_0x28b6ec(0x14c)](_0x28d164,0x0)&&_0x4cedab[_0x28b6ec(0x157)](''+chalk[_0x28b6ec(0x180)][_0x28b6ec(0x130)](_0x28d164+'\x20skipped'));_0x49140c['NgeIR'](_0x4155d7,0x0)&&_0x4cedab[_0x28b6ec(0x157)](''+chalk[_0x28b6ec(0x180)][_0x28b6ec(0x11d)](_0x4155d7+_0x28b6ec(0x147)));_0x49140c[_0x28b6ec(0x167)](_0x2d1f07,0x0)&&_0x4cedab[_0x28b6ec(0x157)](''+chalk[_0x28b6ec(0x180)][_0x28b6ec(0x11d)](_0x2d1f07+_0x28b6ec(0x12c)));const _0x3994f1=_0x49140c[_0x28b6ec(0x10e)](_0x49140c[_0x28b6ec(0x10e)](_0x49140c[_0x28b6ec(0x173)](_0x1a4773,'('),_0x4cedab[_0x28b6ec(0x10c)](',\x20')),')');console[_0x28b6ec(0x12d)](_0x49140c[_0x28b6ec(0x15e)](_0x49140c[_0x28b6ec(0x15a)](_0x49140c[_0x28b6ec(0x181)](_0x49140c[_0x28b6ec(0x113)]('\x0a',_0x25f213),'\x0a'),_0x3994f1),'\x0a')),_0x49140c[_0x28b6ec(0x154)](_0x362206,![])&&(_0x371957=0x1);}),_0x371957;}async function run(_0x47f512,_0x1f1489){const _0x1f244b=a5_0x33727a,_0x2bb937={'MLhji':function(_0x51590d,_0x4012c4){return _0x51590d(_0x4012c4);},'iCNca':function(_0x19b7a8,_0x312e61){return _0x19b7a8>_0x312e61;},'NGlQE':_0x1f244b(0x174),'EhFSX':'Removing\x20tmp\x20directory\x20created\x20for\x20reports','piEWZ':'cucumber','Vggoo':_0x1f244b(0x14b),'aSkvi':_0x1f244b(0x16d),'hdhVz':_0x1f244b(0x120),'oTMqF':function(_0x4ca54b,_0x43f56c){return _0x4ca54b-_0x43f56c;},'bIlHa':function(_0x8b24a7,_0x57730b){return _0x8b24a7>=_0x57730b;},'sfIrC':function(_0x1a8427,_0x10ca86){return _0x1a8427!=_0x10ca86;},'HpRDL':_0x1f244b(0x13c),'bfmAv':function(_0x50f07f,_0x3b6c2e,_0x2f562d,_0x41105b,_0x103cd6,_0xb3c1a6){return _0x50f07f(_0x3b6c2e,_0x2f562d,_0x41105b,_0x103cd6,_0xb3c1a6);}},_0x45de50=new BrowserStackSetup(_0x47f512,_0x2bb937[_0x1f244b(0x16e)]);await _0x45de50['initialize'](),helper[_0x1f244b(0x13a)](_0x45de50[_0x1f244b(0x16b)],_0x47f512);!helper[_0x1f244b(0x179)]()&&await _0x45de50[_0x1f244b(0x12b)]();await helper['handleApp'](_0x45de50['config']);const _0x5a08a6=helper[_0x1f244b(0x132)](_0x45de50[_0x1f244b(0x16c)]),_0x69731a=helper[_0x1f244b(0x163)](_0x45de50[_0x1f244b(0x16c)],_0x5a08a6,constants[_0x1f244b(0x17d)][_0x1f244b(0x16f)]);if(!_0x45de50[_0x1f244b(0x16c)])return;const _0x5f00c4=_0x45de50[_0x1f244b(0x16c)][_0x1f244b(0x160)]||helper[_0x1f244b(0x12a)](_0x47f512,_0x1f1489,_0x45de50[_0x1f244b(0x16c)],constants['FRAMEWORKS'][_0x1f244b(0x16f)])||0x1,_0xa2a287={'server':helper[_0x1f244b(0x10d)](_0x45de50['config']),'proxySettings':_0x45de50['config'][_0x1f244b(0x133)],'maxWorkers':_0x5f00c4,'browserStackLogLevel':_0x45de50['config'][_0x1f244b(0x11c)],'skipSessionName':_0x45de50[_0x1f244b(0x16c)]['testContextOptions']['skipSessionName'],'skipSessionStatus':_0x45de50[_0x1f244b(0x16c)]['testContextOptions'][_0x1f244b(0x123)],'turboScaleUrl':_0x45de50[_0x1f244b(0x16c)][_0x1f244b(0x111)]},_0x542aed=process['argv'],[_0x4aae3f,_0x5a241f]=helper['parseFormatters'](_0x542aed),_0xae088e=path[_0x1f244b(0x10c)](process[_0x1f244b(0x144)](),_0x2bb937['hdhVz']);if(_0x2bb937['iCNca'](_0x5a241f[_0x1f244b(0x140)],0x0)){helper['createDir'](_0xae088e);for(let _0x297139=_0x2bb937[_0x1f244b(0x172)](_0x4aae3f[_0x1f244b(0x140)],0x1);_0x2bb937['bIlHa'](_0x297139,0x0);_0x297139--){_0x542aed[_0x1f244b(0x143)](_0x4aae3f[_0x297139],0x2);}}!helper[_0x1f244b(0x14e)](_0x45de50[_0x1f244b(0x16c)][_0x1f244b(0x117)])&&(process[_0x1f244b(0x15b)][_0x1f244b(0x11f)]=JSON[_0x1f244b(0x11e)](_0x45de50[_0x1f244b(0x16c)][_0x1f244b(0x117)]));_0x2bb937['sfIrC'](_0x45de50['config']['testObservability'],null)?process[_0x1f244b(0x15b)][_0x1f244b(0x159)]=_0x45de50[_0x1f244b(0x16c)]['testObservability']:process[_0x1f244b(0x15b)][_0x1f244b(0x159)]=_0x2bb937[_0x1f244b(0x129)];const _0x3ed355=await TestHubHandler[_0x1f244b(0x16a)](constants['FRAMEWORKS'][_0x1f244b(0x16f)],_0x45de50);PerformanceTester[_0x1f244b(0x119)](PerformanceEvents[_0x1f244b(0x151)]);let _0x1052dd;_0x2bb937[_0x1f244b(0x128)](parallelCucumberRun,_0x69731a,_0xa2a287,_0x45de50[_0x1f244b(0x16c)],_0x542aed,_0x5a241f)[_0x1f244b(0x152)](async _0x2a6c4b=>{const _0x7953f8=_0x1f244b;PerformanceTester['start'](PerformanceEvents[_0x7953f8(0x168)]),_0x1052dd=_0x2a6c4b;const _0x215c7a=_0x2bb937['MLhji'](printCucumberStats,_0x2a6c4b);process['exitCode']=_0x215c7a,_0x2bb937[_0x7953f8(0x155)](_0x5a241f['length'],0x0)&&(logger[_0x7953f8(0x135)](_0x2bb937[_0x7953f8(0x145)]),helper[_0x7953f8(0x164)](_0xae088e,_0x5a241f),logger[_0x7953f8(0x135)](_0x2bb937[_0x7953f8(0x125)]),helper[_0x7953f8(0x10f)](_0xae088e));})[_0x1f244b(0x14a)](async()=>{const _0x4c43a1=_0x1f244b;PerformanceTester[_0x4c43a1(0x131)](PerformanceEvents['SDK_CLEANUP']),_0x45de50[_0x4c43a1(0x122)]=helper['getErrorMessageFromResults'](_0x1052dd,_0x2bb937[_0x4c43a1(0x17a)]),testOpsHelper['printBuildLink']();try{await TestHubHandler['stop']();}catch(_0xcecd6d){logger['debug'](_0x4c43a1(0x110)+util[_0x4c43a1(0x12f)](_0xcecd6d));}try{const {browserstackFolderPath:_0x530eab,tcgConfigPath:_0x5298d0}=helper[_0x4c43a1(0x15c)]();fs[_0x4c43a1(0x150)](_0x5298d0),fs[_0x4c43a1(0x169)](_0x530eab);}catch(_0x4eb8cd){logger[_0x4c43a1(0x135)](_0x2bb937[_0x4c43a1(0x11b)],_0x4eb8cd);}await utilities[_0x4c43a1(0x112)](_0x45de50);});}module[a5_0x33727a(0x134)]=run;
|