browserstack-node-sdk 1.63.2 → 1.63.4
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_0x5e0d93=a115_0x4510;(function(_0x8fece7,_0x5d1e81){const _0x8d31cf=a115_0x4510,_0x1a3e33=_0x8fece7();while(!![]){try{const _0x5a3bbf=parseInt(_0x8d31cf(0x205))/0x1+-parseInt(_0x8d31cf(0x1f4))/0x2+-parseInt(_0x8d31cf(0x203))/0x3*(-parseInt(_0x8d31cf(0x206))/0x4)+parseInt(_0x8d31cf(0x1f8))/0x5*(-parseInt(_0x8d31cf(0x1f6))/0x6)+parseInt(_0x8d31cf(0x1f7))/0x7+-parseInt(_0x8d31cf(0x1fa))/0x8+-parseInt(_0x8d31cf(0x1ff))/0x9;if(_0x5a3bbf===_0x5d1e81)break;else _0x1a3e33['push'](_0x1a3e33['shift']());}catch(_0x18cf9b){_0x1a3e33['push'](_0x1a3e33['shift']());}}}(a115_0x2ca5,0xc016e));const a115_0x8b7ecc={};a115_0x8b7ecc['value']=0x0,a115_0x8b7ecc[a115_0x5e0d93(0x1fc)]=function(){const _0x5db69e=a115_0x5e0d93,_0x343b69={};_0x343b69['DlDUn']=_0x5db69e(0x202);const _0x281e67=_0x343b69;return _0x281e67[_0x5db69e(0x1f9)];};const a115_0x238f5b={};a115_0x238f5b[a115_0x5e0d93(0x1fd)]=0x1,a115_0x238f5b['toString']=function(){const _0x988ed3=a115_0x5e0d93,_0x504063={};_0x504063[_0x988ed3(0x200)]=_0x988ed3(0x1fe);const _0x2c8a83=_0x504063;return _0x2c8a83[_0x988ed3(0x200)];};function a115_0x2ca5(){const _0x462e87=['find','toString','value','HookState.PRE','854469pHsysh','VgiVk','HookState.POST','HookState.NONE','3HmYrPA','freeze','975404ijuWIo','4838684dpdkkZ','630950BOgBiy','exports','6itjhhs','3498663FbSXjc','3579965hhPHiR','DlDUn','6173416fUKWLX'];a115_0x2ca5=function(){return _0x462e87;};return a115_0x2ca5();}const a115_0x1276c4={};function a115_0x4510(_0x521dcd,_0x3570cf){const _0x2ca52e=a115_0x2ca5();return a115_0x4510=function(_0x4510f0,_0x4e77c2){_0x4510f0=_0x4510f0-0x1f4;let _0x1d4979=_0x2ca52e[_0x4510f0];return _0x1d4979;},a115_0x4510(_0x521dcd,_0x3570cf);}a115_0x1276c4['value']=0x2,a115_0x1276c4[a115_0x5e0d93(0x1fc)]=function(){const _0x1d431f=a115_0x5e0d93,_0x360870={};_0x360870['MpXzI']=_0x1d431f(0x201);const _0x29126f=_0x360870;return _0x29126f['MpXzI'];};const HookState=Object[a115_0x5e0d93(0x204)]({'NONE':a115_0x8b7ecc,'PRE':a115_0x238f5b,'POST':a115_0x1276c4,'fromValue'(_0x39b877){const _0x5ce29f=a115_0x5e0d93;return Object['values'](HookState)[_0x5ce29f(0x1fb)](_0x5a2e9a=>_0x5a2e9a[_0x5ce29f(0x1fd)]===_0x39b877);}});module[a115_0x5e0d93(0x1f5)]=HookState;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a116_0x17acef=a116_0x458d;(function(_0x489261,_0x2c0511){const _0x3b6d82=a116_0x458d,_0x123c59=_0x489261();while(!![]){try{const _0x43b3f4=parseInt(_0x3b6d82(0xf5))/0x1+-parseInt(_0x3b6d82(0xfe))/0x2+-parseInt(_0x3b6d82(0xf6))/0x3*(-parseInt(_0x3b6d82(0xf3))/0x4)+-parseInt(_0x3b6d82(0xf4))/0x5+parseInt(_0x3b6d82(0x103))/0x6+parseInt(_0x3b6d82(0xfc))/0x7+-parseInt(_0x3b6d82(0x102))/0x8;if(_0x43b3f4===_0x2c0511)break;else _0x123c59['push'](_0x123c59['shift']());}catch(_0xf250f7){_0x123c59['push'](_0x123c59['shift']());}}}(a116_0x126f,0x8387b));const a116_0x653255={};a116_0x653255[a116_0x17acef(0xef)]=0x0,a116_0x653255['toString']=function(){const _0x2c7d11=a116_0x17acef,_0xdac83e={};_0xdac83e[_0x2c7d11(0x104)]=_0x2c7d11(0xe7);const _0x324ed2=_0xdac83e;return _0x324ed2[_0x2c7d11(0x104)];};const a116_0x28d8e2={};function a116_0x458d(_0x32aea7,_0x1d81cd){const _0x126f4c=a116_0x126f();return a116_0x458d=function(_0x458d5c,_0x32d074){_0x458d5c=_0x458d5c-0xe6;let _0x1a2767=_0x126f4c[_0x458d5c];return _0x1a2767;},a116_0x458d(_0x32aea7,_0x1d81cd);}a116_0x28d8e2[a116_0x17acef(0xef)]=0x1,a116_0x28d8e2[a116_0x17acef(0xfd)]=function(){const _0x16ebb7=a116_0x17acef,_0x3e358f={};_0x3e358f[_0x16ebb7(0xf8)]=_0x16ebb7(0xe6);const _0x4865bb=_0x3e358f;return _0x4865bb[_0x16ebb7(0xf8)];};const a116_0x8d96fe={};a116_0x8d96fe['value']=0x2,a116_0x8d96fe[a116_0x17acef(0xfd)]=function(){const _0x3fd31a=a116_0x17acef,_0x20bdfd={};_0x20bdfd[_0x3fd31a(0xf2)]=_0x3fd31a(0xf1);const _0x267ede=_0x20bdfd;return _0x267ede[_0x3fd31a(0xf2)];};const a116_0x5881b0={};a116_0x5881b0['value']=0x3,a116_0x5881b0[a116_0x17acef(0xfd)]=function(){const _0x2e49f9=a116_0x17acef,_0x2aebcd={};_0x2aebcd['JHclN']='TestFrameworkState.SETUP_FIXTURE';const _0x12a66f=_0x2aebcd;return _0x12a66f[_0x2e49f9(0x101)];};function a116_0x126f(){const _0x4d7240=['TestFrameworkState.STEP','AUrwb','JHclN','6499264krUOxK','5221368ungeJw','BqFwb','eJRwT','aOzhu','TestFrameworkState.BEFORE_ALL','TestFrameworkState.NONE','NoPcg','TestFrameworkState.AFTER_ALL','CMQJw','TestFrameworkState.TEST_STEP','TestFrameworkState.LOG_REPORT','exports','iOsnK','value','find','TestFrameworkState.LOG','ozHNd','4JrGKSk','85105ONmydw','457011CnByRj','1128483DttxMT','freeze','EYCmV','HHYyO','uFiFZ','TestFrameworkState.TEST_SCREENSHOT','239099aizwVL','toString','738762xgJOLS'];a116_0x126f=function(){return _0x4d7240;};return a116_0x126f();}const a116_0x18741d={};a116_0x18741d['value']=0x4,a116_0x18741d['toString']=function(){const _0x4f6fe9=a116_0x17acef,_0x5bbe60={};_0x5bbe60[_0x4f6fe9(0xfa)]='TestFrameworkState.INIT_TEST';const _0x2f8da5=_0x5bbe60;return _0x2f8da5[_0x4f6fe9(0xfa)];};const a116_0x37e1b4={};a116_0x37e1b4[a116_0x17acef(0xef)]=0x5,a116_0x37e1b4[a116_0x17acef(0xfd)]=function(){const _0x21d1f3=a116_0x17acef,_0x2a9b88={};_0x2a9b88[_0x21d1f3(0x100)]='TestFrameworkState.BEFORE_EACH';const _0x443151=_0x2a9b88;return _0x443151[_0x21d1f3(0x100)];};const a116_0x2c3f5c={};a116_0x2c3f5c[a116_0x17acef(0xef)]=0x6,a116_0x2c3f5c['toString']=function(){const _0x34cc4b=a116_0x17acef,_0x503a77={};_0x503a77[_0x34cc4b(0xe8)]='TestFrameworkState.AFTER_EACH';const _0x476f2b=_0x503a77;return _0x476f2b[_0x34cc4b(0xe8)];};const a116_0xad2f66={};a116_0xad2f66['value']=0x7,a116_0xad2f66['toString']=function(){const _0x3b9985={};_0x3b9985['WgNNg']='TestFrameworkState.TEST';const _0x383669=_0x3b9985;return _0x383669['WgNNg'];};const a116_0x588d74={};a116_0x588d74[a116_0x17acef(0xef)]=0x8,a116_0x588d74[a116_0x17acef(0xfd)]=function(){const _0x13df6f=a116_0x17acef,_0x130ee7={};_0x130ee7[_0x13df6f(0xea)]=_0x13df6f(0xff);const _0x5b05f7=_0x130ee7;return _0x5b05f7[_0x13df6f(0xea)];};const a116_0x24b111={};a116_0x24b111['value']=0x9,a116_0x24b111['toString']=function(){const _0x29a8e1=a116_0x17acef,_0x3f5050={};_0x3f5050[_0x29a8e1(0xf9)]=_0x29a8e1(0xec);const _0x44bebb=_0x3f5050;return _0x44bebb[_0x29a8e1(0xf9)];};const a116_0x594585={};a116_0x594585[a116_0x17acef(0xef)]=0xa,a116_0x594585['toString']=function(){const _0x5777f6=a116_0x17acef,_0x2c3180={};_0x2c3180[_0x5777f6(0x105)]=_0x5777f6(0xe9);const _0x55153a=_0x2c3180;return _0x55153a[_0x5777f6(0x105)];};const a116_0x29c16c={};a116_0x29c16c[a116_0x17acef(0xef)]=0xb,a116_0x29c16c['toString']=function(){const _0x4f9709=a116_0x17acef,_0x4e4e76={};_0x4e4e76[_0x4f9709(0xee)]=_0x4f9709(0xfb);const _0xd036fe=_0x4e4e76;return _0xd036fe[_0x4f9709(0xee)];};const a116_0x100e1c={};a116_0x100e1c['value']=0xc,a116_0x100e1c['toString']=function(){const _0x42ddfd=a116_0x17acef,_0x5f1daa={};_0x5f1daa[_0x42ddfd(0x106)]=_0x42ddfd(0xeb);const _0x18b0a8=_0x5f1daa;return _0x18b0a8[_0x42ddfd(0x106)];};const TestFrameworkState=Object[a116_0x17acef(0xf7)]({'NONE':a116_0x653255,'BEFORE_ALL':a116_0x28d8e2,'LOG':a116_0x8d96fe,'SETUP_FIXTURE':a116_0x5881b0,'INIT_TEST':a116_0x18741d,'BEFORE_EACH':a116_0x37e1b4,'AFTER_EACH':a116_0x2c3f5c,'TEST':a116_0xad2f66,'STEP':a116_0x588d74,'LOG_REPORT':a116_0x24b111,'AFTER_ALL':a116_0x594585,'TEST_SCREENSHOT':a116_0x29c16c,'TEST_STEP':a116_0x100e1c,'fromValue'(_0x539e1f){const _0x4225ff=a116_0x17acef;return Object['values'](TestFrameworkState)[_0x4225ff(0xf0)](_0x41607a=>_0x41607a['value']===_0x539e1f);}});module[a116_0x17acef(0xed)]=TestFrameworkState;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a117_0x2435e9=a117_0x2f29;function a117_0x2275(){const _0x1da75f=['util','Attachment\x20file\x20path\x20is\x20empty,\x20skipping\x20upload.','resolveInstance','MAwJC','toObject','__jestCurrentTestIdentifier','TestHubModule','jQOWY','getAllData','uNnPz','8TvpjkJ','Cleared\x20attachment\x20folder','addMultipleEntries','./framework/constants/testFrameworkConstants','Vhgoa','close','riHqL','Error\x20tracking\x20file:\x20%s,\x20skipping\x20upload','EaMIe','toFixed','POST','KEY_FILE_PATH','Created\x20.browserstack\x20folder\x20at:\x20%s','13419dtZLjb','Downloaded\x20file\x20is\x20too\x20large\x20(%s\x20MB).\x20Deleting\x20file\x20and\x20skipping\x20upload.','trackFile:\x20TestFramework\x20not\x20available,\x20cannot\x20track\x20attachment','getTestDetails','jJbgN','KEY_FILE_LEVEL','12590248eUlKei','trackFile','trackFile:\x20Cucumber+Playwright\x20-\x20testId:\x20','qgfLc','2580273ICubqS','join','./state/testFrameworkState','unlinkSync','trackFile:\x20Instance\x20not\x20available,\x20cannot\x20track\x20attachment','path','GXOfi','exports','oFnaV','3777060rMYiFw','get','sfwOq','statSync','xqBFR','ookYy','./TestInfo','4536RjLwxJ','getInstance','xwAhl','homedir','ecfuF','https://',',\x20filepath:\x20','bqJrA','uploadAttachmentsManager','JugHM','2510lNwxzS','retry','File\x20downloaded\x20to:\x20%s','trackFile:\x20Jest+Playwright\x20-\x20testId\x20(testIdentifier):\x20','Error\x20downloading\x20file:\x20%s,\x20skipping\x20upload','testhubConfig','KEY_TEST_ID','hlghW','recursive','QyqEa','gGgEM','TEST','message','mkdirSync','No\x20attachment\x20folder\x20found\x20for\x20testhubID:\x20%s','Failed\x20to\x20download\x20file.\x20Status\x20code:\x20%s,\x20skipping\x20upload','.browserstack','copyFileSync','./cliUtils','2ioDTsQ','basename','createWriteStream','BuildLevel','AcbpE','http://','name','pipe','qksjF','uploadAttachments','debug','yZIAw','601255buHJhW','getTestIdentifierFromTestInfo','logger','modules','HAWSs','setTestDetails','startsWith','LEgjk','buildHashedId','statusCode','size','xRfWj','gpHBx','force','getState','aJonW','format','Created\x20folder:\x20%s','clearAttachments','1582mZQnOt','error','trackFile:\x20No\x20testId\x20available,\x20cannot\x20track\x20attachment','KEY_FILE_NAME','testInfo','getTestFramework','JDWii','rmSync','Attachment\x20file\x20tracked\x20for\x20upload:\x20%s','eFVPd','jest','KEY_FILE_SIZE','suBCH','585910TgVIsm','SlTvc','KEY_TEST_ATTACHMENTS','JcMNI','http','../../helpers/classLogger.js','IyxJQ','toLowerCase','zEpvr','existsSync'];a117_0x2275=function(){return _0x1da75f;};return a117_0x2275();}(function(_0x49fe06,_0x684769){const _0x4e840a=a117_0x2f29,_0x5a1289=_0x49fe06();while(!![]){try{const _0x23d117=-parseInt(_0x4e840a(0x1cf))/0x1+parseInt(_0x4e840a(0x227))/0x2*(parseInt(_0x4e840a(0x1fa))/0x3)+parseInt(_0x4e840a(0x1e3))/0x4*(parseInt(_0x4e840a(0x233))/0x5)+-parseInt(_0x4e840a(0x203))/0x6+parseInt(_0x4e840a(0x1c2))/0x7*(-parseInt(_0x4e840a(0x20a))/0x8)+parseInt(_0x4e840a(0x1f0))/0x9*(-parseInt(_0x4e840a(0x214))/0xa)+parseInt(_0x4e840a(0x1f6))/0xb;if(_0x23d117===_0x684769)break;else _0x5a1289['push'](_0x5a1289['shift']());}catch(_0x1e2037){_0x5a1289['push'](_0x5a1289['shift']());}}}(a117_0x2275,0x80bfe));const os=require('os'),fs=require('fs'),path=require(a117_0x2435e9(0x1ff)),util=require(a117_0x2435e9(0x1d9)),BrowserstackCLI=require('./browserstackCLI'),https=require('https'),http=require(a117_0x2435e9(0x1d3)),AutomationFramework=require('./framework/automationFramework'),PlaywrightDriverModule=require('./modules/playwrightDriverModule'),TestInfo=require(a117_0x2435e9(0x209)),TestFrameworkConstants=require(a117_0x2435e9(0x1e6)),{createClassLogger}=require(a117_0x2435e9(0x1d4));class uploadAttachmentsManager{static [a117_0x2435e9(0x1b1)]=createClassLogger(a117_0x2435e9(0x212));static[a117_0x2435e9(0x230)](_0x6b5ccc,_0x3013ec=![]){const _0x43bfd8=a117_0x2435e9,_0x17bccb={};_0x17bccb[_0x43bfd8(0x1e9)]=function(_0x5c3bc3,_0x37fb8d){return _0x5c3bc3/_0x37fb8d;},_0x17bccb[_0x43bfd8(0x22b)]=function(_0xdc37c6,_0x134fc0){return _0xdc37c6*_0x134fc0;},_0x17bccb[_0x43bfd8(0x205)]=function(_0x37a0f9,_0x4e0f9f){return _0x37a0f9>_0x4e0f9f;},_0x17bccb[_0x43bfd8(0x1cb)]=_0x43bfd8(0x1f1),_0x17bccb[_0x43bfd8(0x1b6)]=_0x43bfd8(0x216),_0x17bccb[_0x43bfd8(0x208)]=function(_0x1ef80e,_0x64d2df){return _0x1ef80e===_0x64d2df;},_0x17bccb['ecfuF']='finish',_0x17bccb[_0x43bfd8(0x1f4)]=_0x43bfd8(0x223),_0x17bccb[_0x43bfd8(0x1eb)]=_0x43bfd8(0x218),_0x17bccb[_0x43bfd8(0x213)]='Attachment\x20recevied\x20for\x20path:\x20%s',_0x17bccb[_0x43bfd8(0x1e0)]=_0x43bfd8(0x224),_0x17bccb[_0x43bfd8(0x1b3)]='.browserstack\x20folder\x20not\x20found\x20at:\x20%s',_0x17bccb['CTcAH']=_0x43bfd8(0x1ef),_0x17bccb[_0x43bfd8(0x202)]=_0x43bfd8(0x1c0),_0x17bccb['qgfLc']=function(_0x36dcfd,_0x429756){return _0x36dcfd===_0x429756;},_0x17bccb[_0x43bfd8(0x21b)]=_0x43bfd8(0x1da),_0x17bccb[_0x43bfd8(0x21d)]=_0x43bfd8(0x20f),_0x17bccb['GXOfi']=_0x43bfd8(0x22c),_0x17bccb[_0x43bfd8(0x1be)]=_0x43bfd8(0x1c3),_0x17bccb[_0x43bfd8(0x232)]='Attachment\x20file\x20does\x20not\x20exist\x20at:\x20%s',_0x17bccb[_0x43bfd8(0x20c)]=function(_0x4bc8d8,_0x373b69){return _0x4bc8d8*_0x373b69;},_0x17bccb[_0x43bfd8(0x1ce)]='File\x20size\x20is\x20too\x20large\x20(%s\x20MB).\x20Skipping\x20upload.';const _0x5e0260=_0x17bccb;this[_0x43bfd8(0x1b1)]['debug'](util[_0x43bfd8(0x1bf)](_0x5e0260[_0x43bfd8(0x213)],_0x6b5ccc));const _0x46d25d=os['homedir'](),_0xb84882=path[_0x43bfd8(0x1fb)](_0x46d25d,_0x5e0260[_0x43bfd8(0x1e0)]);!fs[_0x43bfd8(0x1d8)](_0xb84882)&&(this[_0x43bfd8(0x1b1)][_0x43bfd8(0x231)](util['format'](_0x5e0260[_0x43bfd8(0x1b3)],_0xb84882)),fs[_0x43bfd8(0x221)](_0xb84882),this[_0x43bfd8(0x1b1)][_0x43bfd8(0x231)](util['format'](_0x5e0260['CTcAH'],_0xb84882)));const _0x469cfc=BrowserstackCLI[_0x43bfd8(0x20b)]()[_0x43bfd8(0x1b2)][_0x43bfd8(0x1df)]?.['testhubConfig']?.[_0x43bfd8(0x1dd)]()?.[_0x43bfd8(0x1b7)],_0x4ce2fd=path[_0x43bfd8(0x1fb)](_0xb84882,_0x469cfc);!fs[_0x43bfd8(0x1d8)](_0x4ce2fd)&&(fs[_0x43bfd8(0x221)](_0x4ce2fd),this[_0x43bfd8(0x1b1)][_0x43bfd8(0x231)](util[_0x43bfd8(0x1bf)](_0x5e0260[_0x43bfd8(0x202)],_0x4ce2fd)));if(_0x5e0260[_0x43bfd8(0x1f9)](_0x6b5ccc['trim'](),'')){this['logger'][_0x43bfd8(0x231)](util['format'](_0x5e0260[_0x43bfd8(0x21b)]));return;}if(_0x6b5ccc[_0x43bfd8(0x1b5)](_0x5e0260[_0x43bfd8(0x21d)])||_0x6b5ccc[_0x43bfd8(0x1b5)](_0x5e0260[_0x43bfd8(0x200)])){const _0x3dd4f1=_0x6b5ccc['startsWith'](_0x5e0260['QyqEa'])?https:http,_0xcadb4f=path[_0x43bfd8(0x228)](_0x6b5ccc),_0x455b4e=path[_0x43bfd8(0x1fb)](_0x4ce2fd,_0xcadb4f),_0x27f6b2=fs[_0x43bfd8(0x229)](_0x455b4e);_0x3dd4f1['get'](_0x6b5ccc,_0x5a78b6=>{const _0x4c1ac1=_0x43bfd8;if(_0x5e0260['ookYy'](_0x5a78b6[_0x4c1ac1(0x1b8)],0xc8))_0x5a78b6[_0x4c1ac1(0x22e)](_0x27f6b2),_0x27f6b2['on'](_0x5e0260[_0x4c1ac1(0x20e)],()=>{const _0x342ded=_0x4c1ac1;_0x27f6b2[_0x342ded(0x1e8)]();const _0x3323be=fs['statSync'](_0x455b4e),_0x4072ce=_0x5e0260[_0x342ded(0x1e9)](_0x3323be[_0x342ded(0x1b9)],_0x5e0260[_0x342ded(0x22b)](0x400,0x400));if(_0x5e0260[_0x342ded(0x205)](_0x4072ce,0x64)){this['logger'][_0x342ded(0x231)](util[_0x342ded(0x1bf)](_0x5e0260[_0x342ded(0x1cb)],_0x4072ce[_0x342ded(0x1ec)](0x2))),fs['unlinkSync'](_0x455b4e);return;}this[_0x342ded(0x1b1)][_0x342ded(0x231)](util['format'](_0x5e0260[_0x342ded(0x1b6)],_0x455b4e)),uploadAttachmentsManager[_0x342ded(0x1f7)](_0x455b4e,_0x3013ec);});else{this[_0x4c1ac1(0x1b1)][_0x4c1ac1(0x231)](util[_0x4c1ac1(0x1bf)](_0x5e0260[_0x4c1ac1(0x1f4)],_0x5a78b6[_0x4c1ac1(0x1b8)])),_0x27f6b2['close'](),fs[_0x4c1ac1(0x1fd)](_0x455b4e);return;}})['on'](_0x5e0260[_0x43bfd8(0x1be)],_0x10745c=>{const _0x1e6925=_0x43bfd8;this['logger']['debug'](util['format'](_0x5e0260['EaMIe'],_0x10745c[_0x1e6925(0x220)])),_0x27f6b2[_0x1e6925(0x1e8)](),fs[_0x1e6925(0x1fd)](_0x455b4e);return;});}else{if(!fs[_0x43bfd8(0x1d8)](_0x6b5ccc)){this[_0x43bfd8(0x1b1)]['debug'](util[_0x43bfd8(0x1bf)](_0x5e0260[_0x43bfd8(0x232)],_0x6b5ccc));return;}const _0x5dc43c=fs[_0x43bfd8(0x206)](_0x6b5ccc),_0x472fe6=_0x5e0260['riHqL'](_0x5dc43c[_0x43bfd8(0x1b9)],_0x5e0260['xwAhl'](0x400,0x400));if(_0x5e0260[_0x43bfd8(0x205)](_0x472fe6,0x64)){this[_0x43bfd8(0x1b1)][_0x43bfd8(0x231)](util[_0x43bfd8(0x1bf)](_0x5e0260[_0x43bfd8(0x1ce)],_0x472fe6['toFixed'](0x2)));return;}const _0x5098cc=path['basename'](_0x6b5ccc),_0x2eb066=path[_0x43bfd8(0x1fb)](_0x4ce2fd,_0x5098cc);fs[_0x43bfd8(0x225)](_0x6b5ccc,_0x2eb066),uploadAttachmentsManager[_0x43bfd8(0x1f7)](_0x2eb066,_0x3013ec);}}static[a117_0x2435e9(0x1f7)](_0x1088c3,_0x190092){const _0x456c3a=a117_0x2435e9,_0x11229b={'JcMNI':function(_0x46c362,_0xd7cd24){return _0x46c362(_0xd7cd24);},'SlTvc':'./browserstackCLI','gGgEM':function(_0x4736f9,_0x39e50b){return _0x4736f9(_0x39e50b);},'gsSnS':_0x456c3a(0x226),'dqYPk':function(_0x147274,_0x40a343){return _0x147274===_0x40a343;},'JDWii':_0x456c3a(0x1cc),'Wuuuq':_0x456c3a(0x1c4),'zEpvr':_0x456c3a(0x22a),'qksjF':'TestLevel','IyxJQ':_0x456c3a(0x1f2),'xRfWj':function(_0x4c89eb,_0x4c0b3f){return _0x4c89eb(_0x4c0b3f);},'RcBwR':_0x456c3a(0x1fc),'RBbwV':function(_0x10c853,_0x171f29){return _0x10c853(_0x171f29);},'gpHBx':'./state/hookState','Vhgoa':_0x456c3a(0x1fe),'xqBFR':_0x456c3a(0x1ca),'bqJrA':_0x456c3a(0x1ea)};try{let _0x2f5171;const _0x2cf693=global['__workerDetails']?.['currentTest']?.[_0x456c3a(0x1c6)],_0x4f9c08=_0x11229b[_0x456c3a(0x1d2)](require,_0x11229b[_0x456c3a(0x1d0)]),_0x138e52=_0x11229b[_0x456c3a(0x21e)](require,_0x11229b['gsSnS']),_0x1cc172=_0x4f9c08[_0x456c3a(0x20b)]()['isRunning']()&&_0x11229b['dqYPk'](_0x138e52['getTestFrameworkDetail']()?.[_0x456c3a(0x22d)]?.[_0x456c3a(0x1d6)](),_0x11229b[_0x456c3a(0x1c8)]);if(_0x1cc172){_0x2f5171=global[_0x456c3a(0x1de)];if(!_0x2f5171){const _0x3412a8=AutomationFramework['getTrackedInstance']();_0x2f5171=AutomationFramework[_0x456c3a(0x1bd)](_0x3412a8,PlaywrightDriverModule[_0x456c3a(0x21a)],'');}this[_0x456c3a(0x1b1)][_0x456c3a(0x231)](_0x456c3a(0x217)+_0x2f5171);}else{if(!_0x2cf693){const _0x1b3133=AutomationFramework['getTrackedInstance']();_0x2f5171=AutomationFramework[_0x456c3a(0x1bd)](_0x1b3133,PlaywrightDriverModule['KEY_TEST_ID'],'');}else _0x2f5171=TestInfo[_0x456c3a(0x234)](_0x2cf693,_0x2cf693[_0x456c3a(0x215)]);this[_0x456c3a(0x1b1)][_0x456c3a(0x231)](_0x456c3a(0x1f8)+_0x2f5171);}if(!_0x2f5171){this[_0x456c3a(0x1b1)][_0x456c3a(0x231)](_0x11229b['Wuuuq']);return;}const _0x213712={[TestFrameworkConstants[_0x456c3a(0x1cd)]]:fs[_0x456c3a(0x206)](_0x1088c3)[_0x456c3a(0x1b9)],[TestFrameworkConstants[_0x456c3a(0x1c5)]]:path[_0x456c3a(0x228)](_0x1088c3),[TestFrameworkConstants[_0x456c3a(0x1ee)]]:_0x1088c3,[TestFrameworkConstants[_0x456c3a(0x1f5)]]:_0x190092?_0x11229b[_0x456c3a(0x1d7)]:_0x11229b[_0x456c3a(0x22f)]};if(_0x1cc172){const _0x420bc5=_0x4f9c08['getInstance']()[_0x456c3a(0x1c7)]();if(!_0x420bc5){this[_0x456c3a(0x1b1)][_0x456c3a(0x231)](_0x11229b[_0x456c3a(0x1d5)]);return;}const _0x12440f=_0x11229b[_0x456c3a(0x1ba)](require,_0x11229b['RcBwR']),_0x3aeb50=_0x11229b['RBbwV'](require,_0x11229b[_0x456c3a(0x1bb)]),_0x20f7c9=_0x420bc5[_0x456c3a(0x1db)](_0x12440f[_0x456c3a(0x21f)],_0x3aeb50[_0x456c3a(0x1ed)]);if(!_0x20f7c9){this[_0x456c3a(0x1b1)][_0x456c3a(0x231)](_0x11229b[_0x456c3a(0x1e7)]);return;}const _0x544cb7=_0x20f7c9[_0x456c3a(0x1e1)]()[_0x456c3a(0x204)](_0x2f5171)||{},_0x30ce8d=_0x544cb7[TestFrameworkConstants[_0x456c3a(0x1d1)]]||{},_0x1d2540={..._0x30ce8d};_0x1d2540[_0x1088c3]=_0x213712;const _0x2a0e76=_0x1d2540,_0x1cee79={[TestFrameworkConstants[_0x456c3a(0x1d1)]]:_0x2a0e76},_0x4101de={};_0x4101de[_0x2f5171]=_0x1cee79,_0x20f7c9[_0x456c3a(0x1e5)](_0x4101de),this[_0x456c3a(0x1b1)][_0x456c3a(0x231)]('trackFile:\x20Stored\x20attachment\x20in\x20instance\x20memory\x20for\x20testId:\x20'+_0x2f5171+_0x456c3a(0x210)+_0x1088c3);}else{const _0x3267aa=TestInfo[_0x456c3a(0x1f3)](_0x2f5171),_0x2256a8=_0x3267aa[TestFrameworkConstants[_0x456c3a(0x1d1)]]||{};_0x2256a8[_0x1088c3]=_0x213712,_0x3267aa[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]=_0x2256a8,TestInfo[_0x456c3a(0x1b4)](_0x2f5171,_0x3267aa),this[_0x456c3a(0x1b1)][_0x456c3a(0x231)]('trackFile:\x20Stored\x20attachment\x20in\x20TestInfo\x20file\x20for\x20testId:\x20'+_0x2f5171+_0x456c3a(0x210)+_0x1088c3);}this[_0x456c3a(0x1b1)][_0x456c3a(0x231)](util[_0x456c3a(0x1bf)](_0x11229b[_0x456c3a(0x207)],_0x1088c3));}catch(_0x238c93){this[_0x456c3a(0x1b1)][_0x456c3a(0x231)](util[_0x456c3a(0x1bf)](_0x11229b[_0x456c3a(0x211)],_0x238c93['message']));}}static[a117_0x2435e9(0x1c1)](){const _0x2e6adf=a117_0x2435e9,_0xb5f8bf={};_0xb5f8bf[_0x2e6adf(0x1e2)]=_0x2e6adf(0x224),_0xb5f8bf[_0x2e6adf(0x1dc)]=_0x2e6adf(0x222),_0xb5f8bf['AHksj']=_0x2e6adf(0x1e4);const _0x1fe952=_0xb5f8bf,_0x409f0a=os[_0x2e6adf(0x20d)](),_0x2f7545=path[_0x2e6adf(0x1fb)](_0x409f0a,_0x1fe952[_0x2e6adf(0x1e2)]);if(!fs[_0x2e6adf(0x1d8)](_0x2f7545))return;const _0xbc4c54=BrowserstackCLI[_0x2e6adf(0x20b)]()[_0x2e6adf(0x1b2)][_0x2e6adf(0x1df)]?.[_0x2e6adf(0x219)]?.['toObject']()?.[_0x2e6adf(0x1b7)],_0x4e1463=_0xbc4c54?path[_0x2e6adf(0x1fb)](_0x2f7545,_0xbc4c54):null;if(!_0x4e1463||!fs[_0x2e6adf(0x1d8)](_0x4e1463)){this[_0x2e6adf(0x1b1)][_0x2e6adf(0x231)](util['format'](_0x1fe952[_0x2e6adf(0x1dc)],_0xbc4c54));return;}const _0x156c43={};_0x156c43[_0x2e6adf(0x21c)]=!![],_0x156c43[_0x2e6adf(0x1bc)]=!![],fs[_0x2e6adf(0x1c9)](_0x4e1463,_0x156c43),this[_0x2e6adf(0x1b1)][_0x2e6adf(0x231)](util[_0x2e6adf(0x1bf)](_0x1fe952['AHksj']));}}function a117_0x2f29(_0x47983d,_0x5abb97){const _0x227538=a117_0x2275();return a117_0x2f29=function(_0x2f293e,_0x11f910){_0x2f293e=_0x2f293e-0x1b1;let _0x17beb9=_0x227538[_0x2f293e];return _0x17beb9;},a117_0x2f29(_0x47983d,_0x5abb97);}module[a117_0x2435e9(0x201)]=uploadAttachmentsManager;
|
|
1
|
+
const a117_0x2b7900=a117_0x8a32;(function(_0xb3d880,_0x289f9d){const _0x45cdae=a117_0x8a32,_0x3b4093=_0xb3d880();while(!![]){try{const _0x4f85ac=-parseInt(_0x45cdae(0x153))/0x1*(parseInt(_0x45cdae(0x12c))/0x2)+parseInt(_0x45cdae(0xf4))/0x3*(parseInt(_0x45cdae(0x161))/0x4)+-parseInt(_0x45cdae(0x102))/0x5+parseInt(_0x45cdae(0xfe))/0x6+-parseInt(_0x45cdae(0xfd))/0x7*(parseInt(_0x45cdae(0x147))/0x8)+parseInt(_0x45cdae(0xe9))/0x9+-parseInt(_0x45cdae(0xfa))/0xa*(-parseInt(_0x45cdae(0xfc))/0xb);if(_0x4f85ac===_0x289f9d)break;else _0x3b4093['push'](_0x3b4093['shift']());}catch(_0x2160ef){_0x3b4093['push'](_0x3b4093['shift']());}}}(a117_0x58f6,0x4008d));const os=require('os'),fs=require('fs'),path=require(a117_0x2b7900(0x167)),util=require('util'),BrowserstackCLI=require(a117_0x2b7900(0x15d)),https=require(a117_0x2b7900(0x125)),http=require(a117_0x2b7900(0x113)),AutomationFramework=require(a117_0x2b7900(0x109)),PlaywrightDriverModule=require(a117_0x2b7900(0x13e)),TestInfo=require('./TestInfo'),TestFrameworkConstants=require('./framework/constants/testFrameworkConstants'),{createClassLogger}=require(a117_0x2b7900(0x15f));function a117_0x58f6(){const _0xcc6fa4=['File\x20size\x20is\x20too\x20large\x20(%s\x20MB).\x20Skipping\x20upload.','homedir','HQzll','kUowC','35ehGLeg','trackFile:\x20TestFramework\x20not\x20available,\x20cannot\x20track\x20attachment','getTestFramework','getTrackedInstance','POST',',\x20filepath:\x20','fUjBZ','ioGNv','trackFile:\x20Instance\x20not\x20available,\x20cannot\x20track\x20attachment','tRTct','./browserstackCLI','trackFile:\x20No\x20testId\x20available,\x20cannot\x20track\x20attachment','../../helpers/classLogger.js','existsSync','6388WvQOFY','AQFMs','.browserstack','gpDIS','trackFile:\x20Cucumber+Playwright\x20-\x20testId:\x20','http://','path','createWriteStream','message','resolveInstance','addMultipleEntries','startsWith','KEY_FILE_NAME','ZogNM','4264596Nlaldi','exports','getInstance','vykJq','vfYRH','debug','JnbQn','getTestFrameworkDetail','modules','getState','testhubConfig','105JAHPJr','IyOKY','Downloaded\x20file\x20is\x20too\x20large\x20(%s\x20MB).\x20Deleting\x20file\x20and\x20skipping\x20upload.','bMsjZ','eGpPi','RwZQj','111770CBDSCG','close','253lBlVua','2086cxHWSc','841254zeBzKm','get','finish','getTestIdentifierFromTestInfo','920440OmFqhk','TvRby','jest','TestHubModule','Created\x20folder:\x20%s','unlinkSync','retry','./framework/automationFramework','currentTest','File\x20downloaded\x20to:\x20%s','size','ggrlP','mBeHW','Created\x20.browserstack\x20folder\x20at:\x20%s','trackFile:\x20Stored\x20attachment\x20in\x20TestInfo\x20file\x20for\x20testId:\x20','TEST','VAIIr','http','buildHashedId','KEY_TEST_ATTACHMENTS','PaQRx','uploadAttachments','logger','testInfo','.browserstack\x20folder\x20not\x20found\x20at:\x20%s','rfQRr','rmSync','copyFileSync','FtyOe','toFixed','KEY_FILE_PATH','OLCTI','Attachment\x20file\x20tracked\x20for\x20upload:\x20%s','toLowerCase','toObject','https','statSync','mkdirSync','isRunning','setTestDetails','bGEok','NlFTL','4528JyhFwn','format','Failed\x20to\x20download\x20file.\x20Status\x20code:\x20%s,\x20skipping\x20upload','Error\x20downloading\x20file:\x20%s,\x20skipping\x20upload','Qecrv','basename','statusCode','trackFile','join','Error\x20tracking\x20file:\x20%s,\x20skipping\x20upload','https://','vFpuk','aVgbb','lXhLR','KEY_FILE_SIZE','getTestDetails','LDgZs','XdFSA','./modules/playwrightDriverModule','BuildLevel','name','clearAttachments','ZBhoj','trim','KEY_TEST_ID','FhFkI','Cleared\x20attachment\x20folder','10776LbSqrO','recursive','getAllData','DZLMk','TestLevel','Attachment\x20recevied\x20for\x20path:\x20%s','vECoR','pipe'];a117_0x58f6=function(){return _0xcc6fa4;};return a117_0x58f6();}function a117_0x8a32(_0x1a89f0,_0x17e48f){const _0x58f616=a117_0x58f6();return a117_0x8a32=function(_0x8a32c3,_0x4bc613){_0x8a32c3=_0x8a32c3-0xe4;let _0x312b0c=_0x58f616[_0x8a32c3];return _0x312b0c;},a117_0x8a32(_0x1a89f0,_0x17e48f);}class uploadAttachmentsManager{static [a117_0x2b7900(0x118)]=createClassLogger('uploadAttachmentsManager');static[a117_0x2b7900(0x117)](_0x375d70,_0x23e343=![]){const _0x44818a=a117_0x2b7900,_0x4b9404={};_0x4b9404[_0x44818a(0x14a)]=function(_0x443cb6,_0x5916f0){return _0x443cb6/_0x5916f0;},_0x4b9404[_0x44818a(0xf7)]=function(_0x525307,_0x3bdfc6){return _0x525307*_0x3bdfc6;},_0x4b9404[_0x44818a(0x15c)]=function(_0x18fa00,_0x3d12eb){return _0x18fa00>_0x3d12eb;},_0x4b9404[_0x44818a(0x112)]=_0x44818a(0xf6),_0x4b9404[_0x44818a(0x116)]=_0x44818a(0x10b),_0x4b9404[_0x44818a(0x11b)]=function(_0x8d8d08,_0x21ce84){return _0x8d8d08===_0x21ce84;},_0x4b9404[_0x44818a(0x130)]=_0x44818a(0x100),_0x4b9404[_0x44818a(0xf8)]=_0x44818a(0x12e),_0x4b9404[_0x44818a(0x139)]=_0x44818a(0x12f),_0x4b9404[_0x44818a(0x145)]=_0x44818a(0x14c),_0x4b9404[_0x44818a(0x15a)]=_0x44818a(0x163),_0x4b9404[_0x44818a(0x13d)]=_0x44818a(0x11a),_0x4b9404[_0x44818a(0x164)]=_0x44818a(0x10f),_0x4b9404['RwZQj']=_0x44818a(0x106),_0x4b9404[_0x44818a(0x12b)]=function(_0x213059,_0x231f7e){return _0x213059===_0x231f7e;},_0x4b9404[_0x44818a(0xf5)]='Attachment\x20file\x20path\x20is\x20empty,\x20skipping\x20upload.',_0x4b9404[_0x44818a(0xe8)]=_0x44818a(0x136),_0x4b9404['zOJgf']=_0x44818a(0x166),_0x4b9404['TvRby']='error',_0x4b9404[_0x44818a(0x162)]='Attachment\x20file\x20does\x20not\x20exist\x20at:\x20%s',_0x4b9404[_0x44818a(0x142)]=function(_0x23b9fe,_0x7940d9){return _0x23b9fe/_0x7940d9;},_0x4b9404[_0x44818a(0x10d)]=function(_0x4e5949,_0x593722){return _0x4e5949*_0x593722;},_0x4b9404[_0x44818a(0x138)]=_0x44818a(0x14f);const _0x3d7480=_0x4b9404;this['logger'][_0x44818a(0xee)](util[_0x44818a(0x12d)](_0x3d7480['FhFkI'],_0x375d70));const _0x255901=os[_0x44818a(0x150)](),_0x31603b=path[_0x44818a(0x134)](_0x255901,_0x3d7480[_0x44818a(0x15a)]);!fs[_0x44818a(0x160)](_0x31603b)&&(this[_0x44818a(0x118)][_0x44818a(0xee)](util[_0x44818a(0x12d)](_0x3d7480['XdFSA'],_0x31603b)),fs[_0x44818a(0x127)](_0x31603b),this[_0x44818a(0x118)][_0x44818a(0xee)](util['format'](_0x3d7480[_0x44818a(0x164)],_0x31603b)));const _0x438451=BrowserstackCLI[_0x44818a(0xeb)]()[_0x44818a(0xf1)][_0x44818a(0x105)]?.[_0x44818a(0xf3)]?.['toObject']()?.[_0x44818a(0x114)],_0xf6c3d3=path[_0x44818a(0x134)](_0x31603b,_0x438451);!fs[_0x44818a(0x160)](_0xf6c3d3)&&(fs[_0x44818a(0x127)](_0xf6c3d3),this[_0x44818a(0x118)][_0x44818a(0xee)](util['format'](_0x3d7480[_0x44818a(0xf9)],_0xf6c3d3)));if(_0x3d7480[_0x44818a(0x12b)](_0x375d70[_0x44818a(0x143)](),'')){this[_0x44818a(0x118)][_0x44818a(0xee)](util['format'](_0x3d7480[_0x44818a(0xf5)]));return;}if(_0x375d70[_0x44818a(0xe6)](_0x3d7480[_0x44818a(0xe8)])||_0x375d70[_0x44818a(0xe6)](_0x3d7480['zOJgf'])){const _0x488058=_0x375d70[_0x44818a(0xe6)](_0x3d7480[_0x44818a(0xe8)])?https:http,_0x211fd1=path['basename'](_0x375d70),_0x583eb4=path['join'](_0xf6c3d3,_0x211fd1),_0x155db8=fs[_0x44818a(0x168)](_0x583eb4);_0x488058[_0x44818a(0xff)](_0x375d70,_0x3c4081=>{const _0x512f41=_0x44818a;if(_0x3d7480[_0x512f41(0x11b)](_0x3c4081['statusCode'],0xc8))_0x3c4081[_0x512f41(0x14e)](_0x155db8),_0x155db8['on'](_0x3d7480['Qecrv'],()=>{const _0x2ee4f8=_0x512f41;_0x155db8['close']();const _0x279ad0=fs['statSync'](_0x583eb4),_0x14a242=_0x3d7480[_0x2ee4f8(0x14a)](_0x279ad0['size'],_0x3d7480[_0x2ee4f8(0xf7)](0x400,0x400));if(_0x3d7480[_0x2ee4f8(0x15c)](_0x14a242,0x64)){this['logger'][_0x2ee4f8(0xee)](util[_0x2ee4f8(0x12d)](_0x3d7480[_0x2ee4f8(0x112)],_0x14a242[_0x2ee4f8(0x11f)](0x2))),fs[_0x2ee4f8(0x107)](_0x583eb4);return;}this[_0x2ee4f8(0x118)][_0x2ee4f8(0xee)](util[_0x2ee4f8(0x12d)](_0x3d7480['PaQRx'],_0x583eb4)),uploadAttachmentsManager[_0x2ee4f8(0x133)](_0x583eb4,_0x23e343);});else{this[_0x512f41(0x118)][_0x512f41(0xee)](util[_0x512f41(0x12d)](_0x3d7480[_0x512f41(0xf8)],_0x3c4081[_0x512f41(0x132)])),_0x155db8[_0x512f41(0xfb)](),fs[_0x512f41(0x107)](_0x583eb4);return;}})['on'](_0x3d7480[_0x44818a(0x103)],_0x4ecb56=>{const _0x1a8337=_0x44818a;this['logger'][_0x1a8337(0xee)](util[_0x1a8337(0x12d)](_0x3d7480[_0x1a8337(0x139)],_0x4ecb56['message'])),_0x155db8['close'](),fs[_0x1a8337(0x107)](_0x583eb4);return;});}else{if(!fs['existsSync'](_0x375d70)){this[_0x44818a(0x118)][_0x44818a(0xee)](util['format'](_0x3d7480[_0x44818a(0x162)],_0x375d70));return;}const _0x327e1c=fs['statSync'](_0x375d70),_0x26d78e=_0x3d7480[_0x44818a(0x142)](_0x327e1c['size'],_0x3d7480[_0x44818a(0x10d)](0x400,0x400));if(_0x3d7480['tRTct'](_0x26d78e,0x64)){this[_0x44818a(0x118)][_0x44818a(0xee)](util[_0x44818a(0x12d)](_0x3d7480[_0x44818a(0x138)],_0x26d78e[_0x44818a(0x11f)](0x2)));return;}const _0x40d9ef=path['basename'](_0x375d70),_0x40dbe2=path[_0x44818a(0x134)](_0xf6c3d3,_0x40d9ef);fs[_0x44818a(0x11d)](_0x375d70,_0x40dbe2),uploadAttachmentsManager[_0x44818a(0x133)](_0x40dbe2,_0x23e343);}}static[a117_0x2b7900(0x133)](_0x2b5951,_0x3001f4){const _0x2def3b=a117_0x2b7900,_0xb2a832={'vfYRH':function(_0x2c7600,_0xae333){return _0x2c7600(_0xae333);},'JnbQn':_0x2def3b(0x15d),'szZgD':'./cliUtils','OpEqR':function(_0x5b8fe4,_0x4643ab){return _0x5b8fe4===_0x4643ab;},'mBeHW':_0x2def3b(0x104),'vFpuk':_0x2def3b(0x15e),'bGEok':_0x2def3b(0x13f),'HQzll':_0x2def3b(0x14b),'ThRCj':_0x2def3b(0x154),'FtyOe':'./state/testFrameworkState','OLCTI':'./state/hookState','pxCnW':_0x2def3b(0x15b),'vykJq':_0x2def3b(0x122),'LDgZs':_0x2def3b(0x135)};try{let _0x2f74c1;const _0x4c7810=global['__workerDetails']?.[_0x2def3b(0x10a)]?.[_0x2def3b(0x119)],_0x37cc77=_0xb2a832[_0x2def3b(0xed)](require,_0xb2a832[_0x2def3b(0xef)]),_0x40d16a=_0xb2a832[_0x2def3b(0xed)](require,_0xb2a832['szZgD']),_0x11802f=_0x37cc77['getInstance']()[_0x2def3b(0x128)]()&&_0xb2a832['OpEqR'](_0x40d16a[_0x2def3b(0xf0)]()?.[_0x2def3b(0x140)]?.[_0x2def3b(0x123)](),_0xb2a832[_0x2def3b(0x10e)]);if(_0x11802f){_0x2f74c1=global['__jestCurrentTestIdentifier'];if(!_0x2f74c1){const _0x6cec70=AutomationFramework[_0x2def3b(0x156)]();_0x2f74c1=AutomationFramework[_0x2def3b(0xf2)](_0x6cec70,PlaywrightDriverModule['KEY_TEST_ID'],'');}this['logger'][_0x2def3b(0xee)]('trackFile:\x20Jest+Playwright\x20-\x20testId\x20(testIdentifier):\x20'+_0x2f74c1);}else{if(!_0x4c7810){const _0x7697f=AutomationFramework['getTrackedInstance']();_0x2f74c1=AutomationFramework['getState'](_0x7697f,PlaywrightDriverModule[_0x2def3b(0x144)],'');}else _0x2f74c1=TestInfo[_0x2def3b(0x101)](_0x4c7810,_0x4c7810[_0x2def3b(0x108)]);this[_0x2def3b(0x118)][_0x2def3b(0xee)](_0x2def3b(0x165)+_0x2f74c1);}if(!_0x2f74c1){this['logger'][_0x2def3b(0xee)](_0xb2a832[_0x2def3b(0x137)]);return;}const _0xc970b={[TestFrameworkConstants[_0x2def3b(0x13a)]]:fs[_0x2def3b(0x126)](_0x2b5951)[_0x2def3b(0x10c)],[TestFrameworkConstants[_0x2def3b(0xe7)]]:path[_0x2def3b(0x131)](_0x2b5951),[TestFrameworkConstants[_0x2def3b(0x120)]]:_0x2b5951,[TestFrameworkConstants['KEY_FILE_LEVEL']]:_0x3001f4?_0xb2a832[_0x2def3b(0x12a)]:_0xb2a832[_0x2def3b(0x151)]};if(_0x11802f){const _0xd4ba4=_0x37cc77[_0x2def3b(0xeb)]()[_0x2def3b(0x155)]();if(!_0xd4ba4){this[_0x2def3b(0x118)][_0x2def3b(0xee)](_0xb2a832['ThRCj']);return;}const _0x11f679=_0xb2a832[_0x2def3b(0xed)](require,_0xb2a832[_0x2def3b(0x11e)]),_0x232d4b=_0xb2a832[_0x2def3b(0xed)](require,_0xb2a832[_0x2def3b(0x121)]),_0x3cc952=_0xd4ba4[_0x2def3b(0xe4)](_0x11f679[_0x2def3b(0x111)],_0x232d4b[_0x2def3b(0x157)]);if(!_0x3cc952){this['logger'][_0x2def3b(0xee)](_0xb2a832['pxCnW']);return;}const _0x3fe367=_0x3cc952[_0x2def3b(0x149)]()[_0x2def3b(0xff)](_0x2f74c1)||{},_0x2e5145=_0x3fe367[TestFrameworkConstants[_0x2def3b(0x115)]]||{},_0x5e2350={..._0x2e5145};_0x5e2350[_0x2b5951]=_0xc970b;const _0x187a73=_0x5e2350,_0x1ee667={[TestFrameworkConstants[_0x2def3b(0x115)]]:_0x187a73},_0x2ceb7d={};_0x2ceb7d[_0x2f74c1]=_0x1ee667,_0x3cc952[_0x2def3b(0xe5)](_0x2ceb7d),this[_0x2def3b(0x118)][_0x2def3b(0xee)]('trackFile:\x20Stored\x20attachment\x20in\x20instance\x20memory\x20for\x20testId:\x20'+_0x2f74c1+_0x2def3b(0x158)+_0x2b5951);}else{const _0x3ad167=TestInfo[_0x2def3b(0x13b)](_0x2f74c1),_0xab91d1=_0x3ad167[TestFrameworkConstants[_0x2def3b(0x115)]]||{};_0xab91d1[_0x2b5951]=_0xc970b,_0x3ad167[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]=_0xab91d1,TestInfo[_0x2def3b(0x129)](_0x2f74c1,_0x3ad167),this[_0x2def3b(0x118)][_0x2def3b(0xee)](_0x2def3b(0x110)+_0x2f74c1+_0x2def3b(0x158)+_0x2b5951);}this['logger']['debug'](util[_0x2def3b(0x12d)](_0xb2a832[_0x2def3b(0xec)],_0x2b5951));}catch(_0x5bcd07){this['logger']['debug'](util[_0x2def3b(0x12d)](_0xb2a832[_0x2def3b(0x13c)],_0x5bcd07[_0x2def3b(0x169)]));}}static[a117_0x2b7900(0x141)](){const _0x1585cb=a117_0x2b7900,_0x13d178={};_0x13d178[_0x1585cb(0x159)]='.browserstack',_0x13d178[_0x1585cb(0x152)]='No\x20attachment\x20folder\x20found\x20for\x20testhubID:\x20%s',_0x13d178['vECoR']=_0x1585cb(0x146);const _0x5ed5a0=_0x13d178,_0x301526=os[_0x1585cb(0x150)](),_0xf43ec3=path[_0x1585cb(0x134)](_0x301526,_0x5ed5a0[_0x1585cb(0x159)]);if(!fs['existsSync'](_0xf43ec3))return;const _0xecf418=BrowserstackCLI[_0x1585cb(0xeb)]()[_0x1585cb(0xf1)]['TestHubModule']?.[_0x1585cb(0xf3)]?.[_0x1585cb(0x124)]()?.['buildHashedId'],_0x27d85e=_0xecf418?path[_0x1585cb(0x134)](_0xf43ec3,_0xecf418):null;if(!_0x27d85e||!fs[_0x1585cb(0x160)](_0x27d85e)){this[_0x1585cb(0x118)][_0x1585cb(0xee)](util[_0x1585cb(0x12d)](_0x5ed5a0[_0x1585cb(0x152)],_0xecf418));return;}const _0xef07de={};_0xef07de[_0x1585cb(0x148)]=!![],_0xef07de['force']=!![],fs[_0x1585cb(0x11c)](_0x27d85e,_0xef07de),this[_0x1585cb(0x118)][_0x1585cb(0xee)](util[_0x1585cb(0x12d)](_0x5ed5a0[_0x1585cb(0x14d)]));}}module[a117_0x2b7900(0xea)]=uploadAttachmentsManager;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a118_0x34b0(){const _0x1449b2=['../TestInfo.js','JTpTe','Exception\x20in\x20createHookData:\x20','getTestUUID','pQZVl','duration_in_ms','toLowerCase','NllCV','backtrace','../../../helpers/logger.js','sendTestRunEventForCucumber','javascript','filter','uri','tEDdC','failure_reason','testStepFinished','Exception\x20in\x20getHookRunEventData:\x20','scenario','PzXnC','value','12151696SalWam','createHookData','forEach','QmwTa','getScenarioExamples','ESrXT','BpmQI','timestamp','XofUU','failureData','push','AFTER_EACH','message','failure_type','getCucumberHookType','ntrfY','1091106gGeZyX','1aqhutZ','168zAnRVr','HookRunFinished','../../../helpers/test-observability/error-handler.js','tozFW','lJCnS','cells','NPcfW','_gitConfigured','feature','tags','sourceReference','68484gfjniJ','cucumber','../../../helpers/helper.js','90feskRX','AssertionError','_gitConfigPath','HozEv','XeLeM','Ehybs','qedtk','jyEnO','RjEvX','getHookResult','find','YmpqA','map','6635825aUdMsL','examples','test','hookId','epzPC','rule','bsyxF','unknown','format','HookRunStarted','ElxZJ','debug','nDalR','passed','2293790TKWeGR','failure_data','exception','join','jyCLZ','split','lrQcB','createTestFrameworkData','result','fqjxS','astNodeIds','every','JEEYx','flatMap','length','finishedAt','failure','Dczhd','rphta','toISOString','pickleStepId','tagExpression','YwDmf','bstack','status','fBXtp','toString','JpaXr','nanos','dCvlF','failureType','children','tableBody','ARIzq','match','testCaseFinished','relative','path','PrqSV','pending','strip-ansi','dCOrh','sXlHz','includes','tBucm','8890532oxvafy','configureGit','name','SsETl','OjNZT','1412978gIRyyf','aRPff','TqmLd','rcWWH','failed','hooks'];a118_0x34b0=function(){return _0x1449b2;};return a118_0x34b0();}const a118_0x2ae370=a118_0x3950;function a118_0x3950(_0x5ca734,_0x617206){const _0x34b03c=a118_0x34b0();return a118_0x3950=function(_0x3950f9,_0x85064e){_0x3950f9=_0x3950f9-0x141;let _0xa122f4=_0x34b03c[_0x3950f9];return _0xa122f4;},a118_0x3950(_0x5ca734,_0x617206);}(function(_0x2425db,_0x252981){const _0x20ac23=a118_0x3950,_0x4a156c=_0x2425db();while(!![]){try{const _0x1dd5e0=parseInt(_0x20ac23(0x1a7))/0x1*(parseInt(_0x20ac23(0x17b))/0x2)+parseInt(_0x20ac23(0x1b3))/0x3*(-parseInt(_0x20ac23(0x1a8))/0x4)+parseInt(_0x20ac23(0x1c3))/0x5+parseInt(_0x20ac23(0x1a6))/0x6+-parseInt(_0x20ac23(0x176))/0x7+-parseInt(_0x20ac23(0x196))/0x8+-parseInt(_0x20ac23(0x1b6))/0x9*(-parseInt(_0x20ac23(0x149))/0xa);if(_0x1dd5e0===_0x252981)break;else _0x4a156c['push'](_0x4a156c['shift']());}catch(_0x5e8e15){_0x4a156c['push'](_0x4a156c['shift']());}}}(a118_0x34b0,0xb9e89));const path=require(a118_0x2ae370(0x16e)),util=require('util'),{getGitMetaData,isUndefined,nestedKeyValue}=require(a118_0x2ae370(0x1b5)),logger=require(a118_0x2ae370(0x18a))['winstonLogger'],{o11yClassErrorHandler}=require(a118_0x2ae370(0x1aa)),TestInfo=require(a118_0x2ae370(0x181)),hooksMap={};class CucumberUtils{constructor(){const _0x15e6a7=a118_0x2ae370;this['_gitConfigured']=![],this[_0x15e6a7(0x1b8)]=null;}async[a118_0x2ae370(0x150)](_0x40f740,_0x459afd,_0x1ad4e2,_0x5d1dd3,_0x36482a,_0x460d2e){const _0x4a56e4=a118_0x2ae370,_0x571991={'jyCLZ':function(_0x1fc63f,_0x1bd4d){return _0x1fc63f===_0x1bd4d;},'NPcfW':'FAILED','fqjxS':_0x4a56e4(0x17f),'nDalR':function(_0x5608cc,_0xfcdb39){return _0x5608cc===_0xfcdb39;},'YwDmf':'SKIPPED','qedtk':'skipped','BpmQI':function(_0x4a247e,_0x2ef6f7){return _0x4a247e||_0x2ef6f7;},'PzXnC':function(_0x133640,_0x22b1ee){return _0x133640+_0x22b1ee;},'LonrW':_0x4a56e4(0x1c5),'sHmZW':_0x4a56e4(0x18c),'ElxZJ':'cucumber','QmwTa':_0x4a56e4(0x170),'fBXtp':_0x4a56e4(0x148),'QzaJN':function(_0x37bf86,_0x1b6df8){return _0x37bf86!==_0x1b6df8;},'tozFW':function(_0x417696,_0x2e4b59){return _0x417696/_0x2e4b59;},'bKewf':function(_0x69f4,_0x226368){return _0x69f4===_0x226368;},'wQHJE':_0x4a56e4(0x171),'aRPff':function(_0x6858b9,_0xbd5645){return _0x6858b9(_0xbd5645);},'YmpqA':_0x4a56e4(0x142),'NllCV':_0x4a56e4(0x1b7),'Dczhd':'UnhandledError'},{feature:_0x5ee34b,scenario:_0x114cd1,steps:_0x509212,uuid:_0x2df84d,startedAt:_0xe64663,finishedAt:_0x2eade4}=_0x571991[_0x4a56e4(0x19c)](_0x40f740,{}),_0x5ce89=this[_0x4a56e4(0x19a)](_0x5d1dd3,_0x459afd);await this[_0x4a56e4(0x177)]();const _0x7c1a50=_0x5ce89?_0x571991[_0x4a56e4(0x194)](_0x571991[_0x4a56e4(0x194)](_0x571991[_0x4a56e4(0x194)](_0x459afd[_0x4a56e4(0x178)],'\x20('),_0x5ce89[_0x4a56e4(0x14c)](',\x20')),')'):_0x459afd[_0x4a56e4(0x178)],_0x5ccf32={'id':_0x36482a,'uuid':_0x36482a,'startedAt':_0xe64663,'finishedAt':_0x2eade4,'type':_0x571991['LonrW'],'body':{'lang':_0x571991['sHmZW'],'code':null},'name':_0x7c1a50,'scopes':[_0x5ee34b&&_0x5ee34b[_0x4a56e4(0x178)]?_0x5ee34b['name']:''],'tags':_0x459afd[_0x4a56e4(0x1b1)]?_0x459afd[_0x4a56e4(0x1b1)]['map'](({name:_0x573abd})=>_0x573abd):[],'file_name':_0x459afd[_0x4a56e4(0x18e)],'location':_0x459afd['uri'],'vc_filepath':this[_0x4a56e4(0x1b8)]&&_0x459afd[_0x4a56e4(0x18e)]?path[_0x4a56e4(0x16d)](this[_0x4a56e4(0x1b8)],_0x459afd['uri']):null,'framework':_0x571991[_0x4a56e4(0x145)],'result':_0x571991[_0x4a56e4(0x199)],'meta':{'feature':_0x5ee34b,'scenario':_0x114cd1,'steps':_0x509212,'examples':_0x5ce89},'customRerunParam':{'rerun_name':_0x7c1a50}};if(_0x1ad4e2[_0x4a56e4(0x16c)]&&_0x509212){const _0xe41cc2=_0x1ad4e2[_0x4a56e4(0x16c)];let _0x2b2ce4=_0x571991[_0x4a56e4(0x162)];_0x509212[_0x4a56e4(0x154)](_0x54bb7d=>{const _0x445809=_0x4a56e4;if(_0x571991[_0x445809(0x14d)](_0x54bb7d[_0x445809(0x151)],_0x571991[_0x445809(0x1ae)]))return _0x2b2ce4=_0x571991[_0x445809(0x152)],_0xe41cc2['failure']=_0x54bb7d[_0x445809(0x159)],_0xe41cc2[_0x445809(0x167)]=_0x54bb7d[_0x445809(0x167)],![];else{if(_0x571991[_0x445809(0x147)](_0x54bb7d[_0x445809(0x151)],_0x571991[_0x445809(0x15f)]))return _0x2b2ce4=_0x571991[_0x445809(0x1bc)],![];}return!![];}),_0x5ccf32[_0x4a56e4(0x158)]=new Date()['toISOString'](),_0x5ccf32[_0x4a56e4(0x151)]=_0x2b2ce4;_0xe41cc2[_0x4a56e4(0x19d)]&&_0x571991['QzaJN'](_0xe41cc2[_0x4a56e4(0x19d)][_0x4a56e4(0x165)],undefined)?_0x5ccf32[_0x4a56e4(0x186)]=_0x571991[_0x4a56e4(0x1ab)](_0xe41cc2[_0x4a56e4(0x19d)][_0x4a56e4(0x165)],0xf4240):_0x5ccf32[_0x4a56e4(0x186)]=undefined;if(_0x571991['bKewf'](_0x2b2ce4,_0x571991[_0x4a56e4(0x152)])){const {default:_0x4f2bf1}=await import(_0x571991['wQHJE']);_0x5ccf32[_0x4a56e4(0x159)]=[{'backtrace':[_0xe41cc2['failure']?_0x571991[_0x4a56e4(0x17c)](_0x4f2bf1,_0xe41cc2[_0x4a56e4(0x159)]):_0x571991[_0x4a56e4(0x1c1)]]}],_0x5ccf32[_0x4a56e4(0x190)]=_0xe41cc2['failure']?_0x571991['aRPff'](_0x4f2bf1,_0xe41cc2[_0x4a56e4(0x159)]):_0xe41cc2['message'],_0xe41cc2[_0x4a56e4(0x167)]&&(_0x5ccf32[_0x4a56e4(0x1a3)]=_0xe41cc2[_0x4a56e4(0x167)][_0x4a56e4(0x16b)](/AssertError/)?_0x571991[_0x4a56e4(0x188)]:_0x571991[_0x4a56e4(0x15a)]);}}return _0x5ccf32;}['getHookRunEventData'](_0x1a6793,_0x41da34,_0x3d8c97,_0x46ed2a,_0x257ad7,_0x24cbc0){const _0x41acb1=a118_0x2ae370,_0x11ecf4={'bsyxF':function(_0x4ad2fb,_0x54f205){return _0x4ad2fb===_0x54f205;},'pQZVl':_0x41acb1(0x1a9),'lrQcB':function(_0x3d946e,_0x290bcd,_0x2ab617){return _0x3d946e(_0x290bcd,_0x2ab617);},'HozEv':_0x41acb1(0x1b2),'ESrXT':_0x41acb1(0x18e),'pwwDs':_0x41acb1(0x170),'TqmLd':'hook','PrqSV':_0x41acb1(0x18c),'lJCnS':_0x41acb1(0x1b0),'NcwZL':_0x41acb1(0x178),'ARIzq':function(_0x22451a,_0x27e817,_0x508c0a){return _0x22451a(_0x27e817,_0x508c0a);},'Fybhu':_0x41acb1(0x1b4)};try{if(_0x11ecf4[_0x41acb1(0x141)](_0x3d8c97,_0x11ecf4[_0x41acb1(0x185)])){const _0x29b238=new Date()[_0x41acb1(0x15c)](),_0x5bfb5b=hooksMap[_0x41da34];if(!_0x5bfb5b)return;const _0x1a99a9=_0x5bfb5b[_0x41acb1(0x1c0)](_0x59c399=>_0x59c399['uuid']===_0x46ed2a['id']);if(!_0x1a99a9)return;const _0x1fce63=this['getHookResult'](_0x1a6793,_0x41da34);_0x1a99a9[_0x41acb1(0x151)]=_0x1fce63[_0x41acb1(0x161)],_0x1a99a9['finished_at']=_0x29b238,_0x1a99a9[_0x41acb1(0x1a3)]=_0x1fce63[_0x41acb1(0x167)];const _0x29db98={};return _0x29db98[_0x41acb1(0x189)]=_0x1fce63[_0x41acb1(0x19f)],_0x1a99a9[_0x41acb1(0x14a)]=[_0x29db98],_0x1a99a9;}const _0x1488e9=TestInfo[_0x41acb1(0x184)](_0x41da34),_0x172263=_0x1a6793[_0x41acb1(0x180)][_0x41acb1(0x1c0)](_0x3c966f=>_0x3c966f['id']===_0x46ed2a['hookId']),_0x266dc0=_0x11ecf4[_0x41acb1(0x14f)](nestedKeyValue,_0x172263,[_0x11ecf4[_0x41acb1(0x1b9)],_0x11ecf4[_0x41acb1(0x19b)]]),_0x1b0c4d=new Date()[_0x41acb1(0x15c)](),_0xb20965=_0x11ecf4['pwwDs'],_0x4defec=_0x172263[_0x41acb1(0x15e)]?_0x172263[_0x41acb1(0x15e)][_0x41acb1(0x14e)]('\x20')[_0x41acb1(0x18d)](_0x5968e6=>_0x5968e6[_0x41acb1(0x174)]('@')):[],_0x5a3942={'uuid':_0x46ed2a['id'],'type':_0x11ecf4[_0x41acb1(0x17d)],'hook_type':_0x24cbc0,'name':_0x172263[_0x41acb1(0x178)],'body':{'lang':_0x11ecf4[_0x41acb1(0x16f)],'code':null},'tags':_0x4defec,'test_run_id':_0x1488e9,'scope':_0x11ecf4['lrQcB'](nestedKeyValue,_0x257ad7,[_0x11ecf4[_0x41acb1(0x1ac)],_0x11ecf4['NcwZL']]),'scopes':[_0x11ecf4[_0x41acb1(0x16a)](nestedKeyValue,_0x257ad7,[_0x11ecf4[_0x41acb1(0x1ac)],_0x11ecf4['NcwZL']])||''],'file_name':_0x266dc0,'location':_0x266dc0,'vc_filepath':this[_0x41acb1(0x1b8)]?path['relative'](this['_gitConfigPath'],_0x266dc0):null,'result':_0xb20965,'started_at':_0x1b0c4d,'framework':_0x11ecf4['Fybhu']};return _0x5a3942;}catch(_0x5559e0){logger['debug'](_0x41acb1(0x192)+util[_0x41acb1(0x143)](_0x5559e0)+'\x20');}}async[a118_0x2ae370(0x197)](_0x2b5748,_0x122ca0,_0x567807,_0x15a81a,_0x19aa11,_0x20f0e7){const _0x38d80b=a118_0x2ae370,_0x330495={'sXlHz':function(_0x3087dd,_0x41ba8e){return _0x3087dd===_0x41ba8e;},'JTpTe':_0x38d80b(0x144),'tEDdC':function(_0x50c917,_0x3086e5,_0x13ae52){return _0x50c917(_0x3086e5,_0x13ae52);},'jyEnO':'sourceReference','RjEvX':_0x38d80b(0x18e),'OjNZT':'browserstack-node-agent/src/bin/cucumber-js/test.setup.js','uDaOC':function(_0x5b7f25,_0x244b31){return _0x5b7f25===_0x244b31;},'nDsaO':_0x38d80b(0x160)};try{const _0xf18918=_0x15a81a[_0x38d80b(0x1c0)](_0x3e254b=>_0x3e254b['id']===_0x19aa11);if(!_0xf18918[_0x38d80b(0x1c6)])return;const _0x192dcc=this[_0x38d80b(0x1a4)](_0x15a81a,_0xf18918),_0x579955=this['getHookRunEventData'](_0x2b5748,_0x122ca0,_0x567807,_0xf18918,_0x20f0e7,_0x192dcc);if(!_0x579955)return;_0x330495[_0x38d80b(0x173)](_0x567807,_0x330495[_0x38d80b(0x182)])&&(hooksMap[_0x122ca0]?hooksMap[_0x122ca0][_0x38d80b(0x1a0)](_0x579955):hooksMap[_0x122ca0]=[_0x579955]);const _0x429d36=_0x2b5748[_0x38d80b(0x180)]['find'](_0x1c9f0b=>_0x1c9f0b['id']===_0xf18918['hookId']),_0x26fa26=_0x330495[_0x38d80b(0x18f)](nestedKeyValue,_0x429d36,[_0x330495[_0x38d80b(0x1bd)],_0x330495[_0x38d80b(0x1be)]]);if(!_0x26fa26)return;else{if(_0x26fa26['includes'](_0x330495[_0x38d80b(0x17a)]))return;}if(_0x330495['uDaOC'](_0x579955[_0x38d80b(0x178)],_0x330495['nDsaO']))return;return _0x579955;}catch(_0x2194fe){logger[_0x38d80b(0x146)](_0x38d80b(0x183)+util[_0x38d80b(0x143)](_0x2194fe)+'\x20');}}[a118_0x2ae370(0x1bf)](_0x1859d4,_0x627032){const _0x35972e=a118_0x2ae370,_0x4831d6={};_0x4831d6[_0x35972e(0x166)]=function(_0x556606,_0x35bd5d){return _0x556606===_0x35bd5d;},_0x4831d6[_0x35972e(0x1ba)]=_0x35972e(0x17f),_0x4831d6[_0x35972e(0x19e)]=function(_0x17daa1,_0xc93ab0){return _0x17daa1===_0xc93ab0;},_0x4831d6[_0x35972e(0x164)]='UnhandledError',_0x4831d6[_0x35972e(0x155)]='AssertionError',_0x4831d6[_0x35972e(0x17e)]=function(_0x433b8b,_0x340202){return _0x433b8b||_0x340202;};const _0x1c8842=_0x4831d6,_0x34701c=_0x1859d4[_0x35972e(0x191)][_0x627032]['testStepResult'];let _0x189705,_0x1392aa;return _0x34701c&&_0x1c8842[_0x35972e(0x166)](_0x34701c['status'][_0x35972e(0x163)]()[_0x35972e(0x187)](),_0x1c8842[_0x35972e(0x1ba)])&&(_0x189705=_0x1c8842[_0x35972e(0x166)](_0x34701c['exception'],undefined)?_0x34701c[_0x35972e(0x1a2)]:_0x34701c['exception'][_0x35972e(0x1a2)],_0x1392aa=_0x1c8842[_0x35972e(0x19e)](_0x34701c[_0x35972e(0x14b)],undefined)?_0x1c8842[_0x35972e(0x164)]:_0x34701c[_0x35972e(0x1a2)][_0x35972e(0x16b)](/Assert/)?_0x1c8842[_0x35972e(0x155)]:_0x1c8842[_0x35972e(0x164)]),{'status':_0x34701c[_0x35972e(0x161)][_0x35972e(0x187)](),'failureType':_0x1c8842[_0x35972e(0x17e)](_0x1392aa,null),'failureData':!_0x189705?null:[_0x189705]};}['getCucumberHookType'](_0x532b2e,_0x456aaf){const _0x680e9c=a118_0x2ae370,_0x4db30b={};_0x4db30b[_0x680e9c(0x15b)]=function(_0x172418,_0x174ec2){return _0x172418===_0x174ec2;},_0x4db30b[_0x680e9c(0x1bb)]=_0x680e9c(0x1a1),_0x4db30b[_0x680e9c(0x172)]='BEFORE_EACH';const _0x269a98=_0x4db30b;let _0x1b740f=![];for(const _0x58bc5a of _0x532b2e){_0x58bc5a[_0x680e9c(0x15d)]&&(_0x1b740f=!![]);if(_0x269a98[_0x680e9c(0x15b)](_0x456aaf['id'],_0x58bc5a['id']))return _0x1b740f?_0x269a98[_0x680e9c(0x1bb)]:_0x269a98[_0x680e9c(0x172)];}}['getScenarioExamples']=(_0x29125f,_0x3b9bc2)=>{const _0x124885=a118_0x2ae370,_0x3c83b5={};_0x3c83b5['ntrfY']=function(_0x72d9e5,_0x515ddf){return _0x72d9e5===_0x515ddf;},_0x3c83b5[_0x124885(0x175)]=function(_0x2b99ae,_0x3b59c7){return _0x2b99ae===_0x3b59c7;},_0x3c83b5['SsETl']=function(_0x764779,_0x2227d7){return _0x764779>_0x2227d7;};const _0x31be24=_0x3c83b5;if(!(_0x3b9bc2[_0x124885(0x153)]&&_0x31be24[_0x124885(0x179)](_0x3b9bc2[_0x124885(0x153)][_0x124885(0x157)],0x1)))return;const _0x397cc7=_0x3b9bc2[_0x124885(0x153)][0x0],_0x1fa721=_0x3b9bc2['astNodeIds'][0x1],_0x1b1b4e=_0x29125f['feature']&&_0x29125f['feature'][_0x124885(0x168)]?_0x29125f[_0x124885(0x1b0)][_0x124885(0x168)]:undefined;let _0xa25beb=[];_0x1b1b4e&&_0x1b1b4e[_0x124885(0x198)](_0x251632=>{const _0x309bf2=_0x124885;if(_0x251632[_0x309bf2(0x1c8)])_0x251632['rule'][_0x309bf2(0x168)][_0x309bf2(0x198)](_0x2bd972=>{const _0x516ff2=_0x309bf2;if(_0x2bd972['scenario']&&_0x31be24[_0x516ff2(0x1a5)](_0x2bd972[_0x516ff2(0x193)]['id'],_0x397cc7)&&_0x2bd972[_0x516ff2(0x193)][_0x516ff2(0x1c4)]){const _0x5775fd=_0x2bd972['scenario'][_0x516ff2(0x1c4)][_0x516ff2(0x156)](_0xf152e6=>_0xf152e6[_0x516ff2(0x169)])[_0x516ff2(0x1c0)](_0x3a3c0d=>_0x3a3c0d['id']===_0x1fa721);let _0x13ecd1;_0x5775fd&&_0x5775fd[_0x516ff2(0x1ad)]?_0x13ecd1=_0x5775fd[_0x516ff2(0x1ad)][_0x516ff2(0x1c2)](_0x1de216=>_0x1de216['value']):_0x13ecd1=[],_0x13ecd1&&(_0xa25beb=_0x13ecd1);}});else{if(_0x251632[_0x309bf2(0x193)]&&_0x31be24[_0x309bf2(0x175)](_0x251632['scenario']['id'],_0x397cc7)&&_0x251632[_0x309bf2(0x193)][_0x309bf2(0x1c4)]){const _0x8c4472=_0x251632[_0x309bf2(0x193)]['examples'][_0x309bf2(0x156)](_0x41aee2=>_0x41aee2[_0x309bf2(0x169)])['find'](_0x3fbb0e=>_0x3fbb0e['id']===_0x1fa721);let _0x3dc939;_0x8c4472&&_0x8c4472['cells']?_0x3dc939=_0x8c4472[_0x309bf2(0x1ad)]['map'](_0xf8aa1b=>_0xf8aa1b[_0x309bf2(0x195)]):_0x3dc939=[],_0x3dc939&&(_0xa25beb=_0x3dc939);}}});if(_0xa25beb[_0x124885(0x157)])return _0xa25beb;return;};async[a118_0x2ae370(0x177)](){const _0x1e75e4=a118_0x2ae370,_0x23cf0b={'epzPC':function(_0x5a1753){return _0x5a1753();}};if(this['_gitConfigured'])return this['_gitConfigPath'];const _0x2e05e9=await _0x23cf0b[_0x1e75e4(0x1c7)](getGitMetaData);_0x2e05e9&&(this['_gitConfigPath']=_0x2e05e9['root']),this[_0x1e75e4(0x1af)]=!![];}}module['exports']=o11yClassErrorHandler(CucumberUtils,['configureGit',a118_0x2ae370(0x19a),a118_0x2ae370(0x1a4),a118_0x2ae370(0x1bf),'sendHook','getHookRunEventData',a118_0x2ae370(0x18b),a118_0x2ae370(0x150)]);
|
|
1
|
+
const a118_0x22a88a=a118_0x4f3a;(function(_0x467db3,_0xfe43d7){const _0x67e053=a118_0x4f3a,_0xd17f09=_0x467db3();while(!![]){try{const _0x4f0e40=parseInt(_0x67e053(0x166))/0x1+-parseInt(_0x67e053(0x17e))/0x2+parseInt(_0x67e053(0x148))/0x3*(-parseInt(_0x67e053(0x160))/0x4)+-parseInt(_0x67e053(0x1a1))/0x5+-parseInt(_0x67e053(0x155))/0x6*(-parseInt(_0x67e053(0x1af))/0x7)+parseInt(_0x67e053(0x176))/0x8*(-parseInt(_0x67e053(0x16e))/0x9)+parseInt(_0x67e053(0x144))/0xa;if(_0x4f0e40===_0xfe43d7)break;else _0xd17f09['push'](_0xd17f09['shift']());}catch(_0x4d2065){_0xd17f09['push'](_0xd17f09['shift']());}}}(a118_0x5250,0x809d4));const path=require('path'),util=require(a118_0x22a88a(0x182)),{getGitMetaData,isUndefined,nestedKeyValue}=require(a118_0x22a88a(0x191)),logger=require(a118_0x22a88a(0x163))['winstonLogger'],{o11yClassErrorHandler}=require(a118_0x22a88a(0x173)),TestInfo=require(a118_0x22a88a(0x131)),hooksMap={};class CucumberUtils{constructor(){const _0x49fac0=a118_0x22a88a;this[_0x49fac0(0x15b)]=![],this[_0x49fac0(0x137)]=null;}async[a118_0x22a88a(0x13c)](_0x34e26b,_0x334f0c,_0x3968ac,_0x31598d,_0x21e3d9,_0x5d37da){const _0x5aafa8=a118_0x22a88a,_0x3c31d6={'JogwY':function(_0x4a4b76,_0x3a8324){return _0x4a4b76===_0x3a8324;},'KFGmJ':_0x5aafa8(0x127),'HWFnh':'failed','aiukG':function(_0x89f08a,_0x27fe47){return _0x89f08a===_0x27fe47;},'nFgSo':_0x5aafa8(0x15d),'xOnjx':'skipped','BNdbS':function(_0x473c5c,_0x19ea4f){return _0x473c5c||_0x19ea4f;},'wJzkk':function(_0x43dcf5,_0x491d1c){return _0x43dcf5+_0x491d1c;},'ORzIG':function(_0x5204db,_0x16febe){return _0x5204db+_0x16febe;},'XwIMb':_0x5aafa8(0x14b),'NvTtM':_0x5aafa8(0x139),'eqUbt':'cucumber','DbFPU':_0x5aafa8(0x17f),'OPsRv':'passed','ruInN':function(_0x22fd5e,_0x34854b){return _0x22fd5e!==_0x34854b;},'CBUDc':function(_0x297565,_0xdc859e){return _0x297565/_0xdc859e;},'LRyTJ':_0x5aafa8(0x128),'UdEDe':function(_0x41fd08,_0x574057){return _0x41fd08(_0x574057);},'mjipE':_0x5aafa8(0x18d),'RMBMG':_0x5aafa8(0x17c),'sxKxz':'UnhandledError'},{feature:_0x333989,scenario:_0x4e017a,steps:_0x434455,uuid:_0x59d698,startedAt:_0x1a8469,finishedAt:_0x34271c}=_0x3c31d6[_0x5aafa8(0x198)](_0x34e26b,{}),_0x17211a=this['getScenarioExamples'](_0x31598d,_0x334f0c);await this[_0x5aafa8(0x149)]();const _0x3fbe9c=_0x17211a?_0x3c31d6[_0x5aafa8(0x141)](_0x3c31d6[_0x5aafa8(0x141)](_0x3c31d6[_0x5aafa8(0x15e)](_0x334f0c[_0x5aafa8(0x143)],'\x20('),_0x17211a[_0x5aafa8(0x138)](',\x20')),')'):_0x334f0c[_0x5aafa8(0x143)],_0x30a2f7={'id':_0x21e3d9,'uuid':_0x21e3d9,'startedAt':_0x1a8469,'finishedAt':_0x34271c,'type':_0x3c31d6['XwIMb'],'body':{'lang':_0x3c31d6[_0x5aafa8(0x14c)],'code':null},'name':_0x3fbe9c,'scopes':[_0x333989&&_0x333989[_0x5aafa8(0x143)]?_0x333989['name']:''],'tags':_0x334f0c[_0x5aafa8(0x18b)]?_0x334f0c[_0x5aafa8(0x18b)][_0x5aafa8(0x12e)](({name:_0x1ae72a})=>_0x1ae72a):[],'file_name':_0x334f0c['uri'],'location':_0x334f0c[_0x5aafa8(0x19d)],'vc_filepath':this[_0x5aafa8(0x137)]&&_0x334f0c['uri']?path[_0x5aafa8(0x188)](this['_gitConfigPath'],_0x334f0c[_0x5aafa8(0x19d)]):null,'framework':_0x3c31d6[_0x5aafa8(0x142)],'result':_0x3c31d6[_0x5aafa8(0x152)],'meta':{'feature':_0x333989,'scenario':_0x4e017a,'steps':_0x434455,'examples':_0x17211a},'customRerunParam':{'rerun_name':_0x3fbe9c}};if(_0x3968ac[_0x5aafa8(0x135)]&&_0x434455){const _0x292dff=_0x3968ac['testCaseFinished'];let _0x631de1=_0x3c31d6['OPsRv'];_0x434455[_0x5aafa8(0x132)](_0x5b4b4e=>{const _0x6c0260=_0x5aafa8;if(_0x3c31d6[_0x6c0260(0x172)](_0x5b4b4e[_0x6c0260(0x153)],_0x3c31d6[_0x6c0260(0x162)]))return _0x631de1=_0x3c31d6[_0x6c0260(0x175)],_0x292dff[_0x6c0260(0x1b0)]=_0x5b4b4e['failure'],_0x292dff['failureType']=_0x5b4b4e['failureType'],![];else{if(_0x3c31d6[_0x6c0260(0x151)](_0x5b4b4e[_0x6c0260(0x153)],_0x3c31d6[_0x6c0260(0x199)]))return _0x631de1=_0x3c31d6['xOnjx'],![];}return!![];}),_0x30a2f7[_0x5aafa8(0x19b)]=new Date()[_0x5aafa8(0x157)](),_0x30a2f7[_0x5aafa8(0x153)]=_0x631de1;_0x292dff['timestamp']&&_0x3c31d6['ruInN'](_0x292dff[_0x5aafa8(0x16c)][_0x5aafa8(0x165)],undefined)?_0x30a2f7[_0x5aafa8(0x1ab)]=_0x3c31d6[_0x5aafa8(0x12c)](_0x292dff[_0x5aafa8(0x16c)][_0x5aafa8(0x165)],0xf4240):_0x30a2f7[_0x5aafa8(0x1ab)]=undefined;if(_0x3c31d6[_0x5aafa8(0x172)](_0x631de1,_0x3c31d6[_0x5aafa8(0x175)])){const {default:_0x477421}=await import(_0x3c31d6[_0x5aafa8(0x140)]);_0x30a2f7[_0x5aafa8(0x1b0)]=[{'backtrace':[_0x292dff['failure']?_0x3c31d6[_0x5aafa8(0x154)](_0x477421,_0x292dff[_0x5aafa8(0x1b0)]):_0x3c31d6[_0x5aafa8(0x19e)]]}],_0x30a2f7[_0x5aafa8(0x18c)]=_0x292dff['failure']?_0x3c31d6[_0x5aafa8(0x154)](_0x477421,_0x292dff[_0x5aafa8(0x1b0)]):_0x292dff[_0x5aafa8(0x19a)],_0x292dff['failureType']&&(_0x30a2f7[_0x5aafa8(0x197)]=_0x292dff[_0x5aafa8(0x18e)][_0x5aafa8(0x12d)](/AssertError/)?_0x3c31d6['RMBMG']:_0x3c31d6[_0x5aafa8(0x12a)]);}}return _0x30a2f7;}[a118_0x22a88a(0x16d)](_0x338098,_0x5e50f8,_0x538079,_0xd47942,_0x362cbf,_0x68a0b8){const _0xd41bf3=a118_0x22a88a,_0x81e0f7={'agyOa':function(_0x5280d7,_0x17c470){return _0x5280d7===_0x17c470;},'bgCGQ':_0xd41bf3(0x1a0),'AzlqH':function(_0x560c2b,_0x50d9e4,_0x25d3b4){return _0x560c2b(_0x50d9e4,_0x25d3b4);},'irHat':_0xd41bf3(0x15a),'XkjJu':'uri','IPrSW':_0xd41bf3(0x17f),'EEAKG':_0xd41bf3(0x1a6),'GEkrI':'javascript','qUuEZ':function(_0x2e112d,_0x37afe6,_0x4542de){return _0x2e112d(_0x37afe6,_0x4542de);},'pDBHp':_0xd41bf3(0x1a5),'iJilY':_0xd41bf3(0x143),'BvonI':function(_0xe83c47,_0x3d64c2,_0x3c0f8c){return _0xe83c47(_0x3d64c2,_0x3c0f8c);},'LPjzj':_0xd41bf3(0x194)};try{if(_0x81e0f7['agyOa'](_0x538079,_0x81e0f7[_0xd41bf3(0x185)])){const _0x4a3525=new Date()[_0xd41bf3(0x157)](),_0x2f7a54=hooksMap[_0x5e50f8];if(!_0x2f7a54)return;const _0x2a1a4d=_0x2f7a54[_0xd41bf3(0x169)](_0x15dd56=>_0x15dd56[_0xd41bf3(0x13f)]===_0xd47942['id']);if(!_0x2a1a4d)return;const _0x39a1fe=this[_0xd41bf3(0x164)](_0x338098,_0x5e50f8);_0x2a1a4d['result']=_0x39a1fe['status'],_0x2a1a4d['finished_at']=_0x4a3525,_0x2a1a4d['failure_type']=_0x39a1fe[_0xd41bf3(0x18e)];const _0x2734ae={};return _0x2734ae[_0xd41bf3(0x1aa)]=_0x39a1fe[_0xd41bf3(0x187)],_0x2a1a4d[_0xd41bf3(0x134)]=[_0x2734ae],_0x2a1a4d;}const _0x271961=TestInfo[_0xd41bf3(0x146)](_0x5e50f8),_0x3e5a05=_0x338098[_0xd41bf3(0x177)][_0xd41bf3(0x169)](_0x2290c4=>_0x2290c4['id']===_0xd47942[_0xd41bf3(0x1a4)]),_0x19c901=_0x81e0f7[_0xd41bf3(0x129)](nestedKeyValue,_0x3e5a05,[_0x81e0f7[_0xd41bf3(0x189)],_0x81e0f7[_0xd41bf3(0x17d)]]),_0x11ca71=new Date()[_0xd41bf3(0x157)](),_0x771b1b=_0x81e0f7['IPrSW'],_0x47b1fd=_0x3e5a05[_0xd41bf3(0x193)]?_0x3e5a05[_0xd41bf3(0x193)][_0xd41bf3(0x167)]('\x20')[_0xd41bf3(0x18f)](_0x834b59=>_0x834b59[_0xd41bf3(0x196)]('@')):[],_0x16a296={'uuid':_0xd47942['id'],'type':_0x81e0f7['EEAKG'],'hook_type':_0x68a0b8,'name':_0x3e5a05[_0xd41bf3(0x143)],'body':{'lang':_0x81e0f7['GEkrI'],'code':null},'tags':_0x47b1fd,'test_run_id':_0x271961,'scope':_0x81e0f7[_0xd41bf3(0x14d)](nestedKeyValue,_0x362cbf,[_0x81e0f7['pDBHp'],_0x81e0f7[_0xd41bf3(0x161)]]),'scopes':[_0x81e0f7['BvonI'](nestedKeyValue,_0x362cbf,[_0x81e0f7['pDBHp'],_0x81e0f7[_0xd41bf3(0x161)]])||''],'file_name':_0x19c901,'location':_0x19c901,'vc_filepath':this[_0xd41bf3(0x137)]?path[_0xd41bf3(0x188)](this[_0xd41bf3(0x137)],_0x19c901):null,'result':_0x771b1b,'started_at':_0x11ca71,'framework':_0x81e0f7[_0xd41bf3(0x145)]};return _0x16a296;}catch(_0x37f4e4){logger[_0xd41bf3(0x14e)](_0xd41bf3(0x190)+util[_0xd41bf3(0x168)](_0x37f4e4)+'\x20');}}async[a118_0x22a88a(0x1a3)](_0x4847c5,_0x123e76,_0x2ad8be,_0x219b53,_0x4aae35,_0x3eafbb){const _0x3cd189=a118_0x22a88a,_0x1e3bdd={'RVSDL':function(_0x48475f,_0x336904){return _0x48475f===_0x336904;},'dcRiO':_0x3cd189(0x174),'EtEgy':function(_0x1810b5,_0x5bfdb3,_0x4a7421){return _0x1810b5(_0x5bfdb3,_0x4a7421);},'tanrJ':_0x3cd189(0x15a),'DlYOs':_0x3cd189(0x19d),'cyezN':'browserstack-node-agent/src/bin/cucumber-js/test.setup.js','FHlIU':'bstack'};try{const _0x4a2089=_0x219b53[_0x3cd189(0x169)](_0x286386=>_0x286386['id']===_0x4aae35);if(!_0x4a2089[_0x3cd189(0x1a4)])return;const _0x105fd1=this[_0x3cd189(0x13b)](_0x219b53,_0x4a2089),_0x29912b=this[_0x3cd189(0x16d)](_0x4847c5,_0x123e76,_0x2ad8be,_0x4a2089,_0x3eafbb,_0x105fd1);if(!_0x29912b)return;_0x1e3bdd[_0x3cd189(0x156)](_0x2ad8be,_0x1e3bdd[_0x3cd189(0x19c)])&&(hooksMap[_0x123e76]?hooksMap[_0x123e76][_0x3cd189(0x133)](_0x29912b):hooksMap[_0x123e76]=[_0x29912b]);const _0xdeb2fb=_0x4847c5[_0x3cd189(0x177)][_0x3cd189(0x169)](_0x368b74=>_0x368b74['id']===_0x4a2089['hookId']),_0x1254ac=_0x1e3bdd[_0x3cd189(0x15c)](nestedKeyValue,_0xdeb2fb,[_0x1e3bdd['tanrJ'],_0x1e3bdd['DlYOs']]);if(!_0x1254ac)return;else{if(_0x1254ac[_0x3cd189(0x196)](_0x1e3bdd[_0x3cd189(0x159)]))return;}if(_0x1e3bdd['RVSDL'](_0x29912b[_0x3cd189(0x143)],_0x1e3bdd[_0x3cd189(0x16a)]))return;return _0x29912b;}catch(_0x247384){logger['debug'](_0x3cd189(0x17b)+util[_0x3cd189(0x168)](_0x247384)+'\x20');}}[a118_0x22a88a(0x164)](_0x35b48c,_0x1aac80){const _0x457598=a118_0x22a88a,_0x2dfe4f={};_0x2dfe4f[_0x457598(0x180)]=function(_0x235d8e,_0x4ea25f){return _0x235d8e===_0x4ea25f;},_0x2dfe4f[_0x457598(0x14f)]=_0x457598(0x1b1),_0x2dfe4f[_0x457598(0x14a)]=_0x457598(0x171),_0x2dfe4f[_0x457598(0x13e)]=_0x457598(0x17c),_0x2dfe4f['UjhTR']=function(_0x3ca7bd,_0x4d9841){return _0x3ca7bd||_0x4d9841;};const _0x27a1c6=_0x2dfe4f,_0x3300e6=_0x35b48c[_0x457598(0x136)][_0x1aac80][_0x457598(0x1ad)];let _0x58b5f6,_0x1e73f7;return _0x3300e6&&_0x27a1c6['BicdC'](_0x3300e6[_0x457598(0x16b)]['toString']()[_0x457598(0x170)](),_0x27a1c6[_0x457598(0x14f)])&&(_0x58b5f6=_0x27a1c6['BicdC'](_0x3300e6['exception'],undefined)?_0x3300e6[_0x457598(0x19a)]:_0x3300e6['exception']['message'],_0x1e73f7=_0x27a1c6[_0x457598(0x180)](_0x3300e6[_0x457598(0x13a)],undefined)?_0x27a1c6[_0x457598(0x14a)]:_0x3300e6['message']['match'](/Assert/)?_0x27a1c6[_0x457598(0x13e)]:_0x27a1c6[_0x457598(0x14a)]),{'status':_0x3300e6['status'][_0x457598(0x170)](),'failureType':_0x27a1c6[_0x457598(0x1a8)](_0x1e73f7,null),'failureData':!_0x58b5f6?null:[_0x58b5f6]};}[a118_0x22a88a(0x13b)](_0x2ff22b,_0x2e4393){const _0x15a719=a118_0x22a88a,_0xb7eed3={};_0xb7eed3[_0x15a719(0x186)]=function(_0xa48934,_0x580acb){return _0xa48934===_0x580acb;},_0xb7eed3['pRUbq']=_0x15a719(0x12b),_0xb7eed3[_0x15a719(0x130)]=_0x15a719(0x183);const _0x1f74ba=_0xb7eed3;let _0x6e31ce=![];for(const _0x458ece of _0x2ff22b){_0x458ece[_0x15a719(0x18a)]&&(_0x6e31ce=!![]);if(_0x1f74ba['MuWei'](_0x2e4393['id'],_0x458ece['id']))return _0x6e31ce?_0x1f74ba[_0x15a719(0x13d)]:_0x1f74ba[_0x15a719(0x130)];}}[a118_0x22a88a(0x184)]=(_0xd2982c,_0xd95095)=>{const _0x339869=a118_0x22a88a,_0xeaac18={};_0xeaac18[_0x339869(0x1a7)]=function(_0x23ddee,_0x2d33b3){return _0x23ddee===_0x2d33b3;},_0xeaac18[_0x339869(0x17a)]=function(_0x5df8f5,_0x43a5b2){return _0x5df8f5===_0x43a5b2;},_0xeaac18['KugRD']=function(_0x3106d4,_0x48ff68){return _0x3106d4>_0x48ff68;};const _0x590f0e=_0xeaac18;if(!(_0xd95095[_0x339869(0x12f)]&&_0x590f0e[_0x339869(0x150)](_0xd95095[_0x339869(0x12f)][_0x339869(0x1ae)],0x1)))return;const _0x51f80a=_0xd95095[_0x339869(0x12f)][0x0],_0x4f319f=_0xd95095[_0x339869(0x12f)][0x1],_0x419b8d=_0xd2982c['feature']&&_0xd2982c[_0x339869(0x1a5)]['children']?_0xd2982c[_0x339869(0x1a5)][_0x339869(0x181)]:undefined;let _0x1f412d=[];_0x419b8d&&_0x419b8d[_0x339869(0x1a9)](_0x3e8125=>{const _0x84d138=_0x339869;if(_0x3e8125[_0x84d138(0x195)])_0x3e8125['rule']['children'][_0x84d138(0x1a9)](_0x29c98d=>{const _0x70e824=_0x84d138;if(_0x29c98d[_0x70e824(0x147)]&&_0x590f0e[_0x70e824(0x1a7)](_0x29c98d[_0x70e824(0x147)]['id'],_0x51f80a)&&_0x29c98d['scenario'][_0x70e824(0x1ac)]){const _0x26db6a=_0x29c98d[_0x70e824(0x147)][_0x70e824(0x1ac)][_0x70e824(0x15f)](_0x3b85e5=>_0x3b85e5[_0x70e824(0x16f)])['find'](_0x426128=>_0x426128['id']===_0x4f319f);let _0x31a9a9;_0x26db6a&&_0x26db6a[_0x70e824(0x1a2)]?_0x31a9a9=_0x26db6a[_0x70e824(0x1a2)][_0x70e824(0x12e)](_0x4c9981=>_0x4c9981[_0x70e824(0x178)]):_0x31a9a9=[],_0x31a9a9&&(_0x1f412d=_0x31a9a9);}});else{if(_0x3e8125[_0x84d138(0x147)]&&_0x590f0e['YsfoK'](_0x3e8125[_0x84d138(0x147)]['id'],_0x51f80a)&&_0x3e8125[_0x84d138(0x147)][_0x84d138(0x1ac)]){const _0x3554c5=_0x3e8125[_0x84d138(0x147)]['examples'][_0x84d138(0x15f)](_0x325738=>_0x325738[_0x84d138(0x16f)])[_0x84d138(0x169)](_0x6a8418=>_0x6a8418['id']===_0x4f319f);let _0x2d509f;_0x3554c5&&_0x3554c5[_0x84d138(0x1a2)]?_0x2d509f=_0x3554c5[_0x84d138(0x1a2)][_0x84d138(0x12e)](_0x275229=>_0x275229['value']):_0x2d509f=[],_0x2d509f&&(_0x1f412d=_0x2d509f);}}});if(_0x1f412d[_0x339869(0x1ae)])return _0x1f412d;return;};async[a118_0x22a88a(0x149)](){const _0x4560f8=a118_0x22a88a,_0x5c6a6e={'KOjxo':function(_0x86b48a){return _0x86b48a();}};if(this['_gitConfigured'])return this[_0x4560f8(0x137)];const _0x2d611a=await _0x5c6a6e[_0x4560f8(0x192)](getGitMetaData);_0x2d611a&&(this[_0x4560f8(0x137)]=_0x2d611a[_0x4560f8(0x158)]),this[_0x4560f8(0x15b)]=!![];}}function a118_0x4f3a(_0xd45066,_0x5a8473){const _0x525020=a118_0x5250();return a118_0x4f3a=function(_0x4f3a7b,_0x1fa032){_0x4f3a7b=_0x4f3a7b-0x127;let _0x4961c1=_0x525020[_0x4f3a7b];return _0x4961c1;},a118_0x4f3a(_0xd45066,_0x5a8473);}function a118_0x5250(){const _0x103540=['NvTtM','qUuEZ','debug','hnBlP','KugRD','aiukG','DbFPU','result','UdEDe','24ysIuPB','RVSDL','toISOString','root','cyezN','sourceReference','_gitConfigured','EtEgy','SKIPPED','ORzIG','flatMap','2513468JYlDIQ','iJilY','KFGmJ','../../../helpers/logger.js','getHookResult','nanos','779043XNbspJ','split','format','find','FHlIU','status','timestamp','getHookRunEventData','477SrItHv','tableBody','toLowerCase','UnhandledError','JogwY','../../../helpers/test-observability/error-handler.js','HookRunStarted','HWFnh','133160nlAJYo','hooks','value','sendTestRunEventForCucumber','YsfoK','Exception\x20in\x20createHookData:\x20','AssertionError','XkjJu','1421112Houkko','pending','BicdC','children','util','BEFORE_EACH','getScenarioExamples','bgCGQ','MuWei','failureData','relative','irHat','pickleStepId','tags','failure_reason','unknown','failureType','filter','Exception\x20in\x20getHookRunEventData:\x20','../../../helpers/helper.js','KOjxo','tagExpression','cucumber','rule','includes','failure_type','BNdbS','nFgSo','message','finishedAt','dcRiO','uri','mjipE','exports','HookRunFinished','3254080STlkst','cells','createHookData','hookId','feature','hook','hcIMZ','UjhTR','forEach','backtrace','duration_in_ms','examples','testStepResult','length','1016603ajvHNe','failure','failed','FAILED','strip-ansi','AzlqH','sxKxz','AFTER_EACH','CBUDc','match','map','astNodeIds','WCEmt','../TestInfo.js','every','push','failure_data','testCaseFinished','testStepFinished','_gitConfigPath','join','javascript','exception','getCucumberHookType','createTestFrameworkData','pRUbq','kSSdX','uuid','LRyTJ','wJzkk','eqUbt','name','20387690ycTXuQ','LPjzj','getTestUUID','scenario','3ySyEDy','configureGit','ocqwj','test'];a118_0x5250=function(){return _0x103540;};return a118_0x5250();}module[a118_0x22a88a(0x19f)]=o11yClassErrorHandler(CucumberUtils,['configureGit',a118_0x22a88a(0x184),a118_0x22a88a(0x13b),a118_0x22a88a(0x164),'sendHook','getHookRunEventData',a118_0x22a88a(0x179),'createTestFrameworkData']);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a119_0x229a0f=a119_0x3873;(function(_0x27941d,_0x5b1529){const _0x48a0c3=a119_0x3873,_0x51bc34=_0x27941d();while(!![]){try{const _0x5a6fa8=parseInt(_0x48a0c3(0x182))/0x1+parseInt(_0x48a0c3(0x213))/0x2+parseInt(_0x48a0c3(0x165))/0x3+-parseInt(_0x48a0c3(0x201))/0x4*(-parseInt(_0x48a0c3(0x1c7))/0x5)+-parseInt(_0x48a0c3(0x178))/0x6*(parseInt(_0x48a0c3(0x20d))/0x7)+parseInt(_0x48a0c3(0x1a9))/0x8+-parseInt(_0x48a0c3(0x1a5))/0x9;if(_0x5a6fa8===_0x5b1529)break;else _0x51bc34['push'](_0x51bc34['shift']());}catch(_0xabee72){_0x51bc34['push'](_0x51bc34['shift']());}}}(a119_0x345f,0x7daaf));const path=require('path'),util=require(a119_0x229a0f(0x181)),crypto=require(a119_0x229a0f(0x1b7)),{getGitMetaData,isUndefined,nestedKeyValue}=require(a119_0x229a0f(0x179)),logger=require('../../../helpers/logger.js')[a119_0x229a0f(0x17a)],{o11yClassErrorHandler}=require('../../../helpers/test-observability/error-handler.js'),TestInfo=require('../TestInfo.js'),{failureData,getFailureType,PathHelper}=require(a119_0x229a0f(0x1c3)),stackTrace=require('stack-trace'),{pickUserFrameFile}=require(a119_0x229a0f(0x1a7)),a119_0x37dbd8={};a119_0x37dbd8['beforeAll']=a119_0x229a0f(0x208),a119_0x37dbd8[a119_0x229a0f(0x1ca)]=a119_0x229a0f(0x1f3),a119_0x37dbd8[a119_0x229a0f(0x1ff)]=a119_0x229a0f(0x17f),a119_0x37dbd8[a119_0x229a0f(0x1b3)]='AFTER_EACH';function a119_0x3873(_0x240096,_0x588408){const _0x345fc9=a119_0x345f();return a119_0x3873=function(_0x3873f7,_0x4fc098){_0x3873f7=_0x3873f7-0x160;let _0x22d6a3=_0x345fc9[_0x3873f7];return _0x22d6a3;},a119_0x3873(_0x240096,_0x588408);}function a119_0x345f(){const _0x9d8c7e=['toUpperCase','debug','browserstack-node-agent/src/bin/jest','result','cwd','stack','includes','createHash','fgzwu','aFhGl','moTQT','getFileName','getName','getHookRunEventData','format','lClUI','parse','AFTER_ALL','getHierarchy','getState','JGLXc','recreateIdentifierFromTestInfo','substring','TestRunFinished','cpunM','[jestUtils]\x20Created\x20identifier:\x20','toISOString','Exception\x20in\x20createHookData:\x20','No\x20hook\x20data\x20provided\x20for\x20jest\x20hook\x20event','beforeEach','[jestUtils]\x20pickUserFrameFile\x20found\x20no\x20user\x20frame\x20(trace\x20length=','3812JIvRHU','name','qbosb','expanded','toString','[jestUtils]\x20Error\x20creating\x20identifier:\x20','bPBre','BEFORE_ALL','LpkHA','MIPAm','bssNY','Creating\x20test\x20framework\x20data\x20for\x20eventType:\x20','18697bMeBZz','match','Exception\x20in\x20getHookRunEventData:\x20','[jestUtils]\x20Error\x20getting\x20test\x20identifier:\x20','vVqFH','WwaqI','1153536fDfTig','split','errorsDetailed','test','skipped','jest-circus','2129280TuYKOO','iUDZz','file',',\x20testRunId:\x20','sTwxq','clearHooksMap','HNLPV','cBAyx','pIghr','testAnalyticsId','ROOT_DESCRIBE_BLOCK','oOWeE','lrbLZ','NeEHJ','find','ZBhov','[jestUtils]\x20No\x20testInfo\x20provided\x20for\x20recreation','YXrVn','HookRunStarted','1806TSusGB','../../../helpers/helper.js','winstonLogger','unknown','onDbC','startedAt','update','BEFORE_EACH','ZfdlQ','util','974472VIlktA','started_at','pid','nWfuf','FmJfm','passed','isJestInternalHook','__workerDetails','parent','rwCaH','bIygI','asyncError','error','TestRunSkipped','backtrace','bkaXQ','Eovlk','hex','Error\x20parsing\x20asyncError\x20stack\x20trace:\x20','relative','javascript','createJestTestIdentifier','hooks','kwQZV','YGJwU','failure_reason','\x20from\x20compositeKey:\x20','CqIkY','mNjbS','WWjeI','getRootParentFile','_gitConfigPath','createIdentifierFromJestTest','errors','createTestFrameworkData','13204062ffzAFs','failure_type','../../../helpers/stackFrameUtils','xZXpC','2185856GnIlLO',',\x20testIdentifier:\x20','now','getTestIdentifier','jest','mbETC','Unknown\x20Test','RXwZs','push','duration','afterEach','failure_reason_expanded','md5','nBFoE','crypto','nXaQp','ewiWs','type','[jestUtils]\x20Using\x20stored\x20testIdentifier:\x20','File\x20path\x20could\x20not\x20be\x20found','pending','Creating\x20hook\x20data\x20for\x20eventType:\x20',':jest-','oYoNL','createHookData','ybbPE','../../../helpers/test-observability/utils','vKXfF','_gitConfigured','oLVja','1320OnRiNk','VcsLY','err','afterAll','fullName','testPath','prefixTestPath','currentTest','__jestCurrentTestIdentifier','retryOf','Failed\x20to\x20get\x20hook\x20file\x20path:\x20','[jestUtils]\x20expect.getState()\x20not\x20available:\x20','[jestUtils]\x20Error\x20parsing\x20asyncError\x20stack\x20trace:\x20','extractTestFilePath','apply','No\x20test\x20data\x20provided\x20for\x20jest\x20test\x20event','_paths','NFhxb','bVoDr','title','configureGit','inspect','failed','length','Exception\x20in\x20checking\x20if\x20hook\x20is\x20internal:\x20','testIdentifier','wLLrl'];a119_0x345f=function(){return _0x9d8c7e;};return a119_0x345f();}const HOOK_TYPES_MAP=a119_0x37dbd8,hooksMap={};class JestUtils{constructor(){const _0x5d1708=a119_0x229a0f;this[_0x5d1708(0x1c5)]=![],this[_0x5d1708(0x1a1)]=null,this[_0x5d1708(0x1d7)]=new PathHelper({'cwd':process[_0x5d1708(0x1e6)]()},undefined);}async[a119_0x229a0f(0x1a4)](_0x55a78a,_0x59520d,_0x391fce='TestRunFinished',_0x2e5747=undefined){const _0x516f19=a119_0x229a0f,_0x2141d8={'kwQZV':_0x516f19(0x1d6),'ewiWs':_0x516f19(0x164),'mbETC':_0x516f19(0x1bc),'oYoNL':function(_0x2d190d,_0x37741b){return _0x2d190d!==_0x37741b;},'aFhGl':'test','cpunM':_0x516f19(0x1c9),'ZBhov':'pending','NeEHJ':function(_0x4c98ae,_0x4c6e93){return _0x4c98ae===_0x4c6e93;},'lrbLZ':_0x516f19(0x18f),'ZfdlQ':_0x516f19(0x163),'FmJfm':function(_0x59ad99,_0x215f4f){return _0x59ad99===_0x215f4f;},'vVqFH':_0x516f19(0x1f9),'tIRka':function(_0x51dfb2,_0x189f36){return _0x51dfb2>_0x189f36;},'onDbC':_0x516f19(0x1dd),'bssNY':'passed','pIghr':function(_0x45bfec,_0x320468){return _0x45bfec-_0x320468;},'WFWlI':_0x516f19(0x196),'WwaqI':_0x516f19(0x1ad),'nXaQp':function(_0x1a224e,_0x1010ce){return _0x1a224e(_0x1010ce);},'HiZyh':function(_0x1af7ca,_0x3fdacd){return _0x1af7ca===_0x3fdacd;}};logger[_0x516f19(0x1e3)](_0x516f19(0x20c)+_0x391fce+_0x516f19(0x1aa)+_0x59520d);try{if(!_0x55a78a)return logger['debug'](_0x2141d8[_0x516f19(0x199)]),null;if(_0x55a78a['fn']&&_0x55a78a['fn'][_0x516f19(0x205)]()[_0x516f19(0x20e)](/browserstack internal helper hook/))return null;await this[_0x516f19(0x1db)]();let _0x5050bf;try{_0x5050bf=this[_0x516f19(0x1a0)](_0x55a78a);if(_0x5050bf&&_0x5050bf['includes'](_0x2141d8[_0x516f19(0x1b9)]))return null;}catch(_0x5966ec){logger[_0x516f19(0x1e3)]('Failed\x20to\x20get\x20root\x20parent\x20file:\x20'+util[_0x516f19(0x1f0)](_0x5966ec)),_0x5050bf=null;}const _0x280e60=this[_0x516f19(0x1f4)](_0x55a78a),_0x243f32=this[_0x516f19(0x1ee)](_0x55a78a),_0x1b4252=_0x5050bf?this[_0x516f19(0x1d7)][_0x516f19(0x1cd)](_0x5050bf):_0x2141d8[_0x516f19(0x1ae)];let _0x1591e0=[];const _0x199967=_0x55a78a[_0x516f19(0x161)]||_0x55a78a[_0x516f19(0x1a3)];if(_0x2141d8[_0x516f19(0x1c0)](_0x199967,undefined))_0x1591e0=[_0x199967,_0x2141d8[_0x516f19(0x1eb)]];else _0x2141d8[_0x516f19(0x1c0)](_0x2e5747,undefined)&&(_0x1591e0=[_0x2e5747,_0x2141d8[_0x516f19(0x1fa)]]);const _0x5319d1=_0x2141d8['oYoNL'](_0x199967,undefined)?util[_0x516f19(0x1dc)](_0x199967[0x0]):_0x2141d8['oYoNL'](_0x2e5747,undefined)?_0x2e5747[_0x516f19(0x205)]():undefined;let _0x133c4e=_0x2141d8[_0x516f19(0x174)];if(_0x2141d8[_0x516f19(0x172)](_0x391fce,_0x2141d8['lrbLZ']))_0x133c4e=_0x2141d8[_0x516f19(0x180)];else _0x2141d8[_0x516f19(0x186)](_0x391fce,_0x2141d8[_0x516f19(0x211)])&&(_0x199967&&_0x2141d8['tIRka'](_0x199967[_0x516f19(0x1de)],0x0)?_0x133c4e=_0x2141d8[_0x516f19(0x17c)]:_0x133c4e=_0x2141d8[_0x516f19(0x20b)]);let _0x2f1af2=null;if(_0x2141d8[_0x516f19(0x1c0)](_0x55a78a[_0x516f19(0x1b2)],undefined))_0x2f1af2=_0x55a78a['duration'];else(_0x391fce[_0x516f19(0x20e)](/Finished/)||_0x391fce['match'](/Skipped/))&&(_0x55a78a[_0x516f19(0x183)]&&(_0x2f1af2=_0x2141d8[_0x516f19(0x16d)](Date[_0x516f19(0x1ab)](),new Date(_0x55a78a[_0x516f19(0x183)])['getTime']())));const _0x13c802=_0x55a78a['fn']?_0x55a78a['fn'][_0x516f19(0x205)]():null,_0x32c485={'id':_0x59520d,'uuid':_0x59520d,'startedAt':_0x55a78a['started_at']||new Date()[_0x516f19(0x1fc)](),'finishedAt':_0x391fce[_0x516f19(0x20e)](/Finished/)||_0x391fce['match'](/Skipped/)?new Date()[_0x516f19(0x1fc)]():null,'type':_0x2141d8['aFhGl'],'body':{'lang':_0x2141d8['WFWlI'],'code':_0x13c802},'name':_0x243f32,'errorsDetailed':_0x2141d8['tIRka'](_0x199967?.[_0x516f19(0x1de)],0x0)?_0x199967[0x0]:_0x199967?_0x199967:undefined,'scopes':_0x280e60,'file_name':_0x1b4252,'location':_0x1b4252,'vc_filepath':this[_0x516f19(0x1a1)]&&_0x5050bf?path[_0x516f19(0x195)](this[_0x516f19(0x1a1)],_0x5050bf):null,'framework':_0x2141d8[_0x516f19(0x212)],'result':_0x133c4e,'failure_reason':_0x5319d1,'duration_in_ms':_0x2f1af2,'failure':failureData[_0x516f19(0x1d5)](null,_0x1591e0),'failure_type':!_0x5319d1?null:_0x2141d8[_0x516f19(0x1b8)](getFailureType,_0x5319d1),'retry_of':_0x55a78a[_0x516f19(0x1d0)]||null,'customRerunParam':{'rerun_name':_0x243f32}};_0x2141d8['HiZyh'](_0x391fce,_0x2141d8[_0x516f19(0x171)])&&!_0x32c485[_0x516f19(0x17d)]&&(_0x32c485[_0x516f19(0x17d)]=_0x32c485['finishedAt']);const _0x49efb3=_0x32c485['failure']&&_0x32c485['failure'][0x0];return _0x49efb3&&(_0x32c485['failure_backtrace']=_0x49efb3[_0x516f19(0x190)],_0x32c485[_0x516f19(0x1b4)]=_0x49efb3[_0x516f19(0x204)]),(_0x2141d8[_0x516f19(0x172)](_0x391fce,_0x2141d8[_0x516f19(0x211)])||_0x2141d8[_0x516f19(0x172)](_0x391fce,_0x2141d8['lrbLZ']))&&(_0x55a78a[_0x516f19(0x198)]&&(_0x32c485[_0x516f19(0x198)]=_0x55a78a['hooks'])),_0x32c485;}catch(_0x3cfbca){return logger[_0x516f19(0x1e3)]('Exception\x20in\x20createTestFrameworkData:\x20'+util[_0x516f19(0x1f0)](_0x3cfbca)),null;}}async[a119_0x229a0f(0x1c1)](_0x4430df,_0x554dfe,_0x1145ef,_0x5d2c15){const _0x4b5426=a119_0x229a0f,_0x1c4ccb={'mNjbS':_0x4b5426(0x1fe),'njYJo':_0x4b5426(0x164),'mAjtG':_0x4b5426(0x1e4),'nBFoE':_0x4b5426(0x17b),'JAlIb':_0x4b5426(0x1bd),'lClUI':function(_0x93c775,_0x92575d){return _0x93c775===_0x92575d;},'szbFc':'HookRunFinished','qRPaf':function(_0x1f44bf,_0x3f9a81){return _0x1f44bf>_0x3f9a81;},'NFhxb':_0x4b5426(0x1dd),'sTwxq':function(_0x4ac4c0,_0x2dad65){return _0x4ac4c0(_0x2dad65);},'RXwZs':_0x4b5426(0x162),'qbosb':_0x4b5426(0x187),'bVoDr':'hook','Eovlk':_0x4b5426(0x196),'bIygI':'jest','MIPAm':function(_0x2e8952,_0x575e69){return _0x2e8952===_0x575e69;},'LpkHA':_0x4b5426(0x177)};logger['debug'](_0x4b5426(0x1be)+_0x1145ef+',\x20hookUUID:\x20'+_0x554dfe+_0x4b5426(0x168)+_0x5d2c15);try{if(!_0x4430df)return logger['debug'](_0x1c4ccb[_0x4b5426(0x19e)]),null;if(this[_0x4b5426(0x188)](_0x4430df))return null;await this[_0x4b5426(0x1db)]();let _0x206596=null;try{_0x206596=this['getRootParentFile'](_0x4430df);if(_0x206596&&_0x206596[_0x4b5426(0x1e8)](_0x1c4ccb['njYJo']))return null;if(_0x206596&&_0x206596[_0x4b5426(0x1e8)](_0x1c4ccb['mAjtG']))return null;}catch(_0x141e3e){logger[_0x4b5426(0x1e3)](_0x4b5426(0x1d1)+util[_0x4b5426(0x1f0)](_0x141e3e));}const _0x1772be=_0x206596?this[_0x4b5426(0x1d7)][_0x4b5426(0x1cd)](_0x206596):_0x206596,_0x4e3e66=this[_0x4b5426(0x1ee)](_0x4430df),_0x162bf9=_0x4430df['type']||_0x1c4ccb[_0x4b5426(0x1b6)],_0x5cd291=HOOK_TYPES_MAP[_0x162bf9]||_0x162bf9[_0x4b5426(0x1e2)](),_0x29ce99=_0x4430df[_0x4b5426(0x18a)]&&_0x4430df[_0x4b5426(0x18a)][_0x4b5426(0x202)]?_0x4430df[_0x4b5426(0x18a)][_0x4b5426(0x202)]:'';let _0x5e51ff=_0x1c4ccb['JAlIb'],_0x499297=null,_0x524f16=null,_0x132909=null,_0x587141=null;_0x1c4ccb[_0x4b5426(0x1f1)](_0x1145ef,_0x1c4ccb['szbFc'])&&(_0x587141=new Date()[_0x4b5426(0x1fc)](),_0x4430df['errorsDetailed']&&_0x1c4ccb['qRPaf'](_0x4430df['errorsDetailed'][_0x4b5426(0x1de)],0x0)?(_0x5e51ff=_0x1c4ccb[_0x4b5426(0x1d8)],_0x524f16=util[_0x4b5426(0x1dc)](_0x4430df['errorsDetailed'][0x0]),_0x499297=_0x1c4ccb[_0x4b5426(0x169)](getFailureType,_0x524f16),_0x132909=failureData[_0x4b5426(0x1d5)](null,[_0x4430df[_0x4b5426(0x161)],_0x1c4ccb[_0x4b5426(0x1b0)]])):_0x5e51ff=_0x1c4ccb[_0x4b5426(0x203)]);const _0x3643b4={'uuid':_0x554dfe,'type':_0x1c4ccb[_0x4b5426(0x1d9)],'hook_type':_0x5cd291,'name':_0x4e3e66,'body':{'lang':_0x1c4ccb[_0x4b5426(0x192)],'code':_0x4430df['fn']?_0x4430df['fn'][_0x4b5426(0x205)]():null},'tags':[],'test_run_id':_0x5d2c15,'scope':_0x29ce99,'scopes':[_0x29ce99],'file_name':_0x1772be,'location':_0x1772be,'vc_filepath':this[_0x4b5426(0x1a1)]&&_0x206596?path['relative'](this['_gitConfigPath'],_0x206596):null,'result':_0x5e51ff,'started_at':_0x4430df['started_at']||new Date()[_0x4b5426(0x1fc)](),'finished_at':_0x587141,'failure_type':_0x499297,'failure_reason':_0x524f16,'failure_data':_0x132909,'framework':_0x1c4ccb[_0x4b5426(0x18c)]};return _0x1c4ccb[_0x4b5426(0x20a)](_0x1145ef,_0x1c4ccb[_0x4b5426(0x209)])&&(hooksMap[_0x5d2c15]?hooksMap[_0x5d2c15]['push'](_0x3643b4):hooksMap[_0x5d2c15]=[_0x3643b4]),_0x3643b4;}catch(_0x26321f){return logger[_0x4b5426(0x1e3)](_0x4b5426(0x1fd)+util[_0x4b5426(0x1f0)](_0x26321f)),null;}}[a119_0x229a0f(0x1ef)](_0x491826,_0x3769f6,_0x3abb64){const _0x2fe6f2=a119_0x229a0f,_0x13b174={'oiTUF':function(_0x2672f5,_0x2fb34e){return _0x2672f5>_0x2fb34e;},'JGLXc':'failed','moTQT':function(_0x89191d,_0x4c11c1){return _0x89191d(_0x4c11c1);},'YXrVn':_0x2fe6f2(0x162),'oLVja':_0x2fe6f2(0x187)};try{const _0x4d4526=hooksMap[_0x491826];if(!_0x4d4526)return null;const _0x27f4fd=_0x4d4526[_0x2fe6f2(0x173)](_0x4e09d3=>_0x4e09d3['uuid']===_0x3769f6);if(!_0x27f4fd)return null;return _0x27f4fd['finished_at']=new Date()[_0x2fe6f2(0x1fc)](),_0x3abb64['errorsDetailed']&&_0x13b174['oiTUF'](_0x3abb64['errorsDetailed'][_0x2fe6f2(0x1de)],0x0)?(_0x27f4fd[_0x2fe6f2(0x1e5)]=_0x13b174[_0x2fe6f2(0x1f6)],_0x27f4fd['failure_reason']=util['inspect'](_0x3abb64[_0x2fe6f2(0x161)][0x0]),_0x27f4fd[_0x2fe6f2(0x1a6)]=_0x13b174[_0x2fe6f2(0x1ec)](getFailureType,_0x27f4fd[_0x2fe6f2(0x19b)]),_0x27f4fd['failure_data']=failureData[_0x2fe6f2(0x1d5)](null,[_0x3abb64[_0x2fe6f2(0x161)],_0x13b174[_0x2fe6f2(0x176)]])):_0x27f4fd[_0x2fe6f2(0x1e5)]=_0x13b174[_0x2fe6f2(0x1c6)],_0x27f4fd;}catch(_0x5a5fe7){return logger['debug'](_0x2fe6f2(0x20f)+util['format'](_0x5a5fe7)),null;}}[a119_0x229a0f(0x1ee)](_0x31c630){const _0x1549ed=a119_0x229a0f,_0x26238d={};_0x26238d[_0x1549ed(0x19d)]=function(_0x42b4be,_0x49465b){return _0x42b4be!==_0x49465b;},_0x26238d[_0x1549ed(0x16c)]='test',_0x26238d[_0x1549ed(0x19a)]=_0x1549ed(0x1af);const _0x2b084f=_0x26238d;if(_0x2b084f[_0x1549ed(0x19d)](_0x31c630['type'],_0x2b084f['cBAyx']))return'\x22'+_0x31c630[_0x1549ed(0x1ba)]+'\x22\x20hook\x20for\x20\x22'+(_0x31c630[_0x1549ed(0x18a)]&&_0x31c630['parent'][_0x1549ed(0x202)])+'\x22';return _0x31c630[_0x1549ed(0x202)]||_0x2b084f[_0x1549ed(0x19a)];}[a119_0x229a0f(0x1f4)](_0x48ace3){const _0x5bfdcc=a119_0x229a0f,_0x2ef229={};_0x2ef229['VcsLY']=function(_0x4d135f,_0x381fca){return _0x4d135f!==_0x381fca;},_0x2ef229[_0x5bfdcc(0x166)]=_0x5bfdcc(0x16f);const _0x3ffdc0=_0x2ef229,_0x37da4b=[];if(_0x48ace3&&_0x48ace3[_0x5bfdcc(0x18a)]){let _0x5c4e7b=_0x48ace3[_0x5bfdcc(0x18a)];while(_0x5c4e7b&&_0x5c4e7b[_0x5bfdcc(0x202)]&&_0x3ffdc0[_0x5bfdcc(0x1c8)](_0x5c4e7b['name'],'')&&_0x3ffdc0['VcsLY'](_0x5c4e7b[_0x5bfdcc(0x202)],_0x3ffdc0[_0x5bfdcc(0x166)])){_0x37da4b[_0x5bfdcc(0x1b1)](_0x5c4e7b[_0x5bfdcc(0x202)]),_0x5c4e7b=_0x5c4e7b[_0x5bfdcc(0x18a)];}}return _0x37da4b['reverse'](),_0x37da4b;}[a119_0x229a0f(0x1a0)](_0x5b8996){const _0x45268f=a119_0x229a0f,_0x305d81={'rwCaH':function(_0x346ac7,_0x1045dc){return _0x346ac7(_0x1045dc);}};if(_0x5b8996[_0x45268f(0x167)])return _0x5b8996[_0x45268f(0x167)];if(_0x5b8996[_0x45268f(0x18d)])try{const _0x4857ed=stackTrace[_0x45268f(0x1f2)]['call'](stackTrace,_0x5b8996[_0x45268f(0x18d)]),_0x4574be=_0x305d81[_0x45268f(0x18b)](pickUserFrameFile,_0x4857ed);if(_0x4574be)return _0x4574be;logger['debug'](_0x45268f(0x200)+_0x4857ed[_0x45268f(0x1de)]+')');}catch(_0x92af66){logger[_0x45268f(0x1e3)](_0x45268f(0x194)+util[_0x45268f(0x1f0)](_0x92af66));}return null;}[a119_0x229a0f(0x188)](_0x4c2eb6){const _0x231444=a119_0x229a0f,_0x443ab2={};_0x443ab2['hSgKx']=_0x231444(0x164);const _0x470795=_0x443ab2;try{const _0x59d7ee=this[_0x231444(0x1a0)](_0x4c2eb6);if(!_0x59d7ee||_0x59d7ee[_0x231444(0x1e8)](_0x470795['hSgKx']))return!![];}catch(_0xd1d550){logger[_0x231444(0x1e3)](_0x231444(0x1df)+util[_0x231444(0x1f0)](_0xd1d550));}return![];}[a119_0x229a0f(0x1ac)](_0x38fea5=null){const _0x523a74=a119_0x229a0f;try{const _0x1b3e46=_0x38fea5||global[_0x523a74(0x189)]||{};if(global[_0x523a74(0x1cf)])return global[_0x523a74(0x1cf)];if(_0x1b3e46?.[_0x523a74(0x1ce)]?.[_0x523a74(0x16e)])return _0x1b3e46[_0x523a74(0x1ce)][_0x523a74(0x16e)];if(_0x1b3e46?.[_0x523a74(0x1ce)]?.['id'])return _0x1b3e46[_0x523a74(0x1ce)]['id'];return null;}catch(_0x1f54b6){return logger[_0x523a74(0x1e3)](_0x523a74(0x210)+util[_0x523a74(0x1f0)](_0x1f54b6)),null;}}async[a119_0x229a0f(0x1db)](){const _0x4292d5=a119_0x229a0f,_0x116e5d={'vKXfF':function(_0x426d80){return _0x426d80();}};if(this[_0x4292d5(0x1c5)])return this['_gitConfigPath'];const _0x386e10=await _0x116e5d[_0x4292d5(0x1c4)](getGitMetaData);_0x386e10&&(this[_0x4292d5(0x1a1)]=_0x386e10['root']),this[_0x4292d5(0x1c5)]=!![];}[a119_0x229a0f(0x16a)](_0x566a9c){hooksMap[_0x566a9c]&&delete hooksMap[_0x566a9c];}[a119_0x229a0f(0x1d4)](_0x3f5df8){const _0x2a6ae3=a119_0x229a0f,_0x56ac59={'bPBre':_0x2a6ae3(0x164),'HNLPV':function(_0xa58d4f,_0x1e7f4a){return _0xa58d4f(_0x1e7f4a);},'wLLrl':'expect'};if(_0x3f5df8['file'])return _0x3f5df8['file'];if(_0x3f5df8[_0x2a6ae3(0x18d)]){try{const _0x5e58ba=stackTrace[_0x2a6ae3(0x1f2)](_0x3f5df8[_0x2a6ae3(0x18d)]);if(_0x5e58ba[0x0]&&_0x5e58ba[0x0][_0x2a6ae3(0x1ed)]){const _0x6baabf=_0x5e58ba[0x0][_0x2a6ae3(0x1ed)]();if(_0x6baabf&&!_0x6baabf[_0x2a6ae3(0x1e8)](_0x56ac59['bPBre']))return _0x6baabf;}}catch(_0x241ddf){logger[_0x2a6ae3(0x1e3)](_0x2a6ae3(0x1d3)+util[_0x2a6ae3(0x1f0)](_0x241ddf));}if(_0x3f5df8[_0x2a6ae3(0x18d)][_0x2a6ae3(0x1e7)]){const _0x4e9c84=_0x3f5df8[_0x2a6ae3(0x18d)][_0x2a6ae3(0x1e7)][_0x2a6ae3(0x160)]('\x0a');for(const _0xd45ddc of _0x4e9c84){const _0x4fede2=_0xd45ddc[_0x2a6ae3(0x20e)](/at (.+?):\d+:\d+/);if(_0x4fede2&&_0x4fede2[0x1]&&!_0x4fede2[0x1]['includes'](_0x56ac59[_0x2a6ae3(0x207)]))return _0x4fede2[0x1];}}}let _0x512ce1=_0x3f5df8[_0x2a6ae3(0x18a)];while(_0x512ce1){if(_0x512ce1['file'])return _0x512ce1[_0x2a6ae3(0x167)];if(_0x512ce1[_0x2a6ae3(0x18d)])try{const _0x1cca55=stackTrace[_0x2a6ae3(0x1f2)](_0x512ce1['asyncError']);if(_0x1cca55[0x0]&&_0x1cca55[0x0]['getFileName']){const _0x7b981d=_0x1cca55[0x0]['getFileName']();if(_0x7b981d&&!_0x7b981d['includes'](_0x56ac59['bPBre']))return _0x7b981d;}}catch(_0x15296d){}_0x512ce1=_0x512ce1[_0x2a6ae3(0x18a)];}try{const _0x3dd920=_0x56ac59[_0x2a6ae3(0x16b)](require,_0x56ac59[_0x2a6ae3(0x1e1)]);if(_0x3dd920&&_0x3dd920[_0x2a6ae3(0x1f5)]){const _0x3f10be=_0x3dd920[_0x2a6ae3(0x1f5)]();if(_0x3f10be&&_0x3f10be['testPath'])return _0x3f10be[_0x2a6ae3(0x1cc)];}}catch(_0x2767d5){logger['debug'](_0x2a6ae3(0x1d2)+util[_0x2a6ae3(0x1f0)](_0x2767d5));}return null;}[a119_0x229a0f(0x197)](_0x35e280){const _0x51b6f7=a119_0x229a0f,_0x4e7dab={};_0x4e7dab[_0x51b6f7(0x170)]='[jestUtils]\x20No\x20testInfo\x20provided,\x20cannot\x20create\x20identifier',_0x4e7dab[_0x51b6f7(0x1ea)]=function(_0x3d2a88,_0x580409){return _0x3d2a88!==_0x580409;},_0x4e7dab[_0x51b6f7(0x19f)]=_0x51b6f7(0x16f),_0x4e7dab[_0x51b6f7(0x1a8)]=_0x51b6f7(0x164),_0x4e7dab[_0x51b6f7(0x185)]=_0x51b6f7(0x1b5),_0x4e7dab['YeFzX']=_0x51b6f7(0x193);const _0x487181=_0x4e7dab;try{if(!_0x35e280)return logger[_0x51b6f7(0x18e)](_0x487181['oOWeE']),null;const _0x3b700e=_0x35e280[_0x51b6f7(0x1cb)]||_0x35e280['name']||_0x35e280['title']||_0x35e280['displayName'];let _0x3b8c40=_0x3b700e;if(_0x35e280[_0x51b6f7(0x18a)]&&_0x35e280[_0x51b6f7(0x18a)][_0x51b6f7(0x202)]&&_0x487181[_0x51b6f7(0x1ea)](_0x35e280[_0x51b6f7(0x18a)][_0x51b6f7(0x202)],_0x487181[_0x51b6f7(0x19f)])){const _0x395b29=_0x35e280[_0x51b6f7(0x202)]||_0x35e280[_0x51b6f7(0x1da)];_0x395b29&&(_0x3b8c40=_0x35e280['parent']['name']+'\x20'+_0x395b29);}let _0x2d8c64=_0x35e280[_0x51b6f7(0x1cc)];if(!_0x2d8c64&&_0x35e280[_0x51b6f7(0x18d)]){try{const _0x873ce4=stackTrace[_0x51b6f7(0x1f2)](_0x35e280['asyncError']);if(_0x873ce4[0x0]&&_0x873ce4[0x0][_0x51b6f7(0x1ed)]){const _0x40d48f=_0x873ce4[0x0]['getFileName']();_0x40d48f&&!_0x40d48f['includes'](_0x487181[_0x51b6f7(0x1a8)])&&(_0x2d8c64=_0x40d48f);}}catch(_0x5a899d){logger[_0x51b6f7(0x1e3)](_0x51b6f7(0x1d3)+util[_0x51b6f7(0x1f0)](_0x5a899d));}if(!_0x2d8c64&&_0x35e280[_0x51b6f7(0x18d)]['stack']){const _0x19e4de=_0x35e280[_0x51b6f7(0x18d)][_0x51b6f7(0x1e7)][_0x51b6f7(0x160)]('\x0a');for(const _0x3a5387 of _0x19e4de){const _0x56ef55=_0x3a5387[_0x51b6f7(0x20e)](/at (.+?):\d+:\d+/);if(_0x56ef55&&_0x56ef55[0x1]&&!_0x56ef55[0x1][_0x51b6f7(0x1e8)](_0x487181[_0x51b6f7(0x1a8)])){_0x2d8c64=_0x56ef55[0x1];break;}}}}const _0xe9a5b6=_0x2d8c64+'::'+_0x3b8c40,_0x40d4ac=crypto[_0x51b6f7(0x1e9)](_0x487181['nWfuf'])[_0x51b6f7(0x17e)](_0xe9a5b6)['digest'](_0x487181['YeFzX'])[_0x51b6f7(0x1f8)](0x0,0x8),_0x1ec138=process[_0x51b6f7(0x184)]+_0x51b6f7(0x1bf)+_0x40d4ac;return logger[_0x51b6f7(0x1e3)](_0x51b6f7(0x1fb)+_0x1ec138+_0x51b6f7(0x19c)+_0xe9a5b6),_0x1ec138;}catch(_0x5f3602){return logger[_0x51b6f7(0x18e)](_0x51b6f7(0x206)+util[_0x51b6f7(0x1f0)](_0x5f3602)),null;}}[a119_0x229a0f(0x1a2)](_0x678729){const _0x5e4917=a119_0x229a0f,_0x59f426={};_0x59f426['ybbPE']='[jestUtils]\x20No\x20test\x20object\x20provided';const _0x63a831=_0x59f426;if(!_0x678729)return logger[_0x5e4917(0x1e3)](_0x63a831[_0x5e4917(0x1c2)]),null;const _0x489f5b=this[_0x5e4917(0x1d4)](_0x678729),_0x10e6c3={};_0x10e6c3[_0x5e4917(0x202)]=_0x678729[_0x5e4917(0x202)]||_0x678729[_0x5e4917(0x1da)],_0x10e6c3['parent']=_0x678729[_0x5e4917(0x18a)],_0x10e6c3['testPath']=_0x489f5b,_0x10e6c3[_0x5e4917(0x18d)]=_0x678729['asyncError'];const _0x47eb46=_0x10e6c3;return this[_0x5e4917(0x197)](_0x47eb46);}[a119_0x229a0f(0x1f7)](_0x1dca67,_0x41cd42=null){const _0x4587c7=a119_0x229a0f,_0x454a56={};_0x454a56[_0x4587c7(0x191)]=_0x4587c7(0x175);const _0x3c6950=_0x454a56;if(!_0x1dca67)return logger[_0x4587c7(0x1e3)](_0x3c6950[_0x4587c7(0x191)]),_0x41cd42;if(_0x1dca67[_0x4587c7(0x1e0)])return logger[_0x4587c7(0x1e3)](_0x4587c7(0x1bb)+_0x1dca67[_0x4587c7(0x1e0)]),_0x1dca67['testIdentifier'];return this['createJestTestIdentifier'](_0x1dca67)||_0x41cd42;}}module['exports']=o11yClassErrorHandler(JestUtils,[a119_0x229a0f(0x1db),a119_0x229a0f(0x1f4),'getRootParentFile',a119_0x229a0f(0x1ee),a119_0x229a0f(0x188),'getTestIdentifier','createTestFrameworkData','createHookData','getHookRunEventData',a119_0x229a0f(0x16a),a119_0x229a0f(0x1d4),'createJestTestIdentifier',a119_0x229a0f(0x1a2),a119_0x229a0f(0x1f7)]);
|
|
1
|
+
const a119_0x5dcd31=a119_0x3b33;(function(_0x2d09c0,_0x1d0674){const _0x27d701=a119_0x3b33,_0xf297ba=_0x2d09c0();while(!![]){try{const _0x3bc134=-parseInt(_0x27d701(0x24b))/0x1+parseInt(_0x27d701(0x259))/0x2*(-parseInt(_0x27d701(0x21d))/0x3)+-parseInt(_0x27d701(0x268))/0x4+-parseInt(_0x27d701(0x251))/0x5+parseInt(_0x27d701(0x204))/0x6+-parseInt(_0x27d701(0x205))/0x7*(-parseInt(_0x27d701(0x235))/0x8)+parseInt(_0x27d701(0x23a))/0x9*(parseInt(_0x27d701(0x1f8))/0xa);if(_0x3bc134===_0x1d0674)break;else _0xf297ba['push'](_0xf297ba['shift']());}catch(_0x3ae4a1){_0xf297ba['push'](_0xf297ba['shift']());}}}(a119_0x4259,0xe583f));function a119_0x4259(){const _0x2bd611=['Failed\x20to\x20get\x20root\x20parent\x20file:\x20','createHash','6240370rAXbcH','error','yqtXH','getFileName','length','call','QCKlw','HookRunFinished','587130rPgwXO','update','finishedAt','_gitConfigPath','iJlbZ','getTestIdentifier','util','wvTSi','xhszD','clearHooksMap','jest-circus','errorsDetailed','VybFL','backtrace','isJestInternalHook','2383472sAxnQS','FybfO','__workerDetails','afUEK','uAbdn','mmumb','hooks','failure_reason','displayName','inspect','failure','VMFGl','err','expect','cUQJH','AFTER_EACH','configureGit','uVEcE','failed','duration','md5','Exception\x20in\x20createHookData:\x20','split','Unknown\x20Test','started_at','recreateIdentifierFromTestInfo','MmiBe','[jestUtils]\x20Error\x20creating\x20identifier:\x20','toString','YEmDN','beforeEach','stack','aVgWG','createIdentifierFromJestTest','../../../helpers/test-observability/error-handler.js','Creating\x20test\x20framework\x20data\x20for\x20eventType:\x20','substring','GJJvm','iWitz','debug','obeBo','[jestUtils]\x20Error\x20parsing\x20asyncError\x20stack\x20trace:\x20','startedAt','Error\x20parsing\x20asyncError\x20stack\x20trace:\x20','_gitConfigured','No\x20hook\x20data\x20provided\x20for\x20jest\x20hook\x20event','BEFORE_EACH','ZcMcy','QGHoe','currentTest','reverse','afterAll','\x20from\x20compositeKey:\x20',':jest-','failure_type','createHookData','tKNYE',',\x20testRunId:\x20','digest','getName','czKZj','mByWA','sXVhy','Exception\x20in\x20checking\x20if\x20hook\x20is\x20internal:\x20','jest','exports','browserstack-node-agent/src/bin/jest','passed','_paths','name','createJestTestIdentifier','20jkUjiI','relative',',\x20hookUUID:\x20','parent','xvtaJ','PzdKh','__jestCurrentTestIdentifier','parse','expanded','Ipacp','[jestUtils]\x20No\x20testInfo\x20provided,\x20cannot\x20create\x20identifier','BEFORE_ALL','8634288toQSmO','1393kgBMXz','test','AFTER_ALL','testPath','getState','failure_data','asyncError','apply','DckTr','prefixTestPath','afterEach','toUpperCase','ztXMu','drnUd','winstonLogger','bzPTB','now','failure_reason_expanded','[jestUtils]\x20Error\x20getting\x20test\x20identifier:\x20','file','sGKWm','type','title','../../../helpers/stackFrameUtils','9arKnHy','XwuIu','getHookRunEventData','pid','yDQKt','getHierarchy','[jestUtils]\x20expect.getState()\x20not\x20available:\x20','errors','ArOjF','QuapI','match','Zhumt','format','[jestUtils]\x20No\x20test\x20object\x20provided','TestRunFinished','Exception\x20in\x20createTestFrameworkData:\x20','toISOString','testIdentifier','includes','BXbws','KVhwp','finished_at','No\x20test\x20data\x20provided\x20for\x20jest\x20test\x20event','gOVyP','58112RlTnGP','sayYL','ROOT_DESCRIBE_BLOCK','cwd','testAnalyticsId','6195627ZeGCSb','HookRunStarted','result','[jestUtils]\x20pickUserFrameFile\x20found\x20no\x20user\x20frame\x20(trace\x20length=','createTestFrameworkData','haCmr','getRootParentFile','eRBDo','javascript','[jestUtils]\x20Created\x20identifier:\x20','retryOf','JkTtL','push','uOcSv','fullName','uuid','pending','596658zmWuqA','failure_backtrace','RiVmy','extractTestFilePath'];a119_0x4259=function(){return _0x2bd611;};return a119_0x4259();}const path=require('path'),util=require(a119_0x5dcd31(0x25f)),crypto=require('crypto'),{getGitMetaData,isUndefined,nestedKeyValue}=require('../../../helpers/helper.js'),logger=require('../../../helpers/logger.js')[a119_0x5dcd31(0x213)],{o11yClassErrorHandler}=require(a119_0x5dcd31(0x28a)),TestInfo=require('../TestInfo.js'),{failureData,getFailureType,PathHelper}=require('../../../helpers/test-observability/utils'),stackTrace=require('stack-trace'),{pickUserFrameFile}=require(a119_0x5dcd31(0x21c)),a119_0x5248bd={};function a119_0x3b33(_0x5c9766,_0x5cbfa8){const _0x42591f=a119_0x4259();return a119_0x3b33=function(_0x3b3382,_0x57e3ea){_0x3b3382=_0x3b3382-0x1d9;let _0x3ec392=_0x42591f[_0x3b3382];return _0x3ec392;},a119_0x3b33(_0x5c9766,_0x5cbfa8);}a119_0x5248bd['beforeAll']=a119_0x5dcd31(0x203),a119_0x5248bd[a119_0x5dcd31(0x1e4)]=a119_0x5dcd31(0x207),a119_0x5248bd[a119_0x5dcd31(0x286)]=a119_0x5dcd31(0x1df),a119_0x5248bd[a119_0x5dcd31(0x20f)]=a119_0x5dcd31(0x277);const HOOK_TYPES_MAP=a119_0x5248bd,hooksMap={};class JestUtils{constructor(){const _0x485deb=a119_0x5dcd31;this[_0x485deb(0x1dd)]=![],this[_0x485deb(0x25c)]=null,this[_0x485deb(0x1f5)]=new PathHelper({'cwd':process[_0x485deb(0x238)]()},undefined);}async[a119_0x5dcd31(0x23e)](_0x415cdc,_0x549779,_0x58ab21=a119_0x5dcd31(0x22b),_0x3fd54f=undefined){const _0x1676d6=a119_0x5dcd31,_0x439f92={'FybfO':_0x1676d6(0x233),'KbpRV':_0x1676d6(0x263),'QGHoe':'File\x20path\x20could\x20not\x20be\x20found','iuYKH':function(_0x46f22c,_0x36d76f){return _0x46f22c!==_0x36d76f;},'iJlbZ':_0x1676d6(0x206),'QuapI':function(_0x34bde0,_0x3e3b96){return _0x34bde0!==_0x3e3b96;},'BXbws':_0x1676d6(0x274),'yqtXH':function(_0x2223c7,_0x526b22){return _0x2223c7!==_0x526b22;},'uOcSv':_0x1676d6(0x24a),'iWitz':function(_0x5df4bb,_0x14a2dc){return _0x5df4bb===_0x14a2dc;},'cUQJH':'TestRunSkipped','PzdKh':'skipped','rEXCs':_0x1676d6(0x22b),'gOVyP':function(_0x207ea5,_0x2985a8){return _0x207ea5>_0x2985a8;},'mByWA':'failed','YrIdb':_0x1676d6(0x1f4),'XwWMJ':function(_0x1c6fca,_0x3af81f){return _0x1c6fca-_0x3af81f;},'haCmr':_0x1676d6(0x242),'yDQKt':_0x1676d6(0x1f1),'drnUd':function(_0x51e442,_0x4941f1){return _0x51e442(_0x4941f1);},'afUEK':function(_0x3bf6b4,_0x627ba4){return _0x3bf6b4===_0x627ba4;}};logger[_0x1676d6(0x28f)](_0x1676d6(0x28b)+_0x58ab21+',\x20testIdentifier:\x20'+_0x549779);try{if(!_0x415cdc)return logger[_0x1676d6(0x28f)](_0x439f92[_0x1676d6(0x269)]),null;if(_0x415cdc['fn']&&_0x415cdc['fn'][_0x1676d6(0x284)]()[_0x1676d6(0x227)](/browserstack internal helper hook/))return null;await this[_0x1676d6(0x278)]();let _0x34f080;try{_0x34f080=this['getRootParentFile'](_0x415cdc);if(_0x34f080&&_0x34f080[_0x1676d6(0x22f)](_0x439f92['KbpRV']))return null;}catch(_0x4f7a80){logger['debug'](_0x1676d6(0x24f)+util[_0x1676d6(0x229)](_0x4f7a80)),_0x34f080=null;}const _0x43e250=this['getHierarchy'](_0x415cdc),_0x13fdcb=this[_0x1676d6(0x1ec)](_0x415cdc),_0x284c9d=_0x34f080?this[_0x1676d6(0x1f5)][_0x1676d6(0x20e)](_0x34f080):_0x439f92[_0x1676d6(0x1e1)];let _0x3b079b=[];const _0x228184=_0x415cdc[_0x1676d6(0x264)]||_0x415cdc[_0x1676d6(0x224)];if(_0x439f92['iuYKH'](_0x228184,undefined))_0x3b079b=[_0x228184,_0x439f92[_0x1676d6(0x25d)]];else _0x439f92[_0x1676d6(0x226)](_0x3fd54f,undefined)&&(_0x3b079b=[_0x3fd54f,_0x439f92[_0x1676d6(0x230)]]);const _0x57b24d=_0x439f92[_0x1676d6(0x226)](_0x228184,undefined)?util[_0x1676d6(0x271)](_0x228184[0x0]):_0x439f92[_0x1676d6(0x253)](_0x3fd54f,undefined)?_0x3fd54f[_0x1676d6(0x284)]():undefined;let _0x38c540=_0x439f92[_0x1676d6(0x247)];if(_0x439f92[_0x1676d6(0x28e)](_0x58ab21,_0x439f92[_0x1676d6(0x276)]))_0x38c540=_0x439f92[_0x1676d6(0x1fd)];else _0x439f92[_0x1676d6(0x28e)](_0x58ab21,_0x439f92['rEXCs'])&&(_0x228184&&_0x439f92[_0x1676d6(0x234)](_0x228184[_0x1676d6(0x255)],0x0)?_0x38c540=_0x439f92[_0x1676d6(0x1ee)]:_0x38c540=_0x439f92['YrIdb']);let _0xed5349=null;if(_0x439f92['QuapI'](_0x415cdc[_0x1676d6(0x27b)],undefined))_0xed5349=_0x415cdc['duration'];else(_0x58ab21['match'](/Finished/)||_0x58ab21[_0x1676d6(0x227)](/Skipped/))&&(_0x415cdc[_0x1676d6(0x280)]&&(_0xed5349=_0x439f92['XwWMJ'](Date[_0x1676d6(0x215)](),new Date(_0x415cdc[_0x1676d6(0x280)])['getTime']())));const _0x1922d9=_0x415cdc['fn']?_0x415cdc['fn'][_0x1676d6(0x284)]():null,_0x4c3fd7={'id':_0x549779,'uuid':_0x549779,'startedAt':_0x415cdc[_0x1676d6(0x280)]||new Date()[_0x1676d6(0x22d)](),'finishedAt':_0x58ab21[_0x1676d6(0x227)](/Finished/)||_0x58ab21['match'](/Skipped/)?new Date()[_0x1676d6(0x22d)]():null,'type':_0x439f92[_0x1676d6(0x25d)],'body':{'lang':_0x439f92[_0x1676d6(0x23f)],'code':_0x1922d9},'name':_0x13fdcb,'errorsDetailed':_0x439f92['gOVyP'](_0x228184?.[_0x1676d6(0x255)],0x0)?_0x228184[0x0]:_0x228184?_0x228184:undefined,'scopes':_0x43e250,'file_name':_0x284c9d,'location':_0x284c9d,'vc_filepath':this[_0x1676d6(0x25c)]&&_0x34f080?path['relative'](this[_0x1676d6(0x25c)],_0x34f080):null,'framework':_0x439f92[_0x1676d6(0x221)],'result':_0x38c540,'failure_reason':_0x57b24d,'duration_in_ms':_0xed5349,'failure':failureData[_0x1676d6(0x20c)](null,_0x3b079b),'failure_type':!_0x57b24d?null:_0x439f92[_0x1676d6(0x212)](getFailureType,_0x57b24d),'retry_of':_0x415cdc[_0x1676d6(0x244)]||null,'customRerunParam':{'rerun_name':_0x13fdcb}};_0x439f92[_0x1676d6(0x28e)](_0x58ab21,_0x439f92['cUQJH'])&&!_0x4c3fd7[_0x1676d6(0x1db)]&&(_0x4c3fd7[_0x1676d6(0x1db)]=_0x4c3fd7[_0x1676d6(0x25b)]);const _0x3896d1=_0x4c3fd7['failure']&&_0x4c3fd7[_0x1676d6(0x272)][0x0];return _0x3896d1&&(_0x4c3fd7[_0x1676d6(0x24c)]=_0x3896d1[_0x1676d6(0x266)],_0x4c3fd7[_0x1676d6(0x216)]=_0x3896d1[_0x1676d6(0x200)]),(_0x439f92[_0x1676d6(0x28e)](_0x58ab21,_0x439f92['rEXCs'])||_0x439f92[_0x1676d6(0x26b)](_0x58ab21,_0x439f92[_0x1676d6(0x276)]))&&(_0x415cdc[_0x1676d6(0x26e)]&&(_0x4c3fd7[_0x1676d6(0x26e)]=_0x415cdc[_0x1676d6(0x26e)])),_0x4c3fd7;}catch(_0xb66f32){return logger[_0x1676d6(0x28f)](_0x1676d6(0x22c)+util[_0x1676d6(0x229)](_0xb66f32)),null;}}async[a119_0x5dcd31(0x1e8)](_0x498328,_0x2da0dd,_0x26b4e0,_0x46cbd3){const _0x530ff7=a119_0x5dcd31,_0xe9e913={'wvTSi':_0x530ff7(0x1de),'obeBo':_0x530ff7(0x263),'tKNYE':_0x530ff7(0x1f3),'VMFGl':'unknown','Qkxvi':'pending','QCKlw':function(_0x1e5e11,_0x162644){return _0x1e5e11===_0x162644;},'ivZUp':_0x530ff7(0x258),'VybFL':function(_0x146913,_0x59e98f){return _0x146913>_0x59e98f;},'Ipacp':_0x530ff7(0x27a),'DckTr':function(_0x174868,_0x4db56c){return _0x174868(_0x4db56c);},'Zhumt':'test','sayYL':_0x530ff7(0x1f4),'jMRQl':'hook','xvtaJ':_0x530ff7(0x242),'rDgdk':_0x530ff7(0x1f1),'ZcMcy':function(_0x3cccf4,_0x4f2ea7){return _0x3cccf4===_0x4f2ea7;},'RiVmy':_0x530ff7(0x23b)};logger['debug']('Creating\x20hook\x20data\x20for\x20eventType:\x20'+_0x26b4e0+_0x530ff7(0x1fa)+_0x2da0dd+_0x530ff7(0x1ea)+_0x46cbd3);try{if(!_0x498328)return logger[_0x530ff7(0x28f)](_0xe9e913[_0x530ff7(0x260)]),null;if(this['isJestInternalHook'](_0x498328))return null;await this['configureGit']();let _0x2d6eed=null;try{_0x2d6eed=this[_0x530ff7(0x240)](_0x498328);if(_0x2d6eed&&_0x2d6eed[_0x530ff7(0x22f)](_0xe9e913[_0x530ff7(0x1d9)]))return null;if(_0x2d6eed&&_0x2d6eed[_0x530ff7(0x22f)](_0xe9e913[_0x530ff7(0x1e9)]))return null;}catch(_0x133df7){logger[_0x530ff7(0x28f)]('Failed\x20to\x20get\x20hook\x20file\x20path:\x20'+util[_0x530ff7(0x229)](_0x133df7));}const _0x196c1e=_0x2d6eed?this[_0x530ff7(0x1f5)]['prefixTestPath'](_0x2d6eed):_0x2d6eed,_0x422e01=this[_0x530ff7(0x1ec)](_0x498328),_0x1a6f96=_0x498328[_0x530ff7(0x21a)]||_0xe9e913[_0x530ff7(0x273)],_0xbbc50a=HOOK_TYPES_MAP[_0x1a6f96]||_0x1a6f96[_0x530ff7(0x210)](),_0x49dc5a=_0x498328[_0x530ff7(0x1fb)]&&_0x498328['parent'][_0x530ff7(0x1f6)]?_0x498328[_0x530ff7(0x1fb)][_0x530ff7(0x1f6)]:'';let _0x4c43d9=_0xe9e913['Qkxvi'],_0x28fcc8=null,_0x2be7b5=null,_0x159bef=null,_0x51aebd=null;_0xe9e913[_0x530ff7(0x257)](_0x26b4e0,_0xe9e913['ivZUp'])&&(_0x51aebd=new Date()[_0x530ff7(0x22d)](),_0x498328[_0x530ff7(0x264)]&&_0xe9e913[_0x530ff7(0x265)](_0x498328[_0x530ff7(0x264)][_0x530ff7(0x255)],0x0)?(_0x4c43d9=_0xe9e913[_0x530ff7(0x201)],_0x2be7b5=util[_0x530ff7(0x271)](_0x498328[_0x530ff7(0x264)][0x0]),_0x28fcc8=_0xe9e913[_0x530ff7(0x20d)](getFailureType,_0x2be7b5),_0x159bef=failureData[_0x530ff7(0x20c)](null,[_0x498328[_0x530ff7(0x264)],_0xe9e913[_0x530ff7(0x228)]])):_0x4c43d9=_0xe9e913[_0x530ff7(0x236)]);const _0x19208e={'uuid':_0x2da0dd,'type':_0xe9e913['jMRQl'],'hook_type':_0xbbc50a,'name':_0x422e01,'body':{'lang':_0xe9e913[_0x530ff7(0x1fc)],'code':_0x498328['fn']?_0x498328['fn']['toString']():null},'tags':[],'test_run_id':_0x46cbd3,'scope':_0x49dc5a,'scopes':[_0x49dc5a],'file_name':_0x196c1e,'location':_0x196c1e,'vc_filepath':this['_gitConfigPath']&&_0x2d6eed?path[_0x530ff7(0x1f9)](this[_0x530ff7(0x25c)],_0x2d6eed):null,'result':_0x4c43d9,'started_at':_0x498328[_0x530ff7(0x280)]||new Date()[_0x530ff7(0x22d)](),'finished_at':_0x51aebd,'failure_type':_0x28fcc8,'failure_reason':_0x2be7b5,'failure_data':_0x159bef,'framework':_0xe9e913['rDgdk']};return _0xe9e913[_0x530ff7(0x1e0)](_0x26b4e0,_0xe9e913[_0x530ff7(0x24d)])&&(hooksMap[_0x46cbd3]?hooksMap[_0x46cbd3][_0x530ff7(0x246)](_0x19208e):hooksMap[_0x46cbd3]=[_0x19208e]),_0x19208e;}catch(_0x34eafd){return logger[_0x530ff7(0x28f)](_0x530ff7(0x27d)+util[_0x530ff7(0x229)](_0x34eafd)),null;}}[a119_0x5dcd31(0x21f)](_0xb5bc29,_0x56db96,_0x5e9dab){const _0x5bf808=a119_0x5dcd31,_0x4848e2={'eRBDo':function(_0x4876ac,_0x38d4d4){return _0x4876ac>_0x38d4d4;},'GJJvm':'failed','YEmDN':function(_0x3f1d56,_0x5a8445){return _0x3f1d56(_0x5a8445);},'czKZj':_0x5bf808(0x206),'ztXMu':_0x5bf808(0x1f4)};try{const _0x4d204b=hooksMap[_0xb5bc29];if(!_0x4d204b)return null;const _0x1cd1ed=_0x4d204b['find'](_0x303938=>_0x303938[_0x5bf808(0x249)]===_0x56db96);if(!_0x1cd1ed)return null;return _0x1cd1ed[_0x5bf808(0x232)]=new Date()['toISOString'](),_0x5e9dab['errorsDetailed']&&_0x4848e2[_0x5bf808(0x241)](_0x5e9dab['errorsDetailed'][_0x5bf808(0x255)],0x0)?(_0x1cd1ed[_0x5bf808(0x23c)]=_0x4848e2[_0x5bf808(0x28d)],_0x1cd1ed[_0x5bf808(0x26f)]=util[_0x5bf808(0x271)](_0x5e9dab[_0x5bf808(0x264)][0x0]),_0x1cd1ed[_0x5bf808(0x1e7)]=_0x4848e2[_0x5bf808(0x285)](getFailureType,_0x1cd1ed['failure_reason']),_0x1cd1ed[_0x5bf808(0x20a)]=failureData[_0x5bf808(0x20c)](null,[_0x5e9dab['errorsDetailed'],_0x4848e2[_0x5bf808(0x1ed)]])):_0x1cd1ed[_0x5bf808(0x23c)]=_0x4848e2[_0x5bf808(0x211)],_0x1cd1ed;}catch(_0x5c5bad){return logger['debug']('Exception\x20in\x20getHookRunEventData:\x20'+util[_0x5bf808(0x229)](_0x5c5bad)),null;}}[a119_0x5dcd31(0x1ec)](_0xf7a54d){const _0x50770f=a119_0x5dcd31,_0x4c3312={};_0x4c3312[_0x50770f(0x261)]=function(_0x53cbf6,_0x115fb7){return _0x53cbf6!==_0x115fb7;},_0x4c3312['ArOjF']=_0x50770f(0x206),_0x4c3312['oWFGC']=_0x50770f(0x27f);const _0x11fd52=_0x4c3312;if(_0x11fd52['xhszD'](_0xf7a54d[_0x50770f(0x21a)],_0x11fd52[_0x50770f(0x225)]))return'\x22'+_0xf7a54d[_0x50770f(0x21a)]+'\x22\x20hook\x20for\x20\x22'+(_0xf7a54d[_0x50770f(0x1fb)]&&_0xf7a54d[_0x50770f(0x1fb)]['name'])+'\x22';return _0xf7a54d[_0x50770f(0x1f6)]||_0x11fd52['oWFGC'];}['getHierarchy'](_0x3cc255){const _0x5a679f=a119_0x5dcd31,_0xf1bfd0={};_0xf1bfd0[_0x5a679f(0x282)]=function(_0x17ce8c,_0x560b8e){return _0x17ce8c!==_0x560b8e;},_0xf1bfd0['bEOQF']='ROOT_DESCRIBE_BLOCK';const _0x226d4f=_0xf1bfd0,_0x31a2d0=[];if(_0x3cc255&&_0x3cc255['parent']){let _0x10aa17=_0x3cc255[_0x5a679f(0x1fb)];while(_0x10aa17&&_0x10aa17[_0x5a679f(0x1f6)]&&_0x226d4f[_0x5a679f(0x282)](_0x10aa17[_0x5a679f(0x1f6)],'')&&_0x226d4f[_0x5a679f(0x282)](_0x10aa17[_0x5a679f(0x1f6)],_0x226d4f['bEOQF'])){_0x31a2d0[_0x5a679f(0x246)](_0x10aa17[_0x5a679f(0x1f6)]),_0x10aa17=_0x10aa17[_0x5a679f(0x1fb)];}}return _0x31a2d0[_0x5a679f(0x1e3)](),_0x31a2d0;}['getRootParentFile'](_0xc628cd){const _0x2645a0=a119_0x5dcd31,_0x26d677={'YeTni':function(_0x45d2f0,_0xfefcfc){return _0x45d2f0(_0xfefcfc);}};if(_0xc628cd[_0x2645a0(0x218)])return _0xc628cd[_0x2645a0(0x218)];if(_0xc628cd['asyncError'])try{const _0x4ab128=stackTrace[_0x2645a0(0x1ff)][_0x2645a0(0x256)](stackTrace,_0xc628cd[_0x2645a0(0x20b)]),_0x38defb=_0x26d677['YeTni'](pickUserFrameFile,_0x4ab128);if(_0x38defb)return _0x38defb;logger['debug'](_0x2645a0(0x23d)+_0x4ab128[_0x2645a0(0x255)]+')');}catch(_0x4c5fab){logger['debug'](_0x2645a0(0x1dc)+util[_0x2645a0(0x229)](_0x4c5fab));}return null;}[a119_0x5dcd31(0x267)](_0x34391a){const _0x118ca0=a119_0x5dcd31,_0x365ee2={};_0x365ee2[_0x118ca0(0x21e)]=_0x118ca0(0x263);const _0xf86e55=_0x365ee2;try{const _0x501d55=this[_0x118ca0(0x240)](_0x34391a);if(!_0x501d55||_0x501d55['includes'](_0xf86e55[_0x118ca0(0x21e)]))return!![];}catch(_0x2c527e){logger[_0x118ca0(0x28f)](_0x118ca0(0x1f0)+util[_0x118ca0(0x229)](_0x2c527e));}return![];}[a119_0x5dcd31(0x25e)](_0x207f01=null){const _0xf5754a=a119_0x5dcd31;try{const _0x10d9be=_0x207f01||global[_0xf5754a(0x26a)]||{};if(global['__jestCurrentTestIdentifier'])return global[_0xf5754a(0x1fe)];if(_0x10d9be?.[_0xf5754a(0x1e2)]?.[_0xf5754a(0x239)])return _0x10d9be[_0xf5754a(0x1e2)][_0xf5754a(0x239)];if(_0x10d9be?.[_0xf5754a(0x1e2)]?.['id'])return _0x10d9be[_0xf5754a(0x1e2)]['id'];return null;}catch(_0x4ef34c){return logger[_0xf5754a(0x28f)](_0xf5754a(0x217)+util[_0xf5754a(0x229)](_0x4ef34c)),null;}}async[a119_0x5dcd31(0x278)](){const _0xefe956=a119_0x5dcd31,_0x28bfa7={'iYYCT':function(_0x273770){return _0x273770();}};if(this[_0xefe956(0x1dd)])return this['_gitConfigPath'];const _0x15b630=await _0x28bfa7['iYYCT'](getGitMetaData);_0x15b630&&(this[_0xefe956(0x25c)]=_0x15b630['root']),this[_0xefe956(0x1dd)]=!![];}[a119_0x5dcd31(0x262)](_0x1f4688){hooksMap[_0x1f4688]&&delete hooksMap[_0x1f4688];}[a119_0x5dcd31(0x24e)](_0x409e32){const _0x41ad93=a119_0x5dcd31,_0x42509d={'lehzy':_0x41ad93(0x263),'sGKWm':function(_0x42a774,_0x4d531c){return _0x42a774(_0x4d531c);},'DCUfL':_0x41ad93(0x275)};if(_0x409e32[_0x41ad93(0x218)])return _0x409e32[_0x41ad93(0x218)];if(_0x409e32[_0x41ad93(0x20b)]){try{const _0x1d4d57=stackTrace['parse'](_0x409e32[_0x41ad93(0x20b)]);if(_0x1d4d57[0x0]&&_0x1d4d57[0x0][_0x41ad93(0x254)]){const _0x2361b1=_0x1d4d57[0x0]['getFileName']();if(_0x2361b1&&!_0x2361b1[_0x41ad93(0x22f)](_0x42509d['lehzy']))return _0x2361b1;}}catch(_0xe61bb7){logger[_0x41ad93(0x28f)](_0x41ad93(0x1da)+util[_0x41ad93(0x229)](_0xe61bb7));}if(_0x409e32[_0x41ad93(0x20b)][_0x41ad93(0x287)]){const _0x1086cd=_0x409e32[_0x41ad93(0x20b)][_0x41ad93(0x287)][_0x41ad93(0x27e)]('\x0a');for(const _0x1ceb60 of _0x1086cd){const _0x4356cc=_0x1ceb60['match'](/at (.+?):\d+:\d+/);if(_0x4356cc&&_0x4356cc[0x1]&&!_0x4356cc[0x1][_0x41ad93(0x22f)](_0x42509d['lehzy']))return _0x4356cc[0x1];}}}let _0x32ad6d=_0x409e32[_0x41ad93(0x1fb)];while(_0x32ad6d){if(_0x32ad6d[_0x41ad93(0x218)])return _0x32ad6d[_0x41ad93(0x218)];if(_0x32ad6d[_0x41ad93(0x20b)])try{const _0x39ba5f=stackTrace[_0x41ad93(0x1ff)](_0x32ad6d[_0x41ad93(0x20b)]);if(_0x39ba5f[0x0]&&_0x39ba5f[0x0]['getFileName']){const _0x1d5cf2=_0x39ba5f[0x0]['getFileName']();if(_0x1d5cf2&&!_0x1d5cf2[_0x41ad93(0x22f)](_0x42509d['lehzy']))return _0x1d5cf2;}}catch(_0x356eeb){}_0x32ad6d=_0x32ad6d[_0x41ad93(0x1fb)];}try{const _0x3a59ee=_0x42509d[_0x41ad93(0x219)](require,_0x42509d['DCUfL']);if(_0x3a59ee&&_0x3a59ee[_0x41ad93(0x209)]){const _0x400d76=_0x3a59ee[_0x41ad93(0x209)]();if(_0x400d76&&_0x400d76[_0x41ad93(0x208)])return _0x400d76[_0x41ad93(0x208)];}}catch(_0xb07422){logger[_0x41ad93(0x28f)](_0x41ad93(0x223)+util['format'](_0xb07422));}return null;}[a119_0x5dcd31(0x1f7)](_0x3c8a89){const _0x4e0311=a119_0x5dcd31,_0x22ab26={};_0x22ab26['bzPTB']=_0x4e0311(0x202),_0x22ab26[_0x4e0311(0x26d)]=function(_0x23c482,_0x477075){return _0x23c482!==_0x477075;},_0x22ab26[_0x4e0311(0x26c)]=_0x4e0311(0x237),_0x22ab26[_0x4e0311(0x288)]=_0x4e0311(0x263),_0x22ab26['sXVhy']=_0x4e0311(0x27c),_0x22ab26[_0x4e0311(0x245)]='hex';const _0x31c5e0=_0x22ab26;try{if(!_0x3c8a89)return logger[_0x4e0311(0x252)](_0x31c5e0[_0x4e0311(0x214)]),null;const _0x2752ae=_0x3c8a89[_0x4e0311(0x248)]||_0x3c8a89[_0x4e0311(0x1f6)]||_0x3c8a89[_0x4e0311(0x21b)]||_0x3c8a89[_0x4e0311(0x270)];let _0x1afbde=_0x2752ae;if(_0x3c8a89['parent']&&_0x3c8a89[_0x4e0311(0x1fb)][_0x4e0311(0x1f6)]&&_0x31c5e0['mmumb'](_0x3c8a89['parent'][_0x4e0311(0x1f6)],_0x31c5e0['uAbdn'])){const _0x53ad22=_0x3c8a89[_0x4e0311(0x1f6)]||_0x3c8a89['title'];_0x53ad22&&(_0x1afbde=_0x3c8a89['parent'][_0x4e0311(0x1f6)]+'\x20'+_0x53ad22);}let _0x8e126=_0x3c8a89[_0x4e0311(0x208)];if(!_0x8e126&&_0x3c8a89[_0x4e0311(0x20b)]){try{const _0x4c40f2=stackTrace['parse'](_0x3c8a89['asyncError']);if(_0x4c40f2[0x0]&&_0x4c40f2[0x0][_0x4e0311(0x254)]){const _0x23c484=_0x4c40f2[0x0][_0x4e0311(0x254)]();_0x23c484&&!_0x23c484['includes'](_0x31c5e0['aVgWG'])&&(_0x8e126=_0x23c484);}}catch(_0x63043b){logger[_0x4e0311(0x28f)](_0x4e0311(0x1da)+util[_0x4e0311(0x229)](_0x63043b));}if(!_0x8e126&&_0x3c8a89[_0x4e0311(0x20b)][_0x4e0311(0x287)]){const _0x2fb83b=_0x3c8a89[_0x4e0311(0x20b)]['stack'][_0x4e0311(0x27e)]('\x0a');for(const _0x230113 of _0x2fb83b){const _0x15642f=_0x230113[_0x4e0311(0x227)](/at (.+?):\d+:\d+/);if(_0x15642f&&_0x15642f[0x1]&&!_0x15642f[0x1]['includes'](_0x31c5e0[_0x4e0311(0x288)])){_0x8e126=_0x15642f[0x1];break;}}}}const _0x6f1c4a=_0x8e126+'::'+_0x1afbde,_0x12a232=crypto[_0x4e0311(0x250)](_0x31c5e0[_0x4e0311(0x1ef)])[_0x4e0311(0x25a)](_0x6f1c4a)[_0x4e0311(0x1eb)](_0x31c5e0[_0x4e0311(0x245)])[_0x4e0311(0x28c)](0x0,0x8),_0x5c14eb=process[_0x4e0311(0x220)]+_0x4e0311(0x1e6)+_0x12a232;return logger[_0x4e0311(0x28f)](_0x4e0311(0x243)+_0x5c14eb+_0x4e0311(0x1e5)+_0x6f1c4a),_0x5c14eb;}catch(_0x1435df){return logger[_0x4e0311(0x252)](_0x4e0311(0x283)+util[_0x4e0311(0x229)](_0x1435df)),null;}}[a119_0x5dcd31(0x289)](_0x529865){const _0xbdd3d4=a119_0x5dcd31,_0x4cdb28={};_0x4cdb28['uVEcE']=_0xbdd3d4(0x22a);const _0xf87c47=_0x4cdb28;if(!_0x529865)return logger[_0xbdd3d4(0x28f)](_0xf87c47[_0xbdd3d4(0x279)]),null;const _0xb72e81=this[_0xbdd3d4(0x24e)](_0x529865),_0x51d977={};_0x51d977[_0xbdd3d4(0x1f6)]=_0x529865['name']||_0x529865[_0xbdd3d4(0x21b)],_0x51d977[_0xbdd3d4(0x1fb)]=_0x529865['parent'],_0x51d977['testPath']=_0xb72e81,_0x51d977[_0xbdd3d4(0x20b)]=_0x529865[_0xbdd3d4(0x20b)];const _0x17736d=_0x51d977;return this['createJestTestIdentifier'](_0x17736d);}[a119_0x5dcd31(0x281)](_0x5bd7b7,_0x11af0d=null){const _0x36ff4e=a119_0x5dcd31,_0xcf981={};_0xcf981[_0x36ff4e(0x231)]='[jestUtils]\x20No\x20testInfo\x20provided\x20for\x20recreation';const _0x4e2a87=_0xcf981;if(!_0x5bd7b7)return logger[_0x36ff4e(0x28f)](_0x4e2a87[_0x36ff4e(0x231)]),_0x11af0d;if(_0x5bd7b7['testIdentifier'])return logger[_0x36ff4e(0x28f)]('[jestUtils]\x20Using\x20stored\x20testIdentifier:\x20'+_0x5bd7b7[_0x36ff4e(0x22e)]),_0x5bd7b7['testIdentifier'];return this[_0x36ff4e(0x1f7)](_0x5bd7b7)||_0x11af0d;}}module[a119_0x5dcd31(0x1f2)]=o11yClassErrorHandler(JestUtils,[a119_0x5dcd31(0x278),a119_0x5dcd31(0x222),a119_0x5dcd31(0x240),a119_0x5dcd31(0x1ec),'isJestInternalHook',a119_0x5dcd31(0x25e),a119_0x5dcd31(0x23e),a119_0x5dcd31(0x1e8),'getHookRunEventData','clearHooksMap',a119_0x5dcd31(0x24e),a119_0x5dcd31(0x1f7),a119_0x5dcd31(0x289),a119_0x5dcd31(0x281)]);
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const
|
|
2
|
+
'use strict';const a120_0x4027bd=a120_0x1e4f;(function(_0x6f0194,_0x471161){const _0x447fe7=a120_0x1e4f,_0x441b4a=_0x6f0194();while(!![]){try{const _0x32e415=parseInt(_0x447fe7(0x145))/0x1+-parseInt(_0x447fe7(0x120))/0x2*(-parseInt(_0x447fe7(0x138))/0x3)+parseInt(_0x447fe7(0x12c))/0x4+-parseInt(_0x447fe7(0x146))/0x5+-parseInt(_0x447fe7(0x123))/0x6+-parseInt(_0x447fe7(0x129))/0x7+parseInt(_0x447fe7(0x12b))/0x8*(-parseInt(_0x447fe7(0x11f))/0x9);if(_0x32e415===_0x471161)break;else _0x441b4a['push'](_0x441b4a['shift']());}catch(_0x1c027e){_0x441b4a['push'](_0x441b4a['shift']());}}}(a120_0x2ca8,0x92f69));function a120_0x2ca8(){const _0x5419ec=['\x20doesn\x27t\x20exist','cwd','1247939lQxLnR','getHubUrl','16eamhzV','3903932cQwogd','qicQy','length','exports','../../helpers/helper','args','initialize','startsWith','start','EVENTS','getPlatformName','modifyBrowserStackW3CCaps','3273zAXrPP','index','assign','end','../test-runner','Config\x20yml\x20is\x20required','File\x20','../../helpers/BrowserStackSetup','File\x20path\x20is\x20required','resolve','AqgYJ','sep','launchBuild','982762rObjqM','2309400OPWmxk','../../helpers/performance/performance-tester','existsSync','configuration','File\x20path\x20','proxySettings','kkrMs','handleApp','config','../v2/browserstackCLI','ZrnPB','finalExecution','push','../../helpers/performance/constants','getInstance','useW3C','SDK_CLEANUP','platforms','parallelsPerPlatform','471177KNUxZz','722kdrBiq','isRunning','mMPOP','6034632zjeUjk','../../helpers/utilities','file','FgJsB'];a120_0x2ca8=function(){return _0x5419ec;};return a120_0x2ca8();}function a120_0x1e4f(_0x3db317,_0x4e898c){const _0x2ca8fd=a120_0x2ca8();return a120_0x1e4f=function(_0x1e4ff2,_0x431396){_0x1e4ff2=_0x1e4ff2-0x114;let _0x3d4daa=_0x2ca8fd[_0x1e4ff2];return _0x3d4daa;},a120_0x1e4f(_0x3db317,_0x4e898c);}const fs=require('fs'),path=require('path'),{default:BrowserStackSetup}=require(a120_0x4027bd(0x13f)),helper=require(a120_0x4027bd(0x130)),PerformanceTester=require(a120_0x4027bd(0x147)),PerformanceEvents=require(a120_0x4027bd(0x119))[a120_0x4027bd(0x135)],utilities=require(a120_0x4027bd(0x124)),{parallelVanillaRun}=require(a120_0x4027bd(0x13c)),TestHubHandler=require('../../helpers/testhub/testhubHandler'),BrowserstackCLI=require(a120_0x4027bd(0x115));async function run(_0x1f127d,_0xc77b32,_0x23baaa){const _0x39987e=a120_0x4027bd,_0x27eb57={'mMPOP':'vanilla','AqgYJ':function(_0x238fc0,_0x562be2){return _0x238fc0(_0x562be2);},'OrBhH':_0x39987e(0x140),'XyHWf':function(_0x5ade93,_0x5d1d8c){return _0x5ade93!==_0x5d1d8c;},'wRJUo':function(_0x324b1d,_0x3d91d6){return _0x324b1d+_0x3d91d6;},'qicQy':function(_0x5b36d8,_0x5a873f){return _0x5b36d8(_0x5a873f);},'JeIJv':_0x39987e(0x13d),'ZrnPB':function(_0x51bb8b,_0x330c1c){return _0x51bb8b>_0x330c1c;},'FgJsB':function(_0x4005d4,_0x3c3543){return _0x4005d4>_0x3c3543;},'vtITm':function(_0x29df1c,_0x50c9e9){return _0x29df1c*_0x50c9e9;},'kkrMs':function(_0x2dbf08,_0x146bec,_0x570d45){return _0x2dbf08(_0x146bec,_0x570d45);}};await _0x23baaa[_0x39987e(0x132)](_0x1f127d);!BrowserstackCLI[_0x39987e(0x11a)]()[_0x39987e(0x121)]()&&await _0x23baaa['setupBrowserstackLocal']();await helper[_0x39987e(0x14d)](_0x23baaa[_0x39987e(0x114)]);const _0x22b69e=[];if(helper['isUndefined'](_0x1f127d['_'][0x1]))throw _0x27eb57[_0x39987e(0x142)](Error,_0x27eb57['OrBhH']);const _0x42495f=process[_0x39987e(0x128)](),_0x2f292f=path[_0x39987e(0x141)](_0x42495f,_0x1f127d['_'][0x1]);if(_0x27eb57['XyHWf'](_0x2f292f,_0x42495f)&&!_0x2f292f[_0x39987e(0x133)](_0x27eb57['wRJUo'](_0x42495f,path[_0x39987e(0x143)])))throw _0x27eb57[_0x39987e(0x142)](Error,_0x39987e(0x14a)+_0x1f127d['_'][0x1]+'\x20resolves\x20outside\x20the\x20project\x20directory\x20and\x20was\x20rejected');if(!fs[_0x39987e(0x148)](_0x2f292f))throw _0x27eb57[_0x39987e(0x12d)](Error,_0x39987e(0x13e)+_0x1f127d['_'][0x1]+_0x39987e(0x127));if(!_0x23baaa[_0x39987e(0x114)])throw _0x27eb57[_0x39987e(0x142)](Error,_0x27eb57['JeIJv']);const _0x2c3085=helper[_0x39987e(0x11b)](_0x23baaa['config']);_0x23baaa['config'][_0x39987e(0x11d)]&&_0x27eb57[_0x39987e(0x116)](_0x23baaa[_0x39987e(0x114)][_0x39987e(0x11d)][_0x39987e(0x12e)],0x0)&&_0x23baaa[_0x39987e(0x114)][_0x39987e(0x11d)]['forEach']((_0x1d8d1b,_0x5148b6)=>{const _0x5d39d8=_0x39987e;_0x2c3085?_0x22b69e[_0x5d39d8(0x118)](helper[_0x5d39d8(0x137)](_0x23baaa[_0x5d39d8(0x114)],_0x27eb57['mMPOP'],_0x5148b6)):_0x22b69e[_0x5d39d8(0x118)](helper['modifyBrowserStackCaps'](_0x23baaa[_0x5d39d8(0x114)],_0x27eb57[_0x5d39d8(0x122)],_0x5148b6));});let _0x5ee97d,_0x33a8eb;const _0x270d56=[];if(_0x27eb57[_0x39987e(0x126)](_0x22b69e[_0x39987e(0x12e)],0x0))_0x22b69e['forEach']((_0x593c98,_0x45a38f)=>{const _0x4a00b4=_0x39987e,_0x484256={};_0x484256[_0x4a00b4(0x139)]=_0x45a38f,_0x5ee97d={'server':helper[_0x4a00b4(0x12a)](_0x23baaa[_0x4a00b4(0x114)]),'proxySettings':_0x23baaa[_0x4a00b4(0x114)]['proxySettings'],'platform':helper[_0x4a00b4(0x136)](_0x593c98),'platformCaps':Object[_0x4a00b4(0x13a)](_0x484256,_0x23baaa[_0x4a00b4(0x114)][_0x4a00b4(0x11d)][_0x45a38f])};const _0x52b21b={'capability':_0x593c98,..._0x5ee97d};_0x52b21b[_0x4a00b4(0x125)]=_0x2f292f,_0x52b21b[_0x4a00b4(0x131)]=_0xc77b32;const _0x163a14={};_0x163a14[_0x4a00b4(0x149)]=_0x52b21b,_0x33a8eb=_0x163a14,_0x270d56['push'](_0x33a8eb);});else{let _0x3e254e;_0x2c3085?_0x3e254e=helper[_0x39987e(0x137)](_0x23baaa[_0x39987e(0x114)],_0x27eb57[_0x39987e(0x122)],0x0):_0x3e254e=helper['modifyBrowserStackCaps'](_0x23baaa['config'],_0x27eb57[_0x39987e(0x122)],0x0);_0x5ee97d={'server':helper[_0x39987e(0x12a)](_0x23baaa[_0x39987e(0x114)]),'proxySettings':_0x23baaa[_0x39987e(0x114)][_0x39987e(0x14b)]};const _0x42a9ec={'capability':_0x3e254e,..._0x5ee97d};_0x42a9ec[_0x39987e(0x125)]=_0x2f292f,_0x42a9ec[_0x39987e(0x131)]=_0xc77b32;const _0x426577={};_0x426577['configuration']=_0x42a9ec,_0x33a8eb=_0x426577,_0x270d56['push'](_0x33a8eb);}const _0x38bb90=await TestHubHandler[_0x39987e(0x144)](_0x27eb57[_0x39987e(0x122)],_0x23baaa),_0xd8d855=_0x27eb57['vtITm'](_0x23baaa[_0x39987e(0x114)]['platforms'][_0x39987e(0x12e)]||0x1,_0x23baaa[_0x39987e(0x114)][_0x39987e(0x11e)]||0x1);PerformanceTester[_0x39987e(0x13b)](PerformanceEvents['SDK_SETUP']),_0x27eb57[_0x39987e(0x14c)](parallelVanillaRun,_0x270d56,_0xd8d855)['then'](_0x547410=>{})['finally'](async()=>{const _0x2a7566=_0x39987e;PerformanceTester[_0x2a7566(0x134)](PerformanceEvents[_0x2a7566(0x11c)]),await utilities[_0x2a7566(0x117)](_0x23baaa);});}module[a120_0x4027bd(0x12f)]=run;
|
package/src/browserStackSdk.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a121_0x438b15=a121_0x5c10;(function(_0x47c0f7,_0x340d5b){const _0x3f6a8b=a121_0x5c10,_0x3e53f3=_0x47c0f7();while(!![]){try{const _0x105bcf=-parseInt(_0x3f6a8b(0x19e))/0x1*(parseInt(_0x3f6a8b(0x1b5))/0x2)+parseInt(_0x3f6a8b(0x1ad))/0x3*(-parseInt(_0x3f6a8b(0x1ab))/0x4)+-parseInt(_0x3f6a8b(0x1ac))/0x5+-parseInt(_0x3f6a8b(0x194))/0x6*(parseInt(_0x3f6a8b(0x1aa))/0x7)+-parseInt(_0x3f6a8b(0x1a6))/0x8+parseInt(_0x3f6a8b(0x1a1))/0x9*(-parseInt(_0x3f6a8b(0x1a3))/0xa)+parseInt(_0x3f6a8b(0x1b0))/0xb;if(_0x105bcf===_0x340d5b)break;else _0x3e53f3['push'](_0x3e53f3['shift']());}catch(_0x3b8519){_0x3e53f3['push'](_0x3e53f3['shift']());}}}(a121_0xc684,0x9f60a));const TestMetadata=require('./helpers/metadata');class BrowserStackSdk{static[a121_0x438b15(0x1b2)](){const _0x1f4ab2=a121_0x438b15,_0x3aed07={};_0x3aed07[_0x1f4ab2(0x1af)]=_0x1f4ab2(0x193),_0x3aed07[_0x1f4ab2(0x18f)]=_0x1f4ab2(0x197),_0x3aed07[_0x1f4ab2(0x1b4)]=_0x1f4ab2(0x1a0),_0x3aed07[_0x1f4ab2(0x1b1)]='browserName',_0x3aed07['hqcmZ']=_0x1f4ab2(0x1a5),_0x3aed07[_0x1f4ab2(0x192)]=_0x1f4ab2(0x19c),_0x3aed07['oPiOE']=_0x1f4ab2(0x1a2),_0x3aed07[_0x1f4ab2(0x195)]='deviceName',_0x3aed07[_0x1f4ab2(0x191)]=_0x1f4ab2(0x198),_0x3aed07[_0x1f4ab2(0x1a7)]='platformName',_0x3aed07[_0x1f4ab2(0x19f)]=_0x1f4ab2(0x1ae),_0x3aed07[_0x1f4ab2(0x190)]=_0x1f4ab2(0x19a),_0x3aed07[_0x1f4ab2(0x199)]=_0x1f4ab2(0x19b);const _0x52bc19=_0x3aed07,_0x1e6048={};if(global[_0x1f4ab2(0x1a8)]){const _0x34dfb8=global[_0x1f4ab2(0x1a8)],_0x4e61f6=_0x34dfb8[_0x52bc19[_0x1f4ab2(0x1af)]]||_0x34dfb8[_0x52bc19[_0x1f4ab2(0x18f)]],_0x43b245=_0x34dfb8[_0x52bc19['RPFRt']]||_0x34dfb8[_0x52bc19['jAHGh']],_0x157ccf=_0x34dfb8[_0x52bc19[_0x1f4ab2(0x196)]]||_0x34dfb8[_0x52bc19['fgKFX']],_0x454d86=_0x34dfb8[_0x52bc19[_0x1f4ab2(0x1a4)]]||_0x34dfb8[_0x52bc19['gDYkj']],_0x53c9c5=_0x34dfb8[_0x52bc19[_0x1f4ab2(0x191)]]||_0x34dfb8[_0x52bc19[_0x1f4ab2(0x1a7)]],_0x3162dc=_0x34dfb8[_0x52bc19['TNaww']]||_0x34dfb8[_0x52bc19[_0x1f4ab2(0x190)]];_0x34dfb8['os']&&(_0x1e6048['os']=_0x34dfb8['os']),_0x4e61f6&&(_0x1e6048[_0x52bc19[_0x1f4ab2(0x18f)]]=_0x4e61f6),_0x43b245&&(_0x1e6048[_0x52bc19[_0x1f4ab2(0x1b1)]]=_0x43b245),_0x157ccf&&(_0x1e6048[_0x52bc19[_0x1f4ab2(0x192)]]=_0x157ccf),_0x454d86&&(_0x1e6048[_0x52bc19[_0x1f4ab2(0x195)]]=_0x454d86),_0x53c9c5&&(_0x1e6048[_0x52bc19['FliDr']]=_0x53c9c5),_0x3162dc&&(_0x1e6048[_0x52bc19[_0x1f4ab2(0x190)]]=_0x3162dc),_0x34dfb8[_0x52bc19[_0x1f4ab2(0x199)]]&&(_0x1e6048[_0x52bc19[_0x1f4ab2(0x199)]]=_0x34dfb8[_0x52bc19[_0x1f4ab2(0x199)]]);}return _0x1e6048;}static[a121_0x438b15(0x19d)](_0x394868={}){const _0x561fc9=a121_0x438b15;TestMetadata[_0x561fc9(0x1b3)](_0x394868);}}function a121_0xc684(){const _0x3f9042=['6yCdjzf','gDYkj','hqcmZ','osVersion','platform','kfOEx','platformVersion','customVariables','browserVersion','setTestMetadata','233066ZMcqcX','TNaww','browser','72DQQsMm','device','1448770xJjYTH','oPiOE','browser_version','9537488tBjKbE','FliDr','__platformCaps','exports','2929437RHGGkd','73660umYbAP','6234620BNORDT','18DkiAfj','platform_version','biTzF','57706539YnDPdZ','jAHGh','getCurrentPlatform','set','RPFRt','4DobBYD','CRrHD','vAwBC','ZzKYZ','fgKFX','os_version'];a121_0xc684=function(){return _0x3f9042;};return a121_0xc684();}function a121_0x5c10(_0x293628,_0x5c3fee){const _0xc684fb=a121_0xc684();return a121_0x5c10=function(_0x5c107f,_0x1ee227){_0x5c107f=_0x5c107f-0x18f;let _0x40c9c0=_0xc684fb[_0x5c107f];return _0x40c9c0;},a121_0x5c10(_0x293628,_0x5c3fee);}module[a121_0x438b15(0x1a9)]=BrowserStackSdk;
|