browserstack-node-sdk 1.63.0 → 1.63.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +1 -1
- package/src/ai-sdk-node/bundle.js +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jasmine/bstack-reporter/customReporter.js +1 -1
- package/src/bin/jasmine/command.js +1 -1
- package/src/bin/jasmine/test.setup.js +1 -1
- package/src/bin/jasmine/testRunMap.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customSequencer.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test.setup.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/load/index.js +1 -1
- package/src/bin/load/loadErrors.js +1 -1
- package/src/bin/load/loadUtils.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/builderPatch.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/newman/command.js +1 -1
- package/src/bin/newman/helper.js +1 -1
- package/src/bin/newman/reporter/index.js +1 -1
- package/src/bin/newman/scriptRunner.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/puppeteer/patches.js +1 -1
- package/src/bin/puppeteer/sessionDetails.js +1 -1
- package/src/bin/puppeteer/test.setup.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/testcafe/a11y-runner.js +1 -1
- package/src/bin/testcafe/command.js +1 -1
- package/src/bin/testcafe/reporter/index.js +1 -1
- package/src/bin/testcafe/reporter/tcUtils.js +1 -1
- package/src/bin/testcafe/session-registry.js +1 -1
- package/src/bin/testcafe/stdout-interceptor.js +1 -1
- package/src/bin/testcafe/testcafe-action-patcher.js +1 -1
- package/src/bin/testcafe/w3c-driver.js +1 -1
- package/src/bin/utils/apiUtilityMethods.js +1 -1
- package/src/bin/utils/clientTroubleshootingService.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/utils/playwright-patcher.js +1 -1
- package/src/bin/utils/puppeteer-patcher.js +1 -1
- package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
- package/src/bin/utils/sharedUtils.js +1 -1
- package/src/bin/v2/TestInfo.js +1 -1
- package/src/bin/v2/browserstackCLI.js +1 -1
- package/src/bin/v2/cliUtils.js +1 -1
- package/src/bin/v2/customTagManager.js +1 -1
- package/src/bin/v2/eventDispatcher.js +1 -1
- package/src/bin/v2/framework/automationFramework.js +1 -1
- package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
- package/src/bin/v2/framework/jestTestFramework.js +1 -1
- package/src/bin/v2/framework/newmanTestFramework.js +1 -1
- package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
- package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
- package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
- package/src/bin/v2/framework/testFramework.js +1 -1
- package/src/bin/v2/framework/testcafeAutomationFramework.js +1 -1
- package/src/bin/v2/framework/testcafeTestFramework.js +1 -1
- package/src/bin/v2/grpcClient.js +1 -1
- package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/trackedContext.js +1 -1
- package/src/bin/v2/instances/trackedInstance.js +1 -1
- package/src/bin/v2/modules/accessibilityModule.js +1 -1
- package/src/bin/v2/modules/baseModule.js +1 -1
- package/src/bin/v2/modules/loadTestModule.js +1 -1
- package/src/bin/v2/modules/observabilityModule.js +1 -1
- package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
- package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
- package/src/bin/v2/modules/testcafeDriverModule.js +1 -1
- package/src/bin/v2/modules/testhubModule.js +1 -1
- package/src/bin/v2/sdkErrorHandler.js +1 -1
- package/src/bin/v2/state/automationFrameworkState.js +1 -1
- package/src/bin/v2/state/hookState.js +1 -1
- package/src/bin/v2/state/testFrameworkState.js +1 -1
- package/src/bin/v2/uploadAttachmentsManager.js +1 -1
- package/src/bin/v2/utils/cucumber-utils.js +1 -1
- package/src/bin/v2/utils/jest-utils.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
- package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/caCertHelper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/central-scanner/constants.js +1 -1
- package/src/helpers/central-scanner/helpers.js +1 -1
- package/src/helpers/classLogger.js +1 -1
- package/src/helpers/driverInitErrorReporter.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/metadata.js +1 -1
- package/src/helpers/patchHelper.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance/constants.js +1 -1
- package/src/helpers/performance/performance-tester.js +1 -1
- package/src/helpers/playwright-helper.js +1 -1
- package/src/helpers/processHelper.js +1 -1
- package/src/helpers/puppeteer-helper.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/stackFrameUtils.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/test-orchestration/constants.js +1 -1
- package/src/helpers/test-orchestration/failfastManager.js +1 -1
- package/src/helpers/test-orchestration/fileHelper.js +1 -1
- package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
- package/src/helpers/test-orchestration/requestUtils.js +1 -1
- package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
- package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
- package/src/helpers/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/timeoutPromise.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a115_0x34e20a=a115_0xe773;(function(_0x216924,_0x56c935){const _0x27bd42=a115_0xe773,_0x1d4839=_0x216924();while(!![]){try{const _0x148b57=-parseInt(_0x27bd42(0x15b))/0x1*(parseInt(_0x27bd42(0x159))/0x2)+parseInt(_0x27bd42(0x15c))/0x3*(parseInt(_0x27bd42(0x162))/0x4)+parseInt(_0x27bd42(0x16a))/0x5+-parseInt(_0x27bd42(0x169))/0x6+-parseInt(_0x27bd42(0x157))/0x7+parseInt(_0x27bd42(0x166))/0x8+parseInt(_0x27bd42(0x15e))/0x9;if(_0x148b57===_0x56c935)break;else _0x1d4839['push'](_0x1d4839['shift']());}catch(_0x5ae1f9){_0x1d4839['push'](_0x1d4839['shift']());}}}(a115_0x3625,0xd40f6));const a115_0x52d12a={};a115_0x52d12a[a115_0x34e20a(0x15a)]=0x0,a115_0x52d12a['toString']=function(){const _0x7e4e07=a115_0x34e20a,_0x2df897={};_0x2df897[_0x7e4e07(0x163)]=_0x7e4e07(0x158);const _0x85bad2=_0x2df897;return _0x85bad2[_0x7e4e07(0x163)];};function a115_0xe773(_0x54ba90,_0x1a8eb3){const _0x3625cd=a115_0x3625();return a115_0xe773=function(_0xe773ed,_0x560e84){_0xe773ed=_0xe773ed-0x157;let _0x4b74e4=_0x3625cd[_0xe773ed];return _0x4b74e4;},a115_0xe773(_0x54ba90,_0x1a8eb3);}const a115_0xffbcb9={};a115_0xffbcb9[a115_0x34e20a(0x15a)]=0x1,a115_0xffbcb9[a115_0x34e20a(0x167)]=function(){const _0x53cb8c=a115_0x34e20a,_0xf725ab={};_0xf725ab[_0x53cb8c(0x165)]='HookState.PRE';const _0x2b6af5=_0xf725ab;return _0x2b6af5[_0x53cb8c(0x165)];};function a115_0x3625(){const _0x7231b4=['value','5qBeAob','84711noSAKK','find','10877040WkFOPT','values','freeze','HookState.POST','212eBcBdX','lOQPD','eWQqT','hJQAv','56296VAMpzl','toString','exports','4452816fxxYXi','1679295QxeaRD','4122146KfAgjh','HookState.NONE','339362vzETMZ'];a115_0x3625=function(){return _0x7231b4;};return a115_0x3625();}const a115_0x3fe452={};a115_0x3fe452[a115_0x34e20a(0x15a)]=0x2,a115_0x3fe452['toString']=function(){const _0x5e7692=a115_0x34e20a,_0x16fdc5={};_0x16fdc5[_0x5e7692(0x164)]=_0x5e7692(0x161);const _0x634b75=_0x16fdc5;return _0x634b75[_0x5e7692(0x164)];};const HookState=Object[a115_0x34e20a(0x160)]({'NONE':a115_0x52d12a,'PRE':a115_0xffbcb9,'POST':a115_0x3fe452,'fromValue'(_0x3b538b){const _0x3efd48=a115_0x34e20a;return Object[_0x3efd48(0x15f)](HookState)[_0x3efd48(0x15d)](_0x1c6664=>_0x1c6664['value']===_0x3b538b);}});module[a115_0x34e20a(0x168)]=HookState;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a116_0x52a6e5=a116_0x4b2a;(function(_0x3b8a96,_0x47bbcb){const _0x9343f1=a116_0x4b2a,_0x504260=_0x3b8a96();while(!![]){try{const _0x2b88aa=parseInt(_0x9343f1(0x1b9))/0x1+parseInt(_0x9343f1(0x1c9))/0x2+-parseInt(_0x9343f1(0x1c4))/0x3*(parseInt(_0x9343f1(0x1c5))/0x4)+parseInt(_0x9343f1(0x1b7))/0x5*(parseInt(_0x9343f1(0x1b8))/0x6)+parseInt(_0x9343f1(0x1bb))/0x7+parseInt(_0x9343f1(0x1cb))/0x8+-parseInt(_0x9343f1(0x1c7))/0x9;if(_0x2b88aa===_0x47bbcb)break;else _0x504260['push'](_0x504260['shift']());}catch(_0x1070a5){_0x504260['push'](_0x504260['shift']());}}}(a116_0x1aff,0x8259f));const a116_0x33e6fa={};a116_0x33e6fa[a116_0x52a6e5(0x1b2)]=0x0,a116_0x33e6fa['toString']=function(){const _0x24721f=a116_0x52a6e5,_0x4380bc={};_0x4380bc[_0x24721f(0x1b6)]=_0x24721f(0x1ca);const _0x4eaab4=_0x4380bc;return _0x4eaab4[_0x24721f(0x1b6)];};const a116_0x16d361={};a116_0x16d361[a116_0x52a6e5(0x1b2)]=0x1,a116_0x16d361[a116_0x52a6e5(0x1bd)]=function(){const _0x1f7a61=a116_0x52a6e5,_0x429a6a={};_0x429a6a[_0x1f7a61(0x1c3)]=_0x1f7a61(0x1b3);const _0x342693=_0x429a6a;return _0x342693[_0x1f7a61(0x1c3)];};const a116_0xcd5a97={};a116_0xcd5a97[a116_0x52a6e5(0x1b2)]=0x2,a116_0xcd5a97['toString']=function(){const _0x2a2496=a116_0x52a6e5,_0x3fbb6a={};_0x3fbb6a[_0x2a2496(0x1c8)]=_0x2a2496(0x1b4);const _0x58fa2d=_0x3fbb6a;return _0x58fa2d['TNbyi'];};const a116_0x47b980={};a116_0x47b980[a116_0x52a6e5(0x1b2)]=0x3,a116_0x47b980[a116_0x52a6e5(0x1bd)]=function(){const _0x2547d0=a116_0x52a6e5,_0x30e2b8={};_0x30e2b8[_0x2547d0(0x1cd)]=_0x2547d0(0x1bf);const _0x3b3a69=_0x30e2b8;return _0x3b3a69[_0x2547d0(0x1cd)];};const a116_0x2af000={};a116_0x2af000[a116_0x52a6e5(0x1b2)]=0x4,a116_0x2af000[a116_0x52a6e5(0x1bd)]=function(){const _0x4d238f=a116_0x52a6e5,_0x1d46d8={};_0x1d46d8['FJvmb']=_0x4d238f(0x1be);const _0x38c2f1=_0x1d46d8;return _0x38c2f1[_0x4d238f(0x1b0)];};const a116_0x2077a6={};a116_0x2077a6['value']=0x5,a116_0x2077a6['toString']=function(){const _0x4ba054=a116_0x52a6e5,_0x126d7d={};_0x126d7d[_0x4ba054(0x1af)]=_0x4ba054(0x1bc);const _0x3a210b=_0x126d7d;return _0x3a210b[_0x4ba054(0x1af)];};const a116_0x2d09cf={};a116_0x2d09cf[a116_0x52a6e5(0x1b2)]=0x6,a116_0x2d09cf[a116_0x52a6e5(0x1bd)]=function(){const _0x5a3b2b=a116_0x52a6e5,_0x4d8b50={};_0x4d8b50[_0x5a3b2b(0x1c2)]='TestFrameworkState.AFTER_EACH';const _0x154059=_0x4d8b50;return _0x154059[_0x5a3b2b(0x1c2)];};const a116_0x22441e={};a116_0x22441e[a116_0x52a6e5(0x1b2)]=0x7,a116_0x22441e[a116_0x52a6e5(0x1bd)]=function(){const _0x5857e8={};_0x5857e8['gBKhx']='TestFrameworkState.TEST';const _0x405951=_0x5857e8;return _0x405951['gBKhx'];};const a116_0x1d5c2c={};function a116_0x4b2a(_0x376de3,_0x1864e0){const _0x1aff09=a116_0x1aff();return a116_0x4b2a=function(_0x4b2a29,_0x25c656){_0x4b2a29=_0x4b2a29-0x1ae;let _0x33034d=_0x1aff09[_0x4b2a29];return _0x33034d;},a116_0x4b2a(_0x376de3,_0x1864e0);}a116_0x1d5c2c['value']=0x8,a116_0x1d5c2c[a116_0x52a6e5(0x1bd)]=function(){const _0x5b2b77={};_0x5b2b77['dQYfx']='TestFrameworkState.STEP';const _0x54dd97=_0x5b2b77;return _0x54dd97['dQYfx'];};const a116_0x34c5ba={};a116_0x34c5ba['value']=0x9,a116_0x34c5ba[a116_0x52a6e5(0x1bd)]=function(){const _0xb21e3e=a116_0x52a6e5,_0x1826fb={};_0x1826fb[_0xb21e3e(0x1cc)]='TestFrameworkState.LOG_REPORT';const _0x473bbc=_0x1826fb;return _0x473bbc[_0xb21e3e(0x1cc)];};const a116_0x837959={};function a116_0x1aff(){const _0x2bf165=['TestFrameworkState.INIT_TEST','TestFrameworkState.SETUP_FIXTURE','QomVC','values','fKhve','FlWRL','141yCmESb','17144BkEGHp','TestFrameworkState.AFTER_ALL','20780982SqyTdW','TNbyi','376992nHGnas','TestFrameworkState.NONE','385560XDJVKh','OAORr','nBftL','aMwRF','yMnaw','FJvmb','find','value','TestFrameworkState.BEFORE_ALL','TestFrameworkState.LOG','TestFrameworkState.TEST_STEP','KMdNB','30mcmXgo','887982YoVXYn','1026327UiJKlt','freeze','6253513hFUDvW','TestFrameworkState.BEFORE_EACH','toString'];a116_0x1aff=function(){return _0x2bf165;};return a116_0x1aff();}a116_0x837959[a116_0x52a6e5(0x1b2)]=0xa,a116_0x837959['toString']=function(){const _0x1bbe80=a116_0x52a6e5,_0x34fed7={};_0x34fed7['xEzwS']=_0x1bbe80(0x1c6);const _0x33d79e=_0x34fed7;return _0x33d79e['xEzwS'];};const a116_0x29bbc8={};a116_0x29bbc8[a116_0x52a6e5(0x1b2)]=0xb,a116_0x29bbc8[a116_0x52a6e5(0x1bd)]=function(){const _0xcde553=a116_0x52a6e5,_0x4b7ea1={};_0x4b7ea1[_0xcde553(0x1c0)]='TestFrameworkState.TEST_SCREENSHOT';const _0x45b87c=_0x4b7ea1;return _0x45b87c['QomVC'];};const a116_0x2092b2={};a116_0x2092b2[a116_0x52a6e5(0x1b2)]=0xc,a116_0x2092b2['toString']=function(){const _0xb9d21a=a116_0x52a6e5,_0x4494b5={};_0x4494b5['aMwRF']=_0xb9d21a(0x1b5);const _0x27f227=_0x4494b5;return _0x27f227[_0xb9d21a(0x1ae)];};const TestFrameworkState=Object[a116_0x52a6e5(0x1ba)]({'NONE':a116_0x33e6fa,'BEFORE_ALL':a116_0x16d361,'LOG':a116_0xcd5a97,'SETUP_FIXTURE':a116_0x47b980,'INIT_TEST':a116_0x2af000,'BEFORE_EACH':a116_0x2077a6,'AFTER_EACH':a116_0x2d09cf,'TEST':a116_0x22441e,'STEP':a116_0x1d5c2c,'LOG_REPORT':a116_0x34c5ba,'AFTER_ALL':a116_0x837959,'TEST_SCREENSHOT':a116_0x29bbc8,'TEST_STEP':a116_0x2092b2,'fromValue'(_0x4ffb77){const _0x415dd0=a116_0x52a6e5;return Object[_0x415dd0(0x1c1)](TestFrameworkState)[_0x415dd0(0x1b1)](_0x1d2ee4=>_0x1d2ee4[_0x415dd0(0x1b2)]===_0x4ffb77);}});module['exports']=TestFrameworkState;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a117_0x330b(_0x3268a3,_0x4c283c){const _0x33d6e6=a117_0x33d6();return a117_0x330b=function(_0x330b6c,_0x56f18a){_0x330b6c=_0x330b6c-0xc3;let _0x53cb60=_0x33d6e6[_0x330b6c];return _0x53cb60;},a117_0x330b(_0x3268a3,_0x4c283c);}const a117_0x5f1db4=a117_0x330b;(function(_0x2677f7,_0x881d0c){const _0x365565=a117_0x330b,_0x42de1a=_0x2677f7();while(!![]){try{const _0x32d500=parseInt(_0x365565(0xeb))/0x1+parseInt(_0x365565(0x11e))/0x2*(-parseInt(_0x365565(0x12b))/0x3)+-parseInt(_0x365565(0x140))/0x4+parseInt(_0x365565(0xfc))/0x5*(-parseInt(_0x365565(0x13e))/0x6)+parseInt(_0x365565(0xf9))/0x7+parseInt(_0x365565(0x132))/0x8*(parseInt(_0x365565(0x139))/0x9)+-parseInt(_0x365565(0x11d))/0xa*(-parseInt(_0x365565(0xd4))/0xb);if(_0x32d500===_0x881d0c)break;else _0x42de1a['push'](_0x42de1a['shift']());}catch(_0x4e3f8c){_0x42de1a['push'](_0x42de1a['shift']());}}}(a117_0x33d6,0x5557e));const os=require('os'),fs=require('fs'),path=require(a117_0x5f1db4(0x129)),util=require(a117_0x5f1db4(0xd1)),BrowserstackCLI=require(a117_0x5f1db4(0x131)),https=require(a117_0x5f1db4(0xcc)),http=require('http'),AutomationFramework=require(a117_0x5f1db4(0x135)),PlaywrightDriverModule=require('./modules/playwrightDriverModule'),TestInfo=require(a117_0x5f1db4(0xc8)),TestFrameworkConstants=require(a117_0x5f1db4(0xdd)),{createClassLogger}=require('../../helpers/classLogger.js');class uploadAttachmentsManager{static [a117_0x5f1db4(0xfd)]=createClassLogger(a117_0x5f1db4(0xce));static[a117_0x5f1db4(0xde)](_0x2f2a2a,_0x3744d2=![]){const _0x2afa6a=a117_0x5f1db4,_0x2dd983={};_0x2dd983['jjdem']=function(_0x53b064,_0x48c920){return _0x53b064/_0x48c920;},_0x2dd983[_0x2afa6a(0x104)]=function(_0x3661b0,_0x3cae85){return _0x3661b0*_0x3cae85;},_0x2dd983['bfnNL']=function(_0x8c91b6,_0x3bf394){return _0x8c91b6>_0x3bf394;},_0x2dd983['pwaCv']=_0x2afa6a(0xd9),_0x2dd983[_0x2afa6a(0x11a)]=_0x2afa6a(0x10b),_0x2dd983['TSdnl']=function(_0x45a95f,_0x46f657){return _0x45a95f===_0x46f657;},_0x2dd983[_0x2afa6a(0xe5)]=_0x2afa6a(0x10a),_0x2dd983[_0x2afa6a(0x13a)]=_0x2afa6a(0x12d),_0x2dd983[_0x2afa6a(0x100)]=_0x2afa6a(0x119),_0x2dd983[_0x2afa6a(0x127)]=_0x2afa6a(0xe3),_0x2dd983[_0x2afa6a(0x113)]=_0x2afa6a(0x105),_0x2dd983['DabcS']=_0x2afa6a(0x10e),_0x2dd983[_0x2afa6a(0x121)]=_0x2afa6a(0xe0),_0x2dd983[_0x2afa6a(0x118)]=_0x2afa6a(0x123),_0x2dd983[_0x2afa6a(0x102)]=_0x2afa6a(0x124),_0x2dd983[_0x2afa6a(0xfb)]='https://',_0x2dd983[_0x2afa6a(0x145)]='http://',_0x2dd983[_0x2afa6a(0x12e)]=_0x2afa6a(0x108),_0x2dd983['KyUXX']=_0x2afa6a(0xe2),_0x2dd983['KihAh']=_0x2afa6a(0xcf);const _0x39cdd4=_0x2dd983;this[_0x2afa6a(0xfd)][_0x2afa6a(0x111)](util[_0x2afa6a(0xe1)](_0x39cdd4[_0x2afa6a(0x127)],_0x2f2a2a));const _0x3637b4=os['homedir'](),_0x349022=path['join'](_0x3637b4,_0x39cdd4['mTpCI']);!fs['existsSync'](_0x349022)&&(this['logger']['debug'](util[_0x2afa6a(0xe1)](_0x39cdd4[_0x2afa6a(0x12f)],_0x349022)),fs[_0x2afa6a(0x13f)](_0x349022),this['logger'][_0x2afa6a(0x111)](util[_0x2afa6a(0xe1)](_0x39cdd4['laqrv'],_0x349022)));const _0x26fbf8=BrowserstackCLI[_0x2afa6a(0x103)]()['modules']['TestHubModule']?.[_0x2afa6a(0x128)]?.[_0x2afa6a(0x10d)]()?.[_0x2afa6a(0xf6)],_0x164eda=path[_0x2afa6a(0xdb)](_0x349022,_0x26fbf8);!fs['existsSync'](_0x164eda)&&(fs['mkdirSync'](_0x164eda),this[_0x2afa6a(0xfd)][_0x2afa6a(0x111)](util[_0x2afa6a(0xe1)](_0x39cdd4[_0x2afa6a(0x118)],_0x164eda)));if(_0x39cdd4[_0x2afa6a(0x112)](_0x2f2a2a['trim'](),'')){this[_0x2afa6a(0xfd)][_0x2afa6a(0x111)](util[_0x2afa6a(0xe1)](_0x39cdd4[_0x2afa6a(0x102)]));return;}if(_0x2f2a2a['startsWith'](_0x39cdd4[_0x2afa6a(0xfb)])||_0x2f2a2a['startsWith'](_0x39cdd4['ovtcF'])){const _0x11108c=_0x2f2a2a[_0x2afa6a(0x141)](_0x39cdd4[_0x2afa6a(0xfb)])?https:http,_0x32b30a=path['basename'](_0x2f2a2a),_0x1fffab=path['join'](_0x164eda,_0x32b30a),_0x24062e=fs[_0x2afa6a(0xfa)](_0x1fffab);_0x11108c['get'](_0x2f2a2a,_0x4b9685=>{const _0xad1260=_0x2afa6a;if(_0x39cdd4[_0xad1260(0x112)](_0x4b9685[_0xad1260(0xea)],0xc8))_0x4b9685[_0xad1260(0xf8)](_0x24062e),_0x24062e['on'](_0x39cdd4[_0xad1260(0xe5)],()=>{const _0x1c7137=_0xad1260;_0x24062e[_0x1c7137(0x107)]();const _0x2f0c61=fs['statSync'](_0x1fffab),_0x977e80=_0x39cdd4[_0x1c7137(0xef)](_0x2f0c61[_0x1c7137(0x134)],_0x39cdd4[_0x1c7137(0x104)](0x400,0x400));if(_0x39cdd4['bfnNL'](_0x977e80,0x64)){this[_0x1c7137(0xfd)]['debug'](util[_0x1c7137(0xe1)](_0x39cdd4[_0x1c7137(0x125)],_0x977e80[_0x1c7137(0x144)](0x2))),fs[_0x1c7137(0xed)](_0x1fffab);return;}this['logger']['debug'](util['format'](_0x39cdd4['eKpTG'],_0x1fffab)),uploadAttachmentsManager[_0x1c7137(0xf4)](_0x1fffab,_0x3744d2);});else{this[_0xad1260(0xfd)][_0xad1260(0x111)](util[_0xad1260(0xe1)](_0x39cdd4[_0xad1260(0x13a)],_0x4b9685[_0xad1260(0xea)])),_0x24062e[_0xad1260(0x107)](),fs[_0xad1260(0xed)](_0x1fffab);return;}})['on'](_0x39cdd4[_0x2afa6a(0x12e)],_0xad7f34=>{const _0x36dd50=_0x2afa6a;this[_0x36dd50(0xfd)][_0x36dd50(0x111)](util[_0x36dd50(0xe1)](_0x39cdd4[_0x36dd50(0x100)],_0xad7f34['message'])),_0x24062e[_0x36dd50(0x107)](),fs[_0x36dd50(0xed)](_0x1fffab);return;});}else{if(!fs['existsSync'](_0x2f2a2a)){this[_0x2afa6a(0xfd)][_0x2afa6a(0x111)](util['format'](_0x39cdd4[_0x2afa6a(0x143)],_0x2f2a2a));return;}const _0x12959a=fs['statSync'](_0x2f2a2a),_0x178085=_0x39cdd4['jjdem'](_0x12959a[_0x2afa6a(0x134)],_0x39cdd4[_0x2afa6a(0x104)](0x400,0x400));if(_0x39cdd4['bfnNL'](_0x178085,0x64)){this[_0x2afa6a(0xfd)][_0x2afa6a(0x111)](util[_0x2afa6a(0xe1)](_0x39cdd4[_0x2afa6a(0xfe)],_0x178085['toFixed'](0x2)));return;}const _0x4385bb=path[_0x2afa6a(0xd2)](_0x2f2a2a),_0x4fae21=path[_0x2afa6a(0xdb)](_0x164eda,_0x4385bb);fs[_0x2afa6a(0x13c)](_0x2f2a2a,_0x4fae21),uploadAttachmentsManager[_0x2afa6a(0xf4)](_0x4fae21,_0x3744d2);}}static[a117_0x5f1db4(0xf4)](_0x3561dd,_0x3fac1a){const _0x5eb85f=a117_0x5f1db4,_0x541711={'WPGeu':function(_0x5b6a28,_0x27d34b){return _0x5b6a28(_0x27d34b);},'sEWEe':_0x5eb85f(0x131),'vPrOI':_0x5eb85f(0x126),'OUHPi':function(_0x2495f2,_0x211c73){return _0x2495f2===_0x211c73;},'CgwZF':_0x5eb85f(0x114),'RqxFO':_0x5eb85f(0x101),'WKknj':'BuildLevel','IFAAn':_0x5eb85f(0x106),'rAvYf':_0x5eb85f(0x10f),'qzVmw':function(_0x1175ca,_0x292447){return _0x1175ca(_0x292447);},'GLuwK':_0x5eb85f(0xdf),'iZrRV':_0x5eb85f(0x136),'FZXJD':_0x5eb85f(0xc7),'McwCx':'Attachment\x20file\x20tracked\x20for\x20upload:\x20%s','wcVjv':'Error\x20tracking\x20file:\x20%s,\x20skipping\x20upload'};try{let _0x879f1c;const _0x333593=global['__workerDetails']?.[_0x5eb85f(0xf1)]?.['testInfo'],_0x33220c=_0x541711['WPGeu'](require,_0x541711['sEWEe']),_0x278275=_0x541711[_0x5eb85f(0x11c)](require,_0x541711[_0x5eb85f(0x130)]),_0x3c37b7=_0x33220c[_0x5eb85f(0x103)]()[_0x5eb85f(0xee)]()&&_0x541711[_0x5eb85f(0x122)](_0x278275[_0x5eb85f(0x12c)]()?.[_0x5eb85f(0x120)]?.['toLowerCase'](),_0x541711[_0x5eb85f(0x142)]);if(_0x3c37b7){_0x879f1c=global[_0x5eb85f(0xf3)];if(!_0x879f1c){const _0x70a34c=AutomationFramework[_0x5eb85f(0xca)]();_0x879f1c=AutomationFramework[_0x5eb85f(0xf0)](_0x70a34c,PlaywrightDriverModule['KEY_TEST_ID'],'');}this['logger'][_0x5eb85f(0x111)](_0x5eb85f(0xd0)+_0x879f1c);}else{if(!_0x333593){const _0x22ed66=AutomationFramework['getTrackedInstance']();_0x879f1c=AutomationFramework[_0x5eb85f(0xf0)](_0x22ed66,PlaywrightDriverModule[_0x5eb85f(0xcd)],'');}else _0x879f1c=TestInfo[_0x5eb85f(0xf2)](_0x333593,_0x333593[_0x5eb85f(0xc6)]);this[_0x5eb85f(0xfd)][_0x5eb85f(0x111)](_0x5eb85f(0xe9)+_0x879f1c);}if(!_0x879f1c){this[_0x5eb85f(0xfd)][_0x5eb85f(0x111)](_0x541711[_0x5eb85f(0x117)]);return;}const _0x5214e9={[TestFrameworkConstants['KEY_FILE_SIZE']]:fs[_0x5eb85f(0x13d)](_0x3561dd)['size'],[TestFrameworkConstants['KEY_FILE_NAME']]:path[_0x5eb85f(0xd2)](_0x3561dd),[TestFrameworkConstants['KEY_FILE_PATH']]:_0x3561dd,[TestFrameworkConstants[_0x5eb85f(0xd7)]]:_0x3fac1a?_0x541711[_0x5eb85f(0xda)]:_0x541711[_0x5eb85f(0xec)]};if(_0x3c37b7){const _0x2fca59=_0x33220c[_0x5eb85f(0x103)]()['getTestFramework']();if(!_0x2fca59){this[_0x5eb85f(0xfd)][_0x5eb85f(0x111)](_0x541711[_0x5eb85f(0xd3)]);return;}const _0x67f389=_0x541711[_0x5eb85f(0xe8)](require,_0x541711[_0x5eb85f(0xcb)]),_0x7cc4a6=_0x541711[_0x5eb85f(0x11c)](require,_0x541711[_0x5eb85f(0x137)]),_0x585e7e=_0x2fca59[_0x5eb85f(0x11b)](_0x67f389[_0x5eb85f(0xd6)],_0x7cc4a6[_0x5eb85f(0x133)]);if(!_0x585e7e){this[_0x5eb85f(0xfd)]['debug'](_0x541711[_0x5eb85f(0xf7)]);return;}const _0x21b5bd=_0x585e7e['getAllData']()[_0x5eb85f(0xdc)](_0x879f1c)||{},_0x3d0995=_0x21b5bd[TestFrameworkConstants[_0x5eb85f(0xf5)]]||{},_0x30dbc3={..._0x3d0995};_0x30dbc3[_0x3561dd]=_0x5214e9;const _0x203502=_0x30dbc3,_0x50854e={[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]:_0x203502},_0x43ae14={};_0x43ae14[_0x879f1c]=_0x50854e,_0x585e7e[_0x5eb85f(0x110)](_0x43ae14),this['logger']['debug'](_0x5eb85f(0xd8)+_0x879f1c+_0x5eb85f(0xff)+_0x3561dd);}else{const _0x2ac43f=TestInfo['getTestDetails'](_0x879f1c),_0x49d604=_0x2ac43f[TestFrameworkConstants[_0x5eb85f(0xf5)]]||{};_0x49d604[_0x3561dd]=_0x5214e9,_0x2ac43f[TestFrameworkConstants[_0x5eb85f(0xf5)]]=_0x49d604,TestInfo[_0x5eb85f(0x109)](_0x879f1c,_0x2ac43f),this[_0x5eb85f(0xfd)]['debug'](_0x5eb85f(0xd5)+_0x879f1c+_0x5eb85f(0xff)+_0x3561dd);}this[_0x5eb85f(0xfd)][_0x5eb85f(0x111)](util[_0x5eb85f(0xe1)](_0x541711[_0x5eb85f(0x10c)],_0x3561dd));}catch(_0x3118a0){this[_0x5eb85f(0xfd)][_0x5eb85f(0x111)](util[_0x5eb85f(0xe1)](_0x541711['wcVjv'],_0x3118a0[_0x5eb85f(0x116)]));}}static[a117_0x5f1db4(0x12a)](){const _0x38cdd6=a117_0x5f1db4,_0x2934e0={};_0x2934e0['LdHic']=_0x38cdd6(0x105),_0x2934e0[_0x38cdd6(0xc9)]=_0x38cdd6(0x115),_0x2934e0[_0x38cdd6(0xc3)]=_0x38cdd6(0xc4);const _0x14370a=_0x2934e0,_0x23aafa=os['homedir'](),_0x13c48d=path[_0x38cdd6(0xdb)](_0x23aafa,_0x14370a[_0x38cdd6(0x138)]);if(!fs['existsSync'](_0x13c48d))return;const _0x29bc77=BrowserstackCLI[_0x38cdd6(0x103)]()[_0x38cdd6(0x11f)][_0x38cdd6(0xe7)]?.[_0x38cdd6(0x128)]?.[_0x38cdd6(0x10d)]()?.[_0x38cdd6(0xf6)],_0xd26603=_0x29bc77?path[_0x38cdd6(0xdb)](_0x13c48d,_0x29bc77):null;if(!_0xd26603||!fs[_0x38cdd6(0x13b)](_0xd26603)){this['logger'][_0x38cdd6(0x111)](util[_0x38cdd6(0xe1)](_0x14370a['eJNML'],_0x29bc77));return;}const _0x21744b={};_0x21744b[_0x38cdd6(0xc5)]=!![],_0x21744b[_0x38cdd6(0xe4)]=!![],fs[_0x38cdd6(0xe6)](_0xd26603,_0x21744b),this['logger'][_0x38cdd6(0x111)](util['format'](_0x14370a[_0x38cdd6(0xc3)]));}}module['exports']=uploadAttachmentsManager;function a117_0x33d6(){const _0x2707fe=['eKpTG','resolveInstance','WPGeu','467800TJWOuy','316606rbJevS','modules','name','laqrv','OUHPi','Created\x20folder:\x20%s','Attachment\x20file\x20path\x20is\x20empty,\x20skipping\x20upload.','pwaCv','./cliUtils','XXNVj','testhubConfig','path','clearAttachments','6AjyiSs','getTestFrameworkDetail','Failed\x20to\x20download\x20file.\x20Status\x20code:\x20%s,\x20skipping\x20upload','DnKpV','DabcS','vPrOI','./browserstackCLI','184pdSaol','POST','size','./framework/automationFramework','./state/hookState','iZrRV','LdHic','208863mhMQwd','aDsuE','existsSync','copyFileSync','statSync','619656CcgqOR','mkdirSync','288240aUsvHd','startsWith','CgwZF','KyUXX','toFixed','ovtcF','KQodD','Cleared\x20attachment\x20folder','recursive','retry','trackFile:\x20Instance\x20not\x20available,\x20cannot\x20track\x20attachment','./TestInfo','eJNML','getTrackedInstance','GLuwK','https','KEY_TEST_ID','uploadAttachmentsManager','File\x20size\x20is\x20too\x20large\x20(%s\x20MB).\x20Skipping\x20upload.','trackFile:\x20Jest+Playwright\x20-\x20testId\x20(testIdentifier):\x20','util','basename','rAvYf','22MQQopc','trackFile:\x20Stored\x20attachment\x20in\x20TestInfo\x20file\x20for\x20testId:\x20','TEST','KEY_FILE_LEVEL','trackFile:\x20Stored\x20attachment\x20in\x20instance\x20memory\x20for\x20testId:\x20','Downloaded\x20file\x20is\x20too\x20large\x20(%s\x20MB).\x20Deleting\x20file\x20and\x20skipping\x20upload.','WKknj','join','get','./framework/constants/testFrameworkConstants','uploadAttachments','./state/testFrameworkState','Created\x20.browserstack\x20folder\x20at:\x20%s','format','Attachment\x20file\x20does\x20not\x20exist\x20at:\x20%s','Attachment\x20recevied\x20for\x20path:\x20%s','force','ILkeT','rmSync','TestHubModule','qzVmw','trackFile:\x20Cucumber+Playwright\x20-\x20testId:\x20','statusCode','107051WCZnZn','IFAAn','unlinkSync','isRunning','jjdem','getState','currentTest','getTestIdentifierFromTestInfo','__jestCurrentTestIdentifier','trackFile','KEY_TEST_ATTACHMENTS','buildHashedId','FZXJD','pipe','749952SFoCjd','createWriteStream','ubGbg','5gnnnPC','logger','KihAh',',\x20filepath:\x20','ugypA','trackFile:\x20No\x20testId\x20available,\x20cannot\x20track\x20attachment','EiPZN','getInstance','UXnTx','.browserstack','TestLevel','close','error','setTestDetails','finish','File\x20downloaded\x20to:\x20%s','McwCx','toObject','.browserstack\x20folder\x20not\x20found\x20at:\x20%s','trackFile:\x20TestFramework\x20not\x20available,\x20cannot\x20track\x20attachment','addMultipleEntries','debug','TSdnl','mTpCI','jest','No\x20attachment\x20folder\x20found\x20for\x20testhubID:\x20%s','message','RqxFO','JVlkS','Error\x20downloading\x20file:\x20%s,\x20skipping\x20upload'];a117_0x33d6=function(){return _0x2707fe;};return a117_0x33d6();}
|
|
1
|
+
function a117_0x22ea(_0x419c54,_0x175ac1){const _0x1fb65d=a117_0x1fb6();return a117_0x22ea=function(_0x22ea8d,_0x4ea1d1){_0x22ea8d=_0x22ea8d-0x100;let _0x157dcd=_0x1fb65d[_0x22ea8d];return _0x157dcd;},a117_0x22ea(_0x419c54,_0x175ac1);}const a117_0x28aa6a=a117_0x22ea;function a117_0x1fb6(){const _0x1ee2c4=['retry','CJzKC','Attachment\x20file\x20path\x20is\x20empty,\x20skipping\x20upload.','FiksM','testhubConfig','./framework/constants/testFrameworkConstants','DniBm','./state/testFrameworkState','1WqpaaR','isRunning','IswBn','statusCode','pipe','rmSync','ukEcE','https','./cliUtils','getState','709268iyfxXd','clearAttachments','20LLUxSV','debug','GApax','.browserstack\x20folder\x20not\x20found\x20at:\x20%s','trcYJ','format','No\x20attachment\x20folder\x20found\x20for\x20testhubID:\x20%s','emRKj','Attachment\x20file\x20does\x20not\x20exist\x20at:\x20%s','Attachment\x20file\x20tracked\x20for\x20upload:\x20%s','message','Error\x20downloading\x20file:\x20%s,\x20skipping\x20upload','fLXbu','DWlej','KEY_TEST_ATTACHMENTS','buildHashedId','vAZso','toObject','getTestDetails','modules','SEecL','EHDqE','name','5064192HWEoaD','get','uYzaJ','sgnQZ','uploadAttachmentsManager','jest','statSync','logger','EGevY','KEY_TEST_ID','existsSync','epQhM','OVPks','uRhrF','size','UQBcg','KEY_FILE_NAME','toFixed','force','GBJkM','trackFile:\x20Stored\x20attachment\x20in\x20TestInfo\x20file\x20for\x20testId:\x20','currentTest','GkzyD','wyLeY','18TBZsNv','trackFile:\x20No\x20testId\x20available,\x20cannot\x20track\x20attachment','trackFile:\x20Instance\x20not\x20available,\x20cannot\x20track\x20attachment','OnPlI','Cleared\x20attachment\x20folder','2376033TsAIvP','File\x20downloaded\x20to:\x20%s','TestLevel','getAllData','mHaEF','qYrEm','trackFile:\x20Jest+Playwright\x20-\x20testId\x20(testIdentifier):\x20','AKoSg','basename','./browserstackCLI','8NiaAyP','setTestDetails','bIlIV','uploadAttachments','./modules/playwrightDriverModule','createWriteStream','KEY_FILE_LEVEL','getTestFrameworkDetail','join','CNZTS','McbGl',',\x20filepath:\x20','KEY_FILE_PATH','QNkus','close','1147059gKCSrv','CieuW','path','POST','.browserstack','397362ShlYeg','finish','mkdirSync','copyFileSync','testInfo','QiWEp','trackFile','toLowerCase','File\x20size\x20is\x20too\x20large\x20(%s\x20MB).\x20Skipping\x20upload.','trackFile:\x20Stored\x20attachment\x20in\x20instance\x20memory\x20for\x20testId:\x20','http','error','KEY_FILE_SIZE','yCOSI','BuildLevel','./state/hookState','getTestIdentifierFromTestInfo','startsWith','resolveInstance','util','getTrackedInstance','http://','NmBhs','__jestCurrentTestIdentifier','unlinkSync','Created\x20.browserstack\x20folder\x20at:\x20%s','3003500TaNLOB','1107772DttHXA','Error\x20tracking\x20file:\x20%s,\x20skipping\x20upload','IAgcx','homedir','NIyLk'];a117_0x1fb6=function(){return _0x1ee2c4;};return a117_0x1fb6();}(function(_0x240dec,_0xae9b26){const _0x1f5dfa=a117_0x22ea,_0x1fdd52=_0x240dec();while(!![]){try{const _0x4a8477=parseInt(_0x1f5dfa(0x17b))/0x1*(-parseInt(_0x1f5dfa(0x153))/0x2)+parseInt(_0x1f5dfa(0x14e))/0x3+-parseInt(_0x1f5dfa(0x16e))/0x4*(-parseInt(_0x1f5dfa(0x101))/0x5)+-parseInt(_0x1f5dfa(0x118))/0x6+parseInt(_0x1f5dfa(0x185))/0x7*(-parseInt(_0x1f5dfa(0x13f))/0x8)+parseInt(_0x1f5dfa(0x130))/0x9*(parseInt(_0x1f5dfa(0x16d))/0xa)+-parseInt(_0x1f5dfa(0x135))/0xb;if(_0x4a8477===_0xae9b26)break;else _0x1fdd52['push'](_0x1fdd52['shift']());}catch(_0x49dba1){_0x1fdd52['push'](_0x1fdd52['shift']());}}}(a117_0x1fb6,0xb26a1));const os=require('os'),fs=require('fs'),path=require(a117_0x28aa6a(0x150)),util=require(a117_0x28aa6a(0x166)),BrowserstackCLI=require(a117_0x28aa6a(0x13e)),https=require(a117_0x28aa6a(0x182)),http=require(a117_0x28aa6a(0x15d)),AutomationFramework=require('./framework/automationFramework'),PlaywrightDriverModule=require(a117_0x28aa6a(0x143)),TestInfo=require('./TestInfo'),TestFrameworkConstants=require(a117_0x28aa6a(0x178)),{createClassLogger}=require('../../helpers/classLogger.js');class uploadAttachmentsManager{static [a117_0x28aa6a(0x11f)]=createClassLogger(a117_0x28aa6a(0x11c));static[a117_0x28aa6a(0x142)](_0x2934c1,_0x17295d=![]){const _0x3ee500=a117_0x28aa6a,_0xdc87ca={};_0xdc87ca['DWlej']=function(_0x555a9c,_0xa2fdf8){return _0x555a9c/_0xa2fdf8;},_0xdc87ca['EHDqE']=function(_0x26ff7d,_0x2f0963){return _0x26ff7d*_0x2f0963;},_0xdc87ca['NmBhs']=function(_0x431403,_0x14028b){return _0x431403>_0x14028b;},_0xdc87ca[_0x3ee500(0x148)]='Downloaded\x20file\x20is\x20too\x20large\x20(%s\x20MB).\x20Deleting\x20file\x20and\x20skipping\x20upload.',_0xdc87ca['emRKj']=_0x3ee500(0x136),_0xdc87ca[_0x3ee500(0x12e)]=function(_0x514df1,_0x2ef0b3){return _0x514df1===_0x2ef0b3;},_0xdc87ca[_0x3ee500(0x12f)]=_0x3ee500(0x154),_0xdc87ca[_0x3ee500(0x11b)]='Failed\x20to\x20download\x20file.\x20Status\x20code:\x20%s,\x20skipping\x20upload',_0xdc87ca['NoEoM']=_0x3ee500(0x10c),_0xdc87ca[_0x3ee500(0x17d)]='Attachment\x20recevied\x20for\x20path:\x20%s',_0xdc87ca[_0x3ee500(0x149)]=_0x3ee500(0x152),_0xdc87ca[_0x3ee500(0x105)]=_0x3ee500(0x104),_0xdc87ca[_0x3ee500(0x125)]=_0x3ee500(0x16c),_0xdc87ca['DniBm']='Created\x20folder:\x20%s',_0xdc87ca[_0x3ee500(0x139)]=_0x3ee500(0x175),_0xdc87ca[_0x3ee500(0x127)]='https://',_0xdc87ca[_0x3ee500(0x13a)]=_0x3ee500(0x168),_0xdc87ca[_0x3ee500(0x181)]=_0x3ee500(0x15e),_0xdc87ca[_0x3ee500(0x170)]=_0x3ee500(0x109),_0xdc87ca['zLMZA']=_0x3ee500(0x15b);const _0x137edf=_0xdc87ca;this['logger'][_0x3ee500(0x102)](util[_0x3ee500(0x106)](_0x137edf[_0x3ee500(0x17d)],_0x2934c1));const _0x16d0c4=os[_0x3ee500(0x171)](),_0x190ac2=path[_0x3ee500(0x147)](_0x16d0c4,_0x137edf[_0x3ee500(0x149)]);!fs[_0x3ee500(0x122)](_0x190ac2)&&(this[_0x3ee500(0x11f)][_0x3ee500(0x102)](util['format'](_0x137edf[_0x3ee500(0x105)],_0x190ac2)),fs[_0x3ee500(0x155)](_0x190ac2),this[_0x3ee500(0x11f)]['debug'](util[_0x3ee500(0x106)](_0x137edf[_0x3ee500(0x125)],_0x190ac2)));const _0x7a9ba8=BrowserstackCLI['getInstance']()[_0x3ee500(0x114)]['TestHubModule']?.['testhubConfig']?.[_0x3ee500(0x112)]()?.[_0x3ee500(0x110)],_0x5b6381=path['join'](_0x190ac2,_0x7a9ba8);!fs[_0x3ee500(0x122)](_0x5b6381)&&(fs['mkdirSync'](_0x5b6381),this[_0x3ee500(0x11f)][_0x3ee500(0x102)](util[_0x3ee500(0x106)](_0x137edf[_0x3ee500(0x179)],_0x5b6381)));if(_0x137edf[_0x3ee500(0x12e)](_0x2934c1['trim'](),'')){this[_0x3ee500(0x11f)][_0x3ee500(0x102)](util[_0x3ee500(0x106)](_0x137edf[_0x3ee500(0x139)]));return;}if(_0x2934c1['startsWith'](_0x137edf['UQBcg'])||_0x2934c1[_0x3ee500(0x164)](_0x137edf[_0x3ee500(0x13a)])){const _0x7c0e8e=_0x2934c1[_0x3ee500(0x164)](_0x137edf[_0x3ee500(0x127)])?https:http,_0x5b61cf=path['basename'](_0x2934c1),_0x38e37f=path[_0x3ee500(0x147)](_0x5b6381,_0x5b61cf),_0x29bd85=fs[_0x3ee500(0x144)](_0x38e37f);_0x7c0e8e[_0x3ee500(0x119)](_0x2934c1,_0x157d89=>{const _0x58fc96=_0x3ee500,_0x216f9d={'FiksM':function(_0x230aac,_0x5527cc){const _0x19264b=a117_0x22ea;return _0x137edf[_0x19264b(0x10e)](_0x230aac,_0x5527cc);},'pevdX':function(_0x113d46,_0x42a5e0){const _0xdc3f24=a117_0x22ea;return _0x137edf[_0xdc3f24(0x116)](_0x113d46,_0x42a5e0);},'NIyLk':function(_0xc157b7,_0xf0425){const _0x4ee1ca=a117_0x22ea;return _0x137edf[_0x4ee1ca(0x169)](_0xc157b7,_0xf0425);},'EGevY':_0x137edf[_0x58fc96(0x148)],'epQhM':_0x137edf[_0x58fc96(0x108)]};if(_0x137edf[_0x58fc96(0x12e)](_0x157d89[_0x58fc96(0x17e)],0xc8))_0x157d89[_0x58fc96(0x17f)](_0x29bd85),_0x29bd85['on'](_0x137edf['wyLeY'],()=>{const _0x588dd7=_0x58fc96;_0x29bd85['close']();const _0xa925b6=fs[_0x588dd7(0x11e)](_0x38e37f),_0x5d9a2f=_0x216f9d[_0x588dd7(0x176)](_0xa925b6[_0x588dd7(0x126)],_0x216f9d['pevdX'](0x400,0x400));if(_0x216f9d[_0x588dd7(0x172)](_0x5d9a2f,0x64)){this[_0x588dd7(0x11f)][_0x588dd7(0x102)](util[_0x588dd7(0x106)](_0x216f9d[_0x588dd7(0x120)],_0x5d9a2f[_0x588dd7(0x129)](0x2))),fs[_0x588dd7(0x16b)](_0x38e37f);return;}this[_0x588dd7(0x11f)][_0x588dd7(0x102)](util[_0x588dd7(0x106)](_0x216f9d[_0x588dd7(0x123)],_0x38e37f)),uploadAttachmentsManager[_0x588dd7(0x159)](_0x38e37f,_0x17295d);});else{this['logger'][_0x58fc96(0x102)](util[_0x58fc96(0x106)](_0x137edf[_0x58fc96(0x11b)],_0x157d89['statusCode'])),_0x29bd85[_0x58fc96(0x14d)](),fs['unlinkSync'](_0x38e37f);return;}})['on'](_0x137edf[_0x3ee500(0x181)],_0x2ed3ca=>{const _0x1e4976=_0x3ee500;this[_0x1e4976(0x11f)][_0x1e4976(0x102)](util[_0x1e4976(0x106)](_0x137edf['NoEoM'],_0x2ed3ca[_0x1e4976(0x10b)])),_0x29bd85['close'](),fs['unlinkSync'](_0x38e37f);return;});}else{if(!fs['existsSync'](_0x2934c1)){this[_0x3ee500(0x11f)]['debug'](util['format'](_0x137edf['IAgcx'],_0x2934c1));return;}const _0x24fb12=fs[_0x3ee500(0x11e)](_0x2934c1),_0x42d39b=_0x137edf[_0x3ee500(0x10e)](_0x24fb12[_0x3ee500(0x126)],_0x137edf['EHDqE'](0x400,0x400));if(_0x137edf[_0x3ee500(0x169)](_0x42d39b,0x64)){this[_0x3ee500(0x11f)][_0x3ee500(0x102)](util[_0x3ee500(0x106)](_0x137edf['zLMZA'],_0x42d39b[_0x3ee500(0x129)](0x2)));return;}const _0x4cf467=path[_0x3ee500(0x13d)](_0x2934c1),_0x203775=path[_0x3ee500(0x147)](_0x5b6381,_0x4cf467);fs[_0x3ee500(0x156)](_0x2934c1,_0x203775),uploadAttachmentsManager[_0x3ee500(0x159)](_0x203775,_0x17295d);}}static[a117_0x28aa6a(0x159)](_0x5408f6,_0x1fb4c3){const _0x374afb=a117_0x28aa6a,_0x1081c7={'GApax':function(_0xb75cd1,_0x5250f2){return _0xb75cd1(_0x5250f2);},'guZpf':'./browserstackCLI','yCOSI':function(_0x1a7d40,_0x124eeb){return _0x1a7d40(_0x124eeb);},'CieuW':_0x374afb(0x183),'eeJZR':function(_0x40a245,_0x1d8c75){return _0x40a245===_0x1d8c75;},'vAZso':_0x374afb(0x11d),'AKoSg':_0x374afb(0x131),'zdJBh':_0x374afb(0x161),'nbzFv':_0x374afb(0x137),'GBJkM':'trackFile:\x20TestFramework\x20not\x20available,\x20cannot\x20track\x20attachment','bIlIV':function(_0x2b7cc7,_0x50f084){return _0x2b7cc7(_0x50f084);},'ahPMb':_0x374afb(0x17a),'QNkus':function(_0x41c50c,_0x460e13){return _0x41c50c(_0x460e13);},'CJzKC':_0x374afb(0x162),'QiWEp':_0x374afb(0x132),'OnPlI':_0x374afb(0x10a),'fLXbu':_0x374afb(0x16f)};try{let _0x53b426;const _0x14160c=global['__workerDetails']?.[_0x374afb(0x12d)]?.[_0x374afb(0x157)],_0x3cf48e=_0x1081c7[_0x374afb(0x103)](require,_0x1081c7['guZpf']),_0x2805d4=_0x1081c7[_0x374afb(0x160)](require,_0x1081c7[_0x374afb(0x14f)]),_0x210953=_0x3cf48e['getInstance']()[_0x374afb(0x17c)]()&&_0x1081c7['eeJZR'](_0x2805d4[_0x374afb(0x146)]()?.[_0x374afb(0x117)]?.[_0x374afb(0x15a)](),_0x1081c7[_0x374afb(0x111)]);if(_0x210953){_0x53b426=global[_0x374afb(0x16a)];if(!_0x53b426){const _0x148bf2=AutomationFramework[_0x374afb(0x167)]();_0x53b426=AutomationFramework['getState'](_0x148bf2,PlaywrightDriverModule[_0x374afb(0x121)],'');}this[_0x374afb(0x11f)][_0x374afb(0x102)](_0x374afb(0x13b)+_0x53b426);}else{if(!_0x14160c){const _0x5e2b17=AutomationFramework['getTrackedInstance']();_0x53b426=AutomationFramework[_0x374afb(0x184)](_0x5e2b17,PlaywrightDriverModule[_0x374afb(0x121)],'');}else _0x53b426=TestInfo[_0x374afb(0x163)](_0x14160c,_0x14160c[_0x374afb(0x173)]);this[_0x374afb(0x11f)][_0x374afb(0x102)]('trackFile:\x20Cucumber+Playwright\x20-\x20testId:\x20'+_0x53b426);}if(!_0x53b426){this[_0x374afb(0x11f)]['debug'](_0x1081c7[_0x374afb(0x13c)]);return;}const _0x1f015d={[TestFrameworkConstants[_0x374afb(0x15f)]]:fs[_0x374afb(0x11e)](_0x5408f6)[_0x374afb(0x126)],[TestFrameworkConstants[_0x374afb(0x128)]]:path[_0x374afb(0x13d)](_0x5408f6),[TestFrameworkConstants[_0x374afb(0x14b)]]:_0x5408f6,[TestFrameworkConstants[_0x374afb(0x145)]]:_0x1fb4c3?_0x1081c7['zdJBh']:_0x1081c7['nbzFv']};if(_0x210953){const _0x3e7c7b=_0x3cf48e['getInstance']()['getTestFramework']();if(!_0x3e7c7b){this[_0x374afb(0x11f)]['debug'](_0x1081c7[_0x374afb(0x12b)]);return;}const _0x3a160a=_0x1081c7[_0x374afb(0x141)](require,_0x1081c7['ahPMb']),_0x2ce106=_0x1081c7[_0x374afb(0x14c)](require,_0x1081c7[_0x374afb(0x174)]),_0xbc52a2=_0x3e7c7b[_0x374afb(0x165)](_0x3a160a['TEST'],_0x2ce106[_0x374afb(0x151)]);if(!_0xbc52a2){this[_0x374afb(0x11f)][_0x374afb(0x102)](_0x1081c7[_0x374afb(0x158)]);return;}const _0x4d3678=_0xbc52a2[_0x374afb(0x138)]()[_0x374afb(0x119)](_0x53b426)||{},_0x2693fb=_0x4d3678[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]||{},_0x5e6d47={..._0x2693fb};_0x5e6d47[_0x5408f6]=_0x1f015d;const _0x5a1cba=_0x5e6d47,_0x49cbaa={[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]:_0x5a1cba},_0x3cb546={};_0x3cb546[_0x53b426]=_0x49cbaa,_0xbc52a2['addMultipleEntries'](_0x3cb546),this['logger'][_0x374afb(0x102)](_0x374afb(0x15c)+_0x53b426+_0x374afb(0x14a)+_0x5408f6);}else{const _0x3cf30f=TestInfo[_0x374afb(0x113)](_0x53b426),_0x44798f=_0x3cf30f[TestFrameworkConstants[_0x374afb(0x10f)]]||{};_0x44798f[_0x5408f6]=_0x1f015d,_0x3cf30f[TestFrameworkConstants[_0x374afb(0x10f)]]=_0x44798f,TestInfo[_0x374afb(0x140)](_0x53b426,_0x3cf30f),this['logger'][_0x374afb(0x102)](_0x374afb(0x12c)+_0x53b426+',\x20filepath:\x20'+_0x5408f6);}this[_0x374afb(0x11f)][_0x374afb(0x102)](util[_0x374afb(0x106)](_0x1081c7[_0x374afb(0x133)],_0x5408f6));}catch(_0x3568a7){this[_0x374afb(0x11f)][_0x374afb(0x102)](util[_0x374afb(0x106)](_0x1081c7[_0x374afb(0x10d)],_0x3568a7['message']));}}static[a117_0x28aa6a(0x100)](){const _0xa12e30=a117_0x28aa6a,_0x3c9723={};_0x3c9723[_0xa12e30(0x115)]='.browserstack',_0x3c9723[_0xa12e30(0x11a)]=_0xa12e30(0x107),_0x3c9723[_0xa12e30(0x124)]=_0xa12e30(0x134);const _0xf70cd3=_0x3c9723,_0x5b540a=os['homedir'](),_0x1380be=path['join'](_0x5b540a,_0xf70cd3[_0xa12e30(0x115)]);if(!fs[_0xa12e30(0x122)](_0x1380be))return;const _0x5b8d4e=BrowserstackCLI['getInstance']()[_0xa12e30(0x114)]['TestHubModule']?.[_0xa12e30(0x177)]?.[_0xa12e30(0x112)]()?.[_0xa12e30(0x110)],_0x16e60f=_0x5b8d4e?path[_0xa12e30(0x147)](_0x1380be,_0x5b8d4e):null;if(!_0x16e60f||!fs['existsSync'](_0x16e60f)){this[_0xa12e30(0x11f)]['debug'](util[_0xa12e30(0x106)](_0xf70cd3[_0xa12e30(0x11a)],_0x5b8d4e));return;}const _0x107bf1={};_0x107bf1['recursive']=!![],_0x107bf1[_0xa12e30(0x12a)]=!![],fs[_0xa12e30(0x180)](_0x16e60f,_0x107bf1),this[_0xa12e30(0x11f)][_0xa12e30(0x102)](util['format'](_0xf70cd3[_0xa12e30(0x124)]));}}module['exports']=uploadAttachmentsManager;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a118_0x1b04(_0x5e18f0,_0x25dd5a){const _0x58e365=a118_0x58e3();return a118_0x1b04=function(_0x1b04cb,_0x6a90b6){_0x1b04cb=_0x1b04cb-0x12b;let _0x529c4a=_0x58e365[_0x1b04cb];return _0x529c4a;},a118_0x1b04(_0x5e18f0,_0x25dd5a);}const a118_0x20059f=a118_0x1b04;(function(_0x239bdd,_0x3174e9){const _0x22eedf=a118_0x1b04,_0x5ec63a=_0x239bdd();while(!![]){try{const _0x5a71ac=-parseInt(_0x22eedf(0x15c))/0x1+-parseInt(_0x22eedf(0x160))/0x2+parseInt(_0x22eedf(0x186))/0x3+-parseInt(_0x22eedf(0x131))/0x4*(parseInt(_0x22eedf(0x1a9))/0x5)+parseInt(_0x22eedf(0x1a4))/0x6*(parseInt(_0x22eedf(0x164))/0x7)+-parseInt(_0x22eedf(0x16d))/0x8*(parseInt(_0x22eedf(0x184))/0x9)+parseInt(_0x22eedf(0x14a))/0xa*(parseInt(_0x22eedf(0x1b4))/0xb);if(_0x5a71ac===_0x3174e9)break;else _0x5ec63a['push'](_0x5ec63a['shift']());}catch(_0x2f4b01){_0x5ec63a['push'](_0x5ec63a['shift']());}}}(a118_0x58e3,0xdbfaa));const path=require(a118_0x20059f(0x18d)),util=require(a118_0x20059f(0x18a)),{getGitMetaData,isUndefined,nestedKeyValue}=require(a118_0x20059f(0x153)),logger=require(a118_0x20059f(0x132))[a118_0x20059f(0x19c)],{o11yClassErrorHandler}=require(a118_0x20059f(0x173)),TestInfo=require('../TestInfo.js'),hooksMap={};function a118_0x58e3(){const _0x461383=['../../../helpers/logger.js','nmjAy','HitGl','LbKRw','root','getCucumberHookType','join','ixfQL','HookRunStarted','Bznfg','format','uuid','nvyRb','test','RHZwl','AiWnq','HGdWj','uri','forEach','debug','message','Exception\x20in\x20createHookData:\x20','_gitConfigured','xZpIQ','10tWuitp','feature','duration_in_ms','failed','finishedAt','includes','name','getTestUUID','pNFhi','../../../helpers/helper.js','timestamp','uJmQR','noyRa','QMDXl','tags','flatMap','testCaseFinished','Exception\x20in\x20getHookRunEventData:\x20','539634zCpQqi','AssertionError','sendHook','failure_type','1553580MHXgsz','rule','XNRoD','failure_data','368879kiFlcV','every','BLTrB','children','backtrace','sFxno','sendTestRunEventForCucumber','TLLJZ','HcjyT','384IrzRgA','SkbmF','getHookRunEventData','spXXG','SKIPPED','failure','../../../helpers/test-observability/error-handler.js','Iqhel','browserstack-node-agent/src/bin/cucumber-js/test.setup.js','hookId','shhDo','AZhIH','failureData','find','gYoUn','XKECO','MwZvk','exception','jGMfq','length','pickleStepId','cucumber','MzjGB','83493KNCVTX','rbnEn','2380170KJCXgm','tableBody','QlSZC','match','util','finished_at','relative','path','getScenarioExamples','pending','_gitConfigPath','qdyYu','cells','getHookResult','tagExpression','bpVvM','failure_reason','DbNLC','javascript','QwCyP','configureGit','strip-ansi','winstonLogger','createTestFrameworkData','status','HookRunFinished','passed','map','failureType','split','198nSheRu','exports','FyJwW','BEFORE_EACH','hooks','3563160PRRLtp','push','value','nanos','Ertog','HRFwk','skipped','bKVfy','FAILED','testStepResult','result','9272945dLFoXp','UnhandledError','dppLD','toLowerCase','examples','CQrKW','ZlWFO','astNodeIds','scenario','toISOString','4GjJovE'];a118_0x58e3=function(){return _0x461383;};return a118_0x58e3();}class CucumberUtils{constructor(){this['_gitConfigured']=![],this['_gitConfigPath']=null;}async[a118_0x20059f(0x19d)](_0x309f75,_0xe9f08b,_0x58a2ef,_0x11b8aa,_0x5d3b12,_0x219bcc){const _0x172d5a=a118_0x20059f,_0x5db9a7={'nmjAy':function(_0x59a793,_0x8ec087){return _0x59a793===_0x8ec087;},'QMDXl':_0x172d5a(0x1b1),'EyntI':_0x172d5a(0x14d),'AiWnq':_0x172d5a(0x171),'uJmQR':_0x172d5a(0x1af),'aYaIj':function(_0x1abff3,_0x4cc130){return _0x1abff3||_0x4cc130;},'shhDo':function(_0x3b4d96,_0x31d34e){return _0x3b4d96+_0x31d34e;},'viFdE':_0x172d5a(0x13f),'bKVfy':_0x172d5a(0x198),'MzjGB':_0x172d5a(0x182),'TLLJZ':_0x172d5a(0x18f),'SkbmF':_0x172d5a(0x1a0),'yyGUQ':function(_0x53b4b1,_0x227ace){return _0x53b4b1!==_0x227ace;},'xZpIQ':function(_0x46f044,_0x327102){return _0x46f044/_0x327102;},'pNFhi':function(_0x4d9427,_0xd7b9b7){return _0x4d9427===_0xd7b9b7;},'FyJwW':_0x172d5a(0x19b),'HitGl':function(_0x1acffe,_0x2f535d){return _0x1acffe(_0x2f535d);},'sFxno':'unknown','mYjzJ':_0x172d5a(0x15d),'yjnCf':_0x172d5a(0x1b5)},{feature:_0x514f34,scenario:_0x45efc0,steps:_0xd46352,uuid:_0x6f9c6b,startedAt:_0x5ac986,finishedAt:_0x2e8c70}=_0x5db9a7['aYaIj'](_0x309f75,{}),_0x2cbf0c=this[_0x172d5a(0x18e)](_0x11b8aa,_0xe9f08b);await this[_0x172d5a(0x19a)]();const _0x210e52=_0x2cbf0c?_0x5db9a7[_0x172d5a(0x177)](_0x5db9a7[_0x172d5a(0x177)](_0x5db9a7['shhDo'](_0xe9f08b[_0x172d5a(0x150)],'\x20('),_0x2cbf0c[_0x172d5a(0x138)](',\x20')),')'):_0xe9f08b[_0x172d5a(0x150)],_0x24eb87={'id':_0x5d3b12,'uuid':_0x5d3b12,'startedAt':_0x5ac986,'finishedAt':_0x2e8c70,'type':_0x5db9a7['viFdE'],'body':{'lang':_0x5db9a7[_0x172d5a(0x1b0)],'code':null},'name':_0x210e52,'scopes':[_0x514f34&&_0x514f34['name']?_0x514f34[_0x172d5a(0x150)]:''],'tags':_0xe9f08b[_0x172d5a(0x158)]?_0xe9f08b['tags'][_0x172d5a(0x1a1)](({name:_0x3195a})=>_0x3195a):[],'file_name':_0xe9f08b[_0x172d5a(0x143)],'location':_0xe9f08b[_0x172d5a(0x143)],'vc_filepath':this[_0x172d5a(0x190)]&&_0xe9f08b[_0x172d5a(0x143)]?path[_0x172d5a(0x18c)](this['_gitConfigPath'],_0xe9f08b['uri']):null,'framework':_0x5db9a7[_0x172d5a(0x183)],'result':_0x5db9a7[_0x172d5a(0x16b)],'meta':{'feature':_0x514f34,'scenario':_0x45efc0,'steps':_0xd46352,'examples':_0x2cbf0c},'customRerunParam':{'rerun_name':_0x210e52}};if(_0x58a2ef[_0x172d5a(0x15a)]&&_0xd46352){const _0x510801=_0x58a2ef['testCaseFinished'];let _0x46a945=_0x5db9a7[_0x172d5a(0x16e)];_0xd46352[_0x172d5a(0x165)](_0x46b90f=>{const _0x3c88f8=_0x172d5a;if(_0x5db9a7[_0x3c88f8(0x133)](_0x46b90f[_0x3c88f8(0x1b3)],_0x5db9a7[_0x3c88f8(0x157)]))return _0x46a945=_0x5db9a7['EyntI'],_0x510801['failure']=_0x46b90f[_0x3c88f8(0x172)],_0x510801[_0x3c88f8(0x1a2)]=_0x46b90f[_0x3c88f8(0x1a2)],![];else{if(_0x5db9a7['nmjAy'](_0x46b90f[_0x3c88f8(0x1b3)],_0x5db9a7[_0x3c88f8(0x141)]))return _0x46a945=_0x5db9a7[_0x3c88f8(0x155)],![];}return!![];}),_0x24eb87[_0x172d5a(0x14e)]=new Date()[_0x172d5a(0x130)](),_0x24eb87[_0x172d5a(0x1b3)]=_0x46a945;_0x510801[_0x172d5a(0x154)]&&_0x5db9a7['yyGUQ'](_0x510801[_0x172d5a(0x154)][_0x172d5a(0x1ac)],undefined)?_0x24eb87[_0x172d5a(0x14c)]=_0x5db9a7[_0x172d5a(0x149)](_0x510801[_0x172d5a(0x154)][_0x172d5a(0x1ac)],0xf4240):_0x24eb87[_0x172d5a(0x14c)]=undefined;if(_0x5db9a7[_0x172d5a(0x152)](_0x46a945,_0x5db9a7['EyntI'])){const {default:_0x70c288}=await import(_0x5db9a7[_0x172d5a(0x1a6)]);_0x24eb87[_0x172d5a(0x172)]=[{'backtrace':[_0x510801['failure']?_0x5db9a7[_0x172d5a(0x134)](_0x70c288,_0x510801[_0x172d5a(0x172)]):_0x5db9a7[_0x172d5a(0x169)]]}],_0x24eb87[_0x172d5a(0x196)]=_0x510801['failure']?_0x5db9a7['HitGl'](_0x70c288,_0x510801['failure']):_0x510801[_0x172d5a(0x146)],_0x510801[_0x172d5a(0x1a2)]&&(_0x24eb87[_0x172d5a(0x15f)]=_0x510801[_0x172d5a(0x1a2)][_0x172d5a(0x189)](/AssertError/)?_0x5db9a7['mYjzJ']:_0x5db9a7['yjnCf']);}}return _0x24eb87;}[a118_0x20059f(0x16f)](_0x40649a,_0x2dd1da,_0x21666e,_0x29a1a0,_0x3a4ea7,_0x3d7bec){const _0x431459=a118_0x20059f,_0x17d8e6={'AZhIH':function(_0x4ad9d2,_0x467c53){return _0x4ad9d2===_0x467c53;},'HGdWj':_0x431459(0x19f),'Ertog':function(_0xdfd817,_0xe98534,_0x92c94b){return _0xdfd817(_0xe98534,_0x92c94b);},'zLIXj':'sourceReference','qdyYu':'uri','jMHsL':_0x431459(0x18f),'Yqenx':'hook','OgKiW':_0x431459(0x198),'gYoUn':function(_0x3169e8,_0x1ff111,_0x43a98d){return _0x3169e8(_0x1ff111,_0x43a98d);},'nvyRb':_0x431459(0x14b),'ZlWFO':'name','noyRa':function(_0x31cec9,_0x1703ea,_0x35dfce){return _0x31cec9(_0x1703ea,_0x35dfce);},'jGMfq':_0x431459(0x182)};try{if(_0x17d8e6[_0x431459(0x178)](_0x21666e,_0x17d8e6[_0x431459(0x142)])){const _0x4f6763=new Date()['toISOString'](),_0x237766=hooksMap[_0x2dd1da];if(!_0x237766)return;const _0x3c8a59=_0x237766[_0x431459(0x17a)](_0x2d0c01=>_0x2d0c01[_0x431459(0x13d)]===_0x29a1a0['id']);if(!_0x3c8a59)return;const _0x21330f=this['getHookResult'](_0x40649a,_0x2dd1da);_0x3c8a59[_0x431459(0x1b3)]=_0x21330f[_0x431459(0x19e)],_0x3c8a59[_0x431459(0x18b)]=_0x4f6763,_0x3c8a59[_0x431459(0x15f)]=_0x21330f['failureType'];const _0x41c1eb={};return _0x41c1eb[_0x431459(0x168)]=_0x21330f[_0x431459(0x179)],_0x3c8a59[_0x431459(0x163)]=[_0x41c1eb],_0x3c8a59;}const _0x1c22ad=TestInfo[_0x431459(0x151)](_0x2dd1da),_0x1b01b8=_0x40649a[_0x431459(0x1a8)][_0x431459(0x17a)](_0x146cb0=>_0x146cb0['id']===_0x29a1a0[_0x431459(0x176)]),_0x14ef93=_0x17d8e6[_0x431459(0x1ad)](nestedKeyValue,_0x1b01b8,[_0x17d8e6['zLIXj'],_0x17d8e6[_0x431459(0x191)]]),_0x4bef11=new Date()[_0x431459(0x130)](),_0x3191c7=_0x17d8e6['jMHsL'],_0x1b5f6b=_0x1b01b8[_0x431459(0x194)]?_0x1b01b8[_0x431459(0x194)][_0x431459(0x1a3)]('\x20')['filter'](_0x1e1e5d=>_0x1e1e5d[_0x431459(0x14f)]('@')):[],_0x3a85db={'uuid':_0x29a1a0['id'],'type':_0x17d8e6['Yqenx'],'hook_type':_0x3d7bec,'name':_0x1b01b8[_0x431459(0x150)],'body':{'lang':_0x17d8e6['OgKiW'],'code':null},'tags':_0x1b5f6b,'test_run_id':_0x1c22ad,'scope':_0x17d8e6[_0x431459(0x17b)](nestedKeyValue,_0x3a4ea7,[_0x17d8e6[_0x431459(0x13e)],_0x17d8e6[_0x431459(0x12d)]]),'scopes':[_0x17d8e6[_0x431459(0x156)](nestedKeyValue,_0x3a4ea7,[_0x17d8e6['nvyRb'],_0x17d8e6[_0x431459(0x12d)]])||''],'file_name':_0x14ef93,'location':_0x14ef93,'vc_filepath':this[_0x431459(0x190)]?path[_0x431459(0x18c)](this['_gitConfigPath'],_0x14ef93):null,'result':_0x3191c7,'started_at':_0x4bef11,'framework':_0x17d8e6[_0x431459(0x17f)]};return _0x3a85db;}catch(_0x405366){logger[_0x431459(0x145)](_0x431459(0x15b)+util[_0x431459(0x13c)](_0x405366)+'\x20');}}async['createHookData'](_0x4e2cbe,_0x2efcd0,_0x51429e,_0x487fe6,_0x55a60e,_0x35d319){const _0x5dcd03=a118_0x20059f,_0x3f163a={'ixfQL':function(_0x2743c8,_0x3a850f){return _0x2743c8===_0x3a850f;},'CQrKW':_0x5dcd03(0x13a),'rbnEn':function(_0x45d9ab,_0x2ceb95,_0x174ccd){return _0x45d9ab(_0x2ceb95,_0x174ccd);},'aoqtt':'sourceReference','idWad':'uri','RHZwl':_0x5dcd03(0x175),'dppLD':'bstack'};try{const _0x53bffc=_0x487fe6[_0x5dcd03(0x17a)](_0x1022c0=>_0x1022c0['id']===_0x55a60e);if(!_0x53bffc[_0x5dcd03(0x176)])return;const _0xd17cee=this[_0x5dcd03(0x137)](_0x487fe6,_0x53bffc),_0x18e21e=this[_0x5dcd03(0x16f)](_0x4e2cbe,_0x2efcd0,_0x51429e,_0x53bffc,_0x35d319,_0xd17cee);if(!_0x18e21e)return;_0x3f163a[_0x5dcd03(0x139)](_0x51429e,_0x3f163a[_0x5dcd03(0x12c)])&&(hooksMap[_0x2efcd0]?hooksMap[_0x2efcd0][_0x5dcd03(0x1aa)](_0x18e21e):hooksMap[_0x2efcd0]=[_0x18e21e]);const _0xbed6d5=_0x4e2cbe[_0x5dcd03(0x1a8)]['find'](_0x221faf=>_0x221faf['id']===_0x53bffc['hookId']),_0x2913cc=_0x3f163a[_0x5dcd03(0x185)](nestedKeyValue,_0xbed6d5,[_0x3f163a['aoqtt'],_0x3f163a['idWad']]);if(!_0x2913cc)return;else{if(_0x2913cc[_0x5dcd03(0x14f)](_0x3f163a[_0x5dcd03(0x140)]))return;}if(_0x3f163a[_0x5dcd03(0x139)](_0x18e21e[_0x5dcd03(0x150)],_0x3f163a[_0x5dcd03(0x1b6)]))return;return _0x18e21e;}catch(_0x45e232){logger[_0x5dcd03(0x145)](_0x5dcd03(0x147)+util[_0x5dcd03(0x13c)](_0x45e232)+'\x20');}}[a118_0x20059f(0x193)](_0x316aa0,_0x373185){const _0x3389a9=a118_0x20059f,_0xb102cc={};_0xb102cc[_0x3389a9(0x174)]=function(_0x3e9473,_0x8b26ba){return _0x3e9473===_0x8b26ba;},_0xb102cc[_0x3389a9(0x13b)]=_0x3389a9(0x14d),_0xb102cc[_0x3389a9(0x166)]=function(_0x26200a,_0x2fa626){return _0x26200a===_0x2fa626;},_0xb102cc[_0x3389a9(0x1ae)]=function(_0x554391,_0x302b08){return _0x554391===_0x302b08;},_0xb102cc[_0x3389a9(0x17c)]=_0x3389a9(0x1b5),_0xb102cc['LbKRw']='AssertionError',_0xb102cc[_0x3389a9(0x16c)]=function(_0x4a5aee,_0x2189a9){return _0x4a5aee||_0x2189a9;};const _0x3dab21=_0xb102cc,_0x36253b=_0x316aa0['testStepFinished'][_0x373185][_0x3389a9(0x1b2)];let _0x3aa1aa,_0x44fefc;return _0x36253b&&_0x3dab21[_0x3389a9(0x174)](_0x36253b[_0x3389a9(0x19e)]['toString']()[_0x3389a9(0x1b7)](),_0x3dab21[_0x3389a9(0x13b)])&&(_0x3aa1aa=_0x3dab21[_0x3389a9(0x166)](_0x36253b[_0x3389a9(0x17e)],undefined)?_0x36253b[_0x3389a9(0x146)]:_0x36253b[_0x3389a9(0x17e)][_0x3389a9(0x146)],_0x44fefc=_0x3dab21['HRFwk'](_0x36253b[_0x3389a9(0x17e)],undefined)?_0x3dab21['XKECO']:_0x36253b[_0x3389a9(0x146)]['match'](/Assert/)?_0x3dab21[_0x3389a9(0x135)]:_0x3dab21[_0x3389a9(0x17c)]),{'status':_0x36253b[_0x3389a9(0x19e)][_0x3389a9(0x1b7)](),'failureType':_0x3dab21[_0x3389a9(0x16c)](_0x44fefc,null),'failureData':!_0x3aa1aa?null:[_0x3aa1aa]};}[a118_0x20059f(0x137)](_0x3c4d9e,_0x1d144b){const _0xf53bd4=a118_0x20059f,_0x428d8f={};_0x428d8f[_0xf53bd4(0x199)]=function(_0x1640fc,_0x5e8327){return _0x1640fc===_0x5e8327;},_0x428d8f[_0xf53bd4(0x170)]='AFTER_EACH',_0x428d8f[_0xf53bd4(0x188)]=_0xf53bd4(0x1a7);const _0x5a762d=_0x428d8f;let _0x5dc7c3=![];for(const _0x1a6557 of _0x3c4d9e){_0x1a6557[_0xf53bd4(0x181)]&&(_0x5dc7c3=!![]);if(_0x5a762d[_0xf53bd4(0x199)](_0x1d144b['id'],_0x1a6557['id']))return _0x5dc7c3?_0x5a762d[_0xf53bd4(0x170)]:_0x5a762d[_0xf53bd4(0x188)];}}['getScenarioExamples']=(_0x14ec1b,_0x224ae0)=>{const _0x1374c4=a118_0x20059f,_0x2f4240={};_0x2f4240[_0x1374c4(0x17d)]=function(_0x5ca68e,_0x3a614b){return _0x5ca68e===_0x3a614b;},_0x2f4240[_0x1374c4(0x162)]=function(_0x5ad0f1,_0x3b7ef4){return _0x5ad0f1>_0x3b7ef4;};const _0x4e9ebc=_0x2f4240;if(!(_0x224ae0['astNodeIds']&&_0x4e9ebc['XNRoD'](_0x224ae0['astNodeIds'][_0x1374c4(0x180)],0x1)))return;const _0x1004c6=_0x224ae0[_0x1374c4(0x12e)][0x0],_0x56dcb0=_0x224ae0[_0x1374c4(0x12e)][0x1],_0x34c7c5=_0x14ec1b[_0x1374c4(0x14b)]&&_0x14ec1b[_0x1374c4(0x14b)][_0x1374c4(0x167)]?_0x14ec1b['feature'][_0x1374c4(0x167)]:undefined;let _0x2a3ebe=[];_0x34c7c5&&_0x34c7c5[_0x1374c4(0x144)](_0x476ff2=>{const _0x1a8954=_0x1374c4,_0x3094e7={'DbNLC':function(_0x1df8b4,_0x328b53){const _0x2d80d7=a118_0x1b04;return _0x4e9ebc[_0x2d80d7(0x17d)](_0x1df8b4,_0x328b53);}};if(_0x476ff2[_0x1a8954(0x161)])_0x476ff2[_0x1a8954(0x161)][_0x1a8954(0x167)][_0x1a8954(0x144)](_0x557ed8=>{const _0x259537=_0x1a8954;if(_0x557ed8[_0x259537(0x12f)]&&_0x3094e7[_0x259537(0x197)](_0x557ed8[_0x259537(0x12f)]['id'],_0x1004c6)&&_0x557ed8[_0x259537(0x12f)]['examples']){const _0x51d816=_0x557ed8[_0x259537(0x12f)]['examples'][_0x259537(0x159)](_0x3baa7e=>_0x3baa7e[_0x259537(0x187)])[_0x259537(0x17a)](_0x432399=>_0x432399['id']===_0x56dcb0);let _0x5bed11;_0x51d816&&_0x51d816['cells']?_0x5bed11=_0x51d816['cells'][_0x259537(0x1a1)](_0x6a8e4f=>_0x6a8e4f[_0x259537(0x1ab)]):_0x5bed11=[],_0x5bed11&&(_0x2a3ebe=_0x5bed11);}});else{if(_0x476ff2[_0x1a8954(0x12f)]&&_0x4e9ebc[_0x1a8954(0x17d)](_0x476ff2[_0x1a8954(0x12f)]['id'],_0x1004c6)&&_0x476ff2[_0x1a8954(0x12f)][_0x1a8954(0x12b)]){const _0x3cd896=_0x476ff2['scenario'][_0x1a8954(0x12b)][_0x1a8954(0x159)](_0xef80b0=>_0xef80b0['tableBody'])['find'](_0x4afe10=>_0x4afe10['id']===_0x56dcb0);let _0x2a3de6;_0x3cd896&&_0x3cd896[_0x1a8954(0x192)]?_0x2a3de6=_0x3cd896['cells'][_0x1a8954(0x1a1)](_0x45772e=>_0x45772e[_0x1a8954(0x1ab)]):_0x2a3de6=[],_0x2a3de6&&(_0x2a3ebe=_0x2a3de6);}}});if(_0x2a3ebe[_0x1374c4(0x180)])return _0x2a3ebe;return;};async[a118_0x20059f(0x19a)](){const _0x391244=a118_0x20059f,_0x1cfbbd={'bpVvM':function(_0x50d0e1){return _0x50d0e1();}};if(this[_0x391244(0x148)])return this[_0x391244(0x190)];const _0x1ecf2b=await _0x1cfbbd[_0x391244(0x195)](getGitMetaData);_0x1ecf2b&&(this[_0x391244(0x190)]=_0x1ecf2b[_0x391244(0x136)]),this[_0x391244(0x148)]=!![];}}module[a118_0x20059f(0x1a5)]=o11yClassErrorHandler(CucumberUtils,[a118_0x20059f(0x19a),a118_0x20059f(0x18e),a118_0x20059f(0x137),a118_0x20059f(0x193),a118_0x20059f(0x15e),'getHookRunEventData',a118_0x20059f(0x16a),'createTestFrameworkData']);
|
|
1
|
+
const a118_0x54f0d1=a118_0x525e;function a118_0x5388(){const _0x2b4e96=['EcdQR','../../../helpers/logger.js','HookRunFinished','FWeuB','tableBody','XGtFm','UnhandledError','rDbzS','length','../TestInfo.js','name','strip-ansi','debug','AFTER_EACH','../../../helpers/helper.js','bstack','result','uuid','getCucumberHookType','root','children','getHookRunEventData','eKFGS','path','TeUmv','Exception\x20in\x20createHookData:\x20','exports','QuKEO','uJCAN','EySyc','JRCPx','uri','_gitConfigured','getHookResult','timestamp','javascript','forEach','GEIHJ','1406310cMalzV','tagExpression','AssertionError','nanos','8ZpBkdC','finished_at','QiPTQ','TORUJ','every','match','failureData','KpYiB','fsSnP','sourceReference','failed','NmODI','369580qvfhYp','zGTUR','aaVwD','eCHJq','feature','toISOString','sendTestRunEventForCucumber','nbYyE','iougx','filter','configureGit','jHrSj','createTestFrameworkData','scenario','iDdBa','map','finishedAt','message','find','_gitConfigPath','hookId','hooks','unknown','../../../helpers/test-observability/error-handler.js','qjLes','GLfZc','failure_data','iJEBL','2230656wcLNko','includes','relative','BEFORE_EACH','cNXjl','UVLef','MbOzH','failureType','lZMIC','test','testCaseFinished','NzdpV','format','createHookData','cucumber','status','zncgr','qeQeu','qBLwC','HookRunStarted','onAbI','pending','PnWzM','winstonLogger','duration_in_ms','toLowerCase','failure','tOMFk','4IbJgwj','35553ZIdsuU','Gaebx','FAILED','fEwXi','852984MTbtsy','esSim','VaQWH','5365863zyjhWS','getScenarioExamples','baHUp','push','mIuPR','RqIdd','2842959cJXTxq','examples','exception','cells','astNodeIds','failure_type','backtrace','toString','flatMap'];a118_0x5388=function(){return _0x2b4e96;};return a118_0x5388();}(function(_0x45dda0,_0xc3a409){const _0x1d9637=a118_0x525e,_0x332995=_0x45dda0();while(!![]){try{const _0x1c568b=parseInt(_0x1d9637(0x22d))/0x1+parseInt(_0x1d9637(0x221))/0x2*(-parseInt(_0x1d9637(0x1e1))/0x3)+-parseInt(_0x1d9637(0x1e0))/0x4*(parseInt(_0x1d9637(0x21d))/0x5)+parseInt(_0x1d9637(0x1e5))/0x6+parseInt(_0x1d9637(0x1ee))/0x7+parseInt(_0x1d9637(0x249))/0x8+-parseInt(_0x1d9637(0x1e8))/0x9;if(_0x1c568b===_0xc3a409)break;else _0x332995['push'](_0x332995['shift']());}catch(_0x5d7c32){_0x332995['push'](_0x332995['shift']());}}}(a118_0x5388,0x425e0));function a118_0x525e(_0x3c6854,_0x4f11f5){const _0x538874=a118_0x5388();return a118_0x525e=function(_0x525ef7,_0x34fb63){_0x525ef7=_0x525ef7-0x1d2;let _0x33fe39=_0x538874[_0x525ef7];return _0x33fe39;},a118_0x525e(_0x3c6854,_0x4f11f5);}const path=require(a118_0x54f0d1(0x20e)),util=require('util'),{getGitMetaData,isUndefined,nestedKeyValue}=require(a118_0x54f0d1(0x205)),logger=require(a118_0x54f0d1(0x1f8))[a118_0x54f0d1(0x1db)],{o11yClassErrorHandler}=require(a118_0x54f0d1(0x244)),TestInfo=require(a118_0x54f0d1(0x200)),hooksMap={};class CucumberUtils{constructor(){const _0x4f6166=a118_0x54f0d1;this[_0x4f6166(0x217)]=![],this[_0x4f6166(0x240)]=null;}async[a118_0x54f0d1(0x239)](_0x530f94,_0x2518df,_0x509669,_0x191f7a,_0x253ffc,_0x5475b6){const _0x3b6f22=a118_0x54f0d1,_0x27f539={'QuKEO':function(_0x242f9f,_0x46668e){return _0x242f9f===_0x46668e;},'JRCPx':_0x3b6f22(0x1e3),'fsSnP':_0x3b6f22(0x22b),'aLkBk':'SKIPPED','iJEBL':'skipped','GEIHJ':function(_0x5ca924,_0x5d7746){return _0x5ca924||_0x5d7746;},'RqIdd':function(_0x56a6c7,_0x17e8d8){return _0x56a6c7+_0x17e8d8;},'rDbzS':function(_0x3398e1,_0x2b482e){return _0x3398e1+_0x2b482e;},'zGTUR':_0x3b6f22(0x252),'zncgr':_0x3b6f22(0x21a),'TORUJ':_0x3b6f22(0x1d2),'GLfZc':_0x3b6f22(0x1d9),'KpYiB':'passed','rBaZJ':function(_0x2b059e,_0x40fdd0){return _0x2b059e!==_0x40fdd0;},'QNZSt':function(_0x4cdbdc,_0x3fb146){return _0x4cdbdc/_0x3fb146;},'EySyc':function(_0x19597c,_0x365010){return _0x19597c===_0x365010;},'MLxGS':_0x3b6f22(0x202),'nbYyE':function(_0xa9b4fb,_0x55341a){return _0xa9b4fb(_0x55341a);},'cNXjl':_0x3b6f22(0x243),'TtiXU':_0x3b6f22(0x21f),'iDdBa':_0x3b6f22(0x1fd)},{feature:_0x326c0d,scenario:_0x2bfb66,steps:_0x3dab97,uuid:_0x18b801,startedAt:_0x49b30f,finishedAt:_0x82932a}=_0x27f539[_0x3b6f22(0x21c)](_0x530f94,{}),_0x4fa400=this[_0x3b6f22(0x1e9)](_0x191f7a,_0x2518df);await this[_0x3b6f22(0x237)]();const _0x228df7=_0x4fa400?_0x27f539[_0x3b6f22(0x1ed)](_0x27f539[_0x3b6f22(0x1ed)](_0x27f539[_0x3b6f22(0x1fe)](_0x2518df['name'],'\x20('),_0x4fa400['join'](',\x20')),')'):_0x2518df[_0x3b6f22(0x201)],_0x46b674={'id':_0x253ffc,'uuid':_0x253ffc,'startedAt':_0x49b30f,'finishedAt':_0x82932a,'type':_0x27f539[_0x3b6f22(0x22e)],'body':{'lang':_0x27f539[_0x3b6f22(0x1d4)],'code':null},'name':_0x228df7,'scopes':[_0x326c0d&&_0x326c0d[_0x3b6f22(0x201)]?_0x326c0d[_0x3b6f22(0x201)]:''],'tags':_0x2518df['tags']?_0x2518df['tags'][_0x3b6f22(0x23c)](({name:_0xa5641d})=>_0xa5641d):[],'file_name':_0x2518df[_0x3b6f22(0x216)],'location':_0x2518df[_0x3b6f22(0x216)],'vc_filepath':this['_gitConfigPath']&&_0x2518df[_0x3b6f22(0x216)]?path[_0x3b6f22(0x24b)](this[_0x3b6f22(0x240)],_0x2518df[_0x3b6f22(0x216)]):null,'framework':_0x27f539[_0x3b6f22(0x224)],'result':_0x27f539[_0x3b6f22(0x246)],'meta':{'feature':_0x326c0d,'scenario':_0x2bfb66,'steps':_0x3dab97,'examples':_0x4fa400},'customRerunParam':{'rerun_name':_0x228df7}};if(_0x509669[_0x3b6f22(0x253)]&&_0x3dab97){const _0x2fd30c=_0x509669[_0x3b6f22(0x253)];let _0x232fba=_0x27f539[_0x3b6f22(0x228)];_0x3dab97[_0x3b6f22(0x225)](_0x4998d7=>{const _0x4525d0=_0x3b6f22;if(_0x27f539[_0x4525d0(0x212)](_0x4998d7['result'],_0x27f539[_0x4525d0(0x215)]))return _0x232fba=_0x27f539[_0x4525d0(0x229)],_0x2fd30c['failure']=_0x4998d7['failure'],_0x2fd30c[_0x4525d0(0x250)]=_0x4998d7[_0x4525d0(0x250)],![];else{if(_0x27f539['QuKEO'](_0x4998d7['result'],_0x27f539['aLkBk']))return _0x232fba=_0x27f539[_0x4525d0(0x248)],![];}return!![];}),_0x46b674[_0x3b6f22(0x23d)]=new Date()['toISOString'](),_0x46b674[_0x3b6f22(0x207)]=_0x232fba;_0x2fd30c[_0x3b6f22(0x219)]&&_0x27f539['rBaZJ'](_0x2fd30c[_0x3b6f22(0x219)][_0x3b6f22(0x220)],undefined)?_0x46b674[_0x3b6f22(0x1dc)]=_0x27f539['QNZSt'](_0x2fd30c['timestamp'][_0x3b6f22(0x220)],0xf4240):_0x46b674['duration_in_ms']=undefined;if(_0x27f539[_0x3b6f22(0x214)](_0x232fba,_0x27f539[_0x3b6f22(0x229)])){const {default:_0x3b9003}=await import(_0x27f539['MLxGS']);_0x46b674[_0x3b6f22(0x1de)]=[{'backtrace':[_0x2fd30c[_0x3b6f22(0x1de)]?_0x27f539[_0x3b6f22(0x234)](_0x3b9003,_0x2fd30c[_0x3b6f22(0x1de)]):_0x27f539[_0x3b6f22(0x24d)]]}],_0x46b674['failure_reason']=_0x2fd30c[_0x3b6f22(0x1de)]?_0x27f539[_0x3b6f22(0x234)](_0x3b9003,_0x2fd30c[_0x3b6f22(0x1de)]):_0x2fd30c[_0x3b6f22(0x23e)],_0x2fd30c[_0x3b6f22(0x250)]&&(_0x46b674['failure_type']=_0x2fd30c[_0x3b6f22(0x250)][_0x3b6f22(0x226)](/AssertError/)?_0x27f539['TtiXU']:_0x27f539[_0x3b6f22(0x23b)]);}}return _0x46b674;}[a118_0x54f0d1(0x20c)](_0x5292eb,_0x314ab2,_0x526570,_0x44844d,_0x2e1c54,_0x2f2339){const _0x29b0e5=a118_0x54f0d1,_0x1795f4={'iougx':function(_0x9f4f07,_0x54911e){return _0x9f4f07===_0x54911e;},'YnuSj':_0x29b0e5(0x1f9),'aaVwD':function(_0x5766ae,_0x53600b,_0x392002){return _0x5766ae(_0x53600b,_0x392002);},'PnWzM':'sourceReference','qBLwC':_0x29b0e5(0x216),'MbOzH':'pending','fEwXi':'hook','tOMFk':_0x29b0e5(0x21a),'baHUp':_0x29b0e5(0x231),'UVLef':_0x29b0e5(0x201),'NmODI':function(_0x3f7920,_0x278530,_0x3654da){return _0x3f7920(_0x278530,_0x3654da);},'uJCAN':_0x29b0e5(0x1d2)};try{if(_0x1795f4[_0x29b0e5(0x235)](_0x526570,_0x1795f4['YnuSj'])){const _0x122382=new Date()[_0x29b0e5(0x232)](),_0x5c7c79=hooksMap[_0x314ab2];if(!_0x5c7c79)return;const _0x37c148=_0x5c7c79['find'](_0x553eb9=>_0x553eb9[_0x29b0e5(0x208)]===_0x44844d['id']);if(!_0x37c148)return;const _0xba7386=this[_0x29b0e5(0x218)](_0x5292eb,_0x314ab2);_0x37c148[_0x29b0e5(0x207)]=_0xba7386['status'],_0x37c148[_0x29b0e5(0x222)]=_0x122382,_0x37c148[_0x29b0e5(0x1f3)]=_0xba7386[_0x29b0e5(0x250)];const _0x202601={};return _0x202601[_0x29b0e5(0x1f4)]=_0xba7386[_0x29b0e5(0x227)],_0x37c148[_0x29b0e5(0x247)]=[_0x202601],_0x37c148;}const _0x7685d3=TestInfo['getTestUUID'](_0x314ab2),_0x857015=_0x5292eb[_0x29b0e5(0x242)]['find'](_0x54e3ec=>_0x54e3ec['id']===_0x44844d[_0x29b0e5(0x241)]),_0x5e25bb=_0x1795f4[_0x29b0e5(0x22f)](nestedKeyValue,_0x857015,[_0x1795f4[_0x29b0e5(0x1da)],_0x1795f4[_0x29b0e5(0x1d6)]]),_0x2049cf=new Date()[_0x29b0e5(0x232)](),_0xfc78cf=_0x1795f4[_0x29b0e5(0x24f)],_0x3c0b76=_0x857015[_0x29b0e5(0x21e)]?_0x857015[_0x29b0e5(0x21e)]['split']('\x20')[_0x29b0e5(0x236)](_0xc9194a=>_0xc9194a[_0x29b0e5(0x24a)]('@')):[],_0xa81034={'uuid':_0x44844d['id'],'type':_0x1795f4[_0x29b0e5(0x1e4)],'hook_type':_0x2f2339,'name':_0x857015['name'],'body':{'lang':_0x1795f4[_0x29b0e5(0x1df)],'code':null},'tags':_0x3c0b76,'test_run_id':_0x7685d3,'scope':_0x1795f4[_0x29b0e5(0x22f)](nestedKeyValue,_0x2e1c54,[_0x1795f4[_0x29b0e5(0x1ea)],_0x1795f4[_0x29b0e5(0x24e)]]),'scopes':[_0x1795f4[_0x29b0e5(0x22c)](nestedKeyValue,_0x2e1c54,[_0x1795f4[_0x29b0e5(0x1ea)],_0x1795f4[_0x29b0e5(0x24e)]])||''],'file_name':_0x5e25bb,'location':_0x5e25bb,'vc_filepath':this[_0x29b0e5(0x240)]?path['relative'](this[_0x29b0e5(0x240)],_0x5e25bb):null,'result':_0xfc78cf,'started_at':_0x2049cf,'framework':_0x1795f4[_0x29b0e5(0x213)]};return _0xa81034;}catch(_0x5c3722){logger[_0x29b0e5(0x203)]('Exception\x20in\x20getHookRunEventData:\x20'+util['format'](_0x5c3722)+'\x20');}}async[a118_0x54f0d1(0x256)](_0x387e79,_0x5bc838,_0x2dfe7d,_0x6ce2c0,_0x33dc22,_0x45c25e){const _0x42428a=a118_0x54f0d1,_0x58c7bb={'nCYJj':function(_0x29602c,_0x765841){return _0x29602c===_0x765841;},'lZMIC':_0x42428a(0x1d7),'WvQVs':function(_0xa3248d,_0x44ae65,_0x44e8fe){return _0xa3248d(_0x44ae65,_0x44e8fe);},'eKFGS':_0x42428a(0x22a),'EcdQR':_0x42428a(0x216),'IzqMX':'browserstack-node-agent/src/bin/cucumber-js/test.setup.js','onAbI':function(_0x58ac5c,_0x482ea4){return _0x58ac5c===_0x482ea4;},'VaQWH':_0x42428a(0x206)};try{const _0xb8bd11=_0x6ce2c0[_0x42428a(0x23f)](_0x4dd407=>_0x4dd407['id']===_0x33dc22);if(!_0xb8bd11[_0x42428a(0x241)])return;const _0x2341bf=this[_0x42428a(0x209)](_0x6ce2c0,_0xb8bd11),_0x5dd476=this[_0x42428a(0x20c)](_0x387e79,_0x5bc838,_0x2dfe7d,_0xb8bd11,_0x45c25e,_0x2341bf);if(!_0x5dd476)return;_0x58c7bb['nCYJj'](_0x2dfe7d,_0x58c7bb[_0x42428a(0x251)])&&(hooksMap[_0x5bc838]?hooksMap[_0x5bc838][_0x42428a(0x1eb)](_0x5dd476):hooksMap[_0x5bc838]=[_0x5dd476]);const _0x3498af=_0x387e79[_0x42428a(0x242)][_0x42428a(0x23f)](_0x59af1c=>_0x59af1c['id']===_0xb8bd11['hookId']),_0x1296d3=_0x58c7bb['WvQVs'](nestedKeyValue,_0x3498af,[_0x58c7bb[_0x42428a(0x20d)],_0x58c7bb[_0x42428a(0x1f7)]]);if(!_0x1296d3)return;else{if(_0x1296d3[_0x42428a(0x24a)](_0x58c7bb['IzqMX']))return;}if(_0x58c7bb[_0x42428a(0x1d8)](_0x5dd476[_0x42428a(0x201)],_0x58c7bb[_0x42428a(0x1e7)]))return;return _0x5dd476;}catch(_0x31f3c0){logger[_0x42428a(0x203)](_0x42428a(0x210)+util[_0x42428a(0x255)](_0x31f3c0)+'\x20');}}[a118_0x54f0d1(0x218)](_0x519d17,_0x2f21d7){const _0x4032dd=a118_0x54f0d1,_0x31fcbc={};_0x31fcbc[_0x4032dd(0x20f)]=function(_0xae2b,_0x3a1615){return _0xae2b===_0x3a1615;},_0x31fcbc[_0x4032dd(0x1fa)]='failed',_0x31fcbc[_0x4032dd(0x245)]=function(_0x1b4f03,_0x4c6fd1){return _0x1b4f03===_0x4c6fd1;},_0x31fcbc[_0x4032dd(0x1ec)]='UnhandledError',_0x31fcbc['NzdpV']='AssertionError',_0x31fcbc[_0x4032dd(0x1e6)]=function(_0x20925d,_0x2dda58){return _0x20925d||_0x2dda58;};const _0x142954=_0x31fcbc,_0x25030b=_0x519d17['testStepFinished'][_0x2f21d7]['testStepResult'];let _0x43ee0e,_0x4c526d;return _0x25030b&&_0x142954['TeUmv'](_0x25030b[_0x4032dd(0x1d3)][_0x4032dd(0x1f5)]()['toLowerCase'](),_0x142954['FWeuB'])&&(_0x43ee0e=_0x142954[_0x4032dd(0x20f)](_0x25030b[_0x4032dd(0x1f0)],undefined)?_0x25030b[_0x4032dd(0x23e)]:_0x25030b['exception'][_0x4032dd(0x23e)],_0x4c526d=_0x142954['qjLes'](_0x25030b[_0x4032dd(0x1f0)],undefined)?_0x142954['mIuPR']:_0x25030b['message']['match'](/Assert/)?_0x142954[_0x4032dd(0x254)]:_0x142954[_0x4032dd(0x1ec)]),{'status':_0x25030b[_0x4032dd(0x1d3)][_0x4032dd(0x1dd)](),'failureType':_0x142954[_0x4032dd(0x1e6)](_0x4c526d,null),'failureData':!_0x43ee0e?null:[_0x43ee0e]};}['getCucumberHookType'](_0x45323f,_0x9c2ed9){const _0x584cda=a118_0x54f0d1,_0x14c20a={};_0x14c20a['eCHJq']=function(_0x8d0f3b,_0x505f02){return _0x8d0f3b===_0x505f02;},_0x14c20a[_0x584cda(0x1e2)]=_0x584cda(0x204),_0x14c20a[_0x584cda(0x1fc)]=_0x584cda(0x24c);const _0x4001eb=_0x14c20a;let _0x456309=![];for(const _0x386867 of _0x45323f){_0x386867['pickleStepId']&&(_0x456309=!![]);if(_0x4001eb[_0x584cda(0x230)](_0x9c2ed9['id'],_0x386867['id']))return _0x456309?_0x4001eb[_0x584cda(0x1e2)]:_0x4001eb['XGtFm'];}}['getScenarioExamples']=(_0x3410f9,_0x1eb034)=>{const _0x5f303c=a118_0x54f0d1,_0x290ffb={};_0x290ffb[_0x5f303c(0x223)]=function(_0x2d80c8,_0x562672){return _0x2d80c8===_0x562672;},_0x290ffb[_0x5f303c(0x1d5)]=function(_0x94b0b6,_0x26553e){return _0x94b0b6>_0x26553e;};const _0x4a03b7=_0x290ffb;if(!(_0x1eb034[_0x5f303c(0x1f2)]&&_0x4a03b7[_0x5f303c(0x1d5)](_0x1eb034[_0x5f303c(0x1f2)][_0x5f303c(0x1ff)],0x1)))return;const _0x53591f=_0x1eb034[_0x5f303c(0x1f2)][0x0],_0x23be95=_0x1eb034['astNodeIds'][0x1],_0x3bb62d=_0x3410f9['feature']&&_0x3410f9['feature'][_0x5f303c(0x20b)]?_0x3410f9[_0x5f303c(0x231)][_0x5f303c(0x20b)]:undefined;let _0x77194=[];_0x3bb62d&&_0x3bb62d['forEach'](_0x780506=>{const _0x1c7cca=_0x5f303c,_0x30670e={'jHrSj':function(_0x5078f7,_0x1a3fdf){const _0xd216a=a118_0x525e;return _0x4a03b7[_0xd216a(0x223)](_0x5078f7,_0x1a3fdf);}};if(_0x780506['rule'])_0x780506['rule'][_0x1c7cca(0x20b)][_0x1c7cca(0x21b)](_0x4e5e1a=>{const _0x42d2bb=_0x1c7cca;if(_0x4e5e1a[_0x42d2bb(0x23a)]&&_0x30670e[_0x42d2bb(0x238)](_0x4e5e1a['scenario']['id'],_0x53591f)&&_0x4e5e1a[_0x42d2bb(0x23a)][_0x42d2bb(0x1ef)]){const _0x4c20de=_0x4e5e1a['scenario'][_0x42d2bb(0x1ef)][_0x42d2bb(0x1f6)](_0x4466e8=>_0x4466e8[_0x42d2bb(0x1fb)])[_0x42d2bb(0x23f)](_0x3c26e6=>_0x3c26e6['id']===_0x23be95);let _0x4dd755;_0x4c20de&&_0x4c20de[_0x42d2bb(0x1f1)]?_0x4dd755=_0x4c20de['cells'][_0x42d2bb(0x23c)](_0x5308af=>_0x5308af['value']):_0x4dd755=[],_0x4dd755&&(_0x77194=_0x4dd755);}});else{if(_0x780506['scenario']&&_0x4a03b7[_0x1c7cca(0x223)](_0x780506[_0x1c7cca(0x23a)]['id'],_0x53591f)&&_0x780506[_0x1c7cca(0x23a)][_0x1c7cca(0x1ef)]){const _0x84159b=_0x780506[_0x1c7cca(0x23a)][_0x1c7cca(0x1ef)]['flatMap'](_0x27d181=>_0x27d181['tableBody'])['find'](_0x110b42=>_0x110b42['id']===_0x23be95);let _0x1be2be;_0x84159b&&_0x84159b[_0x1c7cca(0x1f1)]?_0x1be2be=_0x84159b[_0x1c7cca(0x1f1)][_0x1c7cca(0x23c)](_0x4393d2=>_0x4393d2['value']):_0x1be2be=[],_0x1be2be&&(_0x77194=_0x1be2be);}}});if(_0x77194[_0x5f303c(0x1ff)])return _0x77194;return;};async[a118_0x54f0d1(0x237)](){const _0x54c903=a118_0x54f0d1,_0x402ee4={'zMXlV':function(_0xda0290){return _0xda0290();}};if(this[_0x54c903(0x217)])return this['_gitConfigPath'];const _0x4cf3c4=await _0x402ee4['zMXlV'](getGitMetaData);_0x4cf3c4&&(this['_gitConfigPath']=_0x4cf3c4[_0x54c903(0x20a)]),this['_gitConfigured']=!![];}}module[a118_0x54f0d1(0x211)]=o11yClassErrorHandler(CucumberUtils,[a118_0x54f0d1(0x237),a118_0x54f0d1(0x1e9),a118_0x54f0d1(0x209),a118_0x54f0d1(0x218),'sendHook',a118_0x54f0d1(0x20c),a118_0x54f0d1(0x233),a118_0x54f0d1(0x239)]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a119_0x4b60cc=a119_0x1b14;function a119_0x1b14(_0x296b87,_0x2bcb28){const _0x426cb0=a119_0x426c();return a119_0x1b14=function(_0x1b143b,_0x5076f3){_0x1b143b=_0x1b143b-0x95;let _0x4ee407=_0x426cb0[_0x1b143b];return _0x4ee407;},a119_0x1b14(_0x296b87,_0x2bcb28);}(function(_0x3c7e4b,_0x1fc4df){const _0x2f0b07=a119_0x1b14,_0x19bb4c=_0x3c7e4b();while(!![]){try{const _0xfd07ee=-parseInt(_0x2f0b07(0x11e))/0x1+-parseInt(_0x2f0b07(0x9e))/0x2+parseInt(_0x2f0b07(0xe1))/0x3*(-parseInt(_0x2f0b07(0xb3))/0x4)+-parseInt(_0x2f0b07(0xe8))/0x5+-parseInt(_0x2f0b07(0x106))/0x6+-parseInt(_0x2f0b07(0x122))/0x7*(parseInt(_0x2f0b07(0xb7))/0x8)+-parseInt(_0x2f0b07(0xc9))/0x9*(-parseInt(_0x2f0b07(0x9a))/0xa);if(_0xfd07ee===_0x1fc4df)break;else _0x19bb4c['push'](_0x19bb4c['shift']());}catch(_0xcf274f){_0x19bb4c['push'](_0x19bb4c['shift']());}}}(a119_0x426c,0x31a69));const path=require(a119_0x4b60cc(0x150)),util=require(a119_0x4b60cc(0xd4)),crypto=require(a119_0x4b60cc(0x120)),{getGitMetaData,isUndefined,nestedKeyValue}=require('../../../helpers/helper.js'),logger=require('../../../helpers/logger.js')[a119_0x4b60cc(0x131)],{o11yClassErrorHandler}=require(a119_0x4b60cc(0xa0)),TestInfo=require(a119_0x4b60cc(0x13e)),{failureData,getFailureType,PathHelper}=require(a119_0x4b60cc(0x9d)),stackTrace=require(a119_0x4b60cc(0x143)),{pickUserFrameFile}=require(a119_0x4b60cc(0xe0)),a119_0xbb8273={};a119_0xbb8273[a119_0x4b60cc(0x132)]=a119_0x4b60cc(0x10a),a119_0xbb8273[a119_0x4b60cc(0xe7)]='AFTER_ALL',a119_0xbb8273[a119_0x4b60cc(0x141)]='BEFORE_EACH',a119_0xbb8273[a119_0x4b60cc(0xbc)]=a119_0x4b60cc(0xe2);const HOOK_TYPES_MAP=a119_0xbb8273,hooksMap={};class JestUtils{constructor(){const _0x6b5292=a119_0x4b60cc;this[_0x6b5292(0xd7)]=![],this[_0x6b5292(0xf7)]=null,this[_0x6b5292(0x104)]=new PathHelper({'cwd':process[_0x6b5292(0xf2)]()},undefined);}async[a119_0x4b60cc(0xbd)](_0x299d1b,_0x3b9eac,_0x135b77=a119_0x4b60cc(0x10c),_0x3d2140=undefined){const _0x2bd6f7=a119_0x4b60cc,_0x401f5c={'zgUZc':_0x2bd6f7(0xfc),'ebpIr':_0x2bd6f7(0x102),'xjJOH':_0x2bd6f7(0x11d),'judNE':function(_0x4fd97b,_0x18d87b){return _0x4fd97b!==_0x18d87b;},'OGANx':_0x2bd6f7(0x126),'ofDOy':function(_0x4f9ff2,_0x348f29){return _0x4f9ff2!==_0x348f29;},'dddJa':_0x2bd6f7(0x110),'sGVpo':function(_0x24995a,_0x2f5f9c){return _0x24995a!==_0x2f5f9c;},'tDffC':function(_0x5af8b1,_0xf3fa7f){return _0x5af8b1!==_0xf3fa7f;},'zHQAD':'pending','PuBVG':function(_0x14c9ee,_0x18e20e){return _0x14c9ee===_0x18e20e;},'mtUHQ':_0x2bd6f7(0xf8),'GTIls':_0x2bd6f7(0xb1),'AibFJ':function(_0x5c5d45,_0x1d42b0){return _0x5c5d45===_0x1d42b0;},'IyINI':'TestRunFinished','VwUYQ':function(_0x350f9f,_0x4b9914){return _0x350f9f>_0x4b9914;},'jnyWO':_0x2bd6f7(0xc4),'fsKEq':'passed','EOcaE':function(_0x45e732,_0x3cb88e){return _0x45e732-_0x3cb88e;},'PgZvb':'javascript','qGkwP':function(_0x2d1052,_0x244e62){return _0x2d1052>_0x244e62;},'EycwB':_0x2bd6f7(0xcf),'vynsX':function(_0x5d0151,_0x205f0e){return _0x5d0151(_0x205f0e);},'gABfG':function(_0x5b3fb4,_0x39ac21){return _0x5b3fb4===_0x39ac21;}};logger[_0x2bd6f7(0xa9)]('Creating\x20test\x20framework\x20data\x20for\x20eventType:\x20'+_0x135b77+_0x2bd6f7(0x140)+_0x3b9eac);try{if(!_0x299d1b)return logger[_0x2bd6f7(0xa9)](_0x401f5c['zgUZc']),null;if(_0x299d1b['fn']&&_0x299d1b['fn'][_0x2bd6f7(0xb2)]()[_0x2bd6f7(0xc1)](/browserstack internal helper hook/))return null;await this[_0x2bd6f7(0x147)]();let _0x5664a1;try{_0x5664a1=this[_0x2bd6f7(0xfe)](_0x299d1b);if(_0x5664a1&&_0x5664a1['includes'](_0x401f5c[_0x2bd6f7(0x152)]))return null;}catch(_0x3711c6){logger[_0x2bd6f7(0xa9)](_0x2bd6f7(0xec)+util[_0x2bd6f7(0x142)](_0x3711c6)),_0x5664a1=null;}const _0x271b13=this['getHierarchy'](_0x299d1b),_0x44c49e=this['getName'](_0x299d1b),_0x52cdf5=_0x5664a1?this['_paths'][_0x2bd6f7(0xee)](_0x5664a1):_0x401f5c[_0x2bd6f7(0xae)];let _0xfc1740=[];const _0xffd40d=_0x299d1b[_0x2bd6f7(0xa3)]||_0x299d1b[_0x2bd6f7(0x14a)];if(_0x401f5c[_0x2bd6f7(0x149)](_0xffd40d,undefined))_0xfc1740=[_0xffd40d,_0x401f5c[_0x2bd6f7(0xdb)]];else _0x401f5c[_0x2bd6f7(0x139)](_0x3d2140,undefined)&&(_0xfc1740=[_0x3d2140,_0x401f5c[_0x2bd6f7(0xdd)]]);const _0x57c4d0=_0x401f5c[_0x2bd6f7(0xab)](_0xffd40d,undefined)?util[_0x2bd6f7(0xd9)](_0xffd40d[0x0]):_0x401f5c[_0x2bd6f7(0xd1)](_0x3d2140,undefined)?_0x3d2140['toString']():undefined;let _0x29e064=_0x401f5c[_0x2bd6f7(0x14c)];if(_0x401f5c[_0x2bd6f7(0x145)](_0x135b77,_0x401f5c['mtUHQ']))_0x29e064=_0x401f5c[_0x2bd6f7(0xfb)];else _0x401f5c['AibFJ'](_0x135b77,_0x401f5c['IyINI'])&&(_0xffd40d&&_0x401f5c[_0x2bd6f7(0x9b)](_0xffd40d[_0x2bd6f7(0xba)],0x0)?_0x29e064=_0x401f5c[_0x2bd6f7(0x115)]:_0x29e064=_0x401f5c[_0x2bd6f7(0xc0)]);let _0x599d04=null;if(_0x401f5c[_0x2bd6f7(0x149)](_0x299d1b['duration'],undefined))_0x599d04=_0x299d1b['duration'];else(_0x135b77['match'](/Finished/)||_0x135b77[_0x2bd6f7(0xc1)](/Skipped/))&&(_0x299d1b[_0x2bd6f7(0x134)]&&(_0x599d04=_0x401f5c[_0x2bd6f7(0x107)](Date[_0x2bd6f7(0x14f)](),new Date(_0x299d1b[_0x2bd6f7(0x134)])[_0x2bd6f7(0xef)]())));const _0x52ad12=_0x299d1b['fn']?_0x299d1b['fn'][_0x2bd6f7(0xb2)]():null,_0x3fb1bb={'id':_0x3b9eac,'uuid':_0x3b9eac,'startedAt':_0x299d1b[_0x2bd6f7(0x134)]||new Date()['toISOString'](),'finishedAt':_0x135b77[_0x2bd6f7(0xc1)](/Finished/)||_0x135b77[_0x2bd6f7(0xc1)](/Skipped/)?new Date()[_0x2bd6f7(0xb8)]():null,'type':_0x401f5c[_0x2bd6f7(0xdb)],'body':{'lang':_0x401f5c[_0x2bd6f7(0x112)],'code':_0x52ad12},'name':_0x44c49e,'errorsDetailed':_0x401f5c['qGkwP'](_0xffd40d?.[_0x2bd6f7(0xba)],0x0)?_0xffd40d[0x0]:_0xffd40d?_0xffd40d:undefined,'scopes':_0x271b13,'file_name':_0x52cdf5,'location':_0x52cdf5,'vc_filepath':this[_0x2bd6f7(0xf7)]&&_0x5664a1?path[_0x2bd6f7(0xe5)](this[_0x2bd6f7(0xf7)],_0x5664a1):null,'framework':_0x401f5c['EycwB'],'result':_0x29e064,'failure_reason':_0x57c4d0,'duration_in_ms':_0x599d04,'failure':failureData[_0x2bd6f7(0xa6)](null,_0xfc1740),'failure_type':!_0x57c4d0?null:_0x401f5c[_0x2bd6f7(0x11a)](getFailureType,_0x57c4d0),'retry_of':_0x299d1b['retryOf']||null,'customRerunParam':{'rerun_name':_0x44c49e}};_0x401f5c['gABfG'](_0x135b77,_0x401f5c[_0x2bd6f7(0x13c)])&&!_0x3fb1bb[_0x2bd6f7(0x105)]&&(_0x3fb1bb[_0x2bd6f7(0x105)]=_0x3fb1bb[_0x2bd6f7(0xd2)]);const _0x5d0f15=_0x3fb1bb[_0x2bd6f7(0xf1)]&&_0x3fb1bb['failure'][0x0];return _0x5d0f15&&(_0x3fb1bb[_0x2bd6f7(0xc7)]=_0x5d0f15[_0x2bd6f7(0x154)],_0x3fb1bb[_0x2bd6f7(0xa8)]=_0x5d0f15['expanded']),(_0x401f5c['PuBVG'](_0x135b77,_0x401f5c[_0x2bd6f7(0xb6)])||_0x401f5c['AibFJ'](_0x135b77,_0x401f5c[_0x2bd6f7(0x13c)]))&&(_0x299d1b[_0x2bd6f7(0xca)]&&(_0x3fb1bb[_0x2bd6f7(0xca)]=_0x299d1b['hooks'])),_0x3fb1bb;}catch(_0x5c1651){return logger[_0x2bd6f7(0xa9)]('Exception\x20in\x20createTestFrameworkData:\x20'+util['format'](_0x5c1651)),null;}}async[a119_0x4b60cc(0xaa)](_0x328d85,_0x3fe70d,_0x5454af,_0x10717a){const _0x26b09b=a119_0x4b60cc,_0x275f27={'OZNnW':_0x26b09b(0x121),'pTXgB':_0x26b09b(0x102),'sMSCk':_0x26b09b(0x136),'TsUQA':'unknown','vTNVg':'pending','XuYCB':function(_0x453b62,_0x585735){return _0x453b62===_0x585735;},'hMibw':'HookRunFinished','BPBEZ':function(_0x9ac62c,_0x3507fa){return _0x9ac62c>_0x3507fa;},'rCFtC':_0x26b09b(0xc4),'ZLJWG':function(_0x299e4e,_0x195f14){return _0x299e4e(_0x195f14);},'vcywi':'test','jJShb':_0x26b09b(0xf0),'iIviM':'hook','jFbbq':_0x26b09b(0xfd),'ozhgY':_0x26b09b(0xcf),'TcakZ':_0x26b09b(0xc2)};logger[_0x26b09b(0xa9)](_0x26b09b(0xb9)+_0x5454af+_0x26b09b(0x12e)+_0x3fe70d+_0x26b09b(0xe4)+_0x10717a);try{if(!_0x328d85)return logger[_0x26b09b(0xa9)](_0x275f27[_0x26b09b(0x125)]),null;if(this[_0x26b09b(0x124)](_0x328d85))return null;await this['configureGit']();let _0x2f9de7=null;try{_0x2f9de7=this[_0x26b09b(0xfe)](_0x328d85);if(_0x2f9de7&&_0x2f9de7[_0x26b09b(0xf4)](_0x275f27[_0x26b09b(0xdc)]))return null;if(_0x2f9de7&&_0x2f9de7[_0x26b09b(0xf4)](_0x275f27[_0x26b09b(0xad)]))return null;}catch(_0x180d76){logger[_0x26b09b(0xa9)](_0x26b09b(0x118)+util[_0x26b09b(0x142)](_0x180d76));}const _0x3b2443=_0x2f9de7?this[_0x26b09b(0x104)][_0x26b09b(0xee)](_0x2f9de7):_0x2f9de7,_0x3ba7ef=this[_0x26b09b(0x13a)](_0x328d85),_0x1acc85=_0x328d85[_0x26b09b(0xd5)]||_0x275f27[_0x26b09b(0x137)],_0x46f01b=HOOK_TYPES_MAP[_0x1acc85]||_0x1acc85[_0x26b09b(0xf5)](),_0x410797=_0x328d85['parent']&&_0x328d85[_0x26b09b(0x144)][_0x26b09b(0x138)]?_0x328d85['parent'][_0x26b09b(0x138)]:'';let _0x1d7374=_0x275f27[_0x26b09b(0xa5)],_0x407358=null,_0x1b444a=null,_0x38ece=null,_0x403b92=null;_0x275f27[_0x26b09b(0xd8)](_0x5454af,_0x275f27['hMibw'])&&(_0x403b92=new Date()['toISOString'](),_0x328d85[_0x26b09b(0xa3)]&&_0x275f27[_0x26b09b(0x119)](_0x328d85[_0x26b09b(0xa3)][_0x26b09b(0xba)],0x0)?(_0x1d7374=_0x275f27['rCFtC'],_0x1b444a=util[_0x26b09b(0xd9)](_0x328d85[_0x26b09b(0xa3)][0x0]),_0x407358=_0x275f27[_0x26b09b(0x12b)](getFailureType,_0x1b444a),_0x38ece=failureData[_0x26b09b(0xa6)](null,[_0x328d85['errorsDetailed'],_0x275f27[_0x26b09b(0xc6)]])):_0x1d7374=_0x275f27[_0x26b09b(0xe6)]);const _0xd1c600={'uuid':_0x3fe70d,'type':_0x275f27[_0x26b09b(0x9f)],'hook_type':_0x46f01b,'name':_0x3ba7ef,'body':{'lang':_0x275f27[_0x26b09b(0xff)],'code':_0x328d85['fn']?_0x328d85['fn']['toString']():null},'tags':[],'test_run_id':_0x10717a,'scope':_0x410797,'scopes':[_0x410797],'file_name':_0x3b2443,'location':_0x3b2443,'vc_filepath':this['_gitConfigPath']&&_0x2f9de7?path[_0x26b09b(0xe5)](this[_0x26b09b(0xf7)],_0x2f9de7):null,'result':_0x1d7374,'started_at':_0x328d85[_0x26b09b(0x134)]||new Date()[_0x26b09b(0xb8)](),'finished_at':_0x403b92,'failure_type':_0x407358,'failure_reason':_0x1b444a,'failure_data':_0x38ece,'framework':_0x275f27[_0x26b09b(0xed)]};return _0x275f27['XuYCB'](_0x5454af,_0x275f27[_0x26b09b(0x127)])&&(hooksMap[_0x10717a]?hooksMap[_0x10717a]['push'](_0xd1c600):hooksMap[_0x10717a]=[_0xd1c600]),_0xd1c600;}catch(_0x1117e1){return logger[_0x26b09b(0xa9)](_0x26b09b(0xa4)+util[_0x26b09b(0x142)](_0x1117e1)),null;}}[a119_0x4b60cc(0x13d)](_0x2c26e8,_0xcc406,_0x5423df){const _0x2c7832=a119_0x4b60cc,_0x1c3957={'ypxOE':function(_0x5e8ddf,_0x408e3b){return _0x5e8ddf>_0x408e3b;},'huIvP':_0x2c7832(0xc4),'sgwmY':function(_0x263b2a,_0x462278){return _0x263b2a(_0x462278);},'sTbyk':_0x2c7832(0x126),'ftZWf':_0x2c7832(0xf0)};try{const _0x119f67=hooksMap[_0x2c26e8];if(!_0x119f67)return null;const _0x47dc60=_0x119f67['find'](_0x32e33e=>_0x32e33e[_0x2c7832(0x109)]===_0xcc406);if(!_0x47dc60)return null;return _0x47dc60[_0x2c7832(0xcc)]=new Date()[_0x2c7832(0xb8)](),_0x5423df[_0x2c7832(0xa3)]&&_0x1c3957[_0x2c7832(0xaf)](_0x5423df[_0x2c7832(0xa3)][_0x2c7832(0xba)],0x0)?(_0x47dc60[_0x2c7832(0x13b)]=_0x1c3957[_0x2c7832(0x129)],_0x47dc60[_0x2c7832(0x14e)]=util[_0x2c7832(0xd9)](_0x5423df[_0x2c7832(0xa3)][0x0]),_0x47dc60[_0x2c7832(0xa2)]=_0x1c3957['sgwmY'](getFailureType,_0x47dc60[_0x2c7832(0x14e)]),_0x47dc60[_0x2c7832(0x155)]=failureData[_0x2c7832(0xa6)](null,[_0x5423df[_0x2c7832(0xa3)],_0x1c3957[_0x2c7832(0x153)]])):_0x47dc60['result']=_0x1c3957['ftZWf'],_0x47dc60;}catch(_0x43f51){return logger['debug'](_0x2c7832(0x10d)+util[_0x2c7832(0x142)](_0x43f51)),null;}}[a119_0x4b60cc(0x13a)](_0x1630a8){const _0x3bdac8=a119_0x4b60cc,_0x246a41={};_0x246a41[_0x3bdac8(0x12a)]=function(_0x1f9186,_0x587d2a){return _0x1f9186!==_0x587d2a;},_0x246a41[_0x3bdac8(0x12f)]='test',_0x246a41[_0x3bdac8(0x135)]=_0x3bdac8(0xd6);const _0x446916=_0x246a41;if(_0x446916['Bnypc'](_0x1630a8[_0x3bdac8(0xd5)],_0x446916[_0x3bdac8(0x12f)]))return'\x22'+_0x1630a8[_0x3bdac8(0xd5)]+_0x3bdac8(0x10b)+(_0x1630a8[_0x3bdac8(0x144)]&&_0x1630a8[_0x3bdac8(0x144)][_0x3bdac8(0x138)])+'\x22';return _0x1630a8[_0x3bdac8(0x138)]||_0x446916['wtRVc'];}['getHierarchy'](_0x508440){const _0x4ed18c=a119_0x4b60cc,_0x492bc9={};_0x492bc9['DNEwa']=function(_0x1e7e4b,_0xfca61c){return _0x1e7e4b!==_0xfca61c;},_0x492bc9[_0x4ed18c(0xbb)]=_0x4ed18c(0x130);const _0x197335=_0x492bc9,_0x43d4c0=[];if(_0x508440&&_0x508440['parent']){let _0x544f1c=_0x508440[_0x4ed18c(0x144)];while(_0x544f1c&&_0x544f1c[_0x4ed18c(0x138)]&&_0x197335[_0x4ed18c(0x148)](_0x544f1c[_0x4ed18c(0x138)],'')&&_0x197335[_0x4ed18c(0x148)](_0x544f1c[_0x4ed18c(0x138)],_0x197335[_0x4ed18c(0xbb)])){_0x43d4c0[_0x4ed18c(0xe9)](_0x544f1c[_0x4ed18c(0x138)]),_0x544f1c=_0x544f1c[_0x4ed18c(0x144)];}}return _0x43d4c0[_0x4ed18c(0x111)](),_0x43d4c0;}[a119_0x4b60cc(0xfe)](_0xa54e17){const _0x13dd1d=a119_0x4b60cc,_0xf3cf60={'hCZGQ':function(_0xc5280c,_0x41a979){return _0xc5280c(_0x41a979);}};if(_0xa54e17[_0x13dd1d(0x96)])return _0xa54e17[_0x13dd1d(0x96)];if(_0xa54e17[_0x13dd1d(0x108)])try{const _0x3e354d=stackTrace['parse'][_0x13dd1d(0x12d)](stackTrace,_0xa54e17['asyncError']),_0x1ebafa=_0xf3cf60[_0x13dd1d(0x128)](pickUserFrameFile,_0x3e354d);if(_0x1ebafa)return _0x1ebafa;logger['debug'](_0x13dd1d(0x11c)+_0x3e354d[_0x13dd1d(0xba)]+')');}catch(_0x642122){logger[_0x13dd1d(0xa9)](_0x13dd1d(0xda)+util['format'](_0x642122));}return null;}['isJestInternalHook'](_0x28818d){const _0x166d4c=a119_0x4b60cc,_0x21fc81={};_0x21fc81[_0x166d4c(0xc8)]=_0x166d4c(0x102);const _0x43a7dc=_0x21fc81;try{const _0x2e339d=this['getRootParentFile'](_0x28818d);if(!_0x2e339d||_0x2e339d[_0x166d4c(0xf4)](_0x43a7dc[_0x166d4c(0xc8)]))return!![];}catch(_0x1d7e61){logger[_0x166d4c(0xa9)](_0x166d4c(0x10f)+util[_0x166d4c(0x142)](_0x1d7e61));}return![];}[a119_0x4b60cc(0x123)](_0x17770f=null){const _0x1c1778=a119_0x4b60cc;try{const _0x563ec8=_0x17770f||global[_0x1c1778(0x13f)]||{};if(global[_0x1c1778(0x11f)])return global['__jestCurrentTestIdentifier'];if(_0x563ec8?.[_0x1c1778(0xde)]?.[_0x1c1778(0xcd)])return _0x563ec8['currentTest'][_0x1c1778(0xcd)];if(_0x563ec8?.[_0x1c1778(0xde)]?.['id'])return _0x563ec8[_0x1c1778(0xde)]['id'];return null;}catch(_0x4bfb15){return logger[_0x1c1778(0xa9)]('[jestUtils]\x20Error\x20getting\x20test\x20identifier:\x20'+util[_0x1c1778(0x142)](_0x4bfb15)),null;}}async[a119_0x4b60cc(0x147)](){const _0x5d9c71=a119_0x4b60cc,_0x40958c={'sAGib':function(_0x445e02){return _0x445e02();}};if(this[_0x5d9c71(0xd7)])return this[_0x5d9c71(0xf7)];const _0x140ff2=await _0x40958c['sAGib'](getGitMetaData);_0x140ff2&&(this[_0x5d9c71(0xf7)]=_0x140ff2[_0x5d9c71(0x12c)]),this['_gitConfigured']=!![];}[a119_0x4b60cc(0x9c)](_0x235043){hooksMap[_0x235043]&&delete hooksMap[_0x235043];}['extractTestFilePath'](_0x387c27){const _0x422678=a119_0x4b60cc,_0x4ca716={'hPtMN':_0x422678(0x102),'hKmVg':function(_0x3a4025,_0x3bb2f6){return _0x3a4025(_0x3bb2f6);},'Vimdu':_0x422678(0x116)};if(_0x387c27[_0x422678(0x96)])return _0x387c27[_0x422678(0x96)];if(_0x387c27['asyncError']){try{const _0x53a09e=stackTrace[_0x422678(0x114)](_0x387c27[_0x422678(0x108)]);if(_0x53a09e[0x0]&&_0x53a09e[0x0][_0x422678(0xeb)]){const _0x1b6d45=_0x53a09e[0x0][_0x422678(0xeb)]();if(_0x1b6d45&&!_0x1b6d45[_0x422678(0xf4)](_0x4ca716['hPtMN']))return _0x1b6d45;}}catch(_0x1357ae){logger[_0x422678(0xa9)](_0x422678(0xd0)+util[_0x422678(0x142)](_0x1357ae));}if(_0x387c27[_0x422678(0x108)]['stack']){const _0x3619df=_0x387c27[_0x422678(0x108)][_0x422678(0xea)][_0x422678(0x117)]('\x0a');for(const _0x1803c4 of _0x3619df){const _0x40474f=_0x1803c4[_0x422678(0xc1)](/at (.+?):\d+:\d+/);if(_0x40474f&&_0x40474f[0x1]&&!_0x40474f[0x1][_0x422678(0xf4)](_0x4ca716['hPtMN']))return _0x40474f[0x1];}}}let _0x2e1c0a=_0x387c27[_0x422678(0x144)];while(_0x2e1c0a){if(_0x2e1c0a[_0x422678(0x96)])return _0x2e1c0a['file'];if(_0x2e1c0a[_0x422678(0x108)])try{const _0x19873e=stackTrace[_0x422678(0x114)](_0x2e1c0a[_0x422678(0x108)]);if(_0x19873e[0x0]&&_0x19873e[0x0][_0x422678(0xeb)]){const _0x429f9b=_0x19873e[0x0][_0x422678(0xeb)]();if(_0x429f9b&&!_0x429f9b[_0x422678(0xf4)](_0x4ca716['hPtMN']))return _0x429f9b;}}catch(_0x42b113){}_0x2e1c0a=_0x2e1c0a[_0x422678(0x144)];}try{const _0x537acd=_0x4ca716['hKmVg'](require,_0x4ca716[_0x422678(0xe3)]);if(_0x537acd&&_0x537acd[_0x422678(0xc5)]){const _0x10ca86=_0x537acd[_0x422678(0xc5)]();if(_0x10ca86&&_0x10ca86['testPath'])return _0x10ca86[_0x422678(0x101)];}}catch(_0x44f2b3){logger[_0x422678(0xa9)](_0x422678(0x14d)+util[_0x422678(0x142)](_0x44f2b3));}return null;}[a119_0x4b60cc(0xb5)](_0x2215f7){const _0x265c16=a119_0x4b60cc,_0x35c354={};_0x35c354[_0x265c16(0xf9)]=_0x265c16(0xdf),_0x35c354[_0x265c16(0xac)]=function(_0x1648fe,_0x2ae110){return _0x1648fe!==_0x2ae110;},_0x35c354['gxdoy']=_0x265c16(0x130),_0x35c354[_0x265c16(0xa7)]=_0x265c16(0x102),_0x35c354[_0x265c16(0x103)]=_0x265c16(0xf6),_0x35c354[_0x265c16(0x14b)]='hex';const _0x560ffb=_0x35c354;try{if(!_0x2215f7)return logger[_0x265c16(0x95)](_0x560ffb[_0x265c16(0xf9)]),null;const _0x3e54ec=_0x2215f7[_0x265c16(0xb4)]||_0x2215f7[_0x265c16(0x138)]||_0x2215f7['title']||_0x2215f7['displayName'];let _0x47f659=_0x3e54ec;if(_0x2215f7[_0x265c16(0x144)]&&_0x2215f7[_0x265c16(0x144)][_0x265c16(0x138)]&&_0x560ffb['vxmiT'](_0x2215f7[_0x265c16(0x144)][_0x265c16(0x138)],_0x560ffb[_0x265c16(0x151)])){const _0x296590=_0x2215f7[_0x265c16(0x138)]||_0x2215f7[_0x265c16(0xc3)];_0x296590&&(_0x47f659=_0x2215f7['parent'][_0x265c16(0x138)]+'\x20'+_0x296590);}let _0x23051a=_0x2215f7[_0x265c16(0x101)];if(!_0x23051a&&_0x2215f7[_0x265c16(0x108)]){try{const _0x183e08=stackTrace[_0x265c16(0x114)](_0x2215f7[_0x265c16(0x108)]);if(_0x183e08[0x0]&&_0x183e08[0x0][_0x265c16(0xeb)]){const _0x44e96d=_0x183e08[0x0][_0x265c16(0xeb)]();_0x44e96d&&!_0x44e96d[_0x265c16(0xf4)](_0x560ffb['QuKyf'])&&(_0x23051a=_0x44e96d);}}catch(_0x49d58c){logger[_0x265c16(0xa9)](_0x265c16(0xd0)+util['format'](_0x49d58c));}if(!_0x23051a&&_0x2215f7[_0x265c16(0x108)]['stack']){const _0x172caf=_0x2215f7[_0x265c16(0x108)][_0x265c16(0xea)][_0x265c16(0x117)]('\x0a');for(const _0x3cbe03 of _0x172caf){const _0x4e65d5=_0x3cbe03[_0x265c16(0xc1)](/at (.+?):\d+:\d+/);if(_0x4e65d5&&_0x4e65d5[0x1]&&!_0x4e65d5[0x1][_0x265c16(0xf4)](_0x560ffb[_0x265c16(0xa7)])){_0x23051a=_0x4e65d5[0x1];break;}}}}const _0x5a75cb=_0x23051a+'::'+_0x47f659,_0x4a77d4=crypto[_0x265c16(0xd3)](_0x560ffb[_0x265c16(0x103)])[_0x265c16(0xa1)](_0x5a75cb)[_0x265c16(0x11b)](_0x560ffb[_0x265c16(0x14b)])[_0x265c16(0x146)](0x0,0x8),_0x49332c=process[_0x265c16(0xfa)]+_0x265c16(0xf3)+_0x4a77d4;return logger[_0x265c16(0xa9)]('[jestUtils]\x20Created\x20identifier:\x20'+_0x49332c+_0x265c16(0x100)+_0x5a75cb),_0x49332c;}catch(_0x62453d){return logger[_0x265c16(0x95)](_0x265c16(0xbf)+util[_0x265c16(0x142)](_0x62453d)),null;}}[a119_0x4b60cc(0xcb)](_0x53e8ac){const _0x2d2a88=a119_0x4b60cc,_0x30982d={};_0x30982d[_0x2d2a88(0xce)]=_0x2d2a88(0x133);const _0xf463d0=_0x30982d;if(!_0x53e8ac)return logger[_0x2d2a88(0xa9)](_0xf463d0['SyCgP']),null;const _0x4ead58=this[_0x2d2a88(0x98)](_0x53e8ac),_0x15b632={};_0x15b632[_0x2d2a88(0x138)]=_0x53e8ac[_0x2d2a88(0x138)]||_0x53e8ac['title'],_0x15b632[_0x2d2a88(0x144)]=_0x53e8ac['parent'],_0x15b632[_0x2d2a88(0x101)]=_0x4ead58,_0x15b632[_0x2d2a88(0x108)]=_0x53e8ac[_0x2d2a88(0x108)];const _0x5c37eb=_0x15b632;return this[_0x2d2a88(0xb5)](_0x5c37eb);}['recreateIdentifierFromTestInfo'](_0x4c26af,_0x656b57=null){const _0x4aec31=a119_0x4b60cc,_0x32fa33={};_0x32fa33[_0x4aec31(0x99)]=_0x4aec31(0xb0);const _0x4c9ee=_0x32fa33;if(!_0x4c26af)return logger[_0x4aec31(0xa9)](_0x4c9ee[_0x4aec31(0x99)]),_0x656b57;if(_0x4c26af[_0x4aec31(0x113)])return logger['debug']('[jestUtils]\x20Using\x20stored\x20testIdentifier:\x20'+_0x4c26af[_0x4aec31(0x113)]),_0x4c26af[_0x4aec31(0x113)];return this['createJestTestIdentifier'](_0x4c26af)||_0x656b57;}}function a119_0x426c(){const _0x29b6e6=['ICOuy','zHQAD','[jestUtils]\x20expect.getState()\x20not\x20available:\x20','failure_reason','now','path','gxdoy','ebpIr','sTbyk','backtrace','failure_data','error','file','getHierarchy','extractTestFilePath','xkcQi','15087530fsalLx','VwUYQ','clearHooksMap','../../../helpers/test-observability/utils','448714lTxAWz','iIviM','../../../helpers/test-observability/error-handler.js','update','failure_type','errorsDetailed','Exception\x20in\x20createHookData:\x20','vTNVg','apply','QuKyf','failure_reason_expanded','debug','createHookData','sGVpo','vxmiT','sMSCk','xjJOH','ypxOE','[jestUtils]\x20No\x20testInfo\x20provided\x20for\x20recreation','skipped','toString','4VCLhHJ','fullName','createJestTestIdentifier','IyINI','30920SzDsBz','toISOString','Creating\x20hook\x20data\x20for\x20eventType:\x20','length','YPuwv','afterEach','createTestFrameworkData','recreateIdentifierFromTestInfo','[jestUtils]\x20Error\x20creating\x20identifier:\x20','fsKEq','match','HookRunStarted','title','failed','getState','vcywi','failure_backtrace','wAtPC','9oWswah','hooks','createIdentifierFromJestTest','finished_at','testAnalyticsId','SyCgP','jest','[jestUtils]\x20Error\x20parsing\x20asyncError\x20stack\x20trace:\x20','tDffC','finishedAt','createHash','util','type','Unknown\x20Test','_gitConfigured','XuYCB','inspect','Error\x20parsing\x20asyncError\x20stack\x20trace:\x20','OGANx','pTXgB','dddJa','currentTest','[jestUtils]\x20No\x20testInfo\x20provided,\x20cannot\x20create\x20identifier','../../../helpers/stackFrameUtils','907797aGXWLE','AFTER_EACH','Vimdu',',\x20testRunId:\x20','relative','jJShb','afterAll','472900wwJzaD','push','stack','getFileName','Failed\x20to\x20get\x20root\x20parent\x20file:\x20','ozhgY','prefixTestPath','getTime','passed','failure','cwd',':jest-','includes','toUpperCase','md5','_gitConfigPath','TestRunSkipped','WKyjA','pid','GTIls','No\x20test\x20data\x20provided\x20for\x20jest\x20test\x20event','javascript','getRootParentFile','jFbbq','\x20from\x20compositeKey:\x20','testPath','jest-circus','DSezb','_paths','startedAt','1370586BwclPU','EOcaE','asyncError','uuid','BEFORE_ALL','\x22\x20hook\x20for\x20\x22','TestRunFinished','Exception\x20in\x20getHookRunEventData:\x20','exports','Exception\x20in\x20checking\x20if\x20hook\x20is\x20internal:\x20','err','reverse','PgZvb','testIdentifier','parse','jnyWO','expect','split','Failed\x20to\x20get\x20hook\x20file\x20path:\x20','BPBEZ','vynsX','digest','[jestUtils]\x20pickUserFrameFile\x20found\x20no\x20user\x20frame\x20(trace\x20length=','File\x20path\x20could\x20not\x20be\x20found','76647oMMlot','__jestCurrentTestIdentifier','crypto','No\x20hook\x20data\x20provided\x20for\x20jest\x20hook\x20event','686CbFEVy','getTestIdentifier','isJestInternalHook','OZNnW','test','TcakZ','hCZGQ','huIvP','Bnypc','ZLJWG','root','call',',\x20hookUUID:\x20','rzMrA','ROOT_DESCRIBE_BLOCK','winstonLogger','beforeAll','[jestUtils]\x20No\x20test\x20object\x20provided','started_at','wtRVc','browserstack-node-agent/src/bin/jest','TsUQA','name','ofDOy','getName','result','mtUHQ','getHookRunEventData','../TestInfo.js','__workerDetails',',\x20testIdentifier:\x20','beforeEach','format','stack-trace','parent','PuBVG','substring','configureGit','DNEwa','judNE','errors'];a119_0x426c=function(){return _0x29b6e6;};return a119_0x426c();}module[a119_0x4b60cc(0x10e)]=o11yClassErrorHandler(JestUtils,[a119_0x4b60cc(0x147),a119_0x4b60cc(0x97),'getRootParentFile',a119_0x4b60cc(0x13a),a119_0x4b60cc(0x124),'getTestIdentifier',a119_0x4b60cc(0xbd),a119_0x4b60cc(0xaa),'getHookRunEventData',a119_0x4b60cc(0x9c),a119_0x4b60cc(0x98),a119_0x4b60cc(0xb5),a119_0x4b60cc(0xcb),a119_0x4b60cc(0xbe)]);
|
|
1
|
+
function a119_0xabd8(_0xc2fdf1,_0x34f197){const _0x5a27db=a119_0x5a27();return a119_0xabd8=function(_0xabd882,_0x21e47b){_0xabd882=_0xabd882-0x14f;let _0x476208=_0x5a27db[_0xabd882];return _0x476208;},a119_0xabd8(_0xc2fdf1,_0x34f197);}const a119_0x33ff17=a119_0xabd8;(function(_0x5af0af,_0x21850d){const _0x15d99d=a119_0xabd8,_0x13627c=_0x5af0af();while(!![]){try{const _0x3cb690=parseInt(_0x15d99d(0x1a3))/0x1*(parseInt(_0x15d99d(0x185))/0x2)+-parseInt(_0x15d99d(0x1c2))/0x3+parseInt(_0x15d99d(0x1b4))/0x4*(parseInt(_0x15d99d(0x200))/0x5)+parseInt(_0x15d99d(0x170))/0x6+parseInt(_0x15d99d(0x15e))/0x7+-parseInt(_0x15d99d(0x1f2))/0x8*(parseInt(_0x15d99d(0x1bf))/0x9)+parseInt(_0x15d99d(0x1ae))/0xa*(-parseInt(_0x15d99d(0x153))/0xb);if(_0x3cb690===_0x21850d)break;else _0x13627c['push'](_0x13627c['shift']());}catch(_0x3b56ff){_0x13627c['push'](_0x13627c['shift']());}}}(a119_0x5a27,0xcc8c9));const path=require(a119_0x33ff17(0x1b8)),util=require('util'),crypto=require('crypto'),{getGitMetaData,isUndefined,nestedKeyValue}=require(a119_0x33ff17(0x16c)),logger=require('../../../helpers/logger.js')['winstonLogger'],{o11yClassErrorHandler}=require(a119_0x33ff17(0x1ab)),TestInfo=require(a119_0x33ff17(0x186)),{failureData,getFailureType,PathHelper}=require(a119_0x33ff17(0x1fd)),stackTrace=require(a119_0x33ff17(0x1c0)),{pickUserFrameFile}=require('../../../helpers/stackFrameUtils'),a119_0x18dedc={};a119_0x18dedc[a119_0x33ff17(0x1f5)]=a119_0x33ff17(0x1c7),a119_0x18dedc[a119_0x33ff17(0x15c)]=a119_0x33ff17(0x18e),a119_0x18dedc['beforeEach']='BEFORE_EACH',a119_0x18dedc[a119_0x33ff17(0x187)]=a119_0x33ff17(0x17f);const HOOK_TYPES_MAP=a119_0x18dedc,hooksMap={};function a119_0x5a27(){const _0x1f40fc=['hooks','1818WMOzSR','stack-trace','getFileName','1922076bWlduH','DzDca','currentTest','zVAsX','RFyVa','BEFORE_ALL','iFCAm','TestRunFinished','passed','skipped','rGmoZ','asyncError','yQPkZ','format','parse','md5','_paths','match','GkGIS','isJestInternalHook','[jestUtils]\x20No\x20testInfo\x20provided\x20for\x20recreation','digest','URtCv','gEgAa','expanded','Wllen','RONVL','name','Exception\x20in\x20createTestFrameworkData:\x20','IxpCA','extractTestFilePath','now','testPath','SohKZ','retryOf','uuid','jest','failure','getHierarchy','apply','__jestCurrentTestIdentifier','dikrU','NWGvj','jSVjt','parent','_gitConfigPath','ZowaH','MwZtj','9320VQEHAG','find','toISOString','beforeAll','bAhQb',',\x20hookUUID:\x20',':jest-','rmWos','failure_data','file','createJestTestIdentifier','../../../helpers/test-observability/utils','yCWjA','getTestIdentifier','5TUrJoF','OVTGn','gZJFQ','jsdKO','split','jest-circus','recreateIdentifierFromTestInfo','File\x20path\x20could\x20not\x20be\x20found','pending','BIEla','[jestUtils]\x20Error\x20getting\x20test\x20identifier:\x20','KOPOF','xzglh','Failed\x20to\x20get\x20hook\x20file\x20path:\x20','9578503fYoSOz','call','[jestUtils]\x20Created\x20identifier:\x20','hex','prefixTestPath','__workerDetails','eMAsb','dRfYu','[jestUtils]\x20pickUserFrameFile\x20found\x20no\x20user\x20frame\x20(trace\x20length=','afterAll','jEYIq','8277976NMunbN','update','createHookData','uPtej','displayName','No\x20test\x20data\x20provided\x20for\x20jest\x20test\x20event','dVMKK','test','FrGKw','failed','result','ROOT_DESCRIBE_BLOCK','_gitConfigured','testIdentifier','../../../helpers/helper.js','gIwHX','[jestUtils]\x20expect.getState()\x20not\x20available:\x20','substring','7363440gXNAvy','vXIBR','njkRa','lwsrl','Unknown\x20Test','OFWzo','duration','javascript','xZjiN','finishedAt','clearHooksMap','pid','PPXnW','configureGit','toString','AFTER_EACH','testAnalyticsId','No\x20hook\x20data\x20provided\x20for\x20jest\x20hook\x20event','Mhgcp','hPRDg','debug','2oWBLYf','../TestInfo.js','afterEach','includes','inspect','fooBV','TestRunSkipped','xGNWV','DMEsJ','AFTER_ALL','cwd','wTiLl','unknown','huIoq','createHash','HJJRw','getHookRunEventData','failure_reason','Qspbv','Error\x20parsing\x20asyncError\x20stack\x20trace:\x20','VUhyA','SylDy','GNuFw','hook','browserstack-node-agent/src/bin/jest','pkHQN','err','startedAt','XDQkO','\x22\x20hook\x20for\x20\x22','1612841qJhdmT','failure_reason_expanded','getName','length','fullName','[jestUtils]\x20Error\x20parsing\x20asyncError\x20stack\x20trace:\x20','getRootParentFile','errors','../../../helpers/test-observability/error-handler.js','errorsDetailed','failure_type','30TdORwe','getState','fyteq','\x20from\x20compositeKey:\x20','Failed\x20to\x20get\x20root\x20parent\x20file:\x20','createTestFrameworkData','1214100yosLJi','zdWus','type','createIdentifierFromJestTest','path','[jestUtils]\x20Using\x20stored\x20testIdentifier:\x20','FNNxB','started_at','stack','title'];a119_0x5a27=function(){return _0x1f40fc;};return a119_0x5a27();}class JestUtils{constructor(){const _0x55d82e=a119_0x33ff17;this[_0x55d82e(0x16a)]=![],this[_0x55d82e(0x1ef)]=null,this[_0x55d82e(0x1d2)]=new PathHelper({'cwd':process[_0x55d82e(0x18f)]()},undefined);}async[a119_0x33ff17(0x1b3)](_0x3b2e85,_0x205a23,_0x1393b8='TestRunFinished',_0x2119a1=undefined){const _0x37afae=a119_0x33ff17,_0x2273eb={'fooBV':_0x37afae(0x163),'pkHQN':_0x37afae(0x205),'kGkPX':_0x37afae(0x207),'NWGvj':function(_0x362c2d,_0x19b53f){return _0x362c2d!==_0x19b53f;},'iFCAm':'test','yQPkZ':function(_0x44e5f1,_0x3e6d17){return _0x44e5f1!==_0x3e6d17;},'beKks':_0x37afae(0x19f),'Wllen':function(_0x297dc9,_0x2a58e7){return _0x297dc9!==_0x2a58e7;},'DiueQ':_0x37afae(0x208),'xVtYz':function(_0x1cfc0b,_0x5aeb44){return _0x1cfc0b===_0x5aeb44;},'BIEla':_0x37afae(0x18b),'Qspbv':_0x37afae(0x1cb),'eMAsb':_0x37afae(0x1c9),'PPXnW':function(_0x569288,_0x25e3fb){return _0x569288>_0x25e3fb;},'yCWjA':_0x37afae(0x167),'ZowaH':_0x37afae(0x1ca),'bAhQb':function(_0x267a97,_0x2eed2f){return _0x267a97-_0x2eed2f;},'YfOnL':_0x37afae(0x177),'vXIBR':function(_0x2b8c4a,_0x4ae7a3){return _0x2b8c4a>_0x4ae7a3;},'Mhgcp':_0x37afae(0x1e6),'HJJRw':function(_0x4b2c62,_0x55649e){return _0x4b2c62(_0x55649e);},'xGNWV':function(_0x103cc5,_0x4d1b8b){return _0x103cc5===_0x4d1b8b;},'PEZHX':function(_0x2ea8d3,_0x2ae335){return _0x2ea8d3===_0x2ae335;},'IxpCA':function(_0x19fe78,_0x299417){return _0x19fe78===_0x299417;}};logger[_0x37afae(0x184)]('Creating\x20test\x20framework\x20data\x20for\x20eventType:\x20'+_0x1393b8+',\x20testIdentifier:\x20'+_0x205a23);try{if(!_0x3b2e85)return logger[_0x37afae(0x184)](_0x2273eb[_0x37afae(0x18a)]),null;if(_0x3b2e85['fn']&&_0x3b2e85['fn'][_0x37afae(0x17e)]()[_0x37afae(0x1d3)](/browserstack internal helper hook/))return null;await this[_0x37afae(0x17d)]();let _0x500aa6;try{_0x500aa6=this[_0x37afae(0x1a9)](_0x3b2e85);if(_0x500aa6&&_0x500aa6[_0x37afae(0x188)](_0x2273eb[_0x37afae(0x19e)]))return null;}catch(_0x151a5a){logger[_0x37afae(0x184)](_0x37afae(0x1b2)+util[_0x37afae(0x1cf)](_0x151a5a)),_0x500aa6=null;}const _0x2c1a25=this[_0x37afae(0x1e8)](_0x3b2e85),_0x295e19=this[_0x37afae(0x1a5)](_0x3b2e85),_0x636d76=_0x500aa6?this[_0x37afae(0x1d2)][_0x37afae(0x157)](_0x500aa6):_0x2273eb['kGkPX'];let _0xe2af6=[];const _0x5bedf6=_0x3b2e85[_0x37afae(0x1ac)]||_0x3b2e85[_0x37afae(0x1aa)];if(_0x2273eb['NWGvj'](_0x5bedf6,undefined))_0xe2af6=[_0x5bedf6,_0x2273eb[_0x37afae(0x1c8)]];else _0x2273eb[_0x37afae(0x1ce)](_0x2119a1,undefined)&&(_0xe2af6=[_0x2119a1,_0x2273eb['beKks']]);const _0x2f9b3d=_0x2273eb[_0x37afae(0x1ec)](_0x5bedf6,undefined)?util[_0x37afae(0x189)](_0x5bedf6[0x0]):_0x2273eb['Wllen'](_0x2119a1,undefined)?_0x2119a1['toString']():undefined;let _0x30af81=_0x2273eb['DiueQ'];if(_0x2273eb['xVtYz'](_0x1393b8,_0x2273eb[_0x37afae(0x209)]))_0x30af81=_0x2273eb[_0x37afae(0x197)];else _0x2273eb['xVtYz'](_0x1393b8,_0x2273eb[_0x37afae(0x159)])&&(_0x5bedf6&&_0x2273eb[_0x37afae(0x17c)](_0x5bedf6[_0x37afae(0x1a6)],0x0)?_0x30af81=_0x2273eb[_0x37afae(0x1fe)]:_0x30af81=_0x2273eb[_0x37afae(0x1f0)]);let _0x35f170=null;if(_0x2273eb[_0x37afae(0x1db)](_0x3b2e85['duration'],undefined))_0x35f170=_0x3b2e85[_0x37afae(0x176)];else(_0x1393b8['match'](/Finished/)||_0x1393b8[_0x37afae(0x1d3)](/Skipped/))&&(_0x3b2e85['started_at']&&(_0x35f170=_0x2273eb[_0x37afae(0x1f6)](Date[_0x37afae(0x1e1)](),new Date(_0x3b2e85[_0x37afae(0x1bb)])['getTime']())));const _0x9242d4=_0x3b2e85['fn']?_0x3b2e85['fn'][_0x37afae(0x17e)]():null,_0xf1a88f={'id':_0x205a23,'uuid':_0x205a23,'startedAt':_0x3b2e85[_0x37afae(0x1bb)]||new Date()['toISOString'](),'finishedAt':_0x1393b8[_0x37afae(0x1d3)](/Finished/)||_0x1393b8[_0x37afae(0x1d3)](/Skipped/)?new Date()[_0x37afae(0x1f4)]():null,'type':_0x2273eb[_0x37afae(0x1c8)],'body':{'lang':_0x2273eb['YfOnL'],'code':_0x9242d4},'name':_0x295e19,'errorsDetailed':_0x2273eb[_0x37afae(0x171)](_0x5bedf6?.[_0x37afae(0x1a6)],0x0)?_0x5bedf6[0x0]:_0x5bedf6?_0x5bedf6:undefined,'scopes':_0x2c1a25,'file_name':_0x636d76,'location':_0x636d76,'vc_filepath':this['_gitConfigPath']&&_0x500aa6?path['relative'](this[_0x37afae(0x1ef)],_0x500aa6):null,'framework':_0x2273eb[_0x37afae(0x182)],'result':_0x30af81,'failure_reason':_0x2f9b3d,'duration_in_ms':_0x35f170,'failure':failureData[_0x37afae(0x1e9)](null,_0xe2af6),'failure_type':!_0x2f9b3d?null:_0x2273eb[_0x37afae(0x194)](getFailureType,_0x2f9b3d),'retry_of':_0x3b2e85[_0x37afae(0x1e4)]||null,'customRerunParam':{'rerun_name':_0x295e19}};_0x2273eb[_0x37afae(0x18c)](_0x1393b8,_0x2273eb[_0x37afae(0x209)])&&!_0xf1a88f[_0x37afae(0x1a0)]&&(_0xf1a88f[_0x37afae(0x1a0)]=_0xf1a88f[_0x37afae(0x179)]);const _0x581afe=_0xf1a88f['failure']&&_0xf1a88f[_0x37afae(0x1e7)][0x0];return _0x581afe&&(_0xf1a88f['failure_backtrace']=_0x581afe['backtrace'],_0xf1a88f[_0x37afae(0x1a4)]=_0x581afe[_0x37afae(0x1da)]),(_0x2273eb['PEZHX'](_0x1393b8,_0x2273eb[_0x37afae(0x159)])||_0x2273eb[_0x37afae(0x1df)](_0x1393b8,_0x2273eb['BIEla']))&&(_0x3b2e85['hooks']&&(_0xf1a88f[_0x37afae(0x1be)]=_0x3b2e85[_0x37afae(0x1be)])),_0xf1a88f;}catch(_0x186f3e){return logger[_0x37afae(0x184)](_0x37afae(0x1de)+util['format'](_0x186f3e)),null;}}async[a119_0x33ff17(0x160)](_0x15b527,_0x10a94a,_0x3d6856,_0x3c2c74){const _0xcd8cbf=a119_0x33ff17,_0x5d1580={'adrME':_0xcd8cbf(0x181),'GNuFw':_0xcd8cbf(0x205),'gIwHX':_0xcd8cbf(0x19d),'zdWus':_0xcd8cbf(0x191),'xzglh':_0xcd8cbf(0x208),'DMEsJ':function(_0x260109,_0x237c4c){return _0x260109===_0x237c4c;},'zVAsX':'HookRunFinished','lwsrl':function(_0x37a51b,_0x5e4d40){return _0x37a51b>_0x5e4d40;},'dRfYu':_0xcd8cbf(0x167),'RONVL':function(_0x4e490a,_0x48d5d4){return _0x4e490a(_0x48d5d4);},'gZJFQ':_0xcd8cbf(0x165),'URtCv':'passed','UmQrO':_0xcd8cbf(0x19c),'RFyVa':_0xcd8cbf(0x177),'jEYIq':'jest','rmWos':'HookRunStarted'};logger[_0xcd8cbf(0x184)]('Creating\x20hook\x20data\x20for\x20eventType:\x20'+_0x3d6856+_0xcd8cbf(0x1f7)+_0x10a94a+',\x20testRunId:\x20'+_0x3c2c74);try{if(!_0x15b527)return logger[_0xcd8cbf(0x184)](_0x5d1580['adrME']),null;if(this[_0xcd8cbf(0x1d5)](_0x15b527))return null;await this['configureGit']();let _0x43ae08=null;try{_0x43ae08=this[_0xcd8cbf(0x1a9)](_0x15b527);if(_0x43ae08&&_0x43ae08[_0xcd8cbf(0x188)](_0x5d1580[_0xcd8cbf(0x19b)]))return null;if(_0x43ae08&&_0x43ae08[_0xcd8cbf(0x188)](_0x5d1580[_0xcd8cbf(0x16d)]))return null;}catch(_0x15fe19){logger[_0xcd8cbf(0x184)](_0xcd8cbf(0x152)+util[_0xcd8cbf(0x1cf)](_0x15fe19));}const _0x1e4dd4=_0x43ae08?this[_0xcd8cbf(0x1d2)][_0xcd8cbf(0x157)](_0x43ae08):_0x43ae08,_0xe10e=this[_0xcd8cbf(0x1a5)](_0x15b527),_0x4ca79a=_0x15b527[_0xcd8cbf(0x1b6)]||_0x5d1580[_0xcd8cbf(0x1b5)],_0x576490=HOOK_TYPES_MAP[_0x4ca79a]||_0x4ca79a['toUpperCase'](),_0x18fe8b=_0x15b527['parent']&&_0x15b527['parent'][_0xcd8cbf(0x1dd)]?_0x15b527[_0xcd8cbf(0x1ee)][_0xcd8cbf(0x1dd)]:'';let _0x4eb325=_0x5d1580[_0xcd8cbf(0x151)],_0x1d23ca=null,_0x22896f=null,_0x3f337d=null,_0x5cc61c=null;_0x5d1580[_0xcd8cbf(0x18d)](_0x3d6856,_0x5d1580[_0xcd8cbf(0x1c5)])&&(_0x5cc61c=new Date()[_0xcd8cbf(0x1f4)](),_0x15b527[_0xcd8cbf(0x1ac)]&&_0x5d1580[_0xcd8cbf(0x173)](_0x15b527['errorsDetailed'][_0xcd8cbf(0x1a6)],0x0)?(_0x4eb325=_0x5d1580[_0xcd8cbf(0x15a)],_0x22896f=util[_0xcd8cbf(0x189)](_0x15b527['errorsDetailed'][0x0]),_0x1d23ca=_0x5d1580[_0xcd8cbf(0x1dc)](getFailureType,_0x22896f),_0x3f337d=failureData['apply'](null,[_0x15b527['errorsDetailed'],_0x5d1580[_0xcd8cbf(0x202)]])):_0x4eb325=_0x5d1580[_0xcd8cbf(0x1d8)]);const _0x194b41={'uuid':_0x10a94a,'type':_0x5d1580['UmQrO'],'hook_type':_0x576490,'name':_0xe10e,'body':{'lang':_0x5d1580[_0xcd8cbf(0x1c6)],'code':_0x15b527['fn']?_0x15b527['fn']['toString']():null},'tags':[],'test_run_id':_0x3c2c74,'scope':_0x18fe8b,'scopes':[_0x18fe8b],'file_name':_0x1e4dd4,'location':_0x1e4dd4,'vc_filepath':this[_0xcd8cbf(0x1ef)]&&_0x43ae08?path['relative'](this['_gitConfigPath'],_0x43ae08):null,'result':_0x4eb325,'started_at':_0x15b527[_0xcd8cbf(0x1bb)]||new Date()[_0xcd8cbf(0x1f4)](),'finished_at':_0x5cc61c,'failure_type':_0x1d23ca,'failure_reason':_0x22896f,'failure_data':_0x3f337d,'framework':_0x5d1580[_0xcd8cbf(0x15d)]};return _0x5d1580['DMEsJ'](_0x3d6856,_0x5d1580[_0xcd8cbf(0x1f9)])&&(hooksMap[_0x3c2c74]?hooksMap[_0x3c2c74]['push'](_0x194b41):hooksMap[_0x3c2c74]=[_0x194b41]),_0x194b41;}catch(_0x2351da){return logger['debug']('Exception\x20in\x20createHookData:\x20'+util[_0xcd8cbf(0x1cf)](_0x2351da)),null;}}['getHookRunEventData'](_0x253f51,_0x6fc12f,_0x3331d3){const _0x97eb11=a119_0x33ff17,_0x1caa21={'fyteq':function(_0x24032f,_0x43ddb9){return _0x24032f>_0x43ddb9;},'FNNxB':'failed','jsdKO':function(_0x399cbb,_0x12c523){return _0x399cbb(_0x12c523);},'hPRDg':_0x97eb11(0x165),'gEgAa':_0x97eb11(0x1ca)};try{const _0x2dd9ec=hooksMap[_0x253f51];if(!_0x2dd9ec)return null;const _0x4ca5ca=_0x2dd9ec[_0x97eb11(0x1f3)](_0x21b064=>_0x21b064[_0x97eb11(0x1e5)]===_0x6fc12f);if(!_0x4ca5ca)return null;return _0x4ca5ca['finished_at']=new Date()['toISOString'](),_0x3331d3['errorsDetailed']&&_0x1caa21[_0x97eb11(0x1b0)](_0x3331d3['errorsDetailed'][_0x97eb11(0x1a6)],0x0)?(_0x4ca5ca[_0x97eb11(0x168)]=_0x1caa21[_0x97eb11(0x1ba)],_0x4ca5ca[_0x97eb11(0x196)]=util[_0x97eb11(0x189)](_0x3331d3[_0x97eb11(0x1ac)][0x0]),_0x4ca5ca[_0x97eb11(0x1ad)]=_0x1caa21[_0x97eb11(0x203)](getFailureType,_0x4ca5ca[_0x97eb11(0x196)]),_0x4ca5ca[_0x97eb11(0x1fa)]=failureData['apply'](null,[_0x3331d3[_0x97eb11(0x1ac)],_0x1caa21[_0x97eb11(0x183)]])):_0x4ca5ca[_0x97eb11(0x168)]=_0x1caa21[_0x97eb11(0x1d9)],_0x4ca5ca;}catch(_0x2c307e){return logger['debug']('Exception\x20in\x20getHookRunEventData:\x20'+util[_0x97eb11(0x1cf)](_0x2c307e)),null;}}[a119_0x33ff17(0x1a5)](_0xf7a555){const _0x39b353=a119_0x33ff17,_0x782ced={};_0x782ced['SylDy']=function(_0x1e59d2,_0x4b7e38){return _0x1e59d2!==_0x4b7e38;},_0x782ced[_0x39b353(0x1cc)]=_0x39b353(0x165),_0x782ced[_0x39b353(0x1a1)]=_0x39b353(0x174);const _0x39287b=_0x782ced;if(_0x39287b[_0x39b353(0x19a)](_0xf7a555[_0x39b353(0x1b6)],_0x39287b['rGmoZ']))return'\x22'+_0xf7a555[_0x39b353(0x1b6)]+_0x39b353(0x1a2)+(_0xf7a555['parent']&&_0xf7a555[_0x39b353(0x1ee)][_0x39b353(0x1dd)])+'\x22';return _0xf7a555[_0x39b353(0x1dd)]||_0x39287b['XDQkO'];}[a119_0x33ff17(0x1e8)](_0x45eb47){const _0x1b5b8d=a119_0x33ff17,_0x37c909={};_0x37c909['VUhyA']=function(_0x59221e,_0x4e0e4e){return _0x59221e!==_0x4e0e4e;},_0x37c909[_0x1b5b8d(0x1f1)]=function(_0x25f8cc,_0x5caa8e){return _0x25f8cc!==_0x5caa8e;},_0x37c909[_0x1b5b8d(0x1eb)]=_0x1b5b8d(0x169);const _0x242586=_0x37c909,_0x3d346a=[];if(_0x45eb47&&_0x45eb47[_0x1b5b8d(0x1ee)]){let _0x1a9fa0=_0x45eb47[_0x1b5b8d(0x1ee)];while(_0x1a9fa0&&_0x1a9fa0[_0x1b5b8d(0x1dd)]&&_0x242586[_0x1b5b8d(0x199)](_0x1a9fa0[_0x1b5b8d(0x1dd)],'')&&_0x242586['MwZtj'](_0x1a9fa0[_0x1b5b8d(0x1dd)],_0x242586['dikrU'])){_0x3d346a['push'](_0x1a9fa0['name']),_0x1a9fa0=_0x1a9fa0['parent'];}}return _0x3d346a['reverse'](),_0x3d346a;}[a119_0x33ff17(0x1a9)](_0xcb1583){const _0x261bff=a119_0x33ff17,_0x32f950={'KOPOF':function(_0x3b2691,_0x1606b7){return _0x3b2691(_0x1606b7);}};if(_0xcb1583[_0x261bff(0x1fb)])return _0xcb1583['file'];if(_0xcb1583[_0x261bff(0x1cd)])try{const _0x3dd2fb=stackTrace['parse'][_0x261bff(0x154)](stackTrace,_0xcb1583[_0x261bff(0x1cd)]),_0x3337a7=_0x32f950[_0x261bff(0x150)](pickUserFrameFile,_0x3dd2fb);if(_0x3337a7)return _0x3337a7;logger[_0x261bff(0x184)](_0x261bff(0x15b)+_0x3dd2fb['length']+')');}catch(_0x4aed92){logger[_0x261bff(0x184)](_0x261bff(0x198)+util[_0x261bff(0x1cf)](_0x4aed92));}return null;}[a119_0x33ff17(0x1d5)](_0x52c538){const _0x544714=a119_0x33ff17,_0xfb054c={};_0xfb054c['OVTGn']=_0x544714(0x205);const _0x13606e=_0xfb054c;try{const _0x121011=this[_0x544714(0x1a9)](_0x52c538);if(!_0x121011||_0x121011['includes'](_0x13606e[_0x544714(0x201)]))return!![];}catch(_0x38ff0b){logger[_0x544714(0x184)]('Exception\x20in\x20checking\x20if\x20hook\x20is\x20internal:\x20'+util['format'](_0x38ff0b));}return![];}[a119_0x33ff17(0x1ff)](_0x43d088=null){const _0x1fa849=a119_0x33ff17;try{const _0x49a619=_0x43d088||global[_0x1fa849(0x158)]||{};if(global['__jestCurrentTestIdentifier'])return global[_0x1fa849(0x1ea)];if(_0x49a619?.['currentTest']?.[_0x1fa849(0x180)])return _0x49a619[_0x1fa849(0x1c4)]['testAnalyticsId'];if(_0x49a619?.[_0x1fa849(0x1c4)]?.['id'])return _0x49a619[_0x1fa849(0x1c4)]['id'];return null;}catch(_0x18b474){return logger[_0x1fa849(0x184)](_0x1fa849(0x14f)+util['format'](_0x18b474)),null;}}async['configureGit'](){const _0x3778dd=a119_0x33ff17,_0x1b8478={'njkRa':function(_0x5b1d0c){return _0x5b1d0c();}};if(this['_gitConfigured'])return this['_gitConfigPath'];const _0x40b416=await _0x1b8478[_0x3778dd(0x172)](getGitMetaData);_0x40b416&&(this['_gitConfigPath']=_0x40b416['root']),this[_0x3778dd(0x16a)]=!![];}[a119_0x33ff17(0x17a)](_0x43f2c3){hooksMap[_0x43f2c3]&&delete hooksMap[_0x43f2c3];}['extractTestFilePath'](_0x33d17c){const _0x4274a8=a119_0x33ff17,_0x456abc={'FrGKw':_0x4274a8(0x205),'OFWzo':function(_0x41a4ad,_0x51de9b){return _0x41a4ad(_0x51de9b);},'dVMKK':'expect'};if(_0x33d17c[_0x4274a8(0x1fb)])return _0x33d17c[_0x4274a8(0x1fb)];if(_0x33d17c[_0x4274a8(0x1cd)]){try{const _0x2d9b96=stackTrace[_0x4274a8(0x1d0)](_0x33d17c[_0x4274a8(0x1cd)]);if(_0x2d9b96[0x0]&&_0x2d9b96[0x0][_0x4274a8(0x1c1)]){const _0x246242=_0x2d9b96[0x0][_0x4274a8(0x1c1)]();if(_0x246242&&!_0x246242[_0x4274a8(0x188)](_0x456abc[_0x4274a8(0x166)]))return _0x246242;}}catch(_0x253730){logger[_0x4274a8(0x184)]('[jestUtils]\x20Error\x20parsing\x20asyncError\x20stack\x20trace:\x20'+util[_0x4274a8(0x1cf)](_0x253730));}if(_0x33d17c[_0x4274a8(0x1cd)][_0x4274a8(0x1bc)]){const _0x43cb22=_0x33d17c[_0x4274a8(0x1cd)][_0x4274a8(0x1bc)][_0x4274a8(0x204)]('\x0a');for(const _0x243b4d of _0x43cb22){const _0x5934fa=_0x243b4d[_0x4274a8(0x1d3)](/at (.+?):\d+:\d+/);if(_0x5934fa&&_0x5934fa[0x1]&&!_0x5934fa[0x1]['includes'](_0x456abc['FrGKw']))return _0x5934fa[0x1];}}}let _0x34856a=_0x33d17c['parent'];while(_0x34856a){if(_0x34856a[_0x4274a8(0x1fb)])return _0x34856a[_0x4274a8(0x1fb)];if(_0x34856a['asyncError'])try{const _0x53b518=stackTrace[_0x4274a8(0x1d0)](_0x34856a[_0x4274a8(0x1cd)]);if(_0x53b518[0x0]&&_0x53b518[0x0][_0x4274a8(0x1c1)]){const _0x1f9c1c=_0x53b518[0x0][_0x4274a8(0x1c1)]();if(_0x1f9c1c&&!_0x1f9c1c[_0x4274a8(0x188)](_0x456abc[_0x4274a8(0x166)]))return _0x1f9c1c;}}catch(_0x44cf5f){}_0x34856a=_0x34856a[_0x4274a8(0x1ee)];}try{const _0xa92018=_0x456abc[_0x4274a8(0x175)](require,_0x456abc[_0x4274a8(0x164)]);if(_0xa92018&&_0xa92018[_0x4274a8(0x1af)]){const _0x118da1=_0xa92018[_0x4274a8(0x1af)]();if(_0x118da1&&_0x118da1[_0x4274a8(0x1e2)])return _0x118da1[_0x4274a8(0x1e2)];}}catch(_0x523a81){logger[_0x4274a8(0x184)](_0x4274a8(0x16e)+util[_0x4274a8(0x1cf)](_0x523a81));}return null;}['createJestTestIdentifier'](_0xacc99f){const _0x2000da=a119_0x33ff17,_0xf7b97b={};_0xf7b97b[_0x2000da(0x1e3)]='[jestUtils]\x20No\x20testInfo\x20provided,\x20cannot\x20create\x20identifier',_0xf7b97b[_0x2000da(0x161)]=function(_0x292167,_0x5a6115){return _0x292167!==_0x5a6115;},_0xf7b97b[_0x2000da(0x178)]=_0x2000da(0x169),_0xf7b97b[_0x2000da(0x192)]=_0x2000da(0x205),_0xf7b97b[_0x2000da(0x1d4)]=_0x2000da(0x1d1),_0xf7b97b[_0x2000da(0x1ed)]=_0x2000da(0x156);const _0x3a4535=_0xf7b97b;try{if(!_0xacc99f)return logger['error'](_0x3a4535[_0x2000da(0x1e3)]),null;const _0x28ccce=_0xacc99f[_0x2000da(0x1a7)]||_0xacc99f['name']||_0xacc99f[_0x2000da(0x1bd)]||_0xacc99f[_0x2000da(0x162)];let _0x201bd6=_0x28ccce;if(_0xacc99f[_0x2000da(0x1ee)]&&_0xacc99f[_0x2000da(0x1ee)][_0x2000da(0x1dd)]&&_0x3a4535[_0x2000da(0x161)](_0xacc99f['parent'][_0x2000da(0x1dd)],_0x3a4535[_0x2000da(0x178)])){const _0x4c9668=_0xacc99f[_0x2000da(0x1dd)]||_0xacc99f[_0x2000da(0x1bd)];_0x4c9668&&(_0x201bd6=_0xacc99f[_0x2000da(0x1ee)]['name']+'\x20'+_0x4c9668);}let _0x24a89a=_0xacc99f[_0x2000da(0x1e2)];if(!_0x24a89a&&_0xacc99f[_0x2000da(0x1cd)]){try{const _0x1e8038=stackTrace['parse'](_0xacc99f[_0x2000da(0x1cd)]);if(_0x1e8038[0x0]&&_0x1e8038[0x0][_0x2000da(0x1c1)]){const _0x55f81e=_0x1e8038[0x0][_0x2000da(0x1c1)]();_0x55f81e&&!_0x55f81e[_0x2000da(0x188)](_0x3a4535[_0x2000da(0x192)])&&(_0x24a89a=_0x55f81e);}}catch(_0x200c54){logger[_0x2000da(0x184)](_0x2000da(0x1a8)+util['format'](_0x200c54));}if(!_0x24a89a&&_0xacc99f[_0x2000da(0x1cd)][_0x2000da(0x1bc)]){const _0x24686a=_0xacc99f[_0x2000da(0x1cd)][_0x2000da(0x1bc)][_0x2000da(0x204)]('\x0a');for(const _0x321675 of _0x24686a){const _0x496fc1=_0x321675[_0x2000da(0x1d3)](/at (.+?):\d+:\d+/);if(_0x496fc1&&_0x496fc1[0x1]&&!_0x496fc1[0x1][_0x2000da(0x188)](_0x3a4535[_0x2000da(0x192)])){_0x24a89a=_0x496fc1[0x1];break;}}}}const _0x1d44be=_0x24a89a+'::'+_0x201bd6,_0x1274a0=crypto[_0x2000da(0x193)](_0x3a4535[_0x2000da(0x1d4)])[_0x2000da(0x15f)](_0x1d44be)[_0x2000da(0x1d7)](_0x3a4535[_0x2000da(0x1ed)])[_0x2000da(0x16f)](0x0,0x8),_0x185165=process[_0x2000da(0x17b)]+_0x2000da(0x1f8)+_0x1274a0;return logger['debug'](_0x2000da(0x155)+_0x185165+_0x2000da(0x1b1)+_0x1d44be),_0x185165;}catch(_0x15edfc){return logger['error']('[jestUtils]\x20Error\x20creating\x20identifier:\x20'+util[_0x2000da(0x1cf)](_0x15edfc)),null;}}[a119_0x33ff17(0x1b7)](_0x44369b){const _0x45420b=a119_0x33ff17,_0x1f9013={};_0x1f9013[_0x45420b(0x1c3)]='[jestUtils]\x20No\x20test\x20object\x20provided';const _0xae9348=_0x1f9013;if(!_0x44369b)return logger['debug'](_0xae9348[_0x45420b(0x1c3)]),null;const _0x1682fe=this[_0x45420b(0x1e0)](_0x44369b),_0x1c0fd7={};_0x1c0fd7[_0x45420b(0x1dd)]=_0x44369b['name']||_0x44369b[_0x45420b(0x1bd)],_0x1c0fd7[_0x45420b(0x1ee)]=_0x44369b['parent'],_0x1c0fd7[_0x45420b(0x1e2)]=_0x1682fe,_0x1c0fd7['asyncError']=_0x44369b[_0x45420b(0x1cd)];const _0x3d14e6=_0x1c0fd7;return this[_0x45420b(0x1fc)](_0x3d14e6);}[a119_0x33ff17(0x206)](_0x562988,_0x3cf7aa=null){const _0x61f579=a119_0x33ff17,_0x34d482={};_0x34d482[_0x61f579(0x190)]=_0x61f579(0x1d6);const _0x39bdc2=_0x34d482;if(!_0x562988)return logger[_0x61f579(0x184)](_0x39bdc2['wTiLl']),_0x3cf7aa;if(_0x562988[_0x61f579(0x16b)])return logger[_0x61f579(0x184)](_0x61f579(0x1b9)+_0x562988[_0x61f579(0x16b)]),_0x562988[_0x61f579(0x16b)];return this[_0x61f579(0x1fc)](_0x562988)||_0x3cf7aa;}}module['exports']=o11yClassErrorHandler(JestUtils,[a119_0x33ff17(0x17d),'getHierarchy',a119_0x33ff17(0x1a9),a119_0x33ff17(0x1a5),a119_0x33ff17(0x1d5),a119_0x33ff17(0x1ff),'createTestFrameworkData',a119_0x33ff17(0x160),a119_0x33ff17(0x195),a119_0x33ff17(0x17a),a119_0x33ff17(0x1e0),a119_0x33ff17(0x1fc),a119_0x33ff17(0x1b7),a119_0x33ff17(0x206)]);
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';
|
|
2
|
+
'use strict';function a120_0xd57c(){const _0x30f20a=['../../helpers/helper','6910656FMopFW','cwd','modifyBrowserStackCaps','path','exports','setupBrowserstackLocal','push','../../helpers/performance/performance-tester','EVENTS','\x20doesn\x27t\x20exist','SfHrW','forEach','9138710uWykNN','finally','end','2020794JCIdNh','getHubUrl','configuration','117EuRloQ','file','launchBuild','SDK_CLEANUP','2907000xMbasy','vanilla','SDK_SETUP','../../helpers/performance/constants','BzQzb','existsSync','../../helpers/utilities','eLWNS','args','Config\x20yml\x20is\x20required','164277sETiop','modifyBrowserStackW3CCaps','then','kgsZf','handleApp','1306650pMPKuE','resolve','File\x20path\x20','proxySettings','finalExecution','../../helpers/testhub/testhubHandler','initialize','index','1220810PVKXoX','zmfLE','File\x20','isRunning','phtJr','lCzNv','getInstance','1eMcwok','parallelsPerPlatform','config','44HWdwNv','../v2/browserstackCLI','platforms','../test-runner','length','isUndefined'];a120_0xd57c=function(){return _0x30f20a;};return a120_0xd57c();}const a120_0x2735a4=a120_0x3f4f;(function(_0x59c889,_0x2573c4){const _0x1b5510=a120_0x3f4f,_0x319f97=_0x59c889();while(!![]){try{const _0x3d6865=-parseInt(_0x1b5510(0xc7))/0x1*(parseInt(_0x1b5510(0xe0))/0x2)+-parseInt(_0x1b5510(0xb3))/0x3*(parseInt(_0x1b5510(0xca))/0x4)+parseInt(_0x1b5510(0xa9))/0x5+-parseInt(_0x1b5510(0xb8))/0x6+parseInt(_0x1b5510(0xdd))/0x7+-parseInt(_0x1b5510(0xd1))/0x8+parseInt(_0x1b5510(0xe3))/0x9*(parseInt(_0x1b5510(0xc0))/0xa);if(_0x3d6865===_0x2573c4)break;else _0x319f97['push'](_0x319f97['shift']());}catch(_0x2c40e5){_0x319f97['push'](_0x319f97['shift']());}}}(a120_0xd57c,0xbe56e));const fs=require('fs'),path=require(a120_0x2735a4(0xd4)),{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require(a120_0x2735a4(0xd0)),PerformanceTester=require(a120_0x2735a4(0xd8)),PerformanceEvents=require(a120_0x2735a4(0xac))[a120_0x2735a4(0xd9)],utilities=require(a120_0x2735a4(0xaf)),{parallelVanillaRun}=require(a120_0x2735a4(0xcd)),TestHubHandler=require(a120_0x2735a4(0xbd)),BrowserstackCLI=require(a120_0x2735a4(0xcb));function a120_0x3f4f(_0x1ef579,_0x110643){const _0xd57c12=a120_0xd57c();return a120_0x3f4f=function(_0x3f4f66,_0x175831){_0x3f4f66=_0x3f4f66-0xa6;let _0x552672=_0xd57c12[_0x3f4f66];return _0x552672;},a120_0x3f4f(_0x1ef579,_0x110643);}async function run(_0x3394a8,_0x1f49ce,_0x5c6846){const _0x11f03a=a120_0x2735a4,_0x244f07={'zmfLE':_0x11f03a(0xaa),'AAFZe':function(_0x55b794,_0x37dc81){return _0x55b794(_0x37dc81);},'phtJr':'File\x20path\x20is\x20required','rmqoO':function(_0x1ad480,_0x437d6f){return _0x1ad480!==_0x437d6f;},'lCzNv':function(_0x55afc7,_0xf4da9b){return _0x55afc7+_0xf4da9b;},'BzQzb':function(_0x29315d,_0x238504){return _0x29315d(_0x238504);},'lcLHv':function(_0x44f089,_0x5aac5b){return _0x44f089(_0x5aac5b);},'eLWNS':_0x11f03a(0xb2),'SfHrW':function(_0x369b2e,_0x5b0baf){return _0x369b2e>_0x5b0baf;},'Bsxdk':function(_0x4e5a4f,_0x43abfd){return _0x4e5a4f>_0x43abfd;},'kgsZf':function(_0x1b03d5,_0x137982){return _0x1b03d5*_0x137982;},'NyrMI':function(_0xd13fd7,_0x3918ec,_0x3cab86){return _0xd13fd7(_0x3918ec,_0x3cab86);}};await _0x5c6846[_0x11f03a(0xbe)](_0x3394a8);!BrowserstackCLI[_0x11f03a(0xc6)]()[_0x11f03a(0xc3)]()&&await _0x5c6846[_0x11f03a(0xd6)]();await helper[_0x11f03a(0xb7)](_0x5c6846[_0x11f03a(0xc9)]);const _0x2578f5=[];if(helper[_0x11f03a(0xcf)](_0x3394a8['_'][0x1]))throw _0x244f07['AAFZe'](Error,_0x244f07[_0x11f03a(0xc4)]);const _0x3cdba5=process[_0x11f03a(0xd2)](),_0x46ba15=path[_0x11f03a(0xb9)](_0x3cdba5,_0x3394a8['_'][0x1]);if(_0x244f07['rmqoO'](_0x46ba15,_0x3cdba5)&&!_0x46ba15['startsWith'](_0x244f07[_0x11f03a(0xc5)](_0x3cdba5,path['sep'])))throw _0x244f07[_0x11f03a(0xad)](Error,_0x11f03a(0xba)+_0x3394a8['_'][0x1]+'\x20resolves\x20outside\x20the\x20project\x20directory\x20and\x20was\x20rejected');if(!fs[_0x11f03a(0xae)](_0x46ba15))throw _0x244f07['BzQzb'](Error,_0x11f03a(0xc2)+_0x3394a8['_'][0x1]+_0x11f03a(0xda));if(!_0x5c6846[_0x11f03a(0xc9)])throw _0x244f07['lcLHv'](Error,_0x244f07[_0x11f03a(0xb0)]);const _0x587a8e=helper['useW3C'](_0x5c6846[_0x11f03a(0xc9)]);_0x5c6846[_0x11f03a(0xc9)][_0x11f03a(0xcc)]&&_0x244f07[_0x11f03a(0xdb)](_0x5c6846[_0x11f03a(0xc9)][_0x11f03a(0xcc)][_0x11f03a(0xce)],0x0)&&_0x5c6846[_0x11f03a(0xc9)][_0x11f03a(0xcc)][_0x11f03a(0xdc)]((_0x541d70,_0x3dede6)=>{const _0x1a7c78=_0x11f03a;_0x587a8e?_0x2578f5[_0x1a7c78(0xd7)](helper[_0x1a7c78(0xb4)](_0x5c6846[_0x1a7c78(0xc9)],_0x244f07['zmfLE'],_0x3dede6)):_0x2578f5['push'](helper[_0x1a7c78(0xd3)](_0x5c6846['config'],_0x244f07[_0x1a7c78(0xc1)],_0x3dede6));});let _0x351668,_0x2d188a;const _0x25b611=[];if(_0x244f07['Bsxdk'](_0x2578f5[_0x11f03a(0xce)],0x0))_0x2578f5[_0x11f03a(0xdc)]((_0x5d6a71,_0x439f78)=>{const _0x3c6376=_0x11f03a,_0x147d71={};_0x147d71[_0x3c6376(0xbf)]=_0x439f78,_0x351668={'server':helper[_0x3c6376(0xe1)](_0x5c6846[_0x3c6376(0xc9)]),'proxySettings':_0x5c6846[_0x3c6376(0xc9)]['proxySettings'],'platform':helper['getPlatformName'](_0x5d6a71),'platformCaps':Object['assign'](_0x147d71,_0x5c6846[_0x3c6376(0xc9)][_0x3c6376(0xcc)][_0x439f78])};const _0x5a16ec={'capability':_0x5d6a71,..._0x351668};_0x5a16ec[_0x3c6376(0xa6)]=_0x46ba15,_0x5a16ec[_0x3c6376(0xb1)]=_0x1f49ce;const _0x170c0b={};_0x170c0b[_0x3c6376(0xe2)]=_0x5a16ec,_0x2d188a=_0x170c0b,_0x25b611[_0x3c6376(0xd7)](_0x2d188a);});else{let _0x4ea128;_0x587a8e?_0x4ea128=helper[_0x11f03a(0xb4)](_0x5c6846[_0x11f03a(0xc9)],_0x244f07[_0x11f03a(0xc1)],0x0):_0x4ea128=helper[_0x11f03a(0xd3)](_0x5c6846[_0x11f03a(0xc9)],_0x244f07[_0x11f03a(0xc1)],0x0);_0x351668={'server':helper[_0x11f03a(0xe1)](_0x5c6846[_0x11f03a(0xc9)]),'proxySettings':_0x5c6846[_0x11f03a(0xc9)][_0x11f03a(0xbb)]};const _0x34bc28={'capability':_0x4ea128,..._0x351668};_0x34bc28[_0x11f03a(0xa6)]=_0x46ba15,_0x34bc28[_0x11f03a(0xb1)]=_0x1f49ce;const _0x2dcf44={};_0x2dcf44['configuration']=_0x34bc28,_0x2d188a=_0x2dcf44,_0x25b611[_0x11f03a(0xd7)](_0x2d188a);}const _0x312652=await TestHubHandler[_0x11f03a(0xa7)](_0x244f07[_0x11f03a(0xc1)],_0x5c6846),_0x471893=_0x244f07[_0x11f03a(0xb6)](_0x5c6846[_0x11f03a(0xc9)][_0x11f03a(0xcc)]['length']||0x1,_0x5c6846[_0x11f03a(0xc9)][_0x11f03a(0xc8)]||0x1);PerformanceTester[_0x11f03a(0xdf)](PerformanceEvents[_0x11f03a(0xab)]),_0x244f07['NyrMI'](parallelVanillaRun,_0x25b611,_0x471893)[_0x11f03a(0xb5)](_0x48f2d3=>{})[_0x11f03a(0xde)](async()=>{const _0x2c950a=_0x11f03a;PerformanceTester['start'](PerformanceEvents[_0x2c950a(0xa8)]),await utilities[_0x2c950a(0xbc)](_0x5c6846);});}module[a120_0x2735a4(0xd5)]=run;
|
package/src/browserStackSdk.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a121_0x54a616=a121_0x50a1;function a121_0x50a1(_0x1914cc,_0x36e0d4){const _0x15fba9=a121_0x15fb();return a121_0x50a1=function(_0x50a11f,_0x59a1fb){_0x50a11f=_0x50a11f-0x122;let _0x43f7e9=_0x15fba9[_0x50a11f];return _0x43f7e9;},a121_0x50a1(_0x1914cc,_0x36e0d4);}(function(_0x4743b3,_0x2f621e){const _0x578160=a121_0x50a1,_0x5ebe09=_0x4743b3();while(!![]){try{const _0x3878e2=parseInt(_0x578160(0x139))/0x1+parseInt(_0x578160(0x128))/0x2*(parseInt(_0x578160(0x13f))/0x3)+-parseInt(_0x578160(0x12e))/0x4*(parseInt(_0x578160(0x13d))/0x5)+-parseInt(_0x578160(0x143))/0x6+parseInt(_0x578160(0x125))/0x7+-parseInt(_0x578160(0x134))/0x8+parseInt(_0x578160(0x13b))/0x9*(-parseInt(_0x578160(0x132))/0xa);if(_0x3878e2===_0x2f621e)break;else _0x5ebe09['push'](_0x5ebe09['shift']());}catch(_0x595e20){_0x5ebe09['push'](_0x5ebe09['shift']());}}}(a121_0x15fb,0x58129));function a121_0x15fb(){const _0x3c9c61=['186BXZLXK','osVersion','platformName','setTestMetadata','GULmP','os_version','1268024YSmMfT','platform_version','dERsm','platformVersion','10UXbRKx','platform','656008mqPqKh','FMvKU','aOuIQ','kDmMl','getCurrentPlatform','147758vEeGMl','browserVersion','958707nlyTOo','browser_version','5bgsdLo','dQuxl','21687AHQNOE','browserName','XXMJa','exports','2471634ZBiBnp','HQONd','browser','customVariables','EAKwG','device','__platformCaps','./helpers/metadata','rimTb','JqJIe','3207113xLkmsi','awtca','MkMLW'];a121_0x15fb=function(){return _0x3c9c61;};return a121_0x15fb();}const TestMetadata=require(a121_0x54a616(0x122));class BrowserStackSdk{static[a121_0x54a616(0x138)](){const _0x699401=a121_0x54a616,_0x240605={};_0x240605[_0x699401(0x12c)]=_0x699401(0x12d),_0x240605[_0x699401(0x123)]=_0x699401(0x129),_0x240605[_0x699401(0x13e)]=_0x699401(0x145),_0x240605['JqJIe']=_0x699401(0x140),_0x240605[_0x699401(0x137)]=_0x699401(0x13c),_0x240605['awtca']=_0x699401(0x13a),_0x240605[_0x699401(0x141)]=_0x699401(0x148),_0x240605['EAKwG']='deviceName',_0x240605[_0x699401(0x127)]=_0x699401(0x133),_0x240605[_0x699401(0x135)]=_0x699401(0x12a),_0x240605[_0x699401(0x136)]=_0x699401(0x12f),_0x240605['dERsm']=_0x699401(0x131),_0x240605[_0x699401(0x144)]=_0x699401(0x146);const _0x17046f=_0x240605,_0xe0a236={};if(global['__platformCaps']){const _0x280533=global[_0x699401(0x149)],_0x2df9e4=_0x280533[_0x17046f['GULmP']]||_0x280533[_0x17046f[_0x699401(0x123)]],_0x5b1f20=_0x280533[_0x17046f[_0x699401(0x13e)]]||_0x280533[_0x17046f[_0x699401(0x124)]],_0x2cb458=_0x280533[_0x17046f[_0x699401(0x137)]]||_0x280533[_0x17046f[_0x699401(0x126)]],_0x50fd7c=_0x280533[_0x17046f[_0x699401(0x141)]]||_0x280533[_0x17046f[_0x699401(0x147)]],_0x455bc2=_0x280533[_0x17046f[_0x699401(0x127)]]||_0x280533[_0x17046f[_0x699401(0x135)]],_0x2e0bf2=_0x280533[_0x17046f[_0x699401(0x136)]]||_0x280533[_0x17046f['dERsm']];_0x280533['os']&&(_0xe0a236['os']=_0x280533['os']),_0x2df9e4&&(_0xe0a236[_0x17046f[_0x699401(0x123)]]=_0x2df9e4),_0x5b1f20&&(_0xe0a236[_0x17046f['JqJIe']]=_0x5b1f20),_0x2cb458&&(_0xe0a236[_0x17046f['awtca']]=_0x2cb458),_0x50fd7c&&(_0xe0a236[_0x17046f['EAKwG']]=_0x50fd7c),_0x455bc2&&(_0xe0a236[_0x17046f[_0x699401(0x135)]]=_0x455bc2),_0x2e0bf2&&(_0xe0a236[_0x17046f[_0x699401(0x130)]]=_0x2e0bf2),_0x280533[_0x17046f[_0x699401(0x144)]]&&(_0xe0a236[_0x17046f['HQONd']]=_0x280533[_0x17046f[_0x699401(0x144)]]);}return _0xe0a236;}static[a121_0x54a616(0x12b)](_0x204976={}){TestMetadata['set'](_0x204976);}}module[a121_0x54a616(0x142)]=BrowserStackSdk;
|