browserstack-node-sdk 1.60.1 → 1.62.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/browserstack.pw.yml.sample +10 -0
- package/browserstack.yml.sample +10 -0
- 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/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/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 a114_0x2f974f=a114_0x29cd;(function(_0x1c203b,_0x3bac53){const _0x1b43d6=a114_0x29cd,_0x278a66=_0x1c203b();while(!![]){try{const _0x592f36=parseInt(_0x1b43d6(0x1a0))/0x1*(-parseInt(_0x1b43d6(0x187))/0x2)+-parseInt(_0x1b43d6(0x1a7))/0x3*(parseInt(_0x1b43d6(0x1a6))/0x4)+parseInt(_0x1b43d6(0x198))/0x5+parseInt(_0x1b43d6(0x19e))/0x6*(parseInt(_0x1b43d6(0x1a4))/0x7)+-parseInt(_0x1b43d6(0x193))/0x8+-parseInt(_0x1b43d6(0x197))/0x9*(-parseInt(_0x1b43d6(0x19a))/0xa)+parseInt(_0x1b43d6(0x19f))/0xb;if(_0x592f36===_0x3bac53)break;else _0x278a66['push'](_0x278a66['shift']());}catch(_0x21aa46){_0x278a66['push'](_0x278a66['shift']());}}}(a114_0x5869,0x4b2f8));const a114_0x4d52ec={};a114_0x4d52ec['value']=0x0,a114_0x4d52ec[a114_0x2f974f(0x194)]=function(){const _0x5abb6a=a114_0x2f974f,_0xdb3977={};_0xdb3977[_0x5abb6a(0x18a)]='TestFrameworkState.NONE';const _0x16f9b4=_0xdb3977;return _0x16f9b4['aZIrl'];};const a114_0x197d2a={};a114_0x197d2a[a114_0x2f974f(0x19b)]=0x1,a114_0x197d2a['toString']=function(){const _0x2d6a4f=a114_0x2f974f,_0x49bebc={};_0x49bebc[_0x2d6a4f(0x192)]=_0x2d6a4f(0x188);const _0x11f7b9=_0x49bebc;return _0x11f7b9['wPfeS'];};const a114_0x339673={};a114_0x339673['value']=0x2,a114_0x339673[a114_0x2f974f(0x194)]=function(){const _0x580284=a114_0x2f974f,_0x5deacd={};_0x5deacd[_0x580284(0x18c)]='TestFrameworkState.LOG';const _0x480d4a=_0x5deacd;return _0x480d4a[_0x580284(0x18c)];};const a114_0x33e236={};function a114_0x29cd(_0x4f69c8,_0x7f9ed9){const _0x586970=a114_0x5869();return a114_0x29cd=function(_0x29cd9e,_0x177c55){_0x29cd9e=_0x29cd9e-0x184;let _0x4dd44d=_0x586970[_0x29cd9e];return _0x4dd44d;},a114_0x29cd(_0x4f69c8,_0x7f9ed9);}a114_0x33e236[a114_0x2f974f(0x19b)]=0x3,a114_0x33e236[a114_0x2f974f(0x194)]=function(){const _0x3b79ae=a114_0x2f974f,_0x5c7da0={};_0x5c7da0[_0x3b79ae(0x18e)]=_0x3b79ae(0x1a3);const _0x5e1210=_0x5c7da0;return _0x5e1210[_0x3b79ae(0x18e)];};const a114_0x432c9a={};a114_0x432c9a['value']=0x4,a114_0x432c9a[a114_0x2f974f(0x194)]=function(){const _0x529cf0=a114_0x2f974f,_0x5b37a0={};_0x5b37a0['DcnQH']=_0x529cf0(0x19c);const _0x1e9458=_0x5b37a0;return _0x1e9458[_0x529cf0(0x189)];};const a114_0x1dc043={};a114_0x1dc043[a114_0x2f974f(0x19b)]=0x5,a114_0x1dc043['toString']=function(){const _0x33d40=a114_0x2f974f,_0x147e66={};_0x147e66[_0x33d40(0x195)]='TestFrameworkState.BEFORE_EACH';const _0x11d97a=_0x147e66;return _0x11d97a['ulJxe'];};const a114_0x404c1f={};a114_0x404c1f[a114_0x2f974f(0x19b)]=0x6,a114_0x404c1f['toString']=function(){const _0x2b2c68=a114_0x2f974f,_0x5490f1={};_0x5490f1[_0x2b2c68(0x19d)]=_0x2b2c68(0x185);const _0x5f4962=_0x5490f1;return _0x5f4962[_0x2b2c68(0x19d)];};const a114_0x246435={};a114_0x246435['value']=0x7,a114_0x246435[a114_0x2f974f(0x194)]=function(){const _0x5d71e7=a114_0x2f974f,_0x4988a6={};_0x4988a6[_0x5d71e7(0x1a2)]=_0x5d71e7(0x184);const _0x2e2bd0=_0x4988a6;return _0x2e2bd0['YMtpq'];};const a114_0x1a9689={};a114_0x1a9689[a114_0x2f974f(0x19b)]=0x8,a114_0x1a9689[a114_0x2f974f(0x194)]=function(){const _0x2092d5=a114_0x2f974f,_0x417a61={};_0x417a61['XsCqT']=_0x2092d5(0x186);const _0x37b52a=_0x417a61;return _0x37b52a['XsCqT'];};const a114_0x244349={};a114_0x244349[a114_0x2f974f(0x19b)]=0x9,a114_0x244349[a114_0x2f974f(0x194)]=function(){const _0x51138e=a114_0x2f974f,_0x5023e2={};_0x5023e2['IOWMw']=_0x51138e(0x18f);const _0x3e07ea=_0x5023e2;return _0x3e07ea['IOWMw'];};const a114_0x973f05={};a114_0x973f05[a114_0x2f974f(0x19b)]=0xa,a114_0x973f05['toString']=function(){const _0x5761a3=a114_0x2f974f,_0x2cba4={};_0x2cba4[_0x5761a3(0x191)]=_0x5761a3(0x1a5);const _0x19566d=_0x2cba4;return _0x19566d[_0x5761a3(0x191)];};const a114_0x346171={};a114_0x346171['value']=0xb,a114_0x346171['toString']=function(){const _0x54a0fc=a114_0x2f974f,_0x736771={};_0x736771[_0x54a0fc(0x18b)]=_0x54a0fc(0x1a1);const _0x504e1c=_0x736771;return _0x504e1c[_0x54a0fc(0x18b)];};const a114_0x4a3a12={};a114_0x4a3a12['value']=0xc,a114_0x4a3a12[a114_0x2f974f(0x194)]=function(){const _0x2e8d4f=a114_0x2f974f,_0x554a66={};_0x554a66['eJgPj']=_0x2e8d4f(0x196);const _0x59ee4e=_0x554a66;return _0x59ee4e[_0x2e8d4f(0x190)];};const TestFrameworkState=Object['freeze']({'NONE':a114_0x4d52ec,'BEFORE_ALL':a114_0x197d2a,'LOG':a114_0x339673,'SETUP_FIXTURE':a114_0x33e236,'INIT_TEST':a114_0x432c9a,'BEFORE_EACH':a114_0x1dc043,'AFTER_EACH':a114_0x404c1f,'TEST':a114_0x246435,'STEP':a114_0x1a9689,'LOG_REPORT':a114_0x244349,'AFTER_ALL':a114_0x973f05,'TEST_SCREENSHOT':a114_0x346171,'TEST_STEP':a114_0x4a3a12,'fromValue'(_0x55fad4){const _0x2d2096=a114_0x2f974f;return Object[_0x2d2096(0x199)](TestFrameworkState)[_0x2d2096(0x18d)](_0x23843b=>_0x23843b['value']===_0x55fad4);}});function a114_0x5869(){const _0x55cf7e=['624195EbhTbR','values','1730pOwmcS','value','TestFrameworkState.INIT_TEST','RtfBg','6LMEYhs','8673434BdLzHB','2vkuJiv','TestFrameworkState.TEST_SCREENSHOT','YMtpq','TestFrameworkState.SETUP_FIXTURE','1762523okUmVr','TestFrameworkState.AFTER_ALL','124bAAMQb','51231XERKRa','TestFrameworkState.TEST','TestFrameworkState.AFTER_EACH','TestFrameworkState.STEP','67684fnlNoO','TestFrameworkState.BEFORE_ALL','DcnQH','aZIrl','mXHoP','LIdPg','find','lullx','TestFrameworkState.LOG_REPORT','eJgPj','ULdPR','wPfeS','2282792mbBEYb','toString','ulJxe','TestFrameworkState.TEST_STEP','1314UyRNNu'];a114_0x5869=function(){return _0x55cf7e;};return a114_0x5869();}module['exports']=TestFrameworkState;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a115_0x3d726f=a115_0x23bf;(function(_0x381b5e,_0x55705d){const _0x349f4b=a115_0x23bf,_0x52dc9d=_0x381b5e();while(!![]){try{const _0x814da=parseInt(_0x349f4b(0x94))/0x1+-parseInt(_0x349f4b(0xd6))/0x2*(parseInt(_0x349f4b(0xcc))/0x3)+-parseInt(_0x349f4b(0xa5))/0x4*(parseInt(_0x349f4b(0xe6))/0x5)+parseInt(_0x349f4b(0xf3))/0x6+-parseInt(_0x349f4b(0xc6))/0x7+parseInt(_0x349f4b(0x103))/0x8+-parseInt(_0x349f4b(0xa1))/0x9;if(_0x814da===_0x55705d)break;else _0x52dc9d['push'](_0x52dc9d['shift']());}catch(_0x2935ef){_0x52dc9d['push'](_0x52dc9d['shift']());}}}(a115_0x50ac,0x8eda9));const os=require('os'),fs=require('fs'),path=require(a115_0x3d726f(0x8f)),util=require('util'),BrowserstackCLI=require(a115_0x3d726f(0xab)),https=require(a115_0x3d726f(0xdc)),http=require(a115_0x3d726f(0xe7)),AutomationFramework=require('./framework/automationFramework'),PlaywrightDriverModule=require(a115_0x3d726f(0xf4)),TestInfo=require('./TestInfo'),TestFrameworkConstants=require(a115_0x3d726f(0xff)),{createClassLogger}=require('../../helpers/classLogger.js');class uploadAttachmentsManager{static [a115_0x3d726f(0xce)]=createClassLogger(a115_0x3d726f(0xe1));static[a115_0x3d726f(0xe4)](_0x36a4e0,_0x1b7058=![]){const _0x156353=a115_0x3d726f,_0x592ee4={};_0x592ee4[_0x156353(0xd9)]=function(_0x4b5f1d,_0x44b3b3){return _0x4b5f1d/_0x44b3b3;},_0x592ee4['aSQHQ']=function(_0x5c9230,_0x2b785d){return _0x5c9230*_0x2b785d;},_0x592ee4['wHSym']=function(_0x377110,_0x3161e2){return _0x377110>_0x3161e2;},_0x592ee4['jzxej']=_0x156353(0xb3),_0x592ee4[_0x156353(0x87)]=_0x156353(0xfd),_0x592ee4[_0x156353(0xb7)]=function(_0x5e720f,_0x57499e){return _0x5e720f===_0x57499e;},_0x592ee4[_0x156353(0xb1)]=_0x156353(0x95),_0x592ee4[_0x156353(0x84)]='Failed\x20to\x20download\x20file.\x20Status\x20code:\x20%s,\x20skipping\x20upload',_0x592ee4['VQWML']=_0x156353(0xe5),_0x592ee4[_0x156353(0xcf)]=_0x156353(0x100),_0x592ee4[_0x156353(0x88)]=_0x156353(0xef),_0x592ee4[_0x156353(0xde)]='.browserstack\x20folder\x20not\x20found\x20at:\x20%s',_0x592ee4[_0x156353(0x89)]=_0x156353(0x9f),_0x592ee4[_0x156353(0xdf)]=_0x156353(0xfc),_0x592ee4[_0x156353(0xdb)]='Attachment\x20file\x20path\x20is\x20empty,\x20skipping\x20upload.',_0x592ee4['NNhmm']=_0x156353(0xbd),_0x592ee4[_0x156353(0xd5)]=_0x156353(0x9e),_0x592ee4[_0x156353(0xf1)]=_0x156353(0xe3),_0x592ee4[_0x156353(0xc7)]=_0x156353(0xd7),_0x592ee4[_0x156353(0xc2)]=function(_0x584654,_0x5f38a0){return _0x584654/_0x5f38a0;},_0x592ee4['iYrJb']=function(_0x4dc790,_0x20ccc4){return _0x4dc790>_0x20ccc4;},_0x592ee4['jVZty']=_0x156353(0xbb);const _0x48998b=_0x592ee4;this[_0x156353(0xce)][_0x156353(0xa9)](util[_0x156353(0xfe)](_0x48998b['fVVFd'],_0x36a4e0));const _0x48b4c6=os[_0x156353(0xd2)](),_0x454705=path['join'](_0x48b4c6,_0x48998b[_0x156353(0x88)]);!fs[_0x156353(0xb5)](_0x454705)&&(this['logger']['debug'](util[_0x156353(0xfe)](_0x48998b['xBocI'],_0x454705)),fs[_0x156353(0x8a)](_0x454705),this[_0x156353(0xce)][_0x156353(0xa9)](util[_0x156353(0xfe)](_0x48998b[_0x156353(0x89)],_0x454705)));const _0x2ababa=BrowserstackCLI['getInstance']()[_0x156353(0x8d)][_0x156353(0xe8)]?.[_0x156353(0xc3)]?.[_0x156353(0xf6)]()?.['buildHashedId'],_0x1f234b=path[_0x156353(0xa0)](_0x454705,_0x2ababa);!fs[_0x156353(0xb5)](_0x1f234b)&&(fs[_0x156353(0x8a)](_0x1f234b),this[_0x156353(0xce)][_0x156353(0xa9)](util[_0x156353(0xfe)](_0x48998b[_0x156353(0xdf)],_0x1f234b)));if(_0x48998b[_0x156353(0xb7)](_0x36a4e0['trim'](),'')){this[_0x156353(0xce)][_0x156353(0xa9)](util[_0x156353(0xfe)](_0x48998b[_0x156353(0xdb)]));return;}if(_0x36a4e0[_0x156353(0xe0)](_0x48998b['NNhmm'])||_0x36a4e0[_0x156353(0xe0)](_0x48998b[_0x156353(0xd5)])){const _0x59b9b8=_0x36a4e0['startsWith'](_0x48998b['NNhmm'])?https:http,_0x59d278=path[_0x156353(0xf2)](_0x36a4e0),_0x2282b5=path['join'](_0x1f234b,_0x59d278),_0x2be7cf=fs[_0x156353(0xf8)](_0x2282b5);_0x59b9b8[_0x156353(0xe2)](_0x36a4e0,_0x4ce78d=>{const _0x3fc9f0=_0x156353,_0x4da3e8={'OdOlL':function(_0x27a7df,_0x48a79c){const _0x45af4c=a115_0x23bf;return _0x48998b[_0x45af4c(0xd9)](_0x27a7df,_0x48a79c);},'dmcMK':function(_0x430094,_0x2f32be){const _0x5e9dc5=a115_0x23bf;return _0x48998b[_0x5e9dc5(0x8e)](_0x430094,_0x2f32be);},'kXPnf':function(_0x496b3f,_0x287649){const _0x4f0b9b=a115_0x23bf;return _0x48998b[_0x4f0b9b(0xac)](_0x496b3f,_0x287649);},'yaQVe':_0x48998b['jzxej'],'KseFh':_0x48998b[_0x3fc9f0(0x87)]};if(_0x48998b[_0x3fc9f0(0xb7)](_0x4ce78d[_0x3fc9f0(0x9a)],0xc8))_0x4ce78d['pipe'](_0x2be7cf),_0x2be7cf['on'](_0x48998b[_0x3fc9f0(0xb1)],()=>{const _0x20d2ca=_0x3fc9f0;_0x2be7cf[_0x20d2ca(0x8c)]();const _0x5707a3=fs[_0x20d2ca(0xa8)](_0x2282b5),_0x2557d7=_0x4da3e8[_0x20d2ca(0xc9)](_0x5707a3['size'],_0x4da3e8['dmcMK'](0x400,0x400));if(_0x4da3e8['kXPnf'](_0x2557d7,0x64)){this[_0x20d2ca(0xce)][_0x20d2ca(0xa9)](util[_0x20d2ca(0xfe)](_0x4da3e8[_0x20d2ca(0xbc)],_0x2557d7[_0x20d2ca(0xb4)](0x2))),fs[_0x20d2ca(0x97)](_0x2282b5);return;}this['logger'][_0x20d2ca(0xa9)](util[_0x20d2ca(0xfe)](_0x4da3e8[_0x20d2ca(0xa2)],_0x2282b5)),uploadAttachmentsManager[_0x20d2ca(0xf9)](_0x2282b5,_0x1b7058);});else{this[_0x3fc9f0(0xce)][_0x3fc9f0(0xa9)](util[_0x3fc9f0(0xfe)](_0x48998b[_0x3fc9f0(0x84)],_0x4ce78d[_0x3fc9f0(0x9a)])),_0x2be7cf[_0x3fc9f0(0x8c)](),fs['unlinkSync'](_0x2282b5);return;}})['on'](_0x48998b[_0x156353(0xf1)],_0x10fb7e=>{const _0x54ca5d=_0x156353;this['logger'][_0x54ca5d(0xa9)](util['format'](_0x48998b[_0x54ca5d(0x98)],_0x10fb7e['message'])),_0x2be7cf[_0x54ca5d(0x8c)](),fs['unlinkSync'](_0x2282b5);return;});}else{if(!fs['existsSync'](_0x36a4e0)){this[_0x156353(0xce)][_0x156353(0xa9)](util[_0x156353(0xfe)](_0x48998b[_0x156353(0xc7)],_0x36a4e0));return;}const _0xb6ac9f=fs[_0x156353(0xa8)](_0x36a4e0),_0x33385e=_0x48998b[_0x156353(0xc2)](_0xb6ac9f[_0x156353(0xb9)],_0x48998b[_0x156353(0x8e)](0x400,0x400));if(_0x48998b[_0x156353(0x90)](_0x33385e,0x64)){this[_0x156353(0xce)][_0x156353(0xa9)](util[_0x156353(0xfe)](_0x48998b[_0x156353(0xda)],_0x33385e[_0x156353(0xb4)](0x2)));return;}const _0x2ed06a=path[_0x156353(0xf2)](_0x36a4e0),_0x6fe50d=path[_0x156353(0xa0)](_0x1f234b,_0x2ed06a);fs[_0x156353(0xf5)](_0x36a4e0,_0x6fe50d),uploadAttachmentsManager['trackFile'](_0x6fe50d,_0x1b7058);}}static[a115_0x3d726f(0xf9)](_0x81f259,_0x201807){const _0x2b62f5=a115_0x3d726f,_0x1f3c29={'scNDy':function(_0x2e4563,_0x381426){return _0x2e4563(_0x381426);},'QeEma':'./browserstackCLI','oHVKw':_0x2b62f5(0xb0),'vrLYq':function(_0xcc3e60,_0x1321df){return _0xcc3e60===_0x1321df;},'dnTNW':'jest','utORo':_0x2b62f5(0x9d),'xjFyH':'BuildLevel','cEKsr':_0x2b62f5(0xc5),'DlnJu':'trackFile:\x20TestFramework\x20not\x20available,\x20cannot\x20track\x20attachment','avbBF':function(_0x457100,_0x55daff){return _0x457100(_0x55daff);},'jDggJ':_0x2b62f5(0xba),'ICDDL':_0x2b62f5(0xfb),'LNuGr':_0x2b62f5(0xee),'LmpLP':_0x2b62f5(0x8b),'IdwcL':_0x2b62f5(0xd3)};try{let _0x7e7f0b;const _0x2e626d=global[_0x2b62f5(0xa3)]?.['currentTest']?.[_0x2b62f5(0xeb)],_0x41fb36=_0x1f3c29[_0x2b62f5(0x91)](require,_0x1f3c29[_0x2b62f5(0xa4)]),_0x1ebcef=_0x1f3c29[_0x2b62f5(0x91)](require,_0x1f3c29[_0x2b62f5(0xae)]),_0x4070fd=_0x41fb36['getInstance']()[_0x2b62f5(0xcb)]()&&_0x1f3c29[_0x2b62f5(0xb6)](_0x1ebcef['getTestFrameworkDetail']()?.[_0x2b62f5(0xe9)]?.[_0x2b62f5(0x102)](),_0x1f3c29[_0x2b62f5(0x96)]);if(_0x4070fd){_0x7e7f0b=global['__jestCurrentTestIdentifier'];if(!_0x7e7f0b){const _0x5b9b9b=AutomationFramework[_0x2b62f5(0x93)]();_0x7e7f0b=AutomationFramework[_0x2b62f5(0xed)](_0x5b9b9b,PlaywrightDriverModule[_0x2b62f5(0xfa)],'');}this[_0x2b62f5(0xce)][_0x2b62f5(0xa9)](_0x2b62f5(0xb2)+_0x7e7f0b);}else{if(!_0x2e626d){const _0x244591=AutomationFramework['getTrackedInstance']();_0x7e7f0b=AutomationFramework['getState'](_0x244591,PlaywrightDriverModule[_0x2b62f5(0xfa)],'');}else _0x7e7f0b=TestInfo[_0x2b62f5(0xad)](_0x2e626d,_0x2e626d[_0x2b62f5(0xd4)]);this[_0x2b62f5(0xce)][_0x2b62f5(0xa9)]('trackFile:\x20Cucumber+Playwright\x20-\x20testId:\x20'+_0x7e7f0b);}if(!_0x7e7f0b){this[_0x2b62f5(0xce)][_0x2b62f5(0xa9)](_0x1f3c29[_0x2b62f5(0xbe)]);return;}const _0xed5804={[TestFrameworkConstants[_0x2b62f5(0xaf)]]:fs[_0x2b62f5(0xa8)](_0x81f259)[_0x2b62f5(0xb9)],[TestFrameworkConstants['KEY_FILE_NAME']]:path[_0x2b62f5(0xf2)](_0x81f259),[TestFrameworkConstants['KEY_FILE_PATH']]:_0x81f259,[TestFrameworkConstants[_0x2b62f5(0xea)]]:_0x201807?_0x1f3c29[_0x2b62f5(0x99)]:_0x1f3c29['cEKsr']};if(_0x4070fd){const _0x5394b0=_0x41fb36[_0x2b62f5(0xdd)]()['getTestFramework']();if(!_0x5394b0){this[_0x2b62f5(0xce)][_0x2b62f5(0xa9)](_0x1f3c29[_0x2b62f5(0xca)]);return;}const _0x2daaa5=_0x1f3c29[_0x2b62f5(0x92)](require,_0x1f3c29[_0x2b62f5(0x9b)]),_0x5104df=_0x1f3c29[_0x2b62f5(0x92)](require,_0x1f3c29[_0x2b62f5(0xd0)]),_0x38de38=_0x5394b0['resolveInstance'](_0x2daaa5['TEST'],_0x5104df[_0x2b62f5(0x101)]);if(!_0x38de38){this[_0x2b62f5(0xce)][_0x2b62f5(0xa9)](_0x1f3c29[_0x2b62f5(0xd1)]);return;}const _0x1f2a77=_0x38de38[_0x2b62f5(0xd8)]()['get'](_0x7e7f0b)||{},_0x15b67d=_0x1f2a77[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]||{},_0x2163b4={..._0x15b67d};_0x2163b4[_0x81f259]=_0xed5804;const _0x1a676d=_0x2163b4,_0x1b38e5={[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]:_0x1a676d},_0x49a89c={};_0x49a89c[_0x7e7f0b]=_0x1b38e5,_0x38de38[_0x2b62f5(0x86)](_0x49a89c),this[_0x2b62f5(0xce)][_0x2b62f5(0xa9)]('trackFile:\x20Stored\x20attachment\x20in\x20instance\x20memory\x20for\x20testId:\x20'+_0x7e7f0b+_0x2b62f5(0xec)+_0x81f259);}else{const _0x2a1b19=TestInfo[_0x2b62f5(0xf7)](_0x7e7f0b),_0xc83ed2=_0x2a1b19[TestFrameworkConstants[_0x2b62f5(0xf0)]]||{};_0xc83ed2[_0x81f259]=_0xed5804,_0x2a1b19[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]=_0xc83ed2,TestInfo[_0x2b62f5(0xcd)](_0x7e7f0b,_0x2a1b19),this['logger']['debug']('trackFile:\x20Stored\x20attachment\x20in\x20TestInfo\x20file\x20for\x20testId:\x20'+_0x7e7f0b+_0x2b62f5(0xec)+_0x81f259);}this[_0x2b62f5(0xce)][_0x2b62f5(0xa9)](util['format'](_0x1f3c29[_0x2b62f5(0xa6)],_0x81f259));}catch(_0x1949fe){this[_0x2b62f5(0xce)][_0x2b62f5(0xa9)](util['format'](_0x1f3c29[_0x2b62f5(0xbf)],_0x1949fe[_0x2b62f5(0x85)]));}}static[a115_0x3d726f(0x9c)](){const _0x368d38=a115_0x3d726f,_0x5425f1={};_0x5425f1[_0x368d38(0xc8)]=_0x368d38(0xef),_0x5425f1[_0x368d38(0xc4)]='No\x20attachment\x20folder\x20found\x20for\x20testhubID:\x20%s',_0x5425f1[_0x368d38(0xaa)]=_0x368d38(0xa7);const _0x16c21b=_0x5425f1,_0x4f7ec1=os['homedir'](),_0x18363f=path[_0x368d38(0xa0)](_0x4f7ec1,_0x16c21b[_0x368d38(0xc8)]);if(!fs[_0x368d38(0xb5)](_0x18363f))return;const _0xe2d1a3=BrowserstackCLI[_0x368d38(0xdd)]()[_0x368d38(0x8d)][_0x368d38(0xe8)]?.[_0x368d38(0xc3)]?.[_0x368d38(0xf6)]()?.['buildHashedId'],_0x123185=_0xe2d1a3?path[_0x368d38(0xa0)](_0x18363f,_0xe2d1a3):null;if(!_0x123185||!fs['existsSync'](_0x123185)){this[_0x368d38(0xce)][_0x368d38(0xa9)](util[_0x368d38(0xfe)](_0x16c21b['YHQUp'],_0xe2d1a3));return;}const _0x4eb388={};_0x4eb388[_0x368d38(0xc0)]=!![],_0x4eb388[_0x368d38(0xb8)]=!![],fs['rmSync'](_0x123185,_0x4eb388),this[_0x368d38(0xce)][_0x368d38(0xa9)](util[_0x368d38(0xfe)](_0x16c21b[_0x368d38(0xaa)]));}}function a115_0x23bf(_0x15e91b,_0x20e17b){const _0x50ac8c=a115_0x50ac();return a115_0x23bf=function(_0x23bffd,_0x56f63e){_0x23bffd=_0x23bffd-0x84;let _0x1100fc=_0x50ac8c[_0x23bffd];return _0x1100fc;},a115_0x23bf(_0x15e91b,_0x20e17b);}module[a115_0x3d726f(0xc1)]=uploadAttachmentsManager;function a115_0x50ac(){const _0x139507=['ICDDL','LNuGr','homedir','Error\x20tracking\x20file:\x20%s,\x20skipping\x20upload','retry','XYXFR','60496HCBtWZ','Attachment\x20file\x20does\x20not\x20exist\x20at:\x20%s','getAllData','yMZcO','jVZty','aTucn','https','getInstance','xBocI','XgcoB','startsWith','uploadAttachmentsManager','get','error','uploadAttachments','Error\x20downloading\x20file:\x20%s,\x20skipping\x20upload','1165ArlfwR','http','TestHubModule','name','KEY_FILE_LEVEL','testInfo',',\x20filepath:\x20','getState','trackFile:\x20Instance\x20not\x20available,\x20cannot\x20track\x20attachment','.browserstack','KEY_TEST_ATTACHMENTS','dUHOL','basename','4450980Aunfdp','./modules/playwrightDriverModule','copyFileSync','toObject','getTestDetails','createWriteStream','trackFile','KEY_TEST_ID','./state/hookState','Created\x20folder:\x20%s','File\x20downloaded\x20to:\x20%s','format','./framework/constants/testFrameworkConstants','Attachment\x20recevied\x20for\x20path:\x20%s','POST','toLowerCase','6962344GKuoHC','SuaVv','message','addMultipleEntries','ZFiVO','pdVnx','PrhNd','mkdirSync','Attachment\x20file\x20tracked\x20for\x20upload:\x20%s','close','modules','aSQHQ','path','iYrJb','scNDy','avbBF','getTrackedInstance','900756SqzPeI','finish','dnTNW','unlinkSync','VQWML','xjFyH','statusCode','jDggJ','clearAttachments','trackFile:\x20No\x20testId\x20available,\x20cannot\x20track\x20attachment','http://','Created\x20.browserstack\x20folder\x20at:\x20%s','join','14834718OZWcLl','KseFh','__workerDetails','QeEma','2628hCcAsK','LmpLP','Cleared\x20attachment\x20folder','statSync','debug','UVTyK','./browserstackCLI','wHSym','getTestIdentifierFromTestInfo','oHVKw','KEY_FILE_SIZE','./cliUtils','IKAKM','trackFile:\x20Jest+Playwright\x20-\x20testId\x20(testIdentifier):\x20','Downloaded\x20file\x20is\x20too\x20large\x20(%s\x20MB).\x20Deleting\x20file\x20and\x20skipping\x20upload.','toFixed','existsSync','vrLYq','FJKAy','force','size','./state/testFrameworkState','File\x20size\x20is\x20too\x20large\x20(%s\x20MB).\x20Skipping\x20upload.','yaQVe','https://','utORo','IdwcL','recursive','exports','SWfXj','testhubConfig','YHQUp','TestLevel','672833hGOAbg','qhFyD','rXCZP','OdOlL','DlnJu','isRunning','3tuSyOL','setTestDetails','logger','fVVFd'];a115_0x50ac=function(){return _0x139507;};return a115_0x50ac();}
|
|
1
|
+
function a115_0x2973(){const _0x5f1b45=['3246353imAYiq','jhxdB','WdSmV','trackFile:\x20No\x20testId\x20available,\x20cannot\x20track\x20attachment','.browserstack\x20folder\x20not\x20found\x20at:\x20%s','TestLevel','rSjXB','./state/hookState','pUkqk','logger','TestHubModule','Avpxa','KEY_FILE_LEVEL','Nqetd','jest','95AgvvTP','getTestFramework','currentTest','NIZeG','trackFile','9UIaHWN','close','testInfo','statSync','homedir','RVKpz','ykkrf','MAabG','kFeXB','toLowerCase','./browserstackCLI','name','hWdvd','getState','30svaPOg','http','uploadAttachmentsManager','__jestCurrentTestIdentifier','ONgwH','10516nvtKVZ','File\x20downloaded\x20to:\x20%s','2vNqCDd','POST','nxByw','ouRVz','rmSync','12GiphoA','Attachment\x20file\x20does\x20not\x20exist\x20at:\x20%s','unlinkSync','uploadAttachments','finish','dkCrq','exports','./state/testFrameworkState','yJVoq','copyFileSync','pipe','getAllData','./cliUtils','size','toFixed','trackFile:\x20Instance\x20not\x20available,\x20cannot\x20track\x20attachment','apKto','modules','4181801AgtgaJ','retry','toObject','basename','2792360Qqvehi','force','JtwCg','KEY_TEST_ATTACHMENTS','10KcGOcl','message','VKVez','join','buildHashedId','358212BJerBf','getInstance','hgDIU','clearAttachments','trackFile:\x20Stored\x20attachment\x20in\x20instance\x20memory\x20for\x20testId:\x20','eTuBZ','lzlsI','debug','getTrackedInstance','LwOzr','JjiJG','.browserstack','existsSync','__workerDetails','Attachment\x20file\x20path\x20is\x20empty,\x20skipping\x20upload.','statusCode','https://','235522usSTtg','MvIRm','tyOsV','Failed\x20to\x20download\x20file.\x20Status\x20code:\x20%s,\x20skipping\x20upload','KEY_FILE_NAME','Error\x20tracking\x20file:\x20%s,\x20skipping\x20upload','Downloaded\x20file\x20is\x20too\x20large\x20(%s\x20MB).\x20Deleting\x20file\x20and\x20skipping\x20upload.','moEIt','No\x20attachment\x20folder\x20found\x20for\x20testhubID:\x20%s','format','trackFile:\x20Stored\x20attachment\x20in\x20TestInfo\x20file\x20for\x20testId:\x20','RLISo','./TestInfo','http://','resolveInstance','trim','YtUzt','path','get','Attachment\x20recevied\x20for\x20path:\x20%s','Didfd','KEY_TEST_ID','error','./framework/constants/testFrameworkConstants','https','createWriteStream','yRPLI','ZKHRb','getTestIdentifierFromTestInfo','IiPVC',',\x20filepath:\x20','../../helpers/classLogger.js','Attachment\x20file\x20tracked\x20for\x20upload:\x20%s','startsWith','ASVQS','addMultipleEntries','KEY_FILE_PATH','trackFile:\x20Cucumber+Playwright\x20-\x20testId:\x20','getTestDetails','./framework/automationFramework','setTestDetails','wZEAd','Created\x20.browserstack\x20folder\x20at:\x20%s','./modules/playwrightDriverModule','testhubConfig','41763OcToAB','mkdirSync','ROSJf'];a115_0x2973=function(){return _0x5f1b45;};return a115_0x2973();}const a115_0x26d704=a115_0x5ac1;(function(_0x181e30,_0x303cf5){const _0x1829b9=a115_0x5ac1,_0x2b09b4=_0x181e30();while(!![]){try{const _0xe14b5f=-parseInt(_0x1829b9(0xfa))/0x1*(-parseInt(_0x1829b9(0x98))/0x2)+parseInt(_0x1829b9(0xbc))/0x3+parseInt(_0x1829b9(0x96))/0x4*(-parseInt(_0x1829b9(0x7e))/0x5)+parseInt(_0x1829b9(0x91))/0x6*(-parseInt(_0x1829b9(0xcd))/0x7)+parseInt(_0x1829b9(0xb3))/0x8*(-parseInt(_0x1829b9(0x83))/0x9)+parseInt(_0x1829b9(0xb7))/0xa*(parseInt(_0x1829b9(0x6f))/0xb)+parseInt(_0x1829b9(0x9d))/0xc*(parseInt(_0x1829b9(0xaf))/0xd);if(_0xe14b5f===_0x303cf5)break;else _0x2b09b4['push'](_0x2b09b4['shift']());}catch(_0x50e704){_0x2b09b4['push'](_0x2b09b4['shift']());}}}(a115_0x2973,0x33735));const os=require('os'),fs=require('fs'),path=require(a115_0x26d704(0xde)),util=require('util'),BrowserstackCLI=require(a115_0x26d704(0x8d)),https=require(a115_0x26d704(0xe5)),http=require(a115_0x26d704(0x92)),AutomationFramework=require(a115_0x26d704(0xf4)),PlaywrightDriverModule=require(a115_0x26d704(0xf8)),TestInfo=require(a115_0x26d704(0xd9)),TestFrameworkConstants=require(a115_0x26d704(0xe4)),{createClassLogger}=require(a115_0x26d704(0xec));class uploadAttachmentsManager{static [a115_0x26d704(0x78)]=createClassLogger(a115_0x26d704(0x93));static[a115_0x26d704(0xa0)](_0x48074e,_0x4f0485=![]){const _0xa7299=a115_0x26d704,_0x5abe73={};_0x5abe73[_0xa7299(0xef)]=function(_0x949f79,_0x501b27){return _0x949f79/_0x501b27;},_0x5abe73[_0xa7299(0xce)]=function(_0x317b7b,_0x4429d6){return _0x317b7b*_0x4429d6;},_0x5abe73[_0xa7299(0x75)]=function(_0x4168ce,_0x3147e6){return _0x4168ce>_0x3147e6;},_0x5abe73[_0xa7299(0x8a)]=_0xa7299(0xd3),_0x5abe73[_0xa7299(0xe8)]=_0xa7299(0x97),_0x5abe73['IkQAe']=function(_0x49bc7d,_0x56a84e){return _0x49bc7d===_0x56a84e;},_0x5abe73[_0xa7299(0x77)]=_0xa7299(0xa1),_0x5abe73[_0xa7299(0xc2)]=_0xa7299(0xd0),_0x5abe73[_0xa7299(0xdd)]='Error\x20downloading\x20file:\x20%s,\x20skipping\x20upload',_0x5abe73[_0xa7299(0x9b)]=_0xa7299(0xe0),_0x5abe73[_0xa7299(0xe1)]=_0xa7299(0xc7),_0x5abe73[_0xa7299(0xbe)]=_0xa7299(0x73),_0x5abe73[_0xa7299(0x81)]=_0xa7299(0xf7),_0x5abe73[_0xa7299(0xea)]='Created\x20folder:\x20%s',_0x5abe73[_0xa7299(0x6e)]=function(_0x38c995,_0x68ac47){return _0x38c995===_0x68ac47;},_0x5abe73[_0xa7299(0x70)]=_0xa7299(0xca),_0x5abe73[_0xa7299(0xc1)]=_0xa7299(0xcc),_0x5abe73[_0xa7299(0xa5)]=_0xa7299(0xda),_0x5abe73[_0xa7299(0xd8)]=_0xa7299(0xe3),_0x5abe73[_0xa7299(0x9a)]=_0xa7299(0x9e),_0x5abe73[_0xa7299(0xf6)]=function(_0x41b49c,_0x43f840){return _0x41b49c>_0x43f840;},_0x5abe73[_0xa7299(0x7c)]='File\x20size\x20is\x20too\x20large\x20(%s\x20MB).\x20Skipping\x20upload.';const _0x460341=_0x5abe73;this['logger'][_0xa7299(0xc3)](util[_0xa7299(0xd6)](_0x460341['ouRVz'],_0x48074e));const _0x3fa5be=os[_0xa7299(0x87)](),_0x2a11e6=path['join'](_0x3fa5be,_0x460341[_0xa7299(0xe1)]);!fs[_0xa7299(0xc8)](_0x2a11e6)&&(this[_0xa7299(0x78)][_0xa7299(0xc3)](util[_0xa7299(0xd6)](_0x460341[_0xa7299(0xbe)],_0x2a11e6)),fs[_0xa7299(0x6d)](_0x2a11e6),this[_0xa7299(0x78)]['debug'](util[_0xa7299(0xd6)](_0x460341[_0xa7299(0x81)],_0x2a11e6)));const _0x50dded=BrowserstackCLI[_0xa7299(0xbd)]()[_0xa7299(0xae)][_0xa7299(0x79)]?.[_0xa7299(0xf9)]?.[_0xa7299(0xb1)]()?.[_0xa7299(0xbb)],_0x17ab2d=path[_0xa7299(0xba)](_0x2a11e6,_0x50dded);!fs['existsSync'](_0x17ab2d)&&(fs[_0xa7299(0x6d)](_0x17ab2d),this[_0xa7299(0x78)][_0xa7299(0xc3)](util[_0xa7299(0xd6)](_0x460341[_0xa7299(0xea)],_0x17ab2d)));if(_0x460341['ROSJf'](_0x48074e[_0xa7299(0xdc)](),'')){this[_0xa7299(0x78)][_0xa7299(0xc3)](util[_0xa7299(0xd6)](_0x460341['jhxdB']));return;}if(_0x48074e['startsWith'](_0x460341[_0xa7299(0xc1)])||_0x48074e[_0xa7299(0xee)](_0x460341[_0xa7299(0xa5)])){const _0x23b1f9=_0x48074e[_0xa7299(0xee)](_0x460341['eTuBZ'])?https:http,_0xced107=path[_0xa7299(0xb2)](_0x48074e),_0x8c50b5=path['join'](_0x17ab2d,_0xced107),_0x170be9=fs[_0xa7299(0xe6)](_0x8c50b5);_0x23b1f9[_0xa7299(0xdf)](_0x48074e,_0x9de8b6=>{const _0x43127d=_0xa7299,_0x57389d={'LwOzr':function(_0x83c09,_0x40bdb1){const _0x561f2e=a115_0x5ac1;return _0x460341[_0x561f2e(0xef)](_0x83c09,_0x40bdb1);},'JjiJG':function(_0x4a6208,_0xbbce84){return _0x460341['MvIRm'](_0x4a6208,_0xbbce84);},'tyOsV':function(_0x3381c1,_0x18fb87){return _0x460341['rSjXB'](_0x3381c1,_0x18fb87);},'moEIt':_0x460341[_0x43127d(0x8a)],'Avpxa':_0x460341[_0x43127d(0xe8)]};if(_0x460341['IkQAe'](_0x9de8b6[_0x43127d(0xcb)],0xc8))_0x9de8b6[_0x43127d(0xa7)](_0x170be9),_0x170be9['on'](_0x460341['pUkqk'],()=>{const _0x112ea2=_0x43127d;_0x170be9[_0x112ea2(0x84)]();const _0x402eb9=fs[_0x112ea2(0x86)](_0x8c50b5),_0x5f57be=_0x57389d[_0x112ea2(0xc5)](_0x402eb9[_0x112ea2(0xaa)],_0x57389d[_0x112ea2(0xc6)](0x400,0x400));if(_0x57389d[_0x112ea2(0xcf)](_0x5f57be,0x64)){this[_0x112ea2(0x78)][_0x112ea2(0xc3)](util[_0x112ea2(0xd6)](_0x57389d[_0x112ea2(0xd4)],_0x5f57be[_0x112ea2(0xab)](0x2))),fs['unlinkSync'](_0x8c50b5);return;}this['logger']['debug'](util[_0x112ea2(0xd6)](_0x57389d[_0x112ea2(0x7a)],_0x8c50b5)),uploadAttachmentsManager['trackFile'](_0x8c50b5,_0x4f0485);});else{this[_0x43127d(0x78)]['debug'](util[_0x43127d(0xd6)](_0x460341[_0x43127d(0xc2)],_0x9de8b6[_0x43127d(0xcb)])),_0x170be9[_0x43127d(0x84)](),fs['unlinkSync'](_0x8c50b5);return;}})['on'](_0x460341['RLISo'],_0x1b03a2=>{const _0x60771d=_0xa7299;this[_0x60771d(0x78)][_0x60771d(0xc3)](util[_0x60771d(0xd6)](_0x460341[_0x60771d(0xdd)],_0x1b03a2[_0x60771d(0xb8)])),_0x170be9[_0x60771d(0x84)](),fs[_0x60771d(0x9f)](_0x8c50b5);return;});}else{if(!fs[_0xa7299(0xc8)](_0x48074e)){this['logger'][_0xa7299(0xc3)](util[_0xa7299(0xd6)](_0x460341[_0xa7299(0x9a)],_0x48074e));return;}const _0x2272e4=fs[_0xa7299(0x86)](_0x48074e),_0x2573e8=_0x460341[_0xa7299(0xef)](_0x2272e4[_0xa7299(0xaa)],_0x460341[_0xa7299(0xce)](0x400,0x400));if(_0x460341['wZEAd'](_0x2573e8,0x64)){this[_0xa7299(0x78)]['debug'](util[_0xa7299(0xd6)](_0x460341['Nqetd'],_0x2573e8[_0xa7299(0xab)](0x2)));return;}const _0x575457=path['basename'](_0x48074e),_0x46d2ba=path[_0xa7299(0xba)](_0x17ab2d,_0x575457);fs[_0xa7299(0xa6)](_0x48074e,_0x46d2ba),uploadAttachmentsManager[_0xa7299(0x82)](_0x46d2ba,_0x4f0485);}}static[a115_0x26d704(0x82)](_0x30454c,_0x598542){const _0x4463f1=a115_0x26d704,_0x409619={'hWdvd':function(_0x138c61,_0x39357f){return _0x138c61(_0x39357f);},'oxyRI':_0x4463f1(0x8d),'dkCrq':_0x4463f1(0xa9),'kFeXB':function(_0x3773cf,_0x21578b){return _0x3773cf===_0x21578b;},'BbvEu':_0x4463f1(0x7d),'yRPLI':_0x4463f1(0x72),'VKVez':'BuildLevel','JtwCg':_0x4463f1(0x74),'ShtYw':'trackFile:\x20TestFramework\x20not\x20available,\x20cannot\x20track\x20attachment','WgzTn':_0x4463f1(0xa4),'xsmkJ':function(_0x3002f4,_0x1a6866){return _0x3002f4(_0x1a6866);},'WdSmV':_0x4463f1(0x76),'apKto':_0x4463f1(0xac),'ykkrf':_0x4463f1(0xed),'RsGXS':_0x4463f1(0xd2)};try{let _0x58b962;const _0x33be28=global[_0x4463f1(0xc9)]?.[_0x4463f1(0x80)]?.[_0x4463f1(0x85)],_0x6b237e=_0x409619[_0x4463f1(0x8f)](require,_0x409619['oxyRI']),_0x241886=_0x409619[_0x4463f1(0x8f)](require,_0x409619[_0x4463f1(0xa2)]),_0x4d2232=_0x6b237e[_0x4463f1(0xbd)]()['isRunning']()&&_0x409619[_0x4463f1(0x8b)](_0x241886['getTestFrameworkDetail']()?.[_0x4463f1(0x8e)]?.[_0x4463f1(0x8c)](),_0x409619['BbvEu']);if(_0x4d2232){_0x58b962=global[_0x4463f1(0x94)];if(!_0x58b962){const _0x39471e=AutomationFramework['getTrackedInstance']();_0x58b962=AutomationFramework[_0x4463f1(0x90)](_0x39471e,PlaywrightDriverModule[_0x4463f1(0xe2)],'');}this['logger']['debug']('trackFile:\x20Jest+Playwright\x20-\x20testId\x20(testIdentifier):\x20'+_0x58b962);}else{if(!_0x33be28){const _0x5f4805=AutomationFramework[_0x4463f1(0xc4)]();_0x58b962=AutomationFramework[_0x4463f1(0x90)](_0x5f4805,PlaywrightDriverModule[_0x4463f1(0xe2)],'');}else _0x58b962=TestInfo[_0x4463f1(0xe9)](_0x33be28,_0x33be28[_0x4463f1(0xb0)]);this['logger'][_0x4463f1(0xc3)](_0x4463f1(0xf2)+_0x58b962);}if(!_0x58b962){this[_0x4463f1(0x78)][_0x4463f1(0xc3)](_0x409619[_0x4463f1(0xe7)]);return;}const _0x166bd1={[TestFrameworkConstants['KEY_FILE_SIZE']]:fs[_0x4463f1(0x86)](_0x30454c)['size'],[TestFrameworkConstants[_0x4463f1(0xd1)]]:path['basename'](_0x30454c),[TestFrameworkConstants[_0x4463f1(0xf1)]]:_0x30454c,[TestFrameworkConstants[_0x4463f1(0x7b)]]:_0x598542?_0x409619[_0x4463f1(0xb9)]:_0x409619[_0x4463f1(0xb5)]};if(_0x4d2232){const _0x3c37b5=_0x6b237e[_0x4463f1(0xbd)]()[_0x4463f1(0x7f)]();if(!_0x3c37b5){this[_0x4463f1(0x78)]['debug'](_0x409619['ShtYw']);return;}const _0x408a5e=_0x409619[_0x4463f1(0x8f)](require,_0x409619['WgzTn']),_0x2095e0=_0x409619['xsmkJ'](require,_0x409619[_0x4463f1(0x71)]),_0x120374=_0x3c37b5[_0x4463f1(0xdb)](_0x408a5e['TEST'],_0x2095e0[_0x4463f1(0x99)]);if(!_0x120374){this[_0x4463f1(0x78)][_0x4463f1(0xc3)](_0x409619[_0x4463f1(0xad)]);return;}const _0x26b799=_0x120374[_0x4463f1(0xa8)]()[_0x4463f1(0xdf)](_0x58b962)||{},_0x3dbcb9=_0x26b799[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]||{},_0x2f7b00={..._0x3dbcb9};_0x2f7b00[_0x30454c]=_0x166bd1;const _0x24cc01=_0x2f7b00,_0x5629f4={[TestFrameworkConstants[_0x4463f1(0xb6)]]:_0x24cc01},_0x3d72d8={};_0x3d72d8[_0x58b962]=_0x5629f4,_0x120374[_0x4463f1(0xf0)](_0x3d72d8),this[_0x4463f1(0x78)][_0x4463f1(0xc3)](_0x4463f1(0xc0)+_0x58b962+_0x4463f1(0xeb)+_0x30454c);}else{const _0xafe7f4=TestInfo[_0x4463f1(0xf3)](_0x58b962),_0x53e377=_0xafe7f4[TestFrameworkConstants[_0x4463f1(0xb6)]]||{};_0x53e377[_0x30454c]=_0x166bd1,_0xafe7f4[TestFrameworkConstants[_0x4463f1(0xb6)]]=_0x53e377,TestInfo[_0x4463f1(0xf5)](_0x58b962,_0xafe7f4),this[_0x4463f1(0x78)]['debug'](_0x4463f1(0xd7)+_0x58b962+_0x4463f1(0xeb)+_0x30454c);}this[_0x4463f1(0x78)][_0x4463f1(0xc3)](util[_0x4463f1(0xd6)](_0x409619[_0x4463f1(0x89)],_0x30454c));}catch(_0x36f039){this[_0x4463f1(0x78)]['debug'](util['format'](_0x409619['RsGXS'],_0x36f039['message']));}}static[a115_0x26d704(0xbf)](){const _0x136be3=a115_0x26d704,_0x1f012f={};_0x1f012f['pvVxB']=_0x136be3(0xc7),_0x1f012f[_0x136be3(0x95)]=_0x136be3(0xd5),_0x1f012f[_0x136be3(0x88)]='Cleared\x20attachment\x20folder';const _0x59a1bd=_0x1f012f,_0x27db8c=os[_0x136be3(0x87)](),_0x49ab28=path[_0x136be3(0xba)](_0x27db8c,_0x59a1bd['pvVxB']);if(!fs[_0x136be3(0xc8)](_0x49ab28))return;const _0x4c7541=BrowserstackCLI[_0x136be3(0xbd)]()['modules'][_0x136be3(0x79)]?.['testhubConfig']?.[_0x136be3(0xb1)]()?.['buildHashedId'],_0x1db5c3=_0x4c7541?path[_0x136be3(0xba)](_0x49ab28,_0x4c7541):null;if(!_0x1db5c3||!fs[_0x136be3(0xc8)](_0x1db5c3)){this[_0x136be3(0x78)][_0x136be3(0xc3)](util[_0x136be3(0xd6)](_0x59a1bd['ONgwH'],_0x4c7541));return;}const _0x581d33={};_0x581d33['recursive']=!![],_0x581d33[_0x136be3(0xb4)]=!![],fs[_0x136be3(0x9c)](_0x1db5c3,_0x581d33),this[_0x136be3(0x78)][_0x136be3(0xc3)](util[_0x136be3(0xd6)](_0x59a1bd[_0x136be3(0x88)]));}}function a115_0x5ac1(_0x558002,_0x3f0d23){const _0x297360=a115_0x2973();return a115_0x5ac1=function(_0x5ac156,_0x5050ac){_0x5ac156=_0x5ac156-0x6d;let _0x2b6d86=_0x297360[_0x5ac156];return _0x2b6d86;},a115_0x5ac1(_0x558002,_0x3f0d23);}module[a115_0x26d704(0xa3)]=uploadAttachmentsManager;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a116_0x237f76=a116_0x507f;function a116_0x507f(_0x405ef9,_0x5e9b59){const _0x27d220=a116_0x27d2();return a116_0x507f=function(_0x507f44,_0x4941a1){_0x507f44=_0x507f44-0x187;let _0x467b05=_0x27d220[_0x507f44];return _0x467b05;},a116_0x507f(_0x405ef9,_0x5e9b59);}(function(_0x50d3f5,_0x3adc14){const _0x3f0d8e=a116_0x507f,_0x229fb4=_0x50d3f5();while(!![]){try{const _0x3bb022=-parseInt(_0x3f0d8e(0x1e2))/0x1*(parseInt(_0x3f0d8e(0x1d9))/0x2)+parseInt(_0x3f0d8e(0x1d3))/0x3*(-parseInt(_0x3f0d8e(0x1bd))/0x4)+parseInt(_0x3f0d8e(0x211))/0x5*(-parseInt(_0x3f0d8e(0x1a5))/0x6)+parseInt(_0x3f0d8e(0x194))/0x7*(parseInt(_0x3f0d8e(0x191))/0x8)+parseInt(_0x3f0d8e(0x1a6))/0x9*(parseInt(_0x3f0d8e(0x20b))/0xa)+-parseInt(_0x3f0d8e(0x1d2))/0xb+parseInt(_0x3f0d8e(0x207))/0xc;if(_0x3bb022===_0x3adc14)break;else _0x229fb4['push'](_0x229fb4['shift']());}catch(_0x18670f){_0x229fb4['push'](_0x229fb4['shift']());}}}(a116_0x27d2,0x8e631));function a116_0x27d2(){const _0x56b053=['ljDAZ','27736GDcXoy','failureData','getTestUUID','1939dItEEz','rule','NuIEK','scenario','UnhandledError','uri','failure_data','tableBody','EXbJA','toISOString','BEFORE_EACH','push','aEjTr','examples','exports','CaNXg','rpwDe','1244766vDHeDa','9ewaNuO','AssertionError','KzuGC','FMMCH','VZyRr','pickleStepId','path','filter','GmNcS','hook','_gitConfigured','getScenarioExamples','createTestFrameworkData','Exception\x20in\x20getHookRunEventData:\x20','Exception\x20in\x20createHookData:\x20','FOfjd','USPpr','HookRunStarted','hooks','failure','split','find','duration_in_ms','344296hCuxJw','join','QDedp','HZWBs','UXszy','cucumber','relative','value','eezdr','qZGti','failureType','EUCek','sourceReference','_gitConfigPath','failure_reason','testStepFinished','FAILED','zxToo','match','getHookResult','ABYwX','4896540qhcJhX','39wQGbTw','fshwl','hookId','timestamp','nanos','finished_at','55246hnZhqA','map','tags','passed','OkhhS','../../../helpers/test-observability/error-handler.js','uuid','getCucumberHookType','fWxPQ','1gNdvWg','fBuyH','sendHook','format','APepv','unknown','status','failed','winstonLogger','toLowerCase','length','name','bstack','test','javascript','cells','tagExpression','JvJKy','feature','includes','syigw','exception','browserstack-node-agent/src/bin/cucumber-js/test.setup.js','message','OyReP','AFTER_EACH','lZZSv','../TestInfo.js','backtrace','result','BmAYJ','jTjdd','QviQy','SKIPPED','children','getHookRunEventData','astNodeIds','15949920AzxEPi','duWWX','every','forEach','5078060MTOhFm','bQOFU','../../../helpers/logger.js','sendTestRunEventForCucumber','lcXSd','PfqoS','15Djytps','PdcuM','flatMap','vcAsq','FnjON','debug','rsPWJ','pending','testStepResult','QnwpG','xLAOq','SOuCT','testCaseFinished','failure_type','GFvFW','configureGit','../../../helpers/helper.js'];a116_0x27d2=function(){return _0x56b053;};return a116_0x27d2();}const path=require(a116_0x237f76(0x1ac)),util=require('util'),{getGitMetaData,isUndefined,nestedKeyValue}=require(a116_0x237f76(0x18f)),logger=require(a116_0x237f76(0x20d))[a116_0x237f76(0x1ea)],{o11yClassErrorHandler}=require(a116_0x237f76(0x1de)),TestInfo=require(a116_0x237f76(0x1fd)),hooksMap={};class CucumberUtils{constructor(){const _0x2b3cc4=a116_0x237f76;this[_0x2b3cc4(0x1b0)]=![],this[_0x2b3cc4(0x1ca)]=null;}async['createTestFrameworkData'](_0x3beaa6,_0x29dc24,_0x5352a7,_0x440051,_0x18c6a0,_0x2bb816){const _0x7b664e=a116_0x237f76,_0x377ca3={'PfqoS':function(_0x42d18b,_0x49c661){return _0x42d18b===_0x49c661;},'GFojF':_0x7b664e(0x1cd),'aEjTr':_0x7b664e(0x1e9),'ZqcVD':function(_0x5f56bc,_0x19d165){return _0x5f56bc===_0x19d165;},'wGLPY':_0x7b664e(0x203),'lZZSv':'skipped','vwIYj':function(_0x3d77f4,_0x563bb0){return _0x3d77f4||_0x563bb0;},'ljDAZ':function(_0x185a78,_0x3b9e4e){return _0x185a78+_0x3b9e4e;},'QviQy':function(_0x20fb58,_0x336202){return _0x20fb58+_0x336202;},'fWxPQ':function(_0x543f55,_0x2f2865){return _0x543f55+_0x2f2865;},'NeBCN':_0x7b664e(0x1ef),'sZiuB':_0x7b664e(0x1f0),'GmNcS':_0x7b664e(0x1c2),'USPpr':_0x7b664e(0x218),'lcXSd':_0x7b664e(0x1dc),'EUCek':function(_0x27402f,_0x2b73cc){return _0x27402f!==_0x2b73cc;},'FMMCH':function(_0x4eea9c,_0x3e5f3d){return _0x4eea9c/_0x3e5f3d;},'EXbJA':'strip-ansi','qZGti':function(_0xf280ee,_0x1dfbee){return _0xf280ee(_0x1dfbee);},'PdcuM':_0x7b664e(0x1e7),'QnwpG':function(_0x33faaa,_0x37e467){return _0x33faaa(_0x37e467);},'FnjON':'AssertionError','CaNXg':_0x7b664e(0x198)},{feature:_0x4f297b,scenario:_0x120247,steps:_0x5e6dd5,uuid:_0x2b61a6,startedAt:_0x4ef659,finishedAt:_0x32f09b}=_0x377ca3['vwIYj'](_0x3beaa6,{}),_0x1e4ba1=this[_0x7b664e(0x1b1)](_0x440051,_0x29dc24);await this[_0x7b664e(0x18e)]();const _0x12ed80=_0x1e4ba1?_0x377ca3[_0x7b664e(0x190)](_0x377ca3[_0x7b664e(0x202)](_0x377ca3[_0x7b664e(0x1e1)](_0x29dc24[_0x7b664e(0x1ed)],'\x20('),_0x1e4ba1[_0x7b664e(0x1be)](',\x20')),')'):_0x29dc24[_0x7b664e(0x1ed)],_0x509f00={'id':_0x18c6a0,'uuid':_0x18c6a0,'startedAt':_0x4ef659,'finishedAt':_0x32f09b,'type':_0x377ca3['NeBCN'],'body':{'lang':_0x377ca3['sZiuB'],'code':null},'name':_0x12ed80,'scopes':[_0x4f297b&&_0x4f297b['name']?_0x4f297b[_0x7b664e(0x1ed)]:''],'tags':_0x29dc24[_0x7b664e(0x1db)]?_0x29dc24['tags'][_0x7b664e(0x1da)](({name:_0x5f11d1})=>_0x5f11d1):[],'file_name':_0x29dc24['uri'],'location':_0x29dc24[_0x7b664e(0x199)],'vc_filepath':this[_0x7b664e(0x1ca)]&&_0x29dc24['uri']?path[_0x7b664e(0x1c3)](this[_0x7b664e(0x1ca)],_0x29dc24['uri']):null,'framework':_0x377ca3[_0x7b664e(0x1ae)],'result':_0x377ca3[_0x7b664e(0x1b6)],'meta':{'feature':_0x4f297b,'scenario':_0x120247,'steps':_0x5e6dd5,'examples':_0x1e4ba1},'customRerunParam':{'rerun_name':_0x12ed80}};if(_0x5352a7[_0x7b664e(0x18b)]&&_0x5e6dd5){const _0x565ab0=_0x5352a7['testCaseFinished'];let _0x3d1ccd=_0x377ca3[_0x7b664e(0x20f)];_0x5e6dd5[_0x7b664e(0x209)](_0x4a6ac6=>{const _0x3e771f=_0x7b664e;if(_0x377ca3[_0x3e771f(0x210)](_0x4a6ac6[_0x3e771f(0x1ff)],_0x377ca3['GFojF']))return _0x3d1ccd=_0x377ca3[_0x3e771f(0x1a0)],_0x565ab0[_0x3e771f(0x1b9)]=_0x4a6ac6[_0x3e771f(0x1b9)],_0x565ab0[_0x3e771f(0x1c7)]=_0x4a6ac6['failureType'],![];else{if(_0x377ca3['ZqcVD'](_0x4a6ac6[_0x3e771f(0x1ff)],_0x377ca3['wGLPY']))return _0x3d1ccd=_0x377ca3[_0x3e771f(0x1fc)],![];}return!![];}),_0x509f00['finishedAt']=new Date()[_0x7b664e(0x19d)](),_0x509f00['result']=_0x3d1ccd;_0x565ab0[_0x7b664e(0x1d6)]&&_0x377ca3[_0x7b664e(0x1c8)](_0x565ab0[_0x7b664e(0x1d6)][_0x7b664e(0x1d7)],undefined)?_0x509f00['duration_in_ms']=_0x377ca3[_0x7b664e(0x1a9)](_0x565ab0['timestamp'][_0x7b664e(0x1d7)],0xf4240):_0x509f00[_0x7b664e(0x1bc)]=undefined;if(_0x377ca3['PfqoS'](_0x3d1ccd,_0x377ca3[_0x7b664e(0x1a0)])){const {default:_0x5aceb8}=await import(_0x377ca3[_0x7b664e(0x19c)]);_0x509f00[_0x7b664e(0x1b9)]=[{'backtrace':[_0x565ab0[_0x7b664e(0x1b9)]?_0x377ca3[_0x7b664e(0x1c6)](_0x5aceb8,_0x565ab0[_0x7b664e(0x1b9)]):_0x377ca3[_0x7b664e(0x212)]]}],_0x509f00[_0x7b664e(0x1cb)]=_0x565ab0[_0x7b664e(0x1b9)]?_0x377ca3[_0x7b664e(0x188)](_0x5aceb8,_0x565ab0[_0x7b664e(0x1b9)]):_0x565ab0['message'],_0x565ab0['failureType']&&(_0x509f00[_0x7b664e(0x18c)]=_0x565ab0[_0x7b664e(0x1c7)]['match'](/AssertError/)?_0x377ca3[_0x7b664e(0x215)]:_0x377ca3[_0x7b664e(0x1a3)]);}}return _0x509f00;}[a116_0x237f76(0x205)](_0x1b3338,_0x420689,_0x5a8ba1,_0x83f781,_0x7bb936,_0x37c804){const _0xffc09=a116_0x237f76,_0x59b409={'FOfjd':function(_0x5bbef6,_0x1880e1){return _0x5bbef6===_0x1880e1;},'nWSpy':'HookRunFinished','NuIEK':function(_0x926a60,_0x5143c3,_0x37cdad){return _0x926a60(_0x5143c3,_0x37cdad);},'QDedp':_0xffc09(0x1c9),'GFvFW':'uri','duWWX':'pending','KzuGC':_0xffc09(0x1af),'JnhZK':'javascript','rsPWJ':function(_0x31ea4e,_0x5ada65,_0x4a8ea2){return _0x31ea4e(_0x5ada65,_0x4a8ea2);},'ABYwX':_0xffc09(0x1f4),'bQOFU':_0xffc09(0x1ed),'jTjdd':_0xffc09(0x1c2)};try{if(_0x59b409[_0xffc09(0x1b5)](_0x5a8ba1,_0x59b409['nWSpy'])){const _0x30eb99=new Date()[_0xffc09(0x19d)](),_0x63a4f9=hooksMap[_0x420689];if(!_0x63a4f9)return;const _0x51caa6=_0x63a4f9['find'](_0x7920e=>_0x7920e[_0xffc09(0x1df)]===_0x83f781['id']);if(!_0x51caa6)return;const _0x5ba2e2=this[_0xffc09(0x1d0)](_0x1b3338,_0x420689);_0x51caa6[_0xffc09(0x1ff)]=_0x5ba2e2[_0xffc09(0x1e8)],_0x51caa6[_0xffc09(0x1d8)]=_0x30eb99,_0x51caa6['failure_type']=_0x5ba2e2[_0xffc09(0x1c7)];const _0x40df7d={};return _0x40df7d[_0xffc09(0x1fe)]=_0x5ba2e2[_0xffc09(0x192)],_0x51caa6[_0xffc09(0x19a)]=[_0x40df7d],_0x51caa6;}const _0x2b2eb8=TestInfo[_0xffc09(0x193)](_0x420689),_0x15aa10=_0x1b3338[_0xffc09(0x1b8)][_0xffc09(0x1bb)](_0x40b2f2=>_0x40b2f2['id']===_0x83f781[_0xffc09(0x1d5)]),_0x545f43=_0x59b409[_0xffc09(0x196)](nestedKeyValue,_0x15aa10,[_0x59b409[_0xffc09(0x1bf)],_0x59b409[_0xffc09(0x18d)]]),_0x3536b4=new Date()[_0xffc09(0x19d)](),_0x172de8=_0x59b409[_0xffc09(0x208)],_0xfd4060=_0x15aa10[_0xffc09(0x1f2)]?_0x15aa10['tagExpression'][_0xffc09(0x1ba)]('\x20')[_0xffc09(0x1ad)](_0x45f38a=>_0x45f38a['includes']('@')):[],_0x2dc077={'uuid':_0x83f781['id'],'type':_0x59b409[_0xffc09(0x1a8)],'hook_type':_0x37c804,'name':_0x15aa10[_0xffc09(0x1ed)],'body':{'lang':_0x59b409['JnhZK'],'code':null},'tags':_0xfd4060,'test_run_id':_0x2b2eb8,'scope':_0x59b409[_0xffc09(0x217)](nestedKeyValue,_0x7bb936,[_0x59b409[_0xffc09(0x1d1)],_0x59b409[_0xffc09(0x20c)]]),'scopes':[_0x59b409[_0xffc09(0x217)](nestedKeyValue,_0x7bb936,[_0x59b409[_0xffc09(0x1d1)],_0x59b409[_0xffc09(0x20c)]])||''],'file_name':_0x545f43,'location':_0x545f43,'vc_filepath':this[_0xffc09(0x1ca)]?path[_0xffc09(0x1c3)](this['_gitConfigPath'],_0x545f43):null,'result':_0x172de8,'started_at':_0x3536b4,'framework':_0x59b409[_0xffc09(0x201)]};return _0x2dc077;}catch(_0x37262e){logger[_0xffc09(0x216)](_0xffc09(0x1b3)+util[_0xffc09(0x1e5)](_0x37262e)+'\x20');}}async['createHookData'](_0x30e6f5,_0x47a4be,_0x264d26,_0xbf6501,_0x4dc67a,_0xd4bbe){const _0x3a349f=a116_0x237f76,_0x486cf6={'sXLiu':function(_0x8ba7c,_0x27ab06){return _0x8ba7c===_0x27ab06;},'syigw':_0x3a349f(0x1b7),'xLAOq':function(_0x582af4,_0x318632,_0x3febd8){return _0x582af4(_0x318632,_0x3febd8);},'OyReP':_0x3a349f(0x1c9),'uUwpd':_0x3a349f(0x199),'eezdr':_0x3a349f(0x1f8),'VZyRr':_0x3a349f(0x1ee)};try{const _0x2cf70c=_0xbf6501['find'](_0x21cf20=>_0x21cf20['id']===_0x4dc67a);if(!_0x2cf70c[_0x3a349f(0x1d5)])return;const _0x1ed320=this[_0x3a349f(0x1e0)](_0xbf6501,_0x2cf70c),_0x3a5808=this[_0x3a349f(0x205)](_0x30e6f5,_0x47a4be,_0x264d26,_0x2cf70c,_0xd4bbe,_0x1ed320);if(!_0x3a5808)return;_0x486cf6['sXLiu'](_0x264d26,_0x486cf6[_0x3a349f(0x1f6)])&&(hooksMap[_0x47a4be]?hooksMap[_0x47a4be][_0x3a349f(0x19f)](_0x3a5808):hooksMap[_0x47a4be]=[_0x3a5808]);const _0x50c3ac=_0x30e6f5[_0x3a349f(0x1b8)][_0x3a349f(0x1bb)](_0x3bb66d=>_0x3bb66d['id']===_0x2cf70c[_0x3a349f(0x1d5)]),_0x134d9c=_0x486cf6[_0x3a349f(0x189)](nestedKeyValue,_0x50c3ac,[_0x486cf6[_0x3a349f(0x1fa)],_0x486cf6['uUwpd']]);if(!_0x134d9c)return;else{if(_0x134d9c[_0x3a349f(0x1f5)](_0x486cf6[_0x3a349f(0x1c5)]))return;}if(_0x486cf6['sXLiu'](_0x3a5808['name'],_0x486cf6[_0x3a349f(0x1aa)]))return;return _0x3a5808;}catch(_0x78f3a1){logger['debug'](_0x3a349f(0x1b4)+util[_0x3a349f(0x1e5)](_0x78f3a1)+'\x20');}}[a116_0x237f76(0x1d0)](_0x39364b,_0x30b914){const _0x5af4e5=a116_0x237f76,_0x2f43fe={};_0x2f43fe['KiUol']=function(_0x263e96,_0xd2c15e){return _0x263e96===_0xd2c15e;},_0x2f43fe[_0x5af4e5(0x1e6)]=_0x5af4e5(0x1e9),_0x2f43fe['JvJKy']=function(_0x310570,_0x521f85){return _0x310570===_0x521f85;},_0x2f43fe[_0x5af4e5(0x18a)]='UnhandledError',_0x2f43fe[_0x5af4e5(0x1c1)]=_0x5af4e5(0x1a7),_0x2f43fe['zxToo']=function(_0x1b3e86,_0x4f4960){return _0x1b3e86||_0x4f4960;};const _0x33cafa=_0x2f43fe,_0x20b82e=_0x39364b[_0x5af4e5(0x1cc)][_0x30b914][_0x5af4e5(0x187)];let _0x5118ac,_0x10826b;return _0x20b82e&&_0x33cafa['KiUol'](_0x20b82e[_0x5af4e5(0x1e8)]['toString']()[_0x5af4e5(0x1eb)](),_0x33cafa[_0x5af4e5(0x1e6)])&&(_0x5118ac=_0x33cafa[_0x5af4e5(0x1f3)](_0x20b82e[_0x5af4e5(0x1f7)],undefined)?_0x20b82e[_0x5af4e5(0x1f9)]:_0x20b82e[_0x5af4e5(0x1f7)][_0x5af4e5(0x1f9)],_0x10826b=_0x33cafa['JvJKy'](_0x20b82e[_0x5af4e5(0x1f7)],undefined)?_0x33cafa[_0x5af4e5(0x18a)]:_0x20b82e[_0x5af4e5(0x1f9)][_0x5af4e5(0x1cf)](/Assert/)?_0x33cafa[_0x5af4e5(0x1c1)]:_0x33cafa['SOuCT']),{'status':_0x20b82e[_0x5af4e5(0x1e8)][_0x5af4e5(0x1eb)](),'failureType':_0x33cafa[_0x5af4e5(0x1ce)](_0x10826b,null),'failureData':!_0x5118ac?null:[_0x5118ac]};}[a116_0x237f76(0x1e0)](_0x2eb964,_0x11a0c4){const _0x40cc1f=a116_0x237f76,_0x225ac9={};_0x225ac9[_0x40cc1f(0x1e3)]=function(_0x36d417,_0x31879d){return _0x36d417===_0x31879d;},_0x225ac9[_0x40cc1f(0x1c0)]=_0x40cc1f(0x1fb),_0x225ac9['OkhhS']=_0x40cc1f(0x19e);const _0x6d2346=_0x225ac9;let _0x1a640c=![];for(const _0x59c26e of _0x2eb964){_0x59c26e[_0x40cc1f(0x1ab)]&&(_0x1a640c=!![]);if(_0x6d2346[_0x40cc1f(0x1e3)](_0x11a0c4['id'],_0x59c26e['id']))return _0x1a640c?_0x6d2346[_0x40cc1f(0x1c0)]:_0x6d2346[_0x40cc1f(0x1dd)];}}[a116_0x237f76(0x1b1)]=(_0xaf236b,_0x124dbc)=>{const _0x16354e=a116_0x237f76,_0x1fd757={};_0x1fd757[_0x16354e(0x1d4)]=function(_0x14b2ff,_0x23956a){return _0x14b2ff===_0x23956a;},_0x1fd757[_0x16354e(0x214)]=function(_0x54c033,_0x26aa0d){return _0x54c033===_0x26aa0d;},_0x1fd757[_0x16354e(0x200)]=function(_0xfc651e,_0x5e29a1){return _0xfc651e>_0x5e29a1;};const _0x1d474c=_0x1fd757;if(!(_0x124dbc[_0x16354e(0x206)]&&_0x1d474c[_0x16354e(0x200)](_0x124dbc[_0x16354e(0x206)][_0x16354e(0x1ec)],0x1)))return;const _0x22c86e=_0x124dbc[_0x16354e(0x206)][0x0],_0x347f0d=_0x124dbc[_0x16354e(0x206)][0x1],_0x14d7db=_0xaf236b[_0x16354e(0x1f4)]&&_0xaf236b[_0x16354e(0x1f4)]['children']?_0xaf236b[_0x16354e(0x1f4)][_0x16354e(0x204)]:undefined;let _0x158d96=[];_0x14d7db&&_0x14d7db[_0x16354e(0x20a)](_0x4cb4ea=>{const _0x37abea=_0x16354e;if(_0x4cb4ea['rule'])_0x4cb4ea[_0x37abea(0x195)][_0x37abea(0x204)][_0x37abea(0x20a)](_0x56f134=>{const _0x4e2b78=_0x37abea;if(_0x56f134[_0x4e2b78(0x197)]&&_0x1d474c[_0x4e2b78(0x1d4)](_0x56f134[_0x4e2b78(0x197)]['id'],_0x22c86e)&&_0x56f134[_0x4e2b78(0x197)]['examples']){const _0x44c942=_0x56f134['scenario']['examples'][_0x4e2b78(0x213)](_0x42ab94=>_0x42ab94[_0x4e2b78(0x19b)])[_0x4e2b78(0x1bb)](_0x29b8a0=>_0x29b8a0['id']===_0x347f0d);let _0x456f16;_0x44c942&&_0x44c942[_0x4e2b78(0x1f1)]?_0x456f16=_0x44c942[_0x4e2b78(0x1f1)][_0x4e2b78(0x1da)](_0x2d1d7d=>_0x2d1d7d[_0x4e2b78(0x1c4)]):_0x456f16=[],_0x456f16&&(_0x158d96=_0x456f16);}});else{if(_0x4cb4ea['scenario']&&_0x1d474c[_0x37abea(0x214)](_0x4cb4ea[_0x37abea(0x197)]['id'],_0x22c86e)&&_0x4cb4ea['scenario'][_0x37abea(0x1a1)]){const _0x4d1b28=_0x4cb4ea[_0x37abea(0x197)][_0x37abea(0x1a1)][_0x37abea(0x213)](_0xf0b47a=>_0xf0b47a[_0x37abea(0x19b)])[_0x37abea(0x1bb)](_0x12c41d=>_0x12c41d['id']===_0x347f0d);let _0xd1abbd;_0x4d1b28&&_0x4d1b28['cells']?_0xd1abbd=_0x4d1b28['cells']['map'](_0x126589=>_0x126589[_0x37abea(0x1c4)]):_0xd1abbd=[],_0xd1abbd&&(_0x158d96=_0xd1abbd);}}});if(_0x158d96[_0x16354e(0x1ec)])return _0x158d96;return;};async[a116_0x237f76(0x18e)](){const _0x29e8fc=a116_0x237f76,_0x4dce42={'rpwDe':function(_0xf04e9c){return _0xf04e9c();}};if(this[_0x29e8fc(0x1b0)])return this['_gitConfigPath'];const _0x31f253=await _0x4dce42[_0x29e8fc(0x1a4)](getGitMetaData);_0x31f253&&(this[_0x29e8fc(0x1ca)]=_0x31f253['root']),this[_0x29e8fc(0x1b0)]=!![];}}module[a116_0x237f76(0x1a2)]=o11yClassErrorHandler(CucumberUtils,[a116_0x237f76(0x18e),a116_0x237f76(0x1b1),a116_0x237f76(0x1e0),a116_0x237f76(0x1d0),a116_0x237f76(0x1e4),a116_0x237f76(0x205),a116_0x237f76(0x20e),a116_0x237f76(0x1b2)]);
|
|
1
|
+
const a116_0x602c6b=a116_0x44a8;function a116_0x44a8(_0x44478c,_0x135a09){const _0x33b579=a116_0x33b5();return a116_0x44a8=function(_0x44a838,_0x126e17){_0x44a838=_0x44a838-0x11f;let _0x2ff864=_0x33b579[_0x44a838];return _0x2ff864;},a116_0x44a8(_0x44478c,_0x135a09);}(function(_0x56f110,_0x248f97){const _0x327907=a116_0x44a8,_0x2f8ba5=_0x56f110();while(!![]){try{const _0x25cb9c=-parseInt(_0x327907(0x19f))/0x1*(-parseInt(_0x327907(0x151))/0x2)+-parseInt(_0x327907(0x18f))/0x3*(-parseInt(_0x327907(0x15d))/0x4)+-parseInt(_0x327907(0x1a9))/0x5+parseInt(_0x327907(0x1a7))/0x6*(-parseInt(_0x327907(0x19b))/0x7)+-parseInt(_0x327907(0x167))/0x8+-parseInt(_0x327907(0x182))/0x9+parseInt(_0x327907(0x19a))/0xa*(parseInt(_0x327907(0x143))/0xb);if(_0x25cb9c===_0x248f97)break;else _0x2f8ba5['push'](_0x2f8ba5['shift']());}catch(_0x455a6e){_0x2f8ba5['push'](_0x2f8ba5['shift']());}}}(a116_0x33b5,0x2062b));const path=require('path'),util=require(a116_0x602c6b(0x139)),{getGitMetaData,isUndefined,nestedKeyValue}=require(a116_0x602c6b(0x17e)),logger=require(a116_0x602c6b(0x174))[a116_0x602c6b(0x17d)],{o11yClassErrorHandler}=require('../../../helpers/test-observability/error-handler.js'),TestInfo=require(a116_0x602c6b(0x176)),hooksMap={};class CucumberUtils{constructor(){const _0x1d1dfc=a116_0x602c6b;this[_0x1d1dfc(0x161)]=![],this['_gitConfigPath']=null;}async[a116_0x602c6b(0x189)](_0x272fa5,_0x5a2b63,_0x267641,_0x1bb968,_0x4a0197,_0x2243f0){const _0x35a1a1=a116_0x602c6b,_0x3f1a27={'UmjkN':function(_0xf30d8a,_0x2cfcdb){return _0xf30d8a===_0x2cfcdb;},'ZquUY':_0x35a1a1(0x12b),'OWkpC':_0x35a1a1(0x16d),'EloSy':function(_0x4a0fcb,_0x541ebd){return _0x4a0fcb===_0x541ebd;},'cEDSA':_0x35a1a1(0x171),'Ykusa':'skipped','XnrMm':function(_0x3b5da2,_0x203348){return _0x3b5da2||_0x203348;},'HTabL':function(_0x4d022e,_0x57b1be){return _0x4d022e+_0x57b1be;},'XLLjh':function(_0x28dafe,_0x73a807){return _0x28dafe+_0x73a807;},'bqYQF':function(_0x275361,_0x36c040){return _0x275361+_0x36c040;},'ydpNG':_0x35a1a1(0x185),'attFJ':'javascript','crYVj':_0x35a1a1(0x128),'wqmnq':_0x35a1a1(0x181),'WDJYJ':_0x35a1a1(0x145),'pQQoS':function(_0x4c8920,_0x4af0fe){return _0x4c8920!==_0x4af0fe;},'THNXi':function(_0x3dbe77,_0x3eb0e1){return _0x3dbe77/_0x3eb0e1;},'cpGsA':'strip-ansi','flYlC':function(_0xda1257,_0x7aee0a){return _0xda1257(_0x7aee0a);},'gGcnc':_0x35a1a1(0x147),'oFqJO':function(_0x239821,_0x39d4d1){return _0x239821(_0x39d4d1);},'BAVfH':'AssertionError','eBvAT':_0x35a1a1(0x13d)},{feature:_0x447f9c,scenario:_0x144502,steps:_0x3c40fb,uuid:_0x5e282b,startedAt:_0x5f183b,finishedAt:_0x23e1a9}=_0x3f1a27[_0x35a1a1(0x18b)](_0x272fa5,{}),_0xb9bb65=this[_0x35a1a1(0x153)](_0x1bb968,_0x5a2b63);await this[_0x35a1a1(0x14f)]();const _0x2302d2=_0xb9bb65?_0x3f1a27[_0x35a1a1(0x188)](_0x3f1a27[_0x35a1a1(0x166)](_0x3f1a27[_0x35a1a1(0x1ac)](_0x5a2b63[_0x35a1a1(0x12a)],'\x20('),_0xb9bb65[_0x35a1a1(0x1a8)](',\x20')),')'):_0x5a2b63[_0x35a1a1(0x12a)],_0x40e3c8={'id':_0x4a0197,'uuid':_0x4a0197,'startedAt':_0x5f183b,'finishedAt':_0x23e1a9,'type':_0x3f1a27[_0x35a1a1(0x165)],'body':{'lang':_0x3f1a27['attFJ'],'code':null},'name':_0x2302d2,'scopes':[_0x447f9c&&_0x447f9c['name']?_0x447f9c[_0x35a1a1(0x12a)]:''],'tags':_0x5a2b63[_0x35a1a1(0x1aa)]?_0x5a2b63[_0x35a1a1(0x1aa)][_0x35a1a1(0x122)](({name:_0x4056f2})=>_0x4056f2):[],'file_name':_0x5a2b63[_0x35a1a1(0x154)],'location':_0x5a2b63[_0x35a1a1(0x154)],'vc_filepath':this[_0x35a1a1(0x18c)]&&_0x5a2b63[_0x35a1a1(0x154)]?path[_0x35a1a1(0x1a1)](this[_0x35a1a1(0x18c)],_0x5a2b63[_0x35a1a1(0x154)]):null,'framework':_0x3f1a27[_0x35a1a1(0x170)],'result':_0x3f1a27['wqmnq'],'meta':{'feature':_0x447f9c,'scenario':_0x144502,'steps':_0x3c40fb,'examples':_0xb9bb65},'customRerunParam':{'rerun_name':_0x2302d2}};if(_0x267641[_0x35a1a1(0x12c)]&&_0x3c40fb){const _0x23721f=_0x267641[_0x35a1a1(0x12c)];let _0x3d5834=_0x3f1a27[_0x35a1a1(0x152)];_0x3c40fb[_0x35a1a1(0x17f)](_0x1413bf=>{const _0x4a1743=_0x35a1a1;if(_0x3f1a27[_0x4a1743(0x19c)](_0x1413bf[_0x4a1743(0x130)],_0x3f1a27['ZquUY']))return _0x3d5834=_0x3f1a27[_0x4a1743(0x131)],_0x23721f[_0x4a1743(0x18a)]=_0x1413bf[_0x4a1743(0x18a)],_0x23721f[_0x4a1743(0x134)]=_0x1413bf[_0x4a1743(0x134)],![];else{if(_0x3f1a27['EloSy'](_0x1413bf[_0x4a1743(0x130)],_0x3f1a27['cEDSA']))return _0x3d5834=_0x3f1a27[_0x4a1743(0x17a)],![];}return!![];}),_0x40e3c8[_0x35a1a1(0x178)]=new Date()[_0x35a1a1(0x155)](),_0x40e3c8[_0x35a1a1(0x130)]=_0x3d5834;_0x23721f[_0x35a1a1(0x14a)]&&_0x3f1a27[_0x35a1a1(0x1ad)](_0x23721f[_0x35a1a1(0x14a)]['nanos'],undefined)?_0x40e3c8[_0x35a1a1(0x12d)]=_0x3f1a27[_0x35a1a1(0x15e)](_0x23721f[_0x35a1a1(0x14a)][_0x35a1a1(0x1a0)],0xf4240):_0x40e3c8[_0x35a1a1(0x12d)]=undefined;if(_0x3f1a27['UmjkN'](_0x3d5834,_0x3f1a27['OWkpC'])){const {default:_0xeb5ffe}=await import(_0x3f1a27[_0x35a1a1(0x140)]);_0x40e3c8[_0x35a1a1(0x18a)]=[{'backtrace':[_0x23721f[_0x35a1a1(0x18a)]?_0x3f1a27[_0x35a1a1(0x16b)](_0xeb5ffe,_0x23721f[_0x35a1a1(0x18a)]):_0x3f1a27[_0x35a1a1(0x15a)]]}],_0x40e3c8[_0x35a1a1(0x124)]=_0x23721f[_0x35a1a1(0x18a)]?_0x3f1a27['oFqJO'](_0xeb5ffe,_0x23721f[_0x35a1a1(0x18a)]):_0x23721f['message'],_0x23721f[_0x35a1a1(0x134)]&&(_0x40e3c8[_0x35a1a1(0x199)]=_0x23721f['failureType']['match'](/AssertError/)?_0x3f1a27[_0x35a1a1(0x197)]:_0x3f1a27[_0x35a1a1(0x13f)]);}}return _0x40e3c8;}[a116_0x602c6b(0x18d)](_0x452667,_0x40fb21,_0x12034a,_0x4bc7cd,_0x371d4d,_0xbecdf9){const _0x1ee582=a116_0x602c6b,_0x1adc35={'XbNCs':function(_0x18a9b1,_0xc0e20c){return _0x18a9b1===_0xc0e20c;},'ZulUM':'HookRunFinished','KprOg':function(_0x1df5af,_0x13d140,_0x2a426f){return _0x1df5af(_0x13d140,_0x2a426f);},'QCSWB':_0x1ee582(0x160),'YALSl':_0x1ee582(0x154),'AptMs':'pending','DpNhu':_0x1ee582(0x1a3),'woLYG':_0x1ee582(0x198),'tFAmW':function(_0x50908b,_0x807137,_0x377254){return _0x50908b(_0x807137,_0x377254);},'AjgNC':_0x1ee582(0x192),'AxMHb':'name','PnJRj':'cucumber'};try{if(_0x1adc35['XbNCs'](_0x12034a,_0x1adc35['ZulUM'])){const _0x17daa8=new Date()[_0x1ee582(0x155)](),_0xac2d7=hooksMap[_0x40fb21];if(!_0xac2d7)return;const _0x3351d1=_0xac2d7[_0x1ee582(0x19e)](_0x147657=>_0x147657[_0x1ee582(0x162)]===_0x4bc7cd['id']);if(!_0x3351d1)return;const _0x502c0a=this[_0x1ee582(0x157)](_0x452667,_0x40fb21);_0x3351d1['result']=_0x502c0a[_0x1ee582(0x11f)],_0x3351d1[_0x1ee582(0x1a4)]=_0x17daa8,_0x3351d1[_0x1ee582(0x199)]=_0x502c0a[_0x1ee582(0x134)];const _0x4badda={};return _0x4badda['backtrace']=_0x502c0a[_0x1ee582(0x13c)],_0x3351d1[_0x1ee582(0x168)]=[_0x4badda],_0x3351d1;}const _0x91c0fb=TestInfo[_0x1ee582(0x179)](_0x40fb21),_0x3a9042=_0x452667[_0x1ee582(0x14c)][_0x1ee582(0x19e)](_0x783b4a=>_0x783b4a['id']===_0x4bc7cd[_0x1ee582(0x142)]),_0x12808e=_0x1adc35[_0x1ee582(0x156)](nestedKeyValue,_0x3a9042,[_0x1adc35[_0x1ee582(0x159)],_0x1adc35['YALSl']]),_0x486edf=new Date()[_0x1ee582(0x155)](),_0x26a4d4=_0x1adc35[_0x1ee582(0x16c)],_0xc663eb=_0x3a9042[_0x1ee582(0x144)]?_0x3a9042['tagExpression']['split']('\x20')[_0x1ee582(0x129)](_0x542cac=>_0x542cac[_0x1ee582(0x123)]('@')):[],_0x3ab8c8={'uuid':_0x4bc7cd['id'],'type':_0x1adc35[_0x1ee582(0x164)],'hook_type':_0xbecdf9,'name':_0x3a9042[_0x1ee582(0x12a)],'body':{'lang':_0x1adc35[_0x1ee582(0x1a5)],'code':null},'tags':_0xc663eb,'test_run_id':_0x91c0fb,'scope':_0x1adc35[_0x1ee582(0x196)](nestedKeyValue,_0x371d4d,[_0x1adc35[_0x1ee582(0x14d)],_0x1adc35[_0x1ee582(0x120)]]),'scopes':[_0x1adc35[_0x1ee582(0x196)](nestedKeyValue,_0x371d4d,[_0x1adc35[_0x1ee582(0x14d)],_0x1adc35[_0x1ee582(0x120)]])||''],'file_name':_0x12808e,'location':_0x12808e,'vc_filepath':this[_0x1ee582(0x18c)]?path['relative'](this['_gitConfigPath'],_0x12808e):null,'result':_0x26a4d4,'started_at':_0x486edf,'framework':_0x1adc35[_0x1ee582(0x1ab)]};return _0x3ab8c8;}catch(_0x1a9ad0){logger['debug']('Exception\x20in\x20getHookRunEventData:\x20'+util[_0x1ee582(0x17b)](_0x1a9ad0)+'\x20');}}async[a116_0x602c6b(0x18e)](_0x1ab485,_0xed5fed,_0x57c910,_0xd119ab,_0xa0a2a7,_0x2f1424){const _0x4826f5=a116_0x602c6b,_0x1bf0b3={'bVdQR':function(_0x3be481,_0x27ab86){return _0x3be481===_0x27ab86;},'bonwT':_0x4826f5(0x138),'Kojdw':function(_0x59cac2,_0xcae5f0,_0x5283b5){return _0x59cac2(_0xcae5f0,_0x5283b5);},'yfzks':_0x4826f5(0x160),'lXhPy':_0x4826f5(0x154),'VpinG':_0x4826f5(0x125),'GnWgi':function(_0x48b1b7,_0x5337fc){return _0x48b1b7===_0x5337fc;},'rVGlR':_0x4826f5(0x172)};try{const _0x291b09=_0xd119ab['find'](_0x35161d=>_0x35161d['id']===_0xa0a2a7);if(!_0x291b09['hookId'])return;const _0x2ed891=this[_0x4826f5(0x135)](_0xd119ab,_0x291b09),_0x5073f7=this[_0x4826f5(0x18d)](_0x1ab485,_0xed5fed,_0x57c910,_0x291b09,_0x2f1424,_0x2ed891);if(!_0x5073f7)return;_0x1bf0b3[_0x4826f5(0x173)](_0x57c910,_0x1bf0b3[_0x4826f5(0x12e)])&&(hooksMap[_0xed5fed]?hooksMap[_0xed5fed]['push'](_0x5073f7):hooksMap[_0xed5fed]=[_0x5073f7]);const _0x3af22e=_0x1ab485[_0x4826f5(0x14c)]['find'](_0x19fbe2=>_0x19fbe2['id']===_0x291b09[_0x4826f5(0x142)]),_0x383d61=_0x1bf0b3[_0x4826f5(0x126)](nestedKeyValue,_0x3af22e,[_0x1bf0b3[_0x4826f5(0x1a2)],_0x1bf0b3[_0x4826f5(0x132)]]);if(!_0x383d61)return;else{if(_0x383d61[_0x4826f5(0x123)](_0x1bf0b3[_0x4826f5(0x136)]))return;}if(_0x1bf0b3[_0x4826f5(0x17c)](_0x5073f7[_0x4826f5(0x12a)],_0x1bf0b3['rVGlR']))return;return _0x5073f7;}catch(_0x35b434){logger[_0x4826f5(0x19d)](_0x4826f5(0x137)+util[_0x4826f5(0x17b)](_0x35b434)+'\x20');}}[a116_0x602c6b(0x157)](_0x5c09a2,_0x2a2ad8){const _0x383b24=a116_0x602c6b,_0x55ee87={};_0x55ee87[_0x383b24(0x187)]=function(_0x3c0258,_0x4608c9){return _0x3c0258===_0x4608c9;},_0x55ee87[_0x383b24(0x148)]=_0x383b24(0x16d),_0x55ee87['ndPsX']=function(_0x46e312,_0x4592bc){return _0x46e312===_0x4592bc;},_0x55ee87[_0x383b24(0x195)]=_0x383b24(0x13d),_0x55ee87[_0x383b24(0x149)]=_0x383b24(0x191),_0x55ee87[_0x383b24(0x177)]=function(_0xea0b51,_0x420000){return _0xea0b51||_0x420000;};const _0x5f32a1=_0x55ee87,_0x103b60=_0x5c09a2[_0x383b24(0x163)][_0x2a2ad8][_0x383b24(0x13e)];let _0x24957c,_0x4e74f5;return _0x103b60&&_0x5f32a1[_0x383b24(0x187)](_0x103b60[_0x383b24(0x11f)][_0x383b24(0x13b)]()[_0x383b24(0x158)](),_0x5f32a1[_0x383b24(0x148)])&&(_0x24957c=_0x5f32a1[_0x383b24(0x14e)](_0x103b60['exception'],undefined)?_0x103b60[_0x383b24(0x169)]:_0x103b60[_0x383b24(0x15b)][_0x383b24(0x169)],_0x4e74f5=_0x5f32a1[_0x383b24(0x187)](_0x103b60[_0x383b24(0x15b)],undefined)?_0x5f32a1['LTRSu']:_0x103b60[_0x383b24(0x169)][_0x383b24(0x184)](/Assert/)?_0x5f32a1[_0x383b24(0x149)]:_0x5f32a1['LTRSu']),{'status':_0x103b60[_0x383b24(0x11f)][_0x383b24(0x158)](),'failureType':_0x5f32a1['AJUgf'](_0x4e74f5,null),'failureData':!_0x24957c?null:[_0x24957c]};}[a116_0x602c6b(0x135)](_0x5f0714,_0x196709){const _0x2504ba=a116_0x602c6b,_0x3a0a30={};_0x3a0a30[_0x2504ba(0x127)]=function(_0x132e3c,_0x9592b2){return _0x132e3c===_0x9592b2;},_0x3a0a30['OSrBc']='AFTER_EACH',_0x3a0a30[_0x2504ba(0x180)]=_0x2504ba(0x194);const _0x20ebf7=_0x3a0a30;let _0x253f33=![];for(const _0x4dda58 of _0x5f0714){_0x4dda58[_0x2504ba(0x141)]&&(_0x253f33=!![]);if(_0x20ebf7['hQQpf'](_0x196709['id'],_0x4dda58['id']))return _0x253f33?_0x20ebf7[_0x2504ba(0x150)]:_0x20ebf7[_0x2504ba(0x180)];}}[a116_0x602c6b(0x153)]=(_0x1949e8,_0x193954)=>{const _0x49d026=a116_0x602c6b,_0x38cc22={};_0x38cc22[_0x49d026(0x13a)]=function(_0x171794,_0x242685){return _0x171794===_0x242685;},_0x38cc22[_0x49d026(0x1a6)]=function(_0x1272a8,_0x50d1a6){return _0x1272a8===_0x50d1a6;},_0x38cc22['qfWUZ']=function(_0x2b98e,_0x4c003a){return _0x2b98e>_0x4c003a;};const _0x4f75b7=_0x38cc22;if(!(_0x193954[_0x49d026(0x133)]&&_0x4f75b7['qfWUZ'](_0x193954[_0x49d026(0x133)][_0x49d026(0x16f)],0x1)))return;const _0x441f94=_0x193954['astNodeIds'][0x0],_0x291a44=_0x193954['astNodeIds'][0x1],_0x585bee=_0x1949e8[_0x49d026(0x192)]&&_0x1949e8[_0x49d026(0x192)]['children']?_0x1949e8['feature'][_0x49d026(0x15c)]:undefined;let _0x5dc0a2=[];_0x585bee&&_0x585bee[_0x49d026(0x14b)](_0x3315a2=>{const _0x570400=_0x49d026,_0xec98b8={'NJoSU':function(_0x18e3b1,_0x282091){const _0x3f3ef0=a116_0x44a8;return _0x4f75b7[_0x3f3ef0(0x13a)](_0x18e3b1,_0x282091);}};if(_0x3315a2[_0x570400(0x16e)])_0x3315a2['rule']['children'][_0x570400(0x14b)](_0x156e41=>{const _0x163da2=_0x570400;if(_0x156e41[_0x163da2(0x190)]&&_0xec98b8[_0x163da2(0x183)](_0x156e41[_0x163da2(0x190)]['id'],_0x441f94)&&_0x156e41[_0x163da2(0x190)][_0x163da2(0x12f)]){const _0x50bc6e=_0x156e41[_0x163da2(0x190)][_0x163da2(0x12f)][_0x163da2(0x186)](_0x58873e=>_0x58873e['tableBody'])[_0x163da2(0x19e)](_0x526718=>_0x526718['id']===_0x291a44);let _0x4dbcb4;_0x50bc6e&&_0x50bc6e[_0x163da2(0x16a)]?_0x4dbcb4=_0x50bc6e['cells'][_0x163da2(0x122)](_0xe4f0b6=>_0xe4f0b6[_0x163da2(0x121)]):_0x4dbcb4=[],_0x4dbcb4&&(_0x5dc0a2=_0x4dbcb4);}});else{if(_0x3315a2[_0x570400(0x190)]&&_0x4f75b7['FYCvv'](_0x3315a2['scenario']['id'],_0x441f94)&&_0x3315a2['scenario'][_0x570400(0x12f)]){const _0x5c5da2=_0x3315a2[_0x570400(0x190)][_0x570400(0x12f)]['flatMap'](_0x207dbb=>_0x207dbb['tableBody'])['find'](_0x3d3da4=>_0x3d3da4['id']===_0x291a44);let _0x4ba1b1;_0x5c5da2&&_0x5c5da2[_0x570400(0x16a)]?_0x4ba1b1=_0x5c5da2[_0x570400(0x16a)][_0x570400(0x122)](_0x3f5d42=>_0x3f5d42[_0x570400(0x121)]):_0x4ba1b1=[],_0x4ba1b1&&(_0x5dc0a2=_0x4ba1b1);}}});if(_0x5dc0a2['length'])return _0x5dc0a2;return;};async['configureGit'](){const _0xbecd9d=a116_0x602c6b,_0x36b7e6={'aweIg':function(_0xcc1e5a){return _0xcc1e5a();}};if(this[_0xbecd9d(0x161)])return this[_0xbecd9d(0x18c)];const _0x2e2139=await _0x36b7e6[_0xbecd9d(0x193)](getGitMetaData);_0x2e2139&&(this[_0xbecd9d(0x18c)]=_0x2e2139['root']),this[_0xbecd9d(0x161)]=!![];}}function a116_0x33b5(){const _0x2570d0=['getCucumberHookType','VpinG','Exception\x20in\x20createHookData:\x20','HookRunStarted','util','PUEBz','toString','failureData','UnhandledError','testStepResult','eBvAT','cpGsA','pickleStepId','hookId','5665143ngzDbr','tagExpression','passed','exports','unknown','YilJk','KGdtt','timestamp','forEach','hooks','AjgNC','ndPsX','configureGit','OSrBc','2OzcGih','WDJYJ','getScenarioExamples','uri','toISOString','KprOg','getHookResult','toLowerCase','QCSWB','gGcnc','exception','children','554896IoLqUJ','THNXi','sendTestRunEventForCucumber','sourceReference','_gitConfigured','uuid','testStepFinished','DpNhu','ydpNG','XLLjh','1310656MUiHfa','failure_data','message','cells','flYlC','AptMs','failed','rule','length','crYVj','SKIPPED','bstack','bVdQR','../../../helpers/logger.js','sendHook','../TestInfo.js','AJUgf','finishedAt','getTestUUID','Ykusa','format','GnWgi','winstonLogger','../../../helpers/helper.js','every','KYgXk','pending','2214288voYWaq','NJoSU','match','test','flatMap','dEKkk','HTabL','createTestFrameworkData','failure','XnrMm','_gitConfigPath','getHookRunEventData','createHookData','3AeeKGE','scenario','AssertionError','feature','aweIg','BEFORE_EACH','LTRSu','tFAmW','BAVfH','javascript','failure_type','10QHnzos','217IJYLDM','UmjkN','debug','find','210430VeqHLR','nanos','relative','yfzks','hook','finished_at','woLYG','FYCvv','44136dSTuOW','join','468080rKYhRe','tags','PnJRj','bqYQF','pQQoS','status','AxMHb','value','map','includes','failure_reason','browserstack-node-agent/src/bin/cucumber-js/test.setup.js','Kojdw','hQQpf','cucumber','filter','name','FAILED','testCaseFinished','duration_in_ms','bonwT','examples','result','OWkpC','lXhPy','astNodeIds','failureType'];a116_0x33b5=function(){return _0x2570d0;};return a116_0x33b5();}module[a116_0x602c6b(0x146)]=o11yClassErrorHandler(CucumberUtils,[a116_0x602c6b(0x14f),a116_0x602c6b(0x153),a116_0x602c6b(0x135),a116_0x602c6b(0x157),a116_0x602c6b(0x175),a116_0x602c6b(0x18d),a116_0x602c6b(0x15f),a116_0x602c6b(0x189)]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a117_0x2c1377=a117_0x4b69;(function(_0xc6c808,_0x5e25ad){const _0x1ed4b8=a117_0x4b69,_0xda17a2=_0xc6c808();while(!![]){try{const _0x2e048e=parseInt(_0x1ed4b8(0x172))/0x1+-parseInt(_0x1ed4b8(0x15e))/0x2+parseInt(_0x1ed4b8(0x14a))/0x3+-parseInt(_0x1ed4b8(0xec))/0x4+-parseInt(_0x1ed4b8(0x111))/0x5+-parseInt(_0x1ed4b8(0xfa))/0x6*(-parseInt(_0x1ed4b8(0x194))/0x7)+parseInt(_0x1ed4b8(0x109))/0x8;if(_0x2e048e===_0x5e25ad)break;else _0xda17a2['push'](_0xda17a2['shift']());}catch(_0x4d38db){_0xda17a2['push'](_0xda17a2['shift']());}}}(a117_0x4854,0x6832e));const path=require(a117_0x2c1377(0x10b)),util=require('util'),crypto=require(a117_0x2c1377(0x133)),{getGitMetaData,isUndefined,nestedKeyValue}=require(a117_0x2c1377(0xf6)),logger=require('../../../helpers/logger.js')[a117_0x2c1377(0xe0)],{o11yClassErrorHandler}=require(a117_0x2c1377(0x103)),TestInfo=require(a117_0x2c1377(0x167)),{failureData,getFailureType,PathHelper}=require(a117_0x2c1377(0x189)),stackTrace=require('stack-trace'),{pickUserFrameFile}=require('../../../helpers/stackFrameUtils'),a117_0x4f90b3={};function a117_0x4b69(_0x1ee499,_0x4a20cd){const _0x48545c=a117_0x4854();return a117_0x4b69=function(_0x4b69a8,_0x34dece){_0x4b69a8=_0x4b69a8-0xe0;let _0x105e3f=_0x48545c[_0x4b69a8];return _0x105e3f;},a117_0x4b69(_0x1ee499,_0x4a20cd);}a117_0x4f90b3['beforeAll']='BEFORE_ALL',a117_0x4f90b3[a117_0x2c1377(0xfc)]=a117_0x2c1377(0x151),a117_0x4f90b3[a117_0x2c1377(0x121)]=a117_0x2c1377(0x13e),a117_0x4f90b3[a117_0x2c1377(0x18e)]=a117_0x2c1377(0x18a);const HOOK_TYPES_MAP=a117_0x4f90b3,hooksMap={};function a117_0x4854(){const _0x24d524=['[jestUtils]\x20Error\x20creating\x20identifier:\x20','iPoAY','toString','relative','File\x20path\x20could\x20not\x20be\x20found','Error\x20parsing\x20asyncError\x20stack\x20trace:\x20','file','jest-circus','ccKcC','No\x20hook\x20data\x20provided\x20for\x20jest\x20hook\x20event','BEFORE_EACH','WnpkD','type','inspect','exports','test',',\x20hookUUID:\x20','UUTNP','startedAt','Exception\x20in\x20createTestFrameworkData:\x20','createHookData','[jestUtils]\x20No\x20testInfo\x20provided,\x20cannot\x20create\x20identifier','332727BEgmFB','OXGZt','dlvGh','zdwEr','KfCWH','AdgEU','[jestUtils]\x20No\x20test\x20object\x20provided','AFTER_ALL','[jestUtils]\x20expect.getState()\x20not\x20available:\x20','errorsDetailed','eCGtp','getRootParentFile','[jestUtils]\x20No\x20testInfo\x20provided\x20for\x20recreation','error','failure_reason_expanded','name','XfExI','_gitConfigPath','UhwRL','RYiIp','1246400AgCbKw','duration','cFMaT','errors','failed','hex','currentTest','hooks','toISOString','../TestInfo.js','browserstack-node-agent/src/bin/jest','skipped','pid',':jest-','__jestCurrentTestIdentifier','getName','hook','reverse','[jestUtils]\x20Using\x20stored\x20testIdentifier:\x20','split','331166YXLFkY','push','_paths','length','LnQan','APhxf','configureGit','ZVbNB','cwd','match','Exception\x20in\x20checking\x20if\x20hook\x20is\x20internal:\x20','now','JjKwJ','OtLWj','isJestInternalHook','createIdentifierFromJestTest',',\x20testIdentifier:\x20','parse','includes','failure','BFPdK','prefixTestPath','oHRzP','../../../helpers/test-observability/utils','AFTER_EACH','\x20from\x20compositeKey:\x20','asyncError','jest','afterEach','pending','passed','failure_reason','root','SxecH','56fdrOda','expect','zMomM','failure_type','recreateIdentifierFromTestInfo','_gitConfigured','call','winstonLogger','substring','toUpperCase','MGrpb','No\x20test\x20data\x20provided\x20for\x20jest\x20test\x20event','backtrace','[jestUtils]\x20Error\x20parsing\x20asyncError\x20stack\x20trace:\x20','ROOT_DESCRIBE_BLOCK','Rphcm','debug','dDrRA','title','385056lpxWFZ','kTtts','xqyNm','getFileName','DlIcx','HookRunFinished','DYjZl','TestRunFinished','ezuKK','failure_data','../../../helpers/helper.js','stack','failure_backtrace','createJestTestIdentifier','418998FGnhrg','getTime','afterAll','TlhkJ','testAnalyticsId','NkBiS','testIdentifier','uUEJp','finishedAt','../../../helpers/test-observability/error-handler.js','testPath','kewUn','apply','Creating\x20hook\x20data\x20for\x20eventType:\x20','getTestIdentifier','7682320iJDfRt','NcoDA','path','WpGlw','KTJaY','EXahx','started_at','tLShw','4073835cpWMMM','expanded','uuid',',\x20testRunId:\x20','pUAZQ','__workerDetails','find','vSkZy','ZtCRt','result','AAXAZ','VMQoq','digest','ZJkGy','qTYVu','clearHooksMap','beforeEach','[jestUtils]\x20pickUserFrameFile\x20found\x20no\x20user\x20frame\x20(trace\x20length=','xnHXv','Exception\x20in\x20getHookRunEventData:\x20','HookRunStarted','MHcqH','fullName','NDHqf','javascript','getState','format','Unknown\x20Test','parent','createTestFrameworkData','getHierarchy','extractTestFilePath','err','ACbzs','crypto'];a117_0x4854=function(){return _0x24d524;};return a117_0x4854();}class JestUtils{constructor(){const _0x546839=a117_0x2c1377;this[_0x546839(0x199)]=![],this['_gitConfigPath']=null,this[_0x546839(0x174)]=new PathHelper({'cwd':process[_0x546839(0x17a)]()},undefined);}async[a117_0x2c1377(0x12e)](_0x1e4c00,_0x1f0c1d,_0x4bbf49=a117_0x2c1377(0xf3),_0x516d4c=undefined){const _0x554ee3=a117_0x2c1377,_0x5a6d64={'uUEJp':_0x554ee3(0xe4),'wzYNr':'jest-circus','cFMaT':_0x554ee3(0x138),'WpGlw':function(_0x27d0ad,_0x2a1249){return _0x27d0ad!==_0x2a1249;},'MGrpb':'test','tLShw':_0x554ee3(0x131),'iPoAY':function(_0x17a52b,_0x32baef){return _0x17a52b!==_0x32baef;},'xqyNm':_0x554ee3(0x18f),'WnpkD':function(_0x1e5ba7,_0x24711d){return _0x1e5ba7===_0x24711d;},'kewUn':'TestRunSkipped','UhwRL':_0x554ee3(0x169),'dlvGh':function(_0x2dbc4f,_0x41c9af){return _0x2dbc4f>_0x41c9af;},'XfExI':_0x554ee3(0x162),'pkJLj':'passed','KfCWH':function(_0x490c50,_0x3caad6){return _0x490c50!==_0x3caad6;},'ZJkGy':function(_0x369875,_0x11d136){return _0x369875-_0x11d136;},'Gphrr':_0x554ee3(0x129),'ADKjz':_0x554ee3(0x18d),'Rphcm':function(_0x574902,_0x18e588){return _0x574902(_0x18e588);},'blOMh':function(_0x1ef59,_0xd1f39d){return _0x1ef59===_0xd1f39d;},'AAXAZ':function(_0x114c3c,_0x19d15e){return _0x114c3c===_0x19d15e;},'UMtlv':_0x554ee3(0xf3),'DYjZl':function(_0x4f1eb3,_0x57e716){return _0x4f1eb3===_0x57e716;}};logger[_0x554ee3(0xe9)]('Creating\x20test\x20framework\x20data\x20for\x20eventType:\x20'+_0x4bbf49+_0x554ee3(0x182)+_0x1f0c1d);try{if(!_0x1e4c00)return logger['debug'](_0x5a6d64[_0x554ee3(0x101)]),null;if(_0x1e4c00['fn']&&_0x1e4c00['fn'][_0x554ee3(0x136)]()[_0x554ee3(0x17b)](/browserstack internal helper hook/))return null;await this[_0x554ee3(0x178)]();let _0x332bde;try{_0x332bde=this[_0x554ee3(0x155)](_0x1e4c00);if(_0x332bde&&_0x332bde[_0x554ee3(0x184)](_0x5a6d64['wzYNr']))return null;}catch(_0x88aa4b){logger[_0x554ee3(0xe9)]('Failed\x20to\x20get\x20root\x20parent\x20file:\x20'+util[_0x554ee3(0x12b)](_0x88aa4b)),_0x332bde=null;}const _0xe69b43=this[_0x554ee3(0x12f)](_0x1e4c00),_0x60d4b4=this[_0x554ee3(0x16d)](_0x1e4c00),_0x11e371=_0x332bde?this[_0x554ee3(0x174)][_0x554ee3(0x187)](_0x332bde):_0x5a6d64[_0x554ee3(0x160)];let _0x38cc61=[];const _0x219660=_0x1e4c00['errorsDetailed']||_0x1e4c00[_0x554ee3(0x161)];if(_0x5a6d64[_0x554ee3(0x10c)](_0x219660,undefined))_0x38cc61=[_0x219660,_0x5a6d64[_0x554ee3(0xe3)]];else _0x5a6d64[_0x554ee3(0x10c)](_0x516d4c,undefined)&&(_0x38cc61=[_0x516d4c,_0x5a6d64[_0x554ee3(0x110)]]);const _0x95cc0f=_0x5a6d64[_0x554ee3(0x10c)](_0x219660,undefined)?util['inspect'](_0x219660[0x0]):_0x5a6d64[_0x554ee3(0x135)](_0x516d4c,undefined)?_0x516d4c[_0x554ee3(0x136)]():undefined;let _0x4bf71a=_0x5a6d64[_0x554ee3(0xee)];if(_0x5a6d64[_0x554ee3(0x13f)](_0x4bbf49,_0x5a6d64[_0x554ee3(0x105)]))_0x4bf71a=_0x5a6d64[_0x554ee3(0x15c)];else _0x219660&&_0x5a6d64[_0x554ee3(0x14c)](_0x219660[_0x554ee3(0x175)],0x0)?_0x4bf71a=_0x5a6d64[_0x554ee3(0x15a)]:_0x4bf71a=_0x5a6d64['pkJLj'];let _0x5ae0ff=null;if(_0x5a6d64[_0x554ee3(0x14e)](_0x1e4c00[_0x554ee3(0x15f)],undefined))_0x5ae0ff=_0x1e4c00['duration'];else(_0x4bbf49[_0x554ee3(0x17b)](/Finished/)||_0x4bbf49[_0x554ee3(0x17b)](/Skipped/))&&(_0x1e4c00['started_at']&&(_0x5ae0ff=_0x5a6d64[_0x554ee3(0x11e)](Date[_0x554ee3(0x17d)](),new Date(_0x1e4c00[_0x554ee3(0x10f)])[_0x554ee3(0xfb)]())));const _0x587db2=_0x1e4c00['fn']?_0x1e4c00['fn'][_0x554ee3(0x136)]():null,_0x5671bf={'id':_0x1f0c1d,'uuid':_0x1f0c1d,'startedAt':_0x1e4c00[_0x554ee3(0x10f)]||new Date()[_0x554ee3(0x166)](),'finishedAt':_0x4bbf49[_0x554ee3(0x17b)](/Finished/)||_0x4bbf49['match'](/Skipped/)?new Date()[_0x554ee3(0x166)]():null,'type':_0x5a6d64['MGrpb'],'body':{'lang':_0x5a6d64['Gphrr'],'code':_0x587db2},'name':_0x60d4b4,'errorsDetailed':_0x5a6d64[_0x554ee3(0x14c)](_0x219660?.['length'],0x0)?_0x219660[0x0]:_0x219660?_0x219660:undefined,'scopes':_0xe69b43,'file_name':_0x11e371,'location':_0x11e371,'vc_filepath':this[_0x554ee3(0x15b)]&&_0x332bde?path[_0x554ee3(0x137)](this[_0x554ee3(0x15b)],_0x332bde):null,'framework':_0x5a6d64['ADKjz'],'result':_0x4bf71a,'failure_reason':_0x95cc0f,'duration_in_ms':_0x5ae0ff,'failure':failureData[_0x554ee3(0x106)](null,_0x38cc61),'failure_type':!_0x95cc0f?null:_0x5a6d64[_0x554ee3(0xe8)](getFailureType,_0x95cc0f),'retry_of':_0x1e4c00['retryOf']||null,'customRerunParam':{'rerun_name':_0x60d4b4}};_0x5a6d64['blOMh'](_0x4bbf49,_0x5a6d64['kewUn'])&&!_0x5671bf[_0x554ee3(0x146)]&&(_0x5671bf['startedAt']=_0x5671bf[_0x554ee3(0x102)]);const _0x3b9f06=_0x5671bf[_0x554ee3(0x185)]&&_0x5671bf[_0x554ee3(0x185)][0x0];return _0x3b9f06&&(_0x5671bf[_0x554ee3(0xf8)]=_0x3b9f06[_0x554ee3(0xe5)],_0x5671bf[_0x554ee3(0x158)]=_0x3b9f06[_0x554ee3(0x112)]),(_0x5a6d64[_0x554ee3(0x11b)](_0x4bbf49,_0x5a6d64['UMtlv'])||_0x5a6d64[_0x554ee3(0xf2)](_0x4bbf49,_0x5a6d64[_0x554ee3(0x105)]))&&(_0x1e4c00[_0x554ee3(0x165)]&&(_0x5671bf[_0x554ee3(0x165)]=_0x1e4c00['hooks'])),_0x5671bf;}catch(_0x101ca2){return logger[_0x554ee3(0xe9)](_0x554ee3(0x147)+util[_0x554ee3(0x12b)](_0x101ca2)),null;}}async[a117_0x2c1377(0x148)](_0x471d7c,_0x4df32b,_0x49de81,_0x4e1d57){const _0x5158d3=a117_0x2c1377,_0x1c993c={'LnQan':_0x5158d3(0x13d),'OXGZt':_0x5158d3(0x13b),'ccKcC':_0x5158d3(0x168),'ACbzs':'unknown','eCGtp':_0x5158d3(0x18f),'edPUR':function(_0x67fddc,_0x137ee3){return _0x67fddc===_0x137ee3;},'RYiIp':_0x5158d3(0xf1),'xnHXv':function(_0x4f0d79,_0x433c9a){return _0x4f0d79>_0x433c9a;},'SxecH':_0x5158d3(0x162),'qfVaB':function(_0x2d0ccd,_0x3491ea){return _0x2d0ccd(_0x3491ea);},'NcoDA':_0x5158d3(0x143),'BFPdK':_0x5158d3(0x190),'OtLWj':_0x5158d3(0x16e),'zMomM':_0x5158d3(0x129),'ZVbNB':'jest','NDHqf':function(_0x19f16c,_0x26caf1){return _0x19f16c===_0x26caf1;},'UpaRr':_0x5158d3(0x125)};logger[_0x5158d3(0xe9)](_0x5158d3(0x107)+_0x49de81+_0x5158d3(0x144)+_0x4df32b+_0x5158d3(0x114)+_0x4e1d57);try{if(!_0x471d7c)return logger[_0x5158d3(0xe9)](_0x1c993c[_0x5158d3(0x176)]),null;if(this[_0x5158d3(0x180)](_0x471d7c))return null;await this['configureGit']();let _0x309a8e=null;try{_0x309a8e=this['getRootParentFile'](_0x471d7c);if(_0x309a8e&&_0x309a8e[_0x5158d3(0x184)](_0x1c993c[_0x5158d3(0x14b)]))return null;if(_0x309a8e&&_0x309a8e[_0x5158d3(0x184)](_0x1c993c[_0x5158d3(0x13c)]))return null;}catch(_0x4d1466){logger['debug']('Failed\x20to\x20get\x20hook\x20file\x20path:\x20'+util['format'](_0x4d1466));}const _0x4bfd3a=_0x309a8e?this[_0x5158d3(0x174)][_0x5158d3(0x187)](_0x309a8e):_0x309a8e,_0x222d1c=this[_0x5158d3(0x16d)](_0x471d7c),_0x4a1386=_0x471d7c[_0x5158d3(0x140)]||_0x1c993c[_0x5158d3(0x132)],_0x29b55a=HOOK_TYPES_MAP[_0x4a1386]||_0x4a1386[_0x5158d3(0xe2)](),_0x2a74f7=_0x471d7c[_0x5158d3(0x12d)]&&_0x471d7c[_0x5158d3(0x12d)][_0x5158d3(0x159)]?_0x471d7c[_0x5158d3(0x12d)][_0x5158d3(0x159)]:'';let _0x144d37=_0x1c993c[_0x5158d3(0x154)],_0x1279fc=null,_0x5da2ca=null,_0x487b9c=null,_0x405ecb=null;_0x1c993c['edPUR'](_0x49de81,_0x1c993c[_0x5158d3(0x15d)])&&(_0x405ecb=new Date()['toISOString'](),_0x471d7c[_0x5158d3(0x153)]&&_0x1c993c[_0x5158d3(0x123)](_0x471d7c[_0x5158d3(0x153)][_0x5158d3(0x175)],0x0)?(_0x144d37=_0x1c993c[_0x5158d3(0x193)],_0x5da2ca=util[_0x5158d3(0x141)](_0x471d7c[_0x5158d3(0x153)][0x0]),_0x1279fc=_0x1c993c['qfVaB'](getFailureType,_0x5da2ca),_0x487b9c=failureData[_0x5158d3(0x106)](null,[_0x471d7c[_0x5158d3(0x153)],_0x1c993c[_0x5158d3(0x10a)]])):_0x144d37=_0x1c993c[_0x5158d3(0x186)]);const _0x1836ce={'uuid':_0x4df32b,'type':_0x1c993c[_0x5158d3(0x17f)],'hook_type':_0x29b55a,'name':_0x222d1c,'body':{'lang':_0x1c993c[_0x5158d3(0x196)],'code':_0x471d7c['fn']?_0x471d7c['fn']['toString']():null},'tags':[],'test_run_id':_0x4e1d57,'scope':_0x2a74f7,'scopes':[_0x2a74f7],'file_name':_0x4bfd3a,'location':_0x4bfd3a,'vc_filepath':this['_gitConfigPath']&&_0x309a8e?path[_0x5158d3(0x137)](this[_0x5158d3(0x15b)],_0x309a8e):null,'result':_0x144d37,'started_at':_0x471d7c[_0x5158d3(0x10f)]||new Date()[_0x5158d3(0x166)](),'finished_at':_0x405ecb,'failure_type':_0x1279fc,'failure_reason':_0x5da2ca,'failure_data':_0x487b9c,'framework':_0x1c993c[_0x5158d3(0x179)]};return _0x1c993c[_0x5158d3(0x128)](_0x49de81,_0x1c993c['UpaRr'])&&(hooksMap[_0x4e1d57]?hooksMap[_0x4e1d57][_0x5158d3(0x173)](_0x1836ce):hooksMap[_0x4e1d57]=[_0x1836ce]),_0x1836ce;}catch(_0x4d20e7){return logger[_0x5158d3(0xe9)]('Exception\x20in\x20createHookData:\x20'+util['format'](_0x4d20e7)),null;}}['getHookRunEventData'](_0x26bd78,_0x24070a,_0xba4e18){const _0x3878d9=a117_0x2c1377,_0x557da0={'ezuKK':function(_0x164c78,_0x2a593a){return _0x164c78>_0x2a593a;},'ElkdN':_0x3878d9(0x162),'ZtCRt':function(_0x3abe67,_0x5884d9){return _0x3abe67(_0x5884d9);},'TlhkJ':_0x3878d9(0x143),'zdwEr':'passed'};try{const _0xe21c00=hooksMap[_0x26bd78];if(!_0xe21c00)return null;const _0x22546b=_0xe21c00[_0x3878d9(0x117)](_0x44e4b1=>_0x44e4b1[_0x3878d9(0x113)]===_0x24070a);if(!_0x22546b)return null;return _0x22546b['finished_at']=new Date()['toISOString'](),_0xba4e18['errorsDetailed']&&_0x557da0[_0x3878d9(0xf4)](_0xba4e18[_0x3878d9(0x153)]['length'],0x0)?(_0x22546b[_0x3878d9(0x11a)]=_0x557da0['ElkdN'],_0x22546b[_0x3878d9(0x191)]=util[_0x3878d9(0x141)](_0xba4e18[_0x3878d9(0x153)][0x0]),_0x22546b[_0x3878d9(0x197)]=_0x557da0[_0x3878d9(0x119)](getFailureType,_0x22546b[_0x3878d9(0x191)]),_0x22546b[_0x3878d9(0xf5)]=failureData[_0x3878d9(0x106)](null,[_0xba4e18[_0x3878d9(0x153)],_0x557da0[_0x3878d9(0xfd)]])):_0x22546b[_0x3878d9(0x11a)]=_0x557da0[_0x3878d9(0x14d)],_0x22546b;}catch(_0x501a10){return logger['debug'](_0x3878d9(0x124)+util[_0x3878d9(0x12b)](_0x501a10)),null;}}[a117_0x2c1377(0x16d)](_0x316cbf){const _0x1af3d1=a117_0x2c1377,_0x58ad8e={};_0x58ad8e[_0x1af3d1(0x118)]=function(_0x4e9fd8,_0x3b987c){return _0x4e9fd8!==_0x3b987c;},_0x58ad8e[_0x1af3d1(0x11f)]='test',_0x58ad8e[_0x1af3d1(0xea)]=_0x1af3d1(0x12c);const _0x5f0e63=_0x58ad8e;if(_0x5f0e63[_0x1af3d1(0x118)](_0x316cbf[_0x1af3d1(0x140)],_0x5f0e63[_0x1af3d1(0x11f)]))return'\x22'+_0x316cbf[_0x1af3d1(0x140)]+'\x22\x20hook\x20for\x20\x22'+(_0x316cbf['parent']&&_0x316cbf[_0x1af3d1(0x12d)][_0x1af3d1(0x159)])+'\x22';return _0x316cbf['name']||_0x5f0e63[_0x1af3d1(0xea)];}[a117_0x2c1377(0x12f)](_0x5b0ed1){const _0x279ea5=a117_0x2c1377,_0x31cc75={};_0x31cc75[_0x279ea5(0x115)]=function(_0x5998c9,_0x31d41c){return _0x5998c9!==_0x31d41c;},_0x31cc75[_0x279ea5(0x188)]='ROOT_DESCRIBE_BLOCK';const _0x3ef383=_0x31cc75,_0x101e6c=[];if(_0x5b0ed1&&_0x5b0ed1[_0x279ea5(0x12d)]){let _0x10b8f8=_0x5b0ed1[_0x279ea5(0x12d)];while(_0x10b8f8&&_0x10b8f8[_0x279ea5(0x159)]&&_0x3ef383['pUAZQ'](_0x10b8f8[_0x279ea5(0x159)],'')&&_0x3ef383[_0x279ea5(0x115)](_0x10b8f8[_0x279ea5(0x159)],_0x3ef383['oHRzP'])){_0x101e6c['push'](_0x10b8f8[_0x279ea5(0x159)]),_0x10b8f8=_0x10b8f8['parent'];}}return _0x101e6c[_0x279ea5(0x16f)](),_0x101e6c;}[a117_0x2c1377(0x155)](_0x5ca712){const _0x49474f=a117_0x2c1377,_0x3e08e1={'APhxf':function(_0x42a8f0,_0xfeec3b){return _0x42a8f0(_0xfeec3b);}};if(_0x5ca712[_0x49474f(0x13a)])return _0x5ca712['file'];if(_0x5ca712[_0x49474f(0x18c)])try{const _0x565e53=stackTrace[_0x49474f(0x183)][_0x49474f(0x19a)](stackTrace,_0x5ca712['asyncError']),_0x529fde=_0x3e08e1[_0x49474f(0x177)](pickUserFrameFile,_0x565e53);if(_0x529fde)return _0x529fde;logger['debug'](_0x49474f(0x122)+_0x565e53[_0x49474f(0x175)]+')');}catch(_0x4735bd){logger[_0x49474f(0xe9)](_0x49474f(0x139)+util[_0x49474f(0x12b)](_0x4735bd));}return null;}[a117_0x2c1377(0x180)](_0x52c795){const _0x189fc5=a117_0x2c1377,_0x5be168={};_0x5be168[_0x189fc5(0xed)]='jest-circus';const _0x550354=_0x5be168;try{const _0x32f989=this[_0x189fc5(0x155)](_0x52c795);if(!_0x32f989||_0x32f989[_0x189fc5(0x184)](_0x550354[_0x189fc5(0xed)]))return!![];}catch(_0x588206){logger['debug'](_0x189fc5(0x17c)+util[_0x189fc5(0x12b)](_0x588206));}return![];}[a117_0x2c1377(0x108)](_0xaa89c9=null){const _0x9e71f5=a117_0x2c1377;try{const _0x2fc0ff=_0xaa89c9||global[_0x9e71f5(0x116)]||{};if(global[_0x9e71f5(0x16c)])return global[_0x9e71f5(0x16c)];if(_0x2fc0ff?.[_0x9e71f5(0x164)]?.['testAnalyticsId'])return _0x2fc0ff['currentTest'][_0x9e71f5(0xfe)];if(_0x2fc0ff?.[_0x9e71f5(0x164)]?.['id'])return _0x2fc0ff[_0x9e71f5(0x164)]['id'];return null;}catch(_0x158378){return logger['debug']('[jestUtils]\x20Error\x20getting\x20test\x20identifier:\x20'+util[_0x9e71f5(0x12b)](_0x158378)),null;}}async[a117_0x2c1377(0x178)](){const _0x3d4d30=a117_0x2c1377,_0x2d737f={'NkBiS':function(_0x1ac718){return _0x1ac718();}};if(this[_0x3d4d30(0x199)])return this[_0x3d4d30(0x15b)];const _0x1ebe65=await _0x2d737f[_0x3d4d30(0xff)](getGitMetaData);_0x1ebe65&&(this[_0x3d4d30(0x15b)]=_0x1ebe65[_0x3d4d30(0x192)]),this[_0x3d4d30(0x199)]=!![];}[a117_0x2c1377(0x120)](_0x412453){hooksMap[_0x412453]&&delete hooksMap[_0x412453];}['extractTestFilePath'](_0x2f8730){const _0x14b9a3=a117_0x2c1377,_0x5a1100={'YLUdw':'jest-circus','PKljX':function(_0x41a62a,_0x3edd75){return _0x41a62a(_0x3edd75);},'JjKwJ':_0x14b9a3(0x195)};if(_0x2f8730['file'])return _0x2f8730[_0x14b9a3(0x13a)];if(_0x2f8730['asyncError']){try{const _0x264496=stackTrace[_0x14b9a3(0x183)](_0x2f8730['asyncError']);if(_0x264496[0x0]&&_0x264496[0x0][_0x14b9a3(0xef)]){const _0x486987=_0x264496[0x0][_0x14b9a3(0xef)]();if(_0x486987&&!_0x486987[_0x14b9a3(0x184)](_0x5a1100['YLUdw']))return _0x486987;}}catch(_0x29d35e){logger[_0x14b9a3(0xe9)](_0x14b9a3(0xe6)+util[_0x14b9a3(0x12b)](_0x29d35e));}if(_0x2f8730[_0x14b9a3(0x18c)][_0x14b9a3(0xf7)]){const _0x26ae1e=_0x2f8730[_0x14b9a3(0x18c)][_0x14b9a3(0xf7)][_0x14b9a3(0x171)]('\x0a');for(const _0x23dbe3 of _0x26ae1e){const _0x48933f=_0x23dbe3[_0x14b9a3(0x17b)](/at (.+?):\d+:\d+/);if(_0x48933f&&_0x48933f[0x1]&&!_0x48933f[0x1][_0x14b9a3(0x184)](_0x5a1100['YLUdw']))return _0x48933f[0x1];}}}let _0x11ddf5=_0x2f8730[_0x14b9a3(0x12d)];while(_0x11ddf5){if(_0x11ddf5[_0x14b9a3(0x13a)])return _0x11ddf5[_0x14b9a3(0x13a)];if(_0x11ddf5['asyncError'])try{const _0x55bf86=stackTrace[_0x14b9a3(0x183)](_0x11ddf5[_0x14b9a3(0x18c)]);if(_0x55bf86[0x0]&&_0x55bf86[0x0][_0x14b9a3(0xef)]){const _0x3195cc=_0x55bf86[0x0][_0x14b9a3(0xef)]();if(_0x3195cc&&!_0x3195cc['includes'](_0x5a1100['YLUdw']))return _0x3195cc;}}catch(_0x1bc95c){}_0x11ddf5=_0x11ddf5[_0x14b9a3(0x12d)];}try{const _0x580493=_0x5a1100['PKljX'](require,_0x5a1100[_0x14b9a3(0x17e)]);if(_0x580493&&_0x580493['getState']){const _0x3f35d9=_0x580493[_0x14b9a3(0x12a)]();if(_0x3f35d9&&_0x3f35d9[_0x14b9a3(0x104)])return _0x3f35d9[_0x14b9a3(0x104)];}}catch(_0x26648a){logger[_0x14b9a3(0xe9)](_0x14b9a3(0x152)+util[_0x14b9a3(0x12b)](_0x26648a));}return null;}[a117_0x2c1377(0xf9)](_0x40efe6){const _0x2bcf37=a117_0x2c1377,_0x3a3061={};_0x3a3061['EXahx']=_0x2bcf37(0x149),_0x3a3061[_0x2bcf37(0x14f)]=function(_0x199804,_0x634a15){return _0x199804!==_0x634a15;},_0x3a3061[_0x2bcf37(0x126)]=_0x2bcf37(0xe7),_0x3a3061['KTJaY']=_0x2bcf37(0x13b),_0x3a3061[_0x2bcf37(0x145)]='md5',_0x3a3061['qpsEQ']=_0x2bcf37(0x163);const _0x3de235=_0x3a3061;try{if(!_0x40efe6)return logger[_0x2bcf37(0x157)](_0x3de235[_0x2bcf37(0x10e)]),null;const _0x1d708f=_0x40efe6[_0x2bcf37(0x127)]||_0x40efe6[_0x2bcf37(0x159)]||_0x40efe6[_0x2bcf37(0xeb)]||_0x40efe6['displayName'];let _0x417c71=_0x1d708f;if(_0x40efe6[_0x2bcf37(0x12d)]&&_0x40efe6[_0x2bcf37(0x12d)][_0x2bcf37(0x159)]&&_0x3de235[_0x2bcf37(0x14f)](_0x40efe6[_0x2bcf37(0x12d)]['name'],_0x3de235['MHcqH'])){const _0xdfb946=_0x40efe6[_0x2bcf37(0x159)]||_0x40efe6[_0x2bcf37(0xeb)];_0xdfb946&&(_0x417c71=_0x40efe6[_0x2bcf37(0x12d)][_0x2bcf37(0x159)]+'\x20'+_0xdfb946);}let _0x1fbf42=_0x40efe6[_0x2bcf37(0x104)];if(!_0x1fbf42&&_0x40efe6[_0x2bcf37(0x18c)]){try{const _0x2d9096=stackTrace[_0x2bcf37(0x183)](_0x40efe6[_0x2bcf37(0x18c)]);if(_0x2d9096[0x0]&&_0x2d9096[0x0]['getFileName']){const _0x242359=_0x2d9096[0x0][_0x2bcf37(0xef)]();_0x242359&&!_0x242359[_0x2bcf37(0x184)](_0x3de235[_0x2bcf37(0x10d)])&&(_0x1fbf42=_0x242359);}}catch(_0x2bdd8f){logger[_0x2bcf37(0xe9)](_0x2bcf37(0xe6)+util[_0x2bcf37(0x12b)](_0x2bdd8f));}if(!_0x1fbf42&&_0x40efe6[_0x2bcf37(0x18c)][_0x2bcf37(0xf7)]){const _0x514ef4=_0x40efe6[_0x2bcf37(0x18c)][_0x2bcf37(0xf7)][_0x2bcf37(0x171)]('\x0a');for(const _0x2a2eb7 of _0x514ef4){const _0x363da3=_0x2a2eb7[_0x2bcf37(0x17b)](/at (.+?):\d+:\d+/);if(_0x363da3&&_0x363da3[0x1]&&!_0x363da3[0x1][_0x2bcf37(0x184)](_0x3de235[_0x2bcf37(0x10d)])){_0x1fbf42=_0x363da3[0x1];break;}}}}const _0x281304=_0x1fbf42+'::'+_0x417c71,_0x30d785=crypto['createHash'](_0x3de235[_0x2bcf37(0x145)])['update'](_0x281304)[_0x2bcf37(0x11d)](_0x3de235['qpsEQ'])[_0x2bcf37(0xe1)](0x0,0x8),_0x3374f9=process[_0x2bcf37(0x16a)]+_0x2bcf37(0x16b)+_0x30d785;return logger[_0x2bcf37(0xe9)]('[jestUtils]\x20Created\x20identifier:\x20'+_0x3374f9+_0x2bcf37(0x18b)+_0x281304),_0x3374f9;}catch(_0x41cccc){return logger[_0x2bcf37(0x157)](_0x2bcf37(0x134)+util[_0x2bcf37(0x12b)](_0x41cccc)),null;}}['createIdentifierFromJestTest'](_0x8fe36a){const _0x286b7b=a117_0x2c1377,_0x38b9ad={};_0x38b9ad[_0x286b7b(0x11c)]=_0x286b7b(0x150);const _0x457598=_0x38b9ad;if(!_0x8fe36a)return logger[_0x286b7b(0xe9)](_0x457598[_0x286b7b(0x11c)]),null;const _0x4ca6d5=this[_0x286b7b(0x130)](_0x8fe36a),_0xae7a5={};_0xae7a5[_0x286b7b(0x159)]=_0x8fe36a[_0x286b7b(0x159)]||_0x8fe36a[_0x286b7b(0xeb)],_0xae7a5[_0x286b7b(0x12d)]=_0x8fe36a[_0x286b7b(0x12d)],_0xae7a5[_0x286b7b(0x104)]=_0x4ca6d5,_0xae7a5[_0x286b7b(0x18c)]=_0x8fe36a['asyncError'];const _0x4ec59b=_0xae7a5;return this[_0x286b7b(0xf9)](_0x4ec59b);}['recreateIdentifierFromTestInfo'](_0x4c85cf,_0x1aa65c=null){const _0x73b059=a117_0x2c1377,_0x5d3595={};_0x5d3595[_0x73b059(0xf0)]=_0x73b059(0x156);const _0x24eb16=_0x5d3595;if(!_0x4c85cf)return logger['debug'](_0x24eb16[_0x73b059(0xf0)]),_0x1aa65c;if(_0x4c85cf[_0x73b059(0x100)])return logger['debug'](_0x73b059(0x170)+_0x4c85cf[_0x73b059(0x100)]),_0x4c85cf[_0x73b059(0x100)];return this[_0x73b059(0xf9)](_0x4c85cf)||_0x1aa65c;}}module[a117_0x2c1377(0x142)]=o11yClassErrorHandler(JestUtils,['configureGit',a117_0x2c1377(0x12f),'getRootParentFile',a117_0x2c1377(0x16d),'isJestInternalHook','getTestIdentifier',a117_0x2c1377(0x12e),a117_0x2c1377(0x148),'getHookRunEventData',a117_0x2c1377(0x120),a117_0x2c1377(0x130),a117_0x2c1377(0xf9),a117_0x2c1377(0x181),a117_0x2c1377(0x198)]);
|
|
1
|
+
const a117_0x4c5d14=a117_0x1239;function a117_0x1239(_0x188c7b,_0x5e1700){const _0x295715=a117_0x2957();return a117_0x1239=function(_0x12390b,_0x142d41){_0x12390b=_0x12390b-0x15e;let _0x46eb9d=_0x295715[_0x12390b];return _0x46eb9d;},a117_0x1239(_0x188c7b,_0x5e1700);}function a117_0x2957(){const _0x269139=['nOFRP','ieUoX','finished_at','MdCPP','gHQhS','javascript','65hfGwEz','jest-circus','56734zIidaF','testAnalyticsId','DGFQL','ezLia','TestRunFinished','BRDPS','result','find','displayName','extractTestFilePath','NUHUc','729644TSZHVy','UAADQ','CsHiV','zJQIT','NafRK','[jestUtils]\x20pickUserFrameFile\x20found\x20no\x20user\x20frame\x20(trace\x20length=','TestRunSkipped','backtrace','errors','cNOxA','recreateIdentifierFromTestInfo','getRootParentFile','Exception\x20in\x20createTestFrameworkData:\x20','createIdentifierFromJestTest','[jestUtils]\x20Created\x20identifier:\x20','isJestInternalHook','dASXU','tTgWj','QMkfe','[jestUtils]\x20expect.getState()\x20not\x20available:\x20','fullName','getTestIdentifier','Failed\x20to\x20get\x20root\x20parent\x20file:\x20','duration','createHookData','QVHSI',',\x20hookUUID:\x20','uuid','__jestCurrentTestIdentifier','[jestUtils]\x20Using\x20stored\x20testIdentifier:\x20','RzvmH','[jestUtils]\x20Error\x20parsing\x20asyncError\x20stack\x20trace:\x20','getTime','fsWmt','failure_data','kHwJN','MWqfY','match','byZPg','started_at','RCpKt','../../../helpers/test-observability/error-handler.js','finishedAt','push','createHash','path','PyGtn','file','relative','iIPdO','passed','test',':jest-','lXndG','asyncError','../../../helpers/helper.js','apply','SYoQT','errorsDetailed','prefixTestPath','156834HyKeTA','chMTv','currentTest','dpnmR','clearHooksMap','apShP','hooks','No\x20test\x20data\x20provided\x20for\x20jest\x20test\x20event','Unknown\x20Test','failure_type','MDZEn','Exception\x20in\x20createHookData:\x20','../../../helpers/logger.js','UuTQU','ICEBU','stack-trace','call','md5','failure_reason',',\x20testRunId:\x20','createJestTestIdentifier','LqSSS','stack','DfThU','[jestUtils]\x20No\x20testInfo\x20provided\x20for\x20recreation','cOwAg','\x22\x20hook\x20for\x20\x22','includes','parse','expanded','_paths','AFTER_ALL','root','220319FZKfcy','getHierarchy','jLBCH','createTestFrameworkData','CSvbb','crypto','kiRSb','AFTER_EACH','BEFORE_EACH','toISOString','eZxse','No\x20hook\x20data\x20provided\x20for\x20jest\x20hook\x20event','winstonLogger','cwd','GejQe','pid','[jestUtils]\x20No\x20testInfo\x20provided,\x20cannot\x20create\x20identifier','failed','update','[jestUtils]\x20Error\x20creating\x20identifier:\x20','Abadc','failure','884850YDvrhx','beforeAll','_gitConfigured','cBDNN','AXeDB','getFileName','IIpHy','error','jest','title','util','Exception\x20in\x20getHookRunEventData:\x20','dcMOe','HookRunStarted','IsAcp','err','mRCPQ','now','type','expect','failure_reason_expanded','drqHV','pending','exports','1988301RIRMlO','configureGit','rnvbe','Creating\x20hook\x20data\x20for\x20eventType:\x20','hex','BEFORE_ALL','kvoAb','Failed\x20to\x20get\x20hook\x20file\x20path:\x20','length','getName','inspect','UKEca','digest','lWiNh','substring','Creating\x20test\x20framework\x20data\x20for\x20eventType:\x20','SeBFH','VfmuF','format','getHookRunEventData','getState','debug','Exception\x20in\x20checking\x20if\x20hook\x20is\x20internal:\x20','toString','afterEach','VFznz','ROOT_DESCRIBE_BLOCK','browserstack-node-agent/src/bin/jest','332832PHmemt','hook','HookRunFinished','parent','vAsph','afterAll','startedAt','testPath','Error\x20parsing\x20asyncError\x20stack\x20trace:\x20','name','__workerDetails','../TestInfo.js','_gitConfigPath'];a117_0x2957=function(){return _0x269139;};return a117_0x2957();}(function(_0x4e2968,_0x33ca2f){const _0x21d961=a117_0x1239,_0x52cbd0=_0x4e2968();while(!![]){try{const _0x14d28b=parseInt(_0x21d961(0x168))/0x1+-parseInt(_0x21d961(0x1c7))/0x2+parseInt(_0x21d961(0x17e))/0x3+-parseInt(_0x21d961(0x1d2))/0x4+-parseInt(_0x21d961(0x1c5))/0x5*(parseInt(_0x21d961(0x20e))/0x6)+parseInt(_0x21d961(0x196))/0x7+-parseInt(_0x21d961(0x1b2))/0x8;if(_0x14d28b===_0x33ca2f)break;else _0x52cbd0['push'](_0x52cbd0['shift']());}catch(_0xdaca8a){_0x52cbd0['push'](_0x52cbd0['shift']());}}}(a117_0x2957,0x32913));const path=require(a117_0x4c5d14(0x1ff)),util=require(a117_0x4c5d14(0x188)),crypto=require(a117_0x4c5d14(0x16d)),{getGitMetaData,isUndefined,nestedKeyValue}=require(a117_0x4c5d14(0x209)),logger=require(a117_0x4c5d14(0x21a))[a117_0x4c5d14(0x174)],{o11yClassErrorHandler}=require(a117_0x4c5d14(0x1fb)),TestInfo=require(a117_0x4c5d14(0x1bd)),{failureData,getFailureType,PathHelper}=require('../../../helpers/test-observability/utils'),stackTrace=require(a117_0x4c5d14(0x21d)),{pickUserFrameFile}=require('../../../helpers/stackFrameUtils'),a117_0x5a3c7e={};a117_0x5a3c7e[a117_0x4c5d14(0x17f)]=a117_0x4c5d14(0x19b),a117_0x5a3c7e[a117_0x4c5d14(0x1b7)]=a117_0x4c5d14(0x166),a117_0x5a3c7e['beforeEach']=a117_0x4c5d14(0x170),a117_0x5a3c7e[a117_0x4c5d14(0x1ae)]=a117_0x4c5d14(0x16f);const HOOK_TYPES_MAP=a117_0x5a3c7e,hooksMap={};class JestUtils{constructor(){const _0x595c6b=a117_0x4c5d14;this['_gitConfigured']=![],this[_0x595c6b(0x1be)]=null,this[_0x595c6b(0x165)]=new PathHelper({'cwd':process[_0x595c6b(0x175)]()},undefined);}async['createTestFrameworkData'](_0x558029,_0x1670fb,_0x740dad=a117_0x4c5d14(0x1cb),_0xf032d5=undefined){const _0x287445=a117_0x4c5d14,_0x21d855={'dpnmR':_0x287445(0x215),'IsAcp':_0x287445(0x1c6),'lXndG':'File\x20path\x20could\x20not\x20be\x20found','AXeDB':function(_0x1f075c,_0x3a70f9){return _0x1f075c!==_0x3a70f9;},'cNOxA':_0x287445(0x205),'rnvbe':_0x287445(0x18d),'oeTmF':_0x287445(0x194),'chMTv':function(_0x430076,_0x28f2fb){return _0x430076===_0x28f2fb;},'ieUoX':_0x287445(0x1d8),'GejQe':'skipped','nOFRP':function(_0x44f673,_0x308ef7){return _0x44f673===_0x308ef7;},'dcMOe':'TestRunFinished','kiRSb':function(_0x159ea3,_0x517379){return _0x159ea3>_0x517379;},'RCpKt':_0x287445(0x179),'vEfYX':'passed','NUHUc':function(_0x40e00c,_0x329003){return _0x40e00c!==_0x329003;},'kvoAb':function(_0x3c3167,_0x4aeeb9){return _0x3c3167-_0x4aeeb9;},'apShP':_0x287445(0x1c4),'SYoQT':function(_0xd639b9,_0xefe425){return _0xd639b9>_0xefe425;},'tRkHO':_0x287445(0x186),'IIpHy':function(_0xb8a9de,_0x29ac0e){return _0xb8a9de(_0x29ac0e);},'PyGtn':function(_0xed7655,_0x478be6){return _0xed7655===_0x478be6;},'nyiPV':function(_0x2a44b3,_0x3054e9){return _0x2a44b3===_0x3054e9;}};logger['debug'](_0x287445(0x1a5)+_0x740dad+',\x20testIdentifier:\x20'+_0x1670fb);try{if(!_0x558029)return logger['debug'](_0x21d855[_0x287445(0x211)]),null;if(_0x558029['fn']&&_0x558029['fn'][_0x287445(0x1ad)]()[_0x287445(0x1f7)](/browserstack internal helper hook/))return null;await this[_0x287445(0x197)]();let _0x1d742f;try{_0x1d742f=this['getRootParentFile'](_0x558029);if(_0x1d742f&&_0x1d742f[_0x287445(0x162)](_0x21d855[_0x287445(0x18c)]))return null;}catch(_0x36abfe){logger[_0x287445(0x1ab)](_0x287445(0x1e8)+util[_0x287445(0x1a8)](_0x36abfe)),_0x1d742f=null;}const _0x589d88=this[_0x287445(0x169)](_0x558029),_0x2834d4=this[_0x287445(0x19f)](_0x558029),_0x414bb4=_0x1d742f?this['_paths'][_0x287445(0x20d)](_0x1d742f):_0x21d855[_0x287445(0x207)];let _0x503e04=[];const _0x5b5509=_0x558029[_0x287445(0x20c)]||_0x558029[_0x287445(0x1da)];if(_0x21d855[_0x287445(0x182)](_0x5b5509,undefined))_0x503e04=[_0x5b5509,_0x21d855[_0x287445(0x1db)]];else _0x21d855[_0x287445(0x182)](_0xf032d5,undefined)&&(_0x503e04=[_0xf032d5,_0x21d855[_0x287445(0x198)]]);const _0x155122=_0x21d855[_0x287445(0x182)](_0x5b5509,undefined)?util[_0x287445(0x1a0)](_0x5b5509[0x0]):_0x21d855[_0x287445(0x182)](_0xf032d5,undefined)?_0xf032d5[_0x287445(0x1ad)]():undefined;let _0x42af97=_0x21d855['oeTmF'];if(_0x21d855[_0x287445(0x20f)](_0x740dad,_0x21d855[_0x287445(0x1c0)]))_0x42af97=_0x21d855[_0x287445(0x176)];else _0x21d855[_0x287445(0x1bf)](_0x740dad,_0x21d855[_0x287445(0x18a)])&&(_0x5b5509&&_0x21d855[_0x287445(0x16e)](_0x5b5509[_0x287445(0x19e)],0x0)?_0x42af97=_0x21d855[_0x287445(0x1fa)]:_0x42af97=_0x21d855['vEfYX']);let _0x4dbd86=null;if(_0x21d855[_0x287445(0x1d1)](_0x558029['duration'],undefined))_0x4dbd86=_0x558029[_0x287445(0x1e9)];else(_0x740dad[_0x287445(0x1f7)](/Finished/)||_0x740dad['match'](/Skipped/))&&(_0x558029['started_at']&&(_0x4dbd86=_0x21d855[_0x287445(0x19c)](Date[_0x287445(0x18f)](),new Date(_0x558029[_0x287445(0x1f9)])[_0x287445(0x1f2)]())));const _0x4ab876=_0x558029['fn']?_0x558029['fn'][_0x287445(0x1ad)]():null,_0x2dc643={'id':_0x1670fb,'uuid':_0x1670fb,'startedAt':_0x558029['started_at']||new Date()[_0x287445(0x171)](),'finishedAt':_0x740dad[_0x287445(0x1f7)](/Finished/)||_0x740dad[_0x287445(0x1f7)](/Skipped/)?new Date()[_0x287445(0x171)]():null,'type':_0x21d855[_0x287445(0x1db)],'body':{'lang':_0x21d855[_0x287445(0x213)],'code':_0x4ab876},'name':_0x2834d4,'errorsDetailed':_0x21d855[_0x287445(0x20b)](_0x5b5509?.[_0x287445(0x19e)],0x0)?_0x5b5509[0x0]:_0x5b5509?_0x5b5509:undefined,'scopes':_0x589d88,'file_name':_0x414bb4,'location':_0x414bb4,'vc_filepath':this['_gitConfigPath']&&_0x1d742f?path[_0x287445(0x202)](this[_0x287445(0x1be)],_0x1d742f):null,'framework':_0x21d855['tRkHO'],'result':_0x42af97,'failure_reason':_0x155122,'duration_in_ms':_0x4dbd86,'failure':failureData['apply'](null,_0x503e04),'failure_type':!_0x155122?null:_0x21d855[_0x287445(0x184)](getFailureType,_0x155122),'retry_of':_0x558029['retryOf']||null,'customRerunParam':{'rerun_name':_0x2834d4}};_0x21d855[_0x287445(0x200)](_0x740dad,_0x21d855[_0x287445(0x1c0)])&&!_0x2dc643['startedAt']&&(_0x2dc643[_0x287445(0x1b8)]=_0x2dc643[_0x287445(0x1fc)]);const _0x16ae4b=_0x2dc643[_0x287445(0x17d)]&&_0x2dc643[_0x287445(0x17d)][0x0];return _0x16ae4b&&(_0x2dc643['failure_backtrace']=_0x16ae4b[_0x287445(0x1d9)],_0x2dc643[_0x287445(0x192)]=_0x16ae4b[_0x287445(0x164)]),(_0x21d855[_0x287445(0x200)](_0x740dad,_0x21d855[_0x287445(0x18a)])||_0x21d855['nyiPV'](_0x740dad,_0x21d855[_0x287445(0x1c0)]))&&(_0x558029[_0x287445(0x214)]&&(_0x2dc643[_0x287445(0x214)]=_0x558029[_0x287445(0x214)])),_0x2dc643;}catch(_0x566af5){return logger[_0x287445(0x1ab)](_0x287445(0x1de)+util[_0x287445(0x1a8)](_0x566af5)),null;}}async[a117_0x4c5d14(0x1ea)](_0x49dc2c,_0x45d529,_0x52a59e,_0x419092){const _0x477aa9=a117_0x4c5d14,_0x325c88={'SeBFH':_0x477aa9(0x173),'NafRK':_0x477aa9(0x1c6),'yUxNx':_0x477aa9(0x1b1),'fsWmt':'unknown','RzvmH':_0x477aa9(0x194),'tTgWj':function(_0x195035,_0x557f89){return _0x195035===_0x557f89;},'DGFQL':_0x477aa9(0x1b4),'VFznz':function(_0x4c8fd3,_0x58c9cd){return _0x4c8fd3>_0x58c9cd;},'ezLia':'failed','QVHSI':function(_0x138aa6,_0x39618e){return _0x138aa6(_0x39618e);},'vAsph':_0x477aa9(0x205),'zJQIT':_0x477aa9(0x204),'LqSSS':_0x477aa9(0x1b3),'DtkBs':_0x477aa9(0x1c4),'kHwJN':_0x477aa9(0x186),'UAADQ':function(_0x172fe1,_0x4afd14){return _0x172fe1===_0x4afd14;},'cOwAg':_0x477aa9(0x18b)};logger[_0x477aa9(0x1ab)](_0x477aa9(0x199)+_0x52a59e+_0x477aa9(0x1ec)+_0x45d529+_0x477aa9(0x221)+_0x419092);try{if(!_0x49dc2c)return logger[_0x477aa9(0x1ab)](_0x325c88[_0x477aa9(0x1a6)]),null;if(this['isJestInternalHook'](_0x49dc2c))return null;await this['configureGit']();let _0x8d6de8=null;try{_0x8d6de8=this['getRootParentFile'](_0x49dc2c);if(_0x8d6de8&&_0x8d6de8[_0x477aa9(0x162)](_0x325c88[_0x477aa9(0x1d6)]))return null;if(_0x8d6de8&&_0x8d6de8[_0x477aa9(0x162)](_0x325c88['yUxNx']))return null;}catch(_0xe570d6){logger['debug'](_0x477aa9(0x19d)+util['format'](_0xe570d6));}const _0xb0c5d1=_0x8d6de8?this[_0x477aa9(0x165)]['prefixTestPath'](_0x8d6de8):_0x8d6de8,_0x38e16=this['getName'](_0x49dc2c),_0x35cb6d=_0x49dc2c[_0x477aa9(0x190)]||_0x325c88[_0x477aa9(0x1f3)],_0x15e7dd=HOOK_TYPES_MAP[_0x35cb6d]||_0x35cb6d['toUpperCase'](),_0x33597f=_0x49dc2c[_0x477aa9(0x1b5)]&&_0x49dc2c[_0x477aa9(0x1b5)][_0x477aa9(0x1bb)]?_0x49dc2c[_0x477aa9(0x1b5)]['name']:'';let _0x2de04a=_0x325c88[_0x477aa9(0x1f0)],_0x5514c6=null,_0x3934cc=null,_0x4795f1=null,_0x427952=null;_0x325c88[_0x477aa9(0x1e3)](_0x52a59e,_0x325c88[_0x477aa9(0x1c9)])&&(_0x427952=new Date()[_0x477aa9(0x171)](),_0x49dc2c['errorsDetailed']&&_0x325c88[_0x477aa9(0x1af)](_0x49dc2c[_0x477aa9(0x20c)][_0x477aa9(0x19e)],0x0)?(_0x2de04a=_0x325c88[_0x477aa9(0x1ca)],_0x3934cc=util[_0x477aa9(0x1a0)](_0x49dc2c[_0x477aa9(0x20c)][0x0]),_0x5514c6=_0x325c88[_0x477aa9(0x1eb)](getFailureType,_0x3934cc),_0x4795f1=failureData[_0x477aa9(0x20a)](null,[_0x49dc2c[_0x477aa9(0x20c)],_0x325c88[_0x477aa9(0x1b6)]])):_0x2de04a=_0x325c88[_0x477aa9(0x1d5)]);const _0xe24946={'uuid':_0x45d529,'type':_0x325c88[_0x477aa9(0x223)],'hook_type':_0x15e7dd,'name':_0x38e16,'body':{'lang':_0x325c88['DtkBs'],'code':_0x49dc2c['fn']?_0x49dc2c['fn'][_0x477aa9(0x1ad)]():null},'tags':[],'test_run_id':_0x419092,'scope':_0x33597f,'scopes':[_0x33597f],'file_name':_0xb0c5d1,'location':_0xb0c5d1,'vc_filepath':this[_0x477aa9(0x1be)]&&_0x8d6de8?path[_0x477aa9(0x202)](this[_0x477aa9(0x1be)],_0x8d6de8):null,'result':_0x2de04a,'started_at':_0x49dc2c['started_at']||new Date()['toISOString'](),'finished_at':_0x427952,'failure_type':_0x5514c6,'failure_reason':_0x3934cc,'failure_data':_0x4795f1,'framework':_0x325c88[_0x477aa9(0x1f5)]};return _0x325c88[_0x477aa9(0x1d3)](_0x52a59e,_0x325c88[_0x477aa9(0x160)])&&(hooksMap[_0x419092]?hooksMap[_0x419092][_0x477aa9(0x1fd)](_0xe24946):hooksMap[_0x419092]=[_0xe24946]),_0xe24946;}catch(_0x114003){return logger[_0x477aa9(0x1ab)](_0x477aa9(0x219)+util[_0x477aa9(0x1a8)](_0x114003)),null;}}[a117_0x4c5d14(0x1a9)](_0x2f580a,_0x2fcc58,_0xf2c335){const _0x10b69d=a117_0x4c5d14,_0x59e290={'gHQhS':function(_0xbf3fd1,_0x13a913){return _0xbf3fd1>_0x13a913;},'VfmuF':_0x10b69d(0x179),'dASXU':function(_0x57688d,_0x1df328){return _0x57688d(_0x1df328);},'Abadc':_0x10b69d(0x205),'XuCQB':_0x10b69d(0x204)};try{const _0x47264c=hooksMap[_0x2f580a];if(!_0x47264c)return null;const _0x3e6d6b=_0x47264c[_0x10b69d(0x1ce)](_0x390532=>_0x390532[_0x10b69d(0x1ed)]===_0x2fcc58);if(!_0x3e6d6b)return null;return _0x3e6d6b[_0x10b69d(0x1c1)]=new Date()[_0x10b69d(0x171)](),_0xf2c335[_0x10b69d(0x20c)]&&_0x59e290[_0x10b69d(0x1c3)](_0xf2c335[_0x10b69d(0x20c)][_0x10b69d(0x19e)],0x0)?(_0x3e6d6b[_0x10b69d(0x1cd)]=_0x59e290[_0x10b69d(0x1a7)],_0x3e6d6b[_0x10b69d(0x220)]=util[_0x10b69d(0x1a0)](_0xf2c335[_0x10b69d(0x20c)][0x0]),_0x3e6d6b[_0x10b69d(0x217)]=_0x59e290[_0x10b69d(0x1e2)](getFailureType,_0x3e6d6b[_0x10b69d(0x220)]),_0x3e6d6b[_0x10b69d(0x1f4)]=failureData[_0x10b69d(0x20a)](null,[_0xf2c335[_0x10b69d(0x20c)],_0x59e290[_0x10b69d(0x17c)]])):_0x3e6d6b[_0x10b69d(0x1cd)]=_0x59e290['XuCQB'],_0x3e6d6b;}catch(_0x5627dd){return logger['debug'](_0x10b69d(0x189)+util[_0x10b69d(0x1a8)](_0x5627dd)),null;}}[a117_0x4c5d14(0x19f)](_0x263c32){const _0xb5d219=a117_0x4c5d14,_0x1f7463={};_0x1f7463['mRCPQ']=function(_0x4009f5,_0x28ed61){return _0x4009f5!==_0x28ed61;},_0x1f7463[_0xb5d219(0x193)]=_0xb5d219(0x205),_0x1f7463[_0xb5d219(0x1f6)]=_0xb5d219(0x216);const _0x1e755e=_0x1f7463;if(_0x1e755e[_0xb5d219(0x18e)](_0x263c32['type'],_0x1e755e[_0xb5d219(0x193)]))return'\x22'+_0x263c32[_0xb5d219(0x190)]+_0xb5d219(0x161)+(_0x263c32[_0xb5d219(0x1b5)]&&_0x263c32['parent'][_0xb5d219(0x1bb)])+'\x22';return _0x263c32['name']||_0x1e755e[_0xb5d219(0x1f6)];}['getHierarchy'](_0x2c16e5){const _0x4df498=a117_0x4c5d14,_0x483543={};_0x483543[_0x4df498(0x181)]=function(_0x1ac8b9,_0x251e71){return _0x1ac8b9!==_0x251e71;},_0x483543['SNmUU']=function(_0x139683,_0x310fcd){return _0x139683!==_0x310fcd;},_0x483543[_0x4df498(0x1d4)]=_0x4df498(0x1b0);const _0x1a3cd3=_0x483543,_0x889ba9=[];if(_0x2c16e5&&_0x2c16e5['parent']){let _0x30c3f0=_0x2c16e5['parent'];while(_0x30c3f0&&_0x30c3f0[_0x4df498(0x1bb)]&&_0x1a3cd3[_0x4df498(0x181)](_0x30c3f0[_0x4df498(0x1bb)],'')&&_0x1a3cd3['SNmUU'](_0x30c3f0[_0x4df498(0x1bb)],_0x1a3cd3[_0x4df498(0x1d4)])){_0x889ba9[_0x4df498(0x1fd)](_0x30c3f0[_0x4df498(0x1bb)]),_0x30c3f0=_0x30c3f0['parent'];}}return _0x889ba9['reverse'](),_0x889ba9;}[a117_0x4c5d14(0x1dd)](_0x5e1448){const _0x3033c2=a117_0x4c5d14,_0x5cfd75={'BRDPS':function(_0x3f002e,_0x1d5179){return _0x3f002e(_0x1d5179);}};if(_0x5e1448[_0x3033c2(0x201)])return _0x5e1448['file'];if(_0x5e1448['asyncError'])try{const _0x916c58=stackTrace[_0x3033c2(0x163)][_0x3033c2(0x21e)](stackTrace,_0x5e1448[_0x3033c2(0x208)]),_0x53d145=_0x5cfd75[_0x3033c2(0x1cc)](pickUserFrameFile,_0x916c58);if(_0x53d145)return _0x53d145;logger[_0x3033c2(0x1ab)](_0x3033c2(0x1d7)+_0x916c58[_0x3033c2(0x19e)]+')');}catch(_0x478d98){logger[_0x3033c2(0x1ab)](_0x3033c2(0x1ba)+util[_0x3033c2(0x1a8)](_0x478d98));}return null;}[a117_0x4c5d14(0x1e1)](_0x8a1bcb){const _0x555f51=a117_0x4c5d14,_0x18f163={};_0x18f163[_0x555f51(0x203)]=_0x555f51(0x1c6);const _0x38d4c7=_0x18f163;try{const _0x181362=this['getRootParentFile'](_0x8a1bcb);if(!_0x181362||_0x181362[_0x555f51(0x162)](_0x38d4c7[_0x555f51(0x203)]))return!![];}catch(_0x28def0){logger[_0x555f51(0x1ab)](_0x555f51(0x1ac)+util[_0x555f51(0x1a8)](_0x28def0));}return![];}[a117_0x4c5d14(0x1e7)](_0x1ec1e2=null){const _0x36c18a=a117_0x4c5d14;try{const _0x1c1c2e=_0x1ec1e2||global[_0x36c18a(0x1bc)]||{};if(global[_0x36c18a(0x1ee)])return global['__jestCurrentTestIdentifier'];if(_0x1c1c2e?.['currentTest']?.[_0x36c18a(0x1c8)])return _0x1c1c2e[_0x36c18a(0x210)]['testAnalyticsId'];if(_0x1c1c2e?.['currentTest']?.['id'])return _0x1c1c2e[_0x36c18a(0x210)]['id'];return null;}catch(_0x35d1bf){return logger[_0x36c18a(0x1ab)]('[jestUtils]\x20Error\x20getting\x20test\x20identifier:\x20'+util[_0x36c18a(0x1a8)](_0x35d1bf)),null;}}async['configureGit'](){const _0x477762=a117_0x4c5d14,_0x4449af={'byZPg':function(_0x3f87a7){return _0x3f87a7();}};if(this['_gitConfigured'])return this[_0x477762(0x1be)];const _0x360e47=await _0x4449af[_0x477762(0x1f8)](getGitMetaData);_0x360e47&&(this[_0x477762(0x1be)]=_0x360e47[_0x477762(0x167)]),this[_0x477762(0x180)]=!![];}['clearHooksMap'](_0x44bbf7){hooksMap[_0x44bbf7]&&delete hooksMap[_0x44bbf7];}[a117_0x4c5d14(0x1d0)](_0x37c217){const _0x149f46=a117_0x4c5d14,_0x49dd9c={'QMkfe':_0x149f46(0x1c6),'UKEca':function(_0x2efce2,_0x3eb746){return _0x2efce2(_0x3eb746);},'lWiNh':_0x149f46(0x191)};if(_0x37c217[_0x149f46(0x201)])return _0x37c217[_0x149f46(0x201)];if(_0x37c217[_0x149f46(0x208)]){try{const _0x75d283=stackTrace[_0x149f46(0x163)](_0x37c217[_0x149f46(0x208)]);if(_0x75d283[0x0]&&_0x75d283[0x0][_0x149f46(0x183)]){const _0x2b8d19=_0x75d283[0x0][_0x149f46(0x183)]();if(_0x2b8d19&&!_0x2b8d19[_0x149f46(0x162)](_0x49dd9c[_0x149f46(0x1e4)]))return _0x2b8d19;}}catch(_0x38340e){logger['debug']('[jestUtils]\x20Error\x20parsing\x20asyncError\x20stack\x20trace:\x20'+util[_0x149f46(0x1a8)](_0x38340e));}if(_0x37c217[_0x149f46(0x208)][_0x149f46(0x224)]){const _0x2d8796=_0x37c217['asyncError']['stack']['split']('\x0a');for(const _0x210ad4 of _0x2d8796){const _0x24256c=_0x210ad4[_0x149f46(0x1f7)](/at (.+?):\d+:\d+/);if(_0x24256c&&_0x24256c[0x1]&&!_0x24256c[0x1][_0x149f46(0x162)](_0x49dd9c[_0x149f46(0x1e4)]))return _0x24256c[0x1];}}}let _0x3fe39=_0x37c217[_0x149f46(0x1b5)];while(_0x3fe39){if(_0x3fe39[_0x149f46(0x201)])return _0x3fe39['file'];if(_0x3fe39[_0x149f46(0x208)])try{const _0x466acf=stackTrace['parse'](_0x3fe39['asyncError']);if(_0x466acf[0x0]&&_0x466acf[0x0][_0x149f46(0x183)]){const _0x11990f=_0x466acf[0x0][_0x149f46(0x183)]();if(_0x11990f&&!_0x11990f[_0x149f46(0x162)](_0x49dd9c[_0x149f46(0x1e4)]))return _0x11990f;}}catch(_0x5eff7b){}_0x3fe39=_0x3fe39[_0x149f46(0x1b5)];}try{const _0x3994e4=_0x49dd9c[_0x149f46(0x1a1)](require,_0x49dd9c[_0x149f46(0x1a3)]);if(_0x3994e4&&_0x3994e4[_0x149f46(0x1aa)]){const _0x1a94bd=_0x3994e4[_0x149f46(0x1aa)]();if(_0x1a94bd&&_0x1a94bd[_0x149f46(0x1b9)])return _0x1a94bd[_0x149f46(0x1b9)];}}catch(_0x4f2668){logger[_0x149f46(0x1ab)](_0x149f46(0x1e5)+util['format'](_0x4f2668));}return null;}[a117_0x4c5d14(0x222)](_0x1dcab0){const _0x31fab0=a117_0x4c5d14,_0xad66d3={};_0xad66d3[_0x31fab0(0x16a)]=_0x31fab0(0x178),_0xad66d3[_0x31fab0(0x172)]=function(_0x511eb1,_0x59a1a1){return _0x511eb1!==_0x59a1a1;},_0xad66d3['MDZEn']=_0x31fab0(0x1b0),_0xad66d3['DfThU']=_0x31fab0(0x1c6),_0xad66d3[_0x31fab0(0x21b)]=_0x31fab0(0x21f),_0xad66d3[_0x31fab0(0x21c)]=_0x31fab0(0x19a);const _0x592f66=_0xad66d3;try{if(!_0x1dcab0)return logger[_0x31fab0(0x185)](_0x592f66[_0x31fab0(0x16a)]),null;const _0x2b2099=_0x1dcab0[_0x31fab0(0x1e6)]||_0x1dcab0[_0x31fab0(0x1bb)]||_0x1dcab0[_0x31fab0(0x187)]||_0x1dcab0[_0x31fab0(0x1cf)];let _0x4f91f6=_0x2b2099;if(_0x1dcab0[_0x31fab0(0x1b5)]&&_0x1dcab0[_0x31fab0(0x1b5)][_0x31fab0(0x1bb)]&&_0x592f66[_0x31fab0(0x172)](_0x1dcab0[_0x31fab0(0x1b5)]['name'],_0x592f66[_0x31fab0(0x218)])){const _0x2429cd=_0x1dcab0['name']||_0x1dcab0['title'];_0x2429cd&&(_0x4f91f6=_0x1dcab0[_0x31fab0(0x1b5)]['name']+'\x20'+_0x2429cd);}let _0xe4ccec=_0x1dcab0[_0x31fab0(0x1b9)];if(!_0xe4ccec&&_0x1dcab0[_0x31fab0(0x208)]){try{const _0x34ba74=stackTrace[_0x31fab0(0x163)](_0x1dcab0[_0x31fab0(0x208)]);if(_0x34ba74[0x0]&&_0x34ba74[0x0][_0x31fab0(0x183)]){const _0x39ef67=_0x34ba74[0x0][_0x31fab0(0x183)]();_0x39ef67&&!_0x39ef67[_0x31fab0(0x162)](_0x592f66[_0x31fab0(0x15e)])&&(_0xe4ccec=_0x39ef67);}}catch(_0x5b9c1a){logger['debug'](_0x31fab0(0x1f1)+util[_0x31fab0(0x1a8)](_0x5b9c1a));}if(!_0xe4ccec&&_0x1dcab0[_0x31fab0(0x208)]['stack']){const _0x234c4a=_0x1dcab0['asyncError'][_0x31fab0(0x224)]['split']('\x0a');for(const _0x11fadd of _0x234c4a){const _0x575f60=_0x11fadd[_0x31fab0(0x1f7)](/at (.+?):\d+:\d+/);if(_0x575f60&&_0x575f60[0x1]&&!_0x575f60[0x1][_0x31fab0(0x162)](_0x592f66[_0x31fab0(0x15e)])){_0xe4ccec=_0x575f60[0x1];break;}}}}const _0x3c172a=_0xe4ccec+'::'+_0x4f91f6,_0x381540=crypto[_0x31fab0(0x1fe)](_0x592f66[_0x31fab0(0x21b)])[_0x31fab0(0x17a)](_0x3c172a)[_0x31fab0(0x1a2)](_0x592f66[_0x31fab0(0x21c)])[_0x31fab0(0x1a4)](0x0,0x8),_0x2e4f3b=process[_0x31fab0(0x177)]+_0x31fab0(0x206)+_0x381540;return logger[_0x31fab0(0x1ab)](_0x31fab0(0x1e0)+_0x2e4f3b+'\x20from\x20compositeKey:\x20'+_0x3c172a),_0x2e4f3b;}catch(_0x122006){return logger['error'](_0x31fab0(0x17b)+util[_0x31fab0(0x1a8)](_0x122006)),null;}}[a117_0x4c5d14(0x1df)](_0xf63563){const _0x5d6b93=a117_0x4c5d14,_0x3fc00a={};_0x3fc00a[_0x5d6b93(0x16c)]='[jestUtils]\x20No\x20test\x20object\x20provided';const _0x480ee2=_0x3fc00a;if(!_0xf63563)return logger['debug'](_0x480ee2[_0x5d6b93(0x16c)]),null;const _0x2ea8a4=this[_0x5d6b93(0x1d0)](_0xf63563),_0x5ea665={};_0x5ea665[_0x5d6b93(0x1bb)]=_0xf63563[_0x5d6b93(0x1bb)]||_0xf63563[_0x5d6b93(0x187)],_0x5ea665[_0x5d6b93(0x1b5)]=_0xf63563['parent'],_0x5ea665[_0x5d6b93(0x1b9)]=_0x2ea8a4,_0x5ea665[_0x5d6b93(0x208)]=_0xf63563[_0x5d6b93(0x208)];const _0x4a0c9e=_0x5ea665;return this['createJestTestIdentifier'](_0x4a0c9e);}[a117_0x4c5d14(0x1dc)](_0x48675d,_0x16bb10=null){const _0xa3f769=a117_0x4c5d14,_0x2fbd9b={};_0x2fbd9b[_0xa3f769(0x1c2)]=_0xa3f769(0x15f);const _0x2a0765=_0x2fbd9b;if(!_0x48675d)return logger[_0xa3f769(0x1ab)](_0x2a0765[_0xa3f769(0x1c2)]),_0x16bb10;if(_0x48675d['testIdentifier'])return logger[_0xa3f769(0x1ab)](_0xa3f769(0x1ef)+_0x48675d['testIdentifier']),_0x48675d['testIdentifier'];return this['createJestTestIdentifier'](_0x48675d)||_0x16bb10;}}module[a117_0x4c5d14(0x195)]=o11yClassErrorHandler(JestUtils,[a117_0x4c5d14(0x197),a117_0x4c5d14(0x169),a117_0x4c5d14(0x1dd),a117_0x4c5d14(0x19f),'isJestInternalHook','getTestIdentifier',a117_0x4c5d14(0x16b),'createHookData',a117_0x4c5d14(0x1a9),a117_0x4c5d14(0x212),'extractTestFilePath','createJestTestIdentifier',a117_0x4c5d14(0x1df),'recreateIdentifierFromTestInfo']);
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const
|
|
2
|
+
'use strict';const a118_0x5ab2bf=a118_0x16e7;function a118_0x16e7(_0x4aa7e1,_0x25e093){const _0xa00f72=a118_0xa00f();return a118_0x16e7=function(_0x16e71b,_0x440e14){_0x16e71b=_0x16e71b-0xeb;let _0x5f2945=_0xa00f72[_0x16e71b];return _0x5f2945;},a118_0x16e7(_0x4aa7e1,_0x25e093);}(function(_0x2e3b47,_0x1c569a){const _0x12f59d=a118_0x16e7,_0x1d4719=_0x2e3b47();while(!![]){try{const _0x3d1603=-parseInt(_0x12f59d(0x113))/0x1+-parseInt(_0x12f59d(0x119))/0x2+-parseInt(_0x12f59d(0x115))/0x3+-parseInt(_0x12f59d(0x108))/0x4+parseInt(_0x12f59d(0x114))/0x5+parseInt(_0x12f59d(0x121))/0x6*(parseInt(_0x12f59d(0x120))/0x7)+parseInt(_0x12f59d(0xf6))/0x8;if(_0x3d1603===_0x1c569a)break;else _0x1d4719['push'](_0x1d4719['shift']());}catch(_0x110237){_0x1d4719['push'](_0x1d4719['shift']());}}}(a118_0xa00f,0x6da99));const fs=require('fs'),path=require(a118_0x5ab2bf(0x10d)),{default:BrowserStackSetup}=require(a118_0x5ab2bf(0xfd)),helper=require('../../helpers/helper'),PerformanceTester=require('../../helpers/performance/performance-tester'),PerformanceEvents=require('../../helpers/performance/constants')[a118_0x5ab2bf(0xec)],utilities=require('../../helpers/utilities'),{parallelVanillaRun}=require('../test-runner'),TestHubHandler=require(a118_0x5ab2bf(0xeb)),BrowserstackCLI=require('../v2/browserstackCLI');async function run(_0x267677,_0x596d3e,_0x582854){const _0x42f2c0=a118_0x5ab2bf,_0x456c42={'FWCJB':_0x42f2c0(0x11e),'yFxCr':function(_0x5330eb,_0x25c429){return _0x5330eb(_0x25c429);},'UwQib':_0x42f2c0(0x10f),'aLrnY':function(_0x5c7e44,_0x44969a){return _0x5c7e44!==_0x44969a;},'gcrJs':function(_0x1df75e,_0x4f3dcd){return _0x1df75e+_0x4f3dcd;},'eWLKT':_0x42f2c0(0xf0),'tPRKn':function(_0x42ca0c,_0x800836){return _0x42ca0c>_0x800836;},'sbyDG':function(_0x4d6e57,_0x8010fb){return _0x4d6e57>_0x8010fb;},'ybBRM':function(_0x5097f7,_0x470fb3){return _0x5097f7*_0x470fb3;},'tYbLk':function(_0x355419,_0x31d8f0,_0x33082e){return _0x355419(_0x31d8f0,_0x33082e);}};await _0x582854[_0x42f2c0(0xfc)](_0x267677);!BrowserstackCLI['getInstance']()[_0x42f2c0(0x11b)]()&&await _0x582854['setupBrowserstackLocal']();await helper[_0x42f2c0(0xf3)](_0x582854[_0x42f2c0(0x117)]);const _0x1bc199=[];if(helper[_0x42f2c0(0x11a)](_0x267677['_'][0x1]))throw _0x456c42['yFxCr'](Error,_0x456c42['UwQib']);const _0x3f511a=process[_0x42f2c0(0x100)](),_0x2b3738=path[_0x42f2c0(0xfb)](_0x3f511a,_0x267677['_'][0x1]);if(_0x456c42[_0x42f2c0(0xff)](_0x2b3738,_0x3f511a)&&!_0x2b3738[_0x42f2c0(0x116)](_0x456c42[_0x42f2c0(0xed)](_0x3f511a,path[_0x42f2c0(0x110)])))throw _0x456c42[_0x42f2c0(0x109)](Error,'File\x20path\x20'+_0x267677['_'][0x1]+_0x42f2c0(0x104));if(!fs[_0x42f2c0(0xee)](_0x2b3738))throw _0x456c42['yFxCr'](Error,'File\x20'+_0x267677['_'][0x1]+_0x42f2c0(0x11f));if(!_0x582854[_0x42f2c0(0x117)])throw _0x456c42[_0x42f2c0(0x109)](Error,_0x456c42[_0x42f2c0(0x118)]);const _0xf5662e=helper[_0x42f2c0(0xfe)](_0x582854[_0x42f2c0(0x117)]);_0x582854[_0x42f2c0(0x117)][_0x42f2c0(0xf1)]&&_0x456c42[_0x42f2c0(0xf9)](_0x582854[_0x42f2c0(0x117)][_0x42f2c0(0xf1)][_0x42f2c0(0xf5)],0x0)&&_0x582854[_0x42f2c0(0x117)][_0x42f2c0(0xf1)]['forEach']((_0xdc820e,_0x333ff9)=>{const _0x2ee825=_0x42f2c0;_0xf5662e?_0x1bc199['push'](helper['modifyBrowserStackW3CCaps'](_0x582854['config'],_0x456c42[_0x2ee825(0xf2)],_0x333ff9)):_0x1bc199[_0x2ee825(0x107)](helper[_0x2ee825(0x111)](_0x582854[_0x2ee825(0x117)],_0x456c42[_0x2ee825(0xf2)],_0x333ff9));});let _0x1741d2,_0x5e87c2;const _0x2d28ad=[];if(_0x456c42[_0x42f2c0(0x10b)](_0x1bc199[_0x42f2c0(0xf5)],0x0))_0x1bc199[_0x42f2c0(0x102)]((_0x244498,_0x51ac35)=>{const _0x2a2e4e=_0x42f2c0,_0x4d268b={};_0x4d268b[_0x2a2e4e(0x11c)]=_0x51ac35,_0x1741d2={'server':helper[_0x2a2e4e(0x10e)](_0x582854[_0x2a2e4e(0x117)]),'proxySettings':_0x582854['config']['proxySettings'],'platform':helper[_0x2a2e4e(0x10c)](_0x244498),'platformCaps':Object[_0x2a2e4e(0xf7)](_0x4d268b,_0x582854[_0x2a2e4e(0x117)][_0x2a2e4e(0xf1)][_0x51ac35])};const _0x2089ae={'capability':_0x244498,..._0x1741d2};_0x2089ae['file']=_0x2b3738,_0x2089ae[_0x2a2e4e(0xfa)]=_0x596d3e;const _0x1862d8={};_0x1862d8['configuration']=_0x2089ae,_0x5e87c2=_0x1862d8,_0x2d28ad['push'](_0x5e87c2);});else{let _0x168acc;_0xf5662e?_0x168acc=helper[_0x42f2c0(0xef)](_0x582854[_0x42f2c0(0x117)],_0x456c42['FWCJB'],0x0):_0x168acc=helper[_0x42f2c0(0x111)](_0x582854[_0x42f2c0(0x117)],_0x456c42[_0x42f2c0(0xf2)],0x0);_0x1741d2={'server':helper[_0x42f2c0(0x10e)](_0x582854[_0x42f2c0(0x117)]),'proxySettings':_0x582854['config'][_0x42f2c0(0x122)]};const _0x814344={'capability':_0x168acc,..._0x1741d2};_0x814344['file']=_0x2b3738,_0x814344[_0x42f2c0(0xfa)]=_0x596d3e;const _0x54fe8f={};_0x54fe8f[_0x42f2c0(0x101)]=_0x814344,_0x5e87c2=_0x54fe8f,_0x2d28ad[_0x42f2c0(0x107)](_0x5e87c2);}const _0x109563=await TestHubHandler[_0x42f2c0(0xf4)](_0x456c42[_0x42f2c0(0xf2)],_0x582854),_0xc327ea=_0x456c42[_0x42f2c0(0x112)](_0x582854['config'][_0x42f2c0(0xf1)]['length']||0x1,_0x582854[_0x42f2c0(0x117)]['parallelsPerPlatform']||0x1);PerformanceTester[_0x42f2c0(0x105)](PerformanceEvents[_0x42f2c0(0x103)]),_0x456c42[_0x42f2c0(0x11d)](parallelVanillaRun,_0x2d28ad,_0xc327ea)[_0x42f2c0(0x123)](_0x6b021=>{})[_0x42f2c0(0x10a)](async()=>{const _0x1c2fd6=_0x42f2c0;PerformanceTester[_0x1c2fd6(0x106)](PerformanceEvents['SDK_CLEANUP']),await utilities['finalExecution'](_0x582854);});}function a118_0xa00f(){const _0x287cfc=['sep','modifyBrowserStackCaps','ybBRM','149785RABUjA','2038715yUrNbS','2243202gDRnnL','startsWith','config','eWLKT','1636970HuuOnb','isUndefined','isRunning','index','tYbLk','vanilla','\x20doesn\x27t\x20exist','14hSaeYt','2132148cKBjdb','proxySettings','then','../../helpers/testhub/testhubHandler','EVENTS','gcrJs','existsSync','modifyBrowserStackW3CCaps','Config\x20yml\x20is\x20required','platforms','FWCJB','handleApp','launchBuild','length','15204880XUwvGG','assign','exports','tPRKn','args','resolve','initialize','../../helpers/BrowserStackSetup','useW3C','aLrnY','cwd','configuration','forEach','SDK_SETUP','\x20resolves\x20outside\x20the\x20project\x20directory\x20and\x20was\x20rejected','end','start','push','3415552qKHrVP','yFxCr','finally','sbyDG','getPlatformName','path','getHubUrl','File\x20path\x20is\x20required'];a118_0xa00f=function(){return _0x287cfc;};return a118_0xa00f();}module[a118_0x5ab2bf(0xf8)]=run;
|
package/src/browserStackSdk.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a119_0x28a99d=a119_0x484b;function a119_0x484b(_0x16dfe6,_0x4a66bc){const _0x21e3db=a119_0x21e3();return a119_0x484b=function(_0x484bb0,_0x4a8bc4){_0x484bb0=_0x484bb0-0x12c;let _0x5aff0f=_0x21e3db[_0x484bb0];return _0x5aff0f;},a119_0x484b(_0x16dfe6,_0x4a66bc);}(function(_0x551119,_0x39958d){const _0x415da7=a119_0x484b,_0x126f14=_0x551119();while(!![]){try{const _0x25255b=parseInt(_0x415da7(0x133))/0x1+-parseInt(_0x415da7(0x12c))/0x2*(-parseInt(_0x415da7(0x14e))/0x3)+-parseInt(_0x415da7(0x14c))/0x4*(parseInt(_0x415da7(0x143))/0x5)+-parseInt(_0x415da7(0x147))/0x6+parseInt(_0x415da7(0x142))/0x7+-parseInt(_0x415da7(0x134))/0x8*(parseInt(_0x415da7(0x135))/0x9)+parseInt(_0x415da7(0x141))/0xa*(parseInt(_0x415da7(0x13e))/0xb);if(_0x25255b===_0x39958d)break;else _0x126f14['push'](_0x126f14['shift']());}catch(_0x2c6329){_0x126f14['push'](_0x126f14['shift']());}}}(a119_0x21e3,0x93dd7));function a119_0x21e3(){const _0x5247a4=['browser_version','34324DljtrZ','platformVersion','3105NUjFqI','qDuPA','sziHf','582SWbTIG','MJIWm','browser','customVariables','setTestMetadata','browserName','device','705682dGudZF','212336UynKwR','387XyzpzO','ROLKU','LkhoL','platform_version','browserVersion','MReuI','__platformCaps','fcyDa','DIodS','99HPKabk','nvHnG','aHvPe','2857780IkMNUa','88977NzMJED','485seclXU','VvtgS','exports','CUpXy','6073572txaMtZ','osVersion','platformName','rMzoF'];a119_0x21e3=function(){return _0x5247a4;};return a119_0x21e3();}const TestMetadata=require('./helpers/metadata');class BrowserStackSdk{static['getCurrentPlatform'](){const _0x45e783=a119_0x484b,_0x584747={};_0x584747['fcyDa']='os_version',_0x584747[_0x45e783(0x137)]=_0x45e783(0x148),_0x584747[_0x45e783(0x12d)]=_0x45e783(0x12e),_0x584747['DIodS']=_0x45e783(0x131),_0x584747[_0x45e783(0x136)]=_0x45e783(0x14b),_0x584747[_0x45e783(0x144)]=_0x45e783(0x139),_0x584747[_0x45e783(0x146)]=_0x45e783(0x132),_0x584747[_0x45e783(0x14f)]='deviceName',_0x584747[_0x45e783(0x13a)]='platform',_0x584747[_0x45e783(0x150)]=_0x45e783(0x149),_0x584747[_0x45e783(0x14a)]=_0x45e783(0x138),_0x584747[_0x45e783(0x140)]=_0x45e783(0x14d),_0x584747[_0x45e783(0x13f)]=_0x45e783(0x12f);const _0x134f27=_0x584747,_0x219f9e={};if(global[_0x45e783(0x13b)]){const _0x5c50ac=global[_0x45e783(0x13b)],_0x5afbd7=_0x5c50ac[_0x134f27[_0x45e783(0x13c)]]||_0x5c50ac[_0x134f27['LkhoL']],_0x2474d4=_0x5c50ac[_0x134f27[_0x45e783(0x12d)]]||_0x5c50ac[_0x134f27['DIodS']],_0x1e260b=_0x5c50ac[_0x134f27[_0x45e783(0x136)]]||_0x5c50ac[_0x134f27[_0x45e783(0x144)]],_0x34e3c0=_0x5c50ac[_0x134f27[_0x45e783(0x146)]]||_0x5c50ac[_0x134f27[_0x45e783(0x14f)]],_0x2a2c13=_0x5c50ac[_0x134f27[_0x45e783(0x13a)]]||_0x5c50ac[_0x134f27[_0x45e783(0x150)]],_0x14fd60=_0x5c50ac[_0x134f27[_0x45e783(0x14a)]]||_0x5c50ac[_0x134f27[_0x45e783(0x140)]];_0x5c50ac['os']&&(_0x219f9e['os']=_0x5c50ac['os']),_0x5afbd7&&(_0x219f9e[_0x134f27[_0x45e783(0x137)]]=_0x5afbd7),_0x2474d4&&(_0x219f9e[_0x134f27[_0x45e783(0x13d)]]=_0x2474d4),_0x1e260b&&(_0x219f9e[_0x134f27[_0x45e783(0x144)]]=_0x1e260b),_0x34e3c0&&(_0x219f9e[_0x134f27[_0x45e783(0x14f)]]=_0x34e3c0),_0x2a2c13&&(_0x219f9e[_0x134f27[_0x45e783(0x150)]]=_0x2a2c13),_0x14fd60&&(_0x219f9e[_0x134f27['aHvPe']]=_0x14fd60),_0x5c50ac[_0x134f27['nvHnG']]&&(_0x219f9e[_0x134f27['nvHnG']]=_0x5c50ac[_0x134f27[_0x45e783(0x13f)]]);}return _0x219f9e;}static[a119_0x28a99d(0x130)](_0xa9cd0d={}){TestMetadata['set'](_0xa9cd0d);}}module[a119_0x28a99d(0x145)]=BrowserStackSdk;
|