browserstack-node-sdk 1.58.0 → 1.60.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +3 -3
- package/src/ai-sdk-node/bundle.js +1 -1
- package/src/assets/report.html +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jasmine/bstack-reporter/customReporter.js +1 -1
- package/src/bin/jasmine/command.js +1 -1
- package/src/bin/jasmine/test.setup.js +1 -1
- package/src/bin/jasmine/testRunMap.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customSequencer.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test.setup.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/load/index.js +1 -1
- package/src/bin/load/loadUtils.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/builderPatch.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/newman/command.js +1 -1
- package/src/bin/newman/helper.js +1 -1
- package/src/bin/newman/reporter/index.js +1 -1
- package/src/bin/newman/scriptRunner.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/puppeteer/patches.js +1 -1
- package/src/bin/puppeteer/sessionDetails.js +1 -1
- package/src/bin/puppeteer/test.setup.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/testcafe/a11y-runner.js +1 -1
- package/src/bin/testcafe/command.js +1 -1
- package/src/bin/testcafe/reporter/index.js +1 -1
- package/src/bin/testcafe/reporter/tcUtils.js +1 -1
- package/src/bin/testcafe/session-registry.js +1 -1
- package/src/bin/testcafe/stdout-interceptor.js +1 -1
- package/src/bin/testcafe/testcafe-action-patcher.js +1 -1
- package/src/bin/testcafe/w3c-driver.js +1 -1
- package/src/bin/utils/apiUtilityMethods.js +1 -1
- package/src/bin/utils/clientTroubleshootingService.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/utils/playwright-patcher.js +1 -1
- package/src/bin/utils/puppeteer-patcher.js +1 -1
- package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
- package/src/bin/utils/sharedUtils.js +1 -1
- package/src/bin/v2/TestInfo.js +1 -1
- package/src/bin/v2/browserstackCLI.js +1 -1
- package/src/bin/v2/cliUtils.js +1 -1
- package/src/bin/v2/customTagManager.js +1 -1
- package/src/bin/v2/eventDispatcher.js +1 -1
- package/src/bin/v2/framework/automationFramework.js +1 -1
- package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
- package/src/bin/v2/framework/jestTestFramework.js +1 -1
- package/src/bin/v2/framework/newmanTestFramework.js +1 -1
- package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
- package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
- package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
- package/src/bin/v2/framework/testFramework.js +1 -1
- package/src/bin/v2/framework/testcafeAutomationFramework.js +1 -1
- package/src/bin/v2/framework/testcafeTestFramework.js +1 -1
- package/src/bin/v2/grpcClient.js +1 -1
- package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/trackedContext.js +1 -1
- package/src/bin/v2/instances/trackedInstance.js +1 -1
- package/src/bin/v2/modules/accessibilityModule.js +1 -1
- package/src/bin/v2/modules/baseModule.js +1 -1
- package/src/bin/v2/modules/loadTestModule.js +1 -1
- package/src/bin/v2/modules/observabilityModule.js +1 -1
- package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
- package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
- package/src/bin/v2/modules/testcafeDriverModule.js +1 -1
- package/src/bin/v2/modules/testhubModule.js +1 -1
- package/src/bin/v2/state/automationFrameworkState.js +1 -1
- package/src/bin/v2/state/hookState.js +1 -1
- package/src/bin/v2/state/testFrameworkState.js +1 -1
- package/src/bin/v2/uploadAttachmentsManager.js +1 -1
- package/src/bin/v2/utils/cucumber-utils.js +1 -1
- package/src/bin/v2/utils/jest-utils.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
- package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/caCertHelper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/central-scanner/constants.js +1 -1
- package/src/helpers/central-scanner/helpers.js +1 -1
- package/src/helpers/classLogger.js +1 -1
- package/src/helpers/driverInitErrorReporter.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/metadata.js +1 -1
- package/src/helpers/patchHelper.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance/constants.js +1 -1
- package/src/helpers/performance/performance-tester.js +1 -1
- package/src/helpers/playwright-helper.js +1 -1
- package/src/helpers/processHelper.js +1 -1
- package/src/helpers/puppeteer-helper.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/stackFrameUtils.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/test-orchestration/constants.js +1 -1
- package/src/helpers/test-orchestration/failfastManager.js +1 -1
- package/src/helpers/test-orchestration/fileHelper.js +1 -1
- package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
- package/src/helpers/test-orchestration/requestUtils.js +1 -1
- package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
- package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
- package/src/helpers/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/timeoutPromise.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const a94_0x132f99=a94_0x4756;(function(_0x1a72d1,_0x2dcb2f){const _0x52cfaf=a94_0x4756,_0x45b88e=_0x1a72d1();while(!![]){try{const _0x377d12=-parseInt(_0x52cfaf(0x202))/0x1*(parseInt(_0x52cfaf(0x239))/0x2)+-parseInt(_0x52cfaf(0x2b3))/0x3+parseInt(_0x52cfaf(0x2bb))/0x4*(-parseInt(_0x52cfaf(0x2c5))/0x5)+parseInt(_0x52cfaf(0x241))/0x6*(-parseInt(_0x52cfaf(0x2db))/0x7)+parseInt(_0x52cfaf(0x2f0))/0x8+parseInt(_0x52cfaf(0x2b6))/0x9*(-parseInt(_0x52cfaf(0x298))/0xa)+parseInt(_0x52cfaf(0x21c))/0xb;if(_0x377d12===_0x2dcb2f)break;else _0x45b88e['push'](_0x45b88e['shift']());}catch(_0xaf65b6){_0x45b88e['push'](_0x45b88e['shift']());}}}(a94_0x4e60,0xb1894));const TestFramework=require(a94_0x132f99(0x2d4)),TestFrameworkState=require(a94_0x132f99(0x25a)),HookState=require('../state/hookState.js'),{createClassLogger}=require(a94_0x132f99(0x260)),TestFrameworkInstance=require(a94_0x132f99(0x24d)),CLIUtils=require(a94_0x132f99(0x29f)),TrackedInstance=require('../instances/trackedInstance.js'),TestFrameworkConstants=require('./constants/testFrameworkConstants.js'),logger=createClassLogger('PlaywrightTestFramework'),{v4:uuidv4}=require(a94_0x132f99(0x25b)),util=require(a94_0x132f99(0x23a)),{getPlaywrightSessionName,getPlaywrightTestFilePath,getPlaywrightTestId,getPlaywrightTestTitle,getPlaywrightTestTags,getPlaywrightTestCode,getPlaywrightTestScope,getPlaywrightTestScopes,getStepsAndLogs,getScreenshots,getVideos,getPlaywrightCustomRerunParam,getMediaArtifactsLogs,getManualUploadLogs,updatePayloadForTraceLogs}=require('../../../helpers/helper.js'),TestInfo=require(a94_0x132f99(0x280)),GrpcClient=require(a94_0x132f99(0x22d)),{removeAnsiColors,getFailureType,failureData}=require('../../../helpers/test-observability/utils'),{getFailureData,getTestTags,getTestRunIdentifier}=require(a94_0x132f99(0x278)),{findNestedKey,sendTraceZip,validateFilePath}=require(a94_0x132f99(0x278)),path=require(a94_0x132f99(0x282)),fs=require('fs'),helper=require(a94_0x132f99(0x204)),{PLAYWRIGHT_TRACE_LOGS}=require(a94_0x132f99(0x1f5)),PLAYWRIGHT_BUILTIN_ANNOTATIONS=new Set(['skip','fixme',a94_0x132f99(0x29b),a94_0x132f99(0x2ac)]);class PlaywrightTestFramework extends TestFramework{constructor(_0x56bec1,_0x2f35c0,_0x1957e6){super(_0x56bec1,_0x2f35c0,_0x1957e6);}async[a94_0x132f99(0x21e)](_0x32bbe3,_0x211204,_0x2f9116={}){const _0x5c255f=a94_0x132f99,_0x37e1f8={'sxjqq':function(_0x1678c0,_0x5ee8a6){return _0x1678c0===_0x5ee8a6;},'UzzYi':function(_0x410551,_0x585f6e){return _0x410551===_0x585f6e;},'TjIHt':function(_0x6bd688,_0xee0f7f){return _0x6bd688===_0xee0f7f;},'gPutC':function(_0x4abfd8,_0x35869b,_0x3c3c23){return _0x4abfd8(_0x35869b,_0x3c3c23);},'VhhPR':function(_0x13eed6,_0x304ee2){return _0x13eed6===_0x304ee2;},'zPfXh':function(_0x2f8f09,_0x47bd44){return _0x2f8f09===_0x47bd44;},'ELlUj':function(_0x359895,_0x7fb62,_0x52bed4){return _0x359895(_0x7fb62,_0x52bed4);},'iobQX':function(_0x5a6fd0,_0x3f4ca7,_0xbf72e7,_0x3dc924){return _0x5a6fd0(_0x3f4ca7,_0xbf72e7,_0x3dc924);},'JXggA':_0x5c255f(0x263),'PdYqN':_0x5c255f(0x288)};super[_0x5c255f(0x21e)](_0x32bbe3,_0x211204,_0x2f9116);if(_0x37e1f8[_0x5c255f(0x1f7)](_0x32bbe3,TestFrameworkState[_0x5c255f(0x2f4)])){const _0x5ec8a4=TestInfo[_0x5c255f(0x2ad)](_0x2f9116[_0x5c255f(0x263)],_0x2f9116[_0x5c255f(0x263)]['retry']);TestInfo[_0x5c255f(0x2d6)](_0x5ec8a4,_0x2f9116[_0x5c255f(0x217)],!![]);}if(_0x37e1f8[_0x5c255f(0x1f7)](_0x32bbe3,TestFrameworkState['TEST_STEP'])){this['trackStepEvent'](_0x32bbe3,_0x211204,_0x2f9116);return;}const _0xcaaabb=this[_0x5c255f(0x230)](_0x32bbe3,_0x211204,_0x2f9116);if(!_0xcaaabb)return;logger[_0x5c255f(0x283)](_0x5c255f(0x26f)+_0x32bbe3+'\x20hookState='+_0x211204+'\x20instanceId='+_0xcaaabb['getRef']());try{if(_0x37e1f8[_0x5c255f(0x2b2)](_0x211204,HookState[_0x5c255f(0x20b)])&&_0x37e1f8[_0x5c255f(0x272)](_0x32bbe3,TestFrameworkState[_0x5c255f(0x23d)])){const _0x5cf5ca=_0x2f9116[_0x5c255f(0x263)];logger[_0x5c255f(0x283)](_0x5c255f(0x253)+_0x5cf5ca['id']+'}');const _0x39d919=TestInfo[_0x5c255f(0x2fb)](_0x37e1f8[_0x5c255f(0x20a)](getTestRunIdentifier,_0x5cf5ca,_0x2f9116[_0x5c255f(0x217)][_0x5c255f(0x2d5)]));_0xcaaabb[_0x5c255f(0x29d)](this['parsePlaywrightTest'](_0x39d919,_0x5cf5ca,_0x2f9116[_0x5c255f(0x217)])),logger[_0x5c255f(0x283)](_0x5c255f(0x256)+_0x5cf5ca['id']+_0x5c255f(0x294)+_0x32bbe3+_0x5c255f(0x22b)+_0x211204+_0x5c255f(0x2a5)+_0xcaaabb[_0x5c255f(0x2aa)]());}if(_0x37e1f8[_0x5c255f(0x290)](_0x211204,HookState[_0x5c255f(0x2eb)])&&_0x37e1f8[_0x5c255f(0x213)](_0x32bbe3,TestFrameworkState[_0x5c255f(0x23d)])){const _0x5ae5e1=_0x2f9116[_0x5c255f(0x263)],_0x4f1d35=_0x2f9116['result'];logger['debug'](_0x5c255f(0x2c9)+_0x5ae5e1['id']);const _0x2ff037=_0x37e1f8[_0x5c255f(0x258)](getTestRunIdentifier,_0x5ae5e1,_0x4f1d35[_0x5c255f(0x2d5)]),_0x24eae1=_0xcaaabb[_0x5c255f(0x2e7)]()[_0x5c255f(0x28a)](_0x2ff037)[TestFrameworkConstants[_0x5c255f(0x2e0)]],{steps:_0x3309ed,logs:_0x2919b0}=_0x37e1f8['iobQX'](getStepsAndLogs,_0x4f1d35[_0x5c255f(0x261)],_0x24eae1,_0x37e1f8['JXggA']);_0xcaaabb[_0x5c255f(0x29d)](this[_0x5c255f(0x2d7)](_0x5ae5e1['id'],_0x4f1d35,_0x5ae5e1,_0x3309ed)),await this[_0x5c255f(0x297)](_0xcaaabb,_0x32bbe3,_0x211204,_0x37e1f8[_0x5c255f(0x248)],_0x2f9116,_0x2919b0);}if(CLIUtils[_0x5c255f(0x276)](_0x32bbe3[_0x5c255f(0x232)]()['split']('.')[0x1])){const _0x21c7be=await this[_0x5c255f(0x234)](_0xcaaabb,_0x32bbe3,_0x211204,_0x2f9116);_0xcaaabb['addMultipleEntries'](_0x21c7be);}}catch(_0x21b555){logger[_0x5c255f(0x2f2)](util[_0x5c255f(0x215)](_0x37e1f8['PdYqN'],_0x32bbe3,_0x211204,_0x2f9116[_0x5c255f(0x291)],_0x21b555));}_0x2f9116[_0x5c255f(0x275)]=_0xcaaabb,await this[_0x5c255f(0x240)](_0xcaaabb,_0x32bbe3,_0x211204,_0x2f9116);}[a94_0x132f99(0x230)](_0x5329dd,_0x24e51f,_0x19a4bb={}){const _0x4c37ca=a94_0x132f99,_0x59c79b={};_0x59c79b[_0x4c37ca(0x229)]=function(_0x59765d,_0xa4a9e){return _0x59765d===_0xa4a9e;};const _0x14aa26=_0x59c79b;let _0x3f172c=null;return(_0x14aa26[_0x4c37ca(0x229)](_0x5329dd,TestFrameworkState['INIT_TEST'])||_0x14aa26[_0x4c37ca(0x229)](_0x5329dd,TestFrameworkState[_0x4c37ca(0x2c8)]))&&this[_0x4c37ca(0x1f6)](_0x5329dd,_0x19a4bb),_0x3f172c=TestFramework['getTrackedInstance'](),_0x3f172c;}[a94_0x132f99(0x1f6)](_0x28cb00,_0x1fa664){const _0x5a6069=a94_0x132f99,_0x243967=CLIUtils[_0x5a6069(0x2f7)](),_0x2be755=TrackedInstance['createContext'](_0x243967);let _0x6bdf36=null;logger['info'](_0x5a6069(0x2fc)+_0x243967+',\x20state='+_0x28cb00),_0x6bdf36=new TestFrameworkInstance(_0x2be755,this[_0x5a6069(0x243)](),this['getTestFrameworksVersions'](),_0x28cb00,HookState[_0x5a6069(0x2c8)]),TestFramework[_0x5a6069(0x2ed)](_0x2be755,_0x6bdf36),logger[_0x5a6069(0x2bc)](_0x5a6069(0x286)+_0x2be755[_0x5a6069(0x2e5)]()+'\x20target='+_0x243967);}[a94_0x132f99(0x2be)](_0xbd42d0,_0x1b52ff,_0x16daf6){const _0x1e89e9=a94_0x132f99,_0x57c7fd={'bSWdu':function(_0x2bcd09,_0xd0e8e4){return _0x2bcd09(_0xd0e8e4);},'MrHnx':function(_0x24ce3a,_0x594521){return _0x24ce3a(_0x594521);},'DkNEw':function(_0x1532e9,_0x161fd2){return _0x1532e9(_0x161fd2);},'PudQL':function(_0x1bcd6e,_0x418692,_0x592ce7){return _0x1bcd6e(_0x418692,_0x592ce7);},'lsymg':function(_0x13ac53,_0x2c08e6){return _0x13ac53(_0x2c08e6);}},_0x509ad9=_0x57c7fd['bSWdu'](getPlaywrightTestId,_0x1b52ff),_0x147cd9=_0x57c7fd[_0x1e89e9(0x24f)](getPlaywrightTestTitle,_0x1b52ff),_0x5a77d1=_0x57c7fd['bSWdu'](getTestTags,_0x1b52ff),_0x145e7b=_0x57c7fd['bSWdu'](getPlaywrightTestCode,_0x1b52ff),_0x32f993=_0x57c7fd[_0x1e89e9(0x2a0)](getPlaywrightTestFilePath,_0x1b52ff),_0x2c8e9d=_0x32f993,_0x2f2055=_0x57c7fd[_0x1e89e9(0x24f)](getPlaywrightTestScope,_0x1b52ff),_0x287121=_0x57c7fd[_0x1e89e9(0x2a0)](getPlaywrightTestScopes,_0x1b52ff),_0x4a4351=_0x57c7fd[_0x1e89e9(0x24f)](getPlaywrightSessionName,_0x1b52ff),_0x127c60=this[_0x1e89e9(0x243)]()[0x0],_0x371c45=_0x57c7fd[_0x1e89e9(0x2e2)](getTestRunIdentifier,_0x1b52ff,_0x16daf6['retry']),_0x1012a3={[TestFrameworkConstants[_0x1e89e9(0x27d)]]:_0x127c60,[TestFrameworkConstants[_0x1e89e9(0x2ce)]]:this[_0x1e89e9(0x25c)]()[_0x127c60],[TestFrameworkConstants['KEY_TEST_LOGS']]:[],[TestFrameworkConstants[_0x1e89e9(0x285)]]:{},[TestFrameworkConstants[_0x1e89e9(0x2fa)]]:{},[TestFrameworkConstants[_0x1e89e9(0x2e0)]]:_0xbd42d0,[TestFrameworkConstants[_0x1e89e9(0x205)]]:TestFrameworkConstants[_0x1e89e9(0x2c2)],[TestFrameworkConstants[_0x1e89e9(0x2b1)]]:_0x4a4351,[TestFrameworkConstants['KEY_TEST_FILE_PATH']]:_0x32f993,[TestFrameworkConstants[_0x1e89e9(0x222)]]:_0x509ad9,[TestFrameworkConstants[_0x1e89e9(0x269)]]:_0x147cd9,[TestFrameworkConstants['KEY_TEST_LOCATION']]:_0x2c8e9d,[TestFrameworkConstants['KEY_TEST_CODE']]:_0x145e7b,[TestFrameworkConstants[_0x1e89e9(0x2c4)]]:_0x5a77d1,[TestFrameworkConstants['KEY_TEST_STARTED_AT']]:_0x1b52ff[_0x1e89e9(0x2e6)][0x0]['startTime'],[TestFrameworkConstants[_0x1e89e9(0x231)]]:_0x2f2055,[TestFrameworkConstants[_0x1e89e9(0x225)]]:_0x287121,[TestFrameworkConstants[_0x1e89e9(0x284)]]:_0x57c7fd[_0x1e89e9(0x2a2)](getPlaywrightCustomRerunParam,_0x1b52ff)};TestInfo[_0x1e89e9(0x2d6)](_0x371c45,_0x1012a3);const _0x202b29={};return _0x202b29[_0x371c45]=_0x1012a3,_0x202b29;}[a94_0x132f99(0x2d7)](_0x43a17b,_0x437c34,_0x14e982,_0x4a6bbe){const _0x406e78=a94_0x132f99,_0x58ed1e={'Okkcg':function(_0x32cb75,_0xcd577d){return _0x32cb75(_0xcd577d);},'jdSiq':'TEST_ATTACHMENT','PfnQw':function(_0x26e53a,_0x4708ae){return _0x26e53a===_0x4708ae;},'pesHi':function(_0x1787d1,_0x2daa51){return _0x1787d1===_0x2daa51;},'aHLBu':function(_0xdfcb30,_0x4fe756){return _0xdfcb30===_0x4fe756;},'NcXTT':_0x406e78(0x23b),'cEPUw':function(_0x4bf29c,_0x18c150){return _0x4bf29c(_0x18c150);},'iXKdz':function(_0x4b56f1,_0x1d4fcd,_0xc9cb8f){return _0x4b56f1(_0x1d4fcd,_0xc9cb8f);},'pWcUZ':function(_0x13e6b9,_0x3b56bf){return _0x13e6b9===_0x3b56bf;},'ZiQXS':_0x406e78(0x266),'jpUfu':'passed','tFqzv':function(_0x4be431,_0x1be6e0){return _0x4be431===_0x1be6e0;},'TYXWb':_0x406e78(0x255),'MJJfw':_0x406e78(0x218),'PKzCK':_0x406e78(0x299),'lcGwd':function(_0x186481,_0x3b0cc0,_0x217d21){return _0x186481(_0x3b0cc0,_0x217d21);},'dgAqb':function(_0x33541d,_0x45f457){return _0x33541d||_0x45f457;},'OLnOD':function(_0x51abd6,_0x3675d9){return _0x51abd6(_0x3675d9);},'LivWH':function(_0x49c461,_0x269261){return _0x49c461(_0x269261);},'ykIuY':function(_0x5aaacc,_0x1b3a10){return _0x5aaacc>_0x1b3a10;},'McMBW':function(_0x2e4f59,_0x286ea7,_0x11eea6){return _0x2e4f59(_0x286ea7,_0x11eea6);},'pcRmr':function(_0x2ecc09,_0x1a75fb){return _0x2ecc09-_0x1a75fb;},'QAfCB':function(_0x42e95c,_0x50562f,_0x22bb8d,_0x580a7a){return _0x42e95c(_0x50562f,_0x22bb8d,_0x580a7a);},'yDdrJ':_0x406e78(0x263),'imTYC':function(_0x107f38,_0x39aa1b){return _0x107f38===_0x39aa1b;},'sxYoR':function(_0x276951,_0x1e30d9){return _0x276951>=_0x1e30d9;},'SEjlc':function(_0x348477,_0x4a9950){return _0x348477===_0x4a9950;},'KOmnk':function(_0x5863d3,_0x29d89b){return _0x5863d3+_0x29d89b;},'fehBZ':function(_0x3fb814,_0x1f6016){return _0x3fb814>_0x1f6016;},'qJErU':function(_0xfdc0ed,_0x1ab957,_0x2de98b){return _0xfdc0ed(_0x1ab957,_0x2de98b);},'NdRSJ':'path','EmCDX':function(_0x1379d1,_0xb7491b){return _0x1379d1(_0xb7491b);},'ZhRBS':_0x406e78(0x2cc)};logger[_0x406e78(0x283)](_0x406e78(0x24c)+_0x43a17b);const _0xf7e3b8=_0x58ed1e[_0x406e78(0x2d2)](getTestRunIdentifier,_0x14e982,_0x437c34['retry']),_0x527bea=new Date(),_0x4eddff=_0x437c34[_0x406e78(0x207)],_0x15e1f8=TestInfo[_0x406e78(0x259)](_0xf7e3b8)[TestFrameworkConstants[_0x406e78(0x270)]]||{};let _0x492895=_0x4eddff;if(_0x58ed1e[_0x406e78(0x2d8)](_0x437c34['status'],_0x14e982[_0x406e78(0x2e3)]))_0x492895=_0x58ed1e[_0x406e78(0x244)](_0x437c34[_0x406e78(0x207)],_0x58ed1e[_0x406e78(0x2e9)])?_0x58ed1e[_0x406e78(0x2e9)]:_0x58ed1e['jpUfu'];else{(_0x58ed1e[_0x406e78(0x244)](_0x492895,_0x58ed1e['jpUfu'])||_0x58ed1e[_0x406e78(0x2e8)](_0x492895,_0x58ed1e[_0x406e78(0x2c6)])||_0x58ed1e[_0x406e78(0x22c)](_0x492895,_0x58ed1e['MJJfw']))&&(_0x492895=_0x58ed1e[_0x406e78(0x2c6)]);if(_0x58ed1e[_0x406e78(0x28c)](_0x437c34['status'],_0x58ed1e['jpUfu'])&&_0x58ed1e['tFqzv'](_0x14e982[_0x406e78(0x2e3)],_0x58ed1e[_0x406e78(0x2c6)])){const _0x27782a={};_0x27782a[_0x406e78(0x28e)]=_0x58ed1e['PKzCK'],_0x27782a['stack']=_0x58ed1e[_0x406e78(0x2f9)],_0x437c34[_0x406e78(0x2f2)]=_0x27782a,_0x437c34[_0x406e78(0x2d3)]=[_0x437c34[_0x406e78(0x2f2)]];}}const {failureData:_0x137e8b,logs:_0x27dadc}=_0x58ed1e[_0x406e78(0x220)](getFailureData,_0x437c34?.[_0x406e78(0x2d3)],{}),_0x5be35a={[TestFrameworkConstants[_0x406e78(0x242)]]:_0x58ed1e[_0x406e78(0x245)](_0x137e8b,null),[TestFrameworkConstants[_0x406e78(0x254)]]:_0x437c34?.[_0x406e78(0x2f2)]&&_0x58ed1e[_0x406e78(0x238)](getFailureType,_0x437c34[_0x406e78(0x2f2)][_0x406e78(0x28e)]),[TestFrameworkConstants['KEY_TEST_FAILURE_REASON']]:_0x437c34?.[_0x406e78(0x2f2)]&&_0x58ed1e[_0x406e78(0x223)](removeAnsiColors,_0x437c34['error']['message']),[TestFrameworkConstants[_0x406e78(0x209)]]:[],[TestFrameworkConstants[_0x406e78(0x205)]]:_0x492895,[TestFrameworkConstants[_0x406e78(0x2da)]]:_0x527bea[_0x406e78(0x210)](),[TestFrameworkConstants['KEY_TEST_RESULT_AT']]:new Date()[_0x406e78(0x210)](),[TestFrameworkConstants[_0x406e78(0x270)]]:_0x15e1f8};if(_0x437c34&&_0x58ed1e[_0x406e78(0x22a)](_0x437c34[_0x406e78(0x2d5)],0x0)){const _0x14fc9c=TestInfo[_0x406e78(0x2fb)](_0x58ed1e[_0x406e78(0x2b5)](getTestRunIdentifier,_0x14e982,_0x58ed1e[_0x406e78(0x271)](_0x437c34[_0x406e78(0x2d5)],0x1)));_0x5be35a[TestFrameworkConstants['KEY_TEST_RETRY_OF']]=_0x14fc9c;}const _0x2005e2={};_0x2005e2[_0x406e78(0x263)]=_0x14e982;const _0x195180=this[_0x406e78(0x230)](TestFrameworkState[_0x406e78(0x23d)],HookState[_0x406e78(0x2eb)],_0x2005e2),_0x15898b=_0x195180['getAllData']()[_0x406e78(0x28a)](_0xf7e3b8)[TestFrameworkConstants[_0x406e78(0x2e0)]],_0x840699=_0x4a6bbe||_0x58ed1e['QAfCB'](getStepsAndLogs,_0x437c34['steps'],_0x15898b,_0x58ed1e[_0x406e78(0x233)])[_0x406e78(0x261)],_0x2a368d=new Map(),_0x18afb4=new Map();let _0xa41453=0x0;const _0x4cede3=[];for(const _0x16ebfa of _0x840699||[]){const _0x509bae=_0x16ebfa['parent_id']||null;let _0x528797;if(_0x58ed1e[_0x406e78(0x21b)](_0x509bae,null)){if(_0x58ed1e[_0x406e78(0x25d)](_0xa41453,TestFrameworkConstants['MAX_TOP_LEVEL_STEPS']))continue;_0x528797=0x0,_0xa41453++;}else{const _0x11bcf2=_0x2a368d['get'](_0x509bae);if(_0x58ed1e[_0x406e78(0x227)](_0x11bcf2,undefined))continue;_0x528797=_0x58ed1e[_0x406e78(0x2ec)](_0x11bcf2,0x1);if(_0x58ed1e[_0x406e78(0x287)](_0x528797,TestFrameworkConstants[_0x406e78(0x1f9)]))continue;}_0x2a368d[_0x406e78(0x2ea)](_0x16ebfa['id'],_0x528797),_0x18afb4['set'](_0x16ebfa['id'],_0x16ebfa['text']),_0x4cede3[_0x406e78(0x2ae)]({'id':_0x16ebfa['id'],'parent_id':_0x509bae,'parent_text':_0x509bae?_0x18afb4[_0x406e78(0x28a)](_0x509bae)||'':'','text':_0x16ebfa[_0x406e78(0x249)],'keyword':_0x16ebfa[_0x406e78(0x2a4)]||null,'started_at':_0x16ebfa[_0x406e78(0x252)],'duration':_0x16ebfa[_0x406e78(0x1ff)]??null,'result':_0x16ebfa[_0x406e78(0x217)],'failure':_0x16ebfa[_0x406e78(0x21d)]||null,'failure_type':_0x16ebfa[_0x406e78(0x2c0)]||null});}const _0x19c2e7={};_0x19c2e7[_0x406e78(0x261)]=_0x4cede3,_0x5be35a[TestFrameworkConstants[_0x406e78(0x212)]]=_0x19c2e7,logger[_0x406e78(0x283)](_0x406e78(0x26c)+_0x4cede3[_0x406e78(0x291)]+_0x406e78(0x247)+_0x43a17b);const _0x495173=[],_0x46b6dd=_0x58ed1e['qJErU'](findNestedKey,_0x437c34,_0x58ed1e[_0x406e78(0x214)]);if(_0x46b6dd&&_0x58ed1e['cEPUw'](validateFilePath,_0x46b6dd))try{_0x495173[_0x406e78(0x2ae)]({'kind':_0x58ed1e[_0x406e78(0x28b)],'timestamp':new Date()[_0x406e78(0x210)](),'test_run_uuid':_0x15898b,'file_name':path[_0x406e78(0x2ba)](_0x46b6dd),'file_size':fs['statSync'](_0x46b6dd)[_0x406e78(0x27c)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x5f1b19){logger[_0x406e78(0x2f2)](_0x406e78(0x20e)+_0x46b6dd+':\x20'+_0x5f1b19[_0x406e78(0x28e)]);}const _0x1ad0e9=TestInfo[_0x406e78(0x24a)](),_0x3c680c=_0x1ad0e9[_0x406e78(0x2cf)](_0xeef036=>_0xeef036[_0x406e78(0x2dc)]===_0x15898b);_0x3c680c['forEach'](_0x21ba22=>{const _0x5dbee2=_0x406e78;if(_0x21ba22[_0x5dbee2(0x2b0)]&&_0x58ed1e[_0x5dbee2(0x2df)](validateFilePath,_0x21ba22[_0x5dbee2(0x2b0)])&&!_0x495173[_0x5dbee2(0x2f8)](_0xacc859=>_0xacc859[_0x5dbee2(0x23c)]===path[_0x5dbee2(0x2ba)](_0x21ba22[_0x5dbee2(0x2b0)])))try{_0x495173[_0x5dbee2(0x2ae)]({'kind':_0x58ed1e[_0x5dbee2(0x28b)],'timestamp':new Date()[_0x5dbee2(0x210)](),'test_run_uuid':_0x15898b,'file_name':path[_0x5dbee2(0x2ba)](_0x21ba22[_0x5dbee2(0x2b0)]),'file_size':fs[_0x5dbee2(0x251)](_0x21ba22[_0x5dbee2(0x2b0)])[_0x5dbee2(0x27c)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x356d7a){logger[_0x5dbee2(0x2f2)](_0x5dbee2(0x26e)+_0x21ba22['filePath']+_0x5dbee2(0x1fc)+_0x356d7a[_0x5dbee2(0x28e)]);}});if(_0x58ed1e[_0x406e78(0x287)](_0x495173['length'],0x0)){const _0x49ff01=_0x5be35a[TestFrameworkConstants['KEY_LOGS']]||[];_0x5be35a[TestFrameworkConstants[_0x406e78(0x209)]]=[..._0x49ff01,..._0x495173];}const _0x5a1fd0=TestInfo[_0x406e78(0x259)](_0xf7e3b8)[TestFrameworkConstants[_0x406e78(0x28f)]]||{},_0x25d12d=_0x58ed1e[_0x406e78(0x220)](getManualUploadLogs,_0x5a1fd0,_0x195180[_0x406e78(0x2e7)]()['get'](_0xf7e3b8)[TestFrameworkConstants[_0x406e78(0x2e0)]]);if(_0x58ed1e[_0x406e78(0x287)](_0x25d12d[_0x406e78(0x291)],0x0)){const _0xe50f26=_0x5be35a[TestFrameworkConstants[_0x406e78(0x209)]]||[];_0x5be35a[TestFrameworkConstants[_0x406e78(0x209)]]=[..._0xe50f26,..._0x25d12d];}const _0x83e708=_0x14e982[_0x406e78(0x2e1)]||[],_0xed9ed=_0x5be35a[TestFrameworkConstants[_0x406e78(0x270)]]||{},_0x930788=_0x58ed1e[_0x406e78(0x221)](require,_0x58ed1e[_0x406e78(0x296)]);_0x83e708[_0x406e78(0x2c7)](_0x44ea18=>{const _0x347b6e=_0x406e78,{type:_0x332f1c}=_0x44ea18;let _0x483159=_0x44ea18['description'];if(!_0x332f1c)return;if(PLAYWRIGHT_BUILTIN_ANNOTATIONS[_0x347b6e(0x206)](_0x332f1c))return;(_0x58ed1e[_0x347b6e(0x28c)](_0x483159,undefined)||_0x58ed1e['pesHi'](_0x483159,null)||_0x58ed1e['aHLBu'](_0x58ed1e[_0x347b6e(0x2df)](String,_0x483159)[_0x347b6e(0x2b7)](),''))&&(_0x483159=_0x58ed1e[_0x347b6e(0x2f5)]);const _0x63f76b=helper[_0x347b6e(0x2d0)](_0x58ed1e[_0x347b6e(0x21a)](String,_0x483159));_0x930788[_0x347b6e(0x201)](_0xed9ed,_0x332f1c,_0x63f76b);}),_0x5be35a[TestFrameworkConstants[_0x406e78(0x270)]]=_0xed9ed,TestInfo[_0x406e78(0x2d6)](_0xf7e3b8,_0x5be35a);const _0x7ce5cd={};return _0x7ce5cd[_0xf7e3b8]=_0x5be35a,_0x7ce5cd;}[a94_0x132f99(0x208)](_0x8c883f,_0x1ef358,_0x41cc8a){const _0x329d35=a94_0x132f99,_0x417c5f={'zavNG':function(_0x5e15b,_0x42438a){return _0x5e15b||_0x42438a;},'RvSqZ':function(_0x54664b,_0x273f10,_0x28c1d0){return _0x54664b(_0x273f10,_0x28c1d0);}};try{const {test:_0x13f225,result:_0x2ba75e,step:_0x4ce0b1}=_0x41cc8a;if(_0x417c5f[_0x329d35(0x25f)](!_0x13f225,!_0x4ce0b1)||!_0x2ba75e)return;const _0x2cb446=_0x417c5f[_0x329d35(0x27a)](getTestRunIdentifier,_0x13f225,_0x2ba75e[_0x329d35(0x2d5)]);logger[_0x329d35(0x283)](_0x329d35(0x20d)+_0x2cb446+'\x20hookState='+_0x1ef358+_0x329d35(0x27b)+_0x4ce0b1['title']+'\x22');}catch(_0x5efd12){logger['error']('trackStepEvent:\x20exception='+util[_0x329d35(0x215)](_0x5efd12));}}async['trackHookEvent'](_0x2ee568,_0x3eb1b9,_0x3ba141,_0x32f00d){const _0x405e09=a94_0x132f99,_0x87d2ee={'DvJIt':function(_0x2b3a01,_0x433960,_0x415360){return _0x2b3a01(_0x433960,_0x415360);},'mCneo':function(_0x473a6b,_0x89da9c){return _0x473a6b in _0x89da9c;},'lFbKr':function(_0x49ba13,_0x425598){return _0x49ba13(_0x425598);},'nfBYG':function(_0x17d21c,_0x100030){return _0x17d21c===_0x100030;},'KmorP':function(_0x66f083){return _0x66f083();},'VPogp':function(_0x4acf5e,_0x9adea3){return _0x4acf5e>_0x9adea3;},'QRKnf':function(_0x338fc4,_0x19ff0b,_0x44498b){return _0x338fc4(_0x19ff0b,_0x44498b);},'qehep':'err','fwYie':function(_0x4e3da0,_0x44a718){return _0x4e3da0(_0x44a718);},'AmZLC':'failed','yfeWx':'passed','EUDju':function(_0x28bdd8,_0x363fd2){return _0x28bdd8!==_0x363fd2;},'YiLzS':function(_0x9cb79f,_0x5dcef8){return _0x9cb79f+_0x5dcef8;},'bsVxZ':'hook'},_0x410f6b=_0x32f00d['test'],_0x4eb34f=_0x32f00d['step'],_0x9e6126=_0x87d2ee[_0x405e09(0x29a)](getTestRunIdentifier,_0x410f6b,_0x32f00d['result'][_0x405e09(0x2d5)]),_0x1180fd=_0x3eb1b9[_0x405e09(0x232)]()[_0x405e09(0x235)]('.')[0x1];let _0x1b33e5=_0x2ee568[_0x405e09(0x2e7)]()[_0x405e09(0x28a)](_0x9e6126)[TestFrameworkConstants[_0x405e09(0x2fa)]];!_0x1b33e5&&(_0x1b33e5={});!_0x87d2ee[_0x405e09(0x26b)](_0x1180fd,_0x1b33e5)&&(_0x1b33e5[_0x1180fd]=[]);let _0x1cac79=_0x2ee568[_0x405e09(0x2e7)]()[_0x405e09(0x28a)](_0x9e6126)[TestFrameworkConstants[_0x405e09(0x285)]];!_0x1cac79&&(_0x1cac79={});!_0x87d2ee[_0x405e09(0x26b)](_0x1180fd,_0x1cac79)&&(_0x1cac79[_0x1180fd]=[]);const _0x3cb1ae={[TestFrameworkConstants[_0x405e09(0x2fa)]]:_0x1b33e5,[TestFrameworkConstants['KEY_HOOKS_FINISHED']]:_0x1cac79},_0x59c907={};_0x59c907[_0x9e6126]=_0x3cb1ae;const _0x56c80e=_0x59c907,_0x57568b=_0x87d2ee['lFbKr'](getPlaywrightTestFilePath,_0x410f6b),_0x187858=_0x57568b,_0x99bb25=TestInfo[_0x405e09(0x259)](_0x9e6126)[TestFrameworkConstants[_0x405e09(0x270)]]||{};if(_0x87d2ee['nfBYG'](_0x3ba141,HookState[_0x405e09(0x20b)])){const _0x150897={'key':_0x1180fd,[TestFrameworkConstants[_0x405e09(0x226)]]:_0x87d2ee['KmorP'](uuidv4),[TestFrameworkConstants[_0x405e09(0x250)]]:TestFrameworkConstants[_0x405e09(0x2ab)],[TestFrameworkConstants[_0x405e09(0x22f)]]:_0x4eb34f[_0x405e09(0x2d9)],[TestFrameworkConstants[_0x405e09(0x273)]]:[],[TestFrameworkConstants[_0x405e09(0x26d)]]:_0x4eb34f['title'],[TestFrameworkConstants[_0x405e09(0x2a7)]]:_0x57568b,[TestFrameworkConstants['KEY_TEST_LOCATION']]:_0x187858,[TestFrameworkConstants[_0x405e09(0x270)]]:_0x99bb25};_0x1b33e5[_0x1180fd]['push'](_0x150897),_0x56c80e[_0x9e6126][TestFrameworkConstants[_0x405e09(0x28d)]]=_0x1180fd,logger['debug'](_0x405e09(0x2e4)+_0x1180fd+_0x405e09(0x2ef)+_0x150897+_0x405e09(0x281)+_0x32f00d);}else{if(_0x87d2ee['nfBYG'](_0x3ba141,HookState[_0x405e09(0x2eb)])){const _0x4e2d5c=await _0x32f00d[_0x405e09(0x217)],_0x3d1a00=_0x1b33e5[_0x1180fd]||[],_0x578759=_0x32f00d[_0x405e09(0x200)];logger[_0x405e09(0x283)](_0x405e09(0x20c)+_0x3d1a00+'\x20and\x20args\x20=\x20'+_0x32f00d);if(_0x87d2ee[_0x405e09(0x265)](_0x3d1a00[_0x405e09(0x291)],0x0)){const _0x277883=_0x3d1a00[_0x405e09(0x2a9)]();if(_0x578759['error']){const _0xc2164f=_0x87d2ee[_0x405e09(0x20f)](failureData,_0x578759[_0x405e09(0x2f2)],_0x87d2ee[_0x405e09(0x29e)]);_0x277883[TestFrameworkConstants[_0x405e09(0x27e)]]=_0x87d2ee[_0x405e09(0x2b4)](getFailureType,_0x578759?.[_0x405e09(0x2f2)][_0x405e09(0x28e)]),_0x277883[TestFrameworkConstants['KEY_HOOK_FAILURE_REASON']]=_0x87d2ee['lFbKr'](removeAnsiColors,_0x578759?.[_0x405e09(0x2f2)][_0x405e09(0x28e)]),_0x277883[TestFrameworkConstants[_0x405e09(0x250)]]=_0x87d2ee[_0x405e09(0x267)],_0x277883[TestFrameworkConstants[_0x405e09(0x293)]]=_0xc2164f;}else _0x277883[TestFrameworkConstants['KEY_HOOK_RESULT']]=_0x87d2ee[_0x405e09(0x24e)];_0x87d2ee[_0x405e09(0x2dd)](_0x4e2d5c,TestFrameworkConstants['DEFAULT_HOOK_RESULT'])&&(_0x277883[TestFrameworkConstants[_0x405e09(0x250)]]=!_0x578759[_0x405e09(0x2f2)]?_0x87d2ee[_0x405e09(0x24e)]:_0x87d2ee['AmZLC']);const _0xeda28a=new Date(_0x578759['startTime']),_0x2e6769=new Date(_0x87d2ee[_0x405e09(0x211)](_0xeda28a[_0x405e09(0x1f8)](),_0x578759[_0x405e09(0x1ff)]));_0x277883[TestFrameworkConstants['KEY_EVENT_ENDED_AT']]=_0x2e6769[_0x405e09(0x210)](),_0x277883[TestFrameworkConstants[_0x405e09(0x270)]]=_0x99bb25;const _0x432797=_0x277883[TestFrameworkConstants[_0x405e09(0x226)]];await this['sendLogCreatedEvent'](_0x2ee568,_0x3eb1b9,_0x432797,_0x87d2ee[_0x405e09(0x219)],_0x32f00d),!_0x1cac79[_0x1180fd]&&(_0x1cac79[_0x1180fd]=[]),_0x1cac79[_0x1180fd][_0x405e09(0x2ae)](_0x277883),_0x56c80e[_0x9e6126][TestFrameworkConstants[_0x405e09(0x268)]]=_0x1180fd;}}}return _0x56c80e;}async[a94_0x132f99(0x297)](_0x36d754,_0x1954e5,_0x1d0c2c,_0x554f10,_0x3e3dd1,_0x1fe263){const _0x108089=a94_0x132f99,_0x2ddec7={'OYplB':function(_0xe69cd0,_0x11a028){return _0xe69cd0===_0x11a028;},'XIZNX':_0x108089(0x263),'VBRbb':function(_0x33efd2,_0x1d51ae,_0x24b8ec){return _0x33efd2(_0x1d51ae,_0x24b8ec);},'iKzHD':_0x108089(0x26a),'JtwXI':function(_0x46a57c,_0x1abd90,_0x919fc3,_0xf4e75b){return _0x46a57c(_0x1abd90,_0x919fc3,_0xf4e75b);},'senyR':function(_0x1a5789,_0x3d5d6c,_0x136c03){return _0x1a5789(_0x3d5d6c,_0x136c03);},'jNWAO':function(_0xe05e9,_0x196804,_0x157b62){return _0xe05e9(_0x196804,_0x157b62);},'uFbMM':function(_0x506ce7,_0x490b99,_0x2a4cfd){return _0x506ce7(_0x490b99,_0x2a4cfd);},'VNulq':function(_0x6f6a16,_0x58b8d3){return _0x6f6a16/_0x58b8d3;},'Zifls':function(_0x427466,_0x3c86ca){return _0x427466<_0x3c86ca;},'FisXn':function(_0x39c18b,_0x7e76cc){return _0x39c18b*_0x7e76cc;},'iEBDb':function(_0x468574,_0x34dbad){return _0x468574+_0x34dbad;},'MzPRR':function(_0x596c3c,_0x22df8f,_0x59d609,_0x264f9c,_0x4d7a2a){return _0x596c3c(_0x22df8f,_0x59d609,_0x264f9c,_0x4d7a2a);},'aHPhg':function(_0x284e09,_0x4f9500){return _0x284e09+_0x4f9500;},'YqRZz':'hook','cgszv':function(_0x1707c3,_0x4da675,_0x1f53b1,_0x3fb067,_0x5761c4){return _0x1707c3(_0x4da675,_0x1f53b1,_0x3fb067,_0x5761c4);}};try{if(_0x2ddec7[_0x108089(0x228)](_0x554f10,_0x2ddec7[_0x108089(0x2c3)])){const _0x3d7812=await _0x3e3dd1['result'],_0x357a87=_0x2ddec7['VBRbb'](getTestRunIdentifier,_0x3e3dd1[_0x108089(0x263)],_0x3e3dd1[_0x108089(0x217)][_0x108089(0x2d5)]),_0x2e9e78=_0x3e3dd1[_0x108089(0x263)];logger[_0x108089(0x283)](_0x108089(0x22e)+_0x357a87+'\x20result='+util[_0x108089(0x295)](_0x3d7812));const _0x38fe23=_0x36d754[_0x108089(0x2e7)]()[_0x108089(0x28a)](_0x357a87)[TestFrameworkConstants[_0x108089(0x2e0)]];await _0x2ddec7['VBRbb'](sendTraceZip,_0x3d7812,_0x38fe23);const _0x481450=TestInfo['getTestDetails'](_0x357a87)[_0x2ddec7[_0x108089(0x2de)]],_0x4538be={};if(_0x481450){!_0x3d7812['attachments']&&(_0x3d7812[_0x108089(0x26a)]=[]);_0x4538be['attachments']=_0x3d7812['attachments']['concat'](_0x481450||[]);const _0x824e6b=TestInfo[_0x108089(0x259)](_0x357a87);delete _0x824e6b[_0x2ddec7[_0x108089(0x2de)]],TestInfo['setTestDetails'](_0x357a87,_0x824e6b);}const _0x64d2d4=_0x1fe263||_0x2ddec7[_0x108089(0x2a6)](getStepsAndLogs,_0x3d7812[_0x108089(0x261)],_0x36d754[_0x108089(0x2e7)]()['get'](_0x357a87)[TestFrameworkConstants['KEY_TEST_UUID']],_0x2ddec7[_0x108089(0x2c3)])['logs'],_0x52c77b=_0x2ddec7[_0x108089(0x23f)](getScreenshots,_0x4538be,_0x36d754['getAllData']()[_0x108089(0x28a)](_0x357a87)[TestFrameworkConstants[_0x108089(0x2e0)]]),_0x424494=_0x2ddec7[_0x108089(0x1fa)](getVideos,_0x3d7812,_0x36d754['getAllData']()[_0x108089(0x28a)](_0x357a87)[TestFrameworkConstants[_0x108089(0x2e0)]]),{_:_0x1f905b,logs:_0x52cf00}=_0x2ddec7[_0x108089(0x2b9)](getFailureData,_0x3d7812[_0x108089(0x2d3)],{'test_run_uuid':_0x36d754['getAllData']()[_0x108089(0x28a)](_0x357a87)[TestFrameworkConstants[_0x108089(0x2e0)]]}),_0x1a0afb=TestInfo[_0x108089(0x259)](_0x357a87)[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]||{},_0xa5aa2a=_0x2ddec7['uFbMM'](getMediaArtifactsLogs,_0x1a0afb,_0x36d754[_0x108089(0x2e7)]()[_0x108089(0x28a)](_0x357a87)[TestFrameworkConstants[_0x108089(0x2e0)]]),_0x2212e7=_0x36d754[_0x108089(0x2e7)]()[_0x108089(0x28a)](_0x357a87),{[TestFrameworkConstants[_0x108089(0x27d)]]:_0x4642f0='',[TestFrameworkConstants[_0x108089(0x2ce)]]:_0x570f51=''}=_0x2212e7,_0x25ae20=(_0x64d2d4||[])[_0x108089(0x224)](_0x52c77b||[])[_0x108089(0x224)](_0x52cf00||[])[_0x108089(0x224)](_0x424494||[])[_0x108089(0x224)](_0xa5aa2a||[]),_0x42340c=0x28,_0x377e38=Math[_0x108089(0x236)](_0x2ddec7[_0x108089(0x2a3)](_0x25ae20['length'],_0x42340c));for(let _0x4704b6=0x0;_0x2ddec7[_0x108089(0x2a8)](_0x4704b6,_0x377e38);_0x4704b6++){const _0x47d4ed=_0x2ddec7[_0x108089(0x2af)](_0x4704b6,_0x42340c),_0x854e29=_0x2ddec7[_0x108089(0x21f)](_0x47d4ed,_0x42340c),_0x37f84f=_0x25ae20[_0x108089(0x262)](_0x47d4ed,_0x854e29),_0x3a5a7b={'platformIndex':global?.['browserstackPlatformIndex']??0x0,'logs':_0x37f84f,'testFrameworkName':_0x4642f0,'testFrameworkVersion':_0x570f51,'testFrameworkState':_0x1954e5[_0x108089(0x232)]()[_0x108089(0x235)]('.')[0x1]};_0x2ddec7['MzPRR'](updatePayloadForTraceLogs,_0x3a5a7b,_0x3e3dd1,_0x357a87,_0x36d754),logger[_0x108089(0x283)]('sendLogCreatedEvent\x20for\x20testId:\x20'+_0x357a87+_0x108089(0x25e)+_0x2ddec7[_0x108089(0x246)](_0x4704b6,0x1)+'/'+_0x377e38+_0x108089(0x2ca)+util[_0x108089(0x295)](_0x3a5a7b));const _0x112882=await GrpcClient[_0x108089(0x1fb)]()[_0x108089(0x1fe)](_0x3a5a7b);logger[_0x108089(0x283)](_0x108089(0x2cb)+_0x357a87+_0x108089(0x25e)+_0x2ddec7[_0x108089(0x21f)](_0x4704b6,0x1)+'/'+_0x377e38+_0x108089(0x2b8)+util[_0x108089(0x295)](_0x112882));}}else{const {logs:_0x774161}=_0x2ddec7['JtwXI'](getStepsAndLogs,_0x3e3dd1[_0x108089(0x200)][_0x108089(0x261)],_0x1d0c2c,_0x2ddec7[_0x108089(0x2bf)]),_0x55d7ee=_0x2ddec7['VBRbb'](getTestRunIdentifier,_0x3e3dd1[_0x108089(0x263)],_0x3e3dd1[_0x108089(0x217)][_0x108089(0x2d5)]);logger[_0x108089(0x283)](_0x108089(0x22e)+_0x55d7ee);const _0x30b830=_0x36d754[_0x108089(0x2e7)]()[_0x108089(0x28a)](_0x55d7ee),{[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x2510ea='',[TestFrameworkConstants[_0x108089(0x2ce)]]:_0x23a60a=''}=_0x30b830,_0x4d91b3={'platformIndex':'0','logs':_0x774161,'testFrameworkName':_0x2510ea,'testFrameworkVersion':_0x23a60a,'testFrameworkState':_0x1954e5[_0x108089(0x232)]()[_0x108089(0x235)]('.')[0x1]};_0x2ddec7['cgszv'](updatePayloadForTraceLogs,_0x4d91b3,_0x3e3dd1,_0x55d7ee,_0x36d754),logger[_0x108089(0x283)](_0x108089(0x2cb)+_0x55d7ee+_0x108089(0x2ca)+util[_0x108089(0x295)](_0x4d91b3));const _0x275a71=await GrpcClient['getInstance']()[_0x108089(0x1fe)](_0x4d91b3);}}catch(_0x4b16fc){logger[_0x108089(0x2f2)]('Error\x20in\x20sendLogCreatedEvent:\x20'+util['format'](_0x4b16fc));}}[a94_0x132f99(0x1fd)](_0x35c982){const _0x23451e=a94_0x132f99,_0x425eae={'MfPqX':function(_0x3b1bc2,_0x25d2ce,_0x416298){return _0x3b1bc2(_0x25d2ce,_0x416298);},'avygn':function(_0x12e5bd,_0x4a6a2b){return _0x12e5bd<_0x4a6a2b;},'KYjNF':_0x23451e(0x277)};try{const _0x5cc40a=_0x35c982[_0x23451e(0x263)]['id'],_0x9f401c=_0x425eae['MfPqX'](getTestRunIdentifier,_0x35c982[_0x23451e(0x263)],_0x35c982[_0x23451e(0x217)][_0x23451e(0x2d5)]),_0x1e1ca4=_0x35c982[_0x23451e(0x275)],_0x55dc5f=_0x1e1ca4[_0x23451e(0x2d1)](),_0x3f2487=_0x1e1ca4['getAllData']()['get'](_0x9f401c);logger[_0x23451e(0x283)](_0x23451e(0x2bd)+_0x5cc40a);const {[TestFrameworkConstants[_0x23451e(0x27d)]]:_0xc33750='',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x39a30e='',[TestFrameworkConstants[_0x23451e(0x279)]]:_0xd38cc0='',[TestFrameworkConstants[_0x23451e(0x2da)]]:_0x475ad8=''}=_0x3f2487,_0xf36e72=_0x1e1ca4[_0x23451e(0x1f4)]()[_0x23451e(0x232)]()[_0x23451e(0x235)]('.')[0x1],_0x5be3a8=_0x1e1ca4[_0x23451e(0x264)]()[_0x23451e(0x232)]()[_0x23451e(0x235)]('.')[0x1],_0x32658f=_0x425eae[_0x23451e(0x2a1)](_0x35c982?.[_0x23451e(0x217)]?.[_0x23451e(0x292)]??0x0,0x0)?0x0:_0x35c982?.[_0x23451e(0x217)]?.[_0x23451e(0x292)]??0x0,_0x1dcb5b=_0x1e1ca4[_0x23451e(0x2aa)](),_0x1a86c3=Buffer[_0x23451e(0x237)](JSON[_0x23451e(0x2cd)](_0x3f2487))[_0x23451e(0x232)](_0x425eae['KYjNF']),_0x199b26={'hash':_0x55dc5f['getId'](),'threadId':_0x55dc5f[_0x23451e(0x289)]()['toString'](),'processId':_0x55dc5f[_0x23451e(0x2c1)]()[_0x23451e(0x232)]()},_0xc6d9e={};_0xc6d9e[_0x23451e(0x203)]=_0x32658f,_0xc6d9e[_0x23451e(0x216)]=_0xc33750,_0xc6d9e[_0x23451e(0x27f)]=_0x39a30e,_0xc6d9e[_0x23451e(0x29c)]=_0xf36e72,_0xc6d9e[_0x23451e(0x23e)]=_0x5be3a8,_0xc6d9e[_0x23451e(0x274)]=_0xd38cc0,_0xc6d9e[_0x23451e(0x2f6)]=_0x475ad8,_0xc6d9e[_0x23451e(0x25b)]=_0x1dcb5b,_0xc6d9e['eventJson']=_0x1a86c3,_0xc6d9e[_0x23451e(0x2f3)]=_0x199b26;const _0x2bf77d=_0xc6d9e;return logger[_0x23451e(0x283)](_0x23451e(0x24b)+_0x5cc40a+_0x23451e(0x2f1)+_0xf36e72+_0x23451e(0x257)+_0x5be3a8),_0x2bf77d;}catch(_0x289900){return logger[_0x23451e(0x2f2)](_0x23451e(0x2ee)+util[_0x23451e(0x215)](_0x289900)),{};}}}function a94_0x4756(_0x23420e,_0x46f683){const _0x4e6091=a94_0x4e60();return a94_0x4756=function(_0x475613,_0x326821){_0x475613=_0x475613-0x1f4;let _0x477ce1=_0x4e6091[_0x475613];return _0x477ce1;},a94_0x4756(_0x23420e,_0x46f683);}function a94_0x4e60(){const _0xe6fe75=[',\x20testFrameworkState=','inspect','ZhRBS','sendLogCreatedEvent','4522010OwskOA','Expected\x20to\x20fail,\x20but\x20passed.','DvJIt','slow','testFrameworkState','addMultipleEntries','qehep','../cliUtils.js','DkNEw','avygn','lsymg','VNulq','keyword','\x20instance=','JtwXI','KEY_TEST_FILE_PATH','Zifls','pop','getRef','DEFAULT_HOOK_RESULT','fail','getTestIdentifierFromTestInfo','push','FisXn','filePath','KEY_AUTOMATE_SESSION_NAME','UzzYi','3120264itIIzZ','fwYie','McMBW','27mWZdwl','trim','\x20response=','jNWAO','basename','3748ZitBhU','info','createTestFrameworkEventPayload\x20testId:\x20','parsePlaywrightTest','YqRZz','failure_type','getProcessId','DEFAULT_TEST_RESULT','XIZNX','KEY_TEST_TAGS','4675dyOGli','TYXWb','forEach','NONE','trackEvent\x20loading\x20testResults\x20for\x20testId:\x20','\x20payload=','sendLogCreatedEvent\x20for\x20testId:\x20','../customTagManager','stringify','KEY_TEST_FRAMEWORK_VERSION','filter','parseCommaSeparatedValues','getContext','iXKdz','errors','./testFramework','retry','setTestDetails','parsePlaywrightTestResult','pWcUZ','startTime','KEY_TEST_ENDED_AT','9744987OnZGbs','testUId','EUDju','iKzHD','Okkcg','KEY_TEST_UUID','annotations','PudQL','expectedStatus','Hook\x20Started\x20in\x20PRE\x20key\x20=\x20','getId','results','getAllData','tFqzv','ZiQXS','set','POST','KOmnk','setTrackedInstance','Error\x20in\x20createTestFrameworkEventPayload:\x20','\x20&\x20hook\x20=\x20','9919192syaKFc','\x20testState:\x20','error','executionContext','TEST_SCREENSHOT','NcXTT','endedAt','getCurrentInstanceName','some','PKzCK','KEY_HOOKS_STARTED','getTestUUID','trackPlaywrightInstance:\x20created\x20instance\x20for\x20target=','getCurrentTestState','../../utils/constants','trackPlaywrightInstance','sxjqq','getTime','MAX_NESTED_STEP_DEPTH','VBRbb','getInstance','\x20from\x20TestDetails:\x20','createTestFrameworkEventPayload','logCreatedEvent','duration','step','mergeIntoTags','307ZrplBL','platformIndex','../../../../src/helpers/helper','KEY_TEST_RESULT','has','status','trackStepEvent','KEY_LOGS','gPutC','PRE','Hook\x20List\x20in\x20Post\x20','trackStepEvent:\x20testId=','Error\x20processing\x20direct\x20trace\x20file\x20','QRKnf','toISOString','YiLzS','KEY_TEST_META','zPfXh','NdRSJ','format','testFrameworkName','result','timedOut','bsVxZ','cEPUw','imTYC','54950995WonTll','failure','trackEvent','iEBDb','lcGwd','EmCDX','KEY_TEST_ID','LivWH','concat','KEY_TEST_SCOPES','KEY_HOOK_ID','SEjlc','OYplB','zuhRj','ykIuY','\x20testHookState=','pesHi','../grpcClient','sendLogCreatedEvent:\x20testId=','KEY_EVENT_STARTED_AT','resolveInstance','KEY_TEST_SCOPE','toString','yDdrJ','trackHookEvent','split','ceil','from','OLnOD','5494eXbqoK','util','No\x20reason\x20provided','file_name','TEST','hookState','senyR','runHooks','6ztDasf','KEY_TEST_FAILURE','getTestFrameworks','aHLBu','dgAqb','aHPhg','\x20steps\x20for\x20testId=','JXggA','text','getTraceFilePaths','createTestFrameworkEventPayload:\x20complete\x20for\x20testId:\x20','parsePlaywrightTestResult:\x20testId=','../instances/testFrameworkInstance.js','yfeWx','MrHnx','KEY_HOOK_RESULT','statSync','started_at','trackEvent\x20loading\x20testData\x20for\x20testId:\x20','KEY_TEST_FAILURE_TYPE','failed','trackEvent:\x20loaded\x20testData\x20for\x20testId:\x20','\x20hookState:\x20','ELlUj','getTestDetails','../state/testFrameworkState.js','uuid','getTestFrameworksVersions','sxYoR','\x20batch\x20','zavNG','../../../helpers/classLogger.js','steps','slice','test','getCurrentHookState','VPogp','skipped','AmZLC','KEY_HOOK_LAST_FINISHED','KEY_TEST_NAME','attachments','mCneo','parsePlaywrightTestResult:\x20extracted\x20','KEY_HOOK_NAME','Error\x20processing\x20trace\x20file\x20','trackEvent:\x20found\x20instance,\x20testFrameworkState=','KEY_CUSTOM_TAGS','pcRmr','TjIHt','KEY_HOOK_LOGS','startedAt','instance','matchHookRegex','base64','../../playwright/reporter/pwUtils','KEY_TEST_STARTED_AT','RvSqZ','\x20step=\x22','size','KEY_TEST_FRAMEWORK_NAME','KEY_HOOK_FAILURE_TYPE','testFrameworkVersion','../TestInfo.js','\x20\x20and\x20args\x20=\x20','path','debug','KEY_TEST_RERUN_NAME','KEY_HOOKS_FINISHED','trackPlaywrightInstance:\x20saved\x20instance\x20contextId=','fehBZ','trackEvent:\x20Exception\x20in\x20event\x20tracking,\x20testFrameworkState=%s\x20hookState=%s\x20argsLength=%s,\x20exception=%s','getThreadId','get','jdSiq','PfnQw','KEY_HOOK_LAST_STARTED','message','KEY_TEST_ATTACHMENTS','VhhPR','length','parallelIndex','KEY_HOOK_FAILURE'];a94_0x4e60=function(){return _0xe6fe75;};return a94_0x4e60();}module['exports']=PlaywrightTestFramework;
|
|
1
|
+
const a94_0x8a8229=a94_0x31bf;(function(_0xdad954,_0x2c51ad){const _0x261b94=a94_0x31bf,_0x374569=_0xdad954();while(!![]){try{const _0xe18dec=parseInt(_0x261b94(0x132))/0x1+parseInt(_0x261b94(0x10f))/0x2*(parseInt(_0x261b94(0x130))/0x3)+parseInt(_0x261b94(0x10a))/0x4*(-parseInt(_0x261b94(0xda))/0x5)+-parseInt(_0x261b94(0xe5))/0x6+-parseInt(_0x261b94(0x14b))/0x7*(-parseInt(_0x261b94(0x17c))/0x8)+-parseInt(_0x261b94(0x18e))/0x9*(-parseInt(_0x261b94(0xdb))/0xa)+-parseInt(_0x261b94(0xc4))/0xb;if(_0xe18dec===_0x2c51ad)break;else _0x374569['push'](_0x374569['shift']());}catch(_0x295783){_0x374569['push'](_0x374569['shift']());}}}(a94_0x5400,0x6a75b));const TestFramework=require(a94_0x8a8229(0x112)),TestFrameworkState=require('../state/testFrameworkState.js'),HookState=require('../state/hookState.js'),{createClassLogger}=require('../../../helpers/classLogger.js'),TestFrameworkInstance=require(a94_0x8a8229(0xf9)),CLIUtils=require(a94_0x8a8229(0x108)),TrackedInstance=require(a94_0x8a8229(0x1a8)),TestFrameworkConstants=require(a94_0x8a8229(0x16d)),logger=createClassLogger(a94_0x8a8229(0x143)),{v4:uuidv4}=require(a94_0x8a8229(0xbb)),util=require(a94_0x8a8229(0x1b7)),{getPlaywrightSessionName,getPlaywrightTestFilePath,getPlaywrightTestId,getPlaywrightTestTitle,getPlaywrightTestTags,getPlaywrightTestCode,getPlaywrightTestScope,getPlaywrightTestScopes,getStepsAndLogs,getScreenshots,getVideos,getPlaywrightCustomRerunParam,getMediaArtifactsLogs,getManualUploadLogs,updatePayloadForTraceLogs}=require(a94_0x8a8229(0xdd)),TestInfo=require(a94_0x8a8229(0x199)),GrpcClient=require('../grpcClient'),{removeAnsiColors,getFailureType,failureData}=require('../../../helpers/test-observability/utils'),{getFailureData,getTestTags,getTestRunIdentifier}=require(a94_0x8a8229(0x191)),{findNestedKey,sendTraceZip,validateFilePath}=require(a94_0x8a8229(0x191)),path=require(a94_0x8a8229(0x100)),fs=require('fs'),helper=require('../../../../src/helpers/helper'),{PLAYWRIGHT_TRACE_LOGS}=require(a94_0x8a8229(0xdc)),PLAYWRIGHT_BUILTIN_ANNOTATIONS=new Set(['skip',a94_0x8a8229(0x148),a94_0x8a8229(0x15b),a94_0x8a8229(0x1b3)]);function a94_0x31bf(_0x403d3f,_0x307e4f){const _0x540057=a94_0x5400();return a94_0x31bf=function(_0x31bf28,_0x29fdf9){_0x31bf28=_0x31bf28-0xba;let _0x389980=_0x540057[_0x31bf28];return _0x389980;},a94_0x31bf(_0x403d3f,_0x307e4f);}function a94_0x5400(){const _0x4f829b=['trackEvent','sendLogCreatedEvent:\x20testId=','PdNEb','filePath','\x20result=','KEY_TEST_FRAMEWORK_NAME','GKpkf','step','slow','push','text','KEY_TEST_RETRY_OF','parent_id','../customTagManager','trackEvent\x20loading\x20testResults\x20for\x20testId:\x20','parseCommaSeparatedValues','trackPlaywrightInstance','startedAt','getTrackedInstance','KEY_LOGS','QZRXK','split','passed','tSgWw','KEY_EVENT_STARTED_AT','logs','./constants/testFrameworkConstants.js','started_at','setTrackedInstance','TEST','\x20&\x20hook\x20=\x20','\x20hookState=','iGPHg','DEFAULT_TEST_RESULT','nPZnt','ZChpz','title','Rhmxq','\x20steps\x20for\x20testId=','KEY_HOOK_ID','createTestFrameworkEventPayload','8YsWdGo','DEFAULT_HOOK_RESULT','lXpgH','gsLmh','Error\x20in\x20sendLogCreatedEvent:\x20','KEY_TEST_FILE_PATH','status','XbxTq','hMdjI','eventJson','KEY_HOOK_RESULT','get','duration','basename','jEIJb','KEY_HOOK_FAILURE','parallelIndex','getTraceFilePaths','2716218SKkloV','getThreadId','hookState','../../playwright/reporter/pwUtils','testFrameworkName','testUId','KEY_TEST_FRAMEWORK_VERSION','toISOString','message','qCtVn','NONE','../TestInfo.js','ROeHk','result','expectedStatus','size','KEY_HOOKS_FINISHED','length','MJmtL','KEY_HOOKS_STARTED','NrsTR','xZSOb','uLzAW','toString','KEY_HOOK_NAME','annotations','../instances/trackedInstance.js','PnEYb','NbcaA','vqbxC','cnSAu','YyEMV','veBtf','Jhawo','info','ToqZz','getTime','fail','\x20response=','errors','zaiqm','util','slice','TEST_SCREENSHOT','createTestFrameworkEventPayload\x20testId:\x20','trackEvent:\x20found\x20instance,\x20testFrameworkState=','pGmxV','testFrameworkVersion','VADVt','steps','leSxT','crqsf','getTestIdentifierFromTestInfo','MAX_NESTED_STEP_DEPTH','parsePlaywrightTestResult','uuid','createTestFrameworkEventPayload:\x20complete\x20for\x20testId:\x20','\x20payload=','parsePlaywrightTest','timedOut','AdqnD','\x20from\x20TestDetails:\x20','BOwpI','KEY_TEST_TAGS','7613507VTthYy','file_name','\x20batch\x20','KEY_TEST_NAME','failed','xsFPy','mGKqB','\x20and\x20args\x20=\x20','\x20hookState:\x20','skipped','KEY_HOOK_FAILURE_REASON','TEcPi','INIT_TEST','\x20testState:\x20','addMultipleEntries','DMFLl','rmOQl','trim','POST','KEY_CUSTOM_TAGS','MKbpD','KEY_TEST_ID','365mGmluL','10KzJSCc','../../utils/constants','../../../helpers/helper.js','KEY_TEST_FAILURE_TYPE','KEY_TEST_FAILURE_REASON','runHooks','trackHookEvent','getInstance','retry','getTestDetails','12882wIkxoM','trackEvent:\x20Exception\x20in\x20event\x20tracking,\x20testFrameworkState=%s\x20hookState=%s\x20argsLength=%s,\x20exception=%s','\x20step=\x22','stack','LPvBD','KEY_TEST_SCOPES','prfVI','test','\x20target=','sendLogCreatedEvent\x20for\x20testId:\x20','KEY_TEST_STARTED_AT','NhkRR','format','KQbgG','from','KEY_TEST_LOCATION','getTestFrameworksVersions','Expected\x20to\x20fail,\x20but\x20passed.','endedAt','trackStepEvent:\x20testId=','../instances/testFrameworkInstance.js','keyword','TLjZn','getCurrentInstanceName','Error\x20processing\x20direct\x20trace\x20file\x20','qBeIP','resolveInstance','path','setTestDetails','No\x20reason\x20provided',',\x20state=','KEY_TEST_SCOPE','tRFqz','err','trackPlaywrightInstance:\x20saved\x20instance\x20contextId=','../cliUtils.js','\x20instance=','26188liUPLX','statSync','PRE','unEGh','base64','2hWFZor','exports','has','./testFramework','WiEkz','instance','getAllData','results','PuBPN','getCurrentTestState','KEY_EVENT_ENDED_AT','rOPzm','cXSkD','Error\x20processing\x20trace\x20file\x20','KEY_TEST_ATTACHMENTS','getRef','Dtryi','logCreatedEvent','DbDfO','KEY_TEST_UUID','hook','JWIAr','failure','tPYTc','YfAxq','JQNlZ','aFBCO','getId','KEY_AUTOMATE_SESSION_NAME','parsePlaywrightTestResult:\x20testId=','jMioK','error','attachments','1496433EupmXN','KEY_TEST_LOGS','574583hFylZz','KEY_TEST_ENDED_AT','forEach','eMrjY','trackEvent:\x20loaded\x20testData\x20for\x20testId:\x20','getTestFrameworks','parsePlaywrightTestResult:\x20extracted\x20','createContext','getCurrentHookState','VafLi','inspect','set','\x20testHookState=','startTime','getTestUUID','tZjZt','trackStepEvent','PlaywrightTestFramework','Hook\x20Started\x20in\x20PRE\x20key\x20=\x20','ebzJd','sendLogCreatedEvent','KEY_HOOK_LAST_FINISHED','fixme','concat','MMGFm','1631546nDTden','MAX_TOP_LEVEL_STEPS','debug','bADDc','eeaLY','some','trackEvent\x20loading\x20testData\x20for\x20testId:\x20','getContext'];a94_0x5400=function(){return _0x4f829b;};return a94_0x5400();}class PlaywrightTestFramework extends TestFramework{constructor(_0x38f8e3,_0x2723cd,_0x1a3dac){super(_0x38f8e3,_0x2723cd,_0x1a3dac);}async[a94_0x8a8229(0x153)](_0x5448be,_0xe4bf76,_0x320920={}){const _0x36b595=a94_0x8a8229,_0x9a88cb={'MMGFm':function(_0x40d45e,_0x58b959){return _0x40d45e===_0x58b959;},'GKpkf':function(_0x2712be,_0x2745ff){return _0x2712be===_0x2745ff;},'YfAxq':function(_0xacd1c4,_0x4ae796,_0x5c7a84){return _0xacd1c4(_0x4ae796,_0x5c7a84);},'ebzJd':function(_0x443049,_0x1798b9){return _0x443049===_0x1798b9;},'PFLtA':function(_0x15659d,_0x3c71c7){return _0x15659d===_0x3c71c7;},'MJmtL':function(_0x4ac859,_0x586cf8,_0x1bd573){return _0x4ac859(_0x586cf8,_0x1bd573);},'UOjOO':function(_0x46f4a3,_0x5eedd1,_0x1a3034,_0x19c23a){return _0x46f4a3(_0x5eedd1,_0x1a3034,_0x19c23a);},'jEIJb':_0x36b595(0xec),'FxZsn':_0x36b595(0xe6)};super[_0x36b595(0x153)](_0x5448be,_0xe4bf76,_0x320920);if(_0x9a88cb[_0x36b595(0x14a)](_0x5448be,TestFrameworkState[_0x36b595(0x1b9)])){const _0x423f72=TestInfo[_0x36b595(0x1c2)](_0x320920[_0x36b595(0xec)],_0x320920[_0x36b595(0xec)][_0x36b595(0xe3)]);TestInfo[_0x36b595(0x101)](_0x423f72,_0x320920[_0x36b595(0x19b)],!![]);}if(_0x9a88cb['MMGFm'](_0x5448be,TestFrameworkState['TEST_STEP'])){this[_0x36b595(0x142)](_0x5448be,_0xe4bf76,_0x320920);return;}const _0x2fba26=this[_0x36b595(0xff)](_0x5448be,_0xe4bf76,_0x320920);if(!_0x2fba26)return;logger[_0x36b595(0x14d)](_0x36b595(0x1bb)+_0x5448be+_0x36b595(0x172)+_0xe4bf76+'\x20instanceId='+_0x2fba26[_0x36b595(0x11e)]());try{if(_0x9a88cb[_0x36b595(0x159)](_0xe4bf76,HookState[_0x36b595(0x10c)])&&_0x9a88cb[_0x36b595(0x159)](_0x5448be,TestFrameworkState[_0x36b595(0x170)])){const _0x32afd4=_0x320920['test'];logger['debug'](_0x36b595(0x151)+_0x32afd4['id']+'}');const _0x3294d1=TestInfo[_0x36b595(0x140)](_0x9a88cb[_0x36b595(0x127)](getTestRunIdentifier,_0x32afd4,_0x320920[_0x36b595(0x19b)][_0x36b595(0xe3)]));_0x2fba26[_0x36b595(0xd2)](this[_0x36b595(0xbe)](_0x3294d1,_0x32afd4,_0x320920[_0x36b595(0x19b)])),logger[_0x36b595(0x14d)](_0x36b595(0x136)+_0x32afd4['id']+',\x20testFrameworkState='+_0x5448be+_0x36b595(0x13e)+_0xe4bf76+_0x36b595(0x109)+_0x2fba26['getRef']());}if(_0x9a88cb[_0x36b595(0x145)](_0xe4bf76,HookState['POST'])&&_0x9a88cb['PFLtA'](_0x5448be,TestFrameworkState['TEST'])){const _0x83b078=_0x320920[_0x36b595(0xec)],_0x37aebd=_0x320920[_0x36b595(0x19b)];logger[_0x36b595(0x14d)](_0x36b595(0x161)+_0x83b078['id']);const _0x197191=_0x9a88cb[_0x36b595(0x1a0)](getTestRunIdentifier,_0x83b078,_0x37aebd[_0x36b595(0xe3)]),_0x20b1ba=_0x2fba26['getAllData']()['get'](_0x197191)[TestFrameworkConstants[_0x36b595(0x122)]],{steps:_0x30798a,logs:_0x56e569}=_0x9a88cb['UOjOO'](getStepsAndLogs,_0x37aebd[_0x36b595(0x1bf)],_0x20b1ba,_0x9a88cb[_0x36b595(0x18a)]);_0x2fba26[_0x36b595(0xd2)](this[_0x36b595(0xba)](_0x83b078['id'],_0x37aebd,_0x83b078,_0x30798a)),await this[_0x36b595(0x146)](_0x2fba26,_0x5448be,_0xe4bf76,_0x9a88cb['jEIJb'],_0x320920,_0x56e569);}if(CLIUtils['matchHookRegex'](_0x5448be[_0x36b595(0x1a5)]()[_0x36b595(0x168)]('.')[0x1])){const _0x1a1b34=await this[_0x36b595(0xe1)](_0x2fba26,_0x5448be,_0xe4bf76,_0x320920);_0x2fba26[_0x36b595(0xd2)](_0x1a1b34);}}catch(_0x34f709){logger[_0x36b595(0x12e)](util[_0x36b595(0xf1)](_0x9a88cb['FxZsn'],_0x5448be,_0xe4bf76,_0x320920[_0x36b595(0x19f)],_0x34f709));}_0x320920['instance']=_0x2fba26,await this[_0x36b595(0xe0)](_0x2fba26,_0x5448be,_0xe4bf76,_0x320920);}['resolveInstance'](_0x1d328b,_0x1b4d7e,_0x55aa66={}){const _0x2b8516=a94_0x8a8229,_0x2400ee={};_0x2400ee[_0x2b8516(0x141)]=function(_0x4c39aa,_0x5f3911){return _0x4c39aa===_0x5f3911;};const _0x27198a=_0x2400ee;let _0x494885=null;return(_0x27198a[_0x2b8516(0x141)](_0x1d328b,TestFrameworkState[_0x2b8516(0xd0)])||_0x27198a[_0x2b8516(0x141)](_0x1d328b,TestFrameworkState[_0x2b8516(0x198)]))&&this[_0x2b8516(0x163)](_0x1d328b,_0x55aa66),_0x494885=TestFramework[_0x2b8516(0x165)](),_0x494885;}[a94_0x8a8229(0x163)](_0x2e157c,_0x4e1979){const _0x551677=a94_0x8a8229,_0x33195a=CLIUtils[_0x551677(0xfc)](),_0x1c267a=TrackedInstance[_0x551677(0x139)](_0x33195a);let _0x4b0c2e=null;logger[_0x551677(0x1b0)]('trackPlaywrightInstance:\x20created\x20instance\x20for\x20target='+_0x33195a+_0x551677(0x103)+_0x2e157c),_0x4b0c2e=new TestFrameworkInstance(_0x1c267a,this[_0x551677(0x137)](),this[_0x551677(0xf5)](),_0x2e157c,HookState[_0x551677(0x198)]),TestFramework[_0x551677(0x16f)](_0x1c267a,_0x4b0c2e),logger[_0x551677(0x1b0)](_0x551677(0x107)+_0x1c267a[_0x551677(0x12a)]()+_0x551677(0xed)+_0x33195a);}['parsePlaywrightTest'](_0x2041d6,_0x149b8a,_0x1d77fe){const _0x103b7d=a94_0x8a8229,_0x1f5f9c={'uLzAW':function(_0x2c353a,_0x21d068){return _0x2c353a(_0x21d068);},'nPZnt':function(_0x4b5c8b,_0x30b954){return _0x4b5c8b(_0x30b954);},'tSgWw':function(_0x352c5d,_0x10138b){return _0x352c5d(_0x10138b);},'HhOhg':function(_0x1bbae2,_0x169308,_0x4be9cf){return _0x1bbae2(_0x169308,_0x4be9cf);}},_0x1c9a56=_0x1f5f9c['uLzAW'](getPlaywrightTestId,_0x149b8a),_0x5d3d7c=_0x1f5f9c[_0x103b7d(0x175)](getPlaywrightTestTitle,_0x149b8a),_0x2e9d63=_0x1f5f9c['uLzAW'](getTestTags,_0x149b8a),_0x274c70=_0x1f5f9c['nPZnt'](getPlaywrightTestCode,_0x149b8a),_0x8a5a73=_0x1f5f9c[_0x103b7d(0x16a)](getPlaywrightTestFilePath,_0x149b8a),_0x24b923=_0x8a5a73,_0x1d7d7a=_0x1f5f9c[_0x103b7d(0x1a4)](getPlaywrightTestScope,_0x149b8a),_0x437612=_0x1f5f9c[_0x103b7d(0x175)](getPlaywrightTestScopes,_0x149b8a),_0x5a0ca7=_0x1f5f9c[_0x103b7d(0x1a4)](getPlaywrightSessionName,_0x149b8a),_0xdb4874=this['getTestFrameworks']()[0x0],_0x554c2f=_0x1f5f9c['HhOhg'](getTestRunIdentifier,_0x149b8a,_0x1d77fe[_0x103b7d(0xe3)]),_0x48238c={[TestFrameworkConstants[_0x103b7d(0x158)]]:_0xdb4874,[TestFrameworkConstants[_0x103b7d(0x194)]]:this[_0x103b7d(0xf5)]()[_0xdb4874],[TestFrameworkConstants[_0x103b7d(0x131)]]:[],[TestFrameworkConstants[_0x103b7d(0x19e)]]:{},[TestFrameworkConstants[_0x103b7d(0x1a1)]]:{},[TestFrameworkConstants[_0x103b7d(0x122)]]:_0x2041d6,[TestFrameworkConstants['KEY_TEST_RESULT']]:TestFrameworkConstants[_0x103b7d(0x174)],[TestFrameworkConstants[_0x103b7d(0x12b)]]:_0x5a0ca7,[TestFrameworkConstants[_0x103b7d(0x181)]]:_0x8a5a73,[TestFrameworkConstants[_0x103b7d(0xd9)]]:_0x1c9a56,[TestFrameworkConstants[_0x103b7d(0xc7)]]:_0x5d3d7c,[TestFrameworkConstants[_0x103b7d(0xf4)]]:_0x24b923,[TestFrameworkConstants['KEY_TEST_CODE']]:_0x274c70,[TestFrameworkConstants[_0x103b7d(0xc3)]]:_0x2e9d63,[TestFrameworkConstants['KEY_TEST_STARTED_AT']]:_0x149b8a[_0x103b7d(0x116)][0x0][_0x103b7d(0x13f)],[TestFrameworkConstants[_0x103b7d(0x104)]]:_0x1d7d7a,[TestFrameworkConstants[_0x103b7d(0xea)]]:_0x437612,[TestFrameworkConstants['KEY_TEST_RERUN_NAME']]:_0x1f5f9c[_0x103b7d(0x16a)](getPlaywrightCustomRerunParam,_0x149b8a)};TestInfo[_0x103b7d(0x101)](_0x554c2f,_0x48238c);const _0x10ccb1={};return _0x10ccb1[_0x554c2f]=_0x48238c,_0x10ccb1;}[a94_0x8a8229(0xba)](_0x2d0c1e,_0x4fc1a7,_0x4d89a7,_0x5a0753){const _0x40f32a=a94_0x8a8229,_0x506a11={'AdqnD':function(_0x6d7f86,_0x2a543a){return _0x6d7f86(_0x2a543a);},'ROeHk':'TEST_ATTACHMENT','PdNEb':function(_0x5f350b,_0x42564b){return _0x5f350b===_0x42564b;},'VADVt':function(_0x41ba76,_0x3f0c62){return _0x41ba76(_0x3f0c62);},'BOwpI':_0x40f32a(0x102),'iGPHg':function(_0x259655,_0x3eee59){return _0x259655(_0x3eee59);},'gsLmh':function(_0x392f4f,_0x1b9a24,_0xe17094){return _0x392f4f(_0x1b9a24,_0xe17094);},'veBtf':function(_0x429863,_0x213b9d){return _0x429863===_0x213b9d;},'vqbxC':function(_0x1eadfe,_0x232102){return _0x1eadfe===_0x232102;},'qBeIP':_0x40f32a(0xcd),'mGKqB':_0x40f32a(0x169),'KQbgG':function(_0x53baa4,_0xa4eea9){return _0x53baa4===_0xa4eea9;},'LPvBD':_0x40f32a(0xc8),'XKTXP':_0x40f32a(0xbf),'tRFqz':function(_0x5b2623,_0x311d68){return _0x5b2623===_0x311d68;},'rmOQl':_0x40f32a(0xf6),'eMrjY':function(_0x152d18,_0x4d02d7,_0x40bd3b){return _0x152d18(_0x4d02d7,_0x40bd3b);},'NrsTR':function(_0x408c97,_0x455259){return _0x408c97||_0x455259;},'DMFLl':function(_0x95d08b,_0x149341){return _0x95d08b(_0x149341);},'Dtryi':function(_0x743c09,_0x5619a1){return _0x743c09>_0x5619a1;},'HaMib':function(_0xde39f7,_0x58e4fa){return _0xde39f7-_0x58e4fa;},'ZChpz':function(_0x503aa8,_0x3a906f,_0x51322b,_0x176778){return _0x503aa8(_0x3a906f,_0x51322b,_0x176778);},'leSxT':'test','TLjZn':function(_0x3bac33,_0x5e5aca){return _0x3bac33===_0x5e5aca;},'FeXTE':function(_0x5531ab,_0x3fcf17){return _0x5531ab>=_0x3fcf17;},'ToqZz':function(_0x4b4251,_0x2b0c1d){return _0x4b4251===_0x2b0c1d;},'NbcaA':function(_0xff58f,_0x19d40e){return _0xff58f+_0x19d40e;},'xsFPy':function(_0x1899f9,_0x1d34d7){return _0x1899f9>_0x1d34d7;},'PuBPN':function(_0x52457b,_0x1a6cc4,_0x49fb48){return _0x52457b(_0x1a6cc4,_0x49fb48);},'cXSkD':_0x40f32a(0x100),'bVJxm':function(_0x2075ad,_0x1d42b8){return _0x2075ad(_0x1d42b8);},'RyYMJ':function(_0x256679,_0xae7a4c){return _0x256679>_0xae7a4c;},'pGmxV':function(_0x1467fc,_0x3d6323,_0x218ef1){return _0x1467fc(_0x3d6323,_0x218ef1);},'zXjBn':function(_0x2f7985,_0x49774b){return _0x2f7985>_0x49774b;},'yOGhb':function(_0x39b73d,_0x58167f){return _0x39b73d(_0x58167f);},'Rhmxq':_0x40f32a(0x160)};logger[_0x40f32a(0x14d)](_0x40f32a(0x12c)+_0x2d0c1e);const _0x6d9399=_0x506a11[_0x40f32a(0x17f)](getTestRunIdentifier,_0x4d89a7,_0x4fc1a7['retry']),_0xacf371=new Date(),_0x379957=_0x4fc1a7['status'],_0x1d2477=TestInfo['getTestDetails'](_0x6d9399)[TestFrameworkConstants['KEY_CUSTOM_TAGS']]||{};let _0x45f225=_0x379957;if(_0x506a11[_0x40f32a(0x1ae)](_0x4fc1a7[_0x40f32a(0x182)],_0x4d89a7[_0x40f32a(0x19c)]))_0x45f225=_0x506a11['vqbxC'](_0x4fc1a7[_0x40f32a(0x182)],_0x506a11['qBeIP'])?_0x506a11[_0x40f32a(0xfe)]:_0x506a11[_0x40f32a(0xca)];else{(_0x506a11[_0x40f32a(0x1ae)](_0x45f225,_0x506a11[_0x40f32a(0xca)])||_0x506a11[_0x40f32a(0xf2)](_0x45f225,_0x506a11[_0x40f32a(0xe9)])||_0x506a11[_0x40f32a(0x1ab)](_0x45f225,_0x506a11['XKTXP']))&&(_0x45f225=_0x506a11['LPvBD']);if(_0x506a11[_0x40f32a(0x105)](_0x4fc1a7[_0x40f32a(0x182)],_0x506a11['mGKqB'])&&_0x506a11[_0x40f32a(0x1ae)](_0x4d89a7['expectedStatus'],_0x506a11[_0x40f32a(0xe9)])){const _0x1a1a15={};_0x1a1a15[_0x40f32a(0x196)]=_0x506a11[_0x40f32a(0xd4)],_0x1a1a15[_0x40f32a(0xe8)]=_0x506a11[_0x40f32a(0xd4)],_0x4fc1a7[_0x40f32a(0x12e)]=_0x1a1a15,_0x4fc1a7['errors']=[_0x4fc1a7['error']];}}const {failureData:_0x479fb3,logs:_0x3c62e8}=_0x506a11[_0x40f32a(0x135)](getFailureData,_0x4fc1a7?.[_0x40f32a(0x1b5)],{}),_0x36cf38={[TestFrameworkConstants['KEY_TEST_FAILURE']]:_0x506a11[_0x40f32a(0x1a2)](_0x479fb3,null),[TestFrameworkConstants[_0x40f32a(0xde)]]:_0x4fc1a7?.[_0x40f32a(0x12e)]&&_0x506a11[_0x40f32a(0x1be)](getFailureType,_0x4fc1a7[_0x40f32a(0x12e)][_0x40f32a(0x196)]),[TestFrameworkConstants[_0x40f32a(0xdf)]]:_0x4fc1a7?.[_0x40f32a(0x12e)]&&_0x506a11[_0x40f32a(0xd3)](removeAnsiColors,_0x4fc1a7[_0x40f32a(0x12e)][_0x40f32a(0x196)]),[TestFrameworkConstants[_0x40f32a(0x166)]]:[],[TestFrameworkConstants['KEY_TEST_RESULT']]:_0x45f225,[TestFrameworkConstants[_0x40f32a(0x133)]]:_0xacf371['toISOString'](),[TestFrameworkConstants['KEY_TEST_RESULT_AT']]:new Date()[_0x40f32a(0x195)](),[TestFrameworkConstants[_0x40f32a(0xd7)]]:_0x1d2477};if(_0x4fc1a7&&_0x506a11[_0x40f32a(0x11f)](_0x4fc1a7[_0x40f32a(0xe3)],0x0)){const _0x49d816=TestInfo['getTestUUID'](_0x506a11[_0x40f32a(0x135)](getTestRunIdentifier,_0x4d89a7,_0x506a11['HaMib'](_0x4fc1a7[_0x40f32a(0xe3)],0x1)));_0x36cf38[TestFrameworkConstants[_0x40f32a(0x15e)]]=_0x49d816;}const _0x717c07={};_0x717c07[_0x40f32a(0xec)]=_0x4d89a7;const _0x29043e=this[_0x40f32a(0xff)](TestFrameworkState[_0x40f32a(0x170)],HookState[_0x40f32a(0xd6)],_0x717c07),_0x5492ec=_0x29043e['getAllData']()['get'](_0x6d9399)[TestFrameworkConstants[_0x40f32a(0x122)]],_0x1a5044=_0x5a0753||_0x506a11[_0x40f32a(0x176)](getStepsAndLogs,_0x4fc1a7[_0x40f32a(0x1bf)],_0x5492ec,_0x506a11[_0x40f32a(0x1c0)])['steps'],_0xae63ce=new Map(),_0x29c68b=new Map();let _0xba5082=0x0;const _0x2a65a6=[];for(const _0x69ff4f of _0x1a5044||[]){const _0x505270=_0x69ff4f[_0x40f32a(0x15f)]||null;let _0x13282d;if(_0x506a11[_0x40f32a(0xfb)](_0x505270,null)){if(_0x506a11['FeXTE'](_0xba5082,TestFrameworkConstants[_0x40f32a(0x14c)]))continue;_0x13282d=0x0,_0xba5082++;}else{const _0x5ed708=_0xae63ce['get'](_0x505270);if(_0x506a11[_0x40f32a(0x1b1)](_0x5ed708,undefined))continue;_0x13282d=_0x506a11[_0x40f32a(0x1aa)](_0x5ed708,0x1);if(_0x506a11[_0x40f32a(0xc9)](_0x13282d,TestFrameworkConstants[_0x40f32a(0x1c3)]))continue;}_0xae63ce[_0x40f32a(0x13d)](_0x69ff4f['id'],_0x13282d),_0x29c68b[_0x40f32a(0x13d)](_0x69ff4f['id'],_0x69ff4f[_0x40f32a(0x15d)]),_0x2a65a6['push']({'id':_0x69ff4f['id'],'parent_id':_0x505270,'parent_text':_0x505270?_0x29c68b[_0x40f32a(0x187)](_0x505270)||'':'','text':_0x69ff4f['text'],'keyword':_0x69ff4f[_0x40f32a(0xfa)]||null,'started_at':_0x69ff4f[_0x40f32a(0x16e)],'duration':_0x69ff4f[_0x40f32a(0x188)]??null,'result':_0x69ff4f['result'],'failure':_0x69ff4f[_0x40f32a(0x125)]||null,'failure_type':_0x69ff4f['failure_type']||null});}const _0x3af0db={};_0x3af0db[_0x40f32a(0x1bf)]=_0x2a65a6,_0x36cf38[TestFrameworkConstants['KEY_TEST_META']]=_0x3af0db,logger[_0x40f32a(0x14d)](_0x40f32a(0x138)+_0x2a65a6[_0x40f32a(0x19f)]+_0x40f32a(0x179)+_0x2d0c1e);const _0x87465f=[],_0xb38b90=_0x506a11[_0x40f32a(0x117)](findNestedKey,_0x4fc1a7,_0x506a11[_0x40f32a(0x11b)]);if(_0xb38b90&&_0x506a11['bVJxm'](validateFilePath,_0xb38b90))try{_0x87465f[_0x40f32a(0x15c)]({'kind':_0x506a11[_0x40f32a(0x19a)],'timestamp':new Date()[_0x40f32a(0x195)](),'test_run_uuid':_0x5492ec,'file_name':path[_0x40f32a(0x189)](_0xb38b90),'file_size':fs[_0x40f32a(0x10b)](_0xb38b90)['size'],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x51645a){logger[_0x40f32a(0x12e)](_0x40f32a(0xfd)+_0xb38b90+':\x20'+_0x51645a[_0x40f32a(0x196)]);}const _0x5730ae=TestInfo[_0x40f32a(0x18d)](),_0xc0af4e=_0x5730ae['filter'](_0x24ae37=>_0x24ae37[_0x40f32a(0x193)]===_0x5492ec);_0xc0af4e[_0x40f32a(0x134)](_0x2c7c41=>{const _0x13f939=_0x40f32a;if(_0x2c7c41[_0x13f939(0x156)]&&_0x506a11[_0x13f939(0xc0)](validateFilePath,_0x2c7c41['filePath'])&&!_0x87465f[_0x13f939(0x150)](_0x580969=>_0x580969[_0x13f939(0xc5)]===path[_0x13f939(0x189)](_0x2c7c41[_0x13f939(0x156)])))try{_0x87465f[_0x13f939(0x15c)]({'kind':_0x506a11[_0x13f939(0x19a)],'timestamp':new Date()[_0x13f939(0x195)](),'test_run_uuid':_0x5492ec,'file_name':path[_0x13f939(0x189)](_0x2c7c41[_0x13f939(0x156)]),'file_size':fs[_0x13f939(0x10b)](_0x2c7c41['filePath'])[_0x13f939(0x19d)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x994e8b){logger[_0x13f939(0x12e)](_0x13f939(0x11c)+_0x2c7c41[_0x13f939(0x156)]+_0x13f939(0xc1)+_0x994e8b[_0x13f939(0x196)]);}});if(_0x506a11['RyYMJ'](_0x87465f[_0x40f32a(0x19f)],0x0)){const _0x5a1a51=_0x36cf38[TestFrameworkConstants[_0x40f32a(0x166)]]||[];_0x36cf38[TestFrameworkConstants['KEY_LOGS']]=[..._0x5a1a51,..._0x87465f];}const _0x4ea798=TestInfo[_0x40f32a(0xe4)](_0x6d9399)[TestFrameworkConstants[_0x40f32a(0x11d)]]||{},_0x49dd56=_0x506a11[_0x40f32a(0x1bc)](getManualUploadLogs,_0x4ea798,_0x29043e[_0x40f32a(0x115)]()[_0x40f32a(0x187)](_0x6d9399)[TestFrameworkConstants[_0x40f32a(0x122)]]);if(_0x506a11['zXjBn'](_0x49dd56[_0x40f32a(0x19f)],0x0)){const _0x265a68=_0x36cf38[TestFrameworkConstants[_0x40f32a(0x166)]]||[];_0x36cf38[TestFrameworkConstants['KEY_LOGS']]=[..._0x265a68,..._0x49dd56];}const _0x74ef89=_0x4d89a7[_0x40f32a(0x1a7)]||[],_0x2e7500=_0x36cf38[TestFrameworkConstants[_0x40f32a(0xd7)]]||{},_0x168832=_0x506a11['yOGhb'](require,_0x506a11[_0x40f32a(0x178)]);_0x74ef89[_0x40f32a(0x134)](_0x1930b6=>{const _0x387bbc=_0x40f32a,{type:_0x274c49}=_0x1930b6;let _0xbf4f3e=_0x1930b6['description'];if(!_0x274c49)return;if(PLAYWRIGHT_BUILTIN_ANNOTATIONS[_0x387bbc(0x111)](_0x274c49))return;(_0x506a11['PdNEb'](_0xbf4f3e,undefined)||_0x506a11['PdNEb'](_0xbf4f3e,null)||_0x506a11[_0x387bbc(0x155)](_0x506a11[_0x387bbc(0x1be)](String,_0xbf4f3e)[_0x387bbc(0xd5)](),''))&&(_0xbf4f3e=_0x506a11[_0x387bbc(0xc2)]);const _0x52634b=helper[_0x387bbc(0x162)](_0x506a11[_0x387bbc(0x173)](String,_0xbf4f3e));_0x168832['mergeIntoTags'](_0x2e7500,_0x274c49,_0x52634b);}),_0x36cf38[TestFrameworkConstants[_0x40f32a(0xd7)]]=_0x2e7500,TestInfo[_0x40f32a(0x101)](_0x6d9399,_0x36cf38);const _0x111dae={};return _0x111dae[_0x6d9399]=_0x36cf38,_0x111dae;}[a94_0x8a8229(0x142)](_0x18b015,_0x19949e,_0x43104b){const _0x5b6d34=a94_0x8a8229,_0x2c0d95={'Jhawo':function(_0x44032e,_0x1f64a3){return _0x44032e||_0x1f64a3;},'JQNlZ':function(_0xb3b294,_0x142b65,_0x275cae){return _0xb3b294(_0x142b65,_0x275cae);}};try{const {test:_0x2ed71f,result:_0x394c07,step:_0x217370}=_0x43104b;if(_0x2c0d95[_0x5b6d34(0x1af)](!_0x2ed71f,!_0x217370)||!_0x394c07)return;const _0x14383a=_0x2c0d95[_0x5b6d34(0x128)](getTestRunIdentifier,_0x2ed71f,_0x394c07[_0x5b6d34(0xe3)]);logger[_0x5b6d34(0x14d)](_0x5b6d34(0xf8)+_0x14383a+_0x5b6d34(0x172)+_0x19949e+_0x5b6d34(0xe7)+_0x217370['title']+'\x22');}catch(_0x11a306){logger[_0x5b6d34(0x12e)]('trackStepEvent:\x20exception='+util[_0x5b6d34(0xf1)](_0x11a306));}}async[a94_0x8a8229(0xe1)](_0x26fa08,_0x1fc631,_0x268d1c,_0x51b9b7){const _0x3a978d=a94_0x8a8229,_0x3e963d={'zaiqm':function(_0x9754d4,_0x30d18e,_0x132e6c){return _0x9754d4(_0x30d18e,_0x132e6c);},'YyEMV':function(_0xa3d5ff,_0x2ab463){return _0xa3d5ff in _0x2ab463;},'WiEkz':function(_0x358684,_0x2f0f4e){return _0x358684(_0x2f0f4e);},'hMdjI':function(_0x954b44,_0x4e74a3){return _0x954b44===_0x4e74a3;},'aFBCO':function(_0x247b9f){return _0x247b9f();},'pIfTf':function(_0x32239a,_0x136847){return _0x32239a===_0x136847;},'tPYTc':function(_0x1ad9d4,_0x53b14c){return _0x1ad9d4>_0x53b14c;},'MKbpD':_0x3a978d(0x106),'yNYJR':_0x3a978d(0xc8),'JWIAr':_0x3a978d(0x169),'eeaLY':function(_0x403aaa,_0x7209ca){return _0x403aaa!==_0x7209ca;},'XbxTq':function(_0x2a02fe,_0x176a1a){return _0x2a02fe+_0x176a1a;},'VafLi':_0x3a978d(0x123)},_0x2f2a9f=_0x51b9b7[_0x3a978d(0xec)],_0x2ed725=_0x51b9b7[_0x3a978d(0x15a)],_0x486b21=_0x3e963d[_0x3a978d(0x1b6)](getTestRunIdentifier,_0x2f2a9f,_0x51b9b7[_0x3a978d(0x19b)][_0x3a978d(0xe3)]),_0x567882=_0x1fc631[_0x3a978d(0x1a5)]()[_0x3a978d(0x168)]('.')[0x1];let _0x16b8c7=_0x26fa08[_0x3a978d(0x115)]()[_0x3a978d(0x187)](_0x486b21)[TestFrameworkConstants[_0x3a978d(0x1a1)]];!_0x16b8c7&&(_0x16b8c7={});!_0x3e963d[_0x3a978d(0x1ad)](_0x567882,_0x16b8c7)&&(_0x16b8c7[_0x567882]=[]);let _0x4b0545=_0x26fa08[_0x3a978d(0x115)]()[_0x3a978d(0x187)](_0x486b21)[TestFrameworkConstants['KEY_HOOKS_FINISHED']];!_0x4b0545&&(_0x4b0545={});!_0x3e963d[_0x3a978d(0x1ad)](_0x567882,_0x4b0545)&&(_0x4b0545[_0x567882]=[]);const _0xde235c={[TestFrameworkConstants[_0x3a978d(0x1a1)]]:_0x16b8c7,[TestFrameworkConstants[_0x3a978d(0x19e)]]:_0x4b0545},_0x30fe40={};_0x30fe40[_0x486b21]=_0xde235c;const _0x19fa6f=_0x30fe40,_0x505b8f=_0x3e963d[_0x3a978d(0x113)](getPlaywrightTestFilePath,_0x2f2a9f),_0x2ac5e2=_0x505b8f,_0x3143f6=TestInfo[_0x3a978d(0xe4)](_0x486b21)[TestFrameworkConstants[_0x3a978d(0xd7)]]||{};if(_0x3e963d[_0x3a978d(0x184)](_0x268d1c,HookState['PRE'])){const _0x16a603={'key':_0x567882,[TestFrameworkConstants['KEY_HOOK_ID']]:_0x3e963d[_0x3a978d(0x129)](uuidv4),[TestFrameworkConstants[_0x3a978d(0x186)]]:TestFrameworkConstants[_0x3a978d(0x17d)],[TestFrameworkConstants[_0x3a978d(0x16b)]]:_0x2ed725[_0x3a978d(0x13f)],[TestFrameworkConstants['KEY_HOOK_LOGS']]:[],[TestFrameworkConstants[_0x3a978d(0x1a6)]]:_0x2ed725[_0x3a978d(0x177)],[TestFrameworkConstants[_0x3a978d(0x181)]]:_0x505b8f,[TestFrameworkConstants['KEY_TEST_LOCATION']]:_0x2ac5e2,[TestFrameworkConstants[_0x3a978d(0xd7)]]:_0x3143f6};_0x16b8c7[_0x567882][_0x3a978d(0x15c)](_0x16a603),_0x19fa6f[_0x486b21][TestFrameworkConstants['KEY_HOOK_LAST_STARTED']]=_0x567882,logger[_0x3a978d(0x14d)](_0x3a978d(0x144)+_0x567882+_0x3a978d(0x171)+_0x16a603+'\x20\x20and\x20args\x20=\x20'+_0x51b9b7);}else{if(_0x3e963d['pIfTf'](_0x268d1c,HookState[_0x3a978d(0xd6)])){const _0x1ad270=await _0x51b9b7['result'],_0x20b730=_0x16b8c7[_0x567882]||[],_0xd4a757=_0x51b9b7[_0x3a978d(0x15a)];logger['debug']('Hook\x20List\x20in\x20Post\x20'+_0x20b730+_0x3a978d(0xcb)+_0x51b9b7);if(_0x3e963d[_0x3a978d(0x126)](_0x20b730['length'],0x0)){const _0x56b555=_0x20b730['pop']();if(_0xd4a757[_0x3a978d(0x12e)]){const _0x490ff8=_0x3e963d['zaiqm'](failureData,_0xd4a757[_0x3a978d(0x12e)],_0x3e963d[_0x3a978d(0xd8)]);_0x56b555[TestFrameworkConstants['KEY_HOOK_FAILURE_TYPE']]=_0x3e963d[_0x3a978d(0x113)](getFailureType,_0xd4a757?.[_0x3a978d(0x12e)][_0x3a978d(0x196)]),_0x56b555[TestFrameworkConstants[_0x3a978d(0xce)]]=_0x3e963d['WiEkz'](removeAnsiColors,_0xd4a757?.['error']['message']),_0x56b555[TestFrameworkConstants[_0x3a978d(0x186)]]=_0x3e963d['yNYJR'],_0x56b555[TestFrameworkConstants[_0x3a978d(0x18b)]]=_0x490ff8;}else _0x56b555[TestFrameworkConstants[_0x3a978d(0x186)]]=_0x3e963d[_0x3a978d(0x124)];_0x3e963d[_0x3a978d(0x14f)](_0x1ad270,TestFrameworkConstants[_0x3a978d(0x17d)])&&(_0x56b555[TestFrameworkConstants['KEY_HOOK_RESULT']]=!_0xd4a757[_0x3a978d(0x12e)]?_0x3e963d[_0x3a978d(0x124)]:_0x3e963d['yNYJR']);const _0xacdca4=new Date(_0xd4a757['startTime']),_0x2c2b07=new Date(_0x3e963d[_0x3a978d(0x183)](_0xacdca4[_0x3a978d(0x1b2)](),_0xd4a757['duration']));_0x56b555[TestFrameworkConstants[_0x3a978d(0x119)]]=_0x2c2b07[_0x3a978d(0x195)](),_0x56b555[TestFrameworkConstants[_0x3a978d(0xd7)]]=_0x3143f6;const _0x386c2a=_0x56b555[TestFrameworkConstants[_0x3a978d(0x17a)]];await this['sendLogCreatedEvent'](_0x26fa08,_0x1fc631,_0x386c2a,_0x3e963d[_0x3a978d(0x13b)],_0x51b9b7),!_0x4b0545[_0x567882]&&(_0x4b0545[_0x567882]=[]),_0x4b0545[_0x567882]['push'](_0x56b555),_0x19fa6f[_0x486b21][TestFrameworkConstants[_0x3a978d(0x147)]]=_0x567882;}}}return _0x19fa6f;}async[a94_0x8a8229(0x146)](_0x48a751,_0x1feff1,_0x195818,_0x13d641,_0xcf51f1,_0xd5885e){const _0x454448=a94_0x8a8229,_0xfb44d6={'TEcPi':function(_0xa3d886,_0x57d39b){return _0xa3d886===_0x57d39b;},'xZSOb':_0x454448(0xec),'prfVI':function(_0x215f0b,_0x2b3d9a,_0x4f8d05){return _0x215f0b(_0x2b3d9a,_0x4f8d05);},'TeEws':function(_0x42e0f4,_0x4a7224,_0x2ee6cc){return _0x42e0f4(_0x4a7224,_0x2ee6cc);},'DbDfO':_0x454448(0x12f),'jMioK':function(_0x4e1b68,_0x290b78,_0x249134,_0x408564){return _0x4e1b68(_0x290b78,_0x249134,_0x408564);},'jgxNU':function(_0x404e77,_0x462983,_0x457d74){return _0x404e77(_0x462983,_0x457d74);},'crqsf':function(_0x59cfad,_0x131acc,_0x14b0b0){return _0x59cfad(_0x131acc,_0x14b0b0);},'qCtVn':function(_0x3c6862,_0x4749d1){return _0x3c6862/_0x4749d1;},'cnSAu':function(_0x773f4a,_0x52713a){return _0x773f4a<_0x52713a;},'PnEYb':function(_0x3c2349,_0x581a37){return _0x3c2349*_0x581a37;},'bADDc':function(_0x470958,_0x1acd7d){return _0x470958+_0x1acd7d;},'NhkRR':function(_0x3e8752,_0x38023e,_0x23a96e,_0x1f77cc,_0x4a4675){return _0x3e8752(_0x38023e,_0x23a96e,_0x1f77cc,_0x4a4675);},'QZRXK':_0x454448(0x123),'jgMfj':function(_0x3906ed,_0x59ecfc,_0xcc2d04){return _0x3906ed(_0x59ecfc,_0xcc2d04);}};try{if(_0xfb44d6[_0x454448(0xcf)](_0x13d641,_0xfb44d6[_0x454448(0x1a3)])){const _0x31afc8=await _0xcf51f1['result'],_0x3cb651=_0xfb44d6[_0x454448(0xeb)](getTestRunIdentifier,_0xcf51f1['test'],_0xcf51f1['result']['retry']),_0x1a2de8=_0xcf51f1[_0x454448(0xec)];logger[_0x454448(0x14d)](_0x454448(0x154)+_0x3cb651+_0x454448(0x157)+util[_0x454448(0x13c)](_0x31afc8));const _0x134e88=_0x48a751[_0x454448(0x115)]()['get'](_0x3cb651)[TestFrameworkConstants['KEY_TEST_UUID']];await _0xfb44d6['TeEws'](sendTraceZip,_0x31afc8,_0x134e88);const _0x586b84=TestInfo[_0x454448(0xe4)](_0x3cb651)[_0xfb44d6[_0x454448(0x121)]],_0x308433={};if(_0x586b84){!_0x31afc8[_0x454448(0x12f)]&&(_0x31afc8[_0x454448(0x12f)]=[]);_0x308433['attachments']=_0x31afc8[_0x454448(0x12f)]['concat'](_0x586b84||[]);const _0x5ed707=TestInfo[_0x454448(0xe4)](_0x3cb651);delete _0x5ed707[_0xfb44d6[_0x454448(0x121)]],TestInfo[_0x454448(0x101)](_0x3cb651,_0x5ed707);}const _0x5cf6dd=_0xd5885e||_0xfb44d6[_0x454448(0x12d)](getStepsAndLogs,_0x31afc8[_0x454448(0x1bf)],_0x48a751[_0x454448(0x115)]()[_0x454448(0x187)](_0x3cb651)[TestFrameworkConstants['KEY_TEST_UUID']],_0xfb44d6[_0x454448(0x1a3)])[_0x454448(0x16c)],_0x5b3cc7=_0xfb44d6['TeEws'](getScreenshots,_0x308433,_0x48a751[_0x454448(0x115)]()[_0x454448(0x187)](_0x3cb651)[TestFrameworkConstants['KEY_TEST_UUID']]),_0x1482b3=_0xfb44d6[_0x454448(0xeb)](getVideos,_0x31afc8,_0x48a751[_0x454448(0x115)]()[_0x454448(0x187)](_0x3cb651)[TestFrameworkConstants[_0x454448(0x122)]]),{_:_0x37fe49,logs:_0x322aa3}=_0xfb44d6['jgxNU'](getFailureData,_0x31afc8[_0x454448(0x1b5)],{'test_run_uuid':_0x48a751['getAllData']()[_0x454448(0x187)](_0x3cb651)[TestFrameworkConstants[_0x454448(0x122)]]}),_0x3fb4f6=TestInfo[_0x454448(0xe4)](_0x3cb651)[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]||{},_0x588863=_0xfb44d6[_0x454448(0x1c1)](getMediaArtifactsLogs,_0x3fb4f6,_0x48a751[_0x454448(0x115)]()['get'](_0x3cb651)[TestFrameworkConstants[_0x454448(0x122)]]),_0x1437e1=_0x48a751[_0x454448(0x115)]()[_0x454448(0x187)](_0x3cb651),{[TestFrameworkConstants[_0x454448(0x158)]]:_0x3e1579='',[TestFrameworkConstants[_0x454448(0x194)]]:_0x3e75d5=''}=_0x1437e1,_0x676a25=(_0x5cf6dd||[])[_0x454448(0x149)](_0x5b3cc7||[])[_0x454448(0x149)](_0x322aa3||[])[_0x454448(0x149)](_0x1482b3||[])[_0x454448(0x149)](_0x588863||[]),_0x27c4b9=0x28,_0x38e34f=Math['ceil'](_0xfb44d6[_0x454448(0x197)](_0x676a25[_0x454448(0x19f)],_0x27c4b9));for(let _0x5064f6=0x0;_0xfb44d6[_0x454448(0x1ac)](_0x5064f6,_0x38e34f);_0x5064f6++){const _0x3ceae5=_0xfb44d6[_0x454448(0x1a9)](_0x5064f6,_0x27c4b9),_0x114bea=_0xfb44d6['bADDc'](_0x3ceae5,_0x27c4b9),_0xd3793c=_0x676a25[_0x454448(0x1b8)](_0x3ceae5,_0x114bea),_0xa38a46={'platformIndex':global?.['browserstackPlatformIndex']??0x0,'logs':_0xd3793c,'testFrameworkName':_0x3e1579,'testFrameworkVersion':_0x3e75d5,'testFrameworkState':_0x1feff1['toString']()['split']('.')[0x1]};_0xfb44d6[_0x454448(0xf0)](updatePayloadForTraceLogs,_0xa38a46,_0xcf51f1,_0x3cb651,_0x48a751),logger[_0x454448(0x14d)](_0x454448(0xee)+_0x3cb651+'\x20batch\x20'+_0xfb44d6[_0x454448(0x14e)](_0x5064f6,0x1)+'/'+_0x38e34f+_0x454448(0xbd)+util[_0x454448(0x13c)](_0xa38a46));const _0x476b41=await GrpcClient[_0x454448(0xe2)]()[_0x454448(0x120)](_0xa38a46);logger[_0x454448(0x14d)](_0x454448(0xee)+_0x3cb651+_0x454448(0xc6)+_0xfb44d6[_0x454448(0x14e)](_0x5064f6,0x1)+'/'+_0x38e34f+_0x454448(0x1b4)+util[_0x454448(0x13c)](_0x476b41));}}else{const {logs:_0x143bfe}=_0xfb44d6[_0x454448(0x12d)](getStepsAndLogs,_0xcf51f1[_0x454448(0x15a)][_0x454448(0x1bf)],_0x195818,_0xfb44d6[_0x454448(0x167)]),_0x1b9851=_0xfb44d6['jgMfj'](getTestRunIdentifier,_0xcf51f1[_0x454448(0xec)],_0xcf51f1[_0x454448(0x19b)]['retry']);logger[_0x454448(0x14d)](_0x454448(0x154)+_0x1b9851);const _0x2ae6ed=_0x48a751[_0x454448(0x115)]()[_0x454448(0x187)](_0x1b9851),{[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x127266='',[TestFrameworkConstants[_0x454448(0x194)]]:_0x2a192a=''}=_0x2ae6ed,_0x371707={'platformIndex':'0','logs':_0x143bfe,'testFrameworkName':_0x127266,'testFrameworkVersion':_0x2a192a,'testFrameworkState':_0x1feff1[_0x454448(0x1a5)]()[_0x454448(0x168)]('.')[0x1]};_0xfb44d6[_0x454448(0xf0)](updatePayloadForTraceLogs,_0x371707,_0xcf51f1,_0x1b9851,_0x48a751),logger[_0x454448(0x14d)](_0x454448(0xee)+_0x1b9851+_0x454448(0xbd)+util[_0x454448(0x13c)](_0x371707));const _0x4c6a8e=await GrpcClient['getInstance']()[_0x454448(0x120)](_0x371707);}}catch(_0x12c93e){logger['error'](_0x454448(0x180)+util[_0x454448(0xf1)](_0x12c93e));}}[a94_0x8a8229(0x17b)](_0x7b6d05){const _0x2bfa11=a94_0x8a8229,_0x165205={'lXpgH':function(_0x8bd63e,_0x5eafd1,_0x4861fd){return _0x8bd63e(_0x5eafd1,_0x4861fd);},'unEGh':function(_0x754909,_0xcd67a2){return _0x754909<_0xcd67a2;},'rOPzm':_0x2bfa11(0x10e)};try{const _0x17bd87=_0x7b6d05[_0x2bfa11(0xec)]['id'],_0x2c181b=_0x165205[_0x2bfa11(0x17e)](getTestRunIdentifier,_0x7b6d05[_0x2bfa11(0xec)],_0x7b6d05[_0x2bfa11(0x19b)][_0x2bfa11(0xe3)]),_0x3f393f=_0x7b6d05[_0x2bfa11(0x114)],_0x20daf8=_0x3f393f[_0x2bfa11(0x152)](),_0x53e7d3=_0x3f393f[_0x2bfa11(0x115)]()[_0x2bfa11(0x187)](_0x2c181b);logger[_0x2bfa11(0x14d)](_0x2bfa11(0x1ba)+_0x17bd87);const {[TestFrameworkConstants[_0x2bfa11(0x158)]]:_0x3afd00='',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x23e80c='',[TestFrameworkConstants[_0x2bfa11(0xef)]]:_0x888106='',[TestFrameworkConstants[_0x2bfa11(0x133)]]:_0x142524=''}=_0x53e7d3,_0x57051a=_0x3f393f[_0x2bfa11(0x118)]()[_0x2bfa11(0x1a5)]()[_0x2bfa11(0x168)]('.')[0x1],_0x27829f=_0x3f393f[_0x2bfa11(0x13a)]()[_0x2bfa11(0x1a5)]()[_0x2bfa11(0x168)]('.')[0x1],_0x2095f8=_0x165205[_0x2bfa11(0x10d)](_0x7b6d05?.[_0x2bfa11(0x19b)]?.[_0x2bfa11(0x18c)]??0x0,0x0)?0x0:_0x7b6d05?.[_0x2bfa11(0x19b)]?.[_0x2bfa11(0x18c)]??0x0,_0x76e009=_0x3f393f[_0x2bfa11(0x11e)](),_0x54405c=Buffer[_0x2bfa11(0xf3)](JSON['stringify'](_0x53e7d3))['toString'](_0x165205[_0x2bfa11(0x11a)]),_0x2fdc2d={'hash':_0x20daf8[_0x2bfa11(0x12a)](),'threadId':_0x20daf8[_0x2bfa11(0x18f)]()[_0x2bfa11(0x1a5)](),'processId':_0x20daf8['getProcessId']()[_0x2bfa11(0x1a5)]()},_0x24f208={};_0x24f208['platformIndex']=_0x2095f8,_0x24f208[_0x2bfa11(0x192)]=_0x3afd00,_0x24f208[_0x2bfa11(0x1bd)]=_0x23e80c,_0x24f208['testFrameworkState']=_0x57051a,_0x24f208[_0x2bfa11(0x190)]=_0x27829f,_0x24f208[_0x2bfa11(0x164)]=_0x888106,_0x24f208[_0x2bfa11(0xf7)]=_0x142524,_0x24f208[_0x2bfa11(0xbb)]=_0x76e009,_0x24f208[_0x2bfa11(0x185)]=_0x54405c,_0x24f208['executionContext']=_0x2fdc2d;const _0x550b54=_0x24f208;return logger[_0x2bfa11(0x14d)](_0x2bfa11(0xbc)+_0x17bd87+_0x2bfa11(0xd1)+_0x57051a+_0x2bfa11(0xcc)+_0x27829f),_0x550b54;}catch(_0x59e29f){return logger[_0x2bfa11(0x12e)]('Error\x20in\x20createTestFrameworkEventPayload:\x20'+util[_0x2bfa11(0xf1)](_0x59e29f)),{};}}}module[a94_0x8a8229(0x110)]=PlaywrightTestFramework;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a95_0x26b44b=a95_0x4228;(function(_0x4f5462,_0x192a51){const _0x3748af=a95_0x4228,_0x343341=_0x4f5462();while(!![]){try{const _0x4fb2f6=-parseInt(_0x3748af(0xe9))/0x1*(parseInt(_0x3748af(0xda))/0x2)+-parseInt(_0x3748af(0xd9))/0x3+-parseInt(_0x3748af(0xd7))/0x4*(parseInt(_0x3748af(0xee))/0x5)+-parseInt(_0x3748af(0xd6))/0x6+parseInt(_0x3748af(0xe7))/0x7*(parseInt(_0x3748af(0xef))/0x8)+parseInt(_0x3748af(0xf3))/0x9+parseInt(_0x3748af(0xf2))/0xa;if(_0x4fb2f6===_0x192a51)break;else _0x343341['push'](_0x343341['shift']());}catch(_0x5a67bb){_0x343341['push'](_0x343341['shift']());}}}(a95_0x5aa3,0xccdd2));const AutomationFramework=require(a95_0x26b44b(0xeb)),{createClassLogger}=require('../../../helpers/classLogger.js'),AutomationFrameworkState=require(a95_0x26b44b(0xed)),HookState=require('../state/hookState.js'),CLIUtils=require('../cliUtils.js'),TrackedInstance=require('../instances/trackedInstance.js'),AutomationFrameworkInstance=require(a95_0x26b44b(0xe1));function a95_0x5aa3(){const _0x4164b3=['getId','./automationFramework.js','getAutomationFrameworkName','../state/automationFrameworkState.js','8545ocobrT','103624QZfYIM',',\x20state=','trackEvent:\x20No\x20instance\x20found,\x20skipping\x20tracking','51583970RrcrkL','5451300FhuHKV','PRE','resolveInstance','getCurrentInstanceName','getTrackedInstance','ikeyn','debug','iXJVn','trackPuppeteerInstance','NONE','9473100eQeRJg','2140qekGgs','RZYOH','3612399KyLbBX','2OuqwLG','logger','instance','trackPuppeteerInstance:\x20saved\x20instance\x20contextId=','trackEvent:\x20automationFrameworkState=','trackEvent','info','../instances/automationFrameworkInstance.js','exports','getAutomationFrameworkVersion','NWQYZ','trackPuppeteerInstance:\x20created\x20instance\x20for\x20target=','qxcfV','63QeSOnf','runHooks','1344254PTYzGw'];a95_0x5aa3=function(){return _0x4164b3;};return a95_0x5aa3();}class PuppeteerAutomationFramework extends AutomationFramework{[a95_0x26b44b(0xdb)]=createClassLogger('PuppeteerAutomationFramework');constructor(_0x274cd5,_0x35d990){super(_0x274cd5,_0x35d990);}async[a95_0x26b44b(0xdf)](_0x7a374e,_0x2a1151,_0x5db4bb={}){const _0x415734=a95_0x26b44b,_0x10a271={};_0x10a271[_0x415734(0xf8)]=function(_0x3b7f23,_0x3a1456){return _0x3b7f23===_0x3a1456;},_0x10a271[_0x415734(0xfa)]=_0x415734(0xf1);const _0x593ae8=_0x10a271;this[_0x415734(0xdb)][_0x415734(0xf9)](_0x415734(0xde)+_0x7a374e+'\x20hookState='+_0x2a1151),await super[_0x415734(0xdf)](_0x7a374e,_0x2a1151,_0x5db4bb);const _0x170600=this[_0x415734(0xf5)](_0x7a374e,_0x2a1151,_0x5db4bb);if(_0x593ae8[_0x415734(0xf8)](_0x170600,null)){this[_0x415734(0xdb)][_0x415734(0xf9)](_0x593ae8[_0x415734(0xfa)]);return;}_0x5db4bb[_0x415734(0xdc)]=_0x170600,await this[_0x415734(0xe8)](_0x170600,_0x7a374e,_0x2a1151,_0x5db4bb);}[a95_0x26b44b(0xf5)](_0x3d5c29,_0x29b2c3,_0x2789d5={}){const _0x5a608f=a95_0x26b44b,_0x13d6be={};_0x13d6be[_0x5a608f(0xe4)]=function(_0x15bc1b,_0x2f692c){return _0x15bc1b===_0x2f692c;},_0x13d6be[_0x5a608f(0xe6)]=function(_0x4af470,_0x3c0b06){return _0x4af470===_0x3c0b06;};const _0xbe11bf=_0x13d6be;let _0x281ae5=null;return(_0xbe11bf['NWQYZ'](_0x3d5c29,AutomationFrameworkState['CREATE'])&&_0xbe11bf[_0x5a608f(0xe6)](_0x29b2c3,HookState[_0x5a608f(0xf4)])||_0xbe11bf[_0x5a608f(0xe6)](_0x3d5c29,AutomationFrameworkState[_0x5a608f(0xfc)]))&&this['trackPuppeteerInstance'](_0x3d5c29,_0x2789d5),_0x281ae5=AutomationFramework[_0x5a608f(0xf7)](),_0x281ae5;}[a95_0x26b44b(0xfb)](_0x45f6b1,_0x445d52){const _0x32c93c=a95_0x26b44b,_0x4d11f8={};_0x4d11f8[_0x32c93c(0xd8)]='trackPuppeteerInstance:\x20instance\x20already\x20exists';const _0x1edd06=_0x4d11f8;if(AutomationFramework[_0x32c93c(0xf7)]()){this['logger'][_0x32c93c(0xe0)](_0x1edd06[_0x32c93c(0xd8)]);return;}const _0x575bee=CLIUtils[_0x32c93c(0xf6)](),_0x133a31=TrackedInstance['createContext'](_0x575bee);let _0x467cf7=null;this[_0x32c93c(0xdb)]['info'](_0x32c93c(0xe5)+_0x575bee+_0x32c93c(0xf0)+_0x45f6b1),_0x467cf7=new AutomationFrameworkInstance(_0x133a31,this[_0x32c93c(0xec)](),this[_0x32c93c(0xe3)](),_0x45f6b1),AutomationFramework['setTrackedInstance'](_0x133a31,_0x467cf7),this[_0x32c93c(0xdb)][_0x32c93c(0xe0)](_0x32c93c(0xdd)+_0x133a31[_0x32c93c(0xea)]()+'\x20target='+_0x575bee);}}function a95_0x4228(_0x1ab1cb,_0x29e511){const _0x5aa3fe=a95_0x5aa3();return a95_0x4228=function(_0x422805,_0x186b85){_0x422805=_0x422805-0xd6;let _0x3ba3a5=_0x5aa3fe[_0x422805];return _0x3ba3a5;},a95_0x4228(_0x1ab1cb,_0x29e511);}module[a95_0x26b44b(0xe2)]=PuppeteerAutomationFramework;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a96_0xa758(){const _0x284aa6=['120872hnNIOu','203892thBVcU','getTestFrameworks','636130DRsSKc','setCurrentHookState','__bstack_test_framework_instances__','debug','2124695kEHPnD','getHookRegistryKey','getInstances','createContext','../cliUtils','getState','testFrameworks','../instances/trackedContext','../state/hookState','6wVZJvz','set','214vVOGUC','10GxupZO',';\x20hookState=','getId','get','14971956lGSIIV','getAllData','../instances/trackedInstance','getTrackedInstance','instances','registerObserver','has','469SbGJCl','setCurrentTestState','../instances/testFrameworkInstance','../state/testFrameworkState','testFrameworkVersions','4523UvvVhK','69hIpRNz','binSessionId','hasState','../../../helpers/classLogger','2628108WLHGCo','getTestFrameworksVersions'];a96_0xa758=function(){return _0x284aa6;};return a96_0xa758();}const a96_0x5a0bdc=a96_0x17f0;(function(_0x14b41c,_0x202f4a){const _0x2b698e=a96_0x17f0,_0x48a6ed=_0x14b41c();while(!![]){try{const _0x129450=-parseInt(_0x2b698e(0x153))/0x1*(-parseInt(_0x2b698e(0x16c))/0x2)+-parseInt(_0x2b698e(0x154))/0x3*(-parseInt(_0x2b698e(0x15b))/0x4)+parseInt(_0x2b698e(0x161))/0x5*(-parseInt(_0x2b698e(0x16a))/0x6)+-parseInt(_0x2b698e(0x14e))/0x7*(-parseInt(_0x2b698e(0x15a))/0x8)+-parseInt(_0x2b698e(0x158))/0x9+-parseInt(_0x2b698e(0x16d))/0xa*(parseInt(_0x2b698e(0x15d))/0xb)+-parseInt(_0x2b698e(0x171))/0xc;if(_0x129450===_0x202f4a)break;else _0x48a6ed['push'](_0x48a6ed['shift']());}catch(_0x440b57){_0x48a6ed['push'](_0x48a6ed['shift']());}}}(a96_0xa758,0x9dc37));const CLIUtils=require(a96_0x5a0bdc(0x165)),eventDispatcher=require('../eventDispatcher'),TestFrameworkInstance=require(a96_0x5a0bdc(0x150)),TrackedContext=require(a96_0x5a0bdc(0x168)),TestFrameworkState=require(a96_0x5a0bdc(0x151)),HookState=require(a96_0x5a0bdc(0x169)),{createClassLogger}=require(a96_0x5a0bdc(0x157)),TrackedInstance=require(a96_0x5a0bdc(0x173)),logger=createClassLogger('TestFramework');function a96_0x17f0(_0x36aecd,_0x163b0b){const _0xa75824=a96_0xa758();return a96_0x17f0=function(_0x17f012,_0x33ed58){_0x17f012=_0x17f012-0x14c;let _0x2a1255=_0xa75824[_0x17f012];return _0x2a1255;},a96_0x17f0(_0x36aecd,_0x163b0b);}!global[a96_0x5a0bdc(0x15f)]&&(global[a96_0x5a0bdc(0x15f)]=new Map());class TestFramework{static get['instances'](){const _0x16555b=a96_0x5a0bdc;return global[_0x16555b(0x15f)];}[a96_0x5a0bdc(0x167)]=[];[a96_0x5a0bdc(0x152)]={};['binSessionId']=null;constructor(_0x5a99f7,_0x3afce0,_0x41166a){const _0x5842d0=a96_0x5a0bdc;this[_0x5842d0(0x167)]=_0x5a99f7,this[_0x5842d0(0x152)]=_0x3afce0,this[_0x5842d0(0x155)]=_0x41166a;}[a96_0x5a0bdc(0x163)](){const _0xc8d4de=a96_0x5a0bdc;return TestFramework[_0xc8d4de(0x175)];}['setInstance'](_0x3de463,_0x496ab9){const _0x97d386=a96_0x5a0bdc;TestFramework[_0x97d386(0x175)][_0x97d386(0x16b)](_0x3de463[_0x97d386(0x16f)],_0x496ab9);}static[a96_0x5a0bdc(0x174)](){const _0x1c56f6=a96_0x5a0bdc,_0x18cca1=TrackedInstance[_0x1c56f6(0x164)](CLIUtils['getCurrentInstanceName']());return TestFramework['instances'][_0x1c56f6(0x170)](_0x18cca1['getId']());}static['setTrackedInstance'](_0xd41ae9,_0x6c0fb9){const _0x3c058a=a96_0x5a0bdc;TestFramework[_0x3c058a(0x175)][_0x3c058a(0x16b)](_0xd41ae9['getId'](),_0x6c0fb9);}[a96_0x5a0bdc(0x159)](){return this['testFrameworkVersions'];}[a96_0x5a0bdc(0x15c)](){return this['testFrameworks'];}['trackEvent'](_0x59a4b8,_0x55b01c,_0x325ac5={}){const _0x166360=a96_0x5a0bdc;logger[_0x166360(0x160)]('trackEvent:\x20testFrameworkState='+_0x59a4b8+_0x166360(0x16e)+_0x55b01c);}async['runHooks'](_0x2eecf2,_0x353b59,_0x3205da,_0x10fc4b={}){const _0x8793ca=a96_0x5a0bdc,_0x37b0e7=CLIUtils['getHookRegistryKey'](_0x353b59,_0x3205da);_0x2eecf2[_0x8793ca(0x14f)](_0x353b59),_0x2eecf2[_0x8793ca(0x15e)](_0x3205da),await eventDispatcher['notifyObserver'](_0x37b0e7,_0x10fc4b);}static[a96_0x5a0bdc(0x14c)](_0x108896,_0x4374c5,_0x3d1974){const _0x3f89de=a96_0x5a0bdc;eventDispatcher['registerObserver'](CLIUtils[_0x3f89de(0x162)](_0x108896,_0x4374c5),_0x3d1974);}static[a96_0x5a0bdc(0x166)](_0x2e5091,_0x2bed30){const _0x4fe5dd=a96_0x5a0bdc;return _0x2e5091['getAllData']()[_0x4fe5dd(0x170)](_0x2bed30);}static['setState'](_0x593f42,_0x4d864a,_0x472161){const _0x5614f1=a96_0x5a0bdc;_0x593f42[_0x5614f1(0x172)]()[_0x5614f1(0x16b)](_0x4d864a,_0x472161);}static[a96_0x5a0bdc(0x156)](_0x37b3ef,_0xd063d){const _0x198df6=a96_0x5a0bdc;return _0x37b3ef['getAllData']()[_0x198df6(0x14d)](_0xd063d);}}module['exports']=TestFramework;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';
|
|
1
|
+
'use strict';const a97_0x290040=a97_0x1049;(function(_0x4095c1,_0x1ff7bf){const _0x4f8d82=a97_0x1049,_0xf094fe=_0x4095c1();while(!![]){try{const _0x351cfc=-parseInt(_0x4f8d82(0xac))/0x1*(parseInt(_0x4f8d82(0xad))/0x2)+parseInt(_0x4f8d82(0xd3))/0x3+-parseInt(_0x4f8d82(0xbc))/0x4+parseInt(_0x4f8d82(0xa3))/0x5*(-parseInt(_0x4f8d82(0xbd))/0x6)+parseInt(_0x4f8d82(0xd0))/0x7*(-parseInt(_0x4f8d82(0xcb))/0x8)+-parseInt(_0x4f8d82(0xcc))/0x9+parseInt(_0x4f8d82(0xb7))/0xa;if(_0x351cfc===_0x1ff7bf)break;else _0xf094fe['push'](_0xf094fe['shift']());}catch(_0x15d410){_0xf094fe['push'](_0xf094fe['shift']());}}}(a97_0x342d,0x716b1));const AutomationFramework=require('./automationFramework.js'),AutomationFrameworkInstance=require(a97_0x290040(0xa6)),AutomationFrameworkState=require(a97_0x290040(0xa9)),TrackedInstance=require(a97_0x290040(0xb1)),{createClassLogger}=require('../../../helpers/classLogger.js'),logger=createClassLogger(a97_0x290040(0xb6));class TestCafeAutomationFramework extends AutomationFramework{constructor(_0x336f53,_0x56e93b){super(_0x336f53,_0x56e93b);}async[a97_0x290040(0xa4)](_0x44d722,_0x5b3fc0,_0x1f3765={}){const _0x42d6a0=a97_0x290040;await super[_0x42d6a0(0xa4)](_0x44d722,_0x5b3fc0,_0x1f3765);const _0x16c19b=this[_0x42d6a0(0xbe)](_0x44d722,_0x5b3fc0,_0x1f3765);if(!_0x16c19b){logger[_0x42d6a0(0xb3)](_0x42d6a0(0xc5)+_0x44d722+_0x42d6a0(0xb5)+_0x5b3fc0);return;}_0x1f3765['instance']=_0x16c19b,await this[_0x42d6a0(0xc4)](_0x16c19b,_0x44d722,_0x5b3fc0,_0x1f3765);}[a97_0x290040(0xbe)](_0x349542,_0x23d08c,_0x5635a7={}){const _0x4c2231=a97_0x290040,_0x2e247c={};_0x2e247c[_0x4c2231(0xbf)]=_0x4c2231(0xca),_0x2e247c[_0x4c2231(0xc8)]=function(_0x322c88,_0x180e03){return _0x322c88===_0x180e03;},_0x2e247c[_0x4c2231(0xaf)]=function(_0x145342,_0x26695c){return _0x145342===_0x26695c;},_0x2e247c[_0x4c2231(0xa8)]=function(_0x2d0e8e,_0x15b1a4){return _0x2d0e8e||_0x15b1a4;};const _0x3238fc=_0x2e247c,_0x4840d7=_0x5635a7[_0x4c2231(0xc3)]||null;if(!_0x4840d7)return logger[_0x4c2231(0xc7)](_0x3238fc['opPDP']),AutomationFramework[_0x4c2231(0xc0)]();const _0x2dfc05=Number['isInteger'](_0x5635a7[_0x4c2231(0xc1)])?_0x5635a7['platformIndex']:0x0,_0x33d5e5=_0x4c2231(0xb2)+_0x4840d7+'#'+_0x2dfc05;let _0x4f981f=AutomationFramework['instances']['get'](_0x33d5e5);if(!_0x4f981f&&(_0x3238fc[_0x4c2231(0xc8)](_0x349542,AutomationFrameworkState[_0x4c2231(0xa2)])||_0x3238fc['spxEJ'](_0x349542,AutomationFrameworkState[_0x4c2231(0xb0)]))){const _0x352a9b=TrackedInstance[_0x4c2231(0xc2)](_0x33d5e5);_0x4f981f=new AutomationFrameworkInstance(_0x352a9b,this[_0x4c2231(0x9f)](),this[_0x4c2231(0xa0)](),_0x349542),AutomationFramework['instances'][_0x4c2231(0xc6)](_0x33d5e5,_0x4f981f),logger[_0x4c2231(0xba)](_0x4c2231(0xae)+_0x4840d7+'\x22\x20platformIndex='+_0x2dfc05+_0x4c2231(0xd1)+_0x33d5e5);}return _0x3238fc[_0x4c2231(0xa8)](_0x4f981f,null);}static['removeInstance'](_0x183454,_0x28cb81=0x0){const _0x1a1a48=a97_0x290040,_0xbaec93=_0x1a1a48(0xb2)+_0x183454+'#'+_0x28cb81;return AutomationFramework['instances'][_0x1a1a48(0xcd)](_0xbaec93);}static[a97_0x290040(0xa1)](_0x4f6d44,_0x3f3810=0x0){const _0x515b58=a97_0x290040;return AutomationFramework[_0x515b58(0xce)]['get'](_0x515b58(0xb2)+_0x4f6d44+'#'+_0x3f3810)||null;}static*['iterAllInstances'](){const _0x24392c=a97_0x290040,_0x21ef9a={};_0x21ef9a['WWuuR']=function(_0x2729a5,_0x36384d){return _0x2729a5===_0x36384d;},_0x21ef9a[_0x24392c(0xc9)]=_0x24392c(0xb9),_0x21ef9a[_0x24392c(0xcf)]='testcafe:',_0x21ef9a[_0x24392c(0xb4)]=function(_0x39c9e9,_0x47c265){return _0x39c9e9+_0x47c265;};const _0x485695=_0x21ef9a;for(const [_0x3689f5,_0x365a58]of AutomationFramework[_0x24392c(0xce)][_0x24392c(0xa7)]()){if(_0x485695[_0x24392c(0xbb)](typeof _0x3689f5,_0x485695[_0x24392c(0xc9)])&&_0x3689f5['startsWith'](_0x485695[_0x24392c(0xcf)])){const _0x223503=_0x3689f5[_0x24392c(0xaa)](_0x485695[_0x24392c(0xcf)][_0x24392c(0xab)]),_0x1421f5=_0x223503['lastIndexOf']('#');if(_0x485695[_0x24392c(0xbb)](_0x1421f5,-0x1)){const _0x5e4253={};_0x5e4253['userAgent']=_0x223503,_0x5e4253[_0x24392c(0xc1)]=0x0,_0x5e4253[_0x24392c(0xd2)]=_0x365a58,yield _0x5e4253;}else{const _0xa70ded=_0x223503[_0x24392c(0xaa)](0x0,_0x1421f5),_0x6f559=Number[_0x24392c(0xb8)](_0x223503['slice'](_0x485695[_0x24392c(0xb4)](_0x1421f5,0x1)),0xa)||0x0,_0x88ba2b={};_0x88ba2b[_0x24392c(0xc3)]=_0xa70ded,_0x88ba2b[_0x24392c(0xc1)]=_0x6f559,_0x88ba2b[_0x24392c(0xd2)]=_0x365a58,yield _0x88ba2b;}}}}}function a97_0x1049(_0x1e694c,_0x2c0085){const _0x342df6=a97_0x342d();return a97_0x1049=function(_0x1049ad,_0x529ecf){_0x1049ad=_0x1049ad-0x9f;let _0x752b53=_0x342df6[_0x1049ad];return _0x752b53;},a97_0x1049(_0x1e694c,_0x2c0085);}module[a97_0x290040(0xa5)]=TestCafeAutomationFramework;function a97_0x342d(){const _0x3a4fcb=['opPDP','getTrackedInstance','platformIndex','createContext','userAgent','runHooks','trackEvent:\x20no\x20instance\x20for\x20state=','set','warn','ihbxs','dJqJp','resolveInstance:\x20no\x20userAgent\x20in\x20args;\x20falling\x20back\x20to\x20default\x20tracked\x20instance','8OzTvIH','4006845OonXln','delete','instances','kkAnJ','5771339zHPsBH','\x20→\x20','instance','1345710moFlVF','getAutomationFrameworkName','getAutomationFrameworkVersion','getInstanceByUserAgent','CREATE','2673815XiIStg','trackEvent','exports','../instances/automationFrameworkInstance.js','entries','tZpHs','../state/automationFrameworkState.js','slice','length','3EGiBew','356276JXzuLG','resolveInstance:\x20created\x20instance\x20for\x20userAgent=\x22','spxEJ','NONE','../instances/trackedInstance.js','testcafe:','debug','BgAEp','\x20hookState=','TestCafeAutomationFramework','31140940FfwGNA','parseInt','string','info','WWuuR','3036976PJPLqY','6AcLWLK','resolveInstance'];a97_0x342d=function(){return _0x3a4fcb;};return a97_0x342d();}
|