browserstack-node-sdk 1.63.0 → 1.63.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +1 -1
- package/src/ai-sdk-node/bundle.js +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jasmine/bstack-reporter/customReporter.js +1 -1
- package/src/bin/jasmine/command.js +1 -1
- package/src/bin/jasmine/test.setup.js +1 -1
- package/src/bin/jasmine/testRunMap.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customSequencer.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test.setup.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/load/index.js +1 -1
- package/src/bin/load/loadErrors.js +1 -1
- package/src/bin/load/loadUtils.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/builderPatch.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/newman/command.js +1 -1
- package/src/bin/newman/helper.js +1 -1
- package/src/bin/newman/reporter/index.js +1 -1
- package/src/bin/newman/scriptRunner.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/puppeteer/patches.js +1 -1
- package/src/bin/puppeteer/sessionDetails.js +1 -1
- package/src/bin/puppeteer/test.setup.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/testcafe/a11y-runner.js +1 -1
- package/src/bin/testcafe/command.js +1 -1
- package/src/bin/testcafe/reporter/index.js +1 -1
- package/src/bin/testcafe/reporter/tcUtils.js +1 -1
- package/src/bin/testcafe/session-registry.js +1 -1
- package/src/bin/testcafe/stdout-interceptor.js +1 -1
- package/src/bin/testcafe/testcafe-action-patcher.js +1 -1
- package/src/bin/testcafe/w3c-driver.js +1 -1
- package/src/bin/utils/apiUtilityMethods.js +1 -1
- package/src/bin/utils/clientTroubleshootingService.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/utils/playwright-patcher.js +1 -1
- package/src/bin/utils/puppeteer-patcher.js +1 -1
- package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
- package/src/bin/utils/sharedUtils.js +1 -1
- package/src/bin/v2/TestInfo.js +1 -1
- package/src/bin/v2/browserstackCLI.js +1 -1
- package/src/bin/v2/cliUtils.js +1 -1
- package/src/bin/v2/customTagManager.js +1 -1
- package/src/bin/v2/eventDispatcher.js +1 -1
- package/src/bin/v2/framework/automationFramework.js +1 -1
- package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
- package/src/bin/v2/framework/jestTestFramework.js +1 -1
- package/src/bin/v2/framework/newmanTestFramework.js +1 -1
- package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
- package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
- package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
- package/src/bin/v2/framework/testFramework.js +1 -1
- package/src/bin/v2/framework/testcafeAutomationFramework.js +1 -1
- package/src/bin/v2/framework/testcafeTestFramework.js +1 -1
- package/src/bin/v2/grpcClient.js +1 -1
- package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/trackedContext.js +1 -1
- package/src/bin/v2/instances/trackedInstance.js +1 -1
- package/src/bin/v2/modules/accessibilityModule.js +1 -1
- package/src/bin/v2/modules/baseModule.js +1 -1
- package/src/bin/v2/modules/loadTestModule.js +1 -1
- package/src/bin/v2/modules/observabilityModule.js +1 -1
- package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
- package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
- package/src/bin/v2/modules/testcafeDriverModule.js +1 -1
- package/src/bin/v2/modules/testhubModule.js +1 -1
- package/src/bin/v2/sdkErrorHandler.js +1 -1
- package/src/bin/v2/state/automationFrameworkState.js +1 -1
- package/src/bin/v2/state/hookState.js +1 -1
- package/src/bin/v2/state/testFrameworkState.js +1 -1
- package/src/bin/v2/uploadAttachmentsManager.js +1 -1
- package/src/bin/v2/utils/cucumber-utils.js +1 -1
- package/src/bin/v2/utils/jest-utils.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
- package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/caCertHelper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/central-scanner/constants.js +1 -1
- package/src/helpers/central-scanner/helpers.js +1 -1
- package/src/helpers/classLogger.js +1 -1
- package/src/helpers/driverInitErrorReporter.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/metadata.js +1 -1
- package/src/helpers/patchHelper.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance/constants.js +1 -1
- package/src/helpers/performance/performance-tester.js +1 -1
- package/src/helpers/playwright-helper.js +1 -1
- package/src/helpers/processHelper.js +1 -1
- package/src/helpers/puppeteer-helper.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/stackFrameUtils.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/test-orchestration/constants.js +1 -1
- package/src/helpers/test-orchestration/failfastManager.js +1 -1
- package/src/helpers/test-orchestration/fileHelper.js +1 -1
- package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
- package/src/helpers/test-orchestration/requestUtils.js +1 -1
- package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
- package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
- package/src/helpers/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/timeoutPromise.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a115_0x11fb24=a115_0xb23a;(function(_0x4ca60e,_0x21020f){const _0x2dd0ff=a115_0xb23a,_0x459af2=_0x4ca60e();while(!![]){try{const _0x43d672=-parseInt(_0x2dd0ff(0x1ad))/0x1+-parseInt(_0x2dd0ff(0x1a0))/0x2*(-parseInt(_0x2dd0ff(0x1a8))/0x3)+-parseInt(_0x2dd0ff(0x1a7))/0x4+-parseInt(_0x2dd0ff(0x19a))/0x5*(parseInt(_0x2dd0ff(0x19d))/0x6)+parseInt(_0x2dd0ff(0x1ab))/0x7*(-parseInt(_0x2dd0ff(0x19f))/0x8)+parseInt(_0x2dd0ff(0x1a2))/0x9*(parseInt(_0x2dd0ff(0x1a5))/0xa)+parseInt(_0x2dd0ff(0x19c))/0xb*(parseInt(_0x2dd0ff(0x1ac))/0xc);if(_0x43d672===_0x21020f)break;else _0x459af2['push'](_0x459af2['shift']());}catch(_0x486a4b){_0x459af2['push'](_0x459af2['shift']());}}}(a115_0x4fd7,0x30812));const a115_0x5b397b={};function a115_0x4fd7(){const _0x12a960=['toString','7rwpMCN','938136GPceAl','333445VZBiQq','HookState.NONE','freeze','40PPlXuy','VgiZe','88ENONsb','137316gNmksv','HookState.PRE','490480bDQycX','20atOdLR','value','117KoHDdQ','HookState.POST','umVdz','67470vZHoac','HDrTM','172392BTZxwK','31944qOAorz','find'];a115_0x4fd7=function(){return _0x12a960;};return a115_0x4fd7();}function a115_0xb23a(_0x3a02af,_0x5c194a){const _0x4fd711=a115_0x4fd7();return a115_0xb23a=function(_0xb23a4c,_0x2e555a){_0xb23a4c=_0xb23a4c-0x199;let _0x516499=_0x4fd711[_0xb23a4c];return _0x516499;},a115_0xb23a(_0x3a02af,_0x5c194a);}a115_0x5b397b[a115_0x11fb24(0x1a1)]=0x0,a115_0x5b397b[a115_0x11fb24(0x1aa)]=function(){const _0x411b75=a115_0x11fb24,_0x332983={};_0x332983[_0x411b75(0x1a6)]=_0x411b75(0x1ae);const _0x19455c=_0x332983;return _0x19455c['HDrTM'];};const a115_0x41da01={};a115_0x41da01[a115_0x11fb24(0x1a1)]=0x1,a115_0x41da01[a115_0x11fb24(0x1aa)]=function(){const _0x31e64d=a115_0x11fb24,_0xcf852f={};_0xcf852f[_0x31e64d(0x19b)]=_0x31e64d(0x19e);const _0x3b5261=_0xcf852f;return _0x3b5261['VgiZe'];};const a115_0x2c1467={};a115_0x2c1467['value']=0x2,a115_0x2c1467[a115_0x11fb24(0x1aa)]=function(){const _0x9698b=a115_0x11fb24,_0x101777={};_0x101777['umVdz']=_0x9698b(0x1a3);const _0x12be4c=_0x101777;return _0x12be4c[_0x9698b(0x1a4)];};const HookState=Object[a115_0x11fb24(0x199)]({'NONE':a115_0x5b397b,'PRE':a115_0x41da01,'POST':a115_0x2c1467,'fromValue'(_0x303d24){const _0x262840=a115_0x11fb24;return Object['values'](HookState)[_0x262840(0x1a9)](_0x587772=>_0x587772[_0x262840(0x1a1)]===_0x303d24);}});module['exports']=HookState;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a116_0x52e9(_0x31044b,_0x1740b5){const _0x4bd824=a116_0x4bd8();return a116_0x52e9=function(_0x52e956,_0x52fc41){_0x52e956=_0x52e956-0x142;let _0x3ed23f=_0x4bd824[_0x52e956];return _0x3ed23f;},a116_0x52e9(_0x31044b,_0x1740b5);}const a116_0x30ab81=a116_0x52e9;(function(_0x210a7b,_0x526544){const _0x340218=a116_0x52e9,_0x2c8037=_0x210a7b();while(!![]){try{const _0x5ab59c=-parseInt(_0x340218(0x16a))/0x1*(-parseInt(_0x340218(0x154))/0x2)+-parseInt(_0x340218(0x14e))/0x3+-parseInt(_0x340218(0x150))/0x4*(-parseInt(_0x340218(0x152))/0x5)+-parseInt(_0x340218(0x169))/0x6*(-parseInt(_0x340218(0x15e))/0x7)+parseInt(_0x340218(0x166))/0x8*(parseInt(_0x340218(0x15c))/0x9)+-parseInt(_0x340218(0x155))/0xa*(-parseInt(_0x340218(0x149))/0xb)+-parseInt(_0x340218(0x16b))/0xc;if(_0x5ab59c===_0x526544)break;else _0x2c8037['push'](_0x2c8037['shift']());}catch(_0x138ff0){_0x2c8037['push'](_0x2c8037['shift']());}}}(a116_0x4bd8,0x25988));const a116_0xc47f35={};a116_0xc47f35[a116_0x30ab81(0x160)]=0x0,a116_0xc47f35[a116_0x30ab81(0x145)]=function(){const _0x1f0e40=a116_0x30ab81,_0x57d202={};_0x57d202[_0x1f0e40(0x14f)]='TestFrameworkState.NONE';const _0x495c24=_0x57d202;return _0x495c24[_0x1f0e40(0x14f)];};const a116_0x16eb4d={};a116_0x16eb4d[a116_0x30ab81(0x160)]=0x1,a116_0x16eb4d[a116_0x30ab81(0x145)]=function(){const _0x589323=a116_0x30ab81,_0x2dc154={};_0x2dc154[_0x589323(0x159)]=_0x589323(0x146);const _0x47ff36=_0x2dc154;return _0x47ff36['kVGtn'];};const a116_0x57099f={};a116_0x57099f[a116_0x30ab81(0x160)]=0x2,a116_0x57099f[a116_0x30ab81(0x145)]=function(){const _0x1c3e42=a116_0x30ab81,_0x3008c1={};_0x3008c1['IpuDx']=_0x1c3e42(0x15f);const _0x3f0489=_0x3008c1;return _0x3f0489[_0x1c3e42(0x147)];};const a116_0x193e6e={};a116_0x193e6e['value']=0x3,a116_0x193e6e[a116_0x30ab81(0x145)]=function(){const _0x1deed6=a116_0x30ab81,_0x3b2e57={};_0x3b2e57[_0x1deed6(0x14a)]=_0x1deed6(0x144);const _0xb32992=_0x3b2e57;return _0xb32992[_0x1deed6(0x14a)];};const a116_0x2d0abe={};a116_0x2d0abe['value']=0x4,a116_0x2d0abe['toString']=function(){const _0x1a26c9=a116_0x30ab81,_0x772600={};_0x772600[_0x1a26c9(0x167)]=_0x1a26c9(0x14c);const _0x2fb28b=_0x772600;return _0x2fb28b[_0x1a26c9(0x167)];};const a116_0x151610={};a116_0x151610[a116_0x30ab81(0x160)]=0x5,a116_0x151610['toString']=function(){const _0xff332f=a116_0x30ab81,_0x3adbb4={};_0x3adbb4[_0xff332f(0x165)]=_0xff332f(0x151);const _0x3740e0=_0x3adbb4;return _0x3740e0[_0xff332f(0x165)];};const a116_0x1ba535={};a116_0x1ba535[a116_0x30ab81(0x160)]=0x6,a116_0x1ba535[a116_0x30ab81(0x145)]=function(){const _0xed1763=a116_0x30ab81,_0x3e79e3={};_0x3e79e3[_0xed1763(0x168)]=_0xed1763(0x153);const _0x1415bd=_0x3e79e3;return _0x1415bd[_0xed1763(0x168)];};const a116_0x490938={};a116_0x490938[a116_0x30ab81(0x160)]=0x7,a116_0x490938[a116_0x30ab81(0x145)]=function(){const _0x380150=a116_0x30ab81,_0x319406={};_0x319406[_0x380150(0x15b)]=_0x380150(0x156);const _0x5df1fe=_0x319406;return _0x5df1fe[_0x380150(0x15b)];};function a116_0x4bd8(){const _0x21e2c5=['4rRRNIj','TestFrameworkState.BEFORE_EACH','523465NHSepR','TestFrameworkState.AFTER_EACH','404hmDfSk','43820NcZIiN','TestFrameworkState.TEST','BXXto','exports','kVGtn','umHYX','kANRW','54njlIEx','cXtXk','889nNvpxX','TestFrameworkState.LOG','value','PeYHb','TestFrameworkState.STEP','SEkZh','TestFrameworkState.AFTER_ALL','shZlw','235904gnpLBr','rZfvJ','romPA','9114gSGNmW','1209QFeUqJ','7633608fPbEtc','values','find','TestFrameworkState.SETUP_FIXTURE','toString','TestFrameworkState.BEFORE_ALL','IpuDx','freeze','671kiYPZr','XsSRY','TestFrameworkState.TEST_STEP','TestFrameworkState.INIT_TEST','TestFrameworkState.LOG_REPORT','587784SCRmll','FvlFW'];a116_0x4bd8=function(){return _0x21e2c5;};return a116_0x4bd8();}const a116_0x471a4b={};a116_0x471a4b[a116_0x30ab81(0x160)]=0x8,a116_0x471a4b[a116_0x30ab81(0x145)]=function(){const _0x18fe61=a116_0x30ab81,_0xf65aa9={};_0xf65aa9[_0x18fe61(0x15d)]=_0x18fe61(0x162);const _0x5cc5fe=_0xf65aa9;return _0x5cc5fe[_0x18fe61(0x15d)];};const a116_0x5bf678={};a116_0x5bf678['value']=0x9,a116_0x5bf678[a116_0x30ab81(0x145)]=function(){const _0x1b77d4=a116_0x30ab81,_0x5b2d92={};_0x5b2d92[_0x1b77d4(0x15a)]=_0x1b77d4(0x14d);const _0x3f0658=_0x5b2d92;return _0x3f0658[_0x1b77d4(0x15a)];};const a116_0x2fcfff={};a116_0x2fcfff[a116_0x30ab81(0x160)]=0xa,a116_0x2fcfff[a116_0x30ab81(0x145)]=function(){const _0x319ae7=a116_0x30ab81,_0x26d69b={};_0x26d69b[_0x319ae7(0x163)]=_0x319ae7(0x164);const _0x1cdff9=_0x26d69b;return _0x1cdff9['SEkZh'];};const a116_0x791ff3={};a116_0x791ff3[a116_0x30ab81(0x160)]=0xb,a116_0x791ff3[a116_0x30ab81(0x145)]=function(){const _0x3fa3c6=a116_0x30ab81,_0x4e4478={};_0x4e4478[_0x3fa3c6(0x157)]='TestFrameworkState.TEST_SCREENSHOT';const _0x277463=_0x4e4478;return _0x277463[_0x3fa3c6(0x157)];};const a116_0x74abc7={};a116_0x74abc7[a116_0x30ab81(0x160)]=0xc,a116_0x74abc7[a116_0x30ab81(0x145)]=function(){const _0xb5e968=a116_0x30ab81,_0x477b77={};_0x477b77[_0xb5e968(0x161)]=_0xb5e968(0x14b);const _0x401227=_0x477b77;return _0x401227['PeYHb'];};const TestFrameworkState=Object[a116_0x30ab81(0x148)]({'NONE':a116_0xc47f35,'BEFORE_ALL':a116_0x16eb4d,'LOG':a116_0x57099f,'SETUP_FIXTURE':a116_0x193e6e,'INIT_TEST':a116_0x2d0abe,'BEFORE_EACH':a116_0x151610,'AFTER_EACH':a116_0x1ba535,'TEST':a116_0x490938,'STEP':a116_0x471a4b,'LOG_REPORT':a116_0x5bf678,'AFTER_ALL':a116_0x2fcfff,'TEST_SCREENSHOT':a116_0x791ff3,'TEST_STEP':a116_0x74abc7,'fromValue'(_0x2a64ae){const _0x586f8c=a116_0x30ab81;return Object[_0x586f8c(0x142)](TestFrameworkState)[_0x586f8c(0x143)](_0x2350d2=>_0x2350d2[_0x586f8c(0x160)]===_0x2a64ae);}});module[a116_0x30ab81(0x158)]=TestFrameworkState;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a117_0x330b(_0x3268a3,_0x4c283c){const _0x33d6e6=a117_0x33d6();return a117_0x330b=function(_0x330b6c,_0x56f18a){_0x330b6c=_0x330b6c-0xc3;let _0x53cb60=_0x33d6e6[_0x330b6c];return _0x53cb60;},a117_0x330b(_0x3268a3,_0x4c283c);}const a117_0x5f1db4=a117_0x330b;(function(_0x2677f7,_0x881d0c){const _0x365565=a117_0x330b,_0x42de1a=_0x2677f7();while(!![]){try{const _0x32d500=parseInt(_0x365565(0xeb))/0x1+parseInt(_0x365565(0x11e))/0x2*(-parseInt(_0x365565(0x12b))/0x3)+-parseInt(_0x365565(0x140))/0x4+parseInt(_0x365565(0xfc))/0x5*(-parseInt(_0x365565(0x13e))/0x6)+parseInt(_0x365565(0xf9))/0x7+parseInt(_0x365565(0x132))/0x8*(parseInt(_0x365565(0x139))/0x9)+-parseInt(_0x365565(0x11d))/0xa*(-parseInt(_0x365565(0xd4))/0xb);if(_0x32d500===_0x881d0c)break;else _0x42de1a['push'](_0x42de1a['shift']());}catch(_0x4e3f8c){_0x42de1a['push'](_0x42de1a['shift']());}}}(a117_0x33d6,0x5557e));const os=require('os'),fs=require('fs'),path=require(a117_0x5f1db4(0x129)),util=require(a117_0x5f1db4(0xd1)),BrowserstackCLI=require(a117_0x5f1db4(0x131)),https=require(a117_0x5f1db4(0xcc)),http=require('http'),AutomationFramework=require(a117_0x5f1db4(0x135)),PlaywrightDriverModule=require('./modules/playwrightDriverModule'),TestInfo=require(a117_0x5f1db4(0xc8)),TestFrameworkConstants=require(a117_0x5f1db4(0xdd)),{createClassLogger}=require('../../helpers/classLogger.js');class uploadAttachmentsManager{static [a117_0x5f1db4(0xfd)]=createClassLogger(a117_0x5f1db4(0xce));static[a117_0x5f1db4(0xde)](_0x2f2a2a,_0x3744d2=![]){const _0x2afa6a=a117_0x5f1db4,_0x2dd983={};_0x2dd983['jjdem']=function(_0x53b064,_0x48c920){return _0x53b064/_0x48c920;},_0x2dd983[_0x2afa6a(0x104)]=function(_0x3661b0,_0x3cae85){return _0x3661b0*_0x3cae85;},_0x2dd983['bfnNL']=function(_0x8c91b6,_0x3bf394){return _0x8c91b6>_0x3bf394;},_0x2dd983['pwaCv']=_0x2afa6a(0xd9),_0x2dd983[_0x2afa6a(0x11a)]=_0x2afa6a(0x10b),_0x2dd983['TSdnl']=function(_0x45a95f,_0x46f657){return _0x45a95f===_0x46f657;},_0x2dd983[_0x2afa6a(0xe5)]=_0x2afa6a(0x10a),_0x2dd983[_0x2afa6a(0x13a)]=_0x2afa6a(0x12d),_0x2dd983[_0x2afa6a(0x100)]=_0x2afa6a(0x119),_0x2dd983[_0x2afa6a(0x127)]=_0x2afa6a(0xe3),_0x2dd983[_0x2afa6a(0x113)]=_0x2afa6a(0x105),_0x2dd983['DabcS']=_0x2afa6a(0x10e),_0x2dd983[_0x2afa6a(0x121)]=_0x2afa6a(0xe0),_0x2dd983[_0x2afa6a(0x118)]=_0x2afa6a(0x123),_0x2dd983[_0x2afa6a(0x102)]=_0x2afa6a(0x124),_0x2dd983[_0x2afa6a(0xfb)]='https://',_0x2dd983[_0x2afa6a(0x145)]='http://',_0x2dd983[_0x2afa6a(0x12e)]=_0x2afa6a(0x108),_0x2dd983['KyUXX']=_0x2afa6a(0xe2),_0x2dd983['KihAh']=_0x2afa6a(0xcf);const _0x39cdd4=_0x2dd983;this[_0x2afa6a(0xfd)][_0x2afa6a(0x111)](util[_0x2afa6a(0xe1)](_0x39cdd4[_0x2afa6a(0x127)],_0x2f2a2a));const _0x3637b4=os['homedir'](),_0x349022=path['join'](_0x3637b4,_0x39cdd4['mTpCI']);!fs['existsSync'](_0x349022)&&(this['logger']['debug'](util[_0x2afa6a(0xe1)](_0x39cdd4[_0x2afa6a(0x12f)],_0x349022)),fs[_0x2afa6a(0x13f)](_0x349022),this['logger'][_0x2afa6a(0x111)](util[_0x2afa6a(0xe1)](_0x39cdd4['laqrv'],_0x349022)));const _0x26fbf8=BrowserstackCLI[_0x2afa6a(0x103)]()['modules']['TestHubModule']?.[_0x2afa6a(0x128)]?.[_0x2afa6a(0x10d)]()?.[_0x2afa6a(0xf6)],_0x164eda=path[_0x2afa6a(0xdb)](_0x349022,_0x26fbf8);!fs['existsSync'](_0x164eda)&&(fs['mkdirSync'](_0x164eda),this[_0x2afa6a(0xfd)][_0x2afa6a(0x111)](util[_0x2afa6a(0xe1)](_0x39cdd4[_0x2afa6a(0x118)],_0x164eda)));if(_0x39cdd4[_0x2afa6a(0x112)](_0x2f2a2a['trim'](),'')){this[_0x2afa6a(0xfd)][_0x2afa6a(0x111)](util[_0x2afa6a(0xe1)](_0x39cdd4[_0x2afa6a(0x102)]));return;}if(_0x2f2a2a['startsWith'](_0x39cdd4[_0x2afa6a(0xfb)])||_0x2f2a2a['startsWith'](_0x39cdd4['ovtcF'])){const _0x11108c=_0x2f2a2a[_0x2afa6a(0x141)](_0x39cdd4[_0x2afa6a(0xfb)])?https:http,_0x32b30a=path['basename'](_0x2f2a2a),_0x1fffab=path['join'](_0x164eda,_0x32b30a),_0x24062e=fs[_0x2afa6a(0xfa)](_0x1fffab);_0x11108c['get'](_0x2f2a2a,_0x4b9685=>{const _0xad1260=_0x2afa6a;if(_0x39cdd4[_0xad1260(0x112)](_0x4b9685[_0xad1260(0xea)],0xc8))_0x4b9685[_0xad1260(0xf8)](_0x24062e),_0x24062e['on'](_0x39cdd4[_0xad1260(0xe5)],()=>{const _0x1c7137=_0xad1260;_0x24062e[_0x1c7137(0x107)]();const _0x2f0c61=fs['statSync'](_0x1fffab),_0x977e80=_0x39cdd4[_0x1c7137(0xef)](_0x2f0c61[_0x1c7137(0x134)],_0x39cdd4[_0x1c7137(0x104)](0x400,0x400));if(_0x39cdd4['bfnNL'](_0x977e80,0x64)){this[_0x1c7137(0xfd)]['debug'](util[_0x1c7137(0xe1)](_0x39cdd4[_0x1c7137(0x125)],_0x977e80[_0x1c7137(0x144)](0x2))),fs[_0x1c7137(0xed)](_0x1fffab);return;}this['logger']['debug'](util['format'](_0x39cdd4['eKpTG'],_0x1fffab)),uploadAttachmentsManager[_0x1c7137(0xf4)](_0x1fffab,_0x3744d2);});else{this[_0xad1260(0xfd)][_0xad1260(0x111)](util[_0xad1260(0xe1)](_0x39cdd4[_0xad1260(0x13a)],_0x4b9685[_0xad1260(0xea)])),_0x24062e[_0xad1260(0x107)](),fs[_0xad1260(0xed)](_0x1fffab);return;}})['on'](_0x39cdd4[_0x2afa6a(0x12e)],_0xad7f34=>{const _0x36dd50=_0x2afa6a;this[_0x36dd50(0xfd)][_0x36dd50(0x111)](util[_0x36dd50(0xe1)](_0x39cdd4[_0x36dd50(0x100)],_0xad7f34['message'])),_0x24062e[_0x36dd50(0x107)](),fs[_0x36dd50(0xed)](_0x1fffab);return;});}else{if(!fs['existsSync'](_0x2f2a2a)){this[_0x2afa6a(0xfd)][_0x2afa6a(0x111)](util['format'](_0x39cdd4[_0x2afa6a(0x143)],_0x2f2a2a));return;}const _0x12959a=fs['statSync'](_0x2f2a2a),_0x178085=_0x39cdd4['jjdem'](_0x12959a[_0x2afa6a(0x134)],_0x39cdd4[_0x2afa6a(0x104)](0x400,0x400));if(_0x39cdd4['bfnNL'](_0x178085,0x64)){this[_0x2afa6a(0xfd)][_0x2afa6a(0x111)](util[_0x2afa6a(0xe1)](_0x39cdd4[_0x2afa6a(0xfe)],_0x178085['toFixed'](0x2)));return;}const _0x4385bb=path[_0x2afa6a(0xd2)](_0x2f2a2a),_0x4fae21=path[_0x2afa6a(0xdb)](_0x164eda,_0x4385bb);fs[_0x2afa6a(0x13c)](_0x2f2a2a,_0x4fae21),uploadAttachmentsManager[_0x2afa6a(0xf4)](_0x4fae21,_0x3744d2);}}static[a117_0x5f1db4(0xf4)](_0x3561dd,_0x3fac1a){const _0x5eb85f=a117_0x5f1db4,_0x541711={'WPGeu':function(_0x5b6a28,_0x27d34b){return _0x5b6a28(_0x27d34b);},'sEWEe':_0x5eb85f(0x131),'vPrOI':_0x5eb85f(0x126),'OUHPi':function(_0x2495f2,_0x211c73){return _0x2495f2===_0x211c73;},'CgwZF':_0x5eb85f(0x114),'RqxFO':_0x5eb85f(0x101),'WKknj':'BuildLevel','IFAAn':_0x5eb85f(0x106),'rAvYf':_0x5eb85f(0x10f),'qzVmw':function(_0x1175ca,_0x292447){return _0x1175ca(_0x292447);},'GLuwK':_0x5eb85f(0xdf),'iZrRV':_0x5eb85f(0x136),'FZXJD':_0x5eb85f(0xc7),'McwCx':'Attachment\x20file\x20tracked\x20for\x20upload:\x20%s','wcVjv':'Error\x20tracking\x20file:\x20%s,\x20skipping\x20upload'};try{let _0x879f1c;const _0x333593=global['__workerDetails']?.[_0x5eb85f(0xf1)]?.['testInfo'],_0x33220c=_0x541711['WPGeu'](require,_0x541711['sEWEe']),_0x278275=_0x541711[_0x5eb85f(0x11c)](require,_0x541711[_0x5eb85f(0x130)]),_0x3c37b7=_0x33220c[_0x5eb85f(0x103)]()[_0x5eb85f(0xee)]()&&_0x541711[_0x5eb85f(0x122)](_0x278275[_0x5eb85f(0x12c)]()?.[_0x5eb85f(0x120)]?.['toLowerCase'](),_0x541711[_0x5eb85f(0x142)]);if(_0x3c37b7){_0x879f1c=global[_0x5eb85f(0xf3)];if(!_0x879f1c){const _0x70a34c=AutomationFramework[_0x5eb85f(0xca)]();_0x879f1c=AutomationFramework[_0x5eb85f(0xf0)](_0x70a34c,PlaywrightDriverModule['KEY_TEST_ID'],'');}this['logger'][_0x5eb85f(0x111)](_0x5eb85f(0xd0)+_0x879f1c);}else{if(!_0x333593){const _0x22ed66=AutomationFramework['getTrackedInstance']();_0x879f1c=AutomationFramework[_0x5eb85f(0xf0)](_0x22ed66,PlaywrightDriverModule[_0x5eb85f(0xcd)],'');}else _0x879f1c=TestInfo[_0x5eb85f(0xf2)](_0x333593,_0x333593[_0x5eb85f(0xc6)]);this[_0x5eb85f(0xfd)][_0x5eb85f(0x111)](_0x5eb85f(0xe9)+_0x879f1c);}if(!_0x879f1c){this[_0x5eb85f(0xfd)][_0x5eb85f(0x111)](_0x541711[_0x5eb85f(0x117)]);return;}const _0x5214e9={[TestFrameworkConstants['KEY_FILE_SIZE']]:fs[_0x5eb85f(0x13d)](_0x3561dd)['size'],[TestFrameworkConstants['KEY_FILE_NAME']]:path[_0x5eb85f(0xd2)](_0x3561dd),[TestFrameworkConstants['KEY_FILE_PATH']]:_0x3561dd,[TestFrameworkConstants[_0x5eb85f(0xd7)]]:_0x3fac1a?_0x541711[_0x5eb85f(0xda)]:_0x541711[_0x5eb85f(0xec)]};if(_0x3c37b7){const _0x2fca59=_0x33220c[_0x5eb85f(0x103)]()['getTestFramework']();if(!_0x2fca59){this[_0x5eb85f(0xfd)][_0x5eb85f(0x111)](_0x541711[_0x5eb85f(0xd3)]);return;}const _0x67f389=_0x541711[_0x5eb85f(0xe8)](require,_0x541711[_0x5eb85f(0xcb)]),_0x7cc4a6=_0x541711[_0x5eb85f(0x11c)](require,_0x541711[_0x5eb85f(0x137)]),_0x585e7e=_0x2fca59[_0x5eb85f(0x11b)](_0x67f389[_0x5eb85f(0xd6)],_0x7cc4a6[_0x5eb85f(0x133)]);if(!_0x585e7e){this[_0x5eb85f(0xfd)]['debug'](_0x541711[_0x5eb85f(0xf7)]);return;}const _0x21b5bd=_0x585e7e['getAllData']()[_0x5eb85f(0xdc)](_0x879f1c)||{},_0x3d0995=_0x21b5bd[TestFrameworkConstants[_0x5eb85f(0xf5)]]||{},_0x30dbc3={..._0x3d0995};_0x30dbc3[_0x3561dd]=_0x5214e9;const _0x203502=_0x30dbc3,_0x50854e={[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]:_0x203502},_0x43ae14={};_0x43ae14[_0x879f1c]=_0x50854e,_0x585e7e[_0x5eb85f(0x110)](_0x43ae14),this['logger']['debug'](_0x5eb85f(0xd8)+_0x879f1c+_0x5eb85f(0xff)+_0x3561dd);}else{const _0x2ac43f=TestInfo['getTestDetails'](_0x879f1c),_0x49d604=_0x2ac43f[TestFrameworkConstants[_0x5eb85f(0xf5)]]||{};_0x49d604[_0x3561dd]=_0x5214e9,_0x2ac43f[TestFrameworkConstants[_0x5eb85f(0xf5)]]=_0x49d604,TestInfo[_0x5eb85f(0x109)](_0x879f1c,_0x2ac43f),this[_0x5eb85f(0xfd)]['debug'](_0x5eb85f(0xd5)+_0x879f1c+_0x5eb85f(0xff)+_0x3561dd);}this[_0x5eb85f(0xfd)][_0x5eb85f(0x111)](util[_0x5eb85f(0xe1)](_0x541711[_0x5eb85f(0x10c)],_0x3561dd));}catch(_0x3118a0){this[_0x5eb85f(0xfd)][_0x5eb85f(0x111)](util[_0x5eb85f(0xe1)](_0x541711['wcVjv'],_0x3118a0[_0x5eb85f(0x116)]));}}static[a117_0x5f1db4(0x12a)](){const _0x38cdd6=a117_0x5f1db4,_0x2934e0={};_0x2934e0['LdHic']=_0x38cdd6(0x105),_0x2934e0[_0x38cdd6(0xc9)]=_0x38cdd6(0x115),_0x2934e0[_0x38cdd6(0xc3)]=_0x38cdd6(0xc4);const _0x14370a=_0x2934e0,_0x23aafa=os['homedir'](),_0x13c48d=path[_0x38cdd6(0xdb)](_0x23aafa,_0x14370a[_0x38cdd6(0x138)]);if(!fs['existsSync'](_0x13c48d))return;const _0x29bc77=BrowserstackCLI[_0x38cdd6(0x103)]()[_0x38cdd6(0x11f)][_0x38cdd6(0xe7)]?.[_0x38cdd6(0x128)]?.[_0x38cdd6(0x10d)]()?.[_0x38cdd6(0xf6)],_0xd26603=_0x29bc77?path[_0x38cdd6(0xdb)](_0x13c48d,_0x29bc77):null;if(!_0xd26603||!fs[_0x38cdd6(0x13b)](_0xd26603)){this['logger'][_0x38cdd6(0x111)](util[_0x38cdd6(0xe1)](_0x14370a['eJNML'],_0x29bc77));return;}const _0x21744b={};_0x21744b[_0x38cdd6(0xc5)]=!![],_0x21744b[_0x38cdd6(0xe4)]=!![],fs[_0x38cdd6(0xe6)](_0xd26603,_0x21744b),this['logger'][_0x38cdd6(0x111)](util['format'](_0x14370a[_0x38cdd6(0xc3)]));}}module['exports']=uploadAttachmentsManager;function a117_0x33d6(){const _0x2707fe=['eKpTG','resolveInstance','WPGeu','467800TJWOuy','316606rbJevS','modules','name','laqrv','OUHPi','Created\x20folder:\x20%s','Attachment\x20file\x20path\x20is\x20empty,\x20skipping\x20upload.','pwaCv','./cliUtils','XXNVj','testhubConfig','path','clearAttachments','6AjyiSs','getTestFrameworkDetail','Failed\x20to\x20download\x20file.\x20Status\x20code:\x20%s,\x20skipping\x20upload','DnKpV','DabcS','vPrOI','./browserstackCLI','184pdSaol','POST','size','./framework/automationFramework','./state/hookState','iZrRV','LdHic','208863mhMQwd','aDsuE','existsSync','copyFileSync','statSync','619656CcgqOR','mkdirSync','288240aUsvHd','startsWith','CgwZF','KyUXX','toFixed','ovtcF','KQodD','Cleared\x20attachment\x20folder','recursive','retry','trackFile:\x20Instance\x20not\x20available,\x20cannot\x20track\x20attachment','./TestInfo','eJNML','getTrackedInstance','GLuwK','https','KEY_TEST_ID','uploadAttachmentsManager','File\x20size\x20is\x20too\x20large\x20(%s\x20MB).\x20Skipping\x20upload.','trackFile:\x20Jest+Playwright\x20-\x20testId\x20(testIdentifier):\x20','util','basename','rAvYf','22MQQopc','trackFile:\x20Stored\x20attachment\x20in\x20TestInfo\x20file\x20for\x20testId:\x20','TEST','KEY_FILE_LEVEL','trackFile:\x20Stored\x20attachment\x20in\x20instance\x20memory\x20for\x20testId:\x20','Downloaded\x20file\x20is\x20too\x20large\x20(%s\x20MB).\x20Deleting\x20file\x20and\x20skipping\x20upload.','WKknj','join','get','./framework/constants/testFrameworkConstants','uploadAttachments','./state/testFrameworkState','Created\x20.browserstack\x20folder\x20at:\x20%s','format','Attachment\x20file\x20does\x20not\x20exist\x20at:\x20%s','Attachment\x20recevied\x20for\x20path:\x20%s','force','ILkeT','rmSync','TestHubModule','qzVmw','trackFile:\x20Cucumber+Playwright\x20-\x20testId:\x20','statusCode','107051WCZnZn','IFAAn','unlinkSync','isRunning','jjdem','getState','currentTest','getTestIdentifierFromTestInfo','__jestCurrentTestIdentifier','trackFile','KEY_TEST_ATTACHMENTS','buildHashedId','FZXJD','pipe','749952SFoCjd','createWriteStream','ubGbg','5gnnnPC','logger','KihAh',',\x20filepath:\x20','ugypA','trackFile:\x20No\x20testId\x20available,\x20cannot\x20track\x20attachment','EiPZN','getInstance','UXnTx','.browserstack','TestLevel','close','error','setTestDetails','finish','File\x20downloaded\x20to:\x20%s','McwCx','toObject','.browserstack\x20folder\x20not\x20found\x20at:\x20%s','trackFile:\x20TestFramework\x20not\x20available,\x20cannot\x20track\x20attachment','addMultipleEntries','debug','TSdnl','mTpCI','jest','No\x20attachment\x20folder\x20found\x20for\x20testhubID:\x20%s','message','RqxFO','JVlkS','Error\x20downloading\x20file:\x20%s,\x20skipping\x20upload'];a117_0x33d6=function(){return _0x2707fe;};return a117_0x33d6();}
|
|
1
|
+
const a117_0x2435e9=a117_0x2f29;function a117_0x2275(){const _0x1da75f=['util','Attachment\x20file\x20path\x20is\x20empty,\x20skipping\x20upload.','resolveInstance','MAwJC','toObject','__jestCurrentTestIdentifier','TestHubModule','jQOWY','getAllData','uNnPz','8TvpjkJ','Cleared\x20attachment\x20folder','addMultipleEntries','./framework/constants/testFrameworkConstants','Vhgoa','close','riHqL','Error\x20tracking\x20file:\x20%s,\x20skipping\x20upload','EaMIe','toFixed','POST','KEY_FILE_PATH','Created\x20.browserstack\x20folder\x20at:\x20%s','13419dtZLjb','Downloaded\x20file\x20is\x20too\x20large\x20(%s\x20MB).\x20Deleting\x20file\x20and\x20skipping\x20upload.','trackFile:\x20TestFramework\x20not\x20available,\x20cannot\x20track\x20attachment','getTestDetails','jJbgN','KEY_FILE_LEVEL','12590248eUlKei','trackFile','trackFile:\x20Cucumber+Playwright\x20-\x20testId:\x20','qgfLc','2580273ICubqS','join','./state/testFrameworkState','unlinkSync','trackFile:\x20Instance\x20not\x20available,\x20cannot\x20track\x20attachment','path','GXOfi','exports','oFnaV','3777060rMYiFw','get','sfwOq','statSync','xqBFR','ookYy','./TestInfo','4536RjLwxJ','getInstance','xwAhl','homedir','ecfuF','https://',',\x20filepath:\x20','bqJrA','uploadAttachmentsManager','JugHM','2510lNwxzS','retry','File\x20downloaded\x20to:\x20%s','trackFile:\x20Jest+Playwright\x20-\x20testId\x20(testIdentifier):\x20','Error\x20downloading\x20file:\x20%s,\x20skipping\x20upload','testhubConfig','KEY_TEST_ID','hlghW','recursive','QyqEa','gGgEM','TEST','message','mkdirSync','No\x20attachment\x20folder\x20found\x20for\x20testhubID:\x20%s','Failed\x20to\x20download\x20file.\x20Status\x20code:\x20%s,\x20skipping\x20upload','.browserstack','copyFileSync','./cliUtils','2ioDTsQ','basename','createWriteStream','BuildLevel','AcbpE','http://','name','pipe','qksjF','uploadAttachments','debug','yZIAw','601255buHJhW','getTestIdentifierFromTestInfo','logger','modules','HAWSs','setTestDetails','startsWith','LEgjk','buildHashedId','statusCode','size','xRfWj','gpHBx','force','getState','aJonW','format','Created\x20folder:\x20%s','clearAttachments','1582mZQnOt','error','trackFile:\x20No\x20testId\x20available,\x20cannot\x20track\x20attachment','KEY_FILE_NAME','testInfo','getTestFramework','JDWii','rmSync','Attachment\x20file\x20tracked\x20for\x20upload:\x20%s','eFVPd','jest','KEY_FILE_SIZE','suBCH','585910TgVIsm','SlTvc','KEY_TEST_ATTACHMENTS','JcMNI','http','../../helpers/classLogger.js','IyxJQ','toLowerCase','zEpvr','existsSync'];a117_0x2275=function(){return _0x1da75f;};return a117_0x2275();}(function(_0x49fe06,_0x684769){const _0x4e840a=a117_0x2f29,_0x5a1289=_0x49fe06();while(!![]){try{const _0x23d117=-parseInt(_0x4e840a(0x1cf))/0x1+parseInt(_0x4e840a(0x227))/0x2*(parseInt(_0x4e840a(0x1fa))/0x3)+parseInt(_0x4e840a(0x1e3))/0x4*(parseInt(_0x4e840a(0x233))/0x5)+-parseInt(_0x4e840a(0x203))/0x6+parseInt(_0x4e840a(0x1c2))/0x7*(-parseInt(_0x4e840a(0x20a))/0x8)+parseInt(_0x4e840a(0x1f0))/0x9*(-parseInt(_0x4e840a(0x214))/0xa)+parseInt(_0x4e840a(0x1f6))/0xb;if(_0x23d117===_0x684769)break;else _0x5a1289['push'](_0x5a1289['shift']());}catch(_0x1e2037){_0x5a1289['push'](_0x5a1289['shift']());}}}(a117_0x2275,0x80bfe));const os=require('os'),fs=require('fs'),path=require(a117_0x2435e9(0x1ff)),util=require(a117_0x2435e9(0x1d9)),BrowserstackCLI=require('./browserstackCLI'),https=require('https'),http=require(a117_0x2435e9(0x1d3)),AutomationFramework=require('./framework/automationFramework'),PlaywrightDriverModule=require('./modules/playwrightDriverModule'),TestInfo=require(a117_0x2435e9(0x209)),TestFrameworkConstants=require(a117_0x2435e9(0x1e6)),{createClassLogger}=require(a117_0x2435e9(0x1d4));class uploadAttachmentsManager{static [a117_0x2435e9(0x1b1)]=createClassLogger(a117_0x2435e9(0x212));static[a117_0x2435e9(0x230)](_0x6b5ccc,_0x3013ec=![]){const _0x43bfd8=a117_0x2435e9,_0x17bccb={};_0x17bccb[_0x43bfd8(0x1e9)]=function(_0x5c3bc3,_0x37fb8d){return _0x5c3bc3/_0x37fb8d;},_0x17bccb[_0x43bfd8(0x22b)]=function(_0xdc37c6,_0x134fc0){return _0xdc37c6*_0x134fc0;},_0x17bccb[_0x43bfd8(0x205)]=function(_0x37a0f9,_0x4e0f9f){return _0x37a0f9>_0x4e0f9f;},_0x17bccb[_0x43bfd8(0x1cb)]=_0x43bfd8(0x1f1),_0x17bccb[_0x43bfd8(0x1b6)]=_0x43bfd8(0x216),_0x17bccb[_0x43bfd8(0x208)]=function(_0x1ef80e,_0x64d2df){return _0x1ef80e===_0x64d2df;},_0x17bccb['ecfuF']='finish',_0x17bccb[_0x43bfd8(0x1f4)]=_0x43bfd8(0x223),_0x17bccb[_0x43bfd8(0x1eb)]=_0x43bfd8(0x218),_0x17bccb[_0x43bfd8(0x213)]='Attachment\x20recevied\x20for\x20path:\x20%s',_0x17bccb[_0x43bfd8(0x1e0)]=_0x43bfd8(0x224),_0x17bccb[_0x43bfd8(0x1b3)]='.browserstack\x20folder\x20not\x20found\x20at:\x20%s',_0x17bccb['CTcAH']=_0x43bfd8(0x1ef),_0x17bccb[_0x43bfd8(0x202)]=_0x43bfd8(0x1c0),_0x17bccb['qgfLc']=function(_0x36dcfd,_0x429756){return _0x36dcfd===_0x429756;},_0x17bccb[_0x43bfd8(0x21b)]=_0x43bfd8(0x1da),_0x17bccb[_0x43bfd8(0x21d)]=_0x43bfd8(0x20f),_0x17bccb['GXOfi']=_0x43bfd8(0x22c),_0x17bccb[_0x43bfd8(0x1be)]=_0x43bfd8(0x1c3),_0x17bccb[_0x43bfd8(0x232)]='Attachment\x20file\x20does\x20not\x20exist\x20at:\x20%s',_0x17bccb[_0x43bfd8(0x20c)]=function(_0x4bc8d8,_0x373b69){return _0x4bc8d8*_0x373b69;},_0x17bccb[_0x43bfd8(0x1ce)]='File\x20size\x20is\x20too\x20large\x20(%s\x20MB).\x20Skipping\x20upload.';const _0x5e0260=_0x17bccb;this[_0x43bfd8(0x1b1)]['debug'](util[_0x43bfd8(0x1bf)](_0x5e0260[_0x43bfd8(0x213)],_0x6b5ccc));const _0x46d25d=os['homedir'](),_0xb84882=path[_0x43bfd8(0x1fb)](_0x46d25d,_0x5e0260[_0x43bfd8(0x1e0)]);!fs[_0x43bfd8(0x1d8)](_0xb84882)&&(this[_0x43bfd8(0x1b1)][_0x43bfd8(0x231)](util['format'](_0x5e0260[_0x43bfd8(0x1b3)],_0xb84882)),fs[_0x43bfd8(0x221)](_0xb84882),this[_0x43bfd8(0x1b1)][_0x43bfd8(0x231)](util['format'](_0x5e0260['CTcAH'],_0xb84882)));const _0x469cfc=BrowserstackCLI[_0x43bfd8(0x20b)]()[_0x43bfd8(0x1b2)][_0x43bfd8(0x1df)]?.['testhubConfig']?.[_0x43bfd8(0x1dd)]()?.[_0x43bfd8(0x1b7)],_0x4ce2fd=path[_0x43bfd8(0x1fb)](_0xb84882,_0x469cfc);!fs[_0x43bfd8(0x1d8)](_0x4ce2fd)&&(fs[_0x43bfd8(0x221)](_0x4ce2fd),this[_0x43bfd8(0x1b1)][_0x43bfd8(0x231)](util[_0x43bfd8(0x1bf)](_0x5e0260[_0x43bfd8(0x202)],_0x4ce2fd)));if(_0x5e0260[_0x43bfd8(0x1f9)](_0x6b5ccc['trim'](),'')){this['logger'][_0x43bfd8(0x231)](util['format'](_0x5e0260[_0x43bfd8(0x21b)]));return;}if(_0x6b5ccc[_0x43bfd8(0x1b5)](_0x5e0260[_0x43bfd8(0x21d)])||_0x6b5ccc[_0x43bfd8(0x1b5)](_0x5e0260[_0x43bfd8(0x200)])){const _0x3dd4f1=_0x6b5ccc['startsWith'](_0x5e0260['QyqEa'])?https:http,_0xcadb4f=path[_0x43bfd8(0x228)](_0x6b5ccc),_0x455b4e=path[_0x43bfd8(0x1fb)](_0x4ce2fd,_0xcadb4f),_0x27f6b2=fs[_0x43bfd8(0x229)](_0x455b4e);_0x3dd4f1['get'](_0x6b5ccc,_0x5a78b6=>{const _0x4c1ac1=_0x43bfd8;if(_0x5e0260['ookYy'](_0x5a78b6[_0x4c1ac1(0x1b8)],0xc8))_0x5a78b6[_0x4c1ac1(0x22e)](_0x27f6b2),_0x27f6b2['on'](_0x5e0260[_0x4c1ac1(0x20e)],()=>{const _0x342ded=_0x4c1ac1;_0x27f6b2[_0x342ded(0x1e8)]();const _0x3323be=fs['statSync'](_0x455b4e),_0x4072ce=_0x5e0260[_0x342ded(0x1e9)](_0x3323be[_0x342ded(0x1b9)],_0x5e0260[_0x342ded(0x22b)](0x400,0x400));if(_0x5e0260[_0x342ded(0x205)](_0x4072ce,0x64)){this['logger'][_0x342ded(0x231)](util[_0x342ded(0x1bf)](_0x5e0260[_0x342ded(0x1cb)],_0x4072ce[_0x342ded(0x1ec)](0x2))),fs['unlinkSync'](_0x455b4e);return;}this[_0x342ded(0x1b1)][_0x342ded(0x231)](util['format'](_0x5e0260[_0x342ded(0x1b6)],_0x455b4e)),uploadAttachmentsManager[_0x342ded(0x1f7)](_0x455b4e,_0x3013ec);});else{this[_0x4c1ac1(0x1b1)][_0x4c1ac1(0x231)](util[_0x4c1ac1(0x1bf)](_0x5e0260[_0x4c1ac1(0x1f4)],_0x5a78b6[_0x4c1ac1(0x1b8)])),_0x27f6b2['close'](),fs[_0x4c1ac1(0x1fd)](_0x455b4e);return;}})['on'](_0x5e0260[_0x43bfd8(0x1be)],_0x10745c=>{const _0x1e6925=_0x43bfd8;this['logger']['debug'](util['format'](_0x5e0260['EaMIe'],_0x10745c[_0x1e6925(0x220)])),_0x27f6b2[_0x1e6925(0x1e8)](),fs[_0x1e6925(0x1fd)](_0x455b4e);return;});}else{if(!fs[_0x43bfd8(0x1d8)](_0x6b5ccc)){this[_0x43bfd8(0x1b1)]['debug'](util[_0x43bfd8(0x1bf)](_0x5e0260[_0x43bfd8(0x232)],_0x6b5ccc));return;}const _0x5dc43c=fs[_0x43bfd8(0x206)](_0x6b5ccc),_0x472fe6=_0x5e0260['riHqL'](_0x5dc43c[_0x43bfd8(0x1b9)],_0x5e0260['xwAhl'](0x400,0x400));if(_0x5e0260[_0x43bfd8(0x205)](_0x472fe6,0x64)){this[_0x43bfd8(0x1b1)][_0x43bfd8(0x231)](util[_0x43bfd8(0x1bf)](_0x5e0260[_0x43bfd8(0x1ce)],_0x472fe6['toFixed'](0x2)));return;}const _0x5098cc=path['basename'](_0x6b5ccc),_0x2eb066=path[_0x43bfd8(0x1fb)](_0x4ce2fd,_0x5098cc);fs[_0x43bfd8(0x225)](_0x6b5ccc,_0x2eb066),uploadAttachmentsManager[_0x43bfd8(0x1f7)](_0x2eb066,_0x3013ec);}}static[a117_0x2435e9(0x1f7)](_0x1088c3,_0x190092){const _0x456c3a=a117_0x2435e9,_0x11229b={'JcMNI':function(_0x46c362,_0xd7cd24){return _0x46c362(_0xd7cd24);},'SlTvc':'./browserstackCLI','gGgEM':function(_0x4736f9,_0x39e50b){return _0x4736f9(_0x39e50b);},'gsSnS':_0x456c3a(0x226),'dqYPk':function(_0x147274,_0x40a343){return _0x147274===_0x40a343;},'JDWii':_0x456c3a(0x1cc),'Wuuuq':_0x456c3a(0x1c4),'zEpvr':_0x456c3a(0x22a),'qksjF':'TestLevel','IyxJQ':_0x456c3a(0x1f2),'xRfWj':function(_0x4c89eb,_0x4c0b3f){return _0x4c89eb(_0x4c0b3f);},'RcBwR':_0x456c3a(0x1fc),'RBbwV':function(_0x10c853,_0x171f29){return _0x10c853(_0x171f29);},'gpHBx':'./state/hookState','Vhgoa':_0x456c3a(0x1fe),'xqBFR':_0x456c3a(0x1ca),'bqJrA':_0x456c3a(0x1ea)};try{let _0x2f5171;const _0x2cf693=global['__workerDetails']?.['currentTest']?.[_0x456c3a(0x1c6)],_0x4f9c08=_0x11229b[_0x456c3a(0x1d2)](require,_0x11229b[_0x456c3a(0x1d0)]),_0x138e52=_0x11229b[_0x456c3a(0x21e)](require,_0x11229b['gsSnS']),_0x1cc172=_0x4f9c08[_0x456c3a(0x20b)]()['isRunning']()&&_0x11229b['dqYPk'](_0x138e52['getTestFrameworkDetail']()?.[_0x456c3a(0x22d)]?.[_0x456c3a(0x1d6)](),_0x11229b[_0x456c3a(0x1c8)]);if(_0x1cc172){_0x2f5171=global[_0x456c3a(0x1de)];if(!_0x2f5171){const _0x3412a8=AutomationFramework['getTrackedInstance']();_0x2f5171=AutomationFramework[_0x456c3a(0x1bd)](_0x3412a8,PlaywrightDriverModule[_0x456c3a(0x21a)],'');}this[_0x456c3a(0x1b1)][_0x456c3a(0x231)](_0x456c3a(0x217)+_0x2f5171);}else{if(!_0x2cf693){const _0x1b3133=AutomationFramework['getTrackedInstance']();_0x2f5171=AutomationFramework[_0x456c3a(0x1bd)](_0x1b3133,PlaywrightDriverModule['KEY_TEST_ID'],'');}else _0x2f5171=TestInfo[_0x456c3a(0x234)](_0x2cf693,_0x2cf693[_0x456c3a(0x215)]);this[_0x456c3a(0x1b1)][_0x456c3a(0x231)](_0x456c3a(0x1f8)+_0x2f5171);}if(!_0x2f5171){this[_0x456c3a(0x1b1)][_0x456c3a(0x231)](_0x11229b['Wuuuq']);return;}const _0x213712={[TestFrameworkConstants[_0x456c3a(0x1cd)]]:fs[_0x456c3a(0x206)](_0x1088c3)[_0x456c3a(0x1b9)],[TestFrameworkConstants[_0x456c3a(0x1c5)]]:path[_0x456c3a(0x228)](_0x1088c3),[TestFrameworkConstants[_0x456c3a(0x1ee)]]:_0x1088c3,[TestFrameworkConstants[_0x456c3a(0x1f5)]]:_0x190092?_0x11229b[_0x456c3a(0x1d7)]:_0x11229b[_0x456c3a(0x22f)]};if(_0x1cc172){const _0x420bc5=_0x4f9c08['getInstance']()[_0x456c3a(0x1c7)]();if(!_0x420bc5){this[_0x456c3a(0x1b1)][_0x456c3a(0x231)](_0x11229b[_0x456c3a(0x1d5)]);return;}const _0x12440f=_0x11229b[_0x456c3a(0x1ba)](require,_0x11229b['RcBwR']),_0x3aeb50=_0x11229b['RBbwV'](require,_0x11229b[_0x456c3a(0x1bb)]),_0x20f7c9=_0x420bc5[_0x456c3a(0x1db)](_0x12440f[_0x456c3a(0x21f)],_0x3aeb50[_0x456c3a(0x1ed)]);if(!_0x20f7c9){this[_0x456c3a(0x1b1)][_0x456c3a(0x231)](_0x11229b[_0x456c3a(0x1e7)]);return;}const _0x544cb7=_0x20f7c9[_0x456c3a(0x1e1)]()[_0x456c3a(0x204)](_0x2f5171)||{},_0x30ce8d=_0x544cb7[TestFrameworkConstants[_0x456c3a(0x1d1)]]||{},_0x1d2540={..._0x30ce8d};_0x1d2540[_0x1088c3]=_0x213712;const _0x2a0e76=_0x1d2540,_0x1cee79={[TestFrameworkConstants[_0x456c3a(0x1d1)]]:_0x2a0e76},_0x4101de={};_0x4101de[_0x2f5171]=_0x1cee79,_0x20f7c9[_0x456c3a(0x1e5)](_0x4101de),this[_0x456c3a(0x1b1)][_0x456c3a(0x231)]('trackFile:\x20Stored\x20attachment\x20in\x20instance\x20memory\x20for\x20testId:\x20'+_0x2f5171+_0x456c3a(0x210)+_0x1088c3);}else{const _0x3267aa=TestInfo[_0x456c3a(0x1f3)](_0x2f5171),_0x2256a8=_0x3267aa[TestFrameworkConstants[_0x456c3a(0x1d1)]]||{};_0x2256a8[_0x1088c3]=_0x213712,_0x3267aa[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]=_0x2256a8,TestInfo[_0x456c3a(0x1b4)](_0x2f5171,_0x3267aa),this[_0x456c3a(0x1b1)][_0x456c3a(0x231)]('trackFile:\x20Stored\x20attachment\x20in\x20TestInfo\x20file\x20for\x20testId:\x20'+_0x2f5171+_0x456c3a(0x210)+_0x1088c3);}this[_0x456c3a(0x1b1)][_0x456c3a(0x231)](util[_0x456c3a(0x1bf)](_0x11229b[_0x456c3a(0x207)],_0x1088c3));}catch(_0x238c93){this[_0x456c3a(0x1b1)][_0x456c3a(0x231)](util[_0x456c3a(0x1bf)](_0x11229b[_0x456c3a(0x211)],_0x238c93['message']));}}static[a117_0x2435e9(0x1c1)](){const _0x2e6adf=a117_0x2435e9,_0xb5f8bf={};_0xb5f8bf[_0x2e6adf(0x1e2)]=_0x2e6adf(0x224),_0xb5f8bf[_0x2e6adf(0x1dc)]=_0x2e6adf(0x222),_0xb5f8bf['AHksj']=_0x2e6adf(0x1e4);const _0x1fe952=_0xb5f8bf,_0x409f0a=os[_0x2e6adf(0x20d)](),_0x2f7545=path[_0x2e6adf(0x1fb)](_0x409f0a,_0x1fe952[_0x2e6adf(0x1e2)]);if(!fs[_0x2e6adf(0x1d8)](_0x2f7545))return;const _0xbc4c54=BrowserstackCLI[_0x2e6adf(0x20b)]()[_0x2e6adf(0x1b2)][_0x2e6adf(0x1df)]?.[_0x2e6adf(0x219)]?.['toObject']()?.[_0x2e6adf(0x1b7)],_0x4e1463=_0xbc4c54?path[_0x2e6adf(0x1fb)](_0x2f7545,_0xbc4c54):null;if(!_0x4e1463||!fs[_0x2e6adf(0x1d8)](_0x4e1463)){this[_0x2e6adf(0x1b1)][_0x2e6adf(0x231)](util['format'](_0x1fe952[_0x2e6adf(0x1dc)],_0xbc4c54));return;}const _0x156c43={};_0x156c43[_0x2e6adf(0x21c)]=!![],_0x156c43[_0x2e6adf(0x1bc)]=!![],fs[_0x2e6adf(0x1c9)](_0x4e1463,_0x156c43),this[_0x2e6adf(0x1b1)][_0x2e6adf(0x231)](util[_0x2e6adf(0x1bf)](_0x1fe952['AHksj']));}}function a117_0x2f29(_0x47983d,_0x5abb97){const _0x227538=a117_0x2275();return a117_0x2f29=function(_0x2f293e,_0x11f910){_0x2f293e=_0x2f293e-0x1b1;let _0x17beb9=_0x227538[_0x2f293e];return _0x17beb9;},a117_0x2f29(_0x47983d,_0x5abb97);}module[a117_0x2435e9(0x201)]=uploadAttachmentsManager;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a118_0x1b04(_0x5e18f0,_0x25dd5a){const _0x58e365=a118_0x58e3();return a118_0x1b04=function(_0x1b04cb,_0x6a90b6){_0x1b04cb=_0x1b04cb-0x12b;let _0x529c4a=_0x58e365[_0x1b04cb];return _0x529c4a;},a118_0x1b04(_0x5e18f0,_0x25dd5a);}const a118_0x20059f=a118_0x1b04;(function(_0x239bdd,_0x3174e9){const _0x22eedf=a118_0x1b04,_0x5ec63a=_0x239bdd();while(!![]){try{const _0x5a71ac=-parseInt(_0x22eedf(0x15c))/0x1+-parseInt(_0x22eedf(0x160))/0x2+parseInt(_0x22eedf(0x186))/0x3+-parseInt(_0x22eedf(0x131))/0x4*(parseInt(_0x22eedf(0x1a9))/0x5)+parseInt(_0x22eedf(0x1a4))/0x6*(parseInt(_0x22eedf(0x164))/0x7)+-parseInt(_0x22eedf(0x16d))/0x8*(parseInt(_0x22eedf(0x184))/0x9)+parseInt(_0x22eedf(0x14a))/0xa*(parseInt(_0x22eedf(0x1b4))/0xb);if(_0x5a71ac===_0x3174e9)break;else _0x5ec63a['push'](_0x5ec63a['shift']());}catch(_0x2f4b01){_0x5ec63a['push'](_0x5ec63a['shift']());}}}(a118_0x58e3,0xdbfaa));const path=require(a118_0x20059f(0x18d)),util=require(a118_0x20059f(0x18a)),{getGitMetaData,isUndefined,nestedKeyValue}=require(a118_0x20059f(0x153)),logger=require(a118_0x20059f(0x132))[a118_0x20059f(0x19c)],{o11yClassErrorHandler}=require(a118_0x20059f(0x173)),TestInfo=require('../TestInfo.js'),hooksMap={};function a118_0x58e3(){const _0x461383=['../../../helpers/logger.js','nmjAy','HitGl','LbKRw','root','getCucumberHookType','join','ixfQL','HookRunStarted','Bznfg','format','uuid','nvyRb','test','RHZwl','AiWnq','HGdWj','uri','forEach','debug','message','Exception\x20in\x20createHookData:\x20','_gitConfigured','xZpIQ','10tWuitp','feature','duration_in_ms','failed','finishedAt','includes','name','getTestUUID','pNFhi','../../../helpers/helper.js','timestamp','uJmQR','noyRa','QMDXl','tags','flatMap','testCaseFinished','Exception\x20in\x20getHookRunEventData:\x20','539634zCpQqi','AssertionError','sendHook','failure_type','1553580MHXgsz','rule','XNRoD','failure_data','368879kiFlcV','every','BLTrB','children','backtrace','sFxno','sendTestRunEventForCucumber','TLLJZ','HcjyT','384IrzRgA','SkbmF','getHookRunEventData','spXXG','SKIPPED','failure','../../../helpers/test-observability/error-handler.js','Iqhel','browserstack-node-agent/src/bin/cucumber-js/test.setup.js','hookId','shhDo','AZhIH','failureData','find','gYoUn','XKECO','MwZvk','exception','jGMfq','length','pickleStepId','cucumber','MzjGB','83493KNCVTX','rbnEn','2380170KJCXgm','tableBody','QlSZC','match','util','finished_at','relative','path','getScenarioExamples','pending','_gitConfigPath','qdyYu','cells','getHookResult','tagExpression','bpVvM','failure_reason','DbNLC','javascript','QwCyP','configureGit','strip-ansi','winstonLogger','createTestFrameworkData','status','HookRunFinished','passed','map','failureType','split','198nSheRu','exports','FyJwW','BEFORE_EACH','hooks','3563160PRRLtp','push','value','nanos','Ertog','HRFwk','skipped','bKVfy','FAILED','testStepResult','result','9272945dLFoXp','UnhandledError','dppLD','toLowerCase','examples','CQrKW','ZlWFO','astNodeIds','scenario','toISOString','4GjJovE'];a118_0x58e3=function(){return _0x461383;};return a118_0x58e3();}class CucumberUtils{constructor(){this['_gitConfigured']=![],this['_gitConfigPath']=null;}async[a118_0x20059f(0x19d)](_0x309f75,_0xe9f08b,_0x58a2ef,_0x11b8aa,_0x5d3b12,_0x219bcc){const _0x172d5a=a118_0x20059f,_0x5db9a7={'nmjAy':function(_0x59a793,_0x8ec087){return _0x59a793===_0x8ec087;},'QMDXl':_0x172d5a(0x1b1),'EyntI':_0x172d5a(0x14d),'AiWnq':_0x172d5a(0x171),'uJmQR':_0x172d5a(0x1af),'aYaIj':function(_0x1abff3,_0x4cc130){return _0x1abff3||_0x4cc130;},'shhDo':function(_0x3b4d96,_0x31d34e){return _0x3b4d96+_0x31d34e;},'viFdE':_0x172d5a(0x13f),'bKVfy':_0x172d5a(0x198),'MzjGB':_0x172d5a(0x182),'TLLJZ':_0x172d5a(0x18f),'SkbmF':_0x172d5a(0x1a0),'yyGUQ':function(_0x53b4b1,_0x227ace){return _0x53b4b1!==_0x227ace;},'xZpIQ':function(_0x46f044,_0x327102){return _0x46f044/_0x327102;},'pNFhi':function(_0x4d9427,_0xd7b9b7){return _0x4d9427===_0xd7b9b7;},'FyJwW':_0x172d5a(0x19b),'HitGl':function(_0x1acffe,_0x2f535d){return _0x1acffe(_0x2f535d);},'sFxno':'unknown','mYjzJ':_0x172d5a(0x15d),'yjnCf':_0x172d5a(0x1b5)},{feature:_0x514f34,scenario:_0x45efc0,steps:_0xd46352,uuid:_0x6f9c6b,startedAt:_0x5ac986,finishedAt:_0x2e8c70}=_0x5db9a7['aYaIj'](_0x309f75,{}),_0x2cbf0c=this[_0x172d5a(0x18e)](_0x11b8aa,_0xe9f08b);await this[_0x172d5a(0x19a)]();const _0x210e52=_0x2cbf0c?_0x5db9a7[_0x172d5a(0x177)](_0x5db9a7[_0x172d5a(0x177)](_0x5db9a7['shhDo'](_0xe9f08b[_0x172d5a(0x150)],'\x20('),_0x2cbf0c[_0x172d5a(0x138)](',\x20')),')'):_0xe9f08b[_0x172d5a(0x150)],_0x24eb87={'id':_0x5d3b12,'uuid':_0x5d3b12,'startedAt':_0x5ac986,'finishedAt':_0x2e8c70,'type':_0x5db9a7['viFdE'],'body':{'lang':_0x5db9a7[_0x172d5a(0x1b0)],'code':null},'name':_0x210e52,'scopes':[_0x514f34&&_0x514f34['name']?_0x514f34[_0x172d5a(0x150)]:''],'tags':_0xe9f08b[_0x172d5a(0x158)]?_0xe9f08b['tags'][_0x172d5a(0x1a1)](({name:_0x3195a})=>_0x3195a):[],'file_name':_0xe9f08b[_0x172d5a(0x143)],'location':_0xe9f08b[_0x172d5a(0x143)],'vc_filepath':this[_0x172d5a(0x190)]&&_0xe9f08b[_0x172d5a(0x143)]?path[_0x172d5a(0x18c)](this['_gitConfigPath'],_0xe9f08b['uri']):null,'framework':_0x5db9a7[_0x172d5a(0x183)],'result':_0x5db9a7[_0x172d5a(0x16b)],'meta':{'feature':_0x514f34,'scenario':_0x45efc0,'steps':_0xd46352,'examples':_0x2cbf0c},'customRerunParam':{'rerun_name':_0x210e52}};if(_0x58a2ef[_0x172d5a(0x15a)]&&_0xd46352){const _0x510801=_0x58a2ef['testCaseFinished'];let _0x46a945=_0x5db9a7[_0x172d5a(0x16e)];_0xd46352[_0x172d5a(0x165)](_0x46b90f=>{const _0x3c88f8=_0x172d5a;if(_0x5db9a7[_0x3c88f8(0x133)](_0x46b90f[_0x3c88f8(0x1b3)],_0x5db9a7[_0x3c88f8(0x157)]))return _0x46a945=_0x5db9a7['EyntI'],_0x510801['failure']=_0x46b90f[_0x3c88f8(0x172)],_0x510801[_0x3c88f8(0x1a2)]=_0x46b90f[_0x3c88f8(0x1a2)],![];else{if(_0x5db9a7['nmjAy'](_0x46b90f[_0x3c88f8(0x1b3)],_0x5db9a7[_0x3c88f8(0x141)]))return _0x46a945=_0x5db9a7[_0x3c88f8(0x155)],![];}return!![];}),_0x24eb87[_0x172d5a(0x14e)]=new Date()[_0x172d5a(0x130)](),_0x24eb87[_0x172d5a(0x1b3)]=_0x46a945;_0x510801[_0x172d5a(0x154)]&&_0x5db9a7['yyGUQ'](_0x510801[_0x172d5a(0x154)][_0x172d5a(0x1ac)],undefined)?_0x24eb87[_0x172d5a(0x14c)]=_0x5db9a7[_0x172d5a(0x149)](_0x510801[_0x172d5a(0x154)][_0x172d5a(0x1ac)],0xf4240):_0x24eb87[_0x172d5a(0x14c)]=undefined;if(_0x5db9a7[_0x172d5a(0x152)](_0x46a945,_0x5db9a7['EyntI'])){const {default:_0x70c288}=await import(_0x5db9a7[_0x172d5a(0x1a6)]);_0x24eb87[_0x172d5a(0x172)]=[{'backtrace':[_0x510801['failure']?_0x5db9a7[_0x172d5a(0x134)](_0x70c288,_0x510801[_0x172d5a(0x172)]):_0x5db9a7[_0x172d5a(0x169)]]}],_0x24eb87[_0x172d5a(0x196)]=_0x510801['failure']?_0x5db9a7['HitGl'](_0x70c288,_0x510801['failure']):_0x510801[_0x172d5a(0x146)],_0x510801[_0x172d5a(0x1a2)]&&(_0x24eb87[_0x172d5a(0x15f)]=_0x510801[_0x172d5a(0x1a2)][_0x172d5a(0x189)](/AssertError/)?_0x5db9a7['mYjzJ']:_0x5db9a7['yjnCf']);}}return _0x24eb87;}[a118_0x20059f(0x16f)](_0x40649a,_0x2dd1da,_0x21666e,_0x29a1a0,_0x3a4ea7,_0x3d7bec){const _0x431459=a118_0x20059f,_0x17d8e6={'AZhIH':function(_0x4ad9d2,_0x467c53){return _0x4ad9d2===_0x467c53;},'HGdWj':_0x431459(0x19f),'Ertog':function(_0xdfd817,_0xe98534,_0x92c94b){return _0xdfd817(_0xe98534,_0x92c94b);},'zLIXj':'sourceReference','qdyYu':'uri','jMHsL':_0x431459(0x18f),'Yqenx':'hook','OgKiW':_0x431459(0x198),'gYoUn':function(_0x3169e8,_0x1ff111,_0x43a98d){return _0x3169e8(_0x1ff111,_0x43a98d);},'nvyRb':_0x431459(0x14b),'ZlWFO':'name','noyRa':function(_0x31cec9,_0x1703ea,_0x35dfce){return _0x31cec9(_0x1703ea,_0x35dfce);},'jGMfq':_0x431459(0x182)};try{if(_0x17d8e6[_0x431459(0x178)](_0x21666e,_0x17d8e6[_0x431459(0x142)])){const _0x4f6763=new Date()['toISOString'](),_0x237766=hooksMap[_0x2dd1da];if(!_0x237766)return;const _0x3c8a59=_0x237766[_0x431459(0x17a)](_0x2d0c01=>_0x2d0c01[_0x431459(0x13d)]===_0x29a1a0['id']);if(!_0x3c8a59)return;const _0x21330f=this['getHookResult'](_0x40649a,_0x2dd1da);_0x3c8a59[_0x431459(0x1b3)]=_0x21330f[_0x431459(0x19e)],_0x3c8a59[_0x431459(0x18b)]=_0x4f6763,_0x3c8a59[_0x431459(0x15f)]=_0x21330f['failureType'];const _0x41c1eb={};return _0x41c1eb[_0x431459(0x168)]=_0x21330f[_0x431459(0x179)],_0x3c8a59[_0x431459(0x163)]=[_0x41c1eb],_0x3c8a59;}const _0x1c22ad=TestInfo[_0x431459(0x151)](_0x2dd1da),_0x1b01b8=_0x40649a[_0x431459(0x1a8)][_0x431459(0x17a)](_0x146cb0=>_0x146cb0['id']===_0x29a1a0[_0x431459(0x176)]),_0x14ef93=_0x17d8e6[_0x431459(0x1ad)](nestedKeyValue,_0x1b01b8,[_0x17d8e6['zLIXj'],_0x17d8e6[_0x431459(0x191)]]),_0x4bef11=new Date()[_0x431459(0x130)](),_0x3191c7=_0x17d8e6['jMHsL'],_0x1b5f6b=_0x1b01b8[_0x431459(0x194)]?_0x1b01b8[_0x431459(0x194)][_0x431459(0x1a3)]('\x20')['filter'](_0x1e1e5d=>_0x1e1e5d[_0x431459(0x14f)]('@')):[],_0x3a85db={'uuid':_0x29a1a0['id'],'type':_0x17d8e6['Yqenx'],'hook_type':_0x3d7bec,'name':_0x1b01b8[_0x431459(0x150)],'body':{'lang':_0x17d8e6['OgKiW'],'code':null},'tags':_0x1b5f6b,'test_run_id':_0x1c22ad,'scope':_0x17d8e6[_0x431459(0x17b)](nestedKeyValue,_0x3a4ea7,[_0x17d8e6[_0x431459(0x13e)],_0x17d8e6[_0x431459(0x12d)]]),'scopes':[_0x17d8e6[_0x431459(0x156)](nestedKeyValue,_0x3a4ea7,[_0x17d8e6['nvyRb'],_0x17d8e6[_0x431459(0x12d)]])||''],'file_name':_0x14ef93,'location':_0x14ef93,'vc_filepath':this[_0x431459(0x190)]?path[_0x431459(0x18c)](this['_gitConfigPath'],_0x14ef93):null,'result':_0x3191c7,'started_at':_0x4bef11,'framework':_0x17d8e6[_0x431459(0x17f)]};return _0x3a85db;}catch(_0x405366){logger[_0x431459(0x145)](_0x431459(0x15b)+util[_0x431459(0x13c)](_0x405366)+'\x20');}}async['createHookData'](_0x4e2cbe,_0x2efcd0,_0x51429e,_0x487fe6,_0x55a60e,_0x35d319){const _0x5dcd03=a118_0x20059f,_0x3f163a={'ixfQL':function(_0x2743c8,_0x3a850f){return _0x2743c8===_0x3a850f;},'CQrKW':_0x5dcd03(0x13a),'rbnEn':function(_0x45d9ab,_0x2ceb95,_0x174ccd){return _0x45d9ab(_0x2ceb95,_0x174ccd);},'aoqtt':'sourceReference','idWad':'uri','RHZwl':_0x5dcd03(0x175),'dppLD':'bstack'};try{const _0x53bffc=_0x487fe6[_0x5dcd03(0x17a)](_0x1022c0=>_0x1022c0['id']===_0x55a60e);if(!_0x53bffc[_0x5dcd03(0x176)])return;const _0xd17cee=this[_0x5dcd03(0x137)](_0x487fe6,_0x53bffc),_0x18e21e=this[_0x5dcd03(0x16f)](_0x4e2cbe,_0x2efcd0,_0x51429e,_0x53bffc,_0x35d319,_0xd17cee);if(!_0x18e21e)return;_0x3f163a[_0x5dcd03(0x139)](_0x51429e,_0x3f163a[_0x5dcd03(0x12c)])&&(hooksMap[_0x2efcd0]?hooksMap[_0x2efcd0][_0x5dcd03(0x1aa)](_0x18e21e):hooksMap[_0x2efcd0]=[_0x18e21e]);const _0xbed6d5=_0x4e2cbe[_0x5dcd03(0x1a8)]['find'](_0x221faf=>_0x221faf['id']===_0x53bffc['hookId']),_0x2913cc=_0x3f163a[_0x5dcd03(0x185)](nestedKeyValue,_0xbed6d5,[_0x3f163a['aoqtt'],_0x3f163a['idWad']]);if(!_0x2913cc)return;else{if(_0x2913cc[_0x5dcd03(0x14f)](_0x3f163a[_0x5dcd03(0x140)]))return;}if(_0x3f163a[_0x5dcd03(0x139)](_0x18e21e[_0x5dcd03(0x150)],_0x3f163a[_0x5dcd03(0x1b6)]))return;return _0x18e21e;}catch(_0x45e232){logger[_0x5dcd03(0x145)](_0x5dcd03(0x147)+util[_0x5dcd03(0x13c)](_0x45e232)+'\x20');}}[a118_0x20059f(0x193)](_0x316aa0,_0x373185){const _0x3389a9=a118_0x20059f,_0xb102cc={};_0xb102cc[_0x3389a9(0x174)]=function(_0x3e9473,_0x8b26ba){return _0x3e9473===_0x8b26ba;},_0xb102cc[_0x3389a9(0x13b)]=_0x3389a9(0x14d),_0xb102cc[_0x3389a9(0x166)]=function(_0x26200a,_0x2fa626){return _0x26200a===_0x2fa626;},_0xb102cc[_0x3389a9(0x1ae)]=function(_0x554391,_0x302b08){return _0x554391===_0x302b08;},_0xb102cc[_0x3389a9(0x17c)]=_0x3389a9(0x1b5),_0xb102cc['LbKRw']='AssertionError',_0xb102cc[_0x3389a9(0x16c)]=function(_0x4a5aee,_0x2189a9){return _0x4a5aee||_0x2189a9;};const _0x3dab21=_0xb102cc,_0x36253b=_0x316aa0['testStepFinished'][_0x373185][_0x3389a9(0x1b2)];let _0x3aa1aa,_0x44fefc;return _0x36253b&&_0x3dab21[_0x3389a9(0x174)](_0x36253b[_0x3389a9(0x19e)]['toString']()[_0x3389a9(0x1b7)](),_0x3dab21[_0x3389a9(0x13b)])&&(_0x3aa1aa=_0x3dab21[_0x3389a9(0x166)](_0x36253b[_0x3389a9(0x17e)],undefined)?_0x36253b[_0x3389a9(0x146)]:_0x36253b[_0x3389a9(0x17e)][_0x3389a9(0x146)],_0x44fefc=_0x3dab21['HRFwk'](_0x36253b[_0x3389a9(0x17e)],undefined)?_0x3dab21['XKECO']:_0x36253b[_0x3389a9(0x146)]['match'](/Assert/)?_0x3dab21[_0x3389a9(0x135)]:_0x3dab21[_0x3389a9(0x17c)]),{'status':_0x36253b[_0x3389a9(0x19e)][_0x3389a9(0x1b7)](),'failureType':_0x3dab21[_0x3389a9(0x16c)](_0x44fefc,null),'failureData':!_0x3aa1aa?null:[_0x3aa1aa]};}[a118_0x20059f(0x137)](_0x3c4d9e,_0x1d144b){const _0xf53bd4=a118_0x20059f,_0x428d8f={};_0x428d8f[_0xf53bd4(0x199)]=function(_0x1640fc,_0x5e8327){return _0x1640fc===_0x5e8327;},_0x428d8f[_0xf53bd4(0x170)]='AFTER_EACH',_0x428d8f[_0xf53bd4(0x188)]=_0xf53bd4(0x1a7);const _0x5a762d=_0x428d8f;let _0x5dc7c3=![];for(const _0x1a6557 of _0x3c4d9e){_0x1a6557[_0xf53bd4(0x181)]&&(_0x5dc7c3=!![]);if(_0x5a762d[_0xf53bd4(0x199)](_0x1d144b['id'],_0x1a6557['id']))return _0x5dc7c3?_0x5a762d[_0xf53bd4(0x170)]:_0x5a762d[_0xf53bd4(0x188)];}}['getScenarioExamples']=(_0x14ec1b,_0x224ae0)=>{const _0x1374c4=a118_0x20059f,_0x2f4240={};_0x2f4240[_0x1374c4(0x17d)]=function(_0x5ca68e,_0x3a614b){return _0x5ca68e===_0x3a614b;},_0x2f4240[_0x1374c4(0x162)]=function(_0x5ad0f1,_0x3b7ef4){return _0x5ad0f1>_0x3b7ef4;};const _0x4e9ebc=_0x2f4240;if(!(_0x224ae0['astNodeIds']&&_0x4e9ebc['XNRoD'](_0x224ae0['astNodeIds'][_0x1374c4(0x180)],0x1)))return;const _0x1004c6=_0x224ae0[_0x1374c4(0x12e)][0x0],_0x56dcb0=_0x224ae0[_0x1374c4(0x12e)][0x1],_0x34c7c5=_0x14ec1b[_0x1374c4(0x14b)]&&_0x14ec1b[_0x1374c4(0x14b)][_0x1374c4(0x167)]?_0x14ec1b['feature'][_0x1374c4(0x167)]:undefined;let _0x2a3ebe=[];_0x34c7c5&&_0x34c7c5[_0x1374c4(0x144)](_0x476ff2=>{const _0x1a8954=_0x1374c4,_0x3094e7={'DbNLC':function(_0x1df8b4,_0x328b53){const _0x2d80d7=a118_0x1b04;return _0x4e9ebc[_0x2d80d7(0x17d)](_0x1df8b4,_0x328b53);}};if(_0x476ff2[_0x1a8954(0x161)])_0x476ff2[_0x1a8954(0x161)][_0x1a8954(0x167)][_0x1a8954(0x144)](_0x557ed8=>{const _0x259537=_0x1a8954;if(_0x557ed8[_0x259537(0x12f)]&&_0x3094e7[_0x259537(0x197)](_0x557ed8[_0x259537(0x12f)]['id'],_0x1004c6)&&_0x557ed8[_0x259537(0x12f)]['examples']){const _0x51d816=_0x557ed8[_0x259537(0x12f)]['examples'][_0x259537(0x159)](_0x3baa7e=>_0x3baa7e[_0x259537(0x187)])[_0x259537(0x17a)](_0x432399=>_0x432399['id']===_0x56dcb0);let _0x5bed11;_0x51d816&&_0x51d816['cells']?_0x5bed11=_0x51d816['cells'][_0x259537(0x1a1)](_0x6a8e4f=>_0x6a8e4f[_0x259537(0x1ab)]):_0x5bed11=[],_0x5bed11&&(_0x2a3ebe=_0x5bed11);}});else{if(_0x476ff2[_0x1a8954(0x12f)]&&_0x4e9ebc[_0x1a8954(0x17d)](_0x476ff2[_0x1a8954(0x12f)]['id'],_0x1004c6)&&_0x476ff2[_0x1a8954(0x12f)][_0x1a8954(0x12b)]){const _0x3cd896=_0x476ff2['scenario'][_0x1a8954(0x12b)][_0x1a8954(0x159)](_0xef80b0=>_0xef80b0['tableBody'])['find'](_0x4afe10=>_0x4afe10['id']===_0x56dcb0);let _0x2a3de6;_0x3cd896&&_0x3cd896[_0x1a8954(0x192)]?_0x2a3de6=_0x3cd896['cells'][_0x1a8954(0x1a1)](_0x45772e=>_0x45772e[_0x1a8954(0x1ab)]):_0x2a3de6=[],_0x2a3de6&&(_0x2a3ebe=_0x2a3de6);}}});if(_0x2a3ebe[_0x1374c4(0x180)])return _0x2a3ebe;return;};async[a118_0x20059f(0x19a)](){const _0x391244=a118_0x20059f,_0x1cfbbd={'bpVvM':function(_0x50d0e1){return _0x50d0e1();}};if(this[_0x391244(0x148)])return this[_0x391244(0x190)];const _0x1ecf2b=await _0x1cfbbd[_0x391244(0x195)](getGitMetaData);_0x1ecf2b&&(this[_0x391244(0x190)]=_0x1ecf2b[_0x391244(0x136)]),this[_0x391244(0x148)]=!![];}}module[a118_0x20059f(0x1a5)]=o11yClassErrorHandler(CucumberUtils,[a118_0x20059f(0x19a),a118_0x20059f(0x18e),a118_0x20059f(0x137),a118_0x20059f(0x193),a118_0x20059f(0x15e),'getHookRunEventData',a118_0x20059f(0x16a),'createTestFrameworkData']);
|
|
1
|
+
function a118_0x34b0(){const _0x1449b2=['../TestInfo.js','JTpTe','Exception\x20in\x20createHookData:\x20','getTestUUID','pQZVl','duration_in_ms','toLowerCase','NllCV','backtrace','../../../helpers/logger.js','sendTestRunEventForCucumber','javascript','filter','uri','tEDdC','failure_reason','testStepFinished','Exception\x20in\x20getHookRunEventData:\x20','scenario','PzXnC','value','12151696SalWam','createHookData','forEach','QmwTa','getScenarioExamples','ESrXT','BpmQI','timestamp','XofUU','failureData','push','AFTER_EACH','message','failure_type','getCucumberHookType','ntrfY','1091106gGeZyX','1aqhutZ','168zAnRVr','HookRunFinished','../../../helpers/test-observability/error-handler.js','tozFW','lJCnS','cells','NPcfW','_gitConfigured','feature','tags','sourceReference','68484gfjniJ','cucumber','../../../helpers/helper.js','90feskRX','AssertionError','_gitConfigPath','HozEv','XeLeM','Ehybs','qedtk','jyEnO','RjEvX','getHookResult','find','YmpqA','map','6635825aUdMsL','examples','test','hookId','epzPC','rule','bsyxF','unknown','format','HookRunStarted','ElxZJ','debug','nDalR','passed','2293790TKWeGR','failure_data','exception','join','jyCLZ','split','lrQcB','createTestFrameworkData','result','fqjxS','astNodeIds','every','JEEYx','flatMap','length','finishedAt','failure','Dczhd','rphta','toISOString','pickleStepId','tagExpression','YwDmf','bstack','status','fBXtp','toString','JpaXr','nanos','dCvlF','failureType','children','tableBody','ARIzq','match','testCaseFinished','relative','path','PrqSV','pending','strip-ansi','dCOrh','sXlHz','includes','tBucm','8890532oxvafy','configureGit','name','SsETl','OjNZT','1412978gIRyyf','aRPff','TqmLd','rcWWH','failed','hooks'];a118_0x34b0=function(){return _0x1449b2;};return a118_0x34b0();}const a118_0x2ae370=a118_0x3950;function a118_0x3950(_0x5ca734,_0x617206){const _0x34b03c=a118_0x34b0();return a118_0x3950=function(_0x3950f9,_0x85064e){_0x3950f9=_0x3950f9-0x141;let _0xa122f4=_0x34b03c[_0x3950f9];return _0xa122f4;},a118_0x3950(_0x5ca734,_0x617206);}(function(_0x2425db,_0x252981){const _0x20ac23=a118_0x3950,_0x4a156c=_0x2425db();while(!![]){try{const _0x1dd5e0=parseInt(_0x20ac23(0x1a7))/0x1*(parseInt(_0x20ac23(0x17b))/0x2)+parseInt(_0x20ac23(0x1b3))/0x3*(-parseInt(_0x20ac23(0x1a8))/0x4)+parseInt(_0x20ac23(0x1c3))/0x5+parseInt(_0x20ac23(0x1a6))/0x6+-parseInt(_0x20ac23(0x176))/0x7+-parseInt(_0x20ac23(0x196))/0x8+-parseInt(_0x20ac23(0x1b6))/0x9*(-parseInt(_0x20ac23(0x149))/0xa);if(_0x1dd5e0===_0x252981)break;else _0x4a156c['push'](_0x4a156c['shift']());}catch(_0x5e8e15){_0x4a156c['push'](_0x4a156c['shift']());}}}(a118_0x34b0,0xb9e89));const path=require(a118_0x2ae370(0x16e)),util=require('util'),{getGitMetaData,isUndefined,nestedKeyValue}=require(a118_0x2ae370(0x1b5)),logger=require(a118_0x2ae370(0x18a))['winstonLogger'],{o11yClassErrorHandler}=require(a118_0x2ae370(0x1aa)),TestInfo=require(a118_0x2ae370(0x181)),hooksMap={};class CucumberUtils{constructor(){const _0x15e6a7=a118_0x2ae370;this['_gitConfigured']=![],this[_0x15e6a7(0x1b8)]=null;}async[a118_0x2ae370(0x150)](_0x40f740,_0x459afd,_0x1ad4e2,_0x5d1dd3,_0x36482a,_0x460d2e){const _0x4a56e4=a118_0x2ae370,_0x571991={'jyCLZ':function(_0x1fc63f,_0x1bd4d){return _0x1fc63f===_0x1bd4d;},'NPcfW':'FAILED','fqjxS':_0x4a56e4(0x17f),'nDalR':function(_0x5608cc,_0xfcdb39){return _0x5608cc===_0xfcdb39;},'YwDmf':'SKIPPED','qedtk':'skipped','BpmQI':function(_0x4a247e,_0x2ef6f7){return _0x4a247e||_0x2ef6f7;},'PzXnC':function(_0x133640,_0x22b1ee){return _0x133640+_0x22b1ee;},'LonrW':_0x4a56e4(0x1c5),'sHmZW':_0x4a56e4(0x18c),'ElxZJ':'cucumber','QmwTa':_0x4a56e4(0x170),'fBXtp':_0x4a56e4(0x148),'QzaJN':function(_0x37bf86,_0x1b6df8){return _0x37bf86!==_0x1b6df8;},'tozFW':function(_0x417696,_0x2e4b59){return _0x417696/_0x2e4b59;},'bKewf':function(_0x69f4,_0x226368){return _0x69f4===_0x226368;},'wQHJE':_0x4a56e4(0x171),'aRPff':function(_0x6858b9,_0xbd5645){return _0x6858b9(_0xbd5645);},'YmpqA':_0x4a56e4(0x142),'NllCV':_0x4a56e4(0x1b7),'Dczhd':'UnhandledError'},{feature:_0x5ee34b,scenario:_0x114cd1,steps:_0x509212,uuid:_0x2df84d,startedAt:_0xe64663,finishedAt:_0x2eade4}=_0x571991[_0x4a56e4(0x19c)](_0x40f740,{}),_0x5ce89=this[_0x4a56e4(0x19a)](_0x5d1dd3,_0x459afd);await this[_0x4a56e4(0x177)]();const _0x7c1a50=_0x5ce89?_0x571991[_0x4a56e4(0x194)](_0x571991[_0x4a56e4(0x194)](_0x571991[_0x4a56e4(0x194)](_0x459afd[_0x4a56e4(0x178)],'\x20('),_0x5ce89[_0x4a56e4(0x14c)](',\x20')),')'):_0x459afd[_0x4a56e4(0x178)],_0x5ccf32={'id':_0x36482a,'uuid':_0x36482a,'startedAt':_0xe64663,'finishedAt':_0x2eade4,'type':_0x571991['LonrW'],'body':{'lang':_0x571991['sHmZW'],'code':null},'name':_0x7c1a50,'scopes':[_0x5ee34b&&_0x5ee34b[_0x4a56e4(0x178)]?_0x5ee34b['name']:''],'tags':_0x459afd[_0x4a56e4(0x1b1)]?_0x459afd[_0x4a56e4(0x1b1)]['map'](({name:_0x573abd})=>_0x573abd):[],'file_name':_0x459afd[_0x4a56e4(0x18e)],'location':_0x459afd['uri'],'vc_filepath':this[_0x4a56e4(0x1b8)]&&_0x459afd[_0x4a56e4(0x18e)]?path[_0x4a56e4(0x16d)](this[_0x4a56e4(0x1b8)],_0x459afd['uri']):null,'framework':_0x571991[_0x4a56e4(0x145)],'result':_0x571991[_0x4a56e4(0x199)],'meta':{'feature':_0x5ee34b,'scenario':_0x114cd1,'steps':_0x509212,'examples':_0x5ce89},'customRerunParam':{'rerun_name':_0x7c1a50}};if(_0x1ad4e2[_0x4a56e4(0x16c)]&&_0x509212){const _0xe41cc2=_0x1ad4e2[_0x4a56e4(0x16c)];let _0x2b2ce4=_0x571991[_0x4a56e4(0x162)];_0x509212[_0x4a56e4(0x154)](_0x54bb7d=>{const _0x445809=_0x4a56e4;if(_0x571991[_0x445809(0x14d)](_0x54bb7d[_0x445809(0x151)],_0x571991[_0x445809(0x1ae)]))return _0x2b2ce4=_0x571991[_0x445809(0x152)],_0xe41cc2['failure']=_0x54bb7d[_0x445809(0x159)],_0xe41cc2[_0x445809(0x167)]=_0x54bb7d[_0x445809(0x167)],![];else{if(_0x571991[_0x445809(0x147)](_0x54bb7d[_0x445809(0x151)],_0x571991[_0x445809(0x15f)]))return _0x2b2ce4=_0x571991[_0x445809(0x1bc)],![];}return!![];}),_0x5ccf32[_0x4a56e4(0x158)]=new Date()['toISOString'](),_0x5ccf32[_0x4a56e4(0x151)]=_0x2b2ce4;_0xe41cc2[_0x4a56e4(0x19d)]&&_0x571991['QzaJN'](_0xe41cc2[_0x4a56e4(0x19d)][_0x4a56e4(0x165)],undefined)?_0x5ccf32[_0x4a56e4(0x186)]=_0x571991[_0x4a56e4(0x1ab)](_0xe41cc2[_0x4a56e4(0x19d)][_0x4a56e4(0x165)],0xf4240):_0x5ccf32[_0x4a56e4(0x186)]=undefined;if(_0x571991['bKewf'](_0x2b2ce4,_0x571991[_0x4a56e4(0x152)])){const {default:_0x4f2bf1}=await import(_0x571991['wQHJE']);_0x5ccf32[_0x4a56e4(0x159)]=[{'backtrace':[_0xe41cc2['failure']?_0x571991[_0x4a56e4(0x17c)](_0x4f2bf1,_0xe41cc2[_0x4a56e4(0x159)]):_0x571991[_0x4a56e4(0x1c1)]]}],_0x5ccf32[_0x4a56e4(0x190)]=_0xe41cc2['failure']?_0x571991['aRPff'](_0x4f2bf1,_0xe41cc2[_0x4a56e4(0x159)]):_0xe41cc2['message'],_0xe41cc2[_0x4a56e4(0x167)]&&(_0x5ccf32[_0x4a56e4(0x1a3)]=_0xe41cc2[_0x4a56e4(0x167)][_0x4a56e4(0x16b)](/AssertError/)?_0x571991[_0x4a56e4(0x188)]:_0x571991[_0x4a56e4(0x15a)]);}}return _0x5ccf32;}['getHookRunEventData'](_0x1a6793,_0x41da34,_0x3d8c97,_0x46ed2a,_0x257ad7,_0x24cbc0){const _0x41acb1=a118_0x2ae370,_0x11ecf4={'bsyxF':function(_0x4ad2fb,_0x54f205){return _0x4ad2fb===_0x54f205;},'pQZVl':_0x41acb1(0x1a9),'lrQcB':function(_0x3d946e,_0x290bcd,_0x2ab617){return _0x3d946e(_0x290bcd,_0x2ab617);},'HozEv':_0x41acb1(0x1b2),'ESrXT':_0x41acb1(0x18e),'pwwDs':_0x41acb1(0x170),'TqmLd':'hook','PrqSV':_0x41acb1(0x18c),'lJCnS':_0x41acb1(0x1b0),'NcwZL':_0x41acb1(0x178),'ARIzq':function(_0x22451a,_0x27e817,_0x508c0a){return _0x22451a(_0x27e817,_0x508c0a);},'Fybhu':_0x41acb1(0x1b4)};try{if(_0x11ecf4[_0x41acb1(0x141)](_0x3d8c97,_0x11ecf4[_0x41acb1(0x185)])){const _0x29b238=new Date()[_0x41acb1(0x15c)](),_0x5bfb5b=hooksMap[_0x41da34];if(!_0x5bfb5b)return;const _0x1a99a9=_0x5bfb5b[_0x41acb1(0x1c0)](_0x59c399=>_0x59c399['uuid']===_0x46ed2a['id']);if(!_0x1a99a9)return;const _0x1fce63=this['getHookResult'](_0x1a6793,_0x41da34);_0x1a99a9[_0x41acb1(0x151)]=_0x1fce63[_0x41acb1(0x161)],_0x1a99a9['finished_at']=_0x29b238,_0x1a99a9[_0x41acb1(0x1a3)]=_0x1fce63[_0x41acb1(0x167)];const _0x29db98={};return _0x29db98[_0x41acb1(0x189)]=_0x1fce63[_0x41acb1(0x19f)],_0x1a99a9[_0x41acb1(0x14a)]=[_0x29db98],_0x1a99a9;}const _0x1488e9=TestInfo[_0x41acb1(0x184)](_0x41da34),_0x172263=_0x1a6793[_0x41acb1(0x180)][_0x41acb1(0x1c0)](_0x3c966f=>_0x3c966f['id']===_0x46ed2a['hookId']),_0x266dc0=_0x11ecf4[_0x41acb1(0x14f)](nestedKeyValue,_0x172263,[_0x11ecf4[_0x41acb1(0x1b9)],_0x11ecf4[_0x41acb1(0x19b)]]),_0x1b0c4d=new Date()[_0x41acb1(0x15c)](),_0xb20965=_0x11ecf4['pwwDs'],_0x4defec=_0x172263[_0x41acb1(0x15e)]?_0x172263[_0x41acb1(0x15e)][_0x41acb1(0x14e)]('\x20')[_0x41acb1(0x18d)](_0x5968e6=>_0x5968e6[_0x41acb1(0x174)]('@')):[],_0x5a3942={'uuid':_0x46ed2a['id'],'type':_0x11ecf4[_0x41acb1(0x17d)],'hook_type':_0x24cbc0,'name':_0x172263[_0x41acb1(0x178)],'body':{'lang':_0x11ecf4[_0x41acb1(0x16f)],'code':null},'tags':_0x4defec,'test_run_id':_0x1488e9,'scope':_0x11ecf4['lrQcB'](nestedKeyValue,_0x257ad7,[_0x11ecf4[_0x41acb1(0x1ac)],_0x11ecf4['NcwZL']]),'scopes':[_0x11ecf4[_0x41acb1(0x16a)](nestedKeyValue,_0x257ad7,[_0x11ecf4[_0x41acb1(0x1ac)],_0x11ecf4['NcwZL']])||''],'file_name':_0x266dc0,'location':_0x266dc0,'vc_filepath':this[_0x41acb1(0x1b8)]?path['relative'](this['_gitConfigPath'],_0x266dc0):null,'result':_0xb20965,'started_at':_0x1b0c4d,'framework':_0x11ecf4['Fybhu']};return _0x5a3942;}catch(_0x5559e0){logger['debug'](_0x41acb1(0x192)+util[_0x41acb1(0x143)](_0x5559e0)+'\x20');}}async[a118_0x2ae370(0x197)](_0x2b5748,_0x122ca0,_0x567807,_0x15a81a,_0x19aa11,_0x20f0e7){const _0x38d80b=a118_0x2ae370,_0x330495={'sXlHz':function(_0x3087dd,_0x41ba8e){return _0x3087dd===_0x41ba8e;},'JTpTe':_0x38d80b(0x144),'tEDdC':function(_0x50c917,_0x3086e5,_0x13ae52){return _0x50c917(_0x3086e5,_0x13ae52);},'jyEnO':'sourceReference','RjEvX':_0x38d80b(0x18e),'OjNZT':'browserstack-node-agent/src/bin/cucumber-js/test.setup.js','uDaOC':function(_0x5b7f25,_0x244b31){return _0x5b7f25===_0x244b31;},'nDsaO':_0x38d80b(0x160)};try{const _0xf18918=_0x15a81a[_0x38d80b(0x1c0)](_0x3e254b=>_0x3e254b['id']===_0x19aa11);if(!_0xf18918[_0x38d80b(0x1c6)])return;const _0x192dcc=this[_0x38d80b(0x1a4)](_0x15a81a,_0xf18918),_0x579955=this['getHookRunEventData'](_0x2b5748,_0x122ca0,_0x567807,_0xf18918,_0x20f0e7,_0x192dcc);if(!_0x579955)return;_0x330495[_0x38d80b(0x173)](_0x567807,_0x330495[_0x38d80b(0x182)])&&(hooksMap[_0x122ca0]?hooksMap[_0x122ca0][_0x38d80b(0x1a0)](_0x579955):hooksMap[_0x122ca0]=[_0x579955]);const _0x429d36=_0x2b5748[_0x38d80b(0x180)]['find'](_0x1c9f0b=>_0x1c9f0b['id']===_0xf18918['hookId']),_0x26fa26=_0x330495[_0x38d80b(0x18f)](nestedKeyValue,_0x429d36,[_0x330495[_0x38d80b(0x1bd)],_0x330495[_0x38d80b(0x1be)]]);if(!_0x26fa26)return;else{if(_0x26fa26['includes'](_0x330495[_0x38d80b(0x17a)]))return;}if(_0x330495['uDaOC'](_0x579955[_0x38d80b(0x178)],_0x330495['nDsaO']))return;return _0x579955;}catch(_0x2194fe){logger[_0x38d80b(0x146)](_0x38d80b(0x183)+util[_0x38d80b(0x143)](_0x2194fe)+'\x20');}}[a118_0x2ae370(0x1bf)](_0x1859d4,_0x627032){const _0x35972e=a118_0x2ae370,_0x4831d6={};_0x4831d6[_0x35972e(0x166)]=function(_0x556606,_0x35bd5d){return _0x556606===_0x35bd5d;},_0x4831d6[_0x35972e(0x1ba)]=_0x35972e(0x17f),_0x4831d6[_0x35972e(0x19e)]=function(_0x17daa1,_0xc93ab0){return _0x17daa1===_0xc93ab0;},_0x4831d6[_0x35972e(0x164)]='UnhandledError',_0x4831d6[_0x35972e(0x155)]='AssertionError',_0x4831d6[_0x35972e(0x17e)]=function(_0x433b8b,_0x340202){return _0x433b8b||_0x340202;};const _0x1c8842=_0x4831d6,_0x34701c=_0x1859d4[_0x35972e(0x191)][_0x627032]['testStepResult'];let _0x189705,_0x1392aa;return _0x34701c&&_0x1c8842[_0x35972e(0x166)](_0x34701c['status'][_0x35972e(0x163)]()[_0x35972e(0x187)](),_0x1c8842[_0x35972e(0x1ba)])&&(_0x189705=_0x1c8842[_0x35972e(0x166)](_0x34701c['exception'],undefined)?_0x34701c[_0x35972e(0x1a2)]:_0x34701c['exception'][_0x35972e(0x1a2)],_0x1392aa=_0x1c8842[_0x35972e(0x19e)](_0x34701c[_0x35972e(0x14b)],undefined)?_0x1c8842[_0x35972e(0x164)]:_0x34701c[_0x35972e(0x1a2)][_0x35972e(0x16b)](/Assert/)?_0x1c8842[_0x35972e(0x155)]:_0x1c8842[_0x35972e(0x164)]),{'status':_0x34701c[_0x35972e(0x161)][_0x35972e(0x187)](),'failureType':_0x1c8842[_0x35972e(0x17e)](_0x1392aa,null),'failureData':!_0x189705?null:[_0x189705]};}['getCucumberHookType'](_0x532b2e,_0x456aaf){const _0x680e9c=a118_0x2ae370,_0x4db30b={};_0x4db30b[_0x680e9c(0x15b)]=function(_0x172418,_0x174ec2){return _0x172418===_0x174ec2;},_0x4db30b[_0x680e9c(0x1bb)]=_0x680e9c(0x1a1),_0x4db30b[_0x680e9c(0x172)]='BEFORE_EACH';const _0x269a98=_0x4db30b;let _0x1b740f=![];for(const _0x58bc5a of _0x532b2e){_0x58bc5a[_0x680e9c(0x15d)]&&(_0x1b740f=!![]);if(_0x269a98[_0x680e9c(0x15b)](_0x456aaf['id'],_0x58bc5a['id']))return _0x1b740f?_0x269a98[_0x680e9c(0x1bb)]:_0x269a98[_0x680e9c(0x172)];}}['getScenarioExamples']=(_0x29125f,_0x3b9bc2)=>{const _0x124885=a118_0x2ae370,_0x3c83b5={};_0x3c83b5['ntrfY']=function(_0x72d9e5,_0x515ddf){return _0x72d9e5===_0x515ddf;},_0x3c83b5[_0x124885(0x175)]=function(_0x2b99ae,_0x3b59c7){return _0x2b99ae===_0x3b59c7;},_0x3c83b5['SsETl']=function(_0x764779,_0x2227d7){return _0x764779>_0x2227d7;};const _0x31be24=_0x3c83b5;if(!(_0x3b9bc2[_0x124885(0x153)]&&_0x31be24[_0x124885(0x179)](_0x3b9bc2[_0x124885(0x153)][_0x124885(0x157)],0x1)))return;const _0x397cc7=_0x3b9bc2[_0x124885(0x153)][0x0],_0x1fa721=_0x3b9bc2['astNodeIds'][0x1],_0x1b1b4e=_0x29125f['feature']&&_0x29125f['feature'][_0x124885(0x168)]?_0x29125f[_0x124885(0x1b0)][_0x124885(0x168)]:undefined;let _0xa25beb=[];_0x1b1b4e&&_0x1b1b4e[_0x124885(0x198)](_0x251632=>{const _0x309bf2=_0x124885;if(_0x251632[_0x309bf2(0x1c8)])_0x251632['rule'][_0x309bf2(0x168)][_0x309bf2(0x198)](_0x2bd972=>{const _0x516ff2=_0x309bf2;if(_0x2bd972['scenario']&&_0x31be24[_0x516ff2(0x1a5)](_0x2bd972[_0x516ff2(0x193)]['id'],_0x397cc7)&&_0x2bd972[_0x516ff2(0x193)][_0x516ff2(0x1c4)]){const _0x5775fd=_0x2bd972['scenario'][_0x516ff2(0x1c4)][_0x516ff2(0x156)](_0xf152e6=>_0xf152e6[_0x516ff2(0x169)])[_0x516ff2(0x1c0)](_0x3a3c0d=>_0x3a3c0d['id']===_0x1fa721);let _0x13ecd1;_0x5775fd&&_0x5775fd[_0x516ff2(0x1ad)]?_0x13ecd1=_0x5775fd[_0x516ff2(0x1ad)][_0x516ff2(0x1c2)](_0x1de216=>_0x1de216['value']):_0x13ecd1=[],_0x13ecd1&&(_0xa25beb=_0x13ecd1);}});else{if(_0x251632[_0x309bf2(0x193)]&&_0x31be24[_0x309bf2(0x175)](_0x251632['scenario']['id'],_0x397cc7)&&_0x251632[_0x309bf2(0x193)][_0x309bf2(0x1c4)]){const _0x8c4472=_0x251632[_0x309bf2(0x193)]['examples'][_0x309bf2(0x156)](_0x41aee2=>_0x41aee2[_0x309bf2(0x169)])['find'](_0x3fbb0e=>_0x3fbb0e['id']===_0x1fa721);let _0x3dc939;_0x8c4472&&_0x8c4472['cells']?_0x3dc939=_0x8c4472[_0x309bf2(0x1ad)]['map'](_0xf8aa1b=>_0xf8aa1b[_0x309bf2(0x195)]):_0x3dc939=[],_0x3dc939&&(_0xa25beb=_0x3dc939);}}});if(_0xa25beb[_0x124885(0x157)])return _0xa25beb;return;};async[a118_0x2ae370(0x177)](){const _0x1e75e4=a118_0x2ae370,_0x23cf0b={'epzPC':function(_0x5a1753){return _0x5a1753();}};if(this['_gitConfigured'])return this['_gitConfigPath'];const _0x2e05e9=await _0x23cf0b[_0x1e75e4(0x1c7)](getGitMetaData);_0x2e05e9&&(this['_gitConfigPath']=_0x2e05e9['root']),this[_0x1e75e4(0x1af)]=!![];}}module['exports']=o11yClassErrorHandler(CucumberUtils,['configureGit',a118_0x2ae370(0x19a),a118_0x2ae370(0x1a4),a118_0x2ae370(0x1bf),'sendHook','getHookRunEventData',a118_0x2ae370(0x18b),a118_0x2ae370(0x150)]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a119_0x4b60cc=a119_0x1b14;function a119_0x1b14(_0x296b87,_0x2bcb28){const _0x426cb0=a119_0x426c();return a119_0x1b14=function(_0x1b143b,_0x5076f3){_0x1b143b=_0x1b143b-0x95;let _0x4ee407=_0x426cb0[_0x1b143b];return _0x4ee407;},a119_0x1b14(_0x296b87,_0x2bcb28);}(function(_0x3c7e4b,_0x1fc4df){const _0x2f0b07=a119_0x1b14,_0x19bb4c=_0x3c7e4b();while(!![]){try{const _0xfd07ee=-parseInt(_0x2f0b07(0x11e))/0x1+-parseInt(_0x2f0b07(0x9e))/0x2+parseInt(_0x2f0b07(0xe1))/0x3*(-parseInt(_0x2f0b07(0xb3))/0x4)+-parseInt(_0x2f0b07(0xe8))/0x5+-parseInt(_0x2f0b07(0x106))/0x6+-parseInt(_0x2f0b07(0x122))/0x7*(parseInt(_0x2f0b07(0xb7))/0x8)+-parseInt(_0x2f0b07(0xc9))/0x9*(-parseInt(_0x2f0b07(0x9a))/0xa);if(_0xfd07ee===_0x1fc4df)break;else _0x19bb4c['push'](_0x19bb4c['shift']());}catch(_0xcf274f){_0x19bb4c['push'](_0x19bb4c['shift']());}}}(a119_0x426c,0x31a69));const path=require(a119_0x4b60cc(0x150)),util=require(a119_0x4b60cc(0xd4)),crypto=require(a119_0x4b60cc(0x120)),{getGitMetaData,isUndefined,nestedKeyValue}=require('../../../helpers/helper.js'),logger=require('../../../helpers/logger.js')[a119_0x4b60cc(0x131)],{o11yClassErrorHandler}=require(a119_0x4b60cc(0xa0)),TestInfo=require(a119_0x4b60cc(0x13e)),{failureData,getFailureType,PathHelper}=require(a119_0x4b60cc(0x9d)),stackTrace=require(a119_0x4b60cc(0x143)),{pickUserFrameFile}=require(a119_0x4b60cc(0xe0)),a119_0xbb8273={};a119_0xbb8273[a119_0x4b60cc(0x132)]=a119_0x4b60cc(0x10a),a119_0xbb8273[a119_0x4b60cc(0xe7)]='AFTER_ALL',a119_0xbb8273[a119_0x4b60cc(0x141)]='BEFORE_EACH',a119_0xbb8273[a119_0x4b60cc(0xbc)]=a119_0x4b60cc(0xe2);const HOOK_TYPES_MAP=a119_0xbb8273,hooksMap={};class JestUtils{constructor(){const _0x6b5292=a119_0x4b60cc;this[_0x6b5292(0xd7)]=![],this[_0x6b5292(0xf7)]=null,this[_0x6b5292(0x104)]=new PathHelper({'cwd':process[_0x6b5292(0xf2)]()},undefined);}async[a119_0x4b60cc(0xbd)](_0x299d1b,_0x3b9eac,_0x135b77=a119_0x4b60cc(0x10c),_0x3d2140=undefined){const _0x2bd6f7=a119_0x4b60cc,_0x401f5c={'zgUZc':_0x2bd6f7(0xfc),'ebpIr':_0x2bd6f7(0x102),'xjJOH':_0x2bd6f7(0x11d),'judNE':function(_0x4fd97b,_0x18d87b){return _0x4fd97b!==_0x18d87b;},'OGANx':_0x2bd6f7(0x126),'ofDOy':function(_0x4f9ff2,_0x348f29){return _0x4f9ff2!==_0x348f29;},'dddJa':_0x2bd6f7(0x110),'sGVpo':function(_0x24995a,_0x2f5f9c){return _0x24995a!==_0x2f5f9c;},'tDffC':function(_0x5af8b1,_0xf3fa7f){return _0x5af8b1!==_0xf3fa7f;},'zHQAD':'pending','PuBVG':function(_0x14c9ee,_0x18e20e){return _0x14c9ee===_0x18e20e;},'mtUHQ':_0x2bd6f7(0xf8),'GTIls':_0x2bd6f7(0xb1),'AibFJ':function(_0x5c5d45,_0x1d42b0){return _0x5c5d45===_0x1d42b0;},'IyINI':'TestRunFinished','VwUYQ':function(_0x350f9f,_0x4b9914){return _0x350f9f>_0x4b9914;},'jnyWO':_0x2bd6f7(0xc4),'fsKEq':'passed','EOcaE':function(_0x45e732,_0x3cb88e){return _0x45e732-_0x3cb88e;},'PgZvb':'javascript','qGkwP':function(_0x2d1052,_0x244e62){return _0x2d1052>_0x244e62;},'EycwB':_0x2bd6f7(0xcf),'vynsX':function(_0x5d0151,_0x205f0e){return _0x5d0151(_0x205f0e);},'gABfG':function(_0x5b3fb4,_0x39ac21){return _0x5b3fb4===_0x39ac21;}};logger[_0x2bd6f7(0xa9)]('Creating\x20test\x20framework\x20data\x20for\x20eventType:\x20'+_0x135b77+_0x2bd6f7(0x140)+_0x3b9eac);try{if(!_0x299d1b)return logger[_0x2bd6f7(0xa9)](_0x401f5c['zgUZc']),null;if(_0x299d1b['fn']&&_0x299d1b['fn'][_0x2bd6f7(0xb2)]()[_0x2bd6f7(0xc1)](/browserstack internal helper hook/))return null;await this[_0x2bd6f7(0x147)]();let _0x5664a1;try{_0x5664a1=this[_0x2bd6f7(0xfe)](_0x299d1b);if(_0x5664a1&&_0x5664a1['includes'](_0x401f5c[_0x2bd6f7(0x152)]))return null;}catch(_0x3711c6){logger[_0x2bd6f7(0xa9)](_0x2bd6f7(0xec)+util[_0x2bd6f7(0x142)](_0x3711c6)),_0x5664a1=null;}const _0x271b13=this['getHierarchy'](_0x299d1b),_0x44c49e=this['getName'](_0x299d1b),_0x52cdf5=_0x5664a1?this['_paths'][_0x2bd6f7(0xee)](_0x5664a1):_0x401f5c[_0x2bd6f7(0xae)];let _0xfc1740=[];const _0xffd40d=_0x299d1b[_0x2bd6f7(0xa3)]||_0x299d1b[_0x2bd6f7(0x14a)];if(_0x401f5c[_0x2bd6f7(0x149)](_0xffd40d,undefined))_0xfc1740=[_0xffd40d,_0x401f5c[_0x2bd6f7(0xdb)]];else _0x401f5c[_0x2bd6f7(0x139)](_0x3d2140,undefined)&&(_0xfc1740=[_0x3d2140,_0x401f5c[_0x2bd6f7(0xdd)]]);const _0x57c4d0=_0x401f5c[_0x2bd6f7(0xab)](_0xffd40d,undefined)?util[_0x2bd6f7(0xd9)](_0xffd40d[0x0]):_0x401f5c[_0x2bd6f7(0xd1)](_0x3d2140,undefined)?_0x3d2140['toString']():undefined;let _0x29e064=_0x401f5c[_0x2bd6f7(0x14c)];if(_0x401f5c[_0x2bd6f7(0x145)](_0x135b77,_0x401f5c['mtUHQ']))_0x29e064=_0x401f5c[_0x2bd6f7(0xfb)];else _0x401f5c['AibFJ'](_0x135b77,_0x401f5c['IyINI'])&&(_0xffd40d&&_0x401f5c[_0x2bd6f7(0x9b)](_0xffd40d[_0x2bd6f7(0xba)],0x0)?_0x29e064=_0x401f5c[_0x2bd6f7(0x115)]:_0x29e064=_0x401f5c[_0x2bd6f7(0xc0)]);let _0x599d04=null;if(_0x401f5c[_0x2bd6f7(0x149)](_0x299d1b['duration'],undefined))_0x599d04=_0x299d1b['duration'];else(_0x135b77['match'](/Finished/)||_0x135b77[_0x2bd6f7(0xc1)](/Skipped/))&&(_0x299d1b[_0x2bd6f7(0x134)]&&(_0x599d04=_0x401f5c[_0x2bd6f7(0x107)](Date[_0x2bd6f7(0x14f)](),new Date(_0x299d1b[_0x2bd6f7(0x134)])[_0x2bd6f7(0xef)]())));const _0x52ad12=_0x299d1b['fn']?_0x299d1b['fn'][_0x2bd6f7(0xb2)]():null,_0x3fb1bb={'id':_0x3b9eac,'uuid':_0x3b9eac,'startedAt':_0x299d1b[_0x2bd6f7(0x134)]||new Date()['toISOString'](),'finishedAt':_0x135b77[_0x2bd6f7(0xc1)](/Finished/)||_0x135b77[_0x2bd6f7(0xc1)](/Skipped/)?new Date()[_0x2bd6f7(0xb8)]():null,'type':_0x401f5c[_0x2bd6f7(0xdb)],'body':{'lang':_0x401f5c[_0x2bd6f7(0x112)],'code':_0x52ad12},'name':_0x44c49e,'errorsDetailed':_0x401f5c['qGkwP'](_0xffd40d?.[_0x2bd6f7(0xba)],0x0)?_0xffd40d[0x0]:_0xffd40d?_0xffd40d:undefined,'scopes':_0x271b13,'file_name':_0x52cdf5,'location':_0x52cdf5,'vc_filepath':this[_0x2bd6f7(0xf7)]&&_0x5664a1?path[_0x2bd6f7(0xe5)](this[_0x2bd6f7(0xf7)],_0x5664a1):null,'framework':_0x401f5c['EycwB'],'result':_0x29e064,'failure_reason':_0x57c4d0,'duration_in_ms':_0x599d04,'failure':failureData[_0x2bd6f7(0xa6)](null,_0xfc1740),'failure_type':!_0x57c4d0?null:_0x401f5c[_0x2bd6f7(0x11a)](getFailureType,_0x57c4d0),'retry_of':_0x299d1b['retryOf']||null,'customRerunParam':{'rerun_name':_0x44c49e}};_0x401f5c['gABfG'](_0x135b77,_0x401f5c[_0x2bd6f7(0x13c)])&&!_0x3fb1bb[_0x2bd6f7(0x105)]&&(_0x3fb1bb[_0x2bd6f7(0x105)]=_0x3fb1bb[_0x2bd6f7(0xd2)]);const _0x5d0f15=_0x3fb1bb[_0x2bd6f7(0xf1)]&&_0x3fb1bb['failure'][0x0];return _0x5d0f15&&(_0x3fb1bb[_0x2bd6f7(0xc7)]=_0x5d0f15[_0x2bd6f7(0x154)],_0x3fb1bb[_0x2bd6f7(0xa8)]=_0x5d0f15['expanded']),(_0x401f5c['PuBVG'](_0x135b77,_0x401f5c[_0x2bd6f7(0xb6)])||_0x401f5c['AibFJ'](_0x135b77,_0x401f5c[_0x2bd6f7(0x13c)]))&&(_0x299d1b[_0x2bd6f7(0xca)]&&(_0x3fb1bb[_0x2bd6f7(0xca)]=_0x299d1b['hooks'])),_0x3fb1bb;}catch(_0x5c1651){return logger[_0x2bd6f7(0xa9)]('Exception\x20in\x20createTestFrameworkData:\x20'+util['format'](_0x5c1651)),null;}}async[a119_0x4b60cc(0xaa)](_0x328d85,_0x3fe70d,_0x5454af,_0x10717a){const _0x26b09b=a119_0x4b60cc,_0x275f27={'OZNnW':_0x26b09b(0x121),'pTXgB':_0x26b09b(0x102),'sMSCk':_0x26b09b(0x136),'TsUQA':'unknown','vTNVg':'pending','XuYCB':function(_0x453b62,_0x585735){return _0x453b62===_0x585735;},'hMibw':'HookRunFinished','BPBEZ':function(_0x9ac62c,_0x3507fa){return _0x9ac62c>_0x3507fa;},'rCFtC':_0x26b09b(0xc4),'ZLJWG':function(_0x299e4e,_0x195f14){return _0x299e4e(_0x195f14);},'vcywi':'test','jJShb':_0x26b09b(0xf0),'iIviM':'hook','jFbbq':_0x26b09b(0xfd),'ozhgY':_0x26b09b(0xcf),'TcakZ':_0x26b09b(0xc2)};logger[_0x26b09b(0xa9)](_0x26b09b(0xb9)+_0x5454af+_0x26b09b(0x12e)+_0x3fe70d+_0x26b09b(0xe4)+_0x10717a);try{if(!_0x328d85)return logger[_0x26b09b(0xa9)](_0x275f27[_0x26b09b(0x125)]),null;if(this[_0x26b09b(0x124)](_0x328d85))return null;await this['configureGit']();let _0x2f9de7=null;try{_0x2f9de7=this[_0x26b09b(0xfe)](_0x328d85);if(_0x2f9de7&&_0x2f9de7[_0x26b09b(0xf4)](_0x275f27[_0x26b09b(0xdc)]))return null;if(_0x2f9de7&&_0x2f9de7[_0x26b09b(0xf4)](_0x275f27[_0x26b09b(0xad)]))return null;}catch(_0x180d76){logger[_0x26b09b(0xa9)](_0x26b09b(0x118)+util[_0x26b09b(0x142)](_0x180d76));}const _0x3b2443=_0x2f9de7?this[_0x26b09b(0x104)][_0x26b09b(0xee)](_0x2f9de7):_0x2f9de7,_0x3ba7ef=this[_0x26b09b(0x13a)](_0x328d85),_0x1acc85=_0x328d85[_0x26b09b(0xd5)]||_0x275f27[_0x26b09b(0x137)],_0x46f01b=HOOK_TYPES_MAP[_0x1acc85]||_0x1acc85[_0x26b09b(0xf5)](),_0x410797=_0x328d85['parent']&&_0x328d85[_0x26b09b(0x144)][_0x26b09b(0x138)]?_0x328d85['parent'][_0x26b09b(0x138)]:'';let _0x1d7374=_0x275f27[_0x26b09b(0xa5)],_0x407358=null,_0x1b444a=null,_0x38ece=null,_0x403b92=null;_0x275f27[_0x26b09b(0xd8)](_0x5454af,_0x275f27['hMibw'])&&(_0x403b92=new Date()['toISOString'](),_0x328d85[_0x26b09b(0xa3)]&&_0x275f27[_0x26b09b(0x119)](_0x328d85[_0x26b09b(0xa3)][_0x26b09b(0xba)],0x0)?(_0x1d7374=_0x275f27['rCFtC'],_0x1b444a=util[_0x26b09b(0xd9)](_0x328d85[_0x26b09b(0xa3)][0x0]),_0x407358=_0x275f27[_0x26b09b(0x12b)](getFailureType,_0x1b444a),_0x38ece=failureData[_0x26b09b(0xa6)](null,[_0x328d85['errorsDetailed'],_0x275f27[_0x26b09b(0xc6)]])):_0x1d7374=_0x275f27[_0x26b09b(0xe6)]);const _0xd1c600={'uuid':_0x3fe70d,'type':_0x275f27[_0x26b09b(0x9f)],'hook_type':_0x46f01b,'name':_0x3ba7ef,'body':{'lang':_0x275f27[_0x26b09b(0xff)],'code':_0x328d85['fn']?_0x328d85['fn']['toString']():null},'tags':[],'test_run_id':_0x10717a,'scope':_0x410797,'scopes':[_0x410797],'file_name':_0x3b2443,'location':_0x3b2443,'vc_filepath':this['_gitConfigPath']&&_0x2f9de7?path[_0x26b09b(0xe5)](this[_0x26b09b(0xf7)],_0x2f9de7):null,'result':_0x1d7374,'started_at':_0x328d85[_0x26b09b(0x134)]||new Date()[_0x26b09b(0xb8)](),'finished_at':_0x403b92,'failure_type':_0x407358,'failure_reason':_0x1b444a,'failure_data':_0x38ece,'framework':_0x275f27[_0x26b09b(0xed)]};return _0x275f27['XuYCB'](_0x5454af,_0x275f27[_0x26b09b(0x127)])&&(hooksMap[_0x10717a]?hooksMap[_0x10717a]['push'](_0xd1c600):hooksMap[_0x10717a]=[_0xd1c600]),_0xd1c600;}catch(_0x1117e1){return logger[_0x26b09b(0xa9)](_0x26b09b(0xa4)+util[_0x26b09b(0x142)](_0x1117e1)),null;}}[a119_0x4b60cc(0x13d)](_0x2c26e8,_0xcc406,_0x5423df){const _0x2c7832=a119_0x4b60cc,_0x1c3957={'ypxOE':function(_0x5e8ddf,_0x408e3b){return _0x5e8ddf>_0x408e3b;},'huIvP':_0x2c7832(0xc4),'sgwmY':function(_0x263b2a,_0x462278){return _0x263b2a(_0x462278);},'sTbyk':_0x2c7832(0x126),'ftZWf':_0x2c7832(0xf0)};try{const _0x119f67=hooksMap[_0x2c26e8];if(!_0x119f67)return null;const _0x47dc60=_0x119f67['find'](_0x32e33e=>_0x32e33e[_0x2c7832(0x109)]===_0xcc406);if(!_0x47dc60)return null;return _0x47dc60[_0x2c7832(0xcc)]=new Date()[_0x2c7832(0xb8)](),_0x5423df[_0x2c7832(0xa3)]&&_0x1c3957[_0x2c7832(0xaf)](_0x5423df[_0x2c7832(0xa3)][_0x2c7832(0xba)],0x0)?(_0x47dc60[_0x2c7832(0x13b)]=_0x1c3957[_0x2c7832(0x129)],_0x47dc60[_0x2c7832(0x14e)]=util[_0x2c7832(0xd9)](_0x5423df[_0x2c7832(0xa3)][0x0]),_0x47dc60[_0x2c7832(0xa2)]=_0x1c3957['sgwmY'](getFailureType,_0x47dc60[_0x2c7832(0x14e)]),_0x47dc60[_0x2c7832(0x155)]=failureData[_0x2c7832(0xa6)](null,[_0x5423df[_0x2c7832(0xa3)],_0x1c3957[_0x2c7832(0x153)]])):_0x47dc60['result']=_0x1c3957['ftZWf'],_0x47dc60;}catch(_0x43f51){return logger['debug'](_0x2c7832(0x10d)+util[_0x2c7832(0x142)](_0x43f51)),null;}}[a119_0x4b60cc(0x13a)](_0x1630a8){const _0x3bdac8=a119_0x4b60cc,_0x246a41={};_0x246a41[_0x3bdac8(0x12a)]=function(_0x1f9186,_0x587d2a){return _0x1f9186!==_0x587d2a;},_0x246a41[_0x3bdac8(0x12f)]='test',_0x246a41[_0x3bdac8(0x135)]=_0x3bdac8(0xd6);const _0x446916=_0x246a41;if(_0x446916['Bnypc'](_0x1630a8[_0x3bdac8(0xd5)],_0x446916[_0x3bdac8(0x12f)]))return'\x22'+_0x1630a8[_0x3bdac8(0xd5)]+_0x3bdac8(0x10b)+(_0x1630a8[_0x3bdac8(0x144)]&&_0x1630a8[_0x3bdac8(0x144)][_0x3bdac8(0x138)])+'\x22';return _0x1630a8[_0x3bdac8(0x138)]||_0x446916['wtRVc'];}['getHierarchy'](_0x508440){const _0x4ed18c=a119_0x4b60cc,_0x492bc9={};_0x492bc9['DNEwa']=function(_0x1e7e4b,_0xfca61c){return _0x1e7e4b!==_0xfca61c;},_0x492bc9[_0x4ed18c(0xbb)]=_0x4ed18c(0x130);const _0x197335=_0x492bc9,_0x43d4c0=[];if(_0x508440&&_0x508440['parent']){let _0x544f1c=_0x508440[_0x4ed18c(0x144)];while(_0x544f1c&&_0x544f1c[_0x4ed18c(0x138)]&&_0x197335[_0x4ed18c(0x148)](_0x544f1c[_0x4ed18c(0x138)],'')&&_0x197335[_0x4ed18c(0x148)](_0x544f1c[_0x4ed18c(0x138)],_0x197335[_0x4ed18c(0xbb)])){_0x43d4c0[_0x4ed18c(0xe9)](_0x544f1c[_0x4ed18c(0x138)]),_0x544f1c=_0x544f1c[_0x4ed18c(0x144)];}}return _0x43d4c0[_0x4ed18c(0x111)](),_0x43d4c0;}[a119_0x4b60cc(0xfe)](_0xa54e17){const _0x13dd1d=a119_0x4b60cc,_0xf3cf60={'hCZGQ':function(_0xc5280c,_0x41a979){return _0xc5280c(_0x41a979);}};if(_0xa54e17[_0x13dd1d(0x96)])return _0xa54e17[_0x13dd1d(0x96)];if(_0xa54e17[_0x13dd1d(0x108)])try{const _0x3e354d=stackTrace['parse'][_0x13dd1d(0x12d)](stackTrace,_0xa54e17['asyncError']),_0x1ebafa=_0xf3cf60[_0x13dd1d(0x128)](pickUserFrameFile,_0x3e354d);if(_0x1ebafa)return _0x1ebafa;logger['debug'](_0x13dd1d(0x11c)+_0x3e354d[_0x13dd1d(0xba)]+')');}catch(_0x642122){logger[_0x13dd1d(0xa9)](_0x13dd1d(0xda)+util['format'](_0x642122));}return null;}['isJestInternalHook'](_0x28818d){const _0x166d4c=a119_0x4b60cc,_0x21fc81={};_0x21fc81[_0x166d4c(0xc8)]=_0x166d4c(0x102);const _0x43a7dc=_0x21fc81;try{const _0x2e339d=this['getRootParentFile'](_0x28818d);if(!_0x2e339d||_0x2e339d[_0x166d4c(0xf4)](_0x43a7dc[_0x166d4c(0xc8)]))return!![];}catch(_0x1d7e61){logger[_0x166d4c(0xa9)](_0x166d4c(0x10f)+util[_0x166d4c(0x142)](_0x1d7e61));}return![];}[a119_0x4b60cc(0x123)](_0x17770f=null){const _0x1c1778=a119_0x4b60cc;try{const _0x563ec8=_0x17770f||global[_0x1c1778(0x13f)]||{};if(global[_0x1c1778(0x11f)])return global['__jestCurrentTestIdentifier'];if(_0x563ec8?.[_0x1c1778(0xde)]?.[_0x1c1778(0xcd)])return _0x563ec8['currentTest'][_0x1c1778(0xcd)];if(_0x563ec8?.[_0x1c1778(0xde)]?.['id'])return _0x563ec8[_0x1c1778(0xde)]['id'];return null;}catch(_0x4bfb15){return logger[_0x1c1778(0xa9)]('[jestUtils]\x20Error\x20getting\x20test\x20identifier:\x20'+util[_0x1c1778(0x142)](_0x4bfb15)),null;}}async[a119_0x4b60cc(0x147)](){const _0x5d9c71=a119_0x4b60cc,_0x40958c={'sAGib':function(_0x445e02){return _0x445e02();}};if(this[_0x5d9c71(0xd7)])return this[_0x5d9c71(0xf7)];const _0x140ff2=await _0x40958c['sAGib'](getGitMetaData);_0x140ff2&&(this[_0x5d9c71(0xf7)]=_0x140ff2[_0x5d9c71(0x12c)]),this['_gitConfigured']=!![];}[a119_0x4b60cc(0x9c)](_0x235043){hooksMap[_0x235043]&&delete hooksMap[_0x235043];}['extractTestFilePath'](_0x387c27){const _0x422678=a119_0x4b60cc,_0x4ca716={'hPtMN':_0x422678(0x102),'hKmVg':function(_0x3a4025,_0x3bb2f6){return _0x3a4025(_0x3bb2f6);},'Vimdu':_0x422678(0x116)};if(_0x387c27[_0x422678(0x96)])return _0x387c27[_0x422678(0x96)];if(_0x387c27['asyncError']){try{const _0x53a09e=stackTrace[_0x422678(0x114)](_0x387c27[_0x422678(0x108)]);if(_0x53a09e[0x0]&&_0x53a09e[0x0][_0x422678(0xeb)]){const _0x1b6d45=_0x53a09e[0x0][_0x422678(0xeb)]();if(_0x1b6d45&&!_0x1b6d45[_0x422678(0xf4)](_0x4ca716['hPtMN']))return _0x1b6d45;}}catch(_0x1357ae){logger[_0x422678(0xa9)](_0x422678(0xd0)+util[_0x422678(0x142)](_0x1357ae));}if(_0x387c27[_0x422678(0x108)]['stack']){const _0x3619df=_0x387c27[_0x422678(0x108)][_0x422678(0xea)][_0x422678(0x117)]('\x0a');for(const _0x1803c4 of _0x3619df){const _0x40474f=_0x1803c4[_0x422678(0xc1)](/at (.+?):\d+:\d+/);if(_0x40474f&&_0x40474f[0x1]&&!_0x40474f[0x1][_0x422678(0xf4)](_0x4ca716['hPtMN']))return _0x40474f[0x1];}}}let _0x2e1c0a=_0x387c27[_0x422678(0x144)];while(_0x2e1c0a){if(_0x2e1c0a[_0x422678(0x96)])return _0x2e1c0a['file'];if(_0x2e1c0a[_0x422678(0x108)])try{const _0x19873e=stackTrace[_0x422678(0x114)](_0x2e1c0a[_0x422678(0x108)]);if(_0x19873e[0x0]&&_0x19873e[0x0][_0x422678(0xeb)]){const _0x429f9b=_0x19873e[0x0][_0x422678(0xeb)]();if(_0x429f9b&&!_0x429f9b[_0x422678(0xf4)](_0x4ca716['hPtMN']))return _0x429f9b;}}catch(_0x42b113){}_0x2e1c0a=_0x2e1c0a[_0x422678(0x144)];}try{const _0x537acd=_0x4ca716['hKmVg'](require,_0x4ca716[_0x422678(0xe3)]);if(_0x537acd&&_0x537acd[_0x422678(0xc5)]){const _0x10ca86=_0x537acd[_0x422678(0xc5)]();if(_0x10ca86&&_0x10ca86['testPath'])return _0x10ca86[_0x422678(0x101)];}}catch(_0x44f2b3){logger[_0x422678(0xa9)](_0x422678(0x14d)+util[_0x422678(0x142)](_0x44f2b3));}return null;}[a119_0x4b60cc(0xb5)](_0x2215f7){const _0x265c16=a119_0x4b60cc,_0x35c354={};_0x35c354[_0x265c16(0xf9)]=_0x265c16(0xdf),_0x35c354[_0x265c16(0xac)]=function(_0x1648fe,_0x2ae110){return _0x1648fe!==_0x2ae110;},_0x35c354['gxdoy']=_0x265c16(0x130),_0x35c354[_0x265c16(0xa7)]=_0x265c16(0x102),_0x35c354[_0x265c16(0x103)]=_0x265c16(0xf6),_0x35c354[_0x265c16(0x14b)]='hex';const _0x560ffb=_0x35c354;try{if(!_0x2215f7)return logger[_0x265c16(0x95)](_0x560ffb[_0x265c16(0xf9)]),null;const _0x3e54ec=_0x2215f7[_0x265c16(0xb4)]||_0x2215f7[_0x265c16(0x138)]||_0x2215f7['title']||_0x2215f7['displayName'];let _0x47f659=_0x3e54ec;if(_0x2215f7[_0x265c16(0x144)]&&_0x2215f7[_0x265c16(0x144)][_0x265c16(0x138)]&&_0x560ffb['vxmiT'](_0x2215f7[_0x265c16(0x144)][_0x265c16(0x138)],_0x560ffb[_0x265c16(0x151)])){const _0x296590=_0x2215f7[_0x265c16(0x138)]||_0x2215f7[_0x265c16(0xc3)];_0x296590&&(_0x47f659=_0x2215f7['parent'][_0x265c16(0x138)]+'\x20'+_0x296590);}let _0x23051a=_0x2215f7[_0x265c16(0x101)];if(!_0x23051a&&_0x2215f7[_0x265c16(0x108)]){try{const _0x183e08=stackTrace[_0x265c16(0x114)](_0x2215f7[_0x265c16(0x108)]);if(_0x183e08[0x0]&&_0x183e08[0x0][_0x265c16(0xeb)]){const _0x44e96d=_0x183e08[0x0][_0x265c16(0xeb)]();_0x44e96d&&!_0x44e96d[_0x265c16(0xf4)](_0x560ffb['QuKyf'])&&(_0x23051a=_0x44e96d);}}catch(_0x49d58c){logger[_0x265c16(0xa9)](_0x265c16(0xd0)+util['format'](_0x49d58c));}if(!_0x23051a&&_0x2215f7[_0x265c16(0x108)]['stack']){const _0x172caf=_0x2215f7[_0x265c16(0x108)][_0x265c16(0xea)][_0x265c16(0x117)]('\x0a');for(const _0x3cbe03 of _0x172caf){const _0x4e65d5=_0x3cbe03[_0x265c16(0xc1)](/at (.+?):\d+:\d+/);if(_0x4e65d5&&_0x4e65d5[0x1]&&!_0x4e65d5[0x1][_0x265c16(0xf4)](_0x560ffb[_0x265c16(0xa7)])){_0x23051a=_0x4e65d5[0x1];break;}}}}const _0x5a75cb=_0x23051a+'::'+_0x47f659,_0x4a77d4=crypto[_0x265c16(0xd3)](_0x560ffb[_0x265c16(0x103)])[_0x265c16(0xa1)](_0x5a75cb)[_0x265c16(0x11b)](_0x560ffb[_0x265c16(0x14b)])[_0x265c16(0x146)](0x0,0x8),_0x49332c=process[_0x265c16(0xfa)]+_0x265c16(0xf3)+_0x4a77d4;return logger[_0x265c16(0xa9)]('[jestUtils]\x20Created\x20identifier:\x20'+_0x49332c+_0x265c16(0x100)+_0x5a75cb),_0x49332c;}catch(_0x62453d){return logger[_0x265c16(0x95)](_0x265c16(0xbf)+util[_0x265c16(0x142)](_0x62453d)),null;}}[a119_0x4b60cc(0xcb)](_0x53e8ac){const _0x2d2a88=a119_0x4b60cc,_0x30982d={};_0x30982d[_0x2d2a88(0xce)]=_0x2d2a88(0x133);const _0xf463d0=_0x30982d;if(!_0x53e8ac)return logger[_0x2d2a88(0xa9)](_0xf463d0['SyCgP']),null;const _0x4ead58=this[_0x2d2a88(0x98)](_0x53e8ac),_0x15b632={};_0x15b632[_0x2d2a88(0x138)]=_0x53e8ac[_0x2d2a88(0x138)]||_0x53e8ac['title'],_0x15b632[_0x2d2a88(0x144)]=_0x53e8ac['parent'],_0x15b632[_0x2d2a88(0x101)]=_0x4ead58,_0x15b632[_0x2d2a88(0x108)]=_0x53e8ac[_0x2d2a88(0x108)];const _0x5c37eb=_0x15b632;return this[_0x2d2a88(0xb5)](_0x5c37eb);}['recreateIdentifierFromTestInfo'](_0x4c26af,_0x656b57=null){const _0x4aec31=a119_0x4b60cc,_0x32fa33={};_0x32fa33[_0x4aec31(0x99)]=_0x4aec31(0xb0);const _0x4c9ee=_0x32fa33;if(!_0x4c26af)return logger[_0x4aec31(0xa9)](_0x4c9ee[_0x4aec31(0x99)]),_0x656b57;if(_0x4c26af[_0x4aec31(0x113)])return logger['debug']('[jestUtils]\x20Using\x20stored\x20testIdentifier:\x20'+_0x4c26af[_0x4aec31(0x113)]),_0x4c26af[_0x4aec31(0x113)];return this['createJestTestIdentifier'](_0x4c26af)||_0x656b57;}}function a119_0x426c(){const _0x29b6e6=['ICOuy','zHQAD','[jestUtils]\x20expect.getState()\x20not\x20available:\x20','failure_reason','now','path','gxdoy','ebpIr','sTbyk','backtrace','failure_data','error','file','getHierarchy','extractTestFilePath','xkcQi','15087530fsalLx','VwUYQ','clearHooksMap','../../../helpers/test-observability/utils','448714lTxAWz','iIviM','../../../helpers/test-observability/error-handler.js','update','failure_type','errorsDetailed','Exception\x20in\x20createHookData:\x20','vTNVg','apply','QuKyf','failure_reason_expanded','debug','createHookData','sGVpo','vxmiT','sMSCk','xjJOH','ypxOE','[jestUtils]\x20No\x20testInfo\x20provided\x20for\x20recreation','skipped','toString','4VCLhHJ','fullName','createJestTestIdentifier','IyINI','30920SzDsBz','toISOString','Creating\x20hook\x20data\x20for\x20eventType:\x20','length','YPuwv','afterEach','createTestFrameworkData','recreateIdentifierFromTestInfo','[jestUtils]\x20Error\x20creating\x20identifier:\x20','fsKEq','match','HookRunStarted','title','failed','getState','vcywi','failure_backtrace','wAtPC','9oWswah','hooks','createIdentifierFromJestTest','finished_at','testAnalyticsId','SyCgP','jest','[jestUtils]\x20Error\x20parsing\x20asyncError\x20stack\x20trace:\x20','tDffC','finishedAt','createHash','util','type','Unknown\x20Test','_gitConfigured','XuYCB','inspect','Error\x20parsing\x20asyncError\x20stack\x20trace:\x20','OGANx','pTXgB','dddJa','currentTest','[jestUtils]\x20No\x20testInfo\x20provided,\x20cannot\x20create\x20identifier','../../../helpers/stackFrameUtils','907797aGXWLE','AFTER_EACH','Vimdu',',\x20testRunId:\x20','relative','jJShb','afterAll','472900wwJzaD','push','stack','getFileName','Failed\x20to\x20get\x20root\x20parent\x20file:\x20','ozhgY','prefixTestPath','getTime','passed','failure','cwd',':jest-','includes','toUpperCase','md5','_gitConfigPath','TestRunSkipped','WKyjA','pid','GTIls','No\x20test\x20data\x20provided\x20for\x20jest\x20test\x20event','javascript','getRootParentFile','jFbbq','\x20from\x20compositeKey:\x20','testPath','jest-circus','DSezb','_paths','startedAt','1370586BwclPU','EOcaE','asyncError','uuid','BEFORE_ALL','\x22\x20hook\x20for\x20\x22','TestRunFinished','Exception\x20in\x20getHookRunEventData:\x20','exports','Exception\x20in\x20checking\x20if\x20hook\x20is\x20internal:\x20','err','reverse','PgZvb','testIdentifier','parse','jnyWO','expect','split','Failed\x20to\x20get\x20hook\x20file\x20path:\x20','BPBEZ','vynsX','digest','[jestUtils]\x20pickUserFrameFile\x20found\x20no\x20user\x20frame\x20(trace\x20length=','File\x20path\x20could\x20not\x20be\x20found','76647oMMlot','__jestCurrentTestIdentifier','crypto','No\x20hook\x20data\x20provided\x20for\x20jest\x20hook\x20event','686CbFEVy','getTestIdentifier','isJestInternalHook','OZNnW','test','TcakZ','hCZGQ','huIvP','Bnypc','ZLJWG','root','call',',\x20hookUUID:\x20','rzMrA','ROOT_DESCRIBE_BLOCK','winstonLogger','beforeAll','[jestUtils]\x20No\x20test\x20object\x20provided','started_at','wtRVc','browserstack-node-agent/src/bin/jest','TsUQA','name','ofDOy','getName','result','mtUHQ','getHookRunEventData','../TestInfo.js','__workerDetails',',\x20testIdentifier:\x20','beforeEach','format','stack-trace','parent','PuBVG','substring','configureGit','DNEwa','judNE','errors'];a119_0x426c=function(){return _0x29b6e6;};return a119_0x426c();}module[a119_0x4b60cc(0x10e)]=o11yClassErrorHandler(JestUtils,[a119_0x4b60cc(0x147),a119_0x4b60cc(0x97),'getRootParentFile',a119_0x4b60cc(0x13a),a119_0x4b60cc(0x124),'getTestIdentifier',a119_0x4b60cc(0xbd),a119_0x4b60cc(0xaa),'getHookRunEventData',a119_0x4b60cc(0x9c),a119_0x4b60cc(0x98),a119_0x4b60cc(0xb5),a119_0x4b60cc(0xcb),a119_0x4b60cc(0xbe)]);
|
|
1
|
+
const a119_0x229a0f=a119_0x3873;(function(_0x27941d,_0x5b1529){const _0x48a0c3=a119_0x3873,_0x51bc34=_0x27941d();while(!![]){try{const _0x5a6fa8=parseInt(_0x48a0c3(0x182))/0x1+parseInt(_0x48a0c3(0x213))/0x2+parseInt(_0x48a0c3(0x165))/0x3+-parseInt(_0x48a0c3(0x201))/0x4*(-parseInt(_0x48a0c3(0x1c7))/0x5)+-parseInt(_0x48a0c3(0x178))/0x6*(parseInt(_0x48a0c3(0x20d))/0x7)+parseInt(_0x48a0c3(0x1a9))/0x8+-parseInt(_0x48a0c3(0x1a5))/0x9;if(_0x5a6fa8===_0x5b1529)break;else _0x51bc34['push'](_0x51bc34['shift']());}catch(_0xabee72){_0x51bc34['push'](_0x51bc34['shift']());}}}(a119_0x345f,0x7daaf));const path=require('path'),util=require(a119_0x229a0f(0x181)),crypto=require(a119_0x229a0f(0x1b7)),{getGitMetaData,isUndefined,nestedKeyValue}=require(a119_0x229a0f(0x179)),logger=require('../../../helpers/logger.js')[a119_0x229a0f(0x17a)],{o11yClassErrorHandler}=require('../../../helpers/test-observability/error-handler.js'),TestInfo=require('../TestInfo.js'),{failureData,getFailureType,PathHelper}=require(a119_0x229a0f(0x1c3)),stackTrace=require('stack-trace'),{pickUserFrameFile}=require(a119_0x229a0f(0x1a7)),a119_0x37dbd8={};a119_0x37dbd8['beforeAll']=a119_0x229a0f(0x208),a119_0x37dbd8[a119_0x229a0f(0x1ca)]=a119_0x229a0f(0x1f3),a119_0x37dbd8[a119_0x229a0f(0x1ff)]=a119_0x229a0f(0x17f),a119_0x37dbd8[a119_0x229a0f(0x1b3)]='AFTER_EACH';function a119_0x3873(_0x240096,_0x588408){const _0x345fc9=a119_0x345f();return a119_0x3873=function(_0x3873f7,_0x4fc098){_0x3873f7=_0x3873f7-0x160;let _0x22d6a3=_0x345fc9[_0x3873f7];return _0x22d6a3;},a119_0x3873(_0x240096,_0x588408);}function a119_0x345f(){const _0x9d8c7e=['toUpperCase','debug','browserstack-node-agent/src/bin/jest','result','cwd','stack','includes','createHash','fgzwu','aFhGl','moTQT','getFileName','getName','getHookRunEventData','format','lClUI','parse','AFTER_ALL','getHierarchy','getState','JGLXc','recreateIdentifierFromTestInfo','substring','TestRunFinished','cpunM','[jestUtils]\x20Created\x20identifier:\x20','toISOString','Exception\x20in\x20createHookData:\x20','No\x20hook\x20data\x20provided\x20for\x20jest\x20hook\x20event','beforeEach','[jestUtils]\x20pickUserFrameFile\x20found\x20no\x20user\x20frame\x20(trace\x20length=','3812JIvRHU','name','qbosb','expanded','toString','[jestUtils]\x20Error\x20creating\x20identifier:\x20','bPBre','BEFORE_ALL','LpkHA','MIPAm','bssNY','Creating\x20test\x20framework\x20data\x20for\x20eventType:\x20','18697bMeBZz','match','Exception\x20in\x20getHookRunEventData:\x20','[jestUtils]\x20Error\x20getting\x20test\x20identifier:\x20','vVqFH','WwaqI','1153536fDfTig','split','errorsDetailed','test','skipped','jest-circus','2129280TuYKOO','iUDZz','file',',\x20testRunId:\x20','sTwxq','clearHooksMap','HNLPV','cBAyx','pIghr','testAnalyticsId','ROOT_DESCRIBE_BLOCK','oOWeE','lrbLZ','NeEHJ','find','ZBhov','[jestUtils]\x20No\x20testInfo\x20provided\x20for\x20recreation','YXrVn','HookRunStarted','1806TSusGB','../../../helpers/helper.js','winstonLogger','unknown','onDbC','startedAt','update','BEFORE_EACH','ZfdlQ','util','974472VIlktA','started_at','pid','nWfuf','FmJfm','passed','isJestInternalHook','__workerDetails','parent','rwCaH','bIygI','asyncError','error','TestRunSkipped','backtrace','bkaXQ','Eovlk','hex','Error\x20parsing\x20asyncError\x20stack\x20trace:\x20','relative','javascript','createJestTestIdentifier','hooks','kwQZV','YGJwU','failure_reason','\x20from\x20compositeKey:\x20','CqIkY','mNjbS','WWjeI','getRootParentFile','_gitConfigPath','createIdentifierFromJestTest','errors','createTestFrameworkData','13204062ffzAFs','failure_type','../../../helpers/stackFrameUtils','xZXpC','2185856GnIlLO',',\x20testIdentifier:\x20','now','getTestIdentifier','jest','mbETC','Unknown\x20Test','RXwZs','push','duration','afterEach','failure_reason_expanded','md5','nBFoE','crypto','nXaQp','ewiWs','type','[jestUtils]\x20Using\x20stored\x20testIdentifier:\x20','File\x20path\x20could\x20not\x20be\x20found','pending','Creating\x20hook\x20data\x20for\x20eventType:\x20',':jest-','oYoNL','createHookData','ybbPE','../../../helpers/test-observability/utils','vKXfF','_gitConfigured','oLVja','1320OnRiNk','VcsLY','err','afterAll','fullName','testPath','prefixTestPath','currentTest','__jestCurrentTestIdentifier','retryOf','Failed\x20to\x20get\x20hook\x20file\x20path:\x20','[jestUtils]\x20expect.getState()\x20not\x20available:\x20','[jestUtils]\x20Error\x20parsing\x20asyncError\x20stack\x20trace:\x20','extractTestFilePath','apply','No\x20test\x20data\x20provided\x20for\x20jest\x20test\x20event','_paths','NFhxb','bVoDr','title','configureGit','inspect','failed','length','Exception\x20in\x20checking\x20if\x20hook\x20is\x20internal:\x20','testIdentifier','wLLrl'];a119_0x345f=function(){return _0x9d8c7e;};return a119_0x345f();}const HOOK_TYPES_MAP=a119_0x37dbd8,hooksMap={};class JestUtils{constructor(){const _0x5d1708=a119_0x229a0f;this[_0x5d1708(0x1c5)]=![],this[_0x5d1708(0x1a1)]=null,this[_0x5d1708(0x1d7)]=new PathHelper({'cwd':process[_0x5d1708(0x1e6)]()},undefined);}async[a119_0x229a0f(0x1a4)](_0x55a78a,_0x59520d,_0x391fce='TestRunFinished',_0x2e5747=undefined){const _0x516f19=a119_0x229a0f,_0x2141d8={'kwQZV':_0x516f19(0x1d6),'ewiWs':_0x516f19(0x164),'mbETC':_0x516f19(0x1bc),'oYoNL':function(_0x2d190d,_0x37741b){return _0x2d190d!==_0x37741b;},'aFhGl':'test','cpunM':_0x516f19(0x1c9),'ZBhov':'pending','NeEHJ':function(_0x4c98ae,_0x4c6e93){return _0x4c98ae===_0x4c6e93;},'lrbLZ':_0x516f19(0x18f),'ZfdlQ':_0x516f19(0x163),'FmJfm':function(_0x59ad99,_0x215f4f){return _0x59ad99===_0x215f4f;},'vVqFH':_0x516f19(0x1f9),'tIRka':function(_0x51dfb2,_0x189f36){return _0x51dfb2>_0x189f36;},'onDbC':_0x516f19(0x1dd),'bssNY':'passed','pIghr':function(_0x45bfec,_0x320468){return _0x45bfec-_0x320468;},'WFWlI':_0x516f19(0x196),'WwaqI':_0x516f19(0x1ad),'nXaQp':function(_0x1a224e,_0x1010ce){return _0x1a224e(_0x1010ce);},'HiZyh':function(_0x1af7ca,_0x3fdacd){return _0x1af7ca===_0x3fdacd;}};logger[_0x516f19(0x1e3)](_0x516f19(0x20c)+_0x391fce+_0x516f19(0x1aa)+_0x59520d);try{if(!_0x55a78a)return logger['debug'](_0x2141d8[_0x516f19(0x199)]),null;if(_0x55a78a['fn']&&_0x55a78a['fn'][_0x516f19(0x205)]()[_0x516f19(0x20e)](/browserstack internal helper hook/))return null;await this[_0x516f19(0x1db)]();let _0x5050bf;try{_0x5050bf=this[_0x516f19(0x1a0)](_0x55a78a);if(_0x5050bf&&_0x5050bf['includes'](_0x2141d8[_0x516f19(0x1b9)]))return null;}catch(_0x5966ec){logger[_0x516f19(0x1e3)]('Failed\x20to\x20get\x20root\x20parent\x20file:\x20'+util[_0x516f19(0x1f0)](_0x5966ec)),_0x5050bf=null;}const _0x280e60=this[_0x516f19(0x1f4)](_0x55a78a),_0x243f32=this[_0x516f19(0x1ee)](_0x55a78a),_0x1b4252=_0x5050bf?this[_0x516f19(0x1d7)][_0x516f19(0x1cd)](_0x5050bf):_0x2141d8[_0x516f19(0x1ae)];let _0x1591e0=[];const _0x199967=_0x55a78a[_0x516f19(0x161)]||_0x55a78a[_0x516f19(0x1a3)];if(_0x2141d8[_0x516f19(0x1c0)](_0x199967,undefined))_0x1591e0=[_0x199967,_0x2141d8[_0x516f19(0x1eb)]];else _0x2141d8[_0x516f19(0x1c0)](_0x2e5747,undefined)&&(_0x1591e0=[_0x2e5747,_0x2141d8[_0x516f19(0x1fa)]]);const _0x5319d1=_0x2141d8['oYoNL'](_0x199967,undefined)?util[_0x516f19(0x1dc)](_0x199967[0x0]):_0x2141d8['oYoNL'](_0x2e5747,undefined)?_0x2e5747[_0x516f19(0x205)]():undefined;let _0x133c4e=_0x2141d8[_0x516f19(0x174)];if(_0x2141d8[_0x516f19(0x172)](_0x391fce,_0x2141d8['lrbLZ']))_0x133c4e=_0x2141d8[_0x516f19(0x180)];else _0x2141d8[_0x516f19(0x186)](_0x391fce,_0x2141d8[_0x516f19(0x211)])&&(_0x199967&&_0x2141d8['tIRka'](_0x199967[_0x516f19(0x1de)],0x0)?_0x133c4e=_0x2141d8[_0x516f19(0x17c)]:_0x133c4e=_0x2141d8[_0x516f19(0x20b)]);let _0x2f1af2=null;if(_0x2141d8[_0x516f19(0x1c0)](_0x55a78a[_0x516f19(0x1b2)],undefined))_0x2f1af2=_0x55a78a['duration'];else(_0x391fce[_0x516f19(0x20e)](/Finished/)||_0x391fce['match'](/Skipped/))&&(_0x55a78a[_0x516f19(0x183)]&&(_0x2f1af2=_0x2141d8[_0x516f19(0x16d)](Date[_0x516f19(0x1ab)](),new Date(_0x55a78a[_0x516f19(0x183)])['getTime']())));const _0x13c802=_0x55a78a['fn']?_0x55a78a['fn'][_0x516f19(0x205)]():null,_0x32c485={'id':_0x59520d,'uuid':_0x59520d,'startedAt':_0x55a78a['started_at']||new Date()[_0x516f19(0x1fc)](),'finishedAt':_0x391fce[_0x516f19(0x20e)](/Finished/)||_0x391fce['match'](/Skipped/)?new Date()[_0x516f19(0x1fc)]():null,'type':_0x2141d8['aFhGl'],'body':{'lang':_0x2141d8['WFWlI'],'code':_0x13c802},'name':_0x243f32,'errorsDetailed':_0x2141d8['tIRka'](_0x199967?.[_0x516f19(0x1de)],0x0)?_0x199967[0x0]:_0x199967?_0x199967:undefined,'scopes':_0x280e60,'file_name':_0x1b4252,'location':_0x1b4252,'vc_filepath':this[_0x516f19(0x1a1)]&&_0x5050bf?path[_0x516f19(0x195)](this[_0x516f19(0x1a1)],_0x5050bf):null,'framework':_0x2141d8[_0x516f19(0x212)],'result':_0x133c4e,'failure_reason':_0x5319d1,'duration_in_ms':_0x2f1af2,'failure':failureData[_0x516f19(0x1d5)](null,_0x1591e0),'failure_type':!_0x5319d1?null:_0x2141d8[_0x516f19(0x1b8)](getFailureType,_0x5319d1),'retry_of':_0x55a78a[_0x516f19(0x1d0)]||null,'customRerunParam':{'rerun_name':_0x243f32}};_0x2141d8['HiZyh'](_0x391fce,_0x2141d8[_0x516f19(0x171)])&&!_0x32c485[_0x516f19(0x17d)]&&(_0x32c485[_0x516f19(0x17d)]=_0x32c485['finishedAt']);const _0x49efb3=_0x32c485['failure']&&_0x32c485['failure'][0x0];return _0x49efb3&&(_0x32c485['failure_backtrace']=_0x49efb3[_0x516f19(0x190)],_0x32c485[_0x516f19(0x1b4)]=_0x49efb3[_0x516f19(0x204)]),(_0x2141d8[_0x516f19(0x172)](_0x391fce,_0x2141d8[_0x516f19(0x211)])||_0x2141d8[_0x516f19(0x172)](_0x391fce,_0x2141d8['lrbLZ']))&&(_0x55a78a[_0x516f19(0x198)]&&(_0x32c485[_0x516f19(0x198)]=_0x55a78a['hooks'])),_0x32c485;}catch(_0x3cfbca){return logger[_0x516f19(0x1e3)]('Exception\x20in\x20createTestFrameworkData:\x20'+util[_0x516f19(0x1f0)](_0x3cfbca)),null;}}async[a119_0x229a0f(0x1c1)](_0x4430df,_0x554dfe,_0x1145ef,_0x5d2c15){const _0x4b5426=a119_0x229a0f,_0x1c4ccb={'mNjbS':_0x4b5426(0x1fe),'njYJo':_0x4b5426(0x164),'mAjtG':_0x4b5426(0x1e4),'nBFoE':_0x4b5426(0x17b),'JAlIb':_0x4b5426(0x1bd),'lClUI':function(_0x93c775,_0x92575d){return _0x93c775===_0x92575d;},'szbFc':'HookRunFinished','qRPaf':function(_0x1f44bf,_0x3f9a81){return _0x1f44bf>_0x3f9a81;},'NFhxb':_0x4b5426(0x1dd),'sTwxq':function(_0x4ac4c0,_0x2dad65){return _0x4ac4c0(_0x2dad65);},'RXwZs':_0x4b5426(0x162),'qbosb':_0x4b5426(0x187),'bVoDr':'hook','Eovlk':_0x4b5426(0x196),'bIygI':'jest','MIPAm':function(_0x2e8952,_0x575e69){return _0x2e8952===_0x575e69;},'LpkHA':_0x4b5426(0x177)};logger['debug'](_0x4b5426(0x1be)+_0x1145ef+',\x20hookUUID:\x20'+_0x554dfe+_0x4b5426(0x168)+_0x5d2c15);try{if(!_0x4430df)return logger['debug'](_0x1c4ccb[_0x4b5426(0x19e)]),null;if(this[_0x4b5426(0x188)](_0x4430df))return null;await this[_0x4b5426(0x1db)]();let _0x206596=null;try{_0x206596=this['getRootParentFile'](_0x4430df);if(_0x206596&&_0x206596[_0x4b5426(0x1e8)](_0x1c4ccb['njYJo']))return null;if(_0x206596&&_0x206596[_0x4b5426(0x1e8)](_0x1c4ccb['mAjtG']))return null;}catch(_0x141e3e){logger[_0x4b5426(0x1e3)](_0x4b5426(0x1d1)+util[_0x4b5426(0x1f0)](_0x141e3e));}const _0x1772be=_0x206596?this[_0x4b5426(0x1d7)][_0x4b5426(0x1cd)](_0x206596):_0x206596,_0x4e3e66=this[_0x4b5426(0x1ee)](_0x4430df),_0x162bf9=_0x4430df['type']||_0x1c4ccb[_0x4b5426(0x1b6)],_0x5cd291=HOOK_TYPES_MAP[_0x162bf9]||_0x162bf9[_0x4b5426(0x1e2)](),_0x29ce99=_0x4430df[_0x4b5426(0x18a)]&&_0x4430df[_0x4b5426(0x18a)][_0x4b5426(0x202)]?_0x4430df[_0x4b5426(0x18a)][_0x4b5426(0x202)]:'';let _0x5e51ff=_0x1c4ccb['JAlIb'],_0x499297=null,_0x524f16=null,_0x132909=null,_0x587141=null;_0x1c4ccb[_0x4b5426(0x1f1)](_0x1145ef,_0x1c4ccb['szbFc'])&&(_0x587141=new Date()[_0x4b5426(0x1fc)](),_0x4430df['errorsDetailed']&&_0x1c4ccb['qRPaf'](_0x4430df['errorsDetailed'][_0x4b5426(0x1de)],0x0)?(_0x5e51ff=_0x1c4ccb[_0x4b5426(0x1d8)],_0x524f16=util[_0x4b5426(0x1dc)](_0x4430df['errorsDetailed'][0x0]),_0x499297=_0x1c4ccb[_0x4b5426(0x169)](getFailureType,_0x524f16),_0x132909=failureData[_0x4b5426(0x1d5)](null,[_0x4430df[_0x4b5426(0x161)],_0x1c4ccb[_0x4b5426(0x1b0)]])):_0x5e51ff=_0x1c4ccb[_0x4b5426(0x203)]);const _0x3643b4={'uuid':_0x554dfe,'type':_0x1c4ccb[_0x4b5426(0x1d9)],'hook_type':_0x5cd291,'name':_0x4e3e66,'body':{'lang':_0x1c4ccb[_0x4b5426(0x192)],'code':_0x4430df['fn']?_0x4430df['fn'][_0x4b5426(0x205)]():null},'tags':[],'test_run_id':_0x5d2c15,'scope':_0x29ce99,'scopes':[_0x29ce99],'file_name':_0x1772be,'location':_0x1772be,'vc_filepath':this[_0x4b5426(0x1a1)]&&_0x206596?path['relative'](this['_gitConfigPath'],_0x206596):null,'result':_0x5e51ff,'started_at':_0x4430df['started_at']||new Date()[_0x4b5426(0x1fc)](),'finished_at':_0x587141,'failure_type':_0x499297,'failure_reason':_0x524f16,'failure_data':_0x132909,'framework':_0x1c4ccb[_0x4b5426(0x18c)]};return _0x1c4ccb[_0x4b5426(0x20a)](_0x1145ef,_0x1c4ccb[_0x4b5426(0x209)])&&(hooksMap[_0x5d2c15]?hooksMap[_0x5d2c15]['push'](_0x3643b4):hooksMap[_0x5d2c15]=[_0x3643b4]),_0x3643b4;}catch(_0x26321f){return logger[_0x4b5426(0x1e3)](_0x4b5426(0x1fd)+util[_0x4b5426(0x1f0)](_0x26321f)),null;}}[a119_0x229a0f(0x1ef)](_0x491826,_0x3769f6,_0x3abb64){const _0x2fe6f2=a119_0x229a0f,_0x13b174={'oiTUF':function(_0x2672f5,_0x2fb34e){return _0x2672f5>_0x2fb34e;},'JGLXc':'failed','moTQT':function(_0x89191d,_0x4c11c1){return _0x89191d(_0x4c11c1);},'YXrVn':_0x2fe6f2(0x162),'oLVja':_0x2fe6f2(0x187)};try{const _0x4d4526=hooksMap[_0x491826];if(!_0x4d4526)return null;const _0x27f4fd=_0x4d4526[_0x2fe6f2(0x173)](_0x4e09d3=>_0x4e09d3['uuid']===_0x3769f6);if(!_0x27f4fd)return null;return _0x27f4fd['finished_at']=new Date()[_0x2fe6f2(0x1fc)](),_0x3abb64['errorsDetailed']&&_0x13b174['oiTUF'](_0x3abb64['errorsDetailed'][_0x2fe6f2(0x1de)],0x0)?(_0x27f4fd[_0x2fe6f2(0x1e5)]=_0x13b174[_0x2fe6f2(0x1f6)],_0x27f4fd['failure_reason']=util['inspect'](_0x3abb64[_0x2fe6f2(0x161)][0x0]),_0x27f4fd[_0x2fe6f2(0x1a6)]=_0x13b174[_0x2fe6f2(0x1ec)](getFailureType,_0x27f4fd[_0x2fe6f2(0x19b)]),_0x27f4fd['failure_data']=failureData[_0x2fe6f2(0x1d5)](null,[_0x3abb64[_0x2fe6f2(0x161)],_0x13b174[_0x2fe6f2(0x176)]])):_0x27f4fd[_0x2fe6f2(0x1e5)]=_0x13b174[_0x2fe6f2(0x1c6)],_0x27f4fd;}catch(_0x5a5fe7){return logger['debug'](_0x2fe6f2(0x20f)+util['format'](_0x5a5fe7)),null;}}[a119_0x229a0f(0x1ee)](_0x31c630){const _0x1549ed=a119_0x229a0f,_0x26238d={};_0x26238d[_0x1549ed(0x19d)]=function(_0x42b4be,_0x49465b){return _0x42b4be!==_0x49465b;},_0x26238d[_0x1549ed(0x16c)]='test',_0x26238d[_0x1549ed(0x19a)]=_0x1549ed(0x1af);const _0x2b084f=_0x26238d;if(_0x2b084f[_0x1549ed(0x19d)](_0x31c630['type'],_0x2b084f['cBAyx']))return'\x22'+_0x31c630[_0x1549ed(0x1ba)]+'\x22\x20hook\x20for\x20\x22'+(_0x31c630[_0x1549ed(0x18a)]&&_0x31c630['parent'][_0x1549ed(0x202)])+'\x22';return _0x31c630[_0x1549ed(0x202)]||_0x2b084f[_0x1549ed(0x19a)];}[a119_0x229a0f(0x1f4)](_0x48ace3){const _0x5bfdcc=a119_0x229a0f,_0x2ef229={};_0x2ef229['VcsLY']=function(_0x4d135f,_0x381fca){return _0x4d135f!==_0x381fca;},_0x2ef229[_0x5bfdcc(0x166)]=_0x5bfdcc(0x16f);const _0x3ffdc0=_0x2ef229,_0x37da4b=[];if(_0x48ace3&&_0x48ace3[_0x5bfdcc(0x18a)]){let _0x5c4e7b=_0x48ace3[_0x5bfdcc(0x18a)];while(_0x5c4e7b&&_0x5c4e7b[_0x5bfdcc(0x202)]&&_0x3ffdc0[_0x5bfdcc(0x1c8)](_0x5c4e7b['name'],'')&&_0x3ffdc0['VcsLY'](_0x5c4e7b[_0x5bfdcc(0x202)],_0x3ffdc0[_0x5bfdcc(0x166)])){_0x37da4b[_0x5bfdcc(0x1b1)](_0x5c4e7b[_0x5bfdcc(0x202)]),_0x5c4e7b=_0x5c4e7b[_0x5bfdcc(0x18a)];}}return _0x37da4b['reverse'](),_0x37da4b;}[a119_0x229a0f(0x1a0)](_0x5b8996){const _0x45268f=a119_0x229a0f,_0x305d81={'rwCaH':function(_0x346ac7,_0x1045dc){return _0x346ac7(_0x1045dc);}};if(_0x5b8996[_0x45268f(0x167)])return _0x5b8996[_0x45268f(0x167)];if(_0x5b8996[_0x45268f(0x18d)])try{const _0x4857ed=stackTrace[_0x45268f(0x1f2)]['call'](stackTrace,_0x5b8996[_0x45268f(0x18d)]),_0x4574be=_0x305d81[_0x45268f(0x18b)](pickUserFrameFile,_0x4857ed);if(_0x4574be)return _0x4574be;logger['debug'](_0x45268f(0x200)+_0x4857ed[_0x45268f(0x1de)]+')');}catch(_0x92af66){logger[_0x45268f(0x1e3)](_0x45268f(0x194)+util[_0x45268f(0x1f0)](_0x92af66));}return null;}[a119_0x229a0f(0x188)](_0x4c2eb6){const _0x231444=a119_0x229a0f,_0x443ab2={};_0x443ab2['hSgKx']=_0x231444(0x164);const _0x470795=_0x443ab2;try{const _0x59d7ee=this[_0x231444(0x1a0)](_0x4c2eb6);if(!_0x59d7ee||_0x59d7ee[_0x231444(0x1e8)](_0x470795['hSgKx']))return!![];}catch(_0xd1d550){logger[_0x231444(0x1e3)](_0x231444(0x1df)+util[_0x231444(0x1f0)](_0xd1d550));}return![];}[a119_0x229a0f(0x1ac)](_0x38fea5=null){const _0x523a74=a119_0x229a0f;try{const _0x1b3e46=_0x38fea5||global[_0x523a74(0x189)]||{};if(global[_0x523a74(0x1cf)])return global[_0x523a74(0x1cf)];if(_0x1b3e46?.[_0x523a74(0x1ce)]?.[_0x523a74(0x16e)])return _0x1b3e46[_0x523a74(0x1ce)][_0x523a74(0x16e)];if(_0x1b3e46?.[_0x523a74(0x1ce)]?.['id'])return _0x1b3e46[_0x523a74(0x1ce)]['id'];return null;}catch(_0x1f54b6){return logger[_0x523a74(0x1e3)](_0x523a74(0x210)+util[_0x523a74(0x1f0)](_0x1f54b6)),null;}}async[a119_0x229a0f(0x1db)](){const _0x4292d5=a119_0x229a0f,_0x116e5d={'vKXfF':function(_0x426d80){return _0x426d80();}};if(this[_0x4292d5(0x1c5)])return this['_gitConfigPath'];const _0x386e10=await _0x116e5d[_0x4292d5(0x1c4)](getGitMetaData);_0x386e10&&(this[_0x4292d5(0x1a1)]=_0x386e10['root']),this[_0x4292d5(0x1c5)]=!![];}[a119_0x229a0f(0x16a)](_0x566a9c){hooksMap[_0x566a9c]&&delete hooksMap[_0x566a9c];}[a119_0x229a0f(0x1d4)](_0x3f5df8){const _0x2a6ae3=a119_0x229a0f,_0x56ac59={'bPBre':_0x2a6ae3(0x164),'HNLPV':function(_0xa58d4f,_0x1e7f4a){return _0xa58d4f(_0x1e7f4a);},'wLLrl':'expect'};if(_0x3f5df8['file'])return _0x3f5df8['file'];if(_0x3f5df8[_0x2a6ae3(0x18d)]){try{const _0x5e58ba=stackTrace[_0x2a6ae3(0x1f2)](_0x3f5df8[_0x2a6ae3(0x18d)]);if(_0x5e58ba[0x0]&&_0x5e58ba[0x0][_0x2a6ae3(0x1ed)]){const _0x6baabf=_0x5e58ba[0x0][_0x2a6ae3(0x1ed)]();if(_0x6baabf&&!_0x6baabf[_0x2a6ae3(0x1e8)](_0x56ac59['bPBre']))return _0x6baabf;}}catch(_0x241ddf){logger[_0x2a6ae3(0x1e3)](_0x2a6ae3(0x1d3)+util[_0x2a6ae3(0x1f0)](_0x241ddf));}if(_0x3f5df8[_0x2a6ae3(0x18d)][_0x2a6ae3(0x1e7)]){const _0x4e9c84=_0x3f5df8[_0x2a6ae3(0x18d)][_0x2a6ae3(0x1e7)][_0x2a6ae3(0x160)]('\x0a');for(const _0xd45ddc of _0x4e9c84){const _0x4fede2=_0xd45ddc[_0x2a6ae3(0x20e)](/at (.+?):\d+:\d+/);if(_0x4fede2&&_0x4fede2[0x1]&&!_0x4fede2[0x1]['includes'](_0x56ac59[_0x2a6ae3(0x207)]))return _0x4fede2[0x1];}}}let _0x512ce1=_0x3f5df8[_0x2a6ae3(0x18a)];while(_0x512ce1){if(_0x512ce1['file'])return _0x512ce1[_0x2a6ae3(0x167)];if(_0x512ce1[_0x2a6ae3(0x18d)])try{const _0x1cca55=stackTrace[_0x2a6ae3(0x1f2)](_0x512ce1['asyncError']);if(_0x1cca55[0x0]&&_0x1cca55[0x0]['getFileName']){const _0x7b981d=_0x1cca55[0x0]['getFileName']();if(_0x7b981d&&!_0x7b981d['includes'](_0x56ac59['bPBre']))return _0x7b981d;}}catch(_0x15296d){}_0x512ce1=_0x512ce1[_0x2a6ae3(0x18a)];}try{const _0x3dd920=_0x56ac59[_0x2a6ae3(0x16b)](require,_0x56ac59[_0x2a6ae3(0x1e1)]);if(_0x3dd920&&_0x3dd920[_0x2a6ae3(0x1f5)]){const _0x3f10be=_0x3dd920[_0x2a6ae3(0x1f5)]();if(_0x3f10be&&_0x3f10be['testPath'])return _0x3f10be[_0x2a6ae3(0x1cc)];}}catch(_0x2767d5){logger['debug'](_0x2a6ae3(0x1d2)+util[_0x2a6ae3(0x1f0)](_0x2767d5));}return null;}[a119_0x229a0f(0x197)](_0x35e280){const _0x51b6f7=a119_0x229a0f,_0x4e7dab={};_0x4e7dab[_0x51b6f7(0x170)]='[jestUtils]\x20No\x20testInfo\x20provided,\x20cannot\x20create\x20identifier',_0x4e7dab[_0x51b6f7(0x1ea)]=function(_0x3d2a88,_0x580409){return _0x3d2a88!==_0x580409;},_0x4e7dab[_0x51b6f7(0x19f)]=_0x51b6f7(0x16f),_0x4e7dab[_0x51b6f7(0x1a8)]=_0x51b6f7(0x164),_0x4e7dab[_0x51b6f7(0x185)]=_0x51b6f7(0x1b5),_0x4e7dab['YeFzX']=_0x51b6f7(0x193);const _0x487181=_0x4e7dab;try{if(!_0x35e280)return logger[_0x51b6f7(0x18e)](_0x487181['oOWeE']),null;const _0x3b700e=_0x35e280[_0x51b6f7(0x1cb)]||_0x35e280['name']||_0x35e280['title']||_0x35e280['displayName'];let _0x3b8c40=_0x3b700e;if(_0x35e280[_0x51b6f7(0x18a)]&&_0x35e280[_0x51b6f7(0x18a)][_0x51b6f7(0x202)]&&_0x487181[_0x51b6f7(0x1ea)](_0x35e280[_0x51b6f7(0x18a)][_0x51b6f7(0x202)],_0x487181[_0x51b6f7(0x19f)])){const _0x395b29=_0x35e280[_0x51b6f7(0x202)]||_0x35e280[_0x51b6f7(0x1da)];_0x395b29&&(_0x3b8c40=_0x35e280['parent']['name']+'\x20'+_0x395b29);}let _0x2d8c64=_0x35e280[_0x51b6f7(0x1cc)];if(!_0x2d8c64&&_0x35e280[_0x51b6f7(0x18d)]){try{const _0x873ce4=stackTrace[_0x51b6f7(0x1f2)](_0x35e280['asyncError']);if(_0x873ce4[0x0]&&_0x873ce4[0x0][_0x51b6f7(0x1ed)]){const _0x40d48f=_0x873ce4[0x0]['getFileName']();_0x40d48f&&!_0x40d48f['includes'](_0x487181[_0x51b6f7(0x1a8)])&&(_0x2d8c64=_0x40d48f);}}catch(_0x5a899d){logger[_0x51b6f7(0x1e3)](_0x51b6f7(0x1d3)+util[_0x51b6f7(0x1f0)](_0x5a899d));}if(!_0x2d8c64&&_0x35e280[_0x51b6f7(0x18d)]['stack']){const _0x19e4de=_0x35e280[_0x51b6f7(0x18d)][_0x51b6f7(0x1e7)][_0x51b6f7(0x160)]('\x0a');for(const _0x3a5387 of _0x19e4de){const _0x56ef55=_0x3a5387[_0x51b6f7(0x20e)](/at (.+?):\d+:\d+/);if(_0x56ef55&&_0x56ef55[0x1]&&!_0x56ef55[0x1][_0x51b6f7(0x1e8)](_0x487181[_0x51b6f7(0x1a8)])){_0x2d8c64=_0x56ef55[0x1];break;}}}}const _0xe9a5b6=_0x2d8c64+'::'+_0x3b8c40,_0x40d4ac=crypto[_0x51b6f7(0x1e9)](_0x487181['nWfuf'])[_0x51b6f7(0x17e)](_0xe9a5b6)['digest'](_0x487181['YeFzX'])[_0x51b6f7(0x1f8)](0x0,0x8),_0x1ec138=process[_0x51b6f7(0x184)]+_0x51b6f7(0x1bf)+_0x40d4ac;return logger[_0x51b6f7(0x1e3)](_0x51b6f7(0x1fb)+_0x1ec138+_0x51b6f7(0x19c)+_0xe9a5b6),_0x1ec138;}catch(_0x5f3602){return logger[_0x51b6f7(0x18e)](_0x51b6f7(0x206)+util[_0x51b6f7(0x1f0)](_0x5f3602)),null;}}[a119_0x229a0f(0x1a2)](_0x678729){const _0x5e4917=a119_0x229a0f,_0x59f426={};_0x59f426['ybbPE']='[jestUtils]\x20No\x20test\x20object\x20provided';const _0x63a831=_0x59f426;if(!_0x678729)return logger[_0x5e4917(0x1e3)](_0x63a831[_0x5e4917(0x1c2)]),null;const _0x489f5b=this[_0x5e4917(0x1d4)](_0x678729),_0x10e6c3={};_0x10e6c3[_0x5e4917(0x202)]=_0x678729[_0x5e4917(0x202)]||_0x678729[_0x5e4917(0x1da)],_0x10e6c3['parent']=_0x678729[_0x5e4917(0x18a)],_0x10e6c3['testPath']=_0x489f5b,_0x10e6c3[_0x5e4917(0x18d)]=_0x678729['asyncError'];const _0x47eb46=_0x10e6c3;return this[_0x5e4917(0x197)](_0x47eb46);}[a119_0x229a0f(0x1f7)](_0x1dca67,_0x41cd42=null){const _0x4587c7=a119_0x229a0f,_0x454a56={};_0x454a56[_0x4587c7(0x191)]=_0x4587c7(0x175);const _0x3c6950=_0x454a56;if(!_0x1dca67)return logger[_0x4587c7(0x1e3)](_0x3c6950[_0x4587c7(0x191)]),_0x41cd42;if(_0x1dca67[_0x4587c7(0x1e0)])return logger[_0x4587c7(0x1e3)](_0x4587c7(0x1bb)+_0x1dca67[_0x4587c7(0x1e0)]),_0x1dca67['testIdentifier'];return this['createJestTestIdentifier'](_0x1dca67)||_0x41cd42;}}module['exports']=o11yClassErrorHandler(JestUtils,[a119_0x229a0f(0x1db),a119_0x229a0f(0x1f4),'getRootParentFile',a119_0x229a0f(0x1ee),a119_0x229a0f(0x188),'getTestIdentifier','createTestFrameworkData','createHookData','getHookRunEventData',a119_0x229a0f(0x16a),a119_0x229a0f(0x1d4),'createJestTestIdentifier',a119_0x229a0f(0x1a2),a119_0x229a0f(0x1f7)]);
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const
|
|
2
|
+
'use strict';const a120_0x2a48d6=a120_0x3773;(function(_0x1a3291,_0x468917){const _0xb5d39=a120_0x3773,_0x391f00=_0x1a3291();while(!![]){try{const _0x35bed3=-parseInt(_0xb5d39(0x1be))/0x1*(-parseInt(_0xb5d39(0x1cd))/0x2)+parseInt(_0xb5d39(0x1d6))/0x3*(-parseInt(_0xb5d39(0x1e5))/0x4)+-parseInt(_0xb5d39(0x1da))/0x5*(parseInt(_0xb5d39(0x1d9))/0x6)+-parseInt(_0xb5d39(0x1b9))/0x7*(-parseInt(_0xb5d39(0x1ad))/0x8)+-parseInt(_0xb5d39(0x1cc))/0x9+-parseInt(_0xb5d39(0x1a7))/0xa+parseInt(_0xb5d39(0x1c6))/0xb;if(_0x35bed3===_0x468917)break;else _0x391f00['push'](_0x391f00['shift']());}catch(_0x4ea65f){_0x391f00['push'](_0x391f00['shift']());}}}(a120_0x2b66,0x43ec2));function a120_0x2b66(){const _0x34f783=['DGILK','modifyBrowserStackCaps','isUndefined','\x20doesn\x27t\x20exist','length','forEach','index','3bbDHIo','initialize','launchBuild','6IAyUBo','1221845wLXfrL','resolve','config','\x20resolves\x20outside\x20the\x20project\x20directory\x20and\x20was\x20rejected','path','getHubUrl','end','SDK_CLEANUP','vanilla','File\x20','YhzFX','1657076IbyMQg','../../helpers/performance/constants','5359920XqtjLI','useW3C','configuration','WtAAn','platforms','hLhqW','4808RrJzPs','parallelsPerPlatform','sep','../../helpers/performance/performance-tester','handleApp','Config\x20yml\x20is\x20required','file','exports','finalExecution','push','File\x20path\x20is\x20required','FVRwd','6125uBdzvC','getInstance','../../helpers/helper','proxySettings','../../helpers/BrowserStackSetup','6AglFoj','startsWith','EVENTS','modifyBrowserStackW3CCaps','SDK_SETUP','start','gBlff','wGuYb','8348131NHoxJY','../../helpers/utilities','setupBrowserstackLocal','finally','funMV','File\x20path\x20','2627550NpURjd','159998IMGSlu','cwd'];a120_0x2b66=function(){return _0x34f783;};return a120_0x2b66();}function a120_0x3773(_0x4e7da6,_0x4f6a46){const _0x2b6646=a120_0x2b66();return a120_0x3773=function(_0x37738a,_0x50098c){_0x37738a=_0x37738a-0x1a7;let _0xd9f4f9=_0x2b6646[_0x37738a];return _0xd9f4f9;},a120_0x3773(_0x4e7da6,_0x4f6a46);}const fs=require('fs'),path=require(a120_0x2a48d6(0x1de)),{default:BrowserStackSetup}=require(a120_0x2a48d6(0x1bd)),helper=require(a120_0x2a48d6(0x1bb)),PerformanceTester=require(a120_0x2a48d6(0x1b0)),PerformanceEvents=require(a120_0x2a48d6(0x1e6))[a120_0x2a48d6(0x1c0)],utilities=require(a120_0x2a48d6(0x1c7)),{parallelVanillaRun}=require('../test-runner'),TestHubHandler=require('../../helpers/testhub/testhubHandler'),BrowserstackCLI=require('../v2/browserstackCLI');async function run(_0x4c296e,_0x2a8ed4,_0x3eb72b){const _0x1fd726=a120_0x2a48d6,_0x570432={'hLhqW':_0x1fd726(0x1e2),'wGuYb':function(_0x217922,_0x1b5c25){return _0x217922(_0x1b5c25);},'YhzFX':_0x1fd726(0x1b7),'WtAAn':function(_0x342753,_0x38612b){return _0x342753!==_0x38612b;},'tdEQv':function(_0x5ac53e,_0x8977c2){return _0x5ac53e+_0x8977c2;},'FVRwd':function(_0xad2546,_0x4193fd){return _0xad2546(_0x4193fd);},'DGILK':_0x1fd726(0x1b2),'funMV':function(_0x507f5f,_0x481d99){return _0x507f5f>_0x481d99;},'tTzLK':function(_0x26c756,_0x52b5b5){return _0x26c756*_0x52b5b5;},'gBlff':function(_0x385c29,_0x10254c,_0x30e804){return _0x385c29(_0x10254c,_0x30e804);}};await _0x3eb72b[_0x1fd726(0x1d7)](_0x4c296e);!BrowserstackCLI[_0x1fd726(0x1ba)]()['isRunning']()&&await _0x3eb72b[_0x1fd726(0x1c8)]();await helper[_0x1fd726(0x1b1)](_0x3eb72b[_0x1fd726(0x1dc)]);const _0x24bef2=[];if(helper[_0x1fd726(0x1d1)](_0x4c296e['_'][0x1]))throw _0x570432[_0x1fd726(0x1c5)](Error,_0x570432[_0x1fd726(0x1e4)]);const _0x41f7aa=process[_0x1fd726(0x1ce)](),_0x15cfa4=path[_0x1fd726(0x1db)](_0x41f7aa,_0x4c296e['_'][0x1]);if(_0x570432[_0x1fd726(0x1aa)](_0x15cfa4,_0x41f7aa)&&!_0x15cfa4[_0x1fd726(0x1bf)](_0x570432['tdEQv'](_0x41f7aa,path[_0x1fd726(0x1af)])))throw _0x570432['FVRwd'](Error,_0x1fd726(0x1cb)+_0x4c296e['_'][0x1]+_0x1fd726(0x1dd));if(!fs['existsSync'](_0x15cfa4))throw _0x570432['wGuYb'](Error,_0x1fd726(0x1e3)+_0x4c296e['_'][0x1]+_0x1fd726(0x1d2));if(!_0x3eb72b[_0x1fd726(0x1dc)])throw _0x570432[_0x1fd726(0x1b8)](Error,_0x570432[_0x1fd726(0x1cf)]);const _0x37fba7=helper[_0x1fd726(0x1a8)](_0x3eb72b['config']);_0x3eb72b[_0x1fd726(0x1dc)][_0x1fd726(0x1ab)]&&_0x570432[_0x1fd726(0x1ca)](_0x3eb72b[_0x1fd726(0x1dc)][_0x1fd726(0x1ab)][_0x1fd726(0x1d3)],0x0)&&_0x3eb72b[_0x1fd726(0x1dc)]['platforms'][_0x1fd726(0x1d4)]((_0x2c1b20,_0x1e3150)=>{const _0x12535f=_0x1fd726;_0x37fba7?_0x24bef2[_0x12535f(0x1b6)](helper[_0x12535f(0x1c1)](_0x3eb72b[_0x12535f(0x1dc)],_0x570432[_0x12535f(0x1ac)],_0x1e3150)):_0x24bef2[_0x12535f(0x1b6)](helper[_0x12535f(0x1d0)](_0x3eb72b[_0x12535f(0x1dc)],_0x570432[_0x12535f(0x1ac)],_0x1e3150));});let _0x226103,_0x163a78;const _0x10140a=[];if(_0x570432[_0x1fd726(0x1ca)](_0x24bef2['length'],0x0))_0x24bef2[_0x1fd726(0x1d4)]((_0xe11435,_0x231de5)=>{const _0x3439bd=_0x1fd726,_0x17c07c={};_0x17c07c[_0x3439bd(0x1d5)]=_0x231de5,_0x226103={'server':helper[_0x3439bd(0x1df)](_0x3eb72b[_0x3439bd(0x1dc)]),'proxySettings':_0x3eb72b[_0x3439bd(0x1dc)][_0x3439bd(0x1bc)],'platform':helper['getPlatformName'](_0xe11435),'platformCaps':Object['assign'](_0x17c07c,_0x3eb72b['config'][_0x3439bd(0x1ab)][_0x231de5])};const _0xe7b33f={'capability':_0xe11435,..._0x226103};_0xe7b33f[_0x3439bd(0x1b3)]=_0x15cfa4,_0xe7b33f['args']=_0x2a8ed4;const _0x1796f1={};_0x1796f1['configuration']=_0xe7b33f,_0x163a78=_0x1796f1,_0x10140a[_0x3439bd(0x1b6)](_0x163a78);});else{let _0xc8416a;_0x37fba7?_0xc8416a=helper[_0x1fd726(0x1c1)](_0x3eb72b[_0x1fd726(0x1dc)],_0x570432[_0x1fd726(0x1ac)],0x0):_0xc8416a=helper[_0x1fd726(0x1d0)](_0x3eb72b['config'],_0x570432['hLhqW'],0x0);_0x226103={'server':helper[_0x1fd726(0x1df)](_0x3eb72b[_0x1fd726(0x1dc)]),'proxySettings':_0x3eb72b['config'][_0x1fd726(0x1bc)]};const _0x50a394={'capability':_0xc8416a,..._0x226103};_0x50a394[_0x1fd726(0x1b3)]=_0x15cfa4,_0x50a394['args']=_0x2a8ed4;const _0x2fa5c9={};_0x2fa5c9[_0x1fd726(0x1a9)]=_0x50a394,_0x163a78=_0x2fa5c9,_0x10140a[_0x1fd726(0x1b6)](_0x163a78);}const _0x43c45b=await TestHubHandler[_0x1fd726(0x1d8)](_0x570432[_0x1fd726(0x1ac)],_0x3eb72b),_0x2835f6=_0x570432['tTzLK'](_0x3eb72b[_0x1fd726(0x1dc)]['platforms']['length']||0x1,_0x3eb72b[_0x1fd726(0x1dc)][_0x1fd726(0x1ae)]||0x1);PerformanceTester[_0x1fd726(0x1e0)](PerformanceEvents[_0x1fd726(0x1c2)]),_0x570432[_0x1fd726(0x1c4)](parallelVanillaRun,_0x10140a,_0x2835f6)['then'](_0x2e4e6d=>{})[_0x1fd726(0x1c9)](async()=>{const _0x58acd3=_0x1fd726;PerformanceTester[_0x58acd3(0x1c3)](PerformanceEvents[_0x58acd3(0x1e1)]),await utilities[_0x58acd3(0x1b5)](_0x3eb72b);});}module[a120_0x2a48d6(0x1b4)]=run;
|
package/src/browserStackSdk.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a121_0x46ff26=a121_0x7243;(function(_0x2a6ca1,_0x4180d6){const _0x39a25e=a121_0x7243,_0x2d9e3b=_0x2a6ca1();while(!![]){try{const _0x3350cb=-parseInt(_0x39a25e(0x14f))/0x1*(parseInt(_0x39a25e(0x131))/0x2)+parseInt(_0x39a25e(0x138))/0x3*(parseInt(_0x39a25e(0x13c))/0x4)+parseInt(_0x39a25e(0x13d))/0x5*(-parseInt(_0x39a25e(0x14d))/0x6)+parseInt(_0x39a25e(0x142))/0x7*(-parseInt(_0x39a25e(0x133))/0x8)+parseInt(_0x39a25e(0x14c))/0x9+parseInt(_0x39a25e(0x13f))/0xa+-parseInt(_0x39a25e(0x12c))/0xb*(parseInt(_0x39a25e(0x144))/0xc);if(_0x3350cb===_0x4180d6)break;else _0x2d9e3b['push'](_0x2d9e3b['shift']());}catch(_0x4384ff){_0x2d9e3b['push'](_0x2d9e3b['shift']());}}}(a121_0xd817,0xc5486));const TestMetadata=require(a121_0x46ff26(0x147));function a121_0xd817(){const _0x2609f0=['setTestMetadata','808576sWEbxp','ifcZc','browser_version','osVersion','LjKtd','6ekeVPH','getCurrentPlatform','platformVersion','PpksR','990852IWjlCS','5boaorB','deviceName','11191450UtYqCU','customVariables','pTHHW','35OBLSyU','browserName','436524JqQMjf','browserVersion','platformName','./helpers/metadata','biGKx','DgMAb','WKfyb','set','4707315XYwCyV','2471784ENkOYm','__platformCaps','914jrFGXS','VczkM','exports','nYeYu','tIQkp','110eLBqSj','IWpcj','platform_version','RKOCi','sQDwy','106WjKnts'];a121_0xd817=function(){return _0x2609f0;};return a121_0xd817();}class BrowserStackSdk{static[a121_0x46ff26(0x139)](){const _0x158078=a121_0x46ff26,_0x348fe1={};_0x348fe1[_0x158078(0x134)]='os_version',_0x348fe1[_0x158078(0x12f)]=_0x158078(0x136),_0x348fe1[_0x158078(0x13b)]='browser',_0x348fe1['biGKx']=_0x158078(0x143),_0x348fe1[_0x158078(0x130)]=_0x158078(0x135),_0x348fe1[_0x158078(0x141)]=_0x158078(0x145),_0x348fe1[_0x158078(0x12d)]='device',_0x348fe1[_0x158078(0x12b)]=_0x158078(0x13e),_0x348fe1[_0x158078(0x149)]='platform',_0x348fe1['nYeYu']=_0x158078(0x146),_0x348fe1[_0x158078(0x14a)]=_0x158078(0x12e),_0x348fe1[_0x158078(0x128)]=_0x158078(0x13a),_0x348fe1['LjKtd']=_0x158078(0x140);const _0x39e18c=_0x348fe1,_0x397c85={};if(global['__platformCaps']){const _0x27cb3a=global[_0x158078(0x14e)],_0x47c264=_0x27cb3a[_0x39e18c[_0x158078(0x134)]]||_0x27cb3a[_0x39e18c[_0x158078(0x12f)]],_0x4de1aa=_0x27cb3a[_0x39e18c[_0x158078(0x13b)]]||_0x27cb3a[_0x39e18c['biGKx']],_0x214052=_0x27cb3a[_0x39e18c[_0x158078(0x130)]]||_0x27cb3a[_0x39e18c[_0x158078(0x141)]],_0x25847f=_0x27cb3a[_0x39e18c['IWpcj']]||_0x27cb3a[_0x39e18c[_0x158078(0x12b)]],_0x538afe=_0x27cb3a[_0x39e18c[_0x158078(0x149)]]||_0x27cb3a[_0x39e18c[_0x158078(0x12a)]],_0x1a9d77=_0x27cb3a[_0x39e18c['WKfyb']]||_0x27cb3a[_0x39e18c['VczkM']];_0x27cb3a['os']&&(_0x397c85['os']=_0x27cb3a['os']),_0x47c264&&(_0x397c85[_0x39e18c[_0x158078(0x12f)]]=_0x47c264),_0x4de1aa&&(_0x397c85[_0x39e18c[_0x158078(0x148)]]=_0x4de1aa),_0x214052&&(_0x397c85[_0x39e18c[_0x158078(0x141)]]=_0x214052),_0x25847f&&(_0x397c85[_0x39e18c['tIQkp']]=_0x25847f),_0x538afe&&(_0x397c85[_0x39e18c[_0x158078(0x12a)]]=_0x538afe),_0x1a9d77&&(_0x397c85[_0x39e18c['VczkM']]=_0x1a9d77),_0x27cb3a[_0x39e18c[_0x158078(0x137)]]&&(_0x397c85[_0x39e18c[_0x158078(0x137)]]=_0x27cb3a[_0x39e18c[_0x158078(0x137)]]);}return _0x397c85;}static[a121_0x46ff26(0x132)](_0x526565={}){const _0x149da0=a121_0x46ff26;TestMetadata[_0x149da0(0x14b)](_0x526565);}}function a121_0x7243(_0x523e85,_0x1ec5f4){const _0xd81713=a121_0xd817();return a121_0x7243=function(_0x724312,_0x714daa){_0x724312=_0x724312-0x128;let _0x3f2fd1=_0xd81713[_0x724312];return _0x3f2fd1;},a121_0x7243(_0x523e85,_0x1ec5f4);}module[a121_0x46ff26(0x129)]=BrowserStackSdk;
|