browserstack-node-sdk 1.65.7 → 1.66.1
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/generated/sdk-messages_pb.d.ts +118 -0
- package/generated/sdk-messages_pb.js +908 -0
- package/generated/sdk_grpc_pb.d.ts +10 -0
- package/generated/sdk_grpc_pb.js +74 -0
- package/package.json +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/detox/a11ySetup.js +1 -0
- package/src/bin/detox/command.js +2 -0
- package/src/bin/detox/modifyDetoxConf.js +1 -0
- package/src/bin/detox/traEmitter.js +1 -0
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jasmine/bstack-reporter/customReporter.js +1 -1
- package/src/bin/jasmine/command.js +1 -1
- package/src/bin/jasmine/test.setup.js +1 -1
- package/src/bin/jasmine/testRunMap.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customSequencer.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test.setup.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/load/index.js +1 -1
- package/src/bin/load/loadErrors.js +1 -1
- package/src/bin/load/loadUtils.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/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/node-generic/client.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/reporterArgs.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/nodeGenericTestFramework.js +1 -1
- package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
- package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
- package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
- package/src/bin/v2/framework/testFramework.js +1 -1
- package/src/bin/v2/framework/testcafeAutomationFramework.js +1 -1
- package/src/bin/v2/framework/testcafeTestFramework.js +1 -1
- package/src/bin/v2/grpcClient.js +1 -1
- package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/trackedContext.js +1 -1
- package/src/bin/v2/instances/trackedInstance.js +1 -1
- package/src/bin/v2/modules/accessibilityModule.js +1 -1
- package/src/bin/v2/modules/baseModule.js +1 -1
- package/src/bin/v2/modules/loadTestModule.js +1 -1
- package/src/bin/v2/modules/observabilityModule.js +1 -1
- package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
- package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
- package/src/bin/v2/modules/testcafeDriverModule.js +1 -1
- package/src/bin/v2/modules/testhubModule.js +1 -1
- package/src/bin/v2/sdkErrorHandler.js +1 -1
- package/src/bin/v2/state/automationFrameworkState.js +1 -1
- package/src/bin/v2/state/hookState.js +1 -1
- package/src/bin/v2/state/testFrameworkState.js +1 -1
- package/src/bin/v2/uploadAttachmentsManager.js +1 -1
- package/src/bin/v2/utils/cucumber-utils.js +1 -1
- package/src/bin/v2/utils/jest-utils.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/detox-driver/a11y.js +574 -0
- package/src/detox-driver/allocationDriver.js +26 -0
- package/src/detox-driver/cloudPlatformAction.js +111 -0
- package/src/detox-driver/environment.js +253 -0
- package/src/detox-driver/expect.js +44 -0
- package/src/detox-driver/index.js +12 -0
- package/src/detox-driver/login-timeout-preload.js +25 -0
- package/src/detox-driver/runtimeDriver.js +351 -0
- package/src/detox-driver/session-reporter.js +41 -0
- package/src/detox-driver/tra-capture.js +81 -0
- 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/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/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 a96_0x1b0677=a96_0x3bcb;(function(_0x55cade,_0x1ad983){const _0x3a8e38=a96_0x3bcb,_0x1f648e=_0x55cade();while(!![]){try{const _0x342e55=parseInt(_0x3a8e38(0x251))/0x1*(-parseInt(_0x3a8e38(0x19e))/0x2)+-parseInt(_0x3a8e38(0x1e4))/0x3*(-parseInt(_0x3a8e38(0x268))/0x4)+parseInt(_0x3a8e38(0x230))/0x5*(parseInt(_0x3a8e38(0x299))/0x6)+-parseInt(_0x3a8e38(0x1f6))/0x7+-parseInt(_0x3a8e38(0x1a1))/0x8*(-parseInt(_0x3a8e38(0x238))/0x9)+-parseInt(_0x3a8e38(0x275))/0xa+parseInt(_0x3a8e38(0x1e0))/0xb;if(_0x342e55===_0x1ad983)break;else _0x1f648e['push'](_0x1f648e['shift']());}catch(_0x2aabc3){_0x1f648e['push'](_0x1f648e['shift']());}}}(a96_0x475d,0xa43ea));const TestFramework=require(a96_0x1b0677(0x1a7)),TestFrameworkState=require(a96_0x1b0677(0x1a8)),HookState=require('../state/hookState.js'),{createClassLogger}=require(a96_0x1b0677(0x296)),TestFrameworkInstance=require(a96_0x1b0677(0x269)),CLIUtils=require('../cliUtils.js'),TrackedInstance=require(a96_0x1b0677(0x240)),TestFrameworkConstants=require(a96_0x1b0677(0x21e)),logger=createClassLogger(a96_0x1b0677(0x26c)),{v4:uuidv4}=require(a96_0x1b0677(0x207)),util=require(a96_0x1b0677(0x243)),{getPlaywrightSessionName,getPlaywrightTestFilePath,getPlaywrightTestId,getPlaywrightTestTitle,getPlaywrightTestTags,getPlaywrightTestCode,getPlaywrightTestScope,getPlaywrightTestScopes,getStepsAndLogs,getScreenshots,getVideos,getPlaywrightCustomRerunParam,getMediaArtifactsLogs,getManualUploadLogs,updatePayloadForTraceLogs}=require(a96_0x1b0677(0x297)),TestInfo=require('../TestInfo.js'),GrpcClient=require(a96_0x1b0677(0x1da)),{removeAnsiColors,getFailureType,failureData}=require(a96_0x1b0677(0x1ff)),{getFailureData,getTestTags,getTestRunIdentifier}=require(a96_0x1b0677(0x215)),{findNestedKey,sendTraceZip,validateFilePath}=require(a96_0x1b0677(0x215)),path=require(a96_0x1b0677(0x27c)),fs=require('fs'),helper=require(a96_0x1b0677(0x24a)),{PLAYWRIGHT_TRACE_LOGS}=require(a96_0x1b0677(0x1d4)),PLAYWRIGHT_BUILTIN_ANNOTATIONS=new Set([a96_0x1b0677(0x298),a96_0x1b0677(0x1f8),'slow','fail']);class PlaywrightTestFramework extends TestFramework{constructor(_0x1cf3c1,_0x57ab34,_0x5f0c72){super(_0x1cf3c1,_0x57ab34,_0x5f0c72);}async[a96_0x1b0677(0x1ad)](_0x176f22,_0x55e898,_0x1b8254={}){const _0x210743=a96_0x1b0677,_0x410e1c={'HCwtE':function(_0x4bc147,_0x1f2952){return _0x4bc147===_0x1f2952;},'DbuJV':function(_0x35b447,_0x151674){return _0x35b447===_0x151674;},'rYUoA':function(_0x176930,_0x170db2,_0x1bee7e){return _0x176930(_0x170db2,_0x1bee7e);},'sdMLy':function(_0x586dde,_0x5e1bfe){return _0x586dde===_0x5e1bfe;},'MYMGC':function(_0x46cd2b,_0x21edf9){return _0x46cd2b===_0x21edf9;},'duEpw':function(_0x2ef656,_0xe4496b,_0x5a344d){return _0x2ef656(_0xe4496b,_0x5a344d);},'FGiKm':function(_0x1229ff,_0x4affab,_0x116a4d,_0x3690e8){return _0x1229ff(_0x4affab,_0x116a4d,_0x3690e8);},'giIaP':_0x210743(0x1cd),'PBZfw':_0x210743(0x1d6)};super[_0x210743(0x1ad)](_0x176f22,_0x55e898,_0x1b8254);if(_0x410e1c[_0x210743(0x1f5)](_0x176f22,TestFrameworkState[_0x210743(0x1af)])){const _0x4881b5=TestInfo[_0x210743(0x1db)](_0x1b8254[_0x210743(0x1cd)],_0x1b8254[_0x210743(0x1cd)]['retry']);TestInfo[_0x210743(0x216)](_0x4881b5,_0x1b8254[_0x210743(0x226)],!![]);}if(_0x410e1c[_0x210743(0x1f5)](_0x176f22,TestFrameworkState[_0x210743(0x233)])){this[_0x210743(0x1f7)](_0x176f22,_0x55e898,_0x1b8254);return;}const _0xb28271=this[_0x210743(0x235)](_0x176f22,_0x55e898,_0x1b8254);if(!_0xb28271)return;logger['debug'](_0x210743(0x256)+_0x176f22+'\x20hookState='+_0x55e898+'\x20instanceId='+_0xb28271[_0x210743(0x2a0)]());try{if(_0x410e1c['DbuJV'](_0x55e898,HookState[_0x210743(0x232)])&&_0x410e1c['DbuJV'](_0x176f22,TestFrameworkState['TEST'])){const _0x1858f6=_0x1b8254['test'];logger['debug']('trackEvent\x20loading\x20testData\x20for\x20testId:\x20'+_0x1858f6['id']+'}');const _0x2cb6e0=TestInfo[_0x210743(0x1e9)](_0x410e1c['rYUoA'](getTestRunIdentifier,_0x1858f6,_0x1b8254[_0x210743(0x226)][_0x210743(0x1b0)]));_0xb28271[_0x210743(0x23e)](this[_0x210743(0x200)](_0x2cb6e0,_0x1858f6,_0x1b8254[_0x210743(0x226)])),logger[_0x210743(0x22f)](_0x210743(0x1c9)+_0x1858f6['id']+',\x20testFrameworkState='+_0x176f22+_0x210743(0x19c)+_0x55e898+_0x210743(0x196)+_0xb28271[_0x210743(0x2a0)]());}if(_0x410e1c['sdMLy'](_0x55e898,HookState['POST'])&&_0x410e1c[_0x210743(0x1a9)](_0x176f22,TestFrameworkState['TEST'])){const _0x5b9b66=_0x1b8254[_0x210743(0x1cd)],_0x2e7423=_0x1b8254[_0x210743(0x226)];logger[_0x210743(0x22f)](_0x210743(0x260)+_0x5b9b66['id']);const _0x42f957=_0x410e1c[_0x210743(0x1d1)](getTestRunIdentifier,_0x5b9b66,_0x2e7423[_0x210743(0x1b0)]),_0x1868be=_0xb28271[_0x210743(0x1df)]()['get'](_0x42f957)[TestFrameworkConstants[_0x210743(0x27b)]],{steps:_0x2316c8,logs:_0x15e45a}=_0x410e1c[_0x210743(0x198)](getStepsAndLogs,_0x2e7423[_0x210743(0x289)],_0x1868be,_0x410e1c[_0x210743(0x1c6)]);_0xb28271[_0x210743(0x23e)](this[_0x210743(0x25f)](_0x5b9b66['id'],_0x2e7423,_0x5b9b66,_0x2316c8)),await this['sendLogCreatedEvent'](_0xb28271,_0x176f22,_0x55e898,_0x410e1c['giIaP'],_0x1b8254,_0x15e45a);}if(CLIUtils[_0x210743(0x1b6)](_0x176f22[_0x210743(0x274)]()[_0x210743(0x1c7)]('.')[0x1])){const _0x5c7a35=await this['trackHookEvent'](_0xb28271,_0x176f22,_0x55e898,_0x1b8254);_0xb28271[_0x210743(0x23e)](_0x5c7a35);}}catch(_0xd47dcd){logger[_0x210743(0x1fb)](util[_0x210743(0x1cb)](_0x410e1c['PBZfw'],_0x176f22,_0x55e898,_0x1b8254[_0x210743(0x1b4)],_0xd47dcd));}_0x1b8254[_0x210743(0x210)]=_0xb28271,await this['runHooks'](_0xb28271,_0x176f22,_0x55e898,_0x1b8254);}[a96_0x1b0677(0x235)](_0x3eb616,_0x3b5710,_0x35f913={}){const _0x5d8e21=a96_0x1b0677,_0x501a59={};_0x501a59['rxUmm']=function(_0x2e7ade,_0x4ead6b){return _0x2e7ade===_0x4ead6b;},_0x501a59['WHMYL']=function(_0x2b36de,_0x5d0c86){return _0x2b36de===_0x5d0c86;};const _0x498bbd=_0x501a59;let _0x3cef56=null;return(_0x498bbd[_0x5d8e21(0x227)](_0x3eb616,TestFrameworkState[_0x5d8e21(0x23f)])||_0x498bbd[_0x5d8e21(0x1f2)](_0x3eb616,TestFrameworkState[_0x5d8e21(0x278)]))&&this[_0x5d8e21(0x1ea)](_0x3eb616,_0x35f913),_0x3cef56=TestFramework[_0x5d8e21(0x254)](),_0x3cef56;}[a96_0x1b0677(0x1ea)](_0x300aea,_0x8f9fac){const _0x3b0816=a96_0x1b0677,_0x456fc4=CLIUtils[_0x3b0816(0x203)](),_0x2836a7=TrackedInstance['createContext'](_0x456fc4);let _0x9a8b33=null;logger[_0x3b0816(0x218)]('trackPlaywrightInstance:\x20created\x20instance\x20for\x20target='+_0x456fc4+_0x3b0816(0x25e)+_0x300aea),_0x9a8b33=new TestFrameworkInstance(_0x2836a7,this[_0x3b0816(0x26e)](),this[_0x3b0816(0x26b)](),_0x300aea,HookState[_0x3b0816(0x278)]),TestFramework[_0x3b0816(0x265)](_0x2836a7,_0x9a8b33),logger['info']('trackPlaywrightInstance:\x20saved\x20instance\x20contextId='+_0x2836a7[_0x3b0816(0x19a)]()+_0x3b0816(0x220)+_0x456fc4);}['parsePlaywrightTest'](_0xee3a9,_0x5b5e3d,_0x55f8f4){const _0x4811b3=a96_0x1b0677,_0x3069e1={'qWBZI':function(_0x7d76c7,_0x2ef53e){return _0x7d76c7(_0x2ef53e);},'amHZi':function(_0x4a3902,_0x5eeb0d){return _0x4a3902(_0x5eeb0d);},'TvBOL':function(_0x56dfd7,_0x493efe){return _0x56dfd7(_0x493efe);},'OsSKQ':function(_0x412e32,_0x4f0700){return _0x412e32(_0x4f0700);},'gLRAB':function(_0x26d91a,_0xe082dc){return _0x26d91a(_0xe082dc);},'jLaUm':function(_0x3f9fb4,_0x1099b7,_0x39ed87){return _0x3f9fb4(_0x1099b7,_0x39ed87);}},_0x3b9ba7=_0x3069e1[_0x4811b3(0x241)](getPlaywrightTestId,_0x5b5e3d),_0x3579c8=_0x3069e1[_0x4811b3(0x241)](getPlaywrightTestTitle,_0x5b5e3d),_0x252be4=_0x3069e1['amHZi'](getTestTags,_0x5b5e3d),_0x29bbe9=_0x3069e1[_0x4811b3(0x23d)](getPlaywrightTestCode,_0x5b5e3d),_0x55c5cc=_0x3069e1[_0x4811b3(0x241)](getPlaywrightTestFilePath,_0x5b5e3d),_0x14f6d9=_0x55c5cc,_0x326832=_0x3069e1[_0x4811b3(0x290)](getPlaywrightTestScope,_0x5b5e3d),_0xef472=_0x3069e1[_0x4811b3(0x23d)](getPlaywrightTestScopes,_0x5b5e3d),_0x4a067a=_0x3069e1[_0x4811b3(0x252)](getPlaywrightSessionName,_0x5b5e3d),_0x4efb4c=this[_0x4811b3(0x26e)]()[0x0],_0x5db591=_0x3069e1['jLaUm'](getTestRunIdentifier,_0x5b5e3d,_0x55f8f4['retry']),_0x3f4ae9={[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x4efb4c,[TestFrameworkConstants[_0x4811b3(0x258)]]:this['getTestFrameworksVersions']()[_0x4efb4c],[TestFrameworkConstants[_0x4811b3(0x292)]]:[],[TestFrameworkConstants[_0x4811b3(0x229)]]:{},[TestFrameworkConstants[_0x4811b3(0x1bc)]]:{},[TestFrameworkConstants['KEY_TEST_UUID']]:_0xee3a9,[TestFrameworkConstants[_0x4811b3(0x29a)]]:TestFrameworkConstants['DEFAULT_TEST_RESULT'],[TestFrameworkConstants[_0x4811b3(0x261)]]:_0x4a067a,[TestFrameworkConstants[_0x4811b3(0x280)]]:_0x55c5cc,[TestFrameworkConstants[_0x4811b3(0x19d)]]:_0x3b9ba7,[TestFrameworkConstants[_0x4811b3(0x27e)]]:_0x3579c8,[TestFrameworkConstants[_0x4811b3(0x1d3)]]:_0x14f6d9,[TestFrameworkConstants['KEY_TEST_CODE']]:_0x29bbe9,[TestFrameworkConstants[_0x4811b3(0x267)]]:_0x252be4,[TestFrameworkConstants[_0x4811b3(0x21a)]]:_0x5b5e3d[_0x4811b3(0x242)][0x0][_0x4811b3(0x262)],[TestFrameworkConstants[_0x4811b3(0x1a2)]]:_0x326832,[TestFrameworkConstants['KEY_TEST_SCOPES']]:_0xef472,[TestFrameworkConstants[_0x4811b3(0x1c8)]]:_0x3069e1[_0x4811b3(0x241)](getPlaywrightCustomRerunParam,_0x5b5e3d)};TestInfo['setTestDetails'](_0x5db591,_0x3f4ae9);const _0x57514e={};return _0x57514e[_0x5db591]=_0x3f4ae9,_0x57514e;}[a96_0x1b0677(0x25f)](_0x29f55f,_0x1ef496,_0xcf7d3f,_0x330c95){const _0x5227ef=a96_0x1b0677,_0xa90226={'aLqHB':function(_0x6a04d6,_0xc3042e){return _0x6a04d6(_0xc3042e);},'mXKyL':_0x5227ef(0x1c2),'YjMbt':function(_0x976eac,_0x4395f7){return _0x976eac===_0x4395f7;},'EOLYn':function(_0x1d2fe5,_0x5abe8f){return _0x1d2fe5(_0x5abe8f);},'lnIgN':'No\x20reason\x20provided','VCReO':function(_0x314dfa,_0x4f30bf,_0x4be58c){return _0x314dfa(_0x4f30bf,_0x4be58c);},'wqrCS':function(_0x582a6b,_0x492d41){return _0x582a6b===_0x492d41;},'IqZxO':_0x5227ef(0x1fe),'dZxfR':'passed','DplMt':function(_0x146764,_0x4df94b){return _0x146764===_0x4df94b;},'GZGpT':_0x5227ef(0x282),'BdpxQ':'timedOut','tHNSd':_0x5227ef(0x1a5),'mujTQ':function(_0x368e5a,_0x457bad,_0xe6b3ab){return _0x368e5a(_0x457bad,_0xe6b3ab);},'QsKVq':function(_0x22557e,_0x1d472e){return _0x22557e||_0x1d472e;},'VjFyL':function(_0x3ff364,_0x527178){return _0x3ff364(_0x527178);},'UqqJk':function(_0x113974,_0x1ad543){return _0x113974(_0x1ad543);},'Ramew':function(_0x30a610,_0x209f77){return _0x30a610>_0x209f77;},'jnMMH':function(_0x3b70aa,_0x7c963f,_0x2008e1){return _0x3b70aa(_0x7c963f,_0x2008e1);},'NdWBW':function(_0x597ae1,_0x37671e){return _0x597ae1-_0x37671e;},'JjChP':function(_0x54e29b,_0x3a588a,_0xd398ba,_0x412567){return _0x54e29b(_0x3a588a,_0xd398ba,_0x412567);},'WqUpr':'test','fVtqd':function(_0x384914,_0x44f206){return _0x384914===_0x44f206;},'PKYzt':function(_0x373ccb,_0x59a8e3){return _0x373ccb>=_0x59a8e3;},'TQHfz':function(_0x301664,_0x27915c){return _0x301664+_0x27915c;},'baMBS':function(_0x392f68,_0x508553,_0x73e672){return _0x392f68(_0x508553,_0x73e672);},'NWxJq':_0x5227ef(0x27c),'mZMAq':function(_0xfe12ce,_0x34f1b8){return _0xfe12ce(_0x34f1b8);},'KHSzj':function(_0x4b36a6,_0x1b45b3){return _0x4b36a6>_0x1b45b3;},'PoNTq':function(_0x19aeee,_0x5bb4d4,_0x150843){return _0x19aeee(_0x5bb4d4,_0x150843);},'HgCYA':function(_0x3e3a20,_0x49390d){return _0x3e3a20(_0x49390d);},'vUDBe':_0x5227ef(0x23b)};logger['debug'](_0x5227ef(0x287)+_0x29f55f);const _0x19a086=_0xa90226[_0x5227ef(0x1ca)](getTestRunIdentifier,_0xcf7d3f,_0x1ef496[_0x5227ef(0x1b0)]),_0x2cbca5=new Date(),_0x540741=_0x1ef496[_0x5227ef(0x199)],_0xb52f26=TestInfo['getTestDetails'](_0x19a086)[TestFrameworkConstants['KEY_CUSTOM_TAGS']]||{};let _0x13e110=_0x540741;if(_0xa90226[_0x5227ef(0x20b)](_0x1ef496[_0x5227ef(0x199)],_0xcf7d3f['expectedStatus']))_0x13e110=_0xa90226[_0x5227ef(0x223)](_0x1ef496[_0x5227ef(0x199)],_0xa90226[_0x5227ef(0x1e6)])?_0xa90226[_0x5227ef(0x1e6)]:_0xa90226[_0x5227ef(0x24c)];else{(_0xa90226[_0x5227ef(0x273)](_0x13e110,_0xa90226[_0x5227ef(0x24c)])||_0xa90226[_0x5227ef(0x223)](_0x13e110,_0xa90226['GZGpT'])||_0xa90226[_0x5227ef(0x223)](_0x13e110,_0xa90226[_0x5227ef(0x209)]))&&(_0x13e110=_0xa90226[_0x5227ef(0x281)]);if(_0xa90226[_0x5227ef(0x20b)](_0x1ef496['status'],_0xa90226[_0x5227ef(0x24c)])&&_0xa90226[_0x5227ef(0x20b)](_0xcf7d3f['expectedStatus'],_0xa90226['GZGpT'])){const _0x29fc01={};_0x29fc01[_0x5227ef(0x214)]=_0xa90226[_0x5227ef(0x29c)],_0x29fc01['stack']=_0xa90226[_0x5227ef(0x29c)],_0x1ef496['error']=_0x29fc01,_0x1ef496[_0x5227ef(0x236)]=[_0x1ef496[_0x5227ef(0x1fb)]];}}const {failureData:_0x4ed340,logs:_0x3cbc52}=_0xa90226['mujTQ'](getFailureData,_0x1ef496?.[_0x5227ef(0x236)],{}),_0x3600a3={[TestFrameworkConstants[_0x5227ef(0x208)]]:_0xa90226['QsKVq'](_0x4ed340,null),[TestFrameworkConstants[_0x5227ef(0x24f)]]:_0x1ef496?.['error']&&_0xa90226[_0x5227ef(0x291)](getFailureType,_0x1ef496[_0x5227ef(0x1fb)][_0x5227ef(0x214)]),[TestFrameworkConstants['KEY_TEST_FAILURE_REASON']]:_0x1ef496?.['error']&&_0xa90226[_0x5227ef(0x25d)](removeAnsiColors,_0x1ef496['error'][_0x5227ef(0x214)]),[TestFrameworkConstants[_0x5227ef(0x1d2)]]:[],[TestFrameworkConstants[_0x5227ef(0x29a)]]:_0x13e110,[TestFrameworkConstants[_0x5227ef(0x25b)]]:_0x2cbca5[_0x5227ef(0x237)](),[TestFrameworkConstants[_0x5227ef(0x219)]]:new Date()['toISOString'](),[TestFrameworkConstants[_0x5227ef(0x284)]]:_0xb52f26};if(_0x1ef496&&_0xa90226[_0x5227ef(0x1fc)](_0x1ef496[_0x5227ef(0x1b0)],0x0)){const _0x286553=TestInfo[_0x5227ef(0x1e9)](_0xa90226[_0x5227ef(0x1ed)](getTestRunIdentifier,_0xcf7d3f,_0xa90226['NdWBW'](_0x1ef496[_0x5227ef(0x1b0)],0x1)));_0x3600a3[TestFrameworkConstants[_0x5227ef(0x29e)]]=_0x286553;}const _0x5b7dcd={};_0x5b7dcd[_0x5227ef(0x1cd)]=_0xcf7d3f;const _0x5bb441=this[_0x5227ef(0x235)](TestFrameworkState[_0x5227ef(0x1ee)],HookState[_0x5227ef(0x1a4)],_0x5b7dcd),_0x23582c=_0x5bb441['getAllData']()['get'](_0x19a086)[TestFrameworkConstants[_0x5227ef(0x27b)]],_0x54b410=_0x330c95||_0xa90226[_0x5227ef(0x25c)](getStepsAndLogs,_0x1ef496[_0x5227ef(0x289)],_0x23582c,_0xa90226[_0x5227ef(0x20c)])['steps'],_0x177848=new Map(),_0x9ebd61=new Map();let _0x482f01=0x0;const _0x27b80b=[];for(const _0x5391b9 of _0x54b410||[]){const _0x1acd24=_0x5391b9[_0x5227ef(0x26d)]||null;let _0x2032c7;if(_0xa90226[_0x5227ef(0x20f)](_0x1acd24,null)){if(_0xa90226[_0x5227ef(0x221)](_0x482f01,TestFrameworkConstants[_0x5227ef(0x21b)]))continue;_0x2032c7=0x0,_0x482f01++;}else{const _0x31ecc3=_0x177848[_0x5227ef(0x1b5)](_0x1acd24);if(_0xa90226[_0x5227ef(0x20f)](_0x31ecc3,undefined))continue;_0x2032c7=_0xa90226[_0x5227ef(0x1a6)](_0x31ecc3,0x1);if(_0xa90226[_0x5227ef(0x1fc)](_0x2032c7,TestFrameworkConstants[_0x5227ef(0x1c4)]))continue;}_0x177848[_0x5227ef(0x1b9)](_0x5391b9['id'],_0x2032c7),_0x9ebd61[_0x5227ef(0x1b9)](_0x5391b9['id'],_0x5391b9[_0x5227ef(0x197)]),_0x27b80b[_0x5227ef(0x1a3)]({'id':_0x5391b9['id'],'parent_id':_0x1acd24,'parent_text':_0x1acd24?_0x9ebd61['get'](_0x1acd24)||'':'','text':_0x5391b9[_0x5227ef(0x197)],'keyword':_0x5391b9[_0x5227ef(0x1bb)]||null,'started_at':_0x5391b9['started_at'],'duration':_0x5391b9[_0x5227ef(0x1b8)]??null,'result':_0x5391b9[_0x5227ef(0x226)],'failure':_0x5391b9[_0x5227ef(0x22a)]||null,'failure_type':_0x5391b9[_0x5227ef(0x247)]||null});}const _0x250379={};_0x250379[_0x5227ef(0x289)]=_0x27b80b,_0x3600a3[TestFrameworkConstants[_0x5227ef(0x23a)]]=_0x250379,logger[_0x5227ef(0x22f)](_0x5227ef(0x1fd)+_0x27b80b[_0x5227ef(0x1b4)]+_0x5227ef(0x224)+_0x29f55f);const _0xe8c90d=[],_0x51020c=_0xa90226[_0x5227ef(0x20d)](findNestedKey,_0x1ef496,_0xa90226[_0x5227ef(0x1d7)]);if(_0x51020c&&_0xa90226[_0x5227ef(0x245)](validateFilePath,_0x51020c))try{_0xe8c90d[_0x5227ef(0x1a3)]({'kind':_0xa90226['mXKyL'],'timestamp':new Date()['toISOString'](),'test_run_uuid':_0x23582c,'file_name':path[_0x5227ef(0x246)](_0x51020c),'file_size':fs[_0x5227ef(0x255)](_0x51020c)[_0x5227ef(0x1e2)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x1013b7){logger[_0x5227ef(0x1fb)]('Error\x20processing\x20direct\x20trace\x20file\x20'+_0x51020c+':\x20'+_0x1013b7[_0x5227ef(0x214)]);}const _0x4ad1ce=TestInfo[_0x5227ef(0x249)](),_0x3d2ceb=_0x4ad1ce[_0x5227ef(0x22b)](_0x4ba6f4=>_0x4ba6f4[_0x5227ef(0x1d9)]===_0x23582c);_0x3d2ceb[_0x5227ef(0x239)](_0x5a4def=>{const _0x2681a1=_0x5227ef;if(_0x5a4def[_0x2681a1(0x1c3)]&&_0xa90226[_0x2681a1(0x1e1)](validateFilePath,_0x5a4def['filePath'])&&!_0xe8c90d[_0x2681a1(0x253)](_0x7a367b=>_0x7a367b['file_name']===path[_0x2681a1(0x246)](_0x5a4def[_0x2681a1(0x1c3)])))try{_0xe8c90d[_0x2681a1(0x1a3)]({'kind':_0xa90226[_0x2681a1(0x28b)],'timestamp':new Date()[_0x2681a1(0x237)](),'test_run_uuid':_0x23582c,'file_name':path[_0x2681a1(0x246)](_0x5a4def['filePath']),'file_size':fs[_0x2681a1(0x255)](_0x5a4def[_0x2681a1(0x1c3)])[_0x2681a1(0x1e2)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x4f8400){logger[_0x2681a1(0x1fb)](_0x2681a1(0x1aa)+_0x5a4def['filePath']+_0x2681a1(0x286)+_0x4f8400[_0x2681a1(0x214)]);}});if(_0xa90226[_0x5227ef(0x28e)](_0xe8c90d[_0x5227ef(0x1b4)],0x0)){const _0x5520f8=_0x3600a3[TestFrameworkConstants[_0x5227ef(0x1d2)]]||[];_0x3600a3[TestFrameworkConstants[_0x5227ef(0x1d2)]]=[..._0x5520f8,..._0xe8c90d];}const _0x4cc5a1=TestInfo[_0x5227ef(0x26a)](_0x19a086)[TestFrameworkConstants[_0x5227ef(0x277)]]||{},_0x4a95d0=_0xa90226['PoNTq'](getManualUploadLogs,_0x4cc5a1,_0x5bb441['getAllData']()[_0x5227ef(0x1b5)](_0x19a086)[TestFrameworkConstants[_0x5227ef(0x27b)]]);if(_0xa90226[_0x5227ef(0x1fc)](_0x4a95d0[_0x5227ef(0x1b4)],0x0)){const _0x1c377a=_0x3600a3[TestFrameworkConstants[_0x5227ef(0x1d2)]]||[];_0x3600a3[TestFrameworkConstants[_0x5227ef(0x1d2)]]=[..._0x1c377a,..._0x4a95d0];}const _0x545fef=_0xcf7d3f[_0x5227ef(0x259)]||[],_0x4d3562=_0x3600a3[TestFrameworkConstants[_0x5227ef(0x284)]]||{},_0x1162d0=_0xa90226[_0x5227ef(0x23c)](require,_0xa90226[_0x5227ef(0x1c5)]);_0x545fef[_0x5227ef(0x239)](_0x518e1e=>{const _0x42eebb=_0x5227ef,{type:_0x13406d}=_0x518e1e;let _0x509606=_0x518e1e[_0x42eebb(0x288)];if(!_0x13406d)return;if(PLAYWRIGHT_BUILTIN_ANNOTATIONS[_0x42eebb(0x1f1)](_0x13406d))return;(_0xa90226[_0x42eebb(0x223)](_0x509606,undefined)||_0xa90226[_0x42eebb(0x223)](_0x509606,null)||_0xa90226[_0x42eebb(0x223)](_0xa90226[_0x42eebb(0x21d)](String,_0x509606)[_0x42eebb(0x1b2)](),''))&&(_0x509606=_0xa90226[_0x42eebb(0x264)]);const _0x4bb0e0=helper[_0x42eebb(0x1ab)](_0xa90226[_0x42eebb(0x1e1)](String,_0x509606));_0x1162d0[_0x42eebb(0x26f)](_0x4d3562,_0x13406d,_0x4bb0e0);}),_0x3600a3[TestFrameworkConstants[_0x5227ef(0x284)]]=_0x4d3562,TestInfo['setTestDetails'](_0x19a086,_0x3600a3);const _0x7da769={};return _0x7da769[_0x19a086]=_0x3600a3,_0x7da769;}[a96_0x1b0677(0x1f7)](_0x18da4b,_0x580a91,_0x4e9c71){const _0x37d0db=a96_0x1b0677,_0x4c2e02={'VCMIQ':function(_0x44b580,_0x4bf7d9){return _0x44b580||_0x4bf7d9;},'cYbft':function(_0x330da0,_0x11d9bb,_0x573d75){return _0x330da0(_0x11d9bb,_0x573d75);}};try{const {test:_0x341151,result:_0x1a31da,step:_0x25506d}=_0x4e9c71;if(_0x4c2e02[_0x37d0db(0x1e5)](!_0x341151,!_0x25506d)||!_0x1a31da)return;const _0x58891d=_0x4c2e02[_0x37d0db(0x1ae)](getTestRunIdentifier,_0x341151,_0x1a31da['retry']);logger[_0x37d0db(0x22f)]('trackStepEvent:\x20testId='+_0x58891d+'\x20hookState='+_0x580a91+_0x37d0db(0x28a)+_0x25506d[_0x37d0db(0x28d)]+'\x22');}catch(_0x3cf32c){logger[_0x37d0db(0x1fb)](_0x37d0db(0x1cc)+util[_0x37d0db(0x1cb)](_0x3cf32c));}}async[a96_0x1b0677(0x21c)](_0x3b1513,_0x2e61e1,_0x1ef146,_0x8cd6f7){const _0x5c12a1=a96_0x1b0677,_0x15cf0a={'akpvT':function(_0x33322d,_0x38ca61,_0x4d751b){return _0x33322d(_0x38ca61,_0x4d751b);},'HhfzO':function(_0x3cce56,_0x11f5bc){return _0x3cce56 in _0x11f5bc;},'eMTkj':function(_0x4321d5,_0x2f7d61){return _0x4321d5 in _0x2f7d61;},'jowHj':function(_0x4f65f0,_0x4d9596){return _0x4f65f0(_0x4d9596);},'yXVMR':function(_0x201eb2,_0x1ee313){return _0x201eb2===_0x1ee313;},'bWoFN':function(_0x2b4477){return _0x2b4477();},'aqLbc':function(_0x4027fe,_0x220e88){return _0x4027fe===_0x220e88;},'KaZbq':function(_0x153aab,_0x55bca8){return _0x153aab>_0x55bca8;},'OpDHq':function(_0x44e87d,_0x37bfa7,_0x2b9dd6){return _0x44e87d(_0x37bfa7,_0x2b9dd6);},'TaWVx':_0x5c12a1(0x1dd),'ZXIUw':function(_0xb3d2c1,_0x138354){return _0xb3d2c1(_0x138354);},'IkfMW':_0x5c12a1(0x282),'mTZGL':'passed','hztfr':function(_0x5639e5,_0x137daa){return _0x5639e5!==_0x137daa;},'oseUB':function(_0x25c169,_0x5924f7){return _0x25c169+_0x5924f7;},'fpMqn':_0x5c12a1(0x24b)},_0xe7ffd1=_0x8cd6f7[_0x5c12a1(0x1cd)],_0x5bbc55=_0x8cd6f7[_0x5c12a1(0x271)],_0x2612d1=_0x15cf0a[_0x5c12a1(0x1ec)](getTestRunIdentifier,_0xe7ffd1,_0x8cd6f7[_0x5c12a1(0x226)][_0x5c12a1(0x1b0)]),_0x4ee7d4=_0x2e61e1[_0x5c12a1(0x274)]()[_0x5c12a1(0x1c7)]('.')[0x1];let _0x28b9c1=_0x3b1513['getAllData']()['get'](_0x2612d1)[TestFrameworkConstants[_0x5c12a1(0x1bc)]];!_0x28b9c1&&(_0x28b9c1={});!_0x15cf0a['HhfzO'](_0x4ee7d4,_0x28b9c1)&&(_0x28b9c1[_0x4ee7d4]=[]);let _0x311afd=_0x3b1513[_0x5c12a1(0x1df)]()[_0x5c12a1(0x1b5)](_0x2612d1)[TestFrameworkConstants[_0x5c12a1(0x229)]];!_0x311afd&&(_0x311afd={});!_0x15cf0a[_0x5c12a1(0x27f)](_0x4ee7d4,_0x311afd)&&(_0x311afd[_0x4ee7d4]=[]);const _0x5b01ad={[TestFrameworkConstants[_0x5c12a1(0x1bc)]]:_0x28b9c1,[TestFrameworkConstants[_0x5c12a1(0x229)]]:_0x311afd},_0x40939a={};_0x40939a[_0x2612d1]=_0x5b01ad;const _0x5b5b41=_0x40939a,_0x379aa9=_0x15cf0a[_0x5c12a1(0x29f)](getPlaywrightTestFilePath,_0xe7ffd1),_0x34b669=_0x379aa9,_0x1a8955=TestInfo[_0x5c12a1(0x26a)](_0x2612d1)[TestFrameworkConstants[_0x5c12a1(0x284)]]||{};if(_0x15cf0a['yXVMR'](_0x1ef146,HookState[_0x5c12a1(0x232)])){const _0x339a67={'key':_0x4ee7d4,[TestFrameworkConstants[_0x5c12a1(0x19b)]]:_0x15cf0a[_0x5c12a1(0x202)](uuidv4),[TestFrameworkConstants['KEY_HOOK_RESULT']]:TestFrameworkConstants[_0x5c12a1(0x234)],[TestFrameworkConstants['KEY_EVENT_STARTED_AT']]:_0x5bbc55['startTime'],[TestFrameworkConstants[_0x5c12a1(0x270)]]:[],[TestFrameworkConstants[_0x5c12a1(0x248)]]:_0x5bbc55[_0x5c12a1(0x28d)],[TestFrameworkConstants[_0x5c12a1(0x280)]]:_0x379aa9,[TestFrameworkConstants[_0x5c12a1(0x1d3)]]:_0x34b669,[TestFrameworkConstants[_0x5c12a1(0x284)]]:_0x1a8955};_0x28b9c1[_0x4ee7d4][_0x5c12a1(0x1a3)](_0x339a67),_0x5b5b41[_0x2612d1][TestFrameworkConstants[_0x5c12a1(0x1ef)]]=_0x4ee7d4,logger[_0x5c12a1(0x22f)]('Hook\x20Started\x20in\x20PRE\x20key\x20=\x20'+_0x4ee7d4+_0x5c12a1(0x1f3)+_0x339a67+_0x5c12a1(0x1bd)+_0x8cd6f7);}else{if(_0x15cf0a[_0x5c12a1(0x1f0)](_0x1ef146,HookState[_0x5c12a1(0x1a4)])){const _0xa5f0ac=await _0x8cd6f7[_0x5c12a1(0x226)],_0x2facfa=_0x28b9c1[_0x4ee7d4]||[],_0x49ab4f=_0x8cd6f7[_0x5c12a1(0x271)];logger['debug'](_0x5c12a1(0x1b7)+_0x2facfa+_0x5c12a1(0x28f)+_0x8cd6f7);if(_0x15cf0a['KaZbq'](_0x2facfa[_0x5c12a1(0x1b4)],0x0)){const _0x1feb8b=_0x2facfa[_0x5c12a1(0x211)]();if(_0x49ab4f[_0x5c12a1(0x1fb)]){const _0x320f40=_0x15cf0a[_0x5c12a1(0x228)](failureData,_0x49ab4f[_0x5c12a1(0x1fb)],_0x15cf0a[_0x5c12a1(0x283)]);_0x1feb8b[TestFrameworkConstants[_0x5c12a1(0x24d)]]=_0x15cf0a[_0x5c12a1(0x204)](getFailureType,_0x49ab4f?.[_0x5c12a1(0x1fb)][_0x5c12a1(0x214)]),_0x1feb8b[TestFrameworkConstants['KEY_HOOK_FAILURE_REASON']]=_0x15cf0a[_0x5c12a1(0x29f)](removeAnsiColors,_0x49ab4f?.[_0x5c12a1(0x1fb)]['message']),_0x1feb8b[TestFrameworkConstants[_0x5c12a1(0x1bf)]]=_0x15cf0a[_0x5c12a1(0x266)],_0x1feb8b[TestFrameworkConstants[_0x5c12a1(0x1ba)]]=_0x320f40;}else _0x1feb8b[TestFrameworkConstants[_0x5c12a1(0x1bf)]]=_0x15cf0a['mTZGL'];_0x15cf0a[_0x5c12a1(0x1c0)](_0xa5f0ac,TestFrameworkConstants[_0x5c12a1(0x234)])&&(_0x1feb8b[TestFrameworkConstants['KEY_HOOK_RESULT']]=!_0x49ab4f[_0x5c12a1(0x1fb)]?_0x15cf0a[_0x5c12a1(0x22d)]:_0x15cf0a[_0x5c12a1(0x266)]);const _0x4a4164=new Date(_0x49ab4f[_0x5c12a1(0x262)]),_0x41f727=new Date(_0x15cf0a[_0x5c12a1(0x22e)](_0x4a4164[_0x5c12a1(0x244)](),_0x49ab4f['duration']));_0x1feb8b[TestFrameworkConstants[_0x5c12a1(0x1de)]]=_0x41f727[_0x5c12a1(0x237)](),_0x1feb8b[TestFrameworkConstants[_0x5c12a1(0x284)]]=_0x1a8955;const _0x217b14=_0x1feb8b[TestFrameworkConstants[_0x5c12a1(0x19b)]];await this[_0x5c12a1(0x1a0)](_0x3b1513,_0x2e61e1,_0x217b14,_0x15cf0a[_0x5c12a1(0x279)],_0x8cd6f7),!_0x311afd[_0x4ee7d4]&&(_0x311afd[_0x4ee7d4]=[]),_0x311afd[_0x4ee7d4][_0x5c12a1(0x1a3)](_0x1feb8b),_0x5b5b41[_0x2612d1][TestFrameworkConstants[_0x5c12a1(0x285)]]=_0x4ee7d4;}}}return _0x5b5b41;}async[a96_0x1b0677(0x1a0)](_0x554afb,_0x4113da,_0x5a0415,_0x5b9796,_0x3abd83,_0x4e4a54){const _0x29692f=a96_0x1b0677,_0x172df0={'XXHzu':function(_0x4cee19,_0x54080e){return _0x4cee19===_0x54080e;},'XqCLB':_0x29692f(0x1cd),'JQrni':function(_0x4921f3,_0x43e28c,_0x206078){return _0x4921f3(_0x43e28c,_0x206078);},'rlGdE':function(_0x4b5257,_0x558104,_0x25e0e4){return _0x4b5257(_0x558104,_0x25e0e4);},'vSwma':_0x29692f(0x1e3),'PSDFq':function(_0x51d935,_0x199216,_0x330e5e,_0x36e41e){return _0x51d935(_0x199216,_0x330e5e,_0x36e41e);},'kTGkU':function(_0x23bf92,_0x45a26b){return _0x23bf92/_0x45a26b;},'wIUtn':function(_0x2e7221,_0x2f7c10){return _0x2e7221<_0x2f7c10;},'Kfbqn':function(_0x297fa6,_0x16c598){return _0x297fa6*_0x16c598;},'PBXoD':function(_0x54ed66,_0x58ab3d){return _0x54ed66+_0x58ab3d;},'tMgUE':function(_0x28dda5,_0x3e9285,_0x5ebd5c,_0x121015,_0x35f763){return _0x28dda5(_0x3e9285,_0x5ebd5c,_0x121015,_0x35f763);},'KqpgE':function(_0x3a58fc,_0x7b3b21){return _0x3a58fc+_0x7b3b21;},'lVqlH':'hook'};try{if(_0x172df0['XXHzu'](_0x5b9796,_0x172df0[_0x29692f(0x1cf)])){const _0x5de09a=await _0x3abd83[_0x29692f(0x226)],_0x4f57c5=_0x172df0[_0x29692f(0x213)](getTestRunIdentifier,_0x3abd83[_0x29692f(0x1cd)],_0x3abd83[_0x29692f(0x226)][_0x29692f(0x1b0)]),_0x253ffe=_0x3abd83[_0x29692f(0x1cd)];logger['debug'](_0x29692f(0x212)+_0x4f57c5+_0x29692f(0x1e8)+util['inspect'](_0x5de09a));const _0x2aa61d=_0x554afb[_0x29692f(0x1df)]()[_0x29692f(0x1b5)](_0x4f57c5)[TestFrameworkConstants[_0x29692f(0x27b)]];await _0x172df0[_0x29692f(0x201)](sendTraceZip,_0x5de09a,_0x2aa61d);const _0x29b801=TestInfo['getTestDetails'](_0x4f57c5)[_0x172df0[_0x29692f(0x28c)]],_0x4817fc={};if(_0x29b801){!_0x5de09a['attachments']&&(_0x5de09a[_0x29692f(0x1e3)]=[]);_0x4817fc[_0x29692f(0x1e3)]=_0x5de09a[_0x29692f(0x1e3)]['concat'](_0x29b801||[]);const _0x19eb74=TestInfo[_0x29692f(0x26a)](_0x4f57c5);delete _0x19eb74[_0x172df0['vSwma']],TestInfo[_0x29692f(0x216)](_0x4f57c5,_0x19eb74);}const _0x5c93a3=_0x4e4a54||_0x172df0[_0x29692f(0x1c1)](getStepsAndLogs,_0x5de09a[_0x29692f(0x289)],_0x554afb[_0x29692f(0x1df)]()[_0x29692f(0x1b5)](_0x4f57c5)[TestFrameworkConstants['KEY_TEST_UUID']],_0x172df0[_0x29692f(0x1cf)])[_0x29692f(0x250)],_0x155395=_0x172df0[_0x29692f(0x213)](getScreenshots,_0x4817fc,_0x554afb['getAllData']()[_0x29692f(0x1b5)](_0x4f57c5)[TestFrameworkConstants[_0x29692f(0x27b)]]),_0x484c10=_0x172df0[_0x29692f(0x213)](getVideos,_0x5de09a,_0x554afb[_0x29692f(0x1df)]()[_0x29692f(0x1b5)](_0x4f57c5)[TestFrameworkConstants[_0x29692f(0x27b)]]),{_:_0x1f015e,logs:_0x4994db}=_0x172df0[_0x29692f(0x201)](getFailureData,_0x5de09a['errors'],{'test_run_uuid':_0x554afb['getAllData']()['get'](_0x4f57c5)[TestFrameworkConstants[_0x29692f(0x27b)]]}),_0x3251ff=TestInfo[_0x29692f(0x26a)](_0x4f57c5)[TestFrameworkConstants[_0x29692f(0x277)]]||{},_0x1b2c9d=_0x172df0[_0x29692f(0x213)](getMediaArtifactsLogs,_0x3251ff,_0x554afb['getAllData']()[_0x29692f(0x1b5)](_0x4f57c5)[TestFrameworkConstants[_0x29692f(0x27b)]]),_0xb343ac=_0x554afb['getAllData']()[_0x29692f(0x1b5)](_0x4f57c5),{[TestFrameworkConstants[_0x29692f(0x1b1)]]:_0x6b6bd9='',[TestFrameworkConstants[_0x29692f(0x258)]]:_0x33912d=''}=_0xb343ac,_0x3ab35c=(_0x5c93a3||[])['concat'](_0x155395||[])[_0x29692f(0x222)](_0x4994db||[])[_0x29692f(0x222)](_0x484c10||[])[_0x29692f(0x222)](_0x1b2c9d||[]),_0x1dfee1=0x28,_0x4c42c8=Math[_0x29692f(0x29d)](_0x172df0[_0x29692f(0x1dc)](_0x3ab35c['length'],_0x1dfee1));for(let _0x339aa3=0x0;_0x172df0[_0x29692f(0x1be)](_0x339aa3,_0x4c42c8);_0x339aa3++){const _0xfcc154=_0x172df0[_0x29692f(0x272)](_0x339aa3,_0x1dfee1),_0x66d530=_0x172df0[_0x29692f(0x1d0)](_0xfcc154,_0x1dfee1),_0x380ebd=_0x3ab35c[_0x29692f(0x225)](_0xfcc154,_0x66d530),_0x362cf7={'platformIndex':global?.[_0x29692f(0x1f4)]??0x0,'logs':_0x380ebd,'testFrameworkName':_0x6b6bd9,'testFrameworkVersion':_0x33912d,'testFrameworkState':_0x4113da[_0x29692f(0x274)]()[_0x29692f(0x1c7)]('.')[0x1]};_0x172df0['tMgUE'](updatePayloadForTraceLogs,_0x362cf7,_0x3abd83,_0x4f57c5,_0x554afb),logger[_0x29692f(0x22f)](_0x29692f(0x22c)+_0x4f57c5+_0x29692f(0x294)+_0x172df0[_0x29692f(0x27d)](_0x339aa3,0x1)+'/'+_0x4c42c8+_0x29692f(0x217)+util['inspect'](_0x362cf7));const _0xd18398=await GrpcClient['getInstance']()['logCreatedEvent'](_0x362cf7);logger['debug'](_0x29692f(0x22c)+_0x4f57c5+'\x20batch\x20'+_0x172df0[_0x29692f(0x1d0)](_0x339aa3,0x1)+'/'+_0x4c42c8+_0x29692f(0x205)+util['inspect'](_0xd18398));}}else{const {logs:_0x5934f0}=_0x172df0[_0x29692f(0x1c1)](getStepsAndLogs,_0x3abd83[_0x29692f(0x271)][_0x29692f(0x289)],_0x5a0415,_0x172df0[_0x29692f(0x263)]),_0x105a11=_0x172df0['rlGdE'](getTestRunIdentifier,_0x3abd83['test'],_0x3abd83['result'][_0x29692f(0x1b0)]);logger[_0x29692f(0x22f)]('sendLogCreatedEvent:\x20testId='+_0x105a11);const _0xd02d8d=_0x554afb[_0x29692f(0x1df)]()[_0x29692f(0x1b5)](_0x105a11),{[TestFrameworkConstants[_0x29692f(0x1b1)]]:_0x132e54='',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x37beb8=''}=_0xd02d8d,_0x326147={'platformIndex':'0','logs':_0x5934f0,'testFrameworkName':_0x132e54,'testFrameworkVersion':_0x37beb8,'testFrameworkState':_0x4113da[_0x29692f(0x274)]()[_0x29692f(0x1c7)]('.')[0x1]};_0x172df0[_0x29692f(0x1d8)](updatePayloadForTraceLogs,_0x326147,_0x3abd83,_0x105a11,_0x554afb),logger['debug'](_0x29692f(0x22c)+_0x105a11+_0x29692f(0x217)+util[_0x29692f(0x1e7)](_0x326147));const _0x2b0bdb=await GrpcClient[_0x29692f(0x1ac)]()[_0x29692f(0x1eb)](_0x326147);}}catch(_0x1ed725){logger[_0x29692f(0x1fb)](_0x29692f(0x257)+util[_0x29692f(0x1cb)](_0x1ed725));}}['createTestFrameworkEventPayload'](_0x3fb765){const _0x51024a=a96_0x1b0677,_0x2dd681={'ZJpsi':function(_0x468a0a,_0x34535d,_0x2f2493){return _0x468a0a(_0x34535d,_0x2f2493);},'PZBFU':function(_0x55f77a,_0x376759){return _0x55f77a<_0x376759;},'UklnO':_0x51024a(0x20a)};try{const _0x44b74a=_0x3fb765[_0x51024a(0x1cd)]['id'],_0x49d2c8=_0x2dd681['ZJpsi'](getTestRunIdentifier,_0x3fb765[_0x51024a(0x1cd)],_0x3fb765[_0x51024a(0x226)][_0x51024a(0x1b0)]),_0x43bb3d=_0x3fb765[_0x51024a(0x210)],_0x1eac4c=_0x43bb3d['getContext'](),_0x10a045=_0x43bb3d[_0x51024a(0x1df)]()[_0x51024a(0x1b5)](_0x49d2c8);logger[_0x51024a(0x22f)]('createTestFrameworkEventPayload\x20testId:\x20'+_0x44b74a);const {[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x5c3d14='',[TestFrameworkConstants[_0x51024a(0x258)]]:_0x1311b0='',[TestFrameworkConstants[_0x51024a(0x21a)]]:_0x233fbe='',[TestFrameworkConstants[_0x51024a(0x25b)]]:_0x126340=''}=_0x10a045,_0x2480ff=_0x43bb3d['getCurrentTestState']()[_0x51024a(0x274)]()[_0x51024a(0x1c7)]('.')[0x1],_0x2da348=_0x43bb3d[_0x51024a(0x295)]()[_0x51024a(0x274)]()[_0x51024a(0x1c7)]('.')[0x1],_0x5c4dc3=_0x2dd681[_0x51024a(0x293)](_0x3fb765?.['result']?.['parallelIndex']??0x0,0x0)?0x0:_0x3fb765?.['result']?.['parallelIndex']??0x0,_0x4b09e4=_0x43bb3d[_0x51024a(0x2a0)](),_0xaf62ff=Buffer[_0x51024a(0x1b3)](JSON[_0x51024a(0x1d5)](_0x10a045))[_0x51024a(0x274)](_0x2dd681[_0x51024a(0x206)]),_0x166b0a={'hash':_0x1eac4c[_0x51024a(0x19a)](),'threadId':_0x1eac4c[_0x51024a(0x21f)]()['toString'](),'processId':_0x1eac4c['getProcessId']()[_0x51024a(0x274)]()},_0x3a29fb={};_0x3a29fb[_0x51024a(0x2a1)]=_0x5c4dc3,_0x3a29fb[_0x51024a(0x1f9)]=_0x5c3d14,_0x3a29fb[_0x51024a(0x29b)]=_0x1311b0,_0x3a29fb[_0x51024a(0x25a)]=_0x2480ff,_0x3a29fb[_0x51024a(0x27a)]=_0x2da348,_0x3a29fb[_0x51024a(0x231)]=_0x233fbe,_0x3a29fb[_0x51024a(0x24e)]=_0x126340,_0x3a29fb[_0x51024a(0x207)]=_0x4b09e4,_0x3a29fb['eventJson']=_0xaf62ff,_0x3a29fb[_0x51024a(0x20e)]=_0x166b0a;const _0x435cd7=_0x3a29fb;return logger['debug'](_0x51024a(0x1ce)+_0x44b74a+_0x51024a(0x19f)+_0x2480ff+_0x51024a(0x276)+_0x2da348),_0x435cd7;}catch(_0x191b88){return logger[_0x51024a(0x1fb)]('Error\x20in\x20createTestFrameworkEventPayload:\x20'+util[_0x51024a(0x1cb)](_0x191b88)),{};}}}function a96_0x3bcb(_0x5f40db,_0x4e0a66){const _0x475d9d=a96_0x475d();return a96_0x3bcb=function(_0x3bcbc4,_0x1314cb){_0x3bcbc4=_0x3bcbc4-0x196;let _0x35b66a=_0x475d9d[_0x3bcbc4];return _0x35b66a;},a96_0x3bcb(_0x5f40db,_0x4e0a66);}module[a96_0x1b0677(0x1fa)]=PlaywrightTestFramework;function a96_0x475d(){const _0x250b6a=['KEY_TEST_STARTED_AT','MAX_TOP_LEVEL_STEPS','trackHookEvent','EOLYn','./constants/testFrameworkConstants.js','getThreadId','\x20target=','PKYzt','concat','YjMbt','\x20steps\x20for\x20testId=','slice','result','rxUmm','OpDHq','KEY_HOOKS_FINISHED','failure','filter','sendLogCreatedEvent\x20for\x20testId:\x20','mTZGL','oseUB','debug','295fAZdAj','startedAt','PRE','TEST_STEP','DEFAULT_HOOK_RESULT','resolveInstance','errors','toISOString','18RNGyQZ','forEach','KEY_TEST_META','../customTagManager','HgCYA','TvBOL','addMultipleEntries','INIT_TEST','../instances/trackedInstance.js','qWBZI','results','util','getTime','mZMAq','basename','failure_type','KEY_HOOK_NAME','getTraceFilePaths','../../../../src/helpers/helper','hook','dZxfR','KEY_HOOK_FAILURE_TYPE','endedAt','KEY_TEST_FAILURE_TYPE','logs','16xTdkCo','gLRAB','some','getTrackedInstance','statSync','trackEvent:\x20found\x20instance,\x20testFrameworkState=','Error\x20in\x20sendLogCreatedEvent:\x20','KEY_TEST_FRAMEWORK_VERSION','annotations','testFrameworkState','KEY_TEST_ENDED_AT','JjChP','UqqJk',',\x20state=','parsePlaywrightTestResult','trackEvent\x20loading\x20testResults\x20for\x20testId:\x20','KEY_AUTOMATE_SESSION_NAME','startTime','lVqlH','lnIgN','setTrackedInstance','IkfMW','KEY_TEST_TAGS','120PjwtWm','../instances/testFrameworkInstance.js','getTestDetails','getTestFrameworksVersions','PlaywrightTestFramework','parent_id','getTestFrameworks','mergeIntoTags','KEY_HOOK_LOGS','step','Kfbqn','DplMt','toString','7356210jPoJZL','\x20hookState:\x20','KEY_TEST_ATTACHMENTS','NONE','fpMqn','hookState','KEY_TEST_UUID','path','KqpgE','KEY_TEST_NAME','eMTkj','KEY_TEST_FILE_PATH','GZGpT','failed','TaWVx','KEY_CUSTOM_TAGS','KEY_HOOK_LAST_FINISHED','\x20from\x20TestDetails:\x20','parsePlaywrightTestResult:\x20testId=','description','steps','\x20step=\x22','mXKyL','vSwma','title','KHSzj','\x20and\x20args\x20=\x20','OsSKQ','VjFyL','KEY_TEST_LOGS','PZBFU','\x20batch\x20','getCurrentHookState','../../../helpers/classLogger.js','../../../helpers/helper.js','skip','84498LZMpPS','KEY_TEST_RESULT','testFrameworkVersion','tHNSd','ceil','KEY_TEST_RETRY_OF','jowHj','getRef','platformIndex','\x20instance=','text','FGiKm','status','getId','KEY_HOOK_ID','\x20testHookState=','KEY_TEST_ID','98266EpTNqI','\x20testState:\x20','sendLogCreatedEvent','271664CzftWO','KEY_TEST_SCOPE','push','POST','Expected\x20to\x20fail,\x20but\x20passed.','TQHfz','./testFramework','../state/testFrameworkState.js','MYMGC','Error\x20processing\x20trace\x20file\x20','parseCommaSeparatedValues','getInstance','trackEvent','cYbft','TEST_SCREENSHOT','retry','KEY_TEST_FRAMEWORK_NAME','trim','from','length','get','matchHookRegex','Hook\x20List\x20in\x20Post\x20','duration','set','KEY_HOOK_FAILURE','keyword','KEY_HOOKS_STARTED','\x20\x20and\x20args\x20=\x20','wIUtn','KEY_HOOK_RESULT','hztfr','PSDFq','TEST_ATTACHMENT','filePath','MAX_NESTED_STEP_DEPTH','vUDBe','giIaP','split','KEY_TEST_RERUN_NAME','trackEvent:\x20loaded\x20testData\x20for\x20testId:\x20','VCReO','format','trackStepEvent:\x20exception=','test','createTestFrameworkEventPayload:\x20complete\x20for\x20testId:\x20','XqCLB','PBXoD','duEpw','KEY_LOGS','KEY_TEST_LOCATION','../../utils/constants','stringify','trackEvent:\x20Exception\x20in\x20event\x20tracking,\x20testFrameworkState=%s\x20hookState=%s\x20argsLength=%s,\x20exception=%s','NWxJq','tMgUE','testUId','../grpcClient','getTestIdentifierFromTestInfo','kTGkU','err','KEY_EVENT_ENDED_AT','getAllData','16424650tKYnLB','aLqHB','size','attachments','108753pakjWe','VCMIQ','IqZxO','inspect','\x20result=','getTestUUID','trackPlaywrightInstance','logCreatedEvent','akpvT','jnMMH','TEST','KEY_HOOK_LAST_STARTED','aqLbc','has','WHMYL','\x20&\x20hook\x20=\x20','browserstackPlatformIndex','HCwtE','8994986iaZbQo','trackStepEvent','fixme','testFrameworkName','exports','error','Ramew','parsePlaywrightTestResult:\x20extracted\x20','skipped','../../../helpers/test-observability/utils','parsePlaywrightTest','rlGdE','bWoFN','getCurrentInstanceName','ZXIUw','\x20response=','UklnO','uuid','KEY_TEST_FAILURE','BdpxQ','base64','wqrCS','WqUpr','baMBS','executionContext','fVtqd','instance','pop','sendLogCreatedEvent:\x20testId=','JQrni','message','../../playwright/reporter/pwUtils','setTestDetails','\x20payload=','info','KEY_TEST_RESULT_AT'];a96_0x475d=function(){return _0x250b6a;};return a96_0x475d();}
|
|
1
|
+
const a100_0x3d08ef=a100_0x1df1;function a100_0x1df1(_0x18448f,_0x3ae966){const _0x58183a=a100_0x5818();return a100_0x1df1=function(_0x1df1b4,_0x1da8d2){_0x1df1b4=_0x1df1b4-0x176;let _0x43a2b2=_0x58183a[_0x1df1b4];return _0x43a2b2;},a100_0x1df1(_0x18448f,_0x3ae966);}function a100_0x5818(){const _0x4e763d=['startedAt','platformIndex','parsePlaywrightTestResult','1308HnFpFB','KEY_HOOK_NAME','setTestDetails','vMDZb','LhSwm','statSync','../../../../src/helpers/helper','getTestFrameworks','filePath','KEY_HOOK_FAILURE_TYPE','concat','path','OGCQr','rrhlh','KEY_TEST_RESULT','fUXzS','Rtlxm','4329uLVPaX','annotations','KEY_AUTOMATE_SESSION_NAME','Error\x20in\x20sendLogCreatedEvent:\x20','KEY_TEST_FRAMEWORK_NAME','trackEvent:\x20Exception\x20in\x20event\x20tracking,\x20testFrameworkState=%s\x20hookState=%s\x20argsLength=%s,\x20exception=%s','6732DFxFxH','KEY_HOOK_ID','runHooks','skip','parseCommaSeparatedValues','pop','steps','KEY_HOOKS_STARTED','util','trackStepEvent','\x20instance=','UXVzv','kdomc','RStzT',',\x20state=','../state/hookState.js','dRUNb','oKxkQ','failure','371010EuNXbd','gyVkb','NJCMs','MAX_NESTED_STEP_DEPTH','cjdUe','trackPlaywrightInstance','passed','vetWB','getId','ZLwYD','GNBHy','hizYn','message','uuid','description','KEY_TEST_STARTED_AT','\x20hookState=','LFgMR','NEjQj','\x20\x20and\x20args\x20=\x20','JqBQz',',\x20testFrameworkState=','KEY_TEST_CODE','trackStepEvent:\x20testId=','trackEvent','trackHookEvent','createTestFrameworkEventPayload','skipped','from','../../utils/constants','\x20payload=','oeBKV','KEY_HOOK_RESULT','No\x20reason\x20provided','\x20result=','ceil','attachments','exports','getContext','../instances/trackedInstance.js','resolveInstance','KEY_TEST_RESULT_AT','NWvPE','basename','WGhgJ','sendLogCreatedEvent\x20for\x20testId:\x20','step','gCVUF','9950CKVZgo','Expected\x20to\x20fail,\x20but\x20passed.','Zdnns','getInstance','YSaRX','oISjr','KEY_TEST_SCOPES','started_at','getTraceFilePaths','setTrackedInstance','brjAc','status','failure_type','trackEvent:\x20loaded\x20testData\x20for\x20testId:\x20','title','DEFAULT_TEST_RESULT','RBnTr','OSjVi','nOywP','PlaywrightTestFramework','get','KEY_HOOK_LOGS','KEY_TEST_META','testFrameworkVersion','info','INIT_TEST','Hook\x20Started\x20in\x20PRE\x20key\x20=\x20','addMultipleEntries','parallelIndex','NONE','getTestDetails','400wcXXby','getCurrentInstanceName','PRE','KEY_TEST_FRAMEWORK_VERSION','../cliUtils.js','PLuNO','KEY_HOOK_FAILURE_REASON','getTrackedInstance','trim','error','vTCYD','KEY_TEST_LOCATION','11090xrIsZS','KEY_TEST_ENDED_AT','TEST_ATTACHMENT','../TestInfo.js','MAX_TOP_LEVEL_STEPS','../../../helpers/helper.js','keyword','../customTagManager','yjllW','getAllData','KEY_TEST_FAILURE_REASON','\x20hookState:\x20','LsmUk','iWQIJ','KEY_TEST_UUID','parsePlaywrightTest','text','format','startTime','64558STTcHa','createContext','test','Error\x20in\x20createTestFrameworkEventPayload:\x20','XlrDl','KEY_TEST_FILE_PATH','FQFLH','JUZlh','kYiXC','failed','./testFramework','IkmjH','getTime','VCeue','debug','trackEvent\x20loading\x20testResults\x20for\x20testId:\x20','TZVMU','err','KEY_HOOKS_FINISHED','getTestFrameworksVersions','muzYo','createTestFrameworkEventPayload:\x20complete\x20for\x20testId:\x20','trackEvent:\x20found\x20instance,\x20testFrameworkState=','../grpcClient','KEY_TEST_RERUN_NAME','sendLogCreatedEvent','endedAt','CYmth','trackEvent\x20loading\x20testData\x20for\x20testId:\x20','RHuPN','expectedStatus','has','DEFAULT_HOOK_RESULT','KEY_LOGS','trackPlaywrightInstance:\x20saved\x20instance\x20contextId=','Error\x20processing\x20trace\x20file\x20','instance','KEY_TEST_FAILURE','inspect','671489LllPjt','\x20&\x20hook\x20=\x20','BynHG','sendLogCreatedEvent:\x20testId=','size','eventJson','oHLNB','LuZPb','errors','ilHlf','length','KEY_TEST_RETRY_OF','browserstackPlatformIndex','OcPMA','lbSNq','parent_id','push','KEY_EVENT_STARTED_AT','KEY_TEST_FAILURE_TYPE','executionContext','../../playwright/reporter/pwUtils','base64','2670kICEmP','9119KINhCt','./constants/testFrameworkConstants.js','../state/testFrameworkState.js','\x20batch\x20','RdWLV','getThreadId','OWgnh','../../../helpers/test-observability/utils','toISOString','mRioS','Mutrd','set','timedOut','\x20from\x20TestDetails:\x20','Error\x20processing\x20direct\x20trace\x20file\x20','KEY_TEST_ID','\x20target=','AHISr','fail','KEY_CUSTOM_TAGS','logCreatedEvent','split','EKFjF','forEach','favbz','syTBp','16GtSNiZ','result','iDCdj','TEST','testFrameworkState','KEY_TEST_LOGS','TEST_SCREENSHOT','POST','trackPlaywrightInstance:\x20created\x20instance\x20for\x20target=','ZVjCH','parsePlaywrightTestResult:\x20extracted\x20','toString','some','AotoD','gRUIT','VUSVX','logs','ijfKv','hook','retry','nibdV','duration'];a100_0x5818=function(){return _0x4e763d;};return a100_0x5818();}(function(_0x1d1d66,_0x300ef0){const _0xc913ae=a100_0x1df1,_0x1f6851=_0x1d1d66();while(!![]){try{const _0x24bcd1=parseInt(_0xc913ae(0x1a6))/0x1+-parseInt(_0xc913ae(0x241))/0x2+-parseInt(_0xc913ae(0x1e3))/0x3*(-parseInt(_0xc913ae(0x187))/0x4)+-parseInt(_0xc913ae(0x271))/0x5*(parseInt(_0xc913ae(0x217))/0x6)+-parseInt(_0xc913ae(0x1cd))/0x7*(parseInt(_0xc913ae(0x1fe))/0x8)+-parseInt(_0xc913ae(0x228))/0x9*(-parseInt(_0xc913ae(0x193))/0xa)+parseInt(_0xc913ae(0x1e4))/0xb*(parseInt(_0xc913ae(0x22e))/0xc);if(_0x24bcd1===_0x300ef0)break;else _0x1f6851['push'](_0x1f6851['shift']());}catch(_0x54a12f){_0x1f6851['push'](_0x1f6851['shift']());}}}(a100_0x5818,0x5338d));const TestFramework=require(a100_0x3d08ef(0x1b0)),TestFrameworkState=require(a100_0x3d08ef(0x1e6)),HookState=require(a100_0x3d08ef(0x23d)),{createClassLogger}=require('../../../helpers/classLogger.js'),TestFrameworkInstance=require('../instances/testFrameworkInstance.js'),CLIUtils=require(a100_0x3d08ef(0x18b)),TrackedInstance=require(a100_0x3d08ef(0x268)),TestFrameworkConstants=require(a100_0x3d08ef(0x1e5)),logger=createClassLogger(a100_0x3d08ef(0x17b)),{v4:uuidv4}=require('uuid'),util=require(a100_0x3d08ef(0x236)),{getPlaywrightSessionName,getPlaywrightTestFilePath,getPlaywrightTestId,getPlaywrightTestTitle,getPlaywrightTestTags,getPlaywrightTestCode,getPlaywrightTestScope,getPlaywrightTestScopes,getStepsAndLogs,getScreenshots,getVideos,getPlaywrightCustomRerunParam,getMediaArtifactsLogs,getManualUploadLogs,updatePayloadForTraceLogs}=require(a100_0x3d08ef(0x198)),TestInfo=require(a100_0x3d08ef(0x196)),GrpcClient=require(a100_0x3d08ef(0x1bd)),{removeAnsiColors,getFailureType,failureData}=require(a100_0x3d08ef(0x1eb)),{getFailureData,getTestTags,getTestRunIdentifier}=require(a100_0x3d08ef(0x1e1)),{findNestedKey,sendTraceZip,validateFilePath}=require(a100_0x3d08ef(0x1e1)),path=require('path'),fs=require('fs'),helper=require(a100_0x3d08ef(0x21d)),{PLAYWRIGHT_TRACE_LOGS}=require(a100_0x3d08ef(0x25e)),PLAYWRIGHT_BUILTIN_ANNOTATIONS=new Set([a100_0x3d08ef(0x231),'fixme','slow',a100_0x3d08ef(0x1f6)]);class PlaywrightTestFramework extends TestFramework{constructor(_0x166551,_0x2ade82,_0x17035c){super(_0x166551,_0x2ade82,_0x17035c);}async[a100_0x3d08ef(0x259)](_0x4a349e,_0xab1665,_0x1a6ad5={}){const _0x4b7e48=a100_0x3d08ef,_0x3624ad={'ijfKv':function(_0x2c8850,_0x2a22e2){return _0x2c8850===_0x2a22e2;},'qrQIW':function(_0x48e7be,_0x33b548){return _0x48e7be===_0x33b548;},'yTfcQ':function(_0x296eec,_0x2aa0de,_0x1124e6){return _0x296eec(_0x2aa0de,_0x1124e6);},'LsmUk':function(_0x4b5026,_0x30bf39){return _0x4b5026===_0x30bf39;},'hizYn':function(_0x575928,_0x28212e,_0x23f0da){return _0x575928(_0x28212e,_0x23f0da);},'PLuNO':function(_0x1ee6f4,_0x555476,_0x4d9fca,_0x26c482){return _0x1ee6f4(_0x555476,_0x4d9fca,_0x26c482);},'oHLNB':_0x4b7e48(0x1a8),'OcPMA':_0x4b7e48(0x22d)};super[_0x4b7e48(0x259)](_0x4a349e,_0xab1665,_0x1a6ad5);if(_0x3624ad[_0x4b7e48(0x20f)](_0x4a349e,TestFrameworkState[_0x4b7e48(0x204)])){const _0x54b8f7=TestInfo['getTestIdentifierFromTestInfo'](_0x1a6ad5['test'],_0x1a6ad5[_0x4b7e48(0x1a8)][_0x4b7e48(0x211)]);TestInfo['setTestDetails'](_0x54b8f7,_0x1a6ad5[_0x4b7e48(0x1ff)],!![]);}if(_0x3624ad['qrQIW'](_0x4a349e,TestFrameworkState['TEST_STEP'])){this[_0x4b7e48(0x237)](_0x4a349e,_0xab1665,_0x1a6ad5);return;}const _0x6812f7=this['resolveInstance'](_0x4a349e,_0xab1665,_0x1a6ad5);if(!_0x6812f7)return;logger[_0x4b7e48(0x1b4)](_0x4b7e48(0x1bc)+_0x4a349e+_0x4b7e48(0x251)+_0xab1665+'\x20instanceId='+_0x6812f7['getRef']());try{if(_0x3624ad[_0x4b7e48(0x20f)](_0xab1665,HookState[_0x4b7e48(0x189)])&&_0x3624ad['qrQIW'](_0x4a349e,TestFrameworkState['TEST'])){const _0xde6f10=_0x1a6ad5[_0x4b7e48(0x1a8)];logger[_0x4b7e48(0x1b4)](_0x4b7e48(0x1c2)+_0xde6f10['id']+'}');const _0x4981f7=TestInfo['getTestUUID'](_0x3624ad['yTfcQ'](getTestRunIdentifier,_0xde6f10,_0x1a6ad5[_0x4b7e48(0x1ff)][_0x4b7e48(0x211)]));_0x6812f7[_0x4b7e48(0x183)](this[_0x4b7e48(0x1a2)](_0x4981f7,_0xde6f10,_0x1a6ad5[_0x4b7e48(0x1ff)])),logger['debug'](_0x4b7e48(0x27e)+_0xde6f10['id']+_0x4b7e48(0x256)+_0x4a349e+'\x20testHookState='+_0xab1665+_0x4b7e48(0x238)+_0x6812f7['getRef']());}if(_0x3624ad['ijfKv'](_0xab1665,HookState['POST'])&&_0x3624ad[_0x4b7e48(0x19f)](_0x4a349e,TestFrameworkState[_0x4b7e48(0x201)])){const _0x3697a7=_0x1a6ad5[_0x4b7e48(0x1a8)],_0x5d18c6=_0x1a6ad5[_0x4b7e48(0x1ff)];logger[_0x4b7e48(0x1b4)](_0x4b7e48(0x1b5)+_0x3697a7['id']);const _0x209ca6=_0x3624ad[_0x4b7e48(0x24c)](getTestRunIdentifier,_0x3697a7,_0x5d18c6[_0x4b7e48(0x211)]),_0x5c31fa=_0x6812f7[_0x4b7e48(0x19c)]()[_0x4b7e48(0x17c)](_0x209ca6)[TestFrameworkConstants[_0x4b7e48(0x1a1)]],{steps:_0x40da28,logs:_0x423675}=_0x3624ad[_0x4b7e48(0x18c)](getStepsAndLogs,_0x5d18c6['steps'],_0x5c31fa,_0x3624ad[_0x4b7e48(0x1d3)]);_0x6812f7[_0x4b7e48(0x183)](this[_0x4b7e48(0x216)](_0x3697a7['id'],_0x5d18c6,_0x3697a7,_0x40da28)),await this[_0x4b7e48(0x1bf)](_0x6812f7,_0x4a349e,_0xab1665,_0x3624ad[_0x4b7e48(0x1d3)],_0x1a6ad5,_0x423675);}if(CLIUtils['matchHookRegex'](_0x4a349e['toString']()[_0x4b7e48(0x1f9)]('.')[0x1])){const _0x45852e=await this[_0x4b7e48(0x25a)](_0x6812f7,_0x4a349e,_0xab1665,_0x1a6ad5);_0x6812f7[_0x4b7e48(0x183)](_0x45852e);}}catch(_0x4853b9){logger['error'](util[_0x4b7e48(0x1a4)](_0x3624ad[_0x4b7e48(0x1da)],_0x4a349e,_0xab1665,_0x1a6ad5['length'],_0x4853b9));}_0x1a6ad5[_0x4b7e48(0x1ca)]=_0x6812f7,await this[_0x4b7e48(0x230)](_0x6812f7,_0x4a349e,_0xab1665,_0x1a6ad5);}[a100_0x3d08ef(0x269)](_0x21fa11,_0x3c13cf,_0xc9b638={}){const _0x5b50bd=a100_0x3d08ef,_0x505436={};_0x505436['RStzT']=function(_0x29fe8d,_0x3b1c84){return _0x29fe8d===_0x3b1c84;},_0x505436[_0x5b50bd(0x179)]=function(_0x3e4fc4,_0x20d04c){return _0x3e4fc4===_0x20d04c;};const _0x3910fd=_0x505436;let _0x4a588e=null;return(_0x3910fd[_0x5b50bd(0x23b)](_0x21fa11,TestFrameworkState[_0x5b50bd(0x181)])||_0x3910fd[_0x5b50bd(0x179)](_0x21fa11,TestFrameworkState['NONE']))&&this[_0x5b50bd(0x246)](_0x21fa11,_0xc9b638),_0x4a588e=TestFramework[_0x5b50bd(0x18e)](),_0x4a588e;}[a100_0x3d08ef(0x246)](_0x166f3b,_0x4ea3ad){const _0x2a4e09=a100_0x3d08ef,_0x228bea=CLIUtils[_0x2a4e09(0x188)](),_0x5e711c=TrackedInstance[_0x2a4e09(0x1a7)](_0x228bea);let _0x1d0c60=null;logger[_0x2a4e09(0x180)](_0x2a4e09(0x206)+_0x228bea+_0x2a4e09(0x23c)+_0x166f3b),_0x1d0c60=new TestFrameworkInstance(_0x5e711c,this[_0x2a4e09(0x21e)](),this[_0x2a4e09(0x1b9)](),_0x166f3b,HookState[_0x2a4e09(0x185)]),TestFramework[_0x2a4e09(0x27a)](_0x5e711c,_0x1d0c60),logger['info'](_0x2a4e09(0x1c8)+_0x5e711c[_0x2a4e09(0x249)]()+_0x2a4e09(0x1f4)+_0x228bea);}[a100_0x3d08ef(0x1a2)](_0x4da330,_0x1a6839,_0x3e0a31){const _0x353c31=a100_0x3d08ef,_0x37ae2a={'CYmth':function(_0xe26668,_0x358f84){return _0xe26668(_0x358f84);},'fUXzS':function(_0x4cc1ae,_0x105db7){return _0x4cc1ae(_0x105db7);},'bgdXF':function(_0x5aaa90,_0x570037){return _0x5aaa90(_0x570037);},'XpEAR':function(_0x1b4c87,_0x575a97){return _0x1b4c87(_0x575a97);},'oKxkQ':function(_0x1e36c1,_0x4608ca){return _0x1e36c1(_0x4608ca);},'yjllW':function(_0xbeaa7c,_0x4d8ae9){return _0xbeaa7c(_0x4d8ae9);},'NJCMs':function(_0x4c4177,_0x50ca27,_0x32f686){return _0x4c4177(_0x50ca27,_0x32f686);}},_0x2ce72a=_0x37ae2a['CYmth'](getPlaywrightTestId,_0x1a6839),_0x57a17d=_0x37ae2a[_0x353c31(0x226)](getPlaywrightTestTitle,_0x1a6839),_0x2256a9=_0x37ae2a['bgdXF'](getTestTags,_0x1a6839),_0x1fb9d7=_0x37ae2a['bgdXF'](getPlaywrightTestCode,_0x1a6839),_0x156ef7=_0x37ae2a['XpEAR'](getPlaywrightTestFilePath,_0x1a6839),_0x9d5248=_0x156ef7,_0x5de283=_0x37ae2a[_0x353c31(0x1c1)](getPlaywrightTestScope,_0x1a6839),_0xd4fff9=_0x37ae2a[_0x353c31(0x23f)](getPlaywrightTestScopes,_0x1a6839),_0x21c72e=_0x37ae2a[_0x353c31(0x19b)](getPlaywrightSessionName,_0x1a6839),_0x206544=this[_0x353c31(0x21e)]()[0x0],_0x2c71cd=_0x37ae2a[_0x353c31(0x243)](getTestRunIdentifier,_0x1a6839,_0x3e0a31[_0x353c31(0x211)]),_0x36228a={[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x206544,[TestFrameworkConstants[_0x353c31(0x18a)]]:this['getTestFrameworksVersions']()[_0x206544],[TestFrameworkConstants[_0x353c31(0x203)]]:[],[TestFrameworkConstants[_0x353c31(0x1b8)]]:{},[TestFrameworkConstants[_0x353c31(0x235)]]:{},[TestFrameworkConstants[_0x353c31(0x1a1)]]:_0x4da330,[TestFrameworkConstants['KEY_TEST_RESULT']]:TestFrameworkConstants[_0x353c31(0x177)],[TestFrameworkConstants[_0x353c31(0x22a)]]:_0x21c72e,[TestFrameworkConstants[_0x353c31(0x1ab)]]:_0x156ef7,[TestFrameworkConstants[_0x353c31(0x1f3)]]:_0x2ce72a,[TestFrameworkConstants['KEY_TEST_NAME']]:_0x57a17d,[TestFrameworkConstants[_0x353c31(0x192)]]:_0x9d5248,[TestFrameworkConstants[_0x353c31(0x257)]]:_0x1fb9d7,[TestFrameworkConstants['KEY_TEST_TAGS']]:_0x2256a9,[TestFrameworkConstants['KEY_TEST_STARTED_AT']]:_0x1a6839['results'][0x0][_0x353c31(0x1a5)],[TestFrameworkConstants['KEY_TEST_SCOPE']]:_0x5de283,[TestFrameworkConstants[_0x353c31(0x277)]]:_0xd4fff9,[TestFrameworkConstants[_0x353c31(0x1be)]]:_0x37ae2a[_0x353c31(0x23f)](getPlaywrightCustomRerunParam,_0x1a6839)};TestInfo[_0x353c31(0x219)](_0x2c71cd,_0x36228a);const _0x3f31c7={};return _0x3f31c7[_0x2c71cd]=_0x36228a,_0x3f31c7;}[a100_0x3d08ef(0x216)](_0x56ccf4,_0x4d141a,_0x3ec42c,_0xa91813){const _0x264f6d=a100_0x3d08ef,_0x408f42={'oISjr':function(_0x770a34,_0x34d888){return _0x770a34(_0x34d888);},'BynHG':_0x264f6d(0x195),'RBnTr':function(_0x2ddf82,_0xc2c0b1){return _0x2ddf82===_0xc2c0b1;},'NWvPE':function(_0x284c9c,_0x180e31){return _0x284c9c===_0x180e31;},'LFgMR':function(_0x551df6,_0x1a3f6f){return _0x551df6===_0x1a3f6f;},'LuZPb':function(_0x4e0e8e,_0x488287){return _0x4e0e8e(_0x488287);},'FmFTW':_0x264f6d(0x262),'ZLwYD':function(_0x5bd372,_0x162945){return _0x5bd372(_0x162945);},'AHISr':function(_0x50c8d0,_0x3d4f48,_0x24304a){return _0x50c8d0(_0x3d4f48,_0x24304a);},'AotoD':function(_0x4ff4db,_0x2e3c15){return _0x4ff4db===_0x2e3c15;},'VUSVX':_0x264f6d(0x25c),'FQFLH':_0x264f6d(0x247),'LhSwm':_0x264f6d(0x1af),'TZVMU':function(_0x51c4bd,_0x8b07bf){return _0x51c4bd===_0x8b07bf;},'ztYaT':_0x264f6d(0x1f0),'EKFjF':_0x264f6d(0x272),'gRUIT':function(_0x1a7b00,_0x4fd0ab){return _0x1a7b00||_0x4fd0ab;},'XlrDl':function(_0x311c11,_0x2ec746){return _0x311c11>_0x2ec746;},'gCVUF':function(_0x111b44,_0x3bff58,_0x2d9eb4){return _0x111b44(_0x3bff58,_0x2d9eb4);},'Mutrd':function(_0xde6999,_0x3eb929){return _0xde6999-_0x3eb929;},'Tsqdr':function(_0x1a0dd8,_0x1deae3,_0x4261a6,_0x59667d){return _0x1a0dd8(_0x1deae3,_0x4261a6,_0x59667d);},'KJIQd':_0x264f6d(0x1a8),'kYiXC':function(_0x203dcc,_0x24e881){return _0x203dcc===_0x24e881;},'dRUNb':function(_0x411ec3,_0x48b192){return _0x411ec3>=_0x48b192;},'ilHlf':function(_0x31f817,_0x1c4fe){return _0x31f817+_0x1c4fe;},'iDCdj':_0x264f6d(0x222),'uhOWA':function(_0x1f4ef7,_0xacbbb1,_0x18e3d4){return _0x1f4ef7(_0xacbbb1,_0x18e3d4);},'JUZlh':function(_0x53541a,_0x481cb0){return _0x53541a>_0x481cb0;},'YSaRX':function(_0x456f21,_0x51ba37){return _0x456f21(_0x51ba37);},'oeBKV':_0x264f6d(0x19a)};logger[_0x264f6d(0x1b4)]('parsePlaywrightTestResult:\x20testId='+_0x56ccf4);const _0x2de008=_0x408f42['AHISr'](getTestRunIdentifier,_0x3ec42c,_0x4d141a[_0x264f6d(0x211)]),_0x3784bf=new Date(),_0x4888d6=_0x4d141a[_0x264f6d(0x27c)],_0x5bd746=TestInfo[_0x264f6d(0x186)](_0x2de008)[TestFrameworkConstants['KEY_CUSTOM_TAGS']]||{};let _0x4a8191=_0x4888d6;if(_0x408f42['RBnTr'](_0x4d141a[_0x264f6d(0x27c)],_0x3ec42c['expectedStatus']))_0x4a8191=_0x408f42[_0x264f6d(0x20b)](_0x4d141a['status'],_0x408f42[_0x264f6d(0x20d)])?_0x408f42[_0x264f6d(0x20d)]:_0x408f42[_0x264f6d(0x1ac)];else{(_0x408f42['LFgMR'](_0x4a8191,_0x408f42['FQFLH'])||_0x408f42[_0x264f6d(0x178)](_0x4a8191,_0x408f42[_0x264f6d(0x21b)])||_0x408f42[_0x264f6d(0x1b6)](_0x4a8191,_0x408f42['ztYaT']))&&(_0x4a8191=_0x408f42['LhSwm']);if(_0x408f42[_0x264f6d(0x26b)](_0x4d141a[_0x264f6d(0x27c)],_0x408f42['FQFLH'])&&_0x408f42[_0x264f6d(0x252)](_0x3ec42c[_0x264f6d(0x1c4)],_0x408f42['LhSwm'])){const _0x347440={};_0x347440[_0x264f6d(0x24d)]=_0x408f42[_0x264f6d(0x1fa)],_0x347440['stack']=_0x408f42['EKFjF'],_0x4d141a[_0x264f6d(0x190)]=_0x347440,_0x4d141a['errors']=[_0x4d141a[_0x264f6d(0x190)]];}}const {failureData:_0x47527a,logs:_0x4cfc10}=_0x408f42[_0x264f6d(0x1f5)](getFailureData,_0x4d141a?.[_0x264f6d(0x1d5)],{}),_0x332dd6={[TestFrameworkConstants[_0x264f6d(0x1cb)]]:_0x408f42[_0x264f6d(0x20c)](_0x47527a,null),[TestFrameworkConstants[_0x264f6d(0x1df)]]:_0x4d141a?.['error']&&_0x408f42[_0x264f6d(0x276)](getFailureType,_0x4d141a['error'][_0x264f6d(0x24d)]),[TestFrameworkConstants[_0x264f6d(0x19d)]]:_0x4d141a?.['error']&&_0x408f42[_0x264f6d(0x1d4)](removeAnsiColors,_0x4d141a['error'][_0x264f6d(0x24d)]),[TestFrameworkConstants[_0x264f6d(0x1c7)]]:[],[TestFrameworkConstants[_0x264f6d(0x225)]]:_0x4a8191,[TestFrameworkConstants[_0x264f6d(0x194)]]:_0x3784bf[_0x264f6d(0x1ec)](),[TestFrameworkConstants[_0x264f6d(0x26a)]]:new Date()[_0x264f6d(0x1ec)](),[TestFrameworkConstants[_0x264f6d(0x1f7)]]:_0x5bd746};if(_0x4d141a&&_0x408f42['XlrDl'](_0x4d141a[_0x264f6d(0x211)],0x0)){const _0x4e4b65=TestInfo['getTestUUID'](_0x408f42[_0x264f6d(0x270)](getTestRunIdentifier,_0x3ec42c,_0x408f42[_0x264f6d(0x1ee)](_0x4d141a[_0x264f6d(0x211)],0x1)));_0x332dd6[TestFrameworkConstants[_0x264f6d(0x1d8)]]=_0x4e4b65;}const _0x39b350={};_0x39b350[_0x264f6d(0x1a8)]=_0x3ec42c;const _0x5c9c62=this[_0x264f6d(0x269)](TestFrameworkState[_0x264f6d(0x201)],HookState['POST'],_0x39b350),_0x47bbf3=_0x5c9c62[_0x264f6d(0x19c)]()[_0x264f6d(0x17c)](_0x2de008)[TestFrameworkConstants['KEY_TEST_UUID']],_0x5e9668=_0xa91813||_0x408f42['Tsqdr'](getStepsAndLogs,_0x4d141a['steps'],_0x47bbf3,_0x408f42['KJIQd'])[_0x264f6d(0x234)],_0x5b1edd=new Map(),_0x12da7d=new Map();let _0x47794d=0x0;const _0xc398f7=[];for(const _0x27125e of _0x5e9668||[]){const _0x5a6f32=_0x27125e[_0x264f6d(0x1dc)]||null;let _0x3f9772;if(_0x408f42[_0x264f6d(0x1ae)](_0x5a6f32,null)){if(_0x408f42[_0x264f6d(0x23e)](_0x47794d,TestFrameworkConstants[_0x264f6d(0x197)]))continue;_0x3f9772=0x0,_0x47794d++;}else{const _0xc3244b=_0x5b1edd['get'](_0x5a6f32);if(_0x408f42[_0x264f6d(0x20b)](_0xc3244b,undefined))continue;_0x3f9772=_0x408f42[_0x264f6d(0x1d6)](_0xc3244b,0x1);if(_0x408f42['XlrDl'](_0x3f9772,TestFrameworkConstants[_0x264f6d(0x244)]))continue;}_0x5b1edd[_0x264f6d(0x1ef)](_0x27125e['id'],_0x3f9772),_0x12da7d[_0x264f6d(0x1ef)](_0x27125e['id'],_0x27125e[_0x264f6d(0x1a3)]),_0xc398f7[_0x264f6d(0x1dd)]({'id':_0x27125e['id'],'parent_id':_0x5a6f32,'parent_text':_0x5a6f32?_0x12da7d[_0x264f6d(0x17c)](_0x5a6f32)||'':'','text':_0x27125e[_0x264f6d(0x1a3)],'keyword':_0x27125e[_0x264f6d(0x199)]||null,'started_at':_0x27125e[_0x264f6d(0x278)],'duration':_0x27125e[_0x264f6d(0x213)]??null,'result':_0x27125e[_0x264f6d(0x1ff)],'failure':_0x27125e[_0x264f6d(0x240)]||null,'failure_type':_0x27125e[_0x264f6d(0x27d)]||null});}const _0x365933={};_0x365933[_0x264f6d(0x234)]=_0xc398f7,_0x332dd6[TestFrameworkConstants[_0x264f6d(0x17e)]]=_0x365933,logger[_0x264f6d(0x1b4)](_0x264f6d(0x208)+_0xc398f7[_0x264f6d(0x1d7)]+'\x20steps\x20for\x20testId='+_0x56ccf4);const _0x27cc6c=[],_0x16b63a=_0x408f42['AHISr'](findNestedKey,_0x4d141a,_0x408f42[_0x264f6d(0x200)]);if(_0x16b63a&&_0x408f42[_0x264f6d(0x276)](validateFilePath,_0x16b63a))try{_0x27cc6c[_0x264f6d(0x1dd)]({'kind':_0x408f42['BynHG'],'timestamp':new Date()[_0x264f6d(0x1ec)](),'test_run_uuid':_0x47bbf3,'file_name':path[_0x264f6d(0x26c)](_0x16b63a),'file_size':fs[_0x264f6d(0x21c)](_0x16b63a)[_0x264f6d(0x1d1)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x2921b5){logger[_0x264f6d(0x190)](_0x264f6d(0x1f2)+_0x16b63a+':\x20'+_0x2921b5['message']);}const _0x2af9a3=TestInfo[_0x264f6d(0x279)](),_0x392ceb=_0x2af9a3['filter'](_0x2711f3=>_0x2711f3['testUId']===_0x47bbf3);_0x392ceb[_0x264f6d(0x1fb)](_0x1ae454=>{const _0x1ba061=_0x264f6d;if(_0x1ae454[_0x1ba061(0x21f)]&&_0x408f42[_0x1ba061(0x276)](validateFilePath,_0x1ae454[_0x1ba061(0x21f)])&&!_0x27cc6c[_0x1ba061(0x20a)](_0x181025=>_0x181025['file_name']===path['basename'](_0x1ae454[_0x1ba061(0x21f)])))try{_0x27cc6c[_0x1ba061(0x1dd)]({'kind':_0x408f42[_0x1ba061(0x1cf)],'timestamp':new Date()[_0x1ba061(0x1ec)](),'test_run_uuid':_0x47bbf3,'file_name':path[_0x1ba061(0x26c)](_0x1ae454[_0x1ba061(0x21f)]),'file_size':fs[_0x1ba061(0x21c)](_0x1ae454[_0x1ba061(0x21f)])[_0x1ba061(0x1d1)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x2b3f96){logger[_0x1ba061(0x190)](_0x1ba061(0x1c9)+_0x1ae454[_0x1ba061(0x21f)]+_0x1ba061(0x1f1)+_0x2b3f96[_0x1ba061(0x24d)]);}});if(_0x408f42[_0x264f6d(0x1aa)](_0x27cc6c[_0x264f6d(0x1d7)],0x0)){const _0x19c4fc=_0x332dd6[TestFrameworkConstants['KEY_LOGS']]||[];_0x332dd6[TestFrameworkConstants['KEY_LOGS']]=[..._0x19c4fc,..._0x27cc6c];}const _0x5d0fb8=TestInfo[_0x264f6d(0x186)](_0x2de008)[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]||{},_0x3f9a2b=_0x408f42['uhOWA'](getManualUploadLogs,_0x5d0fb8,_0x5c9c62['getAllData']()[_0x264f6d(0x17c)](_0x2de008)[TestFrameworkConstants['KEY_TEST_UUID']]);if(_0x408f42[_0x264f6d(0x1ad)](_0x3f9a2b['length'],0x0)){const _0xe00ff4=_0x332dd6[TestFrameworkConstants[_0x264f6d(0x1c7)]]||[];_0x332dd6[TestFrameworkConstants['KEY_LOGS']]=[..._0xe00ff4,..._0x3f9a2b];}const _0x375d56=_0x3ec42c[_0x264f6d(0x229)]||[],_0x366508=_0x332dd6[TestFrameworkConstants[_0x264f6d(0x1f7)]]||{},_0x594a46=_0x408f42[_0x264f6d(0x275)](require,_0x408f42[_0x264f6d(0x260)]);_0x375d56[_0x264f6d(0x1fb)](_0x122293=>{const _0x264f44=_0x264f6d,{type:_0x3cd1fc}=_0x122293;let _0x1d7b1c=_0x122293[_0x264f44(0x24f)];if(!_0x3cd1fc)return;if(PLAYWRIGHT_BUILTIN_ANNOTATIONS[_0x264f44(0x1c5)](_0x3cd1fc))return;(_0x408f42[_0x264f44(0x178)](_0x1d7b1c,undefined)||_0x408f42['NWvPE'](_0x1d7b1c,null)||_0x408f42[_0x264f44(0x252)](_0x408f42[_0x264f44(0x1d4)](String,_0x1d7b1c)[_0x264f44(0x18f)](),''))&&(_0x1d7b1c=_0x408f42['FmFTW']);const _0x443f49=helper[_0x264f44(0x232)](_0x408f42[_0x264f44(0x24a)](String,_0x1d7b1c));_0x594a46['mergeIntoTags'](_0x366508,_0x3cd1fc,_0x443f49);}),_0x332dd6[TestFrameworkConstants[_0x264f6d(0x1f7)]]=_0x366508,TestInfo['setTestDetails'](_0x2de008,_0x332dd6);const _0x2379b3={};return _0x2379b3[_0x2de008]=_0x332dd6,_0x2379b3;}[a100_0x3d08ef(0x237)](_0x3988c6,_0x1a1205,_0x2ca398){const _0x494b23=a100_0x3d08ef,_0x3e4dab={'mRioS':function(_0x280a44,_0x5845e9){return _0x280a44||_0x5845e9;},'vMDZb':function(_0x503bc5,_0x3c585d,_0x539c67){return _0x503bc5(_0x3c585d,_0x539c67);}};try{const {test:_0x4a64cd,result:_0x1d3f78,step:_0x21c918}=_0x2ca398;if(_0x3e4dab[_0x494b23(0x1ed)](!_0x4a64cd,!_0x21c918)||!_0x1d3f78)return;const _0x1bb8ca=_0x3e4dab[_0x494b23(0x21a)](getTestRunIdentifier,_0x4a64cd,_0x1d3f78['retry']);logger[_0x494b23(0x1b4)](_0x494b23(0x258)+_0x1bb8ca+_0x494b23(0x251)+_0x1a1205+'\x20step=\x22'+_0x21c918[_0x494b23(0x176)]+'\x22');}catch(_0x5f583b){logger['error']('trackStepEvent:\x20exception='+util[_0x494b23(0x1a4)](_0x5f583b));}}async[a100_0x3d08ef(0x25a)](_0x323c48,_0x4ec65,_0x3e210e,_0x452026){const _0x53f529=a100_0x3d08ef,_0x47e5b1={'lbSNq':function(_0x3ab7fc,_0x55405d,_0x443ea4){return _0x3ab7fc(_0x55405d,_0x443ea4);},'nFQHf':function(_0x53a389,_0x49ce09){return _0x53a389 in _0x49ce09;},'OGCQr':function(_0xbe2b12,_0x1b5e22){return _0xbe2b12 in _0x1b5e22;},'favbz':function(_0x2f2fb6,_0x11fdf0){return _0x2f2fb6(_0x11fdf0);},'JqBQz':function(_0x1dfaf3,_0x29c881){return _0x1dfaf3===_0x29c881;},'Rtlxm':function(_0x2bc207){return _0x2bc207();},'rrhlh':function(_0x37ef38,_0x546216){return _0x37ef38>_0x546216;},'vetWB':_0x53f529(0x1b7),'nOywP':function(_0x6531e5,_0x5ae851){return _0x6531e5(_0x5ae851);},'iBHus':function(_0x31fa35,_0x5d72b1){return _0x31fa35(_0x5d72b1);},'syTBp':_0x53f529(0x1af),'IkmjH':_0x53f529(0x247),'RHuPN':function(_0xad0456,_0x581b26){return _0xad0456!==_0x581b26;},'FuSmu':function(_0x614006,_0x9a07ed){return _0x614006+_0x9a07ed;},'gyVkb':_0x53f529(0x210)},_0x2b53d2=_0x452026[_0x53f529(0x1a8)],_0x2a00c6=_0x452026[_0x53f529(0x26f)],_0x57de87=_0x47e5b1[_0x53f529(0x1db)](getTestRunIdentifier,_0x2b53d2,_0x452026[_0x53f529(0x1ff)]['retry']),_0x6ec940=_0x4ec65[_0x53f529(0x209)]()[_0x53f529(0x1f9)]('.')[0x1];let _0x292444=_0x323c48['getAllData']()[_0x53f529(0x17c)](_0x57de87)[TestFrameworkConstants['KEY_HOOKS_STARTED']];!_0x292444&&(_0x292444={});!_0x47e5b1['nFQHf'](_0x6ec940,_0x292444)&&(_0x292444[_0x6ec940]=[]);let _0x5e1aa4=_0x323c48[_0x53f529(0x19c)]()['get'](_0x57de87)[TestFrameworkConstants['KEY_HOOKS_FINISHED']];!_0x5e1aa4&&(_0x5e1aa4={});!_0x47e5b1[_0x53f529(0x223)](_0x6ec940,_0x5e1aa4)&&(_0x5e1aa4[_0x6ec940]=[]);const _0x122516={[TestFrameworkConstants[_0x53f529(0x235)]]:_0x292444,[TestFrameworkConstants['KEY_HOOKS_FINISHED']]:_0x5e1aa4},_0x1263f4={};_0x1263f4[_0x57de87]=_0x122516;const _0x3bf660=_0x1263f4,_0x54c7e6=_0x47e5b1[_0x53f529(0x1fc)](getPlaywrightTestFilePath,_0x2b53d2),_0xe7bac=_0x54c7e6,_0x4f7666=TestInfo[_0x53f529(0x186)](_0x57de87)[TestFrameworkConstants[_0x53f529(0x1f7)]]||{};if(_0x47e5b1[_0x53f529(0x255)](_0x3e210e,HookState[_0x53f529(0x189)])){const _0x5db232={'key':_0x6ec940,[TestFrameworkConstants[_0x53f529(0x22f)]]:_0x47e5b1[_0x53f529(0x227)](uuidv4),[TestFrameworkConstants[_0x53f529(0x261)]]:TestFrameworkConstants[_0x53f529(0x1c6)],[TestFrameworkConstants[_0x53f529(0x1de)]]:_0x2a00c6['startTime'],[TestFrameworkConstants[_0x53f529(0x17d)]]:[],[TestFrameworkConstants[_0x53f529(0x218)]]:_0x2a00c6[_0x53f529(0x176)],[TestFrameworkConstants[_0x53f529(0x1ab)]]:_0x54c7e6,[TestFrameworkConstants[_0x53f529(0x192)]]:_0xe7bac,[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:_0x4f7666};_0x292444[_0x6ec940][_0x53f529(0x1dd)](_0x5db232),_0x3bf660[_0x57de87][TestFrameworkConstants['KEY_HOOK_LAST_STARTED']]=_0x6ec940,logger[_0x53f529(0x1b4)](_0x53f529(0x182)+_0x6ec940+_0x53f529(0x1ce)+_0x5db232+_0x53f529(0x254)+_0x452026);}else{if(_0x47e5b1[_0x53f529(0x255)](_0x3e210e,HookState[_0x53f529(0x205)])){const _0x10c792=await _0x452026[_0x53f529(0x1ff)],_0x159436=_0x292444[_0x6ec940]||[],_0x953bc5=_0x452026[_0x53f529(0x26f)];logger[_0x53f529(0x1b4)]('Hook\x20List\x20in\x20Post\x20'+_0x159436+'\x20and\x20args\x20=\x20'+_0x452026);if(_0x47e5b1[_0x53f529(0x224)](_0x159436[_0x53f529(0x1d7)],0x0)){const _0x257a65=_0x159436[_0x53f529(0x233)]();if(_0x953bc5[_0x53f529(0x190)]){const _0x4debd8=_0x47e5b1[_0x53f529(0x1db)](failureData,_0x953bc5[_0x53f529(0x190)],_0x47e5b1[_0x53f529(0x248)]);_0x257a65[TestFrameworkConstants[_0x53f529(0x220)]]=_0x47e5b1[_0x53f529(0x17a)](getFailureType,_0x953bc5?.['error'][_0x53f529(0x24d)]),_0x257a65[TestFrameworkConstants[_0x53f529(0x18d)]]=_0x47e5b1['iBHus'](removeAnsiColors,_0x953bc5?.[_0x53f529(0x190)][_0x53f529(0x24d)]),_0x257a65[TestFrameworkConstants['KEY_HOOK_RESULT']]=_0x47e5b1[_0x53f529(0x1fd)],_0x257a65[TestFrameworkConstants['KEY_HOOK_FAILURE']]=_0x4debd8;}else _0x257a65[TestFrameworkConstants[_0x53f529(0x261)]]=_0x47e5b1[_0x53f529(0x1b1)];_0x47e5b1[_0x53f529(0x1c3)](_0x10c792,TestFrameworkConstants[_0x53f529(0x1c6)])&&(_0x257a65[TestFrameworkConstants[_0x53f529(0x261)]]=!_0x953bc5[_0x53f529(0x190)]?_0x47e5b1[_0x53f529(0x1b1)]:_0x47e5b1[_0x53f529(0x1fd)]);const _0x52361b=new Date(_0x953bc5['startTime']),_0x102323=new Date(_0x47e5b1['FuSmu'](_0x52361b[_0x53f529(0x1b2)](),_0x953bc5[_0x53f529(0x213)]));_0x257a65[TestFrameworkConstants['KEY_EVENT_ENDED_AT']]=_0x102323[_0x53f529(0x1ec)](),_0x257a65[TestFrameworkConstants[_0x53f529(0x1f7)]]=_0x4f7666;const _0x2b4a6d=_0x257a65[TestFrameworkConstants[_0x53f529(0x22f)]];await this['sendLogCreatedEvent'](_0x323c48,_0x4ec65,_0x2b4a6d,_0x47e5b1[_0x53f529(0x242)],_0x452026),!_0x5e1aa4[_0x6ec940]&&(_0x5e1aa4[_0x6ec940]=[]),_0x5e1aa4[_0x6ec940][_0x53f529(0x1dd)](_0x257a65),_0x3bf660[_0x57de87][TestFrameworkConstants['KEY_HOOK_LAST_FINISHED']]=_0x6ec940;}}}return _0x3bf660;}async[a100_0x3d08ef(0x1bf)](_0x1cd6b5,_0x3dc9fb,_0xf2090d,_0x201e7f,_0x292d80,_0x175aea){const _0x28f376=a100_0x3d08ef,_0x1a1397={'nibdV':function(_0x34e534,_0x45a9b1){return _0x34e534===_0x45a9b1;},'vTCYD':_0x28f376(0x1a8),'VCeue':function(_0x4f2381,_0x59f8d1,_0x32c0ae){return _0x4f2381(_0x59f8d1,_0x32c0ae);},'NEjQj':function(_0x212dd7,_0x4ace29,_0x16ac3f){return _0x212dd7(_0x4ace29,_0x16ac3f);},'gCUCw':_0x28f376(0x265),'WGhgJ':function(_0x66b5ea,_0x4b437b,_0x4a9b7e,_0x1db699){return _0x66b5ea(_0x4b437b,_0x4a9b7e,_0x1db699);},'sosFF':function(_0x4042b7,_0x3ab03b,_0x27bda8){return _0x4042b7(_0x3ab03b,_0x27bda8);},'cjdUe':function(_0x36274b,_0x23da5d){return _0x36274b/_0x23da5d;},'brjAc':function(_0x44e073,_0x10893b){return _0x44e073<_0x10893b;},'muzYo':function(_0x211a3b,_0x7487d3){return _0x211a3b*_0x7487d3;},'Zdnns':function(_0x5ee1c7,_0x44aeec){return _0x5ee1c7+_0x44aeec;},'UXVzv':function(_0x4207aa,_0x48e7a1,_0x43c840,_0x164624,_0xe522e5){return _0x4207aa(_0x48e7a1,_0x43c840,_0x164624,_0xe522e5);},'GNBHy':function(_0x4f2afe,_0x1e5fde){return _0x4f2afe+_0x1e5fde;},'iWQIJ':function(_0x51e99c,_0x5eacb0){return _0x51e99c+_0x5eacb0;},'OWgnh':_0x28f376(0x210)};try{if(_0x1a1397[_0x28f376(0x212)](_0x201e7f,_0x1a1397[_0x28f376(0x191)])){const _0x23fbd1=await _0x292d80['result'],_0x5efd5a=_0x1a1397[_0x28f376(0x1b3)](getTestRunIdentifier,_0x292d80['test'],_0x292d80[_0x28f376(0x1ff)]['retry']),_0x4dbeee=_0x292d80[_0x28f376(0x1a8)];logger['debug']('sendLogCreatedEvent:\x20testId='+_0x5efd5a+_0x28f376(0x263)+util[_0x28f376(0x1cc)](_0x23fbd1));const _0x326903=_0x1cd6b5[_0x28f376(0x19c)]()[_0x28f376(0x17c)](_0x5efd5a)[TestFrameworkConstants[_0x28f376(0x1a1)]];await _0x1a1397[_0x28f376(0x253)](sendTraceZip,_0x23fbd1,_0x326903);const _0x268f61=TestInfo['getTestDetails'](_0x5efd5a)[_0x1a1397['gCUCw']],_0x5985e6={};if(_0x268f61){!_0x23fbd1[_0x28f376(0x265)]&&(_0x23fbd1[_0x28f376(0x265)]=[]);_0x5985e6['attachments']=_0x23fbd1[_0x28f376(0x265)]['concat'](_0x268f61||[]);const _0x27603c=TestInfo[_0x28f376(0x186)](_0x5efd5a);delete _0x27603c[_0x1a1397['gCUCw']],TestInfo[_0x28f376(0x219)](_0x5efd5a,_0x27603c);}const _0x32b5ed=_0x175aea||_0x1a1397[_0x28f376(0x26d)](getStepsAndLogs,_0x23fbd1[_0x28f376(0x234)],_0x1cd6b5[_0x28f376(0x19c)]()[_0x28f376(0x17c)](_0x5efd5a)[TestFrameworkConstants[_0x28f376(0x1a1)]],_0x1a1397[_0x28f376(0x191)])[_0x28f376(0x20e)],_0x296e46=_0x1a1397[_0x28f376(0x1b3)](getScreenshots,_0x5985e6,_0x1cd6b5[_0x28f376(0x19c)]()[_0x28f376(0x17c)](_0x5efd5a)[TestFrameworkConstants[_0x28f376(0x1a1)]]),_0x1c0014=_0x1a1397[_0x28f376(0x253)](getVideos,_0x23fbd1,_0x1cd6b5[_0x28f376(0x19c)]()[_0x28f376(0x17c)](_0x5efd5a)[TestFrameworkConstants[_0x28f376(0x1a1)]]),{_:_0x54d206,logs:_0x381a1a}=_0x1a1397[_0x28f376(0x1b3)](getFailureData,_0x23fbd1[_0x28f376(0x1d5)],{'test_run_uuid':_0x1cd6b5[_0x28f376(0x19c)]()[_0x28f376(0x17c)](_0x5efd5a)[TestFrameworkConstants['KEY_TEST_UUID']]}),_0x246089=TestInfo[_0x28f376(0x186)](_0x5efd5a)[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]||{},_0x3acd13=_0x1a1397['sosFF'](getMediaArtifactsLogs,_0x246089,_0x1cd6b5[_0x28f376(0x19c)]()[_0x28f376(0x17c)](_0x5efd5a)[TestFrameworkConstants[_0x28f376(0x1a1)]]),_0x5e1ac6=_0x1cd6b5[_0x28f376(0x19c)]()[_0x28f376(0x17c)](_0x5efd5a),{[TestFrameworkConstants[_0x28f376(0x22c)]]:_0x128819='',[TestFrameworkConstants[_0x28f376(0x18a)]]:_0x2ed55d=''}=_0x5e1ac6,_0x3eb4bc=(_0x32b5ed||[])[_0x28f376(0x221)](_0x296e46||[])[_0x28f376(0x221)](_0x381a1a||[])['concat'](_0x1c0014||[])[_0x28f376(0x221)](_0x3acd13||[]),_0x561bbf=0x28,_0x1a1048=Math[_0x28f376(0x264)](_0x1a1397[_0x28f376(0x245)](_0x3eb4bc[_0x28f376(0x1d7)],_0x561bbf));for(let _0x2a1c75=0x0;_0x1a1397[_0x28f376(0x27b)](_0x2a1c75,_0x1a1048);_0x2a1c75++){const _0x432339=_0x1a1397[_0x28f376(0x1ba)](_0x2a1c75,_0x561bbf),_0x3ebc5e=_0x1a1397[_0x28f376(0x273)](_0x432339,_0x561bbf),_0x4721a3=_0x3eb4bc['slice'](_0x432339,_0x3ebc5e),_0x1188f2={'platformIndex':global?.[_0x28f376(0x1d9)]??0x0,'logs':_0x4721a3,'testFrameworkName':_0x128819,'testFrameworkVersion':_0x2ed55d,'testFrameworkState':_0x3dc9fb[_0x28f376(0x209)]()[_0x28f376(0x1f9)]('.')[0x1]};_0x1a1397[_0x28f376(0x239)](updatePayloadForTraceLogs,_0x1188f2,_0x292d80,_0x5efd5a,_0x1cd6b5),logger[_0x28f376(0x1b4)](_0x28f376(0x26e)+_0x5efd5a+_0x28f376(0x1e7)+_0x1a1397[_0x28f376(0x24b)](_0x2a1c75,0x1)+'/'+_0x1a1048+'\x20payload='+util[_0x28f376(0x1cc)](_0x1188f2));const _0x54dbb2=await GrpcClient[_0x28f376(0x274)]()[_0x28f376(0x1f8)](_0x1188f2);logger[_0x28f376(0x1b4)](_0x28f376(0x26e)+_0x5efd5a+'\x20batch\x20'+_0x1a1397[_0x28f376(0x1a0)](_0x2a1c75,0x1)+'/'+_0x1a1048+'\x20response='+util['inspect'](_0x54dbb2));}}else{const {logs:_0x4de9e6}=_0x1a1397[_0x28f376(0x26d)](getStepsAndLogs,_0x292d80['step']['steps'],_0xf2090d,_0x1a1397[_0x28f376(0x1ea)]),_0x396ef0=_0x1a1397[_0x28f376(0x1b3)](getTestRunIdentifier,_0x292d80[_0x28f376(0x1a8)],_0x292d80['result']['retry']);logger[_0x28f376(0x1b4)](_0x28f376(0x1d0)+_0x396ef0);const _0x3d21dd=_0x1cd6b5[_0x28f376(0x19c)]()[_0x28f376(0x17c)](_0x396ef0),{[TestFrameworkConstants[_0x28f376(0x22c)]]:_0x1c19b9='',[TestFrameworkConstants[_0x28f376(0x18a)]]:_0x9c69ae=''}=_0x3d21dd,_0x198391={'platformIndex':'0','logs':_0x4de9e6,'testFrameworkName':_0x1c19b9,'testFrameworkVersion':_0x9c69ae,'testFrameworkState':_0x3dc9fb[_0x28f376(0x209)]()['split']('.')[0x1]};_0x1a1397[_0x28f376(0x239)](updatePayloadForTraceLogs,_0x198391,_0x292d80,_0x396ef0,_0x1cd6b5),logger[_0x28f376(0x1b4)]('sendLogCreatedEvent\x20for\x20testId:\x20'+_0x396ef0+_0x28f376(0x25f)+util[_0x28f376(0x1cc)](_0x198391));const _0x2c0ed0=await GrpcClient[_0x28f376(0x274)]()[_0x28f376(0x1f8)](_0x198391);}}catch(_0x46b5d3){logger[_0x28f376(0x190)](_0x28f376(0x22b)+util['format'](_0x46b5d3));}}[a100_0x3d08ef(0x25b)](_0x4e8d3c){const _0x3e20f2=a100_0x3d08ef,_0x2cfba5={'ZVjCH':function(_0x33c7ad,_0x542518,_0x5643e3){return _0x33c7ad(_0x542518,_0x5643e3);},'kdomc':function(_0x2a4026,_0x370d48){return _0x2a4026<_0x370d48;},'RdWLV':_0x3e20f2(0x1e2)};try{const _0x1ec6a6=_0x4e8d3c[_0x3e20f2(0x1a8)]['id'],_0x5815a6=_0x2cfba5[_0x3e20f2(0x207)](getTestRunIdentifier,_0x4e8d3c[_0x3e20f2(0x1a8)],_0x4e8d3c['result']['retry']),_0x33e983=_0x4e8d3c['instance'],_0x60f552=_0x33e983[_0x3e20f2(0x267)](),_0xda815a=_0x33e983[_0x3e20f2(0x19c)]()[_0x3e20f2(0x17c)](_0x5815a6);logger['debug']('createTestFrameworkEventPayload\x20testId:\x20'+_0x1ec6a6);const {[TestFrameworkConstants[_0x3e20f2(0x22c)]]:_0x5a9c65='',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x2dc322='',[TestFrameworkConstants[_0x3e20f2(0x250)]]:_0x43459c='',[TestFrameworkConstants[_0x3e20f2(0x194)]]:_0x3755cc=''}=_0xda815a,_0x47f6b4=_0x33e983['getCurrentTestState']()[_0x3e20f2(0x209)]()[_0x3e20f2(0x1f9)]('.')[0x1],_0x28c3ae=_0x33e983['getCurrentHookState']()[_0x3e20f2(0x209)]()[_0x3e20f2(0x1f9)]('.')[0x1],_0x23e3a2=_0x2cfba5[_0x3e20f2(0x23a)](_0x4e8d3c?.['result']?.[_0x3e20f2(0x184)]??0x0,0x0)?0x0:_0x4e8d3c?.[_0x3e20f2(0x1ff)]?.[_0x3e20f2(0x184)]??0x0,_0x38b47e=_0x33e983['getRef'](),_0x1fa2fd=Buffer[_0x3e20f2(0x25d)](JSON['stringify'](_0xda815a))[_0x3e20f2(0x209)](_0x2cfba5[_0x3e20f2(0x1e8)]),_0x2b6e2e={'hash':_0x60f552[_0x3e20f2(0x249)](),'threadId':_0x60f552[_0x3e20f2(0x1e9)]()[_0x3e20f2(0x209)](),'processId':_0x60f552['getProcessId']()['toString']()},_0x5cd1fe={};_0x5cd1fe[_0x3e20f2(0x215)]=_0x23e3a2,_0x5cd1fe['testFrameworkName']=_0x5a9c65,_0x5cd1fe[_0x3e20f2(0x17f)]=_0x2dc322,_0x5cd1fe[_0x3e20f2(0x202)]=_0x47f6b4,_0x5cd1fe['hookState']=_0x28c3ae,_0x5cd1fe[_0x3e20f2(0x214)]=_0x43459c,_0x5cd1fe[_0x3e20f2(0x1c0)]=_0x3755cc,_0x5cd1fe[_0x3e20f2(0x24e)]=_0x38b47e,_0x5cd1fe[_0x3e20f2(0x1d2)]=_0x1fa2fd,_0x5cd1fe[_0x3e20f2(0x1e0)]=_0x2b6e2e;const _0x578be5=_0x5cd1fe;return logger[_0x3e20f2(0x1b4)](_0x3e20f2(0x1bb)+_0x1ec6a6+'\x20testState:\x20'+_0x47f6b4+_0x3e20f2(0x19e)+_0x28c3ae),_0x578be5;}catch(_0x568eae){return logger[_0x3e20f2(0x190)](_0x3e20f2(0x1a9)+util[_0x3e20f2(0x1a4)](_0x568eae)),{};}}}module[a100_0x3d08ef(0x266)]=PlaywrightTestFramework;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a101_0x5d3d1f=a101_0x1d49;(function(_0x12e758,_0x4e719b){const _0x28a443=a101_0x1d49,_0x136935=_0x12e758();while(!![]){try{const _0x475217=-parseInt(_0x28a443(0x175))/0x1*(-parseInt(_0x28a443(0x168))/0x2)+-parseInt(_0x28a443(0x167))/0x3*(parseInt(_0x28a443(0x183))/0x4)+-parseInt(_0x28a443(0x190))/0x5*(-parseInt(_0x28a443(0x189))/0x6)+-parseInt(_0x28a443(0x193))/0x7*(parseInt(_0x28a443(0x18f))/0x8)+-parseInt(_0x28a443(0x187))/0x9+parseInt(_0x28a443(0x185))/0xa*(parseInt(_0x28a443(0x16b))/0xb)+parseInt(_0x28a443(0x176))/0xc*(parseInt(_0x28a443(0x164))/0xd);if(_0x475217===_0x4e719b)break;else _0x136935['push'](_0x136935['shift']());}catch(_0x48ea42){_0x136935['push'](_0x136935['shift']());}}}(a101_0x25a8,0x43454));const AutomationFramework=require(a101_0x5d3d1f(0x182)),{createClassLogger}=require(a101_0x5d3d1f(0x17a)),AutomationFrameworkState=require(a101_0x5d3d1f(0x174)),HookState=require(a101_0x5d3d1f(0x163)),CLIUtils=require('../cliUtils.js'),TrackedInstance=require(a101_0x5d3d1f(0x16a)),AutomationFrameworkInstance=require('../instances/automationFrameworkInstance.js');class PuppeteerAutomationFramework extends AutomationFramework{[a101_0x5d3d1f(0x17b)]=createClassLogger(a101_0x5d3d1f(0x186));constructor(_0x360b46,_0x3b5d60){super(_0x360b46,_0x3b5d60);}async['trackEvent'](_0xb97665,_0x2f1abb,_0x58ad65={}){const _0x4cfe21=a101_0x5d3d1f,_0xbbcdd5={};_0xbbcdd5[_0x4cfe21(0x16d)]=function(_0x4542e8,_0x27e758){return _0x4542e8===_0x27e758;},_0xbbcdd5[_0x4cfe21(0x17d)]=_0x4cfe21(0x169);const _0x48bb61=_0xbbcdd5;this['logger'][_0x4cfe21(0x17c)](_0x4cfe21(0x171)+_0xb97665+_0x4cfe21(0x18c)+_0x2f1abb),await super['trackEvent'](_0xb97665,_0x2f1abb,_0x58ad65);const _0x43a082=this[_0x4cfe21(0x166)](_0xb97665,_0x2f1abb,_0x58ad65);if(_0x48bb61[_0x4cfe21(0x16d)](_0x43a082,null)){this['logger']['debug'](_0x48bb61['NWIJy']);return;}_0x58ad65[_0x4cfe21(0x170)]=_0x43a082,await this[_0x4cfe21(0x16c)](_0x43a082,_0xb97665,_0x2f1abb,_0x58ad65);}[a101_0x5d3d1f(0x166)](_0x540dbe,_0x4456cd,_0x13fded={}){const _0x1cae0f=a101_0x5d3d1f,_0x539f31={};_0x539f31['kDpWB']=function(_0x2fc13d,_0x451268){return _0x2fc13d===_0x451268;},_0x539f31[_0x1cae0f(0x172)]=function(_0x5c2b81,_0x47accc){return _0x5c2b81===_0x47accc;},_0x539f31['QsNtC']=function(_0xcd60be,_0x16b69b){return _0xcd60be===_0x16b69b;};const _0x162bb4=_0x539f31;let _0x1b59b7=null;return(_0x162bb4[_0x1cae0f(0x18e)](_0x540dbe,AutomationFrameworkState[_0x1cae0f(0x179)])&&_0x162bb4[_0x1cae0f(0x172)](_0x4456cd,HookState[_0x1cae0f(0x165)])||_0x162bb4[_0x1cae0f(0x18b)](_0x540dbe,AutomationFrameworkState[_0x1cae0f(0x178)]))&&this[_0x1cae0f(0x177)](_0x540dbe,_0x13fded),_0x1b59b7=AutomationFramework[_0x1cae0f(0x181)](),_0x1b59b7;}[a101_0x5d3d1f(0x177)](_0x5bbd53,_0x411437){const _0x5d79e4=a101_0x5d3d1f,_0x2fb180={};_0x2fb180[_0x5d79e4(0x191)]=_0x5d79e4(0x17e);const _0x4925cc=_0x2fb180;if(AutomationFramework[_0x5d79e4(0x181)]()){this['logger'][_0x5d79e4(0x184)](_0x4925cc['QIsEG']);return;}const _0x1153b1=CLIUtils[_0x5d79e4(0x192)](),_0x80167b=TrackedInstance[_0x5d79e4(0x173)](_0x1153b1);let _0x1721da=null;this[_0x5d79e4(0x17b)][_0x5d79e4(0x184)]('trackPuppeteerInstance:\x20created\x20instance\x20for\x20target='+_0x1153b1+',\x20state='+_0x5bbd53),_0x1721da=new AutomationFrameworkInstance(_0x80167b,this[_0x5d79e4(0x18d)](),this[_0x5d79e4(0x18a)](),_0x5bbd53),AutomationFramework[_0x5d79e4(0x17f)](_0x80167b,_0x1721da),this[_0x5d79e4(0x17b)]['info'](_0x5d79e4(0x16e)+_0x80167b[_0x5d79e4(0x16f)]()+_0x5d79e4(0x180)+_0x1153b1);}}function a101_0x1d49(_0x5923bf,_0x1e14c5){const _0x25a88b=a101_0x25a8();return a101_0x1d49=function(_0x1d4993,_0x92cc82){_0x1d4993=_0x1d4993-0x163;let _0x3a4da8=_0x25a88b[_0x1d4993];return _0x3a4da8;},a101_0x1d49(_0x5923bf,_0x1e14c5);}function a101_0x25a8(){const _0x25761d=['2735070ndgkJn','QIsEG','getCurrentInstanceName','1046472PqhczQ','../state/hookState.js','4927FDndtc','PRE','resolveInstance','147TicYRs','59718zYJDgq','trackEvent:\x20No\x20instance\x20found,\x20skipping\x20tracking','../instances/trackedInstance.js','77xxCiEA','runHooks','vinMk','trackPuppeteerInstance:\x20saved\x20instance\x20contextId=','getId','instance','trackEvent:\x20automationFrameworkState=','kJdsH','createContext','../state/automationFrameworkState.js','5xomnOW','21144xDCerl','trackPuppeteerInstance','NONE','CREATE','../../../helpers/classLogger.js','logger','debug','NWIJy','trackPuppeteerInstance:\x20instance\x20already\x20exists','setTrackedInstance','\x20target=','getTrackedInstance','./automationFramework.js','35636vqMihq','info','18680zPfZDI','PuppeteerAutomationFramework','3294990BbMerc','exports','6oQQTcH','getAutomationFrameworkVersion','QsNtC','\x20hookState=','getAutomationFrameworkName','kDpWB','16jzRSQN'];a101_0x25a8=function(){return _0x25761d;};return a101_0x25a8();}module[a101_0x5d3d1f(0x188)]=PuppeteerAutomationFramework;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a102_0xb4eb46=a102_0x1536;(function(_0x36a316,_0x152d43){const _0x12d82e=a102_0x1536,_0x38c270=_0x36a316();while(!![]){try{const _0x11850c=parseInt(_0x12d82e(0x173))/0x1+-parseInt(_0x12d82e(0x15a))/0x2*(parseInt(_0x12d82e(0x17d))/0x3)+parseInt(_0x12d82e(0x161))/0x4+parseInt(_0x12d82e(0x17e))/0x5*(parseInt(_0x12d82e(0x162))/0x6)+-parseInt(_0x12d82e(0x172))/0x7*(parseInt(_0x12d82e(0x15f))/0x8)+parseInt(_0x12d82e(0x163))/0x9+parseInt(_0x12d82e(0x179))/0xa*(-parseInt(_0x12d82e(0x174))/0xb);if(_0x11850c===_0x152d43)break;else _0x38c270['push'](_0x38c270['shift']());}catch(_0x25145a){_0x38c270['push'](_0x38c270['shift']());}}}(a102_0x59a6,0x92d89));const CLIUtils=require(a102_0xb4eb46(0x15b)),eventDispatcher=require(a102_0xb4eb46(0x165)),TestFrameworkInstance=require(a102_0xb4eb46(0x15c)),TrackedContext=require(a102_0xb4eb46(0x158)),TestFrameworkState=require('../state/testFrameworkState'),HookState=require(a102_0xb4eb46(0x170)),{createClassLogger}=require('../../../helpers/classLogger'),TrackedInstance=require(a102_0xb4eb46(0x16f)),logger=createClassLogger(a102_0xb4eb46(0x178));function a102_0x59a6(){const _0x31ffa8=['getInstances','../eventDispatcher','__bstack_test_framework_instances__','getHookRegistryKey','instances','trackEvent:\x20testFrameworkState=','testFrameworkVersions','setCurrentHookState','get',';\x20hookState=','testFrameworks','../instances/trackedInstance','../state/hookState','binSessionId','60361bkYmhm','869155ucvRmw','231HgaZBD','registerObserver','trackEvent','setInstance','TestFramework','125690RdKUdm','setTrackedInstance','setState','set','29643jcpAla','1057205UQsDUr','has','exports','getId','runHooks','hasState','getState','../instances/trackedContext','getCurrentInstanceName','24GFFRTY','../cliUtils','../instances/testFrameworkInstance','debug','getTestFrameworks','584nwcqCp','getAllData','448564WkntyX','6cslsoN','3786696hffqyh'];a102_0x59a6=function(){return _0x31ffa8;};return a102_0x59a6();}!global[a102_0xb4eb46(0x166)]&&(global[a102_0xb4eb46(0x166)]=new Map());function a102_0x1536(_0x5ef7fb,_0x10b92e){const _0x59a6e1=a102_0x59a6();return a102_0x1536=function(_0x1536b4,_0x3e667c){_0x1536b4=_0x1536b4-0x156;let _0x2fe784=_0x59a6e1[_0x1536b4];return _0x2fe784;},a102_0x1536(_0x5ef7fb,_0x10b92e);}class TestFramework{static get[a102_0xb4eb46(0x168)](){const _0x5e945a=a102_0xb4eb46;return global[_0x5e945a(0x166)];}[a102_0xb4eb46(0x16e)]=[];[a102_0xb4eb46(0x16a)]={};[a102_0xb4eb46(0x171)]=null;constructor(_0x6548cf,_0x25856f,_0x386f62){const _0x226f05=a102_0xb4eb46;this['testFrameworks']=_0x6548cf,this[_0x226f05(0x16a)]=_0x25856f,this[_0x226f05(0x171)]=_0x386f62;}[a102_0xb4eb46(0x164)](){return TestFramework['instances'];}[a102_0xb4eb46(0x177)](_0x385b68,_0x9d1298){const _0x1020ae=a102_0xb4eb46;TestFramework['instances'][_0x1020ae(0x17c)](_0x385b68[_0x1020ae(0x181)],_0x9d1298);}static['getTrackedInstance'](){const _0x2fbd17=a102_0xb4eb46,_0x244b31=TrackedInstance['createContext'](CLIUtils[_0x2fbd17(0x159)]());return TestFramework['instances'][_0x2fbd17(0x16c)](_0x244b31[_0x2fbd17(0x181)]());}static[a102_0xb4eb46(0x17a)](_0x3ab7ff,_0x32746f){const _0x135dc6=a102_0xb4eb46;TestFramework[_0x135dc6(0x168)][_0x135dc6(0x17c)](_0x3ab7ff[_0x135dc6(0x181)](),_0x32746f);}['getTestFrameworksVersions'](){const _0x146864=a102_0xb4eb46;return this[_0x146864(0x16a)];}[a102_0xb4eb46(0x15e)](){const _0x2e6ec4=a102_0xb4eb46;return this[_0x2e6ec4(0x16e)];}[a102_0xb4eb46(0x176)](_0x2d546a,_0x398a95,_0x2c3006={}){const _0x23eccb=a102_0xb4eb46;logger[_0x23eccb(0x15d)](_0x23eccb(0x169)+_0x2d546a+_0x23eccb(0x16d)+_0x398a95);}async[a102_0xb4eb46(0x182)](_0x1689eb,_0x4b80d9,_0x2e7970,_0xbd8927={}){const _0x52da45=a102_0xb4eb46,_0x3b850d=CLIUtils[_0x52da45(0x167)](_0x4b80d9,_0x2e7970);_0x1689eb['setCurrentTestState'](_0x4b80d9),_0x1689eb[_0x52da45(0x16b)](_0x2e7970),await eventDispatcher['notifyObserver'](_0x3b850d,_0xbd8927);}static[a102_0xb4eb46(0x175)](_0x565320,_0x4b588e,_0x2b7a33){const _0x370e4f=a102_0xb4eb46;eventDispatcher[_0x370e4f(0x175)](CLIUtils[_0x370e4f(0x167)](_0x565320,_0x4b588e),_0x2b7a33);}static[a102_0xb4eb46(0x157)](_0x32789c,_0x19d0db){const _0x31e82f=a102_0xb4eb46;return _0x32789c[_0x31e82f(0x160)]()[_0x31e82f(0x16c)](_0x19d0db);}static[a102_0xb4eb46(0x17b)](_0x522c66,_0x4ec5d2,_0x3eccc3){const _0x5a5e88=a102_0xb4eb46;_0x522c66[_0x5a5e88(0x160)]()['set'](_0x4ec5d2,_0x3eccc3);}static[a102_0xb4eb46(0x156)](_0x26b47a,_0x545b8e){const _0x4788e2=a102_0xb4eb46;return _0x26b47a[_0x4788e2(0x160)]()[_0x4788e2(0x17f)](_0x545b8e);}}module[a102_0xb4eb46(0x180)]=TestFramework;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';function
|
|
1
|
+
'use strict';const a103_0x2dc029=a103_0x10e3;function a103_0x10e3(_0x13a556,_0x107b7f){const _0x388bcb=a103_0x388b();return a103_0x10e3=function(_0x10e371,_0x3d6100){_0x10e371=_0x10e371-0x1ef;let _0x59a9f9=_0x388bcb[_0x10e371];return _0x59a9f9;},a103_0x10e3(_0x13a556,_0x107b7f);}(function(_0x10cae9,_0x4ab2e4){const _0x2bf942=a103_0x10e3,_0x245506=_0x10cae9();while(!![]){try{const _0x379700=-parseInt(_0x2bf942(0x208))/0x1*(-parseInt(_0x2bf942(0x204))/0x2)+parseInt(_0x2bf942(0x218))/0x3*(-parseInt(_0x2bf942(0x21b))/0x4)+parseInt(_0x2bf942(0x1f9))/0x5+-parseInt(_0x2bf942(0x20c))/0x6*(-parseInt(_0x2bf942(0x209))/0x7)+-parseInt(_0x2bf942(0x1f2))/0x8+parseInt(_0x2bf942(0x224))/0x9+-parseInt(_0x2bf942(0x1f6))/0xa;if(_0x379700===_0x4ab2e4)break;else _0x245506['push'](_0x245506['shift']());}catch(_0x5bad61){_0x245506['push'](_0x245506['shift']());}}}(a103_0x388b,0x81787));function a103_0x388b(){const _0x3e1940=['platformIndex','resolveInstance','getAutomationFrameworkName','instance','get','getInstanceByUserAgent','428LdcAYA','userAgent','trackEvent','createContext','3946faikUP','937867orwSfs','debug','../instances/automationFrameworkInstance.js','42SfKeUl','uXbxV','resolveInstance:\x20no\x20userAgent\x20in\x20args;\x20falling\x20back\x20to\x20default\x20tracked\x20instance','\x20→\x20','../instances/trackedInstance.js','testcafe:','MdmMk','slice','./automationFramework.js','rvKWE','lastIndexOf','isInteger','3fJUkPp','startsWith','\x20hookState=','1226560uCQpWf','\x22\x20platformIndex=','uxmyn','set','info','removeInstance','NONE','getTrackedInstance','entries','5171031XGjGqA','CREATE','parseInt','getAutomationFrameworkVersion','1972680BaziTN','MIWuF','exports','delete','16444920zogKmn','Wvvpj','trackEvent:\x20no\x20instance\x20for\x20state=','1855790MEVuqp','vuSoD','resolveInstance:\x20created\x20instance\x20for\x20userAgent=\x22','instances','BCNBy'];a103_0x388b=function(){return _0x3e1940;};return a103_0x388b();}const AutomationFramework=require(a103_0x2dc029(0x214)),AutomationFrameworkInstance=require(a103_0x2dc029(0x20b)),AutomationFrameworkState=require('../state/automationFrameworkState.js'),TrackedInstance=require(a103_0x2dc029(0x210)),{createClassLogger}=require('../../../helpers/classLogger.js'),logger=createClassLogger('TestCafeAutomationFramework');class TestCafeAutomationFramework extends AutomationFramework{constructor(_0x5842b2,_0x3e685a){super(_0x5842b2,_0x3e685a);}async[a103_0x2dc029(0x206)](_0x3f8b28,_0x40362b,_0x2474e6={}){const _0x37ab88=a103_0x2dc029;await super[_0x37ab88(0x206)](_0x3f8b28,_0x40362b,_0x2474e6);const _0x388908=this[_0x37ab88(0x1ff)](_0x3f8b28,_0x40362b,_0x2474e6);if(!_0x388908){logger[_0x37ab88(0x20a)](_0x37ab88(0x1f8)+_0x3f8b28+_0x37ab88(0x21a)+_0x40362b);return;}_0x2474e6[_0x37ab88(0x201)]=_0x388908,await this['runHooks'](_0x388908,_0x3f8b28,_0x40362b,_0x2474e6);}[a103_0x2dc029(0x1ff)](_0x23e7ef,_0x1e6243,_0x5b6780={}){const _0x45cfa7=a103_0x2dc029,_0x56fa0e={};_0x56fa0e['uXbxV']=_0x45cfa7(0x20e),_0x56fa0e[_0x45cfa7(0x21d)]=function(_0x47fc31,_0x518f59){return _0x47fc31===_0x518f59;},_0x56fa0e[_0x45cfa7(0x1f3)]=function(_0x78e9d3,_0x5335a3){return _0x78e9d3===_0x5335a3;},_0x56fa0e[_0x45cfa7(0x212)]=function(_0x41d3d1,_0x551b62){return _0x41d3d1||_0x551b62;};const _0x514878=_0x56fa0e,_0x2538bf=_0x5b6780[_0x45cfa7(0x205)]||null;if(!_0x2538bf)return logger['warn'](_0x514878[_0x45cfa7(0x20d)]),AutomationFramework[_0x45cfa7(0x222)]();const _0x5c29e0=Number[_0x45cfa7(0x217)](_0x5b6780[_0x45cfa7(0x1fe)])?_0x5b6780[_0x45cfa7(0x1fe)]:0x0,_0x568742=_0x45cfa7(0x211)+_0x2538bf+'#'+_0x5c29e0;let _0x5613d4=AutomationFramework[_0x45cfa7(0x1fc)][_0x45cfa7(0x202)](_0x568742);if(!_0x5613d4&&(_0x514878[_0x45cfa7(0x21d)](_0x23e7ef,AutomationFrameworkState[_0x45cfa7(0x1ef)])||_0x514878[_0x45cfa7(0x1f3)](_0x23e7ef,AutomationFrameworkState[_0x45cfa7(0x221)]))){const _0x4ef7b7=TrackedInstance[_0x45cfa7(0x207)](_0x568742);_0x5613d4=new AutomationFrameworkInstance(_0x4ef7b7,this[_0x45cfa7(0x200)](),this[_0x45cfa7(0x1f1)](),_0x23e7ef),AutomationFramework[_0x45cfa7(0x1fc)][_0x45cfa7(0x21e)](_0x568742,_0x5613d4),logger[_0x45cfa7(0x21f)](_0x45cfa7(0x1fb)+_0x2538bf+_0x45cfa7(0x21c)+_0x5c29e0+_0x45cfa7(0x20f)+_0x568742);}return _0x514878[_0x45cfa7(0x212)](_0x5613d4,null);}static[a103_0x2dc029(0x220)](_0x31b403,_0x4bc829=0x0){const _0x3fedf7=a103_0x2dc029,_0x510b22=_0x3fedf7(0x211)+_0x31b403+'#'+_0x4bc829;return AutomationFramework[_0x3fedf7(0x1fc)][_0x3fedf7(0x1f5)](_0x510b22);}static[a103_0x2dc029(0x203)](_0x27f796,_0x7a588a=0x0){const _0x3fe74a=a103_0x2dc029;return AutomationFramework[_0x3fe74a(0x1fc)]['get']('testcafe:'+_0x27f796+'#'+_0x7a588a)||null;}static*['iterAllInstances'](){const _0x17154a=a103_0x2dc029,_0x3d7e4b={};_0x3d7e4b[_0x17154a(0x215)]=function(_0xd0cb50,_0x36dec4){return _0xd0cb50===_0x36dec4;},_0x3d7e4b['UIRsy']='string',_0x3d7e4b[_0x17154a(0x1f7)]=_0x17154a(0x211),_0x3d7e4b['vuSoD']=function(_0x3dc01e,_0x2ecab5){return _0x3dc01e===_0x2ecab5;},_0x3d7e4b[_0x17154a(0x1fd)]=function(_0x2a963e,_0x2ef7c1){return _0x2a963e+_0x2ef7c1;};const _0x131b4b=_0x3d7e4b;for(const [_0x14eefd,_0x48e9b9]of AutomationFramework['instances'][_0x17154a(0x223)]()){if(_0x131b4b[_0x17154a(0x215)](typeof _0x14eefd,_0x131b4b['UIRsy'])&&_0x14eefd[_0x17154a(0x219)](_0x131b4b['Wvvpj'])){const _0x471058=_0x14eefd[_0x17154a(0x213)](_0x131b4b[_0x17154a(0x1f7)]['length']),_0x45b461=_0x471058[_0x17154a(0x216)]('#');if(_0x131b4b[_0x17154a(0x1fa)](_0x45b461,-0x1)){const _0x335928={};_0x335928[_0x17154a(0x205)]=_0x471058,_0x335928[_0x17154a(0x1fe)]=0x0,_0x335928[_0x17154a(0x201)]=_0x48e9b9,yield _0x335928;}else{const _0x543f08=_0x471058['slice'](0x0,_0x45b461),_0x33f6c4=Number[_0x17154a(0x1f0)](_0x471058[_0x17154a(0x213)](_0x131b4b['BCNBy'](_0x45b461,0x1)),0xa)||0x0,_0x4e015d={};_0x4e015d[_0x17154a(0x205)]=_0x543f08,_0x4e015d[_0x17154a(0x1fe)]=_0x33f6c4,_0x4e015d['instance']=_0x48e9b9,yield _0x4e015d;}}}}}module[a103_0x2dc029(0x1f4)]=TestCafeAutomationFramework;
|