browserstack-node-sdk 1.63.2 → 1.63.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +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
|
+
function a115_0x428f(_0x120c8,_0x87fbd){const _0x13976b=a115_0x1397();return a115_0x428f=function(_0x428ff5,_0x3bfb8c){_0x428ff5=_0x428ff5-0xf5;let _0x1f77e6=_0x13976b[_0x428ff5];return _0x1f77e6;},a115_0x428f(_0x120c8,_0x87fbd);}const a115_0x449910=a115_0x428f;(function(_0x601ba4,_0x49be8f){const _0xe3b30=a115_0x428f,_0x8e99d1=_0x601ba4();while(!![]){try{const _0x59440b=-parseInt(_0xe3b30(0xff))/0x1+-parseInt(_0xe3b30(0xfb))/0x2+-parseInt(_0xe3b30(0xfd))/0x3*(parseInt(_0xe3b30(0x107))/0x4)+-parseInt(_0xe3b30(0xfc))/0x5*(-parseInt(_0xe3b30(0x104))/0x6)+parseInt(_0xe3b30(0xf7))/0x7*(parseInt(_0xe3b30(0xf5))/0x8)+-parseInt(_0xe3b30(0xf8))/0x9+-parseInt(_0xe3b30(0x102))/0xa*(-parseInt(_0xe3b30(0xf6))/0xb);if(_0x59440b===_0x49be8f)break;else _0x8e99d1['push'](_0x8e99d1['shift']());}catch(_0x41a448){_0x8e99d1['push'](_0x8e99d1['shift']());}}}(a115_0x1397,0x82724));const a115_0x3d8c7a={};a115_0x3d8c7a[a115_0x449910(0x105)]=0x0,a115_0x3d8c7a[a115_0x449910(0xf9)]=function(){const _0xb375f4=a115_0x449910,_0x203611={};_0x203611[_0xb375f4(0x101)]='HookState.NONE';const _0x48f3ee=_0x203611;return _0x48f3ee[_0xb375f4(0x101)];};const a115_0x2d7291={};a115_0x2d7291['value']=0x1,a115_0x2d7291[a115_0x449910(0xf9)]=function(){const _0xe3fbc6=a115_0x449910,_0x34fa4b={};_0x34fa4b['IhPQs']=_0xe3fbc6(0x106);const _0x573033=_0x34fa4b;return _0x573033['IhPQs'];};const a115_0x4064cc={};a115_0x4064cc[a115_0x449910(0x105)]=0x2,a115_0x4064cc[a115_0x449910(0xf9)]=function(){const _0x4393f6=a115_0x449910,_0x5bc90e={};_0x5bc90e[_0x4393f6(0xfe)]='HookState.POST';const _0x3f52f8=_0x5bc90e;return _0x3f52f8['tSnPB'];};const HookState=Object['freeze']({'NONE':a115_0x3d8c7a,'PRE':a115_0x2d7291,'POST':a115_0x4064cc,'fromValue'(_0x5a6e21){const _0x3062ff=a115_0x449910;return Object[_0x3062ff(0xfa)](HookState)[_0x3062ff(0x103)](_0x54509c=>_0x54509c[_0x3062ff(0x105)]===_0x5a6e21);}});function a115_0x1397(){const _0x467abf=['147276vZqYDt','14416vsIsbo','45309gwuouy','2135addpdQ','4896540xQeUyw','toString','values','2070330OkCHOR','672995lHdgBk','39nRRobA','tSnPB','722742vETPZT','exports','RFfQF','6060UWCTOQ','find','12lPzSAC','value','HookState.PRE'];a115_0x1397=function(){return _0x467abf;};return a115_0x1397();}module[a115_0x449910(0x100)]=HookState;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a116_0x2c0410=a116_0x1379;(function(_0x3b0c6f,_0x44a527){const _0x2b729c=a116_0x1379,_0x25bb58=_0x3b0c6f();while(!![]){try{const _0x4e3f21=parseInt(_0x2b729c(0x19e))/0x1+parseInt(_0x2b729c(0x18f))/0x2+-parseInt(_0x2b729c(0x19d))/0x3+-parseInt(_0x2b729c(0x1a0))/0x4+parseInt(_0x2b729c(0x1a4))/0x5+parseInt(_0x2b729c(0x197))/0x6*(-parseInt(_0x2b729c(0x18d))/0x7)+parseInt(_0x2b729c(0x18a))/0x8*(parseInt(_0x2b729c(0x185))/0x9);if(_0x4e3f21===_0x44a527)break;else _0x25bb58['push'](_0x25bb58['shift']());}catch(_0x242b01){_0x25bb58['push'](_0x25bb58['shift']());}}}(a116_0x1d75,0x281c9));const a116_0x49f47f={};a116_0x49f47f[a116_0x2c0410(0x187)]=0x0,a116_0x49f47f['toString']=function(){const _0x54a788=a116_0x2c0410,_0x28ba0={};_0x28ba0[_0x54a788(0x1a7)]=_0x54a788(0x1a1);const _0x225be3=_0x28ba0;return _0x225be3[_0x54a788(0x1a7)];};const a116_0x55d72e={};a116_0x55d72e['value']=0x1,a116_0x55d72e[a116_0x2c0410(0x19f)]=function(){const _0x5333f1=a116_0x2c0410,_0x51f777={};_0x51f777['wGnhr']=_0x5333f1(0x1a8);const _0x1c7cbe=_0x51f777;return _0x1c7cbe[_0x5333f1(0x19b)];};const a116_0x4a875c={};a116_0x4a875c[a116_0x2c0410(0x187)]=0x2,a116_0x4a875c[a116_0x2c0410(0x19f)]=function(){const _0x187403=a116_0x2c0410,_0xb03686={};_0xb03686[_0x187403(0x193)]='TestFrameworkState.LOG';const _0x522aba=_0xb03686;return _0x522aba[_0x187403(0x193)];};const a116_0x37d6d6={};a116_0x37d6d6[a116_0x2c0410(0x187)]=0x3,a116_0x37d6d6[a116_0x2c0410(0x19f)]=function(){const _0x32799b=a116_0x2c0410,_0x2735b2={};_0x2735b2['DLLUB']=_0x32799b(0x1a5);const _0x4e6f05=_0x2735b2;return _0x4e6f05[_0x32799b(0x1a6)];};const a116_0x23946d={};a116_0x23946d[a116_0x2c0410(0x187)]=0x4,a116_0x23946d[a116_0x2c0410(0x19f)]=function(){const _0x530993=a116_0x2c0410,_0x35e91c={};_0x35e91c['xmbkm']=_0x530993(0x186);const _0x50958f=_0x35e91c;return _0x50958f[_0x530993(0x191)];};const a116_0x1961bc={};a116_0x1961bc['value']=0x5,a116_0x1961bc['toString']=function(){const _0x58611f=a116_0x2c0410,_0x54a909={};_0x54a909[_0x58611f(0x190)]=_0x58611f(0x1a3);const _0x1d7a76=_0x54a909;return _0x1d7a76[_0x58611f(0x190)];};const a116_0x60f5cb={};a116_0x60f5cb[a116_0x2c0410(0x187)]=0x6,a116_0x60f5cb[a116_0x2c0410(0x19f)]=function(){const _0x5859bb=a116_0x2c0410,_0x53d649={};_0x53d649[_0x5859bb(0x19a)]=_0x5859bb(0x1aa);const _0x391fc0=_0x53d649;return _0x391fc0['FrqUQ'];};const a116_0xedf6a3={};a116_0xedf6a3['value']=0x7,a116_0xedf6a3[a116_0x2c0410(0x19f)]=function(){const _0x427f8d=a116_0x2c0410,_0x3ef0e6={};_0x3ef0e6[_0x427f8d(0x189)]=_0x427f8d(0x1a2);const _0x103e83=_0x3ef0e6;return _0x103e83[_0x427f8d(0x189)];};const a116_0x55bef4={};a116_0x55bef4[a116_0x2c0410(0x187)]=0x8,a116_0x55bef4[a116_0x2c0410(0x19f)]=function(){const _0x59a675=a116_0x2c0410,_0x4c7e13={};_0x4c7e13[_0x59a675(0x18e)]=_0x59a675(0x199);const _0x226ac3=_0x4c7e13;return _0x226ac3['eIwDN'];};const a116_0x492949={};a116_0x492949[a116_0x2c0410(0x187)]=0x9,a116_0x492949[a116_0x2c0410(0x19f)]=function(){const _0x2c3ac3=a116_0x2c0410,_0x4edc83={};_0x4edc83[_0x2c3ac3(0x188)]='TestFrameworkState.LOG_REPORT';const _0xb356c4=_0x4edc83;return _0xb356c4['dnnhv'];};const a116_0x30546f={};a116_0x30546f['value']=0xa,a116_0x30546f[a116_0x2c0410(0x19f)]=function(){const _0x17183f=a116_0x2c0410,_0x8693ca={};_0x8693ca[_0x17183f(0x198)]=_0x17183f(0x18c);const _0x1cb686=_0x8693ca;return _0x1cb686[_0x17183f(0x198)];};function a116_0x1379(_0x3259be,_0x91ecce){const _0x1d758c=a116_0x1d75();return a116_0x1379=function(_0x137937,_0x26bb50){_0x137937=_0x137937-0x185;let _0x452ebd=_0x1d758c[_0x137937];return _0x452ebd;},a116_0x1379(_0x3259be,_0x91ecce);}const a116_0x29a91b={};a116_0x29a91b['value']=0xb,a116_0x29a91b[a116_0x2c0410(0x19f)]=function(){const _0x423cf5=a116_0x2c0410,_0x1a562c={};_0x1a562c['iSTwy']=_0x423cf5(0x196);const _0x296e84=_0x1a562c;return _0x296e84['iSTwy'];};function a116_0x1d75(){const _0x48f5db=['values','TestFrameworkState.AFTER_EACH','108kleqEM','TestFrameworkState.INIT_TEST','value','dnnhv','qKnLn','1584KZaxfk','find','TestFrameworkState.AFTER_ALL','1004675QpSeaK','eIwDN','361982QgvUtb','AVdDh','xmbkm','rOdus','KJiyU','TestFrameworkState.TEST_STEP','freeze','TestFrameworkState.TEST_SCREENSHOT','6QWwZrh','KGsHD','TestFrameworkState.STEP','FrqUQ','wGnhr','exports','44499JPKIgD','192157SXhOdl','toString','516324fkuGvU','TestFrameworkState.NONE','TestFrameworkState.TEST','TestFrameworkState.BEFORE_EACH','381060PITaYi','TestFrameworkState.SETUP_FIXTURE','DLLUB','qsRda','TestFrameworkState.BEFORE_ALL'];a116_0x1d75=function(){return _0x48f5db;};return a116_0x1d75();}const a116_0x1887f1={};a116_0x1887f1[a116_0x2c0410(0x187)]=0xc,a116_0x1887f1[a116_0x2c0410(0x19f)]=function(){const _0x5c9627=a116_0x2c0410,_0x1315f1={};_0x1315f1[_0x5c9627(0x192)]=_0x5c9627(0x194);const _0x14e81f=_0x1315f1;return _0x14e81f[_0x5c9627(0x192)];};const TestFrameworkState=Object[a116_0x2c0410(0x195)]({'NONE':a116_0x49f47f,'BEFORE_ALL':a116_0x55d72e,'LOG':a116_0x4a875c,'SETUP_FIXTURE':a116_0x37d6d6,'INIT_TEST':a116_0x23946d,'BEFORE_EACH':a116_0x1961bc,'AFTER_EACH':a116_0x60f5cb,'TEST':a116_0xedf6a3,'STEP':a116_0x55bef4,'LOG_REPORT':a116_0x492949,'AFTER_ALL':a116_0x30546f,'TEST_SCREENSHOT':a116_0x29a91b,'TEST_STEP':a116_0x1887f1,'fromValue'(_0x21dd6a){const _0x18027a=a116_0x2c0410;return Object[_0x18027a(0x1a9)](TestFrameworkState)[_0x18027a(0x18b)](_0x26063d=>_0x26063d[_0x18027a(0x187)]===_0x21dd6a);}});module[a116_0x2c0410(0x19c)]=TestFrameworkState;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a117_0x2435e9=a117_0x2f29;function a117_0x2275(){const _0x1da75f=['util','Attachment\x20file\x20path\x20is\x20empty,\x20skipping\x20upload.','resolveInstance','MAwJC','toObject','__jestCurrentTestIdentifier','TestHubModule','jQOWY','getAllData','uNnPz','8TvpjkJ','Cleared\x20attachment\x20folder','addMultipleEntries','./framework/constants/testFrameworkConstants','Vhgoa','close','riHqL','Error\x20tracking\x20file:\x20%s,\x20skipping\x20upload','EaMIe','toFixed','POST','KEY_FILE_PATH','Created\x20.browserstack\x20folder\x20at:\x20%s','13419dtZLjb','Downloaded\x20file\x20is\x20too\x20large\x20(%s\x20MB).\x20Deleting\x20file\x20and\x20skipping\x20upload.','trackFile:\x20TestFramework\x20not\x20available,\x20cannot\x20track\x20attachment','getTestDetails','jJbgN','KEY_FILE_LEVEL','12590248eUlKei','trackFile','trackFile:\x20Cucumber+Playwright\x20-\x20testId:\x20','qgfLc','2580273ICubqS','join','./state/testFrameworkState','unlinkSync','trackFile:\x20Instance\x20not\x20available,\x20cannot\x20track\x20attachment','path','GXOfi','exports','oFnaV','3777060rMYiFw','get','sfwOq','statSync','xqBFR','ookYy','./TestInfo','4536RjLwxJ','getInstance','xwAhl','homedir','ecfuF','https://',',\x20filepath:\x20','bqJrA','uploadAttachmentsManager','JugHM','2510lNwxzS','retry','File\x20downloaded\x20to:\x20%s','trackFile:\x20Jest+Playwright\x20-\x20testId\x20(testIdentifier):\x20','Error\x20downloading\x20file:\x20%s,\x20skipping\x20upload','testhubConfig','KEY_TEST_ID','hlghW','recursive','QyqEa','gGgEM','TEST','message','mkdirSync','No\x20attachment\x20folder\x20found\x20for\x20testhubID:\x20%s','Failed\x20to\x20download\x20file.\x20Status\x20code:\x20%s,\x20skipping\x20upload','.browserstack','copyFileSync','./cliUtils','2ioDTsQ','basename','createWriteStream','BuildLevel','AcbpE','http://','name','pipe','qksjF','uploadAttachments','debug','yZIAw','601255buHJhW','getTestIdentifierFromTestInfo','logger','modules','HAWSs','setTestDetails','startsWith','LEgjk','buildHashedId','statusCode','size','xRfWj','gpHBx','force','getState','aJonW','format','Created\x20folder:\x20%s','clearAttachments','1582mZQnOt','error','trackFile:\x20No\x20testId\x20available,\x20cannot\x20track\x20attachment','KEY_FILE_NAME','testInfo','getTestFramework','JDWii','rmSync','Attachment\x20file\x20tracked\x20for\x20upload:\x20%s','eFVPd','jest','KEY_FILE_SIZE','suBCH','585910TgVIsm','SlTvc','KEY_TEST_ATTACHMENTS','JcMNI','http','../../helpers/classLogger.js','IyxJQ','toLowerCase','zEpvr','existsSync'];a117_0x2275=function(){return _0x1da75f;};return a117_0x2275();}(function(_0x49fe06,_0x684769){const _0x4e840a=a117_0x2f29,_0x5a1289=_0x49fe06();while(!![]){try{const _0x23d117=-parseInt(_0x4e840a(0x1cf))/0x1+parseInt(_0x4e840a(0x227))/0x2*(parseInt(_0x4e840a(0x1fa))/0x3)+parseInt(_0x4e840a(0x1e3))/0x4*(parseInt(_0x4e840a(0x233))/0x5)+-parseInt(_0x4e840a(0x203))/0x6+parseInt(_0x4e840a(0x1c2))/0x7*(-parseInt(_0x4e840a(0x20a))/0x8)+parseInt(_0x4e840a(0x1f0))/0x9*(-parseInt(_0x4e840a(0x214))/0xa)+parseInt(_0x4e840a(0x1f6))/0xb;if(_0x23d117===_0x684769)break;else _0x5a1289['push'](_0x5a1289['shift']());}catch(_0x1e2037){_0x5a1289['push'](_0x5a1289['shift']());}}}(a117_0x2275,0x80bfe));const os=require('os'),fs=require('fs'),path=require(a117_0x2435e9(0x1ff)),util=require(a117_0x2435e9(0x1d9)),BrowserstackCLI=require('./browserstackCLI'),https=require('https'),http=require(a117_0x2435e9(0x1d3)),AutomationFramework=require('./framework/automationFramework'),PlaywrightDriverModule=require('./modules/playwrightDriverModule'),TestInfo=require(a117_0x2435e9(0x209)),TestFrameworkConstants=require(a117_0x2435e9(0x1e6)),{createClassLogger}=require(a117_0x2435e9(0x1d4));class uploadAttachmentsManager{static [a117_0x2435e9(0x1b1)]=createClassLogger(a117_0x2435e9(0x212));static[a117_0x2435e9(0x230)](_0x6b5ccc,_0x3013ec=![]){const _0x43bfd8=a117_0x2435e9,_0x17bccb={};_0x17bccb[_0x43bfd8(0x1e9)]=function(_0x5c3bc3,_0x37fb8d){return _0x5c3bc3/_0x37fb8d;},_0x17bccb[_0x43bfd8(0x22b)]=function(_0xdc37c6,_0x134fc0){return _0xdc37c6*_0x134fc0;},_0x17bccb[_0x43bfd8(0x205)]=function(_0x37a0f9,_0x4e0f9f){return _0x37a0f9>_0x4e0f9f;},_0x17bccb[_0x43bfd8(0x1cb)]=_0x43bfd8(0x1f1),_0x17bccb[_0x43bfd8(0x1b6)]=_0x43bfd8(0x216),_0x17bccb[_0x43bfd8(0x208)]=function(_0x1ef80e,_0x64d2df){return _0x1ef80e===_0x64d2df;},_0x17bccb['ecfuF']='finish',_0x17bccb[_0x43bfd8(0x1f4)]=_0x43bfd8(0x223),_0x17bccb[_0x43bfd8(0x1eb)]=_0x43bfd8(0x218),_0x17bccb[_0x43bfd8(0x213)]='Attachment\x20recevied\x20for\x20path:\x20%s',_0x17bccb[_0x43bfd8(0x1e0)]=_0x43bfd8(0x224),_0x17bccb[_0x43bfd8(0x1b3)]='.browserstack\x20folder\x20not\x20found\x20at:\x20%s',_0x17bccb['CTcAH']=_0x43bfd8(0x1ef),_0x17bccb[_0x43bfd8(0x202)]=_0x43bfd8(0x1c0),_0x17bccb['qgfLc']=function(_0x36dcfd,_0x429756){return _0x36dcfd===_0x429756;},_0x17bccb[_0x43bfd8(0x21b)]=_0x43bfd8(0x1da),_0x17bccb[_0x43bfd8(0x21d)]=_0x43bfd8(0x20f),_0x17bccb['GXOfi']=_0x43bfd8(0x22c),_0x17bccb[_0x43bfd8(0x1be)]=_0x43bfd8(0x1c3),_0x17bccb[_0x43bfd8(0x232)]='Attachment\x20file\x20does\x20not\x20exist\x20at:\x20%s',_0x17bccb[_0x43bfd8(0x20c)]=function(_0x4bc8d8,_0x373b69){return _0x4bc8d8*_0x373b69;},_0x17bccb[_0x43bfd8(0x1ce)]='File\x20size\x20is\x20too\x20large\x20(%s\x20MB).\x20Skipping\x20upload.';const _0x5e0260=_0x17bccb;this[_0x43bfd8(0x1b1)]['debug'](util[_0x43bfd8(0x1bf)](_0x5e0260[_0x43bfd8(0x213)],_0x6b5ccc));const _0x46d25d=os['homedir'](),_0xb84882=path[_0x43bfd8(0x1fb)](_0x46d25d,_0x5e0260[_0x43bfd8(0x1e0)]);!fs[_0x43bfd8(0x1d8)](_0xb84882)&&(this[_0x43bfd8(0x1b1)][_0x43bfd8(0x231)](util['format'](_0x5e0260[_0x43bfd8(0x1b3)],_0xb84882)),fs[_0x43bfd8(0x221)](_0xb84882),this[_0x43bfd8(0x1b1)][_0x43bfd8(0x231)](util['format'](_0x5e0260['CTcAH'],_0xb84882)));const _0x469cfc=BrowserstackCLI[_0x43bfd8(0x20b)]()[_0x43bfd8(0x1b2)][_0x43bfd8(0x1df)]?.['testhubConfig']?.[_0x43bfd8(0x1dd)]()?.[_0x43bfd8(0x1b7)],_0x4ce2fd=path[_0x43bfd8(0x1fb)](_0xb84882,_0x469cfc);!fs[_0x43bfd8(0x1d8)](_0x4ce2fd)&&(fs[_0x43bfd8(0x221)](_0x4ce2fd),this[_0x43bfd8(0x1b1)][_0x43bfd8(0x231)](util[_0x43bfd8(0x1bf)](_0x5e0260[_0x43bfd8(0x202)],_0x4ce2fd)));if(_0x5e0260[_0x43bfd8(0x1f9)](_0x6b5ccc['trim'](),'')){this['logger'][_0x43bfd8(0x231)](util['format'](_0x5e0260[_0x43bfd8(0x21b)]));return;}if(_0x6b5ccc[_0x43bfd8(0x1b5)](_0x5e0260[_0x43bfd8(0x21d)])||_0x6b5ccc[_0x43bfd8(0x1b5)](_0x5e0260[_0x43bfd8(0x200)])){const _0x3dd4f1=_0x6b5ccc['startsWith'](_0x5e0260['QyqEa'])?https:http,_0xcadb4f=path[_0x43bfd8(0x228)](_0x6b5ccc),_0x455b4e=path[_0x43bfd8(0x1fb)](_0x4ce2fd,_0xcadb4f),_0x27f6b2=fs[_0x43bfd8(0x229)](_0x455b4e);_0x3dd4f1['get'](_0x6b5ccc,_0x5a78b6=>{const _0x4c1ac1=_0x43bfd8;if(_0x5e0260['ookYy'](_0x5a78b6[_0x4c1ac1(0x1b8)],0xc8))_0x5a78b6[_0x4c1ac1(0x22e)](_0x27f6b2),_0x27f6b2['on'](_0x5e0260[_0x4c1ac1(0x20e)],()=>{const _0x342ded=_0x4c1ac1;_0x27f6b2[_0x342ded(0x1e8)]();const _0x3323be=fs['statSync'](_0x455b4e),_0x4072ce=_0x5e0260[_0x342ded(0x1e9)](_0x3323be[_0x342ded(0x1b9)],_0x5e0260[_0x342ded(0x22b)](0x400,0x400));if(_0x5e0260[_0x342ded(0x205)](_0x4072ce,0x64)){this['logger'][_0x342ded(0x231)](util[_0x342ded(0x1bf)](_0x5e0260[_0x342ded(0x1cb)],_0x4072ce[_0x342ded(0x1ec)](0x2))),fs['unlinkSync'](_0x455b4e);return;}this[_0x342ded(0x1b1)][_0x342ded(0x231)](util['format'](_0x5e0260[_0x342ded(0x1b6)],_0x455b4e)),uploadAttachmentsManager[_0x342ded(0x1f7)](_0x455b4e,_0x3013ec);});else{this[_0x4c1ac1(0x1b1)][_0x4c1ac1(0x231)](util[_0x4c1ac1(0x1bf)](_0x5e0260[_0x4c1ac1(0x1f4)],_0x5a78b6[_0x4c1ac1(0x1b8)])),_0x27f6b2['close'](),fs[_0x4c1ac1(0x1fd)](_0x455b4e);return;}})['on'](_0x5e0260[_0x43bfd8(0x1be)],_0x10745c=>{const _0x1e6925=_0x43bfd8;this['logger']['debug'](util['format'](_0x5e0260['EaMIe'],_0x10745c[_0x1e6925(0x220)])),_0x27f6b2[_0x1e6925(0x1e8)](),fs[_0x1e6925(0x1fd)](_0x455b4e);return;});}else{if(!fs[_0x43bfd8(0x1d8)](_0x6b5ccc)){this[_0x43bfd8(0x1b1)]['debug'](util[_0x43bfd8(0x1bf)](_0x5e0260[_0x43bfd8(0x232)],_0x6b5ccc));return;}const _0x5dc43c=fs[_0x43bfd8(0x206)](_0x6b5ccc),_0x472fe6=_0x5e0260['riHqL'](_0x5dc43c[_0x43bfd8(0x1b9)],_0x5e0260['xwAhl'](0x400,0x400));if(_0x5e0260[_0x43bfd8(0x205)](_0x472fe6,0x64)){this[_0x43bfd8(0x1b1)][_0x43bfd8(0x231)](util[_0x43bfd8(0x1bf)](_0x5e0260[_0x43bfd8(0x1ce)],_0x472fe6['toFixed'](0x2)));return;}const _0x5098cc=path['basename'](_0x6b5ccc),_0x2eb066=path[_0x43bfd8(0x1fb)](_0x4ce2fd,_0x5098cc);fs[_0x43bfd8(0x225)](_0x6b5ccc,_0x2eb066),uploadAttachmentsManager[_0x43bfd8(0x1f7)](_0x2eb066,_0x3013ec);}}static[a117_0x2435e9(0x1f7)](_0x1088c3,_0x190092){const _0x456c3a=a117_0x2435e9,_0x11229b={'JcMNI':function(_0x46c362,_0xd7cd24){return _0x46c362(_0xd7cd24);},'SlTvc':'./browserstackCLI','gGgEM':function(_0x4736f9,_0x39e50b){return _0x4736f9(_0x39e50b);},'gsSnS':_0x456c3a(0x226),'dqYPk':function(_0x147274,_0x40a343){return _0x147274===_0x40a343;},'JDWii':_0x456c3a(0x1cc),'Wuuuq':_0x456c3a(0x1c4),'zEpvr':_0x456c3a(0x22a),'qksjF':'TestLevel','IyxJQ':_0x456c3a(0x1f2),'xRfWj':function(_0x4c89eb,_0x4c0b3f){return _0x4c89eb(_0x4c0b3f);},'RcBwR':_0x456c3a(0x1fc),'RBbwV':function(_0x10c853,_0x171f29){return _0x10c853(_0x171f29);},'gpHBx':'./state/hookState','Vhgoa':_0x456c3a(0x1fe),'xqBFR':_0x456c3a(0x1ca),'bqJrA':_0x456c3a(0x1ea)};try{let _0x2f5171;const _0x2cf693=global['__workerDetails']?.['currentTest']?.[_0x456c3a(0x1c6)],_0x4f9c08=_0x11229b[_0x456c3a(0x1d2)](require,_0x11229b[_0x456c3a(0x1d0)]),_0x138e52=_0x11229b[_0x456c3a(0x21e)](require,_0x11229b['gsSnS']),_0x1cc172=_0x4f9c08[_0x456c3a(0x20b)]()['isRunning']()&&_0x11229b['dqYPk'](_0x138e52['getTestFrameworkDetail']()?.[_0x456c3a(0x22d)]?.[_0x456c3a(0x1d6)](),_0x11229b[_0x456c3a(0x1c8)]);if(_0x1cc172){_0x2f5171=global[_0x456c3a(0x1de)];if(!_0x2f5171){const _0x3412a8=AutomationFramework['getTrackedInstance']();_0x2f5171=AutomationFramework[_0x456c3a(0x1bd)](_0x3412a8,PlaywrightDriverModule[_0x456c3a(0x21a)],'');}this[_0x456c3a(0x1b1)][_0x456c3a(0x231)](_0x456c3a(0x217)+_0x2f5171);}else{if(!_0x2cf693){const _0x1b3133=AutomationFramework['getTrackedInstance']();_0x2f5171=AutomationFramework[_0x456c3a(0x1bd)](_0x1b3133,PlaywrightDriverModule['KEY_TEST_ID'],'');}else _0x2f5171=TestInfo[_0x456c3a(0x234)](_0x2cf693,_0x2cf693[_0x456c3a(0x215)]);this[_0x456c3a(0x1b1)][_0x456c3a(0x231)](_0x456c3a(0x1f8)+_0x2f5171);}if(!_0x2f5171){this[_0x456c3a(0x1b1)][_0x456c3a(0x231)](_0x11229b['Wuuuq']);return;}const _0x213712={[TestFrameworkConstants[_0x456c3a(0x1cd)]]:fs[_0x456c3a(0x206)](_0x1088c3)[_0x456c3a(0x1b9)],[TestFrameworkConstants[_0x456c3a(0x1c5)]]:path[_0x456c3a(0x228)](_0x1088c3),[TestFrameworkConstants[_0x456c3a(0x1ee)]]:_0x1088c3,[TestFrameworkConstants[_0x456c3a(0x1f5)]]:_0x190092?_0x11229b[_0x456c3a(0x1d7)]:_0x11229b[_0x456c3a(0x22f)]};if(_0x1cc172){const _0x420bc5=_0x4f9c08['getInstance']()[_0x456c3a(0x1c7)]();if(!_0x420bc5){this[_0x456c3a(0x1b1)][_0x456c3a(0x231)](_0x11229b[_0x456c3a(0x1d5)]);return;}const _0x12440f=_0x11229b[_0x456c3a(0x1ba)](require,_0x11229b['RcBwR']),_0x3aeb50=_0x11229b['RBbwV'](require,_0x11229b[_0x456c3a(0x1bb)]),_0x20f7c9=_0x420bc5[_0x456c3a(0x1db)](_0x12440f[_0x456c3a(0x21f)],_0x3aeb50[_0x456c3a(0x1ed)]);if(!_0x20f7c9){this[_0x456c3a(0x1b1)][_0x456c3a(0x231)](_0x11229b[_0x456c3a(0x1e7)]);return;}const _0x544cb7=_0x20f7c9[_0x456c3a(0x1e1)]()[_0x456c3a(0x204)](_0x2f5171)||{},_0x30ce8d=_0x544cb7[TestFrameworkConstants[_0x456c3a(0x1d1)]]||{},_0x1d2540={..._0x30ce8d};_0x1d2540[_0x1088c3]=_0x213712;const _0x2a0e76=_0x1d2540,_0x1cee79={[TestFrameworkConstants[_0x456c3a(0x1d1)]]:_0x2a0e76},_0x4101de={};_0x4101de[_0x2f5171]=_0x1cee79,_0x20f7c9[_0x456c3a(0x1e5)](_0x4101de),this[_0x456c3a(0x1b1)][_0x456c3a(0x231)]('trackFile:\x20Stored\x20attachment\x20in\x20instance\x20memory\x20for\x20testId:\x20'+_0x2f5171+_0x456c3a(0x210)+_0x1088c3);}else{const _0x3267aa=TestInfo[_0x456c3a(0x1f3)](_0x2f5171),_0x2256a8=_0x3267aa[TestFrameworkConstants[_0x456c3a(0x1d1)]]||{};_0x2256a8[_0x1088c3]=_0x213712,_0x3267aa[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]=_0x2256a8,TestInfo[_0x456c3a(0x1b4)](_0x2f5171,_0x3267aa),this[_0x456c3a(0x1b1)][_0x456c3a(0x231)]('trackFile:\x20Stored\x20attachment\x20in\x20TestInfo\x20file\x20for\x20testId:\x20'+_0x2f5171+_0x456c3a(0x210)+_0x1088c3);}this[_0x456c3a(0x1b1)][_0x456c3a(0x231)](util[_0x456c3a(0x1bf)](_0x11229b[_0x456c3a(0x207)],_0x1088c3));}catch(_0x238c93){this[_0x456c3a(0x1b1)][_0x456c3a(0x231)](util[_0x456c3a(0x1bf)](_0x11229b[_0x456c3a(0x211)],_0x238c93['message']));}}static[a117_0x2435e9(0x1c1)](){const _0x2e6adf=a117_0x2435e9,_0xb5f8bf={};_0xb5f8bf[_0x2e6adf(0x1e2)]=_0x2e6adf(0x224),_0xb5f8bf[_0x2e6adf(0x1dc)]=_0x2e6adf(0x222),_0xb5f8bf['AHksj']=_0x2e6adf(0x1e4);const _0x1fe952=_0xb5f8bf,_0x409f0a=os[_0x2e6adf(0x20d)](),_0x2f7545=path[_0x2e6adf(0x1fb)](_0x409f0a,_0x1fe952[_0x2e6adf(0x1e2)]);if(!fs[_0x2e6adf(0x1d8)](_0x2f7545))return;const _0xbc4c54=BrowserstackCLI[_0x2e6adf(0x20b)]()[_0x2e6adf(0x1b2)][_0x2e6adf(0x1df)]?.[_0x2e6adf(0x219)]?.['toObject']()?.[_0x2e6adf(0x1b7)],_0x4e1463=_0xbc4c54?path[_0x2e6adf(0x1fb)](_0x2f7545,_0xbc4c54):null;if(!_0x4e1463||!fs[_0x2e6adf(0x1d8)](_0x4e1463)){this[_0x2e6adf(0x1b1)][_0x2e6adf(0x231)](util['format'](_0x1fe952[_0x2e6adf(0x1dc)],_0xbc4c54));return;}const _0x156c43={};_0x156c43[_0x2e6adf(0x21c)]=!![],_0x156c43[_0x2e6adf(0x1bc)]=!![],fs[_0x2e6adf(0x1c9)](_0x4e1463,_0x156c43),this[_0x2e6adf(0x1b1)][_0x2e6adf(0x231)](util[_0x2e6adf(0x1bf)](_0x1fe952['AHksj']));}}function a117_0x2f29(_0x47983d,_0x5abb97){const _0x227538=a117_0x2275();return a117_0x2f29=function(_0x2f293e,_0x11f910){_0x2f293e=_0x2f293e-0x1b1;let _0x17beb9=_0x227538[_0x2f293e];return _0x17beb9;},a117_0x2f29(_0x47983d,_0x5abb97);}module[a117_0x2435e9(0x201)]=uploadAttachmentsManager;
|
|
1
|
+
const a117_0x416efe=a117_0x2838;function a117_0x2838(_0x2954b7,_0x5dc842){const _0x4aac0c=a117_0x4aac();return a117_0x2838=function(_0x28387a,_0x5ae65e){_0x28387a=_0x28387a-0xda;let _0x30513=_0x4aac0c[_0x28387a];return _0x30513;},a117_0x2838(_0x2954b7,_0x5dc842);}(function(_0x4c0068,_0xaa725){const _0x35b64e=a117_0x2838,_0x10ba72=_0x4c0068();while(!![]){try{const _0x24e84d=-parseInt(_0x35b64e(0xe0))/0x1*(parseInt(_0x35b64e(0x118))/0x2)+-parseInt(_0x35b64e(0x13a))/0x3*(-parseInt(_0x35b64e(0x127))/0x4)+parseInt(_0x35b64e(0x100))/0x5+parseInt(_0x35b64e(0xda))/0x6+parseInt(_0x35b64e(0x112))/0x7*(-parseInt(_0x35b64e(0x15c))/0x8)+parseInt(_0x35b64e(0x110))/0x9+-parseInt(_0x35b64e(0x11e))/0xa;if(_0x24e84d===_0xaa725)break;else _0x10ba72['push'](_0x10ba72['shift']());}catch(_0x5d4540){_0x10ba72['push'](_0x10ba72['shift']());}}}(a117_0x4aac,0x92dbf));function a117_0x4aac(){const _0x4e300f=['YUzZW','KgJuk','5278368ekOJHO','Attachment\x20file\x20path\x20is\x20empty,\x20skipping\x20upload.','retry','RZcGM','lOxsI','size','7665eYPVNL','Cleared\x20attachment\x20folder','vIGaL','.browserstack\x20folder\x20not\x20found\x20at:\x20%s','message','homedir','getInstance','IirxI','currentTest','existsSync','trackFile','__workerDetails','./cliUtils','pipe','KEY_TEST_ID','join','KEY_FILE_PATH','basename','.browserstack','mkdirSync','trackFile:\x20No\x20testId\x20available,\x20cannot\x20track\x20attachment','ybmfT','xGKGp','statusCode','Failed\x20to\x20download\x20file.\x20Status\x20code:\x20%s,\x20skipping\x20upload','dgCSw','KEY_FILE_LEVEL','TestHubModule','hoiZS','DTRgW','http://','getTestFramework','473435rMXoKI','Error\x20downloading\x20file:\x20%s,\x20skipping\x20upload','createWriteStream','logger','toObject','clearAttachments','name','yLNtI','KEY_FILE_NAME','modules','./browserstackCLI','unlinkSync','Attachment\x20recevied\x20for\x20path:\x20%s','Attachment\x20file\x20does\x20not\x20exist\x20at:\x20%s','toLowerCase','vOjgU','1087227AZtLXg','YLzTZ','14NnYyrK','getTestIdentifierFromTestInfo','No\x20attachment\x20folder\x20found\x20for\x20testhubID:\x20%s','statSync','xIHZF','https://','22duEOkk','TEST','buildHashedId','force','./state/hookState','finish','5390600KdArEp','GtdAc','Created\x20folder:\x20%s','xqEzX','KEY_FILE_SIZE','fqHUY','getTestDetails','KEY_TEST_ATTACHMENTS','vxhKF','8076FSbNjl','trim','close','./framework/automationFramework','XxaNL','aWfve','Attachment\x20file\x20tracked\x20for\x20upload:\x20%s','trackFile:\x20Jest+Playwright\x20-\x20testId\x20(testIdentifier):\x20','Error\x20tracking\x20file:\x20%s,\x20skipping\x20upload','addMultipleEntries','./framework/constants/testFrameworkConstants','uploadAttachmentsManager','isRunning','debug','BuXNm','File\x20size\x20is\x20too\x20large\x20(%s\x20MB).\x20Skipping\x20upload.','BuildLevel','TbEVT','owLBl','1602jlnNea','nhgtU','ebROG','tAAHf','startsWith','resolveInstance','AjxWz','unOeu','../../helpers/classLogger.js','Created\x20.browserstack\x20folder\x20at:\x20%s','rmSync','vFbiA','format','lxXpI','path','getTrackedInstance','nLCRZ','VGSUL','trackFile:\x20Cucumber+Playwright\x20-\x20testId:\x20','uwUwk','./TestInfo','mQsjt','HGAua','./modules/playwrightDriverModule','dhfbN','https','testhubConfig','CKNLs','xDyFB','get','trackFile:\x20Instance\x20not\x20available,\x20cannot\x20track\x20attachment','JLHvW','toFixed','Pqrpa','3793816mAthUs','http'];a117_0x4aac=function(){return _0x4e300f;};return a117_0x4aac();}const os=require('os'),fs=require('fs'),path=require(a117_0x416efe(0x148)),util=require('util'),BrowserstackCLI=require(a117_0x416efe(0x10a)),https=require(a117_0x416efe(0x153)),http=require(a117_0x416efe(0x15d)),AutomationFramework=require(a117_0x416efe(0x12a)),PlaywrightDriverModule=require(a117_0x416efe(0x151)),TestInfo=require(a117_0x416efe(0x14e)),TestFrameworkConstants=require(a117_0x416efe(0x131)),{createClassLogger}=require(a117_0x416efe(0x142));class uploadAttachmentsManager{static [a117_0x416efe(0x103)]=createClassLogger(a117_0x416efe(0x132));static['uploadAttachments'](_0x38da05,_0x225234=![]){const _0x44b4aa=a117_0x416efe,_0x45e887={};_0x45e887[_0x44b4aa(0x159)]=function(_0x551b46,_0x4e54ae){return _0x551b46/_0x4e54ae;},_0x45e887[_0x44b4aa(0xfd)]=function(_0x3242fa,_0x77076f){return _0x3242fa*_0x77076f;},_0x45e887[_0x44b4aa(0x15e)]=function(_0x3f73cb,_0x854dde){return _0x3f73cb>_0x854dde;},_0x45e887[_0x44b4aa(0x126)]='Downloaded\x20file\x20is\x20too\x20large\x20(%s\x20MB).\x20Deleting\x20file\x20and\x20skipping\x20upload.',_0x45e887[_0x44b4aa(0xf6)]='File\x20downloaded\x20to:\x20%s',_0x45e887['lxXpI']=function(_0x3c74cf,_0x293972){return _0x3c74cf===_0x293972;},_0x45e887[_0x44b4aa(0x14f)]=_0x44b4aa(0x11d),_0x45e887['HGAua']=_0x44b4aa(0xf8),_0x45e887[_0x44b4aa(0xde)]=_0x44b4aa(0x101),_0x45e887['hdeFr']=_0x44b4aa(0x10c),_0x45e887[_0x44b4aa(0x116)]=_0x44b4aa(0xf2),_0x45e887['vFbiA']=_0x44b4aa(0xe3),_0x45e887[_0x44b4aa(0x141)]=_0x44b4aa(0x143),_0x45e887['Pqrpa']=_0x44b4aa(0x120),_0x45e887[_0x44b4aa(0x14b)]=_0x44b4aa(0xdb),_0x45e887[_0x44b4aa(0x12c)]=_0x44b4aa(0x117),_0x45e887['hlewR']=_0x44b4aa(0xfe),_0x45e887[_0x44b4aa(0x152)]='error',_0x45e887[_0x44b4aa(0xf9)]=_0x44b4aa(0x10d),_0x45e887[_0x44b4aa(0x13b)]=_0x44b4aa(0x136);const _0x286fe4=_0x45e887;this[_0x44b4aa(0x103)][_0x44b4aa(0x134)](util[_0x44b4aa(0x146)](_0x286fe4['hdeFr'],_0x38da05));const _0x2241ed=os[_0x44b4aa(0xe5)](),_0xe83c62=path[_0x44b4aa(0xef)](_0x2241ed,_0x286fe4[_0x44b4aa(0x116)]);!fs[_0x44b4aa(0xe9)](_0xe83c62)&&(this[_0x44b4aa(0x103)][_0x44b4aa(0x134)](util[_0x44b4aa(0x146)](_0x286fe4[_0x44b4aa(0x145)],_0xe83c62)),fs[_0x44b4aa(0xf3)](_0xe83c62),this[_0x44b4aa(0x103)][_0x44b4aa(0x134)](util[_0x44b4aa(0x146)](_0x286fe4[_0x44b4aa(0x141)],_0xe83c62)));const _0x53ca01=BrowserstackCLI[_0x44b4aa(0xe6)]()[_0x44b4aa(0x109)][_0x44b4aa(0xfb)]?.[_0x44b4aa(0x154)]?.[_0x44b4aa(0x104)]()?.[_0x44b4aa(0x11a)],_0x432c59=path[_0x44b4aa(0xef)](_0xe83c62,_0x53ca01);!fs[_0x44b4aa(0xe9)](_0x432c59)&&(fs[_0x44b4aa(0xf3)](_0x432c59),this[_0x44b4aa(0x103)]['debug'](util['format'](_0x286fe4[_0x44b4aa(0x15b)],_0x432c59)));if(_0x286fe4[_0x44b4aa(0x147)](_0x38da05[_0x44b4aa(0x128)](),'')){this['logger']['debug'](util[_0x44b4aa(0x146)](_0x286fe4['VGSUL']));return;}if(_0x38da05['startsWith'](_0x286fe4[_0x44b4aa(0x12c)])||_0x38da05[_0x44b4aa(0x13e)](_0x286fe4['hlewR'])){const _0x489e7c=_0x38da05[_0x44b4aa(0x13e)](_0x286fe4[_0x44b4aa(0x12c)])?https:http,_0x545075=path['basename'](_0x38da05),_0x5d4379=path[_0x44b4aa(0xef)](_0x432c59,_0x545075),_0x2e38d2=fs[_0x44b4aa(0x102)](_0x5d4379);_0x489e7c['get'](_0x38da05,_0xdbc7b7=>{const _0x58cfae=_0x44b4aa,_0x2a8981={'yLNtI':function(_0x4b1d40,_0x5b26fd){const _0x5d3477=a117_0x2838;return _0x286fe4[_0x5d3477(0x159)](_0x4b1d40,_0x5b26fd);},'CKNLs':function(_0x3992bb,_0x3786ef){return _0x286fe4['DTRgW'](_0x3992bb,_0x3786ef);},'xQUpu':function(_0x1f23af,_0x3a2c34){return _0x286fe4['YUzZW'](_0x1f23af,_0x3a2c34);},'uwUwk':_0x286fe4['vxhKF'],'xDyFB':_0x286fe4['xGKGp']};if(_0x286fe4[_0x58cfae(0x147)](_0xdbc7b7['statusCode'],0xc8))_0xdbc7b7[_0x58cfae(0xed)](_0x2e38d2),_0x2e38d2['on'](_0x286fe4[_0x58cfae(0x14f)],()=>{const _0xa96e09=_0x58cfae;_0x2e38d2[_0xa96e09(0x129)]();const _0x4cbd02=fs[_0xa96e09(0x115)](_0x5d4379),_0x522711=_0x2a8981[_0xa96e09(0x107)](_0x4cbd02[_0xa96e09(0xdf)],_0x2a8981[_0xa96e09(0x155)](0x400,0x400));if(_0x2a8981['xQUpu'](_0x522711,0x64)){this['logger'][_0xa96e09(0x134)](util[_0xa96e09(0x146)](_0x2a8981[_0xa96e09(0x14d)],_0x522711['toFixed'](0x2))),fs[_0xa96e09(0x10b)](_0x5d4379);return;}this[_0xa96e09(0x103)][_0xa96e09(0x134)](util[_0xa96e09(0x146)](_0x2a8981[_0xa96e09(0x156)],_0x5d4379)),uploadAttachmentsManager[_0xa96e09(0xea)](_0x5d4379,_0x225234);});else{this[_0x58cfae(0x103)][_0x58cfae(0x134)](util['format'](_0x286fe4[_0x58cfae(0x150)],_0xdbc7b7[_0x58cfae(0xf7)])),_0x2e38d2[_0x58cfae(0x129)](),fs[_0x58cfae(0x10b)](_0x5d4379);return;}})['on'](_0x286fe4[_0x44b4aa(0x152)],_0x3b8ee6=>{const _0x1e2183=_0x44b4aa;this['logger'][_0x1e2183(0x134)](util[_0x1e2183(0x146)](_0x286fe4[_0x1e2183(0xde)],_0x3b8ee6[_0x1e2183(0xe4)])),_0x2e38d2[_0x1e2183(0x129)](),fs['unlinkSync'](_0x5d4379);return;});}else{if(!fs[_0x44b4aa(0xe9)](_0x38da05)){this[_0x44b4aa(0x103)]['debug'](util[_0x44b4aa(0x146)](_0x286fe4[_0x44b4aa(0xf9)],_0x38da05));return;}const _0x3ed515=fs[_0x44b4aa(0x115)](_0x38da05),_0x362a44=_0x286fe4[_0x44b4aa(0x159)](_0x3ed515['size'],_0x286fe4['DTRgW'](0x400,0x400));if(_0x286fe4[_0x44b4aa(0x15e)](_0x362a44,0x64)){this[_0x44b4aa(0x103)][_0x44b4aa(0x134)](util[_0x44b4aa(0x146)](_0x286fe4[_0x44b4aa(0x13b)],_0x362a44[_0x44b4aa(0x15a)](0x2)));return;}const _0x48b75d=path[_0x44b4aa(0xf1)](_0x38da05),_0x3281fe=path[_0x44b4aa(0xef)](_0x432c59,_0x48b75d);fs['copyFileSync'](_0x38da05,_0x3281fe),uploadAttachmentsManager[_0x44b4aa(0xea)](_0x3281fe,_0x225234);}}static[a117_0x416efe(0xea)](_0x4dc3c3,_0x5ec63a){const _0x6854f6=a117_0x416efe,_0x373990={'IirxI':function(_0x4f36e0,_0x18c71c){return _0x4f36e0(_0x18c71c);},'GtdAc':_0x6854f6(0x10a),'owLBl':function(_0x3133a4,_0x11e0bb){return _0x3133a4(_0x11e0bb);},'BuXNm':_0x6854f6(0xec),'RZcGM':function(_0x410b00,_0x33361b){return _0x410b00===_0x33361b;},'vOjgU':'jest','vIGaL':_0x6854f6(0xf4),'nLCRZ':_0x6854f6(0x137),'TbEVT':'TestLevel','fqHUY':'trackFile:\x20TestFramework\x20not\x20available,\x20cannot\x20track\x20attachment','AjxWz':function(_0x31800b,_0x160701){return _0x31800b(_0x160701);},'HCUsA':'./state/testFrameworkState','KgJuk':function(_0x4abc6d,_0xdc1e30){return _0x4abc6d(_0xdc1e30);},'tAAHf':_0x6854f6(0x11c),'ybmfT':_0x6854f6(0x158),'XxaNL':_0x6854f6(0x12d),'YLzTZ':_0x6854f6(0x12f)};try{let _0x41dc77;const _0x2cc86f=global[_0x6854f6(0xeb)]?.[_0x6854f6(0xe8)]?.['testInfo'],_0x1f8c30=_0x373990[_0x6854f6(0xe7)](require,_0x373990[_0x6854f6(0x11f)]),_0x5c56c4=_0x373990[_0x6854f6(0x139)](require,_0x373990[_0x6854f6(0x135)]),_0x3a29fe=_0x1f8c30[_0x6854f6(0xe6)]()[_0x6854f6(0x133)]()&&_0x373990[_0x6854f6(0xdd)](_0x5c56c4['getTestFrameworkDetail']()?.[_0x6854f6(0x106)]?.[_0x6854f6(0x10e)](),_0x373990[_0x6854f6(0x10f)]);if(_0x3a29fe){_0x41dc77=global['__jestCurrentTestIdentifier'];if(!_0x41dc77){const _0x2c48d7=AutomationFramework[_0x6854f6(0x149)]();_0x41dc77=AutomationFramework['getState'](_0x2c48d7,PlaywrightDriverModule[_0x6854f6(0xee)],'');}this[_0x6854f6(0x103)][_0x6854f6(0x134)](_0x6854f6(0x12e)+_0x41dc77);}else{if(!_0x2cc86f){const _0x19d167=AutomationFramework[_0x6854f6(0x149)]();_0x41dc77=AutomationFramework['getState'](_0x19d167,PlaywrightDriverModule[_0x6854f6(0xee)],'');}else _0x41dc77=TestInfo[_0x6854f6(0x113)](_0x2cc86f,_0x2cc86f[_0x6854f6(0xdc)]);this[_0x6854f6(0x103)][_0x6854f6(0x134)](_0x6854f6(0x14c)+_0x41dc77);}if(!_0x41dc77){this['logger'][_0x6854f6(0x134)](_0x373990[_0x6854f6(0xe2)]);return;}const _0x4cb078={[TestFrameworkConstants[_0x6854f6(0x122)]]:fs[_0x6854f6(0x115)](_0x4dc3c3)['size'],[TestFrameworkConstants[_0x6854f6(0x108)]]:path[_0x6854f6(0xf1)](_0x4dc3c3),[TestFrameworkConstants[_0x6854f6(0xf0)]]:_0x4dc3c3,[TestFrameworkConstants[_0x6854f6(0xfa)]]:_0x5ec63a?_0x373990[_0x6854f6(0x14a)]:_0x373990[_0x6854f6(0x138)]};if(_0x3a29fe){const _0x49fb46=_0x1f8c30[_0x6854f6(0xe6)]()[_0x6854f6(0xff)]();if(!_0x49fb46){this[_0x6854f6(0x103)][_0x6854f6(0x134)](_0x373990[_0x6854f6(0x123)]);return;}const _0x4ce2d7=_0x373990[_0x6854f6(0x140)](require,_0x373990['HCUsA']),_0x1f104f=_0x373990[_0x6854f6(0x15f)](require,_0x373990[_0x6854f6(0x13d)]),_0x4b7720=_0x49fb46[_0x6854f6(0x13f)](_0x4ce2d7[_0x6854f6(0x119)],_0x1f104f['POST']);if(!_0x4b7720){this[_0x6854f6(0x103)][_0x6854f6(0x134)](_0x373990[_0x6854f6(0xf5)]);return;}const _0x566913=_0x4b7720['getAllData']()[_0x6854f6(0x157)](_0x41dc77)||{},_0x365aed=_0x566913[TestFrameworkConstants[_0x6854f6(0x125)]]||{},_0x4be4b8={..._0x365aed};_0x4be4b8[_0x4dc3c3]=_0x4cb078;const _0x6a8689=_0x4be4b8,_0x33d972={[TestFrameworkConstants[_0x6854f6(0x125)]]:_0x6a8689},_0x246f38={};_0x246f38[_0x41dc77]=_0x33d972,_0x4b7720[_0x6854f6(0x130)](_0x246f38),this['logger'][_0x6854f6(0x134)]('trackFile:\x20Stored\x20attachment\x20in\x20instance\x20memory\x20for\x20testId:\x20'+_0x41dc77+',\x20filepath:\x20'+_0x4dc3c3);}else{const _0x2aa5de=TestInfo[_0x6854f6(0x124)](_0x41dc77),_0x3d5a3f=_0x2aa5de[TestFrameworkConstants[_0x6854f6(0x125)]]||{};_0x3d5a3f[_0x4dc3c3]=_0x4cb078,_0x2aa5de[TestFrameworkConstants[_0x6854f6(0x125)]]=_0x3d5a3f,TestInfo['setTestDetails'](_0x41dc77,_0x2aa5de),this['logger'][_0x6854f6(0x134)]('trackFile:\x20Stored\x20attachment\x20in\x20TestInfo\x20file\x20for\x20testId:\x20'+_0x41dc77+',\x20filepath:\x20'+_0x4dc3c3);}this['logger'][_0x6854f6(0x134)](util[_0x6854f6(0x146)](_0x373990[_0x6854f6(0x12b)],_0x4dc3c3));}catch(_0x5ce397){this['logger']['debug'](util['format'](_0x373990[_0x6854f6(0x111)],_0x5ce397['message']));}}static[a117_0x416efe(0x105)](){const _0x57ebb0=a117_0x416efe,_0x4b57c4={};_0x4b57c4[_0x57ebb0(0x13c)]=_0x57ebb0(0xf2),_0x4b57c4[_0x57ebb0(0xfc)]=_0x57ebb0(0x114),_0x4b57c4[_0x57ebb0(0x121)]=_0x57ebb0(0xe1);const _0x397d62=_0x4b57c4,_0x3a3d8f=os[_0x57ebb0(0xe5)](),_0x5d498b=path[_0x57ebb0(0xef)](_0x3a3d8f,_0x397d62[_0x57ebb0(0x13c)]);if(!fs['existsSync'](_0x5d498b))return;const _0x12669e=BrowserstackCLI[_0x57ebb0(0xe6)]()[_0x57ebb0(0x109)][_0x57ebb0(0xfb)]?.['testhubConfig']?.[_0x57ebb0(0x104)]()?.[_0x57ebb0(0x11a)],_0x5115ab=_0x12669e?path[_0x57ebb0(0xef)](_0x5d498b,_0x12669e):null;if(!_0x5115ab||!fs[_0x57ebb0(0xe9)](_0x5115ab)){this['logger'][_0x57ebb0(0x134)](util[_0x57ebb0(0x146)](_0x397d62[_0x57ebb0(0xfc)],_0x12669e));return;}const _0x32a2fd={};_0x32a2fd['recursive']=!![],_0x32a2fd[_0x57ebb0(0x11b)]=!![],fs[_0x57ebb0(0x144)](_0x5115ab,_0x32a2fd),this[_0x57ebb0(0x103)][_0x57ebb0(0x134)](util[_0x57ebb0(0x146)](_0x397d62[_0x57ebb0(0x121)]));}}module['exports']=uploadAttachmentsManager;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a118_0x34b0(){const _0x1449b2=['../TestInfo.js','JTpTe','Exception\x20in\x20createHookData:\x20','getTestUUID','pQZVl','duration_in_ms','toLowerCase','NllCV','backtrace','../../../helpers/logger.js','sendTestRunEventForCucumber','javascript','filter','uri','tEDdC','failure_reason','testStepFinished','Exception\x20in\x20getHookRunEventData:\x20','scenario','PzXnC','value','12151696SalWam','createHookData','forEach','QmwTa','getScenarioExamples','ESrXT','BpmQI','timestamp','XofUU','failureData','push','AFTER_EACH','message','failure_type','getCucumberHookType','ntrfY','1091106gGeZyX','1aqhutZ','168zAnRVr','HookRunFinished','../../../helpers/test-observability/error-handler.js','tozFW','lJCnS','cells','NPcfW','_gitConfigured','feature','tags','sourceReference','68484gfjniJ','cucumber','../../../helpers/helper.js','90feskRX','AssertionError','_gitConfigPath','HozEv','XeLeM','Ehybs','qedtk','jyEnO','RjEvX','getHookResult','find','YmpqA','map','6635825aUdMsL','examples','test','hookId','epzPC','rule','bsyxF','unknown','format','HookRunStarted','ElxZJ','debug','nDalR','passed','2293790TKWeGR','failure_data','exception','join','jyCLZ','split','lrQcB','createTestFrameworkData','result','fqjxS','astNodeIds','every','JEEYx','flatMap','length','finishedAt','failure','Dczhd','rphta','toISOString','pickleStepId','tagExpression','YwDmf','bstack','status','fBXtp','toString','JpaXr','nanos','dCvlF','failureType','children','tableBody','ARIzq','match','testCaseFinished','relative','path','PrqSV','pending','strip-ansi','dCOrh','sXlHz','includes','tBucm','8890532oxvafy','configureGit','name','SsETl','OjNZT','1412978gIRyyf','aRPff','TqmLd','rcWWH','failed','hooks'];a118_0x34b0=function(){return _0x1449b2;};return a118_0x34b0();}const a118_0x2ae370=a118_0x3950;function a118_0x3950(_0x5ca734,_0x617206){const _0x34b03c=a118_0x34b0();return a118_0x3950=function(_0x3950f9,_0x85064e){_0x3950f9=_0x3950f9-0x141;let _0xa122f4=_0x34b03c[_0x3950f9];return _0xa122f4;},a118_0x3950(_0x5ca734,_0x617206);}(function(_0x2425db,_0x252981){const _0x20ac23=a118_0x3950,_0x4a156c=_0x2425db();while(!![]){try{const _0x1dd5e0=parseInt(_0x20ac23(0x1a7))/0x1*(parseInt(_0x20ac23(0x17b))/0x2)+parseInt(_0x20ac23(0x1b3))/0x3*(-parseInt(_0x20ac23(0x1a8))/0x4)+parseInt(_0x20ac23(0x1c3))/0x5+parseInt(_0x20ac23(0x1a6))/0x6+-parseInt(_0x20ac23(0x176))/0x7+-parseInt(_0x20ac23(0x196))/0x8+-parseInt(_0x20ac23(0x1b6))/0x9*(-parseInt(_0x20ac23(0x149))/0xa);if(_0x1dd5e0===_0x252981)break;else _0x4a156c['push'](_0x4a156c['shift']());}catch(_0x5e8e15){_0x4a156c['push'](_0x4a156c['shift']());}}}(a118_0x34b0,0xb9e89));const path=require(a118_0x2ae370(0x16e)),util=require('util'),{getGitMetaData,isUndefined,nestedKeyValue}=require(a118_0x2ae370(0x1b5)),logger=require(a118_0x2ae370(0x18a))['winstonLogger'],{o11yClassErrorHandler}=require(a118_0x2ae370(0x1aa)),TestInfo=require(a118_0x2ae370(0x181)),hooksMap={};class CucumberUtils{constructor(){const _0x15e6a7=a118_0x2ae370;this['_gitConfigured']=![],this[_0x15e6a7(0x1b8)]=null;}async[a118_0x2ae370(0x150)](_0x40f740,_0x459afd,_0x1ad4e2,_0x5d1dd3,_0x36482a,_0x460d2e){const _0x4a56e4=a118_0x2ae370,_0x571991={'jyCLZ':function(_0x1fc63f,_0x1bd4d){return _0x1fc63f===_0x1bd4d;},'NPcfW':'FAILED','fqjxS':_0x4a56e4(0x17f),'nDalR':function(_0x5608cc,_0xfcdb39){return _0x5608cc===_0xfcdb39;},'YwDmf':'SKIPPED','qedtk':'skipped','BpmQI':function(_0x4a247e,_0x2ef6f7){return _0x4a247e||_0x2ef6f7;},'PzXnC':function(_0x133640,_0x22b1ee){return _0x133640+_0x22b1ee;},'LonrW':_0x4a56e4(0x1c5),'sHmZW':_0x4a56e4(0x18c),'ElxZJ':'cucumber','QmwTa':_0x4a56e4(0x170),'fBXtp':_0x4a56e4(0x148),'QzaJN':function(_0x37bf86,_0x1b6df8){return _0x37bf86!==_0x1b6df8;},'tozFW':function(_0x417696,_0x2e4b59){return _0x417696/_0x2e4b59;},'bKewf':function(_0x69f4,_0x226368){return _0x69f4===_0x226368;},'wQHJE':_0x4a56e4(0x171),'aRPff':function(_0x6858b9,_0xbd5645){return _0x6858b9(_0xbd5645);},'YmpqA':_0x4a56e4(0x142),'NllCV':_0x4a56e4(0x1b7),'Dczhd':'UnhandledError'},{feature:_0x5ee34b,scenario:_0x114cd1,steps:_0x509212,uuid:_0x2df84d,startedAt:_0xe64663,finishedAt:_0x2eade4}=_0x571991[_0x4a56e4(0x19c)](_0x40f740,{}),_0x5ce89=this[_0x4a56e4(0x19a)](_0x5d1dd3,_0x459afd);await this[_0x4a56e4(0x177)]();const _0x7c1a50=_0x5ce89?_0x571991[_0x4a56e4(0x194)](_0x571991[_0x4a56e4(0x194)](_0x571991[_0x4a56e4(0x194)](_0x459afd[_0x4a56e4(0x178)],'\x20('),_0x5ce89[_0x4a56e4(0x14c)](',\x20')),')'):_0x459afd[_0x4a56e4(0x178)],_0x5ccf32={'id':_0x36482a,'uuid':_0x36482a,'startedAt':_0xe64663,'finishedAt':_0x2eade4,'type':_0x571991['LonrW'],'body':{'lang':_0x571991['sHmZW'],'code':null},'name':_0x7c1a50,'scopes':[_0x5ee34b&&_0x5ee34b[_0x4a56e4(0x178)]?_0x5ee34b['name']:''],'tags':_0x459afd[_0x4a56e4(0x1b1)]?_0x459afd[_0x4a56e4(0x1b1)]['map'](({name:_0x573abd})=>_0x573abd):[],'file_name':_0x459afd[_0x4a56e4(0x18e)],'location':_0x459afd['uri'],'vc_filepath':this[_0x4a56e4(0x1b8)]&&_0x459afd[_0x4a56e4(0x18e)]?path[_0x4a56e4(0x16d)](this[_0x4a56e4(0x1b8)],_0x459afd['uri']):null,'framework':_0x571991[_0x4a56e4(0x145)],'result':_0x571991[_0x4a56e4(0x199)],'meta':{'feature':_0x5ee34b,'scenario':_0x114cd1,'steps':_0x509212,'examples':_0x5ce89},'customRerunParam':{'rerun_name':_0x7c1a50}};if(_0x1ad4e2[_0x4a56e4(0x16c)]&&_0x509212){const _0xe41cc2=_0x1ad4e2[_0x4a56e4(0x16c)];let _0x2b2ce4=_0x571991[_0x4a56e4(0x162)];_0x509212[_0x4a56e4(0x154)](_0x54bb7d=>{const _0x445809=_0x4a56e4;if(_0x571991[_0x445809(0x14d)](_0x54bb7d[_0x445809(0x151)],_0x571991[_0x445809(0x1ae)]))return _0x2b2ce4=_0x571991[_0x445809(0x152)],_0xe41cc2['failure']=_0x54bb7d[_0x445809(0x159)],_0xe41cc2[_0x445809(0x167)]=_0x54bb7d[_0x445809(0x167)],![];else{if(_0x571991[_0x445809(0x147)](_0x54bb7d[_0x445809(0x151)],_0x571991[_0x445809(0x15f)]))return _0x2b2ce4=_0x571991[_0x445809(0x1bc)],![];}return!![];}),_0x5ccf32[_0x4a56e4(0x158)]=new Date()['toISOString'](),_0x5ccf32[_0x4a56e4(0x151)]=_0x2b2ce4;_0xe41cc2[_0x4a56e4(0x19d)]&&_0x571991['QzaJN'](_0xe41cc2[_0x4a56e4(0x19d)][_0x4a56e4(0x165)],undefined)?_0x5ccf32[_0x4a56e4(0x186)]=_0x571991[_0x4a56e4(0x1ab)](_0xe41cc2[_0x4a56e4(0x19d)][_0x4a56e4(0x165)],0xf4240):_0x5ccf32[_0x4a56e4(0x186)]=undefined;if(_0x571991['bKewf'](_0x2b2ce4,_0x571991[_0x4a56e4(0x152)])){const {default:_0x4f2bf1}=await import(_0x571991['wQHJE']);_0x5ccf32[_0x4a56e4(0x159)]=[{'backtrace':[_0xe41cc2['failure']?_0x571991[_0x4a56e4(0x17c)](_0x4f2bf1,_0xe41cc2[_0x4a56e4(0x159)]):_0x571991[_0x4a56e4(0x1c1)]]}],_0x5ccf32[_0x4a56e4(0x190)]=_0xe41cc2['failure']?_0x571991['aRPff'](_0x4f2bf1,_0xe41cc2[_0x4a56e4(0x159)]):_0xe41cc2['message'],_0xe41cc2[_0x4a56e4(0x167)]&&(_0x5ccf32[_0x4a56e4(0x1a3)]=_0xe41cc2[_0x4a56e4(0x167)][_0x4a56e4(0x16b)](/AssertError/)?_0x571991[_0x4a56e4(0x188)]:_0x571991[_0x4a56e4(0x15a)]);}}return _0x5ccf32;}['getHookRunEventData'](_0x1a6793,_0x41da34,_0x3d8c97,_0x46ed2a,_0x257ad7,_0x24cbc0){const _0x41acb1=a118_0x2ae370,_0x11ecf4={'bsyxF':function(_0x4ad2fb,_0x54f205){return _0x4ad2fb===_0x54f205;},'pQZVl':_0x41acb1(0x1a9),'lrQcB':function(_0x3d946e,_0x290bcd,_0x2ab617){return _0x3d946e(_0x290bcd,_0x2ab617);},'HozEv':_0x41acb1(0x1b2),'ESrXT':_0x41acb1(0x18e),'pwwDs':_0x41acb1(0x170),'TqmLd':'hook','PrqSV':_0x41acb1(0x18c),'lJCnS':_0x41acb1(0x1b0),'NcwZL':_0x41acb1(0x178),'ARIzq':function(_0x22451a,_0x27e817,_0x508c0a){return _0x22451a(_0x27e817,_0x508c0a);},'Fybhu':_0x41acb1(0x1b4)};try{if(_0x11ecf4[_0x41acb1(0x141)](_0x3d8c97,_0x11ecf4[_0x41acb1(0x185)])){const _0x29b238=new Date()[_0x41acb1(0x15c)](),_0x5bfb5b=hooksMap[_0x41da34];if(!_0x5bfb5b)return;const _0x1a99a9=_0x5bfb5b[_0x41acb1(0x1c0)](_0x59c399=>_0x59c399['uuid']===_0x46ed2a['id']);if(!_0x1a99a9)return;const _0x1fce63=this['getHookResult'](_0x1a6793,_0x41da34);_0x1a99a9[_0x41acb1(0x151)]=_0x1fce63[_0x41acb1(0x161)],_0x1a99a9['finished_at']=_0x29b238,_0x1a99a9[_0x41acb1(0x1a3)]=_0x1fce63[_0x41acb1(0x167)];const _0x29db98={};return _0x29db98[_0x41acb1(0x189)]=_0x1fce63[_0x41acb1(0x19f)],_0x1a99a9[_0x41acb1(0x14a)]=[_0x29db98],_0x1a99a9;}const _0x1488e9=TestInfo[_0x41acb1(0x184)](_0x41da34),_0x172263=_0x1a6793[_0x41acb1(0x180)][_0x41acb1(0x1c0)](_0x3c966f=>_0x3c966f['id']===_0x46ed2a['hookId']),_0x266dc0=_0x11ecf4[_0x41acb1(0x14f)](nestedKeyValue,_0x172263,[_0x11ecf4[_0x41acb1(0x1b9)],_0x11ecf4[_0x41acb1(0x19b)]]),_0x1b0c4d=new Date()[_0x41acb1(0x15c)](),_0xb20965=_0x11ecf4['pwwDs'],_0x4defec=_0x172263[_0x41acb1(0x15e)]?_0x172263[_0x41acb1(0x15e)][_0x41acb1(0x14e)]('\x20')[_0x41acb1(0x18d)](_0x5968e6=>_0x5968e6[_0x41acb1(0x174)]('@')):[],_0x5a3942={'uuid':_0x46ed2a['id'],'type':_0x11ecf4[_0x41acb1(0x17d)],'hook_type':_0x24cbc0,'name':_0x172263[_0x41acb1(0x178)],'body':{'lang':_0x11ecf4[_0x41acb1(0x16f)],'code':null},'tags':_0x4defec,'test_run_id':_0x1488e9,'scope':_0x11ecf4['lrQcB'](nestedKeyValue,_0x257ad7,[_0x11ecf4[_0x41acb1(0x1ac)],_0x11ecf4['NcwZL']]),'scopes':[_0x11ecf4[_0x41acb1(0x16a)](nestedKeyValue,_0x257ad7,[_0x11ecf4[_0x41acb1(0x1ac)],_0x11ecf4['NcwZL']])||''],'file_name':_0x266dc0,'location':_0x266dc0,'vc_filepath':this[_0x41acb1(0x1b8)]?path['relative'](this['_gitConfigPath'],_0x266dc0):null,'result':_0xb20965,'started_at':_0x1b0c4d,'framework':_0x11ecf4['Fybhu']};return _0x5a3942;}catch(_0x5559e0){logger['debug'](_0x41acb1(0x192)+util[_0x41acb1(0x143)](_0x5559e0)+'\x20');}}async[a118_0x2ae370(0x197)](_0x2b5748,_0x122ca0,_0x567807,_0x15a81a,_0x19aa11,_0x20f0e7){const _0x38d80b=a118_0x2ae370,_0x330495={'sXlHz':function(_0x3087dd,_0x41ba8e){return _0x3087dd===_0x41ba8e;},'JTpTe':_0x38d80b(0x144),'tEDdC':function(_0x50c917,_0x3086e5,_0x13ae52){return _0x50c917(_0x3086e5,_0x13ae52);},'jyEnO':'sourceReference','RjEvX':_0x38d80b(0x18e),'OjNZT':'browserstack-node-agent/src/bin/cucumber-js/test.setup.js','uDaOC':function(_0x5b7f25,_0x244b31){return _0x5b7f25===_0x244b31;},'nDsaO':_0x38d80b(0x160)};try{const _0xf18918=_0x15a81a[_0x38d80b(0x1c0)](_0x3e254b=>_0x3e254b['id']===_0x19aa11);if(!_0xf18918[_0x38d80b(0x1c6)])return;const _0x192dcc=this[_0x38d80b(0x1a4)](_0x15a81a,_0xf18918),_0x579955=this['getHookRunEventData'](_0x2b5748,_0x122ca0,_0x567807,_0xf18918,_0x20f0e7,_0x192dcc);if(!_0x579955)return;_0x330495[_0x38d80b(0x173)](_0x567807,_0x330495[_0x38d80b(0x182)])&&(hooksMap[_0x122ca0]?hooksMap[_0x122ca0][_0x38d80b(0x1a0)](_0x579955):hooksMap[_0x122ca0]=[_0x579955]);const _0x429d36=_0x2b5748[_0x38d80b(0x180)]['find'](_0x1c9f0b=>_0x1c9f0b['id']===_0xf18918['hookId']),_0x26fa26=_0x330495[_0x38d80b(0x18f)](nestedKeyValue,_0x429d36,[_0x330495[_0x38d80b(0x1bd)],_0x330495[_0x38d80b(0x1be)]]);if(!_0x26fa26)return;else{if(_0x26fa26['includes'](_0x330495[_0x38d80b(0x17a)]))return;}if(_0x330495['uDaOC'](_0x579955[_0x38d80b(0x178)],_0x330495['nDsaO']))return;return _0x579955;}catch(_0x2194fe){logger[_0x38d80b(0x146)](_0x38d80b(0x183)+util[_0x38d80b(0x143)](_0x2194fe)+'\x20');}}[a118_0x2ae370(0x1bf)](_0x1859d4,_0x627032){const _0x35972e=a118_0x2ae370,_0x4831d6={};_0x4831d6[_0x35972e(0x166)]=function(_0x556606,_0x35bd5d){return _0x556606===_0x35bd5d;},_0x4831d6[_0x35972e(0x1ba)]=_0x35972e(0x17f),_0x4831d6[_0x35972e(0x19e)]=function(_0x17daa1,_0xc93ab0){return _0x17daa1===_0xc93ab0;},_0x4831d6[_0x35972e(0x164)]='UnhandledError',_0x4831d6[_0x35972e(0x155)]='AssertionError',_0x4831d6[_0x35972e(0x17e)]=function(_0x433b8b,_0x340202){return _0x433b8b||_0x340202;};const _0x1c8842=_0x4831d6,_0x34701c=_0x1859d4[_0x35972e(0x191)][_0x627032]['testStepResult'];let _0x189705,_0x1392aa;return _0x34701c&&_0x1c8842[_0x35972e(0x166)](_0x34701c['status'][_0x35972e(0x163)]()[_0x35972e(0x187)](),_0x1c8842[_0x35972e(0x1ba)])&&(_0x189705=_0x1c8842[_0x35972e(0x166)](_0x34701c['exception'],undefined)?_0x34701c[_0x35972e(0x1a2)]:_0x34701c['exception'][_0x35972e(0x1a2)],_0x1392aa=_0x1c8842[_0x35972e(0x19e)](_0x34701c[_0x35972e(0x14b)],undefined)?_0x1c8842[_0x35972e(0x164)]:_0x34701c[_0x35972e(0x1a2)][_0x35972e(0x16b)](/Assert/)?_0x1c8842[_0x35972e(0x155)]:_0x1c8842[_0x35972e(0x164)]),{'status':_0x34701c[_0x35972e(0x161)][_0x35972e(0x187)](),'failureType':_0x1c8842[_0x35972e(0x17e)](_0x1392aa,null),'failureData':!_0x189705?null:[_0x189705]};}['getCucumberHookType'](_0x532b2e,_0x456aaf){const _0x680e9c=a118_0x2ae370,_0x4db30b={};_0x4db30b[_0x680e9c(0x15b)]=function(_0x172418,_0x174ec2){return _0x172418===_0x174ec2;},_0x4db30b[_0x680e9c(0x1bb)]=_0x680e9c(0x1a1),_0x4db30b[_0x680e9c(0x172)]='BEFORE_EACH';const _0x269a98=_0x4db30b;let _0x1b740f=![];for(const _0x58bc5a of _0x532b2e){_0x58bc5a[_0x680e9c(0x15d)]&&(_0x1b740f=!![]);if(_0x269a98[_0x680e9c(0x15b)](_0x456aaf['id'],_0x58bc5a['id']))return _0x1b740f?_0x269a98[_0x680e9c(0x1bb)]:_0x269a98[_0x680e9c(0x172)];}}['getScenarioExamples']=(_0x29125f,_0x3b9bc2)=>{const _0x124885=a118_0x2ae370,_0x3c83b5={};_0x3c83b5['ntrfY']=function(_0x72d9e5,_0x515ddf){return _0x72d9e5===_0x515ddf;},_0x3c83b5[_0x124885(0x175)]=function(_0x2b99ae,_0x3b59c7){return _0x2b99ae===_0x3b59c7;},_0x3c83b5['SsETl']=function(_0x764779,_0x2227d7){return _0x764779>_0x2227d7;};const _0x31be24=_0x3c83b5;if(!(_0x3b9bc2[_0x124885(0x153)]&&_0x31be24[_0x124885(0x179)](_0x3b9bc2[_0x124885(0x153)][_0x124885(0x157)],0x1)))return;const _0x397cc7=_0x3b9bc2[_0x124885(0x153)][0x0],_0x1fa721=_0x3b9bc2['astNodeIds'][0x1],_0x1b1b4e=_0x29125f['feature']&&_0x29125f['feature'][_0x124885(0x168)]?_0x29125f[_0x124885(0x1b0)][_0x124885(0x168)]:undefined;let _0xa25beb=[];_0x1b1b4e&&_0x1b1b4e[_0x124885(0x198)](_0x251632=>{const _0x309bf2=_0x124885;if(_0x251632[_0x309bf2(0x1c8)])_0x251632['rule'][_0x309bf2(0x168)][_0x309bf2(0x198)](_0x2bd972=>{const _0x516ff2=_0x309bf2;if(_0x2bd972['scenario']&&_0x31be24[_0x516ff2(0x1a5)](_0x2bd972[_0x516ff2(0x193)]['id'],_0x397cc7)&&_0x2bd972[_0x516ff2(0x193)][_0x516ff2(0x1c4)]){const _0x5775fd=_0x2bd972['scenario'][_0x516ff2(0x1c4)][_0x516ff2(0x156)](_0xf152e6=>_0xf152e6[_0x516ff2(0x169)])[_0x516ff2(0x1c0)](_0x3a3c0d=>_0x3a3c0d['id']===_0x1fa721);let _0x13ecd1;_0x5775fd&&_0x5775fd[_0x516ff2(0x1ad)]?_0x13ecd1=_0x5775fd[_0x516ff2(0x1ad)][_0x516ff2(0x1c2)](_0x1de216=>_0x1de216['value']):_0x13ecd1=[],_0x13ecd1&&(_0xa25beb=_0x13ecd1);}});else{if(_0x251632[_0x309bf2(0x193)]&&_0x31be24[_0x309bf2(0x175)](_0x251632['scenario']['id'],_0x397cc7)&&_0x251632[_0x309bf2(0x193)][_0x309bf2(0x1c4)]){const _0x8c4472=_0x251632[_0x309bf2(0x193)]['examples'][_0x309bf2(0x156)](_0x41aee2=>_0x41aee2[_0x309bf2(0x169)])['find'](_0x3fbb0e=>_0x3fbb0e['id']===_0x1fa721);let _0x3dc939;_0x8c4472&&_0x8c4472['cells']?_0x3dc939=_0x8c4472[_0x309bf2(0x1ad)]['map'](_0xf8aa1b=>_0xf8aa1b[_0x309bf2(0x195)]):_0x3dc939=[],_0x3dc939&&(_0xa25beb=_0x3dc939);}}});if(_0xa25beb[_0x124885(0x157)])return _0xa25beb;return;};async[a118_0x2ae370(0x177)](){const _0x1e75e4=a118_0x2ae370,_0x23cf0b={'epzPC':function(_0x5a1753){return _0x5a1753();}};if(this['_gitConfigured'])return this['_gitConfigPath'];const _0x2e05e9=await _0x23cf0b[_0x1e75e4(0x1c7)](getGitMetaData);_0x2e05e9&&(this['_gitConfigPath']=_0x2e05e9['root']),this[_0x1e75e4(0x1af)]=!![];}}module['exports']=o11yClassErrorHandler(CucumberUtils,['configureGit',a118_0x2ae370(0x19a),a118_0x2ae370(0x1a4),a118_0x2ae370(0x1bf),'sendHook','getHookRunEventData',a118_0x2ae370(0x18b),a118_0x2ae370(0x150)]);
|
|
1
|
+
const a118_0x3fa7e8=a118_0x1f5c;(function(_0x5b0fae,_0x2bfd6d){const _0x51451d=a118_0x1f5c,_0x2175e6=_0x5b0fae();while(!![]){try{const _0x494233=parseInt(_0x51451d(0xf5))/0x1*(-parseInt(_0x51451d(0xd3))/0x2)+-parseInt(_0x51451d(0xc1))/0x3*(-parseInt(_0x51451d(0x11b))/0x4)+-parseInt(_0x51451d(0x112))/0x5*(-parseInt(_0x51451d(0xc2))/0x6)+-parseInt(_0x51451d(0xee))/0x7*(-parseInt(_0x51451d(0xe5))/0x8)+-parseInt(_0x51451d(0xce))/0x9*(parseInt(_0x51451d(0x116))/0xa)+-parseInt(_0x51451d(0xa9))/0xb+parseInt(_0x51451d(0xed))/0xc;if(_0x494233===_0x2bfd6d)break;else _0x2175e6['push'](_0x2175e6['shift']());}catch(_0x546687){_0x2175e6['push'](_0x2175e6['shift']());}}}(a118_0x483a,0x5e1bd));const path=require(a118_0x3fa7e8(0xb4)),util=require(a118_0x3fa7e8(0xaf)),{getGitMetaData,isUndefined,nestedKeyValue}=require(a118_0x3fa7e8(0x104)),logger=require('../../../helpers/logger.js')[a118_0x3fa7e8(0xb8)],{o11yClassErrorHandler}=require(a118_0x3fa7e8(0x120)),TestInfo=require('../TestInfo.js'),hooksMap={};function a118_0x1f5c(_0x480b99,_0x18f843){const _0x483a0d=a118_0x483a();return a118_0x1f5c=function(_0x1f5c27,_0x4b5fe2){_0x1f5c27=_0x1f5c27-0xa2;let _0x50957a=_0x483a0d[_0x1f5c27];return _0x50957a;},a118_0x1f5c(_0x480b99,_0x18f843);}class CucumberUtils{constructor(){const _0x5d477b=a118_0x3fa7e8;this['_gitConfigured']=![],this[_0x5d477b(0x121)]=null;}async[a118_0x3fa7e8(0xe4)](_0x2dffb6,_0x14d15c,_0x5d87c1,_0x58af3f,_0x40239d,_0xeb7e41){const _0x35be82=a118_0x3fa7e8,_0x2aa453={'fdlEA':function(_0x30e7f2,_0xd7c065){return _0x30e7f2===_0xd7c065;},'FUmVW':_0x35be82(0x10a),'ifPnn':_0x35be82(0x12c),'nATkR':'SKIPPED','STQwC':_0x35be82(0x11f),'gMvTa':function(_0x3adc93,_0x4bb212){return _0x3adc93||_0x4bb212;},'djrZU':function(_0x55560d,_0x4d2020){return _0x55560d+_0x4d2020;},'nkUDC':function(_0x5c163e,_0x1f5261){return _0x5c163e+_0x1f5261;},'ovmyi':function(_0x20a2b2,_0x365468){return _0x20a2b2+_0x365468;},'kNANX':'test','xxOPo':_0x35be82(0xa4),'yvsoQ':_0x35be82(0xdb),'ZWfLM':_0x35be82(0xbc),'bOLDX':_0x35be82(0xbf),'emgjn':function(_0x2162dd,_0x442623){return _0x2162dd!==_0x442623;},'wJpbT':function(_0xfa21f9,_0x5ebb5f){return _0xfa21f9/_0x5ebb5f;},'OHeAq':function(_0x76fa55,_0x14b39b){return _0x76fa55===_0x14b39b;},'fqCaH':_0x35be82(0xc8),'pmeTb':function(_0x520fdd,_0x4afb30){return _0x520fdd(_0x4afb30);},'roTuQ':_0x35be82(0xd7),'TtlWl':function(_0x2f324b,_0xd75cec){return _0x2f324b(_0xd75cec);},'PvFcX':_0x35be82(0x11a),'xOLAo':_0x35be82(0x103)},{feature:_0x1f61e8,scenario:_0x46dd3c,steps:_0x251058,uuid:_0x3f6c07,startedAt:_0x3653ea,finishedAt:_0x53ab28}=_0x2aa453['gMvTa'](_0x2dffb6,{}),_0x24eca0=this[_0x35be82(0xc4)](_0x58af3f,_0x14d15c);await this['configureGit']();const _0x4f90ee=_0x24eca0?_0x2aa453[_0x35be82(0xd9)](_0x2aa453[_0x35be82(0x101)](_0x2aa453[_0x35be82(0xb1)](_0x14d15c[_0x35be82(0x111)],'\x20('),_0x24eca0[_0x35be82(0xdc)](',\x20')),')'):_0x14d15c[_0x35be82(0x111)],_0x38b44a={'id':_0x40239d,'uuid':_0x40239d,'startedAt':_0x3653ea,'finishedAt':_0x53ab28,'type':_0x2aa453[_0x35be82(0xec)],'body':{'lang':_0x2aa453[_0x35be82(0xbe)],'code':null},'name':_0x4f90ee,'scopes':[_0x1f61e8&&_0x1f61e8[_0x35be82(0x111)]?_0x1f61e8['name']:''],'tags':_0x14d15c['tags']?_0x14d15c[_0x35be82(0x106)][_0x35be82(0x110)](({name:_0xaabf9a})=>_0xaabf9a):[],'file_name':_0x14d15c[_0x35be82(0x114)],'location':_0x14d15c[_0x35be82(0x114)],'vc_filepath':this[_0x35be82(0x121)]&&_0x14d15c['uri']?path[_0x35be82(0x107)](this[_0x35be82(0x121)],_0x14d15c[_0x35be82(0x114)]):null,'framework':_0x2aa453[_0x35be82(0x12a)],'result':_0x2aa453[_0x35be82(0xd6)],'meta':{'feature':_0x1f61e8,'scenario':_0x46dd3c,'steps':_0x251058,'examples':_0x24eca0},'customRerunParam':{'rerun_name':_0x4f90ee}};if(_0x5d87c1['testCaseFinished']&&_0x251058){const _0x1b1a3a=_0x5d87c1[_0x35be82(0x100)];let _0xa1efee=_0x2aa453[_0x35be82(0x12d)];_0x251058[_0x35be82(0xe8)](_0x5d4dd4=>{const _0x507de2=_0x35be82;if(_0x2aa453['fdlEA'](_0x5d4dd4['result'],_0x2aa453['FUmVW']))return _0xa1efee=_0x2aa453[_0x507de2(0xd0)],_0x1b1a3a['failure']=_0x5d4dd4['failure'],_0x1b1a3a[_0x507de2(0x129)]=_0x5d4dd4['failureType'],![];else{if(_0x2aa453[_0x507de2(0xf2)](_0x5d4dd4[_0x507de2(0xde)],_0x2aa453[_0x507de2(0xc3)]))return _0xa1efee=_0x2aa453['STQwC'],![];}return!![];}),_0x38b44a[_0x35be82(0x105)]=new Date()[_0x35be82(0xff)](),_0x38b44a[_0x35be82(0xde)]=_0xa1efee;_0x1b1a3a[_0x35be82(0xcc)]&&_0x2aa453[_0x35be82(0xd5)](_0x1b1a3a['timestamp']['nanos'],undefined)?_0x38b44a[_0x35be82(0x123)]=_0x2aa453[_0x35be82(0xf8)](_0x1b1a3a[_0x35be82(0xcc)][_0x35be82(0xdf)],0xf4240):_0x38b44a[_0x35be82(0x123)]=undefined;if(_0x2aa453[_0x35be82(0x102)](_0xa1efee,_0x2aa453[_0x35be82(0xd0)])){const {default:_0x246874}=await import(_0x2aa453[_0x35be82(0x108)]);_0x38b44a['failure']=[{'backtrace':[_0x1b1a3a[_0x35be82(0xb7)]?_0x2aa453['pmeTb'](_0x246874,_0x1b1a3a[_0x35be82(0xb7)]):_0x2aa453['roTuQ']]}],_0x38b44a[_0x35be82(0x122)]=_0x1b1a3a[_0x35be82(0xb7)]?_0x2aa453[_0x35be82(0xb9)](_0x246874,_0x1b1a3a[_0x35be82(0xb7)]):_0x1b1a3a[_0x35be82(0xfa)],_0x1b1a3a[_0x35be82(0x129)]&&(_0x38b44a['failure_type']=_0x1b1a3a[_0x35be82(0x129)][_0x35be82(0xac)](/AssertError/)?_0x2aa453[_0x35be82(0xad)]:_0x2aa453[_0x35be82(0xd4)]);}}return _0x38b44a;}[a118_0x3fa7e8(0xe9)](_0x250e0b,_0x31616d,_0x8098f5,_0x25e0c8,_0x2a5922,_0x3b8df9){const _0x1f577b=a118_0x3fa7e8,_0x1e1a4d={'uhOTs':function(_0xcd988,_0x5b8de5){return _0xcd988===_0x5b8de5;},'axGnO':'HookRunFinished','CRWPf':function(_0x5d67c8,_0x5ca36e,_0x494bed){return _0x5d67c8(_0x5ca36e,_0x494bed);},'lTaAW':_0x1f577b(0x124),'REHjW':_0x1f577b(0x114),'MPIqa':_0x1f577b(0xbc),'OcrKv':'hook','SVRaW':_0x1f577b(0xa4),'SHoVn':function(_0x265371,_0x4cbabf,_0x4c5438){return _0x265371(_0x4cbabf,_0x4c5438);},'hmiUm':_0x1f577b(0xf1),'EZmDp':_0x1f577b(0x111),'iZNYa':function(_0x2b38f0,_0x37cec1,_0x49e84e){return _0x2b38f0(_0x37cec1,_0x49e84e);},'AmLNl':_0x1f577b(0xdb)};try{if(_0x1e1a4d[_0x1f577b(0xc5)](_0x8098f5,_0x1e1a4d['axGnO'])){const _0x22e068=new Date()[_0x1f577b(0xff)](),_0x1c8829=hooksMap[_0x31616d];if(!_0x1c8829)return;const _0x2299ae=_0x1c8829[_0x1f577b(0xea)](_0x13348a=>_0x13348a['uuid']===_0x25e0c8['id']);if(!_0x2299ae)return;const _0x3e92c0=this[_0x1f577b(0x109)](_0x250e0b,_0x31616d);_0x2299ae['result']=_0x3e92c0['status'],_0x2299ae[_0x1f577b(0xfe)]=_0x22e068,_0x2299ae[_0x1f577b(0xf4)]=_0x3e92c0['failureType'];const _0xf44e76={};return _0xf44e76[_0x1f577b(0x119)]=_0x3e92c0[_0x1f577b(0x126)],_0x2299ae[_0x1f577b(0x10d)]=[_0xf44e76],_0x2299ae;}const _0x868553=TestInfo[_0x1f577b(0xf0)](_0x31616d),_0xc20216=_0x250e0b[_0x1f577b(0x11d)][_0x1f577b(0xea)](_0xbdba53=>_0xbdba53['id']===_0x25e0c8['hookId']),_0x59c076=_0x1e1a4d[_0x1f577b(0xa8)](nestedKeyValue,_0xc20216,[_0x1e1a4d[_0x1f577b(0xfc)],_0x1e1a4d[_0x1f577b(0x115)]]),_0x111227=new Date()[_0x1f577b(0xff)](),_0x3d2284=_0x1e1a4d[_0x1f577b(0x117)],_0x4cefbb=_0xc20216[_0x1f577b(0xe6)]?_0xc20216[_0x1f577b(0xe6)][_0x1f577b(0xaa)]('\x20')[_0x1f577b(0xb2)](_0x38b934=>_0x38b934['includes']('@')):[],_0x9853f={'uuid':_0x25e0c8['id'],'type':_0x1e1a4d[_0x1f577b(0x12e)],'hook_type':_0x3b8df9,'name':_0xc20216[_0x1f577b(0x111)],'body':{'lang':_0x1e1a4d[_0x1f577b(0x11c)],'code':null},'tags':_0x4cefbb,'test_run_id':_0x868553,'scope':_0x1e1a4d['SHoVn'](nestedKeyValue,_0x2a5922,[_0x1e1a4d['hmiUm'],_0x1e1a4d['EZmDp']]),'scopes':[_0x1e1a4d['iZNYa'](nestedKeyValue,_0x2a5922,[_0x1e1a4d[_0x1f577b(0xf6)],_0x1e1a4d['EZmDp']])||''],'file_name':_0x59c076,'location':_0x59c076,'vc_filepath':this[_0x1f577b(0x121)]?path[_0x1f577b(0x107)](this[_0x1f577b(0x121)],_0x59c076):null,'result':_0x3d2284,'started_at':_0x111227,'framework':_0x1e1a4d[_0x1f577b(0xa5)]};return _0x9853f;}catch(_0x23eb0a){logger[_0x1f577b(0xcd)](_0x1f577b(0xdd)+util[_0x1f577b(0xef)](_0x23eb0a)+'\x20');}}async[a118_0x3fa7e8(0x113)](_0x15c3e8,_0x28188e,_0x4851b0,_0x465282,_0x10b9ff,_0x3c4197){const _0x76ca06=a118_0x3fa7e8,_0x460dbc={'xwgku':function(_0x32dbc7,_0x3dfa71){return _0x32dbc7===_0x3dfa71;},'ZcMBw':_0x76ca06(0x10b),'HVnmY':function(_0x483734,_0x2c4dda,_0x37fd62){return _0x483734(_0x2c4dda,_0x37fd62);},'cxkyt':_0x76ca06(0x124),'aHKij':_0x76ca06(0x114),'mrkYN':'browserstack-node-agent/src/bin/cucumber-js/test.setup.js','LSlor':function(_0x49cea9,_0x5158fe){return _0x49cea9===_0x5158fe;},'avINu':'bstack'};try{const _0x4d868d=_0x465282['find'](_0x47cc1e=>_0x47cc1e['id']===_0x10b9ff);if(!_0x4d868d[_0x76ca06(0xe1)])return;const _0x583abf=this[_0x76ca06(0xda)](_0x465282,_0x4d868d),_0x494eed=this[_0x76ca06(0xe9)](_0x15c3e8,_0x28188e,_0x4851b0,_0x4d868d,_0x3c4197,_0x583abf);if(!_0x494eed)return;_0x460dbc[_0x76ca06(0xc7)](_0x4851b0,_0x460dbc['ZcMBw'])&&(hooksMap[_0x28188e]?hooksMap[_0x28188e]['push'](_0x494eed):hooksMap[_0x28188e]=[_0x494eed]);const _0x230d2a=_0x15c3e8[_0x76ca06(0x11d)][_0x76ca06(0xea)](_0x4fd534=>_0x4fd534['id']===_0x4d868d[_0x76ca06(0xe1)]),_0x2c0ba1=_0x460dbc[_0x76ca06(0xc9)](nestedKeyValue,_0x230d2a,[_0x460dbc[_0x76ca06(0x10e)],_0x460dbc[_0x76ca06(0x10c)]]);if(!_0x2c0ba1)return;else{if(_0x2c0ba1[_0x76ca06(0xb3)](_0x460dbc['mrkYN']))return;}if(_0x460dbc[_0x76ca06(0xa3)](_0x494eed['name'],_0x460dbc['avINu']))return;return _0x494eed;}catch(_0x1e738f){logger[_0x76ca06(0xcd)](_0x76ca06(0xf9)+util[_0x76ca06(0xef)](_0x1e738f)+'\x20');}}[a118_0x3fa7e8(0x109)](_0x153a2c,_0x1f1149){const _0x1611a2=a118_0x3fa7e8,_0x3898f4={};_0x3898f4['bIbpP']=function(_0x2a0785,_0x5c93cf){return _0x2a0785===_0x5c93cf;},_0x3898f4[_0x1611a2(0xfb)]=_0x1611a2(0x12c),_0x3898f4['beiUm']=function(_0x1bbc8f,_0x4cfea1){return _0x1bbc8f===_0x4cfea1;},_0x3898f4[_0x1611a2(0xe7)]=_0x1611a2(0x103),_0x3898f4[_0x1611a2(0x11e)]='AssertionError',_0x3898f4['TocOE']=function(_0x2a0228,_0x3699d3){return _0x2a0228||_0x3699d3;};const _0x7942f7=_0x3898f4,_0x100a38=_0x153a2c[_0x1611a2(0xa7)][_0x1f1149]['testStepResult'];let _0xd55867,_0xb3ac13;return _0x100a38&&_0x7942f7[_0x1611a2(0xb0)](_0x100a38[_0x1611a2(0xcf)][_0x1611a2(0xfd)]()[_0x1611a2(0xd1)](),_0x7942f7[_0x1611a2(0xfb)])&&(_0xd55867=_0x7942f7['beiUm'](_0x100a38['exception'],undefined)?_0x100a38[_0x1611a2(0xfa)]:_0x100a38[_0x1611a2(0xbd)][_0x1611a2(0xfa)],_0xb3ac13=_0x7942f7['beiUm'](_0x100a38[_0x1611a2(0xbd)],undefined)?_0x7942f7[_0x1611a2(0xe7)]:_0x100a38[_0x1611a2(0xfa)][_0x1611a2(0xac)](/Assert/)?_0x7942f7['OuqCw']:_0x7942f7[_0x1611a2(0xe7)]),{'status':_0x100a38[_0x1611a2(0xcf)]['toLowerCase'](),'failureType':_0x7942f7['TocOE'](_0xb3ac13,null),'failureData':!_0xd55867?null:[_0xd55867]};}[a118_0x3fa7e8(0xda)](_0x1fd9e7,_0x14db01){const _0x401d64=a118_0x3fa7e8,_0xfaaac1={};_0xfaaac1[_0x401d64(0xbb)]=function(_0x388420,_0x472d4b){return _0x388420===_0x472d4b;},_0xfaaac1[_0x401d64(0xc0)]=_0x401d64(0xab),_0xfaaac1[_0x401d64(0xe3)]=_0x401d64(0x10f);const _0x36259d=_0xfaaac1;let _0x378dab=![];for(const _0x8f8f17 of _0x1fd9e7){_0x8f8f17[_0x401d64(0xd2)]&&(_0x378dab=!![]);if(_0x36259d[_0x401d64(0xbb)](_0x14db01['id'],_0x8f8f17['id']))return _0x378dab?_0x36259d[_0x401d64(0xc0)]:_0x36259d[_0x401d64(0xe3)];}}[a118_0x3fa7e8(0xc4)]=(_0x198d9e,_0x473aa5)=>{const _0x4e00d0=a118_0x3fa7e8,_0x1c77a0={};_0x1c77a0[_0x4e00d0(0xcb)]=function(_0x2aa4e5,_0x38b9bf){return _0x2aa4e5===_0x38b9bf;},_0x1c77a0['TGwfo']=function(_0x2a3eba,_0x1c8be0){return _0x2a3eba===_0x1c8be0;},_0x1c77a0[_0x4e00d0(0xae)]=function(_0x43ae1c,_0x40e9a3){return _0x43ae1c>_0x40e9a3;};const _0x470dc3=_0x1c77a0;if(!(_0x473aa5['astNodeIds']&&_0x470dc3[_0x4e00d0(0xae)](_0x473aa5[_0x4e00d0(0xeb)][_0x4e00d0(0x128)],0x1)))return;const _0x587088=_0x473aa5[_0x4e00d0(0xeb)][0x0],_0x43e4fe=_0x473aa5[_0x4e00d0(0xeb)][0x1],_0x5de322=_0x198d9e['feature']&&_0x198d9e['feature'][_0x4e00d0(0xc6)]?_0x198d9e[_0x4e00d0(0xf1)]['children']:undefined;let _0xa48506=[];_0x5de322&&_0x5de322['forEach'](_0x3c386a=>{const _0x2a5c52=_0x4e00d0,_0x410d50={'HZGoX':function(_0x3755da,_0xd359d3){const _0x1f5698=a118_0x1f5c;return _0x470dc3[_0x1f5698(0xcb)](_0x3755da,_0xd359d3);}};if(_0x3c386a['rule'])_0x3c386a[_0x2a5c52(0xa2)][_0x2a5c52(0xc6)][_0x2a5c52(0xca)](_0x39ee4e=>{const _0x28a952=_0x2a5c52;if(_0x39ee4e[_0x28a952(0x12b)]&&_0x410d50[_0x28a952(0xb6)](_0x39ee4e['scenario']['id'],_0x587088)&&_0x39ee4e[_0x28a952(0x12b)]['examples']){const _0x3df3c7=_0x39ee4e[_0x28a952(0x12b)][_0x28a952(0xe0)][_0x28a952(0xf3)](_0x4a1a55=>_0x4a1a55[_0x28a952(0xf7)])['find'](_0x3413cd=>_0x3413cd['id']===_0x43e4fe);let _0x17a957;_0x3df3c7&&_0x3df3c7[_0x28a952(0xb5)]?_0x17a957=_0x3df3c7[_0x28a952(0xb5)][_0x28a952(0x110)](_0x50da91=>_0x50da91[_0x28a952(0x127)]):_0x17a957=[],_0x17a957&&(_0xa48506=_0x17a957);}});else{if(_0x3c386a[_0x2a5c52(0x12b)]&&_0x470dc3[_0x2a5c52(0x125)](_0x3c386a[_0x2a5c52(0x12b)]['id'],_0x587088)&&_0x3c386a[_0x2a5c52(0x12b)][_0x2a5c52(0xe0)]){const _0xe723d0=_0x3c386a[_0x2a5c52(0x12b)]['examples'][_0x2a5c52(0xf3)](_0x42cce0=>_0x42cce0[_0x2a5c52(0xf7)])[_0x2a5c52(0xea)](_0x5c8f06=>_0x5c8f06['id']===_0x43e4fe);let _0x26c430;_0xe723d0&&_0xe723d0['cells']?_0x26c430=_0xe723d0['cells'][_0x2a5c52(0x110)](_0x22f9d1=>_0x22f9d1[_0x2a5c52(0x127)]):_0x26c430=[],_0x26c430&&(_0xa48506=_0x26c430);}}});if(_0xa48506[_0x4e00d0(0x128)])return _0xa48506;return;};async[a118_0x3fa7e8(0xd8)](){const _0x3488c0=a118_0x3fa7e8,_0x4a41d6={'lKTck':function(_0x128175){return _0x128175();}};if(this[_0x3488c0(0x118)])return this[_0x3488c0(0x121)];const _0x2e4dbb=await _0x4a41d6[_0x3488c0(0xba)](getGitMetaData);_0x2e4dbb&&(this[_0x3488c0(0x121)]=_0x2e4dbb['root']),this[_0x3488c0(0x118)]=!![];}}module[a118_0x3fa7e8(0xe2)]=o11yClassErrorHandler(CucumberUtils,['configureGit',a118_0x3fa7e8(0xc4),'getCucumberHookType',a118_0x3fa7e8(0x109),'sendHook',a118_0x3fa7e8(0xe9),a118_0x3fa7e8(0xa6),a118_0x3fa7e8(0xe4)]);function a118_0x483a(){const _0x414f61=['debug','9eNPsHN','status','ifPnn','toLowerCase','pickleStepId','76mSXpmV','xOLAo','emgjn','ZWfLM','unknown','configureGit','djrZU','getCucumberHookType','cucumber','join','Exception\x20in\x20getHookRunEventData:\x20','result','nanos','examples','hookId','exports','pNSgm','createTestFrameworkData','159976FTKZuf','tagExpression','aujIQ','every','getHookRunEventData','find','astNodeIds','kNANX','13536468BEekTx','35ruDSWZ','format','getTestUUID','feature','fdlEA','flatMap','failure_type','4197yfvSHd','hmiUm','tableBody','wJpbT','Exception\x20in\x20createHookData:\x20','message','phwia','lTaAW','toString','finished_at','toISOString','testCaseFinished','nkUDC','OHeAq','UnhandledError','../../../helpers/helper.js','finishedAt','tags','relative','fqCaH','getHookResult','FAILED','HookRunStarted','aHKij','failure_data','cxkyt','BEFORE_EACH','map','name','5lSyXxT','createHookData','uri','REHjW','6449290YRzsAi','MPIqa','_gitConfigured','backtrace','AssertionError','15692YUYBgQ','SVRaW','hooks','OuqCw','skipped','../../../helpers/test-observability/error-handler.js','_gitConfigPath','failure_reason','duration_in_ms','sourceReference','TGwfo','failureData','value','length','failureType','yvsoQ','scenario','failed','bOLDX','OcrKv','rule','LSlor','javascript','AmLNl','sendTestRunEventForCucumber','testStepFinished','CRWPf','7220444AvjhyO','split','AFTER_EACH','match','PvFcX','yFGQl','util','bIbpP','ovmyi','filter','includes','path','cells','HZGoX','failure','winstonLogger','TtlWl','lKTck','crNlw','pending','exception','xxOPo','passed','NwFdB','21iTSjIC','3544818tQPiPJ','nATkR','getScenarioExamples','uhOTs','children','xwgku','strip-ansi','HVnmY','forEach','hAQro','timestamp'];a118_0x483a=function(){return _0x414f61;};return a118_0x483a();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a119_0x229a0f=a119_0x3873;(function(_0x27941d,_0x5b1529){const _0x48a0c3=a119_0x3873,_0x51bc34=_0x27941d();while(!![]){try{const _0x5a6fa8=parseInt(_0x48a0c3(0x182))/0x1+parseInt(_0x48a0c3(0x213))/0x2+parseInt(_0x48a0c3(0x165))/0x3+-parseInt(_0x48a0c3(0x201))/0x4*(-parseInt(_0x48a0c3(0x1c7))/0x5)+-parseInt(_0x48a0c3(0x178))/0x6*(parseInt(_0x48a0c3(0x20d))/0x7)+parseInt(_0x48a0c3(0x1a9))/0x8+-parseInt(_0x48a0c3(0x1a5))/0x9;if(_0x5a6fa8===_0x5b1529)break;else _0x51bc34['push'](_0x51bc34['shift']());}catch(_0xabee72){_0x51bc34['push'](_0x51bc34['shift']());}}}(a119_0x345f,0x7daaf));const path=require('path'),util=require(a119_0x229a0f(0x181)),crypto=require(a119_0x229a0f(0x1b7)),{getGitMetaData,isUndefined,nestedKeyValue}=require(a119_0x229a0f(0x179)),logger=require('../../../helpers/logger.js')[a119_0x229a0f(0x17a)],{o11yClassErrorHandler}=require('../../../helpers/test-observability/error-handler.js'),TestInfo=require('../TestInfo.js'),{failureData,getFailureType,PathHelper}=require(a119_0x229a0f(0x1c3)),stackTrace=require('stack-trace'),{pickUserFrameFile}=require(a119_0x229a0f(0x1a7)),a119_0x37dbd8={};a119_0x37dbd8['beforeAll']=a119_0x229a0f(0x208),a119_0x37dbd8[a119_0x229a0f(0x1ca)]=a119_0x229a0f(0x1f3),a119_0x37dbd8[a119_0x229a0f(0x1ff)]=a119_0x229a0f(0x17f),a119_0x37dbd8[a119_0x229a0f(0x1b3)]='AFTER_EACH';function a119_0x3873(_0x240096,_0x588408){const _0x345fc9=a119_0x345f();return a119_0x3873=function(_0x3873f7,_0x4fc098){_0x3873f7=_0x3873f7-0x160;let _0x22d6a3=_0x345fc9[_0x3873f7];return _0x22d6a3;},a119_0x3873(_0x240096,_0x588408);}function a119_0x345f(){const _0x9d8c7e=['toUpperCase','debug','browserstack-node-agent/src/bin/jest','result','cwd','stack','includes','createHash','fgzwu','aFhGl','moTQT','getFileName','getName','getHookRunEventData','format','lClUI','parse','AFTER_ALL','getHierarchy','getState','JGLXc','recreateIdentifierFromTestInfo','substring','TestRunFinished','cpunM','[jestUtils]\x20Created\x20identifier:\x20','toISOString','Exception\x20in\x20createHookData:\x20','No\x20hook\x20data\x20provided\x20for\x20jest\x20hook\x20event','beforeEach','[jestUtils]\x20pickUserFrameFile\x20found\x20no\x20user\x20frame\x20(trace\x20length=','3812JIvRHU','name','qbosb','expanded','toString','[jestUtils]\x20Error\x20creating\x20identifier:\x20','bPBre','BEFORE_ALL','LpkHA','MIPAm','bssNY','Creating\x20test\x20framework\x20data\x20for\x20eventType:\x20','18697bMeBZz','match','Exception\x20in\x20getHookRunEventData:\x20','[jestUtils]\x20Error\x20getting\x20test\x20identifier:\x20','vVqFH','WwaqI','1153536fDfTig','split','errorsDetailed','test','skipped','jest-circus','2129280TuYKOO','iUDZz','file',',\x20testRunId:\x20','sTwxq','clearHooksMap','HNLPV','cBAyx','pIghr','testAnalyticsId','ROOT_DESCRIBE_BLOCK','oOWeE','lrbLZ','NeEHJ','find','ZBhov','[jestUtils]\x20No\x20testInfo\x20provided\x20for\x20recreation','YXrVn','HookRunStarted','1806TSusGB','../../../helpers/helper.js','winstonLogger','unknown','onDbC','startedAt','update','BEFORE_EACH','ZfdlQ','util','974472VIlktA','started_at','pid','nWfuf','FmJfm','passed','isJestInternalHook','__workerDetails','parent','rwCaH','bIygI','asyncError','error','TestRunSkipped','backtrace','bkaXQ','Eovlk','hex','Error\x20parsing\x20asyncError\x20stack\x20trace:\x20','relative','javascript','createJestTestIdentifier','hooks','kwQZV','YGJwU','failure_reason','\x20from\x20compositeKey:\x20','CqIkY','mNjbS','WWjeI','getRootParentFile','_gitConfigPath','createIdentifierFromJestTest','errors','createTestFrameworkData','13204062ffzAFs','failure_type','../../../helpers/stackFrameUtils','xZXpC','2185856GnIlLO',',\x20testIdentifier:\x20','now','getTestIdentifier','jest','mbETC','Unknown\x20Test','RXwZs','push','duration','afterEach','failure_reason_expanded','md5','nBFoE','crypto','nXaQp','ewiWs','type','[jestUtils]\x20Using\x20stored\x20testIdentifier:\x20','File\x20path\x20could\x20not\x20be\x20found','pending','Creating\x20hook\x20data\x20for\x20eventType:\x20',':jest-','oYoNL','createHookData','ybbPE','../../../helpers/test-observability/utils','vKXfF','_gitConfigured','oLVja','1320OnRiNk','VcsLY','err','afterAll','fullName','testPath','prefixTestPath','currentTest','__jestCurrentTestIdentifier','retryOf','Failed\x20to\x20get\x20hook\x20file\x20path:\x20','[jestUtils]\x20expect.getState()\x20not\x20available:\x20','[jestUtils]\x20Error\x20parsing\x20asyncError\x20stack\x20trace:\x20','extractTestFilePath','apply','No\x20test\x20data\x20provided\x20for\x20jest\x20test\x20event','_paths','NFhxb','bVoDr','title','configureGit','inspect','failed','length','Exception\x20in\x20checking\x20if\x20hook\x20is\x20internal:\x20','testIdentifier','wLLrl'];a119_0x345f=function(){return _0x9d8c7e;};return a119_0x345f();}const HOOK_TYPES_MAP=a119_0x37dbd8,hooksMap={};class JestUtils{constructor(){const _0x5d1708=a119_0x229a0f;this[_0x5d1708(0x1c5)]=![],this[_0x5d1708(0x1a1)]=null,this[_0x5d1708(0x1d7)]=new PathHelper({'cwd':process[_0x5d1708(0x1e6)]()},undefined);}async[a119_0x229a0f(0x1a4)](_0x55a78a,_0x59520d,_0x391fce='TestRunFinished',_0x2e5747=undefined){const _0x516f19=a119_0x229a0f,_0x2141d8={'kwQZV':_0x516f19(0x1d6),'ewiWs':_0x516f19(0x164),'mbETC':_0x516f19(0x1bc),'oYoNL':function(_0x2d190d,_0x37741b){return _0x2d190d!==_0x37741b;},'aFhGl':'test','cpunM':_0x516f19(0x1c9),'ZBhov':'pending','NeEHJ':function(_0x4c98ae,_0x4c6e93){return _0x4c98ae===_0x4c6e93;},'lrbLZ':_0x516f19(0x18f),'ZfdlQ':_0x516f19(0x163),'FmJfm':function(_0x59ad99,_0x215f4f){return _0x59ad99===_0x215f4f;},'vVqFH':_0x516f19(0x1f9),'tIRka':function(_0x51dfb2,_0x189f36){return _0x51dfb2>_0x189f36;},'onDbC':_0x516f19(0x1dd),'bssNY':'passed','pIghr':function(_0x45bfec,_0x320468){return _0x45bfec-_0x320468;},'WFWlI':_0x516f19(0x196),'WwaqI':_0x516f19(0x1ad),'nXaQp':function(_0x1a224e,_0x1010ce){return _0x1a224e(_0x1010ce);},'HiZyh':function(_0x1af7ca,_0x3fdacd){return _0x1af7ca===_0x3fdacd;}};logger[_0x516f19(0x1e3)](_0x516f19(0x20c)+_0x391fce+_0x516f19(0x1aa)+_0x59520d);try{if(!_0x55a78a)return logger['debug'](_0x2141d8[_0x516f19(0x199)]),null;if(_0x55a78a['fn']&&_0x55a78a['fn'][_0x516f19(0x205)]()[_0x516f19(0x20e)](/browserstack internal helper hook/))return null;await this[_0x516f19(0x1db)]();let _0x5050bf;try{_0x5050bf=this[_0x516f19(0x1a0)](_0x55a78a);if(_0x5050bf&&_0x5050bf['includes'](_0x2141d8[_0x516f19(0x1b9)]))return null;}catch(_0x5966ec){logger[_0x516f19(0x1e3)]('Failed\x20to\x20get\x20root\x20parent\x20file:\x20'+util[_0x516f19(0x1f0)](_0x5966ec)),_0x5050bf=null;}const _0x280e60=this[_0x516f19(0x1f4)](_0x55a78a),_0x243f32=this[_0x516f19(0x1ee)](_0x55a78a),_0x1b4252=_0x5050bf?this[_0x516f19(0x1d7)][_0x516f19(0x1cd)](_0x5050bf):_0x2141d8[_0x516f19(0x1ae)];let _0x1591e0=[];const _0x199967=_0x55a78a[_0x516f19(0x161)]||_0x55a78a[_0x516f19(0x1a3)];if(_0x2141d8[_0x516f19(0x1c0)](_0x199967,undefined))_0x1591e0=[_0x199967,_0x2141d8[_0x516f19(0x1eb)]];else _0x2141d8[_0x516f19(0x1c0)](_0x2e5747,undefined)&&(_0x1591e0=[_0x2e5747,_0x2141d8[_0x516f19(0x1fa)]]);const _0x5319d1=_0x2141d8['oYoNL'](_0x199967,undefined)?util[_0x516f19(0x1dc)](_0x199967[0x0]):_0x2141d8['oYoNL'](_0x2e5747,undefined)?_0x2e5747[_0x516f19(0x205)]():undefined;let _0x133c4e=_0x2141d8[_0x516f19(0x174)];if(_0x2141d8[_0x516f19(0x172)](_0x391fce,_0x2141d8['lrbLZ']))_0x133c4e=_0x2141d8[_0x516f19(0x180)];else _0x2141d8[_0x516f19(0x186)](_0x391fce,_0x2141d8[_0x516f19(0x211)])&&(_0x199967&&_0x2141d8['tIRka'](_0x199967[_0x516f19(0x1de)],0x0)?_0x133c4e=_0x2141d8[_0x516f19(0x17c)]:_0x133c4e=_0x2141d8[_0x516f19(0x20b)]);let _0x2f1af2=null;if(_0x2141d8[_0x516f19(0x1c0)](_0x55a78a[_0x516f19(0x1b2)],undefined))_0x2f1af2=_0x55a78a['duration'];else(_0x391fce[_0x516f19(0x20e)](/Finished/)||_0x391fce['match'](/Skipped/))&&(_0x55a78a[_0x516f19(0x183)]&&(_0x2f1af2=_0x2141d8[_0x516f19(0x16d)](Date[_0x516f19(0x1ab)](),new Date(_0x55a78a[_0x516f19(0x183)])['getTime']())));const _0x13c802=_0x55a78a['fn']?_0x55a78a['fn'][_0x516f19(0x205)]():null,_0x32c485={'id':_0x59520d,'uuid':_0x59520d,'startedAt':_0x55a78a['started_at']||new Date()[_0x516f19(0x1fc)](),'finishedAt':_0x391fce[_0x516f19(0x20e)](/Finished/)||_0x391fce['match'](/Skipped/)?new Date()[_0x516f19(0x1fc)]():null,'type':_0x2141d8['aFhGl'],'body':{'lang':_0x2141d8['WFWlI'],'code':_0x13c802},'name':_0x243f32,'errorsDetailed':_0x2141d8['tIRka'](_0x199967?.[_0x516f19(0x1de)],0x0)?_0x199967[0x0]:_0x199967?_0x199967:undefined,'scopes':_0x280e60,'file_name':_0x1b4252,'location':_0x1b4252,'vc_filepath':this[_0x516f19(0x1a1)]&&_0x5050bf?path[_0x516f19(0x195)](this[_0x516f19(0x1a1)],_0x5050bf):null,'framework':_0x2141d8[_0x516f19(0x212)],'result':_0x133c4e,'failure_reason':_0x5319d1,'duration_in_ms':_0x2f1af2,'failure':failureData[_0x516f19(0x1d5)](null,_0x1591e0),'failure_type':!_0x5319d1?null:_0x2141d8[_0x516f19(0x1b8)](getFailureType,_0x5319d1),'retry_of':_0x55a78a[_0x516f19(0x1d0)]||null,'customRerunParam':{'rerun_name':_0x243f32}};_0x2141d8['HiZyh'](_0x391fce,_0x2141d8[_0x516f19(0x171)])&&!_0x32c485[_0x516f19(0x17d)]&&(_0x32c485[_0x516f19(0x17d)]=_0x32c485['finishedAt']);const _0x49efb3=_0x32c485['failure']&&_0x32c485['failure'][0x0];return _0x49efb3&&(_0x32c485['failure_backtrace']=_0x49efb3[_0x516f19(0x190)],_0x32c485[_0x516f19(0x1b4)]=_0x49efb3[_0x516f19(0x204)]),(_0x2141d8[_0x516f19(0x172)](_0x391fce,_0x2141d8[_0x516f19(0x211)])||_0x2141d8[_0x516f19(0x172)](_0x391fce,_0x2141d8['lrbLZ']))&&(_0x55a78a[_0x516f19(0x198)]&&(_0x32c485[_0x516f19(0x198)]=_0x55a78a['hooks'])),_0x32c485;}catch(_0x3cfbca){return logger[_0x516f19(0x1e3)]('Exception\x20in\x20createTestFrameworkData:\x20'+util[_0x516f19(0x1f0)](_0x3cfbca)),null;}}async[a119_0x229a0f(0x1c1)](_0x4430df,_0x554dfe,_0x1145ef,_0x5d2c15){const _0x4b5426=a119_0x229a0f,_0x1c4ccb={'mNjbS':_0x4b5426(0x1fe),'njYJo':_0x4b5426(0x164),'mAjtG':_0x4b5426(0x1e4),'nBFoE':_0x4b5426(0x17b),'JAlIb':_0x4b5426(0x1bd),'lClUI':function(_0x93c775,_0x92575d){return _0x93c775===_0x92575d;},'szbFc':'HookRunFinished','qRPaf':function(_0x1f44bf,_0x3f9a81){return _0x1f44bf>_0x3f9a81;},'NFhxb':_0x4b5426(0x1dd),'sTwxq':function(_0x4ac4c0,_0x2dad65){return _0x4ac4c0(_0x2dad65);},'RXwZs':_0x4b5426(0x162),'qbosb':_0x4b5426(0x187),'bVoDr':'hook','Eovlk':_0x4b5426(0x196),'bIygI':'jest','MIPAm':function(_0x2e8952,_0x575e69){return _0x2e8952===_0x575e69;},'LpkHA':_0x4b5426(0x177)};logger['debug'](_0x4b5426(0x1be)+_0x1145ef+',\x20hookUUID:\x20'+_0x554dfe+_0x4b5426(0x168)+_0x5d2c15);try{if(!_0x4430df)return logger['debug'](_0x1c4ccb[_0x4b5426(0x19e)]),null;if(this[_0x4b5426(0x188)](_0x4430df))return null;await this[_0x4b5426(0x1db)]();let _0x206596=null;try{_0x206596=this['getRootParentFile'](_0x4430df);if(_0x206596&&_0x206596[_0x4b5426(0x1e8)](_0x1c4ccb['njYJo']))return null;if(_0x206596&&_0x206596[_0x4b5426(0x1e8)](_0x1c4ccb['mAjtG']))return null;}catch(_0x141e3e){logger[_0x4b5426(0x1e3)](_0x4b5426(0x1d1)+util[_0x4b5426(0x1f0)](_0x141e3e));}const _0x1772be=_0x206596?this[_0x4b5426(0x1d7)][_0x4b5426(0x1cd)](_0x206596):_0x206596,_0x4e3e66=this[_0x4b5426(0x1ee)](_0x4430df),_0x162bf9=_0x4430df['type']||_0x1c4ccb[_0x4b5426(0x1b6)],_0x5cd291=HOOK_TYPES_MAP[_0x162bf9]||_0x162bf9[_0x4b5426(0x1e2)](),_0x29ce99=_0x4430df[_0x4b5426(0x18a)]&&_0x4430df[_0x4b5426(0x18a)][_0x4b5426(0x202)]?_0x4430df[_0x4b5426(0x18a)][_0x4b5426(0x202)]:'';let _0x5e51ff=_0x1c4ccb['JAlIb'],_0x499297=null,_0x524f16=null,_0x132909=null,_0x587141=null;_0x1c4ccb[_0x4b5426(0x1f1)](_0x1145ef,_0x1c4ccb['szbFc'])&&(_0x587141=new Date()[_0x4b5426(0x1fc)](),_0x4430df['errorsDetailed']&&_0x1c4ccb['qRPaf'](_0x4430df['errorsDetailed'][_0x4b5426(0x1de)],0x0)?(_0x5e51ff=_0x1c4ccb[_0x4b5426(0x1d8)],_0x524f16=util[_0x4b5426(0x1dc)](_0x4430df['errorsDetailed'][0x0]),_0x499297=_0x1c4ccb[_0x4b5426(0x169)](getFailureType,_0x524f16),_0x132909=failureData[_0x4b5426(0x1d5)](null,[_0x4430df[_0x4b5426(0x161)],_0x1c4ccb[_0x4b5426(0x1b0)]])):_0x5e51ff=_0x1c4ccb[_0x4b5426(0x203)]);const _0x3643b4={'uuid':_0x554dfe,'type':_0x1c4ccb[_0x4b5426(0x1d9)],'hook_type':_0x5cd291,'name':_0x4e3e66,'body':{'lang':_0x1c4ccb[_0x4b5426(0x192)],'code':_0x4430df['fn']?_0x4430df['fn'][_0x4b5426(0x205)]():null},'tags':[],'test_run_id':_0x5d2c15,'scope':_0x29ce99,'scopes':[_0x29ce99],'file_name':_0x1772be,'location':_0x1772be,'vc_filepath':this[_0x4b5426(0x1a1)]&&_0x206596?path['relative'](this['_gitConfigPath'],_0x206596):null,'result':_0x5e51ff,'started_at':_0x4430df['started_at']||new Date()[_0x4b5426(0x1fc)](),'finished_at':_0x587141,'failure_type':_0x499297,'failure_reason':_0x524f16,'failure_data':_0x132909,'framework':_0x1c4ccb[_0x4b5426(0x18c)]};return _0x1c4ccb[_0x4b5426(0x20a)](_0x1145ef,_0x1c4ccb[_0x4b5426(0x209)])&&(hooksMap[_0x5d2c15]?hooksMap[_0x5d2c15]['push'](_0x3643b4):hooksMap[_0x5d2c15]=[_0x3643b4]),_0x3643b4;}catch(_0x26321f){return logger[_0x4b5426(0x1e3)](_0x4b5426(0x1fd)+util[_0x4b5426(0x1f0)](_0x26321f)),null;}}[a119_0x229a0f(0x1ef)](_0x491826,_0x3769f6,_0x3abb64){const _0x2fe6f2=a119_0x229a0f,_0x13b174={'oiTUF':function(_0x2672f5,_0x2fb34e){return _0x2672f5>_0x2fb34e;},'JGLXc':'failed','moTQT':function(_0x89191d,_0x4c11c1){return _0x89191d(_0x4c11c1);},'YXrVn':_0x2fe6f2(0x162),'oLVja':_0x2fe6f2(0x187)};try{const _0x4d4526=hooksMap[_0x491826];if(!_0x4d4526)return null;const _0x27f4fd=_0x4d4526[_0x2fe6f2(0x173)](_0x4e09d3=>_0x4e09d3['uuid']===_0x3769f6);if(!_0x27f4fd)return null;return _0x27f4fd['finished_at']=new Date()[_0x2fe6f2(0x1fc)](),_0x3abb64['errorsDetailed']&&_0x13b174['oiTUF'](_0x3abb64['errorsDetailed'][_0x2fe6f2(0x1de)],0x0)?(_0x27f4fd[_0x2fe6f2(0x1e5)]=_0x13b174[_0x2fe6f2(0x1f6)],_0x27f4fd['failure_reason']=util['inspect'](_0x3abb64[_0x2fe6f2(0x161)][0x0]),_0x27f4fd[_0x2fe6f2(0x1a6)]=_0x13b174[_0x2fe6f2(0x1ec)](getFailureType,_0x27f4fd[_0x2fe6f2(0x19b)]),_0x27f4fd['failure_data']=failureData[_0x2fe6f2(0x1d5)](null,[_0x3abb64[_0x2fe6f2(0x161)],_0x13b174[_0x2fe6f2(0x176)]])):_0x27f4fd[_0x2fe6f2(0x1e5)]=_0x13b174[_0x2fe6f2(0x1c6)],_0x27f4fd;}catch(_0x5a5fe7){return logger['debug'](_0x2fe6f2(0x20f)+util['format'](_0x5a5fe7)),null;}}[a119_0x229a0f(0x1ee)](_0x31c630){const _0x1549ed=a119_0x229a0f,_0x26238d={};_0x26238d[_0x1549ed(0x19d)]=function(_0x42b4be,_0x49465b){return _0x42b4be!==_0x49465b;},_0x26238d[_0x1549ed(0x16c)]='test',_0x26238d[_0x1549ed(0x19a)]=_0x1549ed(0x1af);const _0x2b084f=_0x26238d;if(_0x2b084f[_0x1549ed(0x19d)](_0x31c630['type'],_0x2b084f['cBAyx']))return'\x22'+_0x31c630[_0x1549ed(0x1ba)]+'\x22\x20hook\x20for\x20\x22'+(_0x31c630[_0x1549ed(0x18a)]&&_0x31c630['parent'][_0x1549ed(0x202)])+'\x22';return _0x31c630[_0x1549ed(0x202)]||_0x2b084f[_0x1549ed(0x19a)];}[a119_0x229a0f(0x1f4)](_0x48ace3){const _0x5bfdcc=a119_0x229a0f,_0x2ef229={};_0x2ef229['VcsLY']=function(_0x4d135f,_0x381fca){return _0x4d135f!==_0x381fca;},_0x2ef229[_0x5bfdcc(0x166)]=_0x5bfdcc(0x16f);const _0x3ffdc0=_0x2ef229,_0x37da4b=[];if(_0x48ace3&&_0x48ace3[_0x5bfdcc(0x18a)]){let _0x5c4e7b=_0x48ace3[_0x5bfdcc(0x18a)];while(_0x5c4e7b&&_0x5c4e7b[_0x5bfdcc(0x202)]&&_0x3ffdc0[_0x5bfdcc(0x1c8)](_0x5c4e7b['name'],'')&&_0x3ffdc0['VcsLY'](_0x5c4e7b[_0x5bfdcc(0x202)],_0x3ffdc0[_0x5bfdcc(0x166)])){_0x37da4b[_0x5bfdcc(0x1b1)](_0x5c4e7b[_0x5bfdcc(0x202)]),_0x5c4e7b=_0x5c4e7b[_0x5bfdcc(0x18a)];}}return _0x37da4b['reverse'](),_0x37da4b;}[a119_0x229a0f(0x1a0)](_0x5b8996){const _0x45268f=a119_0x229a0f,_0x305d81={'rwCaH':function(_0x346ac7,_0x1045dc){return _0x346ac7(_0x1045dc);}};if(_0x5b8996[_0x45268f(0x167)])return _0x5b8996[_0x45268f(0x167)];if(_0x5b8996[_0x45268f(0x18d)])try{const _0x4857ed=stackTrace[_0x45268f(0x1f2)]['call'](stackTrace,_0x5b8996[_0x45268f(0x18d)]),_0x4574be=_0x305d81[_0x45268f(0x18b)](pickUserFrameFile,_0x4857ed);if(_0x4574be)return _0x4574be;logger['debug'](_0x45268f(0x200)+_0x4857ed[_0x45268f(0x1de)]+')');}catch(_0x92af66){logger[_0x45268f(0x1e3)](_0x45268f(0x194)+util[_0x45268f(0x1f0)](_0x92af66));}return null;}[a119_0x229a0f(0x188)](_0x4c2eb6){const _0x231444=a119_0x229a0f,_0x443ab2={};_0x443ab2['hSgKx']=_0x231444(0x164);const _0x470795=_0x443ab2;try{const _0x59d7ee=this[_0x231444(0x1a0)](_0x4c2eb6);if(!_0x59d7ee||_0x59d7ee[_0x231444(0x1e8)](_0x470795['hSgKx']))return!![];}catch(_0xd1d550){logger[_0x231444(0x1e3)](_0x231444(0x1df)+util[_0x231444(0x1f0)](_0xd1d550));}return![];}[a119_0x229a0f(0x1ac)](_0x38fea5=null){const _0x523a74=a119_0x229a0f;try{const _0x1b3e46=_0x38fea5||global[_0x523a74(0x189)]||{};if(global[_0x523a74(0x1cf)])return global[_0x523a74(0x1cf)];if(_0x1b3e46?.[_0x523a74(0x1ce)]?.[_0x523a74(0x16e)])return _0x1b3e46[_0x523a74(0x1ce)][_0x523a74(0x16e)];if(_0x1b3e46?.[_0x523a74(0x1ce)]?.['id'])return _0x1b3e46[_0x523a74(0x1ce)]['id'];return null;}catch(_0x1f54b6){return logger[_0x523a74(0x1e3)](_0x523a74(0x210)+util[_0x523a74(0x1f0)](_0x1f54b6)),null;}}async[a119_0x229a0f(0x1db)](){const _0x4292d5=a119_0x229a0f,_0x116e5d={'vKXfF':function(_0x426d80){return _0x426d80();}};if(this[_0x4292d5(0x1c5)])return this['_gitConfigPath'];const _0x386e10=await _0x116e5d[_0x4292d5(0x1c4)](getGitMetaData);_0x386e10&&(this[_0x4292d5(0x1a1)]=_0x386e10['root']),this[_0x4292d5(0x1c5)]=!![];}[a119_0x229a0f(0x16a)](_0x566a9c){hooksMap[_0x566a9c]&&delete hooksMap[_0x566a9c];}[a119_0x229a0f(0x1d4)](_0x3f5df8){const _0x2a6ae3=a119_0x229a0f,_0x56ac59={'bPBre':_0x2a6ae3(0x164),'HNLPV':function(_0xa58d4f,_0x1e7f4a){return _0xa58d4f(_0x1e7f4a);},'wLLrl':'expect'};if(_0x3f5df8['file'])return _0x3f5df8['file'];if(_0x3f5df8[_0x2a6ae3(0x18d)]){try{const _0x5e58ba=stackTrace[_0x2a6ae3(0x1f2)](_0x3f5df8[_0x2a6ae3(0x18d)]);if(_0x5e58ba[0x0]&&_0x5e58ba[0x0][_0x2a6ae3(0x1ed)]){const _0x6baabf=_0x5e58ba[0x0][_0x2a6ae3(0x1ed)]();if(_0x6baabf&&!_0x6baabf[_0x2a6ae3(0x1e8)](_0x56ac59['bPBre']))return _0x6baabf;}}catch(_0x241ddf){logger[_0x2a6ae3(0x1e3)](_0x2a6ae3(0x1d3)+util[_0x2a6ae3(0x1f0)](_0x241ddf));}if(_0x3f5df8[_0x2a6ae3(0x18d)][_0x2a6ae3(0x1e7)]){const _0x4e9c84=_0x3f5df8[_0x2a6ae3(0x18d)][_0x2a6ae3(0x1e7)][_0x2a6ae3(0x160)]('\x0a');for(const _0xd45ddc of _0x4e9c84){const _0x4fede2=_0xd45ddc[_0x2a6ae3(0x20e)](/at (.+?):\d+:\d+/);if(_0x4fede2&&_0x4fede2[0x1]&&!_0x4fede2[0x1]['includes'](_0x56ac59[_0x2a6ae3(0x207)]))return _0x4fede2[0x1];}}}let _0x512ce1=_0x3f5df8[_0x2a6ae3(0x18a)];while(_0x512ce1){if(_0x512ce1['file'])return _0x512ce1[_0x2a6ae3(0x167)];if(_0x512ce1[_0x2a6ae3(0x18d)])try{const _0x1cca55=stackTrace[_0x2a6ae3(0x1f2)](_0x512ce1['asyncError']);if(_0x1cca55[0x0]&&_0x1cca55[0x0]['getFileName']){const _0x7b981d=_0x1cca55[0x0]['getFileName']();if(_0x7b981d&&!_0x7b981d['includes'](_0x56ac59['bPBre']))return _0x7b981d;}}catch(_0x15296d){}_0x512ce1=_0x512ce1[_0x2a6ae3(0x18a)];}try{const _0x3dd920=_0x56ac59[_0x2a6ae3(0x16b)](require,_0x56ac59[_0x2a6ae3(0x1e1)]);if(_0x3dd920&&_0x3dd920[_0x2a6ae3(0x1f5)]){const _0x3f10be=_0x3dd920[_0x2a6ae3(0x1f5)]();if(_0x3f10be&&_0x3f10be['testPath'])return _0x3f10be[_0x2a6ae3(0x1cc)];}}catch(_0x2767d5){logger['debug'](_0x2a6ae3(0x1d2)+util[_0x2a6ae3(0x1f0)](_0x2767d5));}return null;}[a119_0x229a0f(0x197)](_0x35e280){const _0x51b6f7=a119_0x229a0f,_0x4e7dab={};_0x4e7dab[_0x51b6f7(0x170)]='[jestUtils]\x20No\x20testInfo\x20provided,\x20cannot\x20create\x20identifier',_0x4e7dab[_0x51b6f7(0x1ea)]=function(_0x3d2a88,_0x580409){return _0x3d2a88!==_0x580409;},_0x4e7dab[_0x51b6f7(0x19f)]=_0x51b6f7(0x16f),_0x4e7dab[_0x51b6f7(0x1a8)]=_0x51b6f7(0x164),_0x4e7dab[_0x51b6f7(0x185)]=_0x51b6f7(0x1b5),_0x4e7dab['YeFzX']=_0x51b6f7(0x193);const _0x487181=_0x4e7dab;try{if(!_0x35e280)return logger[_0x51b6f7(0x18e)](_0x487181['oOWeE']),null;const _0x3b700e=_0x35e280[_0x51b6f7(0x1cb)]||_0x35e280['name']||_0x35e280['title']||_0x35e280['displayName'];let _0x3b8c40=_0x3b700e;if(_0x35e280[_0x51b6f7(0x18a)]&&_0x35e280[_0x51b6f7(0x18a)][_0x51b6f7(0x202)]&&_0x487181[_0x51b6f7(0x1ea)](_0x35e280[_0x51b6f7(0x18a)][_0x51b6f7(0x202)],_0x487181[_0x51b6f7(0x19f)])){const _0x395b29=_0x35e280[_0x51b6f7(0x202)]||_0x35e280[_0x51b6f7(0x1da)];_0x395b29&&(_0x3b8c40=_0x35e280['parent']['name']+'\x20'+_0x395b29);}let _0x2d8c64=_0x35e280[_0x51b6f7(0x1cc)];if(!_0x2d8c64&&_0x35e280[_0x51b6f7(0x18d)]){try{const _0x873ce4=stackTrace[_0x51b6f7(0x1f2)](_0x35e280['asyncError']);if(_0x873ce4[0x0]&&_0x873ce4[0x0][_0x51b6f7(0x1ed)]){const _0x40d48f=_0x873ce4[0x0]['getFileName']();_0x40d48f&&!_0x40d48f['includes'](_0x487181[_0x51b6f7(0x1a8)])&&(_0x2d8c64=_0x40d48f);}}catch(_0x5a899d){logger[_0x51b6f7(0x1e3)](_0x51b6f7(0x1d3)+util[_0x51b6f7(0x1f0)](_0x5a899d));}if(!_0x2d8c64&&_0x35e280[_0x51b6f7(0x18d)]['stack']){const _0x19e4de=_0x35e280[_0x51b6f7(0x18d)][_0x51b6f7(0x1e7)][_0x51b6f7(0x160)]('\x0a');for(const _0x3a5387 of _0x19e4de){const _0x56ef55=_0x3a5387[_0x51b6f7(0x20e)](/at (.+?):\d+:\d+/);if(_0x56ef55&&_0x56ef55[0x1]&&!_0x56ef55[0x1][_0x51b6f7(0x1e8)](_0x487181[_0x51b6f7(0x1a8)])){_0x2d8c64=_0x56ef55[0x1];break;}}}}const _0xe9a5b6=_0x2d8c64+'::'+_0x3b8c40,_0x40d4ac=crypto[_0x51b6f7(0x1e9)](_0x487181['nWfuf'])[_0x51b6f7(0x17e)](_0xe9a5b6)['digest'](_0x487181['YeFzX'])[_0x51b6f7(0x1f8)](0x0,0x8),_0x1ec138=process[_0x51b6f7(0x184)]+_0x51b6f7(0x1bf)+_0x40d4ac;return logger[_0x51b6f7(0x1e3)](_0x51b6f7(0x1fb)+_0x1ec138+_0x51b6f7(0x19c)+_0xe9a5b6),_0x1ec138;}catch(_0x5f3602){return logger[_0x51b6f7(0x18e)](_0x51b6f7(0x206)+util[_0x51b6f7(0x1f0)](_0x5f3602)),null;}}[a119_0x229a0f(0x1a2)](_0x678729){const _0x5e4917=a119_0x229a0f,_0x59f426={};_0x59f426['ybbPE']='[jestUtils]\x20No\x20test\x20object\x20provided';const _0x63a831=_0x59f426;if(!_0x678729)return logger[_0x5e4917(0x1e3)](_0x63a831[_0x5e4917(0x1c2)]),null;const _0x489f5b=this[_0x5e4917(0x1d4)](_0x678729),_0x10e6c3={};_0x10e6c3[_0x5e4917(0x202)]=_0x678729[_0x5e4917(0x202)]||_0x678729[_0x5e4917(0x1da)],_0x10e6c3['parent']=_0x678729[_0x5e4917(0x18a)],_0x10e6c3['testPath']=_0x489f5b,_0x10e6c3[_0x5e4917(0x18d)]=_0x678729['asyncError'];const _0x47eb46=_0x10e6c3;return this[_0x5e4917(0x197)](_0x47eb46);}[a119_0x229a0f(0x1f7)](_0x1dca67,_0x41cd42=null){const _0x4587c7=a119_0x229a0f,_0x454a56={};_0x454a56[_0x4587c7(0x191)]=_0x4587c7(0x175);const _0x3c6950=_0x454a56;if(!_0x1dca67)return logger[_0x4587c7(0x1e3)](_0x3c6950[_0x4587c7(0x191)]),_0x41cd42;if(_0x1dca67[_0x4587c7(0x1e0)])return logger[_0x4587c7(0x1e3)](_0x4587c7(0x1bb)+_0x1dca67[_0x4587c7(0x1e0)]),_0x1dca67['testIdentifier'];return this['createJestTestIdentifier'](_0x1dca67)||_0x41cd42;}}module['exports']=o11yClassErrorHandler(JestUtils,[a119_0x229a0f(0x1db),a119_0x229a0f(0x1f4),'getRootParentFile',a119_0x229a0f(0x1ee),a119_0x229a0f(0x188),'getTestIdentifier','createTestFrameworkData','createHookData','getHookRunEventData',a119_0x229a0f(0x16a),a119_0x229a0f(0x1d4),'createJestTestIdentifier',a119_0x229a0f(0x1a2),a119_0x229a0f(0x1f7)]);
|
|
1
|
+
const a119_0x1c8ee6=a119_0xf210;function a119_0x1b49(){const _0x21c3fc=['createTestFrameworkData','No\x20hook\x20data\x20provided\x20for\x20jest\x20hook\x20event','GXNnz','toString','NktKc','coULI','vegwY','getHierarchy','1wsyPEj','title','9010LEMWgq','UNRwv','1570320BjxbGM','cqfIZ','expect','SmKRn','Atyeq','BCFJZ','inspect','vkGqT','Exception\x20in\x20getHookRunEventData:\x20','failure_backtrace','toISOString','getName','beforeAll','configureGit','rNKOS','browserstack-node-agent/src/bin/jest','prefixTestPath','759872vDQCLh','error','VrWep','debug','finished_at','HookRunFinished','5166KKaFnC','lKjVd','failure_reason','pdcLi','update','failure','jest-circus','Lctec','createHookData',':jest-','asyncError','vzfTD','Exception\x20in\x20createTestFrameworkData:\x20','pending','util','hNmvG','[jestUtils]\x20No\x20test\x20object\x20provided','getFileName','lWHbt','qTpGW','52XbVfEU','errorsDetailed','IJVKS','../../../helpers/test-observability/error-handler.js','74960iYAIhJ','fhMHL','failed','[jestUtils]\x20pickUserFrameFile\x20found\x20no\x20user\x20frame\x20(trace\x20length=','adYJC','testAnalyticsId','push','hook','includes','file','[jestUtils]\x20No\x20testInfo\x20provided\x20for\x20recreation','isJestInternalHook','backtrace','217917GbZWwb','result','../../../helpers/stackFrameUtils','duration','_paths','BLQHA','AKNOt','createIdentifierFromJestTest','oTtfY','BvoXW','errors','call','rezTi','Failed\x20to\x20get\x20root\x20parent\x20file:\x20','jest','[jestUtils]\x20Using\x20stored\x20testIdentifier:\x20','DBzVb','yrmWF','AkNZz','format','AFTER_ALL','VUqRO','failure_reason_expanded','expanded','../../../helpers/logger.js','hooks','test','Error\x20parsing\x20asyncError\x20stack\x20trace:\x20','split','extractTestFilePath',',\x20testIdentifier:\x20','EkNEU','getHookRunEventData','kUaOh','javascript','BEFORE_ALL','tjLpR','displayName','_gitConfigPath','apply','length','testPath','clearHooksMap','fullName','name','finishedAt','DmRKE','bYLTX','[jestUtils]\x20Error\x20parsing\x20asyncError\x20stack\x20trace:\x20','started_at',',\x20testRunId:\x20','beforeEach','\x20from\x20compositeKey:\x20','err','TestRunFinished','stack-trace','substring','recreateIdentifierFromTestInfo','parent','currentTest','Creating\x20hook\x20data\x20for\x20eventType:\x20','retryOf','awwKe','../TestInfo.js','afterEach','stack','MaNka','path','Exception\x20in\x20createHookData:\x20','omlOu','rSBAZ','jrhIT','type','2302174LQiXRh','ZFqMY','\x22\x20hook\x20for\x20\x22','passed','../../../helpers/test-observability/utils','__jestCurrentTestIdentifier','ZlHrb','Exception\x20in\x20checking\x20if\x20hook\x20is\x20internal:\x20','BEFORE_EACH','File\x20path\x20could\x20not\x20be\x20found','match','pbBab','Oedtz',',\x20hookUUID:\x20','[jestUtils]\x20Error\x20creating\x20identifier:\x20','relative','xRbQS','pZEXy','reverse','getTestIdentifier','vuaPx','root','hex','parse','QSzep','[jestUtils]\x20Created\x20identifier:\x20','md5','[jestUtils]\x20No\x20testInfo\x20provided,\x20cannot\x20create\x20identifier','uuid','createJestTestIdentifier','getState','No\x20test\x20data\x20provided\x20for\x20jest\x20test\x20event','testIdentifier','digest','51656bFmUzk','ROOT_DESCRIBE_BLOCK','TGlIO','winstonLogger','vmZtF','find','pid','startedAt','failure_data','[jestUtils]\x20Error\x20getting\x20test\x20identifier:\x20','afterAll','_gitConfigured','getRootParentFile','NevzJ'];a119_0x1b49=function(){return _0x21c3fc;};return a119_0x1b49();}(function(_0x1aa660,_0xa3b01c){const _0x23ed89=a119_0xf210,_0x38cddc=_0x1aa660();while(!![]){try{const _0xd363cd=-parseInt(_0x23ed89(0x159))/0x1*(parseInt(_0x23ed89(0x143))/0x2)+parseInt(_0x23ed89(0xd8))/0x3+parseInt(_0x23ed89(0x188))/0x4*(-parseInt(_0x23ed89(0x18c))/0x5)+parseInt(_0x23ed89(0x15d))/0x6+-parseInt(_0x23ed89(0x121))/0x7+-parseInt(_0x23ed89(0x16e))/0x8+parseInt(_0x23ed89(0x174))/0x9*(parseInt(_0x23ed89(0x15b))/0xa);if(_0xd363cd===_0xa3b01c)break;else _0x38cddc['push'](_0x38cddc['shift']());}catch(_0x767b5b){_0x38cddc['push'](_0x38cddc['shift']());}}}(a119_0x1b49,0x3285f));const path=require(a119_0x1c8ee6(0x11b)),util=require(a119_0x1c8ee6(0x182)),crypto=require('crypto'),{getGitMetaData,isUndefined,nestedKeyValue}=require('../../../helpers/helper.js'),logger=require(a119_0x1c8ee6(0xf0))[a119_0x1c8ee6(0x146)],{o11yClassErrorHandler}=require(a119_0x1c8ee6(0x18b)),TestInfo=require(a119_0x1c8ee6(0x117)),{failureData,getFailureType,PathHelper}=require(a119_0x1c8ee6(0x125)),stackTrace=require(a119_0x1c8ee6(0x10f)),{pickUserFrameFile}=require(a119_0x1c8ee6(0xda)),a119_0x3609a2={};a119_0x3609a2[a119_0x1c8ee6(0x169)]=a119_0x1c8ee6(0xfb),a119_0x3609a2[a119_0x1c8ee6(0x14d)]=a119_0x1c8ee6(0xec),a119_0x3609a2[a119_0x1c8ee6(0x10b)]=a119_0x1c8ee6(0x129),a119_0x3609a2[a119_0x1c8ee6(0x118)]='AFTER_EACH';const HOOK_TYPES_MAP=a119_0x3609a2,hooksMap={};class JestUtils{constructor(){const _0x439c1f=a119_0x1c8ee6;this[_0x439c1f(0x14e)]=![],this[_0x439c1f(0xfe)]=null,this[_0x439c1f(0xdc)]=new PathHelper({'cwd':process['cwd']()},undefined);}async[a119_0x1c8ee6(0x151)](_0x126a12,_0x81282c,_0x134f5f=a119_0x1c8ee6(0x10e),_0x382502=undefined){const _0x24f5ec=a119_0x1c8ee6,_0x608c94={'BLQHA':_0x24f5ec(0x140),'ZFqMY':_0x24f5ec(0x17a),'VrWep':_0x24f5ec(0x12a),'VUqRO':function(_0x2d00a0,_0x2100be){return _0x2d00a0!==_0x2100be;},'Lctec':_0x24f5ec(0xf2),'fhMHL':_0x24f5ec(0x10d),'bYLTX':function(_0x16ac46,_0x1c061a){return _0x16ac46!==_0x1c061a;},'xRbQS':function(_0x49619f,_0x2c6f13){return _0x49619f!==_0x2c6f13;},'DBzVb':'pending','NevzJ':function(_0x483498,_0x1ab905){return _0x483498===_0x1ab905;},'SmKRn':'TestRunSkipped','vzfTD':'skipped','oTtfY':_0x24f5ec(0x10e),'eTJki':function(_0x39e6d3,_0x37b063){return _0x39e6d3>_0x37b063;},'Oedtz':'failed','WikSv':'passed','GXNnz':function(_0x54914f,_0x50107c){return _0x54914f-_0x50107c;},'pZEXy':_0x24f5ec(0xfa),'TGlIO':function(_0xae7ae,_0x2cc9de){return _0xae7ae>_0x2cc9de;},'EkNEU':_0x24f5ec(0xe6),'AkNZz':function(_0x547568,_0x549f3c){return _0x547568(_0x549f3c);},'DmRKE':function(_0x4c23fc,_0xfc64b8){return _0x4c23fc===_0xfc64b8;},'vmZtF':function(_0x1acc21,_0x55f522){return _0x1acc21===_0x55f522;},'rSBAZ':function(_0xe2171b,_0x4b0cb3){return _0xe2171b===_0x4b0cb3;}};logger[_0x24f5ec(0x171)]('Creating\x20test\x20framework\x20data\x20for\x20eventType:\x20'+_0x134f5f+_0x24f5ec(0xf6)+_0x81282c);try{if(!_0x126a12)return logger[_0x24f5ec(0x171)](_0x608c94[_0x24f5ec(0xdd)]),null;if(_0x126a12['fn']&&_0x126a12['fn'][_0x24f5ec(0x154)]()[_0x24f5ec(0x12b)](/browserstack internal helper hook/))return null;await this['configureGit']();let _0x3f0373;try{_0x3f0373=this['getRootParentFile'](_0x126a12);if(_0x3f0373&&_0x3f0373[_0x24f5ec(0xd3)](_0x608c94[_0x24f5ec(0x122)]))return null;}catch(_0x33c11b){logger['debug'](_0x24f5ec(0xe5)+util[_0x24f5ec(0xeb)](_0x33c11b)),_0x3f0373=null;}const _0x5076f9=this['getHierarchy'](_0x126a12),_0x17e761=this[_0x24f5ec(0x168)](_0x126a12),_0x1a0cf5=_0x3f0373?this[_0x24f5ec(0xdc)][_0x24f5ec(0x16d)](_0x3f0373):_0x608c94[_0x24f5ec(0x170)];let _0x2763f0=[];const _0x3acac8=_0x126a12[_0x24f5ec(0x189)]||_0x126a12[_0x24f5ec(0xe2)];if(_0x608c94[_0x24f5ec(0xed)](_0x3acac8,undefined))_0x2763f0=[_0x3acac8,_0x608c94[_0x24f5ec(0x17b)]];else _0x608c94[_0x24f5ec(0xed)](_0x382502,undefined)&&(_0x2763f0=[_0x382502,_0x608c94[_0x24f5ec(0x18d)]]);const _0x53362f=_0x608c94[_0x24f5ec(0x107)](_0x3acac8,undefined)?util['inspect'](_0x3acac8[0x0]):_0x608c94[_0x24f5ec(0x131)](_0x382502,undefined)?_0x382502['toString']():undefined;let _0x3bf0a6=_0x608c94[_0x24f5ec(0xe8)];if(_0x608c94[_0x24f5ec(0x150)](_0x134f5f,_0x608c94[_0x24f5ec(0x160)]))_0x3bf0a6=_0x608c94[_0x24f5ec(0x17f)];else _0x608c94['NevzJ'](_0x134f5f,_0x608c94[_0x24f5ec(0xe0)])&&(_0x3acac8&&_0x608c94['eTJki'](_0x3acac8[_0x24f5ec(0x100)],0x0)?_0x3bf0a6=_0x608c94[_0x24f5ec(0x12d)]:_0x3bf0a6=_0x608c94['WikSv']);let _0x2a7cb9=null;if(_0x608c94[_0x24f5ec(0x107)](_0x126a12['duration'],undefined))_0x2a7cb9=_0x126a12[_0x24f5ec(0xdb)];else(_0x134f5f[_0x24f5ec(0x12b)](/Finished/)||_0x134f5f['match'](/Skipped/))&&(_0x126a12[_0x24f5ec(0x109)]&&(_0x2a7cb9=_0x608c94[_0x24f5ec(0x153)](Date['now'](),new Date(_0x126a12[_0x24f5ec(0x109)])['getTime']())));const _0x1a5dd9=_0x126a12['fn']?_0x126a12['fn'][_0x24f5ec(0x154)]():null,_0x16eba1={'id':_0x81282c,'uuid':_0x81282c,'startedAt':_0x126a12[_0x24f5ec(0x109)]||new Date()[_0x24f5ec(0x167)](),'finishedAt':_0x134f5f['match'](/Finished/)||_0x134f5f[_0x24f5ec(0x12b)](/Skipped/)?new Date()['toISOString']():null,'type':_0x608c94[_0x24f5ec(0x17b)],'body':{'lang':_0x608c94[_0x24f5ec(0x132)],'code':_0x1a5dd9},'name':_0x17e761,'errorsDetailed':_0x608c94[_0x24f5ec(0x145)](_0x3acac8?.['length'],0x0)?_0x3acac8[0x0]:_0x3acac8?_0x3acac8:undefined,'scopes':_0x5076f9,'file_name':_0x1a0cf5,'location':_0x1a0cf5,'vc_filepath':this['_gitConfigPath']&&_0x3f0373?path[_0x24f5ec(0x130)](this[_0x24f5ec(0xfe)],_0x3f0373):null,'framework':_0x608c94[_0x24f5ec(0xf7)],'result':_0x3bf0a6,'failure_reason':_0x53362f,'duration_in_ms':_0x2a7cb9,'failure':failureData[_0x24f5ec(0xff)](null,_0x2763f0),'failure_type':!_0x53362f?null:_0x608c94[_0x24f5ec(0xea)](getFailureType,_0x53362f),'retry_of':_0x126a12[_0x24f5ec(0x115)]||null,'customRerunParam':{'rerun_name':_0x17e761}};_0x608c94[_0x24f5ec(0x106)](_0x134f5f,_0x608c94[_0x24f5ec(0x160)])&&!_0x16eba1[_0x24f5ec(0x14a)]&&(_0x16eba1[_0x24f5ec(0x14a)]=_0x16eba1[_0x24f5ec(0x105)]);const _0x4b64e1=_0x16eba1['failure']&&_0x16eba1[_0x24f5ec(0x179)][0x0];return _0x4b64e1&&(_0x16eba1[_0x24f5ec(0x166)]=_0x4b64e1[_0x24f5ec(0xd7)],_0x16eba1[_0x24f5ec(0xee)]=_0x4b64e1[_0x24f5ec(0xef)]),(_0x608c94[_0x24f5ec(0x147)](_0x134f5f,_0x608c94['oTtfY'])||_0x608c94[_0x24f5ec(0x11e)](_0x134f5f,_0x608c94['SmKRn']))&&(_0x126a12[_0x24f5ec(0xf1)]&&(_0x16eba1[_0x24f5ec(0xf1)]=_0x126a12['hooks'])),_0x16eba1;}catch(_0x2b25aa){return logger[_0x24f5ec(0x171)](_0x24f5ec(0x180)+util[_0x24f5ec(0xeb)](_0x2b25aa)),null;}}async[a119_0x1c8ee6(0x17c)](_0x551afd,_0x1ea6c9,_0xd85a87,_0x3d9a66){const _0x142853=a119_0x1c8ee6,_0xb2ee0b={'QSzep':_0x142853(0x152),'LCzFJ':'jest-circus','lKjVd':_0x142853(0x16c),'vegwY':'unknown','ZlHrb':_0x142853(0x181),'GICBa':function(_0x44d350,_0x281f20){return _0x44d350===_0x281f20;},'frzJq':_0x142853(0x173),'coULI':function(_0x488fc1,_0xbd36dc){return _0x488fc1>_0xbd36dc;},'qTpGW':_0x142853(0x18e),'RUEcO':function(_0x530a16,_0x5bc48f){return _0x530a16(_0x5bc48f);},'jrhIT':_0x142853(0xf2),'XbyjO':_0x142853(0x124),'rNKOS':_0x142853(0x193),'yYhjR':_0x142853(0xfa),'vuaPx':'jest','IJVKS':function(_0x4df18d,_0x3aa856){return _0x4df18d===_0x3aa856;},'AKNOt':'HookRunStarted'};logger[_0x142853(0x171)](_0x142853(0x114)+_0xd85a87+_0x142853(0x12e)+_0x1ea6c9+_0x142853(0x10a)+_0x3d9a66);try{if(!_0x551afd)return logger[_0x142853(0x171)](_0xb2ee0b[_0x142853(0x139)]),null;if(this[_0x142853(0xd6)](_0x551afd))return null;await this[_0x142853(0x16a)]();let _0x25425f=null;try{_0x25425f=this[_0x142853(0x14f)](_0x551afd);if(_0x25425f&&_0x25425f[_0x142853(0xd3)](_0xb2ee0b['LCzFJ']))return null;if(_0x25425f&&_0x25425f[_0x142853(0xd3)](_0xb2ee0b[_0x142853(0x175)]))return null;}catch(_0x2dfe9){logger[_0x142853(0x171)]('Failed\x20to\x20get\x20hook\x20file\x20path:\x20'+util['format'](_0x2dfe9));}const _0x279ad1=_0x25425f?this[_0x142853(0xdc)]['prefixTestPath'](_0x25425f):_0x25425f,_0x2e4240=this['getName'](_0x551afd),_0x1712e6=_0x551afd[_0x142853(0x120)]||_0xb2ee0b[_0x142853(0x157)],_0x12aeb5=HOOK_TYPES_MAP[_0x1712e6]||_0x1712e6['toUpperCase'](),_0x2dcaa9=_0x551afd['parent']&&_0x551afd['parent'][_0x142853(0x104)]?_0x551afd['parent'][_0x142853(0x104)]:'';let _0x266322=_0xb2ee0b[_0x142853(0x127)],_0x8d0ac5=null,_0x2f2300=null,_0x3e6a8e=null,_0x1ebe9f=null;_0xb2ee0b['GICBa'](_0xd85a87,_0xb2ee0b['frzJq'])&&(_0x1ebe9f=new Date()['toISOString'](),_0x551afd[_0x142853(0x189)]&&_0xb2ee0b[_0x142853(0x156)](_0x551afd['errorsDetailed'][_0x142853(0x100)],0x0)?(_0x266322=_0xb2ee0b[_0x142853(0x187)],_0x2f2300=util[_0x142853(0x163)](_0x551afd['errorsDetailed'][0x0]),_0x8d0ac5=_0xb2ee0b['RUEcO'](getFailureType,_0x2f2300),_0x3e6a8e=failureData[_0x142853(0xff)](null,[_0x551afd[_0x142853(0x189)],_0xb2ee0b[_0x142853(0x11f)]])):_0x266322=_0xb2ee0b['XbyjO']);const _0x3cbc5f={'uuid':_0x1ea6c9,'type':_0xb2ee0b[_0x142853(0x16b)],'hook_type':_0x12aeb5,'name':_0x2e4240,'body':{'lang':_0xb2ee0b['yYhjR'],'code':_0x551afd['fn']?_0x551afd['fn'][_0x142853(0x154)]():null},'tags':[],'test_run_id':_0x3d9a66,'scope':_0x2dcaa9,'scopes':[_0x2dcaa9],'file_name':_0x279ad1,'location':_0x279ad1,'vc_filepath':this[_0x142853(0xfe)]&&_0x25425f?path['relative'](this[_0x142853(0xfe)],_0x25425f):null,'result':_0x266322,'started_at':_0x551afd[_0x142853(0x109)]||new Date()[_0x142853(0x167)](),'finished_at':_0x1ebe9f,'failure_type':_0x8d0ac5,'failure_reason':_0x2f2300,'failure_data':_0x3e6a8e,'framework':_0xb2ee0b[_0x142853(0x135)]};return _0xb2ee0b[_0x142853(0x18a)](_0xd85a87,_0xb2ee0b[_0x142853(0xde)])&&(hooksMap[_0x3d9a66]?hooksMap[_0x3d9a66][_0x142853(0x192)](_0x3cbc5f):hooksMap[_0x3d9a66]=[_0x3cbc5f]),_0x3cbc5f;}catch(_0x25ff0b){return logger[_0x142853(0x171)](_0x142853(0x11c)+util[_0x142853(0xeb)](_0x25ff0b)),null;}}[a119_0x1c8ee6(0xf8)](_0x59955a,_0x45c760,_0x1db796){const _0x29002b=a119_0x1c8ee6,_0x4dc574={'oKjGZ':function(_0x385bde,_0x31b742){return _0x385bde>_0x31b742;},'UNRwv':_0x29002b(0x18e),'yrmWF':function(_0x16b283,_0x15909e){return _0x16b283(_0x15909e);},'omlOu':_0x29002b(0xf2),'xjIdz':_0x29002b(0x124)};try{const _0x4bf997=hooksMap[_0x59955a];if(!_0x4bf997)return null;const _0x4093c4=_0x4bf997[_0x29002b(0x148)](_0x2df499=>_0x2df499[_0x29002b(0x13d)]===_0x45c760);if(!_0x4093c4)return null;return _0x4093c4[_0x29002b(0x172)]=new Date()[_0x29002b(0x167)](),_0x1db796[_0x29002b(0x189)]&&_0x4dc574['oKjGZ'](_0x1db796[_0x29002b(0x189)][_0x29002b(0x100)],0x0)?(_0x4093c4[_0x29002b(0xd9)]=_0x4dc574[_0x29002b(0x15c)],_0x4093c4[_0x29002b(0x176)]=util[_0x29002b(0x163)](_0x1db796[_0x29002b(0x189)][0x0]),_0x4093c4['failure_type']=_0x4dc574[_0x29002b(0xe9)](getFailureType,_0x4093c4[_0x29002b(0x176)]),_0x4093c4[_0x29002b(0x14b)]=failureData['apply'](null,[_0x1db796[_0x29002b(0x189)],_0x4dc574[_0x29002b(0x11d)]])):_0x4093c4['result']=_0x4dc574['xjIdz'],_0x4093c4;}catch(_0x480087){return logger[_0x29002b(0x171)](_0x29002b(0x165)+util[_0x29002b(0xeb)](_0x480087)),null;}}[a119_0x1c8ee6(0x168)](_0x4bce8d){const _0x28632a=a119_0x1c8ee6,_0x1c77b7={};_0x1c77b7[_0x28632a(0xe1)]=function(_0x594185,_0x42495f){return _0x594185!==_0x42495f;},_0x1c77b7['GZXDn']='test',_0x1c77b7['rezTi']='Unknown\x20Test';const _0x1bbbe8=_0x1c77b7;if(_0x1bbbe8[_0x28632a(0xe1)](_0x4bce8d[_0x28632a(0x120)],_0x1bbbe8['GZXDn']))return'\x22'+_0x4bce8d[_0x28632a(0x120)]+_0x28632a(0x123)+(_0x4bce8d[_0x28632a(0x112)]&&_0x4bce8d[_0x28632a(0x112)][_0x28632a(0x104)])+'\x22';return _0x4bce8d[_0x28632a(0x104)]||_0x1bbbe8[_0x28632a(0xe4)];}[a119_0x1c8ee6(0x158)](_0xabbc70){const _0x248c7d=a119_0x1c8ee6,_0x2d0830={};_0x2d0830[_0x248c7d(0x164)]=function(_0x21b355,_0x522da2){return _0x21b355!==_0x522da2;},_0x2d0830['awwKe']=function(_0x4b35b5,_0x4fad01){return _0x4b35b5!==_0x4fad01;},_0x2d0830[_0x248c7d(0x162)]=_0x248c7d(0x144);const _0x436477=_0x2d0830,_0x226416=[];if(_0xabbc70&&_0xabbc70[_0x248c7d(0x112)]){let _0x407f85=_0xabbc70[_0x248c7d(0x112)];while(_0x407f85&&_0x407f85[_0x248c7d(0x104)]&&_0x436477[_0x248c7d(0x164)](_0x407f85['name'],'')&&_0x436477[_0x248c7d(0x116)](_0x407f85[_0x248c7d(0x104)],_0x436477[_0x248c7d(0x162)])){_0x226416[_0x248c7d(0x192)](_0x407f85[_0x248c7d(0x104)]),_0x407f85=_0x407f85[_0x248c7d(0x112)];}}return _0x226416[_0x248c7d(0x133)](),_0x226416;}['getRootParentFile'](_0x106cbf){const _0x268ea9=a119_0x1c8ee6,_0x5da037={'adYJC':function(_0x594e88,_0x48abba){return _0x594e88(_0x48abba);}};if(_0x106cbf[_0x268ea9(0xd4)])return _0x106cbf[_0x268ea9(0xd4)];if(_0x106cbf[_0x268ea9(0x17e)])try{const _0x4abbcf=stackTrace[_0x268ea9(0x138)][_0x268ea9(0xe3)](stackTrace,_0x106cbf[_0x268ea9(0x17e)]),_0x2072b5=_0x5da037[_0x268ea9(0x190)](pickUserFrameFile,_0x4abbcf);if(_0x2072b5)return _0x2072b5;logger['debug'](_0x268ea9(0x18f)+_0x4abbcf[_0x268ea9(0x100)]+')');}catch(_0x9cb092){logger[_0x268ea9(0x171)](_0x268ea9(0xf3)+util['format'](_0x9cb092));}return null;}[a119_0x1c8ee6(0xd6)](_0x3cdb75){const _0x425801=a119_0x1c8ee6,_0x531327={};_0x531327[_0x425801(0x161)]='jest-circus';const _0xcae833=_0x531327;try{const _0x5e12cb=this[_0x425801(0x14f)](_0x3cdb75);if(!_0x5e12cb||_0x5e12cb[_0x425801(0xd3)](_0xcae833[_0x425801(0x161)]))return!![];}catch(_0x5ba257){logger[_0x425801(0x171)](_0x425801(0x128)+util['format'](_0x5ba257));}return![];}[a119_0x1c8ee6(0x134)](_0x5347b6=null){const _0x4dcd5f=a119_0x1c8ee6;try{const _0x303f57=_0x5347b6||global['__workerDetails']||{};if(global[_0x4dcd5f(0x126)])return global[_0x4dcd5f(0x126)];if(_0x303f57?.['currentTest']?.['testAnalyticsId'])return _0x303f57[_0x4dcd5f(0x113)][_0x4dcd5f(0x191)];if(_0x303f57?.[_0x4dcd5f(0x113)]?.['id'])return _0x303f57[_0x4dcd5f(0x113)]['id'];return null;}catch(_0x1ced15){return logger[_0x4dcd5f(0x171)](_0x4dcd5f(0x14c)+util[_0x4dcd5f(0xeb)](_0x1ced15)),null;}}async[a119_0x1c8ee6(0x16a)](){const _0x3c1701=a119_0x1c8ee6,_0x5b4ff2={'pdcLi':function(_0x3a087c){return _0x3a087c();}};if(this['_gitConfigured'])return this[_0x3c1701(0xfe)];const _0x120385=await _0x5b4ff2[_0x3c1701(0x177)](getGitMetaData);_0x120385&&(this[_0x3c1701(0xfe)]=_0x120385[_0x3c1701(0x136)]),this['_gitConfigured']=!![];}[a119_0x1c8ee6(0x102)](_0x4036ce){hooksMap[_0x4036ce]&&delete hooksMap[_0x4036ce];}[a119_0x1c8ee6(0xf5)](_0x22ea2e){const _0x5dad69=a119_0x1c8ee6,_0x11f0ae={'kUaOh':_0x5dad69(0x17a),'SOZOF':function(_0x1b51cf,_0x4eabd8){return _0x1b51cf(_0x4eabd8);},'QtyBT':_0x5dad69(0x15f)};if(_0x22ea2e[_0x5dad69(0xd4)])return _0x22ea2e[_0x5dad69(0xd4)];if(_0x22ea2e[_0x5dad69(0x17e)]){try{const _0x328feb=stackTrace[_0x5dad69(0x138)](_0x22ea2e[_0x5dad69(0x17e)]);if(_0x328feb[0x0]&&_0x328feb[0x0][_0x5dad69(0x185)]){const _0x13f6c6=_0x328feb[0x0][_0x5dad69(0x185)]();if(_0x13f6c6&&!_0x13f6c6[_0x5dad69(0xd3)](_0x11f0ae[_0x5dad69(0xf9)]))return _0x13f6c6;}}catch(_0x281b58){logger['debug'](_0x5dad69(0x108)+util[_0x5dad69(0xeb)](_0x281b58));}if(_0x22ea2e[_0x5dad69(0x17e)]['stack']){const _0x16d85e=_0x22ea2e[_0x5dad69(0x17e)][_0x5dad69(0x119)][_0x5dad69(0xf4)]('\x0a');for(const _0x5deb75 of _0x16d85e){const _0x2a692c=_0x5deb75[_0x5dad69(0x12b)](/at (.+?):\d+:\d+/);if(_0x2a692c&&_0x2a692c[0x1]&&!_0x2a692c[0x1][_0x5dad69(0xd3)](_0x11f0ae[_0x5dad69(0xf9)]))return _0x2a692c[0x1];}}}let _0x3d3327=_0x22ea2e[_0x5dad69(0x112)];while(_0x3d3327){if(_0x3d3327[_0x5dad69(0xd4)])return _0x3d3327[_0x5dad69(0xd4)];if(_0x3d3327[_0x5dad69(0x17e)])try{const _0x1a6765=stackTrace[_0x5dad69(0x138)](_0x3d3327[_0x5dad69(0x17e)]);if(_0x1a6765[0x0]&&_0x1a6765[0x0]['getFileName']){const _0x506697=_0x1a6765[0x0][_0x5dad69(0x185)]();if(_0x506697&&!_0x506697[_0x5dad69(0xd3)](_0x11f0ae[_0x5dad69(0xf9)]))return _0x506697;}}catch(_0x273a57){}_0x3d3327=_0x3d3327[_0x5dad69(0x112)];}try{const _0x1239ae=_0x11f0ae['SOZOF'](require,_0x11f0ae['QtyBT']);if(_0x1239ae&&_0x1239ae['getState']){const _0x59e8ab=_0x1239ae[_0x5dad69(0x13f)]();if(_0x59e8ab&&_0x59e8ab[_0x5dad69(0x101)])return _0x59e8ab[_0x5dad69(0x101)];}}catch(_0x3d7a6f){logger[_0x5dad69(0x171)]('[jestUtils]\x20expect.getState()\x20not\x20available:\x20'+util[_0x5dad69(0xeb)](_0x3d7a6f));}return null;}[a119_0x1c8ee6(0x13e)](_0x3d87fe){const _0x4cae60=a119_0x1c8ee6,_0x42220d={};_0x42220d[_0x4cae60(0x15e)]=_0x4cae60(0x13c),_0x42220d[_0x4cae60(0x11a)]=function(_0x2d3d06,_0x3937fd){return _0x2d3d06!==_0x3937fd;},_0x42220d[_0x4cae60(0x155)]=_0x4cae60(0x144),_0x42220d['pbBab']='jest-circus',_0x42220d['lWHbt']=_0x4cae60(0x13b),_0x42220d['dLsMa']=_0x4cae60(0x137);const _0x42948f=_0x42220d;try{if(!_0x3d87fe)return logger[_0x4cae60(0x16f)](_0x42948f[_0x4cae60(0x15e)]),null;const _0x3651bc=_0x3d87fe[_0x4cae60(0x103)]||_0x3d87fe['name']||_0x3d87fe[_0x4cae60(0x15a)]||_0x3d87fe[_0x4cae60(0xfd)];let _0x4de544=_0x3651bc;if(_0x3d87fe[_0x4cae60(0x112)]&&_0x3d87fe['parent'][_0x4cae60(0x104)]&&_0x42948f['MaNka'](_0x3d87fe[_0x4cae60(0x112)][_0x4cae60(0x104)],_0x42948f['NktKc'])){const _0x5bfec6=_0x3d87fe[_0x4cae60(0x104)]||_0x3d87fe[_0x4cae60(0x15a)];_0x5bfec6&&(_0x4de544=_0x3d87fe['parent'][_0x4cae60(0x104)]+'\x20'+_0x5bfec6);}let _0x62f1a7=_0x3d87fe[_0x4cae60(0x101)];if(!_0x62f1a7&&_0x3d87fe['asyncError']){try{const _0x537d7c=stackTrace[_0x4cae60(0x138)](_0x3d87fe['asyncError']);if(_0x537d7c[0x0]&&_0x537d7c[0x0][_0x4cae60(0x185)]){const _0xd42c8e=_0x537d7c[0x0][_0x4cae60(0x185)]();_0xd42c8e&&!_0xd42c8e[_0x4cae60(0xd3)](_0x42948f[_0x4cae60(0x12c)])&&(_0x62f1a7=_0xd42c8e);}}catch(_0x54af79){logger[_0x4cae60(0x171)](_0x4cae60(0x108)+util[_0x4cae60(0xeb)](_0x54af79));}if(!_0x62f1a7&&_0x3d87fe['asyncError'][_0x4cae60(0x119)]){const _0x3bcd2c=_0x3d87fe[_0x4cae60(0x17e)]['stack'][_0x4cae60(0xf4)]('\x0a');for(const _0x2d9a49 of _0x3bcd2c){const _0x111594=_0x2d9a49[_0x4cae60(0x12b)](/at (.+?):\d+:\d+/);if(_0x111594&&_0x111594[0x1]&&!_0x111594[0x1][_0x4cae60(0xd3)](_0x42948f[_0x4cae60(0x12c)])){_0x62f1a7=_0x111594[0x1];break;}}}}const _0x3adc16=_0x62f1a7+'::'+_0x4de544,_0x2b31dd=crypto['createHash'](_0x42948f[_0x4cae60(0x186)])[_0x4cae60(0x178)](_0x3adc16)[_0x4cae60(0x142)](_0x42948f['dLsMa'])[_0x4cae60(0x110)](0x0,0x8),_0x53a730=process[_0x4cae60(0x149)]+_0x4cae60(0x17d)+_0x2b31dd;return logger['debug'](_0x4cae60(0x13a)+_0x53a730+_0x4cae60(0x10c)+_0x3adc16),_0x53a730;}catch(_0x196e78){return logger[_0x4cae60(0x16f)](_0x4cae60(0x12f)+util[_0x4cae60(0xeb)](_0x196e78)),null;}}[a119_0x1c8ee6(0xdf)](_0x3702da){const _0x8b0d2e=a119_0x1c8ee6,_0x3c92ee={};_0x3c92ee[_0x8b0d2e(0x183)]=_0x8b0d2e(0x184);const _0x4e4bd9=_0x3c92ee;if(!_0x3702da)return logger['debug'](_0x4e4bd9['hNmvG']),null;const _0x1c3175=this[_0x8b0d2e(0xf5)](_0x3702da),_0x52bdef={};_0x52bdef[_0x8b0d2e(0x104)]=_0x3702da[_0x8b0d2e(0x104)]||_0x3702da[_0x8b0d2e(0x15a)],_0x52bdef['parent']=_0x3702da[_0x8b0d2e(0x112)],_0x52bdef[_0x8b0d2e(0x101)]=_0x1c3175,_0x52bdef[_0x8b0d2e(0x17e)]=_0x3702da[_0x8b0d2e(0x17e)];const _0x2e047e=_0x52bdef;return this[_0x8b0d2e(0x13e)](_0x2e047e);}[a119_0x1c8ee6(0x111)](_0x1b343c,_0x29df6c=null){const _0x1ced26=a119_0x1c8ee6,_0x168607={};_0x168607[_0x1ced26(0xfc)]=_0x1ced26(0xd5);const _0x1104b6=_0x168607;if(!_0x1b343c)return logger['debug'](_0x1104b6[_0x1ced26(0xfc)]),_0x29df6c;if(_0x1b343c['testIdentifier'])return logger[_0x1ced26(0x171)](_0x1ced26(0xe7)+_0x1b343c[_0x1ced26(0x141)]),_0x1b343c[_0x1ced26(0x141)];return this[_0x1ced26(0x13e)](_0x1b343c)||_0x29df6c;}}function a119_0xf210(_0x2f2290,_0x210481){const _0x1b4911=a119_0x1b49();return a119_0xf210=function(_0xf21014,_0x131e65){_0xf21014=_0xf21014-0xd3;let _0x50525a=_0x1b4911[_0xf21014];return _0x50525a;},a119_0xf210(_0x2f2290,_0x210481);}module['exports']=o11yClassErrorHandler(JestUtils,[a119_0x1c8ee6(0x16a),a119_0x1c8ee6(0x158),a119_0x1c8ee6(0x14f),a119_0x1c8ee6(0x168),a119_0x1c8ee6(0xd6),a119_0x1c8ee6(0x134),a119_0x1c8ee6(0x151),'createHookData','getHookRunEventData',a119_0x1c8ee6(0x102),a119_0x1c8ee6(0xf5),a119_0x1c8ee6(0x13e),'createIdentifierFromJestTest',a119_0x1c8ee6(0x111)]);
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';
|
|
2
|
+
'use strict';function a120_0x1899(){const _0x5801d7=['\x20resolves\x20outside\x20the\x20project\x20directory\x20and\x20was\x20rejected','modifyBrowserStackCaps','../../helpers/BrowserStackSetup','SDK_CLEANUP','push','assign','getPlatformName','start','cwd','platforms','../test-runner','File\x20path\x20is\x20required','length','../../helpers/helper','\x20doesn\x27t\x20exist','finalExecution','../../helpers/performance/performance-tester','useW3C','iLXOe','2xjIomK','MWNAI','EVENTS','File\x20path\x20','../../helpers/testhub/testhubHandler','10368622oEIUxN','SDK_SETUP','25KGsfno','existsSync','DHVqb','SOaxm','handleApp','6876936QQhPmB','sep','configuration','1370406rGxrSe','initialize','finally','vanilla','getInstance','24SKsBTr','args','1458332JIIMie','end','12736048CaHUZo','config','proxySettings','launchBuild','18930BKxAVM','path','9WMGXuT','parallelsPerPlatform','File\x20','exports','XyeKo','isUndefined','7YHHneY','Config\x20yml\x20is\x20required','../../helpers/performance/constants','GntgZ','WpbXM','modifyBrowserStackW3CCaps','3310090btRAPI','UtTht'];a120_0x1899=function(){return _0x5801d7;};return a120_0x1899();}const a120_0x853721=a120_0x51f8;(function(_0x22ae50,_0x3c399a){const _0x4c74a5=a120_0x51f8,_0x4cc419=_0x22ae50();while(!![]){try{const _0x9348af=parseInt(_0x4c74a5(0x1c0))/0x1+-parseInt(_0x4c74a5(0x1aa))/0x2*(-parseInt(_0x4c74a5(0x1c6))/0x3)+-parseInt(_0x4c74a5(0x1b6))/0x4+-parseInt(_0x4c74a5(0x1b1))/0x5*(-parseInt(_0x4c74a5(0x1b9))/0x6)+-parseInt(_0x4c74a5(0x1ce))/0x7*(-parseInt(_0x4c74a5(0x1c2))/0x8)+-parseInt(_0x4c74a5(0x1c8))/0x9*(-parseInt(_0x4c74a5(0x1d4))/0xa)+parseInt(_0x4c74a5(0x1af))/0xb*(-parseInt(_0x4c74a5(0x1be))/0xc);if(_0x9348af===_0x3c399a)break;else _0x4cc419['push'](_0x4cc419['shift']());}catch(_0x56699c){_0x4cc419['push'](_0x4cc419['shift']());}}}(a120_0x1899,0xe1e28));const fs=require('fs'),path=require(a120_0x853721(0x1c7)),{default:BrowserStackSetup}=require(a120_0x853721(0x1d8)),helper=require(a120_0x853721(0x1a4)),PerformanceTester=require(a120_0x853721(0x1a7)),PerformanceEvents=require(a120_0x853721(0x1d0))[a120_0x853721(0x1ac)],utilities=require('../../helpers/utilities'),{parallelVanillaRun}=require(a120_0x853721(0x1a1)),TestHubHandler=require(a120_0x853721(0x1ae)),BrowserstackCLI=require('../v2/browserstackCLI');function a120_0x51f8(_0x59314d,_0x4b1075){const _0x1899ac=a120_0x1899();return a120_0x51f8=function(_0x51f83d,_0x453c42){_0x51f83d=_0x51f83d-0x1a1;let _0x4f4202=_0x1899ac[_0x51f83d];return _0x4f4202;},a120_0x51f8(_0x59314d,_0x4b1075);}async function run(_0x2e294f,_0xbc79d1,_0x35098b){const _0x130a16=a120_0x853721,_0x10173b={'XyeKo':_0x130a16(0x1bc),'SOaxm':function(_0x3257b3,_0x2db28a){return _0x3257b3(_0x2db28a);},'waoAI':_0x130a16(0x1a2),'MWNAI':function(_0x1c4ae0,_0x5badfd){return _0x1c4ae0!==_0x5badfd;},'WpbXM':function(_0x168aba,_0x28f135){return _0x168aba+_0x28f135;},'toEAv':function(_0x5ccaea,_0x51770f){return _0x5ccaea(_0x51770f);},'DHVqb':_0x130a16(0x1cf),'UtTht':function(_0x42e332,_0x56c3d7){return _0x42e332>_0x56c3d7;},'iLXOe':function(_0x4c2e04,_0x21a722){return _0x4c2e04*_0x21a722;},'GntgZ':function(_0x381b27,_0x3c1949,_0x2ace55){return _0x381b27(_0x3c1949,_0x2ace55);}};await _0x35098b[_0x130a16(0x1ba)](_0x2e294f);!BrowserstackCLI[_0x130a16(0x1bd)]()['isRunning']()&&await _0x35098b['setupBrowserstackLocal']();await helper[_0x130a16(0x1b5)](_0x35098b[_0x130a16(0x1c3)]);const _0x4c9e93=[];if(helper[_0x130a16(0x1cd)](_0x2e294f['_'][0x1]))throw _0x10173b[_0x130a16(0x1b4)](Error,_0x10173b['waoAI']);const _0x114705=process[_0x130a16(0x1de)](),_0x230efd=path['resolve'](_0x114705,_0x2e294f['_'][0x1]);if(_0x10173b[_0x130a16(0x1ab)](_0x230efd,_0x114705)&&!_0x230efd['startsWith'](_0x10173b[_0x130a16(0x1d2)](_0x114705,path[_0x130a16(0x1b7)])))throw _0x10173b[_0x130a16(0x1b4)](Error,_0x130a16(0x1ad)+_0x2e294f['_'][0x1]+_0x130a16(0x1d6));if(!fs[_0x130a16(0x1b2)](_0x230efd))throw _0x10173b['toEAv'](Error,_0x130a16(0x1ca)+_0x2e294f['_'][0x1]+_0x130a16(0x1a5));if(!_0x35098b['config'])throw _0x10173b[_0x130a16(0x1b4)](Error,_0x10173b[_0x130a16(0x1b3)]);const _0x2ac9bb=helper[_0x130a16(0x1a8)](_0x35098b['config']);_0x35098b['config'][_0x130a16(0x1df)]&&_0x10173b['UtTht'](_0x35098b[_0x130a16(0x1c3)][_0x130a16(0x1df)][_0x130a16(0x1a3)],0x0)&&_0x35098b[_0x130a16(0x1c3)]['platforms']['forEach']((_0x228d71,_0x8ff5a)=>{const _0x2928bb=_0x130a16;_0x2ac9bb?_0x4c9e93['push'](helper[_0x2928bb(0x1d3)](_0x35098b[_0x2928bb(0x1c3)],_0x10173b[_0x2928bb(0x1cc)],_0x8ff5a)):_0x4c9e93[_0x2928bb(0x1da)](helper[_0x2928bb(0x1d7)](_0x35098b[_0x2928bb(0x1c3)],_0x10173b[_0x2928bb(0x1cc)],_0x8ff5a));});let _0x33fc75,_0x4359cd;const _0xa1b0f=[];if(_0x10173b[_0x130a16(0x1d5)](_0x4c9e93['length'],0x0))_0x4c9e93['forEach']((_0x489e2c,_0x39a02e)=>{const _0x454088=_0x130a16,_0x2cccf6={};_0x2cccf6['index']=_0x39a02e,_0x33fc75={'server':helper['getHubUrl'](_0x35098b[_0x454088(0x1c3)]),'proxySettings':_0x35098b[_0x454088(0x1c3)][_0x454088(0x1c4)],'platform':helper[_0x454088(0x1dc)](_0x489e2c),'platformCaps':Object[_0x454088(0x1db)](_0x2cccf6,_0x35098b[_0x454088(0x1c3)]['platforms'][_0x39a02e])};const _0xc0d495={'capability':_0x489e2c,..._0x33fc75};_0xc0d495['file']=_0x230efd,_0xc0d495[_0x454088(0x1bf)]=_0xbc79d1;const _0x560205={};_0x560205[_0x454088(0x1b8)]=_0xc0d495,_0x4359cd=_0x560205,_0xa1b0f[_0x454088(0x1da)](_0x4359cd);});else{let _0x3db3c1;_0x2ac9bb?_0x3db3c1=helper[_0x130a16(0x1d3)](_0x35098b[_0x130a16(0x1c3)],_0x10173b[_0x130a16(0x1cc)],0x0):_0x3db3c1=helper[_0x130a16(0x1d7)](_0x35098b[_0x130a16(0x1c3)],_0x10173b['XyeKo'],0x0);_0x33fc75={'server':helper['getHubUrl'](_0x35098b[_0x130a16(0x1c3)]),'proxySettings':_0x35098b['config'][_0x130a16(0x1c4)]};const _0x4b52f8={'capability':_0x3db3c1,..._0x33fc75};_0x4b52f8['file']=_0x230efd,_0x4b52f8[_0x130a16(0x1bf)]=_0xbc79d1;const _0x408c50={};_0x408c50[_0x130a16(0x1b8)]=_0x4b52f8,_0x4359cd=_0x408c50,_0xa1b0f[_0x130a16(0x1da)](_0x4359cd);}const _0x1c4df1=await TestHubHandler[_0x130a16(0x1c5)](_0x10173b[_0x130a16(0x1cc)],_0x35098b),_0x54a3e3=_0x10173b[_0x130a16(0x1a9)](_0x35098b[_0x130a16(0x1c3)][_0x130a16(0x1df)]['length']||0x1,_0x35098b['config'][_0x130a16(0x1c9)]||0x1);PerformanceTester[_0x130a16(0x1c1)](PerformanceEvents[_0x130a16(0x1b0)]),_0x10173b[_0x130a16(0x1d1)](parallelVanillaRun,_0xa1b0f,_0x54a3e3)['then'](_0xf29e0e=>{})[_0x130a16(0x1bb)](async()=>{const _0x4591de=_0x130a16;PerformanceTester[_0x4591de(0x1dd)](PerformanceEvents[_0x4591de(0x1d9)]),await utilities[_0x4591de(0x1a6)](_0x35098b);});}module[a120_0x853721(0x1cb)]=run;
|
package/src/browserStackSdk.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a121_0x3144ec=a121_0x1f68;function a121_0x1f68(_0x60c82f,_0x10227a){const _0x57ca46=a121_0x57ca();return a121_0x1f68=function(_0x1f681a,_0x4d9d1a){_0x1f681a=_0x1f681a-0xec;let _0xe45d6=_0x57ca46[_0x1f681a];return _0xe45d6;},a121_0x1f68(_0x60c82f,_0x10227a);}function a121_0x57ca(){const _0x2e4148=['browserName','MBuGM','NvAUd','browser_version','set','1349912kKVtyf','siXmY','24200kUGUKx','LMIHi','os_version','rdhAp','osVersion','1555194nexjuH','platformVersion','55461rtIYST','zRgJq','exports','41OZYGpn','2511260mnyOSU','platform','4077288aEKkDm','REFSn','3225BuXtbb','LReQs','1340pBweHD','tfddT','deviceName','browserVersion','iOpgX','setTestMetadata','TJghG','device','platform_version','platformName','./helpers/metadata','__platformCaps','FXHgQ','yhuWY'];a121_0x57ca=function(){return _0x2e4148;};return a121_0x57ca();}(function(_0x141e3b,_0x15b1f5){const _0x308a48=a121_0x1f68,_0x2b164d=_0x141e3b();while(!![]){try{const _0x23480a=-parseInt(_0x308a48(0xfb))/0x1*(-parseInt(_0x308a48(0xf1))/0x2)+parseInt(_0x308a48(0x100))/0x3*(-parseInt(_0x308a48(0x102))/0x4)+parseInt(_0x308a48(0xfc))/0x5+parseInt(_0x308a48(0xf6))/0x6+parseInt(_0x308a48(0xf8))/0x7+-parseInt(_0x308a48(0xef))/0x8+-parseInt(_0x308a48(0xfe))/0x9;if(_0x23480a===_0x15b1f5)break;else _0x2b164d['push'](_0x2b164d['shift']());}catch(_0x489655){_0x2b164d['push'](_0x2b164d['shift']());}}}(a121_0x57ca,0x453ba));const TestMetadata=require(a121_0x3144ec(0x10c));class BrowserStackSdk{static['getCurrentPlatform'](){const _0x2a6f18=a121_0x3144ec,_0x37f44d={};_0x37f44d[_0x2a6f18(0xff)]=_0x2a6f18(0xf3),_0x37f44d[_0x2a6f18(0x111)]=_0x2a6f18(0xf5),_0x37f44d[_0x2a6f18(0x101)]='browser',_0x37f44d['LMIHi']=_0x2a6f18(0x110),_0x37f44d[_0x2a6f18(0x108)]=_0x2a6f18(0xed),_0x37f44d[_0x2a6f18(0x106)]=_0x2a6f18(0x105),_0x37f44d[_0x2a6f18(0xf0)]=_0x2a6f18(0x109),_0x37f44d[_0x2a6f18(0x103)]=_0x2a6f18(0x104),_0x37f44d['zRgJq']=_0x2a6f18(0xfd),_0x37f44d[_0x2a6f18(0x10f)]=_0x2a6f18(0x10b),_0x37f44d['FXHgQ']=_0x2a6f18(0x10a),_0x37f44d[_0x2a6f18(0xec)]=_0x2a6f18(0xf7),_0x37f44d['rdhAp']='customVariables';const _0x588950=_0x37f44d,_0x1990de={};if(global[_0x2a6f18(0x10d)]){const _0x55fb2b=global[_0x2a6f18(0x10d)],_0x4c1a4c=_0x55fb2b[_0x588950[_0x2a6f18(0xff)]]||_0x55fb2b[_0x588950[_0x2a6f18(0x111)]],_0x501e92=_0x55fb2b[_0x588950['LReQs']]||_0x55fb2b[_0x588950['LMIHi']],_0x20e8b6=_0x55fb2b[_0x588950[_0x2a6f18(0x108)]]||_0x55fb2b[_0x588950[_0x2a6f18(0x106)]],_0x50d836=_0x55fb2b[_0x588950[_0x2a6f18(0xf0)]]||_0x55fb2b[_0x588950['tfddT']],_0x24d471=_0x55fb2b[_0x588950[_0x2a6f18(0xf9)]]||_0x55fb2b[_0x588950[_0x2a6f18(0x10f)]],_0x3c2e50=_0x55fb2b[_0x588950[_0x2a6f18(0x10e)]]||_0x55fb2b[_0x588950['NvAUd']];_0x55fb2b['os']&&(_0x1990de['os']=_0x55fb2b['os']),_0x4c1a4c&&(_0x1990de[_0x588950[_0x2a6f18(0x111)]]=_0x4c1a4c),_0x501e92&&(_0x1990de[_0x588950[_0x2a6f18(0xf2)]]=_0x501e92),_0x20e8b6&&(_0x1990de[_0x588950[_0x2a6f18(0x106)]]=_0x20e8b6),_0x50d836&&(_0x1990de[_0x588950[_0x2a6f18(0x103)]]=_0x50d836),_0x24d471&&(_0x1990de[_0x588950[_0x2a6f18(0x10f)]]=_0x24d471),_0x3c2e50&&(_0x1990de[_0x588950[_0x2a6f18(0xec)]]=_0x3c2e50),_0x55fb2b[_0x588950[_0x2a6f18(0xf4)]]&&(_0x1990de[_0x588950[_0x2a6f18(0xf4)]]=_0x55fb2b[_0x588950[_0x2a6f18(0xf4)]]);}return _0x1990de;}static[a121_0x3144ec(0x107)](_0x197382={}){const _0x27f777=a121_0x3144ec;TestMetadata[_0x27f777(0xee)](_0x197382);}}module[a121_0x3144ec(0xfa)]=BrowserStackSdk;
|