browserstack-node-sdk 1.43.1 → 1.44.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/generated/sdk-messages_pb.d.ts +70 -0
- package/generated/sdk-messages_pb.js +550 -0
- package/generated/sdk_grpc_pb.d.ts +5 -0
- package/generated/sdk_grpc_pb.js +33 -0
- package/package.json +7 -2
- package/src/ai-sdk-node/bundle.js +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/cucumber-sessionDetails.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/playwright-patcher.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customSequencer.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/load/index.js +1 -1
- package/src/bin/load/loadUtils.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/builderPatch.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/utils/apiUtilityMethods.js +1 -0
- 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/sharedUtils.js +1 -0
- package/src/bin/v2/TestInfo.js +1 -1
- package/src/bin/v2/browserstackCLI.js +1 -1
- package/src/bin/v2/cliUtils.js +1 -1
- package/src/bin/v2/customTagManager.js +1 -1
- package/src/bin/v2/eventDispatcher.js +1 -1
- package/src/bin/v2/framework/automationFramework.js +1 -1
- package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
- package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
- package/src/bin/v2/framework/testFramework.js +1 -1
- package/src/bin/v2/grpcClient.js +1 -1
- package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/trackedContext.js +1 -1
- package/src/bin/v2/instances/trackedInstance.js +1 -1
- package/src/bin/v2/modules/accessibilityModule.js +1 -1
- package/src/bin/v2/modules/baseModule.js +1 -1
- package/src/bin/v2/modules/observabilityModule.js +1 -1
- package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
- package/src/bin/v2/modules/testhubModule.js +1 -1
- package/src/bin/v2/state/automationFrameworkState.js +1 -1
- package/src/bin/v2/state/hookState.js +1 -1
- package/src/bin/v2/state/testFrameworkState.js +1 -1
- package/src/bin/v2/uploadAttachmentsManager.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/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/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
|
-
function a10_0x2433(_0x124507,_0x1b3b23){const _0x5ed345=a10_0x5ed3();return a10_0x2433=function(_0x243354,_0xc63fe6){_0x243354=_0x243354-0xfa;let _0x455b81=_0x5ed345[_0x243354];return _0x455b81;},a10_0x2433(_0x124507,_0x1b3b23);}const a10_0x12de53=a10_0x2433;(function(_0x31c055,_0x35567d){const _0x406f7a=a10_0x2433,_0x57ebb5=_0x31c055();while(!![]){try{const _0x484ef1=-parseInt(_0x406f7a(0x162))/0x1*(-parseInt(_0x406f7a(0x10c))/0x2)+-parseInt(_0x406f7a(0x174))/0x3*(-parseInt(_0x406f7a(0x16c))/0x4)+parseInt(_0x406f7a(0x153))/0x5*(parseInt(_0x406f7a(0x130))/0x6)+parseInt(_0x406f7a(0xfa))/0x7*(parseInt(_0x406f7a(0x126))/0x8)+parseInt(_0x406f7a(0x18b))/0x9+parseInt(_0x406f7a(0x125))/0xa*(-parseInt(_0x406f7a(0x11c))/0xb)+-parseInt(_0x406f7a(0x123))/0xc*(-parseInt(_0x406f7a(0x10a))/0xd);if(_0x484ef1===_0x35567d)break;else _0x57ebb5['push'](_0x57ebb5['shift']());}catch(_0xb585b7){_0x57ebb5['push'](_0x57ebb5['shift']());}}}(a10_0x5ed3,0x64f65));const path=require(a10_0x12de53(0x13b)),util=require(a10_0x12de53(0x17f)),hooksMap={},SessionHandler=require(a10_0x12de53(0x157)),testhubUtils=require('../../helpers/testhub/utils'),{getGitMetaData,isUndefined,nestedKeyValue}=require(a10_0x12de53(0xfe)),logger=require('../../helpers/logger')[a10_0x12de53(0x160)],{o11yClassErrorHandler}=require('../../helpers/test-observability/error-handler'),{FRAMEWORKS}=require(a10_0x12de53(0x18e)),TestDetails=require('../playwright/reporter/test-details');this['_gitConfigured']=![],this[a10_0x12de53(0x12a)]=null;class TestObservabilityReporter{async['sendTestRunEventForCucumber'](_0x7511f4,_0xb83ad1,_0x1a57e7,_0x42ad74,_0x281741){const _0x4ab0b1=a10_0x12de53,_0x486d43={'YdJFg':function(_0x4c3299,_0x31742b){return _0x4c3299===_0x31742b;},'ZQXkM':_0x4ab0b1(0x107),'KxrRu':_0x4ab0b1(0x13e),'pfFVi':_0x4ab0b1(0x168),'MPyZO':_0x4ab0b1(0x16a),'DqAov':function(_0x2bff85,_0x1ad41a){return _0x2bff85||_0x1ad41a;},'wzlRq':function(_0x12b636,_0x2a2a08){return _0x12b636+_0x2a2a08;},'rWWOJ':function(_0x155196,_0x2e16e0){return _0x155196+_0x2e16e0;},'omxfh':function(_0x8247da,_0x5371d3){return _0x8247da+_0x5371d3;},'zpDEP':'test','hIVgD':_0x4ab0b1(0x14d),'crhbq':_0x4ab0b1(0x18c),'ZbOPe':_0x4ab0b1(0x193),'VWmSL':_0x4ab0b1(0xfd),'OaUqj':function(_0x4d90ca,_0x319aec){return _0x4d90ca!==_0x319aec;},'xrHsA':function(_0x45c696,_0x28ec0a){return _0x45c696/_0x28ec0a;},'lPxMN':function(_0x5d6051,_0x1a14b3){return _0x5d6051===_0x1a14b3;},'KEZMb':_0x4ab0b1(0x12f),'YMEmr':function(_0x24e396,_0x2d7be0){return _0x24e396(_0x2d7be0);},'ifLGV':_0x4ab0b1(0x120),'nYiln':_0x4ab0b1(0x14c),'jdfEQ':_0x4ab0b1(0x13f),'NDCqX':function(_0x47cf4d,_0x48daeb){return _0x47cf4d===_0x48daeb;},'Ahwkr':_0x4ab0b1(0x177),'gvjZv':function(_0x5d8914,_0xdf41aa){return _0x5d8914>_0xdf41aa;}},{feature:_0x28bd23,scenario:_0x7c1651,steps:_0x35368e,uuid:_0x328975,startedAt:_0x126776,finishedAt:_0x4b33b7}=_0x486d43[_0x4ab0b1(0x117)](_0x281741,{}),_0x16aad6=this[_0x4ab0b1(0x131)](_0xb83ad1,_0x1a57e7);await this[_0x4ab0b1(0x182)]();const _0x4a11ee=_0x16aad6?_0x486d43[_0x4ab0b1(0x128)](_0x486d43[_0x4ab0b1(0x15c)](_0x486d43[_0x4ab0b1(0x110)](_0x1a57e7[_0x4ab0b1(0x121)],'\x20('),_0x16aad6['join'](',\x20')),')'):_0x1a57e7[_0x4ab0b1(0x121)],_0x10b3e7={'uuid':_0x328975,'started_at':_0x126776,'finished_at':_0x4b33b7,'type':_0x486d43[_0x4ab0b1(0x164)],'body':{'lang':_0x486d43[_0x4ab0b1(0x18d)],'code':null},'name':_0x4a11ee,'scopes':[_0x28bd23&&_0x28bd23[_0x4ab0b1(0x121)]?_0x28bd23[_0x4ab0b1(0x121)]:''],'tags':_0x1a57e7[_0x4ab0b1(0x192)]?_0x1a57e7[_0x4ab0b1(0x192)][_0x4ab0b1(0x13c)](({name:_0x4119d0})=>_0x4119d0):[],'file_name':_0x1a57e7[_0x4ab0b1(0xfc)],'location':_0x1a57e7[_0x4ab0b1(0xfc)],'vc_filepath':this['_gitConfigPath']&&_0x1a57e7[_0x4ab0b1(0xfc)]?path[_0x4ab0b1(0x141)](this[_0x4ab0b1(0x12a)],_0x1a57e7[_0x4ab0b1(0xfc)]):null,'framework':_0x486d43[_0x4ab0b1(0x139)],'result':_0x486d43[_0x4ab0b1(0x12d)],'meta':{'feature':_0x28bd23,'scenario':_0x7c1651,'steps':_0x35368e,'examples':_0x16aad6},'customRerunParam':{'rerun_name':_0x4a11ee}};if(_0x7511f4[_0x4ab0b1(0x17e)]&&_0x35368e){const _0x5e7fa6=_0x7511f4['testCaseFinished'];let _0x135b52=_0x486d43[_0x4ab0b1(0x10e)];_0x35368e[_0x4ab0b1(0x118)](_0x53954d=>{const _0x39da1b=_0x4ab0b1;if(_0x486d43[_0x39da1b(0x129)](_0x53954d[_0x39da1b(0x17b)],_0x486d43[_0x39da1b(0x111)]))return _0x135b52=_0x486d43['KxrRu'],_0x5e7fa6[_0x39da1b(0x191)]=_0x53954d[_0x39da1b(0x191)],_0x5e7fa6[_0x39da1b(0x152)]=_0x53954d[_0x39da1b(0x152)],![];else{if(_0x486d43['YdJFg'](_0x53954d[_0x39da1b(0x17b)],_0x486d43[_0x39da1b(0x163)]))return _0x135b52=_0x486d43['MPyZO'],![];}return!![];}),_0x10b3e7[_0x4ab0b1(0x175)]=new Date()[_0x4ab0b1(0x11a)](),_0x10b3e7[_0x4ab0b1(0x17b)]=_0x135b52;_0x5e7fa6['timestamp']&&_0x486d43['OaUqj'](_0x5e7fa6[_0x4ab0b1(0x140)]['nanos'],undefined)?_0x10b3e7['duration_in_ms']=_0x486d43['xrHsA'](_0x5e7fa6['timestamp'][_0x4ab0b1(0x161)],0xf4240):_0x10b3e7['duration_in_ms']=undefined;if(_0x486d43[_0x4ab0b1(0x109)](_0x135b52,_0x486d43['KxrRu'])){const {default:_0x4682c5}=await import(_0x486d43[_0x4ab0b1(0x112)]);_0x10b3e7['failure']=[{'backtrace':[_0x5e7fa6[_0x4ab0b1(0x191)]?_0x486d43[_0x4ab0b1(0x143)](_0x4682c5,_0x5e7fa6['failure']):_0x486d43[_0x4ab0b1(0x12e)]]}],_0x10b3e7[_0x4ab0b1(0x11d)]=_0x5e7fa6[_0x4ab0b1(0x191)]?_0x486d43[_0x4ab0b1(0x143)](_0x4682c5,_0x5e7fa6[_0x4ab0b1(0x191)]):_0x5e7fa6[_0x4ab0b1(0x142)],_0x5e7fa6[_0x4ab0b1(0x152)]&&(_0x10b3e7[_0x4ab0b1(0x16f)]=_0x5e7fa6[_0x4ab0b1(0x152)][_0x4ab0b1(0x136)](/AssertError/)?_0x486d43['nYiln']:_0x486d43[_0x4ab0b1(0x17d)]);}}if(_0x486d43[_0x4ab0b1(0x187)](_0x42ad74,_0x486d43[_0x4ab0b1(0x186)])){const _0x199063=this[_0x4ab0b1(0x15e)](_0x7511f4[_0x4ab0b1(0x17e)][_0x4ab0b1(0x170)]);_0x199063&&_0x486d43[_0x4ab0b1(0x14a)](_0x199063[_0x4ab0b1(0x148)],0x0)&&(_0x10b3e7[_0x4ab0b1(0x190)]=_0x199063,this[_0x4ab0b1(0x132)](_0x7511f4[_0x4ab0b1(0x17e)][_0x4ab0b1(0x170)],_0x10b3e7));}testhubUtils['appendTesthubParams'](_0x10b3e7,_0x42ad74,'',FRAMEWORKS[_0x4ab0b1(0x10b)]);const _0x10ed30={};_0x10ed30[_0x4ab0b1(0x113)]=_0x42ad74,_0x10ed30['test_run']=_0x10b3e7;const _0x1ef876=_0x10ed30;await SessionHandler[_0x4ab0b1(0x10d)](_0x1ef876);}[a10_0x12de53(0x132)](_0x2a3c2c,_0x160df4){const _0xfcd418=a10_0x12de53,_0x21de02={};_0x21de02['amTDF']=function(_0x26062b,_0x392895){return _0x26062b instanceof _0x392895;},_0x21de02['ThLyf']=function(_0x568dc0,_0x4d6be1){return _0x568dc0===_0x4d6be1;},_0x21de02['pemol']=_0xfcd418(0x13e),_0x21de02[_0xfcd418(0x13a)]='0|1|2|4|3';const _0x153280=_0x21de02,_0xe0e24c=hooksMap[_0x2a3c2c];if(_0x153280['amTDF'](_0xe0e24c,Array))for(const _0x167dd8 of _0xe0e24c){if(_0x153280[_0xfcd418(0x114)](_0x167dd8[_0xfcd418(0x17b)],_0x153280[_0xfcd418(0x14b)])){const _0x52b784=_0x153280['yRGJc'][_0xfcd418(0x127)]('|');let _0xc12932=0x0;while(!![]){switch(_0x52b784[_0xc12932++]){case'0':_0x160df4[_0xfcd418(0x17b)]=_0x167dd8[_0xfcd418(0x17b)];continue;case'1':_0x160df4['failure']=_0x167dd8[_0xfcd418(0x14f)];continue;case'2':_0x160df4['failure_reason']=_0x153280['amTDF'](_0x167dd8[_0xfcd418(0x14f)],Array)?_0x167dd8[_0xfcd418(0x14f)][0x0][_0xfcd418(0x159)]['join']('\x0a'):'';continue;case'3':return _0x160df4;case'4':_0x160df4[_0xfcd418(0x16f)]=_0x167dd8[_0xfcd418(0x16f)];continue;}break;}}};}[a10_0x12de53(0x15e)](_0x5d97fb){const _0x7355e1=a10_0x12de53;if(hooksMap[_0x5d97fb])return hooksMap[_0x5d97fb][_0x7355e1(0x13c)](_0x5961d6=>_0x5961d6['uuid']);return[];}[a10_0x12de53(0xff)](_0x3f6407,_0x52f5db,_0x59c11d,_0x113bab,_0x550a36,_0x48085b){const _0x206c62=a10_0x12de53,_0x3c368b={'UDKVg':function(_0x21f268,_0x3ec405){return _0x21f268===_0x3ec405;},'MDEiJ':_0x206c62(0x171),'Crxbl':function(_0x1632e3,_0x24b003,_0x1ed029){return _0x1632e3(_0x24b003,_0x1ed029);},'RsEmU':_0x206c62(0x18a),'yJoqO':'uri','UphbJ':_0x206c62(0x193),'DegaG':_0x206c62(0x176),'CWfBW':_0x206c62(0x14d),'Xisga':function(_0x431270,_0x5ce0fc,_0x16666b){return _0x431270(_0x5ce0fc,_0x16666b);},'pLrhO':_0x206c62(0x12c),'EREMA':_0x206c62(0x121),'whcQI':function(_0x3deee6,_0x56f1af,_0x189045){return _0x3deee6(_0x56f1af,_0x189045);},'Icpjf':'cucumber'};try{if(_0x3c368b['UDKVg'](_0x59c11d,_0x3c368b['MDEiJ'])){const _0x91507b=new Date()[_0x206c62(0x11a)](),_0xac6a3a=hooksMap[_0x52f5db];if(!_0xac6a3a)return;const _0x2cdbbe=_0xac6a3a[_0x206c62(0x155)](_0x5b1601=>_0x5b1601[_0x206c62(0x116)]===_0x113bab['id']);if(!_0x2cdbbe)return;const _0x6fc7df=this[_0x206c62(0x17c)](_0x3f6407,_0x52f5db);_0x2cdbbe[_0x206c62(0x17b)]=_0x6fc7df['status'],_0x2cdbbe['finished_at']=_0x91507b,_0x2cdbbe[_0x206c62(0x16f)]=_0x6fc7df[_0x206c62(0x152)];const _0x33b200={};return _0x33b200['backtrace']=_0x6fc7df[_0x206c62(0x158)],_0x2cdbbe[_0x206c62(0x14f)]=[_0x33b200],_0x2cdbbe;}const _0x376763=TestDetails[_0x206c62(0x15b)](_0x52f5db),_0x1f2c92=_0x3f6407[_0x206c62(0x190)][_0x206c62(0x155)](_0x59dc16=>_0x59dc16['id']===_0x113bab['hookId']),_0xc9e027=_0x3c368b[_0x206c62(0x178)](nestedKeyValue,_0x1f2c92,[_0x3c368b[_0x206c62(0x11f)],_0x3c368b[_0x206c62(0x184)]]),_0x314751=new Date()['toISOString'](),_0x169fa7=_0x3c368b[_0x206c62(0x167)],_0x54833c=_0x1f2c92[_0x206c62(0x188)]?_0x1f2c92[_0x206c62(0x188)][_0x206c62(0x127)]('\x20')[_0x206c62(0x108)](_0x47c1ac=>_0x47c1ac[_0x206c62(0x134)]('@')):[],_0x5f47ce={'uuid':_0x113bab['id'],'type':_0x3c368b['DegaG'],'hook_type':_0x48085b,'name':_0x1f2c92[_0x206c62(0x121)],'body':{'lang':_0x3c368b[_0x206c62(0x165)],'code':null},'tags':_0x54833c,'test_run_id':_0x376763,'scope':_0x3c368b[_0x206c62(0x101)](nestedKeyValue,_0x550a36,[_0x3c368b[_0x206c62(0x144)],_0x3c368b[_0x206c62(0x138)]]),'scopes':[_0x3c368b['whcQI'](nestedKeyValue,_0x550a36,[_0x3c368b[_0x206c62(0x144)],_0x3c368b['EREMA']])||''],'file_name':_0xc9e027,'location':_0xc9e027,'vc_filepath':this[_0x206c62(0x12a)]?path[_0x206c62(0x141)](this[_0x206c62(0x12a)],_0xc9e027):null,'result':_0x169fa7,'started_at':_0x314751,'framework':_0x3c368b['Icpjf']};return _0x5f47ce;}catch(_0x4429bd){logger[_0x206c62(0x149)]('Exception\x20in\x20getHookRunEventData:\x20'+util['format'](_0x4429bd)+'\x20');}}async[a10_0x12de53(0x133)](_0x3c8c1c,_0x2d573d,_0x1027c1,_0x57e737,_0x2b3e3b,_0x21d2b2){const _0x2920d0=a10_0x12de53,_0x539efb={'lviCT':function(_0x43d6ed,_0x4f6692){return _0x43d6ed===_0x4f6692;},'vTBRb':'HookRunStarted','FxhQk':function(_0x50c65f,_0x73fe93,_0x346162){return _0x50c65f(_0x73fe93,_0x346162);},'wUijM':'sourceReference','UwCcJ':'uri','OChtt':_0x2920d0(0x169)};try{const _0x231804=_0x57e737[_0x2920d0(0x155)](_0x3347c8=>_0x3347c8['id']===_0x2b3e3b);if(!_0x231804[_0x2920d0(0x102)])return;const _0x10bae4=this[_0x2920d0(0x16e)](_0x57e737,_0x231804),_0x540cb9=this[_0x2920d0(0xff)](_0x3c8c1c,_0x2d573d,_0x1027c1,_0x231804,_0x21d2b2,_0x10bae4);if(!_0x540cb9)return;_0x539efb[_0x2920d0(0x15f)](_0x1027c1,_0x539efb[_0x2920d0(0x104)])&&(hooksMap[_0x2d573d]?hooksMap[_0x2d573d]['push'](_0x540cb9):hooksMap[_0x2d573d]=[_0x540cb9]);const _0x12cc74=_0x3c8c1c[_0x2920d0(0x190)]['find'](_0x3a8d4e=>_0x3a8d4e['id']===_0x231804[_0x2920d0(0x102)]),_0x3b452f=_0x539efb[_0x2920d0(0x181)](nestedKeyValue,_0x12cc74,[_0x539efb[_0x2920d0(0x173)],_0x539efb[_0x2920d0(0x115)]]);if(!_0x3b452f)return;else{if(_0x3b452f[_0x2920d0(0x134)](_0x539efb[_0x2920d0(0x156)]))return;}const _0x489ed7={};_0x489ed7[_0x2920d0(0x113)]=_0x1027c1,_0x489ed7[_0x2920d0(0x137)]=_0x540cb9;const _0x1306bd=_0x489ed7;await SessionHandler[_0x2920d0(0x10d)](_0x1306bd);}catch(_0x1c20b0){logger[_0x2920d0(0x149)](_0x2920d0(0x105)+util[_0x2920d0(0x16b)](_0x1c20b0)+'\x20');}}['getHookResult'](_0x45ea19,_0xa1f32e){const _0xa9d696=a10_0x12de53,_0x2225ab={};_0x2225ab['sxTgN']=function(_0x1a3c69,_0x366165){return _0x1a3c69===_0x366165;},_0x2225ab[_0xa9d696(0x17a)]='failed',_0x2225ab[_0xa9d696(0x15d)]=_0xa9d696(0x13f),_0x2225ab['qyDBT']='AssertionError',_0x2225ab['WtTFH']=function(_0x2a3b15,_0x7a0bdc){return _0x2a3b15||_0x7a0bdc;};const _0x344e9c=_0x2225ab,_0x25e81d=_0x45ea19['testStepFinished'][_0xa1f32e][_0xa9d696(0x185)];let _0x28128c,_0x4beae5;return _0x25e81d&&_0x344e9c['sxTgN'](_0x25e81d[_0xa9d696(0x145)][_0xa9d696(0x13d)]()[_0xa9d696(0x106)](),_0x344e9c[_0xa9d696(0x17a)])&&(_0x28128c=_0x344e9c['sxTgN'](_0x25e81d['exception'],undefined)?_0x25e81d['message']:_0x25e81d[_0xa9d696(0x11e)][_0xa9d696(0x142)],_0x4beae5=_0x344e9c[_0xa9d696(0x16d)](_0x25e81d[_0xa9d696(0x11e)],undefined)?_0x344e9c[_0xa9d696(0x15d)]:_0x25e81d['message'][_0xa9d696(0x136)](/Assert/)?_0x344e9c[_0xa9d696(0x172)]:_0x344e9c[_0xa9d696(0x15d)]),{'status':_0x25e81d[_0xa9d696(0x145)][_0xa9d696(0x106)](),'failureType':_0x344e9c[_0xa9d696(0x103)](_0x4beae5,null),'failureData':!_0x28128c?null:[_0x28128c]};}[a10_0x12de53(0x16e)](_0x59f6b1,_0xa761c8){const _0x2d69c9=a10_0x12de53,_0x543e48={};_0x543e48[_0x2d69c9(0x18f)]=function(_0x500363,_0x271aaf){return _0x500363===_0x271aaf;},_0x543e48[_0x2d69c9(0x166)]='AFTER_EACH',_0x543e48['DEqEM']=_0x2d69c9(0x135);const _0x1b7c6f=_0x543e48;let _0x586959=![];for(const _0x2f655a of _0x59f6b1){_0x2f655a[_0x2d69c9(0x154)]&&(_0x586959=!![]);if(_0x1b7c6f[_0x2d69c9(0x18f)](_0xa761c8['id'],_0x2f655a['id']))return _0x586959?_0x1b7c6f[_0x2d69c9(0x166)]:_0x1b7c6f[_0x2d69c9(0x11b)];}}[a10_0x12de53(0x131)]=(_0x4adbdd,_0x43d604)=>{const _0x5831c5=a10_0x12de53,_0x285b7f={};_0x285b7f[_0x5831c5(0x15a)]=function(_0x3eb00a,_0x1d6627){return _0x3eb00a===_0x1d6627;},_0x285b7f[_0x5831c5(0x10f)]=function(_0x48f341,_0x23026e){return _0x48f341>_0x23026e;};const _0x8abaec=_0x285b7f;if(!(_0x43d604[_0x5831c5(0xfb)]&&_0x8abaec[_0x5831c5(0x10f)](_0x43d604[_0x5831c5(0xfb)][_0x5831c5(0x148)],0x1)))return;const _0x108fb3=_0x43d604[_0x5831c5(0xfb)][0x0],_0x45a3d0=_0x43d604[_0x5831c5(0xfb)][0x1],_0x2f0f94=_0x4adbdd['feature']&&_0x4adbdd[_0x5831c5(0x12c)][_0x5831c5(0x12b)]?_0x4adbdd[_0x5831c5(0x12c)][_0x5831c5(0x12b)]:undefined;let _0x10b4d1=[];_0x2f0f94&&_0x2f0f94['forEach'](_0x23008a=>{const _0x9572cc=_0x5831c5,_0x3d85be={'FHAYk':function(_0x3714b2,_0x36b188){return _0x8abaec['YrgcS'](_0x3714b2,_0x36b188);}};if(_0x23008a[_0x9572cc(0x119)])_0x23008a[_0x9572cc(0x119)]['children'][_0x9572cc(0x183)](_0x2ef1e1=>{const _0x860613=_0x9572cc;if(_0x2ef1e1[_0x860613(0x14e)]&&_0x3d85be['FHAYk'](_0x2ef1e1[_0x860613(0x14e)]['id'],_0x108fb3)&&_0x2ef1e1[_0x860613(0x14e)][_0x860613(0x179)]){const _0x52ad5e=_0x2ef1e1['scenario']['examples'][_0x860613(0x147)](_0x483141=>_0x483141[_0x860613(0x122)])[_0x860613(0x155)](_0x1e0a82=>_0x1e0a82['id']===_0x45a3d0);let _0x29894b;_0x52ad5e&&_0x52ad5e[_0x860613(0x150)]?_0x29894b=_0x52ad5e[_0x860613(0x150)]['map'](_0x4ac76e=>_0x4ac76e[_0x860613(0x146)]):_0x29894b=[],_0x29894b&&(_0x10b4d1=_0x29894b);}});else{if(_0x23008a[_0x9572cc(0x14e)]&&_0x8abaec[_0x9572cc(0x15a)](_0x23008a[_0x9572cc(0x14e)]['id'],_0x108fb3)&&_0x23008a[_0x9572cc(0x14e)]['examples']){const _0x3274d1=_0x23008a[_0x9572cc(0x14e)][_0x9572cc(0x179)][_0x9572cc(0x147)](_0x3b13a8=>_0x3b13a8['tableBody'])[_0x9572cc(0x155)](_0x39aa86=>_0x39aa86['id']===_0x45a3d0);let _0x5a71fe;_0x3274d1&&_0x3274d1[_0x9572cc(0x150)]?_0x5a71fe=_0x3274d1[_0x9572cc(0x150)]['map'](_0x6c2e87=>_0x6c2e87[_0x9572cc(0x146)]):_0x5a71fe=[],_0x5a71fe&&(_0x10b4d1=_0x5a71fe);}}});if(_0x10b4d1[_0x5831c5(0x148)])return _0x10b4d1;return;};async['configureGit'](){const _0x21b959=a10_0x12de53,_0x4c1535={'XYPiw':function(_0x4849ed){return _0x4849ed();}};if(this[_0x21b959(0x124)])return this['_gitConfigPath'];const _0x4d0be1=await _0x4c1535[_0x21b959(0x100)](getGitMetaData);_0x4d0be1&&(this[_0x21b959(0x12a)]=_0x4d0be1[_0x21b959(0x180)]),this[_0x21b959(0x124)]=!![];}}function a10_0x5ed3(){const _0x51ddd3=['yRGJc','path','map','toString','failed','UnhandledError','timestamp','relative','message','YMEmr','pLrhO','status','value','flatMap','length','debug','gvjZv','pemol','AssertionError','javascript','scenario','failure_data','cells','exports','failureType','25qZAoZn','pickleStepId','find','OChtt','../../helpers/test-observability/sessionHandler','failureData','backtrace','YrgcS','getTestUUID','rWWOJ','KbOoi','getHooksListForTest','lviCT','winstonLogger','nanos','23098oNdHxK','pfFVi','zpDEP','CWfBW','fJQbS','UphbJ','SKIPPED','browserstack-node-agent/src/bin/cucumber-js/test.setup.js','skipped','format','4JcoXQj','sxTgN','getCucumberHookType','failure_type','testCaseStartedId','HookRunFinished','qyDBT','wUijM','1181823xuetkw','finished_at','hook','TestRunFinished','Crxbl','examples','yqMac','result','getHookResult','jdfEQ','testCaseFinished','util','root','FxhQk','configureGit','forEach','yJoqO','testStepResult','Ahwkr','NDCqX','tagExpression','sendTestRunEventForCucumber','sourceReference','1270764MwNYwt','cucumber','hIVgD','../../helpers/test-observability/constants.js','ndyAV','hooks','failure','tags','pending','63MceASA','astNodeIds','uri','passed','../../helpers/helper','getHookRunEventData','XYPiw','Xisga','hookId','WtTFH','vTBRb','Exception\x20in\x20sendHook:\x20','toLowerCase','FAILED','filter','lPxMN','191243qUZhqM','CUCUMBER','8NKtWcI','uploadEventData','VWmSL','WITgb','omxfh','ZQXkM','KEZMb','event_type','ThLyf','UwCcJ','uuid','DqAov','every','rule','toISOString','DEqEM','44OKanLc','failure_reason','exception','RsEmU','unknown','name','tableBody','132pGifBE','_gitConfigured','2016420nAoUkg','257088MYtCow','split','wzlRq','YdJFg','_gitConfigPath','children','feature','ZbOPe','ifLGV','strip-ansi','169842rsWuUS','getScenarioExamples','updateTestStatus','sendHook','includes','BEFORE_EACH','match','hook_run','EREMA','crhbq'];a10_0x5ed3=function(){return _0x51ddd3;};return a10_0x5ed3();}module[a10_0x12de53(0x151)]=o11yClassErrorHandler(TestObservabilityReporter,['configureGit',a10_0x12de53(0x131),a10_0x12de53(0x16e),a10_0x12de53(0x17c),a10_0x12de53(0x133),a10_0x12de53(0xff),a10_0x12de53(0x189)]);
|
|
1
|
+
const a10_0x3c3f1c=a10_0x2ac8;(function(_0x552b6a,_0x6d6e4e){const _0x1eae42=a10_0x2ac8,_0xc148c7=_0x552b6a();while(!![]){try{const _0x560e4d=-parseInt(_0x1eae42(0x1e7))/0x1*(parseInt(_0x1eae42(0x1f6))/0x2)+parseInt(_0x1eae42(0x21a))/0x3+parseInt(_0x1eae42(0x264))/0x4+-parseInt(_0x1eae42(0x263))/0x5*(parseInt(_0x1eae42(0x226))/0x6)+-parseInt(_0x1eae42(0x242))/0x7*(parseInt(_0x1eae42(0x245))/0x8)+parseInt(_0x1eae42(0x1fc))/0x9+-parseInt(_0x1eae42(0x200))/0xa;if(_0x560e4d===_0x6d6e4e)break;else _0xc148c7['push'](_0xc148c7['shift']());}catch(_0x3e15e2){_0xc148c7['push'](_0xc148c7['shift']());}}}(a10_0x2cdb,0x64f14));function a10_0x2cdb(){const _0x168746=['zMIPG','ipzsd','includes','backtrace','vhLrh','CUCUMBER','relative','getHookRunEventData','hooks','NwrQu','forEach','6rlvhKa','exception','astNodeIds','weqVH','Raozz','jqNBU','CHnmU','testCaseFinished','scenario','../../helpers/test-observability/sessionHandler','uploadEventData','split','toISOString','../../helpers/testhub/utils','mDKKD','message','AssertionError','browserstack-node-agent/src/bin/cucumber-js/test.setup.js','ecWhv','TestRunFinished','value','sendHook','getHooksListForTest','Wzymt','Bddat','SGOdx','tagExpression','Exception\x20in\x20getHookRunEventData:\x20','21aQAyxe','length','OvtBh','87888THekMS','sendTestRunEventForCucumber','finished_at','QgyGl','SKIPPED','FWCUM','eLzbM','debug','skipped','LOlJe','failureType','_gitConfigPath','oyLrO','4|1|0|3|2','../../helpers/test-observability/error-handler','every','DOIFi','failed','sourceReference','ciOhi','AFTER_EACH','../playwright/reporter/test-details','getScenarioExamples','ldLjG','JJsIh','rcumC','lYkOc','rule','getTestUUID','jaZmC','2090740OHhXRq','2143612wCrXoG','fvslw','flatMap','appendTesthubParams','osXJa','UnhandledError','eUOLn','mIHjf','hook','../../helpers/logger','filter','result','cells','name','hookId','failure','test','toString','getCucumberHookType','failure_reason','35445mbrnrv','toLowerCase','children','NTKzR','DlaFL','push','cucumber','updateTestStatus','testStepFinished','MqAOR','leOIA','timestamp','fZsut','getHookResult','configureGit','4VXXouA','unknown','tableBody','examples','RnDXg','match','1601118cpsuCP','pending','cxYij','zSLgp','2461600xEIwEh','strip-ansi','find','testCaseStartedId','_gitConfigured','uri','Exception\x20in\x20sendHook:\x20','feature','failure_type','root','aEODm','byXRN','LoOxN','drbCs','javascript','event_type','OVlef','status','HookRunStarted','failure_data','PnvtE','format','map','path','join','tags','1403433gdVxDA'];a10_0x2cdb=function(){return _0x168746;};return a10_0x2cdb();}function a10_0x2ac8(_0xbcb007,_0x458bd2){const _0x2cdbfb=a10_0x2cdb();return a10_0x2ac8=function(_0x2ac88d,_0x1a3451){_0x2ac88d=_0x2ac88d-0x1e1;let _0x16958f=_0x2cdbfb[_0x2ac88d];return _0x16958f;},a10_0x2ac8(_0xbcb007,_0x458bd2);}const path=require(a10_0x3c3f1c(0x217)),util=require('util'),hooksMap={},SessionHandler=require(a10_0x3c3f1c(0x22f)),testhubUtils=require(a10_0x3c3f1c(0x233)),{getGitMetaData,isUndefined,nestedKeyValue}=require('../../helpers/helper'),logger=require(a10_0x3c3f1c(0x26d))['winstonLogger'],{o11yClassErrorHandler}=require(a10_0x3c3f1c(0x253)),{FRAMEWORKS}=require('../../helpers/test-observability/constants.js'),TestDetails=require(a10_0x3c3f1c(0x25a));this[a10_0x3c3f1c(0x204)]=![],this[a10_0x3c3f1c(0x250)]=null;class TestObservabilityReporter{async[a10_0x3c3f1c(0x246)](_0x495dd8,_0x4377d6,_0x1abeb3,_0x3eeb2b,_0x5c1fb2){const _0x4b8765=a10_0x3c3f1c,_0x3053a1={'fvslw':function(_0x276c96,_0x40f324){return _0x276c96===_0x40f324;},'HnuZo':'FAILED','oyLrO':'failed','cxYij':_0x4b8765(0x249),'OvtBh':_0x4b8765(0x24d),'eDBrA':function(_0x15ff7b,_0x2f653c){return _0x15ff7b||_0x2f653c;},'RnDXg':function(_0x437520,_0x2c8f52){return _0x437520+_0x2c8f52;},'NwrQu':_0x4b8765(0x1e3),'Bddat':_0x4b8765(0x20e),'mDKKD':_0x4b8765(0x1ed),'cxVyY':_0x4b8765(0x1fd),'Wzymt':'passed','zSLgp':function(_0x393634,_0x3be11a){return _0x393634!==_0x3be11a;},'CxXSJ':function(_0x653414,_0x172e68){return _0x653414/_0x172e68;},'byXRN':_0x4b8765(0x201),'NTKzR':function(_0x35d04f,_0x2a0e0a){return _0x35d04f(_0x2a0e0a);},'bIsDU':_0x4b8765(0x1f7),'LOlJe':function(_0x149b88,_0x32e0f8){return _0x149b88(_0x32e0f8);},'aEODm':_0x4b8765(0x236),'zMIPG':_0x4b8765(0x269),'fZsut':_0x4b8765(0x239),'lYkOc':function(_0x2a8e6c,_0x2e8795){return _0x2a8e6c>_0x2e8795;}},{feature:_0x14df34,scenario:_0x377068,steps:_0x426b06,uuid:_0x1b4bbb,startedAt:_0x360033,finishedAt:_0x3d22df}=_0x3053a1['eDBrA'](_0x5c1fb2,{}),_0x570675=this[_0x4b8765(0x25b)](_0x4377d6,_0x1abeb3);await this[_0x4b8765(0x1f5)]();const _0x482aa1=_0x570675?_0x3053a1['RnDXg'](_0x3053a1[_0x4b8765(0x1fa)](_0x3053a1['RnDXg'](_0x1abeb3[_0x4b8765(0x271)],'\x20('),_0x570675[_0x4b8765(0x218)](',\x20')),')'):_0x1abeb3[_0x4b8765(0x271)],_0x9585ec={'uuid':_0x1b4bbb,'started_at':_0x360033,'finished_at':_0x3d22df,'type':_0x3053a1[_0x4b8765(0x224)],'body':{'lang':_0x3053a1[_0x4b8765(0x23e)],'code':null},'name':_0x482aa1,'scopes':[_0x14df34&&_0x14df34[_0x4b8765(0x271)]?_0x14df34[_0x4b8765(0x271)]:''],'tags':_0x1abeb3[_0x4b8765(0x219)]?_0x1abeb3[_0x4b8765(0x219)][_0x4b8765(0x216)](({name:_0x5ca529})=>_0x5ca529):[],'file_name':_0x1abeb3[_0x4b8765(0x205)],'location':_0x1abeb3['uri'],'vc_filepath':this[_0x4b8765(0x250)]&&_0x1abeb3['uri']?path[_0x4b8765(0x221)](this['_gitConfigPath'],_0x1abeb3['uri']):null,'framework':_0x3053a1[_0x4b8765(0x234)],'result':_0x3053a1['cxVyY'],'meta':{'feature':_0x14df34,'scenario':_0x377068,'steps':_0x426b06,'examples':_0x570675},'customRerunParam':{'rerun_name':_0x482aa1}};if(_0x495dd8[_0x4b8765(0x22d)]&&_0x426b06){const _0x30f283=_0x495dd8['testCaseFinished'];let _0x1bd16e=_0x3053a1[_0x4b8765(0x23d)];_0x426b06[_0x4b8765(0x254)](_0x2f12a5=>{const _0x52ea94=_0x4b8765;if(_0x3053a1[_0x52ea94(0x265)](_0x2f12a5['result'],_0x3053a1['HnuZo']))return _0x1bd16e=_0x3053a1['oyLrO'],_0x30f283['failure']=_0x2f12a5[_0x52ea94(0x1e2)],_0x30f283[_0x52ea94(0x24f)]=_0x2f12a5[_0x52ea94(0x24f)],![];else{if(_0x3053a1['fvslw'](_0x2f12a5[_0x52ea94(0x26f)],_0x3053a1[_0x52ea94(0x1fe)]))return _0x1bd16e=_0x3053a1[_0x52ea94(0x244)],![];}return!![];}),_0x9585ec[_0x4b8765(0x247)]=new Date()[_0x4b8765(0x232)](),_0x9585ec['result']=_0x1bd16e;_0x30f283[_0x4b8765(0x1f2)]&&_0x3053a1[_0x4b8765(0x1ff)](_0x30f283[_0x4b8765(0x1f2)]['nanos'],undefined)?_0x9585ec['duration_in_ms']=_0x3053a1['CxXSJ'](_0x30f283[_0x4b8765(0x1f2)]['nanos'],0xf4240):_0x9585ec['duration_in_ms']=undefined;if(_0x3053a1[_0x4b8765(0x265)](_0x1bd16e,_0x3053a1[_0x4b8765(0x251)])){const {default:_0x2ec89b}=await import(_0x3053a1[_0x4b8765(0x20b)]);_0x9585ec[_0x4b8765(0x1e2)]=[{'backtrace':[_0x30f283[_0x4b8765(0x1e2)]?_0x3053a1[_0x4b8765(0x1ea)](_0x2ec89b,_0x30f283['failure']):_0x3053a1['bIsDU']]}],_0x9585ec[_0x4b8765(0x1e6)]=_0x30f283['failure']?_0x3053a1[_0x4b8765(0x24e)](_0x2ec89b,_0x30f283[_0x4b8765(0x1e2)]):_0x30f283[_0x4b8765(0x235)],_0x30f283['failureType']&&(_0x9585ec['failure_type']=_0x30f283[_0x4b8765(0x24f)]['match'](/AssertError/)?_0x3053a1[_0x4b8765(0x20a)]:_0x3053a1[_0x4b8765(0x21b)]);}}if(_0x3053a1[_0x4b8765(0x265)](_0x3eeb2b,_0x3053a1[_0x4b8765(0x1f3)])){const _0x5c7559=this[_0x4b8765(0x23c)](_0x495dd8['testCaseFinished'][_0x4b8765(0x203)]);_0x5c7559&&_0x3053a1[_0x4b8765(0x25f)](_0x5c7559[_0x4b8765(0x243)],0x0)&&(_0x9585ec[_0x4b8765(0x223)]=_0x5c7559,this[_0x4b8765(0x1ee)](_0x495dd8[_0x4b8765(0x22d)][_0x4b8765(0x203)],_0x9585ec));}testhubUtils[_0x4b8765(0x267)](_0x9585ec,_0x3eeb2b,'',FRAMEWORKS[_0x4b8765(0x220)]);const _0xbe798b={};_0xbe798b[_0x4b8765(0x20f)]=_0x3eeb2b,_0xbe798b['test_run']=_0x9585ec;const _0xeab9b7=_0xbe798b;await SessionHandler[_0x4b8765(0x230)](_0xeab9b7);}[a10_0x3c3f1c(0x1ee)](_0x43d228,_0x112bb1){const _0x5803fa=a10_0x3c3f1c,_0x2ad483={};_0x2ad483['mIHjf']=function(_0x490f7b,_0x421f00){return _0x490f7b instanceof _0x421f00;},_0x2ad483[_0x5803fa(0x214)]=function(_0x114d0a,_0x28a0b0){return _0x114d0a===_0x28a0b0;},_0x2ad483[_0x5803fa(0x1f0)]=_0x5803fa(0x256),_0x2ad483[_0x5803fa(0x20d)]=_0x5803fa(0x252),_0x2ad483['jaZmC']=function(_0x592112,_0x57660d){return _0x592112 instanceof _0x57660d;};const _0x12ad3c=_0x2ad483,_0x5ce179=hooksMap[_0x43d228];if(_0x12ad3c[_0x5803fa(0x26b)](_0x5ce179,Array))for(const _0x4439da of _0x5ce179){if(_0x12ad3c[_0x5803fa(0x214)](_0x4439da[_0x5803fa(0x26f)],_0x12ad3c[_0x5803fa(0x1f0)])){const _0x279420=_0x12ad3c['drbCs'][_0x5803fa(0x231)]('|');let _0x2283f7=0x0;while(!![]){switch(_0x279420[_0x2283f7++]){case'0':_0x112bb1['failure_reason']=_0x12ad3c[_0x5803fa(0x262)](_0x4439da['failure_data'],Array)?_0x4439da['failure_data'][0x0]['backtrace'][_0x5803fa(0x218)]('\x0a'):'';continue;case'1':_0x112bb1['failure']=_0x4439da['failure_data'];continue;case'2':return _0x112bb1;case'3':_0x112bb1[_0x5803fa(0x208)]=_0x4439da[_0x5803fa(0x208)];continue;case'4':_0x112bb1[_0x5803fa(0x26f)]=_0x4439da[_0x5803fa(0x26f)];continue;}break;}}};}[a10_0x3c3f1c(0x23c)](_0x2bcc94){const _0x4125a5=a10_0x3c3f1c;if(hooksMap[_0x2bcc94])return hooksMap[_0x2bcc94][_0x4125a5(0x216)](_0x2c6bee=>_0x2c6bee['uuid']);return[];}[a10_0x3c3f1c(0x222)](_0x5de8cf,_0x1e6f4b,_0x2453d7,_0x5bec71,_0x3d1ea2,_0x22cafc){const _0xa7cb8=a10_0x3c3f1c,_0x591080={'leOIA':function(_0x44d6fd,_0x308a18){return _0x44d6fd===_0x308a18;},'YFIoq':'HookRunFinished','Wscnh':function(_0x288913,_0x1303ef,_0x9c2208){return _0x288913(_0x1303ef,_0x9c2208);},'UAVzC':_0xa7cb8(0x257),'JGMdT':_0xa7cb8(0x205),'QgyGl':'pending','DOIFi':_0xa7cb8(0x26c),'jmYCC':'javascript','Raozz':function(_0x49e283,_0x19c4a9,_0x568cd9){return _0x49e283(_0x19c4a9,_0x568cd9);},'oVVhj':_0xa7cb8(0x207),'rcumC':_0xa7cb8(0x271),'AYUrX':function(_0xe1cc55,_0x56efba,_0x5848ae){return _0xe1cc55(_0x56efba,_0x5848ae);},'ipzsd':_0xa7cb8(0x1ed)};try{if(_0x591080[_0xa7cb8(0x1f1)](_0x2453d7,_0x591080['YFIoq'])){const _0x5b27d4=new Date()[_0xa7cb8(0x232)](),_0x344c7f=hooksMap[_0x1e6f4b];if(!_0x344c7f)return;const _0x5b3888=_0x344c7f['find'](_0x2c345a=>_0x2c345a['uuid']===_0x5bec71['id']);if(!_0x5b3888)return;const _0x4766eb=this['getHookResult'](_0x5de8cf,_0x1e6f4b);_0x5b3888[_0xa7cb8(0x26f)]=_0x4766eb[_0xa7cb8(0x211)],_0x5b3888[_0xa7cb8(0x247)]=_0x5b27d4,_0x5b3888[_0xa7cb8(0x208)]=_0x4766eb[_0xa7cb8(0x24f)];const _0x49943a={};return _0x49943a[_0xa7cb8(0x21e)]=_0x4766eb['failureData'],_0x5b3888[_0xa7cb8(0x213)]=[_0x49943a],_0x5b3888;}const _0x2014a1=TestDetails[_0xa7cb8(0x261)](_0x1e6f4b),_0x346824=_0x5de8cf[_0xa7cb8(0x223)][_0xa7cb8(0x202)](_0x5281a8=>_0x5281a8['id']===_0x5bec71[_0xa7cb8(0x1e1)]),_0x11dc90=_0x591080['Wscnh'](nestedKeyValue,_0x346824,[_0x591080['UAVzC'],_0x591080['JGMdT']]),_0x3856fb=new Date()[_0xa7cb8(0x232)](),_0x2feb55=_0x591080[_0xa7cb8(0x248)],_0x46c395=_0x346824[_0xa7cb8(0x240)]?_0x346824['tagExpression']['split']('\x20')[_0xa7cb8(0x26e)](_0x314230=>_0x314230[_0xa7cb8(0x21d)]('@')):[],_0x4f5ad2={'uuid':_0x5bec71['id'],'type':_0x591080[_0xa7cb8(0x255)],'hook_type':_0x22cafc,'name':_0x346824[_0xa7cb8(0x271)],'body':{'lang':_0x591080['jmYCC'],'code':null},'tags':_0x46c395,'test_run_id':_0x2014a1,'scope':_0x591080[_0xa7cb8(0x22a)](nestedKeyValue,_0x3d1ea2,[_0x591080['oVVhj'],_0x591080['rcumC']]),'scopes':[_0x591080['AYUrX'](nestedKeyValue,_0x3d1ea2,[_0x591080['oVVhj'],_0x591080[_0xa7cb8(0x25e)]])||''],'file_name':_0x11dc90,'location':_0x11dc90,'vc_filepath':this[_0xa7cb8(0x250)]?path[_0xa7cb8(0x221)](this[_0xa7cb8(0x250)],_0x11dc90):null,'result':_0x2feb55,'started_at':_0x3856fb,'framework':_0x591080[_0xa7cb8(0x21c)]};return _0x4f5ad2;}catch(_0x41b1fb){logger[_0xa7cb8(0x24c)](_0xa7cb8(0x241)+util[_0xa7cb8(0x215)](_0x41b1fb)+'\x20');}}async[a10_0x3c3f1c(0x23b)](_0x5bd992,_0x6d1ab8,_0x24e413,_0x2b5421,_0x32330f,_0x597004){const _0x1f754a=a10_0x3c3f1c,_0x55fec1={'ItAMj':function(_0x5499c2,_0x850476){return _0x5499c2===_0x850476;},'vhLrh':_0x1f754a(0x212),'JJsIh':function(_0x91cf47,_0x2e9fa9,_0x17f0c4){return _0x91cf47(_0x2e9fa9,_0x17f0c4);},'FWCUM':_0x1f754a(0x257),'ciOhi':'uri','osXJa':_0x1f754a(0x237)};try{const _0x42e7b3=_0x2b5421['find'](_0x543c03=>_0x543c03['id']===_0x32330f);if(!_0x42e7b3[_0x1f754a(0x1e1)])return;const _0x37b949=this[_0x1f754a(0x1e5)](_0x2b5421,_0x42e7b3),_0x3bcbb5=this['getHookRunEventData'](_0x5bd992,_0x6d1ab8,_0x24e413,_0x42e7b3,_0x597004,_0x37b949);if(!_0x3bcbb5)return;_0x55fec1['ItAMj'](_0x24e413,_0x55fec1[_0x1f754a(0x21f)])&&(hooksMap[_0x6d1ab8]?hooksMap[_0x6d1ab8][_0x1f754a(0x1ec)](_0x3bcbb5):hooksMap[_0x6d1ab8]=[_0x3bcbb5]);const _0x59b1a0=_0x5bd992[_0x1f754a(0x223)]['find'](_0x478ef0=>_0x478ef0['id']===_0x42e7b3[_0x1f754a(0x1e1)]),_0x566bcc=_0x55fec1[_0x1f754a(0x25d)](nestedKeyValue,_0x59b1a0,[_0x55fec1[_0x1f754a(0x24a)],_0x55fec1[_0x1f754a(0x258)]]);if(!_0x566bcc)return;else{if(_0x566bcc['includes'](_0x55fec1[_0x1f754a(0x268)]))return;}const _0x441ba0={};_0x441ba0[_0x1f754a(0x20f)]=_0x24e413,_0x441ba0['hook_run']=_0x3bcbb5;const _0x2b78ba=_0x441ba0;await SessionHandler[_0x1f754a(0x230)](_0x2b78ba);}catch(_0xc28ed3){logger[_0x1f754a(0x24c)](_0x1f754a(0x206)+util[_0x1f754a(0x215)](_0xc28ed3)+'\x20');}}[a10_0x3c3f1c(0x1f4)](_0x3d39e7,_0x3c1dd3){const _0x367a97=a10_0x3c3f1c,_0x1103e1={};_0x1103e1[_0x367a97(0x210)]=function(_0x1fb5c4,_0x281b7f){return _0x1fb5c4===_0x281b7f;},_0x1103e1[_0x367a97(0x22c)]=_0x367a97(0x256),_0x1103e1[_0x367a97(0x24b)]=function(_0x563893,_0x52ed61){return _0x563893===_0x52ed61;},_0x1103e1[_0x367a97(0x1eb)]='UnhandledError',_0x1103e1[_0x367a97(0x229)]=_0x367a97(0x236),_0x1103e1[_0x367a97(0x26a)]=function(_0x378cbb,_0x5950a9){return _0x378cbb||_0x5950a9;};const _0x3bee3f=_0x1103e1,_0x2022a8=_0x3d39e7[_0x367a97(0x1ef)][_0x3c1dd3]['testStepResult'];let _0x278b5b,_0x44bc77;return _0x2022a8&&_0x3bee3f[_0x367a97(0x210)](_0x2022a8[_0x367a97(0x211)][_0x367a97(0x1e4)]()[_0x367a97(0x1e8)](),_0x3bee3f[_0x367a97(0x22c)])&&(_0x278b5b=_0x3bee3f[_0x367a97(0x24b)](_0x2022a8[_0x367a97(0x227)],undefined)?_0x2022a8[_0x367a97(0x235)]:_0x2022a8[_0x367a97(0x227)][_0x367a97(0x235)],_0x44bc77=_0x3bee3f[_0x367a97(0x210)](_0x2022a8[_0x367a97(0x227)],undefined)?_0x3bee3f['DlaFL']:_0x2022a8[_0x367a97(0x235)][_0x367a97(0x1fb)](/Assert/)?_0x3bee3f[_0x367a97(0x229)]:_0x3bee3f[_0x367a97(0x1eb)]),{'status':_0x2022a8[_0x367a97(0x211)][_0x367a97(0x1e8)](),'failureType':_0x3bee3f[_0x367a97(0x26a)](_0x44bc77,null),'failureData':!_0x278b5b?null:[_0x278b5b]};}['getCucumberHookType'](_0x27d20,_0x1d1d19){const _0x5a2c66=a10_0x3c3f1c,_0x1e4d9e={};_0x1e4d9e['fFojf']=function(_0x2f9214,_0xd8c7c){return _0x2f9214===_0xd8c7c;},_0x1e4d9e[_0x5a2c66(0x22b)]=_0x5a2c66(0x259),_0x1e4d9e['SGOdx']='BEFORE_EACH';const _0x3b5603=_0x1e4d9e;let _0x4c1ee4=![];for(const _0x11d441 of _0x27d20){_0x11d441['pickleStepId']&&(_0x4c1ee4=!![]);if(_0x3b5603['fFojf'](_0x1d1d19['id'],_0x11d441['id']))return _0x4c1ee4?_0x3b5603[_0x5a2c66(0x22b)]:_0x3b5603[_0x5a2c66(0x23f)];}}[a10_0x3c3f1c(0x25b)]=(_0x298b7c,_0x454222)=>{const _0x4b9b92=a10_0x3c3f1c,_0x38ff06={};_0x38ff06[_0x4b9b92(0x238)]=function(_0x21bc33,_0x432589){return _0x21bc33===_0x432589;},_0x38ff06['LoOxN']=function(_0x49b1cb,_0x28670f){return _0x49b1cb>_0x28670f;};const _0x505e3f=_0x38ff06;if(!(_0x454222[_0x4b9b92(0x228)]&&_0x505e3f[_0x4b9b92(0x20c)](_0x454222['astNodeIds'][_0x4b9b92(0x243)],0x1)))return;const _0x2c12b2=_0x454222['astNodeIds'][0x0],_0xc63309=_0x454222[_0x4b9b92(0x228)][0x1],_0x6c5f5f=_0x298b7c[_0x4b9b92(0x207)]&&_0x298b7c['feature'][_0x4b9b92(0x1e9)]?_0x298b7c[_0x4b9b92(0x207)]['children']:undefined;let _0x30b4dd=[];_0x6c5f5f&&_0x6c5f5f['forEach'](_0x4798ed=>{const _0x534e85=_0x4b9b92;if(_0x4798ed[_0x534e85(0x260)])_0x4798ed[_0x534e85(0x260)][_0x534e85(0x1e9)][_0x534e85(0x225)](_0x4544ff=>{const _0x178bda=_0x534e85;if(_0x4544ff[_0x178bda(0x22e)]&&_0x505e3f[_0x178bda(0x238)](_0x4544ff[_0x178bda(0x22e)]['id'],_0x2c12b2)&&_0x4544ff[_0x178bda(0x22e)][_0x178bda(0x1f9)]){const _0x8a541f=_0x4544ff['scenario']['examples'][_0x178bda(0x266)](_0x375b0f=>_0x375b0f[_0x178bda(0x1f8)])[_0x178bda(0x202)](_0x29d8a3=>_0x29d8a3['id']===_0xc63309);let _0x2ff78b;_0x8a541f&&_0x8a541f[_0x178bda(0x270)]?_0x2ff78b=_0x8a541f[_0x178bda(0x270)][_0x178bda(0x216)](_0x179c02=>_0x179c02[_0x178bda(0x23a)]):_0x2ff78b=[],_0x2ff78b&&(_0x30b4dd=_0x2ff78b);}});else{if(_0x4798ed['scenario']&&_0x505e3f[_0x534e85(0x238)](_0x4798ed[_0x534e85(0x22e)]['id'],_0x2c12b2)&&_0x4798ed['scenario'][_0x534e85(0x1f9)]){const _0x59cb67=_0x4798ed[_0x534e85(0x22e)][_0x534e85(0x1f9)][_0x534e85(0x266)](_0x1a0196=>_0x1a0196['tableBody'])['find'](_0x11ebdf=>_0x11ebdf['id']===_0xc63309);let _0x3ff32c;_0x59cb67&&_0x59cb67[_0x534e85(0x270)]?_0x3ff32c=_0x59cb67['cells'][_0x534e85(0x216)](_0x4f2b7b=>_0x4f2b7b[_0x534e85(0x23a)]):_0x3ff32c=[],_0x3ff32c&&(_0x30b4dd=_0x3ff32c);}}});if(_0x30b4dd[_0x4b9b92(0x243)])return _0x30b4dd;return;};async['configureGit'](){const _0x1adfef=a10_0x3c3f1c,_0x4e635f={'ldLjG':function(_0x2ce9bb){return _0x2ce9bb();}};if(this['_gitConfigured'])return this[_0x1adfef(0x250)];const _0x3dab4d=await _0x4e635f[_0x1adfef(0x25c)](getGitMetaData);_0x3dab4d&&(this[_0x1adfef(0x250)]=_0x3dab4d[_0x1adfef(0x209)]),this[_0x1adfef(0x204)]=!![];}}module['exports']=o11yClassErrorHandler(TestObservabilityReporter,[a10_0x3c3f1c(0x1f5),a10_0x3c3f1c(0x25b),'getCucumberHookType','getHookResult',a10_0x3c3f1c(0x23b),'getHookRunEventData',a10_0x3c3f1c(0x246)]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a11_0x465cf5=a11_0x4425;(function(_0x2cbe44,_0x524411){const _0xa8ab5b=a11_0x4425,_0x4be833=_0x2cbe44();while(!![]){try{const _0x3f7d79=-parseInt(_0xa8ab5b(0x1d7))/0x1+parseInt(_0xa8ab5b(0x182))/0x2+-parseInt(_0xa8ab5b(0x195))/0x3*(parseInt(_0xa8ab5b(0x1eb))/0x4)+-parseInt(_0xa8ab5b(0x18b))/0x5+-parseInt(_0xa8ab5b(0x17c))/0x6*(parseInt(_0xa8ab5b(0x1d0))/0x7)+parseInt(_0xa8ab5b(0x1cd))/0x8*(-parseInt(_0xa8ab5b(0x170))/0x9)+parseInt(_0xa8ab5b(0x175))/0xa;if(_0x3f7d79===_0x524411)break;else _0x4be833['push'](_0x4be833['shift']());}catch(_0x4f3e76){_0x4be833['push'](_0x4be833['shift']());}}}(a11_0x31ff,0x82092));const {requireModule,modifyCommand,isTrue,markSessionStatus,isBrowserstackInfra,playwrightSetSessionName,playwrightMarkSessionStatus,nestedKeyValue}=require(a11_0x465cf5(0x18c)),{TEST_FRAMEWORK_HOOK_TIMEOUT}=require(a11_0x465cf5(0x1e5)),setKeepAlive=require(a11_0x465cf5(0x173)),util=require(a11_0x465cf5(0x1d2)),PerformanceTester=require(a11_0x465cf5(0x171)),{commandRepository}=require('../../helpers/ai-sdk/autoHealHelper'),cucumberModule=requireModule(a11_0x465cf5(0x1c3),a11_0x465cf5(0x19f)),logger=require(a11_0x465cf5(0x1bf))[a11_0x465cf5(0x20e)],{shouldProcessEventForTesthub}=require(a11_0x465cf5(0x1b1)),{sendPlatformDetails,addRequestSpy,patchConsoleLogger}=require(a11_0x465cf5(0x1a7)),TestDetails=require(a11_0x465cf5(0x1cc)),RequestQueueHandler=require('../../helpers/test-observability/requestQueueHandler'),{o11yErrorHandler}=require(a11_0x465cf5(0x1b7)),MyReporter=require(a11_0x465cf5(0x216)),SessionHandler=require(a11_0x465cf5(0x1b3)),scripts=require(a11_0x465cf5(0x200)),globals=require('../../helpers/globals'),testHubConstants=require(a11_0x465cf5(0x208)),{shouldScanTestForAccessibility}=require(a11_0x465cf5(0x1d4)),{isUndefined}=require(a11_0x465cf5(0x199)),helper=require('../../helpers/helper'),a11_0x530a20={};a11_0x530a20['workerInfo']=undefined,a11_0x530a20[a11_0x465cf5(0x184)]={},a11_0x530a20[a11_0x465cf5(0x21e)]=![],a11_0x530a20[a11_0x465cf5(0x163)]=null,a11_0x530a20['isPageFixture']=![],a11_0x530a20[a11_0x465cf5(0x184)]['id']=undefined,a11_0x530a20[a11_0x465cf5(0x184)][a11_0x465cf5(0x165)]=undefined;const workerDetails=a11_0x530a20;global[a11_0x465cf5(0x1cb)]=workerDetails;let playwrightPatcher=null;shouldProcessEventForTesthub()&&patchConsoleLogger();const sendTestLog=o11yErrorHandler(async function sendTestLog(_0x5192a8){const _0x272a27=a11_0x465cf5,_0x4f43fb=workerDetails['currentTest']['testInfo'];if(!_0x4f43fb)return;await MyReporter[_0x272a27(0x1aa)](_0x4f43fb,_0x5192a8);}),registerListeners=()=>{const _0x564b8f=a11_0x465cf5,_0x32d218={};_0x32d218[_0x564b8f(0x1af)]=_0x564b8f(0x1ea);const _0x52a626=_0x32d218;logger[_0x564b8f(0x1d8)](_0x52a626[_0x564b8f(0x1af)]),process[_0x564b8f(0x202)](_0x564b8f(0x1fa)+process[_0x564b8f(0x192)]),process['on'](_0x564b8f(0x1fa)+process['pid'],sendTestLog),PerformanceTester['startMonitoring']();};modifyCommand(),setKeepAlive();const Before=cucumberModule['Before'],After=cucumberModule['After'],AfterAll=cucumberModule[a11_0x465cf5(0x1ff)],BeforeAll=cucumberModule[a11_0x465cf5(0x1b0)],AfterStep=cucumberModule['AfterStep'],configuration=process['env'][a11_0x465cf5(0x17b)],bstackConfig=process[a11_0x465cf5(0x1a5)][a11_0x465cf5(0x17a)];if(configuration!==undefined){const config=JSON[a11_0x465cf5(0x1e4)](configuration);isBrowserstackInfra()?(global[a11_0x465cf5(0x222)]=isTrue(config[a11_0x465cf5(0x1d5)]),global['__skipSessionStatus']=isTrue(config[a11_0x465cf5(0x19a)])):(global[a11_0x465cf5(0x222)]=!![],global[a11_0x465cf5(0x166)]=!![]);!helper[a11_0x465cf5(0x1f2)](a11_0x465cf5(0x1ae))&&(logger[a11_0x465cf5(0x1d8)]('Performing\x20Selenium\x20Patching'),shouldProcessEventForTesthub()?require(a11_0x465cf5(0x1de))[a11_0x465cf5(0x1c1)](config,null,!![]):require('../../index')[a11_0x465cf5(0x1c1)](config));global['__platformCaps']=config[a11_0x465cf5(0x1f7)]||{};if(helper[a11_0x465cf5(0x1f2)](a11_0x465cf5(0x1ae)))try{logger[a11_0x465cf5(0x1d8)]('Performing\x20Playwright\x20Patching'),playwrightPatcher=require('./playwright-patcher'),playwrightPatcher[a11_0x465cf5(0x190)](config),logger[a11_0x465cf5(0x1d8)](a11_0x465cf5(0x161));}catch(a11_0x2ec949){logger[a11_0x465cf5(0x1d8)]('Error\x20initializing\x20Playwright\x20patching:\x20'+util[a11_0x465cf5(0x1ca)](a11_0x2ec949));}}if(bstackConfig!==undefined){const browserStackConfig=JSON[a11_0x465cf5(0x1e4)](bstackConfig);browserStackConfig&&(commandRepository['setConfig'](browserStackConfig),commandRepository[a11_0x465cf5(0x1a4)](a11_0x465cf5(0x16a)));}global[a11_0x465cf5(0x1f9)]=0x0;const __setDefaultTimeout=cucumberModule[a11_0x465cf5(0x21f)];cucumberModule[a11_0x465cf5(0x21f)]=_0xe51db5=>{const _0x4ae454=a11_0x465cf5,_0x4a82de={'XOgjl':function(_0x1d4179,_0x2cb8d8){return _0x1d4179(_0x2cb8d8);}};global[_0x4ae454(0x1f9)]=_0xe51db5,_0x4a82de[_0x4ae454(0x1fd)](__setDefaultTimeout,_0xe51db5);};const a11_0x87c765={};a11_0x87c765['name']=a11_0x465cf5(0x229),BeforeAll(a11_0x87c765,async function(){const _0x4f95ea=a11_0x465cf5,_0x5834fa={'yMuNy':function(_0x48028b,_0x7edef4,_0x22b003,_0x4ca6bd){return _0x48028b(_0x7edef4,_0x22b003,_0x4ca6bd);},'GLsaz':_0x4f95ea(0x177),'Npwan':'\x20|\x20','PDYdE':function(_0x464993,_0x3ab172,_0x12b443){return _0x464993(_0x3ab172,_0x12b443);},'nDrVn':_0x4f95ea(0x228),'rriId':_0x4f95ea(0x1da),'gBqJl':function(_0x24614e,_0x4586e9){return _0x24614e(_0x4586e9);},'LPOpb':'../v2/browserstackCLI','NyAiy':_0x4f95ea(0x1e3),'IxucG':function(_0x4c3c64,_0x3cd92c){return _0x4c3c64(_0x3cd92c);},'SDNhX':_0x4f95ea(0x1e5),'AroDT':'Bootstrapping\x20BrowserstackCLI\x20for\x20cucumber-js\x20worker\x20process','uLzOv':function(_0x8c8e7b){return _0x8c8e7b();},'JGIRl':function(_0x27a2b0){return _0x27a2b0();},'sHieG':function(_0x420b90,_0x4c35f5){return _0x420b90(_0x4c35f5);}};PerformanceTester[_0x4f95ea(0x186)](),logger['debug'](_0x5834fa[_0x4f95ea(0x1a9)]),global[_0x4f95ea(0x174)]=[],global[_0x4f95ea(0x21c)]=![];if(playwrightPatcher)try{const _0x235a14=_0x5834fa[_0x4f95ea(0x1f3)](require,_0x5834fa[_0x4f95ea(0x1ee)]),_0x57288e=_0x5834fa[_0x4f95ea(0x1f3)](require,_0x5834fa[_0x4f95ea(0x1a0)]),{FRAMEWORKS:_0x35a4b2}=_0x5834fa['IxucG'](require,_0x5834fa['SDNhX']);_0x235a14[_0x4f95ea(0x1ec)]()[_0x4f95ea(0x1c2)]()&&(logger['debug'](_0x5834fa[_0x4f95ea(0x1f5)]),_0x57288e[_0x4f95ea(0x1fc)](_0x35a4b2[_0x4f95ea(0x1c7)],_0x35a4b2[_0x4f95ea(0x21b)]),await _0x235a14['getInstance']()['bootstrap']());}catch(_0x58e808){logger[_0x4f95ea(0x1d8)]('Error\x20setting\x20up\x20BrowserstackCLI\x20bootstrap:\x20'+util[_0x4f95ea(0x1ca)](_0x58e808));}_0x5834fa['uLzOv'](shouldProcessEventForTesthub)&&(_0x5834fa[_0x4f95ea(0x16e)](registerListeners),_0x5834fa[_0x4f95ea(0x20a)](addRequestSpy,![])),global['driverCleanup']=async()=>{const _0x368df9=_0x4f95ea;let _0x45ef58=![];try{global[_0x368df9(0x180)]&&global[_0x368df9(0x180)][0x0]&&(await global[_0x368df9(0x180)][0x0]['session_'],_0x45ef58=!![],global[_0x368df9(0x21c)]?await _0x5834fa[_0x368df9(0x1cf)](markSessionStatus,global[_0x368df9(0x180)][0x0],_0x5834fa[_0x368df9(0x167)],global[_0x368df9(0x174)][_0x368df9(0x185)](_0x5834fa['Npwan'])):await _0x5834fa['PDYdE'](markSessionStatus,global['__drivers'][0x0],_0x5834fa[_0x368df9(0x1f1)]));}catch(_0x363d98){logger[_0x368df9(0x1d8)](_0x368df9(0x169)+_0x363d98);}global[_0x368df9(0x174)]=[],global[_0x368df9(0x21c)]=![];if(_0x45ef58)try{await global[_0x368df9(0x180)][0x0]['initQuit'](),global[_0x368df9(0x180)][0x0][_0x368df9(0x212)]['then'](_0x328001=>{const _0x6bf6cb=_0x368df9;logger['debug'](_0x6bf6cb(0x16f)+_0x328001[_0x6bf6cb(0x204)]());})[_0x368df9(0x206)](_0x455566=>{});}catch(_0x5901ff){logger[_0x368df9(0x1d8)](_0x368df9(0x19c)+_0x5901ff);}};});const a11_0x1dfde3={};a11_0x1dfde3[a11_0x465cf5(0x221)]=a11_0x465cf5(0x229),a11_0x1dfde3[a11_0x465cf5(0x205)]=TEST_FRAMEWORK_HOOK_TIMEOUT[a11_0x465cf5(0x1f6)],Before(a11_0x1dfde3,function(_0x5cda0b,_0x3bf378){const _0x13ada4=a11_0x465cf5,_0x125174={'htClI':function(_0x3a1aa8,_0x34e10d){return _0x3a1aa8>_0x34e10d;},'pcwAD':function(_0x21d654,_0x5d9455){return _0x21d654(_0x5d9455);},'kjMEK':function(_0x19d8f3,_0x9c21cb,_0x53aacb,_0x26f4d4){return _0x19d8f3(_0x9c21cb,_0x53aacb,_0x26f4d4);},'mFbHv':'bstackA11yShouldScan','yCgBo':function(_0x4528b0){return _0x4528b0();},'ntGEz':'Inside\x20browserstack\x20Before'};commandRepository[_0x13ada4(0x1e8)](_0x5cda0b[_0x13ada4(0x1e7)][_0x13ada4(0x221)]),logger[_0x13ada4(0x1d8)](_0x125174[_0x13ada4(0x1c0)]),new Promise(async _0x109bd8=>{const _0x1b3e5a=_0x13ada4;try{global[_0x1b3e5a(0x180)]&&_0x125174[_0x1b3e5a(0x211)](global[_0x1b3e5a(0x180)][_0x1b3e5a(0x17f)],0x1)&&(await global[_0x1b3e5a(0x18d)](),global['__drivers'][_0x1b3e5a(0x191)]()),global[_0x1b3e5a(0x180)]&&global[_0x1b3e5a(0x180)][0x0]&&global[_0x1b3e5a(0x180)][0x0][_0x1b3e5a(0x1c4)]&&_0x125174['htClI'](global[_0x1b3e5a(0x180)][0x0][_0x1b3e5a(0x1c4)],0x0)&&await global['driverCleanup']();}catch(_0x129ef6){logger[_0x1b3e5a(0x1d8)](_0x1b3e5a(0x1d1)+_0x129ef6);}workerDetails[_0x1b3e5a(0x184)][_0x1b3e5a(0x165)]=_0x5cda0b;if(playwrightPatcher)try{await playwrightPatcher['beforeTestHook'](_0x5cda0b);}catch(_0x2ca7d1){logger['debug'](_0x1b3e5a(0x198)+util[_0x1b3e5a(0x1ca)](_0x2ca7d1));}try{if(!_0x125174['pcwAD'](isUndefined,_0x5cda0b[_0x1b3e5a(0x1e7)]['tags'])){const _0x5d8cad=_0x125174[_0x1b3e5a(0x224)](shouldScanTestForAccessibility,null,![],_0x5cda0b[_0x1b3e5a(0x1e7)][_0x1b3e5a(0x1b6)][_0x1b3e5a(0x1df)](({name:_0xcdf3c6})=>_0xcdf3c6));globals[_0x1b3e5a(0x226)](_0x125174[_0x1b3e5a(0x16b)],_0x5d8cad);}}catch(_0x4a685b){logger[_0x1b3e5a(0x1d8)](_0x1b3e5a(0x164)+util[_0x1b3e5a(0x1ca)](_0x4a685b));}_0x125174[_0x1b3e5a(0x1c9)](_0x109bd8);})[_0x13ada4(0x197)](_0x3bf378);});const a11_0x2685d0={};function a11_0x31ff(){const _0x168875=['../../helpers/accessibility-automation/helper','skipSessionName','error','926424zVUxwq','debug','text','Inside\x20browserstack\x20BeforeAll','Playwright\x20flow\x20detected\x20-\x20page\x20exists:\x20','bdAQY','GBfnh','../../index','map','executeAsyncScript','Performing\x20scan\x20before\x20saving\x20results','BROWSERSTACK_TESTHUB_UUID','../v2/cliUtils','parse','../utils/constants','zdJFx','pickle','setTestNameForHealingContext','FNdVU','Inside\x20browserstack\x20registerListeners','56wmcQVT','getInstance','uploadEventData','LPOpb','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case.\x20Error\x20:\x20','HeFUq','nDrVn','getPackageVersion','gBqJl','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','AroDT','Cucumber-JS','platformCaps','test_run','__timeout','bs:addLog:','BROWSERSTACK_TESTHUB_JWT','setFrameworkDetail','XOgjl',',\x22level\x22:\x20\x22','AfterAll','../../helpers/accessibility-automation/scripts','gHdoj','removeAllListeners','browserstackSessionName','getId','timeout','catch','testCaseStartedId','../../helpers/testhub/constants.js','push','sHieG','MiAkm','performScan','NasAG','winstonLogger','BatRR',',\x20isPlaywrightFlow=','htClI','session_','info','Error:\x20adding\x20scenario\x20error\x20at\x20After:\x20','toString','../playwright/reporter/reporter.js','Dqocb','KzDhM','executeScript','\x22}}','PLAYWRIGHT','__sessionFailed','closeTracker','o11ySyncDone','setDefaultTimeout','event_type','name','__skipSessionName','CBTSessionCreated','kjMEK','Executed\x20fallback\x20deferred\x20Playwright\x20closes\x20after\x20error','setGlobal','shutdown','passed','bstack','toLowerCase','Playwright\x20patching\x20initialized\x20for\x20Cucumber-JS','SAKwe','pwPage','Exception\x20in\x20setting\x20bstackA11yShouldScan\x20in\x20Before\x20Scenario\x20','testInfo','__skipSessionStatus','GLsaz','getGlobal','Error:\x20cleaning\x20up\x20driver:\x20','cucumber-js','mFbHv','dcSqF','EHDhA','JGIRl','Error:\x20in\x20quitting\x20driver\x20','189tpwHLd','../../helpers/performance/performance-tester','Error:\x20quiting\x20driver\x20at\x20After:\x20','../../helpers/setKeepAlive','__error_messages__','18915040grTWhi','thJwtToken','failed','getTestUUID','Rbaxa','BSTACK_CONFIG','CONFIG','12114OMCwCb','kuIuR','saveTestResults','length','__drivers','Error:\x20sendPlatformDetails\x20at\x20After:\x20','1007232kMlikc','Error:\x20at\x20After\x20(Selenium):\x20','currentTest','join','startMonitoring','Error\x20cleaning\x20up\x20Playwright\x20close\x20tracker:\x20','Flow\x20detection:\x20isSeleniumFlow=','then','executeDeferredCloses','1336685WhpXPH','../../helpers/helper','driverCleanup','isAccessibilityPlatform','dEFQM','initializePlaywrightPatching','shift','pid','KMMhR','bUjjo','21366fTDMfv','message','finally','Error\x20in\x20playwright\x20beforeTestHook:\x20','lodash','skipSessionStatus','split','Error:\x20quiting\x20driver\x20at\x20driver\x20cleanup:\x20','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','JjrAd','@cucumber/cucumber','NyAiy','Failed:\x20','AHkTA','thBuildUuid','setFramework','env','stringify','../../helpers/test-observability/utils','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20\x22','rriId','addTestUIDAndReportLog','Passed:\x20','NQbPz','result','@playwright/test','jNsIi','BeforeAll','../../helpers/testhub/utils','pickleStep','../../helpers/test-observability/sessionHandler','1|2|4|3|0','XcHwi','tags','../../helpers/test-observability/error-handler','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','FXRbl','lidPs','YgoKG','Error:\x20in\x20After\x20Step\x20for\x20driver\x20','cAKgz','Completed\x20Playwright\x20afterTestHook\x20execution','../../helpers/logger','ntGEz','browserstackAgentV2','isCliEnabled','@cucumber/cucumber/lib/index.js','quitCount_','Error\x20determining\x20test\x20flow:\x20','detis','CUCUMBER','xsItY','yCgBo','format','__workerDetails','../playwright/reporter/test-details.js','144472NCkNQO','status','yMuNy','658lalZZK','Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20','util','ENV_VAR'];a11_0x31ff=function(){return _0x168875;};return a11_0x31ff();}a11_0x2685d0['name']=a11_0x465cf5(0x229),a11_0x2685d0['timeout']=TEST_FRAMEWORK_HOOK_TIMEOUT[a11_0x465cf5(0x1f6)],After(a11_0x2685d0,function(_0x33176e,_0x5e4894){const _0x1ff4c3=a11_0x465cf5,_0x488d32={'cAKgz':function(_0x419ec8,_0xf7f55b){return _0x419ec8>_0xf7f55b;},'lidPs':function(_0x383d83,_0x811ada){return _0x383d83===_0x811ada;},'moEKU':_0x1ff4c3(0x177),'NQbPz':function(_0x25c22c,_0x121654,_0x24d925,_0x225805){return _0x25c22c(_0x121654,_0x24d925,_0x225805);},'KMYJN':'\x20|\x20','SxOHq':function(_0x19dd9d,_0x42ecd0,_0x2c58d2){return _0x19dd9d(_0x42ecd0,_0x2c58d2);},'FXRbl':_0x1ff4c3(0x228),'KzDhM':_0x1ff4c3(0x1be),'KMMhR':_0x1ff4c3(0x225),'FNdVU':function(_0x35d57e){return _0x35d57e();},'DNNMQ':_0x1ff4c3(0x223),'Dqocb':_0x1ff4c3(0x18e),'detis':'bstackA11yShouldScan','qJlNy':_0x1ff4c3(0x1b8),'zdJFx':_0x1ff4c3(0x1e1),'Rbaxa':_0x1ff4c3(0x19d),'BatRR':function(_0x62361b,_0x42fc0a){return _0x62361b>_0x42fc0a;},'XcHwi':'Inside\x20browserstack\x20After'};logger[_0x1ff4c3(0x1d8)](_0x488d32[_0x1ff4c3(0x1b5)]),workerDetails[_0x1ff4c3(0x184)][_0x1ff4c3(0x165)]=_0x33176e,new Promise(async _0x31a5c2=>{const _0x21f5ad=_0x1ff4c3;let _0x198e39=![],_0x25a232=![],_0x55db66=![];try{global[_0x21f5ad(0x180)]&&_0x488d32[_0x21f5ad(0x1bd)](global[_0x21f5ad(0x180)][_0x21f5ad(0x17f)],0x0)&&(_0x25a232=!![]),playwrightPatcher&&global[_0x21f5ad(0x1cb)]&&global[_0x21f5ad(0x1cb)][_0x21f5ad(0x163)]&&(_0x55db66=!![],logger[_0x21f5ad(0x1d8)](_0x21f5ad(0x1db)+!!global[_0x21f5ad(0x1cb)][_0x21f5ad(0x163)]));}catch(_0x4fc61c){logger[_0x21f5ad(0x1d8)](_0x21f5ad(0x1c5)+_0x4fc61c);}logger['debug'](_0x21f5ad(0x188)+_0x25a232+_0x21f5ad(0x210)+_0x55db66);const _0x48b386=_0x33176e[_0x21f5ad(0x1ad)][_0x21f5ad(0x1ce)][_0x21f5ad(0x215)]()[_0x21f5ad(0x160)](),_0x3139a1=_0x488d32[_0x21f5ad(0x1ba)](_0x48b386,_0x488d32['moEKU'])||_0x488d32[_0x21f5ad(0x1ba)](_0x48b386,'6'),_0x2bb33a=_0x3139a1?_0x33176e[_0x21f5ad(0x1ad)]['message']:null;if(_0x3139a1)try{global[_0x21f5ad(0x174)][_0x21f5ad(0x209)](_0x33176e[_0x21f5ad(0x1ad)]['message']),global['__sessionFailed']=!![];}catch(_0x12006c){logger[_0x21f5ad(0x1d8)](_0x21f5ad(0x214)+_0x12006c);}if(_0x25a232)try{global['__drivers']&&_0x488d32[_0x21f5ad(0x1bd)](global[_0x21f5ad(0x180)][_0x21f5ad(0x17f)],0x1)&&(await global[_0x21f5ad(0x18d)](),global[_0x21f5ad(0x180)][_0x21f5ad(0x191)](),global['__error_messages__']=[],global[_0x21f5ad(0x21c)]=![]),global[_0x21f5ad(0x180)]&&global['__drivers'][0x0]&&(await global[_0x21f5ad(0x180)][0x0]['session_'],_0x198e39=!![],!global['__skipSessionName']&&await global[_0x21f5ad(0x180)][0x0]['executeScript'](_0x21f5ad(0x1a8)+_0x33176e[_0x21f5ad(0x1e7)][_0x21f5ad(0x221)]+_0x21f5ad(0x21a)),_0x3139a1?await _0x488d32[_0x21f5ad(0x1ac)](markSessionStatus,global[_0x21f5ad(0x180)][0x0],_0x488d32['moEKU'],global[_0x21f5ad(0x174)][_0x21f5ad(0x185)](_0x488d32['KMYJN'])):await _0x488d32['SxOHq'](markSessionStatus,global[_0x21f5ad(0x180)][0x0],_0x488d32['FXRbl']));}catch(_0x50b93d){logger[_0x21f5ad(0x1d8)](_0x21f5ad(0x183)+util['format'](_0x50b93d));}if(_0x55db66)try{const _0x1d79ad=_0x3139a1?_0x488d32['moEKU']:_0x488d32[_0x21f5ad(0x1b9)];await playwrightPatcher['afterTestHook'](_0x33176e,_0x1d79ad,_0x2bb33a),logger[_0x21f5ad(0x1d8)](_0x488d32[_0x21f5ad(0x218)]);}catch(_0x393887){logger[_0x21f5ad(0x1d8)]('Error:\x20at\x20After\x20(Playwright):\x20'+util['format'](_0x393887));try{playwrightPatcher[_0x21f5ad(0x18a)]&&(await playwrightPatcher[_0x21f5ad(0x18a)](),logger[_0x21f5ad(0x1d8)](_0x488d32[_0x21f5ad(0x193)]));}catch(_0x355d86){logger[_0x21f5ad(0x1d8)]('Error\x20executing\x20fallback\x20deferred\x20closes:\x20'+util[_0x21f5ad(0x1ca)](_0x355d86));}}try{if(_0x488d32[_0x21f5ad(0x1e9)](shouldProcessEventForTesthub)){const _0x1239ae=TestDetails['getTestUUID'](_0x33176e['testCaseStartedId']);let _0x25d224=null;global[_0x21f5ad(0x180)]&&global['__drivers'][0x0]&&(_0x25d224=await _0x488d32[_0x21f5ad(0x1ac)](sendPlatformDetails,global[_0x21f5ad(0x180)][0x0],_0x1239ae,!![]));const _0x251bcc={};_0x251bcc['uuid']=_0x1239ae,_0x251bcc['integrations']=_0x25d224;const _0x2ea3dd=_0x251bcc,_0x3aa85b={};_0x3aa85b[_0x21f5ad(0x220)]=_0x488d32['DNNMQ'],_0x3aa85b[_0x21f5ad(0x1f8)]=_0x2ea3dd,await SessionHandler[_0x21f5ad(0x1ed)](_0x3aa85b);}}catch(_0x10d153){logger[_0x21f5ad(0x1d8)](_0x21f5ad(0x181)+util[_0x21f5ad(0x1ca)](_0x10d153));}try{if(globals['getGlobal'](_0x488d32[_0x21f5ad(0x217)])&&globals[_0x21f5ad(0x168)](_0x488d32[_0x21f5ad(0x1c6)])){logger[_0x21f5ad(0x213)](_0x488d32['qJlNy']);const _0x4f922d=TestDetails[_0x21f5ad(0x178)](_0x33176e[_0x21f5ad(0x207)]),_0x2df6c8={};_0x2df6c8['thTestRunUuid']=_0x4f922d,_0x2df6c8[_0x21f5ad(0x1a3)]=process[_0x21f5ad(0x1a5)][testHubConstants[_0x21f5ad(0x1d3)][_0x21f5ad(0x1e2)]],_0x2df6c8[_0x21f5ad(0x176)]=process[_0x21f5ad(0x1a5)][testHubConstants['ENV_VAR'][_0x21f5ad(0x1fb)]];const _0x5c730f=_0x2df6c8;logger['debug']('Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20'+JSON[_0x21f5ad(0x1a6)](_0x5c730f)),logger['debug'](_0x488d32[_0x21f5ad(0x1e6)]),global[_0x21f5ad(0x180)]&&global[_0x21f5ad(0x180)][0x0]&&(logger[_0x21f5ad(0x1d8)](util[_0x21f5ad(0x1ca)](await global['__drivers'][0x0]['executeAsyncScript'](scripts[_0x21f5ad(0x20c)],{'method':global[_0x21f5ad(0x203)]}))),await global[_0x21f5ad(0x180)][0x0][_0x21f5ad(0x1e0)](scripts[_0x21f5ad(0x17e)],_0x5c730f)),logger['info'](_0x488d32[_0x21f5ad(0x179)]);}}catch(_0x2e31fe){logger[_0x21f5ad(0x1d6)](_0x21f5ad(0x1ef)+util[_0x21f5ad(0x1ca)]);}if(_0x198e39)try{global['__drivers'][0x0]&&_0x488d32[_0x21f5ad(0x20f)](global[_0x21f5ad(0x180)][0x0][_0x21f5ad(0x1c4)],0x0)&&await global['__drivers'][0x0]['initQuit']();}catch(_0x3b0228){logger[_0x21f5ad(0x1d8)](_0x21f5ad(0x172)+_0x3b0228);}_0x488d32[_0x21f5ad(0x1e9)](_0x31a5c2);})[_0x1ff4c3(0x197)](()=>_0x5e4894());});const a11_0x1dea61={};a11_0x1dea61[a11_0x465cf5(0x221)]=a11_0x465cf5(0x229),a11_0x1dea61[a11_0x465cf5(0x205)]=TEST_FRAMEWORK_HOOK_TIMEOUT[a11_0x465cf5(0x1f6)],AfterStep(a11_0x1dea61,function(_0x2424fa,_0x9fb5f5){const _0x39160e=a11_0x465cf5,_0x5ebe34={'AHkTA':function(_0x5374a6,_0x292654){return _0x5374a6===_0x292654;},'GODWR':_0x39160e(0x177),'JjrAd':function(_0x2ff037,_0x1efb96){return _0x2ff037!==_0x1efb96;},'NasAG':function(_0x5f4ef6,_0x3b10f0,_0x44f30f){return _0x5f4ef6(_0x3b10f0,_0x44f30f);},'EHDhA':function(_0x505c83,_0x2bdf75){return _0x505c83+_0x2bdf75;},'cwvcX':function(_0x33158a,_0x2f8573){return _0x33158a+_0x2f8573;},'bUjjo':_0x39160e(0x1a1),'bwtBZ':'\x0aError:\x20','dEFQM':_0x39160e(0x1d6),'dcSqF':function(_0x321493,_0x5224bc){return _0x321493+_0x5224bc;},'xsItY':function(_0x236b7a,_0x4b2eb8,_0x5c2ecf){return _0x236b7a(_0x4b2eb8,_0x5c2ecf);},'SCnLw':_0x39160e(0x1ab),'YgoKG':_0x39160e(0x213),'kuIuR':'Passed','MiAkm':function(_0x4b515b){return _0x4b515b();},'gHdoj':'Inside\x20browserstack\x20AfterStep'};logger[_0x39160e(0x1d8)](_0x5ebe34[_0x39160e(0x201)]);const _0x3baf94=async(_0x1f2013,_0x1b8ca4)=>{const _0x1e92e5=_0x39160e;global[_0x1e92e5(0x180)]&&global[_0x1e92e5(0x180)][0x0]&&await global['__drivers'][0x0][_0x1e92e5(0x219)](_0x1e92e5(0x1f4)+_0x1f2013+_0x1e92e5(0x1fe)+_0x1b8ca4+_0x1e92e5(0x21a));};new Promise(async _0x438f00=>{const _0xaefafb=_0x39160e;try{_0x5ebe34[_0xaefafb(0x1a2)](_0x2424fa['result'][_0xaefafb(0x1ce)][_0xaefafb(0x215)]()[_0xaefafb(0x160)](),_0x5ebe34['GODWR'])||_0x5ebe34['AHkTA'](_0x2424fa['result']['status'][_0xaefafb(0x215)]()[_0xaefafb(0x160)](),'6')?(global[_0xaefafb(0x21c)]=!![],global[_0xaefafb(0x174)]['push'](_0x2424fa['result'][_0xaefafb(0x196)]),_0x5ebe34[_0xaefafb(0x19e)](_0x2424fa[_0xaefafb(0x1b2)],undefined)?await _0x5ebe34[_0xaefafb(0x20d)](_0x3baf94,JSON[_0xaefafb(0x1a6)](_0x5ebe34[_0xaefafb(0x16d)](_0x5ebe34['cwvcX'](_0x5ebe34[_0xaefafb(0x16d)](_0x5ebe34[_0xaefafb(0x194)],'\x22'+_0x2424fa[_0xaefafb(0x1b2)][_0xaefafb(0x1d9)]+'\x22\x20'),_0x5ebe34['bwtBZ']),_0x2424fa[_0xaefafb(0x1ad)]['message'])),_0x5ebe34[_0xaefafb(0x18f)]):await _0x5ebe34[_0xaefafb(0x20d)](_0x3baf94,JSON['stringify'](_0x5ebe34[_0xaefafb(0x16c)](_0x5ebe34[_0xaefafb(0x194)],_0x2424fa[_0xaefafb(0x1ad)][_0xaefafb(0x196)])),_0x5ebe34['dEFQM'])):_0x5ebe34[_0xaefafb(0x19e)](_0x2424fa[_0xaefafb(0x1b2)],undefined)?await _0x5ebe34[_0xaefafb(0x1c8)](_0x3baf94,JSON[_0xaefafb(0x1a6)](_0x5ebe34[_0xaefafb(0x16d)](_0x5ebe34['SCnLw'],'\x22'+_0x2424fa[_0xaefafb(0x1b2)][_0xaefafb(0x1d9)]+'\x22')),_0x5ebe34['YgoKG']):await _0x5ebe34[_0xaefafb(0x20d)](_0x3baf94,JSON[_0xaefafb(0x1a6)](_0x5ebe34[_0xaefafb(0x17d)]),_0x5ebe34[_0xaefafb(0x1bb)]),global[_0xaefafb(0x180)]&&global[_0xaefafb(0x180)][0x0]&&global[_0xaefafb(0x180)][0x0][_0xaefafb(0x212)][_0xaefafb(0x189)](_0x3a6a74=>{})[_0xaefafb(0x206)](_0x34e963=>{const _0x592d9e=_0xaefafb;logger[_0x592d9e(0x1d8)](_0x592d9e(0x1bc)+util[_0x592d9e(0x1ca)](_0x34e963));});}catch(_0x291082){logger['debug']('Error:\x20at\x20After\x20Step:\x20'+_0x291082);}_0x5ebe34[_0xaefafb(0x20b)](_0x438f00);})[_0x39160e(0x197)](()=>_0x9fb5f5());});const a11_0x5a5df7={};function a11_0x4425(_0x41b2ec,_0x17d8ea){const _0x31ffe5=a11_0x31ff();return a11_0x4425=function(_0x442595,_0xd6db5a){_0x442595=_0x442595-0x160;let _0x3542f8=_0x31ffe5[_0x442595];return _0x3542f8;},a11_0x4425(_0x41b2ec,_0x17d8ea);}a11_0x5a5df7[a11_0x465cf5(0x221)]='bstack',a11_0x5a5df7[a11_0x465cf5(0x205)]=TEST_FRAMEWORK_HOOK_TIMEOUT[a11_0x465cf5(0x1f6)],AfterAll(a11_0x5a5df7,async function(_0x2ffec5,_0x416cf3){const _0x5c567e=a11_0x465cf5,_0x34bbba={'GBfnh':_0x5c567e(0x1b4),'HeFUq':function(_0x1aa62c){return _0x1aa62c();},'SAKwe':'Cleaned\x20up\x20Playwright\x20close\x20tracker','bdAQY':'Inside\x20browserstack\x20AfterAll'};logger[_0x5c567e(0x1d8)](_0x34bbba[_0x5c567e(0x1dc)]),await new Promise(async _0x375ce6=>{const _0x47c4c7=_0x5c567e,_0x4ffe9b=_0x34bbba[_0x47c4c7(0x1dd)][_0x47c4c7(0x19b)]('|');let _0x3ac771=0x0;while(!![]){switch(_0x4ffe9b[_0x3ac771++]){case'0':_0x34bbba[_0x47c4c7(0x1f0)](_0x375ce6);continue;case'1':await RequestQueueHandler[_0x47c4c7(0x1ec)]()[_0x47c4c7(0x227)]();continue;case'2':PerformanceTester['stopMonitoring']();continue;case'3':await global[_0x47c4c7(0x18d)]();continue;case'4':try{playwrightPatcher&&playwrightPatcher[_0x47c4c7(0x18a)]&&(await playwrightPatcher[_0x47c4c7(0x18a)](),playwrightPatcher[_0x47c4c7(0x21d)]&&playwrightPatcher[_0x47c4c7(0x21d)]['cleanup'](),logger[_0x47c4c7(0x1d8)](_0x34bbba[_0x47c4c7(0x162)]));}catch(_0x566a2d){logger[_0x47c4c7(0x1d8)](_0x47c4c7(0x187)+util['format'](_0x566a2d));}continue;}break;}});});
|
|
1
|
+
const a11_0x39ae95=a11_0x5ee1;(function(_0x90fef8,_0x118481){const _0x3244fc=a11_0x5ee1,_0x4a1735=_0x90fef8();while(!![]){try{const _0x3ad59d=-parseInt(_0x3244fc(0xb3))/0x1+parseInt(_0x3244fc(0xf7))/0x2+parseInt(_0x3244fc(0x11f))/0x3*(-parseInt(_0x3244fc(0xa1))/0x4)+-parseInt(_0x3244fc(0x153))/0x5+parseInt(_0x3244fc(0xde))/0x6*(parseInt(_0x3244fc(0x13f))/0x7)+-parseInt(_0x3244fc(0xbf))/0x8*(-parseInt(_0x3244fc(0x13e))/0x9)+parseInt(_0x3244fc(0x149))/0xa;if(_0x3ad59d===_0x118481)break;else _0x4a1735['push'](_0x4a1735['shift']());}catch(_0x44e92d){_0x4a1735['push'](_0x4a1735['shift']());}}}(a11_0x52eb,0xe03cf));const {requireModule,modifyCommand,isTrue,markSessionStatus,isBrowserstackInfra,playwrightSetSessionName,playwrightMarkSessionStatus,nestedKeyValue}=require(a11_0x39ae95(0xc4)),{TEST_FRAMEWORK_HOOK_TIMEOUT}=require(a11_0x39ae95(0x99)),setKeepAlive=require(a11_0x39ae95(0x103)),util=require(a11_0x39ae95(0xac)),PerformanceTester=require(a11_0x39ae95(0xf6)),{commandRepository}=require(a11_0x39ae95(0xd1)),cucumberModule=requireModule('@cucumber/cucumber/lib/index.js','@cucumber/cucumber'),logger=require(a11_0x39ae95(0x9a))[a11_0x39ae95(0xea)],{shouldProcessEventForTesthub}=require(a11_0x39ae95(0x11c)),{sendPlatformDetails,addRequestSpy,patchConsoleLogger}=require(a11_0x39ae95(0xf4)),TestDetails=require(a11_0x39ae95(0xd0)),RequestQueueHandler=require(a11_0x39ae95(0x151)),{o11yErrorHandler}=require(a11_0x39ae95(0x15f)),MyReporter=require(a11_0x39ae95(0x111)),SessionHandler=require(a11_0x39ae95(0xdd)),scripts=require(a11_0x39ae95(0xb4)),globals=require('../../helpers/globals'),testHubConstants=require(a11_0x39ae95(0x123)),{shouldScanTestForAccessibility}=require(a11_0x39ae95(0xe6)),{isUndefined}=require(a11_0x39ae95(0xc6)),helper=require('../../helpers/helper'),a11_0x2fb108={};a11_0x2fb108[a11_0x39ae95(0xf8)]=undefined,a11_0x2fb108[a11_0x39ae95(0xc7)]={},a11_0x2fb108['o11ySyncDone']=![],a11_0x2fb108[a11_0x39ae95(0xf1)]=null,a11_0x2fb108[a11_0x39ae95(0x137)]=![],a11_0x2fb108[a11_0x39ae95(0xc7)]['id']=undefined,a11_0x2fb108[a11_0x39ae95(0xc7)]['testInfo']=undefined;const workerDetails=a11_0x2fb108;global[a11_0x39ae95(0x136)]=workerDetails;let playwrightPatcher=null;shouldProcessEventForTesthub()&&patchConsoleLogger();const sendTestLog=o11yErrorHandler(async function sendTestLog(_0x2290ea){const _0xcb0ae8=a11_0x39ae95,_0x229a0e=workerDetails[_0xcb0ae8(0xc7)][_0xcb0ae8(0xc0)];if(!_0x229a0e)return;await MyReporter[_0xcb0ae8(0xbd)](_0x229a0e,_0x2290ea);}),registerListeners=()=>{const _0x320a5b=a11_0x39ae95,_0x34243b={};_0x34243b[_0x320a5b(0xc5)]=_0x320a5b(0x113);const _0x1e3b71=_0x34243b;logger[_0x320a5b(0xa7)](_0x1e3b71[_0x320a5b(0xc5)]),process[_0x320a5b(0x163)]('bs:addLog:'+process['pid']),process['on'](_0x320a5b(0x134)+process[_0x320a5b(0x16b)],sendTestLog),PerformanceTester['startMonitoring']();};modifyCommand(),setKeepAlive();const Before=cucumberModule['Before'],After=cucumberModule[a11_0x39ae95(0xe1)],AfterAll=cucumberModule[a11_0x39ae95(0xca)],BeforeAll=cucumberModule[a11_0x39ae95(0x160)],AfterStep=cucumberModule[a11_0x39ae95(0x16a)],configuration=process[a11_0x39ae95(0xcb)][a11_0x39ae95(0xa3)],bstackConfig=process[a11_0x39ae95(0xcb)]['BSTACK_CONFIG'];if(configuration!==undefined){const config=JSON[a11_0x39ae95(0x133)](configuration);isBrowserstackInfra()?(global[a11_0x39ae95(0xbb)]=isTrue(config[a11_0x39ae95(0xf2)]),global['__skipSessionStatus']=isTrue(config[a11_0x39ae95(0xc2)])):(global[a11_0x39ae95(0xbb)]=!![],global[a11_0x39ae95(0x12d)]=!![]);!helper[a11_0x39ae95(0xdf)](a11_0x39ae95(0x13a))&&(logger['debug']('Performing\x20Selenium\x20Patching'),shouldProcessEventForTesthub()?require('../../index')['browserstackAgentV2'](config,null,!![]):require(a11_0x39ae95(0xf3))[a11_0x39ae95(0x116)](config));global[a11_0x39ae95(0xa4)]=config[a11_0x39ae95(0x112)]||{};if(helper[a11_0x39ae95(0xdf)]('@playwright/test'))try{logger[a11_0x39ae95(0xa7)](a11_0x39ae95(0x12b)),playwrightPatcher=require(a11_0x39ae95(0x161)),playwrightPatcher[a11_0x39ae95(0xd3)](config),logger['debug'](a11_0x39ae95(0xfc));}catch(a11_0x557ca2){logger['debug'](a11_0x39ae95(0xd2)+util['format'](a11_0x557ca2));}}if(bstackConfig!==undefined){const browserStackConfig=JSON[a11_0x39ae95(0x133)](bstackConfig);browserStackConfig&&(commandRepository[a11_0x39ae95(0xe0)](browserStackConfig),commandRepository['setFramework'](a11_0x39ae95(0xec)));}function a11_0x5ee1(_0x115c81,_0x936a41){const _0x52ebf5=a11_0x52eb();return a11_0x5ee1=function(_0x5ee178,_0x1fa7ec){_0x5ee178=_0x5ee178-0x96;let _0x47a0a1=_0x52ebf5[_0x5ee178];return _0x47a0a1;},a11_0x5ee1(_0x115c81,_0x936a41);}global[a11_0x39ae95(0xcd)]=0x0;const __setDefaultTimeout=cucumberModule['setDefaultTimeout'];cucumberModule[a11_0x39ae95(0x169)]=_0x425ec6=>{const _0x386cbb=a11_0x39ae95,_0x30f25d={'sdnng':function(_0x517e8b,_0x44b8a9){return _0x517e8b(_0x44b8a9);}};global[_0x386cbb(0xcd)]=_0x425ec6,_0x30f25d[_0x386cbb(0x135)](__setDefaultTimeout,_0x425ec6);};const a11_0x340e97={};a11_0x340e97[a11_0x39ae95(0x10a)]='bstack',BeforeAll(a11_0x340e97,async function(){const _0x3a6dc3=a11_0x39ae95,_0x437223={'iXjjX':function(_0x595b87,_0x400512,_0x2edb7a,_0xad63f){return _0x595b87(_0x400512,_0x2edb7a,_0xad63f);},'UHvsS':'failed','NBBvK':_0x3a6dc3(0xda),'qbIQg':function(_0x425332,_0xd136ac,_0x4bb09f){return _0x425332(_0xd136ac,_0x4bb09f);},'iTGsR':'passed','RfMSe':_0x3a6dc3(0xe4),'ReTyP':function(_0x91b93,_0x458d9c){return _0x91b93(_0x458d9c);},'nQnav':'../v2/browserstackCLI','NSsWr':'../v2/cliUtils','qHiiO':function(_0x4a224e,_0x16f21b){return _0x4a224e(_0x16f21b);},'xejHy':_0x3a6dc3(0x99),'lADjP':_0x3a6dc3(0xb5),'wbFKf':function(_0x360f1a){return _0x360f1a();},'JxuPg':function(_0x3806a0){return _0x3806a0();},'IGdrr':function(_0x866c38,_0x1436c6){return _0x866c38(_0x1436c6);}};PerformanceTester[_0x3a6dc3(0xa8)](),logger['debug'](_0x437223[_0x3a6dc3(0x14c)]),global[_0x3a6dc3(0x141)]=[],global[_0x3a6dc3(0x14a)]=![];if(playwrightPatcher)try{const _0x1415d5=_0x437223[_0x3a6dc3(0x168)](require,_0x437223[_0x3a6dc3(0x14d)]),_0x1031b6=_0x437223['ReTyP'](require,_0x437223[_0x3a6dc3(0x107)]),{FRAMEWORKS:_0x4ad1a3}=_0x437223[_0x3a6dc3(0x9e)](require,_0x437223[_0x3a6dc3(0x96)]);_0x1415d5[_0x3a6dc3(0xfa)]()[_0x3a6dc3(0xcf)]()&&(logger['debug'](_0x437223[_0x3a6dc3(0xfd)]),_0x1031b6[_0x3a6dc3(0x119)](_0x4ad1a3[_0x3a6dc3(0x155)],_0x4ad1a3['PLAYWRIGHT']),await _0x1415d5['getInstance']()[_0x3a6dc3(0xef)]());}catch(_0x2a083b){logger[_0x3a6dc3(0xa7)](_0x3a6dc3(0xe2)+util[_0x3a6dc3(0x105)](_0x2a083b));}_0x437223['wbFKf'](shouldProcessEventForTesthub)&&(_0x437223[_0x3a6dc3(0xe5)](registerListeners),_0x437223[_0x3a6dc3(0x154)](addRequestSpy,![])),global[_0x3a6dc3(0xc9)]=async()=>{const _0x2775ff=_0x3a6dc3;let _0x17bba7=![];try{global[_0x2775ff(0x97)]&&global[_0x2775ff(0x97)][0x0]&&(await global[_0x2775ff(0x97)][0x0][_0x2775ff(0xfe)],_0x17bba7=!![],global[_0x2775ff(0x14a)]?await _0x437223[_0x2775ff(0xad)](markSessionStatus,global[_0x2775ff(0x97)][0x0],_0x437223[_0x2775ff(0xd6)],global[_0x2775ff(0x141)]['join'](_0x437223[_0x2775ff(0xb1)])):await _0x437223[_0x2775ff(0x158)](markSessionStatus,global['__drivers'][0x0],_0x437223[_0x2775ff(0x10b)]));}catch(_0x44703d){logger['debug'](_0x2775ff(0x15b)+_0x44703d);}global[_0x2775ff(0x141)]=[],global[_0x2775ff(0x14a)]=![];if(_0x17bba7)try{await global[_0x2775ff(0x97)][0x0][_0x2775ff(0xf9)](),global[_0x2775ff(0x97)][0x0]['session_'][_0x2775ff(0xae)](_0x411459=>{const _0x2304d7=_0x2775ff;logger[_0x2304d7(0xa7)]('Error:\x20in\x20quitting\x20driver\x20'+_0x411459[_0x2304d7(0x132)]());})[_0x2775ff(0xe7)](_0x1c34a7=>{});}catch(_0x2c6305){logger[_0x2775ff(0xa7)](_0x2775ff(0x152)+_0x2c6305);}};});const a11_0x2bebec={};a11_0x2bebec['name']=a11_0x39ae95(0xbc),a11_0x2bebec['timeout']=TEST_FRAMEWORK_HOOK_TIMEOUT['Cucumber-JS'],Before(a11_0x2bebec,function(_0x2cc51f,_0x5dfb53){const _0x594aaa=a11_0x39ae95,_0x9c7f84={'rfUyK':function(_0x3fd756,_0x3f4dfb){return _0x3fd756>_0x3f4dfb;},'FyvkC':function(_0x5dd4fb,_0x4c506f){return _0x5dd4fb(_0x4c506f);},'GRksL':function(_0x4d5dd9,_0x2f068a,_0x491c9b,_0x1f8abe){return _0x4d5dd9(_0x2f068a,_0x491c9b,_0x1f8abe);},'xtppn':'bstackA11yShouldScan','CbHES':function(_0x466236){return _0x466236();},'PldaH':_0x594aaa(0x110)};commandRepository[_0x594aaa(0x10d)](_0x2cc51f[_0x594aaa(0x166)][_0x594aaa(0x10a)]),logger['debug'](_0x9c7f84['PldaH']),new Promise(async _0x10b21a=>{const _0x5a851e=_0x594aaa;try{global[_0x5a851e(0x97)]&&_0x9c7f84['rfUyK'](global['__drivers'][_0x5a851e(0x121)],0x1)&&(await global[_0x5a851e(0xc9)](),global[_0x5a851e(0x97)]['shift']()),global[_0x5a851e(0x97)]&&global[_0x5a851e(0x97)][0x0]&&global[_0x5a851e(0x97)][0x0][_0x5a851e(0xfb)]&&_0x9c7f84[_0x5a851e(0x15d)](global['__drivers'][0x0][_0x5a851e(0xfb)],0x0)&&await global[_0x5a851e(0xc9)]();}catch(_0x4635e2){logger[_0x5a851e(0xa7)](_0x5a851e(0x127)+_0x4635e2);}workerDetails[_0x5a851e(0xc7)][_0x5a851e(0xc0)]=_0x2cc51f;if(playwrightPatcher)try{await playwrightPatcher[_0x5a851e(0x12a)](_0x2cc51f);}catch(_0x1a24f1){logger['debug'](_0x5a851e(0x11e)+util[_0x5a851e(0x105)](_0x1a24f1));}try{if(!_0x9c7f84[_0x5a851e(0xa0)](isUndefined,_0x2cc51f[_0x5a851e(0x166)][_0x5a851e(0x140)])){const _0x453b20=_0x9c7f84['GRksL'](shouldScanTestForAccessibility,null,![],_0x2cc51f[_0x5a851e(0x166)][_0x5a851e(0x140)][_0x5a851e(0x10e)](({name:_0xf63e55})=>_0xf63e55));globals[_0x5a851e(0xb0)](_0x9c7f84['xtppn'],_0x453b20);}}catch(_0x556891){logger[_0x5a851e(0xa7)](_0x5a851e(0xf0)+util['format'](_0x556891));}_0x9c7f84[_0x5a851e(0xe8)](_0x10b21a);})[_0x594aaa(0x13b)](_0x5dfb53);});const a11_0x14292d={};a11_0x14292d[a11_0x39ae95(0x10a)]='bstack',a11_0x14292d[a11_0x39ae95(0x164)]=TEST_FRAMEWORK_HOOK_TIMEOUT[a11_0x39ae95(0x120)],After(a11_0x14292d,function(_0x160a48,_0x11f8a3){const _0x2fc114=a11_0x39ae95,_0x254037={'zSnBZ':function(_0x29d2f6,_0xef53bb){return _0x29d2f6>_0xef53bb;},'tzaEQ':function(_0x234d77,_0x36e792){return _0x234d77===_0x36e792;},'vIZUu':'failed','fnVjm':function(_0x288852,_0x37218a){return _0x288852===_0x37218a;},'GbaMY':function(_0x18ee96,_0x46c4e6){return _0x18ee96>_0x46c4e6;},'RHFyx':function(_0x328315,_0x3621f0,_0x259257,_0x49090f){return _0x328315(_0x3621f0,_0x259257,_0x49090f);},'coVUH':'\x20|\x20','VcjjL':function(_0x24e9d6,_0x9d88d6,_0x471a62){return _0x24e9d6(_0x9d88d6,_0x471a62);},'ALZVC':_0x2fc114(0x124),'CoBuc':_0x2fc114(0x12f),'Ucdmj':_0x2fc114(0xa9),'ngXtc':function(_0x31b342){return _0x31b342();},'VTKIz':function(_0x5a3ceb,_0x11efb4,_0x126cea,_0x5620b3){return _0x5a3ceb(_0x11efb4,_0x126cea,_0x5620b3);},'nazAf':_0x2fc114(0x130),'oKwty':'isAccessibilityPlatform','iTWJg':_0x2fc114(0xc1),'HURdE':_0x2fc114(0x98),'TIqyq':_0x2fc114(0x14f),'zTQaR':'Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','hseos':function(_0x4f3c36){return _0x4f3c36();},'qzAfS':'Inside\x20browserstack\x20After'};logger[_0x2fc114(0xa7)](_0x254037[_0x2fc114(0x10f)]),workerDetails['currentTest'][_0x2fc114(0xc0)]=_0x160a48,new Promise(async _0x1ac93f=>{const _0x54ff0c=_0x2fc114;let _0x12272b=![],_0x1618d1=![],_0x16a4ef=![];try{global[_0x54ff0c(0x97)]&&_0x254037['zSnBZ'](global['__drivers']['length'],0x0)&&(_0x1618d1=!![]),playwrightPatcher&&global[_0x54ff0c(0x136)]&&global[_0x54ff0c(0x136)]['pwPage']&&(_0x16a4ef=!![],logger[_0x54ff0c(0xa7)](_0x54ff0c(0x129)+!!global[_0x54ff0c(0x136)][_0x54ff0c(0xf1)]));}catch(_0x2a1a46){logger['debug']('Error\x20determining\x20test\x20flow:\x20'+_0x2a1a46);}logger['debug'](_0x54ff0c(0xb2)+_0x1618d1+',\x20isPlaywrightFlow='+_0x16a4ef);const _0x5cab67=_0x160a48['result'][_0x54ff0c(0x106)][_0x54ff0c(0x148)]()['toLowerCase'](),_0x46a524=_0x254037[_0x54ff0c(0xed)](_0x5cab67,_0x254037['vIZUu'])||_0x254037['fnVjm'](_0x5cab67,'6'),_0x11741f=_0x46a524?_0x160a48[_0x54ff0c(0xee)][_0x54ff0c(0x9f)]:null;if(_0x46a524)try{global[_0x54ff0c(0x141)][_0x54ff0c(0x9d)](_0x160a48[_0x54ff0c(0xee)][_0x54ff0c(0x9f)]),global['__sessionFailed']=!![];}catch(_0x4a760c){logger['debug'](_0x54ff0c(0x11d)+_0x4a760c);}if(_0x1618d1)try{global[_0x54ff0c(0x97)]&&_0x254037[_0x54ff0c(0x147)](global[_0x54ff0c(0x97)][_0x54ff0c(0x121)],0x1)&&(await global['driverCleanup'](),global[_0x54ff0c(0x97)][_0x54ff0c(0xbe)](),global[_0x54ff0c(0x141)]=[],global[_0x54ff0c(0x14a)]=![]),global[_0x54ff0c(0x97)]&&global[_0x54ff0c(0x97)][0x0]&&(await global['__drivers'][0x0][_0x54ff0c(0xfe)],_0x12272b=!![],!global[_0x54ff0c(0xbb)]&&await global[_0x54ff0c(0x97)][0x0][_0x54ff0c(0x146)](_0x54ff0c(0x159)+_0x160a48['pickle'][_0x54ff0c(0x10a)]+_0x54ff0c(0x13d)),_0x46a524?await _0x254037[_0x54ff0c(0xeb)](markSessionStatus,global[_0x54ff0c(0x97)][0x0],_0x254037[_0x54ff0c(0x125)],global[_0x54ff0c(0x141)]['join'](_0x254037[_0x54ff0c(0x117)])):await _0x254037['VcjjL'](markSessionStatus,global['__drivers'][0x0],_0x254037['ALZVC']));}catch(_0x3c5288){logger[_0x54ff0c(0xa7)](_0x54ff0c(0xab)+util[_0x54ff0c(0x105)](_0x3c5288));}if(_0x16a4ef)try{const _0x56215c=_0x46a524?_0x254037['vIZUu']:_0x254037[_0x54ff0c(0x138)];await playwrightPatcher[_0x54ff0c(0x162)](_0x160a48,_0x56215c,_0x11741f),logger[_0x54ff0c(0xa7)](_0x254037['CoBuc']);}catch(_0x43f7f4){logger[_0x54ff0c(0xa7)]('Error:\x20at\x20After\x20(Playwright):\x20'+util[_0x54ff0c(0x105)](_0x43f7f4));try{playwrightPatcher[_0x54ff0c(0x10c)]&&(await playwrightPatcher[_0x54ff0c(0x10c)](),logger[_0x54ff0c(0xa7)](_0x254037['Ucdmj']));}catch(_0xf48089){logger[_0x54ff0c(0xa7)]('Error\x20executing\x20fallback\x20deferred\x20closes:\x20'+util[_0x54ff0c(0x105)](_0xf48089));}}try{if(_0x254037['ngXtc'](shouldProcessEventForTesthub)){const _0x4c0138=TestDetails[_0x54ff0c(0x139)](_0x160a48[_0x54ff0c(0x12c)]);let _0x595ffe=null;global[_0x54ff0c(0x97)]&&global[_0x54ff0c(0x97)][0x0]&&(_0x595ffe=await _0x254037['VTKIz'](sendPlatformDetails,global[_0x54ff0c(0x97)][0x0],_0x4c0138,!![]));const _0x31e717={};_0x31e717[_0x54ff0c(0xa2)]=_0x4c0138,_0x31e717[_0x54ff0c(0x156)]=_0x595ffe;const _0x58401d=_0x31e717,_0x282ebb={};_0x282ebb[_0x54ff0c(0x102)]=_0x254037[_0x54ff0c(0x104)],_0x282ebb['test_run']=_0x58401d,await SessionHandler[_0x54ff0c(0x15c)](_0x282ebb);}}catch(_0x24585e){logger[_0x54ff0c(0xa7)](_0x54ff0c(0x167)+util[_0x54ff0c(0x105)](_0x24585e));}try{if(globals[_0x54ff0c(0xb9)](_0x254037[_0x54ff0c(0x109)])&&globals['getGlobal'](_0x254037['iTWJg'])){logger[_0x54ff0c(0x144)](_0x254037['HURdE']);const _0x1b218f=TestDetails[_0x54ff0c(0x139)](_0x160a48[_0x54ff0c(0x12c)]),_0x122457={};_0x122457['thTestRunUuid']=_0x1b218f,_0x122457['thBuildUuid']=process[_0x54ff0c(0xcb)][testHubConstants[_0x54ff0c(0xe3)][_0x54ff0c(0xe9)]],_0x122457[_0x54ff0c(0xb7)]=process[_0x54ff0c(0xcb)][testHubConstants[_0x54ff0c(0xe3)][_0x54ff0c(0x14b)]];const _0x18fb21=_0x122457;logger['debug'](_0x54ff0c(0xdc)+JSON[_0x54ff0c(0x131)](_0x18fb21)),logger['debug'](_0x254037[_0x54ff0c(0x12e)]),global['__drivers']&&global['__drivers'][0x0]&&(logger[_0x54ff0c(0xa7)](util[_0x54ff0c(0x105)](await global[_0x54ff0c(0x97)][0x0][_0x54ff0c(0xcc)](scripts[_0x54ff0c(0x118)],{'method':global['browserstackSessionName']}))),await global[_0x54ff0c(0x97)][0x0][_0x54ff0c(0xcc)](scripts[_0x54ff0c(0x9c)],_0x18fb21)),logger[_0x54ff0c(0x144)](_0x254037['zTQaR']);}}catch(_0x35f309){logger[_0x54ff0c(0x122)](_0x54ff0c(0xaf)+util['format']);}if(_0x12272b)try{global[_0x54ff0c(0x97)][0x0]&&_0x254037[_0x54ff0c(0x115)](global['__drivers'][0x0][_0x54ff0c(0xfb)],0x0)&&await global[_0x54ff0c(0x97)][0x0][_0x54ff0c(0xf9)]();}catch(_0x295f41){logger['debug'](_0x54ff0c(0x126)+_0x295f41);}_0x254037['hseos'](_0x1ac93f);})[_0x2fc114(0x13b)](()=>_0x11f8a3());});const a11_0x4dff7d={};a11_0x4dff7d[a11_0x39ae95(0x10a)]=a11_0x39ae95(0xbc),a11_0x4dff7d[a11_0x39ae95(0x164)]=TEST_FRAMEWORK_HOOK_TIMEOUT[a11_0x39ae95(0x120)],AfterStep(a11_0x4dff7d,function(_0x2d60ee,_0x31e95b){const _0x566f99=a11_0x39ae95,_0x128dcf={'UfWaI':function(_0x7974e8,_0x2e9476){return _0x7974e8===_0x2e9476;},'ffqxj':_0x566f99(0x13c),'YRqHs':function(_0x595381,_0x1d4bca){return _0x595381===_0x1d4bca;},'HzqFU':function(_0x39ec6c,_0x2de0f4){return _0x39ec6c!==_0x2de0f4;},'WUvEM':function(_0x208c40,_0x23e686,_0x29b395){return _0x208c40(_0x23e686,_0x29b395);},'iiOlI':function(_0x1b374e,_0x54b5a7){return _0x1b374e+_0x54b5a7;},'bpskt':function(_0x45ee93,_0x3dea90){return _0x45ee93+_0x3dea90;},'osbOk':function(_0x4c3fea,_0x422e6b){return _0x4c3fea+_0x422e6b;},'XQsCh':'Failed:\x20','HweKZ':'\x0aError:\x20','ihdHx':_0x566f99(0x122),'FdOoE':function(_0x5d1e49,_0x2d37b6){return _0x5d1e49+_0x2d37b6;},'PPcHf':function(_0x1b82fe,_0x7c66a0,_0xb8cf3a){return _0x1b82fe(_0x7c66a0,_0xb8cf3a);},'qzYct':function(_0x2bc2a5,_0x554402){return _0x2bc2a5+_0x554402;},'QaERP':_0x566f99(0x108),'nkqjP':'info','LuCQD':function(_0x5499ee,_0x118d6a,_0x427343){return _0x5499ee(_0x118d6a,_0x427343);},'ZGIMj':'Passed','fkuzr':function(_0xce4b53){return _0xce4b53();},'BaXdK':'Inside\x20browserstack\x20AfterStep'};logger[_0x566f99(0xa7)](_0x128dcf[_0x566f99(0x11a)]);const _0x504e80=async(_0x34e123,_0x3d227b)=>{const _0x56892d=_0x566f99;global[_0x56892d(0x97)]&&global[_0x56892d(0x97)][0x0]&&await global['__drivers'][0x0][_0x56892d(0x146)](_0x56892d(0xc3)+_0x34e123+_0x56892d(0xc8)+_0x3d227b+_0x56892d(0x13d));};new Promise(async _0x2d997b=>{const _0x1699ba=_0x566f99;try{_0x128dcf[_0x1699ba(0x143)](_0x2d60ee[_0x1699ba(0xee)]['status'][_0x1699ba(0x148)]()[_0x1699ba(0x101)](),_0x128dcf[_0x1699ba(0xb6)])||_0x128dcf[_0x1699ba(0x150)](_0x2d60ee['result'][_0x1699ba(0x106)][_0x1699ba(0x148)]()[_0x1699ba(0x101)](),'6')?(global[_0x1699ba(0x14a)]=!![],global[_0x1699ba(0x141)]['push'](_0x2d60ee[_0x1699ba(0xee)]['message']),_0x128dcf[_0x1699ba(0xd7)](_0x2d60ee['pickleStep'],undefined)?await _0x128dcf[_0x1699ba(0x100)](_0x504e80,JSON['stringify'](_0x128dcf[_0x1699ba(0xd8)](_0x128dcf[_0x1699ba(0xff)](_0x128dcf[_0x1699ba(0x11b)](_0x128dcf['XQsCh'],'\x22'+_0x2d60ee[_0x1699ba(0x145)][_0x1699ba(0x15a)]+'\x22\x20'),_0x128dcf[_0x1699ba(0xce)]),_0x2d60ee['result'][_0x1699ba(0x9f)])),_0x128dcf[_0x1699ba(0x114)]):await _0x128dcf[_0x1699ba(0x100)](_0x504e80,JSON[_0x1699ba(0x131)](_0x128dcf[_0x1699ba(0x16c)](_0x128dcf[_0x1699ba(0xd4)],_0x2d60ee[_0x1699ba(0xee)][_0x1699ba(0x9f)])),_0x128dcf['ihdHx'])):_0x128dcf[_0x1699ba(0xd7)](_0x2d60ee[_0x1699ba(0x145)],undefined)?await _0x128dcf['PPcHf'](_0x504e80,JSON[_0x1699ba(0x131)](_0x128dcf[_0x1699ba(0xd5)](_0x128dcf['QaERP'],'\x22'+_0x2d60ee['pickleStep'][_0x1699ba(0x15a)]+'\x22')),_0x128dcf['nkqjP']):await _0x128dcf['LuCQD'](_0x504e80,JSON[_0x1699ba(0x131)](_0x128dcf[_0x1699ba(0xaa)]),_0x128dcf[_0x1699ba(0x14e)]),global[_0x1699ba(0x97)]&&global[_0x1699ba(0x97)][0x0]&&global[_0x1699ba(0x97)][0x0][_0x1699ba(0xfe)][_0x1699ba(0xae)](_0x23fad5=>{})[_0x1699ba(0xe7)](_0x1c0f8b=>{const _0x4af04d=_0x1699ba;logger[_0x4af04d(0xa7)]('Error:\x20in\x20After\x20Step\x20for\x20driver\x20'+util[_0x4af04d(0x105)](_0x1c0f8b));});}catch(_0x198bab){logger[_0x1699ba(0xa7)](_0x1699ba(0xa5)+_0x198bab);}_0x128dcf[_0x1699ba(0x142)](_0x2d997b);})[_0x566f99(0x13b)](()=>_0x31e95b());});const a11_0x2755f1={};function a11_0x52eb(){const _0x33a7fd=['JxuPg','../../helpers/accessibility-automation/helper','catch','CbHES','BROWSERSTACK_TESTHUB_UUID','winstonLogger','RHFyx','cucumber-js','tzaEQ','result','bootstrap','Exception\x20in\x20setting\x20bstackA11yShouldScan\x20in\x20Before\x20Scenario\x20','pwPage','skipSessionName','../../index','../../helpers/test-observability/utils','IDOGN','../../helpers/performance/performance-tester','2751026qGCsJt','workerInfo','initQuit','getInstance','quitCount_','Playwright\x20patching\x20initialized\x20for\x20Cucumber-JS','lADjP','session_','bpskt','WUvEM','toLowerCase','event_type','../../helpers/setKeepAlive','nazAf','format','status','NSsWr','Passed:\x20','oKwty','name','iTGsR','executeDeferredCloses','setTestNameForHealingContext','map','qzAfS','Inside\x20browserstack\x20Before','../playwright/reporter/reporter.js','platformCaps','Inside\x20browserstack\x20registerListeners','ihdHx','zSnBZ','browserstackAgentV2','coVUH','performScan','setFrameworkDetail','BaXdK','osbOk','../../helpers/testhub/utils','Error:\x20adding\x20scenario\x20error\x20at\x20After:\x20','Error\x20in\x20playwright\x20beforeTestHook:\x20','3MTeBZi','Cucumber-JS','length','error','../../helpers/testhub/constants.js','passed','vIZUu','Error:\x20quiting\x20driver\x20at\x20After:\x20','Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20','Inside\x20browserstack\x20AfterAll','Playwright\x20flow\x20detected\x20-\x20page\x20exists:\x20','beforeTestHook','Performing\x20Playwright\x20Patching','testCaseStartedId','__skipSessionStatus','TIqyq','Completed\x20Playwright\x20afterTestHook\x20execution','CBTSessionCreated','stringify','getId','parse','bs:addLog:','sdnng','__workerDetails','isPageFixture','ALZVC','getTestUUID','@playwright/test','finally','failed','\x22}}','484641cGhRFR','146811QkROek','tags','__error_messages__','fkuzr','UfWaI','info','pickleStep','executeScript','GbaMY','toString','32597780BEgBAS','__sessionFailed','BROWSERSTACK_TESTHUB_JWT','RfMSe','nQnav','nkqjP','Performing\x20scan\x20before\x20saving\x20results','YRqHs','../../helpers/test-observability/requestQueueHandler','Error:\x20quiting\x20driver\x20at\x20driver\x20cleanup:\x20','7873740RqzDoJ','IGdrr','CUCUMBER','integrations','dNwYG','qbIQg','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20\x22','text','Error:\x20cleaning\x20up\x20driver:\x20','uploadEventData','rfUyK','split','../../helpers/test-observability/error-handler','BeforeAll','./playwright-patcher','afterTestHook','removeAllListeners','timeout','shutdown','pickle','Error:\x20sendPlatformDetails\x20at\x20After:\x20','ReTyP','setDefaultTimeout','AfterStep','pid','FdOoE','xejHy','__drivers','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','../utils/constants','../../helpers/logger','cleanup','saveTestResults','push','qHiiO','message','FyvkC','3924488vLEZAi','uuid','CONFIG','__platformCaps','Error:\x20at\x20After\x20Step:\x20','fPikH','debug','startMonitoring','Executed\x20fallback\x20deferred\x20Playwright\x20closes\x20after\x20error','ZGIMj','Error:\x20at\x20After\x20(Selenium):\x20','util','iXjjX','then','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case.\x20Error\x20:\x20','setGlobal','NBBvK','Flow\x20detection:\x20isSeleniumFlow=','1298683yCjuUp','../../helpers/accessibility-automation/scripts','Bootstrapping\x20BrowserstackCLI\x20for\x20cucumber-js\x20worker\x20process','ffqxj','thJwtToken','stopMonitoring','getGlobal','closeTracker','__skipSessionName','bstack','addTestUIDAndReportLog','shift','8XBhjBy','testInfo','bstackA11yShouldScan','skipSessionStatus','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','../../helpers/helper','zRBvV','lodash','currentTest',',\x22level\x22:\x20\x22','driverCleanup','AfterAll','env','executeAsyncScript','__timeout','HweKZ','isCliEnabled','../playwright/reporter/test-details.js','../../helpers/ai-sdk/autoHealHelper','Error\x20initializing\x20Playwright\x20patching:\x20','initializePlaywrightPatching','XQsCh','qzYct','UHvsS','HzqFU','iiOlI','2|1|3|4|0','\x20|\x20','Cleaned\x20up\x20Playwright\x20close\x20tracker','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','../../helpers/test-observability/sessionHandler','24hJZQqg','getPackageVersion','setConfig','After','Error\x20setting\x20up\x20BrowserstackCLI\x20bootstrap:\x20','ENV_VAR','Inside\x20browserstack\x20BeforeAll'];a11_0x52eb=function(){return _0x33a7fd;};return a11_0x52eb();}a11_0x2755f1['name']=a11_0x39ae95(0xbc),a11_0x2755f1[a11_0x39ae95(0x164)]=TEST_FRAMEWORK_HOOK_TIMEOUT[a11_0x39ae95(0x120)],AfterAll(a11_0x2755f1,async function(_0x5745d1,_0x59e40a){const _0x36ff49=a11_0x39ae95,_0x569ce7={'IDOGN':_0x36ff49(0xd9),'ehckS':function(_0x9d2c9b){return _0x9d2c9b();},'fPikH':_0x36ff49(0xdb),'dNwYG':_0x36ff49(0x128)};logger[_0x36ff49(0xa7)](_0x569ce7[_0x36ff49(0x157)]),await new Promise(async _0x2f7c80=>{const _0x104aa0=_0x36ff49,_0xb1fe2f=_0x569ce7[_0x104aa0(0xf5)][_0x104aa0(0x15e)]('|');let _0x3c120f=0x0;while(!![]){switch(_0xb1fe2f[_0x3c120f++]){case'0':_0x569ce7['ehckS'](_0x2f7c80);continue;case'1':PerformanceTester[_0x104aa0(0xb8)]();continue;case'2':await RequestQueueHandler['getInstance']()[_0x104aa0(0x165)]();continue;case'3':try{playwrightPatcher&&playwrightPatcher[_0x104aa0(0x10c)]&&(await playwrightPatcher[_0x104aa0(0x10c)](),playwrightPatcher[_0x104aa0(0xba)]&&playwrightPatcher[_0x104aa0(0xba)][_0x104aa0(0x9b)](),logger['debug'](_0x569ce7[_0x104aa0(0xa6)]));}catch(_0x5a679c){logger['debug']('Error\x20cleaning\x20up\x20Playwright\x20close\x20tracker:\x20'+util[_0x104aa0(0x105)](_0x5a679c));}continue;case'4':await global[_0x104aa0(0xc9)]();continue;}break;}});});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const a12_0x5d23ca=a12_0x5f3c;(function(_0x478790,_0x530721){const _0x5f0db4=a12_0x5f3c,_0x5606c1=_0x478790();while(!![]){try{const _0x2d9ec4=-parseInt(_0x5f0db4(0x13a))/0x1+parseInt(_0x5f0db4(0x126))/0x2+-parseInt(_0x5f0db4(0x154))/0x3+-parseInt(_0x5f0db4(0x133))/0x4+-parseInt(_0x5f0db4(0x12c))/0x5*(parseInt(_0x5f0db4(0x14c))/0x6)+parseInt(_0x5f0db4(0x128))/0x7+parseInt(_0x5f0db4(0x137))/0x8;if(_0x2d9ec4===_0x530721)break;else _0x5606c1['push'](_0x5606c1['shift']());}catch(_0x5d965c){_0x5606c1['push'](_0x5606c1['shift']());}}}(a12_0x5428,0xed7e8));function a12_0x5f3c(_0x23a41d,_0x450339){const _0x5428e8=a12_0x5428();return a12_0x5f3c=function(_0x5f3cdb,_0x492324){_0x5f3cdb=_0x5f3cdb-0x126;let _0xedb99d=_0x5428e8[_0x5f3cdb];return _0xedb99d;},a12_0x5f3c(_0x23a41d,_0x450339);}function a12_0x5428(){const _0x4bc1ed=['\x20|\x20','initQuit','result','kKgJW','Error:\x20quiting\x20at\x20After:\x20','5027624ZeDTER','env','winstonLogger','failed','29386408mBNhPo','status','ZqHqi','1356245fUXwUQ','__skipSessionName','__platformCaps','pickle','__error_messages__','LEfdu','__driver','../../helpers/helper','bstack','cucumber','__timeout','parse','__skipSessionStatus','../../helpers/setKeepAlive','debug','\x22}}','browserstackAgentV2','CONFIG','6PRplsu','QXkMz','FxwZl','MOFsJ','pDqQr','After','Error:\x20setting\x20status\x20at\x20After:\x20','CDbUS','1623519PpKHcO','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20\x22','Inside\x20browserstack\x20Before','name','Inside\x20browserstack\x20After','UQUXk','cucumber/lib/index.js','Before','passed','1369224SwKUPM','join','8026767uGypZP','then','yKedt','session_','6887470ngNyJx','setDefaultTimeout'];a12_0x5428=function(){return _0x4bc1ed;};return a12_0x5428();}const {requireModule,modifyCommand,isTrue,markSessionStatus}=require(a12_0x5d23ca(0x141)),setKeepAlive=require(a12_0x5d23ca(0x147)),cucumberModule=requireModule(a12_0x5d23ca(0x15a),a12_0x5d23ca(0x143)),logger=require('../../helpers/logger')[a12_0x5d23ca(0x135)];modifyCommand(),setKeepAlive();const Before=cucumberModule[a12_0x5d23ca(0x15b)],After=cucumberModule[a12_0x5d23ca(0x151)],configuration=process[a12_0x5d23ca(0x134)][a12_0x5d23ca(0x14b)];if(configuration!==undefined){const config=JSON[a12_0x5d23ca(0x145)](configuration);isTrue(config['skipSessionName'])&&(global['__skipSessionName']=!![]),global[a12_0x5d23ca(0x146)]=isTrue(config['skipSessionStatus']),require('../../index')[a12_0x5d23ca(0x14a)](config),global[a12_0x5d23ca(0x13c)]=config['platformCaps']||{};}global[a12_0x5d23ca(0x144)]=0x0;const __setDefaultTimeout=cucumberModule[a12_0x5d23ca(0x12d)];cucumberModule[a12_0x5d23ca(0x12d)]=_0x52cfc0=>{const _0x379d29=a12_0x5d23ca,_0x1b5a01={'dFpOc':function(_0x29b4a0,_0x3c1498){return _0x29b4a0(_0x3c1498);}};global[_0x379d29(0x144)]=_0x52cfc0,_0x1b5a01['dFpOc'](__setDefaultTimeout,_0x52cfc0);};const a12_0x367942={};a12_0x367942[a12_0x5d23ca(0x157)]='bstack',Before(a12_0x367942,function(){const _0x4f784=a12_0x5d23ca,_0x992d05={};_0x992d05[_0x4f784(0x12a)]=_0x4f784(0x156);const _0x3a84d5=_0x992d05;logger['debug'](_0x3a84d5[_0x4f784(0x12a)]),global[_0x4f784(0x13e)]=[];});const a12_0x32c4b1={};a12_0x32c4b1[a12_0x5d23ca(0x157)]=a12_0x5d23ca(0x142),a12_0x32c4b1['timeout']=0x2710,After(a12_0x32c4b1,function(_0x3fe5fa,_0x4fed26){const _0x16f550=a12_0x5d23ca,_0x3ab2b6={'MOFsJ':function(_0x9b81ad,_0x289bc8){return _0x9b81ad===_0x289bc8;},'pDqQr':_0x16f550(0x136),'CDbUS':function(_0x31ae0d,_0x2e5fc2,_0x4833f7,_0x8ba1e5){return _0x31ae0d(_0x2e5fc2,_0x4833f7,_0x8ba1e5);},'TBuxI':_0x16f550(0x12e),'UQUXk':function(_0x2a2d91,_0x3f7342,_0x453a40){return _0x2a2d91(_0x3f7342,_0x453a40);},'QXkMz':_0x16f550(0x15c),'kKgJW':function(_0x1702f4){return _0x1702f4();},'FxwZl':function(_0x4ff830,_0x56c038){return _0x4ff830(_0x56c038);},'LEfdu':function(_0x3fb24f){return _0x3fb24f();},'ZqHqi':_0x16f550(0x158)};logger[_0x16f550(0x148)](_0x3ab2b6[_0x16f550(0x139)]),new Promise(async(_0x5c0e1b,_0x4b5d5a)=>{const _0x48d22a=_0x16f550;let _0x34da5f=![];try{await global['__driver'][_0x48d22a(0x12b)],_0x34da5f=!![],!global[_0x48d22a(0x13b)]&&await global['__driver']['executeScript'](_0x48d22a(0x155)+_0x3fe5fa[_0x48d22a(0x13d)]['name']+_0x48d22a(0x149)),_0x3ab2b6[_0x48d22a(0x14f)](_0x3fe5fa[_0x48d22a(0x130)][_0x48d22a(0x138)]['toLowerCase'](),_0x3ab2b6[_0x48d22a(0x150)])?await _0x3ab2b6[_0x48d22a(0x153)](markSessionStatus,global[_0x48d22a(0x140)],_0x3ab2b6[_0x48d22a(0x150)],global[_0x48d22a(0x13e)][_0x48d22a(0x127)](_0x3ab2b6['TBuxI'])):await _0x3ab2b6[_0x48d22a(0x159)](markSessionStatus,global[_0x48d22a(0x140)],_0x3ab2b6[_0x48d22a(0x14d)]);}catch(_0x34c3f3){logger[_0x48d22a(0x148)](_0x48d22a(0x152)+_0x34c3f3);}if(_0x34da5f)try{await global[_0x48d22a(0x140)][_0x48d22a(0x12f)](),_0x3ab2b6[_0x48d22a(0x131)](_0x5c0e1b);}catch(_0x3d9282){logger[_0x48d22a(0x148)](_0x48d22a(0x132)+_0x3d9282),_0x3ab2b6[_0x48d22a(0x14e)](_0x4b5d5a,_0x3d9282);}else _0x3ab2b6[_0x48d22a(0x13f)](_0x4b5d5a);})[_0x16f550(0x129)](()=>_0x4fed26());});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a13_0x4a4660=a13_0x1203;function a13_0x4ae6(){const _0x2e5f10=['cucumber/lib/index.js','../utils/constants','374532lRoDCG','__timeout','417550WxsIFO','732977kFQDvi','@cucumber/cucumber/lib/index.js','../../helpers/helper','8hbVcOP','18KoXQND','1035288JoxTYA','BSTACK_DELTA','949164xEQudC','1aTUQvL','734500sOnwFE','237718dzDHQF'];a13_0x4ae6=function(){return _0x2e5f10;};return a13_0x4ae6();}(function(_0x224d3b,_0x5d3837){const _0x56591b=a13_0x1203,_0x5aee2c=_0x224d3b();while(!![]){try{const _0x32c522=-parseInt(_0x56591b(0xf1))/0x1*(parseInt(_0x56591b(0xf3))/0x2)+-parseInt(_0x56591b(0xe6))/0x3+parseInt(_0x56591b(0xee))/0x4+parseInt(_0x56591b(0xf2))/0x5+parseInt(_0x56591b(0xf0))/0x6+-parseInt(_0x56591b(0xe9))/0x7*(-parseInt(_0x56591b(0xec))/0x8)+parseInt(_0x56591b(0xed))/0x9*(-parseInt(_0x56591b(0xe8))/0xa);if(_0x32c522===_0x5d3837)break;else _0x5aee2c['push'](_0x5aee2c['shift']());}catch(_0x4587f3){_0x5aee2c['push'](_0x5aee2c['shift']());}}}(a13_0x4ae6,0x535a6));function a13_0x1203(_0x3df606,_0x358659){const _0x4ae6fe=a13_0x4ae6();return a13_0x1203=function(_0x120391,_0x3a4d23){_0x120391=_0x120391-0xe4;let _0x129c69=_0x4ae6fe[_0x120391];return _0x129c69;},a13_0x1203(_0x3df606,_0x358659);}const {requireModule}=require(a13_0x4a4660(0xeb)),constants=require(a13_0x4a4660(0xe5));;let cucumberModule=null;try{cucumberModule=requireModule(a13_0x4a4660(0xea),'@cucumber/cucumber');}catch(a13_0x3ed56f){cucumberModule=requireModule(a13_0x4a4660(0xe4),'cucumber');}cucumberModule['setDefaultTimeout'](constants[a13_0x4a4660(0xef)]+global[a13_0x4a4660(0xe7)]*0x1);
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const
|
|
2
|
+
'use strict';const a14_0x58784f=a14_0x23c1;(function(_0x209e7a,_0x53d21f){const _0x32196d=a14_0x23c1,_0x336b96=_0x209e7a();while(!![]){try{const _0x4e321a=-parseInt(_0x32196d(0x1df))/0x1*(-parseInt(_0x32196d(0x214))/0x2)+parseInt(_0x32196d(0x1d5))/0x3+parseInt(_0x32196d(0x1cd))/0x4*(-parseInt(_0x32196d(0x204))/0x5)+-parseInt(_0x32196d(0x1d3))/0x6*(parseInt(_0x32196d(0x1e6))/0x7)+parseInt(_0x32196d(0x1d2))/0x8*(parseInt(_0x32196d(0x1e0))/0x9)+parseInt(_0x32196d(0x208))/0xa*(parseInt(_0x32196d(0x1d8))/0xb)+-parseInt(_0x32196d(0x1e1))/0xc*(parseInt(_0x32196d(0x20b))/0xd);if(_0x4e321a===_0x53d21f)break;else _0x336b96['push'](_0x336b96['shift']());}catch(_0x521efd){_0x336b96['push'](_0x336b96['shift']());}}}(a14_0x28f1,0x6348e));function a14_0x23c1(_0x4b515e,_0x29beb6){const _0x28f1a2=a14_0x28f1();return a14_0x23c1=function(_0x23c117,_0x37ae6c){_0x23c117=_0x23c117-0x1cc;let _0x8e37ba=_0x28f1a2[_0x23c117];return _0x8e37ba;},a14_0x23c1(_0x4b515e,_0x29beb6);}function a14_0x28f1(){const _0x458c82=['jrciY','BrowserStack\x20access\x20key\x20missing.','../../helpers/helper','undefined','1436012zskoWC','demandOption','VVIOK','map','setupBrowserstackLocal','4EupPJa','mGcJn','qRJff','npJhM','https','40vQgOwR','45030qktEHJ','every','847443RoCZAO','bstackAccesskey','../../helpers/BrowserStackSetup','11MdTlBR','Connection\x20established\x20successfully.','443','WCKMD','string','bstack-accesskey','./constants','1shVIzQ','960327UlhYjf','264xCzbzv','mKqSY','command','setProxySettings','trim','49XtvOCN','QOLtd','toString','split','browserStackLocalOptions','port','browserstackLocal','missing','EBrxH','exports','connect','fRwoD','config','integrations','hosts','type','help','PsVzr','localIdentifier','Hosts\x20not\x20valid','../../helpers/logger','describe','options','AhBIY','error','root','protocol','footer','bstackAccessKey','epilogue','82165WjsMhl','accessKey','invalid','XNaYm','5817580GnDppz','only','replace','969163WLaPEU','info','YJiwZ','ieNsW','QqVEj'];a14_0x28f1=function(){return _0x458c82;};return a14_0x28f1();}const {default:BrowserStackSetup}=require(a14_0x58784f(0x1d7)),logger=require(a14_0x58784f(0x1fa))['winstonLogger'],{URL}=require('url'),helper=require(a14_0x58784f(0x212)),{HELP_MESSAGES,ERROR_MESSAGES}=require(a14_0x58784f(0x1de)),validHosts=function(_0x31076d){const _0x2c0c8b=a14_0x58784f;return _0x31076d[_0x2c0c8b(0x1e9)](',')[_0x2c0c8b(0x1d4)](_0x4eee1c=>{const _0x3bf1a4=_0x2c0c8b;try{new URL(_0x4eee1c[_0x3bf1a4(0x1e5)]());}catch(_0x26f5d1){return![];}return!![];});},parseOnPremHosts=function(_0x3468ac){const _0x384e93=a14_0x58784f,_0x2fd7dc={};_0x2fd7dc[_0x384e93(0x210)]=function(_0x4fccb8,_0x4cf1f9){return _0x4fccb8===_0x4cf1f9;},_0x2fd7dc[_0x384e93(0x1e2)]='https:',_0x2fd7dc[_0x384e93(0x1ce)]=_0x384e93(0x1da),_0x2fd7dc[_0x384e93(0x216)]=function(_0x2d3e83,_0x46be66){return _0x2d3e83===_0x46be66;},_0x2fd7dc['qRJff']=_0x384e93(0x1d1);const _0x3bc63e=_0x2fd7dc;return _0x3468ac['split'](',')[_0x384e93(0x217)](_0x47b240=>{const _0x48e1ad=_0x384e93,_0x6a314d=new URL(_0x47b240[_0x48e1ad(0x1e5)]()),_0x5a6ff9=_0x6a314d['hostname'],_0xfff65d=_0x6a314d[_0x48e1ad(0x1eb)]||(_0x3bc63e[_0x48e1ad(0x210)](_0x6a314d[_0x48e1ad(0x200)],_0x3bc63e['mKqSY'])?_0x3bc63e[_0x48e1ad(0x1ce)]:'80'),_0x3c10d8=_0x6a314d['protocol'][_0x48e1ad(0x20a)](':',''),_0x3dbe5b=_0x3bc63e[_0x48e1ad(0x216)](_0x3c10d8,_0x3bc63e[_0x48e1ad(0x1cf)])?0x1:0x0;return _0x5a6ff9+','+_0xfff65d+','+_0x3dbe5b;});},connectCommandBuilder=function(_0x515b30){const _0x75f77e=a14_0x58784f,_0xffff82={};_0xffff82[_0x75f77e(0x1db)]=_0x75f77e(0x1dc);const _0x5eaf68=_0xffff82,_0x54cd42={};_0x54cd42[_0x75f77e(0x1fb)]=HELP_MESSAGES[_0x75f77e(0x1fc)][_0x75f77e(0x202)],_0x54cd42[_0x75f77e(0x1f5)]=_0x5eaf68['WCKMD'];const _0x327a83={};_0x327a83['describe']=HELP_MESSAGES[_0x75f77e(0x1fc)]['hosts'],_0x327a83[_0x75f77e(0x1f5)]=_0x5eaf68[_0x75f77e(0x1db)],_0x327a83[_0x75f77e(0x215)]=!![];const _0x21a5eb={};return _0x21a5eb[_0x75f77e(0x1dd)]=_0x54cd42,_0x21a5eb[_0x75f77e(0x1f4)]=_0x327a83,_0x515b30['options'](_0x21a5eb);},connectCommandHandler=async function(_0x3a6d6e){const _0x59b00b=a14_0x58784f,_0x3d2530={'npJhM':_0x59b00b(0x1f3),'OeiID':function(_0x34aa96,_0x3a3451){return _0x34aa96===_0x3a3451;},'XNaYm':_0x59b00b(0x213),'QqVEj':_0x59b00b(0x211),'XMKbb':function(_0x367774,_0x45a280){return _0x367774===_0x45a280;},'PsVzr':'Integration\x20hosts\x20missing.','AhBIY':function(_0xcb6b1,_0x1f4bd8){return _0xcb6b1(_0x1f4bd8);},'EBrxH':_0x59b00b(0x1f9),'UMgFJ':function(_0xc0547,_0x1ffa02){return _0xc0547(_0x1ffa02);},'fRwoD':'integrations-repeater','QOLtd':_0x59b00b(0x1d9),'YJiwZ':'Failed\x20to\x20establish\x20connection.'};try{const _0x2b086d=new BrowserStackSetup(_0x3a6d6e,_0x3d2530[_0x59b00b(0x1d0)]);_0x3a6d6e['bstackAccesskey']&&(_0x2b086d[_0x59b00b(0x1f2)][_0x59b00b(0x205)]=_0x3a6d6e[_0x59b00b(0x1d6)]);if(_0x3d2530['OeiID'](typeof _0x2b086d[_0x59b00b(0x1f2)][_0x59b00b(0x205)],_0x3d2530[_0x59b00b(0x207)])){logger[_0x59b00b(0x1fe)](_0x3d2530[_0x59b00b(0x20f)]);throw new Error(ERROR_MESSAGES[_0x59b00b(0x202)][_0x59b00b(0x1ed)]);}const _0x3900fb=_0x3a6d6e[_0x59b00b(0x1f4)];if(_0x3d2530['XMKbb'](typeof _0x3900fb,_0x3d2530[_0x59b00b(0x207)])){logger[_0x59b00b(0x1fe)](_0x3d2530[_0x59b00b(0x1f7)]);throw new Error(ERROR_MESSAGES[_0x59b00b(0x1f4)][_0x59b00b(0x1ed)]);}if(!_0x3d2530[_0x59b00b(0x1fd)](validHosts,_0x3900fb)){logger[_0x59b00b(0x1fe)](_0x3d2530[_0x59b00b(0x1ee)]);throw new Error(ERROR_MESSAGES[_0x59b00b(0x1f4)][_0x59b00b(0x206)]);}const _0x44f98c=_0x3d2530['UMgFJ'](parseOnPremHosts,_0x3900fb);_0x2b086d['config'][_0x59b00b(0x1ec)]=!![],_0x2b086d[_0x59b00b(0x1f2)][_0x59b00b(0x1ea)][_0x59b00b(0x1f8)]=_0x3d2530[_0x59b00b(0x1f1)],_0x2b086d[_0x59b00b(0x1f2)][_0x59b00b(0x1ea)][_0x59b00b(0x209)]=_0x44f98c['join'](','),helper[_0x59b00b(0x1e4)](_0x2b086d[_0x59b00b(0x1f2)]),await _0x2b086d[_0x59b00b(0x1cc)](),logger[_0x59b00b(0x20c)](_0x3d2530[_0x59b00b(0x1e7)]);}catch(_0x2329eb){logger['error'](_0x3d2530[_0x59b00b(0x20d)]);throw new Error(_0x2329eb[_0x59b00b(0x1e8)]());}};function run(_0x382405){const _0x1534cd=a14_0x58784f,_0x5357b5={};_0x5357b5['ieNsW']=_0x1534cd(0x1f0),_0x5357b5['esSHg']=_0x1534cd(0x1f6);const _0x1c6522=_0x5357b5;_0x382405['usage'](HELP_MESSAGES['command'][_0x1534cd(0x1ff)])[_0x1534cd(0x1e3)](_0x1c6522[_0x1534cd(0x20e)],HELP_MESSAGES[_0x1534cd(0x1e3)]['connect'],connectCommandBuilder,connectCommandHandler)['demandCommand']()[_0x1534cd(0x1f6)](_0x1c6522['esSHg'])[_0x1534cd(0x203)](HELP_MESSAGES[_0x1534cd(0x1e3)][_0x1534cd(0x201)]);}module[a14_0x58784f(0x1ef)]=run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a15_0x24a300=a15_0x3cba;(function(_0x4f26ac,_0x3e46c9){var _0xe3a0df=a15_0x3cba,_0x55b638=_0x4f26ac();while(!![]){try{var _0x2a4bb4=parseInt(_0xe3a0df(0x90))/0x1+parseInt(_0xe3a0df(0xa8))/0x2*(-parseInt(_0xe3a0df(0x9e))/0x3)+-parseInt(_0xe3a0df(0x9f))/0x4+parseInt(_0xe3a0df(0xa1))/0x5*(parseInt(_0xe3a0df(0x97))/0x6)+-parseInt(_0xe3a0df(0xa5))/0x7+-parseInt(_0xe3a0df(0x98))/0x8+parseInt(_0xe3a0df(0x8f))/0x9*(parseInt(_0xe3a0df(0x93))/0xa);if(_0x2a4bb4===_0x3e46c9)break;else _0x55b638['push'](_0x55b638['shift']());}catch(_0x56cbfe){_0x55b638['push'](_0x55b638['shift']());}}}(a15_0x47b8,0xedb23));var a15_0x2f20b1={};a15_0x2f20b1['bstackAccessKey']=a15_0x24a300(0xa7),a15_0x2f20b1['hosts']=a15_0x24a300(0x94);var a15_0x1dd328={};a15_0x1dd328[a15_0x24a300(0x99)]='Integrate\x20BrowserStack\x20with\x20your\x20favorite\x20third-party\x20tools\x20for\x20faster\x20and\x20efficient\x20testing.',a15_0x1dd328[a15_0x24a300(0xa4)]=a15_0x24a300(0xa2),a15_0x1dd328[a15_0x24a300(0x96)]=a15_0x24a300(0xa6);function a15_0x3cba(_0x191a8e,_0x37da){var _0x47b8d2=a15_0x47b8();return a15_0x3cba=function(_0x3cba68,_0x45ea51){_0x3cba68=_0x3cba68-0x8f;var _0x19daf3=_0x47b8d2[_0x3cba68];return _0x19daf3;},a15_0x3cba(_0x191a8e,_0x37da);}var a15_0x2a3a54={};a15_0x2a3a54[a15_0x24a300(0x9b)]=a15_0x2f20b1,a15_0x2a3a54[a15_0x24a300(0xa0)]=a15_0x1dd328,exports[a15_0x24a300(0x95)]=a15_0x2a3a54;var a15_0x3a504c={};a15_0x3a504c[a15_0x24a300(0x92)]=a15_0x24a300(0x9c);function a15_0x47b8(){var _0x467d5b=['This\x20option\x20allows\x20you\x20to\x20provide\x20additional\x20configuration\x20specific\x20to\x20your\x20environment.\x20Specify\x20a\x20comma\x20separated\x20list\x20of\x20hosts\x20(eg:\x20http://your-jira.yourdomain.com:8080,..)\x20for\x20the\x20integration.','HELP_MESSAGES','footer','6HLyElL','2287496ScHPqB','root','invalid','options','BrowserStack\x20access\x20key\x20missing.\x20Specify\x20your\x20BrowserStack\x20access\x20key\x20for\x20authentication\x20with\x20our\x20services.','Integration\x20hosts\x20are\x20not\x20in\x20the\x20right\x20format.\x20Specify\x20a\x20comma\x20separated\x20list\x20of\x20hosts\x20(eg:\x20http://your-jira.yourdomain.com:8080,..)\x20for\x20the\x20integration.','39981piksKs','4709664WNGGPq','command','1805455mTjSOO','Connect\x20new\x20integration\x20from\x20a\x20list\x20of\x20supported\x20tools.','bstackAccessKey','connect','5215287SPJaiU','Use\x20\x22browserstack-cli\x20integrations\x20<command_group>\x20-h/--help\x22\x20for\x20additional\x20help\x20and\x20details\x20about\x20BrowserStack\x20integrations.','Specify\x20your\x20BrowserStack\x20access\x20key\x20for\x20authentication\x20with\x20our\x20services.','28WCoJfd','ERROR_MESSAGES','6291gJKzRn','1278158PKuWRj','Integration\x20hosts\x20missing.\x20Specify\x20a\x20comma\x20separated\x20list\x20of\x20hosts\x20(eg:\x20http://your-jira.yourdomain.com:8080,..)\x20for\x20the\x20integration.','missing','24740MWHcIN'];a15_0x47b8=function(){return _0x467d5b;};return a15_0x47b8();}var a15_0x4c9180={};a15_0x4c9180['missing']=a15_0x24a300(0x91),a15_0x4c9180[a15_0x24a300(0x9a)]=a15_0x24a300(0x9d);var a15_0x53bcf9={};a15_0x53bcf9[a15_0x24a300(0xa3)]=a15_0x3a504c,a15_0x53bcf9['hosts']=a15_0x4c9180,exports[a15_0x24a300(0xa9)]=a15_0x53bcf9;
|
package/src/bin/jest/command.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a16_0x1c2266=a16_0x316c;(function(_0x2ef187,_0x13940c){const _0x1fa088=a16_0x316c,_0x23ae12=_0x2ef187();while(!![]){try{const _0x422658=-parseInt(_0x1fa088(0x203))/0x1*(parseInt(_0x1fa088(0x193))/0x2)+parseInt(_0x1fa088(0x1a9))/0x3+parseInt(_0x1fa088(0x1e6))/0x4+parseInt(_0x1fa088(0x1d7))/0x5*(parseInt(_0x1fa088(0x1fd))/0x6)+-parseInt(_0x1fa088(0x1d0))/0x7*(parseInt(_0x1fa088(0x1bb))/0x8)+-parseInt(_0x1fa088(0x14c))/0x9+-parseInt(_0x1fa088(0x152))/0xa*(-parseInt(_0x1fa088(0x1d8))/0xb);if(_0x422658===_0x13940c)break;else _0x23ae12['push'](_0x23ae12['shift']());}catch(_0x483ca3){_0x23ae12['push'](_0x23ae12['shift']());}}}(a16_0x2cbb,0x373f1));function a16_0x316c(_0x464f2a,_0x21c408){const _0x2cbb57=a16_0x2cbb();return a16_0x316c=function(_0x316c91,_0x21e4d2){_0x316c91=_0x316c91-0x13c;let _0x24e88b=_0x2cbb57[_0x316c91];return _0x24e88b;},a16_0x316c(_0x464f2a,_0x21c408);}const fs=require('fs'),path=require(a16_0x1c2266(0x1fa)),util=require(a16_0x1c2266(0x149)),{spawn}=require(a16_0x1c2266(0x1d1)),logger=require(a16_0x1c2266(0x13d))[a16_0x1c2266(0x147)],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require('../../helpers/helper'),utilities=require(a16_0x1c2266(0x182)),constants=require(a16_0x1c2266(0x1f2)),accessibilityHelper=require('../../helpers/accessibility-automation/helper'),{updateTestRerunConfig}=require(a16_0x1c2266(0x1d2)),testOpsHelper=require('../../helpers/test-observability/utils'),{debug}=require(a16_0x1c2266(0x1d3)),TestDetails=require(a16_0x1c2266(0x201)),{getPercyOptions}=require('../../helpers/percy/utils'),TestHubHandler=require(a16_0x1c2266(0x1ab)),testhubUtils=require(a16_0x1c2266(0x1dc)),{FRAMEWORKS}=require(a16_0x1c2266(0x1ba)),PerformanceTester=require(a16_0x1c2266(0x14e)),PerformanceEvents=require(a16_0x1c2266(0x1f6))[a16_0x1c2266(0x187)],TestOrchestrationHandler=require(a16_0x1c2266(0x140)),getUserJestConfigs=async(_0x4e1a8b,_0x5c2c3d)=>{const _0x5f11c7=a16_0x1c2266,_0x510266={'RyFUd':'jest-config/build/readConfigFileAndSetRootDir.js','DrQsO':_0x5f11c7(0x1b6),'sFHyq':function(_0x4f2bae,_0x14e125){return _0x4f2bae||_0x14e125;},'wSzYQ':function(_0x34f7bd,_0x4afa46){return _0x34f7bd(_0x4afa46);},'rUirY':_0x5f11c7(0x1a5),'eTjYj':_0x5f11c7(0x191),'jyqVN':_0x5f11c7(0x1f0),'igehX':_0x5f11c7(0x1ec),'ZcoRc':_0x5f11c7(0x1b7)},_0x4233bf=helper[_0x5f11c7(0x19d)](_0x510266[_0x5f11c7(0x18f)],_0x510266[_0x5f11c7(0x1cc)]),_0x7ba0cb=_0x5c2c3d[_0x5f11c7(0x1c9)](_0x45769b=>_0x45769b===_0x5f11c7(0x15b));if(!helper[_0x5f11c7(0x206)](_0x4e1a8b[_0x5f11c7(0x15c)])){logger[_0x5f11c7(0x20b)](_0x5f11c7(0x1cd)+_0x4e1a8b[_0x5f11c7(0x15c)]),process['env']['USER_CONFIG_DETAILS_PATH']=_0x4e1a8b['config'];const _0x25dffd=await(0x0,_0x4233bf[_0x5f11c7(0x175)])(path[_0x5f11c7(0x153)](_0x4e1a8b[_0x5f11c7(0x15c)]));return _0x5c2c3d[_0x5f11c7(0x1e1)](_0x7ba0cb,0x2),_0x510266['sFHyq'](_0x25dffd,{});}const _0x45618f=_0x510266[_0x5f11c7(0x192)](require,path['join'](process[_0x5f11c7(0x197)](),_0x510266[_0x5f11c7(0x189)]));if(_0x45618f[_0x5f11c7(0x18e)])return logger[_0x5f11c7(0x20b)](_0x510266[_0x5f11c7(0x18c)]),_0x45618f[_0x5f11c7(0x18e)];const _0x82452a=['js',_0x510266['jyqVN'],_0x510266[_0x5f11c7(0x209)],_0x510266[_0x5f11c7(0x1f3)],'ts'];for(const _0x167f49 of _0x82452a){const _0x2a485a=path['join'](process[_0x5f11c7(0x197)](),_0x5f11c7(0x179)+_0x167f49);if(fs[_0x5f11c7(0x1a0)](_0x2a485a)){process[_0x5f11c7(0x1a6)][_0x5f11c7(0x1bf)]=_0x2a485a;const _0x4b5ff5=await(0x0,_0x4233bf['default'])(_0x2a485a);return _0x4b5ff5;}}return{};},getSerial=(_0x5e00d3,_0x5a61e3)=>{const _0x336a40=a16_0x1c2266,_0x2c68b0={};_0x2c68b0[_0x336a40(0x17e)]=_0x336a40(0x18a),_0x2c68b0['aLsiL']=function(_0x41498a,_0x581d5b){return _0x41498a>_0x581d5b;},_0x2c68b0[_0x336a40(0x165)]=function(_0x544e6a,_0x1323f9){return _0x544e6a>_0x1323f9;},_0x2c68b0[_0x336a40(0x194)]='false';const _0x258068=_0x2c68b0;let _0x429fff=_0x258068[_0x336a40(0x17e)];return _0x258068[_0x336a40(0x15f)](_0x5e00d3[_0x336a40(0x1c7)],0x1)&&(!_0x5a61e3[_0x336a40(0x143)]&&(helper['isUndefined'](_0x5a61e3['maxWorkers'])||_0x258068[_0x336a40(0x165)](_0x5a61e3[_0x336a40(0x18b)],0x1)))&&(_0x429fff=_0x258068[_0x336a40(0x194)]),_0x429fff;},getMaxWorkers=(_0xdcd88a,_0x442a57,_0x55fbf9)=>{const _0x39b48e=a16_0x1c2266,_0x39e4e2={'oORAh':function(_0x281c35,_0x57e382){return _0x281c35(_0x57e382);}};let _0x5d609b=0x1;if(!helper[_0x39b48e(0x206)](_0x442a57[_0x39b48e(0x144)]))_0x5d609b=_0x39e4e2[_0x39b48e(0x1d4)](parseInt,_0x442a57[_0x39b48e(0x144)]);else{if(!helper[_0x39b48e(0x206)](_0xdcd88a[_0x39b48e(0x18b)]))_0x5d609b=_0xdcd88a['maxWorkers'];else!helper[_0x39b48e(0x206)](_0x55fbf9[_0x39b48e(0x18b)])&&(_0x5d609b=_0x55fbf9[_0x39b48e(0x18b)]);}return _0x5d609b;};async function run(_0x482650,_0x862bc2,_0x51b8ec){const _0x15eccd=a16_0x1c2266,_0x43e3ad={'mJvwx':_0x15eccd(0x16f),'iSbjW':_0x15eccd(0x18e),'AHttv':function(_0xbfeb7d,_0xbdda4b){return _0xbfeb7d(_0xbdda4b);},'bIQng':function(_0x2568c6,_0x7a7177){return _0x2568c6!=_0x7a7177;},'uzUvH':_0x15eccd(0x18a),'RjCyq':function(_0x379dee,_0x251f2f,_0x5ef3cd){return _0x379dee(_0x251f2f,_0x5ef3cd);},'KFoJe':_0x15eccd(0x177),'XzTgr':function(_0x520112,_0x31a7eb){return _0x520112(_0x31a7eb);},'UhAjn':function(_0x1cb1d2,_0x5e1515,_0x5595f5){return _0x1cb1d2(_0x5e1515,_0x5595f5);},'Wwzsk':function(_0x1992e7,_0x1d869d,_0x1c7611,_0x560274){return _0x1992e7(_0x1d869d,_0x1c7611,_0x560274);},'DXdMV':function(_0x44c4f0,_0x22f68f){return _0x44c4f0*_0x22f68f;},'WOAoG':function(_0x358e33,_0x33c5ff){return _0x358e33===_0x33c5ff;},'Gbjcd':_0x15eccd(0x1b0),'CRRah':_0x15eccd(0x190),'uZhoS':'customImplements','AMpNL':_0x15eccd(0x15a),'iUoYp':_0x15eccd(0x13e),'aIVZj':_0x15eccd(0x171),'HCydM':_0x15eccd(0x1ea),'FJJjU':_0x15eccd(0x141),'XpKzP':_0x15eccd(0x1c8),'vWwEq':_0x15eccd(0x157),'WtJDY':_0x15eccd(0x1a1),'ysHIu':function(_0x4729fd,_0x99a472){return _0x4729fd(_0x99a472);},'vAhDp':'test-observability','iKOfe':_0x15eccd(0x1db),'uMHjf':_0x15eccd(0x1af),'uJWZL':_0x15eccd(0x184),'NmFnU':'skipping\x20test_before\x20setup\x20since\x20selenium\x20not\x20found','nxsAZ':_0x15eccd(0x175),'zGZMG':'Test\x20orchestration\x20is\x20enabled,\x20initializing\x20orchestration\x20handler','PolNS':function(_0x54e957,_0x2ba122){return _0x54e957>_0x2ba122;},'zEHCk':'Showing\x20jest\x20logs\x20and\x20reporter\x20logs.','mhffi':function(_0x4b602c,_0x16fc0a,_0x291e51,_0x1008c0){return _0x4b602c(_0x16fc0a,_0x291e51,_0x1008c0);},'gdYjP':'npx','dUQgh':_0x15eccd(0x15b),'azBTm':_0x15eccd(0x1cf),'oNpGB':_0x15eccd(0x196),'hJGhy':_0x15eccd(0x19c)};helper[_0x15eccd(0x14d)]()?(await _0x51b8ec['initialize'](_0x482650),await helper[_0x15eccd(0x1ac)](_0x51b8ec[_0x15eccd(0x15c)])):await _0x51b8ec[_0x15eccd(0x1de)]();if(!_0x51b8ec[_0x15eccd(0x15c)])return;_0x43e3ad['bIQng'](_0x51b8ec['config'][_0x15eccd(0x1f9)],null)?process[_0x15eccd(0x1a6)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x51b8ec[_0x15eccd(0x15c)][_0x15eccd(0x1f9)]:process[_0x15eccd(0x1a6)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x43e3ad[_0x15eccd(0x1a4)];const _0x419026=new TestOrchestrationHandler(_0x51b8ec[_0x15eccd(0x15c)]),_0x1113d9=await _0x43e3ad[_0x15eccd(0x1be)](getUserJestConfigs,_0x482650,_0x862bc2);logger[_0x15eccd(0x20b)](_0x43e3ad[_0x15eccd(0x1ed)]);const _0x3d15fe=Object[_0x15eccd(0x16a)]({},_0x1113d9);_0x3d15fe['testEnvironmentOptions']=Object['assign']({},_0x3d15fe[_0x15eccd(0x1e5)],{'server':helper[_0x15eccd(0x18d)](_0x51b8ec[_0x15eccd(0x15c)]),'environment':_0x1113d9[_0x15eccd(0x1f5)]}),_0x3d15fe[_0x15eccd(0x1e5)][_0x15eccd(0x1e8)]=_0x43e3ad['XzTgr'](getPercyOptions,_0x51b8ec[_0x15eccd(0x15c)]);const _0x3d3208=helper[_0x15eccd(0x1e3)](_0x51b8ec['config']);!helper[_0x15eccd(0x206)](_0x51b8ec[_0x15eccd(0x15c)][_0x15eccd(0x162)])&&(process[_0x15eccd(0x1a6)][_0x15eccd(0x1a3)]=JSON[_0x15eccd(0x1c5)](_0x51b8ec['config'][_0x15eccd(0x162)]));const _0x502d67=await TestHubHandler[_0x15eccd(0x1bc)](FRAMEWORKS['JEST'],_0x51b8ec),_0x14cb93=helper[_0x15eccd(0x1c6)](_0x51b8ec[_0x15eccd(0x15c)],_0x3d3208,constants[_0x15eccd(0x180)][_0x15eccd(0x154)]);let _0x498919=_0x51b8ec[_0x15eccd(0x15c)][_0x15eccd(0x16b)];_0x498919=_0x498919||accessibilityHelper['checkAccessibilityPlatformConfig'](_0x51b8ec[_0x15eccd(0x15c)]),process[_0x15eccd(0x1a6)][_0x15eccd(0x1e7)]=_0x498919,_0x3d15fe[_0x15eccd(0x1e5)][_0x15eccd(0x172)]=_0x14cb93,_0x3d15fe['testEnvironmentOptions'][_0x15eccd(0x167)]=_0x43e3ad[_0x15eccd(0x14a)](getSerial,_0x14cb93,_0x482650),_0x3d15fe[_0x15eccd(0x1e5)][_0x15eccd(0x1e2)]=_0x43e3ad[_0x15eccd(0x188)](getMaxWorkers,_0x482650,_0x51b8ec[_0x15eccd(0x15c)],_0x1113d9),_0x3d15fe['testEnvironmentOptions']['proxySettings']=_0x51b8ec['config'][_0x15eccd(0x155)],_0x3d15fe[_0x15eccd(0x1e5)][_0x15eccd(0x178)]=_0x43e3ad[_0x15eccd(0x1b1)](_0x482650[_0x15eccd(0x1d5)],0x1)||0x1388,_0x3d15fe[_0x15eccd(0x1e5)]['skipSessionName']=_0x51b8ec[_0x15eccd(0x15c)]['testContextOptions']['skipSessionName'],_0x3d15fe[_0x15eccd(0x1e5)][_0x15eccd(0x16d)]=_0x51b8ec[_0x15eccd(0x15c)][_0x15eccd(0x198)][_0x15eccd(0x16d)],_0x3d15fe[_0x15eccd(0x1e5)][_0x15eccd(0x174)]=_0x51b8ec[_0x15eccd(0x15c)][_0x15eccd(0x202)],_0x3d15fe['testEnvironmentOptions'][_0x15eccd(0x13f)]=_0x51b8ec[_0x15eccd(0x15c)]['turboScaleUrl'],_0x3d15fe[_0x15eccd(0x1e5)]['platformCaps']=_0x51b8ec['config'][_0x15eccd(0x19a)];const _0xa4d7c6=helper[_0x15eccd(0x158)](_0x51b8ec[_0x15eccd(0x15c)]);if(!helper[_0x15eccd(0x148)](_0xa4d7c6)){helper[_0x15eccd(0x1da)](_0xa4d7c6['retryTestsOnFailure'])&&(_0x3d15fe['testEnvironmentOptions'][_0x15eccd(0x142)]=_0xa4d7c6['retryTestsOnFailure']['maxRetries']);if(helper[_0x15eccd(0x1da)](_0xa4d7c6[_0x15eccd(0x1f1)])&&helper[_0x15eccd(0x1da)](_0xa4d7c6[_0x15eccd(0x1f1)][_0x15eccd(0x1cb)])){const _0x203419={};_0x203419[_0x15eccd(0x1c2)]=_0xa4d7c6[_0x15eccd(0x1f1)][_0x15eccd(0x1ef)],_0x203419[_0x15eccd(0x1cb)]=_0xa4d7c6[_0x15eccd(0x1f1)][_0x15eccd(0x1cb)],_0x3d15fe[_0x15eccd(0x1e5)]['failFast']=_0x203419;}}let _0x536f12='';_0x43e3ad['WOAoG'](helper[_0x15eccd(0x1dd)](),constants[_0x15eccd(0x20c)][_0x15eccd(0x15d)])?_0x536f12=_0x43e3ad[_0x15eccd(0x16c)]:_0x536f12=_0x43e3ad['CRRah'];const _0x18d713=_0x536f12,_0xe40b5b=path[_0x15eccd(0x1f7)](__dirname,_0x43e3ad[_0x15eccd(0x156)],_0x43e3ad[_0x15eccd(0x1c4)]),_0xb43ea8=path[_0x15eccd(0x1f7)](__dirname,_0x43e3ad[_0x15eccd(0x156)],_0x43e3ad['iUoYp']),_0x1ee10d=path[_0x15eccd(0x1f7)](__dirname,_0x43e3ad[_0x15eccd(0x156)],_0x43e3ad[_0x15eccd(0x1df)]);_0x3d15fe[_0x15eccd(0x1f5)]&&(process[_0x15eccd(0x1a6)]['BSTACK_JEST_TEST_ENV']=_0x3d15fe[_0x15eccd(0x1f5)]);_0x3d15fe[_0x15eccd(0x1f5)]=path[_0x15eccd(0x1f7)](__dirname,_0x43e3ad[_0x15eccd(0x156)],_0x43e3ad[_0x15eccd(0x1aa)]),_0x3d15fe[_0x15eccd(0x1ad)]=_0xb43ea8,_0x3d15fe[_0x15eccd(0x17d)]=_0x3d15fe['setupFilesAfterEnv']||[],_0x3d15fe[_0x15eccd(0x17d)]['push'](path[_0x15eccd(0x1f7)](__dirname,_0x43e3ad[_0x15eccd(0x1f4)]));_0x419026['isTestOrchestrationEnabled']()&&(_0x3d15fe[_0x15eccd(0x146)]=path[_0x15eccd(0x1f7)](__dirname,_0x43e3ad[_0x15eccd(0x156)],_0x43e3ad[_0x15eccd(0x1fe)]));if(testhubUtils[_0x15eccd(0x151)]()){let _0x4e9fd0=null;try{_0x4e9fd0=helper[_0x15eccd(0x19d)](_0x43e3ad[_0x15eccd(0x1e4)],_0x43e3ad[_0x15eccd(0x1c3)]);}catch(_0x218575){_0x43e3ad['ysHIu'](debug,_0x15eccd(0x176)+_0x218575);}_0x4e9fd0&&(_0x3d15fe[_0x15eccd(0x17d)][_0x15eccd(0x1b5)](path[_0x15eccd(0x1f7)](__dirname,_0x43e3ad[_0x15eccd(0x208)],_0x43e3ad['iKOfe'])),_0x3d15fe[_0x15eccd(0x1d9)]=path[_0x15eccd(0x1f7)](__dirname,_0x43e3ad['uZhoS'],_0x43e3ad[_0x15eccd(0x169)]));}_0x3d15fe[_0x15eccd(0x1f8)]=_0x3d15fe[_0x15eccd(0x1f8)]||[];try{helper[_0x15eccd(0x1b9)](),_0x3d15fe['setupFiles'][_0x15eccd(0x1b5)](path[_0x15eccd(0x1f7)](__dirname,_0x43e3ad[_0x15eccd(0x1b8)]));}catch{logger[_0x15eccd(0x17a)](_0x43e3ad[_0x15eccd(0x173)]);}_0x3d15fe[_0x15eccd(0x1a7)]=_0x3d15fe[_0x15eccd(0x1a7)]||[_0x43e3ad[_0x15eccd(0x1bd)]],_0x43e3ad[_0x15eccd(0x14a)](updateTestRerunConfig,_0x3d15fe,_0x51b8ec);const _0x54905d=fs[_0x15eccd(0x1ca)](_0x1ee10d);fs[_0x15eccd(0x1a2)](_0x3d15fe[_0x15eccd(0x1ad)],_0x15eccd(0x15e)+_0x54905d+_0x15eccd(0x183)+_0x51b8ec[_0x15eccd(0x15c)]['platforms']['length']+';\x0a\x20\x20\x20\x20\x20\x20fs.writeFileSync(path.join(__dirname,\x20\x27jest_browserstack_results.json\x27),\x20JSON.stringify(results));\x0a\x20\x20\x20\x20\x20\x20return\x20_someFunc.call(this,\x20testContexts,\x20results);\x0a\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20var\x20_onTestFileResultOrig\x20=\x20ReporterDispatcher.prototype.onTestFileResult;\x0a\x20\x20\x20\x20ReporterDispatcher.prototype.onTestFileResult\x20=\x20async\x20function\x20(test,\x20testResult,\x20result)\x20{\x0a\x20\x20\x20\x20\x20\x20testResult.platform\x20=\x20helper.getPlatformName(test.context.config.capability);\x0a\x20\x20\x20\x20\x20\x20return\x20_onTestFileResultOrig.call(this,\x20test,\x20testResult,\x20result);\x0a\x20\x20\x20\x20}\x0a\x20\x20'),logger[_0x15eccd(0x20b)](_0x15eccd(0x13c)+_0x18d713+_0x15eccd(0x163)),fs[_0x15eccd(0x1a2)](_0x18d713,'const\x20config='+JSON[_0x15eccd(0x1c5)](_0x3d15fe)+_0x15eccd(0x19b));if(_0x419026['isTestOrchestrationEnabled']()){logger[_0x15eccd(0x17a)](_0x43e3ad[_0x15eccd(0x1eb)]);const _0x4e012b=await _0x419026[_0x15eccd(0x1a8)](_0x3d15fe,_0x862bc2[_0x15eccd(0x14f)](0x1),_0x18d713);logger[_0x15eccd(0x17a)](_0x15eccd(0x1ee)+JSON[_0x15eccd(0x1c5)](_0x4e012b)+_0x15eccd(0x1b2));const _0x5441fd=await _0x419026[_0x15eccd(0x204)](_0x4e012b);logger[_0x15eccd(0x17a)](_0x15eccd(0x20d)+JSON[_0x15eccd(0x1c5)](_0x5441fd)),_0x5441fd&&_0x43e3ad[_0x15eccd(0x166)](_0x5441fd[_0x15eccd(0x1c7)],0x0)&&(process['env'][_0x15eccd(0x17b)]=_0x5441fd?.['join'](','));}logger[_0x15eccd(0x20b)](_0x43e3ad[_0x15eccd(0x1ff)]);testhubUtils[_0x15eccd(0x151)]()&&TestDetails[_0x15eccd(0x200)]();helper[_0x15eccd(0x186)]({},_0x862bc2),PerformanceTester[_0x15eccd(0x199)](PerformanceEvents[_0x15eccd(0x1b3)]);const _0x19dc68=_0x43e3ad['mhffi'](spawn,_0x43e3ad[_0x15eccd(0x19e)],[_0x43e3ad[_0x15eccd(0x145)],_0x43e3ad[_0x15eccd(0x1fc)],_0x18d713,..._0x862bc2['slice'](0x1)],{'shell':_0x43e3ad[_0x15eccd(0x170)](process['platform'],_0x43e3ad[_0x15eccd(0x14b)]),'stdio':_0x43e3ad[_0x15eccd(0x164)],'env':Object[_0x15eccd(0x16a)]({},process[_0x15eccd(0x1a6)])});_0x19dc68['on'](_0x43e3ad[_0x15eccd(0x17f)],async _0x18f401=>{const _0x553c30=_0x15eccd;PerformanceTester[_0x553c30(0x17c)](PerformanceEvents[_0x553c30(0x1c0)]);try{const {browserstackFolderPath:_0x3d66b8,tcgConfigPath:_0x775cfc}=helper['getTCGConfigFilePaths']();fs[_0x553c30(0x168)](_0x775cfc),fs[_0x553c30(0x181)](_0x3d66b8);}catch(_0x315a40){logger[_0x553c30(0x17a)](_0x43e3ad['mJvwx'],_0x315a40);}process[_0x553c30(0x1d6)]=_0x18f401,logger[_0x553c30(0x17a)](_0x553c30(0x1c1)+_0x18f401),logger[_0x553c30(0x20b)](_0x553c30(0x20f)+_0x18d713);if(helper['isNotUndefined'](_0xa4d7c6)&&helper['isNotUndefined'](_0xa4d7c6[_0x553c30(0x1f1)])&&fs[_0x553c30(0x1a0)](_0xa4d7c6[_0x553c30(0x1f1)][_0x553c30(0x1cb)]))try{const _0x5c952f={};_0x5c952f[_0x553c30(0x20a)]=!![],_0x5c952f[_0x553c30(0x159)]=!![],fs[_0x553c30(0x19f)](_0xa4d7c6['abortBuildOnFailure'][_0x553c30(0x1cb)],_0x5c952f),logger[_0x553c30(0x17a)](_0x553c30(0x1ce)+_0xa4d7c6[_0x553c30(0x1f1)][_0x553c30(0x1cb)]);}catch(_0x5c6e7a){logger[_0x553c30(0x160)](_0x553c30(0x185)+_0x5c6e7a);}let _0x222f85=null;if(fs['existsSync'](_0xe40b5b)){_0x222f85=fs[_0x553c30(0x1ca)](_0xe40b5b);try{_0x222f85=JSON[_0x553c30(0x1e0)](_0x222f85);}catch(_0x147c16){logger[_0x553c30(0x17a)]('Error\x20while\x20parsing\x20'+_0xe40b5b+',\x20'+_0x222f85+_0x553c30(0x1b4)+_0x147c16);}fs[_0x553c30(0x168)](_0xe40b5b);}fs['unlinkSync'](_0x18d713),fs[_0x553c30(0x168)](_0xb43ea8),_0x222f85&&(_0x51b8ec[_0x553c30(0x150)]=helper[_0x553c30(0x1e9)](_0x222f85,_0x43e3ad[_0x553c30(0x145)],_0x51b8ec));try{await TestHubHandler[_0x553c30(0x195)]();}catch(_0x164542){console[_0x553c30(0x1ae)](_0x164542),_0x43e3ad[_0x553c30(0x207)](debug,'Exception\x20in\x20stop\x20build\x20request\x20to\x20TestHub\x20:\x20'+util[_0x553c30(0x16e)](_0x164542));}testOpsHelper[_0x553c30(0x205)](),TestDetails[_0x553c30(0x1fb)](),await utilities[_0x553c30(0x20e)](_0x51b8ec);});}module[a16_0x1c2266(0x161)]=run;function a16_0x2cbb(){const _0x37f5d8=['../../helpers/utilities','\x0a\x0a\x20\x20\x20\x20const\x20ReporterDispatcher\x20=\x20_interopRequireDefault(requireModule(\x27@jest/core/build/ReporterDispatcher.js\x27,\x20\x27@jest/core\x27)).default;\x20//node_modules/@jest/core/build/ReporterDispatcher.js\x0a\x20\x20\x20\x20const\x20fs\x20=\x20require(\x27fs\x27);\x0a\x20\x20\x20\x20const\x20path\x20=\x20require(\x27path\x27);\x0a\x20\x20\x20\x20const\x20helper\x20=\x20require(\x27../../../helpers/helper\x27);\x0a\x20\x20\x20\x20var\x20_someFunc\x20=\x20ReporterDispatcher.prototype.onRunComplete;\x0a\x20\x20\x20\x20ReporterDispatcher.prototype.onRunComplete\x20=\x20async\x20function\x20(testContexts,\x20results)\x20{\x0a\x20\x20\x20\x20\x20\x20results.numTotalTestSuites\x20=\x20results.numTotalTestSuites\x20*\x20','test_before.setup.js','Error\x20while\x20deleting\x20fail-fast\x20state\x20folder:\x20','filterBrowserstackArgs','EVENTS','Wwzsk','rUirY','true','maxWorkers','eTjYj','getHubUrl','jest','RyFUd','jest_browserstack.config.js','Getting\x20your\x20jest\x20configs\x20from\x20package.json','wSzYQ','106BNfXqf','MKsLG','stop','inherit','cwd','testContextOptions','end','platforms','\x0amodule.exports\x20=\x20config;','close','requireModule','gdYjP','rmSync','existsSync','jest-circus','writeFileSync','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','uzUvH','package.json','env','reporters','findTestFiles','1135329IueErb','HCydM','../../helpers/testhub/testhubHandler','handleApp','runner','log','customCircus.js','jest_browserstack.config.cjs','DXdMV','\x20test\x20files\x20to\x20run.','SDK_SETUP','\x20:\x20','push','jest-config','json','uJWZL','requireSeleniumWebdriver','../../helpers/test-observability/constants','1252776FPepKs','launchBuild','nxsAZ','RjCyq','USER_CONFIG_DETAILS_PATH','SDK_CLEANUP','child\x20process\x20exited\x20with\x20code\x20','failureThresholdCount','WtJDY','AMpNL','stringify','prepareCapabilities','length','customSequencer.js','findIndex','readFileSync','workingDir','DrQsO','Getting\x20your\x20jest\x20configs\x20from\x20','Deleted\x20fail-fast\x20state\x20folder:\x20','win32','7aXyHzi','child_process','./test-observability/helper','../../helpers/test-observability/utils','oORAh','testTimeout','exitCode','260fZqkes','1668403JnVOTV','testRunner','isNotUndefined','data-hooks.js','../../helpers/testhub/utils','getPackageType','setupTCGAuth','aIVZj','parse','splice','parallels__','useW3C','vWwEq','testEnvironmentOptions','144852ShngUL','BROWSERSTACK_TEST_ACCESSIBILITY_YML','browserStackPercyOptions','getErrorMessageFromResults','customEnvironment.js','zGZMG','cjs','KFoJe','Found:\x20','maxFailures','mjs','abortBuildOnFailure','../utils/constants','ZcoRc','FJJjU','testEnvironment','../../helpers/performance/constants','join','setupFiles','testObservability','path','shutdown','dUQgh','1524uKeeRS','XpKzP','zEHCk','setup','./test-observability/test-details','logLevel','1810PcHPap','reorderTestFiles','printBuildLink','isUndefined','AHttv','vAhDp','igehX','recursive','info','PACKAGE_TYPE','Reodered\x20Test\x20Files:\x20','finalExecution','Deleting\x20','Creating\x20','../../helpers/logger','customTestRunner.js','turboScaleUrl','../../helpers/test-orchestration/testOrchestrationHandler','jest.setup.js','retries__','runInBand','parallelsPerPlatform','iSbjW','testSequencer','winstonLogger','isEmpty','util','UhAjn','azBTm','3636603RGTtnF','isBrowserstackInfra','../../helpers/performance/performance-tester','slice','errorMessage','shouldProcessEventForTesthub','30kSdrZz','resolve','JEST','proxySettings','uZhoS','jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','parseTestOrchestrationOptions','force','jest_browserstack_results.json','--config','config','MODULE','\x0a\x20\x20\x20\x20','aLsiL','error','exports','accessibilityOptions','\x20with\x20browserstack\x20jest\x20configs','oNpGB','QjDoI','PolNS','serial__','unlinkSync','uMHjf','assign','accessibility','Gbjcd','skipSessionStatus','format','error\x20removing\x20tcg\x20config\x20file','WOAoG','customTestRunnerTemplate.js','capabilities','NmFnU','browserStackLogLevel','default','Unable\x20to\x20find\x20jest-circus,\x20','Modifying\x20jest\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','timeout__','jest.config.','debug','JEST_TEST_ORDER','start','setupFilesAfterEnv','KfJbq','hJGhy','FRAMEWORKS','rmdirSync'];a16_0x2cbb=function(){return _0x37f5d8;};return a16_0x2cbb();}
|
|
2
|
+
'use strict';const a16_0x3b4897=a16_0x4a4a;(function(_0x48a6f8,_0x210217){const _0x42844f=a16_0x4a4a,_0x544da6=_0x48a6f8();while(!![]){try{const _0x235cf7=-parseInt(_0x42844f(0x288))/0x1*(-parseInt(_0x42844f(0x205))/0x2)+-parseInt(_0x42844f(0x293))/0x3+parseInt(_0x42844f(0x217))/0x4+parseInt(_0x42844f(0x201))/0x5+parseInt(_0x42844f(0x2ac))/0x6*(-parseInt(_0x42844f(0x2ad))/0x7)+parseInt(_0x42844f(0x22b))/0x8+-parseInt(_0x42844f(0x277))/0x9;if(_0x235cf7===_0x210217)break;else _0x544da6['push'](_0x544da6['shift']());}catch(_0x3cec5e){_0x544da6['push'](_0x544da6['shift']());}}}(a16_0x5c60,0xa3f1d));function a16_0x5c60(){const _0x112f16=['shutdown','info','Error\x20while\x20deleting\x20fail-fast\x20state\x20folder:\x20','platform','480bQuKwK','34832mbVLnp','../../helpers/logger','config','pdrjM','customTestRunnerTemplate.js','proxySettings','push','maxWorkers','accessibility','findIndex','SDK_SETUP','jest_browserstack.config.cjs',';\x0a\x20\x20\x20\x20\x20\x20fs.writeFileSync(path.join(__dirname,\x20\x27jest_browserstack_results.json\x27),\x20JSON.stringify(results));\x0a\x20\x20\x20\x20\x20\x20return\x20_someFunc.call(this,\x20testContexts,\x20results);\x0a\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20var\x20_onTestFileResultOrig\x20=\x20ReporterDispatcher.prototype.onTestFileResult;\x0a\x20\x20\x20\x20ReporterDispatcher.prototype.onTestFileResult\x20=\x20async\x20function\x20(test,\x20testResult,\x20result)\x20{\x0a\x20\x20\x20\x20\x20\x20testResult.platform\x20=\x20helper.getPlatformName(test.context.config.capability);\x0a\x20\x20\x20\x20\x20\x20return\x20_onTestFileResultOrig.call(this,\x20test,\x20testResult,\x20result);\x0a\x20\x20\x20\x20}\x0a\x20\x20','mJrBL','const\x20config=','testContextOptions','QKCVI','util','abortBuildOnFailure','customEnvironment.js','child\x20process\x20exited\x20with\x20code\x20','faJqc','setupTCGAuth','exports','IZmpJ','accessibilityOptions','JEST','isNotUndefined','jest-circus','6077950ihqUxQ','skipping\x20test_before\x20setup\x20since\x20selenium\x20not\x20found','slice','child_process','6XXtMpC','lAWlT','jest.setup.js','path','join','jest_browserstack_results.json','platformCaps','splice','jest-config','VZmYj','EVENTS','Getting\x20your\x20jest\x20configs\x20from\x20','initialize','../../helpers/performance/performance-tester','../../helpers/test-observability/constants','lkzVK','shouldProcessEventForTesthub','writeFileSync','1338420KeDSMA','requireModule','bhXoQ','cwd','../../helpers/BrowserStackSetup','true','Found:\x20','launchBuild','bZxBm','parseTestOrchestrationOptions','rPZhi','lJiDR','lMrdq','requireSeleniumWebdriver','../../helpers/test-orchestration/testOrchestrationHandler','SBvvY','platforms','getErrorMessageFromResults','force','jkjzY','459808YVIgGe','testObservability','./test-observability/helper','error\x20removing\x20tcg\x20config\x20file','default','testEnvironmentOptions','setup','NzssX','Error\x20while\x20parsing\x20','skipSessionStatus','\x0a\x20\x20\x20\x20','failureThresholdCount','cjs','stringify','../../helpers/helper','SDK_CLEANUP','setupFilesAfterEnv','../../helpers/testhub/utils','bbmmy','isUndefined','parallels__','UWYzo','browserStackPercyOptions','errorMessage','jest.config.','JEST_TEST_ORDER','handleApp','kRRRl','turboScaleUrl','customCircus.js','retryTestsOnFailure','existsSync','testEnvironment','prepareCapabilities','ewOOG','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','testTimeout','env','lWuFM','maxRetries','useW3C','log','dYalG','nVVNs','format','Qubgv','Deleted\x20fail-fast\x20state\x20folder:\x20','isEmpty','Deleting\x20','assign','testRunner','debug','findTestFiles','jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','length','runner','\x0amodule.exports\x20=\x20config;','\x0a\x0a\x20\x20\x20\x20const\x20ReporterDispatcher\x20=\x20_interopRequireDefault(requireModule(\x27@jest/core/build/ReporterDispatcher.js\x27,\x20\x27@jest/core\x27)).default;\x20//node_modules/@jest/core/build/ReporterDispatcher.js\x0a\x20\x20\x20\x20const\x20fs\x20=\x20require(\x27fs\x27);\x0a\x20\x20\x20\x20const\x20path\x20=\x20require(\x27path\x27);\x0a\x20\x20\x20\x20const\x20helper\x20=\x20require(\x27../../../helpers/helper\x27);\x0a\x20\x20\x20\x20var\x20_someFunc\x20=\x20ReporterDispatcher.prototype.onRunComplete;\x0a\x20\x20\x20\x20ReporterDispatcher.prototype.onRunComplete\x20=\x20async\x20function\x20(testContexts,\x20results)\x20{\x0a\x20\x20\x20\x20\x20\x20results.numTotalTestSuites\x20=\x20results.numTotalTestSuites\x20*\x20','../../helpers/test-observability/utils','../../helpers/testhub/testhubHandler','maxFailures','JDuot','exitCode','BROWSERSTACK_TEST_ACCESSIBILITY_YML','winstonLogger','wUtoh','jest-config/build/readConfigFileAndSetRootDir.js','skipSessionName','diZXm','finalExecution','Showing\x20jest\x20logs\x20and\x20reporter\x20logs.','RrfdU','--config','LUOgH','false','BROWSERSTACK_TEST_OBSERVABILITY_YML','1828782JlfmJE','XRPxw','testSequencer','AqxhJ','PlebR','./test-observability/test-details','test_before.setup.js','FTmMC','workingDir','xMAZf','XDrkh','oiexL','EnnLw','MODULE','mjs','Creating\x20','../utils/constants','62247VIQFVU','capabilities','wVyay','filterBrowserstackArgs','printBuildLink','egJda','serial__','jest','start','getHubUrl','Reodered\x20Test\x20Files:\x20','1564851alSWUW','error','readFileSync','RFawd','resolve','customTestRunner.js','customSequencer.js','nxKlh','jopOu','cOLci','getTCGConfigFilePaths','FRAMEWORKS','Test\x20orchestration\x20is\x20enabled,\x20initializing\x20orchestration\x20handler','Modifying\x20jest\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','PACKAGE_TYPE','setupFiles','reporters','unlinkSync','test-observability','rmSync','AIfBx'];a16_0x5c60=function(){return _0x112f16;};return a16_0x5c60();}function a16_0x4a4a(_0x4925b9,_0x2b4ee4){const _0x5c608a=a16_0x5c60();return a16_0x4a4a=function(_0x4a4a2a,_0x3b1b90){_0x4a4a2a=_0x4a4a2a-0x1ee;let _0x2b0d1f=_0x5c608a[_0x4a4a2a];return _0x2b0d1f;},a16_0x4a4a(_0x4925b9,_0x2b4ee4);}const fs=require('fs'),path=require(a16_0x3b4897(0x208)),util=require(a16_0x3b4897(0x1f5)),{spawn}=require(a16_0x3b4897(0x204)),logger=require(a16_0x3b4897(0x2ae))[a16_0x3b4897(0x26b)],{default:BrowserStackSetup}=require(a16_0x3b4897(0x21b)),helper=require(a16_0x3b4897(0x239)),utilities=require('../../helpers/utilities'),constants=require(a16_0x3b4897(0x287)),accessibilityHelper=require('../../helpers/accessibility-automation/helper'),{updateTestRerunConfig}=require(a16_0x3b4897(0x22d)),testOpsHelper=require(a16_0x3b4897(0x265)),{debug}=require(a16_0x3b4897(0x265)),TestDetails=require(a16_0x3b4897(0x27c)),{getPercyOptions}=require('../../helpers/percy/utils'),TestHubHandler=require(a16_0x3b4897(0x266)),testhubUtils=require(a16_0x3b4897(0x23c)),{FRAMEWORKS}=require(a16_0x3b4897(0x213)),PerformanceTester=require(a16_0x3b4897(0x212)),PerformanceEvents=require('../../helpers/performance/constants')[a16_0x3b4897(0x20f)],TestOrchestrationHandler=require(a16_0x3b4897(0x225)),getUserJestConfigs=async(_0x26c52d,_0x452595)=>{const _0x57054a=a16_0x3b4897,_0x330226={'aIeXf':_0x57054a(0x26d),'faJqc':_0x57054a(0x20d),'diZXm':function(_0x3137fc,_0x5c85a8){return _0x3137fc||_0x5c85a8;},'bWCcI':function(_0x2e1cbf,_0x50c94c){return _0x2e1cbf(_0x50c94c);},'bZxBm':'package.json','lJiDR':'Getting\x20your\x20jest\x20configs\x20from\x20package.json','kRRRl':_0x57054a(0x285),'dYalG':_0x57054a(0x237),'EnnLw':'json'},_0x2e4c9c=helper[_0x57054a(0x218)](_0x330226['aIeXf'],_0x330226[_0x57054a(0x1f9)]),_0x1dfd94=_0x452595[_0x57054a(0x2b6)](_0x3923f2=>_0x3923f2===_0x57054a(0x273));if(!helper[_0x57054a(0x23e)](_0x26c52d[_0x57054a(0x2af)])){logger[_0x57054a(0x2a9)](_0x57054a(0x210)+_0x26c52d[_0x57054a(0x2af)]),process[_0x57054a(0x250)]['USER_CONFIG_DETAILS_PATH']=_0x26c52d[_0x57054a(0x2af)];const _0x3fb064=await(0x0,_0x2e4c9c['default'])(path[_0x57054a(0x297)](_0x26c52d[_0x57054a(0x2af)]));return _0x452595[_0x57054a(0x20c)](_0x1dfd94,0x2),_0x330226[_0x57054a(0x26f)](_0x3fb064,{});}const _0x5e6e0a=_0x330226['bWCcI'](require,path[_0x57054a(0x209)](process['cwd'](),_0x330226[_0x57054a(0x21f)]));if(_0x5e6e0a[_0x57054a(0x28f)])return logger[_0x57054a(0x2a9)](_0x330226[_0x57054a(0x222)]),_0x5e6e0a[_0x57054a(0x28f)];const _0x2e2121=['js',_0x330226[_0x57054a(0x246)],_0x330226[_0x57054a(0x255)],_0x330226[_0x57054a(0x283)],'ts'];for(const _0x515034 of _0x2e2121){const _0x5d2896=path[_0x57054a(0x209)](process[_0x57054a(0x21a)](),_0x57054a(0x243)+_0x515034);if(fs[_0x57054a(0x24a)](_0x5d2896)){process[_0x57054a(0x250)]['USER_CONFIG_DETAILS_PATH']=_0x5d2896;const _0x2cc680=await(0x0,_0x2e4c9c[_0x57054a(0x22f)])(_0x5d2896);return _0x2cc680;}}return{};},getSerial=(_0x416e2f,_0x40d65f)=>{const _0x1d363f=a16_0x3b4897,_0x129a8a={};_0x129a8a[_0x1d363f(0x272)]=_0x1d363f(0x21c),_0x129a8a['inHkH']=function(_0x524c10,_0x52f2ba){return _0x524c10>_0x52f2ba;},_0x129a8a[_0x1d363f(0x281)]=function(_0x479581,_0x56fe34){return _0x479581>_0x56fe34;},_0x129a8a[_0x1d363f(0x29b)]=_0x1d363f(0x275);const _0x156709=_0x129a8a;let _0x4d2a6b=_0x156709[_0x1d363f(0x272)];return _0x156709['inHkH'](_0x416e2f[_0x1d363f(0x261)],0x1)&&(!_0x40d65f['runInBand']&&(helper[_0x1d363f(0x23e)](_0x40d65f[_0x1d363f(0x2b4)])||_0x156709[_0x1d363f(0x281)](_0x40d65f[_0x1d363f(0x2b4)],0x1)))&&(_0x4d2a6b=_0x156709[_0x1d363f(0x29b)]),_0x4d2a6b;},getMaxWorkers=(_0x50c475,_0x327c9c,_0x2ca6fb)=>{const _0x5b441a=a16_0x3b4897,_0x97fe20={'bbmmy':function(_0x2f8f19,_0x4653d7){return _0x2f8f19(_0x4653d7);}};let _0x56741c=0x1;if(!helper[_0x5b441a(0x23e)](_0x327c9c['parallelsPerPlatform']))_0x56741c=_0x97fe20[_0x5b441a(0x23d)](parseInt,_0x327c9c['parallelsPerPlatform']);else{if(!helper[_0x5b441a(0x23e)](_0x50c475[_0x5b441a(0x2b4)]))_0x56741c=_0x50c475[_0x5b441a(0x2b4)];else!helper[_0x5b441a(0x23e)](_0x2ca6fb[_0x5b441a(0x2b4)])&&(_0x56741c=_0x2ca6fb[_0x5b441a(0x2b4)]);}return _0x56741c;};async function run(_0x45d01a,_0x140177,_0x1bb707){const _0x4a8e57=a16_0x3b4897,_0x17ffee={'xMAZf':_0x4a8e57(0x22e),'SBvvY':'jest','jkjzY':function(_0x33bc8f,_0x5644d4){return _0x33bc8f(_0x5644d4);},'LUOgH':function(_0x7e54b1,_0x1bce65){return _0x7e54b1!=_0x1bce65;},'RFawd':_0x4a8e57(0x21c),'LKXZA':function(_0x2324fb,_0x57720a,_0x4b3372){return _0x2324fb(_0x57720a,_0x4b3372);},'FTmMC':_0x4a8e57(0x2a0),'JDuot':function(_0x2ed75c,_0x240879){return _0x2ed75c(_0x240879);},'egJda':function(_0x3d5b2c,_0x2c624f,_0x1e7b4b){return _0x3d5b2c(_0x2c624f,_0x1e7b4b);},'wUtoh':function(_0x160fd0,_0x3b896c,_0xec8b03,_0x585cfe){return _0x160fd0(_0x3b896c,_0xec8b03,_0x585cfe);},'mmVKf':function(_0x30de2c,_0x2cfd26){return _0x30de2c*_0x2cfd26;},'nVVNs':function(_0x21f208,_0x1cfd78){return _0x21f208===_0x1cfd78;},'lMrdq':_0x4a8e57(0x1ef),'pdrjM':'jest_browserstack.config.js','ewOOG':'customImplements','nxKlh':_0x4a8e57(0x20a),'XRPxw':_0x4a8e57(0x298),'Tjrpk':_0x4a8e57(0x2b1),'cOLci':_0x4a8e57(0x1f7),'oiexL':_0x4a8e57(0x207),'VZmYj':_0x4a8e57(0x299),'bvUFq':_0x4a8e57(0x260),'AqxhJ':_0x4a8e57(0x200),'bhXoQ':function(_0xda261b,_0x46302b){return _0xda261b(_0x46302b);},'lkzVK':_0x4a8e57(0x2a5),'Qubgv':'data-hooks.js','NzssX':_0x4a8e57(0x248),'IZmpJ':_0x4a8e57(0x27d),'wVyay':_0x4a8e57(0x202),'lWuFM':_0x4a8e57(0x22f),'AIfBx':function(_0x22aea5,_0x28dfa7,_0x3b1435){return _0x22aea5(_0x28dfa7,_0x3b1435);},'QKCVI':_0x4a8e57(0x29f),'lAWlT':function(_0x1f8c90,_0x19308a){return _0x1f8c90>_0x19308a;},'rPZhi':_0x4a8e57(0x271),'UWYzo':function(_0xf7f582,_0x1720d0,_0x505a14,_0xfbe590){return _0xf7f582(_0x1720d0,_0x505a14,_0xfbe590);},'FqHVz':'npx','xUwMI':_0x4a8e57(0x273),'PlebR':'win32','mJrBL':'inherit','CpgCe':'close'};helper['isBrowserstackInfra']()?(await _0x1bb707[_0x4a8e57(0x211)](_0x45d01a),await helper[_0x4a8e57(0x245)](_0x1bb707[_0x4a8e57(0x2af)])):await _0x1bb707[_0x4a8e57(0x1fa)]();if(!_0x1bb707[_0x4a8e57(0x2af)])return;_0x17ffee[_0x4a8e57(0x274)](_0x1bb707[_0x4a8e57(0x2af)][_0x4a8e57(0x22c)],null)?process[_0x4a8e57(0x250)][_0x4a8e57(0x276)]=_0x1bb707[_0x4a8e57(0x2af)][_0x4a8e57(0x22c)]:process['env'][_0x4a8e57(0x276)]=_0x17ffee[_0x4a8e57(0x296)];const _0x14d64c=new TestOrchestrationHandler(_0x1bb707[_0x4a8e57(0x2af)]),_0x11a548=await _0x17ffee['LKXZA'](getUserJestConfigs,_0x45d01a,_0x140177);logger[_0x4a8e57(0x2a9)](_0x17ffee[_0x4a8e57(0x27e)]);const _0xebad1e=Object[_0x4a8e57(0x25c)]({},_0x11a548);_0xebad1e[_0x4a8e57(0x230)]=Object[_0x4a8e57(0x25c)]({},_0xebad1e[_0x4a8e57(0x230)],{'server':helper[_0x4a8e57(0x291)](_0x1bb707[_0x4a8e57(0x2af)]),'environment':_0x11a548[_0x4a8e57(0x24b)]}),_0xebad1e[_0x4a8e57(0x230)][_0x4a8e57(0x241)]=_0x17ffee[_0x4a8e57(0x268)](getPercyOptions,_0x1bb707[_0x4a8e57(0x2af)]);const _0x2b5658=helper[_0x4a8e57(0x253)](_0x1bb707['config']);!helper[_0x4a8e57(0x23e)](_0x1bb707[_0x4a8e57(0x2af)][_0x4a8e57(0x1fd)])&&(process[_0x4a8e57(0x250)][_0x4a8e57(0x24e)]=JSON[_0x4a8e57(0x238)](_0x1bb707['config']['accessibilityOptions']));const _0x3adb16=await TestHubHandler[_0x4a8e57(0x21e)](FRAMEWORKS[_0x4a8e57(0x1fe)],_0x1bb707),_0x15d22b=helper[_0x4a8e57(0x24c)](_0x1bb707[_0x4a8e57(0x2af)],_0x2b5658,constants[_0x4a8e57(0x29e)][_0x4a8e57(0x1fe)]);let _0x2f13dc=_0x1bb707['config'][_0x4a8e57(0x2b5)];_0x2f13dc=_0x2f13dc||accessibilityHelper['checkAccessibilityPlatformConfig'](_0x1bb707['config']),process[_0x4a8e57(0x250)][_0x4a8e57(0x26a)]=_0x2f13dc,_0xebad1e[_0x4a8e57(0x230)][_0x4a8e57(0x289)]=_0x15d22b,_0xebad1e[_0x4a8e57(0x230)][_0x4a8e57(0x28e)]=_0x17ffee[_0x4a8e57(0x28d)](getSerial,_0x15d22b,_0x45d01a),_0xebad1e[_0x4a8e57(0x230)][_0x4a8e57(0x23f)]=_0x17ffee[_0x4a8e57(0x26c)](getMaxWorkers,_0x45d01a,_0x1bb707[_0x4a8e57(0x2af)],_0x11a548),_0xebad1e[_0x4a8e57(0x230)][_0x4a8e57(0x2b2)]=_0x1bb707[_0x4a8e57(0x2af)][_0x4a8e57(0x2b2)],_0xebad1e['testEnvironmentOptions']['timeout__']=_0x17ffee['mmVKf'](_0x45d01a[_0x4a8e57(0x24f)],0x1)||0x1388,_0xebad1e[_0x4a8e57(0x230)][_0x4a8e57(0x26e)]=_0x1bb707['config'][_0x4a8e57(0x1f3)][_0x4a8e57(0x26e)],_0xebad1e[_0x4a8e57(0x230)][_0x4a8e57(0x234)]=_0x1bb707[_0x4a8e57(0x2af)][_0x4a8e57(0x1f3)][_0x4a8e57(0x234)],_0xebad1e[_0x4a8e57(0x230)]['browserStackLogLevel']=_0x1bb707[_0x4a8e57(0x2af)]['logLevel'],_0xebad1e['testEnvironmentOptions'][_0x4a8e57(0x247)]=_0x1bb707[_0x4a8e57(0x2af)][_0x4a8e57(0x247)],_0xebad1e[_0x4a8e57(0x230)][_0x4a8e57(0x20b)]=_0x1bb707[_0x4a8e57(0x2af)]['platforms'];const _0x4d29cc=helper[_0x4a8e57(0x220)](_0x1bb707[_0x4a8e57(0x2af)]);if(!helper[_0x4a8e57(0x25a)](_0x4d29cc)){helper['isNotUndefined'](_0x4d29cc[_0x4a8e57(0x249)])&&(_0xebad1e[_0x4a8e57(0x230)]['retries__']=_0x4d29cc[_0x4a8e57(0x249)][_0x4a8e57(0x252)]);if(helper[_0x4a8e57(0x1ff)](_0x4d29cc[_0x4a8e57(0x1f6)])&&helper['isNotUndefined'](_0x4d29cc[_0x4a8e57(0x1f6)]['workingDir'])){const _0x52a7a2={};_0x52a7a2[_0x4a8e57(0x236)]=_0x4d29cc[_0x4a8e57(0x1f6)][_0x4a8e57(0x267)],_0x52a7a2[_0x4a8e57(0x27f)]=_0x4d29cc[_0x4a8e57(0x1f6)]['workingDir'],_0xebad1e[_0x4a8e57(0x230)]['failFast']=_0x52a7a2;}}let _0x483261='';_0x17ffee[_0x4a8e57(0x256)](helper['getPackageType'](),constants[_0x4a8e57(0x2a1)][_0x4a8e57(0x284)])?_0x483261=_0x17ffee[_0x4a8e57(0x223)]:_0x483261=_0x17ffee[_0x4a8e57(0x2b0)];const _0x4c2f5c=_0x483261,_0x85aee0=path[_0x4a8e57(0x209)](__dirname,_0x17ffee[_0x4a8e57(0x24d)],_0x17ffee[_0x4a8e57(0x29a)]),_0x27d4d3=path[_0x4a8e57(0x209)](__dirname,_0x17ffee[_0x4a8e57(0x24d)],_0x17ffee[_0x4a8e57(0x278)]),_0x1118e7=path[_0x4a8e57(0x209)](__dirname,_0x17ffee[_0x4a8e57(0x24d)],_0x17ffee['Tjrpk']);_0xebad1e[_0x4a8e57(0x24b)]&&(process['env']['BSTACK_JEST_TEST_ENV']=_0xebad1e['testEnvironment']);_0xebad1e[_0x4a8e57(0x24b)]=path['join'](__dirname,_0x17ffee[_0x4a8e57(0x24d)],_0x17ffee[_0x4a8e57(0x29c)]),_0xebad1e[_0x4a8e57(0x262)]=_0x27d4d3,_0xebad1e['setupFilesAfterEnv']=_0xebad1e[_0x4a8e57(0x23b)]||[],_0xebad1e[_0x4a8e57(0x23b)][_0x4a8e57(0x2b3)](path[_0x4a8e57(0x209)](__dirname,_0x17ffee[_0x4a8e57(0x282)]));_0x14d64c['isTestOrchestrationEnabled']()&&(_0xebad1e[_0x4a8e57(0x279)]=path[_0x4a8e57(0x209)](__dirname,_0x17ffee['ewOOG'],_0x17ffee[_0x4a8e57(0x20e)]));if(testhubUtils[_0x4a8e57(0x215)]()){let _0x4c5828=null;try{_0x4c5828=helper[_0x4a8e57(0x218)](_0x17ffee['bvUFq'],_0x17ffee[_0x4a8e57(0x27a)]);}catch(_0x2548d7){_0x17ffee[_0x4a8e57(0x219)](debug,'Unable\x20to\x20find\x20jest-circus,\x20'+_0x2548d7);}_0x4c5828&&(_0xebad1e[_0x4a8e57(0x23b)][_0x4a8e57(0x2b3)](path[_0x4a8e57(0x209)](__dirname,_0x17ffee[_0x4a8e57(0x214)],_0x17ffee[_0x4a8e57(0x258)])),_0xebad1e[_0x4a8e57(0x25d)]=path[_0x4a8e57(0x209)](__dirname,_0x17ffee[_0x4a8e57(0x24d)],_0x17ffee[_0x4a8e57(0x232)]));}_0xebad1e[_0x4a8e57(0x2a2)]=_0xebad1e[_0x4a8e57(0x2a2)]||[];try{helper[_0x4a8e57(0x224)](),_0xebad1e[_0x4a8e57(0x2a2)][_0x4a8e57(0x2b3)](path[_0x4a8e57(0x209)](__dirname,_0x17ffee[_0x4a8e57(0x1fc)]));}catch{logger['debug'](_0x17ffee[_0x4a8e57(0x28a)]);}_0xebad1e[_0x4a8e57(0x2a3)]=_0xebad1e['reporters']||[_0x17ffee[_0x4a8e57(0x251)]],_0x17ffee[_0x4a8e57(0x2a7)](updateTestRerunConfig,_0xebad1e,_0x1bb707);const _0x4265bf=fs[_0x4a8e57(0x295)](_0x1118e7);fs[_0x4a8e57(0x216)](_0xebad1e['runner'],_0x4a8e57(0x235)+_0x4265bf+_0x4a8e57(0x264)+_0x1bb707[_0x4a8e57(0x2af)][_0x4a8e57(0x227)]['length']+_0x4a8e57(0x1f0)),logger[_0x4a8e57(0x2a9)](_0x4a8e57(0x286)+_0x4c2f5c+'\x20with\x20browserstack\x20jest\x20configs'),fs[_0x4a8e57(0x216)](_0x4c2f5c,_0x4a8e57(0x1f2)+JSON['stringify'](_0xebad1e)+_0x4a8e57(0x263));if(_0x14d64c['isTestOrchestrationEnabled']()){logger[_0x4a8e57(0x25e)](_0x17ffee[_0x4a8e57(0x1f4)]);const _0xd84afd=await _0x14d64c[_0x4a8e57(0x25f)](_0xebad1e,_0x140177[_0x4a8e57(0x203)](0x1),_0x4c2f5c);logger[_0x4a8e57(0x25e)](_0x4a8e57(0x21d)+JSON[_0x4a8e57(0x238)](_0xd84afd)+'\x20test\x20files\x20to\x20run.');const _0x292697=await _0x14d64c['reorderTestFiles'](_0xd84afd);logger[_0x4a8e57(0x25e)](_0x4a8e57(0x292)+JSON[_0x4a8e57(0x238)](_0x292697)),_0x292697&&_0x17ffee[_0x4a8e57(0x206)](_0x292697[_0x4a8e57(0x261)],0x0)&&(process[_0x4a8e57(0x250)][_0x4a8e57(0x244)]=_0x292697?.[_0x4a8e57(0x209)](','));}logger[_0x4a8e57(0x2a9)](_0x17ffee[_0x4a8e57(0x221)]);testhubUtils[_0x4a8e57(0x215)]()&&TestDetails[_0x4a8e57(0x231)]();helper[_0x4a8e57(0x28b)]({},_0x140177),PerformanceTester['end'](PerformanceEvents[_0x4a8e57(0x1ee)]);const _0x265deb=_0x17ffee[_0x4a8e57(0x240)](spawn,_0x17ffee['FqHVz'],[_0x17ffee[_0x4a8e57(0x226)],_0x17ffee['xUwMI'],_0x4c2f5c,..._0x140177[_0x4a8e57(0x203)](0x1)],{'shell':_0x17ffee[_0x4a8e57(0x256)](process[_0x4a8e57(0x2ab)],_0x17ffee[_0x4a8e57(0x27b)]),'stdio':_0x17ffee[_0x4a8e57(0x1f1)],'env':Object[_0x4a8e57(0x25c)]({},process[_0x4a8e57(0x250)])});_0x265deb['on'](_0x17ffee['CpgCe'],async _0x1df9c7=>{const _0x563e2c=_0x4a8e57;PerformanceTester[_0x563e2c(0x290)](PerformanceEvents[_0x563e2c(0x23a)]);try{const {browserstackFolderPath:_0x22863b,tcgConfigPath:_0x541b47}=helper[_0x563e2c(0x29d)]();fs[_0x563e2c(0x2a4)](_0x541b47),fs['rmdirSync'](_0x22863b);}catch(_0x25d1d3){logger[_0x563e2c(0x25e)](_0x17ffee[_0x563e2c(0x280)],_0x25d1d3);}process[_0x563e2c(0x269)]=_0x1df9c7,logger['debug'](_0x563e2c(0x1f8)+_0x1df9c7),logger[_0x563e2c(0x2a9)](_0x563e2c(0x25b)+_0x4c2f5c);if(helper[_0x563e2c(0x1ff)](_0x4d29cc)&&helper[_0x563e2c(0x1ff)](_0x4d29cc[_0x563e2c(0x1f6)])&&fs[_0x563e2c(0x24a)](_0x4d29cc[_0x563e2c(0x1f6)]['workingDir']))try{const _0x4c970a={};_0x4c970a['recursive']=!![],_0x4c970a[_0x563e2c(0x229)]=!![],fs[_0x563e2c(0x2a6)](_0x4d29cc[_0x563e2c(0x1f6)][_0x563e2c(0x27f)],_0x4c970a),logger[_0x563e2c(0x25e)](_0x563e2c(0x259)+_0x4d29cc[_0x563e2c(0x1f6)]['workingDir']);}catch(_0x1312e7){logger[_0x563e2c(0x294)](_0x563e2c(0x2aa)+_0x1312e7);}let _0x404d4a=null;if(fs[_0x563e2c(0x24a)](_0x85aee0)){_0x404d4a=fs[_0x563e2c(0x295)](_0x85aee0);try{_0x404d4a=JSON['parse'](_0x404d4a);}catch(_0x5eb884){logger['debug'](_0x563e2c(0x233)+_0x85aee0+',\x20'+_0x404d4a+'\x20:\x20'+_0x5eb884);}fs[_0x563e2c(0x2a4)](_0x85aee0);}fs['unlinkSync'](_0x4c2f5c),fs['unlinkSync'](_0x27d4d3),_0x404d4a&&(_0x1bb707[_0x563e2c(0x242)]=helper[_0x563e2c(0x228)](_0x404d4a,_0x17ffee[_0x563e2c(0x226)],_0x1bb707));try{await TestHubHandler['stop']();}catch(_0x1aae50){console[_0x563e2c(0x254)](_0x1aae50),_0x17ffee[_0x563e2c(0x22a)](debug,'Exception\x20in\x20stop\x20build\x20request\x20to\x20TestHub\x20:\x20'+util[_0x563e2c(0x257)](_0x1aae50));}testOpsHelper[_0x563e2c(0x28c)](),TestDetails[_0x563e2c(0x2a8)](),await utilities[_0x563e2c(0x270)](_0x1bb707);});}module[a16_0x3b4897(0x1fb)]=run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a17_0x1b22f8=a17_0x3209;(function(_0x33db88,_0x45ac80){const _0x1e9c0b=a17_0x3209,_0x544ab4=_0x33db88();while(!![]){try{const _0x4c9a09=parseInt(_0x1e9c0b(0x125))/0x1*(-parseInt(_0x1e9c0b(0x11d))/0x2)+-parseInt(_0x1e9c0b(0x119))/0x3+parseInt(_0x1e9c0b(0x11c))/0x4+parseInt(_0x1e9c0b(0x12a))/0x5+parseInt(_0x1e9c0b(0x11b))/0x6*(parseInt(_0x1e9c0b(0x116))/0x7)+parseInt(_0x1e9c0b(0x11f))/0x8*(parseInt(_0x1e9c0b(0x124))/0x9)+parseInt(_0x1e9c0b(0x122))/0xa*(parseInt(_0x1e9c0b(0x126))/0xb);if(_0x4c9a09===_0x45ac80)break;else _0x544ab4['push'](_0x544ab4['shift']());}catch(_0x1dc5f0){_0x544ab4['push'](_0x544ab4['shift']());}}}(a17_0x2887,0x687bf));function a17_0x3209(_0x20b0b2,_0x2fa7b8){const _0x288708=a17_0x2887();return a17_0x3209=function(_0x3209bc,_0x42a369){_0x3209bc=_0x3209bc-0x116;let _0x5a209b=_0x288708[_0x3209bc];return _0x5a209b;},a17_0x3209(_0x20b0b2,_0x2fa7b8);}const path=require('path'),{requireModule}=require(a17_0x1b22f8(0x12b));let initJestAdapter=requireModule('jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js',a17_0x1b22f8(0x117));initJestAdapter=typeof initJestAdapter===a17_0x1b22f8(0x118)?initJestAdapter:initJestAdapter[a17_0x1b22f8(0x11a)];const FRAMEWORK_INITIALIZER=path[a17_0x1b22f8(0x120)](__dirname,a17_0x1b22f8(0x12c));function a17_0x2887(){const _0x28acb2=['mmFno','225888qQZrcA','join','initRequireModule','15870oCZKxT','requireInternalModule','171FmnKwV','35362HzYzET','495yaqGKp','kZyZR','exports','jestAdapterInit','595360MqAQqX','../../../helpers/helper','customJestAdapterInit.js','1976149UnUlTo','jest-circus','function','1485600OybVWk','default','6kuxRyg','928588CZSREX','18UeZeGZ'];a17_0x2887=function(){return _0x28acb2;};return a17_0x2887();}module[a17_0x1b22f8(0x128)]=(..._0x21dae5)=>{const _0x581b8d=a17_0x1b22f8,_0x2c3f22={'kZyZR':_0x581b8d(0x129),'rnVJr':function(_0x1ba67e,_0x4a5cdf){return _0x1ba67e===_0x4a5cdf;},'mmFno':function(_0x550bc5,..._0x50cd92){return _0x550bc5(..._0x50cd92);}};return _0x21dae5[0x3]['initRequireModule']=_0x21dae5[0x3][_0x581b8d(0x123)],_0x21dae5[0x3][_0x581b8d(0x123)]=(..._0x573d3b)=>{const _0x5a2ebc=_0x581b8d;if(_0x573d3b[0x0]&&_0x573d3b[0x0]['includes'](_0x2c3f22[_0x5a2ebc(0x127)])&&_0x2c3f22['rnVJr'](_0x573d3b[0x1],undefined))return _0x21dae5[0x3][_0x5a2ebc(0x121)](FRAMEWORK_INITIALIZER);return _0x21dae5[0x3][_0x5a2ebc(0x121)](..._0x573d3b);},_0x2c3f22[_0x581b8d(0x11e)](initJestAdapter,..._0x21dae5);};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a18_0x515f(_0x26e6ae,_0x4b6d40){const _0xd8a075=a18_0xd8a0();return a18_0x515f=function(_0x515f18,_0x278268){_0x515f18=_0x515f18-0x16c;let _0x598f0a=_0xd8a075[_0x515f18];return _0x598f0a;},a18_0x515f(_0x26e6ae,_0x4b6d40);}const a18_0x350cc5=a18_0x515f;(function(_0x3b59b3,_0x4918b0){const _0x56eb32=a18_0x515f,_0x11238b=_0x3b59b3();while(!![]){try{const _0x36b8a7=-parseInt(_0x56eb32(0x179))/0x1*(parseInt(_0x56eb32(0x1ae))/0x2)+parseInt(_0x56eb32(0x1df))/0x3*(-parseInt(_0x56eb32(0x1a2))/0x4)+-parseInt(_0x56eb32(0x16c))/0x5*(parseInt(_0x56eb32(0x1d3))/0x6)+parseInt(_0x56eb32(0x196))/0x7+parseInt(_0x56eb32(0x1ac))/0x8+-parseInt(_0x56eb32(0x1e2))/0x9*(-parseInt(_0x56eb32(0x16d))/0xa)+parseInt(_0x56eb32(0x190))/0xb*(parseInt(_0x56eb32(0x189))/0xc);if(_0x36b8a7===_0x4918b0)break;else _0x11238b['push'](_0x11238b['shift']());}catch(_0x12a800){_0x11238b['push'](_0x11238b['shift']());}}}(a18_0xd8a0,0x41746));const helper=require(a18_0x350cc5(0x18e)),constants=require(a18_0x350cc5(0x1c0)),{isTestObservabilitySession}=require(a18_0x350cc5(0x197)),RequestQueueHandler=require(a18_0x350cc5(0x171)),ObservabilityReporter=require('../test-observability/obsReporter'),testhubUtils=require(a18_0x350cc5(0x1a4)),logger=require(a18_0x350cc5(0x1b8))[a18_0x350cc5(0x1c1)],getTestEnvironment=((()=>{const _0x3a0d35=a18_0x350cc5,_0x15485a={};_0x15485a[_0x3a0d35(0x1d0)]=_0x3a0d35(0x1a9),_0x15485a['YKBIk']=_0x3a0d35(0x1d7);const _0x20fcf1=_0x15485a;try{const _0x3048bc=helper[_0x3a0d35(0x1b3)](_0x20fcf1['pwhgF']);if(_0x3048bc['resolveTestEnvironment'])return _0x3048bc[_0x3a0d35(0x17a)];const _0x10afea=helper[_0x3a0d35(0x1b3)](_0x20fcf1['YKBIk']);if(_0x10afea[_0x3a0d35(0x1d9)])return _0x10afea[_0x3a0d35(0x1d9)];}catch{return()=>null;}return()=>null;})()),_jestUserEnvironment=((()=>{const _0x2d46a1=a18_0x350cc5,_0x340f66={'oFRvr':function(_0x378131,_0x5c49a6){return _0x378131(_0x5c49a6);},'zUaJT':_0x2d46a1(0x1b6),'JtsXB':_0x2d46a1(0x1bc)},_0x589091=_0x340f66['oFRvr'](getTestEnvironment,{'rootDir':process[_0x2d46a1(0x19f)](),'testEnvironment':process[_0x2d46a1(0x1e1)][_0x2d46a1(0x1cf)]||_0x340f66[_0x2d46a1(0x1b5)]});if(!_0x589091)return _0x340f66[_0x2d46a1(0x1ba)](_interopRequireDefault,helper[_0x2d46a1(0x1b3)](_0x340f66[_0x2d46a1(0x175)]));return _0x340f66[_0x2d46a1(0x1ba)](_interopRequireDefault,helper[_0x2d46a1(0x1b3)](_0x589091));})()),_seleniumWebdriver2=((()=>{const _0x4fc1a6=a18_0x350cc5,_0x351bcd={'uxKyt':function(_0x48afae,_0x5f0453){return _0x48afae(_0x5f0453);}};try{const _0x3a8a8f=helper[_0x4fc1a6(0x184)]();return helper['modifyCommand'](),_0x351bcd[_0x4fc1a6(0x195)](_interopRequireDefault,_0x3a8a8f);}catch{return null;}})());function _interopRequireDefault(_0xc1d65b){const _0x5d4380=a18_0x350cc5;return _0xc1d65b&&_0xc1d65b[_0x5d4380(0x19e)]?_0xc1d65b:{'default':_0xc1d65b};}const originalBuilder=_seleniumWebdriver2?_seleniumWebdriver2['default']['Builder']:null;function a18_0xd8a0(){const _0x21a777=['percyCaptureMode','cleanup','global','QPLnP','2955IGSnqT','configuration','env','9wEVPCW','skipSessionName','5BChQXT','842450zwMqlp','__driversArray','browserstackPercyBestPlatform','quit','../../../helpers/test-observability/requestQueueHandler','join','Builder','tyBMk','JtsXB','shutdown','__platformCaps','failFastActive','40CppHxX','resolveTestEnvironment','percy','timeout__','platformCaps','debug','testEnvironmentOptions','__webdriver','browserstackPlatformIndex','FRAMEWORKS','default','requireSeleniumWebdriver','projectName','../../../index','name','driver','95664EeAkdZ','failFastOptions','iXGKc','skipSessionStatus','split','../../../helpers/helper','DAVxr','1078fdNEDW','browserStackGlobals','munbh','Stptu','lXUHR','uxKyt','2463510dWSKfO','../../../helpers/test-observability/utils','builder','__drivers','__jestRetries','getInstance','testContext','isNotUndefined','__esModule','cwd','shouldProcessEventForTesthub','test_done','248icNPvL','capability','../../../helpers/testhub/utils','hpVRc','\x20>\x20','uGgFM','nestedKeyValue','jest-resolve','zpXWm','__skipSessionStatus','200160sHRTvo','projectConfig','23086BgIvaP','Fail-fast\x20is\x20active,\x20skipping\x20test::\x20','isBrowserstackInfra','LxAPR','retries__','requireModule','test','zUaJT','node','handleTestEvent','../../../helpers/logger','framework','oFRvr','LmhMz','jest-environment-node','ziBYj','failFast','xUcyn','../../utils/constants','winstonLogger','testPath','mode','__timeout','shouldFailFast','isTrue','sessionNameProvided','errors','bstack:options','skip','chivR','exports','onTestDone','NGopp','BSTACK_JEST_TEST_ENV','pwhgF','registerListeners','baxhz','2709354aUEOgO','QQfEY','BSTACK_DELTA','4|3|1|8|2|6|7|0|9|5','jest-config','Error\x20in\x20fail-fast\x20test_done\x20handler:','getTestEnvironment','tJwWB'];a18_0xd8a0=function(){return _0x21a777;};return a18_0xd8a0();}class CustomEnvironment extends _jestUserEnvironment[a18_0x350cc5(0x183)]{constructor(_0x13df26){const _0x2d04cc=a18_0x350cc5,_0x2081b0={'tJwWB':_0x2d04cc(0x170),'LlGPP':function(_0x43e543,_0xe15c26){return _0x43e543+_0xe15c26;},'tyBMk':_0x2d04cc(0x1c9),'zpXWm':function(_0x1a2960,_0x299438){return _0x1a2960(_0x299438);},'hpVRc':'../../../helpers/test-orchestration/failfastManager','chivR':_0x2d04cc(0x1d6),'lXUHR':'testEnvironmentOptions','QPLnP':'browserStackPercyOptions','LmhMz':_0x2d04cc(0x17b),'BClEq':_0x2d04cc(0x186),'munbh':_0x2d04cc(0x1db),'uGgFM':_0x2d04cc(0x17d),'LxAPR':_0x2d04cc(0x16f)};super(_0x13df26),this[_0x2d04cc(0x1dd)][_0x2d04cc(0x1c4)]=0x0,this[_0x2d04cc(0x1e0)]={};!_0x13df26[_0x2d04cc(0x17f)]&&(_0x13df26[_0x2d04cc(0x17f)]={});if(helper[_0x2d04cc(0x1b0)]()){_0x13df26['testEnvironmentOptions']=_0x13df26[_0x2d04cc(0x1ad)]?_0x13df26['projectConfig'][_0x2d04cc(0x17f)]:_0x13df26[_0x2d04cc(0x17f)],this[_0x2d04cc(0x198)]=new _seleniumWebdriver2[(_0x2d04cc(0x183))][(_0x2d04cc(0x173))](),this[_0x2d04cc(0x1a3)]=_0x13df26[_0x2d04cc(0x1ad)]?_0x13df26[_0x2d04cc(0x1ad)][_0x2d04cc(0x1a3)]:_0x13df26['capability'],this[_0x2d04cc(0x1dd)][_0x2d04cc(0x1c4)]=_0x2081b0['LlGPP'](this[_0x2d04cc(0x1e0)][_0x2d04cc(0x17c)],constants[_0x2d04cc(0x1d5)]),this[_0x2d04cc(0x18a)]=_0x13df26[_0x2d04cc(0x17f)]['failFast'];if(this[_0x2d04cc(0x18a)]){const _0x5308a7=this[_0x2d04cc(0x1a3)][_0x2081b0['tyBMk']]?.['buildName']||'',_0x47f699=this[_0x2d04cc(0x1a3)][_0x2081b0[_0x2d04cc(0x174)]]?.[_0x2d04cc(0x185)]||'';this['failFast']=new(_0x2081b0[_0x2d04cc(0x1aa)](require,_0x2081b0[_0x2d04cc(0x1a5)]))(this['failFastOptions'],_0x5308a7,_0x47f699),this[_0x2d04cc(0x1dd)][_0x2d04cc(0x178)]=![];}helper[_0x2d04cc(0x19d)](this[_0x2d04cc(0x1e0)][_0x2d04cc(0x1b2)])&&(this[_0x2d04cc(0x1dd)][_0x2d04cc(0x19a)]=this['configuration'][_0x2d04cc(0x1b2)]);}if(testhubUtils[_0x2d04cc(0x1a0)]()){const _0x2ffb2a=new ObservabilityReporter();_0x2ffb2a[_0x2d04cc(0x1d1)]();}this[_0x2d04cc(0x1dd)][_0x2d04cc(0x191)]={},this['configuration']=_0x13df26['testEnvironmentOptions'],this['configuration'][_0x2d04cc(0x1b9)]=constants[_0x2d04cc(0x182)]['JEST'];if(_seleniumWebdriver2){const _0x318ec1=_0x2081b0[_0x2d04cc(0x1cb)][_0x2d04cc(0x18d)]('|');let _0x4dfa06=0x0;while(!![]){switch(_0x318ec1[_0x4dfa06++]){case'0':helper[_0x2d04cc(0x1c6)](this[_0x2d04cc(0x1e0)][_0x2d04cc(0x1e3)])?this['global'][_0x2d04cc(0x1c7)]=!![]:this[_0x2d04cc(0x1dd)][_0x2d04cc(0x1c7)]=![];continue;case'1':this['global'][_0x2d04cc(0x181)]=(_0x13df26[_0x2d04cc(0x1ad)]?_0x13df26[_0x2d04cc(0x1ad)][_0x2d04cc(0x181)]:_0x13df26['browserstackPlatformIndex'])||0x0;continue;case'2':this[_0x2d04cc(0x1dd)][_0x2d04cc(0x17b)]=helper['nestedKeyValue'](_0x13df26,[_0x2081b0[_0x2d04cc(0x194)],_0x2081b0[_0x2d04cc(0x1de)],_0x2081b0[_0x2d04cc(0x1bb)]]);continue;case'3':this[_0x2d04cc(0x1dd)][_0x2d04cc(0x180)]=_0x2081b0[_0x2d04cc(0x1aa)](require,_0x2081b0['BClEq'])['browserstackAgentV2']({...this[_0x2d04cc(0x1e0)],'capability':this['capability']||{}},this,testhubUtils[_0x2d04cc(0x1a0)]());continue;case'4':this[_0x2d04cc(0x1dd)][_0x2d04cc(0x199)]=[];continue;case'5':this[_0x2d04cc(0x1dd)][_0x2d04cc(0x1dc)]=async()=>{const _0x45fa47=_0x2d04cc;await this[_0x45fa47(0x1dd)][_0x45fa47(0x188)][_0x45fa47(0x170)](_0x2081b0[_0x45fa47(0x1da)]);};continue;case'6':this[_0x2d04cc(0x1dd)]['percyCaptureMode']=helper[_0x2d04cc(0x1a8)](_0x13df26,[_0x2081b0[_0x2d04cc(0x194)],_0x2081b0[_0x2d04cc(0x1de)],_0x2081b0[_0x2d04cc(0x192)]]);continue;case'7':this[_0x2d04cc(0x1dd)][_0x2d04cc(0x177)]=helper[_0x2d04cc(0x1a8)](this[_0x2d04cc(0x1e0)],[_0x2081b0[_0x2d04cc(0x1a7)],this[_0x2d04cc(0x1dd)][_0x2d04cc(0x181)]])||{};continue;case'8':this[_0x2d04cc(0x1dd)][_0x2d04cc(0x16f)]=helper[_0x2d04cc(0x1a8)](_0x13df26,[_0x2081b0[_0x2d04cc(0x194)],_0x2081b0['QPLnP'],_0x2081b0[_0x2d04cc(0x1b1)]]);continue;case'9':this[_0x2d04cc(0x1dd)][_0x2d04cc(0x1ab)]=helper[_0x2d04cc(0x1c6)](this['configuration'][_0x2d04cc(0x18c)]);continue;}break;}}}async['teardown'](){const _0x4f50=a18_0x350cc5;_seleniumWebdriver2&&(await helper['cleanupDrivers'](this['global'][_0x4f50(0x16e)]),this[_0x4f50(0x1dd)][_0x4f50(0x180)][_0x4f50(0x173)]=originalBuilder),await RequestQueueHandler[_0x4f50(0x19b)]()[_0x4f50(0x176)]();}async['setup'](){}async[a18_0x350cc5(0x1b7)](_0x1bf0ef,_0x5639cf){const _0x284c8b=a18_0x350cc5,_0x18e697={};_0x18e697[_0x284c8b(0x1bf)]=function(_0x21d44f,_0x50df24){return _0x21d44f===_0x50df24;},_0x18e697['NGopp']='test_start',_0x18e697['Stptu']=function(_0xced03d,_0x150693){return _0xced03d===_0x150693;},_0x18e697[_0x284c8b(0x18b)]=_0x284c8b(0x1ca),_0x18e697[_0x284c8b(0x1d4)]=_0x284c8b(0x1a1),_0x18e697['olhLV']=_0x284c8b(0x1a6),_0x18e697[_0x284c8b(0x1bd)]=function(_0x4060eb,_0x5807d){return _0x4060eb===_0x5807d;},_0x18e697[_0x284c8b(0x1d2)]=_0x284c8b(0x1d8),_0x18e697[_0x284c8b(0x18f)]=function(_0x340d5f,_0x494d1c){return _0x340d5f===_0x494d1c;},_0x18e697['tHeSu']='teardown';const _0x36ac7d=_0x18e697,{name:_0x22e03a}=_0x1bf0ef;if(_0x36ac7d['xUcyn'](_0x22e03a,_0x36ac7d[_0x284c8b(0x1ce)])){this['global'][_0x284c8b(0x19c)]=_0x1bf0ef['test'];if(_0x36ac7d[_0x284c8b(0x193)](this[_0x284c8b(0x1dd)]['failFastActive'],!![])){const _0x570caf=_0x1bf0ef[_0x284c8b(0x1b4)][_0x284c8b(0x187)];logger['info'](_0x284c8b(0x1af)+_0x570caf),_0x1bf0ef[_0x284c8b(0x1b4)][_0x284c8b(0x1c3)]=_0x36ac7d[_0x284c8b(0x18b)];}}if(this['failFast']&&_0x36ac7d[_0x284c8b(0x1bf)](_0x22e03a,_0x36ac7d[_0x284c8b(0x1d4)]))try{const _0x397cf6=_0x1bf0ef[_0x284c8b(0x1b4)][_0x284c8b(0x1c2)][_0x284c8b(0x172)](_0x36ac7d['olhLV']),_0x2b8a73=_0x1bf0ef[_0x284c8b(0x1b4)][_0x284c8b(0x1c8)];await this[_0x284c8b(0x1be)][_0x284c8b(0x1cd)](_0x397cf6,_0x2b8a73);const _0x6ea96e=await this[_0x284c8b(0x1be)][_0x284c8b(0x1c5)]();_0x36ac7d[_0x284c8b(0x193)](this[_0x284c8b(0x1dd)][_0x284c8b(0x178)],![])&&_0x36ac7d['ziBYj'](_0x6ea96e,!![])&&(this[_0x284c8b(0x1dd)][_0x284c8b(0x178)]=!![]);}catch(_0x1fdc25){logger[_0x284c8b(0x17e)](_0x36ac7d[_0x284c8b(0x1d2)],_0x1fdc25['message']);}_0x36ac7d[_0x284c8b(0x18f)](_0x22e03a,_0x36ac7d['tHeSu'])&&(this[_0x284c8b(0x1be)]&&this[_0x284c8b(0x1be)][_0x284c8b(0x1dc)]());}}module[a18_0x350cc5(0x1cc)]=CustomEnvironment;
|
|
1
|
+
function a18_0x202d(_0xcff4a1,_0x5c9498){const _0x661edc=a18_0x661e();return a18_0x202d=function(_0x202d83,_0x4d2ef6){_0x202d83=_0x202d83-0xe0;let _0x53cc44=_0x661edc[_0x202d83];return _0x53cc44;},a18_0x202d(_0xcff4a1,_0x5c9498);}const a18_0x5be8be=a18_0x202d;(function(_0x2bb381,_0x37f7c0){const _0x33360b=a18_0x202d,_0x1621a8=_0x2bb381();while(!![]){try{const _0x1eeab6=-parseInt(_0x33360b(0xec))/0x1+parseInt(_0x33360b(0x150))/0x2*(-parseInt(_0x33360b(0x10b))/0x3)+parseInt(_0x33360b(0x14b))/0x4+parseInt(_0x33360b(0x11e))/0x5+-parseInt(_0x33360b(0x145))/0x6*(-parseInt(_0x33360b(0x12d))/0x7)+parseInt(_0x33360b(0x143))/0x8+-parseInt(_0x33360b(0x128))/0x9*(parseInt(_0x33360b(0xe9))/0xa);if(_0x1eeab6===_0x37f7c0)break;else _0x1621a8['push'](_0x1621a8['shift']());}catch(_0x73d883){_0x1621a8['push'](_0x1621a8['shift']());}}}(a18_0x661e,0x22a27));const helper=require(a18_0x5be8be(0x130)),constants=require('../../utils/constants'),{isTestObservabilitySession}=require(a18_0x5be8be(0x107)),RequestQueueHandler=require(a18_0x5be8be(0x125)),ObservabilityReporter=require('../test-observability/obsReporter'),testhubUtils=require(a18_0x5be8be(0x13d)),logger=require(a18_0x5be8be(0x11b))['winstonLogger'],getTestEnvironment=((()=>{const _0x285e2c=a18_0x5be8be,_0x425746={};_0x425746[_0x285e2c(0x138)]=_0x285e2c(0x144),_0x425746['AzoHO']=_0x285e2c(0x119);const _0x368ca6=_0x425746;try{const _0x2d4807=helper[_0x285e2c(0xf2)](_0x368ca6[_0x285e2c(0x138)]);if(_0x2d4807[_0x285e2c(0x11c)])return _0x2d4807[_0x285e2c(0x11c)];const _0x5ddde5=helper[_0x285e2c(0xf2)](_0x368ca6[_0x285e2c(0x14a)]);if(_0x5ddde5[_0x285e2c(0x12f)])return _0x5ddde5[_0x285e2c(0x12f)];}catch{return()=>null;}return()=>null;})()),_jestUserEnvironment=((()=>{const _0x260231=a18_0x5be8be,_0x29eed8={'gyePd':function(_0x40ff3a,_0x2727d3){return _0x40ff3a(_0x2727d3);},'jKotO':_0x260231(0x112),'dmtFc':function(_0x3c7d86,_0x4ed7ae){return _0x3c7d86(_0x4ed7ae);},'DArbE':_0x260231(0x154),'nSzyC':function(_0x507a91,_0x146b01){return _0x507a91(_0x146b01);}},_0x3033d1=_0x29eed8[_0x260231(0xfc)](getTestEnvironment,{'rootDir':process['cwd'](),'testEnvironment':process[_0x260231(0x126)][_0x260231(0xf7)]||_0x29eed8[_0x260231(0x136)]});if(!_0x3033d1)return _0x29eed8[_0x260231(0x123)](_interopRequireDefault,helper[_0x260231(0xf2)](_0x29eed8[_0x260231(0x111)]));return _0x29eed8[_0x260231(0x134)](_interopRequireDefault,helper['requireModule'](_0x3033d1));})()),_seleniumWebdriver2=((()=>{const _0x3376ce=a18_0x5be8be,_0x45f8b9={'mTmmy':function(_0x3b06d1,_0x4562d3){return _0x3b06d1(_0x4562d3);}};try{const _0x23433c=helper[_0x3376ce(0xfb)]();return helper[_0x3376ce(0x10a)](),_0x45f8b9[_0x3376ce(0x137)](_interopRequireDefault,_0x23433c);}catch{return null;}})());function _interopRequireDefault(_0x21c721){const _0xfce090=a18_0x5be8be;return _0x21c721&&_0x21c721[_0xfce090(0x149)]?_0x21c721:{'default':_0x21c721};}const originalBuilder=_seleniumWebdriver2?_seleniumWebdriver2[a18_0x5be8be(0x13a)][a18_0x5be8be(0xe7)]:null;class CustomEnvironment extends _jestUserEnvironment[a18_0x5be8be(0x13a)]{constructor(_0x315b1b){const _0x54f806=a18_0x5be8be,_0x4ecf2e={'ejjev':_0x54f806(0x155),'uwyYS':function(_0x1c2799,_0xa172ea){return _0x1c2799+_0xa172ea;},'RNZiB':_0x54f806(0x103),'bEMLu':function(_0x585253,_0x34aa5f){return _0x585253(_0x34aa5f);},'xkSuS':_0x54f806(0xef),'vSKQf':_0x54f806(0xfd),'DaOuZ':_0x54f806(0x13e),'MPCHS':_0x54f806(0xf1),'otKJj':'browserstackPercyBestPlatform','fcMoV':function(_0x32cb65,_0x167ac8){return _0x32cb65(_0x167ac8);},'kAkKj':'../../../index','FlOuO':'percyCaptureMode','zeamJ':_0x54f806(0xf5),'sBRyr':_0x54f806(0xe1)};super(_0x315b1b),this['global'][_0x54f806(0x156)]=0x0,this[_0x54f806(0x116)]={};!_0x315b1b[_0x54f806(0x13e)]&&(_0x315b1b[_0x54f806(0x13e)]={});if(helper[_0x54f806(0xea)]()){_0x315b1b[_0x54f806(0x13e)]=_0x315b1b[_0x54f806(0x133)]?_0x315b1b[_0x54f806(0x133)][_0x54f806(0x13e)]:_0x315b1b[_0x54f806(0x13e)],this[_0x54f806(0x102)]=new _seleniumWebdriver2[(_0x54f806(0x13a))][(_0x54f806(0xe7))](),this[_0x54f806(0xeb)]=_0x315b1b[_0x54f806(0x133)]?_0x315b1b[_0x54f806(0x133)][_0x54f806(0xeb)]:_0x315b1b[_0x54f806(0xeb)],this[_0x54f806(0x12b)]['__timeout']=_0x4ecf2e[_0x54f806(0x13f)](this[_0x54f806(0x116)][_0x54f806(0x11f)],constants[_0x54f806(0x151)]),this[_0x54f806(0x132)]=_0x315b1b[_0x54f806(0x13e)][_0x54f806(0x14e)];if(this[_0x54f806(0x132)]){const _0x3d71a9=this['capability'][_0x4ecf2e[_0x54f806(0x148)]]?.[_0x54f806(0x122)]||'',_0x8179b7=this[_0x54f806(0xeb)][_0x4ecf2e['RNZiB']]?.[_0x54f806(0x124)]||'';this['failFast']=new(_0x4ecf2e['bEMLu'](require,_0x4ecf2e['xkSuS']))(this[_0x54f806(0x132)],_0x3d71a9,_0x8179b7),this[_0x54f806(0x12b)]['failFastActive']=![];}helper[_0x54f806(0x147)](this[_0x54f806(0x116)][_0x54f806(0x110)])&&(this[_0x54f806(0x12b)][_0x54f806(0x12a)]=this[_0x54f806(0x116)][_0x54f806(0x110)]);}if(testhubUtils[_0x54f806(0x140)]()){const _0x50858b=new ObservabilityReporter();_0x50858b[_0x54f806(0xfa)]();}this[_0x54f806(0x12b)][_0x54f806(0xf0)]={},this['configuration']=_0x315b1b['testEnvironmentOptions'],this[_0x54f806(0x116)][_0x54f806(0x129)]=constants[_0x54f806(0x135)]['JEST'];if(_seleniumWebdriver2){const _0x5c7a8f=_0x4ecf2e[_0x54f806(0xe6)]['split']('|');let _0x67ab68=0x0;while(!![]){switch(_0x5c7a8f[_0x67ab68++]){case'0':this[_0x54f806(0x12b)][_0x54f806(0x10d)]=helper[_0x54f806(0x10c)](_0x315b1b,[_0x4ecf2e[_0x54f806(0x11a)],_0x4ecf2e['MPCHS'],_0x4ecf2e[_0x54f806(0x118)]]);continue;case'1':helper[_0x54f806(0x152)](this[_0x54f806(0x116)][_0x54f806(0xf3)])?this['global'][_0x54f806(0x12e)]=!![]:this['global'][_0x54f806(0x12e)]=![];continue;case'2':this[_0x54f806(0x12b)][_0x54f806(0x117)]=[];continue;case'3':this[_0x54f806(0x12b)]['__webdriver']=_0x4ecf2e[_0x54f806(0xf4)](require,_0x4ecf2e[_0x54f806(0x105)])[_0x54f806(0x141)]({...this[_0x54f806(0x116)],'capability':this[_0x54f806(0xeb)]||{}},this,testhubUtils[_0x54f806(0x140)]());continue;case'4':this['global'][_0x54f806(0xf6)]=(_0x315b1b['projectConfig']?_0x315b1b[_0x54f806(0x133)][_0x54f806(0xf6)]:_0x315b1b[_0x54f806(0xf6)])||0x0;continue;case'5':this[_0x54f806(0x12b)]['percyCaptureMode']=helper[_0x54f806(0x10c)](_0x315b1b,[_0x4ecf2e[_0x54f806(0x11a)],_0x4ecf2e[_0x54f806(0xe3)],_0x4ecf2e['FlOuO']]);continue;case'6':this[_0x54f806(0x12b)][_0x54f806(0xe4)]=async()=>{const _0x3b437b=_0x54f806;await this['global'][_0x3b437b(0xed)][_0x3b437b(0x155)](_0x4ecf2e[_0x3b437b(0x13c)]);};continue;case'7':this[_0x54f806(0x12b)][_0x54f806(0x139)]=helper[_0x54f806(0x10c)](this['configuration'],[_0x4ecf2e[_0x54f806(0x11d)],this[_0x54f806(0x12b)]['browserstackPlatformIndex']])||{};continue;case'8':this[_0x54f806(0x12b)][_0x54f806(0x10e)]=helper[_0x54f806(0x152)](this[_0x54f806(0x116)][_0x54f806(0xfe)]);continue;case'9':this[_0x54f806(0x12b)][_0x54f806(0xe1)]=helper[_0x54f806(0x10c)](_0x315b1b,[_0x4ecf2e['DaOuZ'],_0x4ecf2e[_0x54f806(0xe3)],_0x4ecf2e[_0x54f806(0xf8)]]);continue;}break;}}}async['teardown'](){const _0x3c6bcb=a18_0x5be8be;_seleniumWebdriver2&&(await helper['cleanupDrivers'](this[_0x3c6bcb(0x12b)][_0x3c6bcb(0x106)]),this[_0x3c6bcb(0x12b)][_0x3c6bcb(0x104)][_0x3c6bcb(0xe7)]=originalBuilder),await RequestQueueHandler[_0x3c6bcb(0x146)]()[_0x3c6bcb(0x109)]();}async[a18_0x5be8be(0x14f)](){}async[a18_0x5be8be(0xee)](_0x54fa31,_0x331aa1){const _0x5157e9=a18_0x5be8be,_0x47d888={};_0x47d888['gpJwo']=function(_0x2f48c2,_0x50b6a3){return _0x2f48c2===_0x50b6a3;},_0x47d888[_0x5157e9(0xf9)]=_0x5157e9(0xe8),_0x47d888[_0x5157e9(0x114)]=function(_0x58b882,_0x1c535c){return _0x58b882===_0x1c535c;},_0x47d888['KFlMv']=_0x5157e9(0x131),_0x47d888['BUqKf']=function(_0x54aad7,_0x1790c8){return _0x54aad7===_0x1790c8;},_0x47d888['bjvsm']=_0x5157e9(0x113),_0x47d888[_0x5157e9(0x13b)]=_0x5157e9(0x14d),_0x47d888[_0x5157e9(0xe5)]=_0x5157e9(0x142),_0x47d888[_0x5157e9(0x14c)]=function(_0x4256d5,_0x4ad0ce){return _0x4256d5===_0x4ad0ce;},_0x47d888[_0x5157e9(0xff)]='teardown';const _0x5c7c0f=_0x47d888,{name:_0x58aebc}=_0x54fa31;if(_0x5c7c0f[_0x5157e9(0x108)](_0x58aebc,_0x5c7c0f[_0x5157e9(0xf9)])){this['global'][_0x5157e9(0x121)]=_0x54fa31[_0x5157e9(0xe0)];if(_0x5c7c0f['KnRoD'](this[_0x5157e9(0x12b)][_0x5157e9(0x12c)],!![])){const _0x3f6808=_0x54fa31[_0x5157e9(0xe0)][_0x5157e9(0xe2)];logger['info'](_0x5157e9(0x153)+_0x3f6808),_0x54fa31['test']['mode']=_0x5c7c0f[_0x5157e9(0x115)];}}if(this['failFast']&&_0x5c7c0f[_0x5157e9(0x100)](_0x58aebc,_0x5c7c0f[_0x5157e9(0x101)]))try{const _0x530b5d=_0x54fa31[_0x5157e9(0xe0)][_0x5157e9(0x127)][_0x5157e9(0x10f)](_0x5c7c0f['VEtfz']),_0xc4fe0e=_0x54fa31['test']['errors'];await this[_0x5157e9(0x14e)]['onTestDone'](_0x530b5d,_0xc4fe0e);const _0x5aecb5=await this[_0x5157e9(0x14e)][_0x5157e9(0x120)]();_0x5c7c0f[_0x5157e9(0x108)](this['global'][_0x5157e9(0x12c)],![])&&_0x5c7c0f[_0x5157e9(0x108)](_0x5aecb5,!![])&&(this[_0x5157e9(0x12b)][_0x5157e9(0x12c)]=!![]);}catch(_0x290bf0){logger['debug'](_0x5c7c0f[_0x5157e9(0xe5)],_0x290bf0['message']);}_0x5c7c0f['Vrocy'](_0x58aebc,_0x5c7c0f[_0x5157e9(0xff)])&&(this[_0x5157e9(0x14e)]&&this[_0x5157e9(0x14e)]['cleanup']());}}module['exports']=CustomEnvironment;function a18_0x661e(){const _0x3b4e28=['global','failFastActive','2485rnIQnK','sessionNameProvided','getTestEnvironment','../../../helpers/helper','skip','failFastOptions','projectConfig','nSzyC','FRAMEWORKS','jKotO','mTmmy','hgJTr','__platformCaps','default','VEtfz','ejjev','../../../helpers/testhub/utils','testEnvironmentOptions','uwyYS','shouldProcessEventForTesthub','browserstackAgentV2','Error\x20in\x20fail-fast\x20test_done\x20handler:','2257304mzDEEZ','jest-resolve','3804HIBqmN','getInstance','isNotUndefined','RNZiB','__esModule','AzoHO','884592dXZnzc','Vrocy','\x20>\x20','failFast','setup','142PVgczg','BSTACK_DELTA','isTrue','Fail-fast\x20is\x20active,\x20skipping\x20test::\x20','jest-environment-node','quit','__timeout','test','percy','name','MPCHS','cleanup','DMIuk','vSKQf','Builder','test_start','31670XMwXoX','isBrowserstackInfra','capability','167555uDCjUl','driver','handleTestEvent','../../../helpers/test-orchestration/failfastManager','browserStackGlobals','browserStackPercyOptions','requireModule','skipSessionName','fcMoV','platformCaps','browserstackPlatformIndex','BSTACK_JEST_TEST_ENV','sBRyr','ebXTl','registerListeners','requireSeleniumWebdriver','gyePd','2|3|4|0|9|5|7|1|8|6','skipSessionStatus','gYAtq','BUqKf','bjvsm','builder','bstack:options','__webdriver','kAkKj','__driversArray','../../../helpers/test-observability/utils','gpJwo','shutdown','modifyCommand','1059OBYrvK','nestedKeyValue','browserstackPercyBestPlatform','__skipSessionStatus','join','retries__','DArbE','node','test_done','KnRoD','KFlMv','configuration','__drivers','otKJj','jest-config','DaOuZ','../../../helpers/logger','resolveTestEnvironment','zeamJ','991645koIoHZ','timeout__','shouldFailFast','testContext','buildName','dmtFc','projectName','../../../helpers/test-observability/requestQueueHandler','env','testPath','1683qbXVuy','framework','__jestRetries'];a18_0x661e=function(){return _0x3b4e28;};return a18_0x661e();}
|