browserstack-node-sdk 1.53.2 → 1.53.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +6 -4
- 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/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customSequencer.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test.setup.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/load/index.js +1 -1
- package/src/bin/load/loadUtils.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/builderPatch.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/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/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/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/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/testhubModule.js +1 -1
- package/src/bin/v2/state/automationFrameworkState.js +1 -1
- package/src/bin/v2/state/hookState.js +1 -1
- package/src/bin/v2/state/testFrameworkState.js +1 -1
- package/src/bin/v2/uploadAttachmentsManager.js +1 -1
- package/src/bin/v2/utils/cucumber-utils.js +1 -1
- package/src/bin/v2/utils/jest-utils.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
- package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/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/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/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 a75_0x177cd9=a75_0x11eb;function a75_0x11eb(_0xc2f192,_0xe7597d){const _0x21a435=a75_0x21a4();return a75_0x11eb=function(_0x11eb2b,_0x5959a4){_0x11eb2b=_0x11eb2b-0xec;let _0x548348=_0x21a435[_0x11eb2b];return _0x548348;},a75_0x11eb(_0xc2f192,_0xe7597d);}(function(_0x51c6c8,_0x2618ea){const _0x42817f=a75_0x11eb,_0x57d57a=_0x51c6c8();while(!![]){try{const _0x1a6c9d=parseInt(_0x42817f(0x1ca))/0x1+parseInt(_0x42817f(0x179))/0x2+parseInt(_0x42817f(0x19e))/0x3*(-parseInt(_0x42817f(0x234))/0x4)+parseInt(_0x42817f(0x135))/0x5*(-parseInt(_0x42817f(0x197))/0x6)+-parseInt(_0x42817f(0x1a8))/0x7+-parseInt(_0x42817f(0x272))/0x8+-parseInt(_0x42817f(0x198))/0x9*(-parseInt(_0x42817f(0x212))/0xa);if(_0x1a6c9d===_0x2618ea)break;else _0x57d57a['push'](_0x57d57a['shift']());}catch(_0x59271c){_0x57d57a['push'](_0x57d57a['shift']());}}}(a75_0x21a4,0x8df44));const TestFramework=require('./testFramework'),TestFrameworkState=require(a75_0x177cd9(0x114)),HookState=require(a75_0x177cd9(0x174)),{createClassLogger}=require('../../../helpers/classLogger.js'),TestFrameworkInstance=require(a75_0x177cd9(0x127)),CLIUtils=require(a75_0x177cd9(0x154)),TrackedInstance=require(a75_0x177cd9(0x26a)),TestFrameworkConstants=require(a75_0x177cd9(0x176)),{getManualUploadLogs,getMediaArtifactsLogs}=require('../../../helpers/helper.js'),{isInternalHook}=require(a75_0x177cd9(0x13a)),logger=createClassLogger(a75_0x177cd9(0x1c1)),{v4:uuidv4}=require('uuid'),util=require(a75_0x177cd9(0x23a)),TestInfo=require(a75_0x177cd9(0x1c8)),GrpcClient=require(a75_0x177cd9(0x157)),stackTrace=require(a75_0x177cd9(0x1df));class JestTestFramework extends TestFramework{constructor(_0x510063,_0x28f9a5,_0x2787d4){const _0x17fe8f=a75_0x177cd9;super(_0x510063,_0x28f9a5,_0x2787d4),this[_0x17fe8f(0x22b)]=new Map();}['setActiveHook'](_0xd74e81,_0x3818c7,_0x54878f){const _0x44f770=a75_0x177cd9,_0x841e1f={};_0x841e1f['eLTbi']=function(_0x26d0c9,_0x2311bf){return _0x26d0c9||_0x2311bf;};const _0x556be5=_0x841e1f;if(_0x556be5[_0x44f770(0x25d)](!_0xd74e81,!_0x3818c7)){logger[_0x44f770(0x1ee)](_0x44f770(0x18b)+_0xd74e81+_0x44f770(0x13c)+_0x3818c7);return;}!this['activeHooks'][_0x44f770(0x258)](_0xd74e81)&&this[_0x44f770(0x22b)][_0x44f770(0x257)](_0xd74e81,[]);const _0x135f17={'hookUUID':_0x3818c7,'hookType':_0x54878f,'startedAt':new Date()[_0x44f770(0x137)]()};this[_0x44f770(0x22b)][_0x44f770(0x275)](_0xd74e81)['push'](_0x135f17),logger['debug'](_0x44f770(0x1ac)+_0xd74e81+_0x44f770(0x13c)+_0x3818c7+',\x20hookType='+_0x54878f+',\x20totalHooks='+this['activeHooks'][_0x44f770(0x275)](_0xd74e81)['length']);}[a75_0x177cd9(0x1bb)](_0x55e2d7,_0x23f0d4){const _0x2e8e5c=a75_0x177cd9,_0x2655d={};_0x2655d[_0x2e8e5c(0x104)]=function(_0x2b6d56,_0x2ce853){return _0x2b6d56||_0x2ce853;},_0x2655d[_0x2e8e5c(0x1a6)]=function(_0x59ddf4,_0x308ef1){return _0x59ddf4!==_0x308ef1;},_0x2655d[_0x2e8e5c(0x1de)]=function(_0xa1daba,_0x43c97e){return _0xa1daba===_0x43c97e;};const _0x4ecbd4=_0x2655d;if(_0x4ecbd4[_0x2e8e5c(0x104)](!_0x55e2d7,!_0x23f0d4)){logger[_0x2e8e5c(0x1ee)](_0x2e8e5c(0x160)+_0x55e2d7+_0x2e8e5c(0x13c)+_0x23f0d4);return;}if(this[_0x2e8e5c(0x22b)]['has'](_0x55e2d7)){const _0x3e6da2=this[_0x2e8e5c(0x22b)][_0x2e8e5c(0x275)](_0x55e2d7),_0x1c2b7f=_0x3e6da2[_0x2e8e5c(0x145)](_0x56a5b0=>_0x56a5b0['hookUUID']===_0x23f0d4);_0x4ecbd4[_0x2e8e5c(0x1a6)](_0x1c2b7f,-0x1)?(_0x3e6da2['splice'](_0x1c2b7f,0x1),logger[_0x2e8e5c(0x1e1)](_0x2e8e5c(0xf8)+_0x55e2d7+_0x2e8e5c(0x13c)+_0x23f0d4+',\x20remainingHooks='+_0x3e6da2['length']),_0x4ecbd4[_0x2e8e5c(0x1de)](_0x3e6da2[_0x2e8e5c(0x255)],0x0)&&this['activeHooks'][_0x2e8e5c(0x14b)](_0x55e2d7)):logger['debug'](_0x2e8e5c(0x266)+_0x55e2d7+_0x2e8e5c(0x13c)+_0x23f0d4);}}[a75_0x177cd9(0x15d)](_0xfda357){const _0x5d6af3=a75_0x177cd9,_0x3ffe29={};_0x3ffe29['rCFTH']=function(_0xdb785,_0x10a57c){return _0xdb785>_0x10a57c;},_0x3ffe29[_0x5d6af3(0x276)]=function(_0x534b0f,_0x199bb9){return _0x534b0f-_0x199bb9;};const _0x1343a8=_0x3ffe29;if(!_0xfda357)return null;if(this[_0x5d6af3(0x22b)]['has'](_0xfda357)){const _0x41f8a4=this['activeHooks'][_0x5d6af3(0x275)](_0xfda357);if(_0x1343a8[_0x5d6af3(0x1dc)](_0x41f8a4[_0x5d6af3(0x255)],0x0)){const _0x2ae36c=_0x41f8a4[_0x1343a8[_0x5d6af3(0x276)](_0x41f8a4[_0x5d6af3(0x255)],0x1)];return logger['debug'](_0x5d6af3(0x158)+_0xfda357+_0x5d6af3(0x13c)+_0x2ae36c[_0x5d6af3(0x18d)]+_0x5d6af3(0x26b)+_0x2ae36c[_0x5d6af3(0x22e)]),_0x2ae36c;}}return null;}async[a75_0x177cd9(0x17d)](_0x555ff9,_0x4f1172,_0x300148={}){const _0xce16b1=a75_0x177cd9,_0x31c8cf={};_0x31c8cf['hwGtT']=_0xce16b1(0x180),_0x31c8cf['zzzZv']=function(_0x3878a1,_0x1643d3){return _0x3878a1===_0x1643d3;},_0x31c8cf[_0xce16b1(0x25c)]=function(_0x29f37b,_0x875758){return _0x29f37b===_0x875758;},_0x31c8cf[_0xce16b1(0x1dd)]=function(_0x23a4d5,_0x2b70d9){return _0x23a4d5||_0x2b70d9;},_0x31c8cf['hQNHD']='[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20NO\x20ATTACHMENTS\x20FOUND',_0x31c8cf[_0xce16b1(0x1f0)]=function(_0x2749eb,_0x83ebf4){return _0x2749eb===_0x83ebf4;};const _0x167733=_0x31c8cf;logger[_0xce16b1(0x1e1)]('[JestTestFramework]\x20trackEvent:\x20START\x20-\x20testFrameworkState='+_0x555ff9+_0xce16b1(0x123)+_0x4f1172+_0xce16b1(0x1e2)+Object[_0xce16b1(0x132)](_0x300148)['join'](',')),await super['trackEvent'](_0x555ff9,_0x4f1172,_0x300148);const _0x9fb80d=this[_0xce16b1(0x164)](_0x555ff9,_0x4f1172,_0x300148);if(!_0x9fb80d){logger[_0xce16b1(0x1e1)](_0x167733['hwGtT']);return;}try{let _0x2bdccd,_0x2b0e90,_0x1fe58c;switch(_0x555ff9){case TestFrameworkState[_0xce16b1(0x277)]:_0x2bdccd=_0x300148['test'];const _0xac598c={};_0xac598c[_0xce16b1(0x1f5)]=0x2,_0xac598c['maxArrayLength']=0x3,logger[_0xce16b1(0x1e1)](_0xce16b1(0x13d)+_0x4f1172+_0xce16b1(0x1ba)+util[_0xce16b1(0xfd)](_0x2bdccd,_0xac598c)),_0x1fe58c=this['getJestTestIdentifier'](_0x2bdccd),_0x2b0e90=null,logger['debug'](_0xce16b1(0x1d4)+_0x1fe58c+'\x20(testIdentifier)');if(_0x167733[_0xce16b1(0x26e)](_0x4f1172,HookState[_0xce16b1(0x26d)])){logger['debug'](_0xce16b1(0x250)+_0x1fe58c);const _0x42034a={};_0x42034a[_0xce16b1(0x254)]=_0x2b0e90,_0x42034a[_0xce16b1(0x253)]=_0x2bdccd,_0x42034a[_0xce16b1(0xf7)]=_0x1fe58c;const _0xfc09b5=this[_0xce16b1(0x207)](_0x42034a),_0x1d86b7={};_0x1d86b7[_0xce16b1(0x1f5)]=0x2,_0x1d86b7[_0xce16b1(0xf5)]=0x3,logger['debug'](_0xce16b1(0x16a)+util[_0xce16b1(0xfd)](_0xfc09b5,_0x1d86b7)),_0x9fb80d[_0xce16b1(0x1ad)](_0xfc09b5),logger[_0xce16b1(0x1e1)](_0xce16b1(0x120)+_0x1fe58c),await this[_0xce16b1(0x256)](_0x9fb80d,_0x1fe58c);}else{if(_0x167733['jqXfA'](_0x4f1172,HookState[_0xce16b1(0x143)])){logger[_0xce16b1(0x1e1)](_0xce16b1(0x1ea)+_0x1fe58c);const _0x4f4b0c=_0x9fb80d[_0xce16b1(0x155)]()[_0xce16b1(0x275)](_0x1fe58c);logger['debug'](_0xce16b1(0x18f)+util[_0xce16b1(0xfd)](Object['keys'](_0x167733[_0xce16b1(0x1dd)](_0x4f4b0c,{}))));_0x4f4b0c&&_0x4f4b0c[TestFrameworkConstants[_0xce16b1(0x1c3)]]?logger[_0xce16b1(0x1e1)](_0xce16b1(0x1d3)+Object['keys'](_0x4f4b0c[TestFrameworkConstants[_0xce16b1(0x1c3)]])[_0xce16b1(0x255)]+_0xce16b1(0x1e4)):logger[_0xce16b1(0x1e1)](_0x167733[_0xce16b1(0x163)]);const _0x41be9e=_0x300148[_0xce16b1(0x113)]||null,_0x25d599={};_0x25d599[_0xce16b1(0x254)]=_0x2b0e90,_0x25d599[_0xce16b1(0x253)]=_0x2bdccd,_0x25d599[_0xce16b1(0xf7)]=_0x1fe58c,_0x25d599[_0xce16b1(0x113)]=_0x41be9e;const _0x34d140=this[_0xce16b1(0x23c)](_0x25d599),_0x43d7c9={};_0x43d7c9[_0xce16b1(0x1f5)]=0x2,_0x43d7c9[_0xce16b1(0xf5)]=0x3,logger[_0xce16b1(0x1e1)](_0xce16b1(0x1f1)+util['inspect'](_0x34d140,_0x43d7c9)),_0x9fb80d[_0xce16b1(0x1ad)](_0x34d140),logger[_0xce16b1(0x1e1)](_0xce16b1(0x107)+_0x1fe58c),await this[_0xce16b1(0x256)](_0x9fb80d,_0x1fe58c);}}break;case TestFrameworkState['LOG_REPORT']:if(_0x167733[_0xce16b1(0x1f0)](_0x4f1172,HookState['POST'])){const _0x40e325={};_0x40e325[_0xce16b1(0x1f5)]=0x2,logger[_0xce16b1(0x1e1)]('[JestTestFramework]\x20trackEvent:\x20LOG_REPORT\x20POST\x20-\x20Sending\x20logs\x20for\x20args:\x20'+util[_0xce16b1(0xfd)](_0x300148,_0x40e325)),await this[_0xce16b1(0x1c0)](_0x9fb80d,_0x555ff9,_0x300148);}break;default:if(CLIUtils[_0xce16b1(0x1b9)](_0x555ff9[_0xce16b1(0x156)]()[_0xce16b1(0x196)]('.')[0x1])){const _0x27ac54={};_0x27ac54['depth']=0x2,_0x27ac54[_0xce16b1(0xf5)]=0x3,logger['debug'](_0xce16b1(0x1a1)+_0x555ff9+_0xce16b1(0x123)+_0x4f1172+_0xce16b1(0x146)+util['inspect'](_0x300148['hookData'],_0x27ac54));const _0x2eb1da=await this[_0xce16b1(0x1aa)](_0x9fb80d,_0x555ff9,_0x4f1172,_0x300148),_0x56437c={};_0x56437c[_0xce16b1(0x1f5)]=0x2,_0x56437c[_0xce16b1(0xf5)]=0x3,logger['debug'](_0xce16b1(0x105)+util[_0xce16b1(0xfd)](_0x2eb1da,_0x56437c)),_0x9fb80d[_0xce16b1(0x1ad)](_0x2eb1da);}else logger['debug'](_0xce16b1(0x16f)+_0x555ff9+'\x20&\x20hookState='+_0x4f1172);break;}logger['debug'](_0xce16b1(0x26f)+_0x555ff9+',\x20hookState='+_0x4f1172);}catch(_0x456cb1){logger['error'](_0xce16b1(0x228)+_0x555ff9+_0xce16b1(0x123)+_0x4f1172+',\x20exception='+util[_0xce16b1(0x1e8)](_0x456cb1));}_0x300148[_0xce16b1(0x27d)]=_0x9fb80d,await this[_0xce16b1(0xff)](_0x9fb80d,_0x555ff9,_0x4f1172,_0x300148);}[a75_0x177cd9(0x10c)](_0x2699ef){const _0x5cd305=a75_0x177cd9,_0x5c5985={};_0x5c5985[_0x5cd305(0x142)]=_0x5cd305(0x1f3);const _0x2d4090=_0x5c5985;if(_0x2699ef&&(_0x2699ef['id']||_0x2699ef[_0x5cd305(0x10b)])){const _0x431efc=_0x2699ef['id']||_0x2699ef[_0x5cd305(0x10b)];return logger['debug'](_0x5cd305(0x1d8)+_0x431efc+_0x5cd305(0x13b)),_0x431efc;}return logger['debug'](_0x2d4090[_0x5cd305(0x142)]),process['pid']+_0x5cd305(0x18c);}[a75_0x177cd9(0x164)](_0x37ceba,_0x216d8f,_0x42bc99={}){const _0x8192b8=a75_0x177cd9;let _0x2c78d2=null;return _0x2c78d2=TestFramework[_0x8192b8(0x103)](),!_0x2c78d2?(logger[_0x8192b8(0x1e1)]('[JestTestFramework]\x20resolveInstance:\x20No\x20instance\x20found,\x20creating\x20new\x20instance\x20for\x20state='+_0x37ceba),this[_0x8192b8(0x15a)](_0x37ceba,_0x42bc99),_0x2c78d2=TestFramework[_0x8192b8(0x103)](),logger[_0x8192b8(0x1e1)](_0x8192b8(0x12c)+!!_0x2c78d2+',\x20contextId='+_0x2c78d2?.['getContext']()?.[_0x8192b8(0x271)]())):logger[_0x8192b8(0x1e1)]('[JestTestFramework]\x20resolveInstance:\x20Using\x20existing\x20instance\x20-\x20contextId='+_0x2c78d2['getContext']()?.['getId']()),_0x2c78d2;}[a75_0x177cd9(0x15a)](_0x568073,_0x74e8f1){const _0x2fd302=a75_0x177cd9,_0x229891={};_0x229891[_0x2fd302(0x1a3)]=_0x2fd302(0x149);const _0x3c0b7b=_0x229891;if(TestFramework[_0x2fd302(0x103)]()){logger[_0x2fd302(0x1e1)](_0x3c0b7b[_0x2fd302(0x1a3)]);return;}const _0x3fc820=CLIUtils[_0x2fd302(0xfa)](),_0x1d30e0=TrackedInstance['createContext'](_0x3fc820);let _0x21299e=null;logger[_0x2fd302(0x1e1)](_0x2fd302(0x12b)+_0x3fc820+_0x2fd302(0x14a)+_0x568073),_0x21299e=new TestFrameworkInstance(_0x1d30e0,this['getTestFrameworks'](),this[_0x2fd302(0x1b6)](),_0x568073,HookState[_0x2fd302(0x1ef)]),TestFramework[_0x2fd302(0x119)](_0x1d30e0,_0x21299e),logger['debug'](_0x2fd302(0x125)+_0x1d30e0[_0x2fd302(0x271)]()+',\x20target='+_0x3fc820+_0x2fd302(0xec)+this['getTestFrameworks']()[0x0]+_0x2fd302(0x1f7)+this[_0x2fd302(0x1b6)]()[this[_0x2fd302(0x15e)]()[0x0]]);}[a75_0x177cd9(0x207)](_0x5a2330){const _0x5ef7ab=a75_0x177cd9,_0x54d23e={};_0x54d23e[_0x5ef7ab(0x240)]=function(_0xe6f004,_0x36b9b5){return _0xe6f004||_0x36b9b5;},_0x54d23e[_0x5ef7ab(0x20e)]=_0x5ef7ab(0x102);const _0x3a1fdd=_0x54d23e,{testUUID:_0x52f515,testData:_0x202626,testId:_0x2c1c16}=_0x5a2330;if(_0x3a1fdd[_0x5ef7ab(0x240)](!_0x202626,!_0x2c1c16))return logger[_0x5ef7ab(0x1e1)](_0x3a1fdd[_0x5ef7ab(0x20e)]),{};const _0x129a36=this[_0x5ef7ab(0x15e)]()[0x0],_0x13ae73=this[_0x5ef7ab(0x1b6)](),_0xfc498e={};_0xfc498e[_0x5ef7ab(0x1f5)]=0x2,_0xfc498e[_0x5ef7ab(0xf5)]=0x3,logger[_0x5ef7ab(0x1e1)](_0x5ef7ab(0x1bd)+util['inspect'](_0x202626,_0xfc498e));const _0x271d28=_0x202626?.[_0x5ef7ab(0x227)]||[],_0x76e177=this['getJestTestName'](_0x202626),_0x1327df=this[_0x5ef7ab(0x17f)](_0x202626),_0x481cb9=_0x202626['fn']?_0x202626['fn'][_0x5ef7ab(0x156)]():_0x202626?.[_0x5ef7ab(0x151)]?_0x202626[_0x5ef7ab(0x151)][_0x5ef7ab(0x172)]['toString']():null,_0x43dad5=this['getJestTestTags'](_0x202626),_0x2b2d40={[TestFrameworkConstants[_0x5ef7ab(0x259)]]:_0x129a36,[TestFrameworkConstants[_0x5ef7ab(0xf1)]]:_0x13ae73[_0x129a36],[TestFrameworkConstants[_0x5ef7ab(0x1ff)]]:[],[TestFrameworkConstants[_0x5ef7ab(0x249)]]:{},[TestFrameworkConstants['KEY_HOOKS_STARTED']]:{},[TestFrameworkConstants['KEY_TEST_RESULT']]:TestFrameworkConstants[_0x5ef7ab(0x273)],[TestFrameworkConstants[_0x5ef7ab(0x267)]]:_0x76e177,[TestFrameworkConstants[_0x5ef7ab(0x1fc)]]:_0x1327df,[TestFrameworkConstants[_0x5ef7ab(0x260)]]:_0x2c1c16,[TestFrameworkConstants[_0x5ef7ab(0x1c4)]]:_0x76e177,[TestFrameworkConstants[_0x5ef7ab(0x1f8)]]:_0x1327df,[TestFrameworkConstants[_0x5ef7ab(0x11c)]]:_0x481cb9,[TestFrameworkConstants[_0x5ef7ab(0x16d)]]:_0x43dad5,[TestFrameworkConstants[_0x5ef7ab(0x229)]]:_0x202626['started_at']||new Date()['toISOString'](),[TestFrameworkConstants['KEY_TEST_SCOPE']]:_0x271d28[0x0]||'',[TestFrameworkConstants['KEY_TEST_SCOPES']]:_0x271d28,[TestFrameworkConstants[_0x5ef7ab(0x14e)]]:_0x76e177,[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:{},[TestFrameworkConstants[_0x5ef7ab(0x19f)]]:{}};_0x202626['retryOf']&&(_0x2b2d40[TestFrameworkConstants[_0x5ef7ab(0x25b)]]=_0x202626[_0x5ef7ab(0x11e)]);logger[_0x5ef7ab(0x1e1)](_0x5ef7ab(0x1b2)+_0x76e177+_0x5ef7ab(0x110)+_0x2c1c16+'\x20(testIdentifier),\x20tags='+JSON[_0x5ef7ab(0x1db)](_0x43dad5)+_0x5ef7ab(0x217)+util[_0x5ef7ab(0xfd)](_0x271d28)+_0x5ef7ab(0x26c)+_0x1327df);const _0x1d8f9b={};return _0x1d8f9b[_0x2c1c16]=_0x2b2d40,_0x1d8f9b;}[a75_0x177cd9(0x23c)](_0x115058){const _0x6969db=a75_0x177cd9,_0x419fdc={'gqbdM':function(_0x4f03ef,_0x1f1c7e){return _0x4f03ef===_0x1f1c7e;},'ewfZw':_0x6969db(0x268),'KUYld':function(_0x5261ca,_0xd0276c){return _0x5261ca===_0xd0276c;},'CLkuX':'beforeAll','ZYMsr':_0x6969db(0x1da),'fOPeS':_0x6969db(0x265),'Zkqoe':function(_0x382983,_0xc25f3f){return _0x382983||_0xc25f3f;},'YGvgl':'No\x20test\x20data\x20or\x20testId\x20found\x20for\x20jest\x20test\x20result','mxYoD':_0x6969db(0x1fd),'DyANC':function(_0x7e8d9f,_0x95b976){return _0x7e8d9f>_0x95b976;},'VkGVD':_0x6969db(0x24b),'pePAw':function(_0x1d7303,_0x174027){return _0x1d7303===_0x174027;},'ocUxR':_0x6969db(0x1a2),'EWjhW':'skipped','cLcbj':'passed','FdJlD':function(_0x268c97,_0x27b17f){return _0x268c97!==_0x27b17f;},'oDODp':function(_0x3a557c,_0x2c31bf,_0x15f0c0,_0x1708fd){return _0x3a557c(_0x2c31bf,_0x15f0c0,_0x1708fd);},'bWEeQ':function(_0x2167bb,_0x3afa65){return _0x2167bb>_0x3afa65;},'LtqmR':_0x6969db(0x262),'MyKGU':function(_0x3c183b,_0x14035c){return _0x3c183b===_0x14035c;}},{testUUID:_0x2b7d15,testData:_0x38ed68,testId:_0xdc66be}=_0x115058;if(_0x419fdc[_0x6969db(0x10e)](!_0x38ed68,!_0xdc66be))return logger[_0x6969db(0x1e1)](_0x419fdc[_0x6969db(0x12e)]),{};const _0x3b1746=this[_0x6969db(0x164)](TestFrameworkState[_0x6969db(0x277)],HookState[_0x6969db(0x143)]),_0x17fda0=_0x3b1746['getAllData']()[_0x6969db(0x275)](_0xdc66be),_0x175749=_0x419fdc[_0x6969db(0x10e)](_0x17fda0,{}),_0x924b1=_0x175749?_0x175749[TestFrameworkConstants[_0x6969db(0x22a)]]||{}:{},_0x149e41=_0x175749[TestFrameworkConstants[_0x6969db(0x1c3)]];logger[_0x6969db(0x1e1)](_0x6969db(0x25a)+(_0x149e41?Object[_0x6969db(0x132)](_0x149e41)['length']:0x0)+_0x6969db(0x245));let _0x304f3c=_0x419fdc[_0x6969db(0x27e)];if(_0x38ed68['result'])_0x304f3c=_0x38ed68['result'];else{if(_0x38ed68[_0x6969db(0x21a)]&&_0x419fdc[_0x6969db(0x1a9)](_0x38ed68[_0x6969db(0x21a)][_0x6969db(0x255)],0x0))_0x304f3c=_0x419fdc[_0x6969db(0x222)];else _0x419fdc[_0x6969db(0x122)](_0x38ed68[_0x6969db(0x138)],_0x419fdc['ocUxR'])||_0x419fdc['gqbdM'](_0x38ed68[_0x6969db(0x138)],_0x419fdc[_0x6969db(0x214)])?_0x304f3c=_0x419fdc[_0x6969db(0x214)]:_0x304f3c=_0x419fdc[_0x6969db(0x193)];}const _0x1d2e88={..._0x175749,[TestFrameworkConstants[_0x6969db(0x1a0)]]:_0x304f3c,[TestFrameworkConstants['KEY_TEST_ENDED_AT']]:_0x38ed68[_0x6969db(0x209)]||new Date()['toISOString'](),[TestFrameworkConstants['KEY_TEST_RESULT_AT']]:new Date()['toISOString'](),[TestFrameworkConstants[_0x6969db(0x22a)]]:_0x924b1,[TestFrameworkConstants[_0x6969db(0x150)]]:_0x175749[TestFrameworkConstants[_0x6969db(0x150)]]||[],[TestFrameworkConstants['KEY_TEST_META']]:{}};if(_0x419fdc[_0x6969db(0x16e)](_0x304f3c,_0x419fdc[_0x6969db(0x222)])&&_0x38ed68['errorsDetailed']){const _0xa89c2e=this[_0x6969db(0x1d0)](_0x38ed68),_0x8f4aa6=this[_0x6969db(0x200)](_0x38ed68),_0x2989d8=this['getJestFailureData'](_0x38ed68);_0x1d2e88[TestFrameworkConstants[_0x6969db(0x141)]]=_0x8f4aa6,_0x1d2e88[TestFrameworkConstants[_0x6969db(0x178)]]=_0xa89c2e,_0x1d2e88[TestFrameworkConstants[_0x6969db(0x15c)]]=_0x2989d8;}_0x419fdc[_0x6969db(0x1f6)](_0x38ed68['duration'],undefined)&&(_0x1d2e88[TestFrameworkConstants[_0x6969db(0x159)]]=_0x38ed68[_0x6969db(0x11b)]);_0x38ed68['retryOf']&&(_0x1d2e88[TestFrameworkConstants['KEY_TEST_RETRY_OF']]=_0x38ed68[_0x6969db(0x11e)]);const _0x58ef62=_0x17fda0?_0x17fda0[TestFrameworkConstants[_0x6969db(0x1c3)]]||{}:{},_0x1ff1cc=_0x17fda0?_0x17fda0[TestFrameworkConstants[_0x6969db(0xf9)]]:_0x2b7d15,_0x24de74=_0x419fdc[_0x6969db(0x1c9)](getManualUploadLogs,_0x58ef62,_0x1ff1cc,_0xdc66be);if(_0x419fdc[_0x6969db(0x1a9)](_0x24de74['length'],0x0)){const _0x58854a=_0x1d2e88[TestFrameworkConstants[_0x6969db(0x150)]]||[];_0x1d2e88[TestFrameworkConstants[_0x6969db(0x150)]]=[..._0x58854a,..._0x24de74];}const _0x2da6e8=_0x175749[TestFrameworkConstants[_0x6969db(0x249)]]||{},_0x3365f0=_0x175749[TestFrameworkConstants[_0x6969db(0x140)]]||{},_0x3e17c1={..._0x2da6e8},_0x5bccac=_0x3e17c1;Object[_0x6969db(0x132)](_0x3365f0)[_0x6969db(0x1ae)](_0x1852db=>{const _0x4c0c3e=_0x6969db;!_0x5bccac[_0x1852db]&&(_0x5bccac[_0x1852db]=[]);const _0x58fc87=new Set((_0x5bccac[_0x1852db]||[])['map'](_0x774a1f=>_0x774a1f[TestFrameworkConstants[_0x4c0c3e(0x18e)]]||_0x774a1f[_0x4c0c3e(0x162)]));(_0x3365f0[_0x1852db]||[])[_0x4c0c3e(0x1ae)](_0x32f098=>{const _0x559694=_0x4c0c3e,_0x43bb96=_0x32f098[TestFrameworkConstants[_0x559694(0x18e)]]||_0x32f098['hook_id'];if(!_0x58fc87[_0x559694(0x258)](_0x43bb96)){const _0x20a158={..._0x32f098},_0xc331f1=_0x20a158;!_0xc331f1[TestFrameworkConstants[_0x559694(0x232)]]&&!_0xc331f1[_0x559694(0x195)]&&(_0xc331f1[TestFrameworkConstants[_0x559694(0x232)]]=new Date()[_0x559694(0x137)]()),!_0xc331f1[TestFrameworkConstants[_0x559694(0x1cd)]]&&!_0xc331f1[_0x559694(0x204)]&&(_0xc331f1[TestFrameworkConstants[_0x559694(0x1cd)]]=TestFrameworkConstants[_0x559694(0x1fa)]),_0x5bccac[_0x1852db][_0x559694(0x14f)](_0xc331f1);}});});if(_0x115058[_0x6969db(0x113)]){this[_0x6969db(0x182)](_0x115058['originalTest']);const _0x14f61a=this['buildHookMapFromTest'](_0x115058[_0x6969db(0x113)]),_0x4fc0d5=this['getHooksForTest'](_0x115058[_0x6969db(0x113)]);_0x4fc0d5[_0x6969db(0x1ae)](_0x37f49b=>{const _0x479087=_0x6969db,_0x1a1234=_0x14f61a[_0x479087(0x275)](_0x37f49b);if(_0x1a1234&&(_0x419fdc[_0x479087(0x16e)](_0x1a1234['type'],_0x419fdc[_0x479087(0x19c)])||_0x419fdc[_0x479087(0x1b4)](_0x1a1234[_0x479087(0x112)],_0x419fdc[_0x479087(0x23f)]))){const _0x50f319=_0x1a1234['type']['toUpperCase']()['replace'](_0x419fdc[_0x479087(0x1c6)],_0x419fdc['fOPeS']),_0x2d91ef=_0x50f319;!_0x5bccac[_0x2d91ef]&&(_0x5bccac[_0x2d91ef]=[]);const _0x1ce76f=_0x5bccac[_0x2d91ef][_0x479087(0x189)](_0x4b4c3b=>(_0x4b4c3b[TestFrameworkConstants[_0x479087(0x18e)]]||_0x4b4c3b[_0x479087(0x162)])===_0x37f49b);!_0x1ce76f&&_0x5bccac[_0x2d91ef][_0x479087(0x14f)]({'key':_0x2d91ef,[TestFrameworkConstants['KEY_HOOK_ID']]:_0x37f49b,[TestFrameworkConstants[_0x479087(0x1cd)]]:TestFrameworkConstants[_0x479087(0x1fa)],[TestFrameworkConstants[_0x479087(0x1b1)]]:new Date()[_0x479087(0x137)](),[TestFrameworkConstants[_0x479087(0x232)]]:new Date()['toISOString'](),[TestFrameworkConstants[_0x479087(0x183)]]:[],[TestFrameworkConstants[_0x479087(0x168)]]:_0x1a1234[_0x479087(0x1c7)]||_0x1a1234[_0x479087(0x112)]+_0x479087(0x1b8),[TestFrameworkConstants[_0x479087(0x22a)]]:_0x924b1});}});}if(_0x38ed68[_0x6969db(0x139)]&&_0x419fdc[_0x6969db(0x17c)](_0x38ed68['hooks'][_0x6969db(0x255)],0x0))_0x1d2e88[TestFrameworkConstants[_0x6969db(0x249)]]=_0x38ed68[_0x6969db(0x139)],logger[_0x6969db(0x1e1)](_0x419fdc[_0x6969db(0x274)]);else _0x419fdc[_0x6969db(0x17c)](Object[_0x6969db(0x132)](_0x5bccac)[_0x6969db(0x255)],0x0)&&(_0x1d2e88[TestFrameworkConstants[_0x6969db(0x249)]]=_0x5bccac,logger['debug'](_0x6969db(0x252)+Object[_0x6969db(0x132)](_0x5bccac)[_0x6969db(0x161)](',')));const _0x4c21fb=this[_0x6969db(0x1fb)](_0x38ed68);logger[_0x6969db(0x1e1)](_0x6969db(0x16c)+_0x4c21fb+_0x6969db(0x110)+_0xdc66be+_0x6969db(0x1d9)+_0x304f3c+_0x6969db(0x100)+_0x38ed68[_0x6969db(0x11b)]);_0x419fdc[_0x6969db(0x261)](_0x304f3c,_0x419fdc[_0x6969db(0x222)])&&logger['debug'](_0x6969db(0x126)+_0xdc66be+',\x20failureType='+_0x1d2e88[TestFrameworkConstants[_0x6969db(0x141)]]+_0x6969db(0x23d)+_0x1d2e88[TestFrameworkConstants[_0x6969db(0x178)]]?.[_0x6969db(0x167)](0x0,0xc8));const _0xd8104b={};return _0xd8104b[_0xdc66be]=_0x1d2e88,_0xd8104b;}[a75_0x177cd9(0x20b)](_0x42fb3d){const _0x151869=a75_0x177cd9,_0x2a433f={};_0x2a433f['AmGcY']=function(_0x3b5110,_0x259ee6){return _0x3b5110!==_0x259ee6;},_0x2a433f[_0x151869(0x219)]=_0x151869(0x1e3);const _0x3a83ee=_0x2a433f,_0x34fe2e={};_0x34fe2e[_0x151869(0x1f5)]=0x2,_0x34fe2e[_0x151869(0xf5)]=0x3,logger[_0x151869(0x1e1)]('[JestTestFramework]\x20getJestTestScopes:\x20Extracting\x20scopes\x20from\x20testData:\x20'+util[_0x151869(0xfd)](_0x42fb3d,_0x34fe2e));const _0x19928d=[];if(_0x42fb3d&&_0x42fb3d[_0x151869(0x248)]){let _0x4657b9=_0x42fb3d[_0x151869(0x248)];while(_0x4657b9&&_0x4657b9[_0x151869(0x1c7)]&&_0x3a83ee['AmGcY'](_0x4657b9[_0x151869(0x1c7)],'')&&_0x3a83ee[_0x151869(0x1b7)](_0x4657b9[_0x151869(0x1c7)],_0x3a83ee[_0x151869(0x219)])){_0x19928d[_0x151869(0x14f)](_0x4657b9[_0x151869(0x1c7)]),_0x4657b9=_0x4657b9[_0x151869(0x248)];}}return _0x19928d[_0x151869(0x199)]();}[a75_0x177cd9(0x1fb)](_0x544a22){const _0x38b05a=a75_0x177cd9,_0x168bdd={};_0x168bdd[_0x38b05a(0x1d2)]='Unknown\x20Test';const _0x50a10e=_0x168bdd;if(_0x544a22[_0x38b05a(0x1c7)])return _0x544a22[_0x38b05a(0x1c7)];if(_0x544a22[_0x38b05a(0x111)])return _0x544a22[_0x38b05a(0x111)];return _0x50a10e['kwcPS'];}['getJestTestTags'](_0x3fec6d){const _0x2b2d8c=a75_0x177cd9,_0x217a72=[];if(_0x3fec6d[_0x2b2d8c(0x27c)]&&Array[_0x2b2d8c(0x19a)](_0x3fec6d[_0x2b2d8c(0x27c)]))return _0x3fec6d[_0x2b2d8c(0x27c)][_0x2b2d8c(0x148)](_0x17bdaa=>_0x17bdaa[_0x2b2d8c(0x27b)]('@')?_0x17bdaa[_0x2b2d8c(0x108)](0x1):_0x17bdaa);const _0x21fb2d=this[_0x2b2d8c(0x1fb)](_0x3fec6d),_0x3db3a4=_0x21fb2d[_0x2b2d8c(0x242)](/@(\w+)/g);if(_0x3db3a4)return _0x3db3a4['map'](_0x12f531=>_0x12f531[_0x2b2d8c(0x1ed)](0x1));return _0x3fec6d['scopes']&&Array[_0x2b2d8c(0x19a)](_0x3fec6d[_0x2b2d8c(0x227)])&&_0x3fec6d[_0x2b2d8c(0x227)][_0x2b2d8c(0x1ae)](_0x58f5f4=>{const _0x4f0930=_0x2b2d8c,_0x1c4db3=_0x58f5f4[_0x4f0930(0x242)](/@(\w+)/g);_0x1c4db3&&_0x1c4db3[_0x4f0930(0x1ae)](_0x55a1d2=>{const _0x5dd22f=_0x4f0930,_0x22bc73=_0x55a1d2[_0x5dd22f(0x1ed)](0x1);!_0x217a72[_0x5dd22f(0x1e6)](_0x22bc73)&&_0x217a72['push'](_0x22bc73);});}),_0x217a72;}['getJestTestFilePath'](_0x1cd022){const _0xd92760=a75_0x177cd9,_0x1c0c6b={'WneEm':function(_0x194934,_0x2b266b){return _0x194934(_0x2b266b);},'UmGjS':'stack-trace'};if(_0x1cd022[_0xd92760(0x1cb)])return _0x1cd022[_0xd92760(0x1cb)];if(_0x1cd022[_0xd92760(0x14d)]){const _0x4fa490=_0x1c0c6b[_0xd92760(0x225)](require,_0x1c0c6b['UmGjS']);try{const _0xcf8ea3=_0x4fa490[_0xd92760(0x218)](_0x1cd022[_0xd92760(0x14d)]);if(_0xcf8ea3[0x0]&&_0xcf8ea3[0x0][_0xd92760(0x17a)])return _0xcf8ea3[0x0][_0xd92760(0x17a)]();}catch(_0xf84615){logger[_0xd92760(0x1e1)](_0xd92760(0x185)+util[_0xd92760(0x1e8)](_0xf84615));}}return null;}[a75_0x177cd9(0x1d0)](_0x13bbe0){const _0x23426c=a75_0x177cd9,_0x4611ce={};_0x4611ce[_0x23426c(0x121)]=function(_0x1f1d22,_0x480f58){return _0x1f1d22>_0x480f58;},_0x4611ce[_0x23426c(0x15f)]='Unknown\x20error';const _0x4d97ac=_0x4611ce;if(_0x13bbe0[_0x23426c(0x21a)]&&_0x4d97ac[_0x23426c(0x121)](_0x13bbe0[_0x23426c(0x21a)]['length'],0x0))return util[_0x23426c(0xfd)](_0x13bbe0[_0x23426c(0x21a)][0x0]);if(_0x13bbe0[_0x23426c(0x264)])return _0x13bbe0[_0x23426c(0x264)];return _0x4d97ac[_0x23426c(0x15f)];}[a75_0x177cd9(0x200)](_0x33a82b){const _0x55b6bb=a75_0x177cd9,_0x4d32bc={};_0x4d32bc[_0x55b6bb(0x1cc)]='Assert',_0x4d32bc[_0x55b6bb(0x13e)]='AssertionError',_0x4d32bc['RPMcE']=_0x55b6bb(0x186);const _0x5d3fc7=_0x4d32bc,_0x237d4c=this[_0x55b6bb(0x1d0)](_0x33a82b);if(_0x237d4c&&_0x237d4c[_0x55b6bb(0x1e6)](_0x5d3fc7['eiMHH']))return _0x5d3fc7[_0x55b6bb(0x13e)];return _0x5d3fc7['RPMcE'];}[a75_0x177cd9(0x109)](_0x3a7fd4){const _0x1dc366=a75_0x177cd9,_0x29300e={'TOnLt':function(_0x23d0b7,_0x10776a){return _0x23d0b7(_0x10776a);},'ocQMg':_0x1dc366(0x13a),'UWcrs':function(_0xba514a,_0x4322da){return _0xba514a!==_0x4322da;},'FwvbW':_0x1dc366(0x20d)},{failureData:_0x539193}=_0x29300e[_0x1dc366(0x201)](require,_0x29300e[_0x1dc366(0x251)]),_0x8cd80b=[];return _0x29300e['UWcrs'](_0x3a7fd4['errorsDetailed'],undefined)&&_0x8cd80b['push'](_0x3a7fd4[_0x1dc366(0x21a)],_0x29300e['FwvbW']),_0x539193[_0x1dc366(0x247)](null,_0x8cd80b);}async[a75_0x177cd9(0x1aa)](_0x830454,_0x416e87,_0x4b448b,_0x16946b){const _0x4258cf=a75_0x177cd9,_0x4c1abe={'onQLX':'[JestTestFramework]\x20trackHookEvent:\x20No\x20hook\x20data\x20provided\x20for\x20jest\x20hook\x20event','ffTbA':function(_0x452be4){return _0x452be4();},'irFLw':function(_0x4a2837,_0x20f5dd){return _0x4a2837 in _0x20f5dd;},'cvQpg':function(_0x6d56fe,_0x69a70){return _0x6d56fe===_0x69a70;},'sqOYv':function(_0xd76ebc,_0x48fe2c){return _0xd76ebc===_0x48fe2c;},'zkcya':function(_0x1d2b45,_0xb2ddd2){return _0x1d2b45>_0xb2ddd2;},'gEIpi':_0x4258cf(0x24b),'UZUpk':'passed','cxckn':function(_0x5c816a,_0x52021b){return _0x5c816a===_0x52021b;},'FDefy':_0x4258cf(0x223),'VvrTR':function(_0x4cb67a,_0x5cf96d){return _0x4cb67a>_0x5cf96d;},'yFTPZ':function(_0x81831a,_0x539c09){return _0x81831a===_0x539c09;},'gGLcH':function(_0x64c6ef,_0x541cb2){return _0x64c6ef!==_0x541cb2;}},{hookData:_0x31b4e9}=_0x16946b,_0x244114=_0x4b448b[_0x4258cf(0x156)](),_0xda28d7=_0x416e87[_0x4258cf(0x156)](),_0x33db55={};_0x33db55[_0x4258cf(0x1f5)]=0x2,_0x33db55[_0x4258cf(0xf5)]=0x3,logger[_0x4258cf(0x1e1)](_0x4258cf(0x1b5)+_0xda28d7+_0x4258cf(0x123)+_0x244114+',\x20hookData='+util[_0x4258cf(0xfd)](_0x31b4e9,_0x33db55));if(!_0x31b4e9)return logger[_0x4258cf(0x1e1)](_0x4c1abe[_0x4258cf(0x1be)]),{};const _0x363488=_0x31b4e9[_0x4258cf(0x10b)]||_0x31b4e9['hookAnalyticsId']||_0x4c1abe[_0x4258cf(0xf2)](uuidv4),_0x25e8e9=_0x31b4e9[_0x4258cf(0x20c)]||this[_0x4258cf(0x10c)](_0x31b4e9),_0x1113d5=_0x416e87['toString']()['split']('.')[0x1],_0x9ff7c8=_0x830454[_0x4258cf(0x155)]()[_0x4258cf(0x275)](_0x25e8e9),_0x3e3bd5=_0x9ff7c8?_0x9ff7c8[TestFrameworkConstants[_0x4258cf(0x22a)]]||{}:{};logger['debug']('[JestTestFramework]\x20trackHookEvent:\x20Hook\x20info\x20-\x20hookId='+_0x363488+_0x4258cf(0x110)+_0x25e8e9+_0x4258cf(0x1b3)+_0x1113d5+_0x4258cf(0x123)+_0x244114);if(!_0x9ff7c8)return logger[_0x4258cf(0x1e1)]('[JestTestFramework]\x20trackHookEvent:\x20No\x20test\x20data\x20found\x20for\x20testId:\x20'+_0x25e8e9+_0x4258cf(0x27a)),this['storePendingHook'](_0x830454,_0x25e8e9,_0x416e87,_0x4b448b,_0x16946b),{};let _0x522dfa=_0x9ff7c8[TestFrameworkConstants[_0x4258cf(0x140)]];!_0x522dfa&&(_0x522dfa={});!_0x4c1abe['irFLw'](_0x1113d5,_0x522dfa)&&(_0x522dfa[_0x1113d5]=[]);let _0x2820e3=_0x9ff7c8[TestFrameworkConstants[_0x4258cf(0x249)]];!_0x2820e3&&(_0x2820e3={});!_0x4c1abe['irFLw'](_0x1113d5,_0x2820e3)&&(_0x2820e3[_0x1113d5]=[]);const _0x493781={[_0x25e8e9]:{[TestFrameworkConstants[_0x4258cf(0x140)]]:_0x522dfa,[TestFrameworkConstants['KEY_HOOKS_FINISHED']]:_0x2820e3,[TestFrameworkConstants[_0x4258cf(0x259)]]:this[_0x4258cf(0x15e)]()[0x0]||'',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:this[_0x4258cf(0x1b6)]()[this[_0x4258cf(0x15e)]()[0x0]]||''}};if(_0x4c1abe[_0x4258cf(0x211)](_0x4b448b,HookState[_0x4258cf(0x26d)])){const _0x533f08={'key':_0x1113d5,[TestFrameworkConstants[_0x4258cf(0x18e)]]:_0x363488,[TestFrameworkConstants[_0x4258cf(0x1cd)]]:TestFrameworkConstants[_0x4258cf(0x1fa)],[TestFrameworkConstants['KEY_EVENT_STARTED_AT']]:_0x31b4e9[_0x4258cf(0x1e9)]||new Date()['toISOString'](),[TestFrameworkConstants['KEY_HOOK_LOGS']]:[],[TestFrameworkConstants[_0x4258cf(0x168)]]:_0x31b4e9[_0x4258cf(0x1c7)]||_0x31b4e9[_0x4258cf(0x21c)]||_0x1113d5,[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:_0x3e3bd5};_0x522dfa[_0x1113d5][_0x4258cf(0x14f)](_0x533f08),_0x493781[_0x25e8e9][TestFrameworkConstants[_0x4258cf(0x24a)]]=_0x1113d5;const _0xa7bb6={};_0xa7bb6[_0x4258cf(0x1f5)]=0x2,logger[_0x4258cf(0x1e1)]('[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20PRE\x20-\x20hookType='+_0x1113d5+_0x4258cf(0x170)+_0x363488+',\x20testId='+_0x25e8e9+',\x20hook='+util[_0x4258cf(0xfd)](_0x533f08,_0xa7bb6));}else{if(_0x4c1abe[_0x4258cf(0x188)](_0x4b448b,HookState[_0x4258cf(0x143)])){const _0x3f2bbe=_0x31b4e9[_0x4258cf(0x12a)]||(_0x31b4e9['errorsDetailed']&&_0x4c1abe[_0x4258cf(0x279)](_0x31b4e9[_0x4258cf(0x21a)][_0x4258cf(0x255)],0x0)?_0x4c1abe['gEIpi']:_0x4c1abe[_0x4258cf(0x11f)]),_0x105fdb=_0x522dfa[_0x1113d5]||[];logger['debug'](_0x4258cf(0x1af)+_0x1113d5+_0x4258cf(0x110)+_0x25e8e9+_0x4258cf(0x14c)+_0x3f2bbe+_0x4258cf(0x165)+_0x105fdb[_0x4258cf(0x255)]);if(_0x4c1abe[_0x4258cf(0x188)](_0x105fdb['length'],0x0)&&_0x4c1abe[_0x4258cf(0x20f)](_0x416e87,TestFrameworkState['BEFORE_ALL']))return logger[_0x4258cf(0x1e1)](_0x4c1abe[_0x4258cf(0x278)]),this[_0x4258cf(0x269)](_0x830454,_0x25e8e9,_0x416e87,_0x4b448b,_0x16946b),{};if(_0x4c1abe['VvrTR'](_0x105fdb[_0x4258cf(0x255)],0x0)){const _0x59f137=_0x105fdb['pop']();_0x4c1abe['yFTPZ'](_0x3f2bbe,_0x4c1abe['gEIpi'])&&_0x31b4e9[_0x4258cf(0x21a)]?(_0x59f137[TestFrameworkConstants['KEY_HOOK_FAILURE_TYPE']]=this[_0x4258cf(0x200)](_0x31b4e9),_0x59f137[TestFrameworkConstants[_0x4258cf(0x215)]]=this[_0x4258cf(0x1d0)](_0x31b4e9),_0x59f137[TestFrameworkConstants['KEY_HOOK_FAILURE']]=this[_0x4258cf(0x109)](_0x31b4e9),logger[_0x4258cf(0x1e1)]('[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20FAILED\x20-\x20hookType='+_0x1113d5+_0x4258cf(0x1c2)+_0x59f137[TestFrameworkConstants[_0x4258cf(0x22d)]]+',\x20failureReason='+_0x59f137[TestFrameworkConstants['KEY_HOOK_FAILURE_REASON']]?.[_0x4258cf(0x167)](0x0,0xc8))):_0x59f137[TestFrameworkConstants[_0x4258cf(0x1cd)]]=_0x4c1abe[_0x4258cf(0x11f)];_0x4c1abe['gGLcH'](_0x3f2bbe,TestFrameworkConstants[_0x4258cf(0x1fa)])&&(_0x59f137[TestFrameworkConstants['KEY_HOOK_RESULT']]=_0x3f2bbe);_0x59f137[TestFrameworkConstants['KEY_EVENT_ENDED_AT']]=_0x31b4e9[_0x4258cf(0x209)]||new Date()['toISOString'](),_0x59f137[TestFrameworkConstants[_0x4258cf(0x22a)]]=_0x3e3bd5;const _0x390118=_0x59f137[TestFrameworkConstants[_0x4258cf(0x18e)]];!_0x2820e3[_0x1113d5]&&(_0x2820e3[_0x1113d5]=[]);_0x2820e3[_0x1113d5][_0x4258cf(0x14f)](_0x59f137),_0x493781[_0x25e8e9][TestFrameworkConstants[_0x4258cf(0x147)]]=_0x1113d5;const _0x4644db={};_0x4644db[_0x4258cf(0x1f5)]=0x2,logger[_0x4258cf(0x1e1)](_0x4258cf(0x129)+_0x1113d5+_0x4258cf(0x170)+_0x390118+_0x4258cf(0x14c)+_0x3f2bbe+_0x4258cf(0x1b0)+util[_0x4258cf(0xfd)](_0x59f137,_0x4644db));}}}return _0x493781;}['createTestFrameworkEventPayload'](_0x34eda3){const _0x3a2d58=a75_0x177cd9,_0x83518c={};_0x83518c['vIzGf']='base64';const _0x456e82=_0x83518c;try{const _0x53f5ec=_0x34eda3[_0x3a2d58(0x20d)]?this[_0x3a2d58(0x10c)](_0x34eda3[_0x3a2d58(0x20d)]):_0x34eda3['hookData'][_0x3a2d58(0x20c)],_0x14cefe=_0x34eda3['instance'],_0x353de0=_0x14cefe[_0x3a2d58(0x1d6)](),_0x4480bb=_0x14cefe['getAllData']()[_0x3a2d58(0x275)](_0x53f5ec);if(!_0x4480bb)return logger[_0x3a2d58(0x1e1)](_0x3a2d58(0x21e)+_0x53f5ec),{};const {[TestFrameworkConstants[_0x3a2d58(0x259)]]:_0x5b8094=this[_0x3a2d58(0x15e)]()[0x0]||'',[TestFrameworkConstants[_0x3a2d58(0xf1)]]:_0x79adb8=this[_0x3a2d58(0x1b6)]()[this[_0x3a2d58(0x15e)]()[0x0]]||'',[TestFrameworkConstants[_0x3a2d58(0x229)]]:_0xb9457b='',[TestFrameworkConstants[_0x3a2d58(0x133)]]:_0x579080=''}=_0x4480bb,_0x2825a8=_0x14cefe[_0x3a2d58(0x208)]()[_0x3a2d58(0x156)]()[_0x3a2d58(0x196)]('.')[0x1],_0x51b815=_0x14cefe[_0x3a2d58(0x220)]()[_0x3a2d58(0x156)]()[_0x3a2d58(0x196)]('.')[0x1],_0x3c7e9a=global?.[_0x3a2d58(0x25f)]?.['workerInfo']?.[_0x3a2d58(0x22c)]||global[_0x3a2d58(0x11a)]||0x0,_0x1b3623=_0x14cefe[_0x3a2d58(0xfb)](),_0x2cc499=Buffer[_0x3a2d58(0x1c5)](JSON[_0x3a2d58(0x1db)](_0x4480bb))[_0x3a2d58(0x156)](_0x456e82[_0x3a2d58(0x1bc)]),_0x4aca27={'hash':_0x353de0[_0x3a2d58(0x271)](),'threadId':_0x353de0['getThreadId']()[_0x3a2d58(0x156)](),'processId':_0x353de0[_0x3a2d58(0x24d)]()[_0x3a2d58(0x156)]()},_0x39edfc={};_0x39edfc[_0x3a2d58(0x21d)]=_0x3c7e9a,_0x39edfc['testFrameworkName']=_0x5b8094,_0x39edfc[_0x3a2d58(0x166)]=_0x79adb8,_0x39edfc[_0x3a2d58(0x10f)]=_0x2825a8,_0x39edfc[_0x3a2d58(0x187)]=_0x51b815,_0x39edfc[_0x3a2d58(0x131)]=_0xb9457b,_0x39edfc['endedAt']=_0x579080,_0x39edfc[_0x3a2d58(0x10b)]=_0x1b3623,_0x39edfc[_0x3a2d58(0x241)]=_0x2cc499,_0x39edfc[_0x3a2d58(0x128)]=_0x4aca27,_0x39edfc[_0x3a2d58(0x18a)]=_0x53f5ec;const _0x4d5f83=_0x39edfc;return _0x4d5f83;}catch(_0x5ec3b8){return logger[_0x3a2d58(0x270)]('Error\x20in\x20createTestFrameworkEventPayload:\x20'+util[_0x3a2d58(0x1e8)](_0x5ec3b8)),{};}}async[a75_0x177cd9(0x1c0)](_0x542a81,_0x40e6f0,_0x39bf3b){const _0x38e4a4=a75_0x177cd9,_0x31af67={'hZHwN':function(_0x319d52,_0x34cf69){return _0x319d52+_0x34cf69;},'KaGGq':_0x38e4a4(0x177),'QVyMO':'none','LNnPC':function(_0x676b08,_0xfa7706){return _0x676b08>_0xfa7706;},'XNmHe':function(_0x32d97a,_0x52173a,_0x54b6b3,_0x4103e6){return _0x32d97a(_0x52173a,_0x54b6b3,_0x4103e6);},'fTYzo':function(_0x112f24,_0x31b8b3){return _0x112f24-_0x31b8b3;},'NbQYk':function(_0x21865c,_0x1536ad){return _0x21865c===_0x1536ad;},'gtJQg':function(_0x31abcb,_0x236ca0){return _0x31abcb/_0x236ca0;},'argMY':function(_0x5bb3e0,_0x5db111){return _0x5bb3e0<_0x5db111;},'lYJbv':function(_0x53efe3,_0x40aef6){return _0x53efe3*_0x40aef6;},'GOczq':function(_0x336b00,_0x4a1da9){return _0x336b00+_0x4a1da9;},'dJYOK':function(_0x54ba81,_0x220e13){return _0x54ba81+_0x220e13;}};try{const _0x93bf3b=_0x39bf3b[_0x38e4a4(0x254)]||_0x39bf3b[_0x38e4a4(0xf7)],_0x9a159b=Array[_0x38e4a4(0x1c5)](_0x542a81[_0x38e4a4(0x155)]()['keys']()),_0x466845=_0x542a81[_0x38e4a4(0x155)]()[_0x38e4a4(0x275)](_0x93bf3b);if(!_0x466845){logger['debug'](_0x38e4a4(0x236)+_0x93bf3b);return;}const {[TestFrameworkConstants[_0x38e4a4(0x259)]]:_0x5c39c4='',[TestFrameworkConstants[_0x38e4a4(0xf1)]]:_0x5bfd56=''}=_0x466845;let _0x32cb2f=[];_0x466845&&_0x466845[TestFrameworkConstants[_0x38e4a4(0x150)]]&&Array[_0x38e4a4(0x19a)](_0x466845[TestFrameworkConstants[_0x38e4a4(0x150)]])?(_0x32cb2f=_0x466845[TestFrameworkConstants[_0x38e4a4(0x150)]]||[],logger[_0x38e4a4(0x1e1)](_0x38e4a4(0x19d)+_0x32cb2f['length']+_0x38e4a4(0x124)+_0x93bf3b),_0x542a81[_0x38e4a4(0x1ad)]({[_0x93bf3b]:{[TestFrameworkConstants[_0x38e4a4(0x150)]]:[],[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:this[_0x38e4a4(0x15e)]()[0x0]||'',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:this[_0x38e4a4(0x1b6)]()[this[_0x38e4a4(0x15e)]()[0x0]]||''}}),logger[_0x38e4a4(0x1e1)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20Cleared\x20logs\x20from\x20instance.data[KEY_LOGS]\x20for\x20testId:\x20'+_0x93bf3b)):logger[_0x38e4a4(0x1e1)](_0x38e4a4(0x17e)+_0x93bf3b);logger[_0x38e4a4(0x1e1)](_0x38e4a4(0x16b)+_0x32cb2f['length']+_0x38e4a4(0x1ec)+_0x93bf3b);const _0xe5ed92=_0x32cb2f[_0x38e4a4(0x134)](_0x23fcd1=>_0x23fcd1[_0x38e4a4(0xf6)]===_0x38e4a4(0x152));_0x31af67[_0x38e4a4(0x190)](_0xe5ed92['length'],0x0)&&(logger[_0x38e4a4(0x1e1)](_0x38e4a4(0x21f)+_0xe5ed92['length']+_0x38e4a4(0x1bf)+_0x93bf3b),_0xe5ed92['forEach']((_0x5dbfca,_0xea5a2d)=>{const _0x23fbfa=_0x38e4a4;logger[_0x23fbfa(0x1e1)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20Screenshot\x20log\x20'+_0x31af67[_0x23fbfa(0xef)](_0xea5a2d,0x1)+'/'+_0xe5ed92[_0x23fbfa(0x255)]+'\x20-\x20test_identifier='+(_0x5dbfca[_0x23fbfa(0x18a)]||_0x31af67[_0x23fbfa(0x1e5)])+_0x23fbfa(0x116)+(_0x5dbfca[_0x23fbfa(0x226)]||_0x31af67[_0x23fbfa(0x1e5)])+_0x23fbfa(0xf0)+(_0x5dbfca['hook_run_uuid']||_0x31af67[_0x23fbfa(0x1e7)])+_0x23fbfa(0x1ab)+(_0x5dbfca[_0x23fbfa(0x25e)]?.[_0x23fbfa(0x255)]||0x0));}));const _0x38a4d9=_0x466845[TestFrameworkConstants[_0x38e4a4(0x1c3)]]||{},_0x364edd=_0x31af67[_0x38e4a4(0x1a4)](getMediaArtifactsLogs,_0x38a4d9,null,_0x93bf3b),_0x56e474=(_0x32cb2f||[])[_0x38e4a4(0x17b)](_0x364edd||[]),_0xde1d66=_0xe5ed92?.[_0x38e4a4(0x255)]||0x0,_0x2102d4=_0x31af67[_0x38e4a4(0x1f2)](_0x32cb2f?.[_0x38e4a4(0x255)]||0x0,_0xde1d66);logger[_0x38e4a4(0x1e1)](_0x38e4a4(0x233)+_0x93bf3b+_0x38e4a4(0x24e)+_0x2102d4+_0x38e4a4(0x169)+_0xde1d66+_0x38e4a4(0x235)+(_0x364edd?.['length']||0x0)+_0x38e4a4(0x205)+_0x56e474['length']);if(!_0x56e474||_0x31af67[_0x38e4a4(0x194)](_0x56e474[_0x38e4a4(0x255)],0x0)){logger[_0x38e4a4(0x1e1)](_0x38e4a4(0xf3)+_0x93bf3b);return;}const _0x1e4aab=0x28,_0x187231=Math[_0x38e4a4(0x191)](_0x31af67[_0x38e4a4(0x101)](_0x56e474[_0x38e4a4(0x255)],_0x1e4aab));for(let _0x412cc6=0x0;_0x31af67[_0x38e4a4(0x1a5)](_0x412cc6,_0x187231);_0x412cc6++){const _0x36c76f=_0x31af67[_0x38e4a4(0x246)](_0x412cc6,_0x1e4aab),_0x3e8ed4=_0x31af67['hZHwN'](_0x36c76f,_0x1e4aab),_0x2253a2=_0x56e474['slice'](_0x36c76f,_0x3e8ed4),_0x516013=global?.['browserstackPlatformIndex']??0x0,_0xf770a8={'platformIndex':_0x516013,'logs':_0x2253a2,'testFrameworkName':_0x5c39c4,'testFrameworkVersion':_0x5bfd56,'testFrameworkState':_0x40e6f0[_0x38e4a4(0x156)]()[_0x38e4a4(0x196)]('.')[0x1]},_0x17654a={};_0x17654a[_0x38e4a4(0x1f5)]=0x3,_0x17654a[_0x38e4a4(0xf5)]=0x5,logger[_0x38e4a4(0x1e1)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20Batch\x20'+_0x31af67[_0x38e4a4(0x1f9)](_0x412cc6,0x1)+'/'+_0x187231+_0x38e4a4(0x117)+_0x93bf3b+_0x38e4a4(0x263)+_0x2253a2[_0x38e4a4(0x255)]+_0x38e4a4(0x206)+_0x516013+_0x38e4a4(0x203)+util[_0x38e4a4(0xfd)](_0xf770a8,_0x17654a));const _0x5ebd1f=await GrpcClient[_0x38e4a4(0x239)]()['logCreatedEvent'](_0xf770a8);logger[_0x38e4a4(0x1e1)](_0x38e4a4(0x12d)+_0x31af67[_0x38e4a4(0x181)](_0x412cc6,0x1)+'/'+_0x187231+'\x20-\x20testId:\x20'+_0x93bf3b+',\x20response='+util[_0x38e4a4(0xfd)](_0x5ebd1f));}_0x364edd&&_0x31af67[_0x38e4a4(0x190)](_0x364edd[_0x38e4a4(0x255)],0x0)&&_0x466845[TestFrameworkConstants[_0x38e4a4(0x1c3)]]&&_0x542a81[_0x38e4a4(0x1ad)]({[_0x93bf3b]:{[TestFrameworkConstants[_0x38e4a4(0x1c3)]]:{},[TestFrameworkConstants[_0x38e4a4(0x259)]]:this['getTestFrameworks']()[0x0]||'',[TestFrameworkConstants[_0x38e4a4(0xf1)]]:this[_0x38e4a4(0x1b6)]()[this['getTestFrameworks']()[0x0]]||''}}),logger[_0x38e4a4(0x1e1)](_0x38e4a4(0x23e)+_0x93bf3b+_0x38e4a4(0x1d5)+_0x187231);}catch(_0x553ec9){logger[_0x38e4a4(0x270)](_0x38e4a4(0x1cf)+(_0x39bf3b[_0x38e4a4(0x254)]||_0x39bf3b['testId'])+',\x20error:\x20'+util['format'](_0x553ec9));}}[a75_0x177cd9(0x269)](_0x41ba7a,_0x47c60c,_0x5d50aa,_0x1d330,_0xeb5767){const _0x4bc685=a75_0x177cd9,_0x55de40={};_0x55de40[_0x4bc685(0x10d)]=function(_0x144861,_0x2163cf){return _0x144861===_0x2163cf;},_0x55de40[_0x4bc685(0x221)]=_0x4bc685(0x10a);const _0x1284cc=_0x55de40,{hookData:_0x577159}=_0xeb5767,_0x275380={'testId':_0x47c60c,'testFrameworkState':_0x5d50aa,'hookState':_0x1d330,'args':_0xeb5767,'timestamp':new Date()[_0x4bc685(0x137)]()};if(_0x1284cc[_0x4bc685(0x10d)](_0x5d50aa,TestFrameworkState[_0x4bc685(0x1d1)])&&_0x577159){const _0x2fc914={};_0x2fc914[_0x4bc685(0x1f4)]=_0x577159[_0x4bc685(0x1cb)]||_0x577159[_0x4bc685(0x224)],_0x2fc914['scope']=_0x577159['scope']||_0x577159['scopes']&&_0x577159[_0x4bc685(0x227)][0x0]||'',_0x2fc914[_0x4bc685(0x22e)]=_0x1284cc[_0x4bc685(0x221)],_0x275380[_0x4bc685(0x11d)]=_0x2fc914,logger[_0x4bc685(0x1e1)](_0x4bc685(0x1e0)+_0x47c60c+',\x20filePath:\x20'+_0x275380[_0x4bc685(0x11d)][_0x4bc685(0x1f4)]+_0x4bc685(0x184)+_0x275380[_0x4bc685(0x11d)][_0x4bc685(0x231)]);}_0x41ba7a[_0x4bc685(0xf4)](_0x47c60c,_0x275380),logger[_0x4bc685(0x1e1)]('Stored\x20pending\x20hook\x20for\x20testId:\x20'+_0x47c60c+_0x4bc685(0x192)+_0x5d50aa+',\x20hookState:\x20'+_0x1d330);}async[a75_0x177cd9(0x256)](_0x122334,_0x5c6f10){const _0x26b57d=a75_0x177cd9,_0x36d6c6={};_0x36d6c6['vRcSM']=function(_0x3b0c32,_0x1937bd){return _0x3b0c32>_0x1937bd;},_0x36d6c6[_0x26b57d(0x21b)]=function(_0x213b58,_0x2f31ae){return _0x213b58===_0x2f31ae;},_0x36d6c6[_0x26b57d(0x173)]=function(_0x7ea5ca,_0x34676b){return _0x7ea5ca===_0x34676b;},_0x36d6c6[_0x26b57d(0x115)]=function(_0x21217d,_0x2ffabd){return _0x21217d===_0x2ffabd;},_0x36d6c6[_0x26b57d(0xfc)]=function(_0x54d10c,_0x1fcf40){return _0x54d10c===_0x1fcf40;},_0x36d6c6[_0x26b57d(0x19b)]=_0x26b57d(0x237);const _0x5eb30b=_0x36d6c6;if(_0x122334[_0x26b57d(0x24f)](_0x5c6f10)){const _0x3d8ab0=_0x122334[_0x26b57d(0x118)](_0x5c6f10);logger['debug'](_0x26b57d(0x202)+_0x3d8ab0[_0x26b57d(0x255)]+_0x26b57d(0xfe)+_0x5c6f10);for(const _0x10b21f of _0x3d8ab0){try{const _0x52bced=await this[_0x26b57d(0x1aa)](_0x122334,_0x10b21f[_0x26b57d(0x10f)],_0x10b21f[_0x26b57d(0x187)],_0x10b21f['args']);_0x52bced&&_0x5eb30b['vRcSM'](Object[_0x26b57d(0x132)](_0x52bced)[_0x26b57d(0x255)],0x0)&&_0x122334[_0x26b57d(0x1ad)](_0x52bced),await this[_0x26b57d(0xff)](_0x122334,_0x10b21f[_0x26b57d(0x10f)],_0x10b21f[_0x26b57d(0x187)],_0x10b21f[_0x26b57d(0x243)]);}catch(_0x405834){logger[_0x26b57d(0x270)](_0x26b57d(0x230)+_0x5c6f10+_0x26b57d(0x1ce)+_0x405834);}}_0x122334[_0x26b57d(0x130)](_0x5c6f10),logger['debug']('Cleared\x20processed\x20pending\x20hooks\x20for\x20testId:\x20'+_0x5c6f10);}const _0x525855=_0x122334[_0x26b57d(0x155)]()[_0x26b57d(0x275)](_0x5c6f10);if(_0x525855){const _0x56db53=_0x525855[TestFrameworkConstants[_0x26b57d(0x1fc)]]||_0x525855[TestFrameworkConstants[_0x26b57d(0x1f8)]],_0x1a778f=_0x525855[TestFrameworkConstants['KEY_TEST_SCOPE']]||_0x525855[TestFrameworkConstants[_0x26b57d(0x144)]]&&_0x525855[TestFrameworkConstants[_0x26b57d(0x144)]][0x0]||'';logger[_0x26b57d(0x1e1)]('[JestTestFramework]\x20processPendingHooks:\x20Checking\x20for\x20beforeAll\x20hooks\x20matching\x20filePath:\x20'+_0x56db53+_0x26b57d(0x184)+_0x1a778f);const _0x1afef2=_0x122334[_0x26b57d(0x210)]();for(const _0x40a5f2 of _0x1afef2){if(_0x5eb30b['ybDkD'](_0x40a5f2,_0x5c6f10))continue;if(_0x122334[_0x26b57d(0x24f)](_0x40a5f2)){const _0xd8aa29=_0x122334['getPendingHooks'](_0x40a5f2);for(const _0x3d748d of _0xd8aa29){if(_0x5eb30b[_0x26b57d(0x173)](_0x3d748d[_0x26b57d(0x10f)],TestFrameworkState['BEFORE_ALL'])&&_0x3d748d[_0x26b57d(0x11d)]){const _0x3a09b9=_0x3d748d[_0x26b57d(0x11d)][_0x26b57d(0x1f4)],_0x1d9045=_0x3d748d[_0x26b57d(0x11d)][_0x26b57d(0x231)];if(_0x5eb30b['FjTIE'](_0x3a09b9,_0x56db53)&&_0x5eb30b[_0x26b57d(0xfc)](_0x1d9045,_0x1a778f)){logger[_0x26b57d(0x1e1)](_0x26b57d(0x20a)+_0x40a5f2+',\x20currentTestId:\x20'+_0x5c6f10+_0x26b57d(0x23b)+_0x3a09b9+_0x26b57d(0x184)+_0x1d9045);_0x3d748d[_0x26b57d(0x243)]&&_0x3d748d[_0x26b57d(0x243)][_0x26b57d(0x1d7)]&&(_0x3d748d[_0x26b57d(0x243)][_0x26b57d(0x1d7)][_0x26b57d(0x20c)]=_0x5c6f10,logger[_0x26b57d(0x1e1)](_0x26b57d(0xed)+_0x40a5f2+_0x26b57d(0x213)+_0x5c6f10));try{const _0x1f0bfd=await this[_0x26b57d(0x1aa)](_0x122334,_0x3d748d['testFrameworkState'],_0x3d748d[_0x26b57d(0x187)],_0x3d748d['args']);_0x1f0bfd&&_0x5eb30b[_0x26b57d(0x175)](Object[_0x26b57d(0x132)](_0x1f0bfd)[_0x26b57d(0x255)],0x0)&&_0x122334[_0x26b57d(0x1ad)](_0x1f0bfd);await this[_0x26b57d(0xff)](_0x122334,_0x3d748d['testFrameworkState'],_0x3d748d[_0x26b57d(0x187)],_0x3d748d['args']);const _0x3e8729=_0x122334['getPendingHooks'](_0x40a5f2)['filter'](_0x37f248=>_0x37f248!==_0x3d748d);if(_0x5eb30b['ZgIMP'](_0x3e8729[_0x26b57d(0x255)],0x0))_0x122334[_0x26b57d(0x130)](_0x40a5f2);else{_0x122334[_0x26b57d(0x130)](_0x40a5f2);for(const _0x7cbe88 of _0x3e8729){_0x122334[_0x26b57d(0xf4)](_0x40a5f2,_0x7cbe88);}}logger['debug'](_0x5eb30b['qZWHN']);}catch(_0x521a65){logger[_0x26b57d(0x270)](_0x26b57d(0x22f)+_0x5c6f10+_0x26b57d(0x1ce)+_0x521a65);}}}}}}}}[a75_0x177cd9(0x182)](_0x395618){const _0x4ed301=a75_0x177cd9,_0x199e82={'uxMCK':function(_0x36bfc2){return _0x36bfc2();}};if(!_0x395618||!_0x395618[_0x4ed301(0x248)])return;_0x395618['parent']['hooks']&&Array[_0x4ed301(0x19a)](_0x395618[_0x4ed301(0x248)][_0x4ed301(0x139)])&&_0x395618[_0x4ed301(0x248)][_0x4ed301(0x139)]['forEach'](_0x5b9243=>{const _0x4c7032=_0x4ed301;!_0x5b9243[_0x4c7032(0x106)]&&!_0x5b9243[_0x4c7032(0x18d)]&&(_0x5b9243[_0x4c7032(0x106)]=_0x199e82['uxMCK'](uuidv4),_0x5b9243[_0x4c7032(0x18d)]=_0x5b9243[_0x4c7032(0x106)],logger[_0x4c7032(0x1e1)](_0x4c7032(0x1a7)+_0x5b9243['type']+_0x4c7032(0x13c)+_0x5b9243[_0x4c7032(0x106)]));}),this[_0x4ed301(0x182)](_0x395618[_0x4ed301(0x248)]);}[a75_0x177cd9(0x1eb)](_0x153c74){const _0x23b64e=a75_0x177cd9,_0x420fa9={'bJvdv':function(_0x3f507b,_0x307bf3){return _0x3f507b(_0x307bf3);}};if(!_0x153c74||!_0x153c74['parent'])return[];const _0x4709e4=[];return _0x153c74['parent'][_0x23b64e(0x139)]&&Array[_0x23b64e(0x19a)](_0x153c74[_0x23b64e(0x248)]['hooks'])&&_0x153c74[_0x23b64e(0x248)][_0x23b64e(0x139)][_0x23b64e(0x1ae)](_0x44cb31=>{const _0x9d7d33=_0x23b64e,_0x1094af=_0x44cb31[_0x9d7d33(0x106)]||_0x44cb31['hookUUID'];_0x1094af&&!this[_0x9d7d33(0x238)](_0x44cb31)&&!_0x420fa9[_0x9d7d33(0xee)](isInternalHook,_0x44cb31['fn'])&&_0x4709e4[_0x9d7d33(0x14f)](_0x1094af);}),[..._0x4709e4,...this[_0x23b64e(0x1eb)](_0x153c74['parent'])];}[a75_0x177cd9(0x153)](_0x56b054){const _0x1c1600=a75_0x177cd9,_0x37f77c={'azrpv':function(_0x15d2b9,_0xb3f832){return _0x15d2b9(_0xb3f832);},'PPlOQ':_0x1c1600(0x1fd)},_0x357d2d=new Map(),_0x30128e=_0x262680=>{const _0x1d48d2=_0x1c1600;if(!_0x262680||!_0x262680[_0x1d48d2(0x248)])return;_0x262680[_0x1d48d2(0x248)][_0x1d48d2(0x139)]&&Array[_0x1d48d2(0x19a)](_0x262680[_0x1d48d2(0x248)][_0x1d48d2(0x139)])&&_0x262680[_0x1d48d2(0x248)][_0x1d48d2(0x139)][_0x1d48d2(0x1ae)](_0x14e499=>{const _0x1ff47d=_0x1d48d2,_0x3b7651=_0x14e499[_0x1ff47d(0x106)]||_0x14e499[_0x1ff47d(0x18d)];if(_0x3b7651&&!this['isJestInternalHook'](_0x14e499)&&!_0x37f77c[_0x1ff47d(0x171)](isInternalHook,_0x14e499['fn'])){const _0x429af2={};_0x429af2[_0x1ff47d(0x112)]=_0x14e499[_0x1ff47d(0x112)]||_0x37f77c[_0x1ff47d(0x15b)],_0x429af2[_0x1ff47d(0x1c7)]=_0x14e499['name']||'\x22'+_0x14e499[_0x1ff47d(0x112)]+'\x22\x20hook',_0x357d2d[_0x1ff47d(0x257)](_0x3b7651,_0x429af2);}}),_0x37f77c[_0x1d48d2(0x171)](_0x30128e,_0x262680[_0x1d48d2(0x248)]);};return _0x37f77c[_0x1c1600(0x171)](_0x30128e,_0x56b054),_0x357d2d;}['isJestInternalHook'](_0x2bc21d){const _0x2699af=a75_0x177cd9,_0x2167d9={};_0x2167d9[_0x2699af(0x216)]=_0x2699af(0x1fe),_0x2167d9[_0x2699af(0x12f)]='[JestTestFramework]\x20isJestInternalHook:\x20Exception\x20checking\x20hook\x20file:\x20${util.format(e)}';const _0x1c617f=_0x2167d9;try{const _0x3d8ce4=this[_0x2699af(0x244)](_0x2bc21d);return _0x3d8ce4&&_0x3d8ce4[_0x2699af(0x1e6)](_0x1c617f[_0x2699af(0x216)]);}catch(_0x42c31){logger[_0x2699af(0x1e1)](_0x1c617f[_0x2699af(0x12f)]);}return![];}[a75_0x177cd9(0x244)](_0x57d894){const _0xdc3a72=a75_0x177cd9;if(_0x57d894[_0xdc3a72(0x14d)])try{const _0x4d8c78=stackTrace[_0xdc3a72(0x218)](_0x57d894['asyncError']);return _0x4d8c78[0x0]?_0x4d8c78[0x0]['getFileName']():null;}catch(_0x42e1f6){logger[_0xdc3a72(0x1e1)](_0xdc3a72(0x136)+util[_0xdc3a72(0x1e8)](_0x42e1f6));}if(_0x57d894[_0xdc3a72(0x13f)])return _0x57d894[_0xdc3a72(0x13f)];return null;}}module[a75_0x177cd9(0x24c)]=JestTestFramework;function a75_0x21a4(){const _0x1ce584=[',\x20scope:\x20','Error\x20parsing\x20asyncError\x20for\x20file\x20path:\x20','UnhandledError','hookState','sqOYv','find','test_identifier','[JestTestFramework]\x20setActiveHook:\x20Invalid\x20parameters\x20-\x20testIdentifier=',':testAnalyticsId','hookUUID','KEY_HOOK_ID','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Data\x20BEFORE\x20parseJestTestResult:\x20','LNnPC','ceil',',\x20state:\x20','cLcbj','NbQYk','event_ended_at','split','114132zgsedv','860661GNsQuz','reverse','isArray','qZWHN','ewfZw','[JestTestFramework]\x20sendLogCreatedEvent:\x20Logs\x20retrieved\x20from\x20instance.data[KEY_LOGS]:\x20','86205OvBSeF','KEY_TEST_META','KEY_TEST_RESULT','[JestTestFramework]\x20trackEvent:\x20HOOK\x20event\x20-\x20testFrameworkState=','skip','pBOcy','XNmHe','argMY','LHvgm','[JestTestFramework]\x20mapTestHooks:\x20Assigned\x20UUID\x20to\x20hook\x20-\x20type=','299593svGCMA','DyANC','trackHookEvent',',\x20messageLength=','[JestTestFramework]\x20setActiveHook:\x20testIdentifier=','addMultipleEntries','forEach','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20-\x20hookType=',',\x20hook=','KEY_EVENT_STARTED_AT','[JestTestFramework]\x20parseJestTest:\x20SUCCESS\x20-\x20testName=','\x20(testIdentifier),\x20hookType=','KUYld','[JestTestFramework]\x20trackHookEvent:\x20START\x20-\x20testFrameworkState=','getTestFrameworksVersions','AmGcY','\x20hook','matchHookRegex',',\x20testData=','removeActiveHook','vIzGf','[JestTestFramework]\x20parseJestTest:\x20START\x20-\x20','onQLX','\x20screenshot\x20logs\x20for\x20testId:\x20','sendLogCreatedEvent','JestTestFramework',',\x20failureType=','KEY_TEST_ATTACHMENTS','KEY_TEST_NAME','from','ZYMsr','name','../TestInfo.js','oDODp','51075ZeMxcW','file_name','eiMHH','KEY_HOOK_RESULT',',\x20error:\x20','[JestTestFramework]\x20sendLogCreatedEvent:\x20ERROR\x20-\x20testId:\x20','getJestFailureReason','BEFORE_ALL','kwcPS','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20ATTACHMENTS\x20FOUND:\x20','[JestTestFramework]\x20trackEvent:\x20TEST\x20-\x20testId=',',\x20totalBatches:\x20','getContext','hookData','[JestTestFramework]\x20getJestTestIdentifier:\x20Extracted\x20identifier=\x22','\x20(testIdentifier),\x20result=','ALL','stringify','rCFTH','QVJxU','YpozP','stack-trace','[JestTestFramework]\x20storePendingHook:\x20Stored\x20beforeAll\x20hook\x20with\x20metadata\x20-\x20testId:\x20','debug',',\x20argsKeys=','ROOT_DESCRIBE_BLOCK','\x20files','KaGGq','includes','QVyMO','format','started_at','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Processing\x20test\x20result\x20for\x20testId:\x20','getHooksForTest','\x20for\x20testId:\x20','slice','warn','NONE','fbhhg','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Parsed\x20test\x20result\x20entries:\x20','fTYzo','[JestTestFramework]\x20getJestTestIdentifier:\x20No\x20identifier\x20in\x20testData,\x20using\x20fallback','filePath','depth','FdJlD',',\x20version=','KEY_TEST_LOCATION','GOczq','DEFAULT_HOOK_RESULT','getJestTestName','KEY_TEST_FILE_PATH','unknown','jest-circus','KEY_TEST_LOGS','getJestFailureType','TOnLt','Processing\x20',',\x20payload:\x20','hook_result',',\x20totalLogs:\x20',',\x20platformIndex:\x20','parseJestTest','getCurrentTestState','finished_at','[JestTestFramework]\x20processPendingHooks:\x20Found\x20matching\x20beforeAll\x20hook\x20-\x20storedTestId:\x20','getJestTestScopes','test_run_id','test','Klfvi','cxckn','getAllPendingHookTestIds','cvQpg','310UNJCcV','\x20to\x20','EWjhW','KEY_HOOK_FAILURE_REASON','fDMCY',',\x20scopes=','parse','dalor','errorsDetailed','ybDkD','hook_type','platformIndex','createTestFrameworkEventPayload:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','[JestTestFramework]\x20sendLogCreatedEvent:\x20Found\x20','getCurrentHookState','eeKVd','VkGVD','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20BEFORE_ALL\x20with\x20no\x20matching\x20PRE,\x20storing\x20as\x20pending','location','WneEm','test_run_uuid','scopes','[JestTestFramework]\x20trackEvent:\x20ERROR\x20-\x20testFrameworkState=','KEY_TEST_STARTED_AT','KEY_CUSTOM_TAGS','activeHooks','parallelIndex','KEY_HOOK_FAILURE_TYPE','hookType','[JestTestFramework]\x20processPendingHooks:\x20Error\x20processing\x20matching\x20beforeAll\x20hook\x20for\x20testId:\x20','Error\x20processing\x20pending\x20hook\x20for\x20testId:\x20','scope','KEY_EVENT_ENDED_AT','[JestTestFramework]\x20sendLogCreatedEvent:\x20Log\x20counts\x20-\x20testId:\x20','132CLLoWA',',\x20attachmentLogs:\x20','[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','[JestTestFramework]\x20processPendingHooks:\x20Processed\x20and\x20removed\x20matching\x20beforeAll\x20hook','isJestInternalHook','getInstance','util',',\x20filePath:\x20','parseJestTestResult',',\x20failureReason=','[JestTestFramework]\x20sendLogCreatedEvent:\x20SUCCESS\x20-\x20testId:\x20','CLkuX','mWgiD','eventJson','match','args','getRootParentFile','\x20attachments','lYJbv','apply','parent','KEY_HOOKS_FINISHED','KEY_HOOK_LAST_STARTED','failed','exports','getProcessId',',\x20consoleLogs:\x20','hasPendingHooks','[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Loading\x20testData\x20for\x20testId:\x20','ocQMg','[JestTestFramework]\x20parseJestTestResult:\x20Using\x20merged\x20hooksFinished/hooksStarted\x20-\x20hookTypes=','testData','testUUID','length','processPendingHooks','set','has','KEY_TEST_FRAMEWORK_NAME','[JestTestFramework]\x20parseJestTestResult:\x20Existing\x20attachments\x20in\x20instance\x20data:\x20','KEY_TEST_RETRY_OF','jqXfA','eLTbi','message','__workerDetails','KEY_TEST_ID','MyKGU','[JestTestFramework]\x20parseJestTestResult:\x20Using\x20hooks\x20from\x20testData',',\x20logsInBatch:\x20','failure_reason','_ALL','[JestTestFramework]\x20removeActiveHook:\x20Hook\x20not\x20found\x20-\x20testIdentifier=','KEY_AUTOMATE_SESSION_NAME','afterAll','storePendingHook','../instances/trackedInstance.js',',\x20hookType=',',\x20filePath=','PRE','zzzZv','[JestTestFramework]\x20trackEvent:\x20SUCCESS\x20-\x20testFrameworkState=','error','getId','9182544WNInAw','DEFAULT_TEST_RESULT','LtqmR','get','ZKbLs','TEST','FDefy','zkcya',',\x20storing\x20as\x20pending\x20hook','startsWith','tags','instance','mxYoD',',\x20testFramework=','[JestTestFramework]\x20processPendingHooks:\x20Updated\x20hook\x20test_run_id\x20from\x20','bJvdv','hZHwN',',\x20hook_run_uuid=','KEY_TEST_FRAMEWORK_VERSION','ffTbA','[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20logs\x20found,\x20skipping\x20-\x20testId:\x20','addPendingHook','maxArrayLength','kind','testId','[JestTestFramework]\x20removeActiveHook:\x20Removed\x20hook\x20-\x20testIdentifier=','KEY_TEST_UUID','getCurrentInstanceName','getRef','YmKMV','inspect','\x20pending\x20hooks\x20for\x20testId:\x20','runHooks',',\x20duration=','gtJQg','No\x20test\x20data\x20or\x20testId\x20found\x20for\x20jest\x20test','getTrackedInstance','sjKQq','[JestTestFramework]\x20trackEvent:\x20HOOK\x20-\x20Hook\x20event\x20updates:\x20','hookAnalyticsId','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Test\x20result\x20processed\x20for\x20testId:\x20','substr','getJestFailureData','beforeAll','uuid','getJestTestIdentifier','SAQkt','Zkqoe','testFrameworkState',',\x20testId=','title','type','originalTest','../state/testFrameworkState.js','FjTIE',',\x20test_run_uuid=','\x20-\x20testId:\x20','getPendingHooks','setTrackedInstance','__bstackPlatformIndex','duration','KEY_TEST_CODE','hookMetadata','retryOf','UZUpk','[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Test\x20data\x20loaded\x20for\x20testId:\x20','YImYz','pePAw',',\x20hookState=','\x20logs\x20for\x20testId:\x20','[JestTestFramework]\x20trackJestInstance:\x20SUCCESS\x20-\x20saved\x20instance\x20contextId=','[JestTestFramework]\x20parseJestTestResult:\x20FAILURE\x20-\x20testId=','../instances/testFrameworkInstance.js','executionContext','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20-\x20Completed\x20hookType=','result','trackJestInstance:\x20created\x20instance\x20for\x20target=','[JestTestFramework]\x20resolveInstance:\x20Instance\x20created\x20-\x20instanceExists=','[JestTestFramework]\x20sendLogCreatedEvent:\x20Batch\x20','YGvgl','SUfyo','removePendingHooks','startedAt','keys','KEY_TEST_ENDED_AT','filter','80NMaiMF','[JestTestFramework]\x20getRootParentFile:\x20Exception\x20parsing\x20stack\x20trace:\x20','toISOString','status','hooks','../../../helpers/test-observability/utils','\x22\x20from\x20testData',',\x20hookUUID=','[JestTestFramework]\x20trackEvent:\x20TEST\x20event\x20-\x20hookState=','UNFbv','file','KEY_HOOKS_STARTED','KEY_TEST_FAILURE_TYPE','DgeGr','POST','KEY_TEST_SCOPES','findIndex',',\x20hookData=','KEY_HOOK_LAST_FINISHED','map','trackJestInstance:\x20instance\x20already\x20exists',',\x20state=','delete',',\x20result=','asyncError','KEY_TEST_RERUN_NAME','push','KEY_LOGS','body','TEST_SCREENSHOT','buildHookMapFromTest','../cliUtils.js','getAllData','toString','../grpcClient','[JestTestFramework]\x20getActiveHook:\x20Found\x20active\x20hook\x20-\x20testIdentifier=','KEY_TEST_DURATION','trackJestInstance','PPlOQ','KEY_TEST_FAILURE','getActiveHook','getTestFrameworks','lxYLF','[JestTestFramework]\x20removeActiveHook:\x20Invalid\x20parameters\x20-\x20testIdentifier=','join','hook_id','hQNHD','resolveInstance',',\x20hooksListLength=','testFrameworkVersion','substring','KEY_HOOK_NAME',',\x20screenshotLogs:\x20','[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Parsed\x20test\x20entries:\x20','[JestTestFramework]\x20sendLogCreatedEvent:\x20Total\x20logs\x20retrieved:\x20','[JestTestFramework]\x20parseJestTestResult:\x20SUCCESS\x20-\x20testName=','KEY_TEST_TAGS','gqbdM','[JestTestFramework]\x20trackEvent:\x20unsupported\x20testFrameworkState=',',\x20hookId=','azrpv','code','ZgIMP','../state/hookState.js','vRcSM','./constants/testFrameworkConstants.js','missing','KEY_TEST_FAILURE_REASON','18188RFMSVC','getFileName','concat','bWEeQ','trackEvent','[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20logs\x20found\x20in\x20instance.data[KEY_LOGS]\x20for\x20testId:\x20','getJestTestFilePath','[JestTestFramework]\x20trackEvent:\x20Test\x20Framework\x20instance\x20not\x20found','dJYOK','mapTestHooks','KEY_HOOK_LOGS'];a75_0x21a4=function(){return _0x1ce584;};return a75_0x21a4();}
|
|
1
|
+
const a75_0xa81eb9=a75_0x2880;function a75_0x2880(_0x5dad9c,_0x5d9f66){const _0x598af0=a75_0x598a();return a75_0x2880=function(_0x288059,_0x3a0aa9){_0x288059=_0x288059-0x90;let _0x20a1d7=_0x598af0[_0x288059];return _0x20a1d7;},a75_0x2880(_0x5dad9c,_0x5d9f66);}(function(_0x41d978,_0x2fd897){const _0x1f9e43=a75_0x2880,_0x37d94d=_0x41d978();while(!![]){try{const _0x45859a=parseInt(_0x1f9e43(0x203))/0x1*(parseInt(_0x1f9e43(0x155))/0x2)+-parseInt(_0x1f9e43(0x1f4))/0x3+parseInt(_0x1f9e43(0x146))/0x4*(-parseInt(_0x1f9e43(0x16d))/0x5)+parseInt(_0x1f9e43(0xf7))/0x6*(parseInt(_0x1f9e43(0x1b7))/0x7)+-parseInt(_0x1f9e43(0x107))/0x8+-parseInt(_0x1f9e43(0x212))/0x9*(-parseInt(_0x1f9e43(0xa8))/0xa)+parseInt(_0x1f9e43(0x10f))/0xb;if(_0x45859a===_0x2fd897)break;else _0x37d94d['push'](_0x37d94d['shift']());}catch(_0x5f16d7){_0x37d94d['push'](_0x37d94d['shift']());}}}(a75_0x598a,0x705a6));const TestFramework=require(a75_0xa81eb9(0x1ac)),TestFrameworkState=require(a75_0xa81eb9(0xde)),HookState=require(a75_0xa81eb9(0x1fe)),{createClassLogger}=require(a75_0xa81eb9(0xd2)),TestFrameworkInstance=require(a75_0xa81eb9(0x1f3)),CLIUtils=require(a75_0xa81eb9(0x158)),TrackedInstance=require(a75_0xa81eb9(0x19a)),TestFrameworkConstants=require(a75_0xa81eb9(0x191)),{getManualUploadLogs,getMediaArtifactsLogs}=require('../../../helpers/helper.js'),{isInternalHook}=require(a75_0xa81eb9(0x1a2)),logger=createClassLogger(a75_0xa81eb9(0x183)),{v4:uuidv4}=require(a75_0xa81eb9(0xdb)),util=require(a75_0xa81eb9(0x1e7)),TestInfo=require(a75_0xa81eb9(0xa4)),GrpcClient=require(a75_0xa81eb9(0x182)),stackTrace=require(a75_0xa81eb9(0x1ed));class JestTestFramework extends TestFramework{constructor(_0x101d41,_0x578b04,_0x3ea602){const _0x14992e=a75_0xa81eb9;super(_0x101d41,_0x578b04,_0x3ea602),this[_0x14992e(0xf5)]=new Map();}[a75_0xa81eb9(0x1fc)](_0x27319d,_0xbb10c6,_0x5d25fb){const _0x1618c7=a75_0xa81eb9,_0x59f297={};_0x59f297[_0x1618c7(0x1d3)]=function(_0x15b52e,_0x2f41f4){return _0x15b52e||_0x2f41f4;};const _0x302501=_0x59f297;if(_0x302501['CgQaR'](!_0x27319d,!_0xbb10c6)){logger[_0x1618c7(0x173)](_0x1618c7(0x1c9)+_0x27319d+',\x20hookUUID='+_0xbb10c6);return;}!this[_0x1618c7(0xf5)][_0x1618c7(0x1cc)](_0x27319d)&&this['activeHooks'][_0x1618c7(0x19d)](_0x27319d,[]);const _0x208c94={'hookUUID':_0xbb10c6,'hookType':_0x5d25fb,'startedAt':new Date()[_0x1618c7(0x197)]()};this[_0x1618c7(0xf5)][_0x1618c7(0x1f0)](_0x27319d)[_0x1618c7(0x9c)](_0x208c94),logger['debug'](_0x1618c7(0xfa)+_0x27319d+',\x20hookUUID='+_0xbb10c6+_0x1618c7(0x216)+_0x5d25fb+_0x1618c7(0x160)+this[_0x1618c7(0xf5)]['get'](_0x27319d)[_0x1618c7(0x175)]);}[a75_0xa81eb9(0x11c)](_0x41e6d2,_0x1e786c){const _0xe41c15=a75_0xa81eb9,_0x36b6e6={};_0x36b6e6[_0xe41c15(0xb6)]=function(_0x52026b,_0x152b76){return _0x52026b||_0x152b76;},_0x36b6e6[_0xe41c15(0x1d7)]=function(_0x35c55a,_0xeba1ab){return _0x35c55a!==_0xeba1ab;},_0x36b6e6['mFhPW']=function(_0x57113e,_0x2bbb1b){return _0x57113e===_0x2bbb1b;};const _0x3b99ef=_0x36b6e6;if(_0x3b99ef[_0xe41c15(0xb6)](!_0x41e6d2,!_0x1e786c)){logger[_0xe41c15(0x173)](_0xe41c15(0x1e3)+_0x41e6d2+_0xe41c15(0x92)+_0x1e786c);return;}if(this['activeHooks']['has'](_0x41e6d2)){const _0x3ed7c7=this[_0xe41c15(0xf5)][_0xe41c15(0x1f0)](_0x41e6d2),_0x15a33c=_0x3ed7c7[_0xe41c15(0xa9)](_0x4ebeb4=>_0x4ebeb4[_0xe41c15(0x119)]===_0x1e786c);_0x3b99ef[_0xe41c15(0x1d7)](_0x15a33c,-0x1)?(_0x3ed7c7[_0xe41c15(0xea)](_0x15a33c,0x1),logger['debug'](_0xe41c15(0x10e)+_0x41e6d2+',\x20hookUUID='+_0x1e786c+_0xe41c15(0x190)+_0x3ed7c7['length']),_0x3b99ef['mFhPW'](_0x3ed7c7[_0xe41c15(0x175)],0x0)&&this[_0xe41c15(0xf5)][_0xe41c15(0x12f)](_0x41e6d2)):logger['debug']('[JestTestFramework]\x20removeActiveHook:\x20Hook\x20not\x20found\x20-\x20testIdentifier='+_0x41e6d2+_0xe41c15(0x92)+_0x1e786c);}}[a75_0xa81eb9(0x1d5)](_0x3382b5){const _0xada6ac=a75_0xa81eb9,_0x2707e2={};_0x2707e2[_0xada6ac(0x1a9)]=function(_0x59e3d3,_0x5146aa){return _0x59e3d3>_0x5146aa;},_0x2707e2['GTbZf']=function(_0x16b57c,_0x4312cb){return _0x16b57c-_0x4312cb;};const _0x211bcb=_0x2707e2;if(!_0x3382b5)return null;if(this['activeHooks']['has'](_0x3382b5)){const _0x18c6a5=this[_0xada6ac(0xf5)][_0xada6ac(0x1f0)](_0x3382b5);if(_0x211bcb['QWXCQ'](_0x18c6a5[_0xada6ac(0x175)],0x0)){const _0x433fc1=_0x18c6a5[_0x211bcb[_0xada6ac(0xc4)](_0x18c6a5['length'],0x1)];return logger[_0xada6ac(0x1b1)](_0xada6ac(0x21c)+_0x3382b5+_0xada6ac(0x92)+_0x433fc1[_0xada6ac(0x119)]+_0xada6ac(0x216)+_0x433fc1[_0xada6ac(0x227)]),_0x433fc1;}}return null;}async[a75_0xa81eb9(0xca)](_0x3ec3a9,_0x25e17a,_0x5f3440={}){const _0xf9ef2d=a75_0xa81eb9,_0x3d7a7f={};_0x3d7a7f['yTUlK']='[JestTestFramework]\x20trackEvent:\x20Test\x20Framework\x20instance\x20not\x20found',_0x3d7a7f[_0xf9ef2d(0x154)]=function(_0x36b80a,_0x503be5){return _0x36b80a===_0x503be5;},_0x3d7a7f[_0xf9ef2d(0xcd)]=function(_0x193bca,_0x3fc45f){return _0x193bca===_0x3fc45f;},_0x3d7a7f[_0xf9ef2d(0xc6)]=function(_0x3f7d94,_0x299485){return _0x3f7d94||_0x299485;},_0x3d7a7f[_0xf9ef2d(0xec)]='[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20NO\x20ATTACHMENTS\x20FOUND',_0x3d7a7f[_0xf9ef2d(0x1fa)]=function(_0x2c0ca4,_0x295024){return _0x2c0ca4===_0x295024;};const _0x100b40=_0x3d7a7f;logger['debug'](_0xf9ef2d(0xfc)+_0x3ec3a9+',\x20hookState='+_0x25e17a+_0xf9ef2d(0x13f)+Object[_0xf9ef2d(0xa5)](_0x5f3440)[_0xf9ef2d(0x17d)](',')),await super[_0xf9ef2d(0xca)](_0x3ec3a9,_0x25e17a,_0x5f3440);const _0x5bc6fd=this[_0xf9ef2d(0x179)](_0x3ec3a9,_0x25e17a,_0x5f3440);if(!_0x5bc6fd){logger[_0xf9ef2d(0x1b1)](_0x100b40[_0xf9ef2d(0x1c4)]);return;}try{let _0x5e0b79,_0x3146f6,_0x1f2147;switch(_0x3ec3a9){case TestFrameworkState[_0xf9ef2d(0xf9)]:_0x5e0b79=_0x5f3440['test'];const _0x21937b={};_0x21937b[_0xf9ef2d(0x11a)]=0x2,_0x21937b[_0xf9ef2d(0x1ae)]=0x3,logger[_0xf9ef2d(0x1b1)](_0xf9ef2d(0x133)+_0x25e17a+_0xf9ef2d(0x168)+util['inspect'](_0x5e0b79,_0x21937b)),_0x1f2147=this[_0xf9ef2d(0xab)](_0x5e0b79),_0x3146f6=null,logger[_0xf9ef2d(0x1b1)](_0xf9ef2d(0xc0)+_0x1f2147+'\x20(testIdentifier)');if(_0x100b40['YkvMq'](_0x25e17a,HookState[_0xf9ef2d(0x9d)])){logger[_0xf9ef2d(0x1b1)](_0xf9ef2d(0x9e)+_0x1f2147);const _0x4de8e5={};_0x4de8e5[_0xf9ef2d(0x172)]=_0x3146f6,_0x4de8e5[_0xf9ef2d(0x222)]=_0x5e0b79,_0x4de8e5[_0xf9ef2d(0x1dd)]=_0x1f2147;const _0x5b79b4=this['parseJestTest'](_0x4de8e5),_0xf7de6={};_0xf7de6[_0xf9ef2d(0x11a)]=0x2,_0xf7de6['maxArrayLength']=0x3,logger['debug'](_0xf9ef2d(0x224)+util[_0xf9ef2d(0x17e)](_0x5b79b4,_0xf7de6)),_0x5bc6fd[_0xf9ef2d(0x210)](_0x5b79b4),logger[_0xf9ef2d(0x1b1)](_0xf9ef2d(0xf1)+_0x1f2147),await this[_0xf9ef2d(0xd9)](_0x5bc6fd,_0x1f2147);}else{if(_0x100b40[_0xf9ef2d(0xcd)](_0x25e17a,HookState[_0xf9ef2d(0x138)])){logger['debug']('[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Processing\x20test\x20result\x20for\x20testId:\x20'+_0x1f2147);const _0x59e9de=_0x5bc6fd[_0xf9ef2d(0xcb)]()[_0xf9ef2d(0x1f0)](_0x1f2147);logger[_0xf9ef2d(0x1b1)](_0xf9ef2d(0x202)+util['inspect'](Object[_0xf9ef2d(0xa5)](_0x100b40[_0xf9ef2d(0xc6)](_0x59e9de,{}))));_0x59e9de&&_0x59e9de[TestFrameworkConstants[_0xf9ef2d(0xd1)]]?logger['debug'](_0xf9ef2d(0x97)+Object[_0xf9ef2d(0xa5)](_0x59e9de[TestFrameworkConstants[_0xf9ef2d(0xd1)]])['length']+'\x20files'):logger[_0xf9ef2d(0x1b1)](_0x100b40[_0xf9ef2d(0xec)]);const _0x237d63=_0x5f3440[_0xf9ef2d(0xe6)]||null,_0x4c671a={};_0x4c671a[_0xf9ef2d(0x172)]=_0x3146f6,_0x4c671a['testData']=_0x5e0b79,_0x4c671a['testId']=_0x1f2147,_0x4c671a[_0xf9ef2d(0xe6)]=_0x237d63;const _0x4d01e5=this[_0xf9ef2d(0x17c)](_0x4c671a),_0x1564e9={};_0x1564e9[_0xf9ef2d(0x11a)]=0x2,_0x1564e9[_0xf9ef2d(0x1ae)]=0x3,logger[_0xf9ef2d(0x1b1)](_0xf9ef2d(0x1a6)+util[_0xf9ef2d(0x17e)](_0x4d01e5,_0x1564e9)),_0x5bc6fd[_0xf9ef2d(0x210)](_0x4d01e5),logger[_0xf9ef2d(0x1b1)](_0xf9ef2d(0x187)+_0x1f2147),await this[_0xf9ef2d(0xd9)](_0x5bc6fd,_0x1f2147);}}break;case TestFrameworkState[_0xf9ef2d(0x180)]:if(_0x100b40[_0xf9ef2d(0x1fa)](_0x25e17a,HookState['POST'])){const _0x51d683={};_0x51d683['depth']=0x2,logger[_0xf9ef2d(0x1b1)](_0xf9ef2d(0x1b0)+util[_0xf9ef2d(0x17e)](_0x5f3440,_0x51d683)),await this[_0xf9ef2d(0x21e)](_0x5bc6fd,_0x3ec3a9,_0x5f3440);}break;default:if(CLIUtils[_0xf9ef2d(0x201)](_0x3ec3a9['toString']()['split']('.')[0x1])){const _0x2d7fe7={};_0x2d7fe7[_0xf9ef2d(0x11a)]=0x2,_0x2d7fe7[_0xf9ef2d(0x1ae)]=0x3,logger[_0xf9ef2d(0x1b1)](_0xf9ef2d(0x1f8)+_0x3ec3a9+_0xf9ef2d(0x194)+_0x25e17a+',\x20hookData='+util[_0xf9ef2d(0x17e)](_0x5f3440[_0xf9ef2d(0x96)],_0x2d7fe7));const _0x1754ff=await this[_0xf9ef2d(0x1bd)](_0x5bc6fd,_0x3ec3a9,_0x25e17a,_0x5f3440),_0x73b36={};_0x73b36[_0xf9ef2d(0x11a)]=0x2,_0x73b36[_0xf9ef2d(0x1ae)]=0x3,logger['debug'](_0xf9ef2d(0x1d6)+util['inspect'](_0x1754ff,_0x73b36)),_0x5bc6fd[_0xf9ef2d(0x210)](_0x1754ff);}else logger['debug']('[JestTestFramework]\x20trackEvent:\x20unsupported\x20testFrameworkState='+_0x3ec3a9+_0xf9ef2d(0x165)+_0x25e17a);break;}logger[_0xf9ef2d(0x1b1)](_0xf9ef2d(0x217)+_0x3ec3a9+_0xf9ef2d(0x194)+_0x25e17a);}catch(_0x4f198e){logger[_0xf9ef2d(0x16f)](_0xf9ef2d(0x1e1)+_0x3ec3a9+_0xf9ef2d(0x194)+_0x25e17a+_0xf9ef2d(0x110)+util[_0xf9ef2d(0x99)](_0x4f198e));}_0x5f3440['instance']=_0x5bc6fd,await this[_0xf9ef2d(0x102)](_0x5bc6fd,_0x3ec3a9,_0x25e17a,_0x5f3440);}[a75_0xa81eb9(0xab)](_0x33efd0){const _0x39735b=a75_0xa81eb9,_0x3b47c8={};_0x3b47c8[_0x39735b(0xdf)]='[JestTestFramework]\x20getJestTestIdentifier:\x20No\x20identifier\x20in\x20testData,\x20using\x20fallback';const _0x161e74=_0x3b47c8;if(_0x33efd0&&(_0x33efd0['id']||_0x33efd0[_0x39735b(0xdb)])){const _0x4e815e=_0x33efd0['id']||_0x33efd0[_0x39735b(0xdb)];return logger[_0x39735b(0x1b1)](_0x39735b(0xe0)+_0x4e815e+'\x22\x20from\x20testData'),_0x4e815e;}return logger[_0x39735b(0x1b1)](_0x161e74['Atwav']),process[_0x39735b(0xe5)]+_0x39735b(0x14d);}[a75_0xa81eb9(0x179)](_0x56b0c9,_0x1d980d,_0x4c6c1f={}){const _0x17d403=a75_0xa81eb9;let _0x1c12d6=null;return _0x1c12d6=TestFramework['getTrackedInstance'](),!_0x1c12d6?(logger[_0x17d403(0x1b1)]('[JestTestFramework]\x20resolveInstance:\x20No\x20instance\x20found,\x20creating\x20new\x20instance\x20for\x20state='+_0x56b0c9),this[_0x17d403(0x15b)](_0x56b0c9,_0x4c6c1f),_0x1c12d6=TestFramework[_0x17d403(0xb3)](),logger[_0x17d403(0x1b1)]('[JestTestFramework]\x20resolveInstance:\x20Instance\x20created\x20-\x20instanceExists='+!!_0x1c12d6+_0x17d403(0x124)+_0x1c12d6?.['getContext']()?.[_0x17d403(0x111)]())):logger[_0x17d403(0x1b1)]('[JestTestFramework]\x20resolveInstance:\x20Using\x20existing\x20instance\x20-\x20contextId='+_0x1c12d6[_0x17d403(0x18d)]()?.[_0x17d403(0x111)]()),_0x1c12d6;}['trackJestInstance'](_0x46a8ac,_0x49745f){const _0x9d3b97=a75_0xa81eb9,_0x57767f={};_0x57767f[_0x9d3b97(0x17b)]=_0x9d3b97(0x225);const _0x2c9819=_0x57767f;if(TestFramework['getTrackedInstance']()){logger['debug'](_0x2c9819[_0x9d3b97(0x17b)]);return;}const _0x40ff4e=CLIUtils[_0x9d3b97(0x136)](),_0x40f354=TrackedInstance[_0x9d3b97(0x152)](_0x40ff4e);let _0x1d5a26=null;logger[_0x9d3b97(0x1b1)]('trackJestInstance:\x20created\x20instance\x20for\x20target='+_0x40ff4e+_0x9d3b97(0x1db)+_0x46a8ac),_0x1d5a26=new TestFrameworkInstance(_0x40f354,this['getTestFrameworks'](),this['getTestFrameworksVersions'](),_0x46a8ac,HookState[_0x9d3b97(0x1c2)]),TestFramework[_0x9d3b97(0x22a)](_0x40f354,_0x1d5a26),logger[_0x9d3b97(0x1b1)]('[JestTestFramework]\x20trackJestInstance:\x20SUCCESS\x20-\x20saved\x20instance\x20contextId='+_0x40f354[_0x9d3b97(0x111)]()+_0x9d3b97(0x134)+_0x40ff4e+',\x20testFramework='+this['getTestFrameworks']()[0x0]+_0x9d3b97(0x1df)+this['getTestFrameworksVersions']()[this[_0x9d3b97(0xd6)]()[0x0]]);}['parseJestTest'](_0x4589fa){const _0x108e69=a75_0xa81eb9,_0x2a5476={};_0x2a5476[_0x108e69(0x13e)]=function(_0x4c0619,_0x2b6a59){return _0x4c0619||_0x2b6a59;},_0x2a5476[_0x108e69(0x1c8)]=_0x108e69(0x104);const _0x2612d2=_0x2a5476,{testUUID:_0x5759a3,testData:_0xe1dab7,testId:_0x24a0df}=_0x4589fa;if(_0x2612d2[_0x108e69(0x13e)](!_0xe1dab7,!_0x24a0df))return logger[_0x108e69(0x1b1)](_0x2612d2[_0x108e69(0x1c8)]),{};const _0x8b1335=this['getTestFrameworks']()[0x0],_0x2cb3cf=this[_0x108e69(0xe1)](),_0x1353b3={};_0x1353b3[_0x108e69(0x11a)]=0x2,_0x1353b3[_0x108e69(0x1ae)]=0x3,logger['debug']('[JestTestFramework]\x20parseJestTest:\x20START\x20-\x20'+util[_0x108e69(0x17e)](_0xe1dab7,_0x1353b3));const _0x444343=_0xe1dab7?.[_0x108e69(0x20d)]||[],_0x31a558=this[_0x108e69(0xee)](_0xe1dab7),_0x4d9a9f=this[_0x108e69(0xf6)](_0xe1dab7),_0x503a43=_0xe1dab7['fn']?_0xe1dab7['fn'][_0x108e69(0x109)]():_0xe1dab7?.[_0x108e69(0x11b)]?_0xe1dab7[_0x108e69(0x11b)][_0x108e69(0xa1)][_0x108e69(0x109)]():null,_0x45ea94=this[_0x108e69(0x19b)](_0xe1dab7),_0x1b3860={[TestFrameworkConstants[_0x108e69(0x219)]]:_0x8b1335,[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x2cb3cf[_0x8b1335],[TestFrameworkConstants[_0x108e69(0x206)]]:[],[TestFrameworkConstants[_0x108e69(0xf2)]]:{},[TestFrameworkConstants[_0x108e69(0xbf)]]:{},[TestFrameworkConstants[_0x108e69(0x14b)]]:TestFrameworkConstants[_0x108e69(0x163)],[TestFrameworkConstants[_0x108e69(0x16c)]]:_0x31a558,[TestFrameworkConstants[_0x108e69(0x1f6)]]:_0x4d9a9f,[TestFrameworkConstants[_0x108e69(0x13c)]]:_0x24a0df,[TestFrameworkConstants['KEY_TEST_NAME']]:_0x31a558,[TestFrameworkConstants[_0x108e69(0x1f2)]]:_0x4d9a9f,[TestFrameworkConstants[_0x108e69(0xe7)]]:_0x503a43,[TestFrameworkConstants[_0x108e69(0x139)]]:_0x45ea94,[TestFrameworkConstants[_0x108e69(0x1e5)]]:_0xe1dab7[_0x108e69(0x198)]||new Date()[_0x108e69(0x197)](),[TestFrameworkConstants[_0x108e69(0x12c)]]:_0x444343[0x0]||'',[TestFrameworkConstants[_0x108e69(0x177)]]:_0x444343,[TestFrameworkConstants[_0x108e69(0x15a)]]:_0x31a558,[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:{},[TestFrameworkConstants['KEY_TEST_META']]:{}};_0xe1dab7[_0x108e69(0xc1)]&&(_0x1b3860[TestFrameworkConstants[_0x108e69(0x101)]]=_0xe1dab7[_0x108e69(0xc1)]);logger['debug'](_0x108e69(0xba)+_0x31a558+_0x108e69(0x20a)+_0x24a0df+_0x108e69(0x1a7)+JSON[_0x108e69(0xed)](_0x45ea94)+',\x20scopes='+util[_0x108e69(0x17e)](_0x444343)+_0x108e69(0xa2)+_0x4d9a9f);const _0x2052e4={};return _0x2052e4[_0x24a0df]=_0x1b3860,_0x2052e4;}['parseJestTestResult'](_0x566eae){const _0xf54f21=a75_0xa81eb9,_0x578ebf={'STPzQ':function(_0x384e60,_0x5b7a32){return _0x384e60===_0x5b7a32;},'BGKDO':_0xf54f21(0x1ee),'jIyie':_0xf54f21(0x185),'TMvCC':_0xf54f21(0x148),'fMFoG':_0xf54f21(0x181),'mnMiX':function(_0x1d8aa5,_0x4ffe38){return _0x1d8aa5||_0x4ffe38;},'YiUJQ':_0xf54f21(0xf8),'bPhkp':'unknown','rguwk':function(_0x8bc4d2,_0x578c82){return _0x8bc4d2>_0x578c82;},'Gqcgj':_0xf54f21(0x19e),'AjoeP':function(_0x3e2ecc,_0x4bc785){return _0x3e2ecc===_0x4bc785;},'GRvrQ':'skip','VMCFr':_0xf54f21(0xe2),'hhgJx':'passed','LSyuQ':function(_0xb2b64e,_0x406871){return _0xb2b64e!==_0x406871;},'tDvut':function(_0x3f7359,_0x2d7d7b,_0x516c10,_0x37cf5d){return _0x3f7359(_0x2d7d7b,_0x516c10,_0x37cf5d);},'Istzz':function(_0x392045,_0x4f7941){return _0x392045>_0x4f7941;},'NwKtX':_0xf54f21(0x159),'suCaK':function(_0x28c532,_0x1cec93){return _0x28c532>_0x1cec93;},'nZBJp':function(_0xbd3698,_0x229b3c){return _0xbd3698===_0x229b3c;}},{testUUID:_0x7584f8,testData:_0x43cf75,testId:_0x4a56a8}=_0x566eae;if(_0x578ebf[_0xf54f21(0x1fd)](!_0x43cf75,!_0x4a56a8))return logger[_0xf54f21(0x1b1)](_0x578ebf[_0xf54f21(0xf0)]),{};const _0x691c43=this[_0xf54f21(0x179)](TestFrameworkState[_0xf54f21(0xf9)],HookState['POST']),_0x1a2316=_0x691c43['getAllData']()[_0xf54f21(0x1f0)](_0x4a56a8),_0xfd9b29=_0x578ebf[_0xf54f21(0x1fd)](_0x1a2316,{}),_0x45563f=_0xfd9b29?_0xfd9b29[TestFrameworkConstants[_0xf54f21(0x1ef)]]||{}:{},_0x118536=_0xfd9b29[TestFrameworkConstants[_0xf54f21(0xd1)]];logger[_0xf54f21(0x1b1)](_0xf54f21(0x131)+(_0x118536?Object['keys'](_0x118536)[_0xf54f21(0x175)]:0x0)+_0xf54f21(0x20f));let _0x2428b9=_0x578ebf[_0xf54f21(0xdc)];if(_0x43cf75[_0xf54f21(0x115)])_0x2428b9=_0x43cf75['result'];else{if(_0x43cf75['errorsDetailed']&&_0x578ebf[_0xf54f21(0x1e2)](_0x43cf75[_0xf54f21(0xd8)][_0xf54f21(0x175)],0x0))_0x2428b9=_0x578ebf['Gqcgj'];else _0x578ebf[_0xf54f21(0xcc)](_0x43cf75[_0xf54f21(0x1b8)],_0x578ebf[_0xf54f21(0xd7)])||_0x578ebf[_0xf54f21(0x1ca)](_0x43cf75['status'],_0x578ebf['VMCFr'])?_0x2428b9=_0x578ebf[_0xf54f21(0x135)]:_0x2428b9=_0x578ebf[_0xf54f21(0x10a)];}const _0x27d4b3={..._0xfd9b29,[TestFrameworkConstants[_0xf54f21(0x14b)]]:_0x2428b9,[TestFrameworkConstants[_0xf54f21(0x1a4)]]:_0x43cf75['finished_at']||new Date()[_0xf54f21(0x197)](),[TestFrameworkConstants['KEY_TEST_RESULT_AT']]:new Date()[_0xf54f21(0x197)](),[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:_0x45563f,[TestFrameworkConstants[_0xf54f21(0x18b)]]:_0xfd9b29[TestFrameworkConstants['KEY_LOGS']]||[],[TestFrameworkConstants['KEY_TEST_META']]:{}};if(_0x578ebf[_0xf54f21(0xcc)](_0x2428b9,_0x578ebf['Gqcgj'])&&_0x43cf75[_0xf54f21(0xd8)]){const _0x2e4aa2=this[_0xf54f21(0xe9)](_0x43cf75),_0x42381d=this[_0xf54f21(0x10c)](_0x43cf75),_0x3942fe=this[_0xf54f21(0x10d)](_0x43cf75);_0x27d4b3[TestFrameworkConstants[_0xf54f21(0x1d8)]]=_0x42381d,_0x27d4b3[TestFrameworkConstants[_0xf54f21(0x1fb)]]=_0x2e4aa2,_0x27d4b3[TestFrameworkConstants['KEY_TEST_FAILURE']]=_0x3942fe;}_0x578ebf['LSyuQ'](_0x43cf75['duration'],undefined)&&(_0x27d4b3[TestFrameworkConstants['KEY_TEST_DURATION']]=_0x43cf75[_0xf54f21(0x14c)]);_0x43cf75['retryOf']&&(_0x27d4b3[TestFrameworkConstants[_0xf54f21(0x101)]]=_0x43cf75[_0xf54f21(0xc1)]);const _0x2eb525=_0x1a2316?_0x1a2316[TestFrameworkConstants[_0xf54f21(0xd1)]]||{}:{},_0x5909a8=_0x1a2316?_0x1a2316[TestFrameworkConstants['KEY_TEST_UUID']]:_0x7584f8,_0x38f766=_0x578ebf[_0xf54f21(0x15d)](getManualUploadLogs,_0x2eb525,_0x5909a8,_0x4a56a8);if(_0x578ebf[_0xf54f21(0x1ad)](_0x38f766['length'],0x0)){const _0x528b81=_0x27d4b3[TestFrameworkConstants[_0xf54f21(0x18b)]]||[];_0x27d4b3[TestFrameworkConstants['KEY_LOGS']]=[..._0x528b81,..._0x38f766];}const _0x376813=_0xfd9b29[TestFrameworkConstants[_0xf54f21(0xf2)]]||{},_0x359119=_0xfd9b29[TestFrameworkConstants['KEY_HOOKS_STARTED']]||{},_0x5c20cd={..._0x376813},_0x2a9675=_0x5c20cd;Object[_0xf54f21(0xa5)](_0x359119)[_0xf54f21(0x205)](_0x105b74=>{const _0x1e15fe=_0xf54f21;!_0x2a9675[_0x105b74]&&(_0x2a9675[_0x105b74]=[]);const _0x4e2917=new Set((_0x2a9675[_0x105b74]||[])['map'](_0x7052a0=>_0x7052a0[TestFrameworkConstants[_0x1e15fe(0x1cb)]]||_0x7052a0[_0x1e15fe(0x1e0)]));(_0x359119[_0x105b74]||[])['forEach'](_0x22d16e=>{const _0xad22a6=_0x1e15fe,_0x160b4d=_0x22d16e[TestFrameworkConstants[_0xad22a6(0x1cb)]]||_0x22d16e[_0xad22a6(0x1e0)];if(!_0x4e2917[_0xad22a6(0x1cc)](_0x160b4d)){const _0x22bb85={..._0x22d16e},_0x843302=_0x22bb85;!_0x843302[TestFrameworkConstants[_0xad22a6(0x98)]]&&!_0x843302[_0xad22a6(0x1be)]&&(_0x843302[TestFrameworkConstants[_0xad22a6(0x98)]]=new Date()[_0xad22a6(0x197)]()),!_0x843302[TestFrameworkConstants['KEY_HOOK_RESULT']]&&!_0x843302[_0xad22a6(0x1b6)]&&(_0x843302[TestFrameworkConstants[_0xad22a6(0x126)]]=TestFrameworkConstants[_0xad22a6(0x1b2)]),_0x2a9675[_0x105b74][_0xad22a6(0x9c)](_0x843302);}});});if(_0x566eae[_0xf54f21(0xe6)]){this[_0xf54f21(0x125)](_0x566eae[_0xf54f21(0xe6)]);const _0x55af2e=this[_0xf54f21(0x12b)](_0x566eae['originalTest']),_0x125f01=this[_0xf54f21(0x20c)](_0x566eae[_0xf54f21(0xe6)]);_0x125f01['forEach'](_0x1db305=>{const _0x939d15=_0xf54f21,_0x5c06e3=_0x55af2e[_0x939d15(0x1f0)](_0x1db305);if(_0x5c06e3&&(_0x578ebf[_0x939d15(0x1ca)](_0x5c06e3[_0x939d15(0x9a)],_0x578ebf[_0x939d15(0x21d)])||_0x578ebf[_0x939d15(0x1ca)](_0x5c06e3[_0x939d15(0x9a)],_0x578ebf['jIyie']))){const _0x551584=_0x5c06e3[_0x939d15(0x9a)][_0x939d15(0x1d2)]()[_0x939d15(0xc2)](_0x578ebf['TMvCC'],_0x578ebf[_0x939d15(0x1bc)]),_0x1b0810=_0x551584;!_0x2a9675[_0x1b0810]&&(_0x2a9675[_0x1b0810]=[]);const _0x4e0b46=_0x2a9675[_0x1b0810][_0x939d15(0x130)](_0xf25753=>(_0xf25753[TestFrameworkConstants[_0x939d15(0x1cb)]]||_0xf25753[_0x939d15(0x1e0)])===_0x1db305);!_0x4e0b46&&_0x2a9675[_0x1b0810][_0x939d15(0x9c)]({'key':_0x1b0810,[TestFrameworkConstants[_0x939d15(0x1cb)]]:_0x1db305,[TestFrameworkConstants['KEY_HOOK_RESULT']]:TestFrameworkConstants[_0x939d15(0x1b2)],[TestFrameworkConstants[_0x939d15(0x127)]]:new Date()[_0x939d15(0x197)](),[TestFrameworkConstants[_0x939d15(0x98)]]:new Date()['toISOString'](),[TestFrameworkConstants[_0x939d15(0x169)]]:[],[TestFrameworkConstants[_0x939d15(0x167)]]:_0x5c06e3[_0x939d15(0x114)]||_0x5c06e3[_0x939d15(0x9a)]+_0x939d15(0x164),[TestFrameworkConstants[_0x939d15(0x1ef)]]:_0x45563f});}});}if(_0x43cf75[_0xf54f21(0x215)]&&_0x578ebf[_0xf54f21(0x1e2)](_0x43cf75[_0xf54f21(0x215)][_0xf54f21(0x175)],0x0))_0x27d4b3[TestFrameworkConstants[_0xf54f21(0xf2)]]=_0x43cf75['hooks'],logger[_0xf54f21(0x1b1)](_0x578ebf['NwKtX']);else _0x578ebf[_0xf54f21(0x93)](Object['keys'](_0x2a9675)[_0xf54f21(0x175)],0x0)&&(_0x27d4b3[TestFrameworkConstants['KEY_HOOKS_FINISHED']]=_0x2a9675,logger[_0xf54f21(0x1b1)]('[JestTestFramework]\x20parseJestTestResult:\x20Using\x20merged\x20hooksFinished/hooksStarted\x20-\x20hookTypes='+Object[_0xf54f21(0xa5)](_0x2a9675)[_0xf54f21(0x17d)](',')));const _0x18f7a2=this['getJestTestName'](_0x43cf75);logger['debug'](_0xf54f21(0x153)+_0x18f7a2+_0xf54f21(0x20a)+_0x4a56a8+_0xf54f21(0x228)+_0x2428b9+_0xf54f21(0xb9)+_0x43cf75[_0xf54f21(0x14c)]);_0x578ebf[_0xf54f21(0x1a1)](_0x2428b9,_0x578ebf['Gqcgj'])&&logger[_0xf54f21(0x1b1)](_0xf54f21(0x200)+_0x4a56a8+_0xf54f21(0x12a)+_0x27d4b3[TestFrameworkConstants[_0xf54f21(0x1d8)]]+_0xf54f21(0x1da)+_0x27d4b3[TestFrameworkConstants[_0xf54f21(0x1fb)]]?.['substring'](0x0,0xc8));const _0x5574a8={};return _0x5574a8[_0x4a56a8]=_0x27d4b3,_0x5574a8;}[a75_0xa81eb9(0x20e)](_0x1f6e20){const _0x3f9f58=a75_0xa81eb9,_0x338d3e={};_0x338d3e[_0x3f9f58(0xb1)]=function(_0x23eaeb,_0x39c123){return _0x23eaeb!==_0x39c123;},_0x338d3e['QXCqx']=_0x3f9f58(0x1eb);const _0x5d5e01=_0x338d3e,_0x2ec779={};_0x2ec779[_0x3f9f58(0x11a)]=0x2,_0x2ec779[_0x3f9f58(0x1ae)]=0x3,logger[_0x3f9f58(0x1b1)](_0x3f9f58(0x91)+util[_0x3f9f58(0x17e)](_0x1f6e20,_0x2ec779));const _0x32daf8=[];if(_0x1f6e20&&_0x1f6e20['parent']){let _0x226c66=_0x1f6e20[_0x3f9f58(0x103)];while(_0x226c66&&_0x226c66[_0x3f9f58(0x114)]&&_0x5d5e01['rVqFK'](_0x226c66[_0x3f9f58(0x114)],'')&&_0x5d5e01['rVqFK'](_0x226c66['name'],_0x5d5e01[_0x3f9f58(0x1b9)])){_0x32daf8['push'](_0x226c66[_0x3f9f58(0x114)]),_0x226c66=_0x226c66['parent'];}}return _0x32daf8[_0x3f9f58(0x105)]();}[a75_0xa81eb9(0xee)](_0x344f51){const _0x1fb8f3=a75_0xa81eb9,_0x58b836={};_0x58b836[_0x1fb8f3(0xe3)]='Unknown\x20Test';const _0x42772f=_0x58b836;if(_0x344f51['name'])return _0x344f51[_0x1fb8f3(0x114)];if(_0x344f51[_0x1fb8f3(0x211)])return _0x344f51[_0x1fb8f3(0x211)];return _0x42772f[_0x1fb8f3(0xe3)];}[a75_0xa81eb9(0x19b)](_0x30094a){const _0x346209=a75_0xa81eb9,_0x11b9c4=[];if(_0x30094a['tags']&&Array[_0x346209(0xbd)](_0x30094a[_0x346209(0x1c1)]))return _0x30094a[_0x346209(0x1c1)][_0x346209(0xb2)](_0x169683=>_0x169683[_0x346209(0x1e4)]('@')?_0x169683[_0x346209(0x1a3)](0x1):_0x169683);const _0x5d09b2=this[_0x346209(0xee)](_0x30094a),_0x8f2601=_0x5d09b2[_0x346209(0x1bf)](/@(\w+)/g);if(_0x8f2601)return _0x8f2601[_0x346209(0xb2)](_0x73fdc7=>_0x73fdc7['slice'](0x1));return _0x30094a[_0x346209(0x20d)]&&Array['isArray'](_0x30094a[_0x346209(0x20d)])&&_0x30094a[_0x346209(0x20d)]['forEach'](_0x2b40a8=>{const _0x174eba=_0x346209,_0x38e2c9=_0x2b40a8['match'](/@(\w+)/g);_0x38e2c9&&_0x38e2c9[_0x174eba(0x205)](_0x41cadf=>{const _0x5aa13d=_0x174eba,_0x5ed949=_0x41cadf[_0x5aa13d(0x1f5)](0x1);!_0x11b9c4['includes'](_0x5ed949)&&_0x11b9c4[_0x5aa13d(0x9c)](_0x5ed949);});}),_0x11b9c4;}['getJestTestFilePath'](_0x372939){const _0x8b9b59=a75_0xa81eb9,_0x472585={'nIyqg':function(_0x1137b0,_0x15b15e){return _0x1137b0(_0x15b15e);},'NIaOx':_0x8b9b59(0x1ed)};if(_0x372939[_0x8b9b59(0xac)])return _0x372939[_0x8b9b59(0xac)];if(_0x372939[_0x8b9b59(0x108)]){const _0x3a03c9=_0x472585[_0x8b9b59(0x122)](require,_0x472585[_0x8b9b59(0x192)]);try{const _0x82557c=_0x3a03c9[_0x8b9b59(0xe4)](_0x372939[_0x8b9b59(0x108)]);if(_0x82557c[0x0]&&_0x82557c[0x0]['getFileName'])return _0x82557c[0x0][_0x8b9b59(0xa0)]();}catch(_0x4a53ed){logger[_0x8b9b59(0x1b1)](_0x8b9b59(0x90)+util[_0x8b9b59(0x99)](_0x4a53ed));}}return null;}[a75_0xa81eb9(0xe9)](_0x9f42ae){const _0xbc97f9=a75_0xa81eb9,_0x1ac52d={};_0x1ac52d['GNyxa']=function(_0x2149fa,_0x300f6d){return _0x2149fa>_0x300f6d;},_0x1ac52d['UUVPD']=_0xbc97f9(0x1bb);const _0x5de974=_0x1ac52d;if(_0x9f42ae[_0xbc97f9(0xd8)]&&_0x5de974['GNyxa'](_0x9f42ae[_0xbc97f9(0xd8)][_0xbc97f9(0x175)],0x0))return util[_0xbc97f9(0x17e)](_0x9f42ae[_0xbc97f9(0xd8)][0x0]);if(_0x9f42ae[_0xbc97f9(0x186)])return _0x9f42ae[_0xbc97f9(0x186)];return _0x5de974[_0xbc97f9(0x11f)];}[a75_0xa81eb9(0x10c)](_0x2020ef){const _0x4543a7=a75_0xa81eb9,_0x4af2cd={};_0x4af2cd[_0x4543a7(0x161)]='Assert',_0x4af2cd[_0x4543a7(0x1ec)]=_0x4543a7(0x1f1),_0x4af2cd[_0x4543a7(0x174)]=_0x4543a7(0xef);const _0x38485a=_0x4af2cd,_0x1a6acc=this[_0x4543a7(0xe9)](_0x2020ef);if(_0x1a6acc&&_0x1a6acc[_0x4543a7(0x112)](_0x38485a[_0x4543a7(0x161)]))return _0x38485a['oAlgG'];return _0x38485a[_0x4543a7(0x174)];}['getJestFailureData'](_0x4e7f31){const _0xce0a6b=a75_0xa81eb9,_0x349483={'foKKE':function(_0x44cd7f,_0x2400f3){return _0x44cd7f(_0x2400f3);},'gRpYt':_0xce0a6b(0x1a2),'VCqcg':function(_0x136a4c,_0x3a83c0){return _0x136a4c!==_0x3a83c0;},'hoKPO':_0xce0a6b(0xfb)},{failureData:_0x5a50ce}=_0x349483[_0xce0a6b(0xe8)](require,_0x349483[_0xce0a6b(0x229)]),_0x3fc237=[];return _0x349483[_0xce0a6b(0xf3)](_0x4e7f31[_0xce0a6b(0xd8)],undefined)&&_0x3fc237[_0xce0a6b(0x9c)](_0x4e7f31[_0xce0a6b(0xd8)],_0x349483[_0xce0a6b(0x170)]),_0x5a50ce[_0xce0a6b(0x95)](null,_0x3fc237);}async[a75_0xa81eb9(0x1bd)](_0x55d5a7,_0x5228b9,_0x436aa5,_0x389704){const _0x508f66=a75_0xa81eb9,_0x56800a={'AduyK':_0x508f66(0x156),'vsKgf':function(_0x21c140){return _0x21c140();},'bIgfI':function(_0x32d943,_0x276d02){return _0x32d943 in _0x276d02;},'XIOsr':function(_0x4da1e2,_0x588659){return _0x4da1e2 in _0x588659;},'dgBgT':function(_0x3bdac7,_0x5256ee){return _0x3bdac7===_0x5256ee;},'JxnDY':function(_0x3a244e,_0x22ff40){return _0x3a244e>_0x22ff40;},'VWjmo':_0x508f66(0x19e),'FQJPv':_0x508f66(0x188),'eILJG':function(_0x3c3cfa,_0x2d82ce){return _0x3c3cfa===_0x2d82ce;},'CuyEz':'[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20BEFORE_ALL\x20with\x20no\x20matching\x20PRE,\x20storing\x20as\x20pending','lGpHZ':function(_0x547134,_0x2abfea){return _0x547134===_0x2abfea;},'decmC':function(_0x3d6c2d,_0x1a2147){return _0x3d6c2d!==_0x1a2147;}},{hookData:_0xc37f19}=_0x389704,_0x4d3b2c=_0x436aa5['toString'](),_0x2e95c2=_0x5228b9[_0x508f66(0x109)](),_0xa77258={};_0xa77258['depth']=0x2,_0xa77258[_0x508f66(0x1ae)]=0x3,logger[_0x508f66(0x1b1)](_0x508f66(0x184)+_0x2e95c2+',\x20hookState='+_0x4d3b2c+_0x508f66(0x1b5)+util[_0x508f66(0x17e)](_0xc37f19,_0xa77258));if(!_0xc37f19)return logger[_0x508f66(0x1b1)](_0x56800a['AduyK']),{};const _0x5aecc4=_0xc37f19[_0x508f66(0xdb)]||_0xc37f19['hookAnalyticsId']||_0x56800a[_0x508f66(0x189)](uuidv4),_0x9b161e=_0xc37f19[_0x508f66(0x1de)]||this[_0x508f66(0xab)](_0xc37f19),_0x43c180=_0x5228b9[_0x508f66(0x109)]()[_0x508f66(0x9b)]('.')[0x1],_0x4c0f8c=_0x55d5a7[_0x508f66(0xcb)]()[_0x508f66(0x1f0)](_0x9b161e),_0x2894c4=_0x4c0f8c?_0x4c0f8c[TestFrameworkConstants[_0x508f66(0x1ef)]]||{}:{};logger[_0x508f66(0x1b1)](_0x508f66(0x14a)+_0x5aecc4+_0x508f66(0x20a)+_0x9b161e+_0x508f66(0x19c)+_0x43c180+',\x20hookState='+_0x4d3b2c);if(!_0x4c0f8c)return logger[_0x508f66(0x1b1)]('[JestTestFramework]\x20trackHookEvent:\x20No\x20test\x20data\x20found\x20for\x20testId:\x20'+_0x9b161e+_0x508f66(0x1a0)),this[_0x508f66(0x18f)](_0x55d5a7,_0x9b161e,_0x5228b9,_0x436aa5,_0x389704),{};let _0x263433=_0x4c0f8c[TestFrameworkConstants[_0x508f66(0xbf)]];!_0x263433&&(_0x263433={});!_0x56800a[_0x508f66(0xcf)](_0x43c180,_0x263433)&&(_0x263433[_0x43c180]=[]);let _0x4a8d5f=_0x4c0f8c[TestFrameworkConstants[_0x508f66(0xf2)]];!_0x4a8d5f&&(_0x4a8d5f={});!_0x56800a['XIOsr'](_0x43c180,_0x4a8d5f)&&(_0x4a8d5f[_0x43c180]=[]);const _0x38f956={[_0x9b161e]:{[TestFrameworkConstants[_0x508f66(0xbf)]]:_0x263433,[TestFrameworkConstants['KEY_HOOKS_FINISHED']]:_0x4a8d5f,[TestFrameworkConstants[_0x508f66(0x219)]]:this[_0x508f66(0xd6)]()[0x0]||'',[TestFrameworkConstants[_0x508f66(0x171)]]:this[_0x508f66(0xe1)]()[this[_0x508f66(0xd6)]()[0x0]]||''}};if(_0x56800a[_0x508f66(0xfd)](_0x436aa5,HookState[_0x508f66(0x9d)])){const _0x28ba78={'key':_0x43c180,[TestFrameworkConstants[_0x508f66(0x1cb)]]:_0x5aecc4,[TestFrameworkConstants[_0x508f66(0x126)]]:TestFrameworkConstants[_0x508f66(0x1b2)],[TestFrameworkConstants[_0x508f66(0x127)]]:_0xc37f19[_0x508f66(0x198)]||new Date()[_0x508f66(0x197)](),[TestFrameworkConstants[_0x508f66(0x169)]]:[],[TestFrameworkConstants['KEY_HOOK_NAME']]:_0xc37f19[_0x508f66(0x114)]||_0xc37f19[_0x508f66(0x151)]||_0x43c180,[TestFrameworkConstants[_0x508f66(0x1ef)]]:_0x2894c4};_0x263433[_0x43c180][_0x508f66(0x9c)](_0x28ba78),_0x38f956[_0x9b161e][TestFrameworkConstants['KEY_HOOK_LAST_STARTED']]=_0x43c180;const _0x547129={};_0x547129['depth']=0x2,logger[_0x508f66(0x1b1)]('[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20PRE\x20-\x20hookType='+_0x43c180+_0x508f66(0xd5)+_0x5aecc4+',\x20testId='+_0x9b161e+',\x20hook='+util[_0x508f66(0x17e)](_0x28ba78,_0x547129));}else{if(_0x56800a[_0x508f66(0xfd)](_0x436aa5,HookState[_0x508f66(0x138)])){const _0x474ae7=_0xc37f19[_0x508f66(0x115)]||(_0xc37f19['errorsDetailed']&&_0x56800a[_0x508f66(0x1f9)](_0xc37f19['errorsDetailed'][_0x508f66(0x175)],0x0)?_0x56800a[_0x508f66(0x16b)]:_0x56800a[_0x508f66(0x142)]),_0x2523aa=_0x263433[_0x43c180]||[];logger['debug'](_0x508f66(0x157)+_0x43c180+_0x508f66(0x20a)+_0x9b161e+_0x508f66(0x1c0)+_0x474ae7+_0x508f66(0x196)+_0x2523aa[_0x508f66(0x175)]);if(_0x56800a[_0x508f66(0x18c)](_0x2523aa[_0x508f66(0x175)],0x0)&&_0x56800a[_0x508f66(0x18c)](_0x5228b9,TestFrameworkState[_0x508f66(0x16a)]))return logger[_0x508f66(0x1b1)](_0x56800a[_0x508f66(0x1f7)]),this['storePendingHook'](_0x55d5a7,_0x9b161e,_0x5228b9,_0x436aa5,_0x389704),{};if(_0x56800a['JxnDY'](_0x2523aa[_0x508f66(0x175)],0x0)){const _0x3cdd92=_0x2523aa['pop']();_0x56800a[_0x508f66(0x13d)](_0x474ae7,_0x56800a[_0x508f66(0x16b)])&&_0xc37f19[_0x508f66(0xd8)]?(_0x3cdd92[TestFrameworkConstants[_0x508f66(0x137)]]=this[_0x508f66(0x10c)](_0xc37f19),_0x3cdd92[TestFrameworkConstants[_0x508f66(0xad)]]=this[_0x508f66(0xe9)](_0xc37f19),_0x3cdd92[TestFrameworkConstants[_0x508f66(0x1a8)]]=this[_0x508f66(0x10d)](_0xc37f19),logger['debug'](_0x508f66(0x17f)+_0x43c180+_0x508f66(0x12a)+_0x3cdd92[TestFrameworkConstants[_0x508f66(0x137)]]+_0x508f66(0x1da)+_0x3cdd92[TestFrameworkConstants[_0x508f66(0xad)]]?.[_0x508f66(0xc7)](0x0,0xc8))):_0x3cdd92[TestFrameworkConstants['KEY_HOOK_RESULT']]=_0x56800a['FQJPv'];_0x56800a[_0x508f66(0xbc)](_0x474ae7,TestFrameworkConstants[_0x508f66(0x1b2)])&&(_0x3cdd92[TestFrameworkConstants[_0x508f66(0x126)]]=_0x474ae7);_0x3cdd92[TestFrameworkConstants['KEY_EVENT_ENDED_AT']]=_0xc37f19['finished_at']||new Date()[_0x508f66(0x197)](),_0x3cdd92[TestFrameworkConstants[_0x508f66(0x1ef)]]=_0x2894c4;const _0x5d6c34=_0x3cdd92[TestFrameworkConstants[_0x508f66(0x1cb)]];!_0x4a8d5f[_0x43c180]&&(_0x4a8d5f[_0x43c180]=[]);_0x4a8d5f[_0x43c180]['push'](_0x3cdd92),_0x38f956[_0x9b161e][TestFrameworkConstants['KEY_HOOK_LAST_FINISHED']]=_0x43c180;const _0x3b3f26={};_0x3b3f26[_0x508f66(0x11a)]=0x2,logger[_0x508f66(0x1b1)](_0x508f66(0x94)+_0x43c180+_0x508f66(0xd5)+_0x5d6c34+_0x508f66(0x1c0)+_0x474ae7+_0x508f66(0xc8)+util[_0x508f66(0x17e)](_0x3cdd92,_0x3b3f26));}}}return _0x38f956;}[a75_0xa81eb9(0x140)](_0x5ed566){const _0x3cfa30=a75_0xa81eb9,_0x334aff={};_0x334aff[_0x3cfa30(0x207)]='base64';const _0x3f9b4b=_0x334aff;try{const _0x5a9c90=_0x5ed566[_0x3cfa30(0xfb)]?this[_0x3cfa30(0xab)](_0x5ed566[_0x3cfa30(0xfb)]):_0x5ed566[_0x3cfa30(0x96)][_0x3cfa30(0x1de)],_0x11cbd7=_0x5ed566[_0x3cfa30(0xaf)],_0x1f435d=_0x11cbd7[_0x3cfa30(0x18d)](),_0xb0a478=_0x11cbd7[_0x3cfa30(0xcb)]()[_0x3cfa30(0x1f0)](_0x5a9c90);if(!_0xb0a478)return logger[_0x3cfa30(0x1b1)](_0x3cfa30(0x149)+_0x5a9c90),{};const {[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0xfb5246=this[_0x3cfa30(0xd6)]()[0x0]||'',[TestFrameworkConstants[_0x3cfa30(0x171)]]:_0x4bb879=this[_0x3cfa30(0xe1)]()[this[_0x3cfa30(0xd6)]()[0x0]]||'',[TestFrameworkConstants[_0x3cfa30(0x1e5)]]:_0xf1a650='',[TestFrameworkConstants[_0x3cfa30(0x1a4)]]:_0x536068=''}=_0xb0a478,_0x28b920=_0x11cbd7[_0x3cfa30(0x220)]()['toString']()[_0x3cfa30(0x9b)]('.')[0x1],_0x333f9e=_0x11cbd7[_0x3cfa30(0x13b)]()[_0x3cfa30(0x109)]()[_0x3cfa30(0x9b)]('.')[0x1],_0x44a9d5=global?.['__workerDetails']?.[_0x3cfa30(0xbe)]?.['parallelIndex']||global[_0x3cfa30(0x1e6)]||0x0,_0x4d7efb=_0x11cbd7[_0x3cfa30(0xa3)](),_0x30fb54=Buffer[_0x3cfa30(0xbb)](JSON['stringify'](_0xb0a478))['toString'](_0x3f9b4b[_0x3cfa30(0x207)]),_0xa9ee1d={'hash':_0x1f435d[_0x3cfa30(0x111)](),'threadId':_0x1f435d[_0x3cfa30(0x226)]()[_0x3cfa30(0x109)](),'processId':_0x1f435d[_0x3cfa30(0xb5)]()['toString']()},_0xd257f8={};_0xd257f8[_0x3cfa30(0x100)]=_0x44a9d5,_0xd257f8[_0x3cfa30(0x15e)]=_0xfb5246,_0xd257f8['testFrameworkVersion']=_0x4bb879,_0xd257f8[_0x3cfa30(0x1c7)]=_0x28b920,_0xd257f8[_0x3cfa30(0x13a)]=_0x333f9e,_0xd257f8[_0x3cfa30(0x21b)]=_0xf1a650,_0xd257f8[_0x3cfa30(0x1e9)]=_0x536068,_0xd257f8['uuid']=_0x4d7efb,_0xd257f8['eventJson']=_0x30fb54,_0xd257f8[_0x3cfa30(0x143)]=_0xa9ee1d,_0xd257f8[_0x3cfa30(0x178)]=_0x5a9c90;const _0x95970d=_0xd257f8;return _0x95970d;}catch(_0x52de7c){return logger[_0x3cfa30(0x16f)](_0x3cfa30(0x132)+util[_0x3cfa30(0x99)](_0x52de7c)),{};}}async[a75_0xa81eb9(0x21e)](_0x17da8,_0x216397,_0x3187af){const _0x3b8006=a75_0xa81eb9,_0xd86b27={'NlUon':function(_0xc9e30b,_0x54b92c){return _0xc9e30b+_0x54b92c;},'scUto':'missing','WzXDe':_0x3b8006(0x1c5),'QYrqV':function(_0xa9c29b,_0x405d7b){return _0xa9c29b>_0x405d7b;},'qqOTO':function(_0x235a7e,_0x3904cf,_0x5ce733,_0x6249c0){return _0x235a7e(_0x3904cf,_0x5ce733,_0x6249c0);},'UbGAM':function(_0x3bbe72,_0x461d63){return _0x3bbe72-_0x461d63;},'UmxgM':function(_0x7b44b3,_0x18ba44){return _0x7b44b3===_0x18ba44;},'CzARW':function(_0x104cb5,_0x42975b){return _0x104cb5/_0x42975b;},'TeMKS':function(_0x383940,_0x583817){return _0x383940<_0x583817;},'ANCPV':function(_0x459315,_0x1a69c5){return _0x459315*_0x1a69c5;},'grjEA':function(_0x164f49,_0xec9a29){return _0x164f49+_0xec9a29;},'Vbvat':function(_0x134a0e,_0x21957e){return _0x134a0e+_0x21957e;},'OdtVo':function(_0x27aaca,_0xcdbb60){return _0x27aaca>_0xcdbb60;}};try{const _0x3c38e5=_0x3187af[_0x3b8006(0x172)]||_0x3187af['testId'],_0x5505fb=Array[_0x3b8006(0xbb)](_0x17da8[_0x3b8006(0xcb)]()[_0x3b8006(0xa5)]()),_0x5604be=_0x17da8[_0x3b8006(0xcb)]()['get'](_0x3c38e5);if(!_0x5604be){logger['debug'](_0x3b8006(0x1ce)+_0x3c38e5);return;}const {[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x1ec23d='',[TestFrameworkConstants[_0x3b8006(0x171)]]:_0x3c6168=''}=_0x5604be;let _0x490199=[];_0x5604be&&_0x5604be[TestFrameworkConstants[_0x3b8006(0x18b)]]&&Array[_0x3b8006(0xbd)](_0x5604be[TestFrameworkConstants[_0x3b8006(0x18b)]])?(_0x490199=_0x5604be[TestFrameworkConstants[_0x3b8006(0x18b)]]||[],logger[_0x3b8006(0x1b1)](_0x3b8006(0x21f)+_0x490199[_0x3b8006(0x175)]+_0x3b8006(0xf4)+_0x3c38e5),_0x17da8['addMultipleEntries']({[_0x3c38e5]:{[TestFrameworkConstants['KEY_LOGS']]:[],[TestFrameworkConstants[_0x3b8006(0x219)]]:this[_0x3b8006(0xd6)]()[0x0]||'',[TestFrameworkConstants[_0x3b8006(0x171)]]:this[_0x3b8006(0xe1)]()[this['getTestFrameworks']()[0x0]]||''}}),logger[_0x3b8006(0x1b1)](_0x3b8006(0x14e)+_0x3c38e5)):logger[_0x3b8006(0x1b1)](_0x3b8006(0x19f)+_0x3c38e5);logger['debug'](_0x3b8006(0x18e)+_0x490199[_0x3b8006(0x175)]+_0x3b8006(0x11e)+_0x3c38e5);const _0x3586e8=_0x490199[_0x3b8006(0x214)](_0x3d4b27=>_0x3d4b27['kind']===_0x3b8006(0x12d));_0xd86b27[_0x3b8006(0x18a)](_0x3586e8[_0x3b8006(0x175)],0x0)&&(logger['debug'](_0x3b8006(0x12e)+_0x3586e8[_0x3b8006(0x175)]+_0x3b8006(0x106)+_0x3c38e5),_0x3586e8['forEach']((_0x33c883,_0x409aa4)=>{const _0x5475fb=_0x3b8006;logger['debug']('[JestTestFramework]\x20sendLogCreatedEvent:\x20Screenshot\x20log\x20'+_0xd86b27[_0x5475fb(0xaa)](_0x409aa4,0x1)+'/'+_0x3586e8[_0x5475fb(0x175)]+'\x20-\x20test_identifier='+(_0x33c883[_0x5475fb(0x178)]||_0xd86b27[_0x5475fb(0xd3)])+_0x5475fb(0x1ea)+(_0x33c883['test_run_uuid']||_0xd86b27[_0x5475fb(0xd3)])+_0x5475fb(0x117)+(_0x33c883[_0x5475fb(0x15f)]||_0xd86b27[_0x5475fb(0xdd)])+_0x5475fb(0xae)+(_0x33c883[_0x5475fb(0x1cf)]?.[_0x5475fb(0x175)]||0x0));}));const _0x2b47c8=_0x5604be[TestFrameworkConstants[_0x3b8006(0xd1)]]||{},_0xa3b4e2=_0xd86b27[_0x3b8006(0xfe)](getMediaArtifactsLogs,_0x2b47c8,null,_0x3c38e5),_0x2b0dd1=(_0x490199||[])[_0x3b8006(0x118)](_0xa3b4e2||[]),_0x1b2e02=_0x3586e8?.['length']||0x0,_0x45c7cf=_0xd86b27[_0x3b8006(0x1b4)](_0x490199?.[_0x3b8006(0x175)]||0x0,_0x1b2e02);logger[_0x3b8006(0x1b1)](_0x3b8006(0x1cd)+_0x3c38e5+_0x3b8006(0x128)+_0x45c7cf+_0x3b8006(0xd0)+_0x1b2e02+_0x3b8006(0x1c6)+(_0xa3b4e2?.[_0x3b8006(0x175)]||0x0)+_0x3b8006(0x113)+_0x2b0dd1[_0x3b8006(0x175)]);if(!_0x2b0dd1||_0xd86b27[_0x3b8006(0x1ab)](_0x2b0dd1[_0x3b8006(0x175)],0x0)){logger['debug'](_0x3b8006(0x1d1)+_0x3c38e5);return;}const _0x44e74b=0x28,_0x469307=Math[_0x3b8006(0x17a)](_0xd86b27['CzARW'](_0x2b0dd1[_0x3b8006(0x175)],_0x44e74b));for(let _0x1f19aa=0x0;_0xd86b27[_0x3b8006(0xb0)](_0x1f19aa,_0x469307);_0x1f19aa++){const _0xb7f557=_0xd86b27[_0x3b8006(0xce)](_0x1f19aa,_0x44e74b),_0x4ff611=_0xd86b27[_0x3b8006(0xc9)](_0xb7f557,_0x44e74b),_0x4807ad=_0x2b0dd1[_0x3b8006(0x1f5)](_0xb7f557,_0x4ff611),_0x19f98c=global?.['browserstackPlatformIndex']??0x0,_0x11b84b={'platformIndex':_0x19f98c,'logs':_0x4807ad,'testFrameworkName':_0x1ec23d,'testFrameworkVersion':_0x3c6168,'testFrameworkState':_0x216397['toString']()[_0x3b8006(0x9b)]('.')[0x1]},_0x2c774e={};_0x2c774e[_0x3b8006(0x11a)]=0x3,_0x2c774e['maxArrayLength']=0x5,logger[_0x3b8006(0x1b1)](_0x3b8006(0x144)+_0xd86b27[_0x3b8006(0x120)](_0x1f19aa,0x1)+'/'+_0x469307+_0x3b8006(0x1dc)+_0x3c38e5+_0x3b8006(0x218)+_0x4807ad[_0x3b8006(0x175)]+_0x3b8006(0x208)+_0x19f98c+',\x20payload:\x20'+util['inspect'](_0x11b84b,_0x2c774e));const _0x435342=await GrpcClient[_0x3b8006(0x193)]()['logCreatedEvent'](_0x11b84b);logger['debug']('[JestTestFramework]\x20sendLogCreatedEvent:\x20Batch\x20'+_0xd86b27[_0x3b8006(0xc9)](_0x1f19aa,0x1)+'/'+_0x469307+'\x20-\x20testId:\x20'+_0x3c38e5+',\x20response='+util['inspect'](_0x435342));}_0xa3b4e2&&_0xd86b27[_0x3b8006(0xc5)](_0xa3b4e2['length'],0x0)&&_0x5604be[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]&&_0x17da8[_0x3b8006(0x210)]({[_0x3c38e5]:{[TestFrameworkConstants[_0x3b8006(0xd1)]]:{},[TestFrameworkConstants[_0x3b8006(0x219)]]:this[_0x3b8006(0xd6)]()[0x0]||'',[TestFrameworkConstants[_0x3b8006(0x171)]]:this[_0x3b8006(0xe1)]()[this[_0x3b8006(0xd6)]()[0x0]]||''}}),logger['debug']('[JestTestFramework]\x20sendLogCreatedEvent:\x20SUCCESS\x20-\x20testId:\x20'+_0x3c38e5+_0x3b8006(0x204)+_0x469307);}catch(_0x10d95d){logger['error'](_0x3b8006(0xeb)+(_0x3187af[_0x3b8006(0x172)]||_0x3187af[_0x3b8006(0x1dd)])+',\x20error:\x20'+util[_0x3b8006(0x99)](_0x10d95d));}}[a75_0xa81eb9(0x18f)](_0x2a5b86,_0x4b6458,_0x4f3189,_0x3c2374,_0xcf6cf3){const _0x152dbf=a75_0xa81eb9,_0xe39c2={};_0xe39c2['dbFDR']=function(_0x36a875,_0x41b04e){return _0x36a875===_0x41b04e;},_0xe39c2['pcxBB']=_0x152dbf(0x185);const _0x15d8ee=_0xe39c2,{hookData:_0x52af2f}=_0xcf6cf3,_0x549448={'testId':_0x4b6458,'testFrameworkState':_0x4f3189,'hookState':_0x3c2374,'args':_0xcf6cf3,'timestamp':new Date()[_0x152dbf(0x197)]()};if(_0x15d8ee[_0x152dbf(0x147)](_0x4f3189,TestFrameworkState[_0x152dbf(0x16a)])&&_0x52af2f){const _0x318e48={};_0x318e48['filePath']=_0x52af2f[_0x152dbf(0xac)]||_0x52af2f['location'],_0x318e48['scope']=_0x52af2f[_0x152dbf(0x9f)]||_0x52af2f[_0x152dbf(0x20d)]&&_0x52af2f[_0x152dbf(0x20d)][0x0]||'',_0x318e48['hookType']=_0x15d8ee[_0x152dbf(0x1ba)],_0x549448[_0x152dbf(0x14f)]=_0x318e48,logger['debug'](_0x152dbf(0x123)+_0x4b6458+_0x152dbf(0x213)+_0x549448[_0x152dbf(0x14f)][_0x152dbf(0xb8)]+',\x20scope:\x20'+_0x549448[_0x152dbf(0x14f)][_0x152dbf(0x9f)]);}_0x2a5b86[_0x152dbf(0x20b)](_0x4b6458,_0x549448),logger[_0x152dbf(0x1b1)](_0x152dbf(0x141)+_0x4b6458+_0x152dbf(0x1d0)+_0x4f3189+',\x20hookState:\x20'+_0x3c2374);}async[a75_0xa81eb9(0xd9)](_0x4e658e,_0x322fc6){const _0x324abd=a75_0xa81eb9,_0x5c0cce={};_0x5c0cce[_0x324abd(0x1b3)]=function(_0xfa2529,_0x14cf22){return _0xfa2529>_0x14cf22;},_0x5c0cce[_0x324abd(0x176)]=function(_0x3e57c8,_0x417d27){return _0x3e57c8===_0x417d27;},_0x5c0cce['xtrGG']=_0x324abd(0x129);const _0x155ea1=_0x5c0cce;if(_0x4e658e[_0x324abd(0x1ff)](_0x322fc6)){const _0x1583a6=_0x4e658e[_0x324abd(0x1af)](_0x322fc6);logger[_0x324abd(0x1b1)](_0x324abd(0x166)+_0x1583a6[_0x324abd(0x175)]+_0x324abd(0x1d9)+_0x322fc6);for(const _0x59f1ad of _0x1583a6){try{const _0x213f7c=await this['trackHookEvent'](_0x4e658e,_0x59f1ad['testFrameworkState'],_0x59f1ad[_0x324abd(0x13a)],_0x59f1ad[_0x324abd(0x150)]);_0x213f7c&&_0x155ea1[_0x324abd(0x1b3)](Object[_0x324abd(0xa5)](_0x213f7c)['length'],0x0)&&_0x4e658e[_0x324abd(0x210)](_0x213f7c),await this[_0x324abd(0x102)](_0x4e658e,_0x59f1ad['testFrameworkState'],_0x59f1ad[_0x324abd(0x13a)],_0x59f1ad['args']);}catch(_0x1e0ec6){logger[_0x324abd(0x16f)](_0x324abd(0x1aa)+_0x322fc6+',\x20error:\x20'+_0x1e0ec6);}}_0x4e658e[_0x324abd(0xb7)](_0x322fc6),logger[_0x324abd(0x1b1)](_0x324abd(0x1d4)+_0x322fc6);}const _0x91289b=_0x4e658e[_0x324abd(0xcb)]()[_0x324abd(0x1f0)](_0x322fc6);if(_0x91289b){const _0x4d2cc4=_0x91289b[TestFrameworkConstants[_0x324abd(0x1f6)]]||_0x91289b[TestFrameworkConstants[_0x324abd(0x1f2)]],_0x42c79a=_0x91289b[TestFrameworkConstants[_0x324abd(0x12c)]]||_0x91289b[TestFrameworkConstants[_0x324abd(0x177)]]&&_0x91289b[TestFrameworkConstants[_0x324abd(0x177)]][0x0]||'';logger[_0x324abd(0x1b1)]('[JestTestFramework]\x20processPendingHooks:\x20Checking\x20for\x20beforeAll\x20hooks\x20matching\x20filePath:\x20'+_0x4d2cc4+',\x20scope:\x20'+_0x42c79a);const _0x2b7550=_0x4e658e[_0x324abd(0xa6)]();for(const _0x29c32a of _0x2b7550){if(_0x155ea1[_0x324abd(0x176)](_0x29c32a,_0x322fc6))continue;if(_0x4e658e['hasPendingHooks'](_0x29c32a)){const _0x4fe107=_0x4e658e[_0x324abd(0x1af)](_0x29c32a);for(const _0x1bf30c of _0x4fe107){if(_0x155ea1[_0x324abd(0x176)](_0x1bf30c[_0x324abd(0x1c7)],TestFrameworkState[_0x324abd(0x16a)])&&_0x1bf30c['hookMetadata']){const _0x3e5e70=_0x1bf30c['hookMetadata'][_0x324abd(0xb8)],_0x3ae0c9=_0x1bf30c[_0x324abd(0x14f)][_0x324abd(0x9f)];if(_0x155ea1[_0x324abd(0x176)](_0x3e5e70,_0x4d2cc4)&&_0x155ea1['pduhG'](_0x3ae0c9,_0x42c79a)){logger[_0x324abd(0x1b1)](_0x324abd(0x145)+_0x29c32a+_0x324abd(0xc3)+_0x322fc6+_0x324abd(0x213)+_0x3e5e70+_0x324abd(0x209)+_0x3ae0c9);_0x1bf30c['args']&&_0x1bf30c[_0x324abd(0x150)]['hookData']&&(_0x1bf30c[_0x324abd(0x150)][_0x324abd(0x96)][_0x324abd(0x1de)]=_0x322fc6,logger[_0x324abd(0x1b1)](_0x324abd(0x162)+_0x29c32a+'\x20to\x20'+_0x322fc6));try{const _0x3666b8=await this[_0x324abd(0x1bd)](_0x4e658e,_0x1bf30c[_0x324abd(0x1c7)],_0x1bf30c[_0x324abd(0x13a)],_0x1bf30c['args']);_0x3666b8&&_0x155ea1[_0x324abd(0x1b3)](Object[_0x324abd(0xa5)](_0x3666b8)['length'],0x0)&&_0x4e658e[_0x324abd(0x210)](_0x3666b8);await this[_0x324abd(0x102)](_0x4e658e,_0x1bf30c[_0x324abd(0x1c7)],_0x1bf30c['hookState'],_0x1bf30c['args']);const _0x2c173b=_0x4e658e[_0x324abd(0x1af)](_0x29c32a)[_0x324abd(0x214)](_0x1817b6=>_0x1817b6!==_0x1bf30c);if(_0x155ea1['pduhG'](_0x2c173b['length'],0x0))_0x4e658e['removePendingHooks'](_0x29c32a);else{_0x4e658e[_0x324abd(0xb7)](_0x29c32a);for(const _0x35c256 of _0x2c173b){_0x4e658e['addPendingHook'](_0x29c32a,_0x35c256);}}logger[_0x324abd(0x1b1)](_0x155ea1[_0x324abd(0x121)]);}catch(_0x1c8eff){logger[_0x324abd(0x16f)](_0x324abd(0x1e8)+_0x322fc6+_0x324abd(0xda)+_0x1c8eff);}}}}}}}}['mapTestHooks'](_0x46f834){const _0x4af634=a75_0xa81eb9,_0x4a11bd={'WbfhC':function(_0x552bef){return _0x552bef();}};if(!_0x46f834||!_0x46f834[_0x4af634(0x103)])return;_0x46f834[_0x4af634(0x103)][_0x4af634(0x215)]&&Array[_0x4af634(0xbd)](_0x46f834['parent'][_0x4af634(0x215)])&&_0x46f834[_0x4af634(0x103)][_0x4af634(0x215)]['forEach'](_0x3ea581=>{const _0x5b66df=_0x4af634;!_0x3ea581[_0x5b66df(0x1c3)]&&!_0x3ea581[_0x5b66df(0x119)]&&(_0x3ea581[_0x5b66df(0x1c3)]=_0x4a11bd[_0x5b66df(0x10b)](uuidv4),_0x3ea581['hookUUID']=_0x3ea581['hookAnalyticsId'],logger['debug'](_0x5b66df(0x21a)+_0x3ea581[_0x5b66df(0x9a)]+_0x5b66df(0x92)+_0x3ea581[_0x5b66df(0x1c3)]));}),this[_0x4af634(0x125)](_0x46f834[_0x4af634(0x103)]);}[a75_0xa81eb9(0x20c)](_0x1e2ac){const _0x43672c=a75_0xa81eb9,_0x10f3b1={'LhoLP':function(_0xd6a778,_0x54c3af){return _0xd6a778(_0x54c3af);}};if(!_0x1e2ac||!_0x1e2ac[_0x43672c(0x103)])return[];const _0x2a7240=[];return _0x1e2ac[_0x43672c(0x103)][_0x43672c(0x215)]&&Array[_0x43672c(0xbd)](_0x1e2ac[_0x43672c(0x103)]['hooks'])&&_0x1e2ac[_0x43672c(0x103)]['hooks'][_0x43672c(0x205)](_0x14d2ac=>{const _0x4eb987=_0x43672c,_0x59bfbe=_0x14d2ac[_0x4eb987(0x1c3)]||_0x14d2ac[_0x4eb987(0x119)];_0x59bfbe&&!this[_0x4eb987(0x16e)](_0x14d2ac)&&!_0x10f3b1['LhoLP'](isInternalHook,_0x14d2ac['fn'])&&_0x2a7240['push'](_0x59bfbe);}),[..._0x2a7240,...this[_0x43672c(0x20c)](_0x1e2ac[_0x43672c(0x103)])];}[a75_0xa81eb9(0x12b)](_0x25a892){const _0x44dc02={'PxJqc':function(_0x1115e1,_0x143d70){return _0x1115e1(_0x143d70);},'xFXqK':'unknown','sWxEa':function(_0x1b87ec,_0xbb77cf){return _0x1b87ec(_0xbb77cf);}},_0x26e14c=new Map(),_0x5e9478=_0x36f247=>{const _0x157c6e=a75_0x2880,_0x43b82c={'TmHhj':function(_0x112740,_0x4c9da6){const _0x5c58e1=a75_0x2880;return _0x44dc02[_0x5c58e1(0xd4)](_0x112740,_0x4c9da6);},'UFfuJ':_0x44dc02[_0x157c6e(0x1a5)]};if(!_0x36f247||!_0x36f247['parent'])return;_0x36f247[_0x157c6e(0x103)][_0x157c6e(0x215)]&&Array[_0x157c6e(0xbd)](_0x36f247[_0x157c6e(0x103)]['hooks'])&&_0x36f247[_0x157c6e(0x103)][_0x157c6e(0x215)][_0x157c6e(0x205)](_0x41e0c9=>{const _0x267017=_0x157c6e,_0x51ced7=_0x41e0c9['hookAnalyticsId']||_0x41e0c9[_0x267017(0x119)];if(_0x51ced7&&!this[_0x267017(0x16e)](_0x41e0c9)&&!_0x43b82c[_0x267017(0xb4)](isInternalHook,_0x41e0c9['fn'])){const _0x386878={};_0x386878[_0x267017(0x9a)]=_0x41e0c9['type']||_0x43b82c[_0x267017(0x11d)],_0x386878[_0x267017(0x114)]=_0x41e0c9[_0x267017(0x114)]||'\x22'+_0x41e0c9[_0x267017(0x9a)]+_0x267017(0x116),_0x26e14c[_0x267017(0x19d)](_0x51ced7,_0x386878);}}),_0x44dc02[_0x157c6e(0xd4)](_0x5e9478,_0x36f247['parent']);};return _0x44dc02['sWxEa'](_0x5e9478,_0x25a892),_0x26e14c;}[a75_0xa81eb9(0x16e)](_0xc24da1){const _0x33e574=a75_0xa81eb9,_0xe9fb77={};_0xe9fb77['HdGvJ']=_0x33e574(0xa7),_0xe9fb77['NGTUq']=_0x33e574(0x221);const _0x31031c=_0xe9fb77;try{const _0x494209=this[_0x33e574(0xff)](_0xc24da1);return _0x494209&&_0x494209['includes'](_0x31031c['HdGvJ']);}catch(_0x5ef773){logger[_0x33e574(0x1b1)](_0x31031c[_0x33e574(0x195)]);}return![];}[a75_0xa81eb9(0xff)](_0x4c139d){const _0x164dca=a75_0xa81eb9;if(_0x4c139d[_0x164dca(0x108)])try{const _0x2b6cff=stackTrace[_0x164dca(0xe4)](_0x4c139d['asyncError']);return _0x2b6cff[0x0]?_0x2b6cff[0x0][_0x164dca(0xa0)]():null;}catch(_0x3919d0){logger['debug'](_0x164dca(0x15c)+util[_0x164dca(0x99)](_0x3919d0));}if(_0x4c139d[_0x164dca(0x223)])return _0x4c139d['file'];return null;}}module[a75_0xa81eb9(0x199)]=JestTestFramework;function a75_0x598a(){const _0x774b90=['../../../helpers/test-observability/utils','substr','KEY_TEST_ENDED_AT','xFXqK','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Parsed\x20test\x20result\x20entries:\x20','\x20(testIdentifier),\x20tags=','KEY_HOOK_FAILURE','QWXCQ','Error\x20processing\x20pending\x20hook\x20for\x20testId:\x20','UmxgM','./testFramework','Istzz','maxArrayLength','getPendingHooks','[JestTestFramework]\x20trackEvent:\x20LOG_REPORT\x20POST\x20-\x20Sending\x20logs\x20for\x20args:\x20','debug','DEFAULT_HOOK_RESULT','UMZHF','UbGAM',',\x20hookData=','hook_result','1781227hjfieA','status','QXCqx','pcxBB','Unknown\x20error','fMFoG','trackHookEvent','event_ended_at','match',',\x20result=','tags','NONE','hookAnalyticsId','yTUlK','none',',\x20attachmentLogs:\x20','testFrameworkState','XBDax','[JestTestFramework]\x20setActiveHook:\x20Invalid\x20parameters\x20-\x20testIdentifier=','STPzQ','KEY_HOOK_ID','has','[JestTestFramework]\x20sendLogCreatedEvent:\x20Log\x20counts\x20-\x20testId:\x20','[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','message',',\x20state:\x20','[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20logs\x20found,\x20skipping\x20-\x20testId:\x20','toUpperCase','CgQaR','Cleared\x20processed\x20pending\x20hooks\x20for\x20testId:\x20','getActiveHook','[JestTestFramework]\x20trackEvent:\x20HOOK\x20-\x20Hook\x20event\x20updates:\x20','kVnFS','KEY_TEST_FAILURE_TYPE','\x20pending\x20hooks\x20for\x20testId:\x20',',\x20failureReason=',',\x20state=','\x20-\x20testId:\x20','testId','test_run_id',',\x20version=','hook_id','[JestTestFramework]\x20trackEvent:\x20ERROR\x20-\x20testFrameworkState=','rguwk','[JestTestFramework]\x20removeActiveHook:\x20Invalid\x20parameters\x20-\x20testIdentifier=','startsWith','KEY_TEST_STARTED_AT','__bstackPlatformIndex','util','[JestTestFramework]\x20processPendingHooks:\x20Error\x20processing\x20matching\x20beforeAll\x20hook\x20for\x20testId:\x20','endedAt',',\x20test_run_uuid=','ROOT_DESCRIBE_BLOCK','oAlgG','stack-trace','afterAll','KEY_CUSTOM_TAGS','get','AssertionError','KEY_TEST_LOCATION','../instances/testFrameworkInstance.js','2236020uVbWRs','slice','KEY_TEST_FILE_PATH','CuyEz','[JestTestFramework]\x20trackEvent:\x20HOOK\x20event\x20-\x20testFrameworkState=','JxnDY','wRKjs','KEY_TEST_FAILURE_REASON','setActiveHook','mnMiX','../state/hookState.js','hasPendingHooks','[JestTestFramework]\x20parseJestTestResult:\x20FAILURE\x20-\x20testId=','matchHookRegex','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Data\x20BEFORE\x20parseJestTestResult:\x20','2qyPJdR',',\x20totalBatches:\x20','forEach','KEY_TEST_LOGS','FMcaK',',\x20platformIndex:\x20',',\x20scope:\x20',',\x20testId=','addPendingHook','getHooksForTest','scopes','getJestTestScopes','\x20attachments','addMultipleEntries','title','2376FBPUsx',',\x20filePath:\x20','filter','hooks',',\x20hookType=','[JestTestFramework]\x20trackEvent:\x20SUCCESS\x20-\x20testFrameworkState=',',\x20logsInBatch:\x20','KEY_TEST_FRAMEWORK_NAME','[JestTestFramework]\x20mapTestHooks:\x20Assigned\x20UUID\x20to\x20hook\x20-\x20type=','startedAt','[JestTestFramework]\x20getActiveHook:\x20Found\x20active\x20hook\x20-\x20testIdentifier=','BGKDO','sendLogCreatedEvent','[JestTestFramework]\x20sendLogCreatedEvent:\x20Logs\x20retrieved\x20from\x20instance.data[KEY_LOGS]:\x20','getCurrentTestState','[JestTestFramework]\x20isJestInternalHook:\x20Exception\x20checking\x20hook\x20file:\x20${util.format(e)}','testData','file','[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Parsed\x20test\x20entries:\x20','trackJestInstance:\x20instance\x20already\x20exists','getThreadId','hookType','\x20(testIdentifier),\x20result=','gRpYt','setTrackedInstance','Error\x20parsing\x20asyncError\x20for\x20file\x20path:\x20','[JestTestFramework]\x20getJestTestScopes:\x20Extracting\x20scopes\x20from\x20testData:\x20',',\x20hookUUID=','suCaK','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20-\x20Completed\x20hookType=','apply','hookData','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20ATTACHMENTS\x20FOUND:\x20','KEY_EVENT_ENDED_AT','format','type','split','push','PRE','[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Loading\x20testData\x20for\x20testId:\x20','scope','getFileName','code',',\x20filePath=','getRef','../TestInfo.js','keys','getAllPendingHookTestIds','jest-circus','17860ZXBZRQ','findIndex','NlUon','getJestTestIdentifier','file_name','KEY_HOOK_FAILURE_REASON',',\x20messageLength=','instance','TeMKS','rVqFK','map','getTrackedInstance','TmHhj','getProcessId','Adgvj','removePendingHooks','filePath',',\x20duration=','[JestTestFramework]\x20parseJestTest:\x20SUCCESS\x20-\x20testName=','from','decmC','isArray','workerInfo','KEY_HOOKS_STARTED','[JestTestFramework]\x20trackEvent:\x20TEST\x20-\x20testId=','retryOf','replace',',\x20currentTestId:\x20','GTbZf','OdtVo','cAqYc','substring',',\x20hook=','grjEA','trackEvent','getAllData','AjoeP','SpHTh','ANCPV','bIgfI',',\x20screenshotLogs:\x20','KEY_TEST_ATTACHMENTS','../../../helpers/classLogger.js','scUto','PxJqc',',\x20hookId=','getTestFrameworks','GRvrQ','errorsDetailed','processPendingHooks',',\x20error:\x20','uuid','bPhkp','WzXDe','../state/testFrameworkState.js','Atwav','[JestTestFramework]\x20getJestTestIdentifier:\x20Extracted\x20identifier=\x22','getTestFrameworksVersions','skipped','gKFxx','parse','pid','originalTest','KEY_TEST_CODE','foKKE','getJestFailureReason','splice','[JestTestFramework]\x20sendLogCreatedEvent:\x20ERROR\x20-\x20testId:\x20','xZIaq','stringify','getJestTestName','UnhandledError','YiUJQ','[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Test\x20data\x20loaded\x20for\x20testId:\x20','KEY_HOOKS_FINISHED','VCqcg','\x20logs\x20for\x20testId:\x20','activeHooks','getJestTestFilePath','18hOyaDh','No\x20test\x20data\x20or\x20testId\x20found\x20for\x20jest\x20test\x20result','TEST','[JestTestFramework]\x20setActiveHook:\x20testIdentifier=','test','[JestTestFramework]\x20trackEvent:\x20START\x20-\x20testFrameworkState=','dgBgT','qqOTO','getRootParentFile','platformIndex','KEY_TEST_RETRY_OF','runHooks','parent','No\x20test\x20data\x20or\x20testId\x20found\x20for\x20jest\x20test','reverse','\x20screenshot\x20logs\x20for\x20testId:\x20','6388272ysspjk','asyncError','toString','hhgJx','WbfhC','getJestFailureType','getJestFailureData','[JestTestFramework]\x20removeActiveHook:\x20Removed\x20hook\x20-\x20testIdentifier=','4993714cRDzUT',',\x20exception=','getId','includes',',\x20totalLogs:\x20','name','result','\x22\x20hook',',\x20hook_run_uuid=','concat','hookUUID','depth','body','removeActiveHook','UFfuJ','\x20for\x20testId:\x20','UUVPD','Vbvat','xtrGG','nIyqg','[JestTestFramework]\x20storePendingHook:\x20Stored\x20beforeAll\x20hook\x20with\x20metadata\x20-\x20testId:\x20',',\x20contextId=','mapTestHooks','KEY_HOOK_RESULT','KEY_EVENT_STARTED_AT',',\x20consoleLogs:\x20','[JestTestFramework]\x20processPendingHooks:\x20Processed\x20and\x20removed\x20matching\x20beforeAll\x20hook',',\x20failureType=','buildHookMapFromTest','KEY_TEST_SCOPE','TEST_SCREENSHOT','[JestTestFramework]\x20sendLogCreatedEvent:\x20Found\x20','delete','find','[JestTestFramework]\x20parseJestTestResult:\x20Existing\x20attachments\x20in\x20instance\x20data:\x20','Error\x20in\x20createTestFrameworkEventPayload:\x20','[JestTestFramework]\x20trackEvent:\x20TEST\x20event\x20-\x20hookState=',',\x20target=','VMCFr','getCurrentInstanceName','KEY_HOOK_FAILURE_TYPE','POST','KEY_TEST_TAGS','hookState','getCurrentHookState','KEY_TEST_ID','lGpHZ','SbYjy',',\x20argsKeys=','createTestFrameworkEventPayload','Stored\x20pending\x20hook\x20for\x20testId:\x20','FQJPv','executionContext','[JestTestFramework]\x20sendLogCreatedEvent:\x20Batch\x20','[JestTestFramework]\x20processPendingHooks:\x20Found\x20matching\x20beforeAll\x20hook\x20-\x20storedTestId:\x20','500trhwIy','dbFDR','ALL','createTestFrameworkEventPayload:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','[JestTestFramework]\x20trackHookEvent:\x20Hook\x20info\x20-\x20hookId=','KEY_TEST_RESULT','duration',':testAnalyticsId','[JestTestFramework]\x20sendLogCreatedEvent:\x20Cleared\x20logs\x20from\x20instance.data[KEY_LOGS]\x20for\x20testId:\x20','hookMetadata','args','hook_type','createContext','[JestTestFramework]\x20parseJestTestResult:\x20SUCCESS\x20-\x20testName=','YkvMq','536086ZLUkVG','[JestTestFramework]\x20trackHookEvent:\x20No\x20hook\x20data\x20provided\x20for\x20jest\x20hook\x20event','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20-\x20hookType=','../cliUtils.js','[JestTestFramework]\x20parseJestTestResult:\x20Using\x20hooks\x20from\x20testData','KEY_TEST_RERUN_NAME','trackJestInstance','[JestTestFramework]\x20getRootParentFile:\x20Exception\x20parsing\x20stack\x20trace:\x20','tDvut','testFrameworkName','hook_run_uuid',',\x20totalHooks=','NPskS','[JestTestFramework]\x20processPendingHooks:\x20Updated\x20hook\x20test_run_id\x20from\x20','DEFAULT_TEST_RESULT','\x20hook','\x20&\x20hookState=','Processing\x20','KEY_HOOK_NAME',',\x20testData=','KEY_HOOK_LOGS','BEFORE_ALL','VWjmo','KEY_AUTOMATE_SESSION_NAME','8835DJHjwq','isJestInternalHook','error','hoKPO','KEY_TEST_FRAMEWORK_VERSION','testUUID','warn','Nfsbd','length','pduhG','KEY_TEST_SCOPES','test_identifier','resolveInstance','ceil','vvJAL','parseJestTestResult','join','inspect','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20FAILED\x20-\x20hookType=','LOG_REPORT','_ALL','../grpcClient','JestTestFramework','[JestTestFramework]\x20trackHookEvent:\x20START\x20-\x20testFrameworkState=','beforeAll','failure_reason','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Test\x20result\x20processed\x20for\x20testId:\x20','passed','vsKgf','QYrqV','KEY_LOGS','eILJG','getContext','[JestTestFramework]\x20sendLogCreatedEvent:\x20Total\x20logs\x20retrieved:\x20','storePendingHook',',\x20remainingHooks=','./constants/testFrameworkConstants.js','NIaOx','getInstance',',\x20hookState=','NGTUq',',\x20hooksListLength=','toISOString','started_at','exports','../instances/trackedInstance.js','getJestTestTags','\x20(testIdentifier),\x20hookType=','set','failed','[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20logs\x20found\x20in\x20instance.data[KEY_LOGS]\x20for\x20testId:\x20',',\x20storing\x20as\x20pending\x20hook','nZBJp'];a75_0x598a=function(){return _0x774b90;};return a75_0x598a();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const a76_0x5c9824=a76_0x4f76;function a76_0x4f76(_0xd44f07,_0x5bffd0){const _0x3aba61=a76_0x3aba();return a76_0x4f76=function(_0x4f76c5,_0x1341d2){_0x4f76c5=_0x4f76c5-0xb4;let _0x4218d4=_0x3aba61[_0x4f76c5];return _0x4218d4;},a76_0x4f76(_0xd44f07,_0x5bffd0);}(function(_0x47bc48,_0x1a2e73){const _0x24359a=a76_0x4f76,_0x302d33=_0x47bc48();while(!![]){try{const _0x42c536=parseInt(_0x24359a(0xce))/0x1*(-parseInt(_0x24359a(0xc4))/0x2)+-parseInt(_0x24359a(0xcd))/0x3+-parseInt(_0x24359a(0xd2))/0x4*(parseInt(_0x24359a(0xb6))/0x5)+parseInt(_0x24359a(0xd0))/0x6+-parseInt(_0x24359a(0xd1))/0x7*(parseInt(_0x24359a(0xd9))/0x8)+-parseInt(_0x24359a(0xc3))/0x9+parseInt(_0x24359a(0xc7))/0xa;if(_0x42c536===_0x1a2e73)break;else _0x302d33['push'](_0x302d33['shift']());}catch(_0xe4e98b){_0x302d33['push'](_0x302d33['shift']());}}}(a76_0x3aba,0x4de3c));function a76_0x3aba(){const _0x6589f1=['PlaywrightAutomationFramework','logger','resolveInstance','params','trackEvent:\x20automationFrameworkState=','getId','CREATE','exports','KsqXl','269424bgCAJX','758686VZGwoe','instance','../instances/trackedInstance.js','9503870UuGIks','info','getCurrentInstanceName','message','debug','trackEvent','1324152gxPREu','1UJNUGo','trackPlaywrightInstance:\x20instance\x20already\x20exists','2775180FknfcV','7vlDyad','956XToSGy','getAutomationFrameworkName','../state/automationFrameworkState.js','ZOgbA','hkDXJ','\x20target=','bsParams','1465832ndzAoy','./automationFramework.js','setTrackedInstance','trackPlaywrightInstance',',\x20state=','1255dHJvsg','\x20hookState=','getAutomationFrameworkVersion','../instances/automationFrameworkInstance.js'];a76_0x3aba=function(){return _0x6589f1;};return a76_0x3aba();}const AutomationFramework=require(a76_0x5c9824(0xda)),{createClassLogger}=require('../../../helpers/classLogger.js'),AutomationFrameworkState=require(a76_0x5c9824(0xd4)),CLIUtils=require('../cliUtils.js'),TrackedInstance=require(a76_0x5c9824(0xc6)),AutomationFrameworkInstance=require(a76_0x5c9824(0xb9));class PlaywrightAutomationFramework extends AutomationFramework{[a76_0x5c9824(0xbb)]=createClassLogger(a76_0x5c9824(0xba));constructor(_0x425c04,_0x1171ef){super(_0x425c04,_0x1171ef);}async[a76_0x5c9824(0xcc)](_0x4f15d7,_0x5afed3,_0x5cb5f6={}){const _0x505475=a76_0x5c9824,_0x1fcadd={};_0x1fcadd[_0x505475(0xd6)]=function(_0x354833,_0x8cfa42){return _0x354833===_0x8cfa42;};const _0xe31b26=_0x1fcadd;this['logger'][_0x505475(0xcb)](_0x505475(0xbe)+_0x4f15d7+_0x505475(0xb7)+_0x5afed3),await super[_0x505475(0xcc)](_0x4f15d7,_0x5afed3,_0x5cb5f6);const _0x13d62c=this[_0x505475(0xbc)](_0x4f15d7,_0x5afed3,_0x5cb5f6);if(_0xe31b26['hkDXJ'](_0x13d62c,null))return;_0x5cb5f6[_0x505475(0xc5)]=_0x13d62c,await this['runHooks'](_0x13d62c,_0x4f15d7,_0x5afed3,_0x5cb5f6);}['resolveInstance'](_0x322dde,_0x3eb12b,_0x3ede05={}){const _0x4cecda=a76_0x5c9824,_0x1024cd={};_0x1024cd[_0x4cecda(0xd5)]=function(_0x14d711,_0x5e075a){return _0x14d711===_0x5e075a;};const _0x5b0b02=_0x1024cd;let _0x1b05fb=null;return(_0x5b0b02[_0x4cecda(0xd5)](_0x322dde,AutomationFrameworkState[_0x4cecda(0xc0)])||_0x5b0b02[_0x4cecda(0xd5)](_0x322dde,AutomationFrameworkState['PLAYWRIGHT_DISPATCH'])&&(_0x3ede05[_0x4cecda(0xca)]&&_0x3ede05[_0x4cecda(0xca)][_0x4cecda(0xbd)]&&_0x3ede05['message'][_0x4cecda(0xbd)][_0x4cecda(0xd8)])||_0x5b0b02['ZOgbA'](_0x322dde,AutomationFrameworkState['NONE']))&&this[_0x4cecda(0xb4)](_0x322dde,_0x3ede05),_0x1b05fb=AutomationFramework['getTrackedInstance'](),_0x1b05fb;}[a76_0x5c9824(0xb4)](_0x1da3b8,_0x453c16){const _0x15d7ed=a76_0x5c9824,_0x4092be={};_0x4092be[_0x15d7ed(0xc2)]=_0x15d7ed(0xcf);const _0x4d5a85=_0x4092be;if(AutomationFramework['getTrackedInstance']()){this[_0x15d7ed(0xbb)][_0x15d7ed(0xc8)](_0x4d5a85[_0x15d7ed(0xc2)]);return;}const _0x1c8daa=CLIUtils[_0x15d7ed(0xc9)](),_0x26c689=TrackedInstance['createContext'](_0x1c8daa);let _0x520fb9=null;this[_0x15d7ed(0xbb)][_0x15d7ed(0xc8)]('trackPlaywrightInstance:\x20created\x20instance\x20for\x20target='+_0x1c8daa+_0x15d7ed(0xb5)+_0x1da3b8),_0x520fb9=new AutomationFrameworkInstance(_0x26c689,this[_0x15d7ed(0xd3)](),this[_0x15d7ed(0xb8)](),_0x1da3b8),AutomationFramework[_0x15d7ed(0xdb)](_0x26c689,_0x520fb9),this[_0x15d7ed(0xbb)][_0x15d7ed(0xc8)]('trackPlaywrightInstance:\x20saved\x20instance\x20contextId='+_0x26c689[_0x15d7ed(0xbf)]()+_0x15d7ed(0xd7)+_0x1c8daa);}}module[a76_0x5c9824(0xc1)]=PlaywrightAutomationFramework;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a77_0x4ae558=a77_0x1cf4;function a77_0x1cf4(_0x42d975,_0x56ded2){const _0x370f5f=a77_0x370f();return a77_0x1cf4=function(_0x1cf43f,_0x1f4efc){_0x1cf43f=_0x1cf43f-0x107;let _0xb56836=_0x370f5f[_0x1cf43f];return _0xb56836;},a77_0x1cf4(_0x42d975,_0x56ded2);}(function(_0x42a64e,_0x422070){const _0x1772e4=a77_0x1cf4,_0x403cf2=_0x42a64e();while(!![]){try{const _0x1ab46c=parseInt(_0x1772e4(0x148))/0x1*(-parseInt(_0x1772e4(0x1ce))/0x2)+parseInt(_0x1772e4(0x117))/0x3*(-parseInt(_0x1772e4(0x1a3))/0x4)+parseInt(_0x1772e4(0x1df))/0x5*(parseInt(_0x1772e4(0x1cf))/0x6)+parseInt(_0x1772e4(0x1b4))/0x7*(-parseInt(_0x1772e4(0x14f))/0x8)+parseInt(_0x1772e4(0x169))/0x9*(-parseInt(_0x1772e4(0x120))/0xa)+parseInt(_0x1772e4(0x10d))/0xb*(parseInt(_0x1772e4(0x11a))/0xc)+-parseInt(_0x1772e4(0x114))/0xd*(-parseInt(_0x1772e4(0x138))/0xe);if(_0x1ab46c===_0x422070)break;else _0x403cf2['push'](_0x403cf2['shift']());}catch(_0x46b656){_0x403cf2['push'](_0x403cf2['shift']());}}}(a77_0x370f,0x4c425));function a77_0x370f(){const _0x4a4b50=['skipped','hook','testFrameworkState','test','TEST_SCREENSHOT','getInstance','Error\x20in\x20sendLogCreatedEvent:\x20','NONE','MGwqj','PRE','KEY_HOOK_LAST_FINISHED','FtRMx','KEY_TEST_UUID','../../utils/constants','../../../helpers/classLogger.js','getTraceFilePaths','2123ClQOaq','../TestInfo.js','KEY_HOOKS_FINISHED','gWnzD','\x20instance=','filter','XBzPE','13cXFmLU','KEY_TEST_FILE_PATH','passed','51pPZIYV','KEY_TEST_STARTED_AT','toISOString','9444Omrftj','../../../helpers/helper.js','./testFramework','trackPlaywrightInstance:\x20created\x20instance\x20for\x20target=','oVqwS','startTime','740idnHEY','\x20batch\x20','../../../../src/helpers/helper','\x20testHookState=','values','KEY_TEST_CODE','trackHookEvent','IcWqD','KEY_HOOK_NAME','Hwcfy','KEY_TEST_ATTACHMENTS','KEY_TEST_NAME','KEY_TEST_ENDED_AT','getId','timedOut','RkMwi','ACubR','error','KEY_HOOK_LAST_STARTED','tAWMG','getTestFrameworksVersions','OdxUG','KEY_TEST_RESULT_AT',',\x20state=','13315498oJDeYx','jeObi','jLvyR','hookState','trackEvent\x20loading\x20testData\x20for\x20testId:\x20','../grpcClient','uuid','sOsUb','\x20hookState:\x20','lygfl','result','duration','trackEvent:\x20found\x20instance,\x20testFrameworkState=','info','retry','forEach','6113yUQQbZ','inspect','KEY_CUSTOM_TAGS','getTime','getRef','getCurrentHookState','trackEvent:\x20Exception\x20in\x20event\x20tracking,\x20testFrameworkState=%s\x20hookState=%s\x20argsLength=%s,\x20exception=%s','8qUNULC','UkHsg','get','getContext','KEY_TEST_FAILURE_REASON','isArray','bdexd','setTrackedInstance','slice','trackPlaywrightInstance:\x20saved\x20instance\x20contextId=','stringify','parallelIndex','trackPlaywrightInstance','KEY_EVENT_STARTED_AT','Avcgu','getTestUUID','statSync','KEY_TEST_ID','vWzYq','KEY_TEST_SCOPES','toString','IGcWV','getTestFrameworks','LqgQs','step','KEY_LOGS','33030fXeFcd','tExGC','POST','expectedStatus','ceil','TEST','multi_dropdown','qTgNO','KEY_TEST_FRAMEWORK_VERSION','zYTLS','getThreadId','KEY_HOOKS_STARTED','FIVgt','pvqaq','sendLogCreatedEvent:\x20testId=','\x20\x20and\x20args\x20=\x20','Hook\x20List\x20in\x20Post\x20','KEY_TEST_RESULT','err','bMPYj','getProcessId','KEY_HOOK_FAILURE','QeffZ','PBkFQ','uhvuj','DEFAULT_TEST_RESULT','steps','../cliUtils.js','KEY_HOOK_RESULT','push','executionContext','KEY_TEST_FRAMEWORK_NAME','trackEvent','../../playwright/reporter/pwUtils','trim','parsePlaywrightTestResult','errors','nPQER','platformIndex','RzpKA','YcntF','oXJLO','resolveInstance','DFgWt','getTrackedInstance','\x20testState:\x20','WDrPV','status','\x20payload=','results','KEY_HOOK_FAILURE_REASON','eventJson','KEY_TEST_RERUN_NAME','format','getAllData','KEY_TEST_LOGS','basename','exports','123744HxANMC','trackEvent\x20loading\x20testResults\x20for\x20testId:\x20','Bofud','ZflsV','wbBNb','KgpYE','createContext','concat','split','Error\x20in\x20createTestFrameworkEventPayload:\x20','DEFAULT_HOOK_RESULT','length','mALPS','attachments','AXrOY','wPHGk','MXcuN','55895OmaaYR','debug','instance','../state/testFrameworkState.js','../state/hookState.js','trackEvent:\x20loaded\x20testData\x20for\x20testId:\x20','createTestFrameworkEventPayload','logCreatedEvent','getCurrentInstanceName','vBWPr','KEY_TEST_RETRY_OF','testUId','XLAdY','cqUEa','filePath','sendLogCreatedEvent','pbeht','aZByL','yqDYS','tEkci','browserstackPlatformIndex','base64','zreoF','Error\x20processing\x20direct\x20trace\x20file\x20','matchHookRegex','map','122DMyQWh','34722RhkxaU','ZDKlJ','PlaywrightTestFramework','KEY_TEST_SCOPE','parsePlaywrightTest','dZidb','KEY_HOOK_FAILURE_TYPE','KEY_AUTOMATE_SESSION_NAME','sendLogCreatedEvent\x20for\x20testId:\x20','getTestDetails','\x20response=','field_type','KEY_TEST_LOCATION','\x20target=','startedAt','path','335DXJrYz','addMultipleEntries','YiktQ','mLWmp','EeuKW','TEST_ATTACHMENT','LQBgs','mOcza','\x20from\x20TestDetails:\x20','Error\x20processing\x20trace\x20file\x20','failed','ZeNSP','Hwoqj','endedAt','testFrameworkVersion','setTestDetails','message'];a77_0x370f=function(){return _0x4a4b50;};return a77_0x370f();}const TestFramework=require(a77_0x4ae558(0x11c)),TestFrameworkState=require(a77_0x4ae558(0x1b7)),HookState=require(a77_0x4ae558(0x1b8)),{createClassLogger}=require(a77_0x4ae558(0x10b)),TestFrameworkInstance=require('../instances/testFrameworkInstance.js'),CLIUtils=require(a77_0x4ae558(0x184)),TrackedInstance=require('../instances/trackedInstance.js'),TestFrameworkConstants=require('./constants/testFrameworkConstants.js'),logger=createClassLogger(a77_0x4ae558(0x1d1)),{v4:uuidv4}=require(a77_0x4ae558(0x13e)),util=require('util'),{getPlaywrightSessionName,getPlaywrightTestFilePath,getPlaywrightTestId,getPlaywrightTestTitle,getPlaywrightTestLocation,getPlaywrightTestTags,getPlaywrightTestCode,getPlaywrightTestScope,getPlaywrightTestScopes,getStepsAndLogs,getScreenshots,getVideos,getPlaywrightCustomRerunParam,getMediaArtifactsLogs,getManualUploadLogs,updatePayloadForTraceLogs}=require(a77_0x4ae558(0x11b)),TestInfo=require(a77_0x4ae558(0x10e)),GrpcClient=require(a77_0x4ae558(0x13d)),{removeAnsiColors,getFailureType,failureData}=require('../../../helpers/test-observability/utils'),{getFailureData,getTestTags,getTestRunIdentifier}=require(a77_0x4ae558(0x18a)),{findNestedKey,sendTraceZip,validateFilePath}=require(a77_0x4ae558(0x18a)),path=require(a77_0x4ae558(0x1de)),fs=require('fs'),helper=require(a77_0x4ae558(0x122)),{PLAYWRIGHT_TRACE_LOGS}=require(a77_0x4ae558(0x10a));class PlaywrightTestFramework extends TestFramework{constructor(_0x22a517,_0x2ee6eb,_0x1d8634){super(_0x22a517,_0x2ee6eb,_0x1d8634);}async[a77_0x4ae558(0x189)](_0x580f72,_0x31f920,_0x4b2d9f={}){const _0x3677bc=a77_0x4ae558,_0x43d0fc={'VHPRO':function(_0x2c35a0,_0x3f0e79){return _0x2c35a0===_0x3f0e79;},'TkZnx':function(_0x4e3045,_0x3cddcd){return _0x4e3045===_0x3cddcd;},'GvZKI':function(_0x3cc43b,_0x366935){return _0x3cc43b===_0x366935;},'pvqaq':function(_0x5b3ee4,_0xa77007,_0x47724c){return _0x5b3ee4(_0xa77007,_0x47724c);},'XBzPE':_0x3677bc(0x1f3),'QeffZ':_0x3677bc(0x14e)};super[_0x3677bc(0x189)](_0x580f72,_0x31f920,_0x4b2d9f);if(_0x43d0fc['VHPRO'](_0x580f72,TestFrameworkState[_0x3677bc(0x1f4)])){const _0x32e9b1=TestInfo['getTestIdentifierFromTestInfo'](_0x4b2d9f['test'],_0x4b2d9f[_0x3677bc(0x1f3)][_0x3677bc(0x146)]);TestInfo['setTestDetails'](_0x32e9b1,_0x4b2d9f[_0x3677bc(0x142)],!![]);}const _0xb72ce=this[_0x3677bc(0x193)](_0x580f72,_0x31f920,_0x4b2d9f);if(!_0xb72ce)return;logger[_0x3677bc(0x1b5)](_0x3677bc(0x144)+_0x580f72+'\x20hookState='+_0x31f920+'\x20instanceId='+_0xb72ce[_0x3677bc(0x14c)]());try{if(_0x43d0fc['TkZnx'](_0x31f920,HookState[_0x3677bc(0x1f9)])&&_0x43d0fc['GvZKI'](_0x580f72,TestFrameworkState['TEST'])){const _0x34f838=_0x4b2d9f[_0x3677bc(0x1f3)];logger['debug'](_0x3677bc(0x13c)+_0x34f838['id']+'}');const _0x1137a7=TestInfo[_0x3677bc(0x15e)](_0x43d0fc[_0x3677bc(0x176)](getTestRunIdentifier,_0x34f838,_0x4b2d9f[_0x3677bc(0x142)][_0x3677bc(0x146)]));_0xb72ce[_0x3677bc(0x1e0)](this[_0x3677bc(0x1d3)](_0x1137a7,_0x34f838,_0x4b2d9f['result'])),logger['debug'](_0x3677bc(0x1b9)+_0x34f838['id']+',\x20testFrameworkState='+_0x580f72+_0x3677bc(0x123)+_0x31f920+_0x3677bc(0x111)+_0xb72ce[_0x3677bc(0x14c)]());}if(_0x43d0fc['TkZnx'](_0x31f920,HookState[_0x3677bc(0x16b)])&&_0x43d0fc['GvZKI'](_0x580f72,TestFrameworkState[_0x3677bc(0x16e)])){const _0x4eb6cd=_0x4b2d9f[_0x3677bc(0x1f3)],_0x449f87=_0x4b2d9f[_0x3677bc(0x142)];logger[_0x3677bc(0x1b5)](_0x3677bc(0x1a4)+_0x4eb6cd['id']),_0xb72ce['addMultipleEntries'](this[_0x3677bc(0x18c)](_0x4eb6cd['id'],_0x449f87,_0x4eb6cd)),await this[_0x3677bc(0x1c3)](_0xb72ce,_0x580f72,_0x31f920,_0x43d0fc[_0x3677bc(0x113)],_0x4b2d9f);}if(CLIUtils[_0x3677bc(0x1cc)](_0x580f72['toString']()['split']('.')[0x1])){const _0x590cff=await this[_0x3677bc(0x126)](_0xb72ce,_0x580f72,_0x31f920,_0x4b2d9f);_0xb72ce['addMultipleEntries'](_0x590cff);}}catch(_0x3aec88){logger['error'](util[_0x3677bc(0x19e)](_0x43d0fc[_0x3677bc(0x17f)],_0x580f72,_0x31f920,_0x4b2d9f['length'],_0x3aec88));}_0x4b2d9f[_0x3677bc(0x1b6)]=_0xb72ce,await this['runHooks'](_0xb72ce,_0x580f72,_0x31f920,_0x4b2d9f);}[a77_0x4ae558(0x193)](_0x358eb5,_0x1cb385,_0x3edbf6={}){const _0x15ab7e=a77_0x4ae558,_0x244999={};_0x244999[_0x15ab7e(0x13a)]=function(_0x262155,_0x529a91){return _0x262155===_0x529a91;};const _0x3736e2=_0x244999;let _0x48c2d7=null;return(_0x3736e2[_0x15ab7e(0x13a)](_0x358eb5,TestFrameworkState['INIT_TEST'])||_0x3736e2[_0x15ab7e(0x13a)](_0x358eb5,TestFrameworkState['NONE']))&&this['trackPlaywrightInstance'](_0x358eb5,_0x3edbf6),_0x48c2d7=TestFramework[_0x15ab7e(0x195)](),_0x48c2d7;}[a77_0x4ae558(0x15b)](_0x4f3232,_0x4d8491){const _0x4d33ee=a77_0x4ae558,_0x42c217=CLIUtils[_0x4d33ee(0x1bc)](),_0x3e30a1=TrackedInstance[_0x4d33ee(0x1a9)](_0x42c217);let _0x5c5125=null;logger[_0x4d33ee(0x145)](_0x4d33ee(0x11d)+_0x42c217+_0x4d33ee(0x137)+_0x4f3232),_0x5c5125=new TestFrameworkInstance(_0x3e30a1,this[_0x4d33ee(0x165)](),this[_0x4d33ee(0x134)](),_0x4f3232,HookState[_0x4d33ee(0x1f7)]),TestFramework[_0x4d33ee(0x156)](_0x3e30a1,_0x5c5125),logger[_0x4d33ee(0x145)](_0x4d33ee(0x158)+_0x3e30a1[_0x4d33ee(0x12d)]()+_0x4d33ee(0x1dc)+_0x42c217);}[a77_0x4ae558(0x1d3)](_0x1c40ec,_0x9cb426,_0x2b36a9){const _0x35f9e8=a77_0x4ae558,_0x63d42f={'FtRMx':function(_0x2ad726,_0x3b3980){return _0x2ad726(_0x3b3980);},'tExGC':function(_0x558d98,_0x1f96a4){return _0x558d98(_0x1f96a4);},'tEkci':function(_0x4c0d9d,_0x108307){return _0x4c0d9d(_0x108307);},'PBkFQ':function(_0x4d5a4f,_0x5d79dd,_0x89a76f){return _0x4d5a4f(_0x5d79dd,_0x89a76f);},'DPzEp':function(_0x38785c,_0x439240){return _0x38785c(_0x439240);}},_0x2c9335=_0x63d42f[_0x35f9e8(0x108)](getPlaywrightTestId,_0x9cb426),_0x5bd855=_0x63d42f[_0x35f9e8(0x16a)](getPlaywrightTestTitle,_0x9cb426),_0x5be762=_0x63d42f[_0x35f9e8(0x16a)](getTestTags,_0x9cb426),_0x345f6a=_0x63d42f['tExGC'](getPlaywrightTestCode,_0x9cb426),_0x43ae1a=_0x63d42f['tExGC'](getPlaywrightTestFilePath,_0x9cb426),_0x31950c=_0x43ae1a+':'+_0x63d42f[_0x35f9e8(0x16a)](getPlaywrightTestLocation,_0x9cb426),_0x5a13a7=_0x63d42f[_0x35f9e8(0x108)](getPlaywrightTestScope,_0x9cb426),_0xd4a232=_0x63d42f[_0x35f9e8(0x1c7)](getPlaywrightTestScopes,_0x9cb426),_0x16ea7f=_0x63d42f[_0x35f9e8(0x1c7)](getPlaywrightSessionName,_0x9cb426),_0x12e213=this['getTestFrameworks']()[0x0],_0x276600=_0x63d42f[_0x35f9e8(0x180)](getTestRunIdentifier,_0x9cb426,_0x2b36a9[_0x35f9e8(0x146)]),_0x29494c={[TestFrameworkConstants[_0x35f9e8(0x188)]]:_0x12e213,[TestFrameworkConstants[_0x35f9e8(0x171)]]:this[_0x35f9e8(0x134)]()[_0x12e213],[TestFrameworkConstants[_0x35f9e8(0x1a0)]]:[],[TestFrameworkConstants[_0x35f9e8(0x10f)]]:{},[TestFrameworkConstants[_0x35f9e8(0x174)]]:{},[TestFrameworkConstants[_0x35f9e8(0x109)]]:_0x1c40ec,[TestFrameworkConstants[_0x35f9e8(0x17a)]]:TestFrameworkConstants[_0x35f9e8(0x182)],[TestFrameworkConstants[_0x35f9e8(0x1d6)]]:_0x16ea7f,[TestFrameworkConstants[_0x35f9e8(0x115)]]:_0x43ae1a,[TestFrameworkConstants[_0x35f9e8(0x160)]]:_0x2c9335,[TestFrameworkConstants[_0x35f9e8(0x12b)]]:_0x5bd855,[TestFrameworkConstants[_0x35f9e8(0x1db)]]:_0x31950c,[TestFrameworkConstants[_0x35f9e8(0x125)]]:_0x345f6a,[TestFrameworkConstants['KEY_TEST_TAGS']]:_0x5be762,[TestFrameworkConstants[_0x35f9e8(0x118)]]:_0x9cb426[_0x35f9e8(0x19a)][0x0][_0x35f9e8(0x11f)],[TestFrameworkConstants[_0x35f9e8(0x1d2)]]:_0x5a13a7,[TestFrameworkConstants[_0x35f9e8(0x162)]]:_0xd4a232,[TestFrameworkConstants[_0x35f9e8(0x19d)]]:_0x63d42f['DPzEp'](getPlaywrightCustomRerunParam,_0x9cb426)};TestInfo[_0x35f9e8(0x1ee)](_0x276600,_0x29494c);const _0x19034e={};return _0x19034e[_0x276600]=_0x29494c,_0x19034e;}['parsePlaywrightTestResult'](_0x458058,_0x4a88e4,_0x48ed5a){const _0x5c980b=a77_0x4ae558,_0x5c835a={'mOcza':function(_0x4add38,_0x5319b8){return _0x4add38(_0x5319b8);},'ACubR':_0x5c980b(0x1e4),'gWnzD':function(_0x27918f,_0x5512b9){return _0x27918f===_0x5512b9;},'erFCe':'No\x20reason\x20provided','KgpYE':_0x5c980b(0x16f),'KGuDJ':function(_0x28a743,_0x395846){return _0x28a743(_0x395846);},'OdxUG':function(_0x36b107,_0x5dcf82,_0x46dc98){return _0x36b107(_0x5dcf82,_0x46dc98);},'YiktQ':function(_0x41c59d,_0x3e6128){return _0x41c59d+_0x3e6128;},'zfDag':function(_0x79cf8f,_0x25398c){return _0x79cf8f===_0x25398c;},'RkMwi':_0x5c980b(0x1f0),'IGcWV':_0x5c980b(0x116),'uhvuj':function(_0x39032c,_0x49d72b){return _0x39032c===_0x49d72b;},'DFgWt':function(_0x5ee53d,_0xd18b00){return _0x5ee53d===_0xd18b00;},'pbeht':_0x5c980b(0x1e9),'hWflK':function(_0x196ce0,_0x4d1d8c){return _0x196ce0===_0x4d1d8c;},'ZflsV':_0x5c980b(0x12e),'XLAdY':function(_0x576a5e,_0xf9ad16){return _0x576a5e===_0xf9ad16;},'MXcuN':function(_0x18eae5,_0x4349ec){return _0x18eae5===_0x4349ec;},'bMPYj':'Expected\x20to\x20fail,\x20but\x20passed.','OiZSr':function(_0x187be1,_0x5e7dff,_0x4a4ef9){return _0x187be1(_0x5e7dff,_0x4a4ef9);},'Bofud':function(_0x131680,_0x2b323d){return _0x131680||_0x2b323d;},'yqDYS':function(_0x3fd4ce,_0x22b4c9){return _0x3fd4ce(_0x22b4c9);},'SBuJh':function(_0x37aa6c,_0xf8636){return _0x37aa6c>_0xf8636;},'FIVgt':function(_0xa1c469,_0x52f955){return _0xa1c469-_0x52f955;},'wbBNb':function(_0x46e933,_0x1f6ab3,_0x25926e){return _0x46e933(_0x1f6ab3,_0x25926e);},'LQBgs':'path','wPHGk':function(_0x4e5ede,_0x232c84){return _0x4e5ede(_0x232c84);},'tAWMG':function(_0x1a51bb,_0x2cafbc){return _0x1a51bb>_0x2cafbc;},'Hwcfy':function(_0x20a96e,_0x436353,_0x19b166){return _0x20a96e(_0x436353,_0x19b166);}};logger[_0x5c980b(0x1b5)]('parsePlaywrightTestResult:\x20testId='+_0x458058);const _0x5041b=_0x5c835a[_0x5c980b(0x135)](getTestRunIdentifier,_0x48ed5a,_0x4a88e4['retry']),_0x2ef9fc=new Date(_0x4a88e4[_0x5c980b(0x11f)]),_0x218eb5=_0x4a88e4['duration'],_0x37141a=new Date(_0x5c835a[_0x5c980b(0x1e1)](_0x2ef9fc[_0x5c980b(0x14b)](),_0x218eb5)),_0x491916=_0x4a88e4[_0x5c980b(0x198)],_0x13fdc7=TestInfo[_0x5c980b(0x1d8)](_0x5041b)[TestFrameworkConstants[_0x5c980b(0x14a)]]||{};let _0x3bc7f7=_0x491916;if(_0x5c835a['gWnzD'](_0x4a88e4[_0x5c980b(0x198)],_0x48ed5a['expectedStatus']))_0x3bc7f7=_0x5c835a['zfDag'](_0x4a88e4[_0x5c980b(0x198)],_0x5c835a[_0x5c980b(0x12f)])?_0x5c835a['RkMwi']:_0x5c835a[_0x5c980b(0x164)];else{(_0x5c835a[_0x5c980b(0x181)](_0x3bc7f7,_0x5c835a[_0x5c980b(0x164)])||_0x5c835a[_0x5c980b(0x194)](_0x3bc7f7,_0x5c835a[_0x5c980b(0x1c4)])||_0x5c835a['hWflK'](_0x3bc7f7,_0x5c835a[_0x5c980b(0x1a6)]))&&(_0x3bc7f7=_0x5c835a[_0x5c980b(0x1c4)]);if(_0x5c835a[_0x5c980b(0x1c0)](_0x4a88e4[_0x5c980b(0x198)],_0x5c835a[_0x5c980b(0x164)])&&_0x5c835a[_0x5c980b(0x1b3)](_0x48ed5a[_0x5c980b(0x16c)],_0x5c835a['pbeht'])){const _0x1beb98={};_0x1beb98[_0x5c980b(0x1ef)]=_0x5c835a[_0x5c980b(0x17c)],_0x1beb98['stack']=_0x5c835a[_0x5c980b(0x17c)],_0x4a88e4['error']=_0x1beb98,_0x4a88e4[_0x5c980b(0x18d)]=[_0x4a88e4[_0x5c980b(0x131)]];}}const {failureData:_0x196a98,logs:_0x5cd0be}=_0x5c835a['OiZSr'](getFailureData,_0x4a88e4?.['errors'],{}),_0x53b0a0={[TestFrameworkConstants['KEY_TEST_FAILURE']]:_0x5c835a[_0x5c980b(0x1a5)](_0x196a98,null),[TestFrameworkConstants['KEY_TEST_FAILURE_TYPE']]:_0x4a88e4?.[_0x5c980b(0x131)]&&_0x5c835a['mOcza'](getFailureType,_0x4a88e4['error'][_0x5c980b(0x1ef)]),[TestFrameworkConstants[_0x5c980b(0x153)]]:_0x4a88e4?.[_0x5c980b(0x131)]&&_0x5c835a[_0x5c980b(0x1c6)](removeAnsiColors,_0x4a88e4[_0x5c980b(0x131)][_0x5c980b(0x1ef)]),[TestFrameworkConstants[_0x5c980b(0x168)]]:[],[TestFrameworkConstants['KEY_TEST_RESULT']]:_0x3bc7f7,[TestFrameworkConstants[_0x5c980b(0x12c)]]:_0x37141a['toISOString'](),[TestFrameworkConstants[_0x5c980b(0x136)]]:new Date()[_0x5c980b(0x119)](),[TestFrameworkConstants[_0x5c980b(0x14a)]]:_0x13fdc7};if(_0x4a88e4&&_0x5c835a['SBuJh'](_0x4a88e4[_0x5c980b(0x146)],0x0)){const _0x431c58=TestInfo['getTestUUID'](_0x5c835a[_0x5c980b(0x135)](getTestRunIdentifier,_0x48ed5a,_0x5c835a[_0x5c980b(0x175)](_0x4a88e4[_0x5c980b(0x146)],0x1)));_0x53b0a0[TestFrameworkConstants[_0x5c980b(0x1be)]]=_0x431c58;}const _0x18d7a3={};_0x18d7a3['test']=_0x48ed5a;const _0x45f6ca=this[_0x5c980b(0x193)](TestFrameworkState[_0x5c980b(0x16e)],HookState[_0x5c980b(0x16b)],_0x18d7a3),_0x43ae0b=_0x45f6ca['getAllData']()[_0x5c980b(0x151)](_0x5041b)[TestFrameworkConstants[_0x5c980b(0x109)]],_0x623464=[],_0x1a0fbb=_0x5c835a[_0x5c980b(0x1a7)](findNestedKey,_0x4a88e4,_0x5c835a[_0x5c980b(0x1e5)]);if(_0x1a0fbb&&_0x5c835a[_0x5c980b(0x1b2)](validateFilePath,_0x1a0fbb))try{_0x623464[_0x5c980b(0x186)]({'kind':_0x5c835a[_0x5c980b(0x130)],'timestamp':new Date()[_0x5c980b(0x119)](),'test_run_uuid':_0x43ae0b,'file_name':path[_0x5c980b(0x1a1)](_0x1a0fbb),'file_size':fs[_0x5c980b(0x15f)](_0x1a0fbb)['size'],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x55d3cc){logger[_0x5c980b(0x131)](_0x5c980b(0x1cb)+_0x1a0fbb+':\x20'+_0x55d3cc[_0x5c980b(0x1ef)]);}const _0x36c4fd=TestInfo[_0x5c980b(0x10c)](),_0x509168=_0x36c4fd[_0x5c980b(0x112)](_0x1efdf7=>_0x1efdf7[_0x5c980b(0x1bf)]===_0x43ae0b);_0x509168[_0x5c980b(0x147)](_0x24a7e4=>{const _0x303b9d=_0x5c980b;if(_0x24a7e4['filePath']&&_0x5c835a['mOcza'](validateFilePath,_0x24a7e4[_0x303b9d(0x1c2)])&&!_0x623464['some'](_0x2d6009=>_0x2d6009['file_name']===path[_0x303b9d(0x1a1)](_0x24a7e4[_0x303b9d(0x1c2)])))try{_0x623464[_0x303b9d(0x186)]({'kind':_0x5c835a[_0x303b9d(0x130)],'timestamp':new Date()[_0x303b9d(0x119)](),'test_run_uuid':_0x43ae0b,'file_name':path[_0x303b9d(0x1a1)](_0x24a7e4[_0x303b9d(0x1c2)]),'file_size':fs[_0x303b9d(0x15f)](_0x24a7e4['filePath'])['size'],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x8d3609){logger[_0x303b9d(0x131)](_0x303b9d(0x1e8)+_0x24a7e4[_0x303b9d(0x1c2)]+_0x303b9d(0x1e7)+_0x8d3609[_0x303b9d(0x1ef)]);}});if(_0x5c835a['tAWMG'](_0x623464[_0x5c980b(0x1ae)],0x0)){const _0x32dc65=_0x53b0a0[TestFrameworkConstants['KEY_LOGS']]||[];_0x53b0a0[TestFrameworkConstants[_0x5c980b(0x168)]]=[..._0x32dc65,..._0x623464];}const _0x28b7bb=TestInfo[_0x5c980b(0x1d8)](_0x5041b)[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]||{},_0x20b41a=_0x5c835a[_0x5c980b(0x129)](getManualUploadLogs,_0x28b7bb,_0x45f6ca[_0x5c980b(0x19f)]()['get'](_0x5041b)[TestFrameworkConstants[_0x5c980b(0x109)]]);if(_0x5c835a[_0x5c980b(0x133)](_0x20b41a[_0x5c980b(0x1ae)],0x0)){const _0x53f4e4=_0x53b0a0[TestFrameworkConstants[_0x5c980b(0x168)]]||[];_0x53b0a0[TestFrameworkConstants['KEY_LOGS']]=[..._0x53f4e4,..._0x20b41a];}const _0x480dce=_0x48ed5a['annotations']||[],_0x1c7095=_0x53b0a0[TestFrameworkConstants[_0x5c980b(0x14a)]]||{};_0x480dce['forEach'](_0x50b865=>{const _0x55798a=_0x5c980b,{type:_0x1e30fb}=_0x50b865;let _0x12677=_0x50b865['description'];if(!_0x1e30fb)return;(_0x5c835a[_0x55798a(0x110)](_0x12677,undefined)||_0x5c835a[_0x55798a(0x110)](_0x12677,null)||_0x5c835a[_0x55798a(0x110)](_0x5c835a[_0x55798a(0x1e6)](String,_0x12677)[_0x55798a(0x18b)](),''))&&(_0x12677=_0x5c835a['erFCe']);if(!_0x1c7095[_0x1e30fb]){const _0x1f7db1={};_0x1f7db1[_0x55798a(0x1da)]=_0x5c835a[_0x55798a(0x1a8)],_0x1f7db1[_0x55798a(0x124)]=[],_0x1c7095[_0x1e30fb]=_0x1f7db1;}else!_0x1c7095[_0x1e30fb][_0x55798a(0x1da)]&&(_0x1c7095[_0x1e30fb][_0x55798a(0x1da)]=_0x5c835a[_0x55798a(0x1a8)]),!Array[_0x55798a(0x154)](_0x1c7095[_0x1e30fb][_0x55798a(0x124)])&&(_0x1c7095[_0x1e30fb][_0x55798a(0x124)]=[]);const _0x3712e2=_0x5c835a['KGuDJ'](String,_0x12677)[_0x55798a(0x1ab)](',')[_0x55798a(0x1cd)](_0x3dc974=>_0x3dc974[_0x55798a(0x18b)]());_0x1c7095[_0x1e30fb]['values']=[...new Set([..._0x1c7095[_0x1e30fb][_0x55798a(0x124)],..._0x3712e2])];}),_0x53b0a0[TestFrameworkConstants[_0x5c980b(0x14a)]]=_0x1c7095,TestInfo[_0x5c980b(0x1ee)](_0x5041b,_0x53b0a0);const _0x20cff8={};return _0x20cff8[_0x5041b]=_0x53b0a0,_0x20cff8;}async[a77_0x4ae558(0x126)](_0x28eea6,_0x1059e2,_0x55fc7c,_0x8ad2c5){const _0x4c6a58=a77_0x4ae558,_0x2f2c4c={'YcntF':function(_0x272e4f,_0x9479f7,_0x205e05){return _0x272e4f(_0x9479f7,_0x205e05);},'nPQER':function(_0x1de4ed,_0x4e63c4){return _0x1de4ed in _0x4e63c4;},'RzpKA':function(_0x3e63da,_0x307e06){return _0x3e63da in _0x307e06;},'sOsUb':function(_0x1f5bf9,_0x4f960c){return _0x1f5bf9(_0x4f960c);},'oXJLO':function(_0x4cb99a,_0x32c1e6){return _0x4cb99a===_0x32c1e6;},'bdexd':function(_0x2cd189){return _0x2cd189();},'Hwoqj':function(_0x129621,_0x2ce180){return _0x129621>_0x2ce180;},'HDKkg':_0x4c6a58(0x17b),'vBWPr':function(_0x37b933,_0x3a1478){return _0x37b933(_0x3a1478);},'ZDKlJ':'failed','cqUEa':_0x4c6a58(0x116),'LqgQs':function(_0x406747,_0x47903d){return _0x406747!==_0x47903d;},'XoFGR':function(_0x4ea55c,_0x5ca977){return _0x4ea55c+_0x5ca977;},'zreoF':'hook'},_0xa7cfc9=_0x8ad2c5[_0x4c6a58(0x1f3)],_0x99ea92=_0x8ad2c5[_0x4c6a58(0x167)],_0x2b3589=_0x2f2c4c[_0x4c6a58(0x191)](getTestRunIdentifier,_0xa7cfc9,_0x8ad2c5[_0x4c6a58(0x142)][_0x4c6a58(0x146)]),_0x5be3d4=_0x1059e2[_0x4c6a58(0x163)]()[_0x4c6a58(0x1ab)]('.')[0x1];let _0x4a8943=_0x28eea6['getAllData']()['get'](_0x2b3589)[TestFrameworkConstants[_0x4c6a58(0x174)]];!_0x4a8943&&(_0x4a8943={});!_0x2f2c4c[_0x4c6a58(0x18e)](_0x5be3d4,_0x4a8943)&&(_0x4a8943[_0x5be3d4]=[]);let _0x281418=_0x28eea6[_0x4c6a58(0x19f)]()[_0x4c6a58(0x151)](_0x2b3589)[TestFrameworkConstants[_0x4c6a58(0x10f)]];!_0x281418&&(_0x281418={});!_0x2f2c4c[_0x4c6a58(0x190)](_0x5be3d4,_0x281418)&&(_0x281418[_0x5be3d4]=[]);const _0x1268e0={[TestFrameworkConstants[_0x4c6a58(0x174)]]:_0x4a8943,[TestFrameworkConstants[_0x4c6a58(0x10f)]]:_0x281418},_0x241a2e={};_0x241a2e[_0x2b3589]=_0x1268e0;const _0x593d7d=_0x241a2e,_0x1dc091=_0x2f2c4c[_0x4c6a58(0x13f)](getPlaywrightTestFilePath,_0xa7cfc9),_0x42478d=_0x1dc091+':'+_0x2f2c4c[_0x4c6a58(0x13f)](getPlaywrightTestLocation,_0xa7cfc9),_0x16cc24=TestInfo['getTestDetails'](_0x2b3589)[TestFrameworkConstants[_0x4c6a58(0x14a)]]||{};if(_0x2f2c4c[_0x4c6a58(0x192)](_0x55fc7c,HookState[_0x4c6a58(0x1f9)])){const _0x1fa17b={'key':_0x5be3d4,[TestFrameworkConstants['KEY_HOOK_ID']]:_0x2f2c4c[_0x4c6a58(0x155)](uuidv4),[TestFrameworkConstants[_0x4c6a58(0x185)]]:TestFrameworkConstants[_0x4c6a58(0x1ad)],[TestFrameworkConstants[_0x4c6a58(0x15c)]]:_0x99ea92[_0x4c6a58(0x11f)],[TestFrameworkConstants['KEY_HOOK_LOGS']]:[],[TestFrameworkConstants[_0x4c6a58(0x128)]]:_0x99ea92['title'],[TestFrameworkConstants[_0x4c6a58(0x115)]]:_0x1dc091,[TestFrameworkConstants['KEY_TEST_LOCATION']]:_0x42478d,[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:_0x16cc24};_0x4a8943[_0x5be3d4][_0x4c6a58(0x186)](_0x1fa17b),_0x593d7d[_0x2b3589][TestFrameworkConstants[_0x4c6a58(0x132)]]=_0x5be3d4,logger[_0x4c6a58(0x1b5)]('Hook\x20Started\x20in\x20PRE\x20key\x20=\x20'+_0x5be3d4+'\x20&\x20hook\x20=\x20'+_0x1fa17b+_0x4c6a58(0x178)+_0x8ad2c5);}else{if(_0x2f2c4c['oXJLO'](_0x55fc7c,HookState[_0x4c6a58(0x16b)])){const _0x324e32=await _0x8ad2c5['result'],_0x1ec093=_0x4a8943[_0x5be3d4]||[],_0x143b53=_0x8ad2c5[_0x4c6a58(0x167)];logger[_0x4c6a58(0x1b5)](_0x4c6a58(0x179)+_0x1ec093+'\x20and\x20args\x20=\x20'+_0x8ad2c5);if(_0x2f2c4c[_0x4c6a58(0x1eb)](_0x1ec093[_0x4c6a58(0x1ae)],0x0)){const _0x297e31=_0x1ec093['pop']();if(_0x143b53[_0x4c6a58(0x131)]){const _0x38a061=_0x2f2c4c[_0x4c6a58(0x191)](failureData,_0x143b53[_0x4c6a58(0x131)],_0x2f2c4c['HDKkg']);_0x297e31[TestFrameworkConstants[_0x4c6a58(0x1d5)]]=_0x2f2c4c[_0x4c6a58(0x13f)](getFailureType,_0x143b53?.['error'][_0x4c6a58(0x1ef)]),_0x297e31[TestFrameworkConstants[_0x4c6a58(0x19b)]]=_0x2f2c4c[_0x4c6a58(0x1bd)](removeAnsiColors,_0x143b53?.[_0x4c6a58(0x131)][_0x4c6a58(0x1ef)]),_0x297e31[TestFrameworkConstants['KEY_HOOK_RESULT']]=_0x2f2c4c[_0x4c6a58(0x1d0)],_0x297e31[TestFrameworkConstants[_0x4c6a58(0x17e)]]=_0x38a061;}else _0x297e31[TestFrameworkConstants[_0x4c6a58(0x185)]]=_0x2f2c4c[_0x4c6a58(0x1c1)];_0x2f2c4c[_0x4c6a58(0x166)](_0x324e32,TestFrameworkConstants[_0x4c6a58(0x1ad)])&&(_0x297e31[TestFrameworkConstants[_0x4c6a58(0x185)]]=!_0x143b53[_0x4c6a58(0x131)]?_0x2f2c4c['cqUEa']:_0x2f2c4c[_0x4c6a58(0x1d0)]);const _0xae980d=new Date(_0x143b53['startTime']),_0x5cdb94=new Date(_0x2f2c4c['XoFGR'](_0xae980d[_0x4c6a58(0x14b)](),_0x143b53[_0x4c6a58(0x143)]));_0x297e31[TestFrameworkConstants['KEY_EVENT_ENDED_AT']]=_0x5cdb94[_0x4c6a58(0x119)](),_0x297e31[TestFrameworkConstants['KEY_CUSTOM_TAGS']]=_0x16cc24;const _0x2152e1=_0x297e31[TestFrameworkConstants['KEY_HOOK_ID']];await this[_0x4c6a58(0x1c3)](_0x28eea6,_0x1059e2,_0x2152e1,_0x2f2c4c[_0x4c6a58(0x1ca)],_0x8ad2c5),!_0x281418[_0x5be3d4]&&(_0x281418[_0x5be3d4]=[]),_0x281418[_0x5be3d4]['push'](_0x297e31),_0x593d7d[_0x2b3589][TestFrameworkConstants[_0x4c6a58(0x107)]]=_0x5be3d4;}}}return _0x593d7d;}async['sendLogCreatedEvent'](_0x1f6b6e,_0x408e67,_0x543368,_0x5ee5de,_0x408029){const _0x294f5e=a77_0x4ae558,_0x47c547={'IcWqD':function(_0x4738ad,_0x20ed65){return _0x4738ad===_0x20ed65;},'lygfl':_0x294f5e(0x1f3),'vWzYq':function(_0x214645,_0x2defe1,_0x28c460){return _0x214645(_0x2defe1,_0x28c460);},'Oicue':function(_0x8c4744,_0x851996,_0x8108bd){return _0x8c4744(_0x851996,_0x8108bd);},'Avcgu':_0x294f5e(0x1b0),'qTgNO':function(_0x35a3c1,_0x3021f9,_0x3c1598,_0x5b47f5){return _0x35a3c1(_0x3021f9,_0x3c1598,_0x5b47f5);},'zYTLS':function(_0x32c38d,_0x224893,_0x1d4a94){return _0x32c38d(_0x224893,_0x1d4a94);},'oVqwS':function(_0x5ebf48,_0x274805,_0x561e91){return _0x5ebf48(_0x274805,_0x561e91);},'EeuKW':function(_0xa715f6,_0x114823,_0x207bcb){return _0xa715f6(_0x114823,_0x207bcb);},'WDrPV':function(_0x350d17,_0x5b1821,_0x47faac){return _0x350d17(_0x5b1821,_0x47faac);},'aZByL':function(_0x45a3a9,_0x31a869){return _0x45a3a9/_0x31a869;},'UkHsg':function(_0x3c2f68,_0x30324d){return _0x3c2f68<_0x30324d;},'mALPS':function(_0x5470b7,_0x4518f5){return _0x5470b7*_0x4518f5;},'jeObi':function(_0x4ffb36,_0x28d2dc){return _0x4ffb36+_0x28d2dc;},'MGwqj':function(_0x2b92f1,_0x16aee0,_0x142fb7,_0x8c6b9e,_0x4a15d1){return _0x2b92f1(_0x16aee0,_0x142fb7,_0x8c6b9e,_0x4a15d1);},'AXrOY':function(_0x3115f7,_0x447522){return _0x3115f7+_0x447522;},'PUpoJ':_0x294f5e(0x1f1),'EqRlu':function(_0x5a6aee,_0x5b4534,_0x81344c){return _0x5a6aee(_0x5b4534,_0x81344c);}};try{if(_0x47c547[_0x294f5e(0x127)](_0x5ee5de,_0x47c547[_0x294f5e(0x141)])){const _0x108cb1=await _0x408029[_0x294f5e(0x142)],_0x592868=_0x47c547[_0x294f5e(0x161)](getTestRunIdentifier,_0x408029[_0x294f5e(0x1f3)],_0x408029['result'][_0x294f5e(0x146)]),_0x2777f3=_0x408029[_0x294f5e(0x1f3)];logger[_0x294f5e(0x1b5)](_0x294f5e(0x177)+_0x592868+'\x20result='+util[_0x294f5e(0x149)](_0x108cb1));const _0x87fcea=_0x1f6b6e['getAllData']()['get'](_0x592868)[TestFrameworkConstants[_0x294f5e(0x109)]];await _0x47c547['Oicue'](sendTraceZip,_0x108cb1,_0x87fcea);const _0x38ef77=TestInfo['getTestDetails'](_0x592868)[_0x47c547[_0x294f5e(0x15d)]],_0x208ecc={};if(_0x38ef77){!_0x108cb1['attachments']&&(_0x108cb1['attachments']=[]);_0x208ecc['attachments']=_0x108cb1['attachments'][_0x294f5e(0x1aa)](_0x38ef77||[]);const _0x46ab7f=TestInfo['getTestDetails'](_0x592868);delete _0x46ab7f[_0x47c547[_0x294f5e(0x15d)]],TestInfo['setTestDetails'](_0x592868,_0x46ab7f);}const {steps:_0x15e77f,logs:_0x31d9a7}=_0x47c547[_0x294f5e(0x170)](getStepsAndLogs,_0x108cb1['steps'],_0x1f6b6e[_0x294f5e(0x19f)]()['get'](_0x592868)[TestFrameworkConstants[_0x294f5e(0x109)]],_0x47c547[_0x294f5e(0x141)]),_0x1d2246=_0x47c547[_0x294f5e(0x172)](getScreenshots,_0x208ecc,_0x1f6b6e['getAllData']()[_0x294f5e(0x151)](_0x592868)[TestFrameworkConstants['KEY_TEST_UUID']]),_0x81ccb6=_0x47c547[_0x294f5e(0x11e)](getVideos,_0x108cb1,_0x1f6b6e['getAllData']()[_0x294f5e(0x151)](_0x592868)[TestFrameworkConstants[_0x294f5e(0x109)]]),{_:_0x1416a7,logs:_0x3c6b60}=_0x47c547[_0x294f5e(0x1e3)](getFailureData,_0x108cb1['errors'],{'test_run_uuid':_0x1f6b6e[_0x294f5e(0x19f)]()[_0x294f5e(0x151)](_0x592868)[TestFrameworkConstants['KEY_TEST_UUID']]}),_0x11e118=TestInfo[_0x294f5e(0x1d8)](_0x592868)[TestFrameworkConstants[_0x294f5e(0x12a)]]||{},_0x549932=_0x47c547[_0x294f5e(0x197)](getMediaArtifactsLogs,_0x11e118,_0x1f6b6e[_0x294f5e(0x19f)]()[_0x294f5e(0x151)](_0x592868)[TestFrameworkConstants[_0x294f5e(0x109)]]),_0x36c017=_0x1f6b6e['getAllData']()[_0x294f5e(0x151)](_0x592868),{[TestFrameworkConstants[_0x294f5e(0x188)]]:_0x5bc346='',[TestFrameworkConstants[_0x294f5e(0x171)]]:_0x4e2b4e=''}=_0x36c017,_0xc1d38d=(_0x31d9a7||[])[_0x294f5e(0x1aa)](_0x1d2246||[])['concat'](_0x3c6b60||[])[_0x294f5e(0x1aa)](_0x81ccb6||[])[_0x294f5e(0x1aa)](_0x549932||[]),_0x6fda09=0x28,_0x28a993=Math[_0x294f5e(0x16d)](_0x47c547[_0x294f5e(0x1c5)](_0xc1d38d['length'],_0x6fda09));for(let _0x4997ab=0x0;_0x47c547[_0x294f5e(0x150)](_0x4997ab,_0x28a993);_0x4997ab++){const _0x4b1715=_0x47c547[_0x294f5e(0x1af)](_0x4997ab,_0x6fda09),_0x908136=_0x47c547[_0x294f5e(0x139)](_0x4b1715,_0x6fda09),_0x52290b=_0xc1d38d[_0x294f5e(0x157)](_0x4b1715,_0x908136),_0x35070b={'platformIndex':global?.[_0x294f5e(0x1c8)]??0x0,'logs':_0x52290b,'testFrameworkName':_0x5bc346,'testFrameworkVersion':_0x4e2b4e,'testFrameworkState':_0x408e67['toString']()['split']('.')[0x1]};_0x47c547[_0x294f5e(0x1f8)](updatePayloadForTraceLogs,_0x35070b,_0x408029,_0x592868,_0x1f6b6e),logger[_0x294f5e(0x1b5)](_0x294f5e(0x1d7)+_0x592868+_0x294f5e(0x121)+_0x47c547[_0x294f5e(0x1b1)](_0x4997ab,0x1)+'/'+_0x28a993+_0x294f5e(0x199)+util[_0x294f5e(0x149)](_0x35070b));const _0x28a5c5=await GrpcClient[_0x294f5e(0x1f5)]()[_0x294f5e(0x1bb)](_0x35070b);logger['debug']('sendLogCreatedEvent\x20for\x20testId:\x20'+_0x592868+_0x294f5e(0x121)+_0x47c547[_0x294f5e(0x139)](_0x4997ab,0x1)+'/'+_0x28a993+_0x294f5e(0x1d9)+util[_0x294f5e(0x149)](_0x28a5c5));}}else{const {steps:_0x30b8b0,logs:_0x3991fa}=_0x47c547[_0x294f5e(0x170)](getStepsAndLogs,_0x408029[_0x294f5e(0x167)][_0x294f5e(0x183)],_0x543368,_0x47c547['PUpoJ']),_0x112118=_0x47c547['EqRlu'](getTestRunIdentifier,_0x408029[_0x294f5e(0x1f3)],_0x408029['result'][_0x294f5e(0x146)]);logger[_0x294f5e(0x1b5)](_0x294f5e(0x177)+_0x112118);const _0x37efe6=_0x1f6b6e[_0x294f5e(0x19f)]()['get'](_0x112118),{[TestFrameworkConstants[_0x294f5e(0x188)]]:_0x367da7='',[TestFrameworkConstants[_0x294f5e(0x171)]]:_0x3178a6=''}=_0x37efe6,_0x10c8d3={'platformIndex':'0','logs':_0x3991fa,'testFrameworkName':_0x367da7,'testFrameworkVersion':_0x3178a6,'testFrameworkState':_0x408e67[_0x294f5e(0x163)]()['split']('.')[0x1]};_0x47c547[_0x294f5e(0x1f8)](updatePayloadForTraceLogs,_0x10c8d3,_0x408029,_0x112118,_0x1f6b6e),logger[_0x294f5e(0x1b5)]('sendLogCreatedEvent\x20for\x20testId:\x20'+_0x112118+_0x294f5e(0x199)+util[_0x294f5e(0x149)](_0x10c8d3));const _0x2f1ba1=await GrpcClient['getInstance']()[_0x294f5e(0x1bb)](_0x10c8d3);}}catch(_0x3786b8){logger['error'](_0x294f5e(0x1f6)+util[_0x294f5e(0x19e)](_0x3786b8));}}[a77_0x4ae558(0x1ba)](_0x3ba41c){const _0x17ddce=a77_0x4ae558,_0x427f30={'mLWmp':function(_0x22e386,_0x57aca5,_0x1e7d1b){return _0x22e386(_0x57aca5,_0x1e7d1b);},'dZidb':function(_0x5415d3,_0x295f70){return _0x5415d3<_0x295f70;},'ZeNSP':_0x17ddce(0x1c9)};try{const _0xc7ab7d=_0x3ba41c[_0x17ddce(0x1f3)]['id'],_0x422f6d=_0x427f30[_0x17ddce(0x1e2)](getTestRunIdentifier,_0x3ba41c[_0x17ddce(0x1f3)],_0x3ba41c[_0x17ddce(0x142)][_0x17ddce(0x146)]),_0x23f9fa=_0x3ba41c[_0x17ddce(0x1b6)],_0x3e9405=_0x23f9fa[_0x17ddce(0x152)](),_0x211690=_0x23f9fa[_0x17ddce(0x19f)]()[_0x17ddce(0x151)](_0x422f6d);logger[_0x17ddce(0x1b5)]('createTestFrameworkEventPayload\x20testId:\x20'+_0xc7ab7d);const {[TestFrameworkConstants[_0x17ddce(0x188)]]:_0x37e4ce='',[TestFrameworkConstants[_0x17ddce(0x171)]]:_0x2dbcf4='',[TestFrameworkConstants['KEY_TEST_STARTED_AT']]:_0x568e3e='',[TestFrameworkConstants['KEY_TEST_ENDED_AT']]:_0x34a273=''}=_0x211690,_0x4a8bd3=_0x23f9fa['getCurrentTestState']()[_0x17ddce(0x163)]()[_0x17ddce(0x1ab)]('.')[0x1],_0x57f648=_0x23f9fa[_0x17ddce(0x14d)]()['toString']()['split']('.')[0x1],_0x44420b=_0x427f30[_0x17ddce(0x1d4)](_0x3ba41c?.[_0x17ddce(0x142)]?.[_0x17ddce(0x15a)]??0x0,0x0)?0x0:_0x3ba41c?.[_0x17ddce(0x142)]?.[_0x17ddce(0x15a)]??0x0,_0x5b0acd=_0x23f9fa['getRef'](),_0x13fbfb=Buffer['from'](JSON[_0x17ddce(0x159)](_0x211690))['toString'](_0x427f30[_0x17ddce(0x1ea)]),_0x5e9c2a={'hash':_0x3e9405[_0x17ddce(0x12d)](),'threadId':_0x3e9405[_0x17ddce(0x173)]()['toString'](),'processId':_0x3e9405[_0x17ddce(0x17d)]()['toString']()},_0x5a789e={};_0x5a789e[_0x17ddce(0x18f)]=_0x44420b,_0x5a789e['testFrameworkName']=_0x37e4ce,_0x5a789e[_0x17ddce(0x1ed)]=_0x2dbcf4,_0x5a789e[_0x17ddce(0x1f2)]=_0x4a8bd3,_0x5a789e[_0x17ddce(0x13b)]=_0x57f648,_0x5a789e[_0x17ddce(0x1dd)]=_0x568e3e,_0x5a789e[_0x17ddce(0x1ec)]=_0x34a273,_0x5a789e[_0x17ddce(0x13e)]=_0x5b0acd,_0x5a789e[_0x17ddce(0x19c)]=_0x13fbfb,_0x5a789e[_0x17ddce(0x187)]=_0x5e9c2a;const _0x587b6c=_0x5a789e;return logger[_0x17ddce(0x1b5)]('createTestFrameworkEventPayload:\x20complete\x20for\x20testId:\x20'+_0xc7ab7d+_0x17ddce(0x196)+_0x4a8bd3+_0x17ddce(0x140)+_0x57f648),_0x587b6c;}catch(_0x335c1d){return logger[_0x17ddce(0x131)](_0x17ddce(0x1ac)+util['format'](_0x335c1d)),{};}}}module[a77_0x4ae558(0x1a2)]=PlaywrightTestFramework;
|
|
1
|
+
function a77_0x31e8(_0x470026,_0x3e9b18){const _0x4a5ae1=a77_0x4a5a();return a77_0x31e8=function(_0x31e812,_0x4468f5){_0x31e812=_0x31e812-0x10f;let _0x29e193=_0x4a5ae1[_0x31e812];return _0x29e193;},a77_0x31e8(_0x470026,_0x3e9b18);}const a77_0x24ee2f=a77_0x31e8;(function(_0x551cd6,_0x82516){const _0x51c5d3=a77_0x31e8,_0x38c418=_0x551cd6();while(!![]){try{const _0x55f781=-parseInt(_0x51c5d3(0x136))/0x1*(-parseInt(_0x51c5d3(0x147))/0x2)+parseInt(_0x51c5d3(0x18e))/0x3*(-parseInt(_0x51c5d3(0x1b2))/0x4)+parseInt(_0x51c5d3(0x152))/0x5+parseInt(_0x51c5d3(0x1e8))/0x6*(-parseInt(_0x51c5d3(0x11d))/0x7)+-parseInt(_0x51c5d3(0x1e4))/0x8*(parseInt(_0x51c5d3(0x187))/0x9)+parseInt(_0x51c5d3(0x165))/0xa+-parseInt(_0x51c5d3(0x167))/0xb*(-parseInt(_0x51c5d3(0x19e))/0xc);if(_0x55f781===_0x82516)break;else _0x38c418['push'](_0x38c418['shift']());}catch(_0x509cf2){_0x38c418['push'](_0x38c418['shift']());}}}(a77_0x4a5a,0x868ae));const TestFramework=require('./testFramework'),TestFrameworkState=require('../state/testFrameworkState.js'),HookState=require(a77_0x24ee2f(0x1d0)),{createClassLogger}=require(a77_0x24ee2f(0x12d)),TestFrameworkInstance=require(a77_0x24ee2f(0x193)),CLIUtils=require(a77_0x24ee2f(0x1f2)),TrackedInstance=require(a77_0x24ee2f(0x1c6)),TestFrameworkConstants=require(a77_0x24ee2f(0x14e)),logger=createClassLogger('PlaywrightTestFramework'),{v4:uuidv4}=require(a77_0x24ee2f(0x145)),util=require(a77_0x24ee2f(0x160)),{getPlaywrightSessionName,getPlaywrightTestFilePath,getPlaywrightTestId,getPlaywrightTestTitle,getPlaywrightTestLocation,getPlaywrightTestTags,getPlaywrightTestCode,getPlaywrightTestScope,getPlaywrightTestScopes,getStepsAndLogs,getScreenshots,getVideos,getPlaywrightCustomRerunParam,getMediaArtifactsLogs,getManualUploadLogs,updatePayloadForTraceLogs}=require('../../../helpers/helper.js'),TestInfo=require(a77_0x24ee2f(0x1ab)),GrpcClient=require(a77_0x24ee2f(0x178)),{removeAnsiColors,getFailureType,failureData}=require(a77_0x24ee2f(0x1d4)),{getFailureData,getTestTags,getTestRunIdentifier}=require(a77_0x24ee2f(0x172)),{findNestedKey,sendTraceZip,validateFilePath}=require('../../playwright/reporter/pwUtils'),path=require(a77_0x24ee2f(0x133)),fs=require('fs'),helper=require(a77_0x24ee2f(0x1fc)),{PLAYWRIGHT_TRACE_LOGS}=require(a77_0x24ee2f(0x1ac));class PlaywrightTestFramework extends TestFramework{constructor(_0x4ce34d,_0x30ca15,_0x205f1e){super(_0x4ce34d,_0x30ca15,_0x205f1e);}async[a77_0x24ee2f(0x13d)](_0xb3272f,_0x2b542f,_0xd44fa9={}){const _0x516971=a77_0x24ee2f,_0x167ad6={'Hvnry':function(_0x2ef2be,_0x50acbe){return _0x2ef2be===_0x50acbe;},'AbrUo':function(_0x44469c,_0x599b8c){return _0x44469c===_0x599b8c;},'roiPO':function(_0x5a4e7f,_0x14e7b9,_0x3cdc3b){return _0x5a4e7f(_0x14e7b9,_0x3cdc3b);},'rxAIN':function(_0x121c69,_0xf9e878){return _0x121c69===_0xf9e878;},'vPASm':_0x516971(0x202),'yJMfO':_0x516971(0x10f)};super[_0x516971(0x13d)](_0xb3272f,_0x2b542f,_0xd44fa9);if(_0x167ad6[_0x516971(0x125)](_0xb3272f,TestFrameworkState[_0x516971(0x116)])){const _0x4e43bc=TestInfo['getTestIdentifierFromTestInfo'](_0xd44fa9[_0x516971(0x202)],_0xd44fa9[_0x516971(0x202)]['retry']);TestInfo['setTestDetails'](_0x4e43bc,_0xd44fa9[_0x516971(0x124)],!![]);}const _0xf63ce2=this[_0x516971(0x184)](_0xb3272f,_0x2b542f,_0xd44fa9);if(!_0xf63ce2)return;logger['debug'](_0x516971(0x163)+_0xb3272f+_0x516971(0x204)+_0x2b542f+'\x20instanceId='+_0xf63ce2[_0x516971(0x1e0)]());try{if(_0x167ad6['Hvnry'](_0x2b542f,HookState['PRE'])&&_0x167ad6[_0x516971(0x119)](_0xb3272f,TestFrameworkState['TEST'])){const _0x259e88=_0xd44fa9[_0x516971(0x202)];logger['debug'](_0x516971(0x173)+_0x259e88['id']+'}');const _0xa2e89b=TestInfo['getTestUUID'](_0x167ad6[_0x516971(0x1a5)](getTestRunIdentifier,_0x259e88,_0xd44fa9[_0x516971(0x124)]['retry']));_0xf63ce2[_0x516971(0x191)](this[_0x516971(0x1d7)](_0xa2e89b,_0x259e88,_0xd44fa9[_0x516971(0x124)])),logger[_0x516971(0x209)](_0x516971(0x18a)+_0x259e88['id']+_0x516971(0x186)+_0xb3272f+_0x516971(0x207)+_0x2b542f+_0x516971(0x171)+_0xf63ce2[_0x516971(0x1e0)]());}if(_0x167ad6[_0x516971(0x1ba)](_0x2b542f,HookState[_0x516971(0x185)])&&_0x167ad6[_0x516971(0x125)](_0xb3272f,TestFrameworkState[_0x516971(0x1d1)])){const _0x11d52b=_0xd44fa9[_0x516971(0x202)],_0x3161a7=_0xd44fa9[_0x516971(0x124)];logger[_0x516971(0x209)](_0x516971(0x12b)+_0x11d52b['id']),_0xf63ce2[_0x516971(0x191)](this[_0x516971(0x1aa)](_0x11d52b['id'],_0x3161a7,_0x11d52b)),await this[_0x516971(0x200)](_0xf63ce2,_0xb3272f,_0x2b542f,_0x167ad6['vPASm'],_0xd44fa9);}if(CLIUtils[_0x516971(0x146)](_0xb3272f[_0x516971(0x1d8)]()[_0x516971(0x181)]('.')[0x1])){const _0x2bb821=await this[_0x516971(0x16f)](_0xf63ce2,_0xb3272f,_0x2b542f,_0xd44fa9);_0xf63ce2[_0x516971(0x191)](_0x2bb821);}}catch(_0x35cedd){logger[_0x516971(0x195)](util[_0x516971(0x151)](_0x167ad6[_0x516971(0x1b3)],_0xb3272f,_0x2b542f,_0xd44fa9[_0x516971(0x135)],_0x35cedd));}_0xd44fa9[_0x516971(0x1ec)]=_0xf63ce2,await this[_0x516971(0x13c)](_0xf63ce2,_0xb3272f,_0x2b542f,_0xd44fa9);}[a77_0x24ee2f(0x184)](_0x43bd84,_0x2216ad,_0x490477={}){const _0x5dc6be=a77_0x24ee2f,_0x5811cb={};_0x5811cb[_0x5dc6be(0x1fb)]=function(_0x2c20d0,_0x3301b2){return _0x2c20d0===_0x3301b2;},_0x5811cb[_0x5dc6be(0x1a7)]=function(_0x1935d7,_0x5c7082){return _0x1935d7===_0x5c7082;};const _0x23bc0c=_0x5811cb;let _0x22d02a=null;return(_0x23bc0c[_0x5dc6be(0x1fb)](_0x43bd84,TestFrameworkState['INIT_TEST'])||_0x23bc0c[_0x5dc6be(0x1a7)](_0x43bd84,TestFrameworkState[_0x5dc6be(0x1c3)]))&&this['trackPlaywrightInstance'](_0x43bd84,_0x490477),_0x22d02a=TestFramework[_0x5dc6be(0x153)](),_0x22d02a;}[a77_0x24ee2f(0x1cd)](_0x194fcd,_0x2143d5){const _0x46bf3e=a77_0x24ee2f,_0xd49285=CLIUtils[_0x46bf3e(0x18f)](),_0x226509=TrackedInstance[_0x46bf3e(0x1c5)](_0xd49285);let _0x2efbc3=null;logger[_0x46bf3e(0x1bc)](_0x46bf3e(0x126)+_0xd49285+_0x46bf3e(0x1d2)+_0x194fcd),_0x2efbc3=new TestFrameworkInstance(_0x226509,this[_0x46bf3e(0x168)](),this[_0x46bf3e(0x189)](),_0x194fcd,HookState['NONE']),TestFramework['setTrackedInstance'](_0x226509,_0x2efbc3),logger[_0x46bf3e(0x1bc)](_0x46bf3e(0x1be)+_0x226509['getId']()+'\x20target='+_0xd49285);}[a77_0x24ee2f(0x1d7)](_0x2519e3,_0x2b24a6,_0x5a6201){const _0x20c698=a77_0x24ee2f,_0x37724a={'tdUmV':function(_0x2994b7,_0xf8c621){return _0x2994b7(_0xf8c621);},'yNfPs':function(_0x3753cc,_0xfc344b){return _0x3753cc(_0xfc344b);},'VeORs':function(_0x37ccec,_0x2f2c0d){return _0x37ccec(_0x2f2c0d);},'fdaED':function(_0x244373,_0x282e11){return _0x244373(_0x282e11);},'DPNGj':function(_0x82d9a2,_0x27b91e){return _0x82d9a2(_0x27b91e);},'dzQGb':function(_0x252cf1,_0x176d30){return _0x252cf1(_0x176d30);},'hcsNK':function(_0x3e6191,_0x1237d8){return _0x3e6191(_0x1237d8);},'EKvpp':function(_0x3a46ad,_0x244912,_0x288948){return _0x3a46ad(_0x244912,_0x288948);},'VrxWu':function(_0x5e33c3,_0x371e62){return _0x5e33c3(_0x371e62);}},_0x3e54b2=_0x37724a[_0x20c698(0x15f)](getPlaywrightTestId,_0x2b24a6),_0x45656d=_0x37724a[_0x20c698(0x15b)](getPlaywrightTestTitle,_0x2b24a6),_0x3aa599=_0x37724a[_0x20c698(0x11b)](getTestTags,_0x2b24a6),_0x1c8d67=_0x37724a[_0x20c698(0x15c)](getPlaywrightTestCode,_0x2b24a6),_0x18ee63=_0x37724a[_0x20c698(0x144)](getPlaywrightTestFilePath,_0x2b24a6),_0x320b08=_0x18ee63+':'+_0x37724a[_0x20c698(0x15b)](getPlaywrightTestLocation,_0x2b24a6),_0x4ffd5a=_0x37724a[_0x20c698(0x129)](getPlaywrightTestScope,_0x2b24a6),_0x51cf05=_0x37724a['fdaED'](getPlaywrightTestScopes,_0x2b24a6),_0x446182=_0x37724a[_0x20c698(0x1df)](getPlaywrightSessionName,_0x2b24a6),_0x1b58de=this[_0x20c698(0x168)]()[0x0],_0x46335a=_0x37724a[_0x20c698(0x192)](getTestRunIdentifier,_0x2b24a6,_0x5a6201[_0x20c698(0x143)]),_0x4e23aa={[TestFrameworkConstants[_0x20c698(0x174)]]:_0x1b58de,[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:this[_0x20c698(0x189)]()[_0x1b58de],[TestFrameworkConstants[_0x20c698(0x132)]]:[],[TestFrameworkConstants[_0x20c698(0x118)]]:{},[TestFrameworkConstants['KEY_HOOKS_STARTED']]:{},[TestFrameworkConstants[_0x20c698(0x1ed)]]:_0x2519e3,[TestFrameworkConstants['KEY_TEST_RESULT']]:TestFrameworkConstants[_0x20c698(0x17e)],[TestFrameworkConstants[_0x20c698(0x1e7)]]:_0x446182,[TestFrameworkConstants[_0x20c698(0x1d9)]]:_0x18ee63,[TestFrameworkConstants[_0x20c698(0x13a)]]:_0x3e54b2,[TestFrameworkConstants[_0x20c698(0x203)]]:_0x45656d,[TestFrameworkConstants[_0x20c698(0x1a3)]]:_0x320b08,[TestFrameworkConstants[_0x20c698(0x1a6)]]:_0x1c8d67,[TestFrameworkConstants[_0x20c698(0x1f4)]]:_0x3aa599,[TestFrameworkConstants[_0x20c698(0x110)]]:_0x2b24a6['results'][0x0][_0x20c698(0x141)],[TestFrameworkConstants['KEY_TEST_SCOPE']]:_0x4ffd5a,[TestFrameworkConstants[_0x20c698(0x199)]]:_0x51cf05,[TestFrameworkConstants[_0x20c698(0x14d)]]:_0x37724a[_0x20c698(0x1ff)](getPlaywrightCustomRerunParam,_0x2b24a6)};TestInfo[_0x20c698(0x111)](_0x46335a,_0x4e23aa);const _0x32ee08={};return _0x32ee08[_0x46335a]=_0x4e23aa,_0x32ee08;}['parsePlaywrightTestResult'](_0x501b87,_0x20510a,_0x5e78fd){const _0xf2ded6=a77_0x24ee2f,_0x4733a3={'zIsWK':function(_0x5ae12d,_0x29cdc6){return _0x5ae12d(_0x29cdc6);},'ZTltZ':'TEST_ATTACHMENT','rkZuo':function(_0x474a58,_0x526729){return _0x474a58===_0x526729;},'eczjg':function(_0x4702f9,_0xe86fa1){return _0x4702f9===_0xe86fa1;},'DWimX':function(_0x135e5f,_0x453bd3){return _0x135e5f===_0x453bd3;},'pLRKq':function(_0x3db469,_0x23206b){return _0x3db469(_0x23206b);},'JbeGD':_0xf2ded6(0x1f7),'XHxYW':_0xf2ded6(0x177),'WTeJH':function(_0x2c03ca,_0x4ec2b7,_0x3d88b4){return _0x2c03ca(_0x4ec2b7,_0x3d88b4);},'dzCrB':function(_0x59da4c,_0x4fe9e1){return _0x59da4c+_0x4fe9e1;},'aeYBm':function(_0x318d66,_0x61d6be){return _0x318d66===_0x61d6be;},'obFpz':'skipped','bCooz':_0xf2ded6(0x138),'VdDjn':_0xf2ded6(0x1ea),'JrKnP':function(_0x4f2fdc,_0x58d145){return _0x4f2fdc===_0x58d145;},'TyxSa':_0xf2ded6(0x158),'ucbNz':function(_0x5559e4,_0x179894){return _0x5559e4===_0x179894;},'gYJJb':function(_0x3150e3,_0x296bbd){return _0x3150e3===_0x296bbd;},'ADmUG':_0xf2ded6(0x11e),'oxbWC':function(_0x402807,_0x70f0a7){return _0x402807||_0x70f0a7;},'zboXD':function(_0x114fdc,_0x1c8532){return _0x114fdc(_0x1c8532);},'MDZpK':function(_0x51d37d,_0x449cb3){return _0x51d37d(_0x449cb3);},'OUgLN':function(_0x4391c6,_0x547906){return _0x4391c6>_0x547906;},'Nomwq':function(_0x153a29,_0x181752){return _0x153a29-_0x181752;},'TuZdC':_0xf2ded6(0x133),'Oyhyr':function(_0x425b1a,_0x228c12,_0x1fcbea){return _0x425b1a(_0x228c12,_0x1fcbea);}};logger['debug']('parsePlaywrightTestResult:\x20testId='+_0x501b87);const _0x2e67e5=_0x4733a3[_0xf2ded6(0x1b6)](getTestRunIdentifier,_0x5e78fd,_0x20510a[_0xf2ded6(0x143)]),_0x12575c=new Date(_0x20510a['startTime']),_0x27778c=_0x20510a[_0xf2ded6(0x13b)],_0xd2e47c=new Date(_0x4733a3[_0xf2ded6(0x13f)](_0x12575c[_0xf2ded6(0x1ce)](),_0x27778c)),_0x17aa89=_0x20510a[_0xf2ded6(0x198)],_0x349fa4=TestInfo[_0xf2ded6(0x16d)](_0x2e67e5)[TestFrameworkConstants[_0xf2ded6(0x148)]]||{};let _0x5d7cba=_0x17aa89;if(_0x4733a3[_0xf2ded6(0x1cc)](_0x20510a['status'],_0x5e78fd['expectedStatus']))_0x5d7cba=_0x4733a3['aeYBm'](_0x20510a[_0xf2ded6(0x198)],_0x4733a3[_0xf2ded6(0x1a1)])?_0x4733a3[_0xf2ded6(0x1a1)]:_0x4733a3[_0xf2ded6(0x16e)];else{(_0x4733a3['aeYBm'](_0x5d7cba,_0x4733a3[_0xf2ded6(0x16e)])||_0x4733a3[_0xf2ded6(0x205)](_0x5d7cba,_0x4733a3['VdDjn'])||_0x4733a3[_0xf2ded6(0x1ca)](_0x5d7cba,_0x4733a3['TyxSa']))&&(_0x5d7cba=_0x4733a3[_0xf2ded6(0x1b7)]);if(_0x4733a3[_0xf2ded6(0x1d3)](_0x20510a[_0xf2ded6(0x198)],_0x4733a3[_0xf2ded6(0x16e)])&&_0x4733a3['gYJJb'](_0x5e78fd[_0xf2ded6(0x15a)],_0x4733a3[_0xf2ded6(0x1b7)])){const _0x155323={};_0x155323[_0xf2ded6(0x130)]=_0x4733a3[_0xf2ded6(0x17a)],_0x155323[_0xf2ded6(0x1fa)]=_0x4733a3[_0xf2ded6(0x17a)],_0x20510a[_0xf2ded6(0x195)]=_0x155323,_0x20510a[_0xf2ded6(0x1e1)]=[_0x20510a['error']];}}const {failureData:_0x4d9f15,logs:_0x4030fc}=_0x4733a3[_0xf2ded6(0x1b6)](getFailureData,_0x20510a?.['errors'],{}),_0x365771={[TestFrameworkConstants['KEY_TEST_FAILURE']]:_0x4733a3[_0xf2ded6(0x12c)](_0x4d9f15,null),[TestFrameworkConstants[_0xf2ded6(0x159)]]:_0x20510a?.[_0xf2ded6(0x195)]&&_0x4733a3[_0xf2ded6(0x1c9)](getFailureType,_0x20510a[_0xf2ded6(0x195)][_0xf2ded6(0x130)]),[TestFrameworkConstants[_0xf2ded6(0x1db)]]:_0x20510a?.['error']&&_0x4733a3[_0xf2ded6(0x1bd)](removeAnsiColors,_0x20510a['error'][_0xf2ded6(0x130)]),[TestFrameworkConstants[_0xf2ded6(0x196)]]:[],[TestFrameworkConstants['KEY_TEST_RESULT']]:_0x5d7cba,[TestFrameworkConstants['KEY_TEST_ENDED_AT']]:_0xd2e47c['toISOString'](),[TestFrameworkConstants[_0xf2ded6(0x1c0)]]:new Date()[_0xf2ded6(0x17c)](),[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:_0x349fa4};if(_0x20510a&&_0x4733a3[_0xf2ded6(0x131)](_0x20510a[_0xf2ded6(0x143)],0x0)){const _0x55eef5=TestInfo[_0xf2ded6(0x140)](_0x4733a3['WTeJH'](getTestRunIdentifier,_0x5e78fd,_0x4733a3[_0xf2ded6(0x19c)](_0x20510a[_0xf2ded6(0x143)],0x1)));_0x365771[TestFrameworkConstants['KEY_TEST_RETRY_OF']]=_0x55eef5;}const _0x5440e7={};_0x5440e7[_0xf2ded6(0x202)]=_0x5e78fd;const _0x5281c6=this['resolveInstance'](TestFrameworkState[_0xf2ded6(0x1d1)],HookState[_0xf2ded6(0x185)],_0x5440e7),_0x5ba65e=_0x5281c6[_0xf2ded6(0x1e6)]()[_0xf2ded6(0x137)](_0x2e67e5)[TestFrameworkConstants['KEY_TEST_UUID']],_0x30f70f=[],_0x32db62=_0x4733a3[_0xf2ded6(0x1b6)](findNestedKey,_0x20510a,_0x4733a3[_0xf2ded6(0x114)]);if(_0x32db62&&_0x4733a3[_0xf2ded6(0x1bd)](validateFilePath,_0x32db62))try{_0x30f70f['push']({'kind':_0x4733a3['ZTltZ'],'timestamp':new Date()[_0xf2ded6(0x17c)](),'test_run_uuid':_0x5ba65e,'file_name':path[_0xf2ded6(0x11c)](_0x32db62),'file_size':fs[_0xf2ded6(0x1b0)](_0x32db62)['size'],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x2ffecf){logger['error'](_0xf2ded6(0x115)+_0x32db62+':\x20'+_0x2ffecf[_0xf2ded6(0x130)]);}const _0x46fedf=TestInfo[_0xf2ded6(0x20d)](),_0x5af6ad=_0x46fedf[_0xf2ded6(0x175)](_0x2afb4c=>_0x2afb4c['testUId']===_0x5ba65e);_0x5af6ad[_0xf2ded6(0x12f)](_0x2e4ae0=>{const _0x140d4f=_0xf2ded6;if(_0x2e4ae0[_0x140d4f(0x13e)]&&_0x4733a3[_0x140d4f(0x1f3)](validateFilePath,_0x2e4ae0[_0x140d4f(0x13e)])&&!_0x30f70f['some'](_0x5c79b3=>_0x5c79b3[_0x140d4f(0x112)]===path[_0x140d4f(0x11c)](_0x2e4ae0['filePath'])))try{_0x30f70f[_0x140d4f(0x1dc)]({'kind':_0x4733a3['ZTltZ'],'timestamp':new Date()[_0x140d4f(0x17c)](),'test_run_uuid':_0x5ba65e,'file_name':path[_0x140d4f(0x11c)](_0x2e4ae0[_0x140d4f(0x13e)]),'file_size':fs[_0x140d4f(0x1b0)](_0x2e4ae0[_0x140d4f(0x13e)])[_0x140d4f(0x20a)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x1c7921){logger[_0x140d4f(0x195)](_0x140d4f(0x20c)+_0x2e4ae0[_0x140d4f(0x13e)]+_0x140d4f(0x1a9)+_0x1c7921['message']);}});if(_0x4733a3[_0xf2ded6(0x131)](_0x30f70f[_0xf2ded6(0x135)],0x0)){const _0x544f9b=_0x365771[TestFrameworkConstants[_0xf2ded6(0x196)]]||[];_0x365771[TestFrameworkConstants['KEY_LOGS']]=[..._0x544f9b,..._0x30f70f];}const _0x4b57ff=TestInfo['getTestDetails'](_0x2e67e5)[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]||{},_0x5b5038=_0x4733a3[_0xf2ded6(0x155)](getManualUploadLogs,_0x4b57ff,_0x5281c6[_0xf2ded6(0x1e6)]()[_0xf2ded6(0x137)](_0x2e67e5)[TestFrameworkConstants[_0xf2ded6(0x1ed)]]);if(_0x4733a3[_0xf2ded6(0x131)](_0x5b5038['length'],0x0)){const _0x3fec8e=_0x365771[TestFrameworkConstants['KEY_LOGS']]||[];_0x365771[TestFrameworkConstants[_0xf2ded6(0x196)]]=[..._0x3fec8e,..._0x5b5038];}const _0x43b8fd=_0x5e78fd[_0xf2ded6(0x149)]||[],_0x11ddb0=_0x365771[TestFrameworkConstants['KEY_CUSTOM_TAGS']]||{};_0x43b8fd['forEach'](_0x5efd42=>{const _0x2e9aa0=_0xf2ded6,{type:_0x38bab3}=_0x5efd42;let _0x1934a9=_0x5efd42['description'];if(!_0x38bab3)return;(_0x4733a3[_0x2e9aa0(0x1cc)](_0x1934a9,undefined)||_0x4733a3[_0x2e9aa0(0x205)](_0x1934a9,null)||_0x4733a3[_0x2e9aa0(0x17f)](_0x4733a3[_0x2e9aa0(0x16c)](String,_0x1934a9)[_0x2e9aa0(0x164)](),''))&&(_0x1934a9=_0x4733a3[_0x2e9aa0(0x1ae)]);if(!_0x11ddb0[_0x38bab3]){const _0x37bf3c={};_0x37bf3c[_0x2e9aa0(0x179)]=_0x4733a3[_0x2e9aa0(0x1f0)],_0x37bf3c[_0x2e9aa0(0x1af)]=[],_0x11ddb0[_0x38bab3]=_0x37bf3c;}else!_0x11ddb0[_0x38bab3][_0x2e9aa0(0x179)]&&(_0x11ddb0[_0x38bab3]['field_type']=_0x4733a3[_0x2e9aa0(0x1f0)]),!Array[_0x2e9aa0(0x12a)](_0x11ddb0[_0x38bab3][_0x2e9aa0(0x1af)])&&(_0x11ddb0[_0x38bab3]['values']=[]);const _0x8eec15=_0x4733a3[_0x2e9aa0(0x1f3)](String,_0x1934a9)[_0x2e9aa0(0x181)](',')['map'](_0x22169a=>_0x22169a[_0x2e9aa0(0x164)]());_0x11ddb0[_0x38bab3]['values']=[...new Set([..._0x11ddb0[_0x38bab3][_0x2e9aa0(0x1af)],..._0x8eec15])];}),_0x365771[TestFrameworkConstants['KEY_CUSTOM_TAGS']]=_0x11ddb0,TestInfo[_0xf2ded6(0x111)](_0x2e67e5,_0x365771);const _0x1d5d33={};return _0x1d5d33[_0x2e67e5]=_0x365771,_0x1d5d33;}async['trackHookEvent'](_0x2acf44,_0x555160,_0x51e242,_0x43bf47){const _0x4ae43a=a77_0x24ee2f,_0x4dc756={'TDGSA':function(_0x1e6dec,_0x374b9b,_0x3fa0e8){return _0x1e6dec(_0x374b9b,_0x3fa0e8);},'XMHls':function(_0x49daaf,_0x5a9349){return _0x49daaf in _0x5a9349;},'bRBKG':function(_0x1ac245,_0x1876db){return _0x1ac245 in _0x1876db;},'ZWveG':function(_0x55b577,_0x5e773d){return _0x55b577(_0x5e773d);},'CgYwi':function(_0x811fea,_0x4abcb4){return _0x811fea===_0x4abcb4;},'YOmIS':function(_0x192d76){return _0x192d76();},'ARegl':function(_0x1982a2,_0x58615a){return _0x1982a2===_0x58615a;},'bmQVH':function(_0x40d39f,_0x588b70){return _0x40d39f>_0x588b70;},'xCvwW':'err','GXNeG':function(_0x1ef016,_0x46576d){return _0x1ef016(_0x46576d);},'kGePH':function(_0x48f0f1,_0x2e3d17){return _0x48f0f1(_0x2e3d17);},'DMIGa':_0x4ae43a(0x1ea),'xMtJA':_0x4ae43a(0x138),'SBFim':function(_0x1936fe,_0x189e61){return _0x1936fe!==_0x189e61;},'bfZmv':function(_0x20a4fe,_0x240187){return _0x20a4fe+_0x240187;},'QisWn':'hook'},_0x595c95=_0x43bf47['test'],_0x442a0f=_0x43bf47[_0x4ae43a(0x139)],_0x38d999=_0x4dc756[_0x4ae43a(0x120)](getTestRunIdentifier,_0x595c95,_0x43bf47[_0x4ae43a(0x124)][_0x4ae43a(0x143)]),_0x1c7cc2=_0x555160['toString']()[_0x4ae43a(0x181)]('.')[0x1];let _0x26b371=_0x2acf44[_0x4ae43a(0x1e6)]()['get'](_0x38d999)[TestFrameworkConstants[_0x4ae43a(0x1a4)]];!_0x26b371&&(_0x26b371={});!_0x4dc756['XMHls'](_0x1c7cc2,_0x26b371)&&(_0x26b371[_0x1c7cc2]=[]);let _0x5b63ed=_0x2acf44['getAllData']()[_0x4ae43a(0x137)](_0x38d999)[TestFrameworkConstants['KEY_HOOKS_FINISHED']];!_0x5b63ed&&(_0x5b63ed={});!_0x4dc756[_0x4ae43a(0x14f)](_0x1c7cc2,_0x5b63ed)&&(_0x5b63ed[_0x1c7cc2]=[]);const _0x566d7d={[TestFrameworkConstants[_0x4ae43a(0x1a4)]]:_0x26b371,[TestFrameworkConstants['KEY_HOOKS_FINISHED']]:_0x5b63ed},_0x5afbb2={};_0x5afbb2[_0x38d999]=_0x566d7d;const _0x1092e4=_0x5afbb2,_0x521bc5=_0x4dc756[_0x4ae43a(0x166)](getPlaywrightTestFilePath,_0x595c95),_0x1fb959=_0x521bc5+':'+_0x4dc756['ZWveG'](getPlaywrightTestLocation,_0x595c95),_0xeb7bd0=TestInfo[_0x4ae43a(0x16d)](_0x38d999)[TestFrameworkConstants[_0x4ae43a(0x148)]]||{};if(_0x4dc756[_0x4ae43a(0x157)](_0x51e242,HookState[_0x4ae43a(0x182)])){const _0x22cbf2={'key':_0x1c7cc2,[TestFrameworkConstants['KEY_HOOK_ID']]:_0x4dc756[_0x4ae43a(0x197)](uuidv4),[TestFrameworkConstants['KEY_HOOK_RESULT']]:TestFrameworkConstants[_0x4ae43a(0x1cb)],[TestFrameworkConstants[_0x4ae43a(0x1ef)]]:_0x442a0f[_0x4ae43a(0x141)],[TestFrameworkConstants[_0x4ae43a(0x117)]]:[],[TestFrameworkConstants[_0x4ae43a(0x1b4)]]:_0x442a0f[_0x4ae43a(0x156)],[TestFrameworkConstants['KEY_TEST_FILE_PATH']]:_0x521bc5,[TestFrameworkConstants['KEY_TEST_LOCATION']]:_0x1fb959,[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:_0xeb7bd0};_0x26b371[_0x1c7cc2]['push'](_0x22cbf2),_0x1092e4[_0x38d999][TestFrameworkConstants[_0x4ae43a(0x169)]]=_0x1c7cc2,logger[_0x4ae43a(0x209)](_0x4ae43a(0x1d6)+_0x1c7cc2+_0x4ae43a(0x194)+_0x22cbf2+_0x4ae43a(0x17d)+_0x43bf47);}else{if(_0x4dc756[_0x4ae43a(0x12e)](_0x51e242,HookState[_0x4ae43a(0x185)])){const _0x5cd4e5=await _0x43bf47['result'],_0x4bc2c4=_0x26b371[_0x1c7cc2]||[],_0xf71027=_0x43bf47[_0x4ae43a(0x139)];logger['debug'](_0x4ae43a(0x201)+_0x4bc2c4+'\x20and\x20args\x20=\x20'+_0x43bf47);if(_0x4dc756['bmQVH'](_0x4bc2c4[_0x4ae43a(0x135)],0x0)){const _0x297727=_0x4bc2c4['pop']();if(_0xf71027[_0x4ae43a(0x195)]){const _0x3895ea=_0x4dc756[_0x4ae43a(0x120)](failureData,_0xf71027[_0x4ae43a(0x195)],_0x4dc756[_0x4ae43a(0x16b)]);_0x297727[TestFrameworkConstants[_0x4ae43a(0x1da)]]=_0x4dc756[_0x4ae43a(0x123)](getFailureType,_0xf71027?.[_0x4ae43a(0x195)]['message']),_0x297727[TestFrameworkConstants[_0x4ae43a(0x1fe)]]=_0x4dc756[_0x4ae43a(0x1a8)](removeAnsiColors,_0xf71027?.['error'][_0x4ae43a(0x130)]),_0x297727[TestFrameworkConstants[_0x4ae43a(0x11a)]]=_0x4dc756[_0x4ae43a(0x180)],_0x297727[TestFrameworkConstants[_0x4ae43a(0x1a2)]]=_0x3895ea;}else _0x297727[TestFrameworkConstants['KEY_HOOK_RESULT']]=_0x4dc756[_0x4ae43a(0x170)];_0x4dc756[_0x4ae43a(0x19f)](_0x5cd4e5,TestFrameworkConstants['DEFAULT_HOOK_RESULT'])&&(_0x297727[TestFrameworkConstants[_0x4ae43a(0x11a)]]=!_0xf71027['error']?_0x4dc756['xMtJA']:_0x4dc756[_0x4ae43a(0x180)]);const _0x46f4f1=new Date(_0xf71027[_0x4ae43a(0x141)]),_0x58d701=new Date(_0x4dc756[_0x4ae43a(0x122)](_0x46f4f1[_0x4ae43a(0x1ce)](),_0xf71027[_0x4ae43a(0x13b)]));_0x297727[TestFrameworkConstants[_0x4ae43a(0x1e5)]]=_0x58d701[_0x4ae43a(0x17c)](),_0x297727[TestFrameworkConstants[_0x4ae43a(0x148)]]=_0xeb7bd0;const _0x4f8f41=_0x297727[TestFrameworkConstants[_0x4ae43a(0x1c8)]];await this[_0x4ae43a(0x200)](_0x2acf44,_0x555160,_0x4f8f41,_0x4dc756[_0x4ae43a(0x1bb)],_0x43bf47),!_0x5b63ed[_0x1c7cc2]&&(_0x5b63ed[_0x1c7cc2]=[]),_0x5b63ed[_0x1c7cc2][_0x4ae43a(0x1dc)](_0x297727),_0x1092e4[_0x38d999][TestFrameworkConstants['KEY_HOOK_LAST_FINISHED']]=_0x1c7cc2;}}}return _0x1092e4;}async[a77_0x24ee2f(0x200)](_0x10c708,_0x40b031,_0x66a8c9,_0x5cc728,_0x552b61){const _0x401266=a77_0x24ee2f,_0x3c86b5={'bgdwT':function(_0x4a4554,_0x3fd903){return _0x4a4554===_0x3fd903;},'KLpcJ':_0x401266(0x202),'tImSP':function(_0x4bd54e,_0xb29a2e,_0x56f1cb){return _0x4bd54e(_0xb29a2e,_0x56f1cb);},'aaMFX':_0x401266(0x176),'bZYpX':function(_0x55de9f,_0x16535f,_0x50b856,_0x42a4cd){return _0x55de9f(_0x16535f,_0x50b856,_0x42a4cd);},'mqnjc':function(_0x215150,_0x3d452d,_0x587402){return _0x215150(_0x3d452d,_0x587402);},'aPsfT':function(_0x5a1d73,_0x3421a8,_0x3399e8){return _0x5a1d73(_0x3421a8,_0x3399e8);},'IOwiI':function(_0x3d3436,_0x16784e,_0x4bdacb){return _0x3d3436(_0x16784e,_0x4bdacb);},'jBvko':function(_0x3fa960,_0x49875c,_0xa5398a){return _0x3fa960(_0x49875c,_0xa5398a);},'zxYpw':function(_0x12cb63,_0x462a57){return _0x12cb63/_0x462a57;},'rkPYr':function(_0x5eba24,_0xac16d6){return _0x5eba24<_0xac16d6;},'lEcIZ':function(_0x496877,_0x5768f4){return _0x496877*_0x5768f4;},'aBtBO':function(_0x51cca2,_0x2086bc){return _0x51cca2+_0x2086bc;},'kNIFj':function(_0x356c88,_0x33aae7,_0x4dd38f,_0x2c3941,_0x45c325){return _0x356c88(_0x33aae7,_0x4dd38f,_0x2c3941,_0x45c325);},'ZoZZV':function(_0x31d610,_0x377042){return _0x31d610+_0x377042;},'yswSs':_0x401266(0x1b9),'HOWSM':function(_0x42377c,_0xb6a338,_0x14636b,_0x5ef0a3,_0x55ba8d){return _0x42377c(_0xb6a338,_0x14636b,_0x5ef0a3,_0x55ba8d);}};try{if(_0x3c86b5[_0x401266(0x142)](_0x5cc728,_0x3c86b5[_0x401266(0x113)])){const _0x57218b=await _0x552b61[_0x401266(0x124)],_0x5bc866=_0x3c86b5[_0x401266(0x14a)](getTestRunIdentifier,_0x552b61[_0x401266(0x202)],_0x552b61['result'][_0x401266(0x143)]),_0x20baad=_0x552b61[_0x401266(0x202)];logger[_0x401266(0x209)]('sendLogCreatedEvent:\x20testId='+_0x5bc866+_0x401266(0x150)+util[_0x401266(0x18d)](_0x57218b));const _0xbdd266=_0x10c708[_0x401266(0x1e6)]()['get'](_0x5bc866)[TestFrameworkConstants[_0x401266(0x1ed)]];await _0x3c86b5[_0x401266(0x14a)](sendTraceZip,_0x57218b,_0xbdd266);const _0x23e03d=TestInfo[_0x401266(0x16d)](_0x5bc866)[_0x3c86b5[_0x401266(0x1d5)]],_0x23ea9f={};if(_0x23e03d){!_0x57218b[_0x401266(0x176)]&&(_0x57218b[_0x401266(0x176)]=[]);_0x23ea9f['attachments']=_0x57218b[_0x401266(0x176)][_0x401266(0x11f)](_0x23e03d||[]);const _0x54990c=TestInfo[_0x401266(0x16d)](_0x5bc866);delete _0x54990c[_0x3c86b5[_0x401266(0x1d5)]],TestInfo[_0x401266(0x111)](_0x5bc866,_0x54990c);}const {steps:_0x132b35,logs:_0x4ab488}=_0x3c86b5[_0x401266(0x19a)](getStepsAndLogs,_0x57218b[_0x401266(0x154)],_0x10c708[_0x401266(0x1e6)]()[_0x401266(0x137)](_0x5bc866)[TestFrameworkConstants[_0x401266(0x1ed)]],_0x3c86b5[_0x401266(0x113)]),_0x1e7a16=_0x3c86b5[_0x401266(0x134)](getScreenshots,_0x23ea9f,_0x10c708[_0x401266(0x1e6)]()[_0x401266(0x137)](_0x5bc866)[TestFrameworkConstants['KEY_TEST_UUID']]),_0xe45167=_0x3c86b5['aPsfT'](getVideos,_0x57218b,_0x10c708[_0x401266(0x1e6)]()['get'](_0x5bc866)[TestFrameworkConstants['KEY_TEST_UUID']]),{_:_0x3b1088,logs:_0x4349d6}=_0x3c86b5[_0x401266(0x1fd)](getFailureData,_0x57218b[_0x401266(0x1e1)],{'test_run_uuid':_0x10c708[_0x401266(0x1e6)]()['get'](_0x5bc866)[TestFrameworkConstants[_0x401266(0x1ed)]]}),_0x3e141a=TestInfo[_0x401266(0x16d)](_0x5bc866)[TestFrameworkConstants[_0x401266(0x19b)]]||{},_0x59477a=_0x3c86b5[_0x401266(0x183)](getMediaArtifactsLogs,_0x3e141a,_0x10c708[_0x401266(0x1e6)]()[_0x401266(0x137)](_0x5bc866)[TestFrameworkConstants[_0x401266(0x1ed)]]),_0x5e9f64=_0x10c708[_0x401266(0x1e6)]()['get'](_0x5bc866),{[TestFrameworkConstants[_0x401266(0x174)]]:_0x3a5445='',[TestFrameworkConstants[_0x401266(0x1cf)]]:_0x5b66c5=''}=_0x5e9f64,_0x34a8b8=(_0x4ab488||[])['concat'](_0x1e7a16||[])[_0x401266(0x11f)](_0x4349d6||[])[_0x401266(0x11f)](_0xe45167||[])['concat'](_0x59477a||[]),_0x1cd868=0x28,_0x367912=Math[_0x401266(0x20b)](_0x3c86b5['zxYpw'](_0x34a8b8['length'],_0x1cd868));for(let _0xd2315f=0x0;_0x3c86b5['rkPYr'](_0xd2315f,_0x367912);_0xd2315f++){const _0x359854=_0x3c86b5[_0x401266(0x1b8)](_0xd2315f,_0x1cd868),_0x46b35e=_0x3c86b5[_0x401266(0x1eb)](_0x359854,_0x1cd868),_0x3de724=_0x34a8b8['slice'](_0x359854,_0x46b35e),_0x3a7aff={'platformIndex':global?.[_0x401266(0x17b)]??0x0,'logs':_0x3de724,'testFrameworkName':_0x3a5445,'testFrameworkVersion':_0x5b66c5,'testFrameworkState':_0x40b031[_0x401266(0x1d8)]()[_0x401266(0x181)]('.')[0x1]};_0x3c86b5[_0x401266(0x1b5)](updatePayloadForTraceLogs,_0x3a7aff,_0x552b61,_0x5bc866,_0x10c708),logger['debug'](_0x401266(0x1e3)+_0x5bc866+_0x401266(0x1c2)+_0x3c86b5[_0x401266(0x1ee)](_0xd2315f,0x1)+'/'+_0x367912+_0x401266(0x14c)+util['inspect'](_0x3a7aff));const _0x53718c=await GrpcClient[_0x401266(0x16a)]()[_0x401266(0x1c4)](_0x3a7aff);logger[_0x401266(0x209)]('sendLogCreatedEvent\x20for\x20testId:\x20'+_0x5bc866+'\x20batch\x20'+_0x3c86b5[_0x401266(0x1ee)](_0xd2315f,0x1)+'/'+_0x367912+_0x401266(0x1e9)+util[_0x401266(0x18d)](_0x53718c));}}else{const {steps:_0x1f5706,logs:_0x4cfdbf}=_0x3c86b5[_0x401266(0x19a)](getStepsAndLogs,_0x552b61[_0x401266(0x139)]['steps'],_0x66a8c9,_0x3c86b5[_0x401266(0x188)]),_0xba2817=_0x3c86b5[_0x401266(0x15d)](getTestRunIdentifier,_0x552b61['test'],_0x552b61[_0x401266(0x124)][_0x401266(0x143)]);logger[_0x401266(0x209)]('sendLogCreatedEvent:\x20testId='+_0xba2817);const _0x5e91c7=_0x10c708[_0x401266(0x1e6)]()[_0x401266(0x137)](_0xba2817),{[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x2598d2='',[TestFrameworkConstants[_0x401266(0x1cf)]]:_0x7d7395=''}=_0x5e91c7,_0x25afe5={'platformIndex':'0','logs':_0x4cfdbf,'testFrameworkName':_0x2598d2,'testFrameworkVersion':_0x7d7395,'testFrameworkState':_0x40b031[_0x401266(0x1d8)]()[_0x401266(0x181)]('.')[0x1]};_0x3c86b5[_0x401266(0x121)](updatePayloadForTraceLogs,_0x25afe5,_0x552b61,_0xba2817,_0x10c708),logger[_0x401266(0x209)](_0x401266(0x1e3)+_0xba2817+'\x20payload='+util['inspect'](_0x25afe5));const _0x3328f1=await GrpcClient[_0x401266(0x16a)]()[_0x401266(0x1c4)](_0x25afe5);}}catch(_0x41bc56){logger[_0x401266(0x195)](_0x401266(0x1ad)+util[_0x401266(0x151)](_0x41bc56));}}[a77_0x24ee2f(0x18b)](_0x48f681){const _0xe1a930=a77_0x24ee2f,_0x3dcbcc={'SWIWq':function(_0x2dbcb2,_0x443272,_0x4b07c0){return _0x2dbcb2(_0x443272,_0x4b07c0);},'RIlci':function(_0x34c0ed,_0x22e8de){return _0x34c0ed<_0x22e8de;},'KMsVT':_0xe1a930(0x1a0)};try{const _0x266d84=_0x48f681[_0xe1a930(0x202)]['id'],_0x573b35=_0x3dcbcc[_0xe1a930(0x1e2)](getTestRunIdentifier,_0x48f681[_0xe1a930(0x202)],_0x48f681[_0xe1a930(0x124)][_0xe1a930(0x143)]),_0x2a8cd5=_0x48f681[_0xe1a930(0x1ec)],_0x58be10=_0x2a8cd5[_0xe1a930(0x18c)](),_0x4bfaa1=_0x2a8cd5[_0xe1a930(0x1e6)]()['get'](_0x573b35);logger[_0xe1a930(0x209)](_0xe1a930(0x190)+_0x266d84);const {[TestFrameworkConstants[_0xe1a930(0x174)]]:_0xc17c11='',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x4c2b97='',[TestFrameworkConstants[_0xe1a930(0x110)]]:_0xb709a0='',[TestFrameworkConstants['KEY_TEST_ENDED_AT']]:_0x5e9998=''}=_0x4bfaa1,_0x5910f2=_0x2a8cd5[_0xe1a930(0x1f8)]()['toString']()['split']('.')[0x1],_0x14042a=_0x2a8cd5[_0xe1a930(0x127)]()[_0xe1a930(0x1d8)]()[_0xe1a930(0x181)]('.')[0x1],_0x5f02b9=_0x3dcbcc[_0xe1a930(0x1c1)](_0x48f681?.[_0xe1a930(0x124)]?.[_0xe1a930(0x1dd)]??0x0,0x0)?0x0:_0x48f681?.[_0xe1a930(0x124)]?.[_0xe1a930(0x1dd)]??0x0,_0x2f99ce=_0x2a8cd5[_0xe1a930(0x1e0)](),_0xcbba0f=Buffer[_0xe1a930(0x15e)](JSON[_0xe1a930(0x206)](_0x4bfaa1))['toString'](_0x3dcbcc[_0xe1a930(0x14b)]),_0x17fa96={'hash':_0x58be10[_0xe1a930(0x19d)](),'threadId':_0x58be10[_0xe1a930(0x1b1)]()[_0xe1a930(0x1d8)](),'processId':_0x58be10[_0xe1a930(0x162)]()[_0xe1a930(0x1d8)]()},_0x4e7f9f={};_0x4e7f9f['platformIndex']=_0x5f02b9,_0x4e7f9f[_0xe1a930(0x1f9)]=_0xc17c11,_0x4e7f9f['testFrameworkVersion']=_0x4c2b97,_0x4e7f9f[_0xe1a930(0x1f5)]=_0x5910f2,_0x4e7f9f[_0xe1a930(0x161)]=_0x14042a,_0x4e7f9f[_0xe1a930(0x128)]=_0xb709a0,_0x4e7f9f[_0xe1a930(0x1bf)]=_0x5e9998,_0x4e7f9f[_0xe1a930(0x145)]=_0x2f99ce,_0x4e7f9f[_0xe1a930(0x1de)]=_0xcbba0f,_0x4e7f9f[_0xe1a930(0x1c7)]=_0x17fa96;const _0x39c828=_0x4e7f9f;return logger[_0xe1a930(0x209)](_0xe1a930(0x1f1)+_0x266d84+'\x20testState:\x20'+_0x5910f2+'\x20hookState:\x20'+_0x14042a),_0x39c828;}catch(_0x536ecf){return logger[_0xe1a930(0x195)](_0xe1a930(0x1f6)+util[_0xe1a930(0x151)](_0x536ecf)),{};}}}module[a77_0x24ee2f(0x208)]=PlaywrightTestFramework;function a77_0x4a5a(){const _0x1c76dc=['SWIWq','sendLogCreatedEvent\x20for\x20testId:\x20','7798592TXzzQK','KEY_EVENT_ENDED_AT','getAllData','KEY_AUTOMATE_SESSION_NAME','90294PTFTxd','\x20response=','failed','aBtBO','instance','KEY_TEST_UUID','ZoZZV','KEY_EVENT_STARTED_AT','XHxYW','createTestFrameworkEventPayload:\x20complete\x20for\x20testId:\x20','../cliUtils.js','zIsWK','KEY_TEST_TAGS','testFrameworkState','Error\x20in\x20createTestFrameworkEventPayload:\x20','No\x20reason\x20provided','getCurrentTestState','testFrameworkName','stack','tsDEw','../../../../src/helpers/helper','IOwiI','KEY_HOOK_FAILURE_REASON','VrxWu','sendLogCreatedEvent','Hook\x20List\x20in\x20Post\x20','test','KEY_TEST_NAME','\x20hookState=','eczjg','stringify','\x20testHookState=','exports','debug','size','ceil','Error\x20processing\x20trace\x20file\x20','getTraceFilePaths','trackEvent:\x20Exception\x20in\x20event\x20tracking,\x20testFrameworkState=%s\x20hookState=%s\x20argsLength=%s,\x20exception=%s','KEY_TEST_STARTED_AT','setTestDetails','file_name','KLpcJ','TuZdC','Error\x20processing\x20direct\x20trace\x20file\x20','TEST_SCREENSHOT','KEY_HOOK_LOGS','KEY_HOOKS_FINISHED','AbrUo','KEY_HOOK_RESULT','VeORs','basename','497OqzqSm','Expected\x20to\x20fail,\x20but\x20passed.','concat','TDGSA','HOWSM','bfZmv','GXNeG','result','Hvnry','trackPlaywrightInstance:\x20created\x20instance\x20for\x20target=','getCurrentHookState','startedAt','dzQGb','isArray','trackEvent\x20loading\x20testResults\x20for\x20testId:\x20','oxbWC','../../../helpers/classLogger.js','ARegl','forEach','message','OUgLN','KEY_TEST_LOGS','path','mqnjc','length','1rXHFba','get','passed','step','KEY_TEST_ID','duration','runHooks','trackEvent','filePath','dzCrB','getTestUUID','startTime','bgdwT','retry','DPNGj','uuid','matchHookRegex','8968gMTYwL','KEY_CUSTOM_TAGS','annotations','tImSP','KMsVT','\x20payload=','KEY_TEST_RERUN_NAME','./constants/testFrameworkConstants.js','bRBKG','\x20result=','format','5225830xlskZi','getTrackedInstance','steps','Oyhyr','title','CgYwi','timedOut','KEY_TEST_FAILURE_TYPE','expectedStatus','yNfPs','fdaED','aPsfT','from','tdUmV','util','hookState','getProcessId','trackEvent:\x20found\x20instance,\x20testFrameworkState=','trim','145170NGbTKJ','ZWveG','41591yzIkjU','getTestFrameworks','KEY_HOOK_LAST_STARTED','getInstance','xCvwW','pLRKq','getTestDetails','bCooz','trackHookEvent','xMtJA','\x20instance=','../../playwright/reporter/pwUtils','trackEvent\x20loading\x20testData\x20for\x20testId:\x20','KEY_TEST_FRAMEWORK_NAME','filter','attachments','multi_dropdown','../grpcClient','field_type','ADmUG','browserstackPlatformIndex','toISOString','\x20\x20and\x20args\x20=\x20','DEFAULT_TEST_RESULT','DWimX','DMIGa','split','PRE','jBvko','resolveInstance','POST',',\x20testFrameworkState=','9cRZJFU','yswSs','getTestFrameworksVersions','trackEvent:\x20loaded\x20testData\x20for\x20testId:\x20','createTestFrameworkEventPayload','getContext','inspect','81UbOkWx','getCurrentInstanceName','createTestFrameworkEventPayload\x20testId:\x20','addMultipleEntries','EKvpp','../instances/testFrameworkInstance.js','\x20&\x20hook\x20=\x20','error','KEY_LOGS','YOmIS','status','KEY_TEST_SCOPES','bZYpX','KEY_TEST_ATTACHMENTS','Nomwq','getId','6768wUwGkX','SBFim','base64','obFpz','KEY_HOOK_FAILURE','KEY_TEST_LOCATION','KEY_HOOKS_STARTED','roiPO','KEY_TEST_CODE','iPjiY','kGePH','\x20from\x20TestDetails:\x20','parsePlaywrightTestResult','../TestInfo.js','../../utils/constants','Error\x20in\x20sendLogCreatedEvent:\x20','JbeGD','values','statSync','getThreadId','89224LlXdMP','yJMfO','KEY_HOOK_NAME','kNIFj','WTeJH','VdDjn','lEcIZ','hook','rxAIN','QisWn','info','MDZpK','trackPlaywrightInstance:\x20saved\x20instance\x20contextId=','endedAt','KEY_TEST_RESULT_AT','RIlci','\x20batch\x20','NONE','logCreatedEvent','createContext','../instances/trackedInstance.js','executionContext','KEY_HOOK_ID','zboXD','JrKnP','DEFAULT_HOOK_RESULT','rkZuo','trackPlaywrightInstance','getTime','KEY_TEST_FRAMEWORK_VERSION','../state/hookState.js','TEST',',\x20state=','ucbNz','../../../helpers/test-observability/utils','aaMFX','Hook\x20Started\x20in\x20PRE\x20key\x20=\x20','parsePlaywrightTest','toString','KEY_TEST_FILE_PATH','KEY_HOOK_FAILURE_TYPE','KEY_TEST_FAILURE_REASON','push','parallelIndex','eventJson','hcsNK','getRef','errors'];a77_0x4a5a=function(){return _0x1c76dc;};return a77_0x4a5a();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a78_0x3b01af=a78_0x4e12;(function(_0x164b1d,_0x17e158){const _0x290a57=a78_0x4e12,_0x2aa33e=_0x164b1d();while(!![]){try{const _0x8d3817=-parseInt(_0x290a57(0x1d5))/0x1*(-parseInt(_0x290a57(0x1b3))/0x2)+-parseInt(_0x290a57(0x1c9))/0x3*(-parseInt(_0x290a57(0x1c2))/0x4)+-parseInt(_0x290a57(0x1d4))/0x5+parseInt(_0x290a57(0x1d0))/0x6*(parseInt(_0x290a57(0x1c4))/0x7)+parseInt(_0x290a57(0x1b9))/0x8+parseInt(_0x290a57(0x1cf))/0x9*(parseInt(_0x290a57(0x1ac))/0xa)+-parseInt(_0x290a57(0x1a6))/0xb*(parseInt(_0x290a57(0x1aa))/0xc);if(_0x8d3817===_0x17e158)break;else _0x2aa33e['push'](_0x2aa33e['shift']());}catch(_0x575f84){_0x2aa33e['push'](_0x2aa33e['shift']());}}}(a78_0x3c95,0xaf79a));const AutomationFramework=require(a78_0x3b01af(0x1b8)),{createClassLogger}=require(a78_0x3b01af(0x1ce)),AutomationFrameworkState=require(a78_0x3b01af(0x1d3)),HookState=require(a78_0x3b01af(0x1c6)),CLIUtils=require(a78_0x3b01af(0x1d7)),TrackedInstance=require(a78_0x3b01af(0x1a7)),AutomationFrameworkInstance=require(a78_0x3b01af(0x1b7));class PuppeteerAutomationFramework extends AutomationFramework{[a78_0x3b01af(0x1ae)]=createClassLogger(a78_0x3b01af(0x1bf));constructor(_0x2186d0,_0x46b3c6){super(_0x2186d0,_0x46b3c6);}async[a78_0x3b01af(0x1b2)](_0x490630,_0x3135f3,_0x4f8d32={}){const _0xf02900=a78_0x3b01af,_0x12d544={};_0x12d544[_0xf02900(0x1ca)]=function(_0x49125c,_0xa9939f){return _0x49125c===_0xa9939f;},_0x12d544[_0xf02900(0x1cc)]=_0xf02900(0x1bc);const _0x3b6251=_0x12d544;this[_0xf02900(0x1ae)]['debug'](_0xf02900(0x1c3)+_0x490630+_0xf02900(0x1b1)+_0x3135f3),await super[_0xf02900(0x1b2)](_0x490630,_0x3135f3,_0x4f8d32);const _0xaf38b0=this['resolveInstance'](_0x490630,_0x3135f3,_0x4f8d32);if(_0x3b6251[_0xf02900(0x1ca)](_0xaf38b0,null)){this[_0xf02900(0x1ae)][_0xf02900(0x1b5)](_0x3b6251[_0xf02900(0x1cc)]);return;}_0x4f8d32[_0xf02900(0x1d1)]=_0xaf38b0,await this['runHooks'](_0xaf38b0,_0x490630,_0x3135f3,_0x4f8d32);}[a78_0x3b01af(0x1c7)](_0x556923,_0x583559,_0x28dfe2={}){const _0x49bbde=a78_0x3b01af,_0x24a1d5={};_0x24a1d5['ADblf']=function(_0x5b2964,_0x1a73be){return _0x5b2964===_0x1a73be;},_0x24a1d5['RdYlI']=function(_0x1ddb51,_0x286aea){return _0x1ddb51===_0x286aea;},_0x24a1d5['UGBXP']=function(_0x14dc00,_0x8ee195){return _0x14dc00===_0x8ee195;};const _0x1ee8c5=_0x24a1d5;let _0xaeef6=null;return(_0x1ee8c5[_0x49bbde(0x1c0)](_0x556923,AutomationFrameworkState[_0x49bbde(0x1af)])&&_0x1ee8c5[_0x49bbde(0x1ba)](_0x583559,HookState[_0x49bbde(0x1a8)])||_0x1ee8c5['UGBXP'](_0x556923,AutomationFrameworkState[_0x49bbde(0x1ad)]))&&this[_0x49bbde(0x1b6)](_0x556923,_0x28dfe2),_0xaeef6=AutomationFramework[_0x49bbde(0x1b0)](),_0xaeef6;}[a78_0x3b01af(0x1b6)](_0x4c3918,_0x1ab27e){const _0x2c93b5=a78_0x3b01af,_0x192c3d={};_0x192c3d['MONgZ']=_0x2c93b5(0x1d6);const _0x58937c=_0x192c3d;if(AutomationFramework[_0x2c93b5(0x1b0)]()){this[_0x2c93b5(0x1ae)][_0x2c93b5(0x1cd)](_0x58937c[_0x2c93b5(0x1c1)]);return;}const _0x3f1f04=CLIUtils[_0x2c93b5(0x1c5)](),_0x414f7e=TrackedInstance[_0x2c93b5(0x1c8)](_0x3f1f04);let _0x214203=null;this[_0x2c93b5(0x1ae)][_0x2c93b5(0x1cd)](_0x2c93b5(0x1bd)+_0x3f1f04+_0x2c93b5(0x1a9)+_0x4c3918),_0x214203=new AutomationFrameworkInstance(_0x414f7e,this[_0x2c93b5(0x1bb)](),this[_0x2c93b5(0x1ab)](),_0x4c3918),AutomationFramework[_0x2c93b5(0x1b4)](_0x414f7e,_0x214203),this[_0x2c93b5(0x1ae)][_0x2c93b5(0x1cd)]('trackPuppeteerInstance:\x20saved\x20instance\x20contextId='+_0x414f7e[_0x2c93b5(0x1d2)]()+_0x2c93b5(0x1cb)+_0x3f1f04);}}function a78_0x4e12(_0x220d34,_0x131ec4){const _0x3c951c=a78_0x3c95();return a78_0x4e12=function(_0x4e125e,_0x202c15){_0x4e125e=_0x4e125e-0x1a6;let _0xbc3e29=_0x3c951c[_0x4e125e];return _0xbc3e29;},a78_0x4e12(_0x220d34,_0x131ec4);}function a78_0x3c95(){const _0x121ec8=['CREATE','getTrackedInstance','\x20hookState=','trackEvent','10954dzgLlP','setTrackedInstance','debug','trackPuppeteerInstance','../instances/automationFrameworkInstance.js','./automationFramework.js','9448464qcsCIy','RdYlI','getAutomationFrameworkName','trackEvent:\x20No\x20instance\x20found,\x20skipping\x20tracking','trackPuppeteerInstance:\x20created\x20instance\x20for\x20target=','exports','PuppeteerAutomationFramework','ADblf','MONgZ','2985088PTgQTu','trackEvent:\x20automationFrameworkState=','63FyjrhG','getCurrentInstanceName','../state/hookState.js','resolveInstance','createContext','3atSQMT','CdOlK','\x20target=','vfMxK','info','../../../helpers/classLogger.js','10163646WjcNCm','678138zsvRQh','instance','getId','../state/automationFrameworkState.js','4971725vqGzsA','6UyHpwZ','trackPuppeteerInstance:\x20instance\x20already\x20exists','../cliUtils.js','22YfAtfG','../instances/trackedInstance.js','PRE',',\x20state=','14361612KxiHNz','getAutomationFrameworkVersion','10aGCyHI','NONE','logger'];a78_0x3c95=function(){return _0x121ec8;};return a78_0x3c95();}module[a78_0x3b01af(0x1be)]=PuppeteerAutomationFramework;
|