browserstack-node-sdk 1.67.0 → 1.68.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/browserstack.yml.sample +34 -1
- package/package.json +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/detox/a11ySetup.js +1 -1
- package/src/bin/detox/command.js +1 -1
- package/src/bin/detox/modifyDetoxConf.js +1 -1
- package/src/bin/detox/traEmitter.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jasmine/bstack-reporter/customReporter.js +1 -1
- package/src/bin/jasmine/command.js +1 -1
- package/src/bin/jasmine/test.setup.js +1 -1
- package/src/bin/jasmine/testRunMap.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customSequencer.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test.setup.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/load/index.js +1 -1
- package/src/bin/load/loadErrors.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/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/newman/command.js +1 -1
- package/src/bin/newman/helper.js +1 -1
- package/src/bin/newman/reporter/index.js +1 -1
- package/src/bin/newman/scriptRunner.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/node-generic/client.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/reporterArgs.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/puppeteer/patches.js +1 -1
- package/src/bin/puppeteer/sessionDetails.js +1 -1
- package/src/bin/puppeteer/test.setup.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/testcafe/a11y-runner.js +1 -1
- package/src/bin/testcafe/command.js +1 -1
- package/src/bin/testcafe/reporter/index.js +1 -1
- package/src/bin/testcafe/reporter/tcUtils.js +1 -1
- package/src/bin/testcafe/session-registry.js +1 -1
- package/src/bin/testcafe/stdout-interceptor.js +1 -1
- package/src/bin/testcafe/testcafe-action-patcher.js +1 -1
- package/src/bin/testcafe/w3c-driver.js +1 -1
- package/src/bin/utils/apiUtilityMethods.js +1 -1
- package/src/bin/utils/clientTroubleshootingService.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/utils/playwright-patcher.js +1 -1
- package/src/bin/utils/puppeteer-patcher.js +1 -1
- package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
- package/src/bin/utils/sharedUtils.js +1 -1
- package/src/bin/v2/TestInfo.js +1 -1
- package/src/bin/v2/browserstackCLI.js +1 -1
- package/src/bin/v2/cliUtils.js +1 -1
- package/src/bin/v2/customTagManager.js +1 -1
- package/src/bin/v2/eventDispatcher.js +1 -1
- package/src/bin/v2/framework/automationFramework.js +1 -1
- package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
- package/src/bin/v2/framework/jestTestFramework.js +1 -1
- package/src/bin/v2/framework/newmanTestFramework.js +1 -1
- package/src/bin/v2/framework/nodeGenericTestFramework.js +1 -1
- package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
- package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
- package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
- package/src/bin/v2/framework/testFramework.js +1 -1
- package/src/bin/v2/framework/testcafeAutomationFramework.js +1 -1
- package/src/bin/v2/framework/testcafeTestFramework.js +1 -1
- package/src/bin/v2/grpcClient.js +1 -1
- package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/trackedContext.js +1 -1
- package/src/bin/v2/instances/trackedInstance.js +1 -1
- package/src/bin/v2/modules/accessibilityModule.js +1 -1
- package/src/bin/v2/modules/baseModule.js +1 -1
- package/src/bin/v2/modules/loadTestModule.js +1 -1
- package/src/bin/v2/modules/observabilityModule.js +1 -1
- package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
- package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
- package/src/bin/v2/modules/testcafeDriverModule.js +1 -1
- package/src/bin/v2/modules/testhubModule.js +1 -1
- package/src/bin/v2/sdkErrorHandler.js +1 -1
- package/src/bin/v2/state/automationFrameworkState.js +1 -1
- package/src/bin/v2/state/hookState.js +1 -1
- package/src/bin/v2/state/testFrameworkState.js +1 -1
- package/src/bin/v2/uploadAttachmentsManager.js +1 -1
- package/src/bin/v2/utils/cucumber-utils.js +1 -1
- package/src/bin/v2/utils/jest-utils.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/caCertHelper.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/driverInitErrorReporter.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/metadata.js +1 -1
- package/src/helpers/patchHelper.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance/constants.js +1 -1
- package/src/helpers/performance/performance-tester.js +1 -1
- package/src/helpers/playwright-helper.js +1 -1
- package/src/helpers/processHelper.js +1 -1
- package/src/helpers/puppeteer-helper.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/stackFrameUtils.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/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a119_0x2ebf96=a119_0x29a3;(function(_0x56e202,_0x43a201){const _0x5476ff=a119_0x29a3,_0x273157=_0x56e202();while(!![]){try{const _0x116482=-parseInt(_0x5476ff(0x190))/0x1+parseInt(_0x5476ff(0x189))/0x2*(-parseInt(_0x5476ff(0x194))/0x3)+-parseInt(_0x5476ff(0x17e))/0x4*(-parseInt(_0x5476ff(0x182))/0x5)+parseInt(_0x5476ff(0x192))/0x6*(parseInt(_0x5476ff(0x191))/0x7)+parseInt(_0x5476ff(0x180))/0x8+-parseInt(_0x5476ff(0x17f))/0x9*(-parseInt(_0x5476ff(0x188))/0xa)+-parseInt(_0x5476ff(0x181))/0xb;if(_0x116482===_0x43a201)break;else _0x273157['push'](_0x273157['shift']());}catch(_0x551593){_0x273157['push'](_0x273157['shift']());}}}(a119_0x2549,0x6aad4));const {PLAYWRIGHT}=require('../../utils/constants'),a119_0x4bf95a={};a119_0x4bf95a[a119_0x2ebf96(0x187)]=0x0,a119_0x4bf95a[a119_0x2ebf96(0x18b)]=function(){const _0x46f386=a119_0x2ebf96,_0x3536ae={};_0x3536ae['BBLaH']=_0x46f386(0x18c);const _0x2c77b3=_0x3536ae;return _0x2c77b3[_0x46f386(0x195)];};function a119_0x29a3(_0x335cc9,_0x88abf2){const _0x25494b=a119_0x2549();return a119_0x29a3=function(_0x29a393,_0x11c1cf){_0x29a393=_0x29a393-0x17e;let _0x3b1f29=_0x25494b[_0x29a393];return _0x3b1f29;},a119_0x29a3(_0x335cc9,_0x88abf2);}const a119_0xe58f40={};a119_0xe58f40[a119_0x2ebf96(0x187)]=0x1,a119_0xe58f40[a119_0x2ebf96(0x18b)]=function(){const _0x5df902=a119_0x2ebf96,_0x45ef85={};_0x45ef85[_0x5df902(0x18f)]=_0x5df902(0x18e);const _0x5f1c46=_0x45ef85;return _0x5f1c46['eIhHq'];};const a119_0x27730c={};a119_0x27730c[a119_0x2ebf96(0x187)]=0x2,a119_0x27730c[a119_0x2ebf96(0x18b)]=function(){const _0x160c71=a119_0x2ebf96,_0x3c102f={};_0x3c102f[_0x160c71(0x184)]='AutomationFrameworkState.PLAYWRIGHT_DISPATCH';const _0x2fcbd6=_0x3c102f;return _0x2fcbd6[_0x160c71(0x184)];};const a119_0x3f29b9={};a119_0x3f29b9[a119_0x2ebf96(0x187)]=0x3,a119_0x3f29b9[a119_0x2ebf96(0x18b)]=function(){const _0x31eb7e=a119_0x2ebf96,_0x383ade={};_0x383ade[_0x31eb7e(0x18a)]='AutomationFrameworkState.EXECUTE';const _0x5a22e3=_0x383ade;return _0x5a22e3[_0x31eb7e(0x18a)];};const a119_0x5ea560={};function a119_0x2549(){const _0x53b1ff=['exports','Lgxpl','value','335180UHDNfh','14258cvBVub','mLUXT','toString','AutomationFrameworkState.NONE','find','AutomationFrameworkState.CREATE','eIhHq','612357EgDFly','3316747sVsSSJ','6xllNvh','VLRzB','249RLayaP','BBLaH','freeze','values','5428azBqvh','225cAAGef','2014144ByzDjX','3730386WVXJCr','1535szCKMs','AutomationFrameworkState.IDLE','UvIPE'];a119_0x2549=function(){return _0x53b1ff;};return a119_0x2549();}a119_0x5ea560[a119_0x2ebf96(0x187)]=0x4,a119_0x5ea560[a119_0x2ebf96(0x18b)]=function(){const _0x208198=a119_0x2ebf96,_0x5cc3a9={};_0x5cc3a9[_0x208198(0x186)]=_0x208198(0x183);const _0x586cc7=_0x5cc3a9;return _0x586cc7[_0x208198(0x186)];};const a119_0x20bf68={};a119_0x20bf68[a119_0x2ebf96(0x187)]=0x5,a119_0x20bf68[a119_0x2ebf96(0x18b)]=function(){const _0x3becbc=a119_0x2ebf96,_0x258f6b={};_0x258f6b[_0x3becbc(0x193)]='AutomationFrameworkState.QUIT';const _0x5926f5=_0x258f6b;return _0x5926f5['VLRzB'];};const AutomationFrameworkState=Object[a119_0x2ebf96(0x196)]({'NONE':a119_0x4bf95a,'CREATE':a119_0xe58f40,'PLAYWRIGHT_DISPATCH':a119_0x27730c,'EXECUTE':a119_0x3f29b9,'IDLE':a119_0x5ea560,'QUIT':a119_0x20bf68,'fromValue'(_0xb09c2a){const _0x33c07d=a119_0x2ebf96;return Object[_0x33c07d(0x197)](AutomationFrameworkState)[_0x33c07d(0x18d)](_0x5a02d9=>_0x5a02d9[_0x33c07d(0x187)]===_0xb09c2a);}});module[a119_0x2ebf96(0x185)]=AutomationFrameworkState;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a120_0x114bcd=a120_0x56df;(function(_0x511dff,_0x4bb7ec){const _0x2b4146=a120_0x56df,_0x220e2f=_0x511dff();while(!![]){try{const _0x306add=parseInt(_0x2b4146(0x18c))/0x1+-parseInt(_0x2b4146(0x189))/0x2*(parseInt(_0x2b4146(0x190))/0x3)+-parseInt(_0x2b4146(0x196))/0x4*(-parseInt(_0x2b4146(0x18d))/0x5)+parseInt(_0x2b4146(0x187))/0x6+parseInt(_0x2b4146(0x18a))/0x7*(parseInt(_0x2b4146(0x188))/0x8)+parseInt(_0x2b4146(0x186))/0x9+parseInt(_0x2b4146(0x182))/0xa*(-parseInt(_0x2b4146(0x191))/0xb);if(_0x306add===_0x4bb7ec)break;else _0x220e2f['push'](_0x220e2f['shift']());}catch(_0x3131e1){_0x220e2f['push'](_0x220e2f['shift']());}}}(a120_0x46e7,0x8d683));const a120_0x52b56b={};a120_0x52b56b[a120_0x114bcd(0x195)]=0x0,a120_0x52b56b['toString']=function(){const _0xfc6704=a120_0x114bcd,_0x3d89e3={};_0x3d89e3['IaauE']='HookState.NONE';const _0x7329f=_0x3d89e3;return _0x7329f[_0xfc6704(0x194)];};const a120_0x4ee001={};a120_0x4ee001[a120_0x114bcd(0x195)]=0x1,a120_0x4ee001[a120_0x114bcd(0x192)]=function(){const _0x1fd5d6=a120_0x114bcd,_0x474a54={};_0x474a54[_0x1fd5d6(0x18f)]=_0x1fd5d6(0x183);const _0x143324=_0x474a54;return _0x143324[_0x1fd5d6(0x18f)];};const a120_0x42d51b={};function a120_0x46e7(){const _0x106ab3=['freeze','hhtQS','9228735LGCCfV','1886472vOFpQB','7198984vzjfPP','284134ufUKHc','7iWAhPf','HookState.POST','629408rBOjBa','5Lirruh','values','Xselj','6WfWJpe','14718sVBRJw','toString','find','IaauE','value','4206236GAPsid','22850fvmmAI','HookState.PRE'];a120_0x46e7=function(){return _0x106ab3;};return a120_0x46e7();}function a120_0x56df(_0x1ddd95,_0x190d7b){const _0x46e7ce=a120_0x46e7();return a120_0x56df=function(_0x56dfb3,_0x57cf69){_0x56dfb3=_0x56dfb3-0x182;let _0x175c17=_0x46e7ce[_0x56dfb3];return _0x175c17;},a120_0x56df(_0x1ddd95,_0x190d7b);}a120_0x42d51b[a120_0x114bcd(0x195)]=0x2,a120_0x42d51b['toString']=function(){const _0x22a5c8=a120_0x114bcd,_0x1ee16c={};_0x1ee16c[_0x22a5c8(0x185)]=_0x22a5c8(0x18b);const _0x1d6599=_0x1ee16c;return _0x1d6599['hhtQS'];};const HookState=Object[a120_0x114bcd(0x184)]({'NONE':a120_0x52b56b,'PRE':a120_0x4ee001,'POST':a120_0x42d51b,'fromValue'(_0x45d498){const _0xfc0875=a120_0x114bcd;return Object[_0xfc0875(0x18e)](HookState)[_0xfc0875(0x193)](_0x11750d=>_0x11750d[_0xfc0875(0x195)]===_0x45d498);}});module['exports']=HookState;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a121_0x15c74d=a121_0x2824;(function(_0x511a8c,_0x341404){const _0x4610d7=a121_0x2824,_0x5ce57d=_0x511a8c();while(!![]){try{const _0x5cdc71=-parseInt(_0x4610d7(0xa4))/0x1*(-parseInt(_0x4610d7(0x8d))/0x2)+parseInt(_0x4610d7(0xa5))/0x3*(parseInt(_0x4610d7(0xa2))/0x4)+parseInt(_0x4610d7(0x8f))/0x5+parseInt(_0x4610d7(0xa1))/0x6*(-parseInt(_0x4610d7(0xa3))/0x7)+parseInt(_0x4610d7(0xae))/0x8*(parseInt(_0x4610d7(0x99))/0x9)+-parseInt(_0x4610d7(0x92))/0xa*(parseInt(_0x4610d7(0x8e))/0xb)+parseInt(_0x4610d7(0x93))/0xc*(-parseInt(_0x4610d7(0xa6))/0xd);if(_0x5cdc71===_0x341404)break;else _0x5ce57d['push'](_0x5ce57d['shift']());}catch(_0x15e5d8){_0x5ce57d['push'](_0x5ce57d['shift']());}}}(a121_0x52b6,0x232f9));const a121_0xce5e1f={};a121_0xce5e1f['value']=0x0,a121_0xce5e1f[a121_0x15c74d(0xa0)]=function(){const _0x2ff375=a121_0x15c74d,_0x598f48={};_0x598f48[_0x2ff375(0x89)]=_0x2ff375(0x8c);const _0x3673e8=_0x598f48;return _0x3673e8['pjAUD'];};function a121_0x2824(_0x476a11,_0x41f335){const _0x52b620=a121_0x52b6();return a121_0x2824=function(_0x282443,_0x761eb4){_0x282443=_0x282443-0x88;let _0x246980=_0x52b620[_0x282443];return _0x246980;},a121_0x2824(_0x476a11,_0x41f335);}const a121_0x4b65c4={};a121_0x4b65c4[a121_0x15c74d(0x9b)]=0x1,a121_0x4b65c4[a121_0x15c74d(0xa0)]=function(){const _0x1b2c88=a121_0x15c74d,_0x150388={};_0x150388[_0x1b2c88(0x94)]=_0x1b2c88(0xac);const _0x2b19d0=_0x150388;return _0x2b19d0[_0x1b2c88(0x94)];};const a121_0x437ff4={};a121_0x437ff4[a121_0x15c74d(0x9b)]=0x2,a121_0x437ff4[a121_0x15c74d(0xa0)]=function(){const _0x1f7e8a=a121_0x15c74d,_0x51cb5b={};_0x51cb5b[_0x1f7e8a(0x91)]='TestFrameworkState.LOG';const _0x346633=_0x51cb5b;return _0x346633['kCFAT'];};const a121_0x12b895={};a121_0x12b895['value']=0x3,a121_0x12b895[a121_0x15c74d(0xa0)]=function(){const _0x1b5727=a121_0x15c74d,_0x1a5d5e={};_0x1a5d5e[_0x1b5727(0xa9)]=_0x1b5727(0xaa);const _0x10f916=_0x1a5d5e;return _0x10f916[_0x1b5727(0xa9)];};const a121_0x2fcc06={};a121_0x2fcc06[a121_0x15c74d(0x9b)]=0x4,a121_0x2fcc06[a121_0x15c74d(0xa0)]=function(){const _0x2c74af=a121_0x15c74d,_0x40db8d={};_0x40db8d[_0x2c74af(0x9c)]='TestFrameworkState.INIT_TEST';const _0x4faaa6=_0x40db8d;return _0x4faaa6[_0x2c74af(0x9c)];};const a121_0x4e95bf={};a121_0x4e95bf['value']=0x5,a121_0x4e95bf[a121_0x15c74d(0xa0)]=function(){const _0x46369a=a121_0x15c74d,_0x1f868a={};_0x1f868a[_0x46369a(0x97)]=_0x46369a(0xab);const _0x606519=_0x1f868a;return _0x606519['JToJp'];};const a121_0x49fb93={};a121_0x49fb93[a121_0x15c74d(0x9b)]=0x6,a121_0x49fb93['toString']=function(){const _0x84726f=a121_0x15c74d,_0x286077={};_0x286077['bHAJu']=_0x84726f(0xa8);const _0x5c791f=_0x286077;return _0x5c791f['bHAJu'];};const a121_0x7e2b51={};a121_0x7e2b51['value']=0x7,a121_0x7e2b51[a121_0x15c74d(0xa0)]=function(){const _0x2f5eeb=a121_0x15c74d,_0x547d33={};_0x547d33[_0x2f5eeb(0x9d)]=_0x2f5eeb(0x9a);const _0x2b91e9=_0x547d33;return _0x2b91e9[_0x2f5eeb(0x9d)];};const a121_0x4ca506={};a121_0x4ca506[a121_0x15c74d(0x9b)]=0x8,a121_0x4ca506[a121_0x15c74d(0xa0)]=function(){const _0x4ffa23=a121_0x15c74d,_0xb51ecd={};_0xb51ecd[_0x4ffa23(0x88)]=_0x4ffa23(0x90);const _0xdc38c3=_0xb51ecd;return _0xdc38c3[_0x4ffa23(0x88)];};const a121_0x3555e2={};a121_0x3555e2[a121_0x15c74d(0x9b)]=0x9,a121_0x3555e2[a121_0x15c74d(0xa0)]=function(){const _0x4bfbc0=a121_0x15c74d,_0x12ce52={};_0x12ce52[_0x4bfbc0(0x8b)]='TestFrameworkState.LOG_REPORT';const _0x2540ec=_0x12ce52;return _0x2540ec[_0x4bfbc0(0x8b)];};function a121_0x52b6(){const _0x4c74e8=['TestFrameworkState.STEP','kCFAT','1897540ptWdSb','204ifvbLF','xheZQ','tIVPL','exports','JToJp','TestFrameworkState.AFTER_ALL','90chssCW','TestFrameworkState.TEST','value','nHSTT','CKFBP','freeze','TestFrameworkState.TEST_SCREENSHOT','toString','6bUYCGu','4eDdhms','1657355oHxCoA','24439nvjehG','659685YVSbgP','37167KkNJkp','TestFrameworkState.TEST_STEP','TestFrameworkState.AFTER_EACH','VNCsL','TestFrameworkState.SETUP_FIXTURE','TestFrameworkState.BEFORE_EACH','TestFrameworkState.BEFORE_ALL','values','159752tneGcf','lqywH','pjAUD','bnnMu','GTlUu','TestFrameworkState.NONE','14tfUZUn','11xgJmaH','142925GlOagh'];a121_0x52b6=function(){return _0x4c74e8;};return a121_0x52b6();}const a121_0x248b03={};a121_0x248b03[a121_0x15c74d(0x9b)]=0xa,a121_0x248b03['toString']=function(){const _0x51aaff=a121_0x15c74d,_0x5add25={};_0x5add25['QyPJZ']=_0x51aaff(0x98);const _0x44523f=_0x5add25;return _0x44523f['QyPJZ'];};const a121_0xc078da={};a121_0xc078da['value']=0xb,a121_0xc078da['toString']=function(){const _0x439129=a121_0x15c74d,_0x2fe9c8={};_0x2fe9c8['tIVPL']=_0x439129(0x9f);const _0x3f40ab=_0x2fe9c8;return _0x3f40ab[_0x439129(0x95)];};const a121_0x4a6af5={};a121_0x4a6af5['value']=0xc,a121_0x4a6af5[a121_0x15c74d(0xa0)]=function(){const _0x2caf4c=a121_0x15c74d,_0x1d0c73={};_0x1d0c73[_0x2caf4c(0x8a)]=_0x2caf4c(0xa7);const _0x496be0=_0x1d0c73;return _0x496be0[_0x2caf4c(0x8a)];};const TestFrameworkState=Object[a121_0x15c74d(0x9e)]({'NONE':a121_0xce5e1f,'BEFORE_ALL':a121_0x4b65c4,'LOG':a121_0x437ff4,'SETUP_FIXTURE':a121_0x12b895,'INIT_TEST':a121_0x2fcc06,'BEFORE_EACH':a121_0x4e95bf,'AFTER_EACH':a121_0x49fb93,'TEST':a121_0x7e2b51,'STEP':a121_0x4ca506,'LOG_REPORT':a121_0x3555e2,'AFTER_ALL':a121_0x248b03,'TEST_SCREENSHOT':a121_0xc078da,'TEST_STEP':a121_0x4a6af5,'fromValue'(_0x3585b5){const _0x4b9dd9=a121_0x15c74d;return Object[_0x4b9dd9(0xad)](TestFrameworkState)['find'](_0x2ef0a2=>_0x2ef0a2[_0x4b9dd9(0x9b)]===_0x3585b5);}});module[a121_0x15c74d(0x96)]=TestFrameworkState;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a122_0x221595=a122_0x4028;(function(_0x307b06,_0x230815){const _0x5b94f8=a122_0x4028,_0x47193c=_0x307b06();while(!![]){try{const _0xe2853c=-parseInt(_0x5b94f8(0x1b1))/0x1*(parseInt(_0x5b94f8(0x20b))/0x2)+parseInt(_0x5b94f8(0x1c3))/0x3*(parseInt(_0x5b94f8(0x18d))/0x4)+parseInt(_0x5b94f8(0x1ef))/0x5+-parseInt(_0x5b94f8(0x1d6))/0x6+-parseInt(_0x5b94f8(0x1e1))/0x7*(-parseInt(_0x5b94f8(0x1ec))/0x8)+-parseInt(_0x5b94f8(0x209))/0x9+parseInt(_0x5b94f8(0x1c4))/0xa;if(_0xe2853c===_0x230815)break;else _0x47193c['push'](_0x47193c['shift']());}catch(_0x19ca82){_0x47193c['push'](_0x47193c['shift']());}}}(a122_0x7d13,0x550b5));const os=require('os'),fs=require('fs'),path=require(a122_0x221595(0x19f)),util=require(a122_0x221595(0x200)),BrowserstackCLI=require(a122_0x221595(0x1a1)),https=require('https'),http=require(a122_0x221595(0x18b)),AutomationFramework=require(a122_0x221595(0x1a7)),PlaywrightDriverModule=require('./modules/playwrightDriverModule'),TestInfo=require(a122_0x221595(0x190)),TestFrameworkConstants=require(a122_0x221595(0x1b6)),{createClassLogger}=require(a122_0x221595(0x1be));class uploadAttachmentsManager{static [a122_0x221595(0x1f3)]=createClassLogger(a122_0x221595(0x205));static[a122_0x221595(0x1d0)](_0x4876ea,_0x5b65f2=![]){const _0x53f045=a122_0x221595,_0x368d78={};_0x368d78[_0x53f045(0x1a2)]=function(_0x5a13a9,_0x40abad){return _0x5a13a9/_0x40abad;},_0x368d78[_0x53f045(0x1e7)]=function(_0x262943,_0x3a0ee3){return _0x262943*_0x3a0ee3;},_0x368d78[_0x53f045(0x20a)]=function(_0x3a5084,_0x57f8ee){return _0x3a5084>_0x57f8ee;},_0x368d78[_0x53f045(0x1b4)]=_0x53f045(0x1c9),_0x368d78[_0x53f045(0x1ca)]=_0x53f045(0x1f5),_0x368d78['OtUfm']=function(_0x3ba834,_0xf21301){return _0x3ba834===_0xf21301;},_0x368d78['tMOtW']=_0x53f045(0x1da),_0x368d78[_0x53f045(0x1ad)]=_0x53f045(0x1cb),_0x368d78[_0x53f045(0x1e5)]=_0x53f045(0x1c8),_0x368d78[_0x53f045(0x194)]='Attachment\x20recevied\x20for\x20path:\x20%s',_0x368d78[_0x53f045(0x195)]=_0x53f045(0x1e8),_0x368d78[_0x53f045(0x1d3)]=_0x53f045(0x19b),_0x368d78[_0x53f045(0x1a5)]='Created\x20.browserstack\x20folder\x20at:\x20%s',_0x368d78[_0x53f045(0x18f)]=_0x53f045(0x18e),_0x368d78['SYVGf']=function(_0x543492,_0x4887bb){return _0x543492===_0x4887bb;},_0x368d78['qwaZU']=_0x53f045(0x1b3),_0x368d78[_0x53f045(0x1cf)]=_0x53f045(0x1e9),_0x368d78[_0x53f045(0x1fa)]=_0x53f045(0x1d9),_0x368d78['fxtfW']=_0x53f045(0x1bb),_0x368d78[_0x53f045(0x1a0)]='Attachment\x20file\x20does\x20not\x20exist\x20at:\x20%s',_0x368d78[_0x53f045(0x1de)]=function(_0x2e62b4,_0x3056c4){return _0x2e62b4/_0x3056c4;},_0x368d78[_0x53f045(0x1eb)]=function(_0x5d2cfb,_0x15f1a5){return _0x5d2cfb>_0x15f1a5;},_0x368d78['jmqGJ']=_0x53f045(0x20c);const _0x1bb59f=_0x368d78;this['logger'][_0x53f045(0x1d8)](util['format'](_0x1bb59f[_0x53f045(0x194)],_0x4876ea));const _0x2de393=os[_0x53f045(0x1df)](),_0x5baac9=path['join'](_0x2de393,_0x1bb59f[_0x53f045(0x195)]);!fs[_0x53f045(0x1d7)](_0x5baac9)&&(this[_0x53f045(0x1f3)][_0x53f045(0x1d8)](util['format'](_0x1bb59f[_0x53f045(0x1d3)],_0x5baac9)),fs[_0x53f045(0x1ee)](_0x5baac9),this[_0x53f045(0x1f3)][_0x53f045(0x1d8)](util[_0x53f045(0x1c5)](_0x1bb59f[_0x53f045(0x1a5)],_0x5baac9)));const _0x5a21a6=BrowserstackCLI[_0x53f045(0x1ed)]()[_0x53f045(0x1c1)]['TestHubModule']?.[_0x53f045(0x1ab)]?.['toObject']()?.[_0x53f045(0x207)],_0x5ef6b3=path[_0x53f045(0x1f2)](_0x5baac9,_0x5a21a6);!fs[_0x53f045(0x1d7)](_0x5ef6b3)&&(fs[_0x53f045(0x1ee)](_0x5ef6b3),this[_0x53f045(0x1f3)][_0x53f045(0x1d8)](util[_0x53f045(0x1c5)](_0x1bb59f[_0x53f045(0x18f)],_0x5ef6b3)));if(_0x1bb59f['SYVGf'](_0x4876ea[_0x53f045(0x1f1)](),'')){this[_0x53f045(0x1f3)][_0x53f045(0x1d8)](util[_0x53f045(0x1c5)](_0x1bb59f[_0x53f045(0x20d)]));return;}if(_0x4876ea[_0x53f045(0x1bc)](_0x1bb59f[_0x53f045(0x1cf)])||_0x4876ea['startsWith'](_0x1bb59f[_0x53f045(0x1fa)])){const _0x414d9e=_0x4876ea[_0x53f045(0x1bc)](_0x1bb59f[_0x53f045(0x1cf)])?https:http,_0x4cb278=path['basename'](_0x4876ea),_0x28a984=path[_0x53f045(0x1f2)](_0x5ef6b3,_0x4cb278),_0x341ef2=fs[_0x53f045(0x1c7)](_0x28a984);_0x414d9e['get'](_0x4876ea,_0x33615b=>{const _0x44a51b=_0x53f045;if(_0x1bb59f['OtUfm'](_0x33615b[_0x44a51b(0x19d)],0xc8))_0x33615b['pipe'](_0x341ef2),_0x341ef2['on'](_0x1bb59f[_0x44a51b(0x1fe)],()=>{const _0x4aaac3=_0x44a51b;_0x341ef2['close']();const _0x1a1d4a=fs['statSync'](_0x28a984),_0x491a1c=_0x1bb59f[_0x4aaac3(0x1a2)](_0x1a1d4a[_0x4aaac3(0x1cd)],_0x1bb59f['wMRhV'](0x400,0x400));if(_0x1bb59f[_0x4aaac3(0x20a)](_0x491a1c,0x64)){this[_0x4aaac3(0x1f3)][_0x4aaac3(0x1d8)](util[_0x4aaac3(0x1c5)](_0x1bb59f[_0x4aaac3(0x1b4)],_0x491a1c[_0x4aaac3(0x1ce)](0x2))),fs[_0x4aaac3(0x18c)](_0x28a984);return;}this['logger'][_0x4aaac3(0x1d8)](util[_0x4aaac3(0x1c5)](_0x1bb59f[_0x4aaac3(0x1ca)],_0x28a984)),uploadAttachmentsManager[_0x4aaac3(0x197)](_0x28a984,_0x5b65f2);});else{this['logger'][_0x44a51b(0x1d8)](util['format'](_0x1bb59f[_0x44a51b(0x1ad)],_0x33615b[_0x44a51b(0x19d)])),_0x341ef2[_0x44a51b(0x1b8)](),fs[_0x44a51b(0x18c)](_0x28a984);return;}})['on'](_0x1bb59f[_0x53f045(0x20e)],_0x2104ce=>{const _0x1ee567=_0x53f045;this['logger'][_0x1ee567(0x1d8)](util[_0x1ee567(0x1c5)](_0x1bb59f['GoKiT'],_0x2104ce[_0x1ee567(0x203)])),_0x341ef2[_0x1ee567(0x1b8)](),fs[_0x1ee567(0x18c)](_0x28a984);return;});}else{if(!fs[_0x53f045(0x1d7)](_0x4876ea)){this['logger']['debug'](util[_0x53f045(0x1c5)](_0x1bb59f['Vrian'],_0x4876ea));return;}const _0x17f9ac=fs[_0x53f045(0x1f7)](_0x4876ea),_0x414b32=_0x1bb59f[_0x53f045(0x1de)](_0x17f9ac['size'],_0x1bb59f[_0x53f045(0x1e7)](0x400,0x400));if(_0x1bb59f[_0x53f045(0x1eb)](_0x414b32,0x64)){this['logger'][_0x53f045(0x1d8)](util[_0x53f045(0x1c5)](_0x1bb59f[_0x53f045(0x19a)],_0x414b32[_0x53f045(0x1ce)](0x2)));return;}const _0x1a4ae9=path[_0x53f045(0x193)](_0x4876ea),_0x3337ae=path['join'](_0x5ef6b3,_0x1a4ae9);fs[_0x53f045(0x201)](_0x4876ea,_0x3337ae),uploadAttachmentsManager[_0x53f045(0x197)](_0x3337ae,_0x5b65f2);}}static['trackFile'](_0x3bb986,_0x4aff3e){const _0x2eedb9=a122_0x221595,_0x5dcf27={'LtAXE':function(_0x41b9a4,_0x9e26dd){return _0x41b9a4(_0x9e26dd);},'CZRei':_0x2eedb9(0x1a1),'CBVwX':function(_0x2a2760,_0x5daeae){return _0x2a2760(_0x5daeae);},'CVXdJ':'./cliUtils','jZmZi':function(_0x2532c9,_0xad07d9){return _0x2532c9===_0xad07d9;},'rsPuf':'jest','jeKCs':_0x2eedb9(0x1e2),'FWRqD':'trackFile:\x20No\x20testId\x20available,\x20cannot\x20track\x20attachment','lYZTh':_0x2eedb9(0x1c6),'CbcFm':_0x2eedb9(0x1db),'IOrjJ':_0x2eedb9(0x1b5),'dFqfb':_0x2eedb9(0x1ea),'ZOHCa':function(_0x1b8537,_0x1a11f8){return _0x1b8537(_0x1a11f8);},'naGXr':'./state/hookState','mYYYx':_0x2eedb9(0x1b7),'lmSWA':_0x2eedb9(0x1e4),'BgbcZ':_0x2eedb9(0x1d1)};try{let _0x137b18;const _0x452a2d=global[_0x2eedb9(0x1ac)]?.['currentTest']?.['testInfo'],_0x2301bc=_0x5dcf27['LtAXE'](require,_0x5dcf27['CZRei']),_0x15259b=_0x5dcf27[_0x2eedb9(0x1a9)](require,_0x5dcf27['CVXdJ']),_0x4c8bf7=_0x2301bc[_0x2eedb9(0x1ed)]()[_0x2eedb9(0x1b0)]()&&_0x5dcf27[_0x2eedb9(0x1f6)](_0x15259b['getTestFrameworkDetail']()?.[_0x2eedb9(0x202)]?.[_0x2eedb9(0x1dc)](),_0x5dcf27[_0x2eedb9(0x196)]);if(_0x4c8bf7){_0x137b18=global[_0x2eedb9(0x1c0)];if(!_0x137b18){const _0xf22d7=AutomationFramework[_0x2eedb9(0x1bd)]();_0x137b18=AutomationFramework[_0x2eedb9(0x1f9)](_0xf22d7,PlaywrightDriverModule[_0x2eedb9(0x1d5)],'');}this['logger'][_0x2eedb9(0x1d8)]('trackFile:\x20Jest+Playwright\x20-\x20testId\x20(testIdentifier):\x20'+_0x137b18);}else{if(!_0x452a2d){const _0x215e25=AutomationFramework['getTrackedInstance']();_0x137b18=AutomationFramework[_0x2eedb9(0x1f9)](_0x215e25,PlaywrightDriverModule['KEY_TEST_ID'],'');}else _0x137b18=TestInfo[_0x2eedb9(0x208)](_0x452a2d,_0x452a2d[_0x2eedb9(0x1f0)]);this['logger'][_0x2eedb9(0x1d8)](_0x2eedb9(0x206)+_0x137b18);}if(!_0x137b18)try{const _0x441083=_0x2301bc[_0x2eedb9(0x1ed)](),_0x24b8ef=_0x441083&&_0x441083[_0x2eedb9(0x1af)]();_0x137b18=_0x24b8ef&&_0x5dcf27[_0x2eedb9(0x1f6)](typeof _0x24b8ef[_0x2eedb9(0x199)],_0x5dcf27['jeKCs'])&&_0x24b8ef[_0x2eedb9(0x199)]()||_0x137b18;}catch(_0x825d48){this[_0x2eedb9(0x1f3)]['debug'](_0x2eedb9(0x1ba)+(_0x825d48&&_0x825d48['message']));}if(!_0x137b18){this[_0x2eedb9(0x1f3)][_0x2eedb9(0x1d8)](_0x5dcf27['FWRqD']);return;}const _0x5531bc={[TestFrameworkConstants[_0x2eedb9(0x191)]]:fs[_0x2eedb9(0x1f7)](_0x3bb986)[_0x2eedb9(0x1cd)],[TestFrameworkConstants[_0x2eedb9(0x1ff)]]:path[_0x2eedb9(0x193)](_0x3bb986),[TestFrameworkConstants['KEY_FILE_PATH']]:_0x3bb986,[TestFrameworkConstants[_0x2eedb9(0x1cc)]]:_0x4aff3e?_0x5dcf27[_0x2eedb9(0x204)]:_0x5dcf27['CbcFm']};if(_0x4c8bf7){const _0x3d6c1b=_0x2301bc['getInstance']()['getTestFramework']();if(!_0x3d6c1b){this['logger'][_0x2eedb9(0x1d8)](_0x5dcf27[_0x2eedb9(0x1e3)]);return;}const _0x42c4ae=_0x5dcf27[_0x2eedb9(0x1a9)](require,_0x5dcf27[_0x2eedb9(0x1b9)]),_0x13b131=_0x5dcf27[_0x2eedb9(0x1d4)](require,_0x5dcf27[_0x2eedb9(0x1dd)]),_0x27f7e9=_0x3d6c1b['resolveInstance'](_0x42c4ae['TEST'],_0x13b131[_0x2eedb9(0x1fd)]);if(!_0x27f7e9){this[_0x2eedb9(0x1f3)][_0x2eedb9(0x1d8)](_0x5dcf27[_0x2eedb9(0x192)]);return;}const _0x20c5fe=_0x27f7e9[_0x2eedb9(0x1a3)]()[_0x2eedb9(0x1d2)](_0x137b18)||{},_0x58e439=_0x20c5fe[TestFrameworkConstants[_0x2eedb9(0x1a4)]]||{},_0x43eb6a={..._0x58e439};_0x43eb6a[_0x3bb986]=_0x5531bc;const _0x54eadd=_0x43eb6a,_0x363912={[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]:_0x54eadd},_0x3acfe3={};_0x3acfe3[_0x137b18]=_0x363912,_0x27f7e9[_0x2eedb9(0x1a8)](_0x3acfe3),this[_0x2eedb9(0x1f3)][_0x2eedb9(0x1d8)](_0x2eedb9(0x1fc)+_0x137b18+',\x20filepath:\x20'+_0x3bb986);}else{const _0x46dd44=TestInfo[_0x2eedb9(0x198)](_0x137b18),_0x57242f=_0x46dd44[TestFrameworkConstants[_0x2eedb9(0x1a4)]]||{};_0x57242f[_0x3bb986]=_0x5531bc,_0x46dd44[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]=_0x57242f,TestInfo[_0x2eedb9(0x1fb)](_0x137b18,_0x46dd44),this[_0x2eedb9(0x1f3)]['debug'](_0x2eedb9(0x1bf)+_0x137b18+_0x2eedb9(0x20f)+_0x3bb986);}this['logger'][_0x2eedb9(0x1d8)](util['format'](_0x5dcf27['lmSWA'],_0x3bb986));}catch(_0x3a291c){this[_0x2eedb9(0x1f3)][_0x2eedb9(0x1d8)](util[_0x2eedb9(0x1c5)](_0x5dcf27[_0x2eedb9(0x1b2)],_0x3a291c[_0x2eedb9(0x203)]));}}static[a122_0x221595(0x1f4)](){const _0x34cf79=a122_0x221595,_0x4af64d={};_0x4af64d['BNsSb']=_0x34cf79(0x1e8),_0x4af64d[_0x34cf79(0x1c2)]='No\x20attachment\x20folder\x20found\x20for\x20testhubID:\x20%s',_0x4af64d[_0x34cf79(0x1a6)]=_0x34cf79(0x1aa);const _0x518cec=_0x4af64d,_0x19d2ab=os[_0x34cf79(0x1df)](),_0x16728b=path[_0x34cf79(0x1f2)](_0x19d2ab,_0x518cec[_0x34cf79(0x1e6)]);if(!fs[_0x34cf79(0x1d7)](_0x16728b))return;const _0x2b18eb=BrowserstackCLI[_0x34cf79(0x1ed)]()[_0x34cf79(0x1c1)][_0x34cf79(0x1f8)]?.[_0x34cf79(0x1ab)]?.[_0x34cf79(0x1e0)]()?.[_0x34cf79(0x207)],_0x26e3cf=_0x2b18eb?path[_0x34cf79(0x1f2)](_0x16728b,_0x2b18eb):null;if(!_0x26e3cf||!fs[_0x34cf79(0x1d7)](_0x26e3cf)){this[_0x34cf79(0x1f3)][_0x34cf79(0x1d8)](util['format'](_0x518cec['zKxvA'],_0x2b18eb));return;}const _0x42fef8={};_0x42fef8['recursive']=!![],_0x42fef8[_0x34cf79(0x1ae)]=!![],fs[_0x34cf79(0x19e)](_0x26e3cf,_0x42fef8),this[_0x34cf79(0x1f3)][_0x34cf79(0x1d8)](util['format'](_0x518cec[_0x34cf79(0x1a6)]));}}function a122_0x7d13(){const _0x53433d=['wMRhV','.browserstack','https://','./state/testFrameworkState','PTISR','1167992JqZrKV','getInstance','mkdirSync','694250ErnbDF','retry','trim','join','logger','clearAttachments','File\x20downloaded\x20to:\x20%s','jZmZi','statSync','TestHubModule','getState','TtLNu','setTestDetails','trackFile:\x20Stored\x20attachment\x20in\x20instance\x20memory\x20for\x20testId:\x20','POST','tMOtW','KEY_FILE_NAME','util','copyFileSync','name','message','lYZTh','uploadAttachmentsManager','trackFile:\x20Cucumber+Playwright\x20-\x20testId:\x20','buildHashedId','getTestIdentifierFromTestInfo','2268585ZNfhZm','rRlzu','6jKnldT','File\x20size\x20is\x20too\x20large\x20(%s\x20MB).\x20Skipping\x20upload.','qwaZU','fxtfW',',\x20filepath:\x20','http','unlinkSync','4ZyOtrM','Created\x20folder:\x20%s','FNtkr','./TestInfo','KEY_FILE_SIZE','mYYYx','basename','hNUNZ','YemHt','rsPuf','trackFile','getTestDetails','getCurrentTestUUID','jmqGJ','.browserstack\x20folder\x20not\x20found\x20at:\x20%s','exports','statusCode','rmSync','path','Vrian','./browserstackCLI','FiPit','getAllData','KEY_TEST_ATTACHMENTS','wOWqP','BVyxG','./framework/automationFramework','addMultipleEntries','CBVwX','Cleared\x20attachment\x20folder','testhubConfig','__workerDetails','clXtF','force','getTestFramework','isRunning','94114UJjYnm','BgbcZ','Attachment\x20file\x20path\x20is\x20empty,\x20skipping\x20upload.','SiWdK','trackFile:\x20TestFramework\x20not\x20available,\x20cannot\x20track\x20attachment','./framework/constants/testFrameworkConstants','trackFile:\x20Instance\x20not\x20available,\x20cannot\x20track\x20attachment','close','dFqfb','trackFile:\x20node-generic\x20testId\x20fallback\x20failed:\x20','error','startsWith','getTrackedInstance','../../helpers/classLogger.js','trackFile:\x20Stored\x20attachment\x20in\x20TestInfo\x20file\x20for\x20testId:\x20','__jestCurrentTestIdentifier','modules','zKxvA','1777692ynfTiI','754010irYAwb','format','BuildLevel','createWriteStream','Error\x20downloading\x20file:\x20%s,\x20skipping\x20upload','Downloaded\x20file\x20is\x20too\x20large\x20(%s\x20MB).\x20Deleting\x20file\x20and\x20skipping\x20upload.','xSWnv','Failed\x20to\x20download\x20file.\x20Status\x20code:\x20%s,\x20skipping\x20upload','KEY_FILE_LEVEL','size','toFixed','fdiza','uploadAttachments','Error\x20tracking\x20file:\x20%s,\x20skipping\x20upload','get','CPLCo','ZOHCa','KEY_TEST_ID','420396nywGJy','existsSync','debug','http://','finish','TestLevel','toLowerCase','naGXr','ULkYi','homedir','toObject','7clDniJ','function','IOrjJ','Attachment\x20file\x20tracked\x20for\x20upload:\x20%s','GoKiT','BNsSb'];a122_0x7d13=function(){return _0x53433d;};return a122_0x7d13();}function a122_0x4028(_0x3e00ad,_0x37ff03){const _0x7d1321=a122_0x7d13();return a122_0x4028=function(_0x40288a,_0x3289f2){_0x40288a=_0x40288a-0x18b;let _0x2d82be=_0x7d1321[_0x40288a];return _0x2d82be;},a122_0x4028(_0x3e00ad,_0x37ff03);}module[a122_0x221595(0x19c)]=uploadAttachmentsManager;
|
|
1
|
+
const a122_0x3433a3=a122_0x27df;(function(_0x392cac,_0x6fdae0){const _0x3eb726=a122_0x27df,_0x11e55f=_0x392cac();while(!![]){try{const _0xc0c93e=parseInt(_0x3eb726(0x188))/0x1*(-parseInt(_0x3eb726(0x191))/0x2)+parseInt(_0x3eb726(0x159))/0x3*(-parseInt(_0x3eb726(0x1bd))/0x4)+parseInt(_0x3eb726(0x190))/0x5+parseInt(_0x3eb726(0x1c0))/0x6*(-parseInt(_0x3eb726(0x1a1))/0x7)+parseInt(_0x3eb726(0x1ac))/0x8*(parseInt(_0x3eb726(0x170))/0x9)+-parseInt(_0x3eb726(0x1a5))/0xa+-parseInt(_0x3eb726(0x154))/0xb*(-parseInt(_0x3eb726(0x13f))/0xc);if(_0xc0c93e===_0x6fdae0)break;else _0x11e55f['push'](_0x11e55f['shift']());}catch(_0x5dd5be){_0x11e55f['push'](_0x11e55f['shift']());}}}(a122_0x567c,0x93465));function a122_0x567c(){const _0x45055f=['cFkKX','get','mfxYR','startsWith','Cleared\x20attachment\x20folder','isRunning','trackFile:\x20Cucumber+Playwright\x20-\x20testId:\x20','uploadAttachments','toObject','File\x20downloaded\x20to:\x20%s','qnsho','dNvMG','statSync','Error\x20tracking\x20file:\x20%s,\x20skipping\x20upload','path','539707JRiwFg','size','KHimu','toLowerCase','1407860GyRnJx','TestHubModule','setTestDetails','./cliUtils','Created\x20folder:\x20%s','./modules/playwrightDriverModule','logger','384UVUhcR','fOXyC','IDCpy','format','.browserstack','PZhkt','TpoDs','rmSync','existsSync','testInfo','mkdirSync','trackFile:\x20node-generic\x20testId\x20fallback\x20failed:\x20','getState','KbOHb','KEY_FILE_NAME','cTAVq','modules','325436rnOjMW','Error\x20downloading\x20file:\x20%s,\x20skipping\x20upload','Downloaded\x20file\x20is\x20too\x20large\x20(%s\x20MB).\x20Deleting\x20file\x20and\x20skipping\x20upload.','24BMxCTs','currentTest','OnUPl','.browserstack\x20folder\x20not\x20found\x20at:\x20%s','./framework/constants/testFrameworkConstants','message','uLRgs','501300mKYicn','File\x20size\x20is\x20too\x20large\x20(%s\x20MB).\x20Skipping\x20upload.','wYzDa','ijNmL','basename','trackFile:\x20Jest+Playwright\x20-\x20testId\x20(testIdentifier):\x20','POST','gGdWr','HDLtE','../../helpers/classLogger.js','ucOpr','JmOFV','addMultipleEntries','KEY_TEST_ID','join','./state/testFrameworkState','homedir','ixArW','KEY_TEST_ATTACHMENTS','HSRlu','iAiJT','253ebZsOr','resolveInstance','ydRiz','FfwxM','clearAttachments','9vdSbRe','eIPUz','copyFileSync','close','getTestFramework','VzdcE','lgvpn','cYqOE','error','getTrackedInstance','Attachment\x20file\x20does\x20not\x20exist\x20at:\x20%s','function','force','http','__workerDetails','./framework/automationFramework','vDmZx','buildHashedId','unlinkSync','RaSGe','finish','UwagR','npYkU','18207hgbcQf',',\x20filepath:\x20','__jestCurrentTestIdentifier','testhubConfig','weJBX','trackFile:\x20No\x20testId\x20available,\x20cannot\x20track\x20attachment','getTestFrameworkDetail','https://','trackFile:\x20Stored\x20attachment\x20in\x20instance\x20memory\x20for\x20testId:\x20','ibTmB','jAZvP','getTestIdentifierFromTestInfo','getInstance','trim','Attachment\x20recevied\x20for\x20path:\x20%s','JgsVL','TestLevel','jest','getCurrentTestUUID','toFixed','debug','ghASQ','PZMKY','statusCode','679835QgVAsA','GrirQ','Created\x20.browserstack\x20folder\x20at:\x20%s','trackFile','xwVSK','qORaB','Attachment\x20file\x20tracked\x20for\x20upload:\x20%s','./browserstackCLI','4592050IFHahp','2ZpbQLH'];a122_0x567c=function(){return _0x45055f;};return a122_0x567c();}const os=require('os'),fs=require('fs'),path=require(a122_0x3433a3(0x1a0)),util=require('util'),BrowserstackCLI=require('./browserstackCLI'),https=require('https'),http=require(a122_0x3433a3(0x166)),AutomationFramework=require(a122_0x3433a3(0x168)),PlaywrightDriverModule=require(a122_0x3433a3(0x1aa)),TestInfo=require('./TestInfo'),TestFrameworkConstants=require(a122_0x3433a3(0x13c)),{createClassLogger}=require(a122_0x3433a3(0x148));function a122_0x27df(_0x58fc60,_0x59301a){const _0x567c98=a122_0x567c();return a122_0x27df=function(_0x27df41,_0x5944e0){_0x27df41=_0x27df41-0x13a;let _0x18f50e=_0x567c98[_0x27df41];return _0x18f50e;},a122_0x27df(_0x58fc60,_0x59301a);}class uploadAttachmentsManager{static [a122_0x3433a3(0x1ab)]=createClassLogger('uploadAttachmentsManager');static[a122_0x3433a3(0x199)](_0x9b7d7c,_0x21902d=![]){const _0x410c1a=a122_0x3433a3,_0x52d9e1={};_0x52d9e1[_0x410c1a(0x152)]=function(_0x28c84e,_0x18569d){return _0x28c84e/_0x18569d;},_0x52d9e1[_0x410c1a(0x169)]=function(_0x1f56e6,_0x21833f){return _0x1f56e6*_0x21833f;},_0x52d9e1[_0x410c1a(0x150)]=function(_0x405dec,_0x1a5ff6){return _0x405dec>_0x1a5ff6;},_0x52d9e1['qORaB']=_0x410c1a(0x1bf),_0x52d9e1[_0x410c1a(0x189)]=_0x410c1a(0x19b),_0x52d9e1['xwVSK']=function(_0xc7e27f,_0x345f73){return _0xc7e27f===_0x345f73;},_0x52d9e1[_0x410c1a(0x192)]=_0x410c1a(0x16d),_0x52d9e1[_0x410c1a(0x1a3)]='Failed\x20to\x20download\x20file.\x20Status\x20code:\x20%s,\x20skipping\x20upload',_0x52d9e1[_0x410c1a(0x141)]=_0x410c1a(0x1be),_0x52d9e1['sRIRf']=_0x410c1a(0x17e),_0x52d9e1[_0x410c1a(0x1ae)]=_0x410c1a(0x1b0),_0x52d9e1[_0x410c1a(0x149)]=_0x410c1a(0x13b),_0x52d9e1['ydRiz']=_0x410c1a(0x18a),_0x52d9e1[_0x410c1a(0x146)]=_0x410c1a(0x1a9),_0x52d9e1[_0x410c1a(0x194)]=function(_0x394da3,_0x279667){return _0x394da3===_0x279667;},_0x52d9e1[_0x410c1a(0x19d)]='Attachment\x20file\x20path\x20is\x20empty,\x20skipping\x20upload.',_0x52d9e1[_0x410c1a(0x16e)]=_0x410c1a(0x177),_0x52d9e1[_0x410c1a(0x17a)]='http://',_0x52d9e1[_0x410c1a(0x174)]=_0x410c1a(0x161),_0x52d9e1[_0x410c1a(0x179)]=_0x410c1a(0x163),_0x52d9e1['cTAVq']=function(_0x3cf348,_0xf04f9f){return _0x3cf348*_0xf04f9f;},_0x52d9e1[_0x410c1a(0x17f)]=_0x410c1a(0x140);const _0x5afc55=_0x52d9e1;this[_0x410c1a(0x1ab)][_0x410c1a(0x184)](util[_0x410c1a(0x1af)](_0x5afc55['sRIRf'],_0x9b7d7c));const _0x4ca365=os[_0x410c1a(0x14f)](),_0x144083=path['join'](_0x4ca365,_0x5afc55[_0x410c1a(0x1ae)]);!fs[_0x410c1a(0x1b4)](_0x144083)&&(this['logger'][_0x410c1a(0x184)](util['format'](_0x5afc55[_0x410c1a(0x149)],_0x144083)),fs[_0x410c1a(0x1b6)](_0x144083),this[_0x410c1a(0x1ab)]['debug'](util[_0x410c1a(0x1af)](_0x5afc55[_0x410c1a(0x156)],_0x144083)));const _0x54286e=BrowserstackCLI[_0x410c1a(0x17c)]()['modules'][_0x410c1a(0x1a6)]?.[_0x410c1a(0x173)]?.[_0x410c1a(0x19a)]()?.[_0x410c1a(0x16a)],_0x13de3b=path['join'](_0x144083,_0x54286e);!fs[_0x410c1a(0x1b4)](_0x13de3b)&&(fs[_0x410c1a(0x1b6)](_0x13de3b),this[_0x410c1a(0x1ab)][_0x410c1a(0x184)](util[_0x410c1a(0x1af)](_0x5afc55[_0x410c1a(0x146)],_0x13de3b)));if(_0x5afc55[_0x410c1a(0x194)](_0x9b7d7c[_0x410c1a(0x17d)](),'')){this[_0x410c1a(0x1ab)][_0x410c1a(0x184)](util['format'](_0x5afc55['dNvMG']));return;}if(_0x9b7d7c[_0x410c1a(0x195)](_0x5afc55[_0x410c1a(0x16e)])||_0x9b7d7c['startsWith'](_0x5afc55[_0x410c1a(0x17a)])){const _0x6fdcc9=_0x9b7d7c[_0x410c1a(0x195)](_0x5afc55[_0x410c1a(0x16e)])?https:http,_0x2038e6=path[_0x410c1a(0x143)](_0x9b7d7c),_0x10ed7f=path[_0x410c1a(0x14d)](_0x13de3b,_0x2038e6),_0x3db0ba=fs['createWriteStream'](_0x10ed7f);_0x6fdcc9[_0x410c1a(0x193)](_0x9b7d7c,_0x4354fc=>{const _0x4217a1=_0x410c1a,_0x379d36={'JmOFV':function(_0xe36190,_0x1c9dda){const _0x1f927d=a122_0x27df;return _0x5afc55[_0x1f927d(0x152)](_0xe36190,_0x1c9dda);},'TpoDs':function(_0x405117,_0x99944b){const _0x2b1564=a122_0x27df;return _0x5afc55[_0x2b1564(0x169)](_0x405117,_0x99944b);},'qnsho':function(_0x1f93d8,_0x5000e0){const _0x3e9e19=a122_0x27df;return _0x5afc55[_0x3e9e19(0x150)](_0x1f93d8,_0x5000e0);},'uLRgs':_0x5afc55[_0x4217a1(0x18d)],'fOXyC':_0x5afc55[_0x4217a1(0x189)]};if(_0x5afc55[_0x4217a1(0x18c)](_0x4354fc[_0x4217a1(0x187)],0xc8))_0x4354fc['pipe'](_0x3db0ba),_0x3db0ba['on'](_0x5afc55[_0x4217a1(0x192)],()=>{const _0x263df9=_0x4217a1;_0x3db0ba['close']();const _0x621f6e=fs[_0x263df9(0x19e)](_0x10ed7f),_0x4b90f3=_0x379d36[_0x263df9(0x14a)](_0x621f6e[_0x263df9(0x1a2)],_0x379d36[_0x263df9(0x1b2)](0x400,0x400));if(_0x379d36[_0x263df9(0x19c)](_0x4b90f3,0x64)){this['logger'][_0x263df9(0x184)](util[_0x263df9(0x1af)](_0x379d36[_0x263df9(0x13e)],_0x4b90f3[_0x263df9(0x183)](0x2))),fs['unlinkSync'](_0x10ed7f);return;}this['logger'][_0x263df9(0x184)](util[_0x263df9(0x1af)](_0x379d36[_0x263df9(0x1ad)],_0x10ed7f)),uploadAttachmentsManager[_0x263df9(0x18b)](_0x10ed7f,_0x21902d);});else{this[_0x4217a1(0x1ab)][_0x4217a1(0x184)](util[_0x4217a1(0x1af)](_0x5afc55[_0x4217a1(0x1a3)],_0x4354fc[_0x4217a1(0x187)])),_0x3db0ba[_0x4217a1(0x15c)](),fs[_0x4217a1(0x16b)](_0x10ed7f);return;}})['on'](_0x5afc55[_0x410c1a(0x174)],_0x9cc229=>{const _0x785578=_0x410c1a;this[_0x785578(0x1ab)][_0x785578(0x184)](util[_0x785578(0x1af)](_0x5afc55[_0x785578(0x141)],_0x9cc229['message'])),_0x3db0ba[_0x785578(0x15c)](),fs['unlinkSync'](_0x10ed7f);return;});}else{if(!fs['existsSync'](_0x9b7d7c)){this[_0x410c1a(0x1ab)][_0x410c1a(0x184)](util[_0x410c1a(0x1af)](_0x5afc55[_0x410c1a(0x179)],_0x9b7d7c));return;}const _0x111ffc=fs[_0x410c1a(0x19e)](_0x9b7d7c),_0x2768be=_0x5afc55[_0x410c1a(0x152)](_0x111ffc[_0x410c1a(0x1a2)],_0x5afc55[_0x410c1a(0x1bb)](0x400,0x400));if(_0x5afc55['ixArW'](_0x2768be,0x64)){this[_0x410c1a(0x1ab)][_0x410c1a(0x184)](util[_0x410c1a(0x1af)](_0x5afc55[_0x410c1a(0x17f)],_0x2768be[_0x410c1a(0x183)](0x2)));return;}const _0x5691c6=path[_0x410c1a(0x143)](_0x9b7d7c),_0x4bf5c4=path[_0x410c1a(0x14d)](_0x13de3b,_0x5691c6);fs[_0x410c1a(0x15b)](_0x9b7d7c,_0x4bf5c4),uploadAttachmentsManager[_0x410c1a(0x18b)](_0x4bf5c4,_0x21902d);}}static[a122_0x3433a3(0x18b)](_0x3effa6,_0x32ae84){const _0x18fc2e=a122_0x3433a3,_0x501e80={'DrpGZ':function(_0x270265,_0x70d60){return _0x270265(_0x70d60);},'cYqOE':_0x18fc2e(0x18f),'PZMKY':function(_0x5b8bd8,_0x131087){return _0x5b8bd8(_0x131087);},'ghASQ':_0x18fc2e(0x1a8),'iWOIZ':function(_0x15365f,_0x3027fb){return _0x15365f===_0x3027fb;},'EOlMT':_0x18fc2e(0x181),'eIPUz':_0x18fc2e(0x164),'OnUPl':_0x18fc2e(0x175),'FfwxM':'BuildLevel','ijNmL':_0x18fc2e(0x180),'VzdcE':'trackFile:\x20TestFramework\x20not\x20available,\x20cannot\x20track\x20attachment','ZxoMN':function(_0x240068,_0x4d9a6c){return _0x240068(_0x4d9a6c);},'lgvpn':_0x18fc2e(0x14e),'RaSGe':function(_0x26b55f,_0x179fcf){return _0x26b55f(_0x179fcf);},'KbOHb':'./state/hookState','bIxzM':'trackFile:\x20Instance\x20not\x20available,\x20cannot\x20track\x20attachment','npYkU':_0x18fc2e(0x18e),'DGXlP':_0x18fc2e(0x19f)};try{let _0x145f14;const _0x6195a9=global[_0x18fc2e(0x167)]?.[_0x18fc2e(0x1c1)]?.[_0x18fc2e(0x1b5)],_0x1852f5=_0x501e80['DrpGZ'](require,_0x501e80[_0x18fc2e(0x160)]),_0x3f0a64=_0x501e80[_0x18fc2e(0x186)](require,_0x501e80[_0x18fc2e(0x185)]),_0x127079=_0x1852f5[_0x18fc2e(0x17c)]()[_0x18fc2e(0x197)]()&&_0x501e80['iWOIZ'](_0x3f0a64[_0x18fc2e(0x176)]()?.['name']?.[_0x18fc2e(0x1a4)](),_0x501e80['EOlMT']);if(_0x127079){_0x145f14=global[_0x18fc2e(0x172)];if(!_0x145f14){const _0x59efcf=AutomationFramework[_0x18fc2e(0x162)]();_0x145f14=AutomationFramework['getState'](_0x59efcf,PlaywrightDriverModule['KEY_TEST_ID'],'');}this[_0x18fc2e(0x1ab)]['debug'](_0x18fc2e(0x144)+_0x145f14);}else{if(!_0x6195a9){const _0x4efdd7=AutomationFramework[_0x18fc2e(0x162)]();_0x145f14=AutomationFramework[_0x18fc2e(0x1b8)](_0x4efdd7,PlaywrightDriverModule[_0x18fc2e(0x14c)],'');}else _0x145f14=TestInfo[_0x18fc2e(0x17b)](_0x6195a9,_0x6195a9['retry']);this[_0x18fc2e(0x1ab)][_0x18fc2e(0x184)](_0x18fc2e(0x198)+_0x145f14);}if(!_0x145f14)try{const _0x51f918=_0x1852f5[_0x18fc2e(0x17c)](),_0x4a5606=_0x51f918&&_0x51f918[_0x18fc2e(0x15d)]();_0x145f14=_0x4a5606&&_0x501e80['iWOIZ'](typeof _0x4a5606[_0x18fc2e(0x182)],_0x501e80[_0x18fc2e(0x15a)])&&_0x4a5606[_0x18fc2e(0x182)]()||_0x145f14;}catch(_0x135843){this['logger'][_0x18fc2e(0x184)](_0x18fc2e(0x1b7)+(_0x135843&&_0x135843[_0x18fc2e(0x13d)]));}if(!_0x145f14){this['logger'][_0x18fc2e(0x184)](_0x501e80[_0x18fc2e(0x13a)]);return;}const _0xfa0528={[TestFrameworkConstants['KEY_FILE_SIZE']]:fs[_0x18fc2e(0x19e)](_0x3effa6)[_0x18fc2e(0x1a2)],[TestFrameworkConstants[_0x18fc2e(0x1ba)]]:path[_0x18fc2e(0x143)](_0x3effa6),[TestFrameworkConstants['KEY_FILE_PATH']]:_0x3effa6,[TestFrameworkConstants['KEY_FILE_LEVEL']]:_0x32ae84?_0x501e80[_0x18fc2e(0x157)]:_0x501e80[_0x18fc2e(0x142)]};if(_0x127079){const _0x1ea007=_0x1852f5[_0x18fc2e(0x17c)]()[_0x18fc2e(0x15d)]();if(!_0x1ea007){this[_0x18fc2e(0x1ab)]['debug'](_0x501e80[_0x18fc2e(0x15e)]);return;}const _0x4483c2=_0x501e80['ZxoMN'](require,_0x501e80[_0x18fc2e(0x15f)]),_0x1e56c5=_0x501e80[_0x18fc2e(0x16c)](require,_0x501e80[_0x18fc2e(0x1b9)]),_0x1c7439=_0x1ea007[_0x18fc2e(0x155)](_0x4483c2['TEST'],_0x1e56c5[_0x18fc2e(0x145)]);if(!_0x1c7439){this[_0x18fc2e(0x1ab)]['debug'](_0x501e80['bIxzM']);return;}const _0x19d24e=_0x1c7439['getAllData']()[_0x18fc2e(0x193)](_0x145f14)||{},_0xb2cd35=_0x19d24e[TestFrameworkConstants[_0x18fc2e(0x151)]]||{},_0x1b54b8={..._0xb2cd35};_0x1b54b8[_0x3effa6]=_0xfa0528;const _0x55610d=_0x1b54b8,_0x473ba1={[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]:_0x55610d},_0x205087={};_0x205087[_0x145f14]=_0x473ba1,_0x1c7439[_0x18fc2e(0x14b)](_0x205087),this[_0x18fc2e(0x1ab)][_0x18fc2e(0x184)](_0x18fc2e(0x178)+_0x145f14+_0x18fc2e(0x171)+_0x3effa6);}else{const _0x2d5b73=TestInfo['getTestDetails'](_0x145f14),_0x299301=_0x2d5b73[TestFrameworkConstants[_0x18fc2e(0x151)]]||{};_0x299301[_0x3effa6]=_0xfa0528,_0x2d5b73[TestFrameworkConstants[_0x18fc2e(0x151)]]=_0x299301,TestInfo[_0x18fc2e(0x1a7)](_0x145f14,_0x2d5b73),this[_0x18fc2e(0x1ab)][_0x18fc2e(0x184)]('trackFile:\x20Stored\x20attachment\x20in\x20TestInfo\x20file\x20for\x20testId:\x20'+_0x145f14+_0x18fc2e(0x171)+_0x3effa6);}this['logger'][_0x18fc2e(0x184)](util[_0x18fc2e(0x1af)](_0x501e80[_0x18fc2e(0x16f)],_0x3effa6));}catch(_0x30d207){this[_0x18fc2e(0x1ab)][_0x18fc2e(0x184)](util[_0x18fc2e(0x1af)](_0x501e80['DGXlP'],_0x30d207['message']));}}static[a122_0x3433a3(0x158)](){const _0x428c59=a122_0x3433a3,_0x1a0c77={};_0x1a0c77[_0x428c59(0x147)]=_0x428c59(0x1b0),_0x1a0c77[_0x428c59(0x1b1)]='No\x20attachment\x20folder\x20found\x20for\x20testhubID:\x20%s',_0x1a0c77['iAiJT']=_0x428c59(0x196);const _0x4fbeb5=_0x1a0c77,_0x2a7d0d=os[_0x428c59(0x14f)](),_0x32d8dc=path[_0x428c59(0x14d)](_0x2a7d0d,_0x4fbeb5[_0x428c59(0x147)]);if(!fs[_0x428c59(0x1b4)](_0x32d8dc))return;const _0x3851f0=BrowserstackCLI[_0x428c59(0x17c)]()[_0x428c59(0x1bc)]['TestHubModule']?.[_0x428c59(0x173)]?.['toObject']()?.['buildHashedId'],_0x3a8e53=_0x3851f0?path[_0x428c59(0x14d)](_0x32d8dc,_0x3851f0):null;if(!_0x3a8e53||!fs[_0x428c59(0x1b4)](_0x3a8e53)){this[_0x428c59(0x1ab)][_0x428c59(0x184)](util[_0x428c59(0x1af)](_0x4fbeb5[_0x428c59(0x1b1)],_0x3851f0));return;}const _0x25959a={};_0x25959a['recursive']=!![],_0x25959a[_0x428c59(0x165)]=!![],fs[_0x428c59(0x1b3)](_0x3a8e53,_0x25959a),this['logger'][_0x428c59(0x184)](util[_0x428c59(0x1af)](_0x4fbeb5[_0x428c59(0x153)]));}}module['exports']=uploadAttachmentsManager;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a123_0x3492(_0x1fd31d,_0xfd3454){const _0x5431fa=a123_0x5431();return a123_0x3492=function(_0x349297,_0x3e427a){_0x349297=_0x349297-0x71;let _0x5e6b10=_0x5431fa[_0x349297];return _0x5e6b10;},a123_0x3492(_0x1fd31d,_0xfd3454);}const a123_0x266ca3=a123_0x3492;(function(_0x1719f1,_0x2fab12){const _0x13a8d2=a123_0x3492,_0x49ca0c=_0x1719f1();while(!![]){try{const _0x4ca736=-parseInt(_0x13a8d2(0xdf))/0x1*(-parseInt(_0x13a8d2(0x84))/0x2)+parseInt(_0x13a8d2(0xb0))/0x3+-parseInt(_0x13a8d2(0x9c))/0x4+-parseInt(_0x13a8d2(0xc8))/0x5*(parseInt(_0x13a8d2(0x8c))/0x6)+parseInt(_0x13a8d2(0x88))/0x7*(-parseInt(_0x13a8d2(0xc7))/0x8)+parseInt(_0x13a8d2(0xf9))/0x9+-parseInt(_0x13a8d2(0xe3))/0xa*(-parseInt(_0x13a8d2(0xd7))/0xb);if(_0x4ca736===_0x2fab12)break;else _0x49ca0c['push'](_0x49ca0c['shift']());}catch(_0x45f812){_0x49ca0c['push'](_0x49ca0c['shift']());}}}(a123_0x5431,0x7f1f4));function a123_0x5431(){const _0x59fa32=['wiQkf','LuFbR','failure_reason','sourceReference','3516616VqadCI','util','filter','passed','test','feature','unknown','SKIPPED','children','hooks','QDjyP','winstonLogger','Exception\x20in\x20getHookRunEventData:\x20','../../../helpers/helper.js','NRjvh','URsbg','tableBody','hGMqy','toISOString','sXzFl','2662428HQxlwb','status','name','../../../helpers/test-observability/error-handler.js','TCUvn','failed','../TestInfo.js','XbttM','rule','sfXyF','format','nanos','split','scenario','UnhandledError','failureType','bTZep','Awdxl','WYDmO','push','match','GHdFw','value','16tyNRhZ','365gRGPKi','debug','Ztidt','dXXFV','JETqC','toString','join','failure_data','relative','getHookResult','failure','ZQtUF','skipped','getScenarioExamples','YiUaq','55klnLRM','tags','PgZTl','failureData','ggjmP','LQHCn','path','getCucumberHookType','366gAmJZz','createHookData','javascript','includes','3189650ZmQYea','testStepFinished','kaeUB','bUaFP','uSDRi','ncsUz','OLWui','every','kkZmH','../../../helpers/logger.js','hookId','message','dCoOE','Iizgs','flatMap','PfsGH','result','iJxyc','mlOrN','hook','uQoNZ','exception','74754kcBbIt','strip-ansi','sendHook','duration_in_ms','testCaseFinished','cucumber','jWCZW','guOSp','cells','testStepResult','length','configureGit','cHOES','HookRunStarted','eVwvq','astNodeIds','uZnEi','gvUzB','jboyD','sendTestRunEventForCucumber','timestamp','1092HKfcUn','uri','jdemI','failure_type','1401778ctKrRO','HookRunFinished','AssertionError','getHookRunEventData','73158ozjngf','examples','pickleStepId','TEVzQ','find','_gitConfigPath','pending','getTestUUID','mLUsA','tagExpression','mcNlw','createTestFrameworkData'];a123_0x5431=function(){return _0x59fa32;};return a123_0x5431();}const path=require(a123_0x266ca3(0xdd)),util=require(a123_0x266ca3(0x9d)),{getGitMetaData,isUndefined,nestedKeyValue,deriveCucumberHookName,isSdkSetupHook}=require(a123_0x266ca3(0xa9)),logger=require(a123_0x266ca3(0xec))[a123_0x266ca3(0xa7)],{o11yClassErrorHandler}=require(a123_0x266ca3(0xb3)),TestInfo=require(a123_0x266ca3(0xb6)),hooksMap={};class CucumberUtils{constructor(){this['_gitConfigured']=![],this['_gitConfigPath']=null;}async[a123_0x266ca3(0x97)](_0x3b2073,_0x5b3961,_0x2124b0,_0x39a723,_0x4bf678,_0x577442){const _0x2652f7=a123_0x266ca3,_0x32c0a5={'sfXyF':function(_0x4c048a,_0x358b14){return _0x4c048a===_0x358b14;},'TkRja':'FAILED','uSDRi':'failed','ncsUz':function(_0x3f0a90,_0x3102cc){return _0x3f0a90===_0x3102cc;},'XbttM':_0x2652f7(0xa3),'mLUsA':_0x2652f7(0xd4),'WYDmO':function(_0xb64474,_0x346785){return _0xb64474||_0x346785;},'mksvF':function(_0x398859,_0x42e5e9){return _0x398859+_0x42e5e9;},'jWCZW':function(_0x4530ae,_0x1af11d){return _0x4530ae+_0x1af11d;},'dXXFV':_0x2652f7(0xa0),'Ztidt':_0x2652f7(0xe1),'jdaPx':_0x2652f7(0x74),'Iizgs':_0x2652f7(0x92),'LQHCn':_0x2652f7(0x9f),'jboyD':function(_0x38e685,_0x4e7367){return _0x38e685!==_0x4e7367;},'mlOrN':function(_0x4bbc15,_0x1d9767){return _0x4bbc15/_0x1d9767;},'TCUvn':_0x2652f7(0xfa),'ZQtUF':function(_0x210a47,_0x108ee1){return _0x210a47(_0x108ee1);},'UfVYl':_0x2652f7(0xa2),'cHOES':function(_0x50e157,_0x2da538){return _0x50e157(_0x2da538);},'URsbg':_0x2652f7(0x8a),'GHdFw':'UnhandledError'},{feature:_0x52deca,scenario:_0x37ca64,steps:_0x42d815,uuid:_0x131258,startedAt:_0x57e6c,finishedAt:_0x3c1668}=_0x32c0a5[_0x2652f7(0xc2)](_0x3b2073,{}),_0x1fa02f=this['getScenarioExamples'](_0x39a723,_0x5b3961);await this['configureGit']();const _0x44e66b=_0x1fa02f?_0x32c0a5['mksvF'](_0x32c0a5[_0x2652f7(0x75)](_0x32c0a5['jWCZW'](_0x5b3961[_0x2652f7(0xb2)],'\x20('),_0x1fa02f[_0x2652f7(0xce)](',\x20')),')'):_0x5b3961[_0x2652f7(0xb2)],_0x1c951f={'id':_0x4bf678,'uuid':_0x4bf678,'startedAt':_0x57e6c,'finishedAt':_0x3c1668,'type':_0x32c0a5[_0x2652f7(0xcb)],'body':{'lang':_0x32c0a5[_0x2652f7(0xca)],'code':null},'name':_0x44e66b,'scopes':[_0x52deca&&_0x52deca['name']?_0x52deca[_0x2652f7(0xb2)]:''],'tags':_0x5b3961['tags']?_0x5b3961[_0x2652f7(0xd8)]['map'](({name:_0x3b081a})=>_0x3b081a):[],'file_name':_0x5b3961[_0x2652f7(0x85)],'location':_0x5b3961[_0x2652f7(0x85)],'vc_filepath':this[_0x2652f7(0x91)]&&_0x5b3961[_0x2652f7(0x85)]?path[_0x2652f7(0xd0)](this[_0x2652f7(0x91)],_0x5b3961['uri']):null,'framework':_0x32c0a5['jdaPx'],'result':_0x32c0a5[_0x2652f7(0xf0)],'meta':{'feature':_0x52deca,'scenario':_0x37ca64,'steps':_0x42d815,'examples':_0x1fa02f},'customRerunParam':{'rerun_name':_0x44e66b}};if(_0x2124b0['testCaseFinished']&&_0x42d815){const _0x77d09=_0x2124b0[_0x2652f7(0x73)];let _0x4cc3a1=_0x32c0a5[_0x2652f7(0xdc)];_0x42d815[_0x2652f7(0xea)](_0x3b26c5=>{const _0x54f7c3=_0x2652f7;if(_0x32c0a5[_0x54f7c3(0xb9)](_0x3b26c5[_0x54f7c3(0xf3)],_0x32c0a5['TkRja']))return _0x4cc3a1=_0x32c0a5['uSDRi'],_0x77d09[_0x54f7c3(0xd2)]=_0x3b26c5['failure'],_0x77d09[_0x54f7c3(0xbf)]=_0x3b26c5[_0x54f7c3(0xbf)],![];else{if(_0x32c0a5[_0x54f7c3(0xe8)](_0x3b26c5['result'],_0x32c0a5[_0x54f7c3(0xb7)]))return _0x4cc3a1=_0x32c0a5[_0x54f7c3(0x94)],![];}return!![];}),_0x1c951f['finishedAt']=new Date()[_0x2652f7(0xae)](),_0x1c951f[_0x2652f7(0xf3)]=_0x4cc3a1;_0x77d09[_0x2652f7(0x83)]&&_0x32c0a5[_0x2652f7(0x81)](_0x77d09['timestamp']['nanos'],undefined)?_0x1c951f[_0x2652f7(0x72)]=_0x32c0a5[_0x2652f7(0xf5)](_0x77d09[_0x2652f7(0x83)][_0x2652f7(0xbb)],0xf4240):_0x1c951f['duration_in_ms']=undefined;if(_0x32c0a5[_0x2652f7(0xe8)](_0x4cc3a1,_0x32c0a5[_0x2652f7(0xe7)])){const {default:_0x46d32a}=await import(_0x32c0a5[_0x2652f7(0xb4)]);_0x1c951f[_0x2652f7(0xd2)]=[{'backtrace':[_0x77d09[_0x2652f7(0xd2)]?_0x32c0a5[_0x2652f7(0xd3)](_0x46d32a,_0x77d09[_0x2652f7(0xd2)]):_0x32c0a5['UfVYl']]}],_0x1c951f[_0x2652f7(0x9a)]=_0x77d09[_0x2652f7(0xd2)]?_0x32c0a5[_0x2652f7(0x7b)](_0x46d32a,_0x77d09['failure']):_0x77d09[_0x2652f7(0xee)],_0x77d09[_0x2652f7(0xbf)]&&(_0x1c951f[_0x2652f7(0x87)]=_0x77d09[_0x2652f7(0xbf)][_0x2652f7(0xc4)](/AssertError/)?_0x32c0a5[_0x2652f7(0xab)]:_0x32c0a5[_0x2652f7(0xc5)]);}}return _0x1c951f;}['getHookRunEventData'](_0x308b59,_0x5e76d2,_0x483b68,_0x2000d1,_0x18e4fe,_0x57194c){const _0x38b78c=a123_0x266ca3,_0x1935c9={'NRjvh':function(_0xf3ae25,_0x2b0cc6){return _0xf3ae25===_0x2b0cc6;},'bIudQ':_0x38b78c(0x89),'uQoNZ':function(_0x43f5da,_0x2d1563,_0xcf163f){return _0x43f5da(_0x2d1563,_0xcf163f);},'uZnEi':'sourceReference','YiUaq':_0x38b78c(0x85),'YTIzN':_0x38b78c(0x92),'wcGWq':_0x38b78c(0xf6),'Awdxl':function(_0x4605cc,_0x563d72,_0x290048,_0x282cda){return _0x4605cc(_0x563d72,_0x290048,_0x282cda);},'guOSp':_0x38b78c(0xbd),'dCoOE':'name','PfsGH':'javascript','TEVzQ':function(_0x20ab57,_0x4b6e9f,_0x10d1bc){return _0x20ab57(_0x4b6e9f,_0x10d1bc);},'hGMqy':'feature','ggjmP':_0x38b78c(0x74)};try{if(_0x1935c9[_0x38b78c(0xaa)](_0x483b68,_0x1935c9['bIudQ'])){const _0x57cb39=new Date()[_0x38b78c(0xae)](),_0x11660d=hooksMap[_0x5e76d2];if(!_0x11660d)return;const _0x2691fa=_0x11660d[_0x38b78c(0x90)](_0x461195=>_0x461195['uuid']===_0x2000d1['id']);if(!_0x2691fa)return;const _0xa56ead=this[_0x38b78c(0xd1)](_0x308b59,_0x5e76d2);_0x2691fa[_0x38b78c(0xf3)]=_0xa56ead[_0x38b78c(0xb1)],_0x2691fa['finished_at']=_0x57cb39,_0x2691fa[_0x38b78c(0x87)]=_0xa56ead[_0x38b78c(0xbf)];const _0x41368e={};return _0x41368e['backtrace']=_0xa56ead[_0x38b78c(0xda)],_0x2691fa[_0x38b78c(0xcf)]=[_0x41368e],_0x2691fa;}const _0x132df1=TestInfo[_0x38b78c(0x93)](_0x5e76d2),_0x33dadf=_0x308b59[_0x38b78c(0xa5)]['find'](_0x362a34=>_0x362a34['id']===_0x2000d1[_0x38b78c(0xed)]),_0xe2a3f8=_0x1935c9['uQoNZ'](nestedKeyValue,_0x33dadf,[_0x1935c9[_0x38b78c(0x7f)],_0x1935c9[_0x38b78c(0xd6)]]),_0x32c434=new Date()[_0x38b78c(0xae)](),_0x3795d8=_0x1935c9['YTIzN'],_0x1e6adf=_0x33dadf[_0x38b78c(0x95)]?_0x33dadf['tagExpression'][_0x38b78c(0xbc)]('\x20')[_0x38b78c(0x9e)](_0x47ee26=>_0x47ee26[_0x38b78c(0xe2)]('@')):[],_0x24b319={'uuid':_0x2000d1['id'],'type':_0x1935c9['wcGWq'],'hook_type':_0x57194c,'name':_0x1935c9[_0x38b78c(0xc1)](deriveCucumberHookName,_0x33dadf['name'],_0x57194c,_0x1935c9[_0x38b78c(0xf7)](nestedKeyValue,_0x18e4fe,[_0x1935c9[_0x38b78c(0x76)],_0x1935c9[_0x38b78c(0xef)]])),'body':{'lang':_0x1935c9[_0x38b78c(0xf2)],'code':null},'tags':_0x1e6adf,'test_run_id':_0x132df1,'scope':_0x1935c9[_0x38b78c(0x8f)](nestedKeyValue,_0x18e4fe,[_0x1935c9[_0x38b78c(0xad)],_0x1935c9[_0x38b78c(0xef)]]),'scopes':[_0x1935c9[_0x38b78c(0x8f)](nestedKeyValue,_0x18e4fe,[_0x1935c9[_0x38b78c(0xad)],_0x1935c9[_0x38b78c(0xef)]])||''],'file_name':_0xe2a3f8,'location':_0xe2a3f8,'vc_filepath':this['_gitConfigPath']&&_0xe2a3f8?path[_0x38b78c(0xd0)](this['_gitConfigPath'],_0xe2a3f8):null,'result':_0x3795d8,'started_at':_0x32c434,'framework':_0x1935c9[_0x38b78c(0xdb)]};return _0x24b319;}catch(_0x25a68){logger[_0x38b78c(0xc9)](_0x38b78c(0xa8)+util[_0x38b78c(0xba)](_0x25a68)+'\x20');}}async[a123_0x266ca3(0xe0)](_0x56fbfe,_0x497d36,_0x55fd3f,_0x50be4a,_0x1e2972,_0x256f03){const _0x480ec6=a123_0x266ca3,_0x36d9b9={'mcNlw':function(_0x10146b,_0x4b5354){return _0x10146b===_0x4b5354;},'eVwvq':_0x480ec6(0x7c),'NWtpO':function(_0x2c9f59,_0x20c718,_0x26fac7){return _0x2c9f59(_0x20c718,_0x26fac7);},'jdemI':_0x480ec6(0x9b),'wiQkf':_0x480ec6(0x85),'rOLcK':function(_0x11d6ed,_0x6bb09,_0x43affe){return _0x11d6ed(_0x6bb09,_0x43affe);}};try{const _0x5d07dc=_0x50be4a['find'](_0x56f2ea=>_0x56f2ea['id']===_0x1e2972);if(!_0x5d07dc[_0x480ec6(0xed)])return;const _0x24755c=this[_0x480ec6(0xde)](_0x50be4a,_0x5d07dc),_0x3c9397=this[_0x480ec6(0x8b)](_0x56fbfe,_0x497d36,_0x55fd3f,_0x5d07dc,_0x256f03,_0x24755c);if(!_0x3c9397)return;_0x36d9b9[_0x480ec6(0x96)](_0x55fd3f,_0x36d9b9[_0x480ec6(0x7d)])&&(hooksMap[_0x497d36]?hooksMap[_0x497d36][_0x480ec6(0xc3)](_0x3c9397):hooksMap[_0x497d36]=[_0x3c9397]);const _0x169d87=_0x56fbfe[_0x480ec6(0xa5)]['find'](_0x2fb53c=>_0x2fb53c['id']===_0x5d07dc[_0x480ec6(0xed)]),_0x321c59=_0x36d9b9['NWtpO'](nestedKeyValue,_0x169d87,[_0x36d9b9[_0x480ec6(0x86)],_0x36d9b9[_0x480ec6(0x98)]]);if(!_0x321c59)return;else{if(_0x36d9b9['rOLcK'](isSdkSetupHook,_0x321c59,_0x3c9397[_0x480ec6(0xb2)]))return;}return _0x3c9397;}catch(_0x47ef1f){logger[_0x480ec6(0xc9)]('Exception\x20in\x20createHookData:\x20'+util['format'](_0x47ef1f)+'\x20');}}[a123_0x266ca3(0xd1)](_0x5dfab7,_0x58213f){const _0x565016=a123_0x266ca3,_0x5e8d44={};_0x5e8d44[_0x565016(0xf4)]=function(_0x15faa7,_0xfc22cf){return _0x15faa7===_0xfc22cf;},_0x5e8d44[_0x565016(0xc0)]=_0x565016(0xb5),_0x5e8d44[_0x565016(0x99)]=function(_0x25924d,_0x33ceb0){return _0x25924d===_0x33ceb0;},_0x5e8d44[_0x565016(0xe6)]=_0x565016(0xbe),_0x5e8d44[_0x565016(0xcc)]=_0x565016(0x8a),_0x5e8d44[_0x565016(0x80)]=function(_0x1bfa96,_0x15479d){return _0x1bfa96||_0x15479d;};const _0x3c8da4=_0x5e8d44,_0x268b99=_0x5dfab7[_0x565016(0xe4)][_0x58213f][_0x565016(0x78)];let _0x45fd25,_0x591182;return _0x268b99&&_0x3c8da4[_0x565016(0xf4)](_0x268b99['status'][_0x565016(0xcd)]()['toLowerCase'](),_0x3c8da4[_0x565016(0xc0)])&&(_0x45fd25=_0x3c8da4[_0x565016(0x99)](_0x268b99[_0x565016(0xf8)],undefined)?_0x268b99[_0x565016(0xee)]:_0x268b99[_0x565016(0xf8)]['message'],_0x591182=_0x3c8da4[_0x565016(0xf4)](_0x268b99[_0x565016(0xf8)],undefined)?_0x3c8da4['bUaFP']:_0x268b99['message'][_0x565016(0xc4)](/Assert/)?_0x3c8da4['JETqC']:_0x3c8da4[_0x565016(0xe6)]),{'status':_0x268b99[_0x565016(0xb1)]['toLowerCase'](),'failureType':_0x3c8da4['gvUzB'](_0x591182,null),'failureData':!_0x45fd25?null:[_0x45fd25]};}['getCucumberHookType'](_0x396199,_0x844994){const _0x3fa6f3=a123_0x266ca3,_0x3ade35={};_0x3ade35[_0x3fa6f3(0xe5)]=function(_0x322ba0,_0x25d6d8){return _0x322ba0===_0x25d6d8;},_0x3ade35[_0x3fa6f3(0xd9)]='AFTER_EACH',_0x3ade35[_0x3fa6f3(0xa6)]='BEFORE_EACH';const _0x2a0614=_0x3ade35;let _0x3b97db=![];for(const _0x5315b0 of _0x396199){_0x5315b0[_0x3fa6f3(0x8e)]&&(_0x3b97db=!![]);if(_0x2a0614['kaeUB'](_0x844994['id'],_0x5315b0['id']))return _0x3b97db?_0x2a0614['PgZTl']:_0x2a0614[_0x3fa6f3(0xa6)];}}['getScenarioExamples']=(_0x5960f4,_0x3ae743)=>{const _0x1bbe30=a123_0x266ca3,_0x57542a={};_0x57542a[_0x1bbe30(0xe9)]=function(_0xb9abcf,_0x3c7d38){return _0xb9abcf===_0x3c7d38;},_0x57542a[_0x1bbe30(0xeb)]=function(_0x9fb5b9,_0xda114a){return _0x9fb5b9>_0xda114a;};const _0x2f2cb9=_0x57542a;if(!(_0x3ae743[_0x1bbe30(0x7e)]&&_0x2f2cb9['kkZmH'](_0x3ae743[_0x1bbe30(0x7e)]['length'],0x1)))return;const _0x5c9988=_0x3ae743[_0x1bbe30(0x7e)][0x0],_0x4f4ed6=_0x3ae743[_0x1bbe30(0x7e)][0x1],_0x74aa46=_0x5960f4[_0x1bbe30(0xa1)]&&_0x5960f4[_0x1bbe30(0xa1)][_0x1bbe30(0xa4)]?_0x5960f4['feature'][_0x1bbe30(0xa4)]:undefined;let _0x276bd=[];_0x74aa46&&_0x74aa46['forEach'](_0x3d6d42=>{const _0x56cda7=_0x1bbe30;if(_0x3d6d42[_0x56cda7(0xb8)])_0x3d6d42[_0x56cda7(0xb8)][_0x56cda7(0xa4)]['forEach'](_0x20ca9e=>{const _0x4ec1f5=_0x56cda7;if(_0x20ca9e['scenario']&&_0x2f2cb9[_0x4ec1f5(0xe9)](_0x20ca9e[_0x4ec1f5(0xbd)]['id'],_0x5c9988)&&_0x20ca9e[_0x4ec1f5(0xbd)][_0x4ec1f5(0x8d)]){const _0x4ac5f6=_0x20ca9e[_0x4ec1f5(0xbd)][_0x4ec1f5(0x8d)]['flatMap'](_0xee1ad=>_0xee1ad[_0x4ec1f5(0xac)])[_0x4ec1f5(0x90)](_0x40033f=>_0x40033f['id']===_0x4f4ed6);let _0x568cdf;_0x4ac5f6&&_0x4ac5f6[_0x4ec1f5(0x77)]?_0x568cdf=_0x4ac5f6[_0x4ec1f5(0x77)]['map'](_0x21e85f=>_0x21e85f[_0x4ec1f5(0xc6)]):_0x568cdf=[],_0x568cdf&&(_0x276bd=_0x568cdf);}});else{if(_0x3d6d42[_0x56cda7(0xbd)]&&_0x2f2cb9[_0x56cda7(0xe9)](_0x3d6d42[_0x56cda7(0xbd)]['id'],_0x5c9988)&&_0x3d6d42['scenario'][_0x56cda7(0x8d)]){const _0x383f31=_0x3d6d42[_0x56cda7(0xbd)]['examples'][_0x56cda7(0xf1)](_0x16016d=>_0x16016d[_0x56cda7(0xac)])[_0x56cda7(0x90)](_0x1f768c=>_0x1f768c['id']===_0x4f4ed6);let _0x46609d;_0x383f31&&_0x383f31[_0x56cda7(0x77)]?_0x46609d=_0x383f31[_0x56cda7(0x77)]['map'](_0x2bde5a=>_0x2bde5a[_0x56cda7(0xc6)]):_0x46609d=[],_0x46609d&&(_0x276bd=_0x46609d);}}});if(_0x276bd[_0x1bbe30(0x79)])return _0x276bd;return;};async[a123_0x266ca3(0x7a)](){const _0x2c6edd=a123_0x266ca3,_0x4405b2={'sXzFl':function(_0x2ebd50){return _0x2ebd50();}};if(this['_gitConfigured'])return this['_gitConfigPath'];const _0x5f0b5b=await _0x4405b2[_0x2c6edd(0xaf)](getGitMetaData);_0x5f0b5b&&(this['_gitConfigPath']=_0x5f0b5b['root']),this['_gitConfigured']=!![];}}module['exports']=o11yClassErrorHandler(CucumberUtils,['configureGit',a123_0x266ca3(0xd5),a123_0x266ca3(0xde),a123_0x266ca3(0xd1),a123_0x266ca3(0x71),a123_0x266ca3(0x8b),a123_0x266ca3(0x82),a123_0x266ca3(0x97)]);
|
|
1
|
+
const a123_0x1ab1a8=a123_0x1431;(function(_0x11c56c,_0x583594){const _0x400ce5=a123_0x1431,_0x528f25=_0x11c56c();while(!![]){try{const _0x42ef35=-parseInt(_0x400ce5(0x20a))/0x1+-parseInt(_0x400ce5(0x204))/0x2+parseInt(_0x400ce5(0x203))/0x3+parseInt(_0x400ce5(0x1c2))/0x4+-parseInt(_0x400ce5(0x1e2))/0x5+parseInt(_0x400ce5(0x1ca))/0x6+parseInt(_0x400ce5(0x237))/0x7*(parseInt(_0x400ce5(0x1fe))/0x8);if(_0x42ef35===_0x583594)break;else _0x528f25['push'](_0x528f25['shift']());}catch(_0x357b69){_0x528f25['push'](_0x528f25['shift']());}}}(a123_0x2777,0xf2eb1));function a123_0x2777(){const _0x12ee67=['getCucumberHookType','ypswl','hook','_gitConfigured','result','AssertionError','sendTestRunEventForCucumber','exception','failureData','message','XbYqQ','1360820UEbPqG','hooks','createTestFrameworkData','status','HsCeN','uIsOo','xswEM','failure_reason','1173324qHxfUa','../TestInfo.js','NuSmO','NVmUq','RPfui','failureType','VejxR','bZynB','QUOry','aksxl','yXmGF','eTuUV','length','tagExpression','pickleStepId','cells','uuid','UnhandledError','duration_in_ms','tableBody','BEFORE_EACH','toString','getHookResult','sendHook','5917135MsbIlz','IWkCu','JndXD','value','NfWCJ','astNodeIds','Exception\x20in\x20createHookData:\x20','_gitConfigPath','hookId','mBAnW','TQRJD','FtiTr','DmaqQ','map','NSdzD','pending','Exception\x20in\x20getHookRunEventData:\x20','HookRunStarted','timestamp','eeRKf','qGpJr','ptadE','debug','tvLrL','IzxsL','MTAdR','relative','failed','8148792KEjsrl','txlBK','AKdGv','nanos','getScenarioExamples','2682039ONrkYB','2115530OxyWbm','qtokR','path','getHookRunEventData','AcUsT','evilg','1249384MnSrIr','hULrH','../../../helpers/test-observability/error-handler.js','zHzxm','tags','CYrKo','format','children','toISOString','root','FAILED','fGJBB','exports','every','scenario','test','testCaseFinished','finishedAt','feature','mIftZ','bczXL','strip-ansi','uri','name','failure','finished_at','ZDXHI','sBAYO','util','sourceReference','cZZtd','join','javascript','SKIPPED','IGRmi','dlmbu','examples','flatMap','failure_type','winstonLogger','backtrace','find','cucumber','MygBE','testStepFinished','21sWoYgg','configureGit','match','forEach','split','failure_data','passed'];a123_0x2777=function(){return _0x12ee67;};return a123_0x2777();}const path=require(a123_0x1ab1a8(0x206)),util=require(a123_0x1ab1a8(0x226)),{getGitMetaData,isUndefined,nestedKeyValue,deriveCucumberHookName,isSdkSetupHook}=require('../../../helpers/helper.js'),logger=require('../../../helpers/logger.js')[a123_0x1ab1a8(0x231)],{o11yClassErrorHandler}=require(a123_0x1ab1a8(0x20c)),TestInfo=require(a123_0x1ab1a8(0x1cb)),hooksMap={};function a123_0x1431(_0x438866,_0x40a100){const _0x2777d3=a123_0x2777();return a123_0x1431=function(_0x143143,_0x8917d8){_0x143143=_0x143143-0x1be;let _0x1f7b80=_0x2777d3[_0x143143];return _0x1f7b80;},a123_0x1431(_0x438866,_0x40a100);}class CucumberUtils{constructor(){const _0x9e53d0=a123_0x1ab1a8;this[_0x9e53d0(0x241)]=![],this[_0x9e53d0(0x1e9)]=null;}async[a123_0x1ab1a8(0x1c4)](_0x1e2580,_0x247849,_0x5ba067,_0x334d68,_0x569a3c,_0x3d4f16){const _0x36b6ab=a123_0x1ab1a8,_0x344b77={'JndXD':function(_0x7bb993,_0x57aa4c){return _0x7bb993===_0x57aa4c;},'qtokR':_0x36b6ab(0x214),'CYrKo':_0x36b6ab(0x1fd),'ptadE':function(_0x3c5795,_0x956e5c){return _0x3c5795===_0x956e5c;},'evilg':_0x36b6ab(0x22b),'NfWCJ':'skipped','dlmbu':function(_0x282957,_0x4478c8){return _0x282957||_0x4478c8;},'QUOry':function(_0x38e968,_0x52c0e7){return _0x38e968+_0x52c0e7;},'bZynB':function(_0x464ce0,_0x570ef5){return _0x464ce0+_0x570ef5;},'NuSmO':_0x36b6ab(0x219),'yXmGF':_0x36b6ab(0x22a),'uIsOo':_0x36b6ab(0x234),'ypswl':_0x36b6ab(0x1f1),'zHzxm':_0x36b6ab(0x23d),'HsCeN':function(_0x24481a,_0x5d9620){return _0x24481a!==_0x5d9620;},'XbYqQ':function(_0x484a1d,_0x460e0a){return _0x484a1d/_0x460e0a;},'QWUGv':function(_0x3ece86,_0x225636){return _0x3ece86===_0x225636;},'txlBK':_0x36b6ab(0x21f),'LONjF':function(_0x345371,_0x223cd0){return _0x345371(_0x223cd0);},'bczXL':'unknown','DvjaM':function(_0x3d08b6,_0x1b1bb6){return _0x3d08b6(_0x1b1bb6);},'cZZtd':_0x36b6ab(0x243),'EnoLo':'UnhandledError'},{feature:_0x9cd90d,scenario:_0x70adf4,steps:_0x39ce2d,uuid:_0x14dd5e,startedAt:_0x2687d2,finishedAt:_0x57b6e6}=_0x344b77[_0x36b6ab(0x22d)](_0x1e2580,{}),_0x5f01e5=this[_0x36b6ab(0x202)](_0x334d68,_0x247849);await this[_0x36b6ab(0x238)]();const _0x5b6530=_0x5f01e5?_0x344b77[_0x36b6ab(0x1d2)](_0x344b77['QUOry'](_0x344b77[_0x36b6ab(0x1d1)](_0x247849['name'],'\x20('),_0x5f01e5[_0x36b6ab(0x229)](',\x20')),')'):_0x247849[_0x36b6ab(0x221)],_0x3e4169={'id':_0x569a3c,'uuid':_0x569a3c,'startedAt':_0x2687d2,'finishedAt':_0x57b6e6,'type':_0x344b77[_0x36b6ab(0x1cc)],'body':{'lang':_0x344b77[_0x36b6ab(0x1d4)],'code':null},'name':_0x5b6530,'scopes':[_0x9cd90d&&_0x9cd90d[_0x36b6ab(0x221)]?_0x9cd90d[_0x36b6ab(0x221)]:''],'tags':_0x247849[_0x36b6ab(0x20e)]?_0x247849[_0x36b6ab(0x20e)][_0x36b6ab(0x1ef)](({name:_0xf8714d})=>_0xf8714d):[],'file_name':_0x247849[_0x36b6ab(0x220)],'location':_0x247849['uri'],'vc_filepath':this['_gitConfigPath']&&_0x247849[_0x36b6ab(0x220)]?path[_0x36b6ab(0x1fc)](this[_0x36b6ab(0x1e9)],_0x247849['uri']):null,'framework':_0x344b77[_0x36b6ab(0x1c7)],'result':_0x344b77[_0x36b6ab(0x23f)],'meta':{'feature':_0x9cd90d,'scenario':_0x70adf4,'steps':_0x39ce2d,'examples':_0x5f01e5},'customRerunParam':{'rerun_name':_0x5b6530}};if(_0x5ba067[_0x36b6ab(0x21a)]&&_0x39ce2d){const _0x1e0cb4=_0x5ba067[_0x36b6ab(0x21a)];let _0x80c721=_0x344b77[_0x36b6ab(0x20d)];_0x39ce2d[_0x36b6ab(0x217)](_0x3b4230=>{const _0x101f68=_0x36b6ab;if(_0x344b77[_0x101f68(0x1e4)](_0x3b4230['result'],_0x344b77[_0x101f68(0x205)]))return _0x80c721=_0x344b77[_0x101f68(0x20f)],_0x1e0cb4['failure']=_0x3b4230['failure'],_0x1e0cb4[_0x101f68(0x1cf)]=_0x3b4230[_0x101f68(0x1cf)],![];else{if(_0x344b77[_0x101f68(0x1f7)](_0x3b4230[_0x101f68(0x242)],_0x344b77[_0x101f68(0x209)]))return _0x80c721=_0x344b77[_0x101f68(0x1e6)],![];}return!![];}),_0x3e4169[_0x36b6ab(0x21b)]=new Date()[_0x36b6ab(0x212)](),_0x3e4169['result']=_0x80c721;_0x1e0cb4['timestamp']&&_0x344b77[_0x36b6ab(0x1c6)](_0x1e0cb4[_0x36b6ab(0x1f4)][_0x36b6ab(0x201)],undefined)?_0x3e4169[_0x36b6ab(0x1dc)]=_0x344b77[_0x36b6ab(0x1c1)](_0x1e0cb4[_0x36b6ab(0x1f4)]['nanos'],0xf4240):_0x3e4169['duration_in_ms']=undefined;if(_0x344b77['QWUGv'](_0x80c721,_0x344b77[_0x36b6ab(0x20f)])){const {default:_0x2c19e1}=await import(_0x344b77[_0x36b6ab(0x1ff)]);_0x3e4169[_0x36b6ab(0x222)]=[{'backtrace':[_0x1e0cb4[_0x36b6ab(0x222)]?_0x344b77['LONjF'](_0x2c19e1,_0x1e0cb4[_0x36b6ab(0x222)]):_0x344b77[_0x36b6ab(0x21e)]]}],_0x3e4169[_0x36b6ab(0x1c9)]=_0x1e0cb4['failure']?_0x344b77['DvjaM'](_0x2c19e1,_0x1e0cb4[_0x36b6ab(0x222)]):_0x1e0cb4[_0x36b6ab(0x1c0)],_0x1e0cb4['failureType']&&(_0x3e4169[_0x36b6ab(0x230)]=_0x1e0cb4['failureType'][_0x36b6ab(0x239)](/AssertError/)?_0x344b77[_0x36b6ab(0x228)]:_0x344b77['EnoLo']);}}return _0x3e4169;}[a123_0x1ab1a8(0x207)](_0x79f173,_0xee387f,_0x44e717,_0x31710b,_0x4c12ac,_0x12790a){const _0x1ed208=a123_0x1ab1a8,_0x5f1dab={'hULrH':function(_0x2afeab,_0x4af1ac){return _0x2afeab===_0x4af1ac;},'nGDaT':'HookRunFinished','NVmUq':function(_0x35a366,_0x1aca9d,_0x6bb409){return _0x35a366(_0x1aca9d,_0x6bb409);},'CAhvx':_0x1ed208(0x227),'aksxl':_0x1ed208(0x220),'BnPVi':_0x1ed208(0x1f1),'tvLrL':_0x1ed208(0x240),'TQRJD':function(_0x3be9f8,_0x654bb,_0x47b5a3,_0x4835ef){return _0x3be9f8(_0x654bb,_0x47b5a3,_0x4835ef);},'xswEM':'scenario','mIftZ':_0x1ed208(0x221),'WOcRa':_0x1ed208(0x22a),'NSdzD':_0x1ed208(0x21c),'IGRmi':_0x1ed208(0x234)};try{if(_0x5f1dab[_0x1ed208(0x20b)](_0x44e717,_0x5f1dab['nGDaT'])){const _0x322a7f=new Date()[_0x1ed208(0x212)](),_0xd193c3=hooksMap[_0xee387f];if(!_0xd193c3)return;const _0x447428=_0xd193c3[_0x1ed208(0x233)](_0x50423e=>_0x50423e[_0x1ed208(0x1da)]===_0x31710b['id']);if(!_0x447428)return;const _0x2c59d5=this[_0x1ed208(0x1e0)](_0x79f173,_0xee387f);_0x447428[_0x1ed208(0x242)]=_0x2c59d5[_0x1ed208(0x1c5)],_0x447428[_0x1ed208(0x223)]=_0x322a7f,_0x447428[_0x1ed208(0x230)]=_0x2c59d5[_0x1ed208(0x1cf)];const _0x547ac1={};return _0x547ac1[_0x1ed208(0x232)]=_0x2c59d5[_0x1ed208(0x1bf)],_0x447428[_0x1ed208(0x23c)]=[_0x547ac1],_0x447428;}const _0xeabe06=TestInfo['getTestUUID'](_0xee387f),_0x4a0b07=_0x79f173[_0x1ed208(0x1c3)][_0x1ed208(0x233)](_0x3fa1fe=>_0x3fa1fe['id']===_0x31710b[_0x1ed208(0x1ea)]),_0x2c51e4=_0x5f1dab['NVmUq'](nestedKeyValue,_0x4a0b07,[_0x5f1dab['CAhvx'],_0x5f1dab[_0x1ed208(0x1d3)]]),_0x31d097=new Date()[_0x1ed208(0x212)](),_0x465326=_0x5f1dab['BnPVi'],_0x1b945a=_0x4a0b07['tagExpression']?_0x4a0b07[_0x1ed208(0x1d7)][_0x1ed208(0x23b)]('\x20')['filter'](_0x57d943=>_0x57d943['includes']('@')):[],_0x2e5a1e={'uuid':_0x31710b['id'],'type':_0x5f1dab[_0x1ed208(0x1f9)],'hook_type':_0x12790a,'name':_0x5f1dab[_0x1ed208(0x1ec)](deriveCucumberHookName,_0x4a0b07['name'],_0x12790a,_0x5f1dab[_0x1ed208(0x1cd)](nestedKeyValue,_0x4c12ac,[_0x5f1dab[_0x1ed208(0x1c8)],_0x5f1dab[_0x1ed208(0x21d)]])),'body':{'lang':_0x5f1dab['WOcRa'],'code':null},'tags':_0x1b945a,'test_run_id':_0xeabe06,'scope':_0x5f1dab[_0x1ed208(0x1cd)](nestedKeyValue,_0x4c12ac,[_0x5f1dab[_0x1ed208(0x1f0)],_0x5f1dab['mIftZ']]),'scopes':[_0x5f1dab[_0x1ed208(0x1cd)](nestedKeyValue,_0x4c12ac,[_0x5f1dab[_0x1ed208(0x1f0)],_0x5f1dab[_0x1ed208(0x21d)]])||''],'file_name':_0x2c51e4,'location':_0x2c51e4,'vc_filepath':this[_0x1ed208(0x1e9)]&&_0x2c51e4?path[_0x1ed208(0x1fc)](this['_gitConfigPath'],_0x2c51e4):null,'result':_0x465326,'started_at':_0x31d097,'framework':_0x5f1dab[_0x1ed208(0x22c)]};return _0x2e5a1e;}catch(_0x20a348){logger[_0x1ed208(0x1f8)](_0x1ed208(0x1f2)+util[_0x1ed208(0x210)](_0x20a348)+'\x20');}}async['createHookData'](_0x50f086,_0x5200e1,_0x335c29,_0x2fa8da,_0x736fe0,_0x5d1689){const _0xb638a7=a123_0x1ab1a8,_0x3ac744={'NNKfk':function(_0xb4f5b8,_0xe9fd5){return _0xb4f5b8===_0xe9fd5;},'eTuUV':_0xb638a7(0x1f3),'mBAnW':function(_0x394977,_0x47879b,_0x64c5d6){return _0x394977(_0x47879b,_0x64c5d6);},'MygBE':'sourceReference','eeRKf':_0xb638a7(0x220),'ZDXHI':function(_0x45c62d,_0x40c250,_0x4722ce){return _0x45c62d(_0x40c250,_0x4722ce);}};try{const _0xdbaa81=_0x2fa8da[_0xb638a7(0x233)](_0x33f057=>_0x33f057['id']===_0x736fe0);if(!_0xdbaa81[_0xb638a7(0x1ea)])return;const _0x5d4c04=this[_0xb638a7(0x23e)](_0x2fa8da,_0xdbaa81),_0x5403d5=this['getHookRunEventData'](_0x50f086,_0x5200e1,_0x335c29,_0xdbaa81,_0x5d1689,_0x5d4c04);if(!_0x5403d5)return;_0x3ac744['NNKfk'](_0x335c29,_0x3ac744[_0xb638a7(0x1d5)])&&(hooksMap[_0x5200e1]?hooksMap[_0x5200e1]['push'](_0x5403d5):hooksMap[_0x5200e1]=[_0x5403d5]);const _0x1a8305=_0x50f086[_0xb638a7(0x1c3)][_0xb638a7(0x233)](_0x17f611=>_0x17f611['id']===_0xdbaa81[_0xb638a7(0x1ea)]),_0x14f9f4=_0x3ac744[_0xb638a7(0x1eb)](nestedKeyValue,_0x1a8305,[_0x3ac744[_0xb638a7(0x235)],_0x3ac744[_0xb638a7(0x1f5)]]);if(!_0x14f9f4)return;else{if(_0x3ac744[_0xb638a7(0x224)](isSdkSetupHook,_0x14f9f4,_0x5403d5[_0xb638a7(0x221)]))return;}return _0x5403d5;}catch(_0x5a350d){logger[_0xb638a7(0x1f8)](_0xb638a7(0x1e8)+util[_0xb638a7(0x210)](_0x5a350d)+'\x20');}}['getHookResult'](_0x12388f,_0x239a48){const _0x103a8e=a123_0x1ab1a8,_0x5a50aa={};_0x5a50aa[_0x103a8e(0x1fa)]=function(_0xbd2f5d,_0x1dd51e){return _0xbd2f5d===_0x1dd51e;},_0x5a50aa[_0x103a8e(0x1ee)]=_0x103a8e(0x1fd),_0x5a50aa[_0x103a8e(0x208)]=function(_0x445eb8,_0x10a6ca){return _0x445eb8===_0x10a6ca;},_0x5a50aa[_0x103a8e(0x1ce)]=function(_0x5c73db,_0x5c7c00){return _0x5c73db===_0x5c7c00;},_0x5a50aa['IWkCu']=_0x103a8e(0x1db),_0x5a50aa[_0x103a8e(0x1d0)]=_0x103a8e(0x243),_0x5a50aa[_0x103a8e(0x1fb)]=function(_0x3b9418,_0xbc286d){return _0x3b9418||_0xbc286d;};const _0x146df7=_0x5a50aa,_0x296ee3=_0x12388f[_0x103a8e(0x236)][_0x239a48]['testStepResult'];let _0x3a79d9,_0x3d6b50;return _0x296ee3&&_0x146df7[_0x103a8e(0x1fa)](_0x296ee3[_0x103a8e(0x1c5)][_0x103a8e(0x1df)]()['toLowerCase'](),_0x146df7[_0x103a8e(0x1ee)])&&(_0x3a79d9=_0x146df7[_0x103a8e(0x208)](_0x296ee3[_0x103a8e(0x1be)],undefined)?_0x296ee3['message']:_0x296ee3['exception'][_0x103a8e(0x1c0)],_0x3d6b50=_0x146df7[_0x103a8e(0x1ce)](_0x296ee3['exception'],undefined)?_0x146df7[_0x103a8e(0x1e3)]:_0x296ee3['message'][_0x103a8e(0x239)](/Assert/)?_0x146df7['VejxR']:_0x146df7[_0x103a8e(0x1e3)]),{'status':_0x296ee3['status']['toLowerCase'](),'failureType':_0x146df7['MTAdR'](_0x3d6b50,null),'failureData':!_0x3a79d9?null:[_0x3a79d9]};}['getCucumberHookType'](_0x47abf1,_0x330b58){const _0x3c645a=a123_0x1ab1a8,_0x29236c={};_0x29236c[_0x3c645a(0x1ed)]=function(_0x2d4e27,_0x192297){return _0x2d4e27===_0x192297;},_0x29236c[_0x3c645a(0x225)]='AFTER_EACH',_0x29236c[_0x3c645a(0x1f6)]=_0x3c645a(0x1de);const _0x4a8417=_0x29236c;let _0x2461ad=![];for(const _0x537315 of _0x47abf1){_0x537315[_0x3c645a(0x1d8)]&&(_0x2461ad=!![]);if(_0x4a8417['FtiTr'](_0x330b58['id'],_0x537315['id']))return _0x2461ad?_0x4a8417[_0x3c645a(0x225)]:_0x4a8417[_0x3c645a(0x1f6)];}}['getScenarioExamples']=(_0x5c48f8,_0x12be11)=>{const _0x33d5e7=a123_0x1ab1a8,_0x49ff63={};_0x49ff63[_0x33d5e7(0x215)]=function(_0x123461,_0x348ebd){return _0x123461===_0x348ebd;},_0x49ff63[_0x33d5e7(0x200)]=function(_0x523979,_0x4ad21c){return _0x523979>_0x4ad21c;};const _0x4e7ee8=_0x49ff63;if(!(_0x12be11[_0x33d5e7(0x1e7)]&&_0x4e7ee8['AKdGv'](_0x12be11['astNodeIds'][_0x33d5e7(0x1d6)],0x1)))return;const _0x126c72=_0x12be11[_0x33d5e7(0x1e7)][0x0],_0x1811a4=_0x12be11[_0x33d5e7(0x1e7)][0x1],_0x228cfc=_0x5c48f8[_0x33d5e7(0x21c)]&&_0x5c48f8[_0x33d5e7(0x21c)][_0x33d5e7(0x211)]?_0x5c48f8['feature'][_0x33d5e7(0x211)]:undefined;let _0x29cb47=[];_0x228cfc&&_0x228cfc[_0x33d5e7(0x23a)](_0x4a5b48=>{const _0x38199f=_0x33d5e7;if(_0x4a5b48['rule'])_0x4a5b48['rule']['children'][_0x38199f(0x23a)](_0x3c136e=>{const _0x3031e5=_0x38199f;if(_0x3c136e[_0x3031e5(0x218)]&&_0x4e7ee8[_0x3031e5(0x215)](_0x3c136e['scenario']['id'],_0x126c72)&&_0x3c136e[_0x3031e5(0x218)]['examples']){const _0x13d10f=_0x3c136e[_0x3031e5(0x218)][_0x3031e5(0x22e)]['flatMap'](_0x2412e4=>_0x2412e4[_0x3031e5(0x1dd)])['find'](_0x360f76=>_0x360f76['id']===_0x1811a4);let _0x596167;_0x13d10f&&_0x13d10f[_0x3031e5(0x1d9)]?_0x596167=_0x13d10f[_0x3031e5(0x1d9)]['map'](_0x1c92a1=>_0x1c92a1[_0x3031e5(0x1e5)]):_0x596167=[],_0x596167&&(_0x29cb47=_0x596167);}});else{if(_0x4a5b48['scenario']&&_0x4e7ee8[_0x38199f(0x215)](_0x4a5b48[_0x38199f(0x218)]['id'],_0x126c72)&&_0x4a5b48['scenario'][_0x38199f(0x22e)]){const _0x3beed7=_0x4a5b48['scenario']['examples'][_0x38199f(0x22f)](_0x5207c9=>_0x5207c9[_0x38199f(0x1dd)])[_0x38199f(0x233)](_0x398602=>_0x398602['id']===_0x1811a4);let _0x34a38d;_0x3beed7&&_0x3beed7[_0x38199f(0x1d9)]?_0x34a38d=_0x3beed7[_0x38199f(0x1d9)][_0x38199f(0x1ef)](_0x2a50d7=>_0x2a50d7['value']):_0x34a38d=[],_0x34a38d&&(_0x29cb47=_0x34a38d);}}});if(_0x29cb47[_0x33d5e7(0x1d6)])return _0x29cb47;return;};async['configureGit'](){const _0x16b60c=a123_0x1ab1a8,_0x37227e={'Retml':function(_0x43316d){return _0x43316d();}};if(this[_0x16b60c(0x241)])return this[_0x16b60c(0x1e9)];const _0x17f912=await _0x37227e['Retml'](getGitMetaData);_0x17f912&&(this[_0x16b60c(0x1e9)]=_0x17f912[_0x16b60c(0x213)]),this['_gitConfigured']=!![];}}module[a123_0x1ab1a8(0x216)]=o11yClassErrorHandler(CucumberUtils,[a123_0x1ab1a8(0x238),a123_0x1ab1a8(0x202),a123_0x1ab1a8(0x23e),a123_0x1ab1a8(0x1e0),a123_0x1ab1a8(0x1e1),a123_0x1ab1a8(0x207),a123_0x1ab1a8(0x244),a123_0x1ab1a8(0x1c4)]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a124_0x5ad4d6=a124_0xd37e;(function(_0x1f26cb,_0xb3e877){const _0x194900=a124_0xd37e,_0x313b1d=_0x1f26cb();while(!![]){try{const _0x2a253f=-parseInt(_0x194900(0x271))/0x1*(-parseInt(_0x194900(0x28d))/0x2)+-parseInt(_0x194900(0x2a3))/0x3*(-parseInt(_0x194900(0x229))/0x4)+parseInt(_0x194900(0x23a))/0x5*(-parseInt(_0x194900(0x243))/0x6)+parseInt(_0x194900(0x219))/0x7+-parseInt(_0x194900(0x267))/0x8*(parseInt(_0x194900(0x24a))/0x9)+parseInt(_0x194900(0x2bb))/0xa*(-parseInt(_0x194900(0x20d))/0xb)+parseInt(_0x194900(0x210))/0xc;if(_0x2a253f===_0xb3e877)break;else _0x313b1d['push'](_0x313b1d['shift']());}catch(_0x11d12e){_0x313b1d['push'](_0x313b1d['shift']());}}}(a124_0x4d5c,0x5781f));const path=require(a124_0x5ad4d6(0x247)),util=require(a124_0x5ad4d6(0x212)),crypto=require(a124_0x5ad4d6(0x256)),{getGitMetaData,isUndefined,nestedKeyValue}=require(a124_0x5ad4d6(0x21f)),logger=require(a124_0x5ad4d6(0x221))[a124_0x5ad4d6(0x27b)],{o11yClassErrorHandler}=require(a124_0x5ad4d6(0x202)),TestInfo=require(a124_0x5ad4d6(0x293)),{failureData,getFailureType,PathHelper}=require(a124_0x5ad4d6(0x1f7)),stackTrace=require(a124_0x5ad4d6(0x294)),{pickUserFrameFile}=require(a124_0x5ad4d6(0x22f)),a124_0x1b190d={};a124_0x1b190d[a124_0x5ad4d6(0x22e)]=a124_0x5ad4d6(0x29c),a124_0x1b190d[a124_0x5ad4d6(0x28c)]=a124_0x5ad4d6(0x244),a124_0x1b190d[a124_0x5ad4d6(0x25d)]=a124_0x5ad4d6(0x22d),a124_0x1b190d[a124_0x5ad4d6(0x242)]=a124_0x5ad4d6(0x291);const HOOK_TYPES_MAP=a124_0x1b190d,hooksMap={};function a124_0x4d5c(){const _0x3e2604=['No\x20hook\x20data\x20provided\x20for\x20jest\x20hook\x20event','gGuku','gUzbY','88948hBFjZg','extractTestFilePath','started_at','jest-circus','BEFORE_EACH','beforeAll','../../../helpers/stackFrameUtils','[jestUtils]\x20Error\x20getting\x20test\x20identifier:\x20','DaTCx','relative','javascript','errorsDetailed','UVJXB','tWqxu','NEUeQ','title','call','5hKFBuI','prefixTestPath','hex','VeZBQ','err','_gitConfigPath','[jestUtils]\x20pickUserFrameFile\x20found\x20no\x20user\x20frame\x20(trace\x20length=','getHookRunEventData','afterEach','2332248Etzoip','AFTER_ALL','_paths','NFidl','path','backtrace','format','27ILxsyw','getTime','match','inspect','getTestIdentifier','uqsOz','fChSv','type','LaIXu','zyqke','isJestInternalHook','pending','crypto','update','[jestUtils]\x20No\x20testInfo\x20provided,\x20cannot\x20create\x20identifier','PxmWD','getRootParentFile','oUerx','failure_data','beforeEach','OPpKh','XlTAg','length','Exception\x20in\x20checking\x20if\x20hook\x20is\x20internal:\x20','errors','ROOT_DESCRIBE_BLOCK','__workerDetails','[jestUtils]\x20Created\x20identifier:\x20','includes','1302824tApssL','toString','[jestUtils]\x20No\x20testInfo\x20provided\x20for\x20recreation','getState','ilHbF','createHookData','zsHkZ','lZyJH','No\x20test\x20data\x20provided\x20for\x20jest\x20test\x20event','getName','51563bHhIkX','failure_type','toISOString','fullName','ABXDa',',\x20hookUUID:\x20','asyncError','error','NyeZX','diUpc','winstonLogger','root','md5','failure_reason_expanded','displayName','TeQAZ','viKXx','Creating\x20hook\x20data\x20for\x20eventType:\x20','hook','\x20from\x20compositeKey:\x20','startedAt','exports','passed','test','Exception\x20in\x20createTestFrameworkData:\x20','[jestUtils]\x20Error\x20parsing\x20asyncError\x20stack\x20trace:\x20','pid','afterAll','14jWQUme','Error\x20parsing\x20asyncError\x20stack\x20trace:\x20','miHQq','jest','AFTER_EACH','dXiZq','../TestInfo.js','stack-trace','TnQEU','[jestUtils]\x20Error\x20creating\x20identifier:\x20',',\x20testIdentifier:\x20','CHdTN','Unknown\x20Test','XzYCG','mAkNC','BEFORE_ALL','oVLcI','ocBEU','now','wlyLb','qIZPW','QkwPJ','3JYUcrr','getFileName','result','CySHD','toUpperCase','QydtR','createJestTestIdentifier','vCUEm','file',':jest-','GYwvr','testPath','uuid','testIdentifier','createTestFrameworkData','hooks','debug','DNRZf','aUXHC','uRLMK','NzSXS','wJSQG','TestRunFinished','clearHooksMap','110TABMnA','srOGz','find','createIdentifierFromJestTest','YyLXO','uPCMU','push','../../../helpers/test-observability/utils','[jestUtils]\x20expect.getState()\x20not\x20available:\x20','xpGgs','retryOf','Failed\x20to\x20get\x20root\x20parent\x20file:\x20','substring','currentTest','stack','tFwRa','\x22\x20hook\x20for\x20\x22','AbNtR','../../../helpers/test-observability/error-handler.js','Exception\x20in\x20getHookRunEventData:\x20','parent','[jestUtils]\x20No\x20test\x20object\x20provided','name','finished_at','RARZr','expect','apply','unknown','parse','107998swfFnn','_gitConfigured',',\x20testRunId:\x20','9017904tnrUAf','Exception\x20in\x20createHookData:\x20','util','oypQh','[jestUtils]\x20Using\x20stored\x20testIdentifier:\x20','Creating\x20test\x20framework\x20data\x20for\x20eventType:\x20','finishedAt','recreateIdentifierFromTestInfo','duration','1463182nZLGGo','failure_reason','HookRunFinished','Failed\x20to\x20get\x20hook\x20file\x20path:\x20','split','reverse','../../../helpers/helper.js','skipped','../../../helpers/logger.js','KZuRz','configureGit','cVvzG','failed'];a124_0x4d5c=function(){return _0x3e2604;};return a124_0x4d5c();}function a124_0xd37e(_0x2ebc7d,_0x353698){const _0x4d5c03=a124_0x4d5c();return a124_0xd37e=function(_0xd37eff,_0x431e63){_0xd37eff=_0xd37eff-0x1f2;let _0x247ca8=_0x4d5c03[_0xd37eff];return _0x247ca8;},a124_0xd37e(_0x2ebc7d,_0x353698);}class JestUtils{constructor(){const _0xe61dc9=a124_0x5ad4d6;this['_gitConfigured']=![],this[_0xe61dc9(0x23f)]=null,this[_0xe61dc9(0x245)]=new PathHelper({'cwd':process['cwd']()},undefined);}async[a124_0x5ad4d6(0x2b1)](_0x4fba07,_0x1156b2,_0x3ccf6e=a124_0x5ad4d6(0x2b9),_0x23da3b=undefined){const _0x34f707=a124_0x5ad4d6,_0x547618={'DNRZf':_0x34f707(0x26f),'zsHkZ':'jest-circus','dXiZq':'File\x20path\x20could\x20not\x20be\x20found','TeQAZ':function(_0x4889b8,_0x4f784d){return _0x4889b8!==_0x4f784d;},'wJSQG':_0x34f707(0x288),'zLXoo':function(_0x36ad0a,_0x4538de){return _0x36ad0a!==_0x4538de;},'aUXHC':_0x34f707(0x23e),'XnaOu':function(_0x1f9017,_0x31119f){return _0x1f9017!==_0x31119f;},'NFidl':function(_0xb8e11c,_0x23d8af){return _0xb8e11c!==_0x23d8af;},'KZuRz':'pending','NyeZX':function(_0x305590,_0x1cabdd){return _0x305590===_0x1cabdd;},'GYwvr':'TestRunSkipped','LOmrF':_0x34f707(0x220),'XlTAg':function(_0xe18a60,_0x324b0b){return _0xe18a60===_0x324b0b;},'wlyLb':_0x34f707(0x2b9),'BcHpo':function(_0x2e444f,_0x394c94){return _0x2e444f>_0x394c94;},'ukOMg':_0x34f707(0x225),'ilHbF':_0x34f707(0x287),'OPpKh':function(_0x4056b0,_0xa4d5eb){return _0x4056b0!==_0xa4d5eb;},'NzSXS':function(_0x3f1af6,_0x5d560e){return _0x3f1af6-_0x5d560e;},'TnQEU':_0x34f707(0x233),'uqsOz':function(_0x36493b,_0x55960d){return _0x36493b>_0x55960d;},'tFwRa':_0x34f707(0x290),'gUzbY':function(_0x1b13ff,_0x50eddd){return _0x1b13ff(_0x50eddd);},'xhjpm':function(_0x54c5e5,_0x5baa94){return _0x54c5e5===_0x5baa94;}};logger[_0x34f707(0x2b3)](_0x34f707(0x215)+_0x3ccf6e+_0x34f707(0x297)+_0x1156b2);try{if(!_0x4fba07)return logger[_0x34f707(0x2b3)](_0x547618[_0x34f707(0x2b4)]),null;if(_0x4fba07['fn']&&_0x4fba07['fn']['toString']()[_0x34f707(0x24c)](/browserstack internal helper hook/))return null;await this[_0x34f707(0x223)]();let _0x30ffc9;try{_0x30ffc9=this['getRootParentFile'](_0x4fba07);if(_0x30ffc9&&_0x30ffc9[_0x34f707(0x266)](_0x547618[_0x34f707(0x26d)]))return null;}catch(_0x2df1ec){logger['debug'](_0x34f707(0x1fb)+util[_0x34f707(0x249)](_0x2df1ec)),_0x30ffc9=null;}const _0x186bd2=this['getHierarchy'](_0x4fba07),_0x30aef3=this[_0x34f707(0x270)](_0x4fba07),_0x52167a=_0x30ffc9?this[_0x34f707(0x245)][_0x34f707(0x23b)](_0x30ffc9):_0x547618[_0x34f707(0x292)];let _0x5a511d=[];const _0x2cf217=_0x4fba07[_0x34f707(0x234)]||_0x4fba07[_0x34f707(0x262)];if(_0x547618[_0x34f707(0x280)](_0x2cf217,undefined))_0x5a511d=[_0x2cf217,_0x547618[_0x34f707(0x2b8)]];else _0x547618['zLXoo'](_0x23da3b,undefined)&&(_0x5a511d=[_0x23da3b,_0x547618[_0x34f707(0x2b5)]]);const _0x3b1c6f=_0x547618['XnaOu'](_0x2cf217,undefined)?util[_0x34f707(0x24d)](_0x2cf217[0x0]):_0x547618[_0x34f707(0x246)](_0x23da3b,undefined)?_0x23da3b[_0x34f707(0x268)]():undefined;let _0x4bfad3=_0x547618[_0x34f707(0x222)];if(_0x547618[_0x34f707(0x279)](_0x3ccf6e,_0x547618[_0x34f707(0x2ad)]))_0x4bfad3=_0x547618['LOmrF'];else _0x547618[_0x34f707(0x25f)](_0x3ccf6e,_0x547618[_0x34f707(0x2a0)])&&(_0x2cf217&&_0x547618['BcHpo'](_0x2cf217['length'],0x0)?_0x4bfad3=_0x547618['ukOMg']:_0x4bfad3=_0x547618[_0x34f707(0x26b)]);let _0x1df8ee=null;if(_0x547618[_0x34f707(0x25e)](_0x4fba07[_0x34f707(0x218)],undefined))_0x1df8ee=_0x4fba07[_0x34f707(0x218)];else(_0x3ccf6e[_0x34f707(0x24c)](/Finished/)||_0x3ccf6e['match'](/Skipped/))&&(_0x4fba07[_0x34f707(0x22b)]&&(_0x1df8ee=_0x547618[_0x34f707(0x2b7)](Date[_0x34f707(0x29f)](),new Date(_0x4fba07[_0x34f707(0x22b)])[_0x34f707(0x24b)]())));const _0x480825=_0x4fba07['fn']?_0x4fba07['fn'][_0x34f707(0x268)]():null,_0x13798b={'id':_0x1156b2,'uuid':_0x1156b2,'startedAt':_0x4fba07['started_at']||new Date()[_0x34f707(0x273)](),'finishedAt':_0x3ccf6e[_0x34f707(0x24c)](/Finished/)||_0x3ccf6e['match'](/Skipped/)?new Date()[_0x34f707(0x273)]():null,'type':_0x547618[_0x34f707(0x2b8)],'body':{'lang':_0x547618[_0x34f707(0x295)],'code':_0x480825},'name':_0x30aef3,'errorsDetailed':_0x547618[_0x34f707(0x24f)](_0x2cf217?.['length'],0x0)?_0x2cf217[0x0]:_0x2cf217?_0x2cf217:undefined,'scopes':_0x186bd2,'file_name':_0x52167a,'location':_0x52167a,'vc_filepath':this[_0x34f707(0x23f)]&&_0x30ffc9?path['relative'](this['_gitConfigPath'],_0x30ffc9):null,'framework':_0x547618[_0x34f707(0x1ff)],'result':_0x4bfad3,'failure_reason':_0x3b1c6f,'duration_in_ms':_0x1df8ee,'failure':failureData[_0x34f707(0x20a)](null,_0x5a511d),'failure_type':!_0x3b1c6f?null:_0x547618[_0x34f707(0x228)](getFailureType,_0x3b1c6f),'retry_of':_0x4fba07[_0x34f707(0x1fa)]||null,'customRerunParam':{'rerun_name':_0x30aef3}};_0x547618['NyeZX'](_0x3ccf6e,_0x547618[_0x34f707(0x2ad)])&&!_0x13798b[_0x34f707(0x285)]&&(_0x13798b[_0x34f707(0x285)]=_0x13798b[_0x34f707(0x216)]);const _0x23afd3=_0x13798b['failure']&&_0x13798b['failure'][0x0];return _0x23afd3&&(_0x13798b['failure_backtrace']=_0x23afd3[_0x34f707(0x248)],_0x13798b[_0x34f707(0x27e)]=_0x23afd3['expanded']),(_0x547618[_0x34f707(0x279)](_0x3ccf6e,_0x547618['wlyLb'])||_0x547618['xhjpm'](_0x3ccf6e,_0x547618[_0x34f707(0x2ad)]))&&(_0x4fba07['hooks']&&(_0x13798b[_0x34f707(0x2b2)]=_0x4fba07[_0x34f707(0x2b2)])),_0x13798b;}catch(_0x217dfe){return logger[_0x34f707(0x2b3)](_0x34f707(0x289)+util[_0x34f707(0x249)](_0x217dfe)),null;}}async[a124_0x5ad4d6(0x26c)](_0x2dfff8,_0x2b9d90,_0x45ba6a,_0x2bad21){const _0x1979af=a124_0x5ad4d6,_0x22abfe={'oVLcI':_0x1979af(0x226),'DYNet':_0x1979af(0x22c),'lZyJH':'browserstack-node-agent/src/bin/jest','XzYCG':_0x1979af(0x20b),'gGuku':_0x1979af(0x255),'zyqke':function(_0x25d547,_0x469cec){return _0x25d547===_0x469cec;},'fChSv':_0x1979af(0x21b),'YyLXO':function(_0x4c7d87,_0x400c16){return _0x4c7d87>_0x400c16;},'tWqxu':_0x1979af(0x225),'mAkNC':function(_0x44abce,_0x4f6e8d){return _0x44abce(_0x4f6e8d);},'VeZBQ':_0x1979af(0x288),'srOGz':_0x1979af(0x287),'CySHD':_0x1979af(0x283),'AbNtR':_0x1979af(0x233),'ABXDa':_0x1979af(0x290),'cVvzG':'HookRunStarted'};logger[_0x1979af(0x2b3)](_0x1979af(0x282)+_0x45ba6a+_0x1979af(0x276)+_0x2b9d90+_0x1979af(0x20f)+_0x2bad21);try{if(!_0x2dfff8)return logger[_0x1979af(0x2b3)](_0x22abfe[_0x1979af(0x29d)]),null;if(this[_0x1979af(0x254)](_0x2dfff8))return null;await this[_0x1979af(0x223)]();let _0x536888=null;try{_0x536888=this['getRootParentFile'](_0x2dfff8);if(_0x536888&&_0x536888[_0x1979af(0x266)](_0x22abfe['DYNet']))return null;if(_0x536888&&_0x536888['includes'](_0x22abfe[_0x1979af(0x26e)]))return null;}catch(_0x4ff235){logger['debug'](_0x1979af(0x21c)+util[_0x1979af(0x249)](_0x4ff235));}const _0x14914e=_0x536888?this[_0x1979af(0x245)][_0x1979af(0x23b)](_0x536888):_0x536888,_0x53b5d1=this[_0x1979af(0x270)](_0x2dfff8),_0xbb8493=_0x2dfff8['type']||_0x22abfe[_0x1979af(0x29a)],_0x48c49d=HOOK_TYPES_MAP[_0xbb8493]||_0xbb8493[_0x1979af(0x2a7)](),_0x50bb10=_0x2dfff8[_0x1979af(0x204)]&&_0x2dfff8['parent'][_0x1979af(0x206)]?_0x2dfff8[_0x1979af(0x204)][_0x1979af(0x206)]:'';let _0x330496=_0x22abfe[_0x1979af(0x227)],_0x1fe5cb=null,_0x4a808a=null,_0x555862=null,_0x29b14d=null;_0x22abfe['zyqke'](_0x45ba6a,_0x22abfe[_0x1979af(0x250)])&&(_0x29b14d=new Date()[_0x1979af(0x273)](),_0x2dfff8[_0x1979af(0x234)]&&_0x22abfe[_0x1979af(0x1f4)](_0x2dfff8[_0x1979af(0x234)][_0x1979af(0x260)],0x0)?(_0x330496=_0x22abfe[_0x1979af(0x236)],_0x4a808a=util[_0x1979af(0x24d)](_0x2dfff8[_0x1979af(0x234)][0x0]),_0x1fe5cb=_0x22abfe[_0x1979af(0x29b)](getFailureType,_0x4a808a),_0x555862=failureData['apply'](null,[_0x2dfff8['errorsDetailed'],_0x22abfe[_0x1979af(0x23d)]])):_0x330496=_0x22abfe[_0x1979af(0x2bc)]);const _0x15a6c1={'uuid':_0x2b9d90,'type':_0x22abfe[_0x1979af(0x2a6)],'hook_type':_0x48c49d,'name':_0x53b5d1,'body':{'lang':_0x22abfe[_0x1979af(0x201)],'code':_0x2dfff8['fn']?_0x2dfff8['fn'][_0x1979af(0x268)]():null},'tags':[],'test_run_id':_0x2bad21,'scope':_0x50bb10,'scopes':[_0x50bb10],'file_name':_0x14914e,'location':_0x14914e,'vc_filepath':this[_0x1979af(0x23f)]&&_0x536888?path[_0x1979af(0x232)](this['_gitConfigPath'],_0x536888):null,'result':_0x330496,'started_at':_0x2dfff8[_0x1979af(0x22b)]||new Date()[_0x1979af(0x273)](),'finished_at':_0x29b14d,'failure_type':_0x1fe5cb,'failure_reason':_0x4a808a,'failure_data':_0x555862,'framework':_0x22abfe[_0x1979af(0x275)]};return _0x22abfe[_0x1979af(0x253)](_0x45ba6a,_0x22abfe[_0x1979af(0x224)])&&(hooksMap[_0x2bad21]?hooksMap[_0x2bad21][_0x1979af(0x1f6)](_0x15a6c1):hooksMap[_0x2bad21]=[_0x15a6c1]),_0x15a6c1;}catch(_0x233aa8){return logger[_0x1979af(0x2b3)](_0x1979af(0x211)+util[_0x1979af(0x249)](_0x233aa8)),null;}}[a124_0x5ad4d6(0x241)](_0x2ca59d,_0xf561a1,_0x55d6e3){const _0x2ad84b=a124_0x5ad4d6,_0x3aba20={'oypQh':function(_0x4c3083,_0x5766e7){return _0x4c3083>_0x5766e7;},'VtEce':_0x2ad84b(0x225),'PxmWD':function(_0x4e1aa0,_0x1e8b8b){return _0x4e1aa0(_0x1e8b8b);},'RARZr':_0x2ad84b(0x288),'UVJXB':_0x2ad84b(0x287)};try{const _0x224212=hooksMap[_0x2ca59d];if(!_0x224212)return null;const _0x56ae44=_0x224212[_0x2ad84b(0x1f2)](_0xe3e47b=>_0xe3e47b[_0x2ad84b(0x2af)]===_0xf561a1);if(!_0x56ae44)return null;return _0x56ae44[_0x2ad84b(0x207)]=new Date()[_0x2ad84b(0x273)](),_0x55d6e3[_0x2ad84b(0x234)]&&_0x3aba20[_0x2ad84b(0x213)](_0x55d6e3[_0x2ad84b(0x234)][_0x2ad84b(0x260)],0x0)?(_0x56ae44['result']=_0x3aba20['VtEce'],_0x56ae44[_0x2ad84b(0x21a)]=util['inspect'](_0x55d6e3['errorsDetailed'][0x0]),_0x56ae44[_0x2ad84b(0x272)]=_0x3aba20[_0x2ad84b(0x259)](getFailureType,_0x56ae44['failure_reason']),_0x56ae44[_0x2ad84b(0x25c)]=failureData[_0x2ad84b(0x20a)](null,[_0x55d6e3[_0x2ad84b(0x234)],_0x3aba20[_0x2ad84b(0x208)]])):_0x56ae44[_0x2ad84b(0x2a5)]=_0x3aba20[_0x2ad84b(0x235)],_0x56ae44;}catch(_0xac36d){return logger[_0x2ad84b(0x2b3)](_0x2ad84b(0x203)+util[_0x2ad84b(0x249)](_0xac36d)),null;}}[a124_0x5ad4d6(0x270)](_0x5c3162){const _0x239656=a124_0x5ad4d6,_0x31a8b6={};_0x31a8b6['oUerx']=function(_0x4acb79,_0x3c2ed7){return _0x4acb79!==_0x3c2ed7;},_0x31a8b6['uPCMU']=_0x239656(0x288),_0x31a8b6['Qmxll']=_0x239656(0x299);const _0x414efc=_0x31a8b6;if(_0x414efc[_0x239656(0x25b)](_0x5c3162[_0x239656(0x251)],_0x414efc[_0x239656(0x1f5)]))return'\x22'+_0x5c3162['type']+_0x239656(0x200)+(_0x5c3162['parent']&&_0x5c3162[_0x239656(0x204)][_0x239656(0x206)])+'\x22';return _0x5c3162['name']||_0x414efc['Qmxll'];}['getHierarchy'](_0x387735){const _0x758d15=a124_0x5ad4d6,_0xb1df0={};_0xb1df0[_0x758d15(0x298)]=function(_0x35f1d3,_0x4840fe){return _0x35f1d3!==_0x4840fe;},_0xb1df0[_0x758d15(0x252)]=_0x758d15(0x263);const _0x150c09=_0xb1df0,_0x33ad0c=[];if(_0x387735&&_0x387735['parent']){let _0x5971d5=_0x387735[_0x758d15(0x204)];while(_0x5971d5&&_0x5971d5[_0x758d15(0x206)]&&_0x150c09[_0x758d15(0x298)](_0x5971d5[_0x758d15(0x206)],'')&&_0x150c09[_0x758d15(0x298)](_0x5971d5[_0x758d15(0x206)],_0x150c09['LaIXu'])){_0x33ad0c[_0x758d15(0x1f6)](_0x5971d5[_0x758d15(0x206)]),_0x5971d5=_0x5971d5[_0x758d15(0x204)];}}return _0x33ad0c[_0x758d15(0x21e)](),_0x33ad0c;}['getRootParentFile'](_0x192590){const _0x5b3d1e=a124_0x5ad4d6,_0x5135ff={'qIZPW':function(_0x206f1a,_0x5e66a7){return _0x206f1a(_0x5e66a7);}};if(_0x192590[_0x5b3d1e(0x2ab)])return _0x192590[_0x5b3d1e(0x2ab)];if(_0x192590[_0x5b3d1e(0x277)])try{const _0x51cbdf=stackTrace[_0x5b3d1e(0x20c)][_0x5b3d1e(0x239)](stackTrace,_0x192590['asyncError']),_0x32ceec=_0x5135ff[_0x5b3d1e(0x2a1)](pickUserFrameFile,_0x51cbdf);if(_0x32ceec)return _0x32ceec;logger[_0x5b3d1e(0x2b3)](_0x5b3d1e(0x240)+_0x51cbdf[_0x5b3d1e(0x260)]+')');}catch(_0x3f719c){logger[_0x5b3d1e(0x2b3)](_0x5b3d1e(0x28e)+util[_0x5b3d1e(0x249)](_0x3f719c));}return null;}[a124_0x5ad4d6(0x254)](_0x3bf158){const _0x1acd92=a124_0x5ad4d6,_0x1cad5e={};_0x1cad5e[_0x1acd92(0x231)]='jest-circus';const _0x52313b=_0x1cad5e;try{const _0xea4a78=this[_0x1acd92(0x25a)](_0x3bf158);if(!_0xea4a78||_0xea4a78[_0x1acd92(0x266)](_0x52313b['DaTCx']))return!![];}catch(_0x3f39cc){logger[_0x1acd92(0x2b3)](_0x1acd92(0x261)+util[_0x1acd92(0x249)](_0x3f39cc));}return![];}[a124_0x5ad4d6(0x24e)](_0x5df616=null){const _0x3b9977=a124_0x5ad4d6;try{const _0x3fe0b7=_0x5df616||global[_0x3b9977(0x264)]||{};if(global['__jestCurrentTestIdentifier'])return global['__jestCurrentTestIdentifier'];if(_0x3fe0b7?.[_0x3b9977(0x1fd)]?.['testAnalyticsId'])return _0x3fe0b7[_0x3b9977(0x1fd)]['testAnalyticsId'];if(_0x3fe0b7?.[_0x3b9977(0x1fd)]?.['id'])return _0x3fe0b7[_0x3b9977(0x1fd)]['id'];return null;}catch(_0x71eeb){return logger['debug'](_0x3b9977(0x230)+util[_0x3b9977(0x249)](_0x71eeb)),null;}}async[a124_0x5ad4d6(0x223)](){const _0x4cf22a=a124_0x5ad4d6,_0x1c074f={'vCUEm':function(_0x567628){return _0x567628();}};if(this[_0x4cf22a(0x20e)])return this['_gitConfigPath'];const _0x19601d=await _0x1c074f[_0x4cf22a(0x2aa)](getGitMetaData);_0x19601d&&(this[_0x4cf22a(0x23f)]=_0x19601d[_0x4cf22a(0x27c)]),this[_0x4cf22a(0x20e)]=!![];}[a124_0x5ad4d6(0x2ba)](_0x4c475c){hooksMap[_0x4c475c]&&delete hooksMap[_0x4c475c];}[a124_0x5ad4d6(0x22a)](_0xeefffe){const _0x5c4454=a124_0x5ad4d6,_0x23bf89={'xpGgs':'jest-circus','viKXx':function(_0x42b32a,_0x35f338){return _0x42b32a(_0x35f338);},'QydtR':_0x5c4454(0x209)};if(_0xeefffe['file'])return _0xeefffe[_0x5c4454(0x2ab)];if(_0xeefffe[_0x5c4454(0x277)]){try{const _0x397e8b=stackTrace[_0x5c4454(0x20c)](_0xeefffe[_0x5c4454(0x277)]);if(_0x397e8b[0x0]&&_0x397e8b[0x0][_0x5c4454(0x2a4)]){const _0x1b5e65=_0x397e8b[0x0][_0x5c4454(0x2a4)]();if(_0x1b5e65&&!_0x1b5e65[_0x5c4454(0x266)](_0x23bf89[_0x5c4454(0x1f9)]))return _0x1b5e65;}}catch(_0x1e8cc1){logger[_0x5c4454(0x2b3)](_0x5c4454(0x28a)+util[_0x5c4454(0x249)](_0x1e8cc1));}if(_0xeefffe['asyncError'][_0x5c4454(0x1fe)]){const _0x132a15=_0xeefffe[_0x5c4454(0x277)][_0x5c4454(0x1fe)][_0x5c4454(0x21d)]('\x0a');for(const _0x407226 of _0x132a15){const _0x51fa06=_0x407226[_0x5c4454(0x24c)](/at (.+?):\d+:\d+/);if(_0x51fa06&&_0x51fa06[0x1]&&!_0x51fa06[0x1][_0x5c4454(0x266)](_0x23bf89['xpGgs']))return _0x51fa06[0x1];}}}let _0x39c419=_0xeefffe[_0x5c4454(0x204)];while(_0x39c419){if(_0x39c419[_0x5c4454(0x2ab)])return _0x39c419[_0x5c4454(0x2ab)];if(_0x39c419[_0x5c4454(0x277)])try{const _0x29f86a=stackTrace['parse'](_0x39c419[_0x5c4454(0x277)]);if(_0x29f86a[0x0]&&_0x29f86a[0x0]['getFileName']){const _0x2e7abe=_0x29f86a[0x0][_0x5c4454(0x2a4)]();if(_0x2e7abe&&!_0x2e7abe['includes'](_0x23bf89['xpGgs']))return _0x2e7abe;}}catch(_0x559edf){}_0x39c419=_0x39c419['parent'];}try{const _0x3b4a8d=_0x23bf89[_0x5c4454(0x281)](require,_0x23bf89[_0x5c4454(0x2a8)]);if(_0x3b4a8d&&_0x3b4a8d[_0x5c4454(0x26a)]){const _0x3b717d=_0x3b4a8d[_0x5c4454(0x26a)]();if(_0x3b717d&&_0x3b717d[_0x5c4454(0x2ae)])return _0x3b717d[_0x5c4454(0x2ae)];}}catch(_0x2247cb){logger[_0x5c4454(0x2b3)](_0x5c4454(0x1f8)+util[_0x5c4454(0x249)](_0x2247cb));}return null;}['createJestTestIdentifier'](_0x2ff719){const _0x181807=a124_0x5ad4d6,_0x1f7aed={};_0x1f7aed[_0x181807(0x2b6)]=_0x181807(0x258),_0x1f7aed[_0x181807(0x237)]=function(_0x2796e5,_0x27b3e0){return _0x2796e5!==_0x27b3e0;},_0x1f7aed['miHQq']=_0x181807(0x263),_0x1f7aed['ACIRr']=_0x181807(0x22c),_0x1f7aed[_0x181807(0x27a)]=_0x181807(0x27d),_0x1f7aed['ocBEU']=_0x181807(0x23c);const _0x499a87=_0x1f7aed;try{if(!_0x2ff719)return logger[_0x181807(0x278)](_0x499a87[_0x181807(0x2b6)]),null;const _0x33e1d5=_0x2ff719[_0x181807(0x274)]||_0x2ff719[_0x181807(0x206)]||_0x2ff719['title']||_0x2ff719[_0x181807(0x27f)];let _0x547ff5=_0x33e1d5;if(_0x2ff719['parent']&&_0x2ff719[_0x181807(0x204)][_0x181807(0x206)]&&_0x499a87['NEUeQ'](_0x2ff719['parent'][_0x181807(0x206)],_0x499a87[_0x181807(0x28f)])){const _0x2ab00e=_0x2ff719['name']||_0x2ff719[_0x181807(0x238)];_0x2ab00e&&(_0x547ff5=_0x2ff719['parent'][_0x181807(0x206)]+'\x20'+_0x2ab00e);}let _0x19df35=_0x2ff719['testPath'];if(!_0x19df35&&_0x2ff719['asyncError']){try{const _0x10e31c=stackTrace[_0x181807(0x20c)](_0x2ff719[_0x181807(0x277)]);if(_0x10e31c[0x0]&&_0x10e31c[0x0][_0x181807(0x2a4)]){const _0x21045d=_0x10e31c[0x0]['getFileName']();_0x21045d&&!_0x21045d[_0x181807(0x266)](_0x499a87['ACIRr'])&&(_0x19df35=_0x21045d);}}catch(_0x2265c1){logger['debug'](_0x181807(0x28a)+util[_0x181807(0x249)](_0x2265c1));}if(!_0x19df35&&_0x2ff719[_0x181807(0x277)][_0x181807(0x1fe)]){const _0x5fc5be=_0x2ff719['asyncError'][_0x181807(0x1fe)][_0x181807(0x21d)]('\x0a');for(const _0x2f4271 of _0x5fc5be){const _0x79ade3=_0x2f4271['match'](/at (.+?):\d+:\d+/);if(_0x79ade3&&_0x79ade3[0x1]&&!_0x79ade3[0x1][_0x181807(0x266)](_0x499a87['ACIRr'])){_0x19df35=_0x79ade3[0x1];break;}}}}const _0x564dc2=_0x19df35+'::'+_0x547ff5,_0x2df59c=crypto['createHash'](_0x499a87[_0x181807(0x27a)])[_0x181807(0x257)](_0x564dc2)['digest'](_0x499a87[_0x181807(0x29e)])[_0x181807(0x1fc)](0x0,0x8),_0x23647a=process[_0x181807(0x28b)]+_0x181807(0x2ac)+_0x2df59c;return logger[_0x181807(0x2b3)](_0x181807(0x265)+_0x23647a+_0x181807(0x284)+_0x564dc2),_0x23647a;}catch(_0x3d0e2d){return logger['error'](_0x181807(0x296)+util[_0x181807(0x249)](_0x3d0e2d)),null;}}[a124_0x5ad4d6(0x1f3)](_0x3bc671){const _0x14dabb=a124_0x5ad4d6,_0x6ab9b2={};_0x6ab9b2['QkwPJ']=_0x14dabb(0x205);const _0x51ef03=_0x6ab9b2;if(!_0x3bc671)return logger[_0x14dabb(0x2b3)](_0x51ef03[_0x14dabb(0x2a2)]),null;const _0x42a7d7=this[_0x14dabb(0x22a)](_0x3bc671),_0x1fd323={};_0x1fd323['name']=_0x3bc671[_0x14dabb(0x206)]||_0x3bc671[_0x14dabb(0x238)],_0x1fd323[_0x14dabb(0x204)]=_0x3bc671[_0x14dabb(0x204)],_0x1fd323[_0x14dabb(0x2ae)]=_0x42a7d7,_0x1fd323['asyncError']=_0x3bc671[_0x14dabb(0x277)];const _0x2bd605=_0x1fd323;return this['createJestTestIdentifier'](_0x2bd605);}['recreateIdentifierFromTestInfo'](_0xa231c3,_0x1b7376=null){const _0x274e10=a124_0x5ad4d6,_0x559d75={};_0x559d75['DQgaY']=_0x274e10(0x269);const _0x37a9f3=_0x559d75;if(!_0xa231c3)return logger[_0x274e10(0x2b3)](_0x37a9f3['DQgaY']),_0x1b7376;if(_0xa231c3[_0x274e10(0x2b0)])return logger[_0x274e10(0x2b3)](_0x274e10(0x214)+_0xa231c3[_0x274e10(0x2b0)]),_0xa231c3[_0x274e10(0x2b0)];return this[_0x274e10(0x2a9)](_0xa231c3)||_0x1b7376;}}module[a124_0x5ad4d6(0x286)]=o11yClassErrorHandler(JestUtils,[a124_0x5ad4d6(0x223),'getHierarchy',a124_0x5ad4d6(0x25a),a124_0x5ad4d6(0x270),a124_0x5ad4d6(0x254),a124_0x5ad4d6(0x24e),'createTestFrameworkData',a124_0x5ad4d6(0x26c),a124_0x5ad4d6(0x241),a124_0x5ad4d6(0x2ba),a124_0x5ad4d6(0x22a),a124_0x5ad4d6(0x2a9),a124_0x5ad4d6(0x1f3),a124_0x5ad4d6(0x217)]);
|
|
1
|
+
const a124_0x2b9c85=a124_0x3ac8;(function(_0x1abc6b,_0x380dbc){const _0x583064=a124_0x3ac8,_0x52ee62=_0x1abc6b();while(!![]){try{const _0x430a49=-parseInt(_0x583064(0x17b))/0x1+-parseInt(_0x583064(0x14c))/0x2*(parseInt(_0x583064(0x15f))/0x3)+-parseInt(_0x583064(0x14d))/0x4+-parseInt(_0x583064(0x17d))/0x5*(parseInt(_0x583064(0x181))/0x6)+-parseInt(_0x583064(0x1be))/0x7*(-parseInt(_0x583064(0x169))/0x8)+parseInt(_0x583064(0x1b9))/0x9*(parseInt(_0x583064(0x19b))/0xa)+parseInt(_0x583064(0x13d))/0xb;if(_0x430a49===_0x380dbc)break;else _0x52ee62['push'](_0x52ee62['shift']());}catch(_0x3333c8){_0x52ee62['push'](_0x52ee62['shift']());}}}(a124_0x5b3f,0xd08cd));function a124_0x3ac8(_0xd25c94,_0x495c21){const _0x5b3f71=a124_0x5b3f();return a124_0x3ac8=function(_0x3ac815,_0x145ee6){_0x3ac815=_0x3ac815-0x135;let _0x282058=_0x5b3f71[_0x3ac815];return _0x282058;},a124_0x3ac8(_0xd25c94,_0x495c21);}const path=require(a124_0x2b9c85(0x15e)),util=require('util'),crypto=require(a124_0x2b9c85(0x1e5)),{getGitMetaData,isUndefined,nestedKeyValue}=require(a124_0x2b9c85(0x1ab)),logger=require(a124_0x2b9c85(0x1aa))[a124_0x2b9c85(0x192)],{o11yClassErrorHandler}=require('../../../helpers/test-observability/error-handler.js'),TestInfo=require('../TestInfo.js'),{failureData,getFailureType,PathHelper}=require(a124_0x2b9c85(0x17f)),stackTrace=require(a124_0x2b9c85(0x193)),{pickUserFrameFile}=require(a124_0x2b9c85(0x183)),a124_0x269c06={};function a124_0x5b3f(){const _0x27cfb1=['2850964gYTPsd','getHierarchy','xWDqv','isIKI','extractTestFilePath','displayName','FzOFy','FeLFR','failure','GbUOc','now','kAqhB','length','started_at','parent','beforeAll','ROOT_DESCRIBE_BLOCK','path','3gQQxic','JNpWO','hooks','_gitConfigPath','inspect','find','uHcsd','Unknown\x20Test','MQodq','No\x20test\x20data\x20provided\x20for\x20jest\x20test\x20event','32nVCQJQ','update','Exception\x20in\x20getHookRunEventData:\x20','xVoPi',':jest-','ByKLB','pWMxn','[jestUtils]\x20Error\x20getting\x20test\x20identifier:\x20','mWxYM','digest','asyncError','getHookRunEventData','testPath','TestRunFinished','currentTest','result','name','zVQjl','1421206xougsN','beforeEach','8495xabwui','createJestTestIdentifier','../../../helpers/test-observability/utils','match','1014cocLAM','apply','../../../helpers/stackFrameUtils','YVZDr','XNmCy','relative','afterAll','SPKQX','toString','TestRunSkipped','browserstack-node-agent/src/bin/jest','File\x20path\x20could\x20not\x20be\x20found','getFileName','MXJFd','XAgJX','clearHooksMap','HookRunStarted','winstonLogger','stack-trace','debug','parse','ixBku','GqnNi','FaNMH','NauEG','HvsRA','1164470OEdXNz','createTestFrameworkData','KGzhC','createHookData','pZfFi','recreateIdentifierFromTestInfo','rrTOD','testAnalyticsId','WNYhD','reverse','javascript','getTestIdentifier','duration','BcWdW','gbvjX','../../../helpers/logger.js','../../../helpers/helper.js','XMQQL','file','[jestUtils]\x20pickUserFrameFile\x20found\x20no\x20user\x20frame\x20(trace\x20length=','Exception\x20in\x20createHookData:\x20','BEFORE_EACH','kDbTi','createIdentifierFromJestTest','[jestUtils]\x20Error\x20parsing\x20asyncError\x20stack\x20trace:\x20','call','substring','[jestUtils]\x20No\x20testInfo\x20provided\x20for\x20recreation','getRootParentFile','Error\x20parsing\x20asyncError\x20stack\x20trace:\x20','45TlSedM','oKNPH','getState','push','ACcpY','1375213ORRyeP','Exception\x20in\x20checking\x20if\x20hook\x20is\x20internal:\x20','jest','GavPR','Jduma','testIdentifier','includes','failed','AFTER_ALL','hook','\x20from\x20compositeKey:\x20','err','jest-circus','dWQFb','failure_backtrace','errorsDetailed','type','OpNCY','stack','afterEach','_paths','Exception\x20in\x20createTestFrameworkData:\x20','NgUas','test','split','toISOString','NTwSd','jhFXq','No\x20hook\x20data\x20provided\x20for\x20jest\x20hook\x20event','failure_type','DlNYg','title','finished_at','ZRHZW','startedAt','[jestUtils]\x20No\x20testInfo\x20provided,\x20cannot\x20create\x20identifier','rgFOg','aaCPn','passed','crypto','finishedAt','createHash','cwd','aXqZP','BbiqH','GpVvA','hRius','lazwu','OsWhK','cOIet','gfLvz','__jestCurrentTestIdentifier','failure_reason_expanded','backtrace','prefixTestPath','error','configureGit','33502821UGVRPt','format','getName','BJQLO','ZuElD','KKnAC','_gitConfigured','md5','errors','pending','Creating\x20test\x20framework\x20data\x20for\x20eventType:\x20',',\x20hookUUID:\x20','JURPE','Failed\x20to\x20get\x20hook\x20file\x20path:\x20',',\x20testRunId:\x20','2276966nBrnGo'];a124_0x5b3f=function(){return _0x27cfb1;};return a124_0x5b3f();}a124_0x269c06[a124_0x2b9c85(0x15c)]='BEFORE_ALL',a124_0x269c06[a124_0x2b9c85(0x187)]=a124_0x2b9c85(0x1c6),a124_0x269c06[a124_0x2b9c85(0x17c)]=a124_0x2b9c85(0x1b0),a124_0x269c06[a124_0x2b9c85(0x1d1)]='AFTER_EACH';const HOOK_TYPES_MAP=a124_0x269c06,hooksMap={};class JestUtils{constructor(){const _0x2f8f56=a124_0x2b9c85;this[_0x2f8f56(0x143)]=![],this['_gitConfigPath']=null,this[_0x2f8f56(0x1d2)]=new PathHelper({'cwd':process[_0x2f8f56(0x1e8)]()},undefined);}async[a124_0x2b9c85(0x19c)](_0x4a66fd,_0x5bc422,_0x1feaf2=a124_0x2b9c85(0x176),_0x36a12e=undefined){const _0x39b344=a124_0x2b9c85,_0x40ef30={'NauEG':_0x39b344(0x168),'Jduma':'jest-circus','aCZNQ':_0x39b344(0x18c),'aXqZP':function(_0x17d473,_0x3e094a){return _0x17d473!==_0x3e094a;},'MXJFd':_0x39b344(0x1d5),'lazwu':function(_0x4de45b,_0x5e0982){return _0x4de45b!==_0x5e0982;},'isIKI':_0x39b344(0x1c9),'BcWdW':function(_0x305019,_0x55722b){return _0x305019!==_0x55722b;},'JURPE':_0x39b344(0x146),'MQodq':function(_0x273280,_0x1abaad){return _0x273280===_0x1abaad;},'gbvjX':_0x39b344(0x18a),'hRius':'skipped','pZfFi':function(_0x40712b,_0x2ac66e){return _0x40712b===_0x2ac66e;},'kAqhB':_0x39b344(0x176),'aaCPn':function(_0x4fcee4,_0x11076a){return _0x4fcee4>_0x11076a;},'HvsRA':_0x39b344(0x1c5),'ixBku':_0x39b344(0x1e4),'pWMxn':function(_0x197009,_0x37fe12){return _0x197009-_0x37fe12;},'kDbTi':'javascript','ZuElD':_0x39b344(0x1c0),'OsWhK':function(_0x1a8388,_0x2c5543){return _0x1a8388(_0x2c5543);},'XNmCy':function(_0x263cae,_0x2c65f3){return _0x263cae===_0x2c65f3;}};logger[_0x39b344(0x194)](_0x39b344(0x147)+_0x1feaf2+',\x20testIdentifier:\x20'+_0x5bc422);try{if(!_0x4a66fd)return logger[_0x39b344(0x194)](_0x40ef30[_0x39b344(0x199)]),null;if(_0x4a66fd['fn']&&_0x4a66fd['fn'][_0x39b344(0x189)]()[_0x39b344(0x180)](/browserstack internal helper hook/))return null;await this['configureGit']();let _0xd106a7;try{_0xd106a7=this['getRootParentFile'](_0x4a66fd);if(_0xd106a7&&_0xd106a7[_0x39b344(0x1c4)](_0x40ef30[_0x39b344(0x1c2)]))return null;}catch(_0x42d1ea){logger[_0x39b344(0x194)]('Failed\x20to\x20get\x20root\x20parent\x20file:\x20'+util[_0x39b344(0x13e)](_0x42d1ea)),_0xd106a7=null;}const _0x3b0880=this[_0x39b344(0x14e)](_0x4a66fd),_0x5b7bf1=this['getName'](_0x4a66fd),_0x321e53=_0xd106a7?this[_0x39b344(0x1d2)]['prefixTestPath'](_0xd106a7):_0x40ef30['aCZNQ'];let _0x330bd6=[];const _0x1cd1a1=_0x4a66fd[_0x39b344(0x1cd)]||_0x4a66fd[_0x39b344(0x145)];if(_0x40ef30[_0x39b344(0x1e9)](_0x1cd1a1,undefined))_0x330bd6=[_0x1cd1a1,_0x40ef30[_0x39b344(0x18e)]];else _0x40ef30[_0x39b344(0x1ed)](_0x36a12e,undefined)&&(_0x330bd6=[_0x36a12e,_0x40ef30[_0x39b344(0x150)]]);const _0x37e7d0=_0x40ef30[_0x39b344(0x1e9)](_0x1cd1a1,undefined)?util[_0x39b344(0x163)](_0x1cd1a1[0x0]):_0x40ef30['BcWdW'](_0x36a12e,undefined)?_0x36a12e[_0x39b344(0x189)]():undefined;let _0x1f1252=_0x40ef30[_0x39b344(0x149)];if(_0x40ef30[_0x39b344(0x167)](_0x1feaf2,_0x40ef30[_0x39b344(0x1a9)]))_0x1f1252=_0x40ef30[_0x39b344(0x1ec)];else _0x40ef30[_0x39b344(0x19f)](_0x1feaf2,_0x40ef30[_0x39b344(0x158)])&&(_0x1cd1a1&&_0x40ef30['aaCPn'](_0x1cd1a1[_0x39b344(0x159)],0x0)?_0x1f1252=_0x40ef30[_0x39b344(0x19a)]:_0x1f1252=_0x40ef30[_0x39b344(0x196)]);let _0x58bb6e=null;if(_0x40ef30[_0x39b344(0x1a8)](_0x4a66fd[_0x39b344(0x1a7)],undefined))_0x58bb6e=_0x4a66fd[_0x39b344(0x1a7)];else(_0x1feaf2[_0x39b344(0x180)](/Finished/)||_0x1feaf2[_0x39b344(0x180)](/Skipped/))&&(_0x4a66fd[_0x39b344(0x15a)]&&(_0x58bb6e=_0x40ef30[_0x39b344(0x16f)](Date[_0x39b344(0x157)](),new Date(_0x4a66fd[_0x39b344(0x15a)])['getTime']())));const _0x433eb3=_0x4a66fd['fn']?_0x4a66fd['fn'][_0x39b344(0x189)]():null,_0x528b6e={'id':_0x5bc422,'uuid':_0x5bc422,'startedAt':_0x4a66fd[_0x39b344(0x15a)]||new Date()[_0x39b344(0x1d7)](),'finishedAt':_0x1feaf2[_0x39b344(0x180)](/Finished/)||_0x1feaf2['match'](/Skipped/)?new Date()[_0x39b344(0x1d7)]():null,'type':_0x40ef30['MXJFd'],'body':{'lang':_0x40ef30[_0x39b344(0x1b1)],'code':_0x433eb3},'name':_0x5b7bf1,'errorsDetailed':_0x40ef30[_0x39b344(0x1e3)](_0x1cd1a1?.[_0x39b344(0x159)],0x0)?_0x1cd1a1[0x0]:_0x1cd1a1?_0x1cd1a1:undefined,'scopes':_0x3b0880,'file_name':_0x321e53,'location':_0x321e53,'vc_filepath':this[_0x39b344(0x162)]&&_0xd106a7?path[_0x39b344(0x186)](this[_0x39b344(0x162)],_0xd106a7):null,'framework':_0x40ef30[_0x39b344(0x141)],'result':_0x1f1252,'failure_reason':_0x37e7d0,'duration_in_ms':_0x58bb6e,'failure':failureData['apply'](null,_0x330bd6),'failure_type':!_0x37e7d0?null:_0x40ef30[_0x39b344(0x1ee)](getFailureType,_0x37e7d0),'retry_of':_0x4a66fd['retryOf']||null,'customRerunParam':{'rerun_name':_0x5b7bf1}};_0x40ef30[_0x39b344(0x19f)](_0x1feaf2,_0x40ef30[_0x39b344(0x1a9)])&&!_0x528b6e[_0x39b344(0x1e0)]&&(_0x528b6e['startedAt']=_0x528b6e[_0x39b344(0x1e6)]);const _0x43387e=_0x528b6e[_0x39b344(0x155)]&&_0x528b6e[_0x39b344(0x155)][0x0];return _0x43387e&&(_0x528b6e[_0x39b344(0x1cc)]=_0x43387e[_0x39b344(0x139)],_0x528b6e[_0x39b344(0x138)]=_0x43387e['expanded']),(_0x40ef30[_0x39b344(0x185)](_0x1feaf2,_0x40ef30[_0x39b344(0x158)])||_0x40ef30[_0x39b344(0x185)](_0x1feaf2,_0x40ef30[_0x39b344(0x1a9)]))&&(_0x4a66fd[_0x39b344(0x161)]&&(_0x528b6e['hooks']=_0x4a66fd[_0x39b344(0x161)])),_0x528b6e;}catch(_0x27b1ac){return logger['debug'](_0x39b344(0x1d3)+util[_0x39b344(0x13e)](_0x27b1ac)),null;}}async[a124_0x2b9c85(0x19e)](_0x5b9ff5,_0x46e5d2,_0x252300,_0x597a48){const _0x107a9f=a124_0x2b9c85,_0x5e6fe8={'BJQLO':_0x107a9f(0x1da),'mWxYM':_0x107a9f(0x1ca),'FeLFR':_0x107a9f(0x18b),'xVoPi':'unknown','DlNYg':_0x107a9f(0x146),'GbUOc':function(_0x24a417,_0x3ade74){return _0x24a417===_0x3ade74;},'ZRHZW':'HookRunFinished','WNYhD':function(_0x14c23b,_0xfbde3f){return _0x14c23b>_0xfbde3f;},'rgFOg':'failed','rrTOD':function(_0x1ca3f6,_0x45984b){return _0x1ca3f6(_0x45984b);},'gfLvz':_0x107a9f(0x1d5),'oKNPH':'passed','YDCCf':_0x107a9f(0x1c7),'XMQQL':_0x107a9f(0x1a5),'DrHkh':_0x107a9f(0x1c0),'NgUas':function(_0x254b7d,_0x47ed08){return _0x254b7d===_0x47ed08;},'ByKLB':_0x107a9f(0x191)};logger[_0x107a9f(0x194)]('Creating\x20hook\x20data\x20for\x20eventType:\x20'+_0x252300+_0x107a9f(0x148)+_0x46e5d2+_0x107a9f(0x14b)+_0x597a48);try{if(!_0x5b9ff5)return logger[_0x107a9f(0x194)](_0x5e6fe8[_0x107a9f(0x140)]),null;if(this['isJestInternalHook'](_0x5b9ff5))return null;await this[_0x107a9f(0x13c)]();let _0x143fd5=null;try{_0x143fd5=this['getRootParentFile'](_0x5b9ff5);if(_0x143fd5&&_0x143fd5[_0x107a9f(0x1c4)](_0x5e6fe8[_0x107a9f(0x171)]))return null;if(_0x143fd5&&_0x143fd5[_0x107a9f(0x1c4)](_0x5e6fe8[_0x107a9f(0x154)]))return null;}catch(_0x3ce574){logger['debug'](_0x107a9f(0x14a)+util[_0x107a9f(0x13e)](_0x3ce574));}const _0x2dab8a=_0x143fd5?this[_0x107a9f(0x1d2)][_0x107a9f(0x13a)](_0x143fd5):_0x143fd5,_0x162215=this[_0x107a9f(0x13f)](_0x5b9ff5),_0x524d80=_0x5b9ff5[_0x107a9f(0x1ce)]||_0x5e6fe8[_0x107a9f(0x16c)],_0x27578a=HOOK_TYPES_MAP[_0x524d80]||_0x524d80['toUpperCase'](),_0x19f6f9=_0x5b9ff5[_0x107a9f(0x15b)]&&_0x5b9ff5[_0x107a9f(0x15b)][_0x107a9f(0x179)]?_0x5b9ff5['parent'][_0x107a9f(0x179)]:'';let _0xad788e=_0x5e6fe8[_0x107a9f(0x1dc)],_0x14270f=null,_0x3fa4e3=null,_0x2f1952=null,_0x1ee488=null;_0x5e6fe8[_0x107a9f(0x156)](_0x252300,_0x5e6fe8[_0x107a9f(0x1df)])&&(_0x1ee488=new Date()[_0x107a9f(0x1d7)](),_0x5b9ff5[_0x107a9f(0x1cd)]&&_0x5e6fe8[_0x107a9f(0x1a3)](_0x5b9ff5['errorsDetailed'][_0x107a9f(0x159)],0x0)?(_0xad788e=_0x5e6fe8[_0x107a9f(0x1e2)],_0x3fa4e3=util[_0x107a9f(0x163)](_0x5b9ff5[_0x107a9f(0x1cd)][0x0]),_0x14270f=_0x5e6fe8[_0x107a9f(0x1a1)](getFailureType,_0x3fa4e3),_0x2f1952=failureData[_0x107a9f(0x182)](null,[_0x5b9ff5[_0x107a9f(0x1cd)],_0x5e6fe8[_0x107a9f(0x136)]])):_0xad788e=_0x5e6fe8[_0x107a9f(0x1ba)]);const _0x3ef4a1={'uuid':_0x46e5d2,'type':_0x5e6fe8['YDCCf'],'hook_type':_0x27578a,'name':_0x162215,'body':{'lang':_0x5e6fe8[_0x107a9f(0x1ac)],'code':_0x5b9ff5['fn']?_0x5b9ff5['fn'][_0x107a9f(0x189)]():null},'tags':[],'test_run_id':_0x597a48,'scope':_0x19f6f9,'scopes':[_0x19f6f9],'file_name':_0x2dab8a,'location':_0x2dab8a,'vc_filepath':this['_gitConfigPath']&&_0x143fd5?path[_0x107a9f(0x186)](this[_0x107a9f(0x162)],_0x143fd5):null,'result':_0xad788e,'started_at':_0x5b9ff5[_0x107a9f(0x15a)]||new Date()[_0x107a9f(0x1d7)](),'finished_at':_0x1ee488,'failure_type':_0x14270f,'failure_reason':_0x3fa4e3,'failure_data':_0x2f1952,'framework':_0x5e6fe8['DrHkh']};return _0x5e6fe8[_0x107a9f(0x1d4)](_0x252300,_0x5e6fe8[_0x107a9f(0x16e)])&&(hooksMap[_0x597a48]?hooksMap[_0x597a48][_0x107a9f(0x1bc)](_0x3ef4a1):hooksMap[_0x597a48]=[_0x3ef4a1]),_0x3ef4a1;}catch(_0x510ff3){return logger[_0x107a9f(0x194)](_0x107a9f(0x1af)+util[_0x107a9f(0x13e)](_0x510ff3)),null;}}[a124_0x2b9c85(0x174)](_0x2c712a,_0x3cd7b5,_0x173c6d){const _0x1b52b1=a124_0x2b9c85,_0x261a3b={'WgnNE':function(_0x5a5957,_0x414c5b){return _0x5a5957>_0x414c5b;},'cOIet':_0x1b52b1(0x1c5),'ACcpY':function(_0x38d58b,_0x357fa5){return _0x38d58b(_0x357fa5);},'jxoGI':_0x1b52b1(0x1d5),'FzOFy':_0x1b52b1(0x1e4)};try{const _0xa03f2d=hooksMap[_0x2c712a];if(!_0xa03f2d)return null;const _0x504ab9=_0xa03f2d[_0x1b52b1(0x164)](_0x138aad=>_0x138aad['uuid']===_0x3cd7b5);if(!_0x504ab9)return null;return _0x504ab9[_0x1b52b1(0x1de)]=new Date()['toISOString'](),_0x173c6d[_0x1b52b1(0x1cd)]&&_0x261a3b['WgnNE'](_0x173c6d[_0x1b52b1(0x1cd)][_0x1b52b1(0x159)],0x0)?(_0x504ab9[_0x1b52b1(0x178)]=_0x261a3b[_0x1b52b1(0x135)],_0x504ab9['failure_reason']=util['inspect'](_0x173c6d[_0x1b52b1(0x1cd)][0x0]),_0x504ab9[_0x1b52b1(0x1db)]=_0x261a3b[_0x1b52b1(0x1bd)](getFailureType,_0x504ab9['failure_reason']),_0x504ab9['failure_data']=failureData[_0x1b52b1(0x182)](null,[_0x173c6d['errorsDetailed'],_0x261a3b['jxoGI']])):_0x504ab9[_0x1b52b1(0x178)]=_0x261a3b[_0x1b52b1(0x153)],_0x504ab9;}catch(_0x5467a4){return logger[_0x1b52b1(0x194)](_0x1b52b1(0x16b)+util[_0x1b52b1(0x13e)](_0x5467a4)),null;}}[a124_0x2b9c85(0x13f)](_0x29891f){const _0x51c2c2=a124_0x2b9c85,_0x29c6c2={};_0x29c6c2[_0x51c2c2(0x188)]=function(_0xf1981e,_0x35df70){return _0xf1981e!==_0x35df70;},_0x29c6c2[_0x51c2c2(0x1d9)]='test',_0x29c6c2[_0x51c2c2(0x17a)]=_0x51c2c2(0x166);const _0x51a05e=_0x29c6c2;if(_0x51a05e[_0x51c2c2(0x188)](_0x29891f[_0x51c2c2(0x1ce)],_0x51a05e['jhFXq']))return'\x22'+_0x29891f[_0x51c2c2(0x1ce)]+'\x22\x20hook\x20for\x20\x22'+(_0x29891f[_0x51c2c2(0x15b)]&&_0x29891f['parent'][_0x51c2c2(0x179)])+'\x22';return _0x29891f[_0x51c2c2(0x179)]||_0x51a05e[_0x51c2c2(0x17a)];}[a124_0x2b9c85(0x14e)](_0x134e25){const _0x1fc673=a124_0x2b9c85,_0x296a43={};_0x296a43['gdGjF']=function(_0x2273f7,_0x6c8447){return _0x2273f7!==_0x6c8447;},_0x296a43[_0x1fc673(0x160)]=function(_0x466959,_0x192670){return _0x466959!==_0x192670;},_0x296a43[_0x1fc673(0x1cf)]=_0x1fc673(0x15d);const _0xf9bab5=_0x296a43,_0x215ef9=[];if(_0x134e25&&_0x134e25['parent']){let _0x114906=_0x134e25[_0x1fc673(0x15b)];while(_0x114906&&_0x114906[_0x1fc673(0x179)]&&_0xf9bab5['gdGjF'](_0x114906[_0x1fc673(0x179)],'')&&_0xf9bab5['JNpWO'](_0x114906['name'],_0xf9bab5[_0x1fc673(0x1cf)])){_0x215ef9[_0x1fc673(0x1bc)](_0x114906[_0x1fc673(0x179)]),_0x114906=_0x114906[_0x1fc673(0x15b)];}}return _0x215ef9[_0x1fc673(0x1a4)](),_0x215ef9;}[a124_0x2b9c85(0x1b7)](_0xaa91a9){const _0x18efca=a124_0x2b9c85,_0x137a20={'GpVvA':function(_0x25870c,_0x4a9130){return _0x25870c(_0x4a9130);}};if(_0xaa91a9[_0x18efca(0x1ad)])return _0xaa91a9[_0x18efca(0x1ad)];if(_0xaa91a9[_0x18efca(0x173)])try{const _0x598378=stackTrace['parse'][_0x18efca(0x1b4)](stackTrace,_0xaa91a9['asyncError']),_0x3779fd=_0x137a20[_0x18efca(0x1eb)](pickUserFrameFile,_0x598378);if(_0x3779fd)return _0x3779fd;logger[_0x18efca(0x194)](_0x18efca(0x1ae)+_0x598378['length']+')');}catch(_0x1c16aa){logger[_0x18efca(0x194)](_0x18efca(0x1b8)+util[_0x18efca(0x13e)](_0x1c16aa));}return null;}['isJestInternalHook'](_0x43ee90){const _0x4b8fe6=a124_0x2b9c85,_0x42da4c={};_0x42da4c[_0x4b8fe6(0x18f)]='jest-circus';const _0x5becbe=_0x42da4c;try{const _0x5e9cde=this[_0x4b8fe6(0x1b7)](_0x43ee90);if(!_0x5e9cde||_0x5e9cde[_0x4b8fe6(0x1c4)](_0x5becbe['XAgJX']))return!![];}catch(_0x151d35){logger[_0x4b8fe6(0x194)](_0x4b8fe6(0x1bf)+util[_0x4b8fe6(0x13e)](_0x151d35));}return![];}[a124_0x2b9c85(0x1a6)](_0x5b2e1d=null){const _0x5ba8d8=a124_0x2b9c85;try{const _0xe70171=_0x5b2e1d||global['__workerDetails']||{};if(global[_0x5ba8d8(0x137)])return global[_0x5ba8d8(0x137)];if(_0xe70171?.[_0x5ba8d8(0x177)]?.[_0x5ba8d8(0x1a2)])return _0xe70171[_0x5ba8d8(0x177)][_0x5ba8d8(0x1a2)];if(_0xe70171?.[_0x5ba8d8(0x177)]?.['id'])return _0xe70171[_0x5ba8d8(0x177)]['id'];return null;}catch(_0x31179b){return logger[_0x5ba8d8(0x194)](_0x5ba8d8(0x170)+util[_0x5ba8d8(0x13e)](_0x31179b)),null;}}async[a124_0x2b9c85(0x13c)](){const _0x3ac774=a124_0x2b9c85,_0xc31f8b={'JsIxU':function(_0x451ca6){return _0x451ca6();}};if(this[_0x3ac774(0x143)])return this[_0x3ac774(0x162)];const _0x134d34=await _0xc31f8b['JsIxU'](getGitMetaData);_0x134d34&&(this[_0x3ac774(0x162)]=_0x134d34['root']),this[_0x3ac774(0x143)]=!![];}[a124_0x2b9c85(0x190)](_0x560607){hooksMap[_0x560607]&&delete hooksMap[_0x560607];}[a124_0x2b9c85(0x151)](_0x3f87f5){const _0x9c39e8=a124_0x2b9c85,_0x5b69bc={'FaNMH':_0x9c39e8(0x1ca),'uHcsd':function(_0x378496,_0x2e5275){return _0x378496(_0x2e5275);},'KKnAC':'expect'};if(_0x3f87f5[_0x9c39e8(0x1ad)])return _0x3f87f5[_0x9c39e8(0x1ad)];if(_0x3f87f5[_0x9c39e8(0x173)]){try{const _0x2723af=stackTrace[_0x9c39e8(0x195)](_0x3f87f5[_0x9c39e8(0x173)]);if(_0x2723af[0x0]&&_0x2723af[0x0]['getFileName']){const _0x539daf=_0x2723af[0x0][_0x9c39e8(0x18d)]();if(_0x539daf&&!_0x539daf[_0x9c39e8(0x1c4)](_0x5b69bc[_0x9c39e8(0x198)]))return _0x539daf;}}catch(_0x314dbc){logger[_0x9c39e8(0x194)](_0x9c39e8(0x1b3)+util['format'](_0x314dbc));}if(_0x3f87f5[_0x9c39e8(0x173)][_0x9c39e8(0x1d0)]){const _0x47b693=_0x3f87f5[_0x9c39e8(0x173)][_0x9c39e8(0x1d0)]['split']('\x0a');for(const _0xe1dea2 of _0x47b693){const _0x49041f=_0xe1dea2[_0x9c39e8(0x180)](/at (.+?):\d+:\d+/);if(_0x49041f&&_0x49041f[0x1]&&!_0x49041f[0x1][_0x9c39e8(0x1c4)](_0x5b69bc[_0x9c39e8(0x198)]))return _0x49041f[0x1];}}}let _0x1b8096=_0x3f87f5[_0x9c39e8(0x15b)];while(_0x1b8096){if(_0x1b8096['file'])return _0x1b8096['file'];if(_0x1b8096[_0x9c39e8(0x173)])try{const _0x4c9f21=stackTrace[_0x9c39e8(0x195)](_0x1b8096['asyncError']);if(_0x4c9f21[0x0]&&_0x4c9f21[0x0][_0x9c39e8(0x18d)]){const _0x5bfa70=_0x4c9f21[0x0][_0x9c39e8(0x18d)]();if(_0x5bfa70&&!_0x5bfa70['includes'](_0x5b69bc[_0x9c39e8(0x198)]))return _0x5bfa70;}}catch(_0xf7365a){}_0x1b8096=_0x1b8096['parent'];}try{const _0x5dfebd=_0x5b69bc[_0x9c39e8(0x165)](require,_0x5b69bc[_0x9c39e8(0x142)]);if(_0x5dfebd&&_0x5dfebd['getState']){const _0x37695b=_0x5dfebd[_0x9c39e8(0x1bb)]();if(_0x37695b&&_0x37695b['testPath'])return _0x37695b[_0x9c39e8(0x175)];}}catch(_0x31fb71){logger[_0x9c39e8(0x194)]('[jestUtils]\x20expect.getState()\x20not\x20available:\x20'+util[_0x9c39e8(0x13e)](_0x31fb71));}return null;}['createJestTestIdentifier'](_0x3d1945){const _0x3bb8c1=a124_0x2b9c85,_0x259d48={};_0x259d48['xWDqv']=_0x3bb8c1(0x1e1),_0x259d48[_0x3bb8c1(0x197)]=function(_0x5abaa5,_0x121505){return _0x5abaa5!==_0x121505;},_0x259d48[_0x3bb8c1(0x1cb)]=_0x3bb8c1(0x15d),_0x259d48[_0x3bb8c1(0x1c1)]=_0x3bb8c1(0x1ca),_0x259d48[_0x3bb8c1(0x19d)]=_0x3bb8c1(0x144),_0x259d48[_0x3bb8c1(0x1ea)]='hex';const _0x55397e=_0x259d48;try{if(!_0x3d1945)return logger[_0x3bb8c1(0x13b)](_0x55397e[_0x3bb8c1(0x14f)]),null;const _0x2859d4=_0x3d1945['fullName']||_0x3d1945[_0x3bb8c1(0x179)]||_0x3d1945[_0x3bb8c1(0x1dd)]||_0x3d1945[_0x3bb8c1(0x152)];let _0x21098c=_0x2859d4;if(_0x3d1945[_0x3bb8c1(0x15b)]&&_0x3d1945[_0x3bb8c1(0x15b)][_0x3bb8c1(0x179)]&&_0x55397e[_0x3bb8c1(0x197)](_0x3d1945[_0x3bb8c1(0x15b)][_0x3bb8c1(0x179)],_0x55397e[_0x3bb8c1(0x1cb)])){const _0x4d1ba4=_0x3d1945[_0x3bb8c1(0x179)]||_0x3d1945['title'];_0x4d1ba4&&(_0x21098c=_0x3d1945[_0x3bb8c1(0x15b)][_0x3bb8c1(0x179)]+'\x20'+_0x4d1ba4);}let _0x113511=_0x3d1945[_0x3bb8c1(0x175)];if(!_0x113511&&_0x3d1945[_0x3bb8c1(0x173)]){try{const _0x329ea9=stackTrace[_0x3bb8c1(0x195)](_0x3d1945['asyncError']);if(_0x329ea9[0x0]&&_0x329ea9[0x0]['getFileName']){const _0x4a1a68=_0x329ea9[0x0]['getFileName']();_0x4a1a68&&!_0x4a1a68[_0x3bb8c1(0x1c4)](_0x55397e[_0x3bb8c1(0x1c1)])&&(_0x113511=_0x4a1a68);}}catch(_0x1e6195){logger['debug'](_0x3bb8c1(0x1b3)+util[_0x3bb8c1(0x13e)](_0x1e6195));}if(!_0x113511&&_0x3d1945[_0x3bb8c1(0x173)][_0x3bb8c1(0x1d0)]){const _0xa74cae=_0x3d1945[_0x3bb8c1(0x173)]['stack'][_0x3bb8c1(0x1d6)]('\x0a');for(const _0x3e3ab8 of _0xa74cae){const _0x144e0f=_0x3e3ab8[_0x3bb8c1(0x180)](/at (.+?):\d+:\d+/);if(_0x144e0f&&_0x144e0f[0x1]&&!_0x144e0f[0x1][_0x3bb8c1(0x1c4)](_0x55397e[_0x3bb8c1(0x1c1)])){_0x113511=_0x144e0f[0x1];break;}}}}const _0x46d8e4=_0x113511+'::'+_0x21098c,_0x45950a=crypto[_0x3bb8c1(0x1e7)](_0x55397e[_0x3bb8c1(0x19d)])[_0x3bb8c1(0x16a)](_0x46d8e4)[_0x3bb8c1(0x172)](_0x55397e[_0x3bb8c1(0x1ea)])[_0x3bb8c1(0x1b5)](0x0,0x8),_0x12e4b4=process['pid']+_0x3bb8c1(0x16d)+_0x45950a;return logger[_0x3bb8c1(0x194)]('[jestUtils]\x20Created\x20identifier:\x20'+_0x12e4b4+_0x3bb8c1(0x1c8)+_0x46d8e4),_0x12e4b4;}catch(_0x1eaf06){return logger['error']('[jestUtils]\x20Error\x20creating\x20identifier:\x20'+util[_0x3bb8c1(0x13e)](_0x1eaf06)),null;}}['createIdentifierFromJestTest'](_0x5b9223){const _0x3dbc12=a124_0x2b9c85,_0x12b34f={};_0x12b34f[_0x3dbc12(0x1d8)]='[jestUtils]\x20No\x20test\x20object\x20provided';const _0x18a2d3=_0x12b34f;if(!_0x5b9223)return logger[_0x3dbc12(0x194)](_0x18a2d3[_0x3dbc12(0x1d8)]),null;const _0x5916e4=this[_0x3dbc12(0x151)](_0x5b9223),_0x497300={};_0x497300[_0x3dbc12(0x179)]=_0x5b9223[_0x3dbc12(0x179)]||_0x5b9223['title'],_0x497300[_0x3dbc12(0x15b)]=_0x5b9223[_0x3dbc12(0x15b)],_0x497300[_0x3dbc12(0x175)]=_0x5916e4,_0x497300[_0x3dbc12(0x173)]=_0x5b9223['asyncError'];const _0x10a4af=_0x497300;return this[_0x3dbc12(0x17e)](_0x10a4af);}[a124_0x2b9c85(0x1a0)](_0x3e98c3,_0x5a9ea8=null){const _0x8ea54e=a124_0x2b9c85,_0x5e82ca={};_0x5e82ca['YVZDr']=_0x8ea54e(0x1b6);const _0x47865a=_0x5e82ca;if(!_0x3e98c3)return logger[_0x8ea54e(0x194)](_0x47865a[_0x8ea54e(0x184)]),_0x5a9ea8;if(_0x3e98c3[_0x8ea54e(0x1c3)])return logger[_0x8ea54e(0x194)]('[jestUtils]\x20Using\x20stored\x20testIdentifier:\x20'+_0x3e98c3['testIdentifier']),_0x3e98c3['testIdentifier'];return this['createJestTestIdentifier'](_0x3e98c3)||_0x5a9ea8;}}module['exports']=o11yClassErrorHandler(JestUtils,['configureGit','getHierarchy',a124_0x2b9c85(0x1b7),a124_0x2b9c85(0x13f),'isJestInternalHook',a124_0x2b9c85(0x1a6),a124_0x2b9c85(0x19c),'createHookData','getHookRunEventData','clearHooksMap',a124_0x2b9c85(0x151),a124_0x2b9c85(0x17e),a124_0x2b9c85(0x1b2),a124_0x2b9c85(0x1a0)]);
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a125_0x3eb346=a125_0x6c66;(function(_0x337dd8,_0x27b405){const _0x1160e1=a125_0x6c66,_0x562f69=_0x337dd8();while(!![]){try{const _0x4af681=-parseInt(_0x1160e1(0x232))/0x1+parseInt(_0x1160e1(0x218))/0x2*(-parseInt(_0x1160e1(0x20a))/0x3)+-parseInt(_0x1160e1(0x204))/0x4*(parseInt(_0x1160e1(0x1ce))/0x5)+-parseInt(_0x1160e1(0x1ec))/0x6*(parseInt(_0x1160e1(0x206))/0x7)+-parseInt(_0x1160e1(0x1e1))/0x8+parseInt(_0x1160e1(0x1da))/0x9+parseInt(_0x1160e1(0x21c))/0xa;if(_0x4af681===_0x27b405)break;else _0x562f69['push'](_0x562f69['shift']());}catch(_0x402058){_0x562f69['push'](_0x562f69['shift']());}}}(a125_0x25c1,0x49d5c));function a125_0x25c1(){const _0x4c3ade=['handleApp','lyDRH','winstonLogger','isVersionSupported','parallelsPerPlatform','RYbbx','selenium-webdriver','skipSessionStatus','../v2/cliUtils','isBrowserSupportedForAccessibility','../../helpers/performance/performance-tester','[TRACE:node-generic]\x20Binary\x20Flow\x20error:\x20','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20','finalExecution','length','SDK_CLEANUP','../../helpers/logger','browser_version','196HeMQRF','AYtwb','29827qAXQZy','isCliEnabled','getPackageVersion','BMqCc','786081soEVjs','modifyBrowserStackW3CCaps','\x20doesn\x27t\x20exist','__accessibilityOptions','accessibility','stop','Config\x20yml\x20is\x20required','\x20resolves\x20outside\x20the\x20project\x20directory\x20and\x20was\x20rejected','bDxqb','debug','env','mlbsA','config','../../helpers/testhub/utils','4sIidSX','BROWSERSTACK_SKIP_SESSION_STATUS','error','useW3C:\x20false\x20has\x20no\x20effect\x20with\x20selenium-webdriver\x20','21877740oxSTWB','configPath','xSNql','configuration','warn','TbsiP','getHubUrl','isFinite','EVENTS','File\x20path\x20is\x20required','path','[TRACE:node-generic]\x20Accessibility\x20config\x20enriched\x20with\x20binary\x20scannerVersion=','existsSync','index','getBrowserDisplayName','[TRACE:node-generic]\x20Binary\x20bootstrapped,\x20starting\x20parallelVanillaRun','end','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20or\x20ChromeForTesting\x20browsers.','parse','initialize','bootstrap','SDK_SETUP','351838qHSTlU','liObY','../../helpers/accessibility-automation/helper','BROWSERSTACK_SKIP_SESSION_NAME','[TRACE:node-generic]\x20CLI\x20not\x20enabled\x20—\x20using\x20Direct\x20Flow','hqOtu','info','push','setFrameworkDetail','proxySettings','file','cBxKf','platforms','isRunning','../../helpers/BrowserStackSetup','start','Accessibility\x20Automation\x20is\x20not\x20supported\x20with\x20w3c:\x20false.\x20Skipping\x20accessibility\x20for\x20this\x20run.','lxwzq','pxYLZ','BROWSERSTACK_TEST_ACCESSIBILITY_YML','Yvecu','beforeExit','setupBrowserstackLocal','scannerVersion','35015vptwuf','isUndefined','[TRACE:node-generic]\x20CLI\x20enabled\x20—\x20using\x20Binary\x20Flow','isTrue','../../helpers/performance/constants','BROWSERSTACK_PRODUCT_MAP','mGnTy','wJEdB','ndmOK','resolve','NODE_GENERIC','PIjOl','4613634VKtsAV','eDreG','File\x20path\x20','stringify','File\x20','isChildConnected','exports','4761408HBEtfL','\x20browser\x20version\x20greater\x20than\x20','browserVersion','forEach','modifyBrowserStackCaps','finally','args','getInstance','[TRACE:node-generic]\x20Error\x20enriching\x20accessibility\x20config:\x20','accessibilityOptions','vanilla','822XENKTt','FDJXP','useW3C','then','../../helpers/utilities','syeqz'];a125_0x25c1=function(){return _0x4c3ade;};return a125_0x25c1();}const fs=require('fs'),path=require(a125_0x3eb346(0x226)),{default:BrowserStackSetup}=require(a125_0x3eb346(0x1c4)),helper=require('../../helpers/helper'),PerformanceTester=require(a125_0x3eb346(0x1fc)),PerformanceEvents=require(a125_0x3eb346(0x1d2))[a125_0x3eb346(0x224)],utilities=require(a125_0x3eb346(0x1f0)),{parallelVanillaRun}=require('../test-runner'),TestHubHandler=require('../../helpers/testhub/testhubHandler'),BrowserstackCLI=require('../v2/browserstackCLI'),logger=require(a125_0x3eb346(0x202))[a125_0x3eb346(0x1f4)],CLIUtils=require(a125_0x3eb346(0x1fa)),{FRAMEWORKS}=require('../utils/constants'),accessibilityHelper=require(a125_0x3eb346(0x234));async function run(_0x2787e4,_0x5e2843,_0x55843e){const _0x9f5e3e=a125_0x3eb346,_0x5d5f76={'mGnTy':_0x9f5e3e(0x1eb),'wJEdB':_0x9f5e3e(0x22d),'BMqCc':function(_0x329e48,_0x3c8ba4){return _0x329e48(_0x3c8ba4);},'PIjOl':function(_0x14a909,_0x254cb0){return _0x14a909(_0x254cb0);},'xSNql':function(_0x41116e,_0x469bad){return _0x41116e(_0x469bad);},'lyDRH':function(_0xe1970e,_0x1006ca){return _0xe1970e>_0x1006ca;},'bDxqb':'on\x20non-BrowserStack\x20infrastructure\x20','hqOtu':'[TRACE:node-generic]\x20beforeExit\x20safety\x20net\x20—\x20stopping\x20binary','RYbbx':_0x9f5e3e(0x225),'TbsiP':function(_0x29a5ae,_0x5515e6){return _0x29a5ae!==_0x5515e6;},'Rkrtb':function(_0x10259,_0x4b4bd4){return _0x10259+_0x4b4bd4;},'FDJXP':_0x9f5e3e(0x210),'mlbsA':_0x9f5e3e(0x1f8),'syeqz':function(_0x643b29,_0x3bdf0d,_0xf1b484){return _0x643b29(_0x3bdf0d,_0xf1b484);},'liObY':function(_0x575fbb,_0x11d5ea){return _0x575fbb>=_0x11d5ea;},'Yvecu':function(_0x3ff437,_0x5bcd78){return _0x3ff437(_0x5bcd78);},'eDreG':function(_0x2c406d,_0x3cd2d4){return _0x2c406d&&_0x3cd2d4;},'wirVp':_0x9f5e3e(0x1c6),'lxwzq':_0x9f5e3e(0x217),'ndmOK':_0x9f5e3e(0x1d0),'Yjrbg':_0x9f5e3e(0x22b),'cBxKf':'browserstack.accessibilityOptions.scannerVersion','AYtwb':function(_0x56a104,_0x59e04d){return _0x56a104*_0x59e04d;},'pxYLZ':'[TRACE:node-generic]\x20parallelVanillaRun\x20complete,\x20stopping\x20binary','KhIJr':_0x9f5e3e(0x236),'nxzXa':function(_0x26b47c,_0x454c75){return _0x26b47c*_0x454c75;},'MKlSs':function(_0x37b02c,_0x3ad2c3,_0x2d5410){return _0x37b02c(_0x3ad2c3,_0x2d5410);},'sWiIp':_0x9f5e3e(0x1cb)};await _0x55843e[_0x9f5e3e(0x22f)](_0x2787e4);!BrowserstackCLI[_0x9f5e3e(0x1e8)]()[_0x9f5e3e(0x1c3)]()&&await _0x55843e[_0x9f5e3e(0x1cc)]();await helper[_0x9f5e3e(0x1f2)](_0x55843e[_0x9f5e3e(0x216)]);const _0x365040=[];if(helper[_0x9f5e3e(0x1cf)](_0x2787e4['_'][0x1]))throw _0x5d5f76[_0x9f5e3e(0x209)](Error,_0x5d5f76[_0x9f5e3e(0x1f7)]);const _0x165bcf=process['cwd'](),_0x4af13c=path[_0x9f5e3e(0x1d7)](_0x165bcf,_0x2787e4['_'][0x1]);if(_0x5d5f76[_0x9f5e3e(0x221)](_0x4af13c,_0x165bcf)&&!_0x4af13c['startsWith'](_0x5d5f76['Rkrtb'](_0x165bcf,path['sep'])))throw _0x5d5f76[_0x9f5e3e(0x21e)](Error,_0x9f5e3e(0x1dc)+_0x2787e4['_'][0x1]+_0x9f5e3e(0x211));if(!fs[_0x9f5e3e(0x228)](_0x4af13c))throw _0x5d5f76[_0x9f5e3e(0x209)](Error,_0x9f5e3e(0x1de)+_0x2787e4['_'][0x1]+_0x9f5e3e(0x20c));if(!_0x55843e['config'])throw _0x5d5f76[_0x9f5e3e(0x21e)](Error,_0x5d5f76[_0x9f5e3e(0x1ed)]);const _0x3d83b4=helper[_0x9f5e3e(0x1ee)](_0x55843e[_0x9f5e3e(0x216)]);if(!_0x3d83b4){const _0x55fc7f=helper[_0x9f5e3e(0x208)](_0x5d5f76[_0x9f5e3e(0x215)]),_0x5ea3c7=_0x5d5f76['syeqz'](parseInt,_0x55fc7f,0xa);Number['isFinite'](_0x5ea3c7)&&_0x5d5f76[_0x9f5e3e(0x233)](_0x5ea3c7,0x4)&&logger[_0x9f5e3e(0x220)](_0x9f5e3e(0x21b)+_0x55fc7f+':\x20the\x20JSON-wire\x20protocol\x20was\x20removed\x20in\x20selenium-webdriver\x204,\x20so\x20this\x20run\x20will\x20use\x20W3C.\x20Pin\x20selenium-webdriver\x203.x\x20if\x20an\x20MJSONWP\x20session\x20is\x20required.');}_0x55843e['config'][_0x9f5e3e(0x1c2)]&&_0x5d5f76[_0x9f5e3e(0x1f3)](_0x55843e['config']['platforms']['length'],0x0)&&_0x55843e[_0x9f5e3e(0x216)][_0x9f5e3e(0x1c2)]['forEach']((_0xf06d6f,_0x3b1caf)=>{const _0x3e3c93=_0x9f5e3e;_0x3d83b4?_0x365040[_0x3e3c93(0x239)](helper['modifyBrowserStackW3CCaps'](_0x55843e[_0x3e3c93(0x216)],_0x5d5f76['mGnTy'],_0x3b1caf)):_0x365040[_0x3e3c93(0x239)](helper[_0x3e3c93(0x1e5)](_0x55843e[_0x3e3c93(0x216)],_0x5d5f76[_0x3e3c93(0x1d4)],_0x3b1caf));});let _0x5a7ab7,_0x5121de;const _0x1ba78b=[];if(_0x5d5f76['lyDRH'](_0x365040[_0x9f5e3e(0x200)],0x0))_0x365040[_0x9f5e3e(0x1e4)]((_0x3ddd83,_0x588307)=>{const _0x78c3ed=_0x9f5e3e,_0x813911={};_0x813911[_0x78c3ed(0x229)]=_0x588307,_0x5a7ab7={'server':helper[_0x78c3ed(0x222)](_0x55843e[_0x78c3ed(0x216)]),'proxySettings':_0x55843e[_0x78c3ed(0x216)][_0x78c3ed(0x23b)],'platform':helper['getPlatformName'](_0x3ddd83),'platformCaps':Object['assign'](_0x813911,_0x55843e[_0x78c3ed(0x216)]['platforms'][_0x588307])};const _0xb6b390={'capability':_0x3ddd83,..._0x5a7ab7};_0xb6b390[_0x78c3ed(0x23c)]=_0x4af13c,_0xb6b390['args']=_0x5e2843;const _0x390fe9={};_0x390fe9[_0x78c3ed(0x21f)]=_0xb6b390,_0x5121de=_0x390fe9,_0x1ba78b[_0x78c3ed(0x239)](_0x5121de);});else{let _0x47bd2c;_0x3d83b4?_0x47bd2c=helper[_0x9f5e3e(0x20b)](_0x55843e[_0x9f5e3e(0x216)],_0x5d5f76[_0x9f5e3e(0x1d4)],0x0):_0x47bd2c=helper['modifyBrowserStackCaps'](_0x55843e['config'],_0x5d5f76['mGnTy'],0x0);_0x5a7ab7={'server':helper[_0x9f5e3e(0x222)](_0x55843e['config']),'proxySettings':_0x55843e['config']['proxySettings']};const _0x15d53c={'capability':_0x47bd2c,..._0x5a7ab7};_0x15d53c['file']=_0x4af13c,_0x15d53c[_0x9f5e3e(0x1e7)]=_0x5e2843;const _0x29336d={};_0x29336d['configuration']=_0x15d53c,_0x5121de=_0x29336d,_0x1ba78b[_0x9f5e3e(0x239)](_0x5121de);}const _0x5baa60=_0x55843e[_0x9f5e3e(0x216)]['testContextOptions']||{};process[_0x9f5e3e(0x214)][_0x9f5e3e(0x235)]=_0x5d5f76[_0x9f5e3e(0x1ca)](String,helper[_0x9f5e3e(0x1d1)](_0x5baa60['skipSessionName'])),process['env'][_0x9f5e3e(0x219)]=_0x5d5f76[_0x9f5e3e(0x1d9)](String,helper[_0x9f5e3e(0x1d1)](_0x5baa60[_0x9f5e3e(0x1f9)]));!helper[_0x9f5e3e(0x1cf)](_0x55843e['config']['accessibilityOptions'])&&(process[_0x9f5e3e(0x214)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON['stringify'](_0x55843e[_0x9f5e3e(0x216)][_0x9f5e3e(0x1ea)]));let _0x357dd6=_0x55843e[_0x9f5e3e(0x216)][_0x9f5e3e(0x20e)];_0x357dd6=_0x357dd6||accessibilityHelper['checkAccessibilityPlatformConfig'](_0x55843e[_0x9f5e3e(0x216)]);_0x5d5f76[_0x9f5e3e(0x1db)](_0x357dd6,!_0x3d83b4)&&(logger[_0x9f5e3e(0x220)](_0x5d5f76['wirVp']),_0x357dd6=![]);process[_0x9f5e3e(0x214)][_0x9f5e3e(0x1c9)]=_0x357dd6;if(_0x357dd6){const _0x3f8f39=helper['isBrowserstackInfra']();(_0x55843e[_0x9f5e3e(0x216)][_0x9f5e3e(0x1c2)]||[])['forEach'](_0x570202=>{const _0x3ab606=_0x9f5e3e;if(!_0x570202||_0x570202['deviceName'])return;const _0x596223=_0x570202['browserName'];if(!accessibilityHelper[_0x3ab606(0x1fb)](_0x596223)){logger['warn'](_0x5d5f76[_0x3ab606(0x1d5)]);return;}const _0x2ee9fe=_0x570202[_0x3ab606(0x1e3)]||_0x570202[_0x3ab606(0x203)];if(helper[_0x3ab606(0x1cf)](_0x2ee9fe)||!Number[_0x3ab606(0x223)](_0x5d5f76[_0x3ab606(0x209)](parseFloat,_0x5d5f76[_0x3ab606(0x1d9)](String,_0x2ee9fe))))return;const _0x3b793e=accessibilityHelper['getMinVersionForBrowser'](_0x596223,_0x3f8f39),_0x1841e0=_0x5d5f76[_0x3ab606(0x1d9)](parseFloat,_0x3b793e),_0x101df3=_0x5d5f76[_0x3ab606(0x1d9)](parseFloat,_0x5d5f76[_0x3ab606(0x21e)](String,_0x2ee9fe)),_0x2b18a8=Number['isFinite'](_0x1841e0)?_0x5d5f76[_0x3ab606(0x1f3)](_0x101df3,_0x1841e0):accessibilityHelper[_0x3ab606(0x1f5)](_0x2ee9fe,_0x3b793e);if(!_0x2b18a8){const _0xd50b83=accessibilityHelper[_0x3ab606(0x22a)](_0x596223),_0x36628c=_0x3f8f39?'':_0x5d5f76[_0x3ab606(0x212)];logger['warn'](_0x3ab606(0x1fe)+_0xd50b83+_0x3ab606(0x1e2)+_0x3b793e+'\x20'+_0x36628c+'.');}});}logger['info']('[TRACE:node-generic]\x20Accessibility:\x20enabled='+_0x357dd6);const _0x282b2f=BrowserstackCLI[_0x9f5e3e(0x1e8)]();CLIUtils[_0x9f5e3e(0x23a)](FRAMEWORKS['NODE_GENERIC'],FRAMEWORKS[_0x9f5e3e(0x1d8)]);const {getProductMap:_0x38f3af}=_0x5d5f76['xSNql'](require,_0x5d5f76[_0x9f5e3e(0x1c7)]);process[_0x9f5e3e(0x214)][_0x9f5e3e(0x1d3)]=JSON['stringify'](_0x5d5f76[_0x9f5e3e(0x209)](_0x38f3af,_0x55843e[_0x9f5e3e(0x216)])),_0x282b2f['setBrowserstackConfig'](_0x55843e[_0x9f5e3e(0x216)],_0x55843e[_0x9f5e3e(0x21d)],_0x55843e['cliConfig']);if(_0x282b2f[_0x9f5e3e(0x207)]()){logger[_0x9f5e3e(0x238)](_0x5d5f76[_0x9f5e3e(0x1d6)]);try{await _0x282b2f[_0x9f5e3e(0x230)](),logger[_0x9f5e3e(0x238)](_0x5d5f76['Yjrbg']);try{const _0x259e8c=global[_0x9f5e3e(0x20d)]||{},_0x4627a0=_0x259e8c[_0x5d5f76[_0x9f5e3e(0x23d)]];if(_0x4627a0){const _0x36cb8b=JSON[_0x9f5e3e(0x22e)](process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']||'{}');_0x36cb8b[_0x9f5e3e(0x1cd)]=_0x4627a0,process[_0x9f5e3e(0x214)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON[_0x9f5e3e(0x1dd)](_0x36cb8b),logger['info'](_0x9f5e3e(0x227)+_0x4627a0);}}catch(_0x51ead4){logger['debug'](_0x9f5e3e(0x1e9)+_0x51ead4['message']);}const _0x574d92=_0x5d5f76[_0x9f5e3e(0x205)](_0x55843e['config'][_0x9f5e3e(0x1c2)][_0x9f5e3e(0x200)]||0x1,_0x55843e[_0x9f5e3e(0x216)][_0x9f5e3e(0x1f6)]||0x1);PerformanceTester[_0x9f5e3e(0x22c)](PerformanceEvents['SDK_SETUP']),await _0x5d5f76[_0x9f5e3e(0x1f1)](parallelVanillaRun,_0x1ba78b,_0x574d92),logger['info'](_0x5d5f76[_0x9f5e3e(0x1c8)]),await _0x282b2f[_0x9f5e3e(0x20f)]();}catch(_0x519050){logger[_0x9f5e3e(0x21a)](_0x9f5e3e(0x1fd)+_0x519050['message']);try{await _0x282b2f[_0x9f5e3e(0x20f)]();}catch(_0x1d2434){logger[_0x9f5e3e(0x213)]('[TRACE:node-generic]\x20Error\x20during\x20stop:\x20'+_0x1d2434['message']);}}finally{PerformanceTester[_0x9f5e3e(0x1c5)](PerformanceEvents[_0x9f5e3e(0x201)]),await utilities[_0x9f5e3e(0x1ff)](_0x55843e);}}else{logger['info'](_0x5d5f76['KhIJr']);const _0x2436ff=await TestHubHandler['launchBuild'](_0x5d5f76['mGnTy'],_0x55843e),_0x303607=_0x5d5f76['nxzXa'](_0x55843e[_0x9f5e3e(0x216)][_0x9f5e3e(0x1c2)]['length']||0x1,_0x55843e['config'][_0x9f5e3e(0x1f6)]||0x1);PerformanceTester['end'](PerformanceEvents[_0x9f5e3e(0x231)]),_0x5d5f76['MKlSs'](parallelVanillaRun,_0x1ba78b,_0x303607)[_0x9f5e3e(0x1ef)](_0x265dd3=>{})[_0x9f5e3e(0x1e6)](async()=>{const _0x58850f=_0x9f5e3e;PerformanceTester[_0x58850f(0x1c5)](PerformanceEvents[_0x58850f(0x201)]),await utilities[_0x58850f(0x1ff)](_0x55843e);});}process['on'](_0x5d5f76['sWiIp'],async()=>{const _0x4e4a09=_0x9f5e3e;try{(_0x282b2f['isMainConnected']||_0x282b2f[_0x4e4a09(0x1df)])&&(logger[_0x4e4a09(0x238)](_0x5d5f76[_0x4e4a09(0x237)]),await _0x282b2f[_0x4e4a09(0x20f)]());}catch(_0x50f864){}});}function a125_0x6c66(_0x52e74a,_0x5431df){const _0x25c1f4=a125_0x25c1();return a125_0x6c66=function(_0x6c66e2,_0x161a09){_0x6c66e2=_0x6c66e2-0x1c2;let _0x2842a0=_0x25c1f4[_0x6c66e2];return _0x2842a0;},a125_0x6c66(_0x52e74a,_0x5431df);}module[a125_0x3eb346(0x1e0)]=run;
|
|
2
|
+
'use strict';function a125_0x4a53(){const _0x2556f0=['cwd','cliConfig','useW3C:\x20false\x20has\x20no\x20effect\x20with\x20selenium-webdriver\x20','[TRACE:node-generic]\x20beforeExit\x20safety\x20net\x20—\x20stopping\x20binary','5010481uutPTA','getPackageVersion','isMainConnected','wMNgo','parse','finally','proxySettings','cxftz','4743190JNYNEs',':\x20the\x20JSON-wire\x20protocol\x20was\x20removed\x20in\x20selenium-webdriver\x204,\x20so\x20this\x20run\x20will\x20use\x20W3C.\x20Pin\x20selenium-webdriver\x203.x\x20if\x20an\x20MJSONWP\x20session\x20is\x20required.','bootstrap','stringify','22983EQiEzt','esgKL','accessibilityOptions','isChildConnected','finalExecution','mpFCk','startsWith','[TRACE:node-generic]\x20Accessibility:\x20enabled=','debug','../../helpers/accessibility-automation/helper','skipSessionStatus','\x20doesn\x27t\x20exist','isUndefined','exports','deviceName','xRCsB','browser_version','yYSgp','error','jGIWe','launchBuild','skipSessionName','configuration','isTrue','[TRACE:node-generic]\x20Error\x20enriching\x20accessibility\x20config:\x20','selenium-webdriver','isFinite','../../helpers/performance/constants','setBrowserstackConfig','handleApp','hJTaI','KnbnS','args','../../helpers/testhub/testhubHandler','[TRACE:node-generic]\x20CLI\x20enabled\x20—\x20using\x20Binary\x20Flow','Config\x20yml\x20is\x20required','../v2/cliUtils','../v2/browserstackCLI','cogNQ','../../helpers/logger','getMultiDriverWorkerConfig','uoXXW','length','browserName','winstonLogger','forEach','CZjFv','3538376qcasDk','getInstance','iLfXT','isBrowserstackInfra','scannerVersion','BROWSERSTACK_PRODUCT_MAP','[TRACE:node-generic]\x20Accessibility\x20config\x20enriched\x20with\x20binary\x20scannerVersion=','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20or\x20ChromeForTesting\x20browsers.','env','5UXSMPp','YFvXf','1928178YsdYPX','[TRACE:node-generic]\x20Binary\x20Flow\x20error:\x20','SNciD','mDrzK','isCliEnabled','parallelsPerPlatform','sep','start','[TRACE:node-generic]\x20Error\x20during\x20stop:\x20','file','push','../../helpers/BrowserStackSetup','[TRACE:node-generic]\x20parallelVanillaRun\x20complete,\x20stopping\x20binary','config','lgUYv','assign','12ZaywSx','checkAccessibilityPlatformConfig','QhoXL','119545rRHtdr','info','configPath','BROWSERSTACK_TEST_ACCESSIBILITY_YML','File\x20path\x20','getHubUrl','TbZsW','5932188LYIJfU','xqyiT','100MgEjFX','end','SDK_CLEANUP','testContextOptions','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','Accessibility\x20Automation\x20is\x20not\x20supported\x20with\x20w3c:\x20false.\x20Skipping\x20accessibility\x20for\x20this\x20run.','[TRACE:node-generic]\x20Binary\x20bootstrapped,\x20starting\x20parallelVanillaRun','../utils/constants','../../helpers/helper','RCqzs','ELZIo','[TRACE:node-generic]\x20CLI\x20not\x20enabled\x20—\x20using\x20Direct\x20Flow','initialize','yWKAv','../../helpers/testhub/utils','warn','stop','setFrameworkDetail','platforms','getMinVersionForBrowser','hzZDT','SDK_SETUP','path','BROWSERSTACK_SKIP_SESSION_NAME','BROWSERSTACK_SKIP_SESSION_STATUS','FdBZB','accessibility','modifyBrowserStackW3CCaps','EvhZI','getPlatformName'];a125_0x4a53=function(){return _0x2556f0;};return a125_0x4a53();}const a125_0x2502f8=a125_0x19ad;(function(_0x49643e,_0x4747e4){const _0x4ff981=a125_0x19ad,_0x3a88d9=_0x49643e();while(!![]){try{const _0x2be813=parseInt(_0x4ff981(0x10e))/0x1*(-parseInt(_0x4ff981(0x10b))/0x2)+parseInt(_0x4ff981(0x145))/0x3*(-parseInt(_0x4ff981(0x117))/0x4)+parseInt(_0x4ff981(0x17d))/0x5*(parseInt(_0x4ff981(0x17f))/0x6)+parseInt(_0x4ff981(0x139))/0x7+parseInt(_0x4ff981(0x174))/0x8+-parseInt(_0x4ff981(0x115))/0x9+parseInt(_0x4ff981(0x141))/0xa;if(_0x2be813===_0x4747e4)break;else _0x3a88d9['push'](_0x3a88d9['shift']());}catch(_0x18bdb4){_0x3a88d9['push'](_0x3a88d9['shift']());}}}(a125_0x4a53,0x5e32b));const fs=require('fs'),path=require(a125_0x2502f8(0x12d)),{default:BrowserStackSetup}=require(a125_0x2502f8(0x106)),helper=require(a125_0x2502f8(0x11f)),PerformanceTester=require('../../helpers/performance/performance-tester'),PerformanceEvents=require(a125_0x2502f8(0x160))['EVENTS'],utilities=require('../../helpers/utilities'),{parallelVanillaRun}=require('../test-runner'),TestHubHandler=require(a125_0x2502f8(0x166)),BrowserstackCLI=require(a125_0x2502f8(0x16a)),logger=require(a125_0x2502f8(0x16c))[a125_0x2502f8(0x171)],CLIUtils=require(a125_0x2502f8(0x169)),{FRAMEWORKS}=require(a125_0x2502f8(0x11e)),accessibilityHelper=require(a125_0x2502f8(0x14e));function a125_0x19ad(_0x53f71d,_0x518725){const _0x4a53a0=a125_0x4a53();return a125_0x19ad=function(_0x19ad93,_0x264d7f){_0x19ad93=_0x19ad93-0x101;let _0x246635=_0x4a53a0[_0x19ad93];return _0x246635;},a125_0x19ad(_0x53f71d,_0x518725);}async function run(_0x313be8,_0x2adbce,_0x12d76f){const _0x17577e=a125_0x2502f8,_0x111dd6={'jGIWe':'vanilla','yWKAv':_0x17577e(0x17b),'CZjFv':function(_0xa00f17,_0x56e65f){return _0xa00f17(_0x56e65f);},'EvhZI':function(_0x42ba76,_0x140b36){return _0x42ba76(_0x140b36);},'ELZIo':function(_0x167b2e,_0x4b77a8){return _0x167b2e>_0x4b77a8;},'YFvXf':'on\x20non-BrowserStack\x20infrastructure\x20','xhAGe':_0x17577e(0x138),'yYSgp':function(_0x408486,_0x2fa169){return _0x408486(_0x2fa169);},'hzZDT':'File\x20path\x20is\x20required','xqyiT':function(_0x4f71ea,_0x291e9f){return _0x4f71ea!==_0x291e9f;},'cxftz':function(_0x21d346,_0x59406e){return _0x21d346+_0x59406e;},'FdBZB':function(_0x2ea5ff,_0x2edf7a){return _0x2ea5ff(_0x2edf7a);},'xRCsB':function(_0x11d071,_0x293e57){return _0x11d071(_0x293e57);},'uoXXW':_0x17577e(0x168),'cmpLS':_0x17577e(0x15e),'TbZsW':function(_0x41fe52,_0x27e854,_0x46b1d5){return _0x41fe52(_0x27e854,_0x46b1d5);},'cogNQ':function(_0x586ada,_0x5ca6af){return _0x586ada>=_0x5ca6af;},'lgUYv':function(_0x166eb3,_0x594dc8){return _0x166eb3&&_0x594dc8;},'KnbnS':_0x17577e(0x11c),'esgKL':_0x17577e(0x125),'mDrzK':function(_0x20a3d3,_0x4412f6){return _0x20a3d3(_0x4412f6);},'mpFCk':_0x17577e(0x167),'SNciD':_0x17577e(0x11d),'wMNgo':'browserstack.accessibilityOptions.scannerVersion','QhoXL':function(_0x10d761,_0x582065){return _0x10d761*_0x582065;},'WKWqe':_0x17577e(0x107),'fBmcz':_0x17577e(0x122),'iLfXT':function(_0xfd7277,_0x4f3863){return _0xfd7277*_0x4f3863;},'hJTaI':function(_0x135fee,_0x2909eb,_0xbab46a){return _0x135fee(_0x2909eb,_0xbab46a);},'RCqzs':'beforeExit'};await _0x12d76f[_0x17577e(0x123)](_0x313be8);!BrowserstackCLI[_0x17577e(0x175)]()['isRunning']()&&await _0x12d76f['setupBrowserstackLocal']();await helper[_0x17577e(0x162)](_0x12d76f[_0x17577e(0x108)]);const _0x159822=[];if(helper['isUndefined'](_0x313be8['_'][0x1]))throw _0x111dd6[_0x17577e(0x156)](Error,_0x111dd6[_0x17577e(0x12b)]);const _0x524012=process[_0x17577e(0x135)](),_0x1a89c4=path['resolve'](_0x524012,_0x313be8['_'][0x1]);if(_0x111dd6[_0x17577e(0x116)](_0x1a89c4,_0x524012)&&!_0x1a89c4[_0x17577e(0x14b)](_0x111dd6[_0x17577e(0x140)](_0x524012,path[_0x17577e(0x101)])))throw _0x111dd6[_0x17577e(0x130)](Error,_0x17577e(0x112)+_0x313be8['_'][0x1]+'\x20resolves\x20outside\x20the\x20project\x20directory\x20and\x20was\x20rejected');if(!fs['existsSync'](_0x1a89c4))throw _0x111dd6[_0x17577e(0x133)](Error,'File\x20'+_0x313be8['_'][0x1]+_0x17577e(0x150));if(!_0x12d76f[_0x17577e(0x108)])throw _0x111dd6[_0x17577e(0x154)](Error,_0x111dd6[_0x17577e(0x16e)]);const _0x20c458=helper['useW3C'](_0x12d76f[_0x17577e(0x108)]);if(!_0x20c458){const _0x137be2=helper[_0x17577e(0x13a)](_0x111dd6['cmpLS']),_0x32f024=_0x111dd6[_0x17577e(0x114)](parseInt,_0x137be2,0xa);Number[_0x17577e(0x15f)](_0x32f024)&&_0x111dd6[_0x17577e(0x16b)](_0x32f024,0x4)&&logger['warn'](_0x17577e(0x137)+_0x137be2+_0x17577e(0x142));}_0x12d76f['config'][_0x17577e(0x129)]&&_0x111dd6[_0x17577e(0x121)](_0x12d76f[_0x17577e(0x108)]['platforms']['length'],0x0)&&_0x12d76f['config']['platforms'][_0x17577e(0x172)]((_0xfcec66,_0x243aaa)=>{const _0x552cd8=_0x17577e;_0x20c458?_0x159822[_0x552cd8(0x105)](helper['modifyBrowserStackW3CCaps'](_0x12d76f['config'],_0x111dd6[_0x552cd8(0x158)],_0x243aaa)):_0x159822[_0x552cd8(0x105)](helper['modifyBrowserStackCaps'](_0x12d76f[_0x552cd8(0x108)],_0x111dd6[_0x552cd8(0x158)],_0x243aaa));});let _0x37c2ee,_0x29c2f8;const _0xaeb5c2=[],_0x11969a=helper[_0x17577e(0x16d)](_0x12d76f[_0x17577e(0x108)],_0x20c458,_0x111dd6['jGIWe']);if(_0x111dd6[_0x17577e(0x121)](_0x159822[_0x17577e(0x16f)],0x0))_0x159822['forEach']((_0x1dc7d4,_0x1b6843)=>{const _0x59f34b=_0x17577e,_0x1d2f07={};_0x1d2f07['index']=_0x1b6843,_0x37c2ee=Object['assign']({'server':helper[_0x59f34b(0x113)](_0x12d76f['config']),'proxySettings':_0x12d76f['config'][_0x59f34b(0x13f)],'platform':helper[_0x59f34b(0x134)](_0x1dc7d4),'platformCaps':Object[_0x59f34b(0x10a)](_0x1d2f07,_0x12d76f[_0x59f34b(0x108)]['platforms'][_0x1b6843])},_0x11969a);const _0x5a7b52={'capability':_0x1dc7d4,..._0x37c2ee};_0x5a7b52[_0x59f34b(0x104)]=_0x1a89c4,_0x5a7b52[_0x59f34b(0x165)]=_0x2adbce;const _0x10b132={};_0x10b132['configuration']=_0x5a7b52,_0x29c2f8=_0x10b132,_0xaeb5c2[_0x59f34b(0x105)](_0x29c2f8);});else{let _0x2da8b3;_0x20c458?_0x2da8b3=helper[_0x17577e(0x132)](_0x12d76f['config'],_0x111dd6[_0x17577e(0x158)],0x0):_0x2da8b3=helper['modifyBrowserStackCaps'](_0x12d76f[_0x17577e(0x108)],_0x111dd6[_0x17577e(0x158)],0x0);_0x37c2ee=Object['assign']({'server':helper[_0x17577e(0x113)](_0x12d76f['config']),'proxySettings':_0x12d76f[_0x17577e(0x108)][_0x17577e(0x13f)]},_0x11969a);const _0x658e71={'capability':_0x2da8b3,..._0x37c2ee};_0x658e71[_0x17577e(0x104)]=_0x1a89c4,_0x658e71['args']=_0x2adbce;const _0x53b6e5={};_0x53b6e5[_0x17577e(0x15b)]=_0x658e71,_0x29c2f8=_0x53b6e5,_0xaeb5c2[_0x17577e(0x105)](_0x29c2f8);}const _0xfba859=_0x12d76f[_0x17577e(0x108)][_0x17577e(0x11a)]||{};process['env'][_0x17577e(0x12e)]=_0x111dd6[_0x17577e(0x173)](String,helper[_0x17577e(0x15c)](_0xfba859[_0x17577e(0x15a)])),process[_0x17577e(0x17c)][_0x17577e(0x12f)]=_0x111dd6[_0x17577e(0x133)](String,helper[_0x17577e(0x15c)](_0xfba859[_0x17577e(0x14f)]));!helper[_0x17577e(0x151)](_0x12d76f['config'][_0x17577e(0x147)])&&(process[_0x17577e(0x17c)][_0x17577e(0x11b)]=JSON[_0x17577e(0x144)](_0x12d76f['config']['accessibilityOptions']));let _0x16c689=_0x12d76f[_0x17577e(0x108)][_0x17577e(0x131)];_0x16c689=_0x16c689||accessibilityHelper[_0x17577e(0x10c)](_0x12d76f['config']);_0x111dd6[_0x17577e(0x109)](_0x16c689,!_0x20c458)&&(logger['warn'](_0x111dd6[_0x17577e(0x164)]),_0x16c689=![]);process[_0x17577e(0x17c)][_0x17577e(0x111)]=_0x16c689;if(_0x16c689){const _0x1ac14b=helper[_0x17577e(0x177)]();(_0x12d76f[_0x17577e(0x108)][_0x17577e(0x129)]||[])[_0x17577e(0x172)](_0x4d1def=>{const _0x106946=_0x17577e;if(!_0x4d1def||_0x4d1def[_0x106946(0x153)])return;const _0x2a044b=_0x4d1def[_0x106946(0x170)];if(!accessibilityHelper['isBrowserSupportedForAccessibility'](_0x2a044b)){logger[_0x106946(0x126)](_0x111dd6[_0x106946(0x124)]);return;}const _0x53079a=_0x4d1def['browserVersion']||_0x4d1def[_0x106946(0x155)];if(helper[_0x106946(0x151)](_0x53079a)||!Number[_0x106946(0x15f)](_0x111dd6[_0x106946(0x173)](parseFloat,_0x111dd6[_0x106946(0x173)](String,_0x53079a))))return;const _0x4418b0=accessibilityHelper[_0x106946(0x12a)](_0x2a044b,_0x1ac14b),_0x54dd01=_0x111dd6['EvhZI'](parseFloat,_0x4418b0),_0x2fbaf5=_0x111dd6['CZjFv'](parseFloat,_0x111dd6[_0x106946(0x173)](String,_0x53079a)),_0x5bd4d6=Number[_0x106946(0x15f)](_0x54dd01)?_0x111dd6[_0x106946(0x121)](_0x2fbaf5,_0x54dd01):accessibilityHelper['isVersionSupported'](_0x53079a,_0x4418b0);if(!_0x5bd4d6){const _0xee97e7=accessibilityHelper['getBrowserDisplayName'](_0x2a044b),_0x4b1a1b=_0x1ac14b?'':_0x111dd6[_0x106946(0x17e)];logger[_0x106946(0x126)]('Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20'+_0xee97e7+'\x20browser\x20version\x20greater\x20than\x20'+_0x4418b0+'\x20'+_0x4b1a1b+'.');}});}logger[_0x17577e(0x10f)](_0x17577e(0x14c)+_0x16c689);const _0x187822=BrowserstackCLI[_0x17577e(0x175)]();CLIUtils[_0x17577e(0x128)](FRAMEWORKS['NODE_GENERIC'],FRAMEWORKS['NODE_GENERIC']);const {getProductMap:_0x10dd8a}=_0x111dd6['FdBZB'](require,_0x111dd6[_0x17577e(0x146)]);process[_0x17577e(0x17c)][_0x17577e(0x179)]=JSON[_0x17577e(0x144)](_0x111dd6[_0x17577e(0x182)](_0x10dd8a,_0x12d76f[_0x17577e(0x108)])),_0x187822[_0x17577e(0x161)](_0x12d76f['config'],_0x12d76f[_0x17577e(0x110)],_0x12d76f[_0x17577e(0x136)]);if(_0x187822[_0x17577e(0x183)]()){logger[_0x17577e(0x10f)](_0x111dd6[_0x17577e(0x14a)]);try{await _0x187822[_0x17577e(0x143)](),logger[_0x17577e(0x10f)](_0x111dd6[_0x17577e(0x181)]);try{const _0x491a07=global['__accessibilityOptions']||{},_0x5a8784=_0x491a07[_0x111dd6[_0x17577e(0x13c)]];if(_0x5a8784){const _0x573ac4=JSON[_0x17577e(0x13d)](process[_0x17577e(0x17c)][_0x17577e(0x11b)]||'{}');_0x573ac4[_0x17577e(0x178)]=_0x5a8784,process[_0x17577e(0x17c)][_0x17577e(0x11b)]=JSON[_0x17577e(0x144)](_0x573ac4),logger['info'](_0x17577e(0x17a)+_0x5a8784);}}catch(_0x22223f){logger[_0x17577e(0x14d)](_0x17577e(0x15d)+_0x22223f['message']);}const _0x4dc0b6=_0x111dd6[_0x17577e(0x10d)](_0x12d76f[_0x17577e(0x108)][_0x17577e(0x129)][_0x17577e(0x16f)]||0x1,_0x12d76f[_0x17577e(0x108)]['parallelsPerPlatform']||0x1);PerformanceTester[_0x17577e(0x118)](PerformanceEvents['SDK_SETUP']),await _0x111dd6['TbZsW'](parallelVanillaRun,_0xaeb5c2,_0x4dc0b6),logger['info'](_0x111dd6['WKWqe']),await _0x187822['stop']();}catch(_0x1fed94){logger[_0x17577e(0x157)](_0x17577e(0x180)+_0x1fed94['message']);try{await _0x187822[_0x17577e(0x127)]();}catch(_0xa539d2){logger['debug'](_0x17577e(0x103)+_0xa539d2['message']);}}finally{PerformanceTester[_0x17577e(0x102)](PerformanceEvents[_0x17577e(0x119)]),await utilities[_0x17577e(0x149)](_0x12d76f);}}else{logger[_0x17577e(0x10f)](_0x111dd6['fBmcz']);const _0x2b8399=await TestHubHandler[_0x17577e(0x159)](_0x111dd6['jGIWe'],_0x12d76f),_0x5c6a82=_0x111dd6[_0x17577e(0x176)](_0x12d76f[_0x17577e(0x108)][_0x17577e(0x129)][_0x17577e(0x16f)]||0x1,_0x12d76f[_0x17577e(0x108)][_0x17577e(0x184)]||0x1);PerformanceTester[_0x17577e(0x118)](PerformanceEvents[_0x17577e(0x12c)]),_0x111dd6[_0x17577e(0x163)](parallelVanillaRun,_0xaeb5c2,_0x5c6a82)['then'](_0x4a9591=>{})[_0x17577e(0x13e)](async()=>{const _0xb87d0b=_0x17577e;PerformanceTester[_0xb87d0b(0x102)](PerformanceEvents[_0xb87d0b(0x119)]),await utilities[_0xb87d0b(0x149)](_0x12d76f);});}process['on'](_0x111dd6[_0x17577e(0x120)],async()=>{const _0x11eb89=_0x17577e;try{(_0x187822[_0x11eb89(0x13b)]||_0x187822[_0x11eb89(0x148)])&&(logger['info'](_0x111dd6['xhAGe']),await _0x187822[_0x11eb89(0x127)]());}catch(_0x2508fb){}});}module[a125_0x2502f8(0x152)]=run;
|
package/src/browserStackSdk.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a126_0x1162(_0x39b866,_0x3dc4a5){const _0x1b2cb5=a126_0x1b2c();return a126_0x1162=function(_0x1162a8,_0x461a18){_0x1162a8=_0x1162a8-0x89;let _0x231323=_0x1b2cb5[_0x1162a8];return _0x231323;},a126_0x1162(_0x39b866,_0x3dc4a5);}function a126_0x1b2c(){const _0x23f66d=['platform','3QWByIE','690431GsyDpC','fCmUR','247306coFKfn','os_version','GpzNU','customVariables','setGlobal','TReds','browser_version','amkID','setTestMetadata','BzXLv','platformVersion','tjRPP','setDriverLabel','3655854OMgASH','tweEj','__platformCaps','set','ycBhx','exports','871580nnDtwd','32MlACEt','vugGp','bqaHb','browser','808974IHIipN','browserVersion','14187645BRkPeF','htaIX','__bstackDriverLabel','browserName','device','platform_version','ZzUyH','5782980WDiuyH','platformName','NoXQY','deviceName'];a126_0x1b2c=function(){return _0x23f66d;};return a126_0x1b2c();}const a126_0x493ce2=a126_0x1162;(function(_0xb6aef0,_0x82a751){const _0x518957=a126_0x1162,_0x46e0e2=_0xb6aef0();while(!![]){try{const _0x7e175d=parseInt(_0x518957(0x9b))/0x1*(parseInt(_0x518957(0x9e))/0x2)+parseInt(_0x518957(0x8d))/0x3+-parseInt(_0x518957(0xb1))/0x4+-parseInt(_0x518957(0x96))/0x5+-parseInt(_0x518957(0xab))/0x6+parseInt(_0x518957(0x9c))/0x7*(parseInt(_0x518957(0x89))/0x8)+parseInt(_0x518957(0x8f))/0x9;if(_0x7e175d===_0x82a751)break;else _0x46e0e2['push'](_0x46e0e2['shift']());}catch(_0x24e263){_0x46e0e2['push'](_0x46e0e2['shift']());}}}(a126_0x1b2c,0x9942a));const TestMetadata=require('./helpers/metadata'),globals=require('./helpers/globals');class BrowserStackSdk{static['getCurrentPlatform'](){const _0x500a78=a126_0x1162,_0x460ea1={};_0x460ea1['htaIX']=_0x500a78(0x9f),_0x460ea1[_0x500a78(0xac)]='osVersion',_0x460ea1[_0x500a78(0x8a)]=_0x500a78(0x8c),_0x460ea1[_0x500a78(0x98)]=_0x500a78(0x92),_0x460ea1[_0x500a78(0xa9)]=_0x500a78(0xa4),_0x460ea1['fCmUR']=_0x500a78(0x8e),_0x460ea1[_0x500a78(0x8b)]=_0x500a78(0x93),_0x460ea1[_0x500a78(0xa0)]=_0x500a78(0x99),_0x460ea1['imtAD']=_0x500a78(0x9a),_0x460ea1[_0x500a78(0xa7)]=_0x500a78(0x97),_0x460ea1[_0x500a78(0xaf)]=_0x500a78(0x94),_0x460ea1[_0x500a78(0xa5)]=_0x500a78(0xa8),_0x460ea1[_0x500a78(0xa3)]=_0x500a78(0xa1);const _0x5eb6a5=_0x460ea1,_0x5cb0e2={};if(global[_0x500a78(0xad)]){const _0x212fb5=global[_0x500a78(0xad)],_0x583d92=_0x212fb5[_0x5eb6a5[_0x500a78(0x90)]]||_0x212fb5[_0x5eb6a5[_0x500a78(0xac)]],_0x30e5be=_0x212fb5[_0x5eb6a5[_0x500a78(0x8a)]]||_0x212fb5[_0x5eb6a5[_0x500a78(0x98)]],_0x7c6641=_0x212fb5[_0x5eb6a5['tjRPP']]||_0x212fb5[_0x5eb6a5['fCmUR']],_0x2fc432=_0x212fb5[_0x5eb6a5[_0x500a78(0x8b)]]||_0x212fb5[_0x5eb6a5[_0x500a78(0xa0)]],_0xb0d711=_0x212fb5[_0x5eb6a5['imtAD']]||_0x212fb5[_0x5eb6a5[_0x500a78(0xa7)]],_0x275353=_0x212fb5[_0x5eb6a5[_0x500a78(0xaf)]]||_0x212fb5[_0x5eb6a5['amkID']];_0x212fb5['os']&&(_0x5cb0e2['os']=_0x212fb5['os']),_0x583d92&&(_0x5cb0e2[_0x5eb6a5[_0x500a78(0xac)]]=_0x583d92),_0x30e5be&&(_0x5cb0e2[_0x5eb6a5[_0x500a78(0x98)]]=_0x30e5be),_0x7c6641&&(_0x5cb0e2[_0x5eb6a5[_0x500a78(0x9d)]]=_0x7c6641),_0x2fc432&&(_0x5cb0e2[_0x5eb6a5[_0x500a78(0xa0)]]=_0x2fc432),_0xb0d711&&(_0x5cb0e2[_0x5eb6a5['BzXLv']]=_0xb0d711),_0x275353&&(_0x5cb0e2[_0x5eb6a5['amkID']]=_0x275353),_0x212fb5[_0x5eb6a5[_0x500a78(0xa3)]]&&(_0x5cb0e2[_0x5eb6a5[_0x500a78(0xa3)]]=_0x212fb5[_0x5eb6a5[_0x500a78(0xa3)]]);}return _0x5cb0e2;}static[a126_0x493ce2(0xa6)](_0x10ff8d={}){const _0x34e17a=a126_0x493ce2;TestMetadata[_0x34e17a(0xae)](_0x10ff8d);}static[a126_0x493ce2(0xaa)](_0x20c5f6){const _0xd6d928=a126_0x493ce2,_0x369290={};_0x369290[_0xd6d928(0x95)]=_0xd6d928(0x91);const _0x308ebe=_0x369290;globals[_0xd6d928(0xa2)](_0x308ebe[_0xd6d928(0x95)],_0x20c5f6);}}module[a126_0x493ce2(0xb0)]=BrowserStackSdk;
|