browserstack-node-sdk 1.53.2 → 1.53.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +6 -4
- package/src/ai-sdk-node/bundle.js +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customSequencer.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test.setup.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/load/index.js +1 -1
- package/src/bin/load/loadUtils.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/builderPatch.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/puppeteer/patches.js +1 -1
- package/src/bin/puppeteer/sessionDetails.js +1 -1
- package/src/bin/puppeteer/test.setup.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/apiUtilityMethods.js +1 -1
- package/src/bin/utils/clientTroubleshootingService.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/utils/playwright-patcher.js +1 -1
- package/src/bin/utils/puppeteer-patcher.js +1 -1
- package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
- package/src/bin/utils/sharedUtils.js +1 -1
- package/src/bin/v2/TestInfo.js +1 -1
- package/src/bin/v2/browserstackCLI.js +1 -1
- package/src/bin/v2/cliUtils.js +1 -1
- package/src/bin/v2/customTagManager.js +1 -1
- package/src/bin/v2/eventDispatcher.js +1 -1
- package/src/bin/v2/framework/automationFramework.js +1 -1
- package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
- package/src/bin/v2/framework/jestTestFramework.js +1 -1
- package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
- package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
- package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
- package/src/bin/v2/framework/testFramework.js +1 -1
- package/src/bin/v2/grpcClient.js +1 -1
- package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/trackedContext.js +1 -1
- package/src/bin/v2/instances/trackedInstance.js +1 -1
- package/src/bin/v2/modules/accessibilityModule.js +1 -1
- package/src/bin/v2/modules/baseModule.js +1 -1
- package/src/bin/v2/modules/loadTestModule.js +1 -1
- package/src/bin/v2/modules/observabilityModule.js +1 -1
- package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
- package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
- package/src/bin/v2/modules/testhubModule.js +1 -1
- package/src/bin/v2/state/automationFrameworkState.js +1 -1
- package/src/bin/v2/state/hookState.js +1 -1
- package/src/bin/v2/state/testFrameworkState.js +1 -1
- package/src/bin/v2/uploadAttachmentsManager.js +1 -1
- package/src/bin/v2/utils/cucumber-utils.js +1 -1
- package/src/bin/v2/utils/jest-utils.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/accessibilityRetryHelper.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
- package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/central-scanner/constants.js +1 -1
- package/src/helpers/central-scanner/helpers.js +1 -1
- package/src/helpers/classLogger.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/metadata.js +1 -1
- package/src/helpers/patchHelper.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance/constants.js +1 -1
- package/src/helpers/performance/performance-tester.js +1 -1
- package/src/helpers/playwright-helper.js +1 -1
- package/src/helpers/processHelper.js +1 -1
- package/src/helpers/puppeteer-helper.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/test-orchestration/constants.js +1 -1
- package/src/helpers/test-orchestration/failfastManager.js +1 -1
- package/src/helpers/test-orchestration/fileHelper.js +1 -1
- package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
- package/src/helpers/test-orchestration/requestUtils.js +1 -1
- package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
- package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
- package/src/helpers/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/timeoutPromise.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const a1_0xdbfd30=a1_0xed48;(function(_0xe1712a,_0x592a05){const _0x46da0c=a1_0xed48,_0x166910=_0xe1712a();while(!![]){try{const _0x8b4578=parseInt(_0x46da0c(0x182))/0x1+parseInt(_0x46da0c(0x17e))/0x2+-parseInt(_0x46da0c(0x20f))/0x3*(-parseInt(_0x46da0c(0x1e2))/0x4)+-parseInt(_0x46da0c(0x16f))/0x5*(parseInt(_0x46da0c(0x19d))/0x6)+-parseInt(_0x46da0c(0x1e3))/0x7+parseInt(_0x46da0c(0x178))/0x8*(parseInt(_0x46da0c(0x1c8))/0x9)+-parseInt(_0x46da0c(0x181))/0xa;if(_0x8b4578===_0x592a05)break;else _0x166910['push'](_0x166910['shift']());}catch(_0x675029){_0x166910['push'](_0x166910['shift']());}}}(a1_0x1f98,0x81719));const fs=require('fs'),util=require(a1_0xdbfd30(0x24b)),{requireModule,markSessionStatus,isUndefined,isTrue,isBrowserstackInfra}=require(a1_0xdbfd30(0x17b)),logger=require(a1_0xdbfd30(0x1d0))[a1_0xdbfd30(0x1fc)],testOpsHelper=require(a1_0xdbfd30(0x18c)),requestSpy=require(a1_0xdbfd30(0x1bf)),PlaywrightSessionDetails=require(a1_0xdbfd30(0x241)),{O11yHelper,TEST_EVENTS,STATE_PASSED,STATE_FAILED}=require('./o11yHelper'),{shouldScanTestForAccessibility,isAccessibilityAutomationSession}=require('../../helpers/accessibility-automation/helper'),AccessibilityHelper=require('../../bin/playwright/accessibility-helper'),scripts=require(a1_0xdbfd30(0x205)),PerformanceTester=require(a1_0xdbfd30(0x232)),{EVENTS:PerformanceEvents,AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceHookEvents}=require(a1_0xdbfd30(0x21e)),{processWebDriverConfig,shouldPatchExecuteScript}=require('./helper.js'),testHubConstants=require('../../helpers/testhub/constants.js'),globals=require('../../helpers/globals.js'),CodeceptJS=requireModule(a1_0xdbfd30(0x255),'codeceptjs'),CodeceptUtils=requireModule(a1_0xdbfd30(0x16a),a1_0xdbfd30(0x183)),CodeceptWebDriver=requireModule(a1_0xdbfd30(0x17a),a1_0xdbfd30(0x183)),CodeceptRecorder=requireModule(a1_0xdbfd30(0x1c9),a1_0xdbfd30(0x183)),CodeceptPlaywright=requireModule(a1_0xdbfd30(0x1a9),a1_0xdbfd30(0x183)),playwrightMarkSessionStatus=(_0x164401,_0x521b6e,_0xc04f3d)=>{const _0x163d66=a1_0xdbfd30,_0xf1298={'QOBoO':'setSessionStatus','QOHNi':function(_0x4afcae,_0xeed5b4){return _0x4afcae(_0xeed5b4);}},_0x3bb366={};_0x3bb366['status']=_0x521b6e;const _0x8ef262={};_0x8ef262[_0x163d66(0x1f5)]=_0xf1298[_0x163d66(0x1c4)],_0x8ef262[_0x163d66(0x243)]=_0x3bb366;const _0x5858ac=_0x8ef262;return!_0xf1298[_0x163d66(0x19a)](isUndefined,_0xc04f3d)&&(_0x5858ac[_0x163d66(0x243)][_0x163d66(0x204)]=JSON[_0x163d66(0x1c2)](_0xc04f3d)),_0x164401['executeScript'](()=>{},_0x163d66(0x256)+JSON[_0x163d66(0x1c2)](_0x5858ac));},o11ySync=PerformanceTester[a1_0xdbfd30(0x1e8)](PerformanceO11yEvents[a1_0xdbfd30(0x220)],async _0x11f9f7=>{const _0x2de0ee=a1_0xdbfd30,_0x267fe5={};_0x267fe5['bGivu']=function(_0x10749a,_0x56e1fc){return _0x10749a===_0x56e1fc;},_0x267fe5[_0x2de0ee(0x1af)]='Playwright';const _0x59742f=_0x267fe5;_0x59742f[_0x2de0ee(0x1dd)](_0x11f9f7[_0x2de0ee(0x25b)]['name'],_0x59742f[_0x2de0ee(0x1af)])?await _0x11f9f7['executeScript'](_0xca3316=>{},testOpsHelper[_0x2de0ee(0x221)]()):await _0x11f9f7[_0x2de0ee(0x1ea)](testOpsHelper[_0x2de0ee(0x221)]());}),markSessionName=PerformanceTester[a1_0xdbfd30(0x1e8)](PerformanceAutEvents[a1_0xdbfd30(0x22f)],async(_0x375ae1,_0x5a4b3f)=>{const _0x2fc8d1=a1_0xdbfd30,_0xe41af9={};_0xe41af9[_0x2fc8d1(0x196)]='setSessionName',_0xe41af9[_0x2fc8d1(0x1eb)]=function(_0x131548,_0x2e97d7){return _0x131548===_0x2e97d7;},_0xe41af9['LuHfq']='Playwright';const _0xe13363=_0xe41af9,_0x12d48b={};_0x12d48b[_0x2fc8d1(0x171)]=_0x5a4b3f;const _0x1c2b73={};_0x1c2b73[_0x2fc8d1(0x1f5)]=_0xe13363[_0x2fc8d1(0x196)],_0x1c2b73[_0x2fc8d1(0x243)]=_0x12d48b;const _0x5e6499=_0x1c2b73;_0xe13363[_0x2fc8d1(0x1eb)](_0x375ae1[_0x2fc8d1(0x25b)]['name'],_0xe13363[_0x2fc8d1(0x219)])?await _0x375ae1['executeScript'](()=>{},_0x2fc8d1(0x256)+JSON['stringify'](_0x5e6499)):await _0x375ae1['executeScript'](_0x2fc8d1(0x256)+JSON['stringify'](_0x5e6499));}),patchSaveScreenshot=_0x86a773=>{const _0x36ab6=a1_0xdbfd30,_0x3033c5={'ZanTU':_0x36ab6(0x1b1),'jBFLc':_0x36ab6(0x21c),'kXXmQ':function(_0x5a340c){return _0x5a340c();},'YZjOg':function(_0xb03f62,_0x3587b6){return _0xb03f62(_0x3587b6);},'RdcvO':_0x36ab6(0x1e9)};_0x3033c5[_0x36ab6(0x1cc)](isTrue,process['env'][_0x36ab6(0x1b7)])&&!_0x86a773[_0x36ab6(0x245)]&&(_0x86a773[_0x36ab6(0x245)]=!![],_0x86a773['initSaveScreenshot']=_0x86a773[_0x36ab6(0x246)],_0x86a773['saveScreenshot']=(_0xe1a664,_0x1dc9e3=![])=>{return new Promise(function(_0x7711cd,_0x1e3d80){const _0x36d8d7=a1_0xed48,_0x43e36e={'NpbsO':_0x3033c5[_0x36d8d7(0x250)],'sPSpk':_0x3033c5[_0x36d8d7(0x210)],'qXSua':function(_0x326b5e){const _0x41fd92=_0x36d8d7;return _0x3033c5[_0x41fd92(0x1dc)](_0x326b5e);},'wRQgK':function(_0x2d5f24,_0x540c95){const _0x3eca83=_0x36d8d7;return _0x3033c5[_0x3eca83(0x1cc)](_0x2d5f24,_0x540c95);},'cgLcF':_0x3033c5['RdcvO']};_0x86a773['initSaveScreenshot'](_0xe1a664,_0x1dc9e3)[_0x36d8d7(0x1ed)](()=>{const _0x1515b5=_0x36d8d7,_0x26794a=CodeceptUtils[_0x1515b5(0x186)](_0xe1a664);if(_0x26794a){const _0x5efccd=fs[_0x1515b5(0x19b)](_0x26794a);process['emit'](_0x1515b5(0x18b)+process[_0x1515b5(0x257)],{'timestamp':new Date()['toISOString'](),'message':_0x5efccd[_0x1515b5(0x1a1)](_0x43e36e[_0x1515b5(0x207)]),'kind':_0x43e36e[_0x1515b5(0x1e4)]}),_0x43e36e[_0x1515b5(0x16d)](_0x7711cd);}_0x43e36e['wRQgK'](_0x1e3d80,new Error(_0x43e36e[_0x1515b5(0x236)]));})[_0x36d8d7(0x24a)](()=>null);});});},patchWebDriverBefore=_0x351a92=>{const _0x469e6d=a1_0xdbfd30,_0x4dfb55={'uLUod':function(_0x10b38b){return _0x10b38b();},'AhOCx':function(_0x2a3fe1,_0x1560ab){return _0x2a3fe1(_0x1560ab);},'XRivY':function(_0x5610ff,_0x511904){return _0x5610ff===_0x511904;},'FBTAe':_0x469e6d(0x226),'HWjRE':'string','FyGer':_0x469e6d(0x231)},_0x3397c1=async function(_0x468bcf,_0x358b58){const _0x1ded9f=_0x469e6d;_0x4dfb55[_0x1ded9f(0x1ba)](isAccessibilityAutomationSession)&&!global[_0x1ded9f(0x23e)]&&global[_0x1ded9f(0x188)]&&scripts[_0x1ded9f(0x238)](_0x468bcf['name'])&&_0x4dfb55['AhOCx'](shouldPatchExecuteScript,arguments[0x2])&&(global[_0x1ded9f(0x23e)]=!![],await PerformanceTester[_0x1ded9f(0x1e8)](PerformanceA11yEvents[_0x1ded9f(0x1c1)],async()=>{const _0x445fae=_0x1ded9f;logger[_0x445fae(0x20c)](_0x445fae(0x1d5)+_0x468bcf[_0x445fae(0x225)]+'\x20'+_0x468bcf[_0x445fae(0x171)]),await AccessibilityHelper[_0x445fae(0x199)](_0x351a92,scripts[_0x445fae(0x1b5)]);},{'command':_0x468bcf[_0x1ded9f(0x171)]})());global[_0x1ded9f(0x23e)]=![];const _0x314631=JSON[_0x1ded9f(0x1ac)](process[_0x1ded9f(0x1bb)]['FRAMEWORK_DETAILS']||'{}');if(_0x4dfb55[_0x1ded9f(0x17f)](_0x314631?.['testFramework']?.[_0x1ded9f(0x171)],_0x4dfb55[_0x1ded9f(0x16b)])&&_0x4dfb55[_0x1ded9f(0x17f)](typeof _0x314631?.['testFramework']?.[_0x1ded9f(0x203)],_0x4dfb55['HWjRE'])&&_0x314631?.[_0x1ded9f(0x202)]?.[_0x1ded9f(0x203)][_0x1ded9f(0x18d)]('7'))return _0x358b58['apply'](null,Array[_0x1ded9f(0x222)]['slice'][_0x1ded9f(0x18a)](arguments,0x2));return _0x358b58[_0x1ded9f(0x20b)](this,Array[_0x1ded9f(0x222)][_0x1ded9f(0x1e6)][_0x1ded9f(0x18a)](arguments,0x2));},_0x48399f=CodeceptWebDriver[_0x469e6d(0x222)][_0x469e6d(0x227)];CodeceptWebDriver[_0x469e6d(0x222)][_0x469e6d(0x227)]=async function(){const _0xf816d0=_0x469e6d;try{await _0x48399f[_0xf816d0(0x20b)](this,arguments);}catch(_0x164588){logger[_0xf816d0(0x20c)](_0xf816d0(0x18e)+util[_0xf816d0(0x1f9)](_0x164588));}scripts['commandsToWrap']['filter'](_0x494fc8=>_0x494fc8[_0xf816d0(0x171)]&&_0x494fc8[_0xf816d0(0x225)])[_0xf816d0(0x239)](_0x500825=>{const _0x35c723=_0xf816d0;this['browser'][_0x35c723(0x1d9)](_0x500825[_0x35c723(0x171)],_0x3397c1[_0x35c723(0x251)](this,_0x500825),_0x4dfb55[_0x35c723(0x17f)](_0x500825['class'],_0x4dfb55[_0x35c723(0x25f)]));}),_0x4dfb55[_0xf816d0(0x1cf)](processWebDriverConfig,_0x351a92);};};function a1_0xed48(_0xbc9d06,_0x1595fa){const _0x1f988a=a1_0x1f98();return a1_0xed48=function(_0xed48aa,_0x2380c0){_0xed48aa=_0xed48aa-0x16a;let _0x11654b=_0x1f988a[_0xed48aa];return _0x11654b;},a1_0xed48(_0xbc9d06,_0x1595fa);}function parseJwt(_0x3238e1){const _0x421f2a=a1_0xdbfd30,_0x4c3d96={};_0x4c3d96[_0x421f2a(0x1d8)]=_0x421f2a(0x1b1);const _0x4eae9e=_0x4c3d96;if(!_0x3238e1)return null;return JSON[_0x421f2a(0x1ac)](Buffer[_0x421f2a(0x1d4)](_0x3238e1[_0x421f2a(0x24f)]('.')[0x1],_0x4eae9e[_0x421f2a(0x1d8)])[_0x421f2a(0x1a1)]());}function a1_0x1f98(){const _0x36af6d=['testFramework','version','reason','../../helpers/accessibility-automation/scripts','captureEvent','NpbsO','end','UBMTS','LRsAp','apply','debug','getResultsSummary','TEST_LOG','9lHpfNl','jBFLc','ZNqVe','xJPWq','FFtUa','ctx','INFO','saveTestResults','isArray','thJwtToken','LuHfq','GkpUK','stack','TEST_SCREENSHOT','getAccessibilityResults','../../helpers/performance/constants','elmFv','SYNC','getSyncScript','prototype','warn','captureError','class','webdriverio','_before','--auto-open-devtools-for-tabs','hookType','kZfFv','kreqR','tGOwO','test','restore','SESSION_NAME','TEST_RUN_FINISHED','Element','../../helpers/performance/performance-tester','test-after','passed','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','cgLcF','Vrfxp','shouldWrapCommand','forEach','event','before','fJbhH','startMonitoring','bstackAllyScanning','is_mobile_session','hook-started','../../bin/playwright/sessionDetails','WebDriver','arguments','browserContext','patchSaveScreenshot','saveScreenshot','Playwright','BROWSERSTACK_TESTHUB_JWT','info','catch','util','GET_RESULTS','getAccessibilityResultsSummary','ALsjx','split','ZanTU','bind','HOOK_RUN_STARTED','title','bddStepStart','codeceptjs/lib/index.js','browserstack_executor:\x20','pid','vFuEp','domForge','ZkpsZ','constructor','MJXdz','SDK_TEST','VUFYP','FyGer','codeceptjs/lib/utils.js','FBTAe','bddStepFinish','qXSua','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20summary.','4353300gXBCws','_setPage','name','JlPkO','LgWuj','YbbvS','RlciY','Failed\x20to\x20patch\x20pages\x20method\x20in\x20browserContext\x20for\x20a11y\x20domForge:\x20','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','136YkPzBg','hook-failed','codeceptjs/lib/helper/WebDriver.js','../../helpers/helper','step','getGlobal','639122QbXBTG','XRivY','vKZho','3901220bbRgWU','353113XJMsSa','codeceptjs','afterTest','skipSessionStatus','screenshotOutputFolder','command','accessibilityPlatform','vFWdX','call','bs:addLog:','../../helpers/test-observability/utils','startsWith','Failed\x20to\x20execute\x20_before:\x20','container','toISOString','bddStep-before','fireEvent','TestCafe','dwThh','bgVHc','utkHC','SDK_HOOK','thBuildUuid','browserStackExecuteDriver','QOHNi','readFileSync','titlePath','6aABkJu','SlXMK','push','Puppeteer','toString','args','__driver','failed','after','a11y_core_config','URpqr','stop','codeceptjs/lib/helper/Playwright.js','devtools://','start','parse','bHRZr','url','IwRgN','page','base64','SDK_POST_INITIALIZE','helpers','getResults','performScan','pages','BS_TESTOPS_ALLOW_SCREENSHOTS','test-before','config','uLUod','env','bddStep','bddStep-after','uiNGG','../../helpers/request-spy','add','PERFORM_SCAN','stringify','aJgav','QOBoO','HOOK_RUN_FINISHED','BROWSERSTACK_TESTHUB_UUID','BOyBI','478908lXDkdF','codeceptjs/lib/recorder.js','ENV_VAR','qJbKt','YZjOg','isMobilePlatform','TEST_RUN_STARTED','AhOCx','../../helpers/logger','setGlobal','Failed\x20in\x20sending\x20TestRunFinish\x20event:\x20','BS_A11Y_JWT','from','Performing\x20scan\x20for\x20','qqASd','emit','FUEWh','overwriteCommand','DBern','ddrMY','kXXmQ','bGivu','HVFjB','ibyvl','rEEAX','SESSION_STATUS','851212BZhdbN','2972928AfcBvk','sPSpk','SAVE_RESULTS','slice','SDK_PRE_TEST','measureWrapper','Screenshot\x20path\x20not\x20found','executeScript','yiCNC','KzglC','then','INijE','includes','chromium','__skipSessionStatus','step-comment','ketLZ','TEST_RUN_SKIPPED','action','hook','dispatcher','gphik','format','WinKE','contexts','winstonLogger','UXZwY','thTestRunUuid','all','HUPxM','started'];a1_0x1f98=function(){return _0x36af6d;};return a1_0x1f98();}const patchPlaywrightBefore=()=>{const _0x47177f=a1_0xdbfd30,_0x41b60f={'RlciY':_0x47177f(0x228),'LgWuj':function(_0x3d8952){return _0x3d8952();},'lZhYw':function(_0x36c43f,_0x2b07e4){return _0x36c43f(_0x2b07e4);},'EoaQX':function(_0x9626d){return _0x9626d();},'kZfFv':_0x47177f(0x1aa),'MJXdz':function(_0x25b9b9,_0x64278f){return _0x25b9b9+_0x64278f;},'ZNqVe':'\x0aStack:\x20','INijE':function(_0x7c4032){return _0x7c4032();},'bgVHc':function(_0x50d167){return _0x50d167();},'qJbKt':function(_0x1d09f3){return _0x1d09f3();}};PlaywrightSessionDetails['patch']();const _0x4f3e9a=CodeceptPlaywright[_0x47177f(0x222)][_0x47177f(0x227)];CodeceptPlaywright['prototype'][_0x47177f(0x227)]=async function(){const _0x3bcea8=_0x47177f,_0x34d329={'URpqr':function(_0x595272){const _0x380414=a1_0xed48;return _0x41b60f[_0x380414(0x1ee)](_0x595272);},'JlPkO':_0x41b60f[_0x3bcea8(0x22a)]};this[_0x3bcea8(0x244)]=await this['browser'][_0x3bcea8(0x1fb)]()[0x0];const _0x411c8f=async()=>{const _0x24b00f=_0x3bcea8,_0x476ee2=this[_0x24b00f(0x1b9)]&&this[_0x24b00f(0x1b9)][_0x24b00f(0x1f0)]&&this[_0x24b00f(0x1b9)][_0x24b00f(0x1f0)][_0x24b00f(0x1a2)]&&Array[_0x24b00f(0x217)](this['config'][_0x24b00f(0x1f0)][_0x24b00f(0x1a2)])&&this[_0x24b00f(0x1b9)][_0x24b00f(0x1f0)][_0x24b00f(0x1a2)][_0x24b00f(0x1ef)](_0x41b60f[_0x24b00f(0x175)]);if(_0x41b60f[_0x24b00f(0x173)](isAccessibilityAutomationSession)&&!_0x476ee2)try{const _0x116121=_0x41b60f['lZhYw'](parseJwt,process[_0x24b00f(0x1bb)][_0x24b00f(0x1d3)]);if(_0x116121&&_0x116121[_0x24b00f(0x1a6)]&&_0x116121[_0x24b00f(0x1a6)][_0x24b00f(0x259)]){const _0xf6b52f=this[_0x24b00f(0x244)][_0x24b00f(0x1b6)][_0x24b00f(0x251)](this[_0x24b00f(0x244)]);this['browserContext'][_0x24b00f(0x1b6)]=async function(){const _0x2dd59c=_0x24b00f,_0x4fee71=await _0x34d329[_0x2dd59c(0x1a7)](_0xf6b52f),_0x1e1701=[];for(const _0x195367 of _0x4fee71){try{const _0x69afc7=await _0x195367[_0x2dd59c(0x1ae)]();!_0x69afc7['startsWith'](_0x34d329[_0x2dd59c(0x172)])&&_0x1e1701[_0x2dd59c(0x19f)](_0x195367);}catch(_0x647bc){_0x1e1701['push'](_0x195367);}}return _0x1e1701;};}if(!_0x41b60f['EoaQX'](isBrowserstackInfra)){const _0x3be32d=await this[_0x24b00f(0x1b0)]['url']();if(_0x3be32d[_0x24b00f(0x18d)](_0x41b60f[_0x24b00f(0x22a)])){const _0x4e2d1e=await this[_0x24b00f(0x244)][_0x24b00f(0x1b6)]();this[_0x24b00f(0x170)](_0x4e2d1e[0x0]);}}}catch(_0xebd56c){logger[_0x24b00f(0x20c)](_0x24b00f(0x176)+_0xebd56c['message']+(_0xebd56c[_0x24b00f(0x21b)]?_0x41b60f[_0x24b00f(0x25c)](_0x41b60f[_0x24b00f(0x211)],_0xebd56c['stack']):''));}};_0x41b60f[_0x3bcea8(0x195)](isBrowserstackInfra)&&await _0x41b60f[_0x3bcea8(0x1cb)](_0x411c8f),await _0x4f3e9a[_0x3bcea8(0x20b)](this,arguments),!_0x41b60f['bgVHc'](isBrowserstackInfra)&&await _0x41b60f[_0x3bcea8(0x195)](_0x411c8f);};},getCodeceptDriver=()=>{const _0x2d4f0d=a1_0xdbfd30,_0xf217c6={};_0xf217c6['ALsjx']=_0x2d4f0d(0x242),_0xf217c6[_0x2d4f0d(0x22b)]=_0x2d4f0d(0x247),_0xf217c6[_0x2d4f0d(0x1da)]=_0x2d4f0d(0x1a0),_0xf217c6['yfNMU']=_0x2d4f0d(0x193);const _0x1f61cc=_0xf217c6,_0x10ce40=[_0x1f61cc[_0x2d4f0d(0x24e)],_0x1f61cc[_0x2d4f0d(0x22b)],_0x1f61cc[_0x2d4f0d(0x1da)],_0x1f61cc['yfNMU']],_0x347be5=_0x10ce40['find'](_0x251205=>!!CodeceptJS['container'][_0x2d4f0d(0x1b3)](_0x251205));if(!_0x347be5)return null;return CodeceptJS[_0x2d4f0d(0x18f)][_0x2d4f0d(0x1b3)](_0x347be5);};module['exports']=function(_0x533147){const _0x720398=a1_0xdbfd30,_0x236776={'Vrfxp':function(_0x53203e){return _0x53203e();},'RjndM':function(_0x161a32,_0x3fe67e){return _0x161a32(_0x3fe67e);},'YbbvS':'getAccessibilityResultsSummary','vKZho':_0x720398(0x16e),'vFWdX':'getAccessibilityResults','ibyvl':_0x720398(0x177),'Oqwch':function(_0x3f4638,_0x1ccf36){return _0x3f4638(_0x1ccf36);},'HVFjB':_0x720398(0x240),'SlXMK':'hook-passed','UBMTS':_0x720398(0x179),'LRsAp':'browserstackTestName','ddrMY':function(_0x873eb4){return _0x873eb4();},'tGOwO':_0x720398(0x1b8),'FFtUa':function(_0x4efdd7){return _0x4efdd7();},'GGNch':function(_0x4d16e2,_0x1d5f5c){return _0x4d16e2(_0x1d5f5c);},'vFuEp':function(_0xf8eb88,_0x18066d,_0x32b545){return _0xf8eb88(_0x18066d,_0x32b545);},'dwThh':'test-started','uiNGG':function(_0x19e177,_0x30e4bd,_0x25cfe2){return _0x19e177(_0x30e4bd,_0x25cfe2);},'qqASd':'test-passed','bHRZr':function(_0x5ec9ff,_0x258037,_0x529743,_0x2b795d){return _0x5ec9ff(_0x258037,_0x529743,_0x2b795d);},'KzglC':function(_0x1f48a5,_0x16d95b){return _0x1f48a5===_0x16d95b;},'gphik':'Suite','UXZwY':'test-failed','BOyBI':'test-skipped','WinKE':_0x720398(0x184),'GkpUK':_0x720398(0x1cd),'ketLZ':_0x720398(0x235),'GjpXc':_0x720398(0x233),'ZkpsZ':_0x720398(0x215),'elmFv':_0x720398(0x20e),'rEEAX':_0x720398(0x1f2),'fJbhH':_0x720398(0x191),'VUFYP':_0x720398(0x1bd),'XsMDI':_0x720398(0x247)};_0x533147[_0x720398(0x185)]&&(global[_0x720398(0x1f1)]=_0x533147[_0x720398(0x185)]);PerformanceTester[_0x720398(0x23d)]();const _0x3c40aa=_0x236776[_0x720398(0x213)](getCodeceptDriver),_0x272c9a=new O11yHelper(_0x3c40aa,_0x533147),_0x481616=!!CodeceptJS['container']['helpers'](_0x236776['XsMDI']);global[_0x720398(0x1a3)]=_0x3c40aa,_0x3c40aa&&(PerformanceTester[_0x720398(0x1e8)](PerformanceEvents['SDK_PRE_INITIALIZE'],()=>{const _0x4f40bd=_0x720398;_0x481616?_0x236776[_0x4f40bd(0x237)](patchPlaywrightBefore):_0x236776['RjndM'](patchWebDriverBefore,_0x3c40aa);})(),PerformanceTester[_0x720398(0x1e8)](PerformanceEvents[_0x720398(0x1b2)],()=>{const _0x385b86=_0x720398;_0x3c40aa[_0x385b86(0x24d)]=async()=>{const _0x4b3b7f=_0x385b86;if(global[_0x4b3b7f(0x188)]){const _0x426d35={};return _0x426d35[_0x4b3b7f(0x187)]=_0x236776[_0x4b3b7f(0x174)],await PerformanceTester[_0x4b3b7f(0x1e8)](PerformanceA11yEvents[_0x4b3b7f(0x1c1)],async()=>{const _0x1b8e21=_0x4b3b7f;return await AccessibilityHelper[_0x1b8e21(0x199)](_0x3c40aa,scripts[_0x1b8e21(0x1b5)]);},_0x426d35)(),await PerformanceTester[_0x4b3b7f(0x1e8)](PerformanceA11yEvents['GET_RESULTS_SUMMARY'],async()=>{const _0xd41e24=_0x4b3b7f;return await AccessibilityHelper['browserStackExecuteDriver'](_0x3c40aa,scripts[_0xd41e24(0x20d)]);})();}return logger[_0x4b3b7f(0x223)](_0x236776[_0x4b3b7f(0x180)]),{};},_0x3c40aa[_0x385b86(0x21d)]=async()=>{const _0x39bbce=_0x385b86;if(global['accessibilityPlatform']){const _0x5b2006={};return _0x5b2006[_0x39bbce(0x187)]=_0x236776[_0x39bbce(0x189)],await PerformanceTester['measureWrapper'](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x2c3a92=_0x39bbce;return await AccessibilityHelper['browserStackExecuteDriver'](_0x3c40aa,scripts[_0x2c3a92(0x1b5)]);},_0x5b2006)(),await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x39bbce(0x24c)],async()=>{const _0x1cc5de=_0x39bbce;return await AccessibilityHelper[_0x1cc5de(0x199)](_0x3c40aa,scripts[_0x1cc5de(0x1b4)]);})();}return logger['warn'](_0x236776[_0x39bbce(0x1df)]),{};},_0x236776['Oqwch'](patchSaveScreenshot,_0x3c40aa);})()),CodeceptJS[_0x720398(0x23a)][_0x720398(0x1f7)]['on'](CodeceptJS['event'][_0x720398(0x1ff)]['before'],()=>{const _0xf175bb=_0x720398;PerformanceTester[_0xf175bb(0x1ab)](PerformanceEvents[_0xf175bb(0x1e7)]);try{_0x272c9a[_0xf175bb(0x1ab)](),testOpsHelper['addRequestSpy'](),PerformanceTester['end'](PerformanceEvents[_0xf175bb(0x1e7)]);}catch(_0x51b734){PerformanceTester[_0xf175bb(0x224)](_0x51b734),PerformanceTester[_0xf175bb(0x208)](PerformanceEvents[_0xf175bb(0x1e7)],![],_0x51b734);}}),CodeceptJS[_0x720398(0x23a)][_0x720398(0x1f7)]['on'](CodeceptJS['event'][_0x720398(0x1ff)][_0x720398(0x1a5)],async()=>{const _0x5a4e9a=_0x720398;PerformanceTester['start'](PerformanceEvents['SDK_POST_TEST']);try{requestSpy[_0x5a4e9a(0x22e)](),await _0x272c9a[_0x5a4e9a(0x1a8)](),PerformanceTester['end'](PerformanceEvents['SDK_POST_TEST']);}catch(_0x36daed){PerformanceTester[_0x5a4e9a(0x224)](_0x36daed),PerformanceTester[_0x5a4e9a(0x208)](PerformanceEvents['SDK_POST_TEST'],![],_0x36daed);}finally{PerformanceTester['stopMonitoring']();}}),CodeceptJS[_0x720398(0x23a)][_0x720398(0x1f7)]['on'](CodeceptJS[_0x720398(0x23a)][_0x720398(0x1f6)][_0x720398(0x201)],_0x436c47=>{const _0x5b3153=_0x720398;PerformanceTester[_0x5b3153(0x1ab)](PerformanceEvents[_0x5b3153(0x197)]);try{const _0x34f4c4=_0x436c47['ctx']['test'],_0x17439b=_0x272c9a[_0x5b3153(0x206)](TEST_EVENTS[_0x5b3153(0x252)],_0x34f4c4);CodeceptRecorder[_0x5b3153(0x1c0)](()=>_0x272c9a[_0x5b3153(0x192)](TEST_EVENTS[_0x5b3153(0x252)],_0x17439b));const _0x342975={};_0x342975[_0x5b3153(0x229)]=_0x236776[_0x5b3153(0x1de)],PerformanceTester['end'](PerformanceEvents[_0x5b3153(0x197)],!![],null,_0x342975);}catch(_0x1721dd){const _0x22dce6={};_0x22dce6['hookType']=_0x236776[_0x5b3153(0x1de)],PerformanceTester[_0x5b3153(0x208)](PerformanceEvents[_0x5b3153(0x197)],![],_0x1721dd,_0x22dce6),PerformanceTester['captureError'](_0x1721dd);}}),CodeceptJS['event'][_0x720398(0x1f7)]['on'](CodeceptJS[_0x720398(0x23a)][_0x720398(0x1f6)]['passed'],_0x115fe5=>{const _0x42ea85=_0x720398,_0x496d67={};_0x496d67[_0x42ea85(0x229)]=_0x236776[_0x42ea85(0x19e)],PerformanceTester[_0x42ea85(0x1ab)](PerformanceHookEvents[_0x42ea85(0x197)],!![],null,_0x496d67);try{const _0x1c1c1c=_0x115fe5[_0x42ea85(0x214)]['test'],_0x5cb01c=_0x272c9a[_0x42ea85(0x206)](TEST_EVENTS[_0x42ea85(0x1c5)],_0x1c1c1c);CodeceptRecorder[_0x42ea85(0x1c0)](()=>_0x272c9a[_0x42ea85(0x192)](TEST_EVENTS[_0x42ea85(0x1c5)],_0x5cb01c));const _0xa94791={};_0xa94791[_0x42ea85(0x229)]=_0x236776[_0x42ea85(0x19e)],PerformanceTester[_0x42ea85(0x208)](PerformanceHookEvents[_0x42ea85(0x197)],!![],null,_0xa94791);}catch(_0x5d16e5){PerformanceTester['captureError'](_0x5d16e5);const _0xd11baf={};_0xd11baf[_0x42ea85(0x229)]=_0x236776['SlXMK'],PerformanceTester[_0x42ea85(0x208)](PerformanceHookEvents[_0x42ea85(0x197)],![],_0x5d16e5,_0xd11baf);}}),CodeceptJS[_0x720398(0x23a)][_0x720398(0x1f7)]['on'](CodeceptJS[_0x720398(0x23a)][_0x720398(0x1f6)][_0x720398(0x1a4)],async(_0x2faebe,_0x3bd1d0)=>{const _0x57d874=_0x720398;PerformanceTester['start'](PerformanceHookEvents['SDK_HOOK']);try{const _0x424aaf=_0x2faebe[_0x57d874(0x214)][_0x57d874(0x22d)],_0x4b3463=_0x272c9a[_0x57d874(0x206)](TEST_EVENTS[_0x57d874(0x1c5)],_0x424aaf,_0x3bd1d0);CodeceptRecorder['add'](()=>_0x272c9a[_0x57d874(0x192)](TEST_EVENTS['HOOK_RUN_FINISHED'],_0x4b3463));const _0x43eea9={};_0x43eea9[_0x57d874(0x229)]=_0x236776[_0x57d874(0x209)],PerformanceTester[_0x57d874(0x1ab)](PerformanceHookEvents[_0x57d874(0x197)],!![],null,_0x43eea9);}catch(_0x1963b1){PerformanceTester[_0x57d874(0x224)](_0x1963b1);const _0x207b32={};_0x207b32[_0x57d874(0x229)]=_0x236776['UBMTS'],PerformanceTester[_0x57d874(0x208)](PerformanceHookEvents[_0x57d874(0x197)],![],_0x1963b1,_0x207b32);}const _0x18ab0c={};_0x18ab0c['hookType']=_0x236776[_0x57d874(0x209)],PerformanceTester[_0x57d874(0x208)](PerformanceHookEvents[_0x57d874(0x197)],!![],null,_0x18ab0c);}),CodeceptJS[_0x720398(0x23a)][_0x720398(0x1f7)]['on'](CodeceptJS[_0x720398(0x23a)][_0x720398(0x22d)][_0x720398(0x23b)],_0x31436a=>{const _0x4a495a=_0x720398;PerformanceTester[_0x4a495a(0x1ab)](PerformanceHookEvents[_0x4a495a(0x197)]);try{globals[_0x4a495a(0x1d1)](_0x236776[_0x4a495a(0x20a)],_0x31436a[_0x4a495a(0x253)]);_0x236776[_0x4a495a(0x1db)](isBrowserstackInfra)&&(_0x481616&&(global['__workerDetails']={'currentTest':{'name':_0x31436a[_0x4a495a(0x253)],'testInfo':{'titlePath':_0x31436a[_0x4a495a(0x19c)]()}}}));const _0x5934d8={};_0x5934d8[_0x4a495a(0x229)]=_0x236776[_0x4a495a(0x22c)],PerformanceTester[_0x4a495a(0x208)](PerformanceHookEvents[_0x4a495a(0x197)],!![],null,_0x5934d8);}catch(_0x539e2f){PerformanceTester[_0x4a495a(0x224)](_0x539e2f);const _0x3dbdbc={};_0x3dbdbc[_0x4a495a(0x229)]=_0x236776[_0x4a495a(0x22c)],PerformanceTester[_0x4a495a(0x208)](PerformanceHookEvents[_0x4a495a(0x197)],![],_0x539e2f,_0x3dbdbc);}}),CodeceptJS[_0x720398(0x23a)]['dispatcher']['on'](CodeceptJS[_0x720398(0x23a)]['test'][_0x720398(0x201)],_0x320357=>{const _0x3873a6=_0x720398;PerformanceTester[_0x3873a6(0x1ab)](PerformanceHookEvents[_0x3873a6(0x197)]);try{globals[_0x3873a6(0x1d1)](_0x236776[_0x3873a6(0x20a)],_0x320357['title']);const _0x3883fe=_0x272c9a[_0x3873a6(0x206)](TEST_EVENTS[_0x3873a6(0x1ce)],_0x320357);CodeceptRecorder[_0x3873a6(0x1c0)](()=>_0x272c9a[_0x3873a6(0x192)](TEST_EVENTS['TEST_RUN_STARTED'],_0x3883fe)),CodeceptRecorder[_0x3873a6(0x1c0)](async()=>{const _0x53d1d2=_0x3873a6;_0x236776[_0x53d1d2(0x213)](isBrowserstackInfra)&&(!_0x236776['GGNch'](isTrue,_0x533147['skipSessionName'])&&await _0x236776[_0x53d1d2(0x258)](markSessionName,_0x3c40aa,_0x320357['title']),_0x272c9a['enabled']&&await _0x236776['Oqwch'](o11ySync,_0x3c40aa));});}catch(_0x13eabd){const _0x2b99b9={};_0x2b99b9[_0x3873a6(0x229)]=_0x236776['dwThh'],PerformanceTester[_0x3873a6(0x208)](PerformanceHookEvents[_0x3873a6(0x197)],![],_0x13eabd,_0x2b99b9),PerformanceTester[_0x3873a6(0x224)](_0x13eabd);}const _0x16fe52={};_0x16fe52[_0x3873a6(0x229)]=_0x236776[_0x3873a6(0x194)],PerformanceTester[_0x3873a6(0x208)](PerformanceHookEvents[_0x3873a6(0x197)],!![],null,_0x16fe52);}),CodeceptJS[_0x720398(0x23a)][_0x720398(0x1f7)]['on'](CodeceptJS[_0x720398(0x23a)][_0x720398(0x22d)][_0x720398(0x234)],_0x447f2b=>{const _0x59c7bd=_0x720398;PerformanceTester['start'](PerformanceHookEvents[_0x59c7bd(0x197)]);try{const _0x1b9f71=_0x272c9a[_0x59c7bd(0x206)](TEST_EVENTS['TEST_RUN_FINISHED'],_0x447f2b);CodeceptRecorder[_0x59c7bd(0x1c0)](()=>_0x272c9a[_0x59c7bd(0x192)](TEST_EVENTS[_0x59c7bd(0x230)],_0x1b9f71)),CodeceptRecorder['add'](async()=>{const _0x12d33b=_0x59c7bd,_0x44822f={'aJgav':function(_0x5f2dd0,_0x16f5ee,_0x1a38a5){const _0x54b510=a1_0xed48;return _0x236776[_0x54b510(0x258)](_0x5f2dd0,_0x16f5ee,_0x1a38a5);},'xJPWq':function(_0x3560c6,_0x421939,_0x171659){const _0x51217b=a1_0xed48;return _0x236776[_0x51217b(0x1be)](_0x3560c6,_0x421939,_0x171659);}};_0x236776[_0x12d33b(0x213)](isBrowserstackInfra)&&await PerformanceTester[_0x12d33b(0x1e8)](PerformanceAutEvents[_0x12d33b(0x1e1)],async()=>{const _0x331c27=_0x12d33b;_0x481616?await _0x44822f[_0x331c27(0x1c3)](playwrightMarkSessionStatus,_0x3c40aa,STATE_PASSED):await _0x44822f[_0x331c27(0x212)](markSessionStatus,_0x3c40aa,STATE_PASSED);})();}),PerformanceTester[_0x59c7bd(0x208)](PerformanceEvents[_0x59c7bd(0x25d)]);}catch(_0x2a1897){PerformanceTester[_0x59c7bd(0x224)](_0x2a1897);const _0x2b4696={};_0x2b4696[_0x59c7bd(0x229)]=_0x236776['qqASd'],PerformanceTester['end'](PerformanceHookEvents[_0x59c7bd(0x197)],![],_0x2a1897,_0x2b4696),PerformanceTester[_0x59c7bd(0x208)](PerformanceEvents['SDK_TEST'],![],_0x2a1897);}const _0x146290={};_0x146290[_0x59c7bd(0x229)]=_0x236776[_0x59c7bd(0x1d6)],PerformanceTester[_0x59c7bd(0x208)](PerformanceHookEvents[_0x59c7bd(0x197)],!![],null,_0x146290);}),CodeceptJS['event'][_0x720398(0x1f7)]['on'](CodeceptJS[_0x720398(0x23a)][_0x720398(0x22d)]['failed'],(_0x2bd67a,_0x4444c1)=>{const _0x1e7e86=_0x720398;PerformanceTester['start'](PerformanceHookEvents[_0x1e7e86(0x197)]);try{if(_0x236776[_0x1e7e86(0x1ec)](_0x2bd67a[_0x1e7e86(0x25b)][_0x1e7e86(0x171)],_0x236776[_0x1e7e86(0x1f8)])){const _0x1b1c24=_0x272c9a['captureEvent'](TEST_EVENTS['TEST_RUN_SKIPPED'],_0x2bd67a[_0x1e7e86(0x214)]['currentTest']);CodeceptRecorder[_0x1e7e86(0x1c0)](()=>_0x272c9a['fireEvent'](TEST_EVENTS[_0x1e7e86(0x1f4)],_0x1b1c24));}else{const _0xd42d62=_0x272c9a[_0x1e7e86(0x206)](TEST_EVENTS[_0x1e7e86(0x230)],_0x2bd67a,_0x4444c1);CodeceptRecorder[_0x1e7e86(0x1c0)](()=>{const _0x1c5364=_0x1e7e86;try{_0x272c9a['fireEvent'](TEST_EVENTS[_0x1c5364(0x230)],_0xd42d62);}catch(_0x9a37a5){logger[_0x1c5364(0x20c)](_0x1c5364(0x1d2)+util[_0x1c5364(0x1f9)](_0x9a37a5)),PerformanceTester[_0x1c5364(0x208)](PerformanceEvents[_0x1c5364(0x25d)],![],_0x9a37a5);}}),CodeceptRecorder['add'](async()=>{const _0xcf4c5=_0x1e7e86;try{_0x236776['ddrMY'](isBrowserstackInfra)&&(_0x481616?await _0x236776[_0xcf4c5(0x1ad)](playwrightMarkSessionStatus,_0x3c40aa,STATE_FAILED,_0x4444c1):await _0x236776['bHRZr'](markSessionStatus,_0x3c40aa,STATE_FAILED,_0x4444c1));}catch(_0xc64b59){logger[_0xcf4c5(0x20c)]('Failed\x20in\x20marking\x20session\x20status\x20of\x20test:\x20'+util[_0xcf4c5(0x1f9)](_0xc64b59)),PerformanceTester[_0xcf4c5(0x208)](PerformanceEvents['SDK_TEST'],![],_0xc64b59);}});}PerformanceTester['end'](PerformanceEvents['SDK_TEST']);}catch(_0x1d2f03){PerformanceTester['captureError'](_0x1d2f03);const _0x231f07={};_0x231f07[_0x1e7e86(0x229)]=_0x236776[_0x1e7e86(0x1fd)],PerformanceTester[_0x1e7e86(0x208)](PerformanceHookEvents[_0x1e7e86(0x197)],![],_0x1d2f03,_0x231f07),PerformanceTester[_0x1e7e86(0x208)](PerformanceEvents[_0x1e7e86(0x25d)],![],_0x1d2f03);}const _0xd20c67={};_0xd20c67['hookType']=_0x236776[_0x1e7e86(0x1fd)],PerformanceTester['end'](PerformanceHookEvents[_0x1e7e86(0x197)],!![],null,_0xd20c67);}),CodeceptJS[_0x720398(0x23a)][_0x720398(0x1f7)]['on'](CodeceptJS['event']['test']['skipped'],_0x3661d9=>{const _0x5d31b4=_0x720398;PerformanceTester[_0x5d31b4(0x1ab)](PerformanceHookEvents[_0x5d31b4(0x197)]);try{const _0x293d52=_0x272c9a[_0x5d31b4(0x206)](TEST_EVENTS['TEST_RUN_SKIPPED'],_0x3661d9);CodeceptRecorder[_0x5d31b4(0x1c0)](()=>_0x272c9a[_0x5d31b4(0x192)](TEST_EVENTS['TEST_RUN_SKIPPED'],_0x293d52)),PerformanceTester[_0x5d31b4(0x208)](PerformanceEvents[_0x5d31b4(0x25d)]);}catch(_0x11a65b){PerformanceTester[_0x5d31b4(0x224)](_0x11a65b),PerformanceTester[_0x5d31b4(0x208)](PerformanceEvents[_0x5d31b4(0x25d)],![],_0x11a65b);const _0x2daa03={};_0x2daa03[_0x5d31b4(0x229)]=_0x236776[_0x5d31b4(0x1c7)],PerformanceTester[_0x5d31b4(0x208)](PerformanceHookEvents[_0x5d31b4(0x197)],![],_0x11a65b,_0x2daa03);}const _0x4d75bf={};_0x4d75bf[_0x5d31b4(0x229)]=_0x236776['BOyBI'],PerformanceTester[_0x5d31b4(0x208)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x4d75bf);}),CodeceptJS['event']['dispatcher']['on'](CodeceptJS['event'][_0x720398(0x22d)][_0x720398(0x1a5)],async(_0x395e1b,_0x3b72f5)=>{const _0x48c67f=_0x720398,_0x580c89={};_0x580c89['WiRQf']=_0x236776[_0x48c67f(0x1fa)],_0x580c89[_0x48c67f(0x200)]=_0x236776[_0x48c67f(0x21a)];const _0x2ce31f=_0x580c89;try{PerformanceTester[_0x48c67f(0x1ab)](PerformanceHookEvents[_0x48c67f(0x197)]);const _0x393a43=_0x236776['vFuEp'](shouldScanTestForAccessibility,_0x395e1b['titlePath'](),!![]);if(_0x236776['Vrfxp'](isAccessibilityAutomationSession)&&global[_0x48c67f(0x188)]&&_0x393a43){const _0x493c6e={};_0x493c6e[_0x48c67f(0x1fe)]=_0x395e1b['testAnalyticsId'],_0x493c6e[_0x48c67f(0x198)]=process[_0x48c67f(0x1bb)][testHubConstants[_0x48c67f(0x1ca)][_0x48c67f(0x1c6)]],_0x493c6e[_0x48c67f(0x218)]=process[_0x48c67f(0x1bb)][testHubConstants[_0x48c67f(0x1ca)][_0x48c67f(0x248)]];const _0x2a4e37=_0x493c6e;logger[_0x48c67f(0x20c)]('Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20'+JSON[_0x48c67f(0x1c2)](_0x2a4e37)),CodeceptRecorder[_0x48c67f(0x1c0)](async()=>{const _0x5884b5=_0x48c67f,_0x34ff8f={};_0x34ff8f[_0x5884b5(0x187)]=_0x2ce31f['WiRQf'],await PerformanceTester[_0x5884b5(0x1e8)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x115c67=_0x5884b5;await AccessibilityHelper['browserStackExecuteDriver'](_0x3c40aa,scripts[_0x115c67(0x1b5)]);},_0x34ff8f)(),globals[_0x5884b5(0x17d)](_0x2ce31f[_0x5884b5(0x200)])&&(_0x2a4e37[_0x5884b5(0x23f)]=!![]),await PerformanceTester[_0x5884b5(0x1e8)](PerformanceA11yEvents[_0x5884b5(0x1e5)],async()=>{const _0x48d874=_0x5884b5;await AccessibilityHelper[_0x48d874(0x199)](_0x3c40aa,scripts[_0x48d874(0x216)],_0x2a4e37);})();}),logger[_0x48c67f(0x249)](_0x236776[_0x48c67f(0x1f3)]);}const _0x369e42={};_0x369e42[_0x48c67f(0x229)]=_0x236776['GjpXc'],PerformanceTester[_0x48c67f(0x208)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x369e42);}catch(_0x10f7be){PerformanceTester[_0x48c67f(0x224)](_0x10f7be);const _0x323380={};_0x323380[_0x48c67f(0x229)]=_0x236776['GjpXc'],PerformanceTester[_0x48c67f(0x208)](PerformanceHookEvents['SDK_HOOK'],![],_0x10f7be,_0x323380);}}),CodeceptJS['event'][_0x720398(0x1f7)]['on'](CodeceptJS[_0x720398(0x23a)][_0x720398(0x17c)]['comment'],_0x130af7=>{const _0x1895c7=_0x720398;PerformanceTester[_0x1895c7(0x1ab)](PerformanceHookEvents[_0x1895c7(0x197)]);try{process[_0x1895c7(0x1d7)](_0x1895c7(0x18b)+process[_0x1895c7(0x257)],{'timestamp':new Date()[_0x1895c7(0x190)](),'level':_0x236776[_0x1895c7(0x25a)],'message':_0x130af7,'kind':_0x236776[_0x1895c7(0x21f)],'http_response':{}});}catch(_0x197f38){PerformanceTester[_0x1895c7(0x224)](_0x197f38);const _0x5f11f1={};_0x5f11f1[_0x1895c7(0x229)]=_0x236776[_0x1895c7(0x1e0)],PerformanceTester[_0x1895c7(0x208)](PerformanceHookEvents[_0x1895c7(0x197)],![],_0x197f38,_0x5f11f1);}const _0x56343c={};_0x56343c[_0x1895c7(0x229)]=_0x236776[_0x1895c7(0x1e0)],PerformanceTester['end'](PerformanceHookEvents[_0x1895c7(0x197)],!![],null,_0x56343c);}),CodeceptJS['event'][_0x720398(0x1f7)]['on'](CodeceptJS[_0x720398(0x23a)]['bddStep'][_0x720398(0x23b)],_0x1c2c2b=>{const _0x3ce916=_0x720398,_0x523ac5={};_0x523ac5['hookType']=_0x236776[_0x3ce916(0x23c)],PerformanceTester[_0x3ce916(0x1e8)](PerformanceHookEvents[_0x3ce916(0x197)],()=>{const _0x368311=_0x3ce916;_0x272c9a[_0x368311(0x254)](_0x1c2c2b);},_0x523ac5)();}),CodeceptJS[_0x720398(0x23a)][_0x720398(0x1f7)]['on'](CodeceptJS[_0x720398(0x23a)][_0x720398(0x1bc)][_0x720398(0x1a5)],_0x47ae16=>{const _0x48b4fa=_0x720398,_0x6948ee={};_0x6948ee[_0x48b4fa(0x229)]=_0x236776[_0x48b4fa(0x25e)],PerformanceTester['measureWrapper'](PerformanceHookEvents['SDK_HOOK'],()=>{const _0x5555d9=_0x48b4fa;_0x272c9a[_0x5555d9(0x16c)](_0x47ae16);},_0x6948ee)();});};
|
|
1
|
+
const a1_0x279493=a1_0x6227;(function(_0x47c594,_0x22bbef){const _0x43560b=a1_0x6227,_0x16c889=_0x47c594();while(!![]){try{const _0x52ff14=parseInt(_0x43560b(0x242))/0x1*(-parseInt(_0x43560b(0x216))/0x2)+-parseInt(_0x43560b(0x1e0))/0x3*(parseInt(_0x43560b(0x28e))/0x4)+parseInt(_0x43560b(0x23e))/0x5+parseInt(_0x43560b(0x27e))/0x6*(-parseInt(_0x43560b(0x1de))/0x7)+parseInt(_0x43560b(0x19c))/0x8+parseInt(_0x43560b(0x26f))/0x9*(-parseInt(_0x43560b(0x241))/0xa)+parseInt(_0x43560b(0x1eb))/0xb*(parseInt(_0x43560b(0x230))/0xc);if(_0x52ff14===_0x22bbef)break;else _0x16c889['push'](_0x16c889['shift']());}catch(_0x341811){_0x16c889['push'](_0x16c889['shift']());}}}(a1_0x2522,0x56468));const fs=require('fs'),util=require('util'),{requireModule,markSessionStatus,isUndefined,isTrue,isBrowserstackInfra}=require('../../helpers/helper'),logger=require(a1_0x279493(0x193))[a1_0x279493(0x1db)],testOpsHelper=require(a1_0x279493(0x1e5)),requestSpy=require(a1_0x279493(0x1d8)),PlaywrightSessionDetails=require(a1_0x279493(0x1c0)),{O11yHelper,TEST_EVENTS,STATE_PASSED,STATE_FAILED}=require(a1_0x279493(0x248)),{shouldScanTestForAccessibility,isAccessibilityAutomationSession}=require('../../helpers/accessibility-automation/helper'),AccessibilityHelper=require(a1_0x279493(0x27f)),scripts=require(a1_0x279493(0x240)),PerformanceTester=require(a1_0x279493(0x285)),{EVENTS:PerformanceEvents,AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceHookEvents}=require(a1_0x279493(0x1bf)),{processWebDriverConfig,shouldPatchExecuteScript}=require(a1_0x279493(0x1cc)),testHubConstants=require(a1_0x279493(0x23c)),globals=require(a1_0x279493(0x1cf)),CodeceptJS=requireModule(a1_0x279493(0x254),a1_0x279493(0x223)),CodeceptUtils=requireModule(a1_0x279493(0x1b2),'codeceptjs'),CodeceptWebDriver=requireModule(a1_0x279493(0x287),'codeceptjs'),CodeceptRecorder=requireModule(a1_0x279493(0x24d),'codeceptjs'),CodeceptPlaywright=requireModule('codeceptjs/lib/helper/Playwright.js',a1_0x279493(0x223)),playwrightMarkSessionStatus=(_0x50c88e,_0xfe839a,_0x2fc9ff)=>{const _0x235f0f=a1_0x279493,_0x5f3899={'srXMK':'setSessionStatus','ffOmN':function(_0xed2bae,_0x4f8744){return _0xed2bae(_0x4f8744);}},_0x3bfd3e={};_0x3bfd3e[_0x235f0f(0x1b8)]=_0xfe839a;const _0x2b36f4={};_0x2b36f4[_0x235f0f(0x251)]=_0x5f3899[_0x235f0f(0x1ca)],_0x2b36f4['arguments']=_0x3bfd3e;const _0x490fec=_0x2b36f4;return!_0x5f3899['ffOmN'](isUndefined,_0x2fc9ff)&&(_0x490fec['arguments'][_0x235f0f(0x1c7)]=JSON['stringify'](_0x2fc9ff)),_0x50c88e['executeScript'](()=>{},_0x235f0f(0x1b0)+JSON[_0x235f0f(0x296)](_0x490fec));},o11ySync=PerformanceTester[a1_0x279493(0x283)](PerformanceO11yEvents[a1_0x279493(0x1e6)],async _0x2ef443=>{const _0x3b5c29=a1_0x279493,_0x3006c1={};_0x3006c1['DZWwH']=function(_0x29cb86,_0x5e977b){return _0x29cb86===_0x5e977b;},_0x3006c1[_0x3b5c29(0x1dd)]=_0x3b5c29(0x1d9);const _0x475b8d=_0x3006c1;_0x475b8d['DZWwH'](_0x2ef443[_0x3b5c29(0x1f1)][_0x3b5c29(0x20c)],_0x475b8d['PTLUl'])?await _0x2ef443[_0x3b5c29(0x1c1)](_0x1352d5=>{},testOpsHelper[_0x3b5c29(0x22a)]()):await _0x2ef443['executeScript'](testOpsHelper[_0x3b5c29(0x22a)]());}),markSessionName=PerformanceTester[a1_0x279493(0x283)](PerformanceAutEvents[a1_0x279493(0x25d)],async(_0x3a798c,_0x36fa14)=>{const _0x1a4e82=a1_0x279493,_0x31a9f3={};_0x31a9f3['cMJgb']=_0x1a4e82(0x255),_0x31a9f3[_0x1a4e82(0x1aa)]=function(_0x167c6a,_0x280872){return _0x167c6a===_0x280872;},_0x31a9f3[_0x1a4e82(0x1ad)]='Playwright';const _0x47cadf=_0x31a9f3,_0x16ea9d={};_0x16ea9d[_0x1a4e82(0x20c)]=_0x36fa14;const _0x54d90e={};_0x54d90e['action']=_0x47cadf[_0x1a4e82(0x1fb)],_0x54d90e['arguments']=_0x16ea9d;const _0x5e980a=_0x54d90e;_0x47cadf['OvwaM'](_0x3a798c[_0x1a4e82(0x1f1)][_0x1a4e82(0x20c)],_0x47cadf[_0x1a4e82(0x1ad)])?await _0x3a798c['executeScript'](()=>{},_0x1a4e82(0x1b0)+JSON[_0x1a4e82(0x296)](_0x5e980a)):await _0x3a798c[_0x1a4e82(0x1c1)](_0x1a4e82(0x1b0)+JSON[_0x1a4e82(0x296)](_0x5e980a));}),patchSaveScreenshot=_0x39cee4=>{const _0x375ad3=a1_0x279493,_0x43ca21={'aKlfa':_0x375ad3(0x1ac),'SlYcG':_0x375ad3(0x280),'NMShF':function(_0x5bd949){return _0x5bd949();},'Nilhr':function(_0x28e306,_0x2cfd13){return _0x28e306(_0x2cfd13);},'SiMrG':'Screenshot\x20path\x20not\x20found'};_0x43ca21[_0x375ad3(0x224)](isTrue,process[_0x375ad3(0x20d)][_0x375ad3(0x210)])&&!_0x39cee4[_0x375ad3(0x28a)]&&(_0x39cee4[_0x375ad3(0x28a)]=!![],_0x39cee4[_0x375ad3(0x1b1)]=_0x39cee4[_0x375ad3(0x22c)],_0x39cee4[_0x375ad3(0x22c)]=(_0x2fb846,_0x4225f2=![])=>{const _0xaf7b6d=_0x375ad3,_0x5db2e4={'sSMfD':_0x43ca21[_0xaf7b6d(0x26a)],'uTerW':_0x43ca21[_0xaf7b6d(0x226)],'uBWee':function(_0x49a9db){const _0x587f31=_0xaf7b6d;return _0x43ca21[_0x587f31(0x250)](_0x49a9db);},'oDLQR':function(_0x39b202,_0x4d6735){const _0xa1a95e=_0xaf7b6d;return _0x43ca21[_0xa1a95e(0x224)](_0x39b202,_0x4d6735);},'ZJdEM':_0x43ca21['SiMrG']};return new Promise(function(_0x471092,_0x2812a0){const _0x360a19=_0xaf7b6d,_0x16c289={'CtdbL':_0x5db2e4[_0x360a19(0x258)],'SuYmF':_0x5db2e4[_0x360a19(0x1c5)],'ocKQO':function(_0xbda5b6){const _0x48ada4=_0x360a19;return _0x5db2e4[_0x48ada4(0x1f3)](_0xbda5b6);},'ZpoBe':function(_0x449704,_0x146113){const _0x4a6ff1=_0x360a19;return _0x5db2e4[_0x4a6ff1(0x20e)](_0x449704,_0x146113);},'nOkzz':_0x5db2e4['ZJdEM']};_0x39cee4[_0x360a19(0x1b1)](_0x2fb846,_0x4225f2)[_0x360a19(0x236)](()=>{const _0x1ce06f=_0x360a19,_0x3a1f77=CodeceptUtils[_0x1ce06f(0x272)](_0x2fb846);if(_0x3a1f77){const _0x572b14=fs[_0x1ce06f(0x246)](_0x3a1f77);process['emit']('bs:addLog:'+process['pid'],{'timestamp':new Date()[_0x1ce06f(0x201)](),'message':_0x572b14[_0x1ce06f(0x1ee)](_0x16c289[_0x1ce06f(0x1b9)]),'kind':_0x16c289[_0x1ce06f(0x208)]}),_0x16c289['ocKQO'](_0x471092);}_0x16c289[_0x1ce06f(0x1bd)](_0x2812a0,new Error(_0x16c289[_0x1ce06f(0x1ff)]));})[_0x360a19(0x192)](()=>null);});});},patchWebDriverBefore=_0x3a2b38=>{const _0x5e5e3c=a1_0x279493,_0x291fb7={'ohGxQ':function(_0x2e10db){return _0x2e10db();},'bkSGj':function(_0xa4da82,_0x11129e){return _0xa4da82(_0x11129e);},'zeufs':function(_0x42a4e7,_0x5f0b27){return _0x42a4e7===_0x5f0b27;},'HrQQI':_0x5e5e3c(0x1c6),'ZJfBp':function(_0x5c8db5,_0x402386){return _0x5c8db5===_0x402386;},'Excvd':'string','hlPVJ':function(_0xdb65d8,_0x54b48f){return _0xdb65d8===_0x54b48f;},'fYCGv':_0x5e5e3c(0x244)},_0x3d7689=async function(_0x103cbe,_0x37c252){const _0xc97e24=_0x5e5e3c;_0x291fb7[_0xc97e24(0x269)](isAccessibilityAutomationSession)&&!global[_0xc97e24(0x262)]&&global[_0xc97e24(0x291)]&&scripts[_0xc97e24(0x228)](_0x103cbe[_0xc97e24(0x20c)])&&_0x291fb7['bkSGj'](shouldPatchExecuteScript,arguments[0x2])&&(global[_0xc97e24(0x262)]=!![],await PerformanceTester[_0xc97e24(0x283)](PerformanceA11yEvents[_0xc97e24(0x274)],async()=>{const _0x5cd1f6=_0xc97e24;logger[_0x5cd1f6(0x28c)]('Performing\x20scan\x20for\x20'+_0x103cbe[_0x5cd1f6(0x259)]+'\x20'+_0x103cbe[_0x5cd1f6(0x20c)]),await AccessibilityHelper[_0x5cd1f6(0x263)](_0x3a2b38,scripts['performScan']);},{'command':_0x103cbe[_0xc97e24(0x20c)]})());global[_0xc97e24(0x262)]=![];const _0x3aec8e=JSON[_0xc97e24(0x1b4)](process[_0xc97e24(0x20d)][_0xc97e24(0x218)]||'{}');if(_0x291fb7['zeufs'](_0x3aec8e?.[_0xc97e24(0x1ec)]?.[_0xc97e24(0x20c)],_0x291fb7[_0xc97e24(0x234)])&&_0x291fb7[_0xc97e24(0x21c)](typeof _0x3aec8e?.['testFramework']?.[_0xc97e24(0x1cb)],_0x291fb7[_0xc97e24(0x1a8)])&&_0x3aec8e?.[_0xc97e24(0x1ec)]?.['version'][_0xc97e24(0x1da)]('7'))return _0x37c252[_0xc97e24(0x288)](null,Array[_0xc97e24(0x1f7)]['slice'][_0xc97e24(0x284)](arguments,0x2));return _0x37c252['apply'](this,Array[_0xc97e24(0x1f7)]['slice'][_0xc97e24(0x284)](arguments,0x2));},_0x15d58c=CodeceptWebDriver[_0x5e5e3c(0x1f7)][_0x5e5e3c(0x22e)];CodeceptWebDriver[_0x5e5e3c(0x1f7)][_0x5e5e3c(0x22e)]=async function(){const _0xc9bbd2=_0x5e5e3c,_0x53ad6b={'xRXIT':function(_0x1b60cf,_0x407002){const _0x220cc6=a1_0x6227;return _0x291fb7[_0x220cc6(0x25c)](_0x1b60cf,_0x407002);},'sJjuf':_0x291fb7[_0xc9bbd2(0x290)]};try{await _0x15d58c['apply'](this,arguments);}catch(_0x4d6113){logger[_0xc9bbd2(0x28c)](_0xc9bbd2(0x1ce)+util[_0xc9bbd2(0x1df)](_0x4d6113));}scripts[_0xc9bbd2(0x292)]['filter'](_0x5a02d5=>_0x5a02d5[_0xc9bbd2(0x20c)]&&_0x5a02d5[_0xc9bbd2(0x259)])[_0xc9bbd2(0x1ba)](_0x4fc7a4=>{const _0x28b3a5=_0xc9bbd2;this['browser'][_0x28b3a5(0x1f8)](_0x4fc7a4[_0x28b3a5(0x20c)],_0x3d7689[_0x28b3a5(0x235)](this,_0x4fc7a4),_0x53ad6b[_0x28b3a5(0x1d1)](_0x4fc7a4['class'],_0x53ad6b[_0x28b3a5(0x1a1)]));}),_0x291fb7['bkSGj'](processWebDriverConfig,_0x3a2b38);};};function parseJwt(_0x41a82d){const _0x3474e6=a1_0x279493,_0x1924dc={};_0x1924dc[_0x3474e6(0x211)]=_0x3474e6(0x1ac);const _0xe08867=_0x1924dc;if(!_0x41a82d)return null;return JSON[_0x3474e6(0x1b4)](Buffer['from'](_0x41a82d[_0x3474e6(0x19f)]('.')[0x1],_0xe08867['SfGnO'])['toString']());}const patchPlaywrightBefore=()=>{const _0x30b967=a1_0x279493,_0x402a37={'WJWJc':function(_0x3d4f5a){return _0x3d4f5a();},'hQUoD':_0x30b967(0x245),'dnsjN':_0x30b967(0x195),'fgoUB':function(_0x21afe5){return _0x21afe5();},'IlMfo':function(_0x1bbcc6,_0x2addea){return _0x1bbcc6(_0x2addea);},'NkNDo':function(_0x51c5a1){return _0x51c5a1();},'XXPcs':function(_0x29526b,_0x48cc93){return _0x29526b+_0x48cc93;},'eiQwC':_0x30b967(0x23d),'MyVhV':function(_0x51c138){return _0x51c138();},'UXdLG':function(_0xbcbbb1){return _0xbcbbb1();},'dOhwr':function(_0x376aa5){return _0x376aa5();},'JmVfj':function(_0x2a49fe){return _0x2a49fe();}};PlaywrightSessionDetails[_0x30b967(0x1f6)]();const _0xf9a662=CodeceptPlaywright[_0x30b967(0x1f7)][_0x30b967(0x22e)];CodeceptPlaywright[_0x30b967(0x1f7)]['_before']=async function(){const _0x5536ce=_0x30b967;this['browserContext']=await this[_0x5536ce(0x214)][_0x5536ce(0x21a)]()[0x0];const _0x3d90d4=async()=>{const _0x35f046=_0x5536ce,_0x5378b2={'eBkcH':function(_0x38e89e){const _0x14efa1=a1_0x6227;return _0x402a37[_0x14efa1(0x26b)](_0x38e89e);},'zghTS':_0x402a37[_0x35f046(0x24c)]},_0xd36b7a=this['config']&&this[_0x35f046(0x253)][_0x35f046(0x1ae)]&&this[_0x35f046(0x253)][_0x35f046(0x1ae)]['args']&&Array['isArray'](this[_0x35f046(0x253)][_0x35f046(0x1ae)][_0x35f046(0x237)])&&this[_0x35f046(0x253)][_0x35f046(0x1ae)][_0x35f046(0x237)]['includes'](_0x402a37[_0x35f046(0x190)]);if(_0x402a37['fgoUB'](isAccessibilityAutomationSession)&&!_0xd36b7a)try{const _0x1d8eb8=_0x402a37[_0x35f046(0x1ab)](parseJwt,process[_0x35f046(0x20d)][_0x35f046(0x21b)]);if(_0x1d8eb8&&_0x1d8eb8['a11y_core_config']&&_0x1d8eb8[_0x35f046(0x293)][_0x35f046(0x200)]){const _0x20118c=this['browserContext'][_0x35f046(0x209)][_0x35f046(0x235)](this[_0x35f046(0x1d5)]);this[_0x35f046(0x1d5)][_0x35f046(0x209)]=async function(){const _0x1671c9=_0x35f046,_0x5c6aa3=await _0x5378b2['eBkcH'](_0x20118c),_0x361897=[];for(const _0x14d1c2 of _0x5c6aa3){try{const _0x21d259=await _0x14d1c2[_0x1671c9(0x26d)]();!_0x21d259['startsWith'](_0x5378b2[_0x1671c9(0x1d3)])&&_0x361897[_0x1671c9(0x197)](_0x14d1c2);}catch(_0x41bb32){_0x361897[_0x1671c9(0x197)](_0x14d1c2);}}return _0x361897;};}if(!_0x402a37['NkNDo'](isBrowserstackInfra)){const _0x59eca8=await this['page'][_0x35f046(0x26d)]();if(_0x59eca8[_0x35f046(0x1da)](_0x402a37[_0x35f046(0x24c)])){const _0x5a7065=await this['browserContext']['pages']();this[_0x35f046(0x24e)](_0x5a7065[0x0]);}}}catch(_0x2ef226){logger[_0x35f046(0x28c)]('Failed\x20to\x20patch\x20pages\x20method\x20in\x20browserContext\x20for\x20a11y\x20domForge:\x20'+_0x2ef226[_0x35f046(0x202)]+(_0x2ef226[_0x35f046(0x22b)]?_0x402a37['XXPcs'](_0x402a37[_0x35f046(0x276)],_0x2ef226[_0x35f046(0x22b)]):''));}};_0x402a37[_0x5536ce(0x23b)](isBrowserstackInfra)&&await _0x402a37[_0x5536ce(0x1a9)](_0x3d90d4),await _0xf9a662[_0x5536ce(0x288)](this,arguments),!_0x402a37[_0x5536ce(0x217)](isBrowserstackInfra)&&await _0x402a37[_0x5536ce(0x1f0)](_0x3d90d4);};},getCodeceptDriver=()=>{const _0x2fbcdb=a1_0x279493,_0x3eed0f={};_0x3eed0f[_0x2fbcdb(0x25b)]=_0x2fbcdb(0x229),_0x3eed0f[_0x2fbcdb(0x1f5)]=_0x2fbcdb(0x1d9),_0x3eed0f[_0x2fbcdb(0x1e7)]=_0x2fbcdb(0x1c9),_0x3eed0f[_0x2fbcdb(0x281)]=_0x2fbcdb(0x203);const _0x33efd3=_0x3eed0f,_0x357849=[_0x33efd3[_0x2fbcdb(0x25b)],_0x33efd3[_0x2fbcdb(0x1f5)],_0x33efd3['jYLbW'],_0x33efd3[_0x2fbcdb(0x281)]],_0x19ab80=_0x357849[_0x2fbcdb(0x268)](_0x3932f6=>!!CodeceptJS['container']['helpers'](_0x3932f6));if(!_0x19ab80)return null;return CodeceptJS[_0x2fbcdb(0x21e)][_0x2fbcdb(0x28f)](_0x19ab80);};function a1_0x6227(_0x3d664d,_0x2b5728){const _0x2522af=a1_0x2522();return a1_0x6227=function(_0x6227f9,_0xbbc6f6){_0x6227f9=_0x6227f9-0x190;let _0x5ba0eb=_0x2522af[_0x6227f9];return _0x5ba0eb;},a1_0x6227(_0x3d664d,_0x2b5728);}function a1_0x2522(){const _0x56f389=['QeCop','nOkzz','domForge','toISOString','message','TestCafe','ENV_VAR','failed','nEEjP','nXGTL','SuYmF','pages','XMTGg','test-after','name','env','oDLQR','test-skipped','BS_TESTOPS_ALLOW_SCREENSHOTS','SfGnO','setGlobal','captureError','browser','zgagr','36XriwIz','dOhwr','FRAMEWORK_DETAILS','GET_RESULTS','contexts','BS_A11Y_JWT','ZJfBp','fireEvent','container','saveTestResults','getResults','dySqk','hook-started','codeceptjs','Nilhr','UaOOO','SlYcG','OZldB','shouldWrapCommand','WebDriver','getSyncScript','stack','saveScreenshot','PdbNN','_before','enabled','12quBUfb','SDK_PRE_TEST','passed','titlePath','HrQQI','bind','then','args','kBAgz','fmzrq','performScan','MyVhV','../../helpers/testhub/constants.js','\x0aStack:\x20','614190csGeqC','currentTest','../../helpers/accessibility-automation/scripts','540GYhJTI','1327zwTzca','hook-passed','Element','devtools://','readFileSync','title','./o11yHelper','rIaRl','add','event','hQUoD','codeceptjs/lib/recorder.js','_setPage','gcSYY','NMShF','action','test','config','codeceptjs/lib/index.js','setSessionName','getAccessibilityResultsSummary','thBuildUuid','sSMfD','class','warn','doukD','hlPVJ','SESSION_NAME','WaQNq','WpfAz','SDK_POST_TEST','bOCVA','bstackAllyScanning','browserStackExecuteDriver','bddStepStart','startMonitoring','TEST_LOG','getAccessibilityResults','find','ohGxQ','aKlfa','WJWJc','YNoPO','url','is_mobile_session','80028zOFtfy','end','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20summary.','screenshotOutputFolder','bddStepFinish','PERFORM_SCAN','__workerDetails','eiQwC','BAavW','skipSessionStatus','start','thJwtToken','tkxeT','JyUiL','bddStep-before','208086RRxwSs','../../bin/playwright/accessibility-helper','TEST_SCREENSHOT','pfBMV','before','measureWrapper','call','../../helpers/performance/performance-tester','test-passed','codeceptjs/lib/helper/WebDriver.js','apply','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','patchSaveScreenshot','step','debug','all','1164808EqaeRi','helpers','fYCGv','accessibilityPlatform','commandsToWrap','a11y_core_config','BROWSERSTACK_TESTHUB_JWT','cAucu','stringify','SDK_TEST','dnsjN','vmohk','catch','../../helpers/logger','stop','--auto-open-devtools-for-tabs','test-started','push','HOOK_RUN_STARTED','mEqfT','INFO','NgmWA','5477032MZVNpv','VNknh','__skipSessionStatus','split','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','sJjuf','woaNR','Failed\x20in\x20sending\x20TestRunFinish\x20event:\x20','RAxQz','started','oVsEs','hookType','Excvd','UXdLG','OvwaM','IlMfo','base64','FTALZ','chromium','hook','browserstack_executor:\x20','initSaveScreenshot','codeceptjs/lib/utils.js','getGlobal','parse','thTestRunUuid','addRequestSpy','TEST_RUN_STARTED','status','CtdbL','forEach','emit','BflGh','ZpoBe','Suite','../../helpers/performance/constants','../../bin/playwright/sessionDetails','executeScript','NgkiO','sHttE','after','uTerW','webdriverio','reason','SDK_HOOK','Puppeteer','srXMK','version','./helper.js','OBMdI','Failed\x20to\x20execute\x20_before:\x20','../../helpers/globals.js','IqMIz','xRXIT','SESSION_STATUS','zghTS','RxKTJ','browserContext','ctx','skipped','../../helpers/request-spy','Playwright','startsWith','winstonLogger','captureEvent','PTLUl','42jrWyiP','format','3erbLcQ','vqOZu','command','browserstackTestName','TEST_RUN_FINISHED','../../helpers/test-observability/utils','SYNC','jYLbW','TEST_RUN_SKIPPED','nYTxx','BOHYu','6041849IcwKsI','testFramework','HOOK_RUN_FINISHED','toString','dispatcher','JmVfj','constructor','bs:addLog:','uBWee','eafHU','XjADW','patch','prototype','overwriteCommand','kULab','Failed\x20in\x20marking\x20session\x20status\x20of\x20test:\x20','cMJgb','bddStep','ogeHw'];a1_0x2522=function(){return _0x56f389;};return a1_0x2522();}module['exports']=function(_0x47f975){const _0x4d06a7=a1_0x279493,_0x19b7d1={'RAxQz':function(_0x24e9ac){return _0x24e9ac();},'XMTGg':function(_0x447fb3,_0x58226d){return _0x447fb3(_0x58226d);},'WpfAz':_0x4d06a7(0x256),'kULab':_0x4d06a7(0x271),'sHttE':_0x4d06a7(0x267),'WaQNq':'Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','dySqk':_0x4d06a7(0x222),'NgmWA':_0x4d06a7(0x243),'woaNR':'hook-failed','ogeHw':_0x4d06a7(0x1e3),'BAavW':'test-before','fmzrq':function(_0x51028f){return _0x51028f();},'gcSYY':function(_0x1085aa,_0x2e4219,_0x2fba22){return _0x1085aa(_0x2e4219,_0x2fba22);},'nYTxx':_0x4d06a7(0x196),'tkxeT':function(_0x2c209b,_0x566b95,_0x13c4eb){return _0x2c209b(_0x566b95,_0x13c4eb);},'IqMIz':_0x4d06a7(0x286),'vmohk':function(_0x4a6304,_0x329128,_0x4b75c7,_0x702487){return _0x4a6304(_0x329128,_0x4b75c7,_0x702487);},'nhGGl':function(_0x18d8b3,_0x3ebda3,_0x168620,_0x511c31){return _0x18d8b3(_0x3ebda3,_0x168620,_0x511c31);},'NgkiO':function(_0x43a66c,_0x30f41b){return _0x43a66c===_0x30f41b;},'JyUiL':_0x4d06a7(0x1be),'YNoPO':'test-failed','rIaRl':_0x4d06a7(0x20f),'cAucu':'afterTest','bOCVA':'isMobilePlatform','VNknh':function(_0x4f8c12,_0x22ee06,_0xc6e323){return _0x4f8c12(_0x22ee06,_0xc6e323);},'BOHYu':function(_0x1d3527){return _0x1d3527();},'kBAgz':_0x4d06a7(0x1a0),'ZzpGS':_0x4d06a7(0x20b),'nXGTL':_0x4d06a7(0x19a),'OBMdI':_0x4d06a7(0x266),'BflGh':'step-comment','eafHU':_0x4d06a7(0x27d),'mEqfT':'bddStep-after','UaOOO':'Playwright'};_0x47f975[_0x4d06a7(0x278)]&&(global[_0x4d06a7(0x19e)]=_0x47f975['skipSessionStatus']);PerformanceTester[_0x4d06a7(0x265)]();const _0x3c5a9e=_0x19b7d1[_0x4d06a7(0x239)](getCodeceptDriver),_0x356489=new O11yHelper(_0x3c5a9e,_0x47f975),_0xa7b596=!!CodeceptJS[_0x4d06a7(0x21e)]['helpers'](_0x19b7d1[_0x4d06a7(0x225)]);global['__driver']=_0x3c5a9e,_0x3c5a9e&&(PerformanceTester['measureWrapper'](PerformanceEvents['SDK_PRE_INITIALIZE'],()=>{const _0x280335=_0x4d06a7;_0xa7b596?_0x19b7d1['RAxQz'](patchPlaywrightBefore):_0x19b7d1[_0x280335(0x20a)](patchWebDriverBefore,_0x3c5a9e);})(),PerformanceTester[_0x4d06a7(0x283)](PerformanceEvents['SDK_POST_INITIALIZE'],()=>{const _0x348f9e=_0x4d06a7,_0x4e295b={};_0x4e295b['vqOZu']=_0x19b7d1[_0x348f9e(0x25f)],_0x4e295b['QeCop']=_0x19b7d1[_0x348f9e(0x1f9)],_0x4e295b[_0x348f9e(0x1a6)]=_0x19b7d1[_0x348f9e(0x1c3)],_0x4e295b[_0x348f9e(0x22d)]=_0x19b7d1[_0x348f9e(0x25e)];const _0x449620=_0x4e295b;_0x3c5a9e['getAccessibilityResultsSummary']=async()=>{const _0x3ddc5b=_0x348f9e;if(global[_0x3ddc5b(0x291)]){const _0x4a49c7={};return _0x4a49c7[_0x3ddc5b(0x1e2)]=_0x449620[_0x3ddc5b(0x1e1)],await PerformanceTester[_0x3ddc5b(0x283)](PerformanceA11yEvents[_0x3ddc5b(0x274)],async()=>{const _0x5ca381=_0x3ddc5b;return await AccessibilityHelper[_0x5ca381(0x263)](_0x3c5a9e,scripts[_0x5ca381(0x23a)]);},_0x4a49c7)(),await PerformanceTester[_0x3ddc5b(0x283)](PerformanceA11yEvents['GET_RESULTS_SUMMARY'],async()=>{const _0x57df77=_0x3ddc5b;return await AccessibilityHelper[_0x57df77(0x263)](_0x3c5a9e,scripts['getResultsSummary']);})();}return logger['warn'](_0x449620[_0x3ddc5b(0x1fe)]),{};},_0x3c5a9e[_0x348f9e(0x267)]=async()=>{const _0x4a8178=_0x348f9e;if(global[_0x4a8178(0x291)]){const _0x1d2b5c={};return _0x1d2b5c[_0x4a8178(0x1e2)]=_0x449620[_0x4a8178(0x1a6)],await PerformanceTester[_0x4a8178(0x283)](PerformanceA11yEvents[_0x4a8178(0x274)],async()=>{const _0x593d22=_0x4a8178;return await AccessibilityHelper[_0x593d22(0x263)](_0x3c5a9e,scripts['performScan']);},_0x1d2b5c)(),await PerformanceTester[_0x4a8178(0x283)](PerformanceA11yEvents[_0x4a8178(0x219)],async()=>{const _0x15ccfa=_0x4a8178;return await AccessibilityHelper[_0x15ccfa(0x263)](_0x3c5a9e,scripts[_0x15ccfa(0x220)]);})();}return logger[_0x4a8178(0x25a)](_0x449620[_0x4a8178(0x22d)]),{};},_0x19b7d1[_0x348f9e(0x20a)](patchSaveScreenshot,_0x3c5a9e);})()),CodeceptJS[_0x4d06a7(0x24b)]['dispatcher']['on'](CodeceptJS['event'][_0x4d06a7(0x28d)]['before'],()=>{const _0x551ce2=_0x4d06a7;PerformanceTester[_0x551ce2(0x279)](PerformanceEvents[_0x551ce2(0x231)]);try{_0x356489['start'](),testOpsHelper[_0x551ce2(0x1b6)](),PerformanceTester[_0x551ce2(0x270)](PerformanceEvents[_0x551ce2(0x231)]);}catch(_0x2ac28e){PerformanceTester['captureError'](_0x2ac28e),PerformanceTester[_0x551ce2(0x270)](PerformanceEvents['SDK_PRE_TEST'],![],_0x2ac28e);}}),CodeceptJS['event'][_0x4d06a7(0x1ef)]['on'](CodeceptJS[_0x4d06a7(0x24b)][_0x4d06a7(0x28d)][_0x4d06a7(0x1c4)],async()=>{const _0x3d0d0e=_0x4d06a7;PerformanceTester[_0x3d0d0e(0x279)](PerformanceEvents['SDK_POST_TEST']);try{requestSpy['restore'](),await _0x356489[_0x3d0d0e(0x194)](),PerformanceTester[_0x3d0d0e(0x270)](PerformanceEvents[_0x3d0d0e(0x260)]);}catch(_0x22c93d){PerformanceTester[_0x3d0d0e(0x213)](_0x22c93d),PerformanceTester[_0x3d0d0e(0x270)](PerformanceEvents[_0x3d0d0e(0x260)],![],_0x22c93d);}finally{PerformanceTester['stopMonitoring']();}}),CodeceptJS[_0x4d06a7(0x24b)]['dispatcher']['on'](CodeceptJS[_0x4d06a7(0x24b)]['hook']['started'],_0x4ebc2b=>{const _0x166bec=_0x4d06a7;PerformanceTester['start'](PerformanceEvents[_0x166bec(0x1c8)]);try{const _0x2a4056=_0x4ebc2b['ctx'][_0x166bec(0x252)],_0x25ff1a=_0x356489['captureEvent'](TEST_EVENTS[_0x166bec(0x198)],_0x2a4056);CodeceptRecorder[_0x166bec(0x24a)](()=>_0x356489[_0x166bec(0x21d)](TEST_EVENTS[_0x166bec(0x198)],_0x25ff1a));const _0x58d67a={};_0x58d67a[_0x166bec(0x1a7)]=_0x19b7d1['dySqk'],PerformanceTester[_0x166bec(0x270)](PerformanceEvents['SDK_HOOK'],!![],null,_0x58d67a);}catch(_0x5cd008){const _0x49020d={};_0x49020d[_0x166bec(0x1a7)]=_0x19b7d1[_0x166bec(0x221)],PerformanceTester[_0x166bec(0x270)](PerformanceEvents['SDK_HOOK'],![],_0x5cd008,_0x49020d),PerformanceTester[_0x166bec(0x213)](_0x5cd008);}}),CodeceptJS['event'][_0x4d06a7(0x1ef)]['on'](CodeceptJS['event'][_0x4d06a7(0x1af)][_0x4d06a7(0x232)],_0x1f3804=>{const _0x4cbeaf=_0x4d06a7,_0x39b732={};_0x39b732['hookType']=_0x19b7d1[_0x4cbeaf(0x19b)],PerformanceTester['start'](PerformanceHookEvents[_0x4cbeaf(0x1c8)],!![],null,_0x39b732);try{const _0x3c7aa1=_0x1f3804[_0x4cbeaf(0x1d6)][_0x4cbeaf(0x252)],_0x50e523=_0x356489[_0x4cbeaf(0x1dc)](TEST_EVENTS[_0x4cbeaf(0x1ed)],_0x3c7aa1);CodeceptRecorder['add'](()=>_0x356489['fireEvent'](TEST_EVENTS[_0x4cbeaf(0x1ed)],_0x50e523));const _0x24a5e7={};_0x24a5e7[_0x4cbeaf(0x1a7)]=_0x19b7d1['NgmWA'],PerformanceTester[_0x4cbeaf(0x270)](PerformanceHookEvents[_0x4cbeaf(0x1c8)],!![],null,_0x24a5e7);}catch(_0x167dfd){PerformanceTester[_0x4cbeaf(0x213)](_0x167dfd);const _0x3a29d2={};_0x3a29d2['hookType']=_0x19b7d1[_0x4cbeaf(0x19b)],PerformanceTester['end'](PerformanceHookEvents[_0x4cbeaf(0x1c8)],![],_0x167dfd,_0x3a29d2);}}),CodeceptJS[_0x4d06a7(0x24b)][_0x4d06a7(0x1ef)]['on'](CodeceptJS['event'][_0x4d06a7(0x1af)][_0x4d06a7(0x205)],async(_0xc82704,_0xf092a4)=>{const _0x3748ae=_0x4d06a7;PerformanceTester['start'](PerformanceHookEvents[_0x3748ae(0x1c8)]);try{const _0x235de3=_0xc82704[_0x3748ae(0x1d6)][_0x3748ae(0x252)],_0x512243=_0x356489[_0x3748ae(0x1dc)](TEST_EVENTS[_0x3748ae(0x1ed)],_0x235de3,_0xf092a4);CodeceptRecorder[_0x3748ae(0x24a)](()=>_0x356489['fireEvent'](TEST_EVENTS[_0x3748ae(0x1ed)],_0x512243));const _0x1ebead={};_0x1ebead[_0x3748ae(0x1a7)]=_0x19b7d1['woaNR'],PerformanceTester['start'](PerformanceHookEvents[_0x3748ae(0x1c8)],!![],null,_0x1ebead);}catch(_0x529697){PerformanceTester[_0x3748ae(0x213)](_0x529697);const _0x51f4b2={};_0x51f4b2[_0x3748ae(0x1a7)]=_0x19b7d1['woaNR'],PerformanceTester[_0x3748ae(0x270)](PerformanceHookEvents[_0x3748ae(0x1c8)],![],_0x529697,_0x51f4b2);}const _0x171ea3={};_0x171ea3[_0x3748ae(0x1a7)]=_0x19b7d1[_0x3748ae(0x1a2)],PerformanceTester['end'](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x171ea3);}),CodeceptJS['event'][_0x4d06a7(0x1ef)]['on'](CodeceptJS[_0x4d06a7(0x24b)][_0x4d06a7(0x252)]['before'],_0x4733fb=>{const _0xd23f65=_0x4d06a7;PerformanceTester[_0xd23f65(0x279)](PerformanceHookEvents['SDK_HOOK']);try{globals[_0xd23f65(0x212)](_0x19b7d1[_0xd23f65(0x1fd)],_0x4733fb['title']);_0x19b7d1[_0xd23f65(0x1a4)](isBrowserstackInfra)&&(_0xa7b596&&(global[_0xd23f65(0x275)]={'currentTest':{'name':_0x4733fb[_0xd23f65(0x247)],'testInfo':{'titlePath':_0x4733fb[_0xd23f65(0x233)]()}}}));const _0x137162={};_0x137162[_0xd23f65(0x1a7)]=_0x19b7d1[_0xd23f65(0x277)],PerformanceTester['end'](PerformanceHookEvents[_0xd23f65(0x1c8)],!![],null,_0x137162);}catch(_0x2a3d83){PerformanceTester[_0xd23f65(0x213)](_0x2a3d83);const _0x588a2f={};_0x588a2f['hookType']=_0x19b7d1[_0xd23f65(0x277)],PerformanceTester['end'](PerformanceHookEvents[_0xd23f65(0x1c8)],![],_0x2a3d83,_0x588a2f);}}),CodeceptJS[_0x4d06a7(0x24b)][_0x4d06a7(0x1ef)]['on'](CodeceptJS['event']['test'][_0x4d06a7(0x1a5)],_0x572064=>{const _0x563f0c=_0x4d06a7,_0x5b7aa8={'nEEjP':function(_0x54f487){const _0x35c93b=a1_0x6227;return _0x19b7d1[_0x35c93b(0x239)](_0x54f487);},'OZldB':function(_0x5b02a6,_0x1ade43){const _0x91938b=a1_0x6227;return _0x19b7d1[_0x91938b(0x20a)](_0x5b02a6,_0x1ade43);},'JjhrN':function(_0x51bacb,_0x2b1cbb,_0x12b507){return _0x19b7d1['gcSYY'](_0x51bacb,_0x2b1cbb,_0x12b507);}};PerformanceTester[_0x563f0c(0x279)](PerformanceHookEvents[_0x563f0c(0x1c8)]);try{globals[_0x563f0c(0x212)](_0x19b7d1['ogeHw'],_0x572064['title']);const _0x41dabe=_0x356489['captureEvent'](TEST_EVENTS[_0x563f0c(0x1b7)],_0x572064);CodeceptRecorder[_0x563f0c(0x24a)](()=>_0x356489[_0x563f0c(0x21d)](TEST_EVENTS['TEST_RUN_STARTED'],_0x41dabe)),CodeceptRecorder[_0x563f0c(0x24a)](async()=>{const _0x4c98ab=_0x563f0c;_0x5b7aa8[_0x4c98ab(0x206)](isBrowserstackInfra)&&(!_0x5b7aa8[_0x4c98ab(0x227)](isTrue,_0x47f975['skipSessionName'])&&await _0x5b7aa8['JjhrN'](markSessionName,_0x3c5a9e,_0x572064[_0x4c98ab(0x247)]),_0x356489[_0x4c98ab(0x22f)]&&await _0x5b7aa8[_0x4c98ab(0x227)](o11ySync,_0x3c5a9e));});}catch(_0x2b9853){const _0x3b0dcd={};_0x3b0dcd[_0x563f0c(0x1a7)]=_0x19b7d1[_0x563f0c(0x1e9)],PerformanceTester[_0x563f0c(0x270)](PerformanceHookEvents[_0x563f0c(0x1c8)],![],_0x2b9853,_0x3b0dcd),PerformanceTester['captureError'](_0x2b9853);}const _0x541ff5={};_0x541ff5[_0x563f0c(0x1a7)]=_0x19b7d1['nYTxx'],PerformanceTester[_0x563f0c(0x270)](PerformanceHookEvents[_0x563f0c(0x1c8)],!![],null,_0x541ff5);}),CodeceptJS['event']['dispatcher']['on'](CodeceptJS[_0x4d06a7(0x24b)][_0x4d06a7(0x252)][_0x4d06a7(0x232)],_0x7eec53=>{const _0x4fb44a=_0x4d06a7;PerformanceTester[_0x4fb44a(0x279)](PerformanceHookEvents[_0x4fb44a(0x1c8)]);try{const _0x7ce716=_0x356489[_0x4fb44a(0x1dc)](TEST_EVENTS[_0x4fb44a(0x1e4)],_0x7eec53);CodeceptRecorder[_0x4fb44a(0x24a)](()=>_0x356489[_0x4fb44a(0x21d)](TEST_EVENTS[_0x4fb44a(0x1e4)],_0x7ce716)),CodeceptRecorder[_0x4fb44a(0x24a)](async()=>{const _0x5f4ec5=_0x4fb44a,_0x275106={'zgagr':function(_0x4186a5,_0x645fc5,_0xb0ae4e){const _0x286f82=a1_0x6227;return _0x19b7d1[_0x286f82(0x24f)](_0x4186a5,_0x645fc5,_0xb0ae4e);},'RxKTJ':function(_0x22dca2,_0x4cc73e,_0x60d20a){const _0x4a64df=a1_0x6227;return _0x19b7d1[_0x4a64df(0x27b)](_0x22dca2,_0x4cc73e,_0x60d20a);}};_0x19b7d1[_0x5f4ec5(0x239)](isBrowserstackInfra)&&await PerformanceTester[_0x5f4ec5(0x283)](PerformanceAutEvents[_0x5f4ec5(0x1d2)],async()=>{const _0x1e1da2=_0x5f4ec5;_0xa7b596?await _0x275106[_0x1e1da2(0x215)](playwrightMarkSessionStatus,_0x3c5a9e,STATE_PASSED):await _0x275106[_0x1e1da2(0x1d4)](markSessionStatus,_0x3c5a9e,STATE_PASSED);})();}),PerformanceTester[_0x4fb44a(0x270)](PerformanceEvents['SDK_TEST']);}catch(_0x31d08c){PerformanceTester[_0x4fb44a(0x213)](_0x31d08c);const _0x66a03a={};_0x66a03a['hookType']=_0x19b7d1[_0x4fb44a(0x1d0)],PerformanceTester[_0x4fb44a(0x270)](PerformanceHookEvents['SDK_HOOK'],![],_0x31d08c,_0x66a03a),PerformanceTester[_0x4fb44a(0x270)](PerformanceEvents[_0x4fb44a(0x297)],![],_0x31d08c);}const _0x515ce3={};_0x515ce3['hookType']=_0x19b7d1['IqMIz'],PerformanceTester[_0x4fb44a(0x270)](PerformanceHookEvents[_0x4fb44a(0x1c8)],!![],null,_0x515ce3);}),CodeceptJS[_0x4d06a7(0x24b)]['dispatcher']['on'](CodeceptJS[_0x4d06a7(0x24b)][_0x4d06a7(0x252)]['failed'],(_0x235c9e,_0x354b54)=>{const _0x3f92cb=_0x4d06a7;PerformanceTester[_0x3f92cb(0x279)](PerformanceHookEvents[_0x3f92cb(0x1c8)]);try{if(_0x19b7d1[_0x3f92cb(0x1c2)](_0x235c9e[_0x3f92cb(0x1f1)][_0x3f92cb(0x20c)],_0x19b7d1[_0x3f92cb(0x27c)])){const _0x269b94=_0x356489['captureEvent'](TEST_EVENTS['TEST_RUN_SKIPPED'],_0x235c9e[_0x3f92cb(0x1d6)][_0x3f92cb(0x23f)]);CodeceptRecorder[_0x3f92cb(0x24a)](()=>_0x356489[_0x3f92cb(0x21d)](TEST_EVENTS[_0x3f92cb(0x1e8)],_0x269b94));}else{const _0x20b1b5=_0x356489[_0x3f92cb(0x1dc)](TEST_EVENTS[_0x3f92cb(0x1e4)],_0x235c9e,_0x354b54);CodeceptRecorder['add'](()=>{const _0x7e7bfc=_0x3f92cb;try{_0x356489['fireEvent'](TEST_EVENTS[_0x7e7bfc(0x1e4)],_0x20b1b5);}catch(_0x36c8a4){logger[_0x7e7bfc(0x28c)](_0x7e7bfc(0x1a3)+util[_0x7e7bfc(0x1df)](_0x36c8a4)),PerformanceTester[_0x7e7bfc(0x270)](PerformanceEvents[_0x7e7bfc(0x297)],![],_0x36c8a4);}}),CodeceptRecorder[_0x3f92cb(0x24a)](async()=>{const _0x43c012=_0x3f92cb;try{_0x19b7d1[_0x43c012(0x1a4)](isBrowserstackInfra)&&(_0xa7b596?await _0x19b7d1[_0x43c012(0x191)](playwrightMarkSessionStatus,_0x3c5a9e,STATE_FAILED,_0x354b54):await _0x19b7d1['nhGGl'](markSessionStatus,_0x3c5a9e,STATE_FAILED,_0x354b54));}catch(_0x116286){logger[_0x43c012(0x28c)](_0x43c012(0x1fa)+util[_0x43c012(0x1df)](_0x116286)),PerformanceTester[_0x43c012(0x270)](PerformanceEvents[_0x43c012(0x297)],![],_0x116286);}});}PerformanceTester[_0x3f92cb(0x270)](PerformanceEvents['SDK_TEST']);}catch(_0xdf3183){PerformanceTester[_0x3f92cb(0x213)](_0xdf3183);const _0x143960={};_0x143960[_0x3f92cb(0x1a7)]=_0x19b7d1['YNoPO'],PerformanceTester[_0x3f92cb(0x270)](PerformanceHookEvents[_0x3f92cb(0x1c8)],![],_0xdf3183,_0x143960),PerformanceTester[_0x3f92cb(0x270)](PerformanceEvents['SDK_TEST'],![],_0xdf3183);}const _0x345d5f={};_0x345d5f[_0x3f92cb(0x1a7)]=_0x19b7d1[_0x3f92cb(0x26c)],PerformanceTester[_0x3f92cb(0x270)](PerformanceHookEvents[_0x3f92cb(0x1c8)],!![],null,_0x345d5f);}),CodeceptJS['event'][_0x4d06a7(0x1ef)]['on'](CodeceptJS['event']['test'][_0x4d06a7(0x1d7)],_0x59ab7f=>{const _0x18d073=_0x4d06a7;PerformanceTester[_0x18d073(0x279)](PerformanceHookEvents[_0x18d073(0x1c8)]);try{const _0x29ebd3=_0x356489[_0x18d073(0x1dc)](TEST_EVENTS[_0x18d073(0x1e8)],_0x59ab7f);CodeceptRecorder[_0x18d073(0x24a)](()=>_0x356489[_0x18d073(0x21d)](TEST_EVENTS['TEST_RUN_SKIPPED'],_0x29ebd3)),PerformanceTester[_0x18d073(0x270)](PerformanceEvents[_0x18d073(0x297)]);}catch(_0x50c9a9){PerformanceTester[_0x18d073(0x213)](_0x50c9a9),PerformanceTester[_0x18d073(0x270)](PerformanceEvents[_0x18d073(0x297)],![],_0x50c9a9);const _0x51f213={};_0x51f213[_0x18d073(0x1a7)]=_0x19b7d1[_0x18d073(0x249)],PerformanceTester['end'](PerformanceHookEvents[_0x18d073(0x1c8)],![],_0x50c9a9,_0x51f213);}const _0x3288f9={};_0x3288f9[_0x18d073(0x1a7)]=_0x19b7d1[_0x18d073(0x249)],PerformanceTester[_0x18d073(0x270)](PerformanceHookEvents[_0x18d073(0x1c8)],!![],null,_0x3288f9);}),CodeceptJS[_0x4d06a7(0x24b)]['dispatcher']['on'](CodeceptJS[_0x4d06a7(0x24b)]['test'][_0x4d06a7(0x1c4)],async(_0x2f25fd,_0x3de2e8)=>{const _0x3bf391=_0x4d06a7;try{PerformanceTester[_0x3bf391(0x279)](PerformanceHookEvents[_0x3bf391(0x1c8)]);const _0x4f282a=_0x19b7d1[_0x3bf391(0x19d)](shouldScanTestForAccessibility,_0x2f25fd[_0x3bf391(0x233)](),!![]);if(_0x19b7d1[_0x3bf391(0x1ea)](isAccessibilityAutomationSession)&&global[_0x3bf391(0x291)]&&_0x4f282a){const _0x196c7c={};_0x196c7c[_0x3bf391(0x1b5)]=_0x2f25fd['testAnalyticsId'],_0x196c7c[_0x3bf391(0x257)]=process[_0x3bf391(0x20d)][testHubConstants[_0x3bf391(0x204)]['BROWSERSTACK_TESTHUB_UUID']],_0x196c7c[_0x3bf391(0x27a)]=process[_0x3bf391(0x20d)][testHubConstants['ENV_VAR'][_0x3bf391(0x294)]];const _0x509799=_0x196c7c;logger[_0x3bf391(0x28c)](_0x3bf391(0x289)+JSON[_0x3bf391(0x296)](_0x509799)),CodeceptRecorder['add'](async()=>{const _0x4fceb6=_0x3bf391,_0x3ae3ec={};_0x3ae3ec[_0x4fceb6(0x1e2)]=_0x19b7d1[_0x4fceb6(0x295)],await PerformanceTester[_0x4fceb6(0x283)](PerformanceA11yEvents[_0x4fceb6(0x274)],async()=>{await AccessibilityHelper['browserStackExecuteDriver'](_0x3c5a9e,scripts['performScan']);},_0x3ae3ec)(),globals[_0x4fceb6(0x1b3)](_0x19b7d1[_0x4fceb6(0x261)])&&(_0x509799[_0x4fceb6(0x26e)]=!![]),await PerformanceTester['measureWrapper'](PerformanceA11yEvents['SAVE_RESULTS'],async()=>{const _0x4136b6=_0x4fceb6;await AccessibilityHelper[_0x4136b6(0x263)](_0x3c5a9e,scripts[_0x4136b6(0x21f)],_0x509799);})();}),logger['info'](_0x19b7d1[_0x3bf391(0x238)]);}const _0xad3e54={};_0xad3e54['hookType']=_0x19b7d1['ZzpGS'],PerformanceTester[_0x3bf391(0x270)](PerformanceHookEvents[_0x3bf391(0x1c8)],!![],null,_0xad3e54);}catch(_0x1f6d04){PerformanceTester[_0x3bf391(0x213)](_0x1f6d04);const _0xaa0c6={};_0xaa0c6['hookType']=_0x19b7d1['ZzpGS'],PerformanceTester['end'](PerformanceHookEvents[_0x3bf391(0x1c8)],![],_0x1f6d04,_0xaa0c6);}}),CodeceptJS[_0x4d06a7(0x24b)][_0x4d06a7(0x1ef)]['on'](CodeceptJS[_0x4d06a7(0x24b)][_0x4d06a7(0x28b)]['comment'],_0x3b6a84=>{const _0x355df2=_0x4d06a7;PerformanceTester[_0x355df2(0x279)](PerformanceHookEvents['SDK_HOOK']);try{process[_0x355df2(0x1bb)](_0x355df2(0x1f2)+process['pid'],{'timestamp':new Date()[_0x355df2(0x201)](),'level':_0x19b7d1[_0x355df2(0x207)],'message':_0x3b6a84,'kind':_0x19b7d1[_0x355df2(0x1cd)],'http_response':{}});}catch(_0x2d7a4f){PerformanceTester['captureError'](_0x2d7a4f);const _0x28b977={};_0x28b977['hookType']=_0x19b7d1[_0x355df2(0x1bc)],PerformanceTester[_0x355df2(0x270)](PerformanceHookEvents[_0x355df2(0x1c8)],![],_0x2d7a4f,_0x28b977);}const _0xc2f587={};_0xc2f587[_0x355df2(0x1a7)]=_0x19b7d1[_0x355df2(0x1bc)],PerformanceTester['end'](PerformanceHookEvents[_0x355df2(0x1c8)],!![],null,_0xc2f587);}),CodeceptJS[_0x4d06a7(0x24b)]['dispatcher']['on'](CodeceptJS['event'][_0x4d06a7(0x1fc)][_0x4d06a7(0x282)],_0x59bae6=>{const _0x38c61f=_0x4d06a7,_0x1138ba={};_0x1138ba[_0x38c61f(0x1a7)]=_0x19b7d1[_0x38c61f(0x1f4)],PerformanceTester[_0x38c61f(0x283)](PerformanceHookEvents['SDK_HOOK'],()=>{const _0x453668=_0x38c61f;_0x356489[_0x453668(0x264)](_0x59bae6);},_0x1138ba)();}),CodeceptJS[_0x4d06a7(0x24b)]['dispatcher']['on'](CodeceptJS['event'][_0x4d06a7(0x1fc)][_0x4d06a7(0x1c4)],_0x142781=>{const _0x5e19ea=_0x4d06a7,_0x229da4={};_0x229da4['hookType']=_0x19b7d1[_0x5e19ea(0x199)],PerformanceTester[_0x5e19ea(0x283)](PerformanceHookEvents[_0x5e19ea(0x1c8)],()=>{const _0x5f50d1=_0x5e19ea;_0x356489[_0x5f50d1(0x273)](_0x142781);},_0x229da4)();});};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a2_0x2b5e63=a2_0x42c2;function a2_0x42c2(_0x5853c7,_0x101fb4){const _0x20f2cd=a2_0x20f2();return a2_0x42c2=function(_0x42c294,_0x17b8e7){_0x42c294=_0x42c294-0x73;let _0x21395a=_0x20f2cd[_0x42c294];return _0x21395a;},a2_0x42c2(_0x5853c7,_0x101fb4);}(function(_0x4519eb,_0x749eb){const _0x57b359=a2_0x42c2,_0xb43dc2=_0x4519eb();while(!![]){try{const _0x14e2d5=-parseInt(_0x57b359(0x9e))/0x1*(-parseInt(_0x57b359(0x101))/0x2)+-parseInt(_0x57b359(0xab))/0x3*(-parseInt(_0x57b359(0xdf))/0x4)+parseInt(_0x57b359(0xfe))/0x5+-parseInt(_0x57b359(0x80))/0x6*(-parseInt(_0x57b359(0x76))/0x7)+-parseInt(_0x57b359(0x91))/0x8+-parseInt(_0x57b359(0xde))/0x9*(parseInt(_0x57b359(0xc3))/0xa)+-parseInt(_0x57b359(0xe7))/0xb*(parseInt(_0x57b359(0xd4))/0xc);if(_0x14e2d5===_0x749eb)break;else _0xb43dc2['push'](_0xb43dc2['shift']());}catch(_0x51cff4){_0xb43dc2['push'](_0xb43dc2['shift']());}}}(a2_0x20f2,0xe5482));const fs=require('fs'),path=require(a2_0x2b5e63(0xa7)),util=require(a2_0x2b5e63(0xa4)),process=require(a2_0x2b5e63(0x8d)),logger=require(a2_0x2b5e63(0xbd))[a2_0x2b5e63(0xc9)],{default:BrowserStackSetup}=require(a2_0x2b5e63(0xd0)),helper=require('../../helpers/helper'),utilities=require(a2_0x2b5e63(0x97)),{checkAccessibilityPlatformConfig}=require(a2_0x2b5e63(0x10b)),{setAccessibilityCapabilities,processAccessibilityCaps}=require(a2_0x2b5e63(0xaa)),{requireModule,nestedKeyValue,isBrowserstackInfra}=require(a2_0x2b5e63(0xf1)),CodeceptJS=requireModule(a2_0x2b5e63(0xca),a2_0x2b5e63(0x106)),testOpsHelper=require(a2_0x2b5e63(0x75)),TestHubHandler=require('../../helpers/testhub/testhubHandler'),constants=require(a2_0x2b5e63(0x93)),PerformanceTester=require(a2_0x2b5e63(0xc8)),{FRAMEWORKS}=require(a2_0x2b5e63(0xf6)),PerformanceEvents=require(a2_0x2b5e63(0x90))[a2_0x2b5e63(0xb8)],ClientTroubleShootingService=require('../utils/clientTroubleshootingService'),_testErrorData=[],getUserCodeceptJSConfigs=(_0x456833,_0x1cf54d)=>{const _0x3bbe1c=a2_0x2b5e63,_0x10139a={};_0x10139a[_0x3bbe1c(0xd3)]=function(_0x168a1b,_0x5b45c2){return _0x168a1b===_0x5b45c2;},_0x10139a[_0x3bbe1c(0xf4)]='codecept.conf.js',_0x10139a[_0x3bbe1c(0x83)]=_0x3bbe1c(0x98);const _0x1c7ea1=_0x10139a;let _0xa7fbec=null;const _0x483e9a={};let _0x4175fa=_0x1cf54d['findIndex'](_0x2ac119=>_0x2ac119===_0x3bbe1c(0x94));_0x1c7ea1[_0x3bbe1c(0xd3)](_0x4175fa,-0x1)&&(_0x4175fa=_0x1cf54d[_0x3bbe1c(0xd7)](_0x39aa35=>_0x39aa35==='-c'));if(!helper[_0x3bbe1c(0xfc)](_0x456833[_0x3bbe1c(0x103)])&&fs[_0x3bbe1c(0xa9)](path[_0x3bbe1c(0xe1)](process[_0x3bbe1c(0x86)](),_0x456833[_0x3bbe1c(0x103)])))_0xa7fbec=path['join'](process[_0x3bbe1c(0x86)](),_0x456833[_0x3bbe1c(0x103)]),_0x1cf54d[_0x3bbe1c(0xa5)](_0x4175fa,0x2);else{if(!helper[_0x3bbe1c(0xfc)](_0x456833['c'])&&fs['existsSync'](path[_0x3bbe1c(0xe1)](process[_0x3bbe1c(0x86)](),_0x456833['c'])))_0xa7fbec=path[_0x3bbe1c(0xe1)](process[_0x3bbe1c(0x86)](),_0x456833['c']),_0x1cf54d[_0x3bbe1c(0xa5)](_0x4175fa,0x2);else{if(fs[_0x3bbe1c(0xa9)](path['join'](process['cwd'](),_0x1c7ea1['qwIEh'])))_0xa7fbec=path['join'](process['cwd'](),_0x1c7ea1[_0x3bbe1c(0xf4)]);else fs[_0x3bbe1c(0xa9)](path[_0x3bbe1c(0xe1)](process[_0x3bbe1c(0x86)](),_0x1c7ea1['zLoWW']))&&(_0xa7fbec=path[_0x3bbe1c(0xe1)](process[_0x3bbe1c(0x86)](),_0x1c7ea1['zLoWW']));}}return process['env'][_0x3bbe1c(0xb7)]=_0xa7fbec,_0xa7fbec;},getO11yRerunPattern=()=>{const _0x3b5732=a2_0x2b5e63,_0x51ab81=helper[_0x3b5732(0xce)](process[_0x3b5732(0xe5)][_0x3b5732(0xec)]);if(_0x51ab81){const _0x1ea119=process['env'][_0x3b5732(0xb5)],_0x3b20d1=[];if(helper[_0x3b5732(0x7b)](_0x1ea119)&&!helper[_0x3b5732(0xfc)](_0x1ea119)){_0x1ea119[_0x3b5732(0xa3)](',')['map'](_0x526be6=>{_0x3b20d1['push']('('+_0x526be6['trim']()+')');});const _0x337729='^'+_0x3b20d1[_0x3b5732(0xe1)]('|')+'$';return _0x337729;}}return null;},a2_0x312f10={};a2_0x312f10['chrome']=a2_0x2b5e63(0x8e),a2_0x312f10['playwright-chromium']='chromium',a2_0x312f10[a2_0x2b5e63(0x9d)]='firefox',a2_0x312f10[a2_0x2b5e63(0xee)]=a2_0x2b5e63(0xcf);function a2_0x20f2(){const _0x193739=['desiredCapabilities','handleApp','map','env','run','66vbOTkH','accessibility','bLKHd','skipSessionName','platforms','BROWSERSTACK_RERUN','ukwgt','playwright-webkit','stack','getPlatformName','../../helpers/helper','BROWSERSTACK_TEST_OBSERVABILITY_YML','mergeDeep','qwIEh','info','../../helpers/test-observability/constants','PkYGh','event','Cfdbx','testObservability','MhjZJ','isUndefined','load','1391285LpIDDo','title','key','936156vALMdT','Playwright','config','stringify','DpQhA','codeceptjs','result','browser','passed','browserWSEndpoint','../../helpers/accessibility-automation/helper','toLowerCase','JtKNi','../../helpers/test-observability/utils','104923XsycmL','FRAMEWORKS','DqHiq','testContextOptions','browserName','validateRerunTestList','exports','CODECEPT','tEhcD','test','708mmqnam','errorMessage','log','zLoWW','forEach','HBSCu','cwd','isEmpty','WebDriver','dwsrU','host','Getting\x20your\x20codeceptjs\x20configs\x20from\x20','length','process','chromium','format','../../helpers/performance/constants','5434456tSgLCq','err','../utils/constants','--config','vSjwR','require','../../helpers/utilities','codecept.json','moMgh','createGroupsOfSuites','failed','uwghV','playwright-firefox','4pNyEAk','uBTKh','Passed\x20:\x20','replace','assign','split','util','slice','dirname','path','user','existsSync','../../bin/playwright/accessibility-helper','3xXwREK','chdir','userName','Started\x20:\x20','addOptions','spawn','popaS','Workers','HxHvq','FXqsc','BROWSERSTACK_RERUN_TESTS','end','USER_CONFIG_DETAILS_PATH','EVENTS','SDK_SETUP','0|1|5|2|3|4','KVbsI','printResults','../../helpers/logger','/wd/hub','start','parallelsPerPlatform','getUserWorkerCount','iZvve','7430OfXxdF','profile','prepareCapabilities','bootstrapAll','accessibilityOptions','../../helpers/performance/performance-tester','winstonLogger','codeceptjs/lib/index.js','Failed\x20:\x20','helpers','enabled','isTrue','webkit','../../helpers/BrowserStackSetup','stop','useW3C','obHCU','1690716iIfmNu','now','teardownAll','findIndex','SDK_CLEANUP','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','root','addTests','skipSessionStatus','dslLU','20187cMGJjQ','844324BFfJOz','before','join'];a2_0x20f2=function(){return _0x193739;};return a2_0x20f2();}const pwToCodeceptBrowser=a2_0x312f10;async function run(_0xa182ad,_0x2f5c62,_0x4a8f28){const _0x5e406d=a2_0x2b5e63,_0x48b9c2={'AWcls':function(_0x1c4642,_0x13a69e,_0x37c140,_0x2c324d){return _0x1c4642(_0x13a69e,_0x37c140,_0x2c324d);},'ukwgt':function(_0x18826f,_0x5af3c6){return _0x18826f+_0x5af3c6;},'tEhcD':function(_0x3108db,_0x99927a){return _0x3108db(_0x99927a);},'dwsrU':function(_0x2c9412,_0x11a723,_0x4d1769){return _0x2c9412(_0x11a723,_0x4d1769);},'PkYGh':'helpers','KVbsI':function(_0x51bf1a){return _0x51bf1a();},'JtKNi':_0x5e406d(0xbe),'moMgh':_0x5e406d(0xcb),'PWjio':_0x5e406d(0xa0),'DpQhA':_0x5e406d(0xae),'swZPA':_0x5e406d(0xba),'uwghV':'Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','MhjZJ':function(_0x15ce32,_0x4e71ab,_0x3bdc89){return _0x15ce32(_0x4e71ab,_0x3bdc89);},'HxHvq':'Playwright','dslLU':'WebDriver','iZvve':function(_0x1513b7,_0x12f756){return _0x1513b7!=_0x12f756;},'popaS':function(_0x2c5fb5,_0x405dd8){return _0x2c5fb5===_0x405dd8;},'bLKHd':function(_0x2e12d5,_0x44cbfa,_0x3a2012){return _0x2e12d5(_0x44cbfa,_0x3a2012);},'FXqsc':'gherkin','uBTKh':function(_0xf4d020,_0x58c1ba){return _0xf4d020*_0x58c1ba;},'Cfdbx':function(_0xf8999c,_0x111347,_0x474c61){return _0xf8999c(_0x111347,_0x474c61);},'qDFXO':_0x5e406d(0x108),'ctlkx':function(_0x2be437,_0x4367a3,_0x2b15fd){return _0x2be437(_0x4367a3,_0x2b15fd);},'vSjwR':_0x5e406d(0xe2),'tpkZJ':_0x5e406d(0xda),'DqHiq':'BrowserStackPlugin.js','HBSCu':'browserStackCwd'};await _0x4a8f28['initialize'](_0xa182ad),await helper[_0x5e406d(0xe3)](_0x4a8f28[_0x5e406d(0x103)]);if(!_0x4a8f28[_0x5e406d(0x103)])return;process['profile']=_0xa182ad[_0x5e406d(0xc4)];_0xa182ad['profile']&&(process[_0x5e406d(0xe5)][_0x5e406d(0xc4)]=_0xa182ad[_0x5e406d(0xc4)]);const _0x4e03d5=_0x48b9c2[_0x5e406d(0x89)](getUserCodeceptJSConfigs,_0xa182ad,_0x2f5c62);let _0x48162c={};_0x4e03d5?(logger[_0x5e406d(0xf5)](_0x5e406d(0x8b)+_0x4e03d5),_0x48162c=CodeceptJS['config'][_0x5e406d(0xfd)](_0x4e03d5)):logger[_0x5e406d(0xf5)](_0x48b9c2[_0x5e406d(0x9c)]);let _0x1252af=![];_0x48b9c2[_0x5e406d(0xfb)](nestedKeyValue,_0x48162c,[_0x48b9c2[_0x5e406d(0xf7)],_0x48b9c2[_0x5e406d(0xb3)]])&&(_0x1252af=!![]);const _0x504674=_0x1252af?_0x48b9c2['HxHvq']:_0x48b9c2[_0x5e406d(0xdd)];let _0x5c29ab=!_0x1252af?helper[_0x5e406d(0xd2)](_0x4a8f28[_0x5e406d(0x103)]):![];!helper[_0x5e406d(0xfc)](_0x4a8f28[_0x5e406d(0x103)][_0x5e406d(0xc7)])&&(process[_0x5e406d(0xe5)][_0x5e406d(0xd9)]=JSON['stringify'](_0x4a8f28[_0x5e406d(0x103)]['accessibilityOptions']));let _0x430214=_0x4a8f28[_0x5e406d(0x103)][_0x5e406d(0xe8)];_0x430214=_0x430214||_0x48b9c2[_0x5e406d(0x7e)](checkAccessibilityPlatformConfig,_0x4a8f28[_0x5e406d(0x103)]),process[_0x5e406d(0xe5)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x430214;_0x430214&&(_0x5c29ab=!_0x430214);_0x48b9c2[_0x5e406d(0xc2)](_0x4a8f28[_0x5e406d(0x103)][_0x5e406d(0xfa)],null)?process['env'][_0x5e406d(0xf2)]=_0x4a8f28['config'][_0x5e406d(0xfa)]:process[_0x5e406d(0xe5)][_0x5e406d(0xf2)]=_0x48b9c2[_0x5e406d(0xb1)](_0x504674,_0x48b9c2[_0x5e406d(0xb3)]);const _0x51cf7d=_0x48b9c2[_0x5e406d(0xe9)](nestedKeyValue,_0x48162c,[_0x48b9c2[_0x5e406d(0xb4)]]),_0x217e76=_0x51cf7d&&!helper[_0x5e406d(0x87)](_0x51cf7d)?FRAMEWORKS['CODECEPT_CUCUMBER']:FRAMEWORKS[_0x5e406d(0x7d)],_0x416366=await TestHubHandler['launchBuild'](_0x217e76,_0x4a8f28);_0x430214&&_0x48b9c2[_0x5e406d(0x7e)](setAccessibilityCapabilities,_0x4a8f28[_0x5e406d(0x103)]);const _0x36a8c2={},_0x36d7b4=[],_0x179688=_0x4a8f28[_0x5e406d(0x103)][_0x5e406d(0xc0)]||helper[_0x5e406d(0xc1)](_0xa182ad,_0x2f5c62,_0x4a8f28[_0x5e406d(0x103)],constants[_0x5e406d(0x77)][_0x5e406d(0x7d)])||0x1;let _0x6762b3=0x1;if(_0x48b9c2[_0x5e406d(0xbb)](isBrowserstackInfra)){const _0x22c903=helper[_0x5e406d(0xc5)](_0x4a8f28['config'],_0x5c29ab,constants[_0x5e406d(0x77)][_0x5e406d(0x7d)]);_0x22c903['forEach'](_0x3dbd61=>{helper['setAdditionalCapabilities'](_0x3dbd61);}),helper['validPlatformsPresent'](_0x4a8f28['config'])?_0x6762b3=_0x48b9c2[_0x5e406d(0x9f)](_0x179688,_0x4a8f28[_0x5e406d(0x103)][_0x5e406d(0xeb)][_0x5e406d(0x8c)]):_0x6762b3=_0x179688,_0x22c903[_0x5e406d(0x84)](_0x40ffe5=>{const _0x5eaa6c=_0x5e406d,_0x277f64=_0x48b9c2['ukwgt'](helper[_0x5eaa6c(0xf0)](_0x40ffe5,'_'),'_'+Date[_0x5eaa6c(0xd5)]()),_0x4861f1=((()=>{const _0x431cff=_0x5eaa6c;if(_0x1252af){const _0x455db0=pwToCodeceptBrowser[_0x40ffe5['browserName']]||_0x40ffe5[_0x431cff(0x7a)],_0x135b21=helper['getPlaywrightUrl'](_0x4a8f28[_0x431cff(0x103)]),_0x23e018=Object[_0x431cff(0xa2)]({},_0x40ffe5);return _0x48b9c2['AWcls'](processAccessibilityCaps,_0x23e018,_0x135b21,null),{'browser':_0x455db0,[_0x455db0]:{'browserWSEndpoint':_0x48b9c2[_0x431cff(0xed)](_0x135b21,_0x48b9c2[_0x431cff(0x7e)](encodeURIComponent,JSON[_0x431cff(0x104)](_0x23e018)))}};}const _0x2adff0={};return _0x2adff0[_0x431cff(0xe2)]=_0x40ffe5,_0x2adff0[_0x431cff(0xa8)]=_0x4a8f28[_0x431cff(0x103)][_0x431cff(0xad)],_0x2adff0[_0x431cff(0x100)]=_0x4a8f28[_0x431cff(0x103)]['accessKey'],_0x2adff0;})()),_0x5ba3e5=_0x48b9c2['dwsrU'](nestedKeyValue,_0x48162c,[_0x48b9c2[_0x5eaa6c(0xf7)],_0x504674]);_0x36a8c2[_0x277f64]=_0x5ba3e5?helper[_0x5eaa6c(0xf3)](_0x4861f1,_0x5ba3e5):_0x4861f1;if(_0x1252af)_0x36a8c2[_0x277f64]['browser']=pwToCodeceptBrowser[_0x40ffe5[_0x5eaa6c(0x7a)]]||_0x40ffe5[_0x5eaa6c(0x7a)];else{_0x36a8c2[_0x277f64][_0x5eaa6c(0x108)]=_0x40ffe5[_0x5eaa6c(0x7a)]||_0x4861f1[_0x5eaa6c(0x108)];if(_0x48b9c2[_0x5eaa6c(0xbb)](isBrowserstackInfra)){_0x36a8c2[_0x277f64][_0x5eaa6c(0x8a)]=constants['hubUrl'][_0x5eaa6c(0xa1)](_0x48b9c2[_0x5eaa6c(0x74)],'')[_0x5eaa6c(0xa1)](/https?:\/\//,'');;_0x36a8c2[_0x277f64][_0x5eaa6c(0xa7)]=_0x48b9c2[_0x5eaa6c(0x74)];}}_0x36d7b4['push'](_0x277f64);});}else{_0x6762b3=0x1;if(_0x1252af){const _0x3b31d0=_0x48b9c2[_0x5e406d(0xf9)](nestedKeyValue,_0x48162c,[_0x48b9c2[_0x5e406d(0xf7)],_0x504674,_0x48b9c2['qDFXO']]),_0x261e23=_0x48b9c2['ctlkx'](nestedKeyValue,_0x48162c,[_0x48b9c2[_0x5e406d(0xf7)],_0x504674,_0x3b31d0]);if(_0x261e23&&_0x261e23[_0x5e406d(0x10a)]){const _0x81c665={};_0x81c665[_0x5e406d(0xeb)]=[],_0x261e23[_0x5e406d(0x10a)]=helper[_0x5e406d(0xc5)](Object[_0x5e406d(0xa2)]({},_0x4a8f28[_0x5e406d(0x103)],_0x81c665),null,_0x217e76[_0x5e406d(0x73)](),null,null,_0x261e23[_0x5e406d(0x10a)]);}}else{const _0x21ad74={};_0x21ad74[_0x5e406d(0xeb)]=[],_0x48162c[_0x48b9c2[_0x5e406d(0xf7)]][_0x504674][_0x48b9c2['vSjwR']]=helper['prepareCapabilities'](Object[_0x5e406d(0xa2)]({},_0x4a8f28['config'],_0x21ad74),null,_0x217e76[_0x5e406d(0x73)](),_0x48b9c2['Cfdbx'](nestedKeyValue,_0x48162c,[_0x48b9c2['PkYGh'],_0x504674,_0x48b9c2[_0x5e406d(0x95)]])||{},null,null);}_0x36a8c2[_0x48b9c2['tpkZJ']]=_0x48162c,_0x36d7b4['push'](_0x48b9c2['tpkZJ']);}const _0x514e9f={};_0x514e9f['testConfig']=_0x4e03d5;const _0x209e95=_0x514e9f,_0x332782=path[_0x5e406d(0xe1)](__dirname,_0x48b9c2[_0x5e406d(0x78)]),_0x183b36=process[_0x5e406d(0x86)]();process['env'][_0x48b9c2[_0x5e406d(0x85)]]=_0x183b36,process[_0x5e406d(0xac)](path[_0x5e406d(0xa6)](_0x4e03d5));const _0x11857c=new CodeceptJS[(_0x5e406d(0xb2))](null,_0x209e95),_0x2d7396=_0x11857c[_0x5e406d(0x9a)](_0x179688),_0x141713=testOpsHelper['isTestObservabilitySession'](),_0x3e0677=_0x36d7b4[_0x5e406d(0xe4)](_0x57883a=>{const _0x5b4c41=_0x5e406d,_0x2c7cac={};_0x2c7cac[_0x5b4c41(0x102)]=_0x36a8c2[_0x57883a];const _0x2590cd={};_0x2590cd[_0x5b4c41(0x88)]=_0x36a8c2[_0x57883a];const _0x400d86=_0x1252af?_0x2c7cac:_0x2590cd,_0xdc8fc2=_0x48b9c2[_0x5b4c41(0xbb)](getO11yRerunPattern),_0x50df08={};_0x50df08[_0x5b4c41(0xcc)]=_0x400d86;const _0x5c685b={};_0x5c685b[_0x5b4c41(0x96)]=_0x332782,_0x5c685b[_0x5b4c41(0xcd)]=!![],_0x5c685b[_0x5b4c41(0xea)]=_0x4a8f28[_0x5b4c41(0x103)][_0x5b4c41(0x79)][_0x5b4c41(0xea)],_0x5c685b[_0x5b4c41(0xdc)]=_0x4a8f28[_0x5b4c41(0x103)][_0x5b4c41(0x79)][_0x5b4c41(0xdc)],_0x5c685b['testObservability']=_0x141713,_0x5c685b['frameworkName']=_0x217e76;const _0x5d903b={};_0x5d903b['BrowserStackPlugin']=_0x5c685b;const _0x32720c={};return _0x32720c['plugins']=_0x5d903b,helper[_0x5b4c41(0xf3)]({},_0x48162c,_0x48b9c2[_0x5b4c41(0xbb)](isBrowserstackInfra)?_0x50df08:{},_0xdc8fc2?{'grep':_0xdc8fc2}:{},_0x32720c);});for(const _0x15554e of _0x3e0677){for(const _0x26bd7e of _0x2d7396){const _0x210db7=_0x11857c[_0x5e406d(0xb0)]();_0x210db7[_0x5e406d(0xdb)](_0x26bd7e),_0x210db7['addConfig'](_0x15554e);const _0x2a433c={};_0x2a433c[_0x5e406d(0x103)]=_0x4e03d5,_0x210db7[_0x5e406d(0xaf)](Object[_0x5e406d(0xa2)](_0x2a433c,_0xa182ad));}}_0x11857c['on'](CodeceptJS[_0x5e406d(0xf8)][_0x5e406d(0x7f)][_0x5e406d(0x9b)],(_0x12ef0d,_0xa84069)=>{const _0x6cad86=_0x5e406d;console[_0x6cad86(0x82)](_0x48b9c2[_0x6cad86(0x99)],_0x12ef0d[_0x6cad86(0xff)]);const _0x2c0e3e={[_0x12ef0d[_0x6cad86(0xff)]]:_0x12ef0d[_0x6cad86(0x92)][_0x6cad86(0xef)]};_testErrorData['push'](_0x2c0e3e);}),_0x11857c['on'](CodeceptJS[_0x5e406d(0xf8)][_0x5e406d(0x7f)][_0x5e406d(0x109)],async _0xbffb12=>{const _0x119c7b=_0x5e406d;console['log'](_0x48b9c2['PWjio'],_0xbffb12[_0x119c7b(0xff)]);}),_0x11857c['on'](CodeceptJS['event'][_0x5e406d(0x7f)][_0x5e406d(0xe0)],async _0x21dc9c=>{const _0x18c4c5=_0x5e406d;console[_0x18c4c5(0x82)](_0x48b9c2[_0x18c4c5(0x105)],_0x21dc9c[_0x18c4c5(0xff)]);}),_0x11857c['on'](CodeceptJS[_0x5e406d(0xf8)]['all'][_0x5e406d(0x107)],async()=>{const _0x126af9=_0x5e406d,_0xefeb34=_0x48b9c2['swZPA'][_0x126af9(0xa3)]('|');let _0x4498af=0x0;while(!![]){switch(_0xefeb34[_0x4498af++]){case'0':PerformanceTester[_0x126af9(0xbf)](PerformanceEvents[_0x126af9(0xd8)]);continue;case'1':_0x4a8f28[_0x126af9(0x81)]=_testErrorData;continue;case'2':utilities['finalExecution'](_0x4a8f28);continue;case'3':try{await TestHubHandler[_0x126af9(0xd1)]();}catch(_0x51c4c8){logger['debug']('Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20'+util[_0x126af9(0x8f)](_0x51c4c8));}continue;case'4':_0x11857c[_0x126af9(0xbc)]();continue;case'5':testOpsHelper['printBuildLink']();continue;}break;}});async function _0x55772b(){const _0x72ebd=_0x5e406d;try{await _0x11857c[_0x72ebd(0xc6)](),await _0x11857c[_0x72ebd(0xe6)]();}finally{process[_0x72ebd(0xac)](_0x183b36),await _0x11857c[_0x72ebd(0xd6)]();}}PerformanceTester[_0x5e406d(0xb6)](PerformanceEvents[_0x5e406d(0xb9)]),await _0x48b9c2[_0x5e406d(0xbb)](_0x55772b);}module[a2_0x2b5e63(0x7c)]=run;
|
|
2
|
+
'use strict';const a2_0x3edaed=a2_0x5ea0;(function(_0x495684,_0x10d7cd){const _0x7faf38=a2_0x5ea0,_0x182a40=_0x495684();while(!![]){try{const _0x1dcda6=-parseInt(_0x7faf38(0x24b))/0x1+parseInt(_0x7faf38(0x1e3))/0x2*(parseInt(_0x7faf38(0x21d))/0x3)+parseInt(_0x7faf38(0x26a))/0x4*(parseInt(_0x7faf38(0x1f5))/0x5)+-parseInt(_0x7faf38(0x257))/0x6*(-parseInt(_0x7faf38(0x209))/0x7)+-parseInt(_0x7faf38(0x21b))/0x8+parseInt(_0x7faf38(0x1ec))/0x9+-parseInt(_0x7faf38(0x25c))/0xa;if(_0x1dcda6===_0x10d7cd)break;else _0x182a40['push'](_0x182a40['shift']());}catch(_0x3fa3c3){_0x182a40['push'](_0x182a40['shift']());}}}(a2_0x825e,0x32d77));const fs=require('fs'),path=require(a2_0x3edaed(0x211)),util=require(a2_0x3edaed(0x1e9)),process=require(a2_0x3edaed(0x256)),logger=require('../../helpers/logger')[a2_0x3edaed(0x263)],{default:BrowserStackSetup}=require(a2_0x3edaed(0x262)),helper=require(a2_0x3edaed(0x1e4)),utilities=require(a2_0x3edaed(0x25e)),{checkAccessibilityPlatformConfig}=require(a2_0x3edaed(0x24f)),{setAccessibilityCapabilities,processAccessibilityCaps}=require(a2_0x3edaed(0x216)),{requireModule,nestedKeyValue,isBrowserstackInfra}=require(a2_0x3edaed(0x1e4)),CodeceptJS=requireModule('codeceptjs/lib/index.js',a2_0x3edaed(0x260)),testOpsHelper=require('../../helpers/test-observability/utils'),TestHubHandler=require(a2_0x3edaed(0x227)),constants=require(a2_0x3edaed(0x20e)),PerformanceTester=require(a2_0x3edaed(0x26f)),{FRAMEWORKS}=require(a2_0x3edaed(0x1f7)),PerformanceEvents=require(a2_0x3edaed(0x21e))[a2_0x3edaed(0x243)],ClientTroubleShootingService=require(a2_0x3edaed(0x25d)),_testErrorData=[],getUserCodeceptJSConfigs=(_0x21e377,_0x5a49ba)=>{const _0x4456d1=a2_0x3edaed,_0x367f14={};_0x367f14['XesXy']=function(_0x4b1c60,_0x267107){return _0x4b1c60===_0x267107;},_0x367f14[_0x4456d1(0x20d)]=_0x4456d1(0x222),_0x367f14['pDDfd']=_0x4456d1(0x1ed);const _0x20851c=_0x367f14;let _0x52be77=null;const _0x29805a={};let _0x4ab857=_0x5a49ba[_0x4456d1(0x219)](_0x21e7af=>_0x21e7af===_0x4456d1(0x26b));_0x20851c[_0x4456d1(0x226)](_0x4ab857,-0x1)&&(_0x4ab857=_0x5a49ba[_0x4456d1(0x219)](_0x319c8d=>_0x319c8d==='-c'));if(!helper[_0x4456d1(0x251)](_0x21e377[_0x4456d1(0x1fa)])&&fs['existsSync'](path[_0x4456d1(0x23e)](process[_0x4456d1(0x1de)](),_0x21e377[_0x4456d1(0x1fa)])))_0x52be77=path['join'](process[_0x4456d1(0x1de)](),_0x21e377[_0x4456d1(0x1fa)]),_0x5a49ba[_0x4456d1(0x259)](_0x4ab857,0x2);else{if(!helper['isUndefined'](_0x21e377['c'])&&fs['existsSync'](path['join'](process[_0x4456d1(0x1de)](),_0x21e377['c'])))_0x52be77=path[_0x4456d1(0x23e)](process['cwd'](),_0x21e377['c']),_0x5a49ba['slice'](_0x4ab857,0x2);else{if(fs[_0x4456d1(0x1f0)](path['join'](process[_0x4456d1(0x1de)](),_0x20851c[_0x4456d1(0x20d)])))_0x52be77=path[_0x4456d1(0x23e)](process['cwd'](),_0x20851c[_0x4456d1(0x20d)]);else fs['existsSync'](path[_0x4456d1(0x23e)](process[_0x4456d1(0x1de)](),_0x20851c['pDDfd']))&&(_0x52be77=path[_0x4456d1(0x23e)](process[_0x4456d1(0x1de)](),_0x20851c[_0x4456d1(0x25a)]));}}return process['env'][_0x4456d1(0x207)]=_0x52be77,_0x52be77;},getO11yRerunPattern=()=>{const _0x5ebdce=a2_0x3edaed,_0x4a55bf=helper[_0x5ebdce(0x1db)](process[_0x5ebdce(0x268)][_0x5ebdce(0x225)]);if(_0x4a55bf){const _0x31274a=process[_0x5ebdce(0x268)][_0x5ebdce(0x1fd)],_0x5d0813=[];if(helper[_0x5ebdce(0x26c)](_0x31274a)&&!helper['isUndefined'](_0x31274a)){_0x31274a[_0x5ebdce(0x1d6)](',')[_0x5ebdce(0x201)](_0x5871c3=>{const _0x59f250=_0x5ebdce;_0x5d0813[_0x59f250(0x1e2)]('('+_0x5871c3[_0x59f250(0x1da)]()+')');});const _0x40ad2e='^'+_0x5d0813[_0x5ebdce(0x23e)]('|')+'$';return _0x40ad2e;}}return null;},a2_0x3a8c7d={};function a2_0x5ea0(_0x10e7c8,_0x4a0eb5){const _0x825e30=a2_0x825e();return a2_0x5ea0=function(_0x5ea048,_0x4cd5f3){_0x5ea048=_0x5ea048-0x1d6;let _0x2c4498=_0x825e30[_0x5ea048];return _0x2c4498;},a2_0x5ea0(_0x10e7c8,_0x4a0eb5);}a2_0x3a8c7d[a2_0x3edaed(0x238)]=a2_0x3edaed(0x1ee),a2_0x3a8c7d[a2_0x3edaed(0x22e)]=a2_0x3edaed(0x1ee),a2_0x3a8c7d[a2_0x3edaed(0x261)]=a2_0x3edaed(0x1f3),a2_0x3a8c7d['playwright-webkit']='webkit';function a2_0x825e(){const _0x3883cf=['../../helpers/BrowserStackSetup','winstonLogger','PAbFS','nJEZz','setAdditionalCapabilities','key','env','prepareCapabilities','16vFgaNm','--config','validateRerunTestList','qGOTh','bOdhE','../../helpers/performance/performance-tester','split','WebDriver','browser','createGroupsOfSuites','trim','isTrue','require','Workers','cwd','all','MIuUn','btgdO','push','18plVBKM','../../helpers/helper','addConfig','kqIFf','RWCvz','zLfgc','util','njqsD','hubUrl','1595322NULsTc','codecept.json','chromium','CODECEPT_CUCUMBER','existsSync','0|4|2|1|3|5','before','firefox','passed','252610ANScQo','UyJOQ','../../helpers/test-observability/constants','AsOSf','toLowerCase','config','testConfig','getPlatformName','BROWSERSTACK_RERUN_TESTS','assign','AFAtC','addTests','map','desiredCapabilities','skipSessionName','initialize','info','exports','USER_CONFIG_DETAILS_PATH','event','77uNmMgs','end','start','finalExecution','UhdIY','../utils/constants','JVoQv','testObservability','path','drNni','NkUFo','stack','replace','../../bin/playwright/accessibility-helper','length','chdir','findIndex','oURNq','1005008ZTXlqh','BROWSERSTACK_TEST_OBSERVABILITY_YML','125754rWmgcX','../../helpers/performance/constants','FEuKJ','debug','stop','codecept.conf.js','mergeDeep','COvDU','BROWSERSTACK_RERUN','XesXy','../../helpers/testhub/testhubHandler','SDK_CLEANUP','title','WCQeW','result','urTgm','browserWSEndpoint','playwright-chromium','accessKey','profile','browserName','launchBuild','err','testContextOptions','accessibilityOptions','log','cwBkR','chrome','teardownAll','isTestObservabilitySession','now','host','root','join','CODECEPT','addOptions','platforms','user','EVENTS','useW3C','FRAMEWORKS','cGoFT','test','Failed\x20:\x20','printResults','Started\x20:\x20','210306xQMBgM','validPlatformsPresent','Getting\x20your\x20codeceptjs\x20configs\x20from\x20','Fnbav','../../helpers/accessibility-automation/helper','helpers','isUndefined','frameworkName','iJYjV','enabled','accessibility','process','82740kwaKew','format','slice','pDDfd','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','3641190MonGmm','../utils/clientTroubleshootingService','../../helpers/utilities','stringify','codeceptjs','playwright-firefox'];a2_0x825e=function(){return _0x3883cf;};return a2_0x825e();}const pwToCodeceptBrowser=a2_0x3a8c7d;async function run(_0x4c7ccd,_0x22d8e2,_0x1bfd61){const _0x8c2a32=a2_0x3edaed,_0x38d7f5={'iJYjV':function(_0x33de9e,_0x53dc11,_0x41dc57,_0x32d22d){return _0x33de9e(_0x53dc11,_0x41dc57,_0x32d22d);},'UyJOQ':function(_0x14dce9,_0x1ef4c3){return _0x14dce9+_0x1ef4c3;},'zLfgc':function(_0x3b91d7,_0x4e4b5b){return _0x3b91d7(_0x4e4b5b);},'RWCvz':function(_0x18e4bf,_0x3db625,_0x42a2e1){return _0x18e4bf(_0x3db625,_0x42a2e1);},'MIuUn':_0x8c2a32(0x250),'FEuKJ':function(_0x5c3d15){return _0x5c3d15();},'Fnbav':'/wd/hub','kqIFf':function(_0x167dd3){return _0x167dd3();},'AFAtC':function(_0x8f28f0){return _0x8f28f0();},'bOdhE':_0x8c2a32(0x248),'qGOTh':'Passed\x20:\x20','drNni':_0x8c2a32(0x24a),'NkUFo':_0x8c2a32(0x1f1),'urTgm':'Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','PAbFS':'Playwright','AsOSf':'WebDriver','COvDU':function(_0x4cd068,_0x53b8a0){return _0x4cd068(_0x53b8a0);},'cGoFT':function(_0x4f335a,_0x3a586d){return _0x4f335a!=_0x3a586d;},'WCQeW':function(_0x296c8c,_0x18b37c){return _0x296c8c===_0x18b37c;},'JVoQv':function(_0x5dae37,_0x20c706,_0x5d7081){return _0x5dae37(_0x20c706,_0x5d7081);},'nJEZz':'gherkin','UwvEv':function(_0x5788f4,_0x47efc5){return _0x5788f4*_0x47efc5;},'IKMTY':function(_0x4066a2,_0x3cab72,_0x41db73){return _0x4066a2(_0x3cab72,_0x41db73);},'btgdO':'browser','njqsD':_0x8c2a32(0x202),'oURNq':_0x8c2a32(0x23d),'cwBkR':'BrowserStackPlugin.js','yQisq':'browserStackCwd'};await _0x1bfd61[_0x8c2a32(0x204)](_0x4c7ccd),await helper['handleApp'](_0x1bfd61[_0x8c2a32(0x1fa)]);if(!_0x1bfd61[_0x8c2a32(0x1fa)])return;process[_0x8c2a32(0x230)]=_0x4c7ccd[_0x8c2a32(0x230)];_0x4c7ccd[_0x8c2a32(0x230)]&&(process['env'][_0x8c2a32(0x230)]=_0x4c7ccd[_0x8c2a32(0x230)]);const _0x30835c=_0x38d7f5[_0x8c2a32(0x1e7)](getUserCodeceptJSConfigs,_0x4c7ccd,_0x22d8e2);let _0x28d54d={};_0x30835c?(logger[_0x8c2a32(0x205)](_0x8c2a32(0x24d)+_0x30835c),_0x28d54d=CodeceptJS[_0x8c2a32(0x1fa)]['load'](_0x30835c)):logger[_0x8c2a32(0x205)](_0x38d7f5[_0x8c2a32(0x22c)]);let _0x1e18bc=![];_0x38d7f5['RWCvz'](nestedKeyValue,_0x28d54d,[_0x38d7f5[_0x8c2a32(0x1e0)],_0x38d7f5[_0x8c2a32(0x264)]])&&(_0x1e18bc=!![]);const _0x1df457=_0x1e18bc?_0x38d7f5['PAbFS']:_0x38d7f5[_0x8c2a32(0x1f8)];let _0x546bd1=!_0x1e18bc?helper[_0x8c2a32(0x244)](_0x1bfd61[_0x8c2a32(0x1fa)]):![];!helper[_0x8c2a32(0x251)](_0x1bfd61[_0x8c2a32(0x1fa)][_0x8c2a32(0x235)])&&(process[_0x8c2a32(0x268)][_0x8c2a32(0x25b)]=JSON[_0x8c2a32(0x25f)](_0x1bfd61[_0x8c2a32(0x1fa)][_0x8c2a32(0x235)]));let _0x122b6d=_0x1bfd61[_0x8c2a32(0x1fa)][_0x8c2a32(0x255)];_0x122b6d=_0x122b6d||_0x38d7f5[_0x8c2a32(0x224)](checkAccessibilityPlatformConfig,_0x1bfd61[_0x8c2a32(0x1fa)]),process[_0x8c2a32(0x268)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x122b6d;_0x122b6d&&(_0x546bd1=!_0x122b6d);_0x38d7f5[_0x8c2a32(0x246)](_0x1bfd61[_0x8c2a32(0x1fa)][_0x8c2a32(0x210)],null)?process[_0x8c2a32(0x268)][_0x8c2a32(0x21c)]=_0x1bfd61[_0x8c2a32(0x1fa)][_0x8c2a32(0x210)]:process[_0x8c2a32(0x268)][_0x8c2a32(0x21c)]=_0x38d7f5[_0x8c2a32(0x22a)](_0x1df457,_0x38d7f5[_0x8c2a32(0x264)]);const _0x466ab5=_0x38d7f5[_0x8c2a32(0x20f)](nestedKeyValue,_0x28d54d,[_0x38d7f5[_0x8c2a32(0x265)]]),_0x568fe6=_0x466ab5&&!helper['isEmpty'](_0x466ab5)?FRAMEWORKS[_0x8c2a32(0x1ef)]:FRAMEWORKS[_0x8c2a32(0x23f)],_0x34bf1c=await TestHubHandler[_0x8c2a32(0x232)](_0x568fe6,_0x1bfd61);_0x122b6d&&_0x38d7f5['COvDU'](setAccessibilityCapabilities,_0x1bfd61['config']);const _0x39bb4d={},_0x39c445=[],_0x2bb4f8=_0x1bfd61['config']['parallelsPerPlatform']||helper['getUserWorkerCount'](_0x4c7ccd,_0x22d8e2,_0x1bfd61['config'],constants[_0x8c2a32(0x245)][_0x8c2a32(0x23f)])||0x1;let _0x6c1655=0x1;if(_0x38d7f5[_0x8c2a32(0x1ff)](isBrowserstackInfra)){const _0x592e65=helper[_0x8c2a32(0x269)](_0x1bfd61[_0x8c2a32(0x1fa)],_0x546bd1,constants[_0x8c2a32(0x245)][_0x8c2a32(0x23f)]);_0x592e65['forEach'](_0x3a914f=>{const _0x4be1c0=_0x8c2a32;helper[_0x4be1c0(0x266)](_0x3a914f);}),helper[_0x8c2a32(0x24c)](_0x1bfd61[_0x8c2a32(0x1fa)])?_0x6c1655=_0x38d7f5['UwvEv'](_0x2bb4f8,_0x1bfd61['config'][_0x8c2a32(0x241)][_0x8c2a32(0x217)]):_0x6c1655=_0x2bb4f8,_0x592e65['forEach'](_0x428077=>{const _0x1c6eb4=_0x8c2a32,_0x2ab08e=_0x38d7f5[_0x1c6eb4(0x1f6)](helper[_0x1c6eb4(0x1fc)](_0x428077,'_'),'_'+Date[_0x1c6eb4(0x23b)]()),_0x22d29b=((()=>{const _0x91038b=_0x1c6eb4;if(_0x1e18bc){const _0x2e20b8=pwToCodeceptBrowser[_0x428077[_0x91038b(0x231)]]||_0x428077[_0x91038b(0x231)],_0x53c788=helper['getPlaywrightUrl'](_0x1bfd61['config']),_0x6d1d59=Object[_0x91038b(0x1fe)]({},_0x428077);return _0x38d7f5[_0x91038b(0x253)](processAccessibilityCaps,_0x6d1d59,_0x53c788,null),{'browser':_0x2e20b8,[_0x2e20b8]:{'browserWSEndpoint':_0x38d7f5['UyJOQ'](_0x53c788,_0x38d7f5[_0x91038b(0x1e8)](encodeURIComponent,JSON[_0x91038b(0x25f)](_0x6d1d59)))}};}const _0x260932={};return _0x260932[_0x91038b(0x202)]=_0x428077,_0x260932[_0x91038b(0x242)]=_0x1bfd61['config']['userName'],_0x260932[_0x91038b(0x267)]=_0x1bfd61[_0x91038b(0x1fa)][_0x91038b(0x22f)],_0x260932;})()),_0x2f5e66=_0x38d7f5[_0x1c6eb4(0x1e7)](nestedKeyValue,_0x28d54d,[_0x38d7f5['MIuUn'],_0x1df457]);_0x39bb4d[_0x2ab08e]=_0x2f5e66?helper[_0x1c6eb4(0x223)](_0x22d29b,_0x2f5e66):_0x22d29b;if(_0x1e18bc)_0x39bb4d[_0x2ab08e][_0x1c6eb4(0x1d8)]=pwToCodeceptBrowser[_0x428077['browserName']]||_0x428077[_0x1c6eb4(0x231)];else{_0x39bb4d[_0x2ab08e][_0x1c6eb4(0x1d8)]=_0x428077['browserName']||_0x22d29b[_0x1c6eb4(0x1d8)];if(_0x38d7f5[_0x1c6eb4(0x21f)](isBrowserstackInfra)){_0x39bb4d[_0x2ab08e][_0x1c6eb4(0x23c)]=constants[_0x1c6eb4(0x1eb)][_0x1c6eb4(0x215)](_0x38d7f5[_0x1c6eb4(0x24e)],'')['replace'](/https?:\/\//,'');;_0x39bb4d[_0x2ab08e]['path']=_0x38d7f5['Fnbav'];}}_0x39c445[_0x1c6eb4(0x1e2)](_0x2ab08e);});}else{_0x6c1655=0x1;if(_0x1e18bc){const _0x580091=_0x38d7f5['IKMTY'](nestedKeyValue,_0x28d54d,[_0x38d7f5[_0x8c2a32(0x1e0)],_0x1df457,_0x38d7f5[_0x8c2a32(0x1e1)]]),_0x5b679e=_0x38d7f5[_0x8c2a32(0x1e7)](nestedKeyValue,_0x28d54d,[_0x38d7f5[_0x8c2a32(0x1e0)],_0x1df457,_0x580091]);if(_0x5b679e&&_0x5b679e['browserWSEndpoint']){const _0x2c2946={};_0x2c2946[_0x8c2a32(0x241)]=[],_0x5b679e['browserWSEndpoint']=helper[_0x8c2a32(0x269)](Object['assign']({},_0x1bfd61[_0x8c2a32(0x1fa)],_0x2c2946),null,_0x568fe6[_0x8c2a32(0x1f9)](),null,null,_0x5b679e[_0x8c2a32(0x22d)]);}}else{const _0x345bb2={};_0x345bb2[_0x8c2a32(0x241)]=[],_0x28d54d[_0x38d7f5[_0x8c2a32(0x1e0)]][_0x1df457][_0x38d7f5[_0x8c2a32(0x1ea)]]=helper[_0x8c2a32(0x269)](Object['assign']({},_0x1bfd61[_0x8c2a32(0x1fa)],_0x345bb2),null,_0x568fe6['toLowerCase'](),_0x38d7f5['JVoQv'](nestedKeyValue,_0x28d54d,[_0x38d7f5[_0x8c2a32(0x1e0)],_0x1df457,_0x38d7f5[_0x8c2a32(0x1ea)]])||{},null,null);}_0x39bb4d[_0x38d7f5[_0x8c2a32(0x21a)]]=_0x28d54d,_0x39c445['push'](_0x38d7f5[_0x8c2a32(0x21a)]);}const _0x58924f={};_0x58924f[_0x8c2a32(0x1fb)]=_0x30835c;const _0x5a155f=_0x58924f,_0x325cb6=path[_0x8c2a32(0x23e)](__dirname,_0x38d7f5[_0x8c2a32(0x237)]),_0x50c257=process[_0x8c2a32(0x1de)]();process[_0x8c2a32(0x268)][_0x38d7f5['yQisq']]=_0x50c257,process['chdir'](path['dirname'](_0x30835c));const _0x298b74=new CodeceptJS[(_0x8c2a32(0x1dd))](null,_0x5a155f),_0x1421e7=_0x298b74[_0x8c2a32(0x1d9)](_0x2bb4f8),_0x59bee7=testOpsHelper[_0x8c2a32(0x23a)](),_0x15b708=_0x39c445[_0x8c2a32(0x201)](_0x3a8639=>{const _0x3119dd=_0x8c2a32,_0x39d615={};_0x39d615['Playwright']=_0x39bb4d[_0x3a8639];const _0x55ffed={};_0x55ffed[_0x3119dd(0x1d7)]=_0x39bb4d[_0x3a8639];const _0x512142=_0x1e18bc?_0x39d615:_0x55ffed,_0x395528=_0x38d7f5[_0x3119dd(0x1e6)](getO11yRerunPattern),_0x270f98={};_0x270f98[_0x3119dd(0x250)]=_0x512142;const _0x5b654b={};_0x5b654b[_0x3119dd(0x1dc)]=_0x325cb6,_0x5b654b[_0x3119dd(0x254)]=!![],_0x5b654b['skipSessionName']=_0x1bfd61[_0x3119dd(0x1fa)]['testContextOptions'][_0x3119dd(0x203)],_0x5b654b['skipSessionStatus']=_0x1bfd61['config'][_0x3119dd(0x234)]['skipSessionStatus'],_0x5b654b[_0x3119dd(0x210)]=_0x59bee7,_0x5b654b[_0x3119dd(0x252)]=_0x568fe6;const _0x1c916d={};_0x1c916d['BrowserStackPlugin']=_0x5b654b;const _0x5c842b={};return _0x5c842b['plugins']=_0x1c916d,helper[_0x3119dd(0x223)]({},_0x28d54d,_0x38d7f5[_0x3119dd(0x1ff)](isBrowserstackInfra)?_0x270f98:{},_0x395528?{'grep':_0x395528}:{},_0x5c842b);});for(const _0x22da58 of _0x15b708){for(const _0x5f49d2 of _0x1421e7){const _0x2075bb=_0x298b74['spawn']();_0x2075bb[_0x8c2a32(0x200)](_0x5f49d2),_0x2075bb[_0x8c2a32(0x1e5)](_0x22da58);const _0x1a3cdc={};_0x1a3cdc[_0x8c2a32(0x1fa)]=_0x30835c,_0x2075bb[_0x8c2a32(0x240)](Object[_0x8c2a32(0x1fe)](_0x1a3cdc,_0x4c7ccd));}}_0x298b74['on'](CodeceptJS[_0x8c2a32(0x208)]['test']['failed'],(_0x996cb,_0x3557ac)=>{const _0xa4169a=_0x8c2a32;console[_0xa4169a(0x236)](_0x38d7f5[_0xa4169a(0x26e)],_0x996cb[_0xa4169a(0x229)]);const _0x565c47={[_0x996cb['title']]:_0x996cb[_0xa4169a(0x233)][_0xa4169a(0x214)]};_testErrorData['push'](_0x565c47);}),_0x298b74['on'](CodeceptJS[_0x8c2a32(0x208)]['test'][_0x8c2a32(0x1f4)],async _0xb93386=>{const _0x2d65b2=_0x8c2a32;console[_0x2d65b2(0x236)](_0x38d7f5[_0x2d65b2(0x26d)],_0xb93386[_0x2d65b2(0x229)]);}),_0x298b74['on'](CodeceptJS['event'][_0x8c2a32(0x247)][_0x8c2a32(0x1f2)],async _0x222843=>{const _0x4f646a=_0x8c2a32;console[_0x4f646a(0x236)](_0x38d7f5[_0x4f646a(0x212)],_0x222843['title']);}),_0x298b74['on'](CodeceptJS[_0x8c2a32(0x208)][_0x8c2a32(0x1df)][_0x8c2a32(0x22b)],async()=>{const _0x37b2f5=_0x8c2a32,_0x42b0ee=_0x38d7f5[_0x37b2f5(0x213)][_0x37b2f5(0x1d6)]('|');let _0x328e2a=0x0;while(!![]){switch(_0x42b0ee[_0x328e2a++]){case'0':PerformanceTester[_0x37b2f5(0x20b)](PerformanceEvents[_0x37b2f5(0x228)]);continue;case'1':utilities[_0x37b2f5(0x20c)](_0x1bfd61);continue;case'2':testOpsHelper['printBuildLink']();continue;case'3':try{await TestHubHandler[_0x37b2f5(0x221)]();}catch(_0x5843de){logger[_0x37b2f5(0x220)]('Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20'+util[_0x37b2f5(0x258)](_0x5843de));}continue;case'4':_0x1bfd61['errorMessage']=_testErrorData;continue;case'5':_0x298b74[_0x37b2f5(0x249)]();continue;}break;}});async function _0x22f89b(){const _0x1a634b=_0x8c2a32;try{await _0x298b74['bootstrapAll'](),await _0x298b74['run']();}finally{process[_0x1a634b(0x218)](_0x50c257),await _0x298b74[_0x1a634b(0x239)]();}}PerformanceTester[_0x8c2a32(0x20a)](PerformanceEvents['SDK_SETUP']),await _0x38d7f5[_0x8c2a32(0x21f)](_0x22f89b);}module[a2_0x3edaed(0x206)]=run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const a3_0x596f55=a3_0x2fb8;function a3_0x28e0(){const _0x98d69c=['CTFQw','nZVsW','1170071OmxuLR','../../helpers/accessibility-automation/helper','isVersionSupported','514850ohpegj','warn','kRRfD','latest','ZClUp','platform_version','BJJiF','parse','lXryb','pHXoq','YawWR','string','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20or\x20ChromeForTesting\x20browsers.','dIeUf','get','1605ShlUNH','browserstack_accessibility_automation_script','desiredCapabilities','../../helpers/test-observability/utils','../../helpers/logger','QwNBM','browser_version','3502176BjCKYN','searchParams','bstack:options','constructor','fetchPlatformDetails','\x20or\x20higher\x20','osVersion','config','name','7734PocLux','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20','207lDSVop','vpxJx','accessibilityPlatform','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','sessionId','getMinVersionForBrowser','capabilities','zlWBO','UZXLm','platformName','browserWSEndpoint','309736SiLZeP','MEGHK','processWebDriverConfig','browser','cygVu','Playwright','shouldPatchExecuteScript','WebDriver','getDetails','feHIo','tXrxJ','UFXof','__cloud_provider___','824laUJby','../../helpers/helper','browserName','browserstack_executor','lsFRa','includes','rFpPP','4902jJGfwA','on\x20non-BrowserStack\x20infrastructure\x20','AlDAl','deviceName','cloudProvider','555014ivKhmf','\x20browser\x20version\x20','VqvyI','browserVersion','nSnTK','unknown_grid','getBrowserDisplayName','Vusuh'];a3_0x28e0=function(){return _0x98d69c;};return a3_0x28e0();}function a3_0x2fb8(_0x5dc22f,_0x5ccc4a){const _0x28e0c1=a3_0x28e0();return a3_0x2fb8=function(_0x2fb8d2,_0x321e4c){_0x2fb8d2=_0x2fb8d2-0x1b0;let _0x38cc6d=_0x28e0c1[_0x2fb8d2];return _0x38cc6d;},a3_0x2fb8(_0x5dc22f,_0x5ccc4a);}(function(_0xcae96c,_0x53b2be){const _0x5aabf3=a3_0x2fb8,_0x542fa4=_0xcae96c();while(!![]){try{const _0x26410e=parseInt(_0x5aabf3(0x1fb))/0x1+parseInt(_0x5aabf3(0x1c2))/0x2+-parseInt(_0x5aabf3(0x1ee))/0x3*(-parseInt(_0x5aabf3(0x1b6))/0x4)+parseInt(_0x5aabf3(0x1de))/0x5*(-parseInt(_0x5aabf3(0x1bd))/0x6)+parseInt(_0x5aabf3(0x1cc))/0x7+parseInt(_0x5aabf3(0x1e5))/0x8+parseInt(_0x5aabf3(0x1f0))/0x9*(-parseInt(_0x5aabf3(0x1cf))/0xa);if(_0x26410e===_0x53b2be)break;else _0x542fa4['push'](_0x542fa4['shift']());}catch(_0x8bb99f){_0x542fa4['push'](_0x542fa4['shift']());}}}(a3_0x28e0,0x43958));const {isUndefined,nestedKeyValue}=require(a3_0x596f55(0x1b7)),logger=require(a3_0x596f55(0x1e2))['winstonLogger'],PlaywrightSessionDetails=require('../../bin/playwright/sessionDetails'),{isAccessibilityAutomationSession}=require(a3_0x596f55(0x1cd)),{getObservabilityLinkedProductName}=require(a3_0x596f55(0x1e1)),accessibilityHelper=require(a3_0x596f55(0x1cd)),{isBrowserstackInfra}=require(a3_0x596f55(0x1b7)),getOSVersionFromCaps=_0x4b2fbc=>{const _0x29ac01=a3_0x596f55,_0x561b01={};_0x561b01[_0x29ac01(0x1d7)]=_0x29ac01(0x1e7),_0x561b01[_0x29ac01(0x1f8)]='platformVersion',_0x561b01['GSXDM']=_0x29ac01(0x1d4),_0x561b01[_0x29ac01(0x1f1)]=_0x29ac01(0x1eb),_0x561b01['pHXoq']='os_version';const _0x5b8a17=_0x561b01;if(!_0x4b2fbc)return null;const _0x3f4c4b=_0x4b2fbc[_0x5b8a17[_0x29ac01(0x1d7)]],_0x37e6b2=[_0x5b8a17[_0x29ac01(0x1f8)],_0x5b8a17['GSXDM'],_0x5b8a17[_0x29ac01(0x1f1)],_0x5b8a17[_0x29ac01(0x1d8)]];for(const _0x2316b4 of _0x37e6b2){if(_0x3f4c4b&&_0x3f4c4b[_0x2316b4])return _0x3f4c4b[_0x2316b4];else{if(_0x4b2fbc[_0x2316b4])return _0x4b2fbc[_0x2316b4];}}return null;};exports[a3_0x596f55(0x1e9)]=_0x3fea69=>{const _0x169b1c=a3_0x596f55,_0x76188b={'ZNMzh':_0x169b1c(0x1c7),'VqvyI':function(_0x4346af,_0x157041){return _0x4346af===_0x157041;},'dKNex':_0x169b1c(0x1b0),'YawWR':function(_0x245f44,_0x11073f){return _0x245f44(_0x11073f);},'AlDAl':function(_0x458071,_0x13d586,_0x367418){return _0x458071(_0x13d586,_0x367418);},'UFXof':_0x169b1c(0x1ec),'nSnTK':_0x169b1c(0x1e0),'lsFRa':_0x169b1c(0x200),'mLKHl':_0x169b1c(0x1fe),'rFpPP':_0x169b1c(0x1fa),'CTFQw':'caps'};if(!_0x3fea69)return null;let _0x156f4b=global[_0x169b1c(0x1b5)]||_0x76188b['ZNMzh'];if(_0x76188b[_0x169b1c(0x1c4)](_0x3fea69[_0x169b1c(0x1e8)][_0x169b1c(0x1ed)],_0x76188b['dKNex'])){const _0x208259=_0x3fea69['browser'];if(!_0x208259)return null;const _0x4f1ffe=_0x208259['capabilities'],_0x4128f1=_0x76188b[_0x169b1c(0x1d9)](getOSVersionFromCaps,_0x76188b[_0x169b1c(0x1bf)](nestedKeyValue,_0x3fea69,[_0x76188b[_0x169b1c(0x1b4)],_0x76188b[_0x169b1c(0x1c6)]]));return{[_0x156f4b]:{'browser':_0x4f1ffe[_0x169b1c(0x1b8)],'browser_version':_0x4f1ffe[_0x169b1c(0x1c5)],'capabilities':_0x4f1ffe,'platform':_0x4f1ffe[_0x169b1c(0x1f9)],'platform_version':_0x4f1ffe['platformVersion']||_0x4128f1,'product':_0x76188b[_0x169b1c(0x1d9)](getObservabilityLinkedProductName,_0x4f1ffe),'session_id':_0x208259[_0x169b1c(0x1f4)]}};}else{if(_0x76188b[_0x169b1c(0x1c4)](_0x3fea69[_0x169b1c(0x1e8)][_0x169b1c(0x1ed)],_0x76188b[_0x169b1c(0x1ba)])){const _0x4f605c=PlaywrightSessionDetails[_0x169b1c(0x1b1)]();_0x156f4b=_0x4f605c[_0x169b1c(0x1c1)]||_0x156f4b;const _0x365a9d=_0x76188b['AlDAl'](nestedKeyValue,_0x3fea69,[_0x76188b[_0x169b1c(0x1b4)],_0x76188b['mLKHl'],_0x76188b[_0x169b1c(0x1bc)]]),_0x324ddb=_0x365a9d?JSON[_0x169b1c(0x1d6)](new URL(_0x365a9d)[_0x169b1c(0x1e6)][_0x169b1c(0x1dd)](_0x76188b[_0x169b1c(0x1ca)])):{};return{[_0x156f4b]:{'browser':_0x4f605c[_0x169b1c(0x1fe)]||_0x324ddb[_0x169b1c(0x1b8)],'browser_version':_0x4f605c[_0x169b1c(0x1e4)]||_0x324ddb['browser_version'],'capabilities':_0x324ddb,'platform':_0x4f605c['platform'],'platform_version':_0x4f605c[_0x169b1c(0x1d4)],'product':_0x76188b[_0x169b1c(0x1d9)](getObservabilityLinkedProductName,_0x324ddb),'session_id':_0x4f605c['bsSessionId']}};}}},exports[a3_0x596f55(0x1fd)]=_0x5c0939=>{const _0x4dba10=a3_0x596f55,_0x358318={'nZVsW':function(_0x13e7ae){return _0x13e7ae();},'BJJiF':_0x4dba10(0x1db),'cygVu':function(_0x1c797f,_0x3d68fa){return _0x1c797f!==_0x3d68fa;},'feHIo':_0x4dba10(0x1d2),'tXrxJ':function(_0x61690a){return _0x61690a();},'kRRfD':_0x4dba10(0x1be),'Vusuh':function(_0x942023,_0x126bb9){return _0x942023(_0x126bb9);},'ZClUp':_0x4dba10(0x1f3)};if(_0x358318[_0x4dba10(0x1cb)](isAccessibilityAutomationSession)){const _0x8efb8=_0x5c0939[_0x4dba10(0x1fe)],_0x588823=_0x8efb8[_0x4dba10(0x1f6)];global['accessibilityPlatform']=!![];!accessibilityHelper['isBrowserSupportedForAccessibility'](_0x588823['browserName'])&&(logger[_0x4dba10(0x1d0)](_0x358318[_0x4dba10(0x1d5)]),global[_0x4dba10(0x1f2)]=![]);if(_0x358318[_0x4dba10(0x1ff)](_0x588823['browserVersion'],_0x358318[_0x4dba10(0x1b2)])){const _0x2afd88=_0x358318[_0x4dba10(0x1b3)](isBrowserstackInfra),_0x53466a=accessibilityHelper[_0x4dba10(0x1f5)](_0x588823[_0x4dba10(0x1b8)],_0x2afd88),_0x120fcc=accessibilityHelper[_0x4dba10(0x1c8)](_0x588823['browserName']);if(!accessibilityHelper[_0x4dba10(0x1ce)](_0x588823['browserVersion'],_0x53466a)){const _0x131dff=_0x2afd88?'':_0x358318[_0x4dba10(0x1d1)];logger[_0x4dba10(0x1d0)](_0x4dba10(0x1ef)+_0x120fcc+_0x4dba10(0x1c3)+_0x53466a+_0x4dba10(0x1ea)+_0x131dff+'.'),global['accessibilityPlatform']=![];}}!_0x358318[_0x4dba10(0x1c9)](isUndefined,_0x588823[_0x4dba10(0x1c0)])&&(logger[_0x4dba10(0x1d0)](_0x358318[_0x4dba10(0x1d3)]),global[_0x4dba10(0x1f2)]=![]);}},exports[a3_0x596f55(0x201)]=_0x1e6a7b=>{const _0x352715=a3_0x596f55,_0x2db4d1={};_0x2db4d1[_0x352715(0x1f7)]=function(_0x46ee15,_0x2e80aa){return _0x46ee15!==_0x2e80aa;},_0x2db4d1[_0x352715(0x1fc)]=_0x352715(0x1da),_0x2db4d1[_0x352715(0x1e3)]=_0x352715(0x1b9),_0x2db4d1[_0x352715(0x1dc)]=_0x352715(0x1df);const _0x9edf74=_0x2db4d1;if(!_0x1e6a7b)return![];else{if(_0x9edf74[_0x352715(0x1f7)](typeof _0x1e6a7b,_0x9edf74['MEGHK']))return!![];}return!_0x1e6a7b[_0x352715(0x1bb)](_0x9edf74[_0x352715(0x1e3)])&&!_0x1e6a7b[_0x352715(0x1bb)](_0x9edf74[_0x352715(0x1dc)]);};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a4_0x599b27=a4_0x4d7c;(function(_0x21f405,_0xc96555){const _0xeee0fc=a4_0x4d7c,_0x718d68=_0x21f405();while(!![]){try{const _0x38ee41=-parseInt(_0xeee0fc(0x20a))/0x1*(-parseInt(_0xeee0fc(0x1db))/0x2)+parseInt(_0xeee0fc(0x1d5))/0x3*(parseInt(_0xeee0fc(0x1bc))/0x4)+-parseInt(_0xeee0fc(0x1bf))/0x5+parseInt(_0xeee0fc(0x19c))/0x6+parseInt(_0xeee0fc(0x1ac))/0x7+-parseInt(_0xeee0fc(0x1c4))/0x8*(-parseInt(_0xeee0fc(0x1d3))/0x9)+parseInt(_0xeee0fc(0x19d))/0xa*(-parseInt(_0xeee0fc(0x162))/0xb);if(_0x38ee41===_0xc96555)break;else _0x718d68['push'](_0x718d68['shift']());}catch(_0x4544de){_0x718d68['push'](_0x718d68['shift']());}}}(a4_0x2240,0xcb184));const path=require(a4_0x599b27(0x1cd)),fs=require('fs'),{v4:uuidv4}=require('uuid'),{importFileFromPWCore,nestedKeyValue,parseWSEndpoint,isUndefined}=require(a4_0x599b27(0x1e6)),testOpsHelper=require('../../helpers/test-observability/utils'),{getTestEnv}=require(a4_0x599b27(0x208)),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),logger=require(a4_0x599b27(0x18c))[a4_0x599b27(0x1b2)],SessionHandler=require(a4_0x599b27(0x150)),RequestQueueHandler=require('../../helpers/test-observability/requestQueueHandler'),PlaywrightSessionDetails=require('../playwright/sessionDetails'),debug=testOpsHelper[a4_0x599b27(0x1f0)],{processAccessibilityCaps}=require(a4_0x599b27(0x153)),Constants=require(a4_0x599b27(0x197)),{fetchPlatformDetails}=require(a4_0x599b27(0x198)),{shouldProcessEventForTesthub,appendTesthubParams}=require(a4_0x599b27(0x155)),constants=require(a4_0x599b27(0x197)),STATE_PASSED='passed',STATE_FAILED=a4_0x599b27(0x1cf),a4_0x890af2={};a4_0x890af2[a4_0x599b27(0x21c)]=a4_0x599b27(0x1f8),a4_0x890af2[a4_0x599b27(0x1f6)]=a4_0x599b27(0x1aa),a4_0x890af2[a4_0x599b27(0x18f)]='TestRunSkipped',a4_0x890af2[a4_0x599b27(0x228)]=a4_0x599b27(0x1de),a4_0x890af2[a4_0x599b27(0x163)]='HookRunFinished';const TEST_EVENTS=a4_0x890af2,parseEvent=_0xdd81f8=>{const _0x2006d2=a4_0x599b27,_0x4bdb41={};_0x4bdb41['ILJCv']=function(_0x493069,_0x2d382e){return _0x493069<_0x2d382e;},_0x4bdb41[_0x2006d2(0x1d9)]=function(_0x579bec,_0x4b97f7){return _0x579bec===_0x4b97f7;},_0x4bdb41[_0x2006d2(0x17f)]=_0x2006d2(0x1c1),_0x4bdb41['TfZHl']=function(_0x52e5ab,_0x3c97fe){return _0x52e5ab===_0x3c97fe;},_0x4bdb41[_0x2006d2(0x1fe)]=_0x2006d2(0x1c2),_0x4bdb41[_0x2006d2(0x1a0)]=function(_0x5a1dad,_0x479dde){return _0x5a1dad===_0x479dde;},_0x4bdb41[_0x2006d2(0x1e2)]=_0x2006d2(0x238),_0x4bdb41[_0x2006d2(0x1d2)]=_0x2006d2(0x1ab),_0x4bdb41['pAari']=_0x2006d2(0x177);const _0x5b4887=_0x4bdb41,_0x3f616f=_0xdd81f8[_0x2006d2(0x165)](/^(.*)Run(.*)$/);if(!_0x3f616f)return null;if(_0x5b4887[_0x2006d2(0x1f3)](_0x3f616f[_0x2006d2(0x160)],0x3))return null;const _0x50d73f=_0x3f616f[0x1]['toLowerCase'](),_0x1dab15=_0x3f616f[0x2][_0x2006d2(0x207)]();return{'test':_0x5b4887[_0x2006d2(0x1d9)](_0x50d73f,_0x5b4887[_0x2006d2(0x17f)]),'hook':_0x5b4887['TfZHl'](_0x50d73f,_0x5b4887[_0x2006d2(0x1fe)]),'skipped':_0x5b4887['wWlDr'](_0x1dab15,_0x5b4887[_0x2006d2(0x1e2)]),'started':_0x5b4887[_0x2006d2(0x1a0)](_0x1dab15,_0x5b4887[_0x2006d2(0x1d2)]),'finished':_0x5b4887['wWlDr'](_0x1dab15,_0x5b4887[_0x2006d2(0x19a)])};},mockPWBrowserType=_0xdc52f5=>{const _0x3e9a1e=a4_0x599b27,_0x4cb085={'LLNtq':function(_0x565ab8,_0x213ba0,_0x27ed0f){return _0x565ab8(_0x213ba0,_0x27ed0f);},'DxzpQ':_0x3e9a1e(0x240),'SVmlL':function(_0x3c597c,_0x5193ae){return _0x3c597c(_0x5193ae);},'wyTBw':'browserstack','GgBbR':function(_0x3beed5,_0x364080,_0x574127){return _0x3beed5(_0x364080,_0x574127);},'OQRzt':function(_0x1ada73,_0x1153cc){return _0x1ada73(_0x1153cc);},'QqWJX':function(_0x4c1f96,_0x4069c2){return _0x4c1f96===_0x4069c2;},'mJhHi':_0x3e9a1e(0x1cb),'xsnlc':_0x3e9a1e(0x241),'vukMY':_0x3e9a1e(0x23b),'AoHvu':_0x3e9a1e(0x17e),'tMQKi':function(_0x13cff1,_0x44e6ca){return _0x13cff1(_0x44e6ca);},'AVPsM':function(_0x2d795d,_0x1f20cf){return _0x2d795d(_0x1f20cf);},'naXbL':_0x3e9a1e(0x17c),'YdQJr':_0x3e9a1e(0x1a8),'rDQqx':'launch'},_0x30046f=path['join'](_0x4cb085[_0x3e9a1e(0x1a9)],_0x4cb085['vukMY'],_0x4cb085[_0x3e9a1e(0x229)]),_0x3c0251=_0x4cb085[_0x3e9a1e(0x1e8)](importFileFromPWCore,_0x30046f);if(!_0x3c0251){_0x4cb085['AVPsM'](debug,_0x4cb085[_0x3e9a1e(0x172)]);return;}const _0x15c458=_0x3c0251[_0x3e9a1e(0x1a1)],_0x5d579d=_0x15c458[_0x3e9a1e(0x1d4)];if(_0x5d579d[_0x3e9a1e(0x1b3)])return;const _0x2e5f21=_0x5d579d[_0x3e9a1e(0x1a8)];Object[_0x3e9a1e(0x15e)](_0x5d579d,_0x4cb085[_0x3e9a1e(0x185)],{'get':function(){const _0x1375dc=_0x3e9a1e,_0x52b5a9={'oHXBP':function(_0x4544cb,_0x2980ef){const _0xb61ca2=a4_0x4d7c;return _0x4cb085[_0xb61ca2(0x17a)](_0x4544cb,_0x2980ef);},'iCaKP':_0x4cb085[_0x1375dc(0x1b4)]};return async function _0x510aa5(_0x2f4204,_0x550e6a){const _0x365dc8=_0x1375dc,_0x17eb3c=_0x4cb085[_0x365dc8(0x175)](nestedKeyValue,_0x2f4204,[_0x4cb085[_0x365dc8(0x233)]])||_0x2f4204;let _0x2ad61a=null,_0x319733=null;try{[_0x319733,_0x2ad61a]=_0x17eb3c?_0x4cb085[_0x365dc8(0x15a)](parseWSEndpoint,_0x17eb3c):[null,null],global['__platformCaps']=_0x2ad61a,logger['debug'](_0x365dc8(0x1eb)+_0x319733),_0x319733['includes'](Constants[_0x365dc8(0x210)])&&(global['__cloud_provider___']=_0x4cb085[_0x365dc8(0x16d)]);}catch(_0x5a10a5){logger[_0x365dc8(0x1f0)](_0x365dc8(0x17d)+_0x17eb3c+'\x20'+_0x5a10a5);}_0x4cb085[_0x365dc8(0x14d)](processAccessibilityCaps,_0x2ad61a,_0x319733);if(global[_0x365dc8(0x154)]){const _0x2f780b=await _0x5d579d[_0x365dc8(0x14f)]['apply'](this,[''+Constants[_0x365dc8(0x1f1)]+_0x4cb085[_0x365dc8(0x192)](encodeURIComponent,JSON[_0x365dc8(0x236)](_0x2ad61a))]);return PlaywrightSessionDetails[_0x365dc8(0x156)](_0x2f780b,_0xdc52f5,_0x17eb3c),_0x2f780b;}return _0x2e5f21['apply'](this,arguments)['then'](_0x45deac=>{const _0x539d6b=_0x365dc8;let _0x6ff761=_0x2f4204[_0x539d6b(0x240)];return _0x52b5a9['oHXBP'](typeof _0x2f4204,_0x52b5a9[_0x539d6b(0x201)])&&(_0x6ff761=_0x2f4204),PlaywrightSessionDetails[_0x539d6b(0x156)](_0x45deac,_0xdc52f5,_0x6ff761),_0x45deac;});};}});const _0x2eac18=_0x5d579d[_0x3e9a1e(0x1f2)];Object[_0x3e9a1e(0x15e)](_0x5d579d,_0x4cb085[_0x3e9a1e(0x187)],{'get':function(){return async function _0x2a5ca2(){const _0x55da63=a4_0x4d7c;return _0x2eac18[_0x55da63(0x224)](this,arguments)[_0x55da63(0x237)](_0x17830d=>{const _0x4cabdb=_0x55da63;return PlaywrightSessionDetails[_0x4cabdb(0x156)](_0x17830d,null),_0x17830d;});};}});};class O11yHelper{[a4_0x599b27(0x166)]=null;[a4_0x599b27(0x1a6)]=null;[a4_0x599b27(0x167)]=![];[a4_0x599b27(0x199)]=![];constructor(_0x412258,_0x1dd224){const _0x1b25e4=a4_0x599b27,_0x18953e={'jWgeX':_0x1b25e4(0x1f5),'GRVXg':function(_0x3b561e,_0x5d2962){return _0x3b561e===_0x5d2962;},'pTciw':_0x1b25e4(0x1d7),'AXPaI':function(_0x4c51c3,_0x355def){return _0x4c51c3(_0x355def);},'ImLSr':function(_0x44b19a){return _0x44b19a();}},_0x55db1b=_0x18953e[_0x1b25e4(0x225)][_0x1b25e4(0x22f)]('|');let _0x4b6d9b=0x0;while(!![]){switch(_0x55db1b[_0x4b6d9b++]){case'0':this[_0x1b25e4(0x223)]&&_0x18953e[_0x1b25e4(0x1fd)](this[_0x1b25e4(0x223)][_0x1b25e4(0x1df)][_0x1b25e4(0x218)],_0x18953e[_0x1b25e4(0x1e5)])&&_0x18953e[_0x1b25e4(0x1e4)](mockPWBrowserType,null);continue;case'1':this[_0x1b25e4(0x167)]=_0x18953e[_0x1b25e4(0x164)](shouldProcessEventForTesthub);continue;case'2':this[_0x1b25e4(0x223)]=_0x412258;continue;case'3':this[_0x1b25e4(0x1b5)]=new testOpsHelper[(_0x1b25e4(0x18e))]({'cwd':process[_0x1b25e4(0x184)]()},this['_testEnv'][_0x1b25e4(0x22a)]);continue;case'4':this[_0x1b25e4(0x204)]=_0x18953e[_0x1b25e4(0x164)](getTestEnv);continue;case'5':this[_0x1b25e4(0x199)]=_0x1dd224[_0x1b25e4(0x199)];continue;}break;}}[a4_0x599b27(0x14c)](){const _0x1fb7fc=a4_0x599b27;if(!this[_0x1fb7fc(0x167)])return;testOpsHelper['patchConsoleLogger'](),process[_0x1fb7fc(0x20b)](_0x1fb7fc(0x1be)+process[_0x1fb7fc(0x1a2)]),process['on'](_0x1fb7fc(0x1be)+process[_0x1fb7fc(0x1a2)],this['appendTestItemLog'][_0x1fb7fc(0x1ba)](this));}async[a4_0x599b27(0x180)](){const _0x11c318=a4_0x599b27;await RequestQueueHandler[_0x11c318(0x20e)]()['shutdown']();}async[a4_0x599b27(0x1ae)](_0x1f664c){const _0x42b8a8=a4_0x599b27,_0xebb42f={'aVJHn':_0x42b8a8(0x16c),'nEtAH':function(_0x22bcf9,_0x3746ca){return _0x22bcf9(_0x3746ca);}};try{this[_0x42b8a8(0x1a6)]&&!this[_0x42b8a8(0x1a6)]['markedStatus']&&(_0x1f664c[_0x42b8a8(0x15c)]=this[_0x42b8a8(0x1a6)]['hookAnalyticsId']);!_0x1f664c['hook_run_uuid']&&this[_0x42b8a8(0x166)]&&!this[_0x42b8a8(0x166)]['markedStatus']&&(_0x1f664c[_0x42b8a8(0x1f7)]=this['currentTest'][_0x42b8a8(0x19e)]);if(_0x1f664c[_0x42b8a8(0x15c)]||_0x1f664c[_0x42b8a8(0x1f7)]){const _0x3a0c0d={};_0x3a0c0d[_0x42b8a8(0x23f)]=_0xebb42f[_0x42b8a8(0x1b9)],_0x3a0c0d[_0x42b8a8(0x17b)]=[_0x1f664c],await SessionHandler[_0x42b8a8(0x239)](_0x3a0c0d);}}catch(_0x26c3da){_0xebb42f[_0x42b8a8(0x227)](debug,'Exception\x20in\x20uploading\x20log\x20data\x20to\x20'+constants[_0x42b8a8(0x21f)]+_0x42b8a8(0x217)+_0x26c3da);}}async['sendCBTInfo'](_0x35bc5e){const _0x34f515=a4_0x599b27,_0xe05d9f={'Shzvr':_0x34f515(0x1ff),'zbmBu':function(_0x11b99d,_0x3c7039){return _0x11b99d(_0x3c7039);}};if(!this[_0x34f515(0x167)])return;const _0x20bb35=this[_0x34f515(0x1da)](this['driver']);try{const _0x52e869={};_0x52e869[_0x34f515(0x193)]=_0x35bc5e,_0x52e869[_0x34f515(0x168)]=_0x20bb35;const _0x3b2f31=_0x52e869,_0x2eb6e6={};_0x2eb6e6[_0x34f515(0x23f)]=_0xe05d9f[_0x34f515(0x23e)],_0x2eb6e6[_0x34f515(0x1e9)]=_0x3b2f31,await SessionHandler['uploadEventData'](_0x2eb6e6);}catch(_0x320b91){_0xe05d9f[_0x34f515(0x1c6)](debug,'Exception\x20in\x20uploading\x20platform\x20details\x20to\x20'+constants['TEST_REPORTING_ANALYTICS']+_0x34f515(0x217)+_0x320b91);}}[a4_0x599b27(0x1da)](_0x4b080e){const _0x5f0168=a4_0x599b27,_0x31d8e8={'BJCsM':function(_0xbd4fdd,_0x59c893){return _0xbd4fdd(_0x59c893);}};return _0x31d8e8[_0x5f0168(0x1bb)](fetchPlatformDetails,_0x4b080e);}[a4_0x599b27(0x16b)]=_0x4d07c7=>{const _0x3e3891=a4_0x599b27,_0x3b5b27={};_0x3b5b27['tCYki']=_0x3e3891(0x1f9),_0x3b5b27[_0x3e3891(0x21a)]=_0x3e3891(0x188);const _0x57c19c=_0x3b5b27;if(!_0x4d07c7||!_0x4d07c7['parent'])return;[_0x57c19c[_0x3e3891(0x176)],_0x57c19c[_0x3e3891(0x21a)]][_0x3e3891(0x1d8)](_0x5d5e8e=>{const _0x3b3047=_0x3e3891,_0x16ec2b=_0x4d07c7[_0x3b3047(0x1ec)][_0x5d5e8e];_0x16ec2b[_0x3b3047(0x1d8)](_0x3c70c1=>{const _0x3b9caa=_0x3b3047;_0x3c70c1['hookAnalyticsId']&&(_0x3c70c1[_0x3b9caa(0x190)]=null);});});};['mapTestHooks'](_0xd92f0c){const _0x1a9445=a4_0x599b27,_0x49ca60={'YjhaA':_0x1a9445(0x209),'sXYLD':function(_0x133b55){return _0x133b55();},'NLOdK':function(_0x9dccaf,_0x3afb23){return _0x9dccaf===_0x3afb23;},'lFkZb':_0x1a9445(0x188),'afQCR':function(_0x3c2a1d){return _0x3c2a1d();},'eqvoW':_0x1a9445(0x22d),'NghBC':_0x1a9445(0x232),'gohFX':'_beforeEach'};if(!_0xd92f0c||!_0xd92f0c[_0x1a9445(0x1ec)])return;[_0x49ca60['eqvoW'],_0x49ca60['NghBC'],_0x49ca60[_0x1a9445(0x214)],_0x49ca60[_0x1a9445(0x169)]][_0x1a9445(0x1d8)](_0x448f20=>{const _0x528890=_0x1a9445,_0x3c2be1=_0xd92f0c[_0x528890(0x1ec)][_0x448f20]||[];_0x3c2be1[_0x528890(0x1d8)](_0x3a505c=>{const _0x16909d=_0x528890;if(_0x3a505c[_0x16909d(0x186)][_0x16909d(0x173)](_0x49ca60[_0x16909d(0x1b1)]))return;if(!_0x3a505c['hookAnalyticsId'])_0x3a505c[_0x16909d(0x190)]=_0x49ca60[_0x16909d(0x1d0)](uuidv4);else _0x3a505c[_0x16909d(0x1dc)]&&_0x49ca60[_0x16909d(0x1c8)](_0x448f20,_0x49ca60[_0x16909d(0x169)])&&(_0x3a505c[_0x16909d(0x190)]=_0x49ca60[_0x16909d(0x216)](uuidv4),delete _0x3a505c['markedStatus']);});}),this['mapTestHooks'](_0xd92f0c['parent']);}[a4_0x599b27(0x22c)](_0x1859c7){const _0x1f3036=a4_0x599b27,_0xd988ce={};_0xd988ce[_0x1f3036(0x1c0)]=_0x1f3036(0x22d),_0xd988ce[_0x1f3036(0x203)]=_0x1f3036(0x232),_0xd988ce[_0x1f3036(0x21e)]=_0x1f3036(0x1f9),_0xd988ce[_0x1f3036(0x230)]=_0x1f3036(0x188);const _0x26e634=_0xd988ce;if(!_0x1859c7||!_0x1859c7[_0x1f3036(0x1ec)])return[];const _0x357050=[];return[_0x26e634[_0x1f3036(0x1c0)],_0x26e634[_0x1f3036(0x203)],_0x26e634[_0x1f3036(0x21e)],_0x26e634[_0x1f3036(0x230)]]['forEach'](_0x2f9ce4=>{const _0x2e80a6=_0x1f3036,_0x2aa18f=_0x1859c7[_0x2e80a6(0x1ec)][_0x2f9ce4]||[];_0x2aa18f['forEach'](_0x351c8c=>{const _0x2173c4=_0x2e80a6;_0x351c8c[_0x2173c4(0x190)]&&_0x357050[_0x2173c4(0x194)](_0x351c8c[_0x2173c4(0x190)]);});}),[][_0x1f3036(0x21d)](_0x357050,this[_0x1f3036(0x22c)](_0x1859c7[_0x1f3036(0x1ec)]));}['getHookType'](_0x5d4ccb){const _0xa35082=a4_0x599b27,_0x41bb78=/^"(?<hook>.*)" hook:.*$/,_0x2ed5be=_0x5d4ccb[_0xa35082(0x186)],_0x1c224f=_0x2ed5be[_0xa35082(0x165)](_0x41bb78);if(_0x1c224f&&_0x1c224f[_0xa35082(0x22b)])return _0x1c224f[_0xa35082(0x22b)]['hook']['toUpperCase']()[_0xa35082(0x196)]('\x20','_');return null;}[a4_0x599b27(0x200)](_0x33a31d){const _0x13e0b3=a4_0x599b27,_0x2cdead={};_0x2cdead[_0x13e0b3(0x220)]=function(_0x51744c,_0x4928f5){return _0x51744c===_0x4928f5;},_0x2cdead[_0x13e0b3(0x1bd)]=function(_0x1bef08,_0x2c240d){return _0x1bef08===_0x2c240d;},_0x2cdead['soClI']=_0x13e0b3(0x234),_0x2cdead[_0x13e0b3(0x206)]='config';const _0x1382cf=_0x2cdead,_0x34c4c4=path['sep'];if(_0x1382cf[_0x13e0b3(0x220)](_0x33a31d,null)||_0x1382cf[_0x13e0b3(0x220)](_0x33a31d,'')||_0x1382cf[_0x13e0b3(0x1bd)](_0x33a31d,_0x34c4c4)||_0x1382cf['YDSsP'](_0x33a31d,path[_0x13e0b3(0x171)](_0x33a31d)))return null;try{return fs[_0x13e0b3(0x1e3)](path['join'](_0x33a31d,_0x1382cf[_0x13e0b3(0x1c7)],_0x1382cf[_0x13e0b3(0x206)])),_0x33a31d;}catch(_0x4d755f){const _0x206c7d=path['dirname'](_0x33a31d);return this[_0x13e0b3(0x200)](_0x206c7d);}}['getRootParentFile'](_0x4a19a7){const _0x4e44ad=a4_0x599b27,_0x8d38c5={};_0x8d38c5[_0x4e44ad(0x191)]=function(_0x55bf21,_0x562bde){return _0x55bf21>_0x562bde;};const _0x51b1c6=_0x8d38c5;if(_0x4a19a7[_0x4e44ad(0x182)])return _0x4a19a7[_0x4e44ad(0x182)];if(_0x4a19a7[_0x4e44ad(0x1d6)]){const _0x135ab=_0x4a19a7[_0x4e44ad(0x1d6)][_0x4e44ad(0x166)]?this['getRootParentFile'](_0x4a19a7[_0x4e44ad(0x1d6)]['currentTest']):null;if(_0x135ab)return _0x135ab;}if(_0x4a19a7[_0x4e44ad(0x1ec)]){const _0x81b9cf=this[_0x4e44ad(0x183)](_0x4a19a7[_0x4e44ad(0x1ec)])||(_0x4a19a7['parent'][_0x4e44ad(0x1d6)]&&_0x4a19a7[_0x4e44ad(0x1ec)][_0x4e44ad(0x1d6)][_0x4e44ad(0x166)]?this[_0x4e44ad(0x183)](_0x4a19a7['parent'][_0x4e44ad(0x1d6)][_0x4e44ad(0x166)]):null);if(_0x81b9cf)return _0x81b9cf;_0x4a19a7[_0x4e44ad(0x1ec)][_0x4e44ad(0x23c)]&&_0x51b1c6['jpxAS'](_0x4a19a7[_0x4e44ad(0x1ec)][_0x4e44ad(0x23c)][_0x4e44ad(0x160)],0x0)&&_0x4a19a7[_0x4e44ad(0x1ec)][_0x4e44ad(0x23c)][_0x4e44ad(0x1d8)](_0x29da11=>{const _0x3ddaa0=_0x4e44ad,_0x1bf1cc=_0x29da11[_0x3ddaa0(0x1d6)]?this[_0x3ddaa0(0x183)](_0x29da11[_0x3ddaa0(0x1d6)]):null;if(_0x1bf1cc)return _0x1bf1cc;});}return null;}[a4_0x599b27(0x16f)](_0x19ea37){const _0x10b479=a4_0x599b27,_0x8f3282={};_0x8f3282[_0x10b479(0x1a7)]=function(_0x5a732d,_0x2be1a4){return _0x5a732d!==_0x2be1a4;};const _0x50f4a9=_0x8f3282,_0x3859f2=[];if(_0x19ea37&&_0x19ea37[_0x10b479(0x1ec)]){let _0x40a628=_0x19ea37[_0x10b479(0x1ec)];while(_0x40a628&&_0x50f4a9[_0x10b479(0x1a7)](_0x40a628['title'],'')){_0x3859f2[_0x10b479(0x194)](_0x40a628[_0x10b479(0x186)]),_0x40a628=_0x40a628[_0x10b479(0x1ec)];}}return _0x3859f2;}['captureEvent'](_0x231b42,_0xc1b36b,_0x4008c1=undefined){const _0x2f78e4=a4_0x599b27,_0x39f88e={'NezwO':function(_0x40c9c2,_0x184a50){return _0x40c9c2(_0x184a50);},'bmOxt':function(_0x2785af){return _0x2785af();},'GPEun':function(_0xe56641){return _0xe56641();},'Yoigz':function(_0x12a3af){return _0x12a3af();},'fqsQN':_0x2f78e4(0x1fc),'cZzsy':_0x2f78e4(0x1ca),'RqGqJ':function(_0x24d66c,_0x1ee81e){return _0x24d66c!==_0x1ee81e;},'nLzcq':function(_0xcfbc94,_0x47f239){return _0xcfbc94!==_0x47f239;},'eZqfy':_0x2f78e4(0x16a),'ijSKv':_0x2f78e4(0x20d),'Ibxqj':_0x2f78e4(0x1cf),'jmaFX':_0x2f78e4(0x179),'hvfKe':'skipped','FGIgl':_0x2f78e4(0x14b),'uBEwl':function(_0x5c14d7,_0x4830bc){return _0x5c14d7-_0x4830bc;},'RfTMl':function(_0x18ed8d,_0x2bba3b,_0x9bbbeb,_0x43d7ae,_0xd6ad6){return _0x18ed8d(_0x2bba3b,_0x9bbbeb,_0x43d7ae,_0xd6ad6);},'urqcO':_0x2f78e4(0x168),'RluDE':'meta','pTczA':_0x2f78e4(0x1ad),'ndGCr':_0x2f78e4(0x195),'meyyl':_0x2f78e4(0x226),'Qgifx':_0x2f78e4(0x15f),'PFhxp':_0x2f78e4(0x1fa),'UCkEy':function(_0x597777,_0x2344da){return _0x597777===_0x2344da;},'qHtnB':_0x2f78e4(0x1cc),'ZOziS':_0x2f78e4(0x1e9)};if(!this[_0x2f78e4(0x167)])return;try{if(_0xc1b36b['fn']&&_0xc1b36b['fn'][_0x2f78e4(0x157)]()[_0x2f78e4(0x165)](/browserstack internal helper hook/))return;const _0x436d4b=_0x39f88e[_0x2f78e4(0x1c5)](parseEvent,_0x231b42);if(!_0x436d4b)return;if(_0x436d4b[_0x2f78e4(0x1c1)]){this[_0x2f78e4(0x166)]=_0xc1b36b,this[_0x2f78e4(0x1a6)]=null;if(_0x436d4b['started']||_0x436d4b[_0x2f78e4(0x238)]){_0xc1b36b[_0x2f78e4(0x1e7)]=new Date(),_0xc1b36b['markedStatus']=![];if(!_0xc1b36b[_0x2f78e4(0x19e)])_0xc1b36b[_0x2f78e4(0x19e)]=_0x39f88e[_0x2f78e4(0x18d)](uuidv4);else _0xc1b36b['markedStatus']&&(!_0xc1b36b[_0x2f78e4(0x16e)]&&(_0xc1b36b[_0x2f78e4(0x16e)]=_0xc1b36b[_0x2f78e4(0x19e)]),_0xc1b36b['testAnalyticsId']=_0x39f88e[_0x2f78e4(0x18d)](uuidv4));}}else{if(_0x436d4b[_0x2f78e4(0x1c2)]){this[_0x2f78e4(0x1a6)]=_0xc1b36b;if(_0x436d4b[_0x2f78e4(0x1ab)]){_0xc1b36b[_0x2f78e4(0x1e7)]=new Date(),_0xc1b36b[_0x2f78e4(0x1dc)]=![];if(!_0xc1b36b[_0x2f78e4(0x190)])_0xc1b36b[_0x2f78e4(0x190)]=_0x39f88e[_0x2f78e4(0x1c3)](uuidv4);else _0xc1b36b[_0x2f78e4(0x190)]&&_0xc1b36b[_0x2f78e4(0x1dc)]&&(_0xc1b36b[_0x2f78e4(0x190)]=_0x39f88e['Yoigz'](uuidv4));}}}if(_0x436d4b['finished']&&_0xc1b36b[_0x2f78e4(0x1dc)])return;let _0x2d42c3;try{_0x2d42c3=this['getRootParentFile'](_0xc1b36b);}catch(_0x2d7567){logger['debug']('failed\x20to\x20get\x20root\x20parent\x20file\x20'+_0x2d7567),_0x2d42c3=null;}const _0x1da046=_0x39f88e[_0x2f78e4(0x1c5)](require,_0x39f88e[_0x2f78e4(0x19b)]);let _0x55c517=[];_0x4008c1&&(_0x55c517=[_0x4008c1,_0x39f88e['cZzsy']]);const _0x5934bf=_0x39f88e[_0x2f78e4(0x151)](_0xc1b36b[_0x2f78e4(0x1ce)],undefined)?_0x1da046[_0x2f78e4(0x1b6)](_0xc1b36b[_0x2f78e4(0x1ce)][0x0]):_0x39f88e[_0x2f78e4(0x20f)](_0x4008c1,undefined)?_0x4008c1[_0x2f78e4(0x157)]():undefined,_0x48efd2=_0x2d42c3?this[_0x2f78e4(0x200)](_0x2d42c3):null,_0x42c5e8=_0x2d42c3?this['_paths'][_0x2f78e4(0x215)](this[_0x2f78e4(0x183)](_0xc1b36b)):_0x39f88e['eZqfy'];let _0x3dc517=_0x39f88e[_0x2f78e4(0x1ed)];const _0x2951e9=!_0x436d4b[_0x2f78e4(0x1ab)]?new Date()['toISOString']():null;if(_0x436d4b[_0x2f78e4(0x177)])_0x3dc517=_0x4008c1?_0x39f88e['Ibxqj']:_0x39f88e[_0x2f78e4(0x161)],_0xc1b36b['markedStatus']=!![];else _0x436d4b['skipped']&&(_0x3dc517=_0x39f88e['hvfKe'],_0xc1b36b[_0x2f78e4(0x1dc)]=!![]);const _0x4d9669={'framework':this[_0x2f78e4(0x199)],'uuid':_0xc1b36b[_0x2f78e4(0x19e)]||_0xc1b36b['hookAnalyticsId'],'name':_0xc1b36b[_0x2f78e4(0x186)],'body':{'lang':_0x39f88e[_0x2f78e4(0x21b)],'code':_0xc1b36b['body'][_0x2f78e4(0x157)]()},'type':_0xc1b36b[_0x2f78e4(0x158)],'scope':_0xc1b36b['fullTitle'](),'scopes':this[_0x2f78e4(0x16f)](_0xc1b36b),'file_name':_0x42c5e8,'vc_filepath':_0x48efd2?path[_0x2f78e4(0x14e)](_0x48efd2,_0x2d42c3):null,'location':_0x42c5e8,'result':_0x3dc517,'failure_reason':_0x5934bf,'duration_in_ms':_0xc1b36b[_0x2f78e4(0x1a3)]||(_0x436d4b[_0x2f78e4(0x177)]||_0x436d4b[_0x2f78e4(0x238)])?_0x39f88e['uBEwl'](Date[_0x2f78e4(0x23a)](),new Date(_0xc1b36b[_0x2f78e4(0x1e7)])[_0x2f78e4(0x1ee)]()):null,'started_at':new Date(_0xc1b36b[_0x2f78e4(0x1e7)])[_0x2f78e4(0x181)](),'finished_at':_0x2951e9,'failure':testOpsHelper['failureData']['apply'](null,_0x55c517),'failure_type':!_0x5934bf?null:testOpsHelper['getFailureType'](_0x5934bf),'retry_of':_0xc1b36b[_0x2f78e4(0x16e)]||null,'tags':_0xc1b36b[_0x2f78e4(0x1a4)]||[],'customRerunParam':{'rerun_name':_0xc1b36b['fullTitle']()}};_0x39f88e[_0x2f78e4(0x1fb)](appendTesthubParams,_0x4d9669,_0x231b42,_0xc1b36b,FRAMEWORKS[_0x2f78e4(0x1b8)]);if(_0x436d4b[_0x2f78e4(0x1c2)])[_0x4d9669[_0x2f78e4(0x15b)],_0x4d9669[_0x2f78e4(0x218)]]=[this[_0x2f78e4(0x205)](_0xc1b36b),_0xc1b36b[_0x2f78e4(0x1d6)]['test'][_0x2f78e4(0x186)]],_0x436d4b[_0x2f78e4(0x177)]?_0x39f88e[_0x2f78e4(0x151)](_0x4d9669[_0x2f78e4(0x1a5)],_0x39f88e[_0x2f78e4(0x1e0)])&&(_0x4d9669[_0x2f78e4(0x1a5)]=_0x39f88e['jmaFX']):_0x4d9669[_0x2f78e4(0x1f4)]={};else _0x436d4b['test']&&(this[_0x2f78e4(0x170)](_0xc1b36b),_0x436d4b['skipped']&&this[_0x2f78e4(0x16b)](_0xc1b36b),(_0x436d4b[_0x2f78e4(0x177)]||_0x436d4b[_0x2f78e4(0x238)])&&(_0x4d9669[_0x2f78e4(0x1dd)]=this[_0x2f78e4(0x22c)](_0xc1b36b)));this[_0x2f78e4(0x223)]&&(_0x436d4b[_0x2f78e4(0x1ab)]||_0x436d4b[_0x2f78e4(0x238)])&&(_0x4d9669[_0x39f88e[_0x2f78e4(0x221)]]=this[_0x2f78e4(0x1da)](this['driver']));_0x436d4b[_0x2f78e4(0x1c1)]&&_0x436d4b[_0x2f78e4(0x177)]&&_0xc1b36b[_0x2f78e4(0x1e1)]&&(_0x4d9669[_0x39f88e[_0x2f78e4(0x18b)]]={'feature':{'name':_0xc1b36b['parent'][_0x2f78e4(0x20c)][_0x2f78e4(0x218)],'path':_0x4d9669[_0x2f78e4(0x1ea)],'description':_0xc1b36b[_0x2f78e4(0x1ec)]['comment']},'scenario':{'name':_0xc1b36b[_0x2f78e4(0x186)]},'steps':_0xc1b36b[_0x2f78e4(0x1e1)]});const _0xec59ef=_0x4d9669[_0x39f88e['pTczA']][0x0];_0xec59ef&&(_0x4d9669[_0x39f88e[_0x2f78e4(0x19f)]]=_0xec59ef[_0x39f88e[_0x2f78e4(0x1ef)]],_0x4d9669[_0x39f88e[_0x2f78e4(0x18a)]]=_0xec59ef[_0x39f88e[_0x2f78e4(0x1b0)]]);if(_0xc1b36b[_0x2f78e4(0x1e1)])for(const _0x171d17 of _0xc1b36b[_0x2f78e4(0x1e1)]){!_0x171d17[_0x2f78e4(0x189)]&&(_0x171d17[_0x2f78e4(0x189)]=new Date()[_0x2f78e4(0x181)](),_0x39f88e[_0x2f78e4(0x211)](_0x171d17[_0x2f78e4(0x1a5)],_0x39f88e['ijSKv'])&&(_0xec59ef?(_0x171d17[_0x2f78e4(0x1a5)]=_0x39f88e[_0x2f78e4(0x1e0)],_0x171d17[_0x2f78e4(0x1ad)]=_0xec59ef[_0x39f88e[_0x2f78e4(0x1ef)]][0x0]):_0x171d17['result']=_0x39f88e[_0x2f78e4(0x161)]));}const _0x27a176={};_0x27a176[_0x2f78e4(0x23f)]=_0x436d4b[_0x2f78e4(0x238)]?TEST_EVENTS['TEST_RUN_FINISHED']:_0x231b42;const _0x4b33ad=_0x27a176;return _0x436d4b['hook']?_0x4b33ad[_0x39f88e['qHtnB']]=_0x4d9669:_0x4b33ad[_0x39f88e[_0x2f78e4(0x1c9)]]=_0x4d9669,_0x4b33ad;}catch(_0x4b1d19){logger[_0x2f78e4(0x1f0)]('Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20'+_0x231b42+_0x2f78e4(0x217)+_0x4b1d19);}}async[a4_0x599b27(0x222)](_0x7dacb6,_0x12e480){const _0x34d1d7=a4_0x599b27;if(!this[_0x34d1d7(0x167)]||!_0x12e480||!_0x7dacb6)return![];try{return await SessionHandler['uploadEventData'](_0x12e480);}catch(_0x390a7a){logger[_0x34d1d7(0x1f0)](_0x34d1d7(0x23d)+_0x7dacb6+'\x20with\x20error\x20:\x20'+_0x390a7a);}}[a4_0x599b27(0x219)](_0x283fa3){const _0x59488f=a4_0x599b27,_0x3786e5={};_0x3786e5['OYEEa']=_0x59488f(0x20d);const _0x26d7b0=_0x3786e5;return{'id':_0x283fa3['stepAnalyticsId'],'text':_0x283fa3[_0x59488f(0x152)],'keyword':_0x283fa3[_0x59488f(0x213)],'started_at':_0x283fa3[_0x59488f(0x1e7)][_0x59488f(0x181)](),'result':_0x26d7b0['OYEEa']};}[a4_0x599b27(0x202)](_0x22a8bc){const _0x2045e5=a4_0x599b27,_0x1d36f4={'IVgkK':function(_0x2fd39d){return _0x2fd39d();}};!this[_0x2045e5(0x166)][_0x2045e5(0x1e1)]&&(this[_0x2045e5(0x166)][_0x2045e5(0x1e1)]=[]),!_0x22a8bc['stepAnalyticsId']&&(_0x22a8bc[_0x2045e5(0x1af)]=_0x1d36f4['IVgkK'](uuidv4),_0x22a8bc[_0x2045e5(0x1e7)]=new Date(),this[_0x2045e5(0x166)]['bddSteps'][_0x2045e5(0x194)](this['initializeBddStep'](_0x22a8bc)));}[a4_0x599b27(0x14a)](_0x53af7e){const _0x5991fa=a4_0x599b27,_0x4aadfa={'maKBD':function(_0x29d21f,_0x587539){return _0x29d21f(_0x587539);},'nwNxu':_0x5991fa(0x159),'uRUUX':_0x5991fa(0x20d),'IafqE':_0x5991fa(0x179),'jzuvo':function(_0x106a1a,_0x1a5879){return _0x106a1a-_0x1a5879;}};let _0x5148cd=this[_0x5991fa(0x166)][_0x5991fa(0x1e1)]['find'](_0x8089ce=>_0x8089ce['id']===_0x53af7e[_0x5991fa(0x1af)]);_0x4aadfa['maKBD'](isUndefined,_0x5148cd)&&(_0x5148cd=this['initializeBddStep'](_0x53af7e)),_0x5148cd[_0x5991fa(0x1a5)]=[_0x4aadfa[_0x5991fa(0x178)],_0x4aadfa[_0x5991fa(0x231)]]['includes'](_0x53af7e[_0x5991fa(0x174)])?_0x4aadfa[_0x5991fa(0x1b7)]:_0x53af7e[_0x5991fa(0x174)],_0x5148cd[_0x5991fa(0x189)]=new Date()[_0x5991fa(0x181)](),_0x5148cd['duration']=_0x4aadfa['jzuvo'](Date[_0x5991fa(0x23a)](),_0x53af7e[_0x5991fa(0x1e7)][_0x5991fa(0x1ee)]()),_0x5148cd[_0x5991fa(0x1ad)]=_0x53af7e['err']?_0x53af7e['err'][_0x5991fa(0x15d)]:null;}}function a4_0x4d7c(_0x4cf2b8,_0x29d872){const _0x224013=a4_0x2240();return a4_0x4d7c=function(_0x4d7c90,_0xffb9a0){_0x4d7c90=_0x4d7c90-0x14a;let _0x32944d=_0x224013[_0x4d7c90];return _0x32944d;},a4_0x4d7c(_0x4cf2b8,_0x29d872);}const a4_0x423660={};function a4_0x2240(){const _0x5f0b75=['../utils/constants','./helper.js','frameworkName','pAari','fqsQN','727038HxCZco','18241130oDzNVc','testAnalyticsId','ndGCr','wWlDr','BrowserType','pid','duration','tags','result','currentHook','cEpJl','connect','xsnlc','TestRunFinished','started','5557510rbENQc','failure','appendTestItemLog','stepAnalyticsId','PFhxp','YjhaA','winstonLogger','obsBrowserTypeMockApplied','mJhHi','_paths','inspect','IafqE','CODECEPT','aVJHn','bind','BJCsM','268uOJtmY','YDSsP','bs:addLog:','87005SgkVhZ','mAgRr','test','hook','GPEun','12072dcxKQQ','NezwO','zbmBu','soClI','NLOdK','ZOziS','err','string','hook_run','path','errorsDetailed','failed','sXYLD','TEST_EVENTS','cJDEW','2916RiuDVH','prototype','597cmJXiU','ctx','Playwright','forEach','NwotZ','getCBTInfo','28OzCoPd','markedStatus','hooks','HookRunStarted','constructor','Ibxqj','bddSteps','FpFud','statSync','AXPaI','pTciw','../../helpers/helper','startedAt','tMQKi','test_run','file_name','Checking\x20for\x20accessibility\x20automation\x20session\x20with\x20','parent','ijSKv','getTime','meyyl','debug','PLAYWRIGHT_HUB_URL','launch','ILJCv','body','1|5|2|4|3|0','TEST_RUN_FINISHED','test_run_uuid','TestRunStarted','_beforeEach','expanded','RfTMl','util','GRVXg','dnVUx','CBTSessionCreated','findGitConfig','iCaKP','bddStepStart','nMBKV','_testEnv','getHookType','QzZIV','toLowerCase','../mocha/test-observability/mochaUtils','codeceptjs','89717jxSqNl','removeAllListeners','feature','pending','getInstance','nLzcq','BROWSERSTACK','UCkEy','exports','keyword','gohFX','prefixTestPath','afQCR','\x20with\x20error\x20:\x20','name','initializeBddStep','uEoUK','FGIgl','TEST_RUN_STARTED','concat','iSlNh','TEST_REPORTING_ANALYTICS','VbdHI','urqcO','fireEvent','driver','apply','jWgeX','backtrace','nEtAH','HOOK_RUN_STARTED','AoHvu','location_prefix','groups','getHooksForTest','_beforeAll','STATE_PASSED','split','bfpxV','uRUUX','_afterAll','DxzpQ','.git','O11yHelper','stringify','then','skipped','uploadEventData','now','client','suites','Exception\x20in\x20sending\x20test\x20data\x20for\x20event\x20','Shzvr','event_type','wsEndpoint','lib','bddStepFinish','javascript','start','GgBbR','relative','connectOverCDP','../../helpers/test-observability/sessionHandler','RqGqJ','text','../playwright/accessibility-helper','accessibilityPlatform','../../helpers/testhub/utils.js','setupBrowserDetails','toString','type','success','SVmlL','hook_type','hook_run_uuid','message','defineProperty','failure_reason_expanded','length','jmaFX','11mFjeTR','HOOK_RUN_FINISHED','ImLSr','match','currentTest','enabled','integrations','lFkZb','File\x20path\x20could\x20not\x20be\x20found','resetSkipTestHooks','LogCreated','wyTBw','retryOf','getHierarchy','mapTestHooks','dirname','naXbL','includes','status','LLNtq','tCYki','finished','nwNxu','passed','QqWJX','logs','Not\x20able\x20to\x20import\x20Browser','Failed\x20to\x20parse\x20wsendpoint\x20','browserType.js','pOsaR','stop','toISOString','file','getRootParentFile','cwd','YdQJr','title','rDQqx','_afterEach','finished_at','Qgifx','RluDE','../../helpers/logger','bmOxt','PathHelper','TEST_RUN_SKIPPED','hookAnalyticsId','jpxAS','OQRzt','uuid','push','failure_backtrace','replace'];a4_0x2240=function(){return _0x5f0b75;};return a4_0x2240();}a4_0x423660[a4_0x599b27(0x235)]=O11yHelper,a4_0x423660[a4_0x599b27(0x22e)]=STATE_PASSED,a4_0x423660['STATE_FAILED']=STATE_FAILED,a4_0x423660[a4_0x599b27(0x1d1)]=TEST_EVENTS,module[a4_0x599b27(0x212)]=a4_0x423660;
|
|
1
|
+
const a4_0x37f90b=a4_0x2ed6;(function(_0x16be0d,_0x57da78){const _0x5bdcea=a4_0x2ed6,_0x313031=_0x16be0d();while(!![]){try{const _0x42ef36=parseInt(_0x5bdcea(0x1f4))/0x1+-parseInt(_0x5bdcea(0x1fd))/0x2+-parseInt(_0x5bdcea(0x22b))/0x3+-parseInt(_0x5bdcea(0x229))/0x4*(parseInt(_0x5bdcea(0x1b1))/0x5)+-parseInt(_0x5bdcea(0x1fb))/0x6+parseInt(_0x5bdcea(0x220))/0x7*(-parseInt(_0x5bdcea(0x1d2))/0x8)+-parseInt(_0x5bdcea(0x1f8))/0x9*(-parseInt(_0x5bdcea(0x1ae))/0xa);if(_0x42ef36===_0x57da78)break;else _0x313031['push'](_0x313031['shift']());}catch(_0x423e14){_0x313031['push'](_0x313031['shift']());}}}(a4_0x9e7c,0xc21d5));const path=require(a4_0x37f90b(0x1e6)),fs=require('fs'),{v4:uuidv4}=require(a4_0x37f90b(0x1c2)),{importFileFromPWCore,nestedKeyValue,parseWSEndpoint,isUndefined}=require('../../helpers/helper'),testOpsHelper=require(a4_0x37f90b(0x1c1)),{getTestEnv}=require(a4_0x37f90b(0x211)),{FRAMEWORKS}=require(a4_0x37f90b(0x1cd)),logger=require('../../helpers/logger')[a4_0x37f90b(0x183)],SessionHandler=require('../../helpers/test-observability/sessionHandler'),RequestQueueHandler=require(a4_0x37f90b(0x232)),PlaywrightSessionDetails=require('../playwright/sessionDetails'),debug=testOpsHelper['debug'],{processAccessibilityCaps}=require(a4_0x37f90b(0x237)),Constants=require('../utils/constants'),{fetchPlatformDetails}=require('./helper.js'),{shouldProcessEventForTesthub,appendTesthubParams}=require(a4_0x37f90b(0x1c4)),constants=require(a4_0x37f90b(0x195)),STATE_PASSED=a4_0x37f90b(0x238),STATE_FAILED=a4_0x37f90b(0x1e5),a4_0xe6af0b={};function a4_0x2ed6(_0x1b2f66,_0x3e2194){const _0x9e7c28=a4_0x9e7c();return a4_0x2ed6=function(_0x2ed6d3,_0x3492c2){_0x2ed6d3=_0x2ed6d3-0x143;let _0x474342=_0x9e7c28[_0x2ed6d3];return _0x474342;},a4_0x2ed6(_0x1b2f66,_0x3e2194);}a4_0xe6af0b[a4_0x37f90b(0x21b)]=a4_0x37f90b(0x219),a4_0xe6af0b[a4_0x37f90b(0x228)]=a4_0x37f90b(0x146),a4_0xe6af0b[a4_0x37f90b(0x1e9)]='TestRunSkipped',a4_0xe6af0b[a4_0x37f90b(0x169)]=a4_0x37f90b(0x167),a4_0xe6af0b[a4_0x37f90b(0x180)]=a4_0x37f90b(0x1c7);function a4_0x9e7c(){const _0xfbe506=['_paths','defineProperty','statSync','started','backtrace','UcjDD','constructor','Failed\x20to\x20parse\x20wsendpoint\x20','relative','connectOverCDP','resetSkipTestHooks','mapTestHooks','iRwoX','pTUdN','frameworkName','suites','xyeOG','body','failed','path','VMXol','bddStepStart','TEST_RUN_SKIPPED','SPKZm','PathHelper','AyohJ','OgkGp','client','ZhoKt','toISOString','SpLPN','bddSteps','dSZHQ','332865mdxdHQ','AaQld','keyword','util','23208750fDdNlq','rkJlg','shutdown','1716918HeDzuQ','kKaTK','2392612zTyVkL','failure_reason_expanded','bind','sPUKw','iyOmM','getInstance','push','VSVoz','toLowerCase','text','PYDdF','launch','meta','MSWyQ','skipped','VjpVF','BROWSERSTACK','getTime','File\x20path\x20could\x20not\x20be\x20found','zylXi','../mocha/test-observability/mochaUtils','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','\x20with\x20error\x20:\x20','location_prefix','SRPws','_testEnv','setupBrowserDetails','prefixTestPath','TestRunStarted','zyqBt','TEST_RUN_STARTED','hookAnalyticsId','getRootParentFile','replace','QmUYn','6811DefMTb','getHierarchy','startedAt','currentTest','logs','uploadEventData','length','vSNGH','TEST_RUN_FINISHED','72VwQZru','bddStepFinish','2982630WCWuGd','udrkW','sendCBTInfo','expanded','Checking\x20for\x20accessibility\x20automation\x20session\x20with\x20','stop','SWTuz','../../helpers/test-observability/requestQueueHandler','connect','title','lVvDZ','BrowserType','../playwright/accessibility-helper','passed','mnTVW','4|1|3|5|0|2','kIWFs','ojSXx','integrations','stepAnalyticsId','browserstack','removeAllListeners','find','split','_afterAll','Playwright','Exception\x20in\x20uploading\x20log\x20data\x20to\x20','TestRunFinished','getHooksForTest','DjliE','test_run','retryOf','config','then','_beforeEach','RYRrn','upDSi','DXsux','codeceptjs','status','QhRJF','file_name','rkkOh','accessibilityPlatform','failure','TEST_REPORTING_ANALYTICS','initializeBddStep','browserType.js','exports','pid','kJKMm','hook_type','AQxRn','success','wsEndpoint','captureEvent','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20','now','findGitConfig','rBGJf','HookRunStarted','nfebx','HOOK_RUN_STARTED','PLPeQ','jHvac','cabzE','event_type','markedStatus','appendTestItemLog','EVBch','rfqpS','prototype','rXeYx','Csftz','parent','failed\x20to\x20get\x20root\x20parent\x20file\x20','debug','MTBxL','start','driver','result','cwd','xcwSm','name','testAnalyticsId','HOOK_RUN_FINISHED','__cloud_provider___','.git','winstonLogger','awwah','ctx','lUFKH','STATE_PASSED','toString','yblIU','dOVwS','dirname','SrfXW','groups','hook','bs:addLog:','TEST_EVENTS','includes','message','nSkHt','LoWCR','../utils/constants','nAZKj','javascript','err','zaBJs','sep','getFailureType','LbXHw','VDmVu','test','duration','qDCxh','Cusez','comment','hook_run_uuid','BgTFK','aVmuV','feature','IgHEw','LGOZH','file','QZkfJ','fullTitle','dbUMd','pending','20EIKdAW','obsBrowserTypeMockApplied','hrkRl','408435uEQyIu','_afterEach','fireEvent','finished_at','test_run_uuid','currentHook','Not\x20able\x20to\x20import\x20Browser','apply','getCBTInfo','forEach','join','DQZWB','hooks','TWiLJ','toUpperCase','CODECEPT','../../helpers/test-observability/utils','uuid','finished','../../helpers/testhub/utils.js','QEulT','_beforeAll','HookRunFinished','pYoTR','oljqE','SrArF','Exception\x20in\x20sending\x20test\x20data\x20for\x20event\x20','enabled','../../helpers/test-observability/constants','ZcNtc','match','string','errorsDetailed','6152hDLmLl'];a4_0x9e7c=function(){return _0xfbe506;};return a4_0x9e7c();}const TEST_EVENTS=a4_0xe6af0b,parseEvent=_0x59a387=>{const _0x1c41b0=a4_0x37f90b,_0x391b79={};_0x391b79[_0x1c41b0(0x166)]=function(_0xda5b3b,_0x14396c){return _0xda5b3b<_0x14396c;},_0x391b79['yblIU']=function(_0x1a73c7,_0x2cbad9){return _0x1a73c7===_0x2cbad9;},_0x391b79[_0x1c41b0(0x16c)]=_0x1c41b0(0x19e),_0x391b79[_0x1c41b0(0x1f3)]=function(_0x1c496f,_0x31e63f){return _0x1c496f===_0x31e63f;},_0x391b79[_0x1c41b0(0x1df)]=_0x1c41b0(0x18e),_0x391b79[_0x1c41b0(0x1ca)]=_0x1c41b0(0x20b),_0x391b79[_0x1c41b0(0x174)]=function(_0xd4e9c1,_0x220c43){return _0xd4e9c1===_0x220c43;},_0x391b79[_0x1c41b0(0x18c)]=_0x1c41b0(0x1d6),_0x391b79[_0x1c41b0(0x1ce)]='finished';const _0x11efc1=_0x391b79,_0x4a5bd3=_0x59a387[_0x1c41b0(0x1cf)](/^(.*)Run(.*)$/);if(!_0x4a5bd3)return null;if(_0x11efc1[_0x1c41b0(0x166)](_0x4a5bd3[_0x1c41b0(0x226)],0x3))return null;const _0x2e03e1=_0x4a5bd3[0x1][_0x1c41b0(0x205)](),_0x383418=_0x4a5bd3[0x2]['toLowerCase']();return{'test':_0x11efc1[_0x1c41b0(0x189)](_0x2e03e1,_0x11efc1[_0x1c41b0(0x16c)]),'hook':_0x11efc1[_0x1c41b0(0x1f3)](_0x2e03e1,_0x11efc1[_0x1c41b0(0x1df)]),'skipped':_0x11efc1[_0x1c41b0(0x189)](_0x383418,_0x11efc1[_0x1c41b0(0x1ca)]),'started':_0x11efc1['Csftz'](_0x383418,_0x11efc1[_0x1c41b0(0x18c)]),'finished':_0x11efc1['yblIU'](_0x383418,_0x11efc1[_0x1c41b0(0x1ce)])};},mockPWBrowserType=_0x1f7072=>{const _0x599f52=a4_0x37f90b,_0xc5a483={'eZZzS':function(_0x560abd,_0x2ae6ca){return _0x560abd===_0x2ae6ca;},'hrkRl':_0x599f52(0x1d0),'BgTFK':function(_0x1b86e8,_0x233287,_0x4c3833){return _0x1b86e8(_0x233287,_0x4c3833);},'FyJex':_0x599f52(0x161),'MSWyQ':function(_0x379c71,_0x508142){return _0x379c71(_0x508142);},'ZhoKt':_0x599f52(0x23f),'oljqE':function(_0x32a337,_0x4ec666,_0x2985c6){return _0x32a337(_0x4ec666,_0x2985c6);},'MTBxL':function(_0x5f48d3,_0xd759ba){return _0x5f48d3(_0xd759ba);},'PYDdF':'lib','AQxRn':_0x599f52(0x1ee),'dOVwS':_0x599f52(0x15a),'VjpVF':function(_0x3a0beb,_0x55735f){return _0x3a0beb(_0x55735f);},'qeYhu':function(_0x59deaf,_0x124392){return _0x59deaf(_0x124392);},'rXeYx':_0x599f52(0x1b7),'VMXol':_0x599f52(0x233),'dbUMd':'launch'},_0x1a0e81=path['join'](_0xc5a483[_0x599f52(0x207)],_0xc5a483[_0x599f52(0x15f)],_0xc5a483[_0x599f52(0x18a)]),_0x1b6912=_0xc5a483[_0x599f52(0x20c)](importFileFromPWCore,_0x1a0e81);if(!_0x1b6912){_0xc5a483['qeYhu'](debug,_0xc5a483[_0x599f52(0x173)]);return;}const _0x1d81f9=_0x1b6912[_0x599f52(0x236)],_0x4fbcbd=_0x1d81f9[_0x599f52(0x172)];if(_0x4fbcbd[_0x599f52(0x1af)])return;const _0x27bf59=_0x4fbcbd[_0x599f52(0x233)];Object[_0x599f52(0x1d4)](_0x4fbcbd,_0xc5a483[_0x599f52(0x1e7)],{'get':function(){return async function _0x2e0bb4(_0x29b1e3,_0x2af4a0){const _0x29352a=a4_0x2ed6,_0x291f79={'YDsmL':function(_0x2e1f41,_0x4794df){return _0xc5a483['eZZzS'](_0x2e1f41,_0x4794df);},'vIFCK':_0xc5a483[_0x29352a(0x1b0)]},_0x5ea833=_0xc5a483[_0x29352a(0x1a4)](nestedKeyValue,_0x29b1e3,[_0xc5a483['FyJex']])||_0x29b1e3;let _0x5eff7d=null,_0x57ca55=null;try{[_0x57ca55,_0x5eff7d]=_0x5ea833?_0xc5a483[_0x29352a(0x20a)](parseWSEndpoint,_0x5ea833):[null,null],global['__platformCaps']=_0x5eff7d,logger['debug'](_0x29352a(0x22f)+_0x57ca55),_0x57ca55['includes'](Constants[_0x29352a(0x20d)])&&(global[_0x29352a(0x181)]=_0xc5a483[_0x29352a(0x1ef)]);}catch(_0x38b85b){logger[_0x29352a(0x177)](_0x29352a(0x1da)+_0x5ea833+'\x20'+_0x38b85b);}_0xc5a483[_0x29352a(0x1c9)](processAccessibilityCaps,_0x5eff7d,_0x57ca55);if(global[_0x29352a(0x156)]){const _0x3fdf7c=await _0x4fbcbd[_0x29352a(0x1dc)][_0x29352a(0x1b8)](this,[''+Constants['PLAYWRIGHT_HUB_URL']+_0xc5a483[_0x29352a(0x178)](encodeURIComponent,JSON['stringify'](_0x5eff7d))]);return PlaywrightSessionDetails[_0x29352a(0x217)](_0x3fdf7c,_0x1f7072,_0x5ea833),_0x3fdf7c;}return _0x27bf59[_0x29352a(0x1b8)](this,arguments)[_0x29352a(0x14c)](_0x14ffe9=>{const _0x41d4fa=_0x29352a;let _0x23942a=_0x29b1e3[_0x41d4fa(0x161)];return _0x291f79['YDsmL'](typeof _0x29b1e3,_0x291f79['vIFCK'])&&(_0x23942a=_0x29b1e3),PlaywrightSessionDetails[_0x41d4fa(0x217)](_0x14ffe9,_0x1f7072,_0x23942a),_0x14ffe9;});};}});const _0x36bace=_0x4fbcbd[_0x599f52(0x208)];Object[_0x599f52(0x1d4)](_0x4fbcbd,_0xc5a483[_0x599f52(0x1ac)],{'get':function(){return async function _0x4dd0f0(){const _0x4b4680=a4_0x2ed6;return _0x36bace[_0x4b4680(0x1b8)](this,arguments)['then'](_0xbf9306=>{const _0x3c9dc8=_0x4b4680;return PlaywrightSessionDetails[_0x3c9dc8(0x217)](_0xbf9306,null),_0xbf9306;});};}});};class O11yHelper{[a4_0x37f90b(0x223)]=null;[a4_0x37f90b(0x1b6)]=null;[a4_0x37f90b(0x1cc)]=![];[a4_0x37f90b(0x1e1)]=![];constructor(_0x1bbd6b,_0x542c2c){const _0x5b836c=a4_0x37f90b,_0x26f96a={'yqMYD':_0x5b836c(0x23a),'QAfbV':function(_0x29eb37,_0x598e66){return _0x29eb37===_0x598e66;},'vSNGH':_0x5b836c(0x144),'iyOmM':function(_0x54a83e,_0x5e22f7){return _0x54a83e(_0x5e22f7);},'Cusez':function(_0x4e95d9){return _0x4e95d9();},'PLPeQ':function(_0x3310d0){return _0x3310d0();}},_0x4ba4f0=_0x26f96a['yqMYD'][_0x5b836c(0x242)]('|');let _0x4db521=0x0;while(!![]){switch(_0x4ba4f0[_0x4db521++]){case'0':this[_0x5b836c(0x1d3)]=new testOpsHelper[(_0x5b836c(0x1eb))]({'cwd':process[_0x5b836c(0x17c)]()},this['_testEnv'][_0x5b836c(0x214)]);continue;case'1':this[_0x5b836c(0x1e1)]=_0x542c2c[_0x5b836c(0x1e1)];continue;case'2':this[_0x5b836c(0x17a)]&&_0x26f96a['QAfbV'](this[_0x5b836c(0x17a)][_0x5b836c(0x1d9)][_0x5b836c(0x17e)],_0x26f96a[_0x5b836c(0x227)])&&_0x26f96a[_0x5b836c(0x201)](mockPWBrowserType,null);continue;case'3':this[_0x5b836c(0x17a)]=_0x1bbd6b;continue;case'4':this['enabled']=_0x26f96a[_0x5b836c(0x1a1)](shouldProcessEventForTesthub);continue;case'5':this[_0x5b836c(0x216)]=_0x26f96a[_0x5b836c(0x16a)](getTestEnv);continue;}break;}}[a4_0x37f90b(0x179)](){const _0xa2987a=a4_0x37f90b;if(!this[_0xa2987a(0x1cc)])return;testOpsHelper['patchConsoleLogger'](),process[_0xa2987a(0x240)](_0xa2987a(0x18f)+process[_0xa2987a(0x15c)]),process['on'](_0xa2987a(0x18f)+process[_0xa2987a(0x15c)],this[_0xa2987a(0x16f)][_0xa2987a(0x1ff)](this));}async[a4_0x37f90b(0x230)](){const _0xb3e687=a4_0x37f90b;await RequestQueueHandler[_0xb3e687(0x202)]()[_0xb3e687(0x1fa)]();}async[a4_0x37f90b(0x16f)](_0x41572c){const _0x374b2f=a4_0x37f90b,_0x21e977={'pUaYQ':'LogCreated','kKaTK':function(_0x585113,_0x2b9878){return _0x585113(_0x2b9878);}};try{this['currentHook']&&!this[_0x374b2f(0x1b6)][_0x374b2f(0x16e)]&&(_0x41572c['hook_run_uuid']=this[_0x374b2f(0x1b6)][_0x374b2f(0x21c)]);!_0x41572c['hook_run_uuid']&&this[_0x374b2f(0x223)]&&!this[_0x374b2f(0x223)]['markedStatus']&&(_0x41572c[_0x374b2f(0x1b5)]=this['currentTest'][_0x374b2f(0x17f)]);if(_0x41572c[_0x374b2f(0x1a3)]||_0x41572c[_0x374b2f(0x1b5)]){const _0x108f5e={};_0x108f5e[_0x374b2f(0x16d)]=_0x21e977['pUaYQ'],_0x108f5e[_0x374b2f(0x224)]=[_0x41572c],await SessionHandler[_0x374b2f(0x225)](_0x108f5e);}}catch(_0x2af42c){_0x21e977[_0x374b2f(0x1fc)](debug,_0x374b2f(0x145)+constants[_0x374b2f(0x158)]+_0x374b2f(0x213)+_0x2af42c);}}async[a4_0x37f90b(0x22d)](_0x45611c){const _0x3eedad=a4_0x37f90b,_0x6185c1={'DjliE':'CBTSessionCreated','VROPU':function(_0x3a7bc0,_0x2a91bd){return _0x3a7bc0(_0x2a91bd);}};if(!this[_0x3eedad(0x1cc)])return;const _0x2c26a1=this[_0x3eedad(0x1b9)](this[_0x3eedad(0x17a)]);try{const _0x360e1e={};_0x360e1e[_0x3eedad(0x1c2)]=_0x45611c,_0x360e1e[_0x3eedad(0x23d)]=_0x2c26a1;const _0x33421c=_0x360e1e,_0x1ea97e={};_0x1ea97e[_0x3eedad(0x16d)]=_0x6185c1[_0x3eedad(0x148)],_0x1ea97e[_0x3eedad(0x149)]=_0x33421c,await SessionHandler[_0x3eedad(0x225)](_0x1ea97e);}catch(_0x1f8f81){_0x6185c1['VROPU'](debug,_0x3eedad(0x163)+constants[_0x3eedad(0x158)]+'\x20with\x20error\x20:\x20'+_0x1f8f81);}}[a4_0x37f90b(0x1b9)](_0x5996cb){const _0x50d8c6=a4_0x37f90b,_0x39c13e={'rkkOh':function(_0x2050c3,_0x2ef6a0){return _0x2050c3(_0x2ef6a0);}};return _0x39c13e[_0x50d8c6(0x155)](fetchPlatformDetails,_0x5996cb);}[a4_0x37f90b(0x1dd)]=_0x50dbf3=>{const _0x56732b=a4_0x37f90b,_0x2b2ddd={};_0x2b2ddd[_0x56732b(0x14e)]=_0x56732b(0x14d),_0x2b2ddd['zylXi']='_afterEach';const _0x403654=_0x2b2ddd;if(!_0x50dbf3||!_0x50dbf3['parent'])return;[_0x403654[_0x56732b(0x14e)],_0x403654[_0x56732b(0x210)]][_0x56732b(0x1ba)](_0x2a2520=>{const _0x35eb9a=_0x56732b,_0x356be9=_0x50dbf3[_0x35eb9a(0x175)][_0x2a2520];_0x356be9['forEach'](_0x197c20=>{const _0x135623=_0x35eb9a;_0x197c20[_0x135623(0x21c)]&&(_0x197c20[_0x135623(0x21c)]=null);});});};[a4_0x37f90b(0x1de)](_0x49f976){const _0x1c9132=a4_0x37f90b,_0xbb57d7={'qwvFY':_0x1c9132(0x151),'LoWCR':function(_0x1f3185){return _0x1f3185();},'pYoTR':function(_0x4a3cb4,_0xeb5214){return _0x4a3cb4===_0xeb5214;},'LbXHw':_0x1c9132(0x1b2),'SpLPN':_0x1c9132(0x1c6),'UcjDD':_0x1c9132(0x143),'RhtCS':_0x1c9132(0x14d)};if(!_0x49f976||!_0x49f976['parent'])return;[_0xbb57d7[_0x1c9132(0x1f1)],_0xbb57d7[_0x1c9132(0x1d8)],_0xbb57d7['RhtCS'],_0xbb57d7['LbXHw']]['forEach'](_0x81ae60=>{const _0x178bef=_0x1c9132,_0x4b0219={'OgkGp':_0xbb57d7['qwvFY'],'QEulT':function(_0x434fc7){const _0x3d1def=a4_0x2ed6;return _0xbb57d7[_0x3d1def(0x194)](_0x434fc7);},'upDSi':function(_0x1fcbb5,_0x101364){const _0x476e10=a4_0x2ed6;return _0xbb57d7[_0x476e10(0x1c8)](_0x1fcbb5,_0x101364);},'sTOmH':_0xbb57d7[_0x178bef(0x19c)],'MDidl':function(_0x560239){const _0x580946=_0x178bef;return _0xbb57d7[_0x580946(0x194)](_0x560239);}},_0x229845=_0x49f976[_0x178bef(0x175)][_0x81ae60]||[];_0x229845['forEach'](_0x5311fc=>{const _0x441e7a=_0x178bef;if(_0x5311fc['title']['includes'](_0x4b0219[_0x441e7a(0x1ed)]))return;if(!_0x5311fc[_0x441e7a(0x21c)])_0x5311fc[_0x441e7a(0x21c)]=_0x4b0219[_0x441e7a(0x1c5)](uuidv4);else _0x5311fc['markedStatus']&&_0x4b0219[_0x441e7a(0x14f)](_0x81ae60,_0x4b0219['sTOmH'])&&(_0x5311fc[_0x441e7a(0x21c)]=_0x4b0219['MDidl'](uuidv4),delete _0x5311fc[_0x441e7a(0x16e)]);});}),this[_0x1c9132(0x1de)](_0x49f976[_0x1c9132(0x175)]);}[a4_0x37f90b(0x147)](_0x1a5fb4){const _0x1af9be=a4_0x37f90b,_0x3a7ccd={};_0x3a7ccd['afCVz']=_0x1af9be(0x1c6),_0x3a7ccd[_0x1af9be(0x1ea)]=_0x1af9be(0x143),_0x3a7ccd[_0x1af9be(0x200)]=_0x1af9be(0x14d),_0x3a7ccd[_0x1af9be(0x1a0)]=_0x1af9be(0x1b2);const _0x1705e3=_0x3a7ccd;if(!_0x1a5fb4||!_0x1a5fb4['parent'])return[];const _0x52362c=[];return[_0x1705e3['afCVz'],_0x1705e3[_0x1af9be(0x1ea)],_0x1705e3['sPUKw'],_0x1705e3[_0x1af9be(0x1a0)]][_0x1af9be(0x1ba)](_0x260da6=>{const _0x3da403=_0x1af9be,_0x52ab68=_0x1a5fb4[_0x3da403(0x175)][_0x260da6]||[];_0x52ab68[_0x3da403(0x1ba)](_0x5284ab=>{const _0x341839=_0x3da403;_0x5284ab[_0x341839(0x21c)]&&_0x52362c['push'](_0x5284ab[_0x341839(0x21c)]);});}),[]['concat'](_0x52362c,this[_0x1af9be(0x147)](_0x1a5fb4[_0x1af9be(0x175)]));}['getHookType'](_0x3461c7){const _0x562125=a4_0x37f90b,_0x57c70a=/^"(?<hook>.*)" hook:.*$/,_0x1b3ef1=_0x3461c7['title'],_0x3c685a=_0x1b3ef1[_0x562125(0x1cf)](_0x57c70a);if(_0x3c685a&&_0x3c685a[_0x562125(0x18d)])return _0x3c685a[_0x562125(0x18d)]['hook'][_0x562125(0x1bf)]()[_0x562125(0x21e)]('\x20','_');return null;}[a4_0x37f90b(0x165)](_0x1e4b97){const _0x435d49=a4_0x37f90b,_0x54d5d8={};_0x54d5d8[_0x435d49(0x21a)]=function(_0x12cc69,_0x42639a){return _0x12cc69===_0x42639a;},_0x54d5d8[_0x435d49(0x1a5)]=function(_0x358213,_0x2eaec8){return _0x358213===_0x2eaec8;},_0x54d5d8[_0x435d49(0x171)]=_0x435d49(0x182),_0x54d5d8['Scsvs']=_0x435d49(0x14b);const _0x1f2998=_0x54d5d8,_0x5125cd=path[_0x435d49(0x19a)];if(_0x1f2998[_0x435d49(0x21a)](_0x1e4b97,null)||_0x1f2998[_0x435d49(0x21a)](_0x1e4b97,'')||_0x1f2998[_0x435d49(0x21a)](_0x1e4b97,_0x5125cd)||_0x1f2998[_0x435d49(0x1a5)](_0x1e4b97,path['dirname'](_0x1e4b97)))return null;try{return fs[_0x435d49(0x1d5)](path[_0x435d49(0x1bb)](_0x1e4b97,_0x1f2998['rfqpS'],_0x1f2998['Scsvs'])),_0x1e4b97;}catch(_0x14eb60){const _0xa86187=path[_0x435d49(0x18b)](_0x1e4b97);return this[_0x435d49(0x165)](_0xa86187);}}[a4_0x37f90b(0x21d)](_0x261017){const _0x4d7bd0=a4_0x37f90b,_0x311ce={};_0x311ce[_0x4d7bd0(0x196)]=function(_0x10b958,_0x509fc3){return _0x10b958>_0x509fc3;};const _0x1c982a=_0x311ce;if(_0x261017[_0x4d7bd0(0x1a9)])return _0x261017[_0x4d7bd0(0x1a9)];if(_0x261017[_0x4d7bd0(0x185)]){const _0x37fab3=_0x261017[_0x4d7bd0(0x185)][_0x4d7bd0(0x223)]?this[_0x4d7bd0(0x21d)](_0x261017[_0x4d7bd0(0x185)][_0x4d7bd0(0x223)]):null;if(_0x37fab3)return _0x37fab3;}if(_0x261017[_0x4d7bd0(0x175)]){const _0x2be6d8=this[_0x4d7bd0(0x21d)](_0x261017[_0x4d7bd0(0x175)])||(_0x261017['parent'][_0x4d7bd0(0x185)]&&_0x261017[_0x4d7bd0(0x175)][_0x4d7bd0(0x185)][_0x4d7bd0(0x223)]?this[_0x4d7bd0(0x21d)](_0x261017[_0x4d7bd0(0x175)][_0x4d7bd0(0x185)][_0x4d7bd0(0x223)]):null);if(_0x2be6d8)return _0x2be6d8;_0x261017[_0x4d7bd0(0x175)][_0x4d7bd0(0x1e2)]&&_0x1c982a[_0x4d7bd0(0x196)](_0x261017['parent'][_0x4d7bd0(0x1e2)][_0x4d7bd0(0x226)],0x0)&&_0x261017[_0x4d7bd0(0x175)][_0x4d7bd0(0x1e2)][_0x4d7bd0(0x1ba)](_0x4e0f32=>{const _0x31169a=_0x4d7bd0,_0x44c360=_0x4e0f32[_0x31169a(0x185)]?this[_0x31169a(0x21d)](_0x4e0f32[_0x31169a(0x185)]):null;if(_0x44c360)return _0x44c360;});}return null;}[a4_0x37f90b(0x221)](_0x5ec266){const _0x7d2e0c=a4_0x37f90b,_0x4b0600={};_0x4b0600['NSdzM']=function(_0x2f5e83,_0x4c7d4a){return _0x2f5e83!==_0x4c7d4a;};const _0x52c5a8=_0x4b0600,_0x299bb0=[];if(_0x5ec266&&_0x5ec266['parent']){let _0x20c4d4=_0x5ec266[_0x7d2e0c(0x175)];while(_0x20c4d4&&_0x52c5a8['NSdzM'](_0x20c4d4['title'],'')){_0x299bb0['push'](_0x20c4d4['title']),_0x20c4d4=_0x20c4d4[_0x7d2e0c(0x175)];}}return _0x299bb0;}[a4_0x37f90b(0x162)](_0xd6b153,_0x1b39f7,_0x52b6c9=undefined){const _0x41d287=a4_0x37f90b,_0x389a06={'udrkW':function(_0x455c16,_0x32c97c){return _0x455c16(_0x32c97c);},'QmUYn':function(_0xed2095){return _0xed2095();},'QhRJF':function(_0x357153){return _0x357153();},'jHvac':function(_0x116609){return _0x116609();},'DXsux':function(_0x4378d7,_0x1d92cb){return _0x4378d7(_0x1d92cb);},'rkJlg':_0x41d287(0x1f7),'lVvDZ':_0x41d287(0x198),'EVBch':function(_0x4e8e1a,_0x304255){return _0x4e8e1a!==_0x304255;},'nSkHt':function(_0x3e7e2c,_0x1b1b82){return _0x3e7e2c!==_0x1b1b82;},'LGOZH':_0x41d287(0x20f),'IgHEw':'pending','ojSXx':_0x41d287(0x1e5),'SRPws':_0x41d287(0x238),'rLyMT':_0x41d287(0x20b),'TEAvu':_0x41d287(0x197),'zaBJs':function(_0x33914c,_0x173051){return _0x33914c-_0x173051;},'nfebx':function(_0xdce7f5,_0x202db0,_0x42da9e,_0x5772d8,_0x33c793){return _0xdce7f5(_0x202db0,_0x42da9e,_0x5772d8,_0x33c793);},'NwCFo':'integrations','DQZWB':_0x41d287(0x209),'pTUdN':_0x41d287(0x157),'AyohJ':'failure_backtrace','VSVoz':_0x41d287(0x1d7),'VDmVu':_0x41d287(0x1fe),'AaQld':_0x41d287(0x22e),'lUFKH':function(_0x355792,_0x4da884){return _0x355792===_0x4da884;},'xcwSm':'hook_run','awwah':_0x41d287(0x149)};if(!this['enabled'])return;try{if(_0x1b39f7['fn']&&_0x1b39f7['fn'][_0x41d287(0x188)]()[_0x41d287(0x1cf)](/browserstack internal helper hook/))return;const _0x17d6ef=_0x389a06[_0x41d287(0x22c)](parseEvent,_0xd6b153);if(!_0x17d6ef)return;if(_0x17d6ef[_0x41d287(0x19e)]){this[_0x41d287(0x223)]=_0x1b39f7,this[_0x41d287(0x1b6)]=null;if(_0x17d6ef[_0x41d287(0x1d6)]||_0x17d6ef[_0x41d287(0x20b)]){_0x1b39f7[_0x41d287(0x222)]=new Date(),_0x1b39f7[_0x41d287(0x16e)]=![];if(!_0x1b39f7[_0x41d287(0x17f)])_0x1b39f7[_0x41d287(0x17f)]=_0x389a06[_0x41d287(0x21f)](uuidv4);else _0x1b39f7[_0x41d287(0x16e)]&&(!_0x1b39f7[_0x41d287(0x14a)]&&(_0x1b39f7[_0x41d287(0x14a)]=_0x1b39f7[_0x41d287(0x17f)]),_0x1b39f7[_0x41d287(0x17f)]=_0x389a06[_0x41d287(0x153)](uuidv4));}}else{if(_0x17d6ef[_0x41d287(0x18e)]){this[_0x41d287(0x1b6)]=_0x1b39f7;if(_0x17d6ef[_0x41d287(0x1d6)]){_0x1b39f7['startedAt']=new Date(),_0x1b39f7['markedStatus']=![];if(!_0x1b39f7[_0x41d287(0x21c)])_0x1b39f7[_0x41d287(0x21c)]=_0x389a06[_0x41d287(0x16b)](uuidv4);else _0x1b39f7['hookAnalyticsId']&&_0x1b39f7['markedStatus']&&(_0x1b39f7[_0x41d287(0x21c)]=_0x389a06[_0x41d287(0x16b)](uuidv4));}}}if(_0x17d6ef[_0x41d287(0x1c3)]&&_0x1b39f7[_0x41d287(0x16e)])return;let _0x47ddab;try{_0x47ddab=this['getRootParentFile'](_0x1b39f7);}catch(_0x464c6e){logger[_0x41d287(0x177)](_0x41d287(0x176)+_0x464c6e),_0x47ddab=null;}const _0xe0e6db=_0x389a06[_0x41d287(0x150)](require,_0x389a06[_0x41d287(0x1f9)]);let _0x309273=[];_0x52b6c9&&(_0x309273=[_0x52b6c9,_0x389a06[_0x41d287(0x235)]]);const _0x3fd0af=_0x389a06[_0x41d287(0x170)](_0x1b39f7['errorsDetailed'],undefined)?_0xe0e6db['inspect'](_0x1b39f7[_0x41d287(0x1d1)][0x0]):_0x389a06[_0x41d287(0x193)](_0x52b6c9,undefined)?_0x52b6c9[_0x41d287(0x188)]():undefined,_0x3583e8=_0x47ddab?this[_0x41d287(0x165)](_0x47ddab):null,_0x6b2da8=_0x47ddab?this[_0x41d287(0x1d3)][_0x41d287(0x218)](this[_0x41d287(0x21d)](_0x1b39f7)):_0x389a06[_0x41d287(0x1a8)];let _0x358705=_0x389a06[_0x41d287(0x1a7)];const _0x91e47c=!_0x17d6ef[_0x41d287(0x1d6)]?new Date()['toISOString']():null;if(_0x17d6ef[_0x41d287(0x1c3)])_0x358705=_0x52b6c9?_0x389a06[_0x41d287(0x23c)]:_0x389a06['SRPws'],_0x1b39f7[_0x41d287(0x16e)]=!![];else _0x17d6ef[_0x41d287(0x20b)]&&(_0x358705=_0x389a06['rLyMT'],_0x1b39f7[_0x41d287(0x16e)]=!![]);const _0x4ec014={'framework':this[_0x41d287(0x1e1)],'uuid':_0x1b39f7[_0x41d287(0x17f)]||_0x1b39f7[_0x41d287(0x21c)],'name':_0x1b39f7[_0x41d287(0x234)],'body':{'lang':_0x389a06['TEAvu'],'code':_0x1b39f7[_0x41d287(0x1e4)][_0x41d287(0x188)]()},'type':_0x1b39f7['type'],'scope':_0x1b39f7[_0x41d287(0x1ab)](),'scopes':this[_0x41d287(0x221)](_0x1b39f7),'file_name':_0x6b2da8,'vc_filepath':_0x3583e8?path[_0x41d287(0x1db)](_0x3583e8,_0x47ddab):null,'location':_0x6b2da8,'result':_0x358705,'failure_reason':_0x3fd0af,'duration_in_ms':_0x1b39f7[_0x41d287(0x19f)]||(_0x17d6ef['finished']||_0x17d6ef[_0x41d287(0x20b)])?_0x389a06[_0x41d287(0x199)](Date[_0x41d287(0x164)](),new Date(_0x1b39f7[_0x41d287(0x222)])['getTime']()):null,'started_at':new Date(_0x1b39f7[_0x41d287(0x222)])[_0x41d287(0x1f0)](),'finished_at':_0x91e47c,'failure':testOpsHelper['failureData'][_0x41d287(0x1b8)](null,_0x309273),'failure_type':!_0x3fd0af?null:testOpsHelper[_0x41d287(0x19b)](_0x3fd0af),'retry_of':_0x1b39f7[_0x41d287(0x14a)]||null,'tags':_0x1b39f7['tags']||[],'customRerunParam':{'rerun_name':_0x1b39f7['fullTitle']()}};_0x389a06[_0x41d287(0x168)](appendTesthubParams,_0x4ec014,_0xd6b153,_0x1b39f7,FRAMEWORKS[_0x41d287(0x1c0)]);if(_0x17d6ef[_0x41d287(0x18e)])[_0x4ec014[_0x41d287(0x15e)],_0x4ec014['name']]=[this['getHookType'](_0x1b39f7),_0x1b39f7[_0x41d287(0x185)][_0x41d287(0x19e)][_0x41d287(0x234)]],_0x17d6ef[_0x41d287(0x1c3)]?_0x389a06[_0x41d287(0x193)](_0x4ec014[_0x41d287(0x17b)],_0x389a06[_0x41d287(0x23c)])&&(_0x4ec014[_0x41d287(0x17b)]=_0x389a06['SRPws']):_0x4ec014[_0x41d287(0x1e4)]={};else _0x17d6ef[_0x41d287(0x19e)]&&(this[_0x41d287(0x1de)](_0x1b39f7),_0x17d6ef[_0x41d287(0x20b)]&&this[_0x41d287(0x1dd)](_0x1b39f7),(_0x17d6ef[_0x41d287(0x1c3)]||_0x17d6ef[_0x41d287(0x20b)])&&(_0x4ec014[_0x41d287(0x1bd)]=this[_0x41d287(0x147)](_0x1b39f7)));this['driver']&&(_0x17d6ef[_0x41d287(0x1d6)]||_0x17d6ef[_0x41d287(0x20b)])&&(_0x4ec014[_0x389a06['NwCFo']]=this['getCBTInfo'](this[_0x41d287(0x17a)]));_0x17d6ef[_0x41d287(0x19e)]&&_0x17d6ef[_0x41d287(0x1c3)]&&_0x1b39f7[_0x41d287(0x1f2)]&&(_0x4ec014[_0x389a06[_0x41d287(0x1bc)]]={'feature':{'name':_0x1b39f7[_0x41d287(0x175)][_0x41d287(0x1a6)][_0x41d287(0x17e)],'path':_0x4ec014[_0x41d287(0x154)],'description':_0x1b39f7[_0x41d287(0x175)][_0x41d287(0x1a2)]},'scenario':{'name':_0x1b39f7[_0x41d287(0x234)]},'steps':_0x1b39f7[_0x41d287(0x1f2)]});const _0x5d6313=_0x4ec014[_0x389a06[_0x41d287(0x1e0)]][0x0];_0x5d6313&&(_0x4ec014[_0x389a06[_0x41d287(0x1ec)]]=_0x5d6313[_0x389a06[_0x41d287(0x204)]],_0x4ec014[_0x389a06[_0x41d287(0x19d)]]=_0x5d6313[_0x389a06[_0x41d287(0x1f5)]]);if(_0x1b39f7['bddSteps'])for(const _0x4b0247 of _0x1b39f7[_0x41d287(0x1f2)]){!_0x4b0247[_0x41d287(0x1b4)]&&(_0x4b0247[_0x41d287(0x1b4)]=new Date()['toISOString'](),_0x389a06[_0x41d287(0x186)](_0x4b0247[_0x41d287(0x17b)],_0x389a06['IgHEw'])&&(_0x5d6313?(_0x4b0247['result']=_0x389a06[_0x41d287(0x23c)],_0x4b0247[_0x41d287(0x157)]=_0x5d6313[_0x389a06[_0x41d287(0x204)]][0x0]):_0x4b0247[_0x41d287(0x17b)]=_0x389a06[_0x41d287(0x215)]));}const _0x3166e6={};_0x3166e6['event_type']=_0x17d6ef[_0x41d287(0x20b)]?TEST_EVENTS[_0x41d287(0x228)]:_0xd6b153;const _0x2481f2=_0x3166e6;return _0x17d6ef[_0x41d287(0x18e)]?_0x2481f2[_0x389a06[_0x41d287(0x17d)]]=_0x4ec014:_0x2481f2[_0x389a06[_0x41d287(0x184)]]=_0x4ec014,_0x2481f2;}catch(_0x4f41ee){logger[_0x41d287(0x177)](_0x41d287(0x212)+_0xd6b153+_0x41d287(0x213)+_0x4f41ee);}}async[a4_0x37f90b(0x1b3)](_0x17e148,_0x3318ad){const _0xd42027=a4_0x37f90b;if(!this['enabled']||!_0x3318ad||!_0x17e148)return![];try{return await SessionHandler[_0xd42027(0x225)](_0x3318ad);}catch(_0x37a994){logger[_0xd42027(0x177)](_0xd42027(0x1cb)+_0x17e148+_0xd42027(0x213)+_0x37a994);}}['initializeBddStep'](_0x4920a1){const _0x221fe6=a4_0x37f90b,_0x39568e={};_0x39568e[_0x221fe6(0x1e3)]=_0x221fe6(0x1ad);const _0x1f7836=_0x39568e;return{'id':_0x4920a1[_0x221fe6(0x23e)],'text':_0x4920a1[_0x221fe6(0x206)],'keyword':_0x4920a1[_0x221fe6(0x1f6)],'started_at':_0x4920a1[_0x221fe6(0x222)][_0x221fe6(0x1f0)](),'result':_0x1f7836[_0x221fe6(0x1e3)]};}[a4_0x37f90b(0x1e8)](_0x4e6d9b){const _0x427054=a4_0x37f90b,_0x30bab8={'SWTuz':function(_0x35d4d3){return _0x35d4d3();}};!this['currentTest'][_0x427054(0x1f2)]&&(this[_0x427054(0x223)][_0x427054(0x1f2)]=[]),!_0x4e6d9b['stepAnalyticsId']&&(_0x4e6d9b[_0x427054(0x23e)]=_0x30bab8[_0x427054(0x231)](uuidv4),_0x4e6d9b['startedAt']=new Date(),this[_0x427054(0x223)][_0x427054(0x1f2)][_0x427054(0x203)](this[_0x427054(0x159)](_0x4e6d9b)));}[a4_0x37f90b(0x22a)](_0x426921){const _0x151e84=a4_0x37f90b,_0x32dda3={'QZkfJ':function(_0x34a7ec,_0x4f2e5f){return _0x34a7ec(_0x4f2e5f);},'kIWFs':_0x151e84(0x160),'mnTVW':_0x151e84(0x1ad),'kJKMm':_0x151e84(0x238),'TWiLJ':function(_0x50ee4c,_0x44155f){return _0x50ee4c-_0x44155f;}};let _0x11915f=this[_0x151e84(0x223)][_0x151e84(0x1f2)][_0x151e84(0x241)](_0x62dfa7=>_0x62dfa7['id']===_0x426921[_0x151e84(0x23e)]);_0x32dda3[_0x151e84(0x1aa)](isUndefined,_0x11915f)&&(_0x11915f=this[_0x151e84(0x159)](_0x426921)),_0x11915f[_0x151e84(0x17b)]=[_0x32dda3[_0x151e84(0x23b)],_0x32dda3[_0x151e84(0x239)]][_0x151e84(0x191)](_0x426921[_0x151e84(0x152)])?_0x32dda3[_0x151e84(0x15d)]:_0x426921[_0x151e84(0x152)],_0x11915f[_0x151e84(0x1b4)]=new Date()[_0x151e84(0x1f0)](),_0x11915f[_0x151e84(0x19f)]=_0x32dda3[_0x151e84(0x1be)](Date[_0x151e84(0x164)](),_0x426921[_0x151e84(0x222)][_0x151e84(0x20e)]()),_0x11915f[_0x151e84(0x157)]=_0x426921['err']?_0x426921['err'][_0x151e84(0x192)]:null;}}const a4_0x6d6b79={};a4_0x6d6b79['O11yHelper']=O11yHelper,a4_0x6d6b79[a4_0x37f90b(0x187)]=STATE_PASSED,a4_0x6d6b79['STATE_FAILED']=STATE_FAILED,a4_0x6d6b79[a4_0x37f90b(0x190)]=TEST_EVENTS,module[a4_0x37f90b(0x15b)]=a4_0x6d6b79;
|