browserstack-node-sdk 1.64.1 → 1.64.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +1 -1
- package/src/ai-sdk-node/bundle.js +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/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/builderPatch.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/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/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/puppeteer/patches.js +1 -1
- package/src/bin/puppeteer/sessionDetails.js +1 -1
- package/src/bin/puppeteer/test.setup.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/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/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/ai-sdk/aiSdkWrapper.js +1 -1
- package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/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/timeoutPromise.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a115_0x2bdaa5=a115_0x3051;(function(_0x1ac9b1,_0x42b35d){const _0x369d34=a115_0x3051,_0x3141da=_0x1ac9b1();while(!![]){try{const _0x90b29=-parseInt(_0x369d34(0x182))/0x1+-parseInt(_0x369d34(0x177))/0x2*(parseInt(_0x369d34(0x174))/0x3)+-parseInt(_0x369d34(0x170))/0x4*(-parseInt(_0x369d34(0x183))/0x5)+-parseInt(_0x369d34(0x17b))/0x6*(-parseInt(_0x369d34(0x171))/0x7)+-parseInt(_0x369d34(0x179))/0x8*(parseInt(_0x369d34(0x17f))/0x9)+-parseInt(_0x369d34(0x175))/0xa*(-parseInt(_0x369d34(0x180))/0xb)+-parseInt(_0x369d34(0x17d))/0xc;if(_0x90b29===_0x42b35d)break;else _0x3141da['push'](_0x3141da['shift']());}catch(_0x3aa55e){_0x3141da['push'](_0x3141da['shift']());}}}(a115_0x4300,0xc511e));const a115_0x1e4bb6={};function a115_0x4300(){const _0x38033a=['8nZrPSH','qNhTw','7421154ReUqlK','HookState.NONE','3951264cEZBCz','toString','5441589Xahpjw','11FvwDuB','HKUFl','1084869ixKYwr','2270rluKsR','HookState.POST','HookState.PRE','11688bHSLnD','7tVUCov','freeze','HPRjP','594rVOMPf','12249910RWtMhU','values','9722TkDQmr','value'];a115_0x4300=function(){return _0x38033a;};return a115_0x4300();}function a115_0x3051(_0x560bd7,_0x27bfca){const _0x4300e5=a115_0x4300();return a115_0x3051=function(_0x3051d7,_0x240987){_0x3051d7=_0x3051d7-0x170;let _0x37a712=_0x4300e5[_0x3051d7];return _0x37a712;},a115_0x3051(_0x560bd7,_0x27bfca);}a115_0x1e4bb6[a115_0x2bdaa5(0x178)]=0x0,a115_0x1e4bb6['toString']=function(){const _0x5946c7=a115_0x2bdaa5,_0xba5b1e={};_0xba5b1e[_0x5946c7(0x173)]=_0x5946c7(0x17c);const _0x24a810=_0xba5b1e;return _0x24a810['HPRjP'];};const a115_0x3cad3c={};a115_0x3cad3c[a115_0x2bdaa5(0x178)]=0x1,a115_0x3cad3c[a115_0x2bdaa5(0x17e)]=function(){const _0x4b5b72=a115_0x2bdaa5,_0x17c4ee={};_0x17c4ee[_0x4b5b72(0x181)]=_0x4b5b72(0x185);const _0x3b9894=_0x17c4ee;return _0x3b9894[_0x4b5b72(0x181)];};const a115_0x5ce9f8={};a115_0x5ce9f8[a115_0x2bdaa5(0x178)]=0x2,a115_0x5ce9f8[a115_0x2bdaa5(0x17e)]=function(){const _0x47577b=a115_0x2bdaa5,_0x2ba17a={};_0x2ba17a[_0x47577b(0x17a)]=_0x47577b(0x184);const _0xb6160e=_0x2ba17a;return _0xb6160e[_0x47577b(0x17a)];};const HookState=Object[a115_0x2bdaa5(0x172)]({'NONE':a115_0x1e4bb6,'PRE':a115_0x3cad3c,'POST':a115_0x5ce9f8,'fromValue'(_0x2ab563){const _0x5e1d12=a115_0x2bdaa5;return Object[_0x5e1d12(0x176)](HookState)['find'](_0x3fc52b=>_0x3fc52b[_0x5e1d12(0x178)]===_0x2ab563);}});module['exports']=HookState;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a116_0x460f(_0x18154b,_0x541ecc){const _0x490478=a116_0x4904();return a116_0x460f=function(_0x460fa2,_0xf07189){_0x460fa2=_0x460fa2-0x1ed;let _0x5ead03=_0x490478[_0x460fa2];return _0x5ead03;},a116_0x460f(_0x18154b,_0x541ecc);}const a116_0x228286=a116_0x460f;function a116_0x4904(){const _0x2b7f8f=['mKoTU','TestFrameworkState.BEFORE_EACH','TestFrameworkState.TEST','flpes','264963rTlsnD','TestFrameworkState.INIT_TEST','TestFrameworkState.STEP','479244tiTPVl','TestFrameworkState.TEST_SCREENSHOT','2571755AhzOQF','MQXhw','7314020lnGLDt','find','OeivZ','QUjfB','26376yzdTHM','TestFrameworkState.SETUP_FIXTURE','UuZoh','values','qzqQF','908388YwKxWH','TestFrameworkState.NONE','TestFrameworkState.TEST_STEP','efIBA','exports','70wVknte','NDqRG','TestFrameworkState.BEFORE_ALL','toString','479716rlsOyc','3blMJUh','Ihvqf','32SLtgGk','freeze','4itkCjK','TestFrameworkState.LOG_REPORT','UEazy','JUGLp','value','10835EnKmjA','TestFrameworkState.LOG','wUEIu','TestFrameworkState.AFTER_ALL'];a116_0x4904=function(){return _0x2b7f8f;};return a116_0x4904();}(function(_0x1f6259,_0x1bfcb5){const _0x264748=a116_0x460f,_0x11dfe1=_0x1f6259();while(!![]){try{const _0x6ffd63=-parseInt(_0x264748(0x216))/0x1+-parseInt(_0x264748(0x204))/0x2*(-parseInt(_0x264748(0x205))/0x3)+-parseInt(_0x264748(0x209))/0x4*(parseInt(_0x264748(0x1f0))/0x5)+parseInt(_0x264748(0x1ee))/0x6*(-parseInt(_0x264748(0x200))/0x7)+-parseInt(_0x264748(0x207))/0x8*(-parseInt(_0x264748(0x1fb))/0x9)+-parseInt(_0x264748(0x1f2))/0xa+parseInt(_0x264748(0x20e))/0xb*(parseInt(_0x264748(0x1f6))/0xc);if(_0x6ffd63===_0x1bfcb5)break;else _0x11dfe1['push'](_0x11dfe1['shift']());}catch(_0x49ee56){_0x11dfe1['push'](_0x11dfe1['shift']());}}}(a116_0x4904,0x79dd8));const a116_0x4ddaad={};a116_0x4ddaad[a116_0x228286(0x20d)]=0x0,a116_0x4ddaad[a116_0x228286(0x203)]=function(){const _0x4d2bb3=a116_0x228286,_0x300fa2={};_0x300fa2[_0x4d2bb3(0x1f1)]=_0x4d2bb3(0x1fc);const _0x598e54=_0x300fa2;return _0x598e54[_0x4d2bb3(0x1f1)];};const a116_0x4ca4d0={};a116_0x4ca4d0['value']=0x1,a116_0x4ca4d0['toString']=function(){const _0xe76521=a116_0x228286,_0x55a96e={};_0x55a96e[_0xe76521(0x20c)]=_0xe76521(0x202);const _0x50118e=_0x55a96e;return _0x50118e[_0xe76521(0x20c)];};const a116_0x3d6b72={};a116_0x3d6b72[a116_0x228286(0x20d)]=0x2,a116_0x3d6b72['toString']=function(){const _0x3fa80e=a116_0x228286,_0x422a61={};_0x422a61['mKoTU']=_0x3fa80e(0x20f);const _0x43f1a9=_0x422a61;return _0x43f1a9[_0x3fa80e(0x212)];};const a116_0x274e0e={};a116_0x274e0e[a116_0x228286(0x20d)]=0x3,a116_0x274e0e['toString']=function(){const _0x528f1e=a116_0x228286,_0x3dfc1d={};_0x3dfc1d[_0x528f1e(0x210)]=_0x528f1e(0x1f7);const _0x225e68=_0x3dfc1d;return _0x225e68[_0x528f1e(0x210)];};const a116_0x46b9f0={};a116_0x46b9f0['value']=0x4,a116_0x46b9f0['toString']=function(){const _0x1f8e34=a116_0x228286,_0x5e3675={};_0x5e3675[_0x1f8e34(0x201)]=_0x1f8e34(0x217);const _0x4ae180=_0x5e3675;return _0x4ae180[_0x1f8e34(0x201)];};const a116_0x140191={};a116_0x140191['value']=0x5,a116_0x140191['toString']=function(){const _0x1c7fdc=a116_0x228286,_0x1a036c={};_0x1a036c[_0x1c7fdc(0x1f8)]=_0x1c7fdc(0x213);const _0x2ac628=_0x1a036c;return _0x2ac628[_0x1c7fdc(0x1f8)];};const a116_0x49a88d={};a116_0x49a88d[a116_0x228286(0x20d)]=0x6,a116_0x49a88d[a116_0x228286(0x203)]=function(){const _0x259b1e=a116_0x228286,_0x35d584={};_0x35d584[_0x259b1e(0x1fa)]='TestFrameworkState.AFTER_EACH';const _0x7635d0=_0x35d584;return _0x7635d0[_0x259b1e(0x1fa)];};const a116_0x1edc23={};a116_0x1edc23[a116_0x228286(0x20d)]=0x7,a116_0x1edc23[a116_0x228286(0x203)]=function(){const _0x454f56=a116_0x228286,_0x4e5367={};_0x4e5367[_0x454f56(0x215)]=_0x454f56(0x214);const _0x28fd38=_0x4e5367;return _0x28fd38['flpes'];};const a116_0x3f9cc8={};a116_0x3f9cc8[a116_0x228286(0x20d)]=0x8,a116_0x3f9cc8[a116_0x228286(0x203)]=function(){const _0x5b0209=a116_0x228286,_0x5c12a7={};_0x5c12a7[_0x5b0209(0x20b)]=_0x5b0209(0x1ed);const _0xa3efbc=_0x5c12a7;return _0xa3efbc['UEazy'];};const a116_0x3f743d={};a116_0x3f743d[a116_0x228286(0x20d)]=0x9,a116_0x3f743d[a116_0x228286(0x203)]=function(){const _0xfc761b=a116_0x228286,_0x28e1eb={};_0x28e1eb['Ihvqf']=_0xfc761b(0x20a);const _0x373cd4=_0x28e1eb;return _0x373cd4[_0xfc761b(0x206)];};const a116_0x27a641={};a116_0x27a641[a116_0x228286(0x20d)]=0xa,a116_0x27a641['toString']=function(){const _0x129c92=a116_0x228286,_0x288bbe={};_0x288bbe[_0x129c92(0x1f5)]=_0x129c92(0x211);const _0x76a72=_0x288bbe;return _0x76a72['QUjfB'];};const a116_0xc13878={};a116_0xc13878[a116_0x228286(0x20d)]=0xb,a116_0xc13878[a116_0x228286(0x203)]=function(){const _0xcc9d2e=a116_0x228286,_0x3266d9={};_0x3266d9['efIBA']=_0xcc9d2e(0x1ef);const _0x59c2bc=_0x3266d9;return _0x59c2bc[_0xcc9d2e(0x1fe)];};const a116_0x45d77c={};a116_0x45d77c[a116_0x228286(0x20d)]=0xc,a116_0x45d77c[a116_0x228286(0x203)]=function(){const _0x3fdd75=a116_0x228286,_0x5f5d45={};_0x5f5d45[_0x3fdd75(0x1f4)]=_0x3fdd75(0x1fd);const _0x28c626=_0x5f5d45;return _0x28c626['OeivZ'];};const TestFrameworkState=Object[a116_0x228286(0x208)]({'NONE':a116_0x4ddaad,'BEFORE_ALL':a116_0x4ca4d0,'LOG':a116_0x3d6b72,'SETUP_FIXTURE':a116_0x274e0e,'INIT_TEST':a116_0x46b9f0,'BEFORE_EACH':a116_0x140191,'AFTER_EACH':a116_0x49a88d,'TEST':a116_0x1edc23,'STEP':a116_0x3f9cc8,'LOG_REPORT':a116_0x3f743d,'AFTER_ALL':a116_0x27a641,'TEST_SCREENSHOT':a116_0xc13878,'TEST_STEP':a116_0x45d77c,'fromValue'(_0x307105){const _0xd8b4e7=a116_0x228286;return Object[_0xd8b4e7(0x1f9)](TestFrameworkState)[_0xd8b4e7(0x1f3)](_0x2669bd=>_0x2669bd[_0xd8b4e7(0x20d)]===_0x307105);}});module[a116_0x228286(0x1ff)]=TestFrameworkState;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a117_0x4a25(_0x584e49,_0xa6f2d5){const _0x17c5f7=a117_0x17c5();return a117_0x4a25=function(_0x4a25f6,_0x3a12bf){_0x4a25f6=_0x4a25f6-0x17c;let _0x1cbc39=_0x17c5f7[_0x4a25f6];return _0x1cbc39;},a117_0x4a25(_0x584e49,_0xa6f2d5);}function a117_0x17c5(){const _0x7a5f8b=['peXKC','1278QYTAxH','KEY_TEST_ID','trim','POST','trackFile:\x20Cucumber+Playwright\x20-\x20testId:\x20','KEY_FILE_NAME','2068610FTYQTj','finish','FJMxt','basename','size','MNxdi','http','join','trackFile:\x20TestFramework\x20not\x20available,\x20cannot\x20track\x20attachment','resolveInstance','mkdirSync','getTestIdentifierFromTestInfo','rmSync','KmORg','trackFile','tMhPn','NZAui','logger','TEST','Attachment\x20file\x20path\x20is\x20empty,\x20skipping\x20upload.','currentTest','Cleared\x20attachment\x20folder','CxmQX','./TestInfo','xjwSO','getTrackedInstance','statusCode','toObject','File\x20downloaded\x20to:\x20%s','jVpyF','62811iTBBjJ','./state/hookState','VbMwi','36INUACq','xhUez','homedir','./state/testFrameworkState','modules','BuildLevel','QqGEF','LJlft','isRunning','__jestCurrentTestIdentifier','KEY_FILE_PATH','YUyPg','trackFile:\x20Instance\x20not\x20available,\x20cannot\x20track\x20attachment','trackFile:\x20No\x20testId\x20available,\x20cannot\x20track\x20attachment','BqzqR','testhubConfig','getTestDetails','QgvOn','40552QFHwof','http://','fcmUL','createWriteStream','./framework/automationFramework','1193187IBOEkt','KEY_TEST_ATTACHMENTS','debug','Failed\x20to\x20download\x20file.\x20Status\x20code:\x20%s,\x20skipping\x20upload','addMultipleEntries','TestHubModule','TestLevel','mqyWC','./browserstackCLI','mphTr','setTestDetails','626gaTqPH','getTestFramework','MBfEp','rOmsc','getInstance','buildHashedId','KEY_FILE_LEVEL','PmfnE','ahldV','avLey','ANCQm','./cliUtils','exports','existsSync','Error\x20tracking\x20file:\x20%s,\x20skipping\x20upload','TjnUG','util','erXRc','Attachment\x20file\x20does\x20not\x20exist\x20at:\x20%s','https','UBezH','dsLSc','trackFile:\x20Jest+Playwright\x20-\x20testId\x20(testIdentifier):\x20','statSync','DQtXy','XwMgh','getAllData','uploadAttachments','RrnVZ','./modules/playwrightDriverModule','close','startsWith','__workerDetails','get','NZgtL','yxeuw','getState','Created\x20.browserstack\x20folder\x20at:\x20%s','3137570JkYHYN','glTVQ','4935852tDaiWH','xhbXi','Attachment\x20recevied\x20for\x20path:\x20%s','trackFile:\x20Stored\x20attachment\x20in\x20TestInfo\x20file\x20for\x20testId:\x20','336cKVoaL','File\x20size\x20is\x20too\x20large\x20(%s\x20MB).\x20Skipping\x20upload.','HhfCH','message','kWLlX','pipe','recursive','tCHjk','unlinkSync','format','EDsgR','sRMsw','jest','Error\x20downloading\x20file:\x20%s,\x20skipping\x20upload','../../helpers/classLogger.js'];a117_0x17c5=function(){return _0x7a5f8b;};return a117_0x17c5();}const a117_0x1a7b88=a117_0x4a25;(function(_0xe97488,_0x8022c4){const _0x509760=a117_0x4a25,_0x56269d=_0xe97488();while(!![]){try{const _0x5438b2=parseInt(_0x509760(0x1c7))/0x1*(-parseInt(_0x509760(0x17e))/0x2)+-parseInt(_0x509760(0x1bc))/0x3+-parseInt(_0x509760(0x1b7))/0x4+-parseInt(_0x509760(0x184))/0x5+parseInt(_0x509760(0x1ef))/0x6+-parseInt(_0x509760(0x1a2))/0x7*(parseInt(_0x509760(0x1f3))/0x8)+parseInt(_0x509760(0x1a5))/0x9*(parseInt(_0x509760(0x1ed))/0xa);if(_0x5438b2===_0x8022c4)break;else _0x56269d['push'](_0x56269d['shift']());}catch(_0x5f5865){_0x56269d['push'](_0x56269d['shift']());}}}(a117_0x17c5,0x74fe1));const os=require('os'),fs=require('fs'),path=require('path'),util=require(a117_0x1a7b88(0x1d7)),BrowserstackCLI=require(a117_0x1a7b88(0x1c4)),https=require(a117_0x1a7b88(0x1da)),http=require(a117_0x1a7b88(0x18a)),AutomationFramework=require(a117_0x1a7b88(0x1bb)),PlaywrightDriverModule=require(a117_0x1a7b88(0x1e4)),TestInfo=require(a117_0x1a7b88(0x19b)),TestFrameworkConstants=require('./framework/constants/testFrameworkConstants'),{createClassLogger}=require(a117_0x1a7b88(0x17c));class uploadAttachmentsManager{static [a117_0x1a7b88(0x195)]=createClassLogger('uploadAttachmentsManager');static[a117_0x1a7b88(0x1e2)](_0x49ca57,_0x81d3fb=![]){const _0x56ce81=a117_0x1a7b88,_0x338d71={};_0x338d71[_0x56ce81(0x1c9)]=function(_0x35b68c,_0x3e6c4c){return _0x35b68c/_0x3e6c4c;},_0x338d71['CxmQX']=function(_0x11eca5,_0x584cbd){return _0x11eca5*_0x584cbd;},_0x338d71[_0x56ce81(0x1b0)]=function(_0x4faba4,_0x344701){return _0x4faba4>_0x344701;},_0x338d71[_0x56ce81(0x1e3)]='Downloaded\x20file\x20is\x20too\x20large\x20(%s\x20MB).\x20Deleting\x20file\x20and\x20skipping\x20upload.',_0x338d71[_0x56ce81(0x1b3)]=_0x56ce81(0x1a0),_0x338d71[_0x56ce81(0x1ca)]=function(_0x2f2eef,_0x3b6ee4){return _0x2f2eef===_0x3b6ee4;},_0x338d71[_0x56ce81(0x189)]=_0x56ce81(0x185),_0x338d71[_0x56ce81(0x1a6)]=_0x56ce81(0x1bf),_0x338d71[_0x56ce81(0x1ac)]=_0x56ce81(0x200),_0x338d71[_0x56ce81(0x1f0)]=_0x56ce81(0x1f1),_0x338d71[_0x56ce81(0x1f5)]='.browserstack',_0x338d71[_0x56ce81(0x1c3)]='.browserstack\x20folder\x20not\x20found\x20at:\x20%s',_0x338d71[_0x56ce81(0x1ce)]=_0x56ce81(0x1ec),_0x338d71[_0x56ce81(0x186)]='Created\x20folder:\x20%s',_0x338d71[_0x56ce81(0x1ab)]=function(_0x2d5181,_0x4b4b1e){return _0x2d5181===_0x4b4b1e;},_0x338d71[_0x56ce81(0x1ee)]=_0x56ce81(0x197),_0x338d71[_0x56ce81(0x1d1)]='https://',_0x338d71[_0x56ce81(0x191)]=_0x56ce81(0x1b8),_0x338d71[_0x56ce81(0x1b9)]='error',_0x338d71[_0x56ce81(0x1ea)]=_0x56ce81(0x1d9),_0x338d71[_0x56ce81(0x1d8)]=_0x56ce81(0x1f4);const _0x1edef5=_0x338d71;this[_0x56ce81(0x195)][_0x56ce81(0x1be)](util['format'](_0x1edef5[_0x56ce81(0x1f0)],_0x49ca57));const _0x39ea78=os[_0x56ce81(0x1a7)](),_0x48d196=path[_0x56ce81(0x18b)](_0x39ea78,_0x1edef5['HhfCH']);!fs[_0x56ce81(0x1d4)](_0x48d196)&&(this[_0x56ce81(0x195)][_0x56ce81(0x1be)](util[_0x56ce81(0x1fc)](_0x1edef5[_0x56ce81(0x1c3)],_0x48d196)),fs['mkdirSync'](_0x48d196),this[_0x56ce81(0x195)][_0x56ce81(0x1be)](util[_0x56ce81(0x1fc)](_0x1edef5[_0x56ce81(0x1ce)],_0x48d196)));const _0x267ac3=BrowserstackCLI[_0x56ce81(0x1cb)]()[_0x56ce81(0x1a9)][_0x56ce81(0x1c1)]?.[_0x56ce81(0x1b4)]?.['toObject']()?.[_0x56ce81(0x1cc)],_0x179f21=path[_0x56ce81(0x18b)](_0x48d196,_0x267ac3);!fs[_0x56ce81(0x1d4)](_0x179f21)&&(fs[_0x56ce81(0x18e)](_0x179f21),this[_0x56ce81(0x195)][_0x56ce81(0x1be)](util[_0x56ce81(0x1fc)](_0x1edef5['FJMxt'],_0x179f21)));if(_0x1edef5[_0x56ce81(0x1ab)](_0x49ca57[_0x56ce81(0x180)](),'')){this[_0x56ce81(0x195)][_0x56ce81(0x1be)](util['format'](_0x1edef5[_0x56ce81(0x1ee)]));return;}if(_0x49ca57['startsWith'](_0x1edef5[_0x56ce81(0x1d1)])||_0x49ca57[_0x56ce81(0x1e6)](_0x1edef5[_0x56ce81(0x191)])){const _0x5581d9=_0x49ca57[_0x56ce81(0x1e6)](_0x1edef5[_0x56ce81(0x1d1)])?https:http,_0xce17a2=path[_0x56ce81(0x187)](_0x49ca57),_0x14eec8=path['join'](_0x179f21,_0xce17a2),_0x5d9ae8=fs[_0x56ce81(0x1ba)](_0x14eec8);_0x5581d9[_0x56ce81(0x1e8)](_0x49ca57,_0x42fcf5=>{const _0x34572f=_0x56ce81,_0x279997={'xjwSO':function(_0x1b9cd8,_0x476a42){const _0x5e1695=a117_0x4a25;return _0x1edef5[_0x5e1695(0x1c9)](_0x1b9cd8,_0x476a42);},'VbMwi':function(_0x5c09e8,_0x1733de){const _0x5e32aa=a117_0x4a25;return _0x1edef5[_0x5e32aa(0x19a)](_0x5c09e8,_0x1733de);},'civZD':function(_0x3345f9,_0x49777e){const _0x1d18a6=a117_0x4a25;return _0x1edef5[_0x1d18a6(0x1b0)](_0x3345f9,_0x49777e);},'DQtXy':_0x1edef5[_0x34572f(0x1e3)],'gkxxI':_0x1edef5['BqzqR']};if(_0x1edef5[_0x34572f(0x1ca)](_0x42fcf5['statusCode'],0xc8))_0x42fcf5[_0x34572f(0x1f8)](_0x5d9ae8),_0x5d9ae8['on'](_0x1edef5[_0x34572f(0x189)],()=>{const _0x31e92f=_0x34572f;_0x5d9ae8[_0x31e92f(0x1e5)]();const _0xb0b25d=fs[_0x31e92f(0x1de)](_0x14eec8),_0x23e0d2=_0x279997[_0x31e92f(0x19c)](_0xb0b25d['size'],_0x279997[_0x31e92f(0x1a4)](0x400,0x400));if(_0x279997['civZD'](_0x23e0d2,0x64)){this[_0x31e92f(0x195)][_0x31e92f(0x1be)](util[_0x31e92f(0x1fc)](_0x279997[_0x31e92f(0x1df)],_0x23e0d2['toFixed'](0x2))),fs[_0x31e92f(0x1fb)](_0x14eec8);return;}this[_0x31e92f(0x195)]['debug'](util['format'](_0x279997['gkxxI'],_0x14eec8)),uploadAttachmentsManager[_0x31e92f(0x192)](_0x14eec8,_0x81d3fb);});else{this[_0x34572f(0x195)][_0x34572f(0x1be)](util[_0x34572f(0x1fc)](_0x1edef5[_0x34572f(0x1a6)],_0x42fcf5[_0x34572f(0x19e)])),_0x5d9ae8[_0x34572f(0x1e5)](),fs[_0x34572f(0x1fb)](_0x14eec8);return;}})['on'](_0x1edef5[_0x56ce81(0x1b9)],_0xc38a06=>{const _0x1b8380=_0x56ce81;this[_0x1b8380(0x195)][_0x1b8380(0x1be)](util[_0x1b8380(0x1fc)](_0x1edef5['LJlft'],_0xc38a06[_0x1b8380(0x1f6)])),_0x5d9ae8['close'](),fs[_0x1b8380(0x1fb)](_0x14eec8);return;});}else{if(!fs[_0x56ce81(0x1d4)](_0x49ca57)){this[_0x56ce81(0x195)]['debug'](util[_0x56ce81(0x1fc)](_0x1edef5[_0x56ce81(0x1ea)],_0x49ca57));return;}const _0x3ad28b=fs['statSync'](_0x49ca57),_0x2fd21a=_0x1edef5[_0x56ce81(0x1c9)](_0x3ad28b[_0x56ce81(0x188)],_0x1edef5[_0x56ce81(0x19a)](0x400,0x400));if(_0x1edef5[_0x56ce81(0x1b0)](_0x2fd21a,0x64)){this[_0x56ce81(0x195)][_0x56ce81(0x1be)](util[_0x56ce81(0x1fc)](_0x1edef5[_0x56ce81(0x1d8)],_0x2fd21a['toFixed'](0x2)));return;}const _0x2d7120=path[_0x56ce81(0x187)](_0x49ca57),_0x2d3f01=path[_0x56ce81(0x18b)](_0x179f21,_0x2d7120);fs['copyFileSync'](_0x49ca57,_0x2d3f01),uploadAttachmentsManager['trackFile'](_0x2d3f01,_0x81d3fb);}}static[a117_0x1a7b88(0x192)](_0x5ced38,_0x1f2c59){const _0x28ff95=a117_0x1a7b88,_0xbdb86d={'tMhPn':function(_0xb5a230,_0x399243){return _0xb5a230(_0x399243);},'iiCSJ':_0x28ff95(0x1c4),'EDsgR':_0x28ff95(0x1d2),'avLey':function(_0x5ece61,_0x141858){return _0x5ece61===_0x141858;},'UdMxz':_0x28ff95(0x1ff),'XwMgh':_0x28ff95(0x1b2),'ahldV':_0x28ff95(0x1aa),'QgvOn':_0x28ff95(0x1c2),'jVpyF':_0x28ff95(0x18c),'sRMsw':function(_0x156f37,_0x59efe7){return _0x156f37(_0x59efe7);},'NZAui':_0x28ff95(0x1a8),'kWLlX':function(_0x514170,_0x2ff600){return _0x514170(_0x2ff600);},'UBezH':_0x28ff95(0x1a3),'tCHjk':_0x28ff95(0x1b1),'NZgtL':'Attachment\x20file\x20tracked\x20for\x20upload:\x20%s','dsLSc':_0x28ff95(0x1d5)};try{let _0xbfd5e0;const _0x2c94fc=global[_0x28ff95(0x1e7)]?.[_0x28ff95(0x198)]?.['testInfo'],_0x150220=_0xbdb86d[_0x28ff95(0x193)](require,_0xbdb86d['iiCSJ']),_0x3c6241=_0xbdb86d['tMhPn'](require,_0xbdb86d[_0x28ff95(0x1fd)]),_0x4b4ca2=_0x150220[_0x28ff95(0x1cb)]()[_0x28ff95(0x1ad)]()&&_0xbdb86d[_0x28ff95(0x1d0)](_0x3c6241['getTestFrameworkDetail']()?.['name']?.['toLowerCase'](),_0xbdb86d['UdMxz']);if(_0x4b4ca2){_0xbfd5e0=global[_0x28ff95(0x1ae)];if(!_0xbfd5e0){const _0x5c3dea=AutomationFramework[_0x28ff95(0x19d)]();_0xbfd5e0=AutomationFramework[_0x28ff95(0x1eb)](_0x5c3dea,PlaywrightDriverModule[_0x28ff95(0x17f)],'');}this[_0x28ff95(0x195)]['debug'](_0x28ff95(0x1dd)+_0xbfd5e0);}else{if(!_0x2c94fc){const _0x3ebf87=AutomationFramework[_0x28ff95(0x19d)]();_0xbfd5e0=AutomationFramework[_0x28ff95(0x1eb)](_0x3ebf87,PlaywrightDriverModule['KEY_TEST_ID'],'');}else _0xbfd5e0=TestInfo[_0x28ff95(0x18f)](_0x2c94fc,_0x2c94fc['retry']);this['logger'][_0x28ff95(0x1be)](_0x28ff95(0x182)+_0xbfd5e0);}if(!_0xbfd5e0){this[_0x28ff95(0x195)][_0x28ff95(0x1be)](_0xbdb86d[_0x28ff95(0x1e0)]);return;}const _0x2a3cb0={[TestFrameworkConstants['KEY_FILE_SIZE']]:fs[_0x28ff95(0x1de)](_0x5ced38)[_0x28ff95(0x188)],[TestFrameworkConstants[_0x28ff95(0x183)]]:path['basename'](_0x5ced38),[TestFrameworkConstants[_0x28ff95(0x1af)]]:_0x5ced38,[TestFrameworkConstants[_0x28ff95(0x1cd)]]:_0x1f2c59?_0xbdb86d[_0x28ff95(0x1cf)]:_0xbdb86d[_0x28ff95(0x1b6)]};if(_0x4b4ca2){const _0x24176d=_0x150220[_0x28ff95(0x1cb)]()[_0x28ff95(0x1c8)]();if(!_0x24176d){this['logger'][_0x28ff95(0x1be)](_0xbdb86d[_0x28ff95(0x1a1)]);return;}const _0x2dbd7a=_0xbdb86d[_0x28ff95(0x1fe)](require,_0xbdb86d[_0x28ff95(0x194)]),_0x3ad25d=_0xbdb86d[_0x28ff95(0x1f7)](require,_0xbdb86d[_0x28ff95(0x1db)]),_0x2fa981=_0x24176d[_0x28ff95(0x18d)](_0x2dbd7a[_0x28ff95(0x196)],_0x3ad25d[_0x28ff95(0x181)]);if(!_0x2fa981){this['logger'][_0x28ff95(0x1be)](_0xbdb86d[_0x28ff95(0x1fa)]);return;}const _0x395a16=_0x2fa981[_0x28ff95(0x1e1)]()[_0x28ff95(0x1e8)](_0xbfd5e0)||{},_0x45ea82=_0x395a16[TestFrameworkConstants[_0x28ff95(0x1bd)]]||{},_0x119981={..._0x45ea82};_0x119981[_0x5ced38]=_0x2a3cb0;const _0x39f247=_0x119981,_0x3a9172={[TestFrameworkConstants[_0x28ff95(0x1bd)]]:_0x39f247},_0x49167e={};_0x49167e[_0xbfd5e0]=_0x3a9172,_0x2fa981[_0x28ff95(0x1c0)](_0x49167e),this[_0x28ff95(0x195)][_0x28ff95(0x1be)]('trackFile:\x20Stored\x20attachment\x20in\x20instance\x20memory\x20for\x20testId:\x20'+_0xbfd5e0+',\x20filepath:\x20'+_0x5ced38);}else{const _0x2d6388=TestInfo[_0x28ff95(0x1b5)](_0xbfd5e0),_0x26b3ed=_0x2d6388[TestFrameworkConstants[_0x28ff95(0x1bd)]]||{};_0x26b3ed[_0x5ced38]=_0x2a3cb0,_0x2d6388[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]=_0x26b3ed,TestInfo[_0x28ff95(0x1c6)](_0xbfd5e0,_0x2d6388),this['logger'][_0x28ff95(0x1be)](_0x28ff95(0x1f2)+_0xbfd5e0+',\x20filepath:\x20'+_0x5ced38);}this[_0x28ff95(0x195)][_0x28ff95(0x1be)](util['format'](_0xbdb86d[_0x28ff95(0x1e9)],_0x5ced38));}catch(_0x4ba5e2){this[_0x28ff95(0x195)][_0x28ff95(0x1be)](util[_0x28ff95(0x1fc)](_0xbdb86d[_0x28ff95(0x1dc)],_0x4ba5e2[_0x28ff95(0x1f6)]));}}static['clearAttachments'](){const _0x391a43=a117_0x1a7b88,_0x1e3bf5={};_0x1e3bf5['mphTr']='.browserstack',_0x1e3bf5[_0x391a43(0x1d6)]='No\x20attachment\x20folder\x20found\x20for\x20testhubID:\x20%s',_0x1e3bf5[_0x391a43(0x17d)]=_0x391a43(0x199);const _0x28f1f9=_0x1e3bf5,_0x1a0a0f=os[_0x391a43(0x1a7)](),_0x58ebdf=path[_0x391a43(0x18b)](_0x1a0a0f,_0x28f1f9[_0x391a43(0x1c5)]);if(!fs[_0x391a43(0x1d4)](_0x58ebdf))return;const _0x48fae3=BrowserstackCLI['getInstance']()[_0x391a43(0x1a9)][_0x391a43(0x1c1)]?.['testhubConfig']?.[_0x391a43(0x19f)]()?.[_0x391a43(0x1cc)],_0x23115a=_0x48fae3?path['join'](_0x58ebdf,_0x48fae3):null;if(!_0x23115a||!fs[_0x391a43(0x1d4)](_0x23115a)){this[_0x391a43(0x195)][_0x391a43(0x1be)](util['format'](_0x28f1f9[_0x391a43(0x1d6)],_0x48fae3));return;}const _0x15964b={};_0x15964b[_0x391a43(0x1f9)]=!![],_0x15964b['force']=!![],fs[_0x391a43(0x190)](_0x23115a,_0x15964b),this[_0x391a43(0x195)][_0x391a43(0x1be)](util[_0x391a43(0x1fc)](_0x28f1f9[_0x391a43(0x17d)]));}}module[a117_0x1a7b88(0x1d3)]=uploadAttachmentsManager;
|
|
1
|
+
const a117_0x593b38=a117_0x184c;function a117_0x184c(_0xbb66fb,_0x351d5c){const _0x54303c=a117_0x5430();return a117_0x184c=function(_0x184ca1,_0x4f1e7d){_0x184ca1=_0x184ca1-0x128;let _0x34bd4a=_0x54303c[_0x184ca1];return _0x34bd4a;},a117_0x184c(_0xbb66fb,_0x351d5c);}(function(_0x2c5172,_0x3c9673){const _0x195b4c=a117_0x184c,_0x42e2e0=_0x2c5172();while(!![]){try{const _0x348364=-parseInt(_0x195b4c(0x163))/0x1*(-parseInt(_0x195b4c(0x178))/0x2)+-parseInt(_0x195b4c(0x15d))/0x3+-parseInt(_0x195b4c(0x13f))/0x4*(parseInt(_0x195b4c(0x195))/0x5)+-parseInt(_0x195b4c(0x16e))/0x6+-parseInt(_0x195b4c(0x193))/0x7+parseInt(_0x195b4c(0x12c))/0x8*(-parseInt(_0x195b4c(0x1a4))/0x9)+parseInt(_0x195b4c(0x19d))/0xa;if(_0x348364===_0x3c9673)break;else _0x42e2e0['push'](_0x42e2e0['shift']());}catch(_0xb509d2){_0x42e2e0['push'](_0x42e2e0['shift']());}}}(a117_0x5430,0x967fd));const os=require('os'),fs=require('fs'),path=require(a117_0x593b38(0x192)),util=require(a117_0x593b38(0x14a)),BrowserstackCLI=require(a117_0x593b38(0x177)),https=require(a117_0x593b38(0x15b)),http=require(a117_0x593b38(0x19c)),AutomationFramework=require(a117_0x593b38(0x179)),PlaywrightDriverModule=require(a117_0x593b38(0x145)),TestInfo=require(a117_0x593b38(0x198)),TestFrameworkConstants=require(a117_0x593b38(0x143)),{createClassLogger}=require('../../helpers/classLogger.js');function a117_0x5430(){const _0x3667d7=['getTestIdentifierFromTestInfo','aXQoD','__workerDetails','trackFile:\x20Jest+Playwright\x20-\x20testId\x20(testIdentifier):\x20','No\x20attachment\x20folder\x20found\x20for\x20testhubID:\x20%s',',\x20filepath:\x20','40ZGJdgj','JMzKT','homedir','trackFile:\x20Stored\x20attachment\x20in\x20instance\x20memory\x20for\x20testId:\x20','./framework/constants/testFrameworkConstants','ucKYV','./modules/playwrightDriverModule','LsnuJ','Failed\x20to\x20download\x20file.\x20Status\x20code:\x20%s,\x20skipping\x20upload','getTrackedInstance','bRaRN','util','toObject','basename','debug','trackFile:\x20TestFramework\x20not\x20available,\x20cannot\x20track\x20attachment','force','ygxHO','statusCode','isRunning','currentTest','ANJok','asezl','kFqyt','name','createWriteStream','trackFile:\x20Instance\x20not\x20available,\x20cannot\x20track\x20attachment','retry','https','clearAttachments','3290220tFasZg','__jestCurrentTestIdentifier','Cleared\x20attachment\x20folder','http://','rtUGi','modules','79JPjznr','testhubConfig','jhfqP','RzVAI','exports','getInstance','BVYkz','KEY_FILE_LEVEL','Created\x20.browserstack\x20folder\x20at:\x20%s','Attachment\x20recevied\x20for\x20path:\x20%s','KEY_TEST_ATTACHMENTS','1211664kWUBOD','Attachment\x20file\x20tracked\x20for\x20upload:\x20%s','close','./state/hookState','trackFile:\x20Cucumber+Playwright\x20-\x20testId:\x20','getTestDetails','statSync','IBXRS','buildHashedId','./browserstackCLI','31210wdMxNu','./framework/automationFramework','Error\x20downloading\x20file:\x20%s,\x20skipping\x20upload','uAgVJ','etzbJ','jest','pipe','oRXsu','toFixed','VuTNL','trackFile:\x20Stored\x20attachment\x20in\x20TestInfo\x20file\x20for\x20testId:\x20','KcSLq','message','TestHubModule','File\x20size\x20is\x20too\x20large\x20(%s\x20MB).\x20Skipping\x20upload.','Attachment\x20file\x20does\x20not\x20exist\x20at:\x20%s','qqzGd','getTestFrameworkDetail','jPeAT','trackFile:\x20No\x20testId\x20available,\x20cannot\x20track\x20attachment','testInfo','logger','mkdirSync','get','hujSN','PXoYW','path','2711520EqCjGw','Error\x20tracking\x20file:\x20%s,\x20skipping\x20upload','216310XfQTxi','existsSync','JwGPT','./TestInfo','PKibW','GSlDW','wiyKv','http','17488940LJrQzE','.browserstack','ZRdmR','getState','uploadAttachmentsManager','startsWith','WJHzk','2219220VSQJmL','xHWWK','join','getAllData','addMultipleEntries','IsHEx','POST','vVPuk','uploadAttachments','VxcVu','dbUWx','qNwcL','KEY_TEST_ID','8JNLcFp','https://','vrXFl','format','gUCKK','Downloaded\x20file\x20is\x20too\x20large\x20(%s\x20MB).\x20Deleting\x20file\x20and\x20skipping\x20upload.','error','trackFile','TEST','GKEAo','resolveInstance','size','unlinkSync'];a117_0x5430=function(){return _0x3667d7;};return a117_0x5430();}class uploadAttachmentsManager{static ['logger']=createClassLogger(a117_0x593b38(0x1a1));static[a117_0x593b38(0x1ac)](_0x489354,_0x85d999=![]){const _0x14d68c=a117_0x593b38,_0x4dbaac={};_0x4dbaac[_0x14d68c(0x190)]=function(_0x37ba25,_0x41f373){return _0x37ba25/_0x41f373;},_0x4dbaac[_0x14d68c(0x165)]=function(_0x494687,_0xaf9be8){return _0x494687*_0xaf9be8;},_0x4dbaac[_0x14d68c(0x12a)]=function(_0x417428,_0x3e872f){return _0x417428>_0x3e872f;},_0x4dbaac['vrXFl']=_0x14d68c(0x131),_0x4dbaac[_0x14d68c(0x197)]='File\x20downloaded\x20to:\x20%s',_0x4dbaac[_0x14d68c(0x19f)]=function(_0x5cbf48,_0x3d79eb){return _0x5cbf48===_0x3d79eb;},_0x4dbaac[_0x14d68c(0x181)]='finish',_0x4dbaac['IBXRS']=_0x14d68c(0x147),_0x4dbaac[_0x14d68c(0x140)]=_0x14d68c(0x17a),_0x4dbaac['PKibW']=_0x14d68c(0x16c),_0x4dbaac[_0x14d68c(0x128)]='.browserstack',_0x4dbaac[_0x14d68c(0x156)]='.browserstack\x20folder\x20not\x20found\x20at:\x20%s',_0x4dbaac[_0x14d68c(0x130)]=_0x14d68c(0x16b),_0x4dbaac[_0x14d68c(0x129)]='Created\x20folder:\x20%s',_0x4dbaac[_0x14d68c(0x17f)]=function(_0x2686e6,_0xdd26a4){return _0x2686e6===_0xdd26a4;},_0x4dbaac['cNClQ']='Attachment\x20file\x20path\x20is\x20empty,\x20skipping\x20upload.',_0x4dbaac[_0x14d68c(0x18a)]=_0x14d68c(0x12d),_0x4dbaac[_0x14d68c(0x1a9)]=_0x14d68c(0x160),_0x4dbaac[_0x14d68c(0x17b)]=_0x14d68c(0x132),_0x4dbaac[_0x14d68c(0x166)]=_0x14d68c(0x187),_0x4dbaac[_0x14d68c(0x169)]=function(_0x3fae7a,_0xf31bf2){return _0x3fae7a>_0xf31bf2;},_0x4dbaac[_0x14d68c(0x146)]=_0x14d68c(0x186);const _0x48091e=_0x4dbaac;this[_0x14d68c(0x18d)][_0x14d68c(0x14d)](util['format'](_0x48091e[_0x14d68c(0x199)],_0x489354));const _0x59ccc4=os[_0x14d68c(0x141)](),_0x2d4c3f=path[_0x14d68c(0x1a6)](_0x59ccc4,_0x48091e['VxcVu']);!fs[_0x14d68c(0x196)](_0x2d4c3f)&&(this[_0x14d68c(0x18d)][_0x14d68c(0x14d)](util['format'](_0x48091e[_0x14d68c(0x156)],_0x2d4c3f)),fs[_0x14d68c(0x18e)](_0x2d4c3f),this[_0x14d68c(0x18d)][_0x14d68c(0x14d)](util['format'](_0x48091e['gUCKK'],_0x2d4c3f)));const _0x4f18b3=BrowserstackCLI[_0x14d68c(0x168)]()[_0x14d68c(0x162)]['TestHubModule']?.[_0x14d68c(0x164)]?.['toObject']()?.[_0x14d68c(0x176)],_0x485a72=path[_0x14d68c(0x1a6)](_0x2d4c3f,_0x4f18b3);!fs[_0x14d68c(0x196)](_0x485a72)&&(fs['mkdirSync'](_0x485a72),this['logger'][_0x14d68c(0x14d)](util['format'](_0x48091e['dbUWx'],_0x485a72)));if(_0x48091e['oRXsu'](_0x489354['trim'](),'')){this[_0x14d68c(0x18d)][_0x14d68c(0x14d)](util[_0x14d68c(0x12f)](_0x48091e['cNClQ']));return;}if(_0x489354[_0x14d68c(0x1a2)](_0x48091e[_0x14d68c(0x18a)])||_0x489354[_0x14d68c(0x1a2)](_0x48091e['IsHEx'])){const _0x128053=_0x489354[_0x14d68c(0x1a2)](_0x48091e[_0x14d68c(0x18a)])?https:http,_0x616d7c=path['basename'](_0x489354),_0x2fdf73=path[_0x14d68c(0x1a6)](_0x485a72,_0x616d7c),_0x39c174=fs[_0x14d68c(0x158)](_0x2fdf73);_0x128053[_0x14d68c(0x18f)](_0x489354,_0x272ba9=>{const _0x153f64=_0x14d68c,_0x3c7ca={'xHWWK':function(_0x4da438,_0x3dc3e6){const _0x2c91ae=a117_0x184c;return _0x48091e[_0x2c91ae(0x190)](_0x4da438,_0x3dc3e6);},'KcSLq':function(_0x1bc339,_0x27831f){return _0x48091e['jhfqP'](_0x1bc339,_0x27831f);},'ANJok':function(_0x4687e5,_0x35dcc2){const _0x59258f=a117_0x184c;return _0x48091e[_0x59258f(0x12a)](_0x4687e5,_0x35dcc2);},'GSlDW':_0x48091e[_0x153f64(0x12e)],'qqzGd':_0x48091e[_0x153f64(0x197)]};if(_0x48091e['ZRdmR'](_0x272ba9[_0x153f64(0x151)],0xc8))_0x272ba9[_0x153f64(0x17e)](_0x39c174),_0x39c174['on'](_0x48091e[_0x153f64(0x181)],()=>{const _0x286017=_0x153f64;_0x39c174[_0x286017(0x170)]();const _0x245a8b=fs['statSync'](_0x2fdf73),_0x28c526=_0x3c7ca[_0x286017(0x1a5)](_0x245a8b[_0x286017(0x137)],_0x3c7ca[_0x286017(0x183)](0x400,0x400));if(_0x3c7ca[_0x286017(0x154)](_0x28c526,0x64)){this[_0x286017(0x18d)][_0x286017(0x14d)](util[_0x286017(0x12f)](_0x3c7ca[_0x286017(0x19a)],_0x28c526['toFixed'](0x2))),fs[_0x286017(0x138)](_0x2fdf73);return;}this['logger']['debug'](util[_0x286017(0x12f)](_0x3c7ca[_0x286017(0x188)],_0x2fdf73)),uploadAttachmentsManager[_0x286017(0x133)](_0x2fdf73,_0x85d999);});else{this[_0x153f64(0x18d)][_0x153f64(0x14d)](util['format'](_0x48091e[_0x153f64(0x175)],_0x272ba9[_0x153f64(0x151)])),_0x39c174[_0x153f64(0x170)](),fs[_0x153f64(0x138)](_0x2fdf73);return;}})['on'](_0x48091e[_0x14d68c(0x17b)],_0x2765b0=>{const _0x4605f1=_0x14d68c;this[_0x4605f1(0x18d)][_0x4605f1(0x14d)](util[_0x4605f1(0x12f)](_0x48091e['JMzKT'],_0x2765b0[_0x4605f1(0x184)])),_0x39c174[_0x4605f1(0x170)](),fs[_0x4605f1(0x138)](_0x2fdf73);return;});}else{if(!fs['existsSync'](_0x489354)){this[_0x14d68c(0x18d)][_0x14d68c(0x14d)](util[_0x14d68c(0x12f)](_0x48091e[_0x14d68c(0x166)],_0x489354));return;}const _0x569a5a=fs[_0x14d68c(0x174)](_0x489354),_0x41fb29=_0x48091e[_0x14d68c(0x190)](_0x569a5a[_0x14d68c(0x137)],_0x48091e[_0x14d68c(0x165)](0x400,0x400));if(_0x48091e[_0x14d68c(0x169)](_0x41fb29,0x64)){this[_0x14d68c(0x18d)][_0x14d68c(0x14d)](util[_0x14d68c(0x12f)](_0x48091e[_0x14d68c(0x146)],_0x41fb29[_0x14d68c(0x180)](0x2)));return;}const _0x4d4e63=path[_0x14d68c(0x14c)](_0x489354),_0x9334df=path[_0x14d68c(0x1a6)](_0x485a72,_0x4d4e63);fs['copyFileSync'](_0x489354,_0x9334df),uploadAttachmentsManager[_0x14d68c(0x133)](_0x9334df,_0x85d999);}}static[a117_0x593b38(0x133)](_0x1cb311,_0x3542d1){const _0x456139=a117_0x593b38,_0x2a6e3c={'etzbJ':function(_0x272b2b,_0x12ef12){return _0x272b2b(_0x12ef12);},'PXoYW':_0x456139(0x177),'GKEAo':'./cliUtils','uSMrG':function(_0x40d8d6,_0x1711d2){return _0x40d8d6===_0x1711d2;},'wiyKv':_0x456139(0x17d),'asezl':_0x456139(0x18b),'ZIRlp':'BuildLevel','dQmDz':'TestLevel','YXcdm':_0x456139(0x14e),'ucKYV':function(_0x25ca66,_0x28cea3){return _0x25ca66(_0x28cea3);},'ygxHO':'./state/testFrameworkState','bRaRN':_0x456139(0x171),'WJHzk':_0x456139(0x159),'aXQoD':_0x456139(0x16f),'xKycD':_0x456139(0x194)};try{let _0x434e6c;const _0x40ba8c=global[_0x456139(0x13b)]?.[_0x456139(0x153)]?.[_0x456139(0x18c)],_0x2ecd09=_0x2a6e3c[_0x456139(0x17c)](require,_0x2a6e3c[_0x456139(0x191)]),_0x1567a9=_0x2a6e3c['etzbJ'](require,_0x2a6e3c[_0x456139(0x135)]),_0x49e168=_0x2ecd09[_0x456139(0x168)]()[_0x456139(0x152)]()&&_0x2a6e3c['uSMrG'](_0x1567a9[_0x456139(0x189)]()?.[_0x456139(0x157)]?.['toLowerCase'](),_0x2a6e3c[_0x456139(0x19b)]);if(_0x49e168){_0x434e6c=global[_0x456139(0x15e)];if(!_0x434e6c){const _0x2e9a50=AutomationFramework[_0x456139(0x148)]();_0x434e6c=AutomationFramework[_0x456139(0x1a0)](_0x2e9a50,PlaywrightDriverModule[_0x456139(0x12b)],'');}this[_0x456139(0x18d)][_0x456139(0x14d)](_0x456139(0x13c)+_0x434e6c);}else{if(!_0x40ba8c){const _0x25ce17=AutomationFramework['getTrackedInstance']();_0x434e6c=AutomationFramework[_0x456139(0x1a0)](_0x25ce17,PlaywrightDriverModule[_0x456139(0x12b)],'');}else _0x434e6c=TestInfo[_0x456139(0x139)](_0x40ba8c,_0x40ba8c[_0x456139(0x15a)]);this[_0x456139(0x18d)][_0x456139(0x14d)](_0x456139(0x172)+_0x434e6c);}if(!_0x434e6c){this[_0x456139(0x18d)][_0x456139(0x14d)](_0x2a6e3c[_0x456139(0x155)]);return;}const _0x17025c={[TestFrameworkConstants['KEY_FILE_SIZE']]:fs[_0x456139(0x174)](_0x1cb311)[_0x456139(0x137)],[TestFrameworkConstants['KEY_FILE_NAME']]:path['basename'](_0x1cb311),[TestFrameworkConstants['KEY_FILE_PATH']]:_0x1cb311,[TestFrameworkConstants[_0x456139(0x16a)]]:_0x3542d1?_0x2a6e3c['ZIRlp']:_0x2a6e3c['dQmDz']};if(_0x49e168){const _0x5e008e=_0x2ecd09['getInstance']()['getTestFramework']();if(!_0x5e008e){this[_0x456139(0x18d)][_0x456139(0x14d)](_0x2a6e3c['YXcdm']);return;}const _0x47336f=_0x2a6e3c[_0x456139(0x144)](require,_0x2a6e3c[_0x456139(0x150)]),_0x4a8def=_0x2a6e3c[_0x456139(0x17c)](require,_0x2a6e3c[_0x456139(0x149)]),_0x50cb9d=_0x5e008e[_0x456139(0x136)](_0x47336f[_0x456139(0x134)],_0x4a8def[_0x456139(0x1aa)]);if(!_0x50cb9d){this[_0x456139(0x18d)][_0x456139(0x14d)](_0x2a6e3c[_0x456139(0x1a3)]);return;}const _0x48aab0=_0x50cb9d[_0x456139(0x1a7)]()[_0x456139(0x18f)](_0x434e6c)||{},_0x3e3e00=_0x48aab0[TestFrameworkConstants[_0x456139(0x16d)]]||{},_0x3570a3={..._0x3e3e00};_0x3570a3[_0x1cb311]=_0x17025c;const _0x2dbd14=_0x3570a3,_0x3502b8={[TestFrameworkConstants[_0x456139(0x16d)]]:_0x2dbd14},_0x3579ac={};_0x3579ac[_0x434e6c]=_0x3502b8,_0x50cb9d[_0x456139(0x1a8)](_0x3579ac),this[_0x456139(0x18d)][_0x456139(0x14d)](_0x456139(0x142)+_0x434e6c+_0x456139(0x13e)+_0x1cb311);}else{const _0x2ca5db=TestInfo[_0x456139(0x173)](_0x434e6c),_0x41f4af=_0x2ca5db[TestFrameworkConstants[_0x456139(0x16d)]]||{};_0x41f4af[_0x1cb311]=_0x17025c,_0x2ca5db[TestFrameworkConstants[_0x456139(0x16d)]]=_0x41f4af,TestInfo['setTestDetails'](_0x434e6c,_0x2ca5db),this[_0x456139(0x18d)][_0x456139(0x14d)](_0x456139(0x182)+_0x434e6c+',\x20filepath:\x20'+_0x1cb311);}this[_0x456139(0x18d)][_0x456139(0x14d)](util[_0x456139(0x12f)](_0x2a6e3c[_0x456139(0x13a)],_0x1cb311));}catch(_0x2bcaed){this[_0x456139(0x18d)][_0x456139(0x14d)](util['format'](_0x2a6e3c['xKycD'],_0x2bcaed[_0x456139(0x184)]));}}static[a117_0x593b38(0x15c)](){const _0x2395f7=a117_0x593b38,_0x2e2ca5={};_0x2e2ca5['RaViM']=_0x2395f7(0x19e),_0x2e2ca5[_0x2395f7(0x161)]=_0x2395f7(0x13d),_0x2e2ca5['vVPuk']=_0x2395f7(0x15f);const _0x10867f=_0x2e2ca5,_0x5bbfe3=os[_0x2395f7(0x141)](),_0x36f7bd=path['join'](_0x5bbfe3,_0x10867f['RaViM']);if(!fs[_0x2395f7(0x196)](_0x36f7bd))return;const _0x24ac3c=BrowserstackCLI[_0x2395f7(0x168)]()[_0x2395f7(0x162)][_0x2395f7(0x185)]?.[_0x2395f7(0x164)]?.[_0x2395f7(0x14b)]()?.['buildHashedId'],_0x4b08dd=_0x24ac3c?path['join'](_0x36f7bd,_0x24ac3c):null;if(!_0x4b08dd||!fs[_0x2395f7(0x196)](_0x4b08dd)){this[_0x2395f7(0x18d)][_0x2395f7(0x14d)](util[_0x2395f7(0x12f)](_0x10867f[_0x2395f7(0x161)],_0x24ac3c));return;}const _0x5126eb={};_0x5126eb['recursive']=!![],_0x5126eb[_0x2395f7(0x14f)]=!![],fs['rmSync'](_0x4b08dd,_0x5126eb),this[_0x2395f7(0x18d)][_0x2395f7(0x14d)](util[_0x2395f7(0x12f)](_0x10867f[_0x2395f7(0x1ab)]));}}module[a117_0x593b38(0x167)]=uploadAttachmentsManager;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a118_0xd67bac=a118_0x23f8;(function(_0x35fab3,_0x50f1d2){const _0x22108b=a118_0x23f8,_0x40927d=_0x35fab3();while(!![]){try{const _0x2d2cb6=-parseInt(_0x22108b(0x12a))/0x1+-parseInt(_0x22108b(0x14c))/0x2+parseInt(_0x22108b(0x13c))/0x3+-parseInt(_0x22108b(0xe4))/0x4*(-parseInt(_0x22108b(0x12c))/0x5)+-parseInt(_0x22108b(0x140))/0x6+-parseInt(_0x22108b(0xfb))/0x7*(parseInt(_0x22108b(0xc1))/0x8)+parseInt(_0x22108b(0x12f))/0x9*(parseInt(_0x22108b(0x108))/0xa);if(_0x2d2cb6===_0x50f1d2)break;else _0x40927d['push'](_0x40927d['shift']());}catch(_0x290d3c){_0x40927d['push'](_0x40927d['shift']());}}}(a118_0x2f6f,0xa2785));function a118_0x2f6f(){const _0x8db8b5=['failure','316QiJUBx','duration_in_ms','finished_at','EkDhj','failureData','ZVqsw','finishedAt','_gitConfigPath','OwXRi','failureType','SKIPPED','passed','HookRunStarted','join','zvnnl','message','XxIYC','uRKWF','dsjPB','hooks','OXOnb','match','uuid','2493841kdhUii','Ihhfc','testStepResult','wyflA','relative','cBjft','HookRunFinished','JfImu','ygrnE','failed','createHookData','format','yHJAq','10033630GxHRIr','../../../helpers/helper.js','flatMap','tagExpression','result','toString','tKpwa','toLowerCase','examples','hUGII','hook','configureGit','FAILED','split','bstack','unknown','FPXQY','cucumber','pickleStepId','ODKPQ','CdLgp','OOOMq','zVgqY','AssertionError','createTestFrameworkData','getCucumberHookType','timestamp','JzZKZ','util','aEERs','push','IecWN','HVYOc','strip-ansi','1088955dUBDcE','skipped','9395hdqHIK','ZddRf','debug','18zXXyAL','LSiHN','gguWp','UDOHV','_gitConfigured','mxvdY','getHookRunEventData','name','tags','HTWju','map','cells','sendHook','3227181hFmVXS','test','lZmJm','forEach','1943526yMeMaG','getScenarioExamples','toISOString','aKIRN','sourceReference','testStepFinished','status','GqEdX','lMLrz','failure_reason','every','value','167504WXWHDm','exports','path','uri','root','find','rvFkc','eWoQX','../../../helpers/test-observability/error-handler.js','24luyalf','Exception\x20in\x20getHookRunEventData:\x20','exception','Exception\x20in\x20createHookData:\x20','tableBody','getHookResult','BQrVb','uXcdd','umajO','scenario','mOGXq','NSEpP','JobxT','testCaseFinished','rule','UIfIh','browserstack-node-agent/src/bin/cucumber-js/test.setup.js','astNodeIds','javascript','PsWeF','length','qvasV','nanos','hookId','includes','jREOH','UnhandledError','feature','ikFSr','failure_type','fEJgd','failure_data','sendTestRunEventForCucumber','RWZsA'];a118_0x2f6f=function(){return _0x8db8b5;};return a118_0x2f6f();}const path=require(a118_0xd67bac(0x14e)),util=require(a118_0xd67bac(0x124)),{getGitMetaData,isUndefined,nestedKeyValue}=require(a118_0xd67bac(0x109)),logger=require('../../../helpers/logger.js')['winstonLogger'],{o11yClassErrorHandler}=require(a118_0xd67bac(0xc0)),TestInfo=require('../TestInfo.js'),hooksMap={};function a118_0x23f8(_0x3104fa,_0x5ab719){const _0x2f6f4d=a118_0x2f6f();return a118_0x23f8=function(_0x23f848,_0x3db23c){_0x23f848=_0x23f848-0xbb;let _0x37b24e=_0x2f6f4d[_0x23f848];return _0x37b24e;},a118_0x23f8(_0x3104fa,_0x5ab719);}class CucumberUtils{constructor(){const _0x67457b=a118_0xd67bac;this[_0x67457b(0x133)]=![],this[_0x67457b(0xeb)]=null;}async[a118_0xd67bac(0x120)](_0x5b9592,_0x3bdc64,_0x2e9d29,_0x230112,_0x704198,_0x2502b5){const _0x3f887c=a118_0xd67bac,_0x25ba4e={'NSEpP':function(_0x18d6b6,_0x1b38c0){return _0x18d6b6===_0x1b38c0;},'RWZsA':_0x3f887c(0x114),'rvFkc':_0x3f887c(0x104),'umajO':function(_0x114939,_0xa93b9){return _0x114939===_0xa93b9;},'fEJgd':_0x3f887c(0xee),'aMzwj':_0x3f887c(0x12b),'BQrVb':function(_0x6a042d,_0x107090){return _0x6a042d||_0x107090;},'uXcdd':function(_0x2cfbe0,_0x3ce1ba){return _0x2cfbe0+_0x3ce1ba;},'IecWN':function(_0x1a523b,_0x5595ce){return _0x1a523b+_0x5595ce;},'ZddRf':_0x3f887c(0x13d),'ikFSr':_0x3f887c(0xd3),'UDOHV':_0x3f887c(0x119),'OXOnb':'pending','OxHHH':_0x3f887c(0xef),'ScQSg':function(_0x4bc5a5,_0x122247){return _0x4bc5a5!==_0x122247;},'mOGXq':function(_0x541a87,_0x17902f){return _0x541a87/_0x17902f;},'qvasV':_0x3f887c(0x129),'OOOMq':function(_0x34ff4b,_0x32d281){return _0x34ff4b(_0x32d281);},'gguWp':_0x3f887c(0x117),'ZVqsw':function(_0x328a4a,_0x17f8f){return _0x328a4a(_0x17f8f);},'Ihhfc':_0x3f887c(0x11f),'XxIYC':_0x3f887c(0xdb)},{feature:_0x214e86,scenario:_0x175276,steps:_0x4325a4,uuid:_0x54aec5,startedAt:_0x140e30,finishedAt:_0x37b74e}=_0x25ba4e[_0x3f887c(0xc7)](_0x5b9592,{}),_0x5f0399=this[_0x3f887c(0x141)](_0x230112,_0x3bdc64);await this[_0x3f887c(0x113)]();const _0x344d33=_0x5f0399?_0x25ba4e[_0x3f887c(0xc8)](_0x25ba4e[_0x3f887c(0xc8)](_0x25ba4e[_0x3f887c(0x127)](_0x3bdc64[_0x3f887c(0x136)],'\x20('),_0x5f0399[_0x3f887c(0xf1)](',\x20')),')'):_0x3bdc64[_0x3f887c(0x136)],_0x526e07={'id':_0x704198,'uuid':_0x704198,'startedAt':_0x140e30,'finishedAt':_0x37b74e,'type':_0x25ba4e[_0x3f887c(0x12d)],'body':{'lang':_0x25ba4e[_0x3f887c(0xdd)],'code':null},'name':_0x344d33,'scopes':[_0x214e86&&_0x214e86['name']?_0x214e86[_0x3f887c(0x136)]:''],'tags':_0x3bdc64[_0x3f887c(0x137)]?_0x3bdc64[_0x3f887c(0x137)][_0x3f887c(0x139)](({name:_0x52c1a4})=>_0x52c1a4):[],'file_name':_0x3bdc64[_0x3f887c(0xbb)],'location':_0x3bdc64[_0x3f887c(0xbb)],'vc_filepath':this[_0x3f887c(0xeb)]&&_0x3bdc64[_0x3f887c(0xbb)]?path[_0x3f887c(0xff)](this[_0x3f887c(0xeb)],_0x3bdc64[_0x3f887c(0xbb)]):null,'framework':_0x25ba4e[_0x3f887c(0x132)],'result':_0x25ba4e[_0x3f887c(0xf8)],'meta':{'feature':_0x214e86,'scenario':_0x175276,'steps':_0x4325a4,'examples':_0x5f0399},'customRerunParam':{'rerun_name':_0x344d33}};if(_0x2e9d29[_0x3f887c(0xce)]&&_0x4325a4){const _0x2e18c4=_0x2e9d29['testCaseFinished'];let _0x3b8f82=_0x25ba4e['OxHHH'];_0x4325a4[_0x3f887c(0x14a)](_0x2b557b=>{const _0x22dc75=_0x3f887c;if(_0x25ba4e[_0x22dc75(0xcc)](_0x2b557b[_0x22dc75(0x10c)],_0x25ba4e[_0x22dc75(0xe2)]))return _0x3b8f82=_0x25ba4e[_0x22dc75(0xbe)],_0x2e18c4['failure']=_0x2b557b[_0x22dc75(0xe3)],_0x2e18c4[_0x22dc75(0xed)]=_0x2b557b['failureType'],![];else{if(_0x25ba4e[_0x22dc75(0xc9)](_0x2b557b[_0x22dc75(0x10c)],_0x25ba4e[_0x22dc75(0xdf)]))return _0x3b8f82=_0x25ba4e['aMzwj'],![];}return!![];}),_0x526e07[_0x3f887c(0xea)]=new Date()[_0x3f887c(0x142)](),_0x526e07['result']=_0x3b8f82;_0x2e18c4[_0x3f887c(0x122)]&&_0x25ba4e['ScQSg'](_0x2e18c4[_0x3f887c(0x122)][_0x3f887c(0xd7)],undefined)?_0x526e07[_0x3f887c(0xe5)]=_0x25ba4e[_0x3f887c(0xcb)](_0x2e18c4[_0x3f887c(0x122)][_0x3f887c(0xd7)],0xf4240):_0x526e07['duration_in_ms']=undefined;if(_0x25ba4e[_0x3f887c(0xc9)](_0x3b8f82,_0x25ba4e[_0x3f887c(0xbe)])){const {default:_0x18803b}=await import(_0x25ba4e[_0x3f887c(0xd6)]);_0x526e07[_0x3f887c(0xe3)]=[{'backtrace':[_0x2e18c4['failure']?_0x25ba4e[_0x3f887c(0x11d)](_0x18803b,_0x2e18c4[_0x3f887c(0xe3)]):_0x25ba4e[_0x3f887c(0x131)]]}],_0x526e07[_0x3f887c(0x149)]=_0x2e18c4[_0x3f887c(0xe3)]?_0x25ba4e[_0x3f887c(0xe9)](_0x18803b,_0x2e18c4[_0x3f887c(0xe3)]):_0x2e18c4[_0x3f887c(0xf3)],_0x2e18c4[_0x3f887c(0xed)]&&(_0x526e07['failure_type']=_0x2e18c4[_0x3f887c(0xed)]['match'](/AssertError/)?_0x25ba4e[_0x3f887c(0xfc)]:_0x25ba4e[_0x3f887c(0xf4)]);}}return _0x526e07;}[a118_0xd67bac(0x135)](_0x4a911e,_0x5e0f9f,_0x19d0e4,_0x42e4e7,_0x46445f,_0x214c2e){const _0x4cd53a=a118_0xd67bac,_0x2191c2={'JfImu':function(_0x354f53,_0x4e7793){return _0x354f53===_0x4e7793;},'FPXQY':_0x4cd53a(0x101),'uRKWF':function(_0x1ab7c0,_0x821c80,_0xe4d78){return _0x1ab7c0(_0x821c80,_0xe4d78);},'PsWeF':_0x4cd53a(0x144),'yHJAq':'uri','eWoQX':'pending','aEERs':_0x4cd53a(0x112),'cBjft':_0x4cd53a(0xd3),'xshGs':function(_0x5cf92a,_0x3f2f5e,_0x30954d){return _0x5cf92a(_0x3f2f5e,_0x30954d);},'ODKPQ':_0x4cd53a(0xdc),'jREOH':_0x4cd53a(0x136),'LSiHN':function(_0xea5ec0,_0x4d92fb,_0x3dd2fe){return _0xea5ec0(_0x4d92fb,_0x3dd2fe);},'lMLrz':'cucumber'};try{if(_0x2191c2[_0x4cd53a(0x102)](_0x19d0e4,_0x2191c2[_0x4cd53a(0x118)])){const _0x377a9f=new Date()[_0x4cd53a(0x142)](),_0x5259cf=hooksMap[_0x5e0f9f];if(!_0x5259cf)return;const _0x4f8d10=_0x5259cf['find'](_0x20231b=>_0x20231b[_0x4cd53a(0xfa)]===_0x42e4e7['id']);if(!_0x4f8d10)return;const _0x2a5c5d=this['getHookResult'](_0x4a911e,_0x5e0f9f);_0x4f8d10[_0x4cd53a(0x10c)]=_0x2a5c5d[_0x4cd53a(0x146)],_0x4f8d10[_0x4cd53a(0xe6)]=_0x377a9f,_0x4f8d10[_0x4cd53a(0xde)]=_0x2a5c5d['failureType'];const _0x319a31={};return _0x319a31['backtrace']=_0x2a5c5d[_0x4cd53a(0xe8)],_0x4f8d10[_0x4cd53a(0xe0)]=[_0x319a31],_0x4f8d10;}const _0xc04b85=TestInfo['getTestUUID'](_0x5e0f9f),_0x368772=_0x4a911e['hooks'][_0x4cd53a(0xbd)](_0x169289=>_0x169289['id']===_0x42e4e7['hookId']),_0x280682=_0x2191c2[_0x4cd53a(0xf5)](nestedKeyValue,_0x368772,[_0x2191c2[_0x4cd53a(0xd4)],_0x2191c2[_0x4cd53a(0x107)]]),_0x560c50=new Date()[_0x4cd53a(0x142)](),_0x369ae8=_0x2191c2[_0x4cd53a(0xbf)],_0xd09136=_0x368772[_0x4cd53a(0x10b)]?_0x368772[_0x4cd53a(0x10b)][_0x4cd53a(0x115)]('\x20')['filter'](_0x26b791=>_0x26b791[_0x4cd53a(0xd9)]('@')):[],_0x405828={'uuid':_0x42e4e7['id'],'type':_0x2191c2[_0x4cd53a(0x125)],'hook_type':_0x214c2e,'name':_0x368772['name'],'body':{'lang':_0x2191c2[_0x4cd53a(0x100)],'code':null},'tags':_0xd09136,'test_run_id':_0xc04b85,'scope':_0x2191c2['xshGs'](nestedKeyValue,_0x46445f,[_0x2191c2[_0x4cd53a(0x11b)],_0x2191c2[_0x4cd53a(0xda)]]),'scopes':[_0x2191c2[_0x4cd53a(0x130)](nestedKeyValue,_0x46445f,[_0x2191c2[_0x4cd53a(0x11b)],_0x2191c2[_0x4cd53a(0xda)]])||''],'file_name':_0x280682,'location':_0x280682,'vc_filepath':this[_0x4cd53a(0xeb)]?path['relative'](this[_0x4cd53a(0xeb)],_0x280682):null,'result':_0x369ae8,'started_at':_0x560c50,'framework':_0x2191c2[_0x4cd53a(0x148)]};return _0x405828;}catch(_0xbfd9f6){logger[_0x4cd53a(0x12e)](_0x4cd53a(0xc2)+util['format'](_0xbfd9f6)+'\x20');}}async[a118_0xd67bac(0x105)](_0x35ffd1,_0x4cd0d0,_0x54a0e1,_0x2b4b5d,_0x2627c9,_0x473a61){const _0xede2b3=a118_0xd67bac,_0x2d5b68={'wyflA':function(_0x806b7b,_0x3736ad){return _0x806b7b===_0x3736ad;},'OwXRi':_0xede2b3(0xf0),'HTWju':function(_0x5831ac,_0x289f52,_0x455b0e){return _0x5831ac(_0x289f52,_0x455b0e);},'aKIRN':_0xede2b3(0x144),'zvnnl':'uri','ZXBmq':_0xede2b3(0xd1),'dsjPB':function(_0x281dd5,_0x65d7dd){return _0x281dd5===_0x65d7dd;},'KNPmS':_0xede2b3(0x116)};try{const _0x393df1=_0x2b4b5d[_0xede2b3(0xbd)](_0x1b1f97=>_0x1b1f97['id']===_0x2627c9);if(!_0x393df1[_0xede2b3(0xd8)])return;const _0xe87e62=this[_0xede2b3(0x121)](_0x2b4b5d,_0x393df1),_0xed215d=this[_0xede2b3(0x135)](_0x35ffd1,_0x4cd0d0,_0x54a0e1,_0x393df1,_0x473a61,_0xe87e62);if(!_0xed215d)return;_0x2d5b68[_0xede2b3(0xfe)](_0x54a0e1,_0x2d5b68[_0xede2b3(0xec)])&&(hooksMap[_0x4cd0d0]?hooksMap[_0x4cd0d0][_0xede2b3(0x126)](_0xed215d):hooksMap[_0x4cd0d0]=[_0xed215d]);const _0x3e22e5=_0x35ffd1[_0xede2b3(0xf7)][_0xede2b3(0xbd)](_0x26af02=>_0x26af02['id']===_0x393df1[_0xede2b3(0xd8)]),_0xd5b7aa=_0x2d5b68[_0xede2b3(0x138)](nestedKeyValue,_0x3e22e5,[_0x2d5b68[_0xede2b3(0x143)],_0x2d5b68[_0xede2b3(0xf2)]]);if(!_0xd5b7aa)return;else{if(_0xd5b7aa[_0xede2b3(0xd9)](_0x2d5b68['ZXBmq']))return;}if(_0x2d5b68[_0xede2b3(0xf6)](_0xed215d['name'],_0x2d5b68['KNPmS']))return;return _0xed215d;}catch(_0x32e97d){logger[_0xede2b3(0x12e)](_0xede2b3(0xc4)+util[_0xede2b3(0x106)](_0x32e97d)+'\x20');}}[a118_0xd67bac(0xc6)](_0x389f6b,_0x24cad4){const _0x1ce2f6=a118_0xd67bac,_0x1840fa={};_0x1840fa[_0x1ce2f6(0x103)]=function(_0x1b28b9,_0x27e1ce){return _0x1b28b9===_0x27e1ce;},_0x1840fa[_0x1ce2f6(0x11e)]=_0x1ce2f6(0x104),_0x1840fa[_0x1ce2f6(0x111)]=function(_0x5e324f,_0x4e6749){return _0x5e324f===_0x4e6749;},_0x1840fa['UIfIh']=function(_0x1e4be0,_0x5198b0){return _0x1e4be0===_0x5198b0;},_0x1840fa[_0x1ce2f6(0x13e)]=_0x1ce2f6(0xdb),_0x1840fa['GqEdX']=_0x1ce2f6(0x11f),_0x1840fa['JzZKZ']=function(_0x119419,_0x1c536d){return _0x119419||_0x1c536d;};const _0x413ddd=_0x1840fa,_0x38ead1=_0x389f6b[_0x1ce2f6(0x145)][_0x24cad4][_0x1ce2f6(0xfd)];let _0x6d4d84,_0x44b0c8;return _0x38ead1&&_0x413ddd[_0x1ce2f6(0x103)](_0x38ead1[_0x1ce2f6(0x146)][_0x1ce2f6(0x10d)]()[_0x1ce2f6(0x10f)](),_0x413ddd['zVgqY'])&&(_0x6d4d84=_0x413ddd[_0x1ce2f6(0x111)](_0x38ead1['exception'],undefined)?_0x38ead1[_0x1ce2f6(0xf3)]:_0x38ead1[_0x1ce2f6(0xc3)][_0x1ce2f6(0xf3)],_0x44b0c8=_0x413ddd[_0x1ce2f6(0xd0)](_0x38ead1[_0x1ce2f6(0xc3)],undefined)?_0x413ddd[_0x1ce2f6(0x13e)]:_0x38ead1['message'][_0x1ce2f6(0xf9)](/Assert/)?_0x413ddd[_0x1ce2f6(0x147)]:_0x413ddd['lZmJm']),{'status':_0x38ead1[_0x1ce2f6(0x146)][_0x1ce2f6(0x10f)](),'failureType':_0x413ddd[_0x1ce2f6(0x123)](_0x44b0c8,null),'failureData':!_0x6d4d84?null:[_0x6d4d84]};}[a118_0xd67bac(0x121)](_0x5eb9e9,_0x181c97){const _0x22a367=a118_0xd67bac,_0x159c59={};_0x159c59[_0x22a367(0x11c)]=function(_0x11e016,_0x23b116){return _0x11e016===_0x23b116;},_0x159c59[_0x22a367(0xe7)]='AFTER_EACH',_0x159c59[_0x22a367(0x128)]='BEFORE_EACH';const _0x4d674e=_0x159c59;let _0x3b7d62=![];for(const _0xaf6f1e of _0x5eb9e9){_0xaf6f1e[_0x22a367(0x11a)]&&(_0x3b7d62=!![]);if(_0x4d674e[_0x22a367(0x11c)](_0x181c97['id'],_0xaf6f1e['id']))return _0x3b7d62?_0x4d674e[_0x22a367(0xe7)]:_0x4d674e['HVYOc'];}}['getScenarioExamples']=(_0x5a0343,_0x2bfacd)=>{const _0x212b88=a118_0xd67bac,_0x12d598={};_0x12d598[_0x212b88(0x10e)]=function(_0x46e6b1,_0x1b01e3){return _0x46e6b1===_0x1b01e3;},_0x12d598[_0x212b88(0x134)]=function(_0x514e2c,_0x2b512f){return _0x514e2c>_0x2b512f;};const _0x4f9fdc=_0x12d598;if(!(_0x2bfacd[_0x212b88(0xd2)]&&_0x4f9fdc[_0x212b88(0x134)](_0x2bfacd[_0x212b88(0xd2)][_0x212b88(0xd5)],0x1)))return;const _0x104781=_0x2bfacd[_0x212b88(0xd2)][0x0],_0xb7d811=_0x2bfacd[_0x212b88(0xd2)][0x1],_0x4bd16d=_0x5a0343['feature']&&_0x5a0343['feature']['children']?_0x5a0343[_0x212b88(0xdc)]['children']:undefined;let _0x1f8c7a=[];_0x4bd16d&&_0x4bd16d[_0x212b88(0x13f)](_0x137ae7=>{const _0xd3e2ba=_0x212b88;if(_0x137ae7[_0xd3e2ba(0xcf)])_0x137ae7[_0xd3e2ba(0xcf)]['children']['forEach'](_0x145b63=>{const _0x2e9dbf=_0xd3e2ba;if(_0x145b63[_0x2e9dbf(0xca)]&&_0x4f9fdc['tKpwa'](_0x145b63[_0x2e9dbf(0xca)]['id'],_0x104781)&&_0x145b63[_0x2e9dbf(0xca)][_0x2e9dbf(0x110)]){const _0x27eb38=_0x145b63[_0x2e9dbf(0xca)][_0x2e9dbf(0x110)][_0x2e9dbf(0x10a)](_0x4dbc47=>_0x4dbc47[_0x2e9dbf(0xc5)])[_0x2e9dbf(0xbd)](_0x3c5bde=>_0x3c5bde['id']===_0xb7d811);let _0x11fda3;_0x27eb38&&_0x27eb38['cells']?_0x11fda3=_0x27eb38[_0x2e9dbf(0x13a)][_0x2e9dbf(0x139)](_0x2b5aea=>_0x2b5aea['value']):_0x11fda3=[],_0x11fda3&&(_0x1f8c7a=_0x11fda3);}});else{if(_0x137ae7[_0xd3e2ba(0xca)]&&_0x4f9fdc[_0xd3e2ba(0x10e)](_0x137ae7['scenario']['id'],_0x104781)&&_0x137ae7[_0xd3e2ba(0xca)]['examples']){const _0x1bb7a6=_0x137ae7['scenario'][_0xd3e2ba(0x110)]['flatMap'](_0x1b2c92=>_0x1b2c92[_0xd3e2ba(0xc5)])[_0xd3e2ba(0xbd)](_0x1502db=>_0x1502db['id']===_0xb7d811);let _0x28711d;_0x1bb7a6&&_0x1bb7a6[_0xd3e2ba(0x13a)]?_0x28711d=_0x1bb7a6[_0xd3e2ba(0x13a)][_0xd3e2ba(0x139)](_0x2ce590=>_0x2ce590[_0xd3e2ba(0x14b)]):_0x28711d=[],_0x28711d&&(_0x1f8c7a=_0x28711d);}}});if(_0x1f8c7a[_0x212b88(0xd5)])return _0x1f8c7a;return;};async[a118_0xd67bac(0x113)](){const _0x275664=a118_0xd67bac,_0x4b2dbc={'JobxT':function(_0x57e7a6){return _0x57e7a6();}};if(this[_0x275664(0x133)])return this[_0x275664(0xeb)];const _0x21c779=await _0x4b2dbc[_0x275664(0xcd)](getGitMetaData);_0x21c779&&(this[_0x275664(0xeb)]=_0x21c779[_0x275664(0xbc)]),this[_0x275664(0x133)]=!![];}}module[a118_0xd67bac(0x14d)]=o11yClassErrorHandler(CucumberUtils,[a118_0xd67bac(0x113),a118_0xd67bac(0x141),a118_0xd67bac(0x121),'getHookResult',a118_0xd67bac(0x13b),'getHookRunEventData',a118_0xd67bac(0xe1),a118_0xd67bac(0x120)]);
|
|
1
|
+
const a118_0x3f35ea=a118_0x4c30;function a118_0x4be7(){const _0x25ce8d=['push','Exception\x20in\x20createHookData:\x20','rBGdr','getTestUUID','kZFMZ','debug','rzQqV','QtBgz','children','exports','HookRunFinished','UdBTZ','../TestInfo.js','testStepFinished','test','EcKNZ','pending','failure_reason','forEach','unknown','createTestFrameworkData','fRSep','rule','testStepResult','hooks','RVUWD','message','skipped','eNasx','toLowerCase','mnaaX','lYaKp','bstack','find','getHookRunEventData','1428410fHxNDg','sendTestRunEventForCucumber','failed','UOnVg','DJzXI','BEFORE_EACH','match','failure_type','tags','5nJaFCr','9MoBaMc','FJKKx','name','passed','winstonLogger','failure','toISOString','IuhVw','QfnoI','aDWtK','cmzcM','ukNSW','AssertionError','658QqUViQ','tableBody','SKIPPED','UnhandledError','_gitConfigured','relative','2244957THScbO','IoqbZ','flatMap','length','pGxdY','AwTOo','testCaseFinished','hook','26214Dwgilo','getCucumberHookType','value','duration_in_ms','toString','lNMjc','feature','failureType','sendHook','map','cucumber','finishedAt','_gitConfigPath','cells','exception','tagExpression','AXHuF','HookRunStarted','YvuTW','scenario','includes','81278ldkkuK','nanos','HleiV','eVTzu','failure_data','AFTER_EACH','1675285oGjAWg','jiIET','jEKok','jPTWZ','split','xZPGp','2195672BsHfVF','UATyn','hookId','failureData','join','browserstack-node-agent/src/bin/cucumber-js/test.setup.js','HsUHL','36rdyidF','examples','Faoku','timestamp','astNodeIds','javascript','zPaaa','MSpbH','configureGit','createHookData','strip-ansi','3856UITfkm','status','../../../helpers/test-observability/error-handler.js','../../../helpers/logger.js','finished_at','393QTgcel','backtrace','iKppR','sourceReference','rQwFb','result','every','format','uri','getHookResult','sqkyq','UwRht','lfxyK','getScenarioExamples','path','eMGOv'];a118_0x4be7=function(){return _0x25ce8d;};return a118_0x4be7();}(function(_0x28818e,_0x36186d){const _0x49da37=a118_0x4c30,_0x2fb964=_0x28818e();while(!![]){try{const _0x4f0a3e=-parseInt(_0x49da37(0x116))/0x1*(parseInt(_0x49da37(0xb7))/0x2)+parseInt(_0x49da37(0xda))/0x3*(-parseInt(_0x49da37(0xd5))/0x4)+parseInt(_0x49da37(0xbd))/0x5+parseInt(_0x49da37(0xa2))/0x6*(parseInt(_0x49da37(0x124))/0x7)+parseInt(_0x49da37(0xc3))/0x8+parseInt(_0x49da37(0x117))/0x9*(parseInt(_0x49da37(0x10d))/0xa)+-parseInt(_0x49da37(0x12a))/0xb*(parseInt(_0x49da37(0xca))/0xc);if(_0x4f0a3e===_0x36186d)break;else _0x2fb964['push'](_0x2fb964['shift']());}catch(_0x19ddea){_0x2fb964['push'](_0x2fb964['shift']());}}}(a118_0x4be7,0x36077));const path=require(a118_0x3f35ea(0xe8)),util=require('util'),{getGitMetaData,isUndefined,nestedKeyValue}=require('../../../helpers/helper.js'),logger=require(a118_0x3f35ea(0xd8))[a118_0x3f35ea(0x11b)],{o11yClassErrorHandler}=require(a118_0x3f35ea(0xd7)),TestInfo=require(a118_0x3f35ea(0xf6)),hooksMap={};function a118_0x4c30(_0x477da7,_0x4cd911){const _0x4be72f=a118_0x4be7();return a118_0x4c30=function(_0x4c302d,_0x524d0a){_0x4c302d=_0x4c302d-0xa1;let _0x5542b7=_0x4be72f[_0x4c302d];return _0x5542b7;},a118_0x4c30(_0x477da7,_0x4cd911);}class CucumberUtils{constructor(){const _0x2d8dc2=a118_0x3f35ea;this[_0x2d8dc2(0x128)]=![],this['_gitConfigPath']=null;}async[a118_0x3f35ea(0xfe)](_0x1ba60b,_0x5b0812,_0x2f4518,_0x1dae63,_0x4cd7d2,_0x4e05f4){const _0x3bb416=a118_0x3f35ea,_0x125e09={'DJzXI':function(_0x599d85,_0x40b4d5){return _0x599d85===_0x40b4d5;},'MyoHM':'FAILED','kZFMZ':_0x3bb416(0x10f),'UwRht':_0x3bb416(0x126),'ZwsbO':_0x3bb416(0x105),'eMGOv':function(_0x1d1092,_0x581be0){return _0x1d1092||_0x581be0;},'zPaaa':function(_0x22468c,_0x116a8e){return _0x22468c+_0x116a8e;},'RVUWD':function(_0x397785,_0x1016a5){return _0x397785+_0x1016a5;},'WBakM':function(_0x402074,_0x12b2a6){return _0x402074+_0x12b2a6;},'HsUHL':_0x3bb416(0xf8),'lfxyK':_0x3bb416(0xcf),'secjI':_0x3bb416(0xac),'Lppyy':_0x3bb416(0xfa),'QtBgz':_0x3bb416(0x11a),'eVTzu':function(_0x188b54,_0x53e1fb){return _0x188b54!==_0x53e1fb;},'YvuTW':function(_0x17cec2,_0x15c319){return _0x17cec2/_0x15c319;},'CTvfH':function(_0x131708,_0x2b5fa2){return _0x131708===_0x2b5fa2;},'tBDmo':_0x3bb416(0xd4),'lNMjc':function(_0x493ae2,_0x4c4910){return _0x493ae2(_0x4c4910);},'yJEkX':_0x3bb416(0xfd),'UcBMY':_0x3bb416(0x123),'HleiV':_0x3bb416(0x127)},{feature:_0x2eb622,scenario:_0x137faa,steps:_0x4a586c,uuid:_0x464282,startedAt:_0x1da79c,finishedAt:_0x13e5de}=_0x125e09[_0x3bb416(0xe9)](_0x1ba60b,{}),_0x579c72=this['getScenarioExamples'](_0x1dae63,_0x5b0812);await this[_0x3bb416(0xd2)]();const _0x19702d=_0x579c72?_0x125e09[_0x3bb416(0xd0)](_0x125e09[_0x3bb416(0x103)](_0x125e09['WBakM'](_0x5b0812[_0x3bb416(0x119)],'\x20('),_0x579c72[_0x3bb416(0xc7)](',\x20')),')'):_0x5b0812[_0x3bb416(0x119)],_0x1412e2={'id':_0x4cd7d2,'uuid':_0x4cd7d2,'startedAt':_0x1da79c,'finishedAt':_0x13e5de,'type':_0x125e09[_0x3bb416(0xc9)],'body':{'lang':_0x125e09[_0x3bb416(0xe6)],'code':null},'name':_0x19702d,'scopes':[_0x2eb622&&_0x2eb622[_0x3bb416(0x119)]?_0x2eb622[_0x3bb416(0x119)]:''],'tags':_0x5b0812[_0x3bb416(0x115)]?_0x5b0812['tags'][_0x3bb416(0xab)](({name:_0x418211})=>_0x418211):[],'file_name':_0x5b0812[_0x3bb416(0xe2)],'location':_0x5b0812['uri'],'vc_filepath':this[_0x3bb416(0xae)]&&_0x5b0812[_0x3bb416(0xe2)]?path[_0x3bb416(0x129)](this[_0x3bb416(0xae)],_0x5b0812[_0x3bb416(0xe2)]):null,'framework':_0x125e09['secjI'],'result':_0x125e09['Lppyy'],'meta':{'feature':_0x2eb622,'scenario':_0x137faa,'steps':_0x4a586c,'examples':_0x579c72},'customRerunParam':{'rerun_name':_0x19702d}};if(_0x2f4518[_0x3bb416(0x130)]&&_0x4a586c){const _0x57b686=_0x2f4518[_0x3bb416(0x130)];let _0x1d02f2=_0x125e09[_0x3bb416(0xf1)];_0x4a586c[_0x3bb416(0xe0)](_0x886e45=>{const _0x57d0a4=_0x3bb416;if(_0x125e09[_0x57d0a4(0x111)](_0x886e45['result'],_0x125e09['MyoHM']))return _0x1d02f2=_0x125e09[_0x57d0a4(0xee)],_0x57b686[_0x57d0a4(0x11c)]=_0x886e45[_0x57d0a4(0x11c)],_0x57b686[_0x57d0a4(0xa9)]=_0x886e45[_0x57d0a4(0xa9)],![];else{if(_0x125e09[_0x57d0a4(0x111)](_0x886e45[_0x57d0a4(0xdf)],_0x125e09[_0x57d0a4(0xe5)]))return _0x1d02f2=_0x125e09['ZwsbO'],![];}return!![];}),_0x1412e2[_0x3bb416(0xad)]=new Date()['toISOString'](),_0x1412e2[_0x3bb416(0xdf)]=_0x1d02f2;_0x57b686[_0x3bb416(0xcd)]&&_0x125e09[_0x3bb416(0xba)](_0x57b686[_0x3bb416(0xcd)][_0x3bb416(0xb8)],undefined)?_0x1412e2[_0x3bb416(0xa5)]=_0x125e09[_0x3bb416(0xb4)](_0x57b686[_0x3bb416(0xcd)][_0x3bb416(0xb8)],0xf4240):_0x1412e2['duration_in_ms']=undefined;if(_0x125e09['CTvfH'](_0x1d02f2,_0x125e09[_0x3bb416(0xee)])){const {default:_0x22fde6}=await import(_0x125e09['tBDmo']);_0x1412e2[_0x3bb416(0x11c)]=[{'backtrace':[_0x57b686['failure']?_0x125e09[_0x3bb416(0xa7)](_0x22fde6,_0x57b686[_0x3bb416(0x11c)]):_0x125e09['yJEkX']]}],_0x1412e2[_0x3bb416(0xfb)]=_0x57b686[_0x3bb416(0x11c)]?_0x125e09['lNMjc'](_0x22fde6,_0x57b686[_0x3bb416(0x11c)]):_0x57b686[_0x3bb416(0x104)],_0x57b686[_0x3bb416(0xa9)]&&(_0x1412e2[_0x3bb416(0x114)]=_0x57b686[_0x3bb416(0xa9)][_0x3bb416(0x113)](/AssertError/)?_0x125e09['UcBMY']:_0x125e09[_0x3bb416(0xb9)]);}}return _0x1412e2;}['getHookRunEventData'](_0x59b171,_0x4ba53e,_0x30f955,_0x38d1b6,_0x328ff5,_0x25c216){const _0x192265=a118_0x3f35ea,_0x4b3ff5={'bbVXI':function(_0x37663e,_0x2a26bc){return _0x37663e===_0x2a26bc;},'iKppR':_0x192265(0xf4),'IuhVw':function(_0x57f05f,_0x34c9fb,_0x5fed9a){return _0x57f05f(_0x34c9fb,_0x5fed9a);},'fRSep':'sourceReference','rzQqV':'uri','MSpbH':_0x192265(0xfa),'mnaaX':_0x192265(0xa1),'AXHuF':'javascript','rBGdr':function(_0x2e69ad,_0x1bda1d,_0x13716a){return _0x2e69ad(_0x1bda1d,_0x13716a);},'eNasx':_0x192265(0xa8),'EcKNZ':_0x192265(0x119),'jPTWZ':function(_0x2a8a7b,_0x316153,_0x5a898c){return _0x2a8a7b(_0x316153,_0x5a898c);},'ddOUo':'cucumber'};try{if(_0x4b3ff5['bbVXI'](_0x30f955,_0x4b3ff5[_0x192265(0xdc)])){const _0x410a7a=new Date()[_0x192265(0x11d)](),_0x5a2836=hooksMap[_0x4ba53e];if(!_0x5a2836)return;const _0x3e6720=_0x5a2836['find'](_0x5a2818=>_0x5a2818['uuid']===_0x38d1b6['id']);if(!_0x3e6720)return;const _0x22d1ba=this[_0x192265(0xe3)](_0x59b171,_0x4ba53e);_0x3e6720[_0x192265(0xdf)]=_0x22d1ba['status'],_0x3e6720[_0x192265(0xd9)]=_0x410a7a,_0x3e6720[_0x192265(0x114)]=_0x22d1ba[_0x192265(0xa9)];const _0x41b50f={};return _0x41b50f[_0x192265(0xdb)]=_0x22d1ba[_0x192265(0xc6)],_0x3e6720[_0x192265(0xbb)]=[_0x41b50f],_0x3e6720;}const _0x20c1ec=TestInfo[_0x192265(0xed)](_0x4ba53e),_0x5c0e32=_0x59b171[_0x192265(0x102)][_0x192265(0x10b)](_0x111898=>_0x111898['id']===_0x38d1b6['hookId']),_0x2335d1=_0x4b3ff5[_0x192265(0x11e)](nestedKeyValue,_0x5c0e32,[_0x4b3ff5[_0x192265(0xff)],_0x4b3ff5[_0x192265(0xf0)]]),_0x238a9f=new Date()['toISOString'](),_0x188cb0=_0x4b3ff5[_0x192265(0xd1)],_0x11cf95=_0x5c0e32[_0x192265(0xb1)]?_0x5c0e32[_0x192265(0xb1)][_0x192265(0xc1)]('\x20')['filter'](_0x25e4a0=>_0x25e4a0[_0x192265(0xb6)]('@')):[],_0x4936fd={'uuid':_0x38d1b6['id'],'type':_0x4b3ff5[_0x192265(0x108)],'hook_type':_0x25c216,'name':_0x5c0e32['name'],'body':{'lang':_0x4b3ff5[_0x192265(0xb2)],'code':null},'tags':_0x11cf95,'test_run_id':_0x20c1ec,'scope':_0x4b3ff5[_0x192265(0xec)](nestedKeyValue,_0x328ff5,[_0x4b3ff5[_0x192265(0x106)],_0x4b3ff5[_0x192265(0xf9)]]),'scopes':[_0x4b3ff5[_0x192265(0xc0)](nestedKeyValue,_0x328ff5,[_0x4b3ff5[_0x192265(0x106)],_0x4b3ff5[_0x192265(0xf9)]])||''],'file_name':_0x2335d1,'location':_0x2335d1,'vc_filepath':this[_0x192265(0xae)]?path['relative'](this['_gitConfigPath'],_0x2335d1):null,'result':_0x188cb0,'started_at':_0x238a9f,'framework':_0x4b3ff5['ddOUo']};return _0x4936fd;}catch(_0x5f4139){logger['debug']('Exception\x20in\x20getHookRunEventData:\x20'+util[_0x192265(0xe1)](_0x5f4139)+'\x20');}}async[a118_0x3f35ea(0xd3)](_0x32f3ed,_0x5b64f5,_0x4ca8d0,_0x104128,_0x4462d7,_0x50ac4f){const _0x18f43a=a118_0x3f35ea,_0x4364ca={'aDWtK':function(_0x3a50eb,_0x2bceed){return _0x3a50eb===_0x2bceed;},'AwTOo':_0x18f43a(0xb3),'lYaKp':function(_0x2d51bb,_0x19bee2,_0x9cd80f){return _0x2d51bb(_0x19bee2,_0x9cd80f);},'cmzcM':_0x18f43a(0xdd),'KQfxH':_0x18f43a(0xe2),'rQwFb':_0x18f43a(0xc8),'IoqbZ':_0x18f43a(0x10a)};try{const _0x36780b=_0x104128[_0x18f43a(0x10b)](_0x1d42b3=>_0x1d42b3['id']===_0x4462d7);if(!_0x36780b[_0x18f43a(0xc5)])return;const _0xd6dba9=this[_0x18f43a(0xa3)](_0x104128,_0x36780b),_0x81c801=this[_0x18f43a(0x10c)](_0x32f3ed,_0x5b64f5,_0x4ca8d0,_0x36780b,_0x50ac4f,_0xd6dba9);if(!_0x81c801)return;_0x4364ca[_0x18f43a(0x120)](_0x4ca8d0,_0x4364ca[_0x18f43a(0x12f)])&&(hooksMap[_0x5b64f5]?hooksMap[_0x5b64f5][_0x18f43a(0xea)](_0x81c801):hooksMap[_0x5b64f5]=[_0x81c801]);const _0x40e7d7=_0x32f3ed['hooks'][_0x18f43a(0x10b)](_0x191990=>_0x191990['id']===_0x36780b['hookId']),_0x38f376=_0x4364ca[_0x18f43a(0x109)](nestedKeyValue,_0x40e7d7,[_0x4364ca[_0x18f43a(0x121)],_0x4364ca['KQfxH']]);if(!_0x38f376)return;else{if(_0x38f376[_0x18f43a(0xb6)](_0x4364ca[_0x18f43a(0xde)]))return;}if(_0x4364ca[_0x18f43a(0x120)](_0x81c801[_0x18f43a(0x119)],_0x4364ca[_0x18f43a(0x12b)]))return;return _0x81c801;}catch(_0x491230){logger[_0x18f43a(0xef)](_0x18f43a(0xeb)+util[_0x18f43a(0xe1)](_0x491230)+'\x20');}}['getHookResult'](_0x3b147c,_0x2849c4){const _0x37808f=a118_0x3f35ea,_0x3a460a={};_0x3a460a[_0x37808f(0x110)]=function(_0x1c0997,_0x316718){return _0x1c0997===_0x316718;},_0x3a460a[_0x37808f(0xbe)]=_0x37808f(0x10f),_0x3a460a[_0x37808f(0xc2)]=_0x37808f(0x127),_0x3a460a[_0x37808f(0xe4)]=_0x37808f(0x123),_0x3a460a['jEKok']=function(_0x4e77c8,_0x28f8c0){return _0x4e77c8||_0x28f8c0;};const _0x9eaee7=_0x3a460a,_0x31e45a=_0x3b147c[_0x37808f(0xf7)][_0x2849c4][_0x37808f(0x101)];let _0x2de755,_0x20a0f6;return _0x31e45a&&_0x9eaee7[_0x37808f(0x110)](_0x31e45a[_0x37808f(0xd6)][_0x37808f(0xa6)]()[_0x37808f(0x107)](),_0x9eaee7[_0x37808f(0xbe)])&&(_0x2de755=_0x9eaee7[_0x37808f(0x110)](_0x31e45a[_0x37808f(0xb0)],undefined)?_0x31e45a[_0x37808f(0x104)]:_0x31e45a['exception']['message'],_0x20a0f6=_0x9eaee7[_0x37808f(0x110)](_0x31e45a[_0x37808f(0xb0)],undefined)?_0x9eaee7[_0x37808f(0xc2)]:_0x31e45a[_0x37808f(0x104)][_0x37808f(0x113)](/Assert/)?_0x9eaee7[_0x37808f(0xe4)]:_0x9eaee7[_0x37808f(0xc2)]),{'status':_0x31e45a[_0x37808f(0xd6)][_0x37808f(0x107)](),'failureType':_0x9eaee7[_0x37808f(0xbf)](_0x20a0f6,null),'failureData':!_0x2de755?null:[_0x2de755]};}[a118_0x3f35ea(0xa3)](_0x450816,_0x1adedf){const _0x1f28be=a118_0x3f35ea,_0x23a9ff={};_0x23a9ff[_0x1f28be(0x12e)]=function(_0x55912a,_0x5ae13d){return _0x55912a===_0x5ae13d;},_0x23a9ff[_0x1f28be(0x118)]=_0x1f28be(0xbc),_0x23a9ff[_0x1f28be(0x122)]=_0x1f28be(0x112);const _0x2a9cb4=_0x23a9ff;let _0x1f5765=![];for(const _0x4c2705 of _0x450816){_0x4c2705['pickleStepId']&&(_0x1f5765=!![]);if(_0x2a9cb4[_0x1f28be(0x12e)](_0x1adedf['id'],_0x4c2705['id']))return _0x1f5765?_0x2a9cb4['FJKKx']:_0x2a9cb4[_0x1f28be(0x122)];}}[a118_0x3f35ea(0xe7)]=(_0x21c50f,_0x2b0b5d)=>{const _0x1a37ec=a118_0x3f35ea,_0x3e3c2d={};_0x3e3c2d[_0x1a37ec(0xc4)]=function(_0x5d749f,_0x521252){return _0x5d749f===_0x521252;},_0x3e3c2d[_0x1a37ec(0xcc)]=function(_0x529135,_0xfb4524){return _0x529135===_0xfb4524;},_0x3e3c2d[_0x1a37ec(0xf5)]=function(_0x2e28f2,_0x1168be){return _0x2e28f2>_0x1168be;};const _0x4ed080=_0x3e3c2d;if(!(_0x2b0b5d[_0x1a37ec(0xce)]&&_0x4ed080['UdBTZ'](_0x2b0b5d['astNodeIds'][_0x1a37ec(0x12d)],0x1)))return;const _0x31840c=_0x2b0b5d[_0x1a37ec(0xce)][0x0],_0xd3fe0a=_0x2b0b5d[_0x1a37ec(0xce)][0x1],_0x3caad3=_0x21c50f['feature']&&_0x21c50f['feature'][_0x1a37ec(0xf2)]?_0x21c50f[_0x1a37ec(0xa8)]['children']:undefined;let _0x4a9a3a=[];_0x3caad3&&_0x3caad3[_0x1a37ec(0xfc)](_0x4a8507=>{const _0x10a5d2=_0x1a37ec;if(_0x4a8507[_0x10a5d2(0x100)])_0x4a8507[_0x10a5d2(0x100)][_0x10a5d2(0xf2)][_0x10a5d2(0xfc)](_0x4a4193=>{const _0x375468=_0x10a5d2;if(_0x4a4193[_0x375468(0xb5)]&&_0x4ed080[_0x375468(0xc4)](_0x4a4193[_0x375468(0xb5)]['id'],_0x31840c)&&_0x4a4193[_0x375468(0xb5)][_0x375468(0xcb)]){const _0x97095=_0x4a4193[_0x375468(0xb5)][_0x375468(0xcb)][_0x375468(0x12c)](_0x39568e=>_0x39568e[_0x375468(0x125)])[_0x375468(0x10b)](_0x29493d=>_0x29493d['id']===_0xd3fe0a);let _0x209707;_0x97095&&_0x97095[_0x375468(0xaf)]?_0x209707=_0x97095[_0x375468(0xaf)][_0x375468(0xab)](_0xe0154c=>_0xe0154c[_0x375468(0xa4)]):_0x209707=[],_0x209707&&(_0x4a9a3a=_0x209707);}});else{if(_0x4a8507['scenario']&&_0x4ed080[_0x10a5d2(0xcc)](_0x4a8507['scenario']['id'],_0x31840c)&&_0x4a8507[_0x10a5d2(0xb5)][_0x10a5d2(0xcb)]){const _0xdfd928=_0x4a8507['scenario'][_0x10a5d2(0xcb)][_0x10a5d2(0x12c)](_0x2aca75=>_0x2aca75[_0x10a5d2(0x125)])[_0x10a5d2(0x10b)](_0x32a8e1=>_0x32a8e1['id']===_0xd3fe0a);let _0x252d8f;_0xdfd928&&_0xdfd928[_0x10a5d2(0xaf)]?_0x252d8f=_0xdfd928['cells'][_0x10a5d2(0xab)](_0x1d5e6b=>_0x1d5e6b[_0x10a5d2(0xa4)]):_0x252d8f=[],_0x252d8f&&(_0x4a9a3a=_0x252d8f);}}});if(_0x4a9a3a[_0x1a37ec(0x12d)])return _0x4a9a3a;return;};async[a118_0x3f35ea(0xd2)](){const _0x15e75d=a118_0x3f35ea,_0xa2a3b9={'QfnoI':function(_0x14d192){return _0x14d192();}};if(this[_0x15e75d(0x128)])return this[_0x15e75d(0xae)];const _0x223c3f=await _0xa2a3b9[_0x15e75d(0x11f)](getGitMetaData);_0x223c3f&&(this[_0x15e75d(0xae)]=_0x223c3f['root']),this[_0x15e75d(0x128)]=!![];}}module[a118_0x3f35ea(0xf3)]=o11yClassErrorHandler(CucumberUtils,[a118_0x3f35ea(0xd2),a118_0x3f35ea(0xe7),a118_0x3f35ea(0xa3),a118_0x3f35ea(0xe3),a118_0x3f35ea(0xaa),'getHookRunEventData',a118_0x3f35ea(0x10e),a118_0x3f35ea(0xfe)]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a119_0x3720e1=a119_0x4236;(function(_0x5359a1,_0x34f5e7){const _0x2eef82=a119_0x4236,_0x241af4=_0x5359a1();while(!![]){try{const _0x280fd8=-parseInt(_0x2eef82(0x111))/0x1*(parseInt(_0x2eef82(0x12e))/0x2)+-parseInt(_0x2eef82(0xfa))/0x3*(parseInt(_0x2eef82(0xa0))/0x4)+-parseInt(_0x2eef82(0xc1))/0x5+-parseInt(_0x2eef82(0x137))/0x6+-parseInt(_0x2eef82(0xc5))/0x7*(-parseInt(_0x2eef82(0xe3))/0x8)+parseInt(_0x2eef82(0xa4))/0x9+-parseInt(_0x2eef82(0x136))/0xa*(-parseInt(_0x2eef82(0xb6))/0xb);if(_0x280fd8===_0x34f5e7)break;else _0x241af4['push'](_0x241af4['shift']());}catch(_0x592bab){_0x241af4['push'](_0x241af4['shift']());}}}(a119_0xc62e,0xcc569));function a119_0x4236(_0x3a6e1c,_0x1378df){const _0xc62e19=a119_0xc62e();return a119_0x4236=function(_0x423625,_0x2c371e){_0x423625=_0x423625-0x8d;let _0x328c55=_0xc62e19[_0x423625];return _0x328c55;},a119_0x4236(_0x3a6e1c,_0x1378df);}const path=require(a119_0x3720e1(0xea)),util=require(a119_0x3720e1(0xce)),crypto=require(a119_0x3720e1(0xc4)),{getGitMetaData,isUndefined,nestedKeyValue}=require(a119_0x3720e1(0xe0)),logger=require(a119_0x3720e1(0xeb))['winstonLogger'],{o11yClassErrorHandler}=require('../../../helpers/test-observability/error-handler.js'),TestInfo=require(a119_0x3720e1(0x141)),{failureData,getFailureType,PathHelper}=require(a119_0x3720e1(0xb5)),stackTrace=require(a119_0x3720e1(0x102)),{pickUserFrameFile}=require(a119_0x3720e1(0xb7)),a119_0x38000a={};function a119_0xc62e(){const _0x3050ac=['includes','vjIxw','EpnuK','update','XXzMk','getName','nXAYU','TestRunSkipped','currentTest','3001638bqcTUz','createTestFrameworkData','mlnrL','hex','toString','expect','clearHooksMap','getHierarchy','6730690hyomnD','4098690vIWrQF','getState','ybxOt','uUWqX','prefixTestPath','asyncError','GMCQD','KEeBY',',\x20hookUUID:\x20','duration','../TestInfo.js','Creating\x20hook\x20data\x20for\x20eventType:\x20','skipped','md5','testIdentifier','[jestUtils]\x20Error\x20getting\x20test\x20identifier:\x20','\x22\x20hook\x20for\x20\x22','_gitConfigPath','lPcfG','parent','jest','hooks','RxQFi','find','jest-circus','dzVZN','extractTestFilePath','started_at','retryOf','eDMMA','backtrace','4BphvJV','getRootParentFile','[jestUtils]\x20No\x20test\x20object\x20provided','title','5159439QIfpjA','ajcBF','AFTER_ALL','createHookData','__jestCurrentTestIdentifier','now','pid','format','zHsjt','\x20from\x20compositeKey:\x20','dCStB','BuUXA','Exception\x20in\x20createTestFrameworkData:\x20','oUgnq','[jestUtils]\x20Created\x20identifier:\x20','ANxLP','finished_at','../../../helpers/test-observability/utils','55pIzouA','../../../helpers/stackFrameUtils','cwd','pending','Creating\x20test\x20framework\x20data\x20for\x20eventType:\x20','AFTER_EACH','AYIwe','pAHgl','getTestIdentifier','jwTNQ','stack','6607430DAMBJa','failed','getHookRunEventData','crypto','7LsiatS','configureGit','BEFORE_ALL','hook','length','Fjsmv','root','apply','getTime','util','KBODo','Exception\x20in\x20checking\x20if\x20hook\x20is\x20internal:\x20',',\x20testRunId:\x20','GxIhD','[jestUtils]\x20Error\x20creating\x20identifier:\x20','reverse','EAmxq','recreateIdentifierFromTestInfo','substring','relative','Unknown\x20Test','createHash','No\x20hook\x20data\x20provided\x20for\x20jest\x20hook\x20event','digest','wCLMg','name','lRnJO','../../../helpers/helper.js','toISOString','Aaqey','3241240pDsliL','failure_data','RfmmG','NzqJQ','displayName','type','inspect','path','../../../helpers/logger.js','file','qICdD','createIdentifierFromJestTest','_paths','PGNBV','testAnalyticsId','match','startedAt','failure','testPath','errorsDetailed','toUpperCase','No\x20test\x20data\x20provided\x20for\x20jest\x20test\x20event','Exception\x20in\x20createHookData:\x20','4146BJORIh','ndTun','err','test','hYBqN','aZaLc','failure_reason','failure_type','stack-trace','xkzeQ','createJestTestIdentifier','call','DxHLF','error','parse','[jestUtils]\x20Error\x20parsing\x20asyncError\x20stack\x20trace:\x20','[jestUtils]\x20expect.getState()\x20not\x20available:\x20','fullName','_gitConfigured','lLKEq','beforeEach','javascript','CpbCy','1BxcIvE','MwHJb','Exception\x20in\x20getHookRunEventData:\x20','ROOT_DESCRIBE_BLOCK','YzIwk','errors','TestRunFinished','AAobR','exports','JQwQs','passed','TpUqp','sPVTT','debug','[jestUtils]\x20No\x20testInfo\x20provided\x20for\x20recreation',',\x20testIdentifier:\x20','Failed\x20to\x20get\x20root\x20parent\x20file:\x20','CEcxZ','crwtN','getFileName'];a119_0xc62e=function(){return _0x3050ac;};return a119_0xc62e();}a119_0x38000a['beforeAll']=a119_0x3720e1(0xc7),a119_0x38000a['afterAll']=a119_0x3720e1(0xa6),a119_0x38000a[a119_0x3720e1(0x10e)]='BEFORE_EACH',a119_0x38000a['afterEach']=a119_0x3720e1(0xbb);const HOOK_TYPES_MAP=a119_0x38000a,hooksMap={};class JestUtils{constructor(){const _0x255361=a119_0x3720e1;this[_0x255361(0x10c)]=![],this[_0x255361(0x92)]=null,this[_0x255361(0xef)]=new PathHelper({'cwd':process[_0x255361(0xb8)]()},undefined);}async[a119_0x3720e1(0x12f)](_0xb8d33e,_0x3df255,_0xda15f4='TestRunFinished',_0x2b999e=undefined){const _0x4f6c72=a119_0x3720e1,_0x2df889={'qICdD':_0x4f6c72(0xf8),'oAizG':_0x4f6c72(0x99),'crwtN':'File\x20path\x20could\x20not\x20be\x20found','eDMMA':function(_0x134833,_0x644fec){return _0x134833!==_0x644fec;},'ybxOt':'test','pAHgl':_0x4f6c72(0xfc),'lRnJO':function(_0x5d1187,_0x2ad10a){return _0x5d1187!==_0x2ad10a;},'DCaPM':_0x4f6c72(0xb9),'VYXSo':function(_0x424b1b,_0x4dd6e0){return _0x424b1b===_0x4dd6e0;},'NzqJQ':_0x4f6c72(0x12c),'BGlWK':_0x4f6c72(0x8d),'ajcBF':function(_0x21dcec,_0x5c6598){return _0x21dcec===_0x5c6598;},'ndTun':_0x4f6c72(0x117),'sPVTT':function(_0x587a40,_0x4a78c6){return _0x587a40>_0x4a78c6;},'Aaqey':'failed','BuUXA':'passed','nXAYU':function(_0x52b7e5,_0x14e034){return _0x52b7e5-_0x14e034;},'PGNBV':'javascript','GMCQD':_0x4f6c72(0x95),'IziqD':function(_0x29424e,_0x11500a){return _0x29424e(_0x11500a);},'DxHLF':function(_0x571675,_0x1b079a){return _0x571675===_0x1b079a;},'hYBqN':function(_0x746a59,_0x593ef4){return _0x746a59===_0x593ef4;},'YVvJE':function(_0x148424,_0x411295){return _0x148424===_0x411295;}};logger[_0x4f6c72(0x11e)](_0x4f6c72(0xba)+_0xda15f4+_0x4f6c72(0x120)+_0x3df255);try{if(!_0xb8d33e)return logger[_0x4f6c72(0x11e)](_0x2df889[_0x4f6c72(0xed)]),null;if(_0xb8d33e['fn']&&_0xb8d33e['fn'][_0x4f6c72(0x132)]()[_0x4f6c72(0xf2)](/browserstack internal helper hook/))return null;await this['configureGit']();let _0x31b490;try{_0x31b490=this['getRootParentFile'](_0xb8d33e);if(_0x31b490&&_0x31b490[_0x4f6c72(0x125)](_0x2df889['oAizG']))return null;}catch(_0x4ef414){logger[_0x4f6c72(0x11e)](_0x4f6c72(0x121)+util[_0x4f6c72(0xab)](_0x4ef414)),_0x31b490=null;}const _0x423871=this[_0x4f6c72(0x135)](_0xb8d33e),_0x17b711=this[_0x4f6c72(0x12a)](_0xb8d33e),_0x1daeae=_0x31b490?this[_0x4f6c72(0xef)][_0x4f6c72(0x13b)](_0x31b490):_0x2df889[_0x4f6c72(0x123)];let _0x10a410=[];const _0x306c5a=_0xb8d33e[_0x4f6c72(0xf6)]||_0xb8d33e[_0x4f6c72(0x116)];if(_0x2df889[_0x4f6c72(0x9e)](_0x306c5a,undefined))_0x10a410=[_0x306c5a,_0x2df889[_0x4f6c72(0x139)]];else _0x2df889[_0x4f6c72(0x9e)](_0x2b999e,undefined)&&(_0x10a410=[_0x2b999e,_0x2df889[_0x4f6c72(0xbd)]]);const _0x219a0d=_0x2df889['lRnJO'](_0x306c5a,undefined)?util[_0x4f6c72(0xe9)](_0x306c5a[0x0]):_0x2df889[_0x4f6c72(0xdf)](_0x2b999e,undefined)?_0x2b999e['toString']():undefined;let _0x25b1fb=_0x2df889['DCaPM'];if(_0x2df889['VYXSo'](_0xda15f4,_0x2df889[_0x4f6c72(0xe6)]))_0x25b1fb=_0x2df889['BGlWK'];else _0x2df889[_0x4f6c72(0xa5)](_0xda15f4,_0x2df889[_0x4f6c72(0xfb)])&&(_0x306c5a&&_0x2df889[_0x4f6c72(0x11d)](_0x306c5a[_0x4f6c72(0xc9)],0x0)?_0x25b1fb=_0x2df889[_0x4f6c72(0xe2)]:_0x25b1fb=_0x2df889[_0x4f6c72(0xaf)]);let _0x4c214f=null;if(_0x2df889[_0x4f6c72(0x9e)](_0xb8d33e[_0x4f6c72(0x140)],undefined))_0x4c214f=_0xb8d33e[_0x4f6c72(0x140)];else(_0xda15f4[_0x4f6c72(0xf2)](/Finished/)||_0xda15f4[_0x4f6c72(0xf2)](/Skipped/))&&(_0xb8d33e['started_at']&&(_0x4c214f=_0x2df889[_0x4f6c72(0x12b)](Date[_0x4f6c72(0xa9)](),new Date(_0xb8d33e[_0x4f6c72(0x9c)])[_0x4f6c72(0xcd)]())));const _0x502536=_0xb8d33e['fn']?_0xb8d33e['fn'][_0x4f6c72(0x132)]():null,_0x144035={'id':_0x3df255,'uuid':_0x3df255,'startedAt':_0xb8d33e[_0x4f6c72(0x9c)]||new Date()[_0x4f6c72(0xe1)](),'finishedAt':_0xda15f4[_0x4f6c72(0xf2)](/Finished/)||_0xda15f4['match'](/Skipped/)?new Date()[_0x4f6c72(0xe1)]():null,'type':_0x2df889['ybxOt'],'body':{'lang':_0x2df889[_0x4f6c72(0xf0)],'code':_0x502536},'name':_0x17b711,'errorsDetailed':_0x2df889[_0x4f6c72(0x11d)](_0x306c5a?.[_0x4f6c72(0xc9)],0x0)?_0x306c5a[0x0]:_0x306c5a?_0x306c5a:undefined,'scopes':_0x423871,'file_name':_0x1daeae,'location':_0x1daeae,'vc_filepath':this[_0x4f6c72(0x92)]&&_0x31b490?path[_0x4f6c72(0xd8)](this[_0x4f6c72(0x92)],_0x31b490):null,'framework':_0x2df889[_0x4f6c72(0x13d)],'result':_0x25b1fb,'failure_reason':_0x219a0d,'duration_in_ms':_0x4c214f,'failure':failureData[_0x4f6c72(0xcc)](null,_0x10a410),'failure_type':!_0x219a0d?null:_0x2df889['IziqD'](getFailureType,_0x219a0d),'retry_of':_0xb8d33e[_0x4f6c72(0x9d)]||null,'customRerunParam':{'rerun_name':_0x17b711}};_0x2df889[_0x4f6c72(0x106)](_0xda15f4,_0x2df889[_0x4f6c72(0xe6)])&&!_0x144035['startedAt']&&(_0x144035[_0x4f6c72(0xf3)]=_0x144035['finishedAt']);const _0x26f56c=_0x144035[_0x4f6c72(0xf4)]&&_0x144035['failure'][0x0];return _0x26f56c&&(_0x144035['failure_backtrace']=_0x26f56c[_0x4f6c72(0x9f)],_0x144035['failure_reason_expanded']=_0x26f56c['expanded']),(_0x2df889[_0x4f6c72(0xfe)](_0xda15f4,_0x2df889[_0x4f6c72(0xfb)])||_0x2df889['YVvJE'](_0xda15f4,_0x2df889[_0x4f6c72(0xe6)]))&&(_0xb8d33e[_0x4f6c72(0x96)]&&(_0x144035[_0x4f6c72(0x96)]=_0xb8d33e[_0x4f6c72(0x96)])),_0x144035;}catch(_0x400ecd){return logger[_0x4f6c72(0x11e)](_0x4f6c72(0xb0)+util[_0x4f6c72(0xab)](_0x400ecd)),null;}}async[a119_0x3720e1(0xa7)](_0x2a8022,_0x92fb68,_0x20bdbb,_0x256ed7){const _0x565ef6=a119_0x3720e1,_0x152fb2={'XXzMk':_0x565ef6(0xdb),'CEcxZ':_0x565ef6(0x99),'wZJtw':'browserstack-node-agent/src/bin/jest','ANxLP':'unknown','YzIwk':'pending','AAobR':function(_0x59c402,_0x4981f2){return _0x59c402===_0x4981f2;},'PGowI':'HookRunFinished','gliCi':function(_0x1e94bb,_0x432aa9){return _0x1e94bb>_0x432aa9;},'dTUKR':_0x565ef6(0xc2),'lPcfG':function(_0x581597,_0x251065){return _0x581597(_0x251065);},'jCsJa':'test','irKkT':_0x565ef6(0x11b),'Fjsmv':_0x565ef6(0xc8),'MwHJb':_0x565ef6(0x10f),'dCStB':_0x565ef6(0x95),'GxIhD':'HookRunStarted'};logger[_0x565ef6(0x11e)](_0x565ef6(0x142)+_0x20bdbb+_0x565ef6(0x13f)+_0x92fb68+_0x565ef6(0xd1)+_0x256ed7);try{if(!_0x2a8022)return logger[_0x565ef6(0x11e)](_0x152fb2[_0x565ef6(0x129)]),null;if(this['isJestInternalHook'](_0x2a8022))return null;await this[_0x565ef6(0xc6)]();let _0x1e0634=null;try{_0x1e0634=this['getRootParentFile'](_0x2a8022);if(_0x1e0634&&_0x1e0634[_0x565ef6(0x125)](_0x152fb2[_0x565ef6(0x122)]))return null;if(_0x1e0634&&_0x1e0634['includes'](_0x152fb2['wZJtw']))return null;}catch(_0x2bc688){logger['debug']('Failed\x20to\x20get\x20hook\x20file\x20path:\x20'+util[_0x565ef6(0xab)](_0x2bc688));}const _0x239e94=_0x1e0634?this[_0x565ef6(0xef)]['prefixTestPath'](_0x1e0634):_0x1e0634,_0xd6e753=this[_0x565ef6(0x12a)](_0x2a8022),_0x4e3ec2=_0x2a8022[_0x565ef6(0xe8)]||_0x152fb2[_0x565ef6(0xb3)],_0x5a25da=HOOK_TYPES_MAP[_0x4e3ec2]||_0x4e3ec2[_0x565ef6(0xf7)](),_0xff8817=_0x2a8022[_0x565ef6(0x94)]&&_0x2a8022['parent'][_0x565ef6(0xde)]?_0x2a8022[_0x565ef6(0x94)][_0x565ef6(0xde)]:'';let _0x377ed9=_0x152fb2[_0x565ef6(0x115)],_0x13a31f=null,_0x2e4fd3=null,_0x4a692c=null,_0x21bd13=null;_0x152fb2['AAobR'](_0x20bdbb,_0x152fb2['PGowI'])&&(_0x21bd13=new Date()['toISOString'](),_0x2a8022[_0x565ef6(0xf6)]&&_0x152fb2['gliCi'](_0x2a8022[_0x565ef6(0xf6)]['length'],0x0)?(_0x377ed9=_0x152fb2['dTUKR'],_0x2e4fd3=util[_0x565ef6(0xe9)](_0x2a8022['errorsDetailed'][0x0]),_0x13a31f=_0x152fb2[_0x565ef6(0x93)](getFailureType,_0x2e4fd3),_0x4a692c=failureData[_0x565ef6(0xcc)](null,[_0x2a8022[_0x565ef6(0xf6)],_0x152fb2['jCsJa']])):_0x377ed9=_0x152fb2['irKkT']);const _0x2f7988={'uuid':_0x92fb68,'type':_0x152fb2[_0x565ef6(0xca)],'hook_type':_0x5a25da,'name':_0xd6e753,'body':{'lang':_0x152fb2[_0x565ef6(0x112)],'code':_0x2a8022['fn']?_0x2a8022['fn'][_0x565ef6(0x132)]():null},'tags':[],'test_run_id':_0x256ed7,'scope':_0xff8817,'scopes':[_0xff8817],'file_name':_0x239e94,'location':_0x239e94,'vc_filepath':this[_0x565ef6(0x92)]&&_0x1e0634?path[_0x565ef6(0xd8)](this[_0x565ef6(0x92)],_0x1e0634):null,'result':_0x377ed9,'started_at':_0x2a8022[_0x565ef6(0x9c)]||new Date()[_0x565ef6(0xe1)](),'finished_at':_0x21bd13,'failure_type':_0x13a31f,'failure_reason':_0x2e4fd3,'failure_data':_0x4a692c,'framework':_0x152fb2[_0x565ef6(0xae)]};return _0x152fb2[_0x565ef6(0x118)](_0x20bdbb,_0x152fb2[_0x565ef6(0xd2)])&&(hooksMap[_0x256ed7]?hooksMap[_0x256ed7]['push'](_0x2f7988):hooksMap[_0x256ed7]=[_0x2f7988]),_0x2f7988;}catch(_0x504857){return logger[_0x565ef6(0x11e)](_0x565ef6(0xf9)+util[_0x565ef6(0xab)](_0x504857)),null;}}[a119_0x3720e1(0xc3)](_0x4b4bf2,_0x36ad35,_0x510af6){const _0x5c366c=a119_0x3720e1,_0x5bc3c1={'dzVZN':function(_0x541a3e,_0x14f211){return _0x541a3e>_0x14f211;},'uUWqX':_0x5c366c(0xc2),'gQIcd':function(_0x254388,_0x472ed7){return _0x254388(_0x472ed7);},'Ftbdx':_0x5c366c(0xfd),'sZbit':_0x5c366c(0x11b)};try{const _0x3998b5=hooksMap[_0x4b4bf2];if(!_0x3998b5)return null;const _0x53371d=_0x3998b5[_0x5c366c(0x98)](_0x592ecb=>_0x592ecb['uuid']===_0x36ad35);if(!_0x53371d)return null;return _0x53371d[_0x5c366c(0xb4)]=new Date()[_0x5c366c(0xe1)](),_0x510af6[_0x5c366c(0xf6)]&&_0x5bc3c1[_0x5c366c(0x9a)](_0x510af6[_0x5c366c(0xf6)][_0x5c366c(0xc9)],0x0)?(_0x53371d['result']=_0x5bc3c1[_0x5c366c(0x13a)],_0x53371d[_0x5c366c(0x100)]=util[_0x5c366c(0xe9)](_0x510af6[_0x5c366c(0xf6)][0x0]),_0x53371d[_0x5c366c(0x101)]=_0x5bc3c1['gQIcd'](getFailureType,_0x53371d['failure_reason']),_0x53371d[_0x5c366c(0xe4)]=failureData[_0x5c366c(0xcc)](null,[_0x510af6[_0x5c366c(0xf6)],_0x5bc3c1['Ftbdx']])):_0x53371d['result']=_0x5bc3c1['sZbit'],_0x53371d;}catch(_0x446a5c){return logger['debug'](_0x5c366c(0x113)+util['format'](_0x446a5c)),null;}}[a119_0x3720e1(0x12a)](_0x5ed1dc){const _0x3c00d3=a119_0x3720e1,_0x3829d4={};_0x3829d4[_0x3c00d3(0xe5)]=function(_0x1f7f8f,_0x2c6ce5){return _0x1f7f8f!==_0x2c6ce5;},_0x3829d4['oUgnq']='test',_0x3829d4[_0x3c00d3(0x10d)]=_0x3c00d3(0xd9);const _0x312d67=_0x3829d4;if(_0x312d67[_0x3c00d3(0xe5)](_0x5ed1dc[_0x3c00d3(0xe8)],_0x312d67[_0x3c00d3(0xb1)]))return'\x22'+_0x5ed1dc[_0x3c00d3(0xe8)]+_0x3c00d3(0x91)+(_0x5ed1dc[_0x3c00d3(0x94)]&&_0x5ed1dc[_0x3c00d3(0x94)][_0x3c00d3(0xde)])+'\x22';return _0x5ed1dc[_0x3c00d3(0xde)]||_0x312d67[_0x3c00d3(0x10d)];}[a119_0x3720e1(0x135)](_0xacae27){const _0x35409c=a119_0x3720e1,_0x163932={};_0x163932[_0x35409c(0x11a)]=function(_0x155c8c,_0x558313){return _0x155c8c!==_0x558313;},_0x163932['wCLMg']=function(_0x2a2d9f,_0x3d3140){return _0x2a2d9f!==_0x3d3140;},_0x163932[_0x35409c(0x110)]=_0x35409c(0x114);const _0x2126b7=_0x163932,_0x2b811c=[];if(_0xacae27&&_0xacae27[_0x35409c(0x94)]){let _0x355eb5=_0xacae27[_0x35409c(0x94)];while(_0x355eb5&&_0x355eb5[_0x35409c(0xde)]&&_0x2126b7[_0x35409c(0x11a)](_0x355eb5[_0x35409c(0xde)],'')&&_0x2126b7[_0x35409c(0xdd)](_0x355eb5[_0x35409c(0xde)],_0x2126b7[_0x35409c(0x110)])){_0x2b811c['push'](_0x355eb5[_0x35409c(0xde)]),_0x355eb5=_0x355eb5['parent'];}}return _0x2b811c[_0x35409c(0xd4)](),_0x2b811c;}[a119_0x3720e1(0xa1)](_0x3ecf23){const _0x2f2799=a119_0x3720e1,_0xdffca3={'TpUqp':function(_0x2fe054,_0xc44710){return _0x2fe054(_0xc44710);}};if(_0x3ecf23[_0x2f2799(0xec)])return _0x3ecf23['file'];if(_0x3ecf23[_0x2f2799(0x13c)])try{const _0x1bcef0=stackTrace[_0x2f2799(0x108)][_0x2f2799(0x105)](stackTrace,_0x3ecf23[_0x2f2799(0x13c)]),_0x189b63=_0xdffca3[_0x2f2799(0x11c)](pickUserFrameFile,_0x1bcef0);if(_0x189b63)return _0x189b63;logger[_0x2f2799(0x11e)]('[jestUtils]\x20pickUserFrameFile\x20found\x20no\x20user\x20frame\x20(trace\x20length='+_0x1bcef0['length']+')');}catch(_0x317b5f){logger[_0x2f2799(0x11e)]('Error\x20parsing\x20asyncError\x20stack\x20trace:\x20'+util['format'](_0x317b5f));}return null;}['isJestInternalHook'](_0x2844ae){const _0x15df59=a119_0x3720e1,_0x3d941f={};_0x3d941f[_0x15df59(0x103)]=_0x15df59(0x99);const _0x1cc013=_0x3d941f;try{const _0x202e4=this[_0x15df59(0xa1)](_0x2844ae);if(!_0x202e4||_0x202e4['includes'](_0x1cc013[_0x15df59(0x103)]))return!![];}catch(_0xe42825){logger[_0x15df59(0x11e)](_0x15df59(0xd0)+util[_0x15df59(0xab)](_0xe42825));}return![];}['getTestIdentifier'](_0x4b7c78=null){const _0x121176=a119_0x3720e1;try{const _0x31c4ca=_0x4b7c78||global['__workerDetails']||{};if(global[_0x121176(0xa8)])return global[_0x121176(0xa8)];if(_0x31c4ca?.['currentTest']?.[_0x121176(0xf1)])return _0x31c4ca[_0x121176(0x12d)][_0x121176(0xf1)];if(_0x31c4ca?.['currentTest']?.['id'])return _0x31c4ca[_0x121176(0x12d)]['id'];return null;}catch(_0x36f873){return logger[_0x121176(0x11e)](_0x121176(0x90)+util[_0x121176(0xab)](_0x36f873)),null;}}async['configureGit'](){const _0x5eb14a=a119_0x3720e1,_0x316c00={'zHsjt':function(_0x526e13){return _0x526e13();}};if(this['_gitConfigured'])return this[_0x5eb14a(0x92)];const _0x226742=await _0x316c00[_0x5eb14a(0xac)](getGitMetaData);_0x226742&&(this[_0x5eb14a(0x92)]=_0x226742[_0x5eb14a(0xcb)]),this[_0x5eb14a(0x10c)]=!![];}['clearHooksMap'](_0x56f887){hooksMap[_0x56f887]&&delete hooksMap[_0x56f887];}[a119_0x3720e1(0x9b)](_0x214674){const _0x3d6076=a119_0x3720e1,_0x2c809d={'KBODo':_0x3d6076(0x99),'jwTNQ':function(_0x43cd19,_0x3be5dd){return _0x43cd19(_0x3be5dd);},'ETMdB':_0x3d6076(0x133)};if(_0x214674['file'])return _0x214674[_0x3d6076(0xec)];if(_0x214674[_0x3d6076(0x13c)]){try{const _0x2775a2=stackTrace[_0x3d6076(0x108)](_0x214674[_0x3d6076(0x13c)]);if(_0x2775a2[0x0]&&_0x2775a2[0x0][_0x3d6076(0x124)]){const _0x13b439=_0x2775a2[0x0][_0x3d6076(0x124)]();if(_0x13b439&&!_0x13b439['includes'](_0x2c809d[_0x3d6076(0xcf)]))return _0x13b439;}}catch(_0x8290f9){logger[_0x3d6076(0x11e)](_0x3d6076(0x109)+util[_0x3d6076(0xab)](_0x8290f9));}if(_0x214674[_0x3d6076(0x13c)]['stack']){const _0x2c9433=_0x214674[_0x3d6076(0x13c)][_0x3d6076(0xc0)]['split']('\x0a');for(const _0x116bd9 of _0x2c9433){const _0x3d9f3f=_0x116bd9[_0x3d6076(0xf2)](/at (.+?):\d+:\d+/);if(_0x3d9f3f&&_0x3d9f3f[0x1]&&!_0x3d9f3f[0x1][_0x3d6076(0x125)](_0x2c809d[_0x3d6076(0xcf)]))return _0x3d9f3f[0x1];}}}let _0x251efb=_0x214674[_0x3d6076(0x94)];while(_0x251efb){if(_0x251efb[_0x3d6076(0xec)])return _0x251efb[_0x3d6076(0xec)];if(_0x251efb[_0x3d6076(0x13c)])try{const _0x3bc2d1=stackTrace['parse'](_0x251efb[_0x3d6076(0x13c)]);if(_0x3bc2d1[0x0]&&_0x3bc2d1[0x0]['getFileName']){const _0x20267c=_0x3bc2d1[0x0][_0x3d6076(0x124)]();if(_0x20267c&&!_0x20267c[_0x3d6076(0x125)](_0x2c809d[_0x3d6076(0xcf)]))return _0x20267c;}}catch(_0x14edd2){}_0x251efb=_0x251efb[_0x3d6076(0x94)];}try{const _0x315cc0=_0x2c809d[_0x3d6076(0xbf)](require,_0x2c809d['ETMdB']);if(_0x315cc0&&_0x315cc0[_0x3d6076(0x138)]){const _0x50fb74=_0x315cc0['getState']();if(_0x50fb74&&_0x50fb74[_0x3d6076(0xf5)])return _0x50fb74['testPath'];}}catch(_0x2fac47){logger[_0x3d6076(0x11e)](_0x3d6076(0x10a)+util['format'](_0x2fac47));}return null;}[a119_0x3720e1(0x104)](_0x50b9d4){const _0x30c724=a119_0x3720e1,_0x3e5c8c={};_0x3e5c8c['RxQFi']='[jestUtils]\x20No\x20testInfo\x20provided,\x20cannot\x20create\x20identifier',_0x3e5c8c[_0x30c724(0xbc)]=function(_0x5c1f22,_0x16c91a){return _0x5c1f22!==_0x16c91a;},_0x3e5c8c[_0x30c724(0xd5)]='ROOT_DESCRIBE_BLOCK',_0x3e5c8c['EpnuK']=_0x30c724(0x99),_0x3e5c8c[_0x30c724(0x126)]=_0x30c724(0x8e),_0x3e5c8c[_0x30c724(0xff)]=_0x30c724(0x131);const _0x3698e0=_0x3e5c8c;try{if(!_0x50b9d4)return logger[_0x30c724(0x107)](_0x3698e0[_0x30c724(0x97)]),null;const _0x2a5ec1=_0x50b9d4[_0x30c724(0x10b)]||_0x50b9d4[_0x30c724(0xde)]||_0x50b9d4[_0x30c724(0xa3)]||_0x50b9d4[_0x30c724(0xe7)];let _0x2d5e58=_0x2a5ec1;if(_0x50b9d4[_0x30c724(0x94)]&&_0x50b9d4[_0x30c724(0x94)][_0x30c724(0xde)]&&_0x3698e0[_0x30c724(0xbc)](_0x50b9d4['parent'][_0x30c724(0xde)],_0x3698e0['EAmxq'])){const _0x14d576=_0x50b9d4[_0x30c724(0xde)]||_0x50b9d4['title'];_0x14d576&&(_0x2d5e58=_0x50b9d4['parent'][_0x30c724(0xde)]+'\x20'+_0x14d576);}let _0x58eb79=_0x50b9d4['testPath'];if(!_0x58eb79&&_0x50b9d4[_0x30c724(0x13c)]){try{const _0xa428f7=stackTrace[_0x30c724(0x108)](_0x50b9d4['asyncError']);if(_0xa428f7[0x0]&&_0xa428f7[0x0][_0x30c724(0x124)]){const _0x150110=_0xa428f7[0x0][_0x30c724(0x124)]();_0x150110&&!_0x150110[_0x30c724(0x125)](_0x3698e0[_0x30c724(0x127)])&&(_0x58eb79=_0x150110);}}catch(_0x395ea0){logger[_0x30c724(0x11e)]('[jestUtils]\x20Error\x20parsing\x20asyncError\x20stack\x20trace:\x20'+util[_0x30c724(0xab)](_0x395ea0));}if(!_0x58eb79&&_0x50b9d4[_0x30c724(0x13c)][_0x30c724(0xc0)]){const _0x57ff9e=_0x50b9d4[_0x30c724(0x13c)][_0x30c724(0xc0)]['split']('\x0a');for(const _0x47400f of _0x57ff9e){const _0x275c13=_0x47400f[_0x30c724(0xf2)](/at (.+?):\d+:\d+/);if(_0x275c13&&_0x275c13[0x1]&&!_0x275c13[0x1][_0x30c724(0x125)](_0x3698e0['EpnuK'])){_0x58eb79=_0x275c13[0x1];break;}}}}const _0x4eff48=_0x58eb79+'::'+_0x2d5e58,_0x9b3a6d=crypto[_0x30c724(0xda)](_0x3698e0['vjIxw'])[_0x30c724(0x128)](_0x4eff48)[_0x30c724(0xdc)](_0x3698e0[_0x30c724(0xff)])[_0x30c724(0xd7)](0x0,0x8),_0xbe8a3c=process[_0x30c724(0xaa)]+':jest-'+_0x9b3a6d;return logger['debug'](_0x30c724(0xb2)+_0xbe8a3c+_0x30c724(0xad)+_0x4eff48),_0xbe8a3c;}catch(_0x2eaafb){return logger['error'](_0x30c724(0xd3)+util[_0x30c724(0xab)](_0x2eaafb)),null;}}[a119_0x3720e1(0xee)](_0xfe2ea){const _0x4419f9=a119_0x3720e1,_0x5bed81={};_0x5bed81[_0x4419f9(0x130)]=_0x4419f9(0xa2);const _0x144b3c=_0x5bed81;if(!_0xfe2ea)return logger[_0x4419f9(0x11e)](_0x144b3c[_0x4419f9(0x130)]),null;const _0x5bbea4=this[_0x4419f9(0x9b)](_0xfe2ea),_0x2961ee={};_0x2961ee[_0x4419f9(0xde)]=_0xfe2ea['name']||_0xfe2ea['title'],_0x2961ee[_0x4419f9(0x94)]=_0xfe2ea['parent'],_0x2961ee[_0x4419f9(0xf5)]=_0x5bbea4,_0x2961ee['asyncError']=_0xfe2ea[_0x4419f9(0x13c)];const _0x5e4ccf=_0x2961ee;return this[_0x4419f9(0x104)](_0x5e4ccf);}[a119_0x3720e1(0xd6)](_0x4d5773,_0x270e74=null){const _0x4122e8=a119_0x3720e1,_0xec92e4={};_0xec92e4[_0x4122e8(0x13e)]=_0x4122e8(0x11f);const _0x2d7cc0=_0xec92e4;if(!_0x4d5773)return logger['debug'](_0x2d7cc0[_0x4122e8(0x13e)]),_0x270e74;if(_0x4d5773[_0x4122e8(0x8f)])return logger[_0x4122e8(0x11e)]('[jestUtils]\x20Using\x20stored\x20testIdentifier:\x20'+_0x4d5773[_0x4122e8(0x8f)]),_0x4d5773[_0x4122e8(0x8f)];return this[_0x4122e8(0x104)](_0x4d5773)||_0x270e74;}}module[a119_0x3720e1(0x119)]=o11yClassErrorHandler(JestUtils,[a119_0x3720e1(0xc6),a119_0x3720e1(0x135),'getRootParentFile','getName','isJestInternalHook',a119_0x3720e1(0xbe),a119_0x3720e1(0x12f),a119_0x3720e1(0xa7),a119_0x3720e1(0xc3),a119_0x3720e1(0x134),'extractTestFilePath',a119_0x3720e1(0x104),a119_0x3720e1(0xee),a119_0x3720e1(0xd6)]);
|
|
1
|
+
const a119_0x2cae6d=a119_0x37f3;(function(_0x46cd1a,_0x4ae283){const _0x431698=a119_0x37f3,_0x72b97c=_0x46cd1a();while(!![]){try{const _0x476e8b=parseInt(_0x431698(0x185))/0x1*(-parseInt(_0x431698(0x109))/0x2)+parseInt(_0x431698(0x1b6))/0x3+-parseInt(_0x431698(0x154))/0x4+parseInt(_0x431698(0x12c))/0x5+parseInt(_0x431698(0x104))/0x6*(-parseInt(_0x431698(0xfc))/0x7)+-parseInt(_0x431698(0x1a6))/0x8*(-parseInt(_0x431698(0x12f))/0x9)+-parseInt(_0x431698(0x13e))/0xa*(-parseInt(_0x431698(0x19e))/0xb);if(_0x476e8b===_0x4ae283)break;else _0x72b97c['push'](_0x72b97c['shift']());}catch(_0x338a86){_0x72b97c['push'](_0x72b97c['shift']());}}}(a119_0x36e1,0x1bebb));const path=require(a119_0x2cae6d(0x184)),util=require(a119_0x2cae6d(0x107)),crypto=require(a119_0x2cae6d(0x198)),{getGitMetaData,isUndefined,nestedKeyValue}=require(a119_0x2cae6d(0x152)),logger=require(a119_0x2cae6d(0x195))['winstonLogger'],{o11yClassErrorHandler}=require('../../../helpers/test-observability/error-handler.js'),TestInfo=require(a119_0x2cae6d(0x15d)),{failureData,getFailureType,PathHelper}=require(a119_0x2cae6d(0x139)),stackTrace=require(a119_0x2cae6d(0x19b)),{pickUserFrameFile}=require(a119_0x2cae6d(0x1a7)),a119_0x35842d={};a119_0x35842d['beforeAll']=a119_0x2cae6d(0x128),a119_0x35842d[a119_0x2cae6d(0x16f)]=a119_0x2cae6d(0x17b),a119_0x35842d[a119_0x2cae6d(0x17d)]=a119_0x2cae6d(0x16b),a119_0x35842d[a119_0x2cae6d(0x1bb)]=a119_0x2cae6d(0x10e);const HOOK_TYPES_MAP=a119_0x35842d,hooksMap={};class JestUtils{constructor(){const _0x4fa9b9=a119_0x2cae6d;this['_gitConfigured']=![],this[_0x4fa9b9(0x189)]=null,this[_0x4fa9b9(0x178)]=new PathHelper({'cwd':process[_0x4fa9b9(0x148)]()},undefined);}async[a119_0x2cae6d(0x17a)](_0x583933,_0x395550,_0x4fdae6=a119_0x2cae6d(0x132),_0x299d9f=undefined){const _0xe50538=a119_0x2cae6d,_0x1532a9={'mJBuk':'No\x20test\x20data\x20provided\x20for\x20jest\x20test\x20event','OKbZX':_0xe50538(0x179),'FkthT':_0xe50538(0x151),'UVsQc':function(_0x24023e,_0x48cbfc){return _0x24023e!==_0x48cbfc;},'RLmAk':_0xe50538(0x18e),'HhjwS':function(_0x14c0c2,_0x42d7d4){return _0x14c0c2!==_0x42d7d4;},'GzhZM':'err','BlVsx':function(_0x374da3,_0xfbed6f){return _0x374da3!==_0xfbed6f;},'lycwo':function(_0x16e29a,_0x508dc3){return _0x16e29a!==_0x508dc3;},'zKHEQ':'pending','Osttx':function(_0x31c4be,_0x14fc91){return _0x31c4be===_0x14fc91;},'JrSdU':_0xe50538(0x1a5),'wDCei':_0xe50538(0x18b),'VcfRu':_0xe50538(0x132),'AUjon':function(_0x8ad4,_0x5dd771){return _0x8ad4>_0x5dd771;},'tEptg':_0xe50538(0x1ad),'phsbJ':_0xe50538(0x1b3),'GTNqx':function(_0x3e2ee1,_0x6f1564){return _0x3e2ee1-_0x6f1564;},'bcISQ':_0xe50538(0x13d),'cXYdM':function(_0x2d2db2,_0x2e7071){return _0x2d2db2>_0x2e7071;},'weLIK':'jest','kGHKa':function(_0x337446,_0x5801ac){return _0x337446(_0x5801ac);},'JBmLy':function(_0x21bf29,_0x1fd6ad){return _0x21bf29===_0x1fd6ad;}};logger[_0xe50538(0x1a1)](_0xe50538(0x100)+_0x4fdae6+',\x20testIdentifier:\x20'+_0x395550);try{if(!_0x583933)return logger[_0xe50538(0x1a1)](_0x1532a9['mJBuk']),null;if(_0x583933['fn']&&_0x583933['fn'][_0xe50538(0x12d)]()[_0xe50538(0x130)](/browserstack internal helper hook/))return null;await this['configureGit']();let _0x3a1d83;try{_0x3a1d83=this[_0xe50538(0x118)](_0x583933);if(_0x3a1d83&&_0x3a1d83['includes'](_0x1532a9[_0xe50538(0x11d)]))return null;}catch(_0x30a46a){logger[_0xe50538(0x1a1)](_0xe50538(0x18f)+util[_0xe50538(0x15f)](_0x30a46a)),_0x3a1d83=null;}const _0x30180d=this[_0xe50538(0x12e)](_0x583933),_0x2757bf=this[_0xe50538(0x169)](_0x583933),_0x21d732=_0x3a1d83?this[_0xe50538(0x178)][_0xe50538(0x134)](_0x3a1d83):_0x1532a9['FkthT'];let _0x5d316a=[];const _0x165764=_0x583933[_0xe50538(0x110)]||_0x583933[_0xe50538(0x142)];if(_0x1532a9[_0xe50538(0x11a)](_0x165764,undefined))_0x5d316a=[_0x165764,_0x1532a9[_0xe50538(0x1ab)]];else _0x1532a9['HhjwS'](_0x299d9f,undefined)&&(_0x5d316a=[_0x299d9f,_0x1532a9[_0xe50538(0x10f)]]);const _0x9864ab=_0x1532a9[_0xe50538(0x16e)](_0x165764,undefined)?util[_0xe50538(0x14f)](_0x165764[0x0]):_0x1532a9[_0xe50538(0x101)](_0x299d9f,undefined)?_0x299d9f[_0xe50538(0x12d)]():undefined;let _0x1037d3=_0x1532a9[_0xe50538(0x14a)];if(_0x1532a9[_0xe50538(0x135)](_0x4fdae6,_0x1532a9[_0xe50538(0x112)]))_0x1037d3=_0x1532a9[_0xe50538(0x1b8)];else _0x1532a9[_0xe50538(0x135)](_0x4fdae6,_0x1532a9[_0xe50538(0x193)])&&(_0x165764&&_0x1532a9[_0xe50538(0x113)](_0x165764[_0xe50538(0x121)],0x0)?_0x1037d3=_0x1532a9[_0xe50538(0x111)]:_0x1037d3=_0x1532a9[_0xe50538(0x197)]);let _0x24ffab=null;if(_0x1532a9['lycwo'](_0x583933[_0xe50538(0x180)],undefined))_0x24ffab=_0x583933[_0xe50538(0x180)];else(_0x4fdae6[_0xe50538(0x130)](/Finished/)||_0x4fdae6[_0xe50538(0x130)](/Skipped/))&&(_0x583933['started_at']&&(_0x24ffab=_0x1532a9[_0xe50538(0x19c)](Date['now'](),new Date(_0x583933[_0xe50538(0x19d)])[_0xe50538(0x1a0)]())));const _0x4eae24=_0x583933['fn']?_0x583933['fn'][_0xe50538(0x12d)]():null,_0x5c217c={'id':_0x395550,'uuid':_0x395550,'startedAt':_0x583933[_0xe50538(0x19d)]||new Date()['toISOString'](),'finishedAt':_0x4fdae6[_0xe50538(0x130)](/Finished/)||_0x4fdae6[_0xe50538(0x130)](/Skipped/)?new Date()[_0xe50538(0x163)]():null,'type':_0x1532a9[_0xe50538(0x1ab)],'body':{'lang':_0x1532a9[_0xe50538(0x150)],'code':_0x4eae24},'name':_0x2757bf,'errorsDetailed':_0x1532a9[_0xe50538(0x19a)](_0x165764?.[_0xe50538(0x121)],0x0)?_0x165764[0x0]:_0x165764?_0x165764:undefined,'scopes':_0x30180d,'file_name':_0x21d732,'location':_0x21d732,'vc_filepath':this[_0xe50538(0x189)]&&_0x3a1d83?path['relative'](this[_0xe50538(0x189)],_0x3a1d83):null,'framework':_0x1532a9[_0xe50538(0x137)],'result':_0x1037d3,'failure_reason':_0x9864ab,'duration_in_ms':_0x24ffab,'failure':failureData[_0xe50538(0x114)](null,_0x5d316a),'failure_type':!_0x9864ab?null:_0x1532a9[_0xe50538(0x123)](getFailureType,_0x9864ab),'retry_of':_0x583933[_0xe50538(0x11c)]||null,'customRerunParam':{'rerun_name':_0x2757bf}};_0x1532a9['Osttx'](_0x4fdae6,_0x1532a9[_0xe50538(0x112)])&&!_0x5c217c['startedAt']&&(_0x5c217c[_0xe50538(0x1a4)]=_0x5c217c[_0xe50538(0x1b9)]);const _0x312b98=_0x5c217c[_0xe50538(0x105)]&&_0x5c217c[_0xe50538(0x105)][0x0];return _0x312b98&&(_0x5c217c[_0xe50538(0x10a)]=_0x312b98[_0xe50538(0x10d)],_0x5c217c[_0xe50538(0x161)]=_0x312b98[_0xe50538(0x11b)]),(_0x1532a9['Osttx'](_0x4fdae6,_0x1532a9[_0xe50538(0x193)])||_0x1532a9[_0xe50538(0x18c)](_0x4fdae6,_0x1532a9[_0xe50538(0x112)]))&&(_0x583933[_0xe50538(0xfd)]&&(_0x5c217c[_0xe50538(0xfd)]=_0x583933[_0xe50538(0xfd)])),_0x5c217c;}catch(_0x2924f3){return logger[_0xe50538(0x1a1)](_0xe50538(0x10c)+util['format'](_0x2924f3)),null;}}async[a119_0x2cae6d(0x17c)](_0x5eb620,_0x56bbbf,_0x458b6e,_0x350a3e){const _0x3fa729=a119_0x2cae6d,_0x1f1ac4={'sMqgh':'No\x20hook\x20data\x20provided\x20for\x20jest\x20hook\x20event','jKmuf':_0x3fa729(0x179),'ejqcW':'browserstack-node-agent/src/bin/jest','BVVjB':_0x3fa729(0x1be),'Dmaqh':_0x3fa729(0x138),'qMweC':function(_0x114cd6,_0x48f7ab){return _0x114cd6===_0x48f7ab;},'rtqqW':_0x3fa729(0x164),'ygxAw':function(_0x2b8a5d,_0x33f315){return _0x2b8a5d>_0x33f315;},'Wnzsv':_0x3fa729(0x1ad),'KCBQC':function(_0x4f7e6d,_0x4a55c0){return _0x4f7e6d(_0x4a55c0);},'OIGoy':_0x3fa729(0x18e),'mWFXu':_0x3fa729(0x1b3),'HxifA':_0x3fa729(0x1b0),'iGoIJ':_0x3fa729(0x13d),'Asfde':'jest','ZrBoB':function(_0x5793a5,_0x22ba8b){return _0x5793a5===_0x22ba8b;},'UdlFK':_0x3fa729(0x126)};logger[_0x3fa729(0x1a1)](_0x3fa729(0x192)+_0x458b6e+_0x3fa729(0x1bd)+_0x56bbbf+',\x20testRunId:\x20'+_0x350a3e);try{if(!_0x5eb620)return logger[_0x3fa729(0x1a1)](_0x1f1ac4[_0x3fa729(0x14d)]),null;if(this[_0x3fa729(0x160)](_0x5eb620))return null;await this[_0x3fa729(0x156)]();let _0x23ab1e=null;try{_0x23ab1e=this['getRootParentFile'](_0x5eb620);if(_0x23ab1e&&_0x23ab1e[_0x3fa729(0x158)](_0x1f1ac4[_0x3fa729(0x125)]))return null;if(_0x23ab1e&&_0x23ab1e['includes'](_0x1f1ac4[_0x3fa729(0x15e)]))return null;}catch(_0xdae8a3){logger['debug'](_0x3fa729(0xff)+util[_0x3fa729(0x15f)](_0xdae8a3));}const _0x208527=_0x23ab1e?this[_0x3fa729(0x178)][_0x3fa729(0x134)](_0x23ab1e):_0x23ab1e,_0x18a47e=this[_0x3fa729(0x169)](_0x5eb620),_0x4307c8=_0x5eb620[_0x3fa729(0x127)]||_0x1f1ac4[_0x3fa729(0x13f)],_0x18b751=HOOK_TYPES_MAP[_0x4307c8]||_0x4307c8[_0x3fa729(0x1a2)](),_0x5d7eff=_0x5eb620['parent']&&_0x5eb620[_0x3fa729(0x183)]['name']?_0x5eb620[_0x3fa729(0x183)][_0x3fa729(0x10b)]:'';let _0x912c82=_0x1f1ac4[_0x3fa729(0x12b)],_0x5b8a48=null,_0x11d8d9=null,_0x450f98=null,_0x906f25=null;_0x1f1ac4[_0x3fa729(0x12a)](_0x458b6e,_0x1f1ac4[_0x3fa729(0x18a)])&&(_0x906f25=new Date()[_0x3fa729(0x163)](),_0x5eb620[_0x3fa729(0x110)]&&_0x1f1ac4[_0x3fa729(0x155)](_0x5eb620['errorsDetailed']['length'],0x0)?(_0x912c82=_0x1f1ac4[_0x3fa729(0x140)],_0x11d8d9=util[_0x3fa729(0x14f)](_0x5eb620[_0x3fa729(0x110)][0x0]),_0x5b8a48=_0x1f1ac4[_0x3fa729(0x162)](getFailureType,_0x11d8d9),_0x450f98=failureData[_0x3fa729(0x114)](null,[_0x5eb620[_0x3fa729(0x110)],_0x1f1ac4['OIGoy']])):_0x912c82=_0x1f1ac4['mWFXu']);const _0x1d31fa={'uuid':_0x56bbbf,'type':_0x1f1ac4[_0x3fa729(0x13b)],'hook_type':_0x18b751,'name':_0x18a47e,'body':{'lang':_0x1f1ac4[_0x3fa729(0x172)],'code':_0x5eb620['fn']?_0x5eb620['fn'][_0x3fa729(0x12d)]():null},'tags':[],'test_run_id':_0x350a3e,'scope':_0x5d7eff,'scopes':[_0x5d7eff],'file_name':_0x208527,'location':_0x208527,'vc_filepath':this[_0x3fa729(0x189)]&&_0x23ab1e?path[_0x3fa729(0x170)](this['_gitConfigPath'],_0x23ab1e):null,'result':_0x912c82,'started_at':_0x5eb620[_0x3fa729(0x19d)]||new Date()['toISOString'](),'finished_at':_0x906f25,'failure_type':_0x5b8a48,'failure_reason':_0x11d8d9,'failure_data':_0x450f98,'framework':_0x1f1ac4['Asfde']};return _0x1f1ac4[_0x3fa729(0x165)](_0x458b6e,_0x1f1ac4[_0x3fa729(0x1b5)])&&(hooksMap[_0x350a3e]?hooksMap[_0x350a3e]['push'](_0x1d31fa):hooksMap[_0x350a3e]=[_0x1d31fa]),_0x1d31fa;}catch(_0x2deb4d){return logger['debug'](_0x3fa729(0x196)+util[_0x3fa729(0x15f)](_0x2deb4d)),null;}}[a119_0x2cae6d(0x181)](_0x2d3b53,_0x1aca57,_0x56e1e3){const _0x88d9f6=a119_0x2cae6d,_0x2fc05b={'uBXpc':function(_0x211d90,_0x569fe2){return _0x211d90>_0x569fe2;},'jIewt':'failed','zKlMV':function(_0x1b2cbb,_0x31d3c9){return _0x1b2cbb(_0x31d3c9);},'tpiyu':_0x88d9f6(0x18e),'gipsV':_0x88d9f6(0x1b3)};try{const _0xd36097=hooksMap[_0x2d3b53];if(!_0xd36097)return null;const _0x5ecc78=_0xd36097[_0x88d9f6(0x14e)](_0x4ac46a=>_0x4ac46a[_0x88d9f6(0x186)]===_0x1aca57);if(!_0x5ecc78)return null;return _0x5ecc78['finished_at']=new Date()[_0x88d9f6(0x163)](),_0x56e1e3[_0x88d9f6(0x110)]&&_0x2fc05b['uBXpc'](_0x56e1e3['errorsDetailed']['length'],0x0)?(_0x5ecc78['result']=_0x2fc05b[_0x88d9f6(0x115)],_0x5ecc78['failure_reason']=util[_0x88d9f6(0x14f)](_0x56e1e3[_0x88d9f6(0x110)][0x0]),_0x5ecc78['failure_type']=_0x2fc05b[_0x88d9f6(0x147)](getFailureType,_0x5ecc78[_0x88d9f6(0x188)]),_0x5ecc78[_0x88d9f6(0x141)]=failureData['apply'](null,[_0x56e1e3[_0x88d9f6(0x110)],_0x2fc05b[_0x88d9f6(0x122)]])):_0x5ecc78[_0x88d9f6(0x103)]=_0x2fc05b[_0x88d9f6(0x199)],_0x5ecc78;}catch(_0x29ab6a){return logger['debug'](_0x88d9f6(0x1a3)+util[_0x88d9f6(0x15f)](_0x29ab6a)),null;}}[a119_0x2cae6d(0x169)](_0x2534c0){const _0x113404=a119_0x2cae6d,_0x5a9020={};_0x5a9020[_0x113404(0x190)]=function(_0x3a9759,_0x33adce){return _0x3a9759!==_0x33adce;},_0x5a9020[_0x113404(0x15b)]='test',_0x5a9020[_0x113404(0x18d)]=_0x113404(0x174);const _0x4b09b0=_0x5a9020;if(_0x4b09b0['gpmKb'](_0x2534c0[_0x113404(0x127)],_0x4b09b0[_0x113404(0x15b)]))return'\x22'+_0x2534c0[_0x113404(0x127)]+_0x113404(0x1ac)+(_0x2534c0[_0x113404(0x183)]&&_0x2534c0['parent'][_0x113404(0x10b)])+'\x22';return _0x2534c0[_0x113404(0x10b)]||_0x4b09b0['LRSdp'];}[a119_0x2cae6d(0x12e)](_0x5ca699){const _0x1ba374=a119_0x2cae6d,_0x10b821={};_0x10b821[_0x1ba374(0x168)]=function(_0x30f611,_0x4e2a84){return _0x30f611!==_0x4e2a84;},_0x10b821[_0x1ba374(0x17e)]=function(_0x5b33bc,_0xec82d8){return _0x5b33bc!==_0xec82d8;},_0x10b821[_0x1ba374(0x106)]=_0x1ba374(0x133);const _0x3a2fc7=_0x10b821,_0x55b7eb=[];if(_0x5ca699&&_0x5ca699[_0x1ba374(0x183)]){let _0x43d532=_0x5ca699['parent'];while(_0x43d532&&_0x43d532[_0x1ba374(0x10b)]&&_0x3a2fc7['AUbqm'](_0x43d532[_0x1ba374(0x10b)],'')&&_0x3a2fc7[_0x1ba374(0x17e)](_0x43d532[_0x1ba374(0x10b)],_0x3a2fc7[_0x1ba374(0x106)])){_0x55b7eb[_0x1ba374(0x17f)](_0x43d532[_0x1ba374(0x10b)]),_0x43d532=_0x43d532[_0x1ba374(0x183)];}}return _0x55b7eb['reverse'](),_0x55b7eb;}[a119_0x2cae6d(0x118)](_0x55061a){const _0x1ed0f0=a119_0x2cae6d,_0x2a7b25={'xnjpk':function(_0x4bc7e4,_0x16f54f){return _0x4bc7e4(_0x16f54f);}};if(_0x55061a[_0x1ed0f0(0x13c)])return _0x55061a['file'];if(_0x55061a[_0x1ed0f0(0x153)])try{const _0x3cd8a0=stackTrace[_0x1ed0f0(0xfe)]['call'](stackTrace,_0x55061a[_0x1ed0f0(0x153)]),_0x22d1bf=_0x2a7b25[_0x1ed0f0(0x116)](pickUserFrameFile,_0x3cd8a0);if(_0x22d1bf)return _0x22d1bf;logger[_0x1ed0f0(0x1a1)](_0x1ed0f0(0x176)+_0x3cd8a0[_0x1ed0f0(0x121)]+')');}catch(_0xad5d33){logger[_0x1ed0f0(0x1a1)]('Error\x20parsing\x20asyncError\x20stack\x20trace:\x20'+util['format'](_0xad5d33));}return null;}[a119_0x2cae6d(0x160)](_0x15cb4e){const _0x413c24=a119_0x2cae6d,_0x29fda7={};_0x29fda7[_0x413c24(0x159)]=_0x413c24(0x179);const _0xf15502=_0x29fda7;try{const _0x4582f0=this[_0x413c24(0x118)](_0x15cb4e);if(!_0x4582f0||_0x4582f0['includes'](_0xf15502['IBORs']))return!![];}catch(_0x475d7e){logger[_0x413c24(0x1a1)](_0x413c24(0x1ae)+util['format'](_0x475d7e));}return![];}[a119_0x2cae6d(0x1b7)](_0x544c7e=null){const _0x212d70=a119_0x2cae6d;try{const _0x4527c8=_0x544c7e||global[_0x212d70(0x14c)]||{};if(global['__jestCurrentTestIdentifier'])return global['__jestCurrentTestIdentifier'];if(_0x4527c8?.[_0x212d70(0x120)]?.['testAnalyticsId'])return _0x4527c8['currentTest'][_0x212d70(0x143)];if(_0x4527c8?.['currentTest']?.['id'])return _0x4527c8['currentTest']['id'];return null;}catch(_0x42b2a2){return logger[_0x212d70(0x1a1)](_0x212d70(0x149)+util['format'](_0x42b2a2)),null;}}async[a119_0x2cae6d(0x156)](){const _0x4dc236=a119_0x2cae6d,_0x5c5fc1={'VUypR':function(_0x6f2cb3){return _0x6f2cb3();}};if(this[_0x4dc236(0x1a8)])return this[_0x4dc236(0x189)];const _0x11695f=await _0x5c5fc1[_0x4dc236(0x1a9)](getGitMetaData);_0x11695f&&(this[_0x4dc236(0x189)]=_0x11695f[_0x4dc236(0x129)]),this[_0x4dc236(0x1a8)]=!![];}[a119_0x2cae6d(0x131)](_0xa4fcb1){hooksMap[_0xa4fcb1]&&delete hooksMap[_0xa4fcb1];}[a119_0x2cae6d(0x11e)](_0x5f2d90){const _0x1984f1=a119_0x2cae6d,_0x2a9c73={'wGtYn':_0x1984f1(0x179),'wxAZm':function(_0x1027e3,_0x574a9b){return _0x1027e3(_0x574a9b);},'AvHNN':_0x1984f1(0x1bf)};if(_0x5f2d90[_0x1984f1(0x13c)])return _0x5f2d90[_0x1984f1(0x13c)];if(_0x5f2d90['asyncError']){try{const _0x492573=stackTrace[_0x1984f1(0xfe)](_0x5f2d90[_0x1984f1(0x153)]);if(_0x492573[0x0]&&_0x492573[0x0][_0x1984f1(0x1b2)]){const _0x281cc7=_0x492573[0x0][_0x1984f1(0x1b2)]();if(_0x281cc7&&!_0x281cc7[_0x1984f1(0x158)](_0x2a9c73[_0x1984f1(0x1b4)]))return _0x281cc7;}}catch(_0x5f4f3c){logger[_0x1984f1(0x1a1)](_0x1984f1(0x144)+util[_0x1984f1(0x15f)](_0x5f4f3c));}if(_0x5f2d90['asyncError'][_0x1984f1(0x124)]){const _0x34c1df=_0x5f2d90[_0x1984f1(0x153)][_0x1984f1(0x124)][_0x1984f1(0x15c)]('\x0a');for(const _0x41fa2c of _0x34c1df){const _0x33633f=_0x41fa2c[_0x1984f1(0x130)](/at (.+?):\d+:\d+/);if(_0x33633f&&_0x33633f[0x1]&&!_0x33633f[0x1][_0x1984f1(0x158)](_0x2a9c73[_0x1984f1(0x1b4)]))return _0x33633f[0x1];}}}let _0x19a832=_0x5f2d90['parent'];while(_0x19a832){if(_0x19a832[_0x1984f1(0x13c)])return _0x19a832['file'];if(_0x19a832['asyncError'])try{const _0xeca220=stackTrace[_0x1984f1(0xfe)](_0x19a832[_0x1984f1(0x153)]);if(_0xeca220[0x0]&&_0xeca220[0x0][_0x1984f1(0x1b2)]){const _0x1a7e38=_0xeca220[0x0][_0x1984f1(0x1b2)]();if(_0x1a7e38&&!_0x1a7e38['includes'](_0x2a9c73[_0x1984f1(0x1b4)]))return _0x1a7e38;}}catch(_0x32fcd8){}_0x19a832=_0x19a832['parent'];}try{const _0x2c9437=_0x2a9c73[_0x1984f1(0x175)](require,_0x2a9c73['AvHNN']);if(_0x2c9437&&_0x2c9437[_0x1984f1(0x191)]){const _0x237fe=_0x2c9437[_0x1984f1(0x191)]();if(_0x237fe&&_0x237fe[_0x1984f1(0x16d)])return _0x237fe[_0x1984f1(0x16d)];}}catch(_0x274541){logger['debug'](_0x1984f1(0x119)+util[_0x1984f1(0x15f)](_0x274541));}return null;}[a119_0x2cae6d(0x1ba)](_0x29e5fe){const _0xb27851=a119_0x2cae6d,_0x5f10f1={};_0x5f10f1['hHRAs']=_0xb27851(0x11f),_0x5f10f1[_0xb27851(0x145)]=function(_0x29656f,_0x32fc34){return _0x29656f!==_0x32fc34;},_0x5f10f1['tDQpT']=_0xb27851(0x133),_0x5f10f1[_0xb27851(0x102)]=_0xb27851(0x179),_0x5f10f1[_0xb27851(0x167)]='md5',_0x5f10f1[_0xb27851(0x16a)]=_0xb27851(0x182);const _0x22ae3f=_0x5f10f1;try{if(!_0x29e5fe)return logger[_0xb27851(0x1aa)](_0x22ae3f[_0xb27851(0x15a)]),null;const _0x1774e6=_0x29e5fe['fullName']||_0x29e5fe['name']||_0x29e5fe['title']||_0x29e5fe['displayName'];let _0x524112=_0x1774e6;if(_0x29e5fe[_0xb27851(0x183)]&&_0x29e5fe[_0xb27851(0x183)]['name']&&_0x22ae3f[_0xb27851(0x145)](_0x29e5fe['parent'][_0xb27851(0x10b)],_0x22ae3f[_0xb27851(0x173)])){const _0x1224da=_0x29e5fe[_0xb27851(0x10b)]||_0x29e5fe['title'];_0x1224da&&(_0x524112=_0x29e5fe['parent']['name']+'\x20'+_0x1224da);}let _0x455438=_0x29e5fe['testPath'];if(!_0x455438&&_0x29e5fe[_0xb27851(0x153)]){try{const _0x2fa737=stackTrace['parse'](_0x29e5fe[_0xb27851(0x153)]);if(_0x2fa737[0x0]&&_0x2fa737[0x0][_0xb27851(0x1b2)]){const _0x4f9269=_0x2fa737[0x0][_0xb27851(0x1b2)]();_0x4f9269&&!_0x4f9269[_0xb27851(0x158)](_0x22ae3f[_0xb27851(0x102)])&&(_0x455438=_0x4f9269);}}catch(_0x18a1ac){logger[_0xb27851(0x1a1)](_0xb27851(0x144)+util['format'](_0x18a1ac));}if(!_0x455438&&_0x29e5fe[_0xb27851(0x153)][_0xb27851(0x124)]){const _0x87e020=_0x29e5fe[_0xb27851(0x153)]['stack'][_0xb27851(0x15c)]('\x0a');for(const _0x42efec of _0x87e020){const _0x223679=_0x42efec[_0xb27851(0x130)](/at (.+?):\d+:\d+/);if(_0x223679&&_0x223679[0x1]&&!_0x223679[0x1][_0xb27851(0x158)](_0x22ae3f['ziweh'])){_0x455438=_0x223679[0x1];break;}}}}const _0x24daf9=_0x455438+'::'+_0x524112,_0x5f3900=crypto[_0xb27851(0x108)](_0x22ae3f[_0xb27851(0x167)])[_0xb27851(0x157)](_0x24daf9)[_0xb27851(0x1bc)](_0x22ae3f[_0xb27851(0x16a)])['substring'](0x0,0x8),_0x1d9101=process[_0xb27851(0x171)]+_0xb27851(0x19f)+_0x5f3900;return logger['debug'](_0xb27851(0x187)+_0x1d9101+_0xb27851(0x1b1)+_0x24daf9),_0x1d9101;}catch(_0x275ed8){return logger['error'](_0xb27851(0x16c)+util[_0xb27851(0x15f)](_0x275ed8)),null;}}[a119_0x2cae6d(0x117)](_0x3391d7){const _0x384e4f=a119_0x2cae6d,_0x3502b1={};_0x3502b1['GNKkJ']=_0x384e4f(0x14b);const _0xb62b68=_0x3502b1;if(!_0x3391d7)return logger[_0x384e4f(0x1a1)](_0xb62b68[_0x384e4f(0x166)]),null;const _0x1e5d15=this['extractTestFilePath'](_0x3391d7),_0x21b1c7={};_0x21b1c7['name']=_0x3391d7[_0x384e4f(0x10b)]||_0x3391d7[_0x384e4f(0x194)],_0x21b1c7[_0x384e4f(0x183)]=_0x3391d7[_0x384e4f(0x183)],_0x21b1c7[_0x384e4f(0x16d)]=_0x1e5d15,_0x21b1c7[_0x384e4f(0x153)]=_0x3391d7[_0x384e4f(0x153)];const _0x324f83=_0x21b1c7;return this[_0x384e4f(0x1ba)](_0x324f83);}[a119_0x2cae6d(0x146)](_0x98a2ee,_0x264e51=null){const _0x33e23b=a119_0x2cae6d,_0x315f45={};_0x315f45[_0x33e23b(0x13a)]=_0x33e23b(0x136);const _0x23127c=_0x315f45;if(!_0x98a2ee)return logger['debug'](_0x23127c[_0x33e23b(0x13a)]),_0x264e51;if(_0x98a2ee['testIdentifier'])return logger[_0x33e23b(0x1a1)]('[jestUtils]\x20Using\x20stored\x20testIdentifier:\x20'+_0x98a2ee[_0x33e23b(0x177)]),_0x98a2ee[_0x33e23b(0x177)];return this[_0x33e23b(0x1ba)](_0x98a2ee)||_0x264e51;}}function a119_0x36e1(){const _0x3a0bd5=['toISOString','HookRunFinished','ZrBoB','GNKkJ','joWDd','AUbqm','getName','jLEml','BEFORE_EACH','[jestUtils]\x20Error\x20creating\x20identifier:\x20','testPath','BlVsx','afterAll','relative','pid','iGoIJ','tDQpT','Unknown\x20Test','wxAZm','[jestUtils]\x20pickUserFrameFile\x20found\x20no\x20user\x20frame\x20(trace\x20length=','testIdentifier','_paths','jest-circus','createTestFrameworkData','AFTER_ALL','createHookData','beforeEach','ydQIM','push','duration','getHookRunEventData','hex','parent','path','148761xhgurv','uuid','[jestUtils]\x20Created\x20identifier:\x20','failure_reason','_gitConfigPath','rtqqW','skipped','JBmLy','LRSdp','test','Failed\x20to\x20get\x20root\x20parent\x20file:\x20','gpmKb','getState','Creating\x20hook\x20data\x20for\x20eventType:\x20','VcfRu','title','../../../helpers/logger.js','Exception\x20in\x20createHookData:\x20','phsbJ','crypto','gipsV','cXYdM','stack-trace','GTNqx','started_at','299926tmcTHS',':jest-','getTime','debug','toUpperCase','Exception\x20in\x20getHookRunEventData:\x20','startedAt','TestRunSkipped','1216UHvUfR','../../../helpers/stackFrameUtils','_gitConfigured','VUypR','error','RLmAk','\x22\x20hook\x20for\x20\x22','failed','Exception\x20in\x20checking\x20if\x20hook\x20is\x20internal:\x20','exports','hook','\x20from\x20compositeKey:\x20','getFileName','passed','wGtYn','UdlFK','527247fLGxyj','getTestIdentifier','wDCei','finishedAt','createJestTestIdentifier','afterEach','digest',',\x20hookUUID:\x20','unknown','expect','38843XRUJTy','hooks','parse','Failed\x20to\x20get\x20hook\x20file\x20path:\x20','Creating\x20test\x20framework\x20data\x20for\x20eventType:\x20','lycwo','ziweh','result','138jfunjn','failure','PLVwT','util','createHash','2trmHqC','failure_backtrace','name','Exception\x20in\x20createTestFrameworkData:\x20','backtrace','AFTER_EACH','GzhZM','errorsDetailed','tEptg','JrSdU','AUjon','apply','jIewt','xnjpk','createIdentifierFromJestTest','getRootParentFile','[jestUtils]\x20expect.getState()\x20not\x20available:\x20','UVsQc','expanded','retryOf','OKbZX','extractTestFilePath','[jestUtils]\x20No\x20testInfo\x20provided,\x20cannot\x20create\x20identifier','currentTest','length','tpiyu','kGHKa','stack','jKmuf','HookRunStarted','type','BEFORE_ALL','root','qMweC','Dmaqh','391715WwPdFm','toString','getHierarchy','3618yOzobD','match','clearHooksMap','TestRunFinished','ROOT_DESCRIBE_BLOCK','prefixTestPath','Osttx','[jestUtils]\x20No\x20testInfo\x20provided\x20for\x20recreation','weLIK','pending','../../../helpers/test-observability/utils','CNEvn','HxifA','file','javascript','40utlxYD','BVVjB','Wnzsv','failure_data','errors','testAnalyticsId','[jestUtils]\x20Error\x20parsing\x20asyncError\x20stack\x20trace:\x20','yKbQa','recreateIdentifierFromTestInfo','zKlMV','cwd','[jestUtils]\x20Error\x20getting\x20test\x20identifier:\x20','zKHEQ','[jestUtils]\x20No\x20test\x20object\x20provided','__workerDetails','sMqgh','find','inspect','bcISQ','File\x20path\x20could\x20not\x20be\x20found','../../../helpers/helper.js','asyncError','134036xIGWIS','ygxAw','configureGit','update','includes','IBORs','hHRAs','riGyk','split','../TestInfo.js','ejqcW','format','isJestInternalHook','failure_reason_expanded','KCBQC'];a119_0x36e1=function(){return _0x3a0bd5;};return a119_0x36e1();}function a119_0x37f3(_0x5d3501,_0x4ed66b){const _0x36e1a2=a119_0x36e1();return a119_0x37f3=function(_0x37f361,_0x9c77e2){_0x37f361=_0x37f361-0xfc;let _0x21d6d0=_0x36e1a2[_0x37f361];return _0x21d6d0;},a119_0x37f3(_0x5d3501,_0x4ed66b);}module[a119_0x2cae6d(0x1af)]=o11yClassErrorHandler(JestUtils,[a119_0x2cae6d(0x156),a119_0x2cae6d(0x12e),a119_0x2cae6d(0x118),'getName',a119_0x2cae6d(0x160),a119_0x2cae6d(0x1b7),'createTestFrameworkData',a119_0x2cae6d(0x17c),a119_0x2cae6d(0x181),a119_0x2cae6d(0x131),a119_0x2cae6d(0x11e),a119_0x2cae6d(0x1ba),a119_0x2cae6d(0x117),a119_0x2cae6d(0x146)]);
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const
|
|
2
|
+
'use strict';const a120_0x3f77a5=a120_0x1b64;(function(_0x5f4ccb,_0x4aa29a){const _0x2782d6=a120_0x1b64,_0x53364f=_0x5f4ccb();while(!![]){try{const _0x33971b=-parseInt(_0x2782d6(0x1bd))/0x1+parseInt(_0x2782d6(0x1b7))/0x2+parseInt(_0x2782d6(0x1a2))/0x3*(parseInt(_0x2782d6(0x1c3))/0x4)+-parseInt(_0x2782d6(0x197))/0x5+-parseInt(_0x2782d6(0x185))/0x6*(-parseInt(_0x2782d6(0x1bb))/0x7)+-parseInt(_0x2782d6(0x1b0))/0x8*(parseInt(_0x2782d6(0x1c1))/0x9)+parseInt(_0x2782d6(0x1b3))/0xa;if(_0x33971b===_0x4aa29a)break;else _0x53364f['push'](_0x53364f['shift']());}catch(_0x550b64){_0x53364f['push'](_0x53364f['shift']());}}}(a120_0x21fc,0x5582b));function a120_0x1b64(_0x2f4ca9,_0x372965){const _0x21fc12=a120_0x21fc();return a120_0x1b64=function(_0x1b6416,_0x3d771d){_0x1b6416=_0x1b6416-0x183;let _0x18b07c=_0x21fc12[_0x1b6416];return _0x18b07c;},a120_0x1b64(_0x2f4ca9,_0x372965);}function a120_0x21fc(){const _0x324449=['../../helpers/performance/constants','../../helpers/testhub/testhubHandler','747982PhWLMR','handleApp','initialize','parallelsPerPlatform','84pJJiop','exports','202579YvTJJj','args','\x20doesn\x27t\x20exist','setupBrowserstackLocal','29061shOoqe','cwd','16ldDsAf','Eraht','configuration','modifyBrowserStackW3CCaps','113016neSmnT','../../helpers/utilities','end','push','platforms','file','SDK_SETUP','finalExecution','path','../v2/browserstackCLI','finally','\x20resolves\x20outside\x20the\x20project\x20directory\x20and\x20was\x20rejected','mVhGq','../../helpers/performance/performance-tester','proxySettings','useW3C','sep','aWcJB','2522720RznaXh','uiUZu','then','launchBuild','resolve','File\x20','start','dOrfB','getPlatformName','File\x20path\x20','SoLXr','271827PlxMhw','startsWith','assign','ipIkA','getHubUrl','config','WOULv','UbTZP','TmOBA','../../helpers/helper','EVENTS','modifyBrowserStackCaps','isRunning','length','472ctWpCQ','../../helpers/BrowserStackSetup','forEach','2854260dhrSNJ','existsSync'];a120_0x21fc=function(){return _0x324449;};return a120_0x21fc();}const fs=require('fs'),path=require(a120_0x3f77a5(0x18d)),{default:BrowserStackSetup}=require(a120_0x3f77a5(0x1b1)),helper=require(a120_0x3f77a5(0x1ab)),PerformanceTester=require(a120_0x3f77a5(0x192)),PerformanceEvents=require(a120_0x3f77a5(0x1b5))[a120_0x3f77a5(0x1ac)],utilities=require(a120_0x3f77a5(0x186)),{parallelVanillaRun}=require('../test-runner'),TestHubHandler=require(a120_0x3f77a5(0x1b6)),BrowserstackCLI=require(a120_0x3f77a5(0x18e));async function run(_0x4f42b4,_0x191afd,_0x42eff3){const _0x5615d5=a120_0x3f77a5,_0x33136f={'UbTZP':'vanilla','ipIkA':function(_0xfbb31,_0x15ca61){return _0xfbb31(_0x15ca61);},'uiUZu':'File\x20path\x20is\x20required','vSCVl':function(_0x2ca52a,_0x2e0fc8){return _0x2ca52a!==_0x2e0fc8;},'Eraht':function(_0x318b97,_0x1ca552){return _0x318b97+_0x1ca552;},'aWcJB':function(_0x5a738c,_0x3639d9){return _0x5a738c(_0x3639d9);},'dOrfB':function(_0x4b4672,_0x2cc254){return _0x4b4672(_0x2cc254);},'mVhGq':'Config\x20yml\x20is\x20required','cGWYR':function(_0x3c4f21,_0x5a3ed7){return _0x3c4f21>_0x5a3ed7;},'TmOBA':function(_0x209e2f,_0x1055a1){return _0x209e2f>_0x1055a1;},'WOULv':function(_0x286702,_0x3d76d3){return _0x286702*_0x3d76d3;},'SoLXr':function(_0x47aec9,_0x27e89a,_0x48419a){return _0x47aec9(_0x27e89a,_0x48419a);}};await _0x42eff3[_0x5615d5(0x1b9)](_0x4f42b4);!BrowserstackCLI['getInstance']()[_0x5615d5(0x1ae)]()&&await _0x42eff3[_0x5615d5(0x1c0)]();await helper[_0x5615d5(0x1b8)](_0x42eff3['config']);const _0x9b4a56=[];if(helper['isUndefined'](_0x4f42b4['_'][0x1]))throw _0x33136f[_0x5615d5(0x1a5)](Error,_0x33136f[_0x5615d5(0x198)]);const _0x9bc57a=process[_0x5615d5(0x1c2)](),_0x3558f7=path[_0x5615d5(0x19b)](_0x9bc57a,_0x4f42b4['_'][0x1]);if(_0x33136f['vSCVl'](_0x3558f7,_0x9bc57a)&&!_0x3558f7[_0x5615d5(0x1a3)](_0x33136f[_0x5615d5(0x1c4)](_0x9bc57a,path[_0x5615d5(0x195)])))throw _0x33136f[_0x5615d5(0x196)](Error,_0x5615d5(0x1a0)+_0x4f42b4['_'][0x1]+_0x5615d5(0x190));if(!fs[_0x5615d5(0x1b4)](_0x3558f7))throw _0x33136f[_0x5615d5(0x196)](Error,_0x5615d5(0x19c)+_0x4f42b4['_'][0x1]+_0x5615d5(0x1bf));if(!_0x42eff3[_0x5615d5(0x1a7)])throw _0x33136f[_0x5615d5(0x19e)](Error,_0x33136f[_0x5615d5(0x191)]);const _0x40462e=helper[_0x5615d5(0x194)](_0x42eff3[_0x5615d5(0x1a7)]);_0x42eff3[_0x5615d5(0x1a7)][_0x5615d5(0x189)]&&_0x33136f['cGWYR'](_0x42eff3[_0x5615d5(0x1a7)][_0x5615d5(0x189)][_0x5615d5(0x1af)],0x0)&&_0x42eff3[_0x5615d5(0x1a7)][_0x5615d5(0x189)][_0x5615d5(0x1b2)]((_0x3cf30a,_0x50760c)=>{const _0x347510=_0x5615d5;_0x40462e?_0x9b4a56[_0x347510(0x188)](helper[_0x347510(0x184)](_0x42eff3[_0x347510(0x1a7)],_0x33136f[_0x347510(0x1a9)],_0x50760c)):_0x9b4a56['push'](helper[_0x347510(0x1ad)](_0x42eff3[_0x347510(0x1a7)],_0x33136f['UbTZP'],_0x50760c));});let _0x4285c6,_0x25a2b6;const _0x59aae3=[];if(_0x33136f[_0x5615d5(0x1aa)](_0x9b4a56[_0x5615d5(0x1af)],0x0))_0x9b4a56['forEach']((_0x1ae1ca,_0xbe923b)=>{const _0x568eb4=_0x5615d5,_0x4355c1={};_0x4355c1['index']=_0xbe923b,_0x4285c6={'server':helper[_0x568eb4(0x1a6)](_0x42eff3[_0x568eb4(0x1a7)]),'proxySettings':_0x42eff3[_0x568eb4(0x1a7)][_0x568eb4(0x193)],'platform':helper[_0x568eb4(0x19f)](_0x1ae1ca),'platformCaps':Object[_0x568eb4(0x1a4)](_0x4355c1,_0x42eff3[_0x568eb4(0x1a7)][_0x568eb4(0x189)][_0xbe923b])};const _0x1af4f7={'capability':_0x1ae1ca,..._0x4285c6};_0x1af4f7[_0x568eb4(0x18a)]=_0x3558f7,_0x1af4f7[_0x568eb4(0x1be)]=_0x191afd;const _0xb91d73={};_0xb91d73['configuration']=_0x1af4f7,_0x25a2b6=_0xb91d73,_0x59aae3[_0x568eb4(0x188)](_0x25a2b6);});else{let _0x13718a;_0x40462e?_0x13718a=helper[_0x5615d5(0x184)](_0x42eff3[_0x5615d5(0x1a7)],_0x33136f[_0x5615d5(0x1a9)],0x0):_0x13718a=helper[_0x5615d5(0x1ad)](_0x42eff3[_0x5615d5(0x1a7)],_0x33136f[_0x5615d5(0x1a9)],0x0);_0x4285c6={'server':helper['getHubUrl'](_0x42eff3[_0x5615d5(0x1a7)]),'proxySettings':_0x42eff3[_0x5615d5(0x1a7)][_0x5615d5(0x193)]};const _0x4d5788={'capability':_0x13718a,..._0x4285c6};_0x4d5788[_0x5615d5(0x18a)]=_0x3558f7,_0x4d5788[_0x5615d5(0x1be)]=_0x191afd;const _0x1f3479={};_0x1f3479[_0x5615d5(0x183)]=_0x4d5788,_0x25a2b6=_0x1f3479,_0x59aae3[_0x5615d5(0x188)](_0x25a2b6);}const _0x459d1a=await TestHubHandler[_0x5615d5(0x19a)](_0x33136f[_0x5615d5(0x1a9)],_0x42eff3),_0x487cc=_0x33136f[_0x5615d5(0x1a8)](_0x42eff3[_0x5615d5(0x1a7)][_0x5615d5(0x189)][_0x5615d5(0x1af)]||0x1,_0x42eff3['config'][_0x5615d5(0x1ba)]||0x1);PerformanceTester[_0x5615d5(0x187)](PerformanceEvents[_0x5615d5(0x18b)]),_0x33136f[_0x5615d5(0x1a1)](parallelVanillaRun,_0x59aae3,_0x487cc)[_0x5615d5(0x199)](_0x370652=>{})[_0x5615d5(0x18f)](async()=>{const _0x56c538=_0x5615d5;PerformanceTester[_0x56c538(0x19d)](PerformanceEvents['SDK_CLEANUP']),await utilities[_0x56c538(0x18c)](_0x42eff3);});}module[a120_0x3f77a5(0x1bc)]=run;
|
package/src/browserStackSdk.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a121_0x36be(_0x573d5e,_0x31d452){const _0x431744=a121_0x4317();return a121_0x36be=function(_0x36be76,_0x5d943f){_0x36be76=_0x36be76-0xdb;let _0x59001b=_0x431744[_0x36be76];return _0x59001b;},a121_0x36be(_0x573d5e,_0x31d452);}const a121_0xa94a36=a121_0x36be;function a121_0x4317(){const _0x5afc75=['lyyvS','3624973fwChRB','platformName','zOZvJ','__platformCaps','browser','getCurrentPlatform','222VfyFbc','132336bvRlgt','7744HYqeIQ','92470VVPfde','./helpers/metadata','OSDya','RzFjw','os_version','pjdee','device','8605980GkLEMS','378AlAdsP','9cMqGfi','deviceName','mRbLM','PlKHm','browserVersion','78PKfgDk','exports','customVariables','17356yFAuVZ','set','tigAW','xXggc','30192qEnmUu','UgknQ','browser_version','BZmrE','VNZlp','57GTMSst','osVersion','EHkMt','140zSrZFi'];a121_0x4317=function(){return _0x5afc75;};return a121_0x4317();}(function(_0x2fcabf,_0x381017){const _0x5630e5=a121_0x36be,_0x31d627=_0x2fcabf();while(!![]){try{const _0x26aa39=parseInt(_0x5630e5(0xe9))/0x1*(parseInt(_0x5630e5(0xdf))/0x2)+parseInt(_0x5630e5(0xdc))/0x3*(-parseInt(_0x5630e5(0xfb))/0x4)+-parseInt(_0x5630e5(0xea))/0x5*(parseInt(_0x5630e5(0xe7))/0x6)+-parseInt(_0x5630e5(0xf2))/0x7*(-parseInt(_0x5630e5(0xff))/0x8)+parseInt(_0x5630e5(0xf3))/0x9*(parseInt(_0x5630e5(0xf1))/0xa)+-parseInt(_0x5630e5(0xe1))/0xb+-parseInt(_0x5630e5(0xe8))/0xc*(parseInt(_0x5630e5(0xf8))/0xd);if(_0x26aa39===_0x381017)break;else _0x31d627['push'](_0x31d627['shift']());}catch(_0x475219){_0x31d627['push'](_0x31d627['shift']());}}}(a121_0x4317,0x6c68c));const TestMetadata=require(a121_0xa94a36(0xeb));class BrowserStackSdk{static[a121_0xa94a36(0xe6)](){const _0x5b1ee3=a121_0xa94a36,_0x21650e={};_0x21650e[_0x5b1ee3(0xfd)]=_0x5b1ee3(0xee),_0x21650e['BZmrE']=_0x5b1ee3(0xdd),_0x21650e['RzFjw']=_0x5b1ee3(0xe5),_0x21650e[_0x5b1ee3(0xf6)]='browserName',_0x21650e[_0x5b1ee3(0xe0)]=_0x5b1ee3(0x101),_0x21650e[_0x5b1ee3(0xef)]=_0x5b1ee3(0xf7),_0x21650e['UgknQ']=_0x5b1ee3(0xf0),_0x21650e['xXggc']=_0x5b1ee3(0xf4),_0x21650e[_0x5b1ee3(0xe3)]='platform',_0x21650e[_0x5b1ee3(0xec)]=_0x5b1ee3(0xe2),_0x21650e[_0x5b1ee3(0xde)]='platform_version',_0x21650e[_0x5b1ee3(0xdb)]='platformVersion',_0x21650e[_0x5b1ee3(0xf5)]=_0x5b1ee3(0xfa);const _0x196716=_0x21650e,_0x4a70af={};if(global['__platformCaps']){const _0x477293=global[_0x5b1ee3(0xe4)],_0x34a0c5=_0x477293[_0x196716[_0x5b1ee3(0xfd)]]||_0x477293[_0x196716[_0x5b1ee3(0x102)]],_0x45d274=_0x477293[_0x196716[_0x5b1ee3(0xed)]]||_0x477293[_0x196716['PlKHm']],_0x5c6249=_0x477293[_0x196716[_0x5b1ee3(0xe0)]]||_0x477293[_0x196716[_0x5b1ee3(0xef)]],_0x2bf63f=_0x477293[_0x196716[_0x5b1ee3(0x100)]]||_0x477293[_0x196716[_0x5b1ee3(0xfe)]],_0x35bc61=_0x477293[_0x196716[_0x5b1ee3(0xe3)]]||_0x477293[_0x196716['OSDya']],_0xe2c16=_0x477293[_0x196716[_0x5b1ee3(0xde)]]||_0x477293[_0x196716[_0x5b1ee3(0xdb)]];_0x477293['os']&&(_0x4a70af['os']=_0x477293['os']),_0x34a0c5&&(_0x4a70af[_0x196716['BZmrE']]=_0x34a0c5),_0x45d274&&(_0x4a70af[_0x196716[_0x5b1ee3(0xf6)]]=_0x45d274),_0x5c6249&&(_0x4a70af[_0x196716[_0x5b1ee3(0xef)]]=_0x5c6249),_0x2bf63f&&(_0x4a70af[_0x196716['xXggc']]=_0x2bf63f),_0x35bc61&&(_0x4a70af[_0x196716[_0x5b1ee3(0xec)]]=_0x35bc61),_0xe2c16&&(_0x4a70af[_0x196716['VNZlp']]=_0xe2c16),_0x477293[_0x196716[_0x5b1ee3(0xf5)]]&&(_0x4a70af[_0x196716['mRbLM']]=_0x477293[_0x196716['mRbLM']]);}return _0x4a70af;}static['setTestMetadata'](_0x4bce6b={}){const _0x1baceb=a121_0xa94a36;TestMetadata[_0x1baceb(0xfc)](_0x4bce6b);}}module[a121_0xa94a36(0xf9)]=BrowserStackSdk;
|