browserstack-node-sdk 1.63.1 → 1.63.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +1 -1
- package/src/ai-sdk-node/bundle.js +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jasmine/bstack-reporter/customReporter.js +1 -1
- package/src/bin/jasmine/command.js +1 -1
- package/src/bin/jasmine/test.setup.js +1 -1
- package/src/bin/jasmine/testRunMap.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customSequencer.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test.setup.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/load/index.js +1 -1
- package/src/bin/load/loadErrors.js +1 -1
- package/src/bin/load/loadUtils.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/builderPatch.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/newman/command.js +1 -1
- package/src/bin/newman/helper.js +1 -1
- package/src/bin/newman/reporter/index.js +1 -1
- package/src/bin/newman/scriptRunner.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/puppeteer/patches.js +1 -1
- package/src/bin/puppeteer/sessionDetails.js +1 -1
- package/src/bin/puppeteer/test.setup.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/testcafe/a11y-runner.js +1 -1
- package/src/bin/testcafe/command.js +1 -1
- package/src/bin/testcafe/reporter/index.js +1 -1
- package/src/bin/testcafe/reporter/tcUtils.js +1 -1
- package/src/bin/testcafe/session-registry.js +1 -1
- package/src/bin/testcafe/stdout-interceptor.js +1 -1
- package/src/bin/testcafe/testcafe-action-patcher.js +1 -1
- package/src/bin/testcafe/w3c-driver.js +1 -1
- package/src/bin/utils/apiUtilityMethods.js +1 -1
- package/src/bin/utils/clientTroubleshootingService.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/utils/playwright-patcher.js +1 -1
- package/src/bin/utils/puppeteer-patcher.js +1 -1
- package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
- package/src/bin/utils/sharedUtils.js +1 -1
- package/src/bin/v2/TestInfo.js +1 -1
- package/src/bin/v2/browserstackCLI.js +1 -1
- package/src/bin/v2/cliUtils.js +1 -1
- package/src/bin/v2/customTagManager.js +1 -1
- package/src/bin/v2/eventDispatcher.js +1 -1
- package/src/bin/v2/framework/automationFramework.js +1 -1
- package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
- package/src/bin/v2/framework/jestTestFramework.js +1 -1
- package/src/bin/v2/framework/newmanTestFramework.js +1 -1
- package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
- package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
- package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
- package/src/bin/v2/framework/testFramework.js +1 -1
- package/src/bin/v2/framework/testcafeAutomationFramework.js +1 -1
- package/src/bin/v2/framework/testcafeTestFramework.js +1 -1
- package/src/bin/v2/grpcClient.js +1 -1
- package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/trackedContext.js +1 -1
- package/src/bin/v2/instances/trackedInstance.js +1 -1
- package/src/bin/v2/modules/accessibilityModule.js +1 -1
- package/src/bin/v2/modules/baseModule.js +1 -1
- package/src/bin/v2/modules/loadTestModule.js +1 -1
- package/src/bin/v2/modules/observabilityModule.js +1 -1
- package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
- package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
- package/src/bin/v2/modules/testcafeDriverModule.js +1 -1
- package/src/bin/v2/modules/testhubModule.js +1 -1
- package/src/bin/v2/sdkErrorHandler.js +1 -1
- package/src/bin/v2/state/automationFrameworkState.js +1 -1
- package/src/bin/v2/state/hookState.js +1 -1
- package/src/bin/v2/state/testFrameworkState.js +1 -1
- package/src/bin/v2/uploadAttachmentsManager.js +1 -1
- package/src/bin/v2/utils/cucumber-utils.js +1 -1
- package/src/bin/v2/utils/jest-utils.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
- package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/caCertHelper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/central-scanner/constants.js +1 -1
- package/src/helpers/central-scanner/helpers.js +1 -1
- package/src/helpers/classLogger.js +1 -1
- package/src/helpers/driverInitErrorReporter.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/metadata.js +1 -1
- package/src/helpers/patchHelper.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance/constants.js +1 -1
- package/src/helpers/performance/performance-tester.js +1 -1
- package/src/helpers/playwright-helper.js +1 -1
- package/src/helpers/processHelper.js +1 -1
- package/src/helpers/puppeteer-helper.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/stackFrameUtils.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/test-orchestration/constants.js +1 -1
- package/src/helpers/test-orchestration/failfastManager.js +1 -1
- package/src/helpers/test-orchestration/fileHelper.js +1 -1
- package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
- package/src/helpers/test-orchestration/requestUtils.js +1 -1
- package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
- package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
- package/src/helpers/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/timeoutPromise.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const a95_0x3fa5ae=a95_0x19be;(function(_0x1cd0b1,_0x5bea2d){const _0x470127=a95_0x19be,_0x321fb5=_0x1cd0b1();while(!![]){try{const _0x22c32b=-parseInt(_0x470127(0x1d5))/0x1*(parseInt(_0x470127(0x19c))/0x2)+parseInt(_0x470127(0x197))/0x3+parseInt(_0x470127(0x21e))/0x4+parseInt(_0x470127(0x192))/0x5+parseInt(_0x470127(0x20b))/0x6+-parseInt(_0x470127(0x1cf))/0x7*(-parseInt(_0x470127(0x19f))/0x8)+-parseInt(_0x470127(0x27e))/0x9*(parseInt(_0x470127(0x1ec))/0xa);if(_0x22c32b===_0x5bea2d)break;else _0x321fb5['push'](_0x321fb5['shift']());}catch(_0x133e38){_0x321fb5['push'](_0x321fb5['shift']());}}}(a95_0x5c17,0x8aa37));const TestFramework=require(a95_0x3fa5ae(0x22f)),TestFrameworkState=require(a95_0x3fa5ae(0x18c)),HookState=require(a95_0x3fa5ae(0x1b7)),{createClassLogger}=require('../../../helpers/classLogger.js'),TestFrameworkInstance=require('../instances/testFrameworkInstance.js'),CLIUtils=require(a95_0x3fa5ae(0x27b)),TrackedInstance=require(a95_0x3fa5ae(0x1ae)),TestFrameworkConstants=require(a95_0x3fa5ae(0x26b)),logger=createClassLogger('PlaywrightTestFramework'),{v4:uuidv4}=require('uuid'),util=require(a95_0x3fa5ae(0x1ca)),{getPlaywrightSessionName,getPlaywrightTestFilePath,getPlaywrightTestId,getPlaywrightTestTitle,getPlaywrightTestTags,getPlaywrightTestCode,getPlaywrightTestScope,getPlaywrightTestScopes,getStepsAndLogs,getScreenshots,getVideos,getPlaywrightCustomRerunParam,getMediaArtifactsLogs,getManualUploadLogs,updatePayloadForTraceLogs}=require(a95_0x3fa5ae(0x229)),TestInfo=require(a95_0x3fa5ae(0x1ac)),GrpcClient=require(a95_0x3fa5ae(0x23e)),{removeAnsiColors,getFailureType,failureData}=require(a95_0x3fa5ae(0x24b)),{getFailureData,getTestTags,getTestRunIdentifier}=require(a95_0x3fa5ae(0x1b3)),{findNestedKey,sendTraceZip,validateFilePath}=require(a95_0x3fa5ae(0x1b3)),path=require(a95_0x3fa5ae(0x186)),fs=require('fs'),helper=require(a95_0x3fa5ae(0x1f5)),{PLAYWRIGHT_TRACE_LOGS}=require(a95_0x3fa5ae(0x234)),PLAYWRIGHT_BUILTIN_ANNOTATIONS=new Set([a95_0x3fa5ae(0x282),'fixme',a95_0x3fa5ae(0x272),'fail']);function a95_0x5c17(){const _0x32038d=['parsePlaywrightTest','getAllData','\x20payload=','getTime','getTestUUID','../cliUtils.js','hook','UkCRX','27657VtRiJB','\x20testState:\x20','sCHyd','MAX_TOP_LEVEL_STEPS','skip','TEST_STEP','getThreadId','ZNTWk','KEY_HOOK_FAILURE_REASON','trackStepEvent:\x20exception=','KEY_TEST_UUID','lwjrv','KUxwn','KEY_TEST_LOGS','format','rRVOn','passed','uMfRC','stringify','keyword','path','basename','INIT_TEST','endedAt','yHoiq','rBZIf','../state/testFrameworkState.js','DEFAULT_HOOK_RESULT','sendLogCreatedEvent','inspect','base64','trackStepEvent:\x20testId=','14340qWZEcJ','uzEQQ','\x20target=','Tkjar','YHwwD','3235485iNQKfr','sendLogCreatedEvent\x20for\x20testId:\x20','bVOmC','trackPlaywrightInstance','NGHJG','10334IKXJdS','KEY_TEST_RESULT_AT','KEY_TEST_FAILURE_TYPE','488976nbREXb','err','filePath','setTrackedInstance','platformIndex','bzjMM','logCreatedEvent','setTestDetails','length','some','toISOString','getTestIdentifierFromTestInfo','eventJson','../TestInfo.js','\x20batch\x20','../instances/trackedInstance.js','aZhKm','results','XRAwm','getTestFrameworks','../../playwright/reporter/pwUtils','logs','../customTagManager','TEST','../state/hookState.js','\x20hookState:\x20','TEST_SCREENSHOT','KEY_TEST_LOCATION','split','goWLr','getContext','info','\x20and\x20args\x20=\x20','instance','statSync','fdIAI','mergeIntoTags','ghVhv','PphuK','trackEvent:\x20Exception\x20in\x20event\x20tracking,\x20testFrameworkState=%s\x20hookState=%s\x20argsLength=%s,\x20exception=%s','Error\x20processing\x20trace\x20file\x20','KEY_TEST_ID','wqIQm','util','getRef','KEY_AUTOMATE_SESSION_NAME','timedOut','KEY_TEST_CODE','35zCICCb','OeXFv','trackPlaywrightInstance:\x20saved\x20instance\x20contextId=','\x20instance=','QyutW','KEY_TEST_ENDED_AT','149KJWBQJ','KEY_HOOK_LAST_STARTED','KEY_CUSTOM_TAGS','\x20from\x20TestDetails:\x20','getTraceFilePaths','tKCvh','KEY_TEST_FAILURE','\x20step=\x22','OACmx','testUId','skipped','createTestFrameworkEventPayload\x20testId:\x20','executionContext','PRE','KEY_TEST_NAME','trim','MhLbF','annotations','testFrameworkName','KEY_EVENT_ENDED_AT','description','KEY_TEST_FRAMEWORK_NAME','debug','3280Pgcvel','EabUL','\x20&\x20hook\x20=\x20','ySRKD','ckyjF','parallelIndex','yBRER','failed','KEY_HOOKS_STARTED','../../../../src/helpers/helper','has','runHooks','getTrackedInstance','from','result','KEY_TEST_SCOPE','grFvS','qlUcz','addMultipleEntries','KEY_HOOK_LOGS','tZuGB','Hook\x20List\x20in\x20Post\x20','getInstance','error','test','KEY_TEST_RETRY_OF','OsNQP','duration','dHdOn','slice','yraaY','399804SiXCAC','file_name','ssBAf','KEY_TEST_SCOPES','TEST_ATTACHMENT','size','trackEvent','sendLogCreatedEvent:\x20testId=','status','xsjfX','message','parsePlaywrightTestResult:\x20extracted\x20','bemCY','step','title','KEY_TEST_STARTED_AT','\x20result=','NONE','ytWod','3568332VllYKH','set','jmzgG','ByAxw','atUWk','POST','eUKgq','uuid','\x20hookState=','rzwUv','FTKyl','../../../helpers/helper.js','trackStepEvent','ujvLl','No\x20reason\x20provided','concat','parsePlaywrightTestResult:\x20testId=','./testFramework','KEY_HOOK_ID','KEY_HOOKS_FINISHED','qeday','KEY_TEST_RERUN_NAME','../../utils/constants','failure','YuxCf','KEY_TEST_FILE_PATH','DEFAULT_TEST_RESULT','trackHookEvent','getId','browserstackPlatformIndex','errors','KEY_TEST_ATTACHMENTS','../grpcClient','akjzq','KEY_HOOK_RESULT','Hook\x20Started\x20in\x20PRE\x20key\x20=\x20','getProcessId','hookState','retry','resolveInstance','hTzJl','YQgpL','aPHDo','WHIfT','KEY_LOGS','../../../helpers/test-observability/utils','Error\x20in\x20createTestFrameworkEventPayload:\x20',',\x20state=','testFrameworkVersion','attachments','getTestDetails','\x20response=','steps','ifcZs','gtXAI','KEY_HOOK_NAME','NgAMf','startTime','\x20steps\x20for\x20testId=','rKqUW','Yypkk','Expected\x20to\x20fail,\x20but\x20passed.','expectedStatus','Error\x20processing\x20direct\x20trace\x20file\x20','YXuZS','KEY_EVENT_STARTED_AT','toString','ZSKsp','forEach','KEY_TEST_FAILURE_REASON','kcsss','exports','\x20\x20and\x20args\x20=\x20','startedAt','SxkaB','KEY_TEST_TAGS','zztNA','./constants/testFrameworkConstants.js','Error\x20in\x20sendLogCreatedEvent:\x20','get','aXwId','jcrnF','SgzPR','KEY_TEST_FRAMEWORK_VERSION','slow','push','SHEbo','zSUKD'];a95_0x5c17=function(){return _0x32038d;};return a95_0x5c17();}class PlaywrightTestFramework extends TestFramework{constructor(_0x29d5c7,_0x37af7e,_0x39c807){super(_0x29d5c7,_0x37af7e,_0x39c807);}async[a95_0x3fa5ae(0x211)](_0x24d3a6,_0x445993,_0x2278a8={}){const _0x39c0a4=a95_0x3fa5ae,_0x2e54d0={'SHEbo':function(_0x24523b,_0x58ae79){return _0x24523b===_0x58ae79;},'XRAwm':function(_0x57b320,_0x26759e){return _0x57b320===_0x26759e;},'aXwId':function(_0x500a4b,_0x310954,_0x1e7873){return _0x500a4b(_0x310954,_0x1e7873);},'YOJgt':function(_0x195819,_0x2c4ad9){return _0x195819===_0x2c4ad9;},'SgzPR':function(_0x2a8557,_0x2d11f3){return _0x2a8557===_0x2d11f3;},'OACmx':function(_0x124229,_0x1d4a57,_0x18d0d6,_0x3ef410){return _0x124229(_0x1d4a57,_0x18d0d6,_0x3ef410);},'yBRER':'test','gtXAI':_0x39c0a4(0x1c6)};super[_0x39c0a4(0x211)](_0x24d3a6,_0x445993,_0x2278a8);if(_0x2e54d0[_0x39c0a4(0x274)](_0x24d3a6,TestFrameworkState[_0x39c0a4(0x1b9)])){const _0x4bc5ba=TestInfo[_0x39c0a4(0x1aa)](_0x2278a8['test'],_0x2278a8[_0x39c0a4(0x204)][_0x39c0a4(0x244)]);TestInfo[_0x39c0a4(0x1a6)](_0x4bc5ba,_0x2278a8[_0x39c0a4(0x1fa)],!![]);}if(_0x2e54d0['SHEbo'](_0x24d3a6,TestFrameworkState[_0x39c0a4(0x283)])){this[_0x39c0a4(0x22a)](_0x24d3a6,_0x445993,_0x2278a8);return;}const _0x3bd0f2=this[_0x39c0a4(0x245)](_0x24d3a6,_0x445993,_0x2278a8);if(!_0x3bd0f2)return;logger[_0x39c0a4(0x1eb)]('trackEvent:\x20found\x20instance,\x20testFrameworkState='+_0x24d3a6+_0x39c0a4(0x226)+_0x445993+'\x20instanceId='+_0x3bd0f2[_0x39c0a4(0x1cb)]());try{if(_0x2e54d0[_0x39c0a4(0x274)](_0x445993,HookState[_0x39c0a4(0x1e2)])&&_0x2e54d0[_0x39c0a4(0x1b1)](_0x24d3a6,TestFrameworkState['TEST'])){const _0x10f5a6=_0x2278a8['test'];logger[_0x39c0a4(0x1eb)]('trackEvent\x20loading\x20testData\x20for\x20testId:\x20'+_0x10f5a6['id']+'}');const _0x5d0c17=TestInfo[_0x39c0a4(0x27a)](_0x2e54d0[_0x39c0a4(0x26e)](getTestRunIdentifier,_0x10f5a6,_0x2278a8[_0x39c0a4(0x1fa)][_0x39c0a4(0x244)]));_0x3bd0f2['addMultipleEntries'](this[_0x39c0a4(0x276)](_0x5d0c17,_0x10f5a6,_0x2278a8['result'])),logger['debug']('trackEvent:\x20loaded\x20testData\x20for\x20testId:\x20'+_0x10f5a6['id']+',\x20testFrameworkState='+_0x24d3a6+'\x20testHookState='+_0x445993+_0x39c0a4(0x1d2)+_0x3bd0f2[_0x39c0a4(0x1cb)]());}if(_0x2e54d0['YOJgt'](_0x445993,HookState['POST'])&&_0x2e54d0[_0x39c0a4(0x270)](_0x24d3a6,TestFrameworkState[_0x39c0a4(0x1b6)])){const _0x24c1a9=_0x2278a8[_0x39c0a4(0x204)],_0x42cb12=_0x2278a8[_0x39c0a4(0x1fa)];logger[_0x39c0a4(0x1eb)]('trackEvent\x20loading\x20testResults\x20for\x20testId:\x20'+_0x24c1a9['id']);const _0x4e6c34=_0x2e54d0[_0x39c0a4(0x26e)](getTestRunIdentifier,_0x24c1a9,_0x42cb12[_0x39c0a4(0x244)]),_0x290e57=_0x3bd0f2[_0x39c0a4(0x277)]()['get'](_0x4e6c34)[TestFrameworkConstants['KEY_TEST_UUID']],{steps:_0x4f0187,logs:_0x318697}=_0x2e54d0[_0x39c0a4(0x1dd)](getStepsAndLogs,_0x42cb12['steps'],_0x290e57,_0x2e54d0[_0x39c0a4(0x1f2)]);_0x3bd0f2[_0x39c0a4(0x1fe)](this['parsePlaywrightTestResult'](_0x24c1a9['id'],_0x42cb12,_0x24c1a9,_0x4f0187)),await this[_0x39c0a4(0x18e)](_0x3bd0f2,_0x24d3a6,_0x445993,_0x2e54d0['yBRER'],_0x2278a8,_0x318697);}if(CLIUtils['matchHookRegex'](_0x24d3a6[_0x39c0a4(0x260)]()[_0x39c0a4(0x1bb)]('.')[0x1])){const _0x4fe6a9=await this[_0x39c0a4(0x239)](_0x3bd0f2,_0x24d3a6,_0x445993,_0x2278a8);_0x3bd0f2[_0x39c0a4(0x1fe)](_0x4fe6a9);}}catch(_0x1415cf){logger[_0x39c0a4(0x203)](util[_0x39c0a4(0x180)](_0x2e54d0[_0x39c0a4(0x254)],_0x24d3a6,_0x445993,_0x2278a8['length'],_0x1415cf));}_0x2278a8['instance']=_0x3bd0f2,await this[_0x39c0a4(0x1f7)](_0x3bd0f2,_0x24d3a6,_0x445993,_0x2278a8);}[a95_0x3fa5ae(0x245)](_0x50f560,_0x1a06fc,_0x8225bf={}){const _0x5a57e6=a95_0x3fa5ae,_0x37599f={};_0x37599f[_0x5a57e6(0x220)]=function(_0x28a257,_0x237a39){return _0x28a257===_0x237a39;},_0x37599f[_0x5a57e6(0x1af)]=function(_0x105009,_0x1b1caf){return _0x105009===_0x1b1caf;};const _0x536f03=_0x37599f;let _0x46d758=null;return(_0x536f03['jmzgG'](_0x50f560,TestFrameworkState[_0x5a57e6(0x188)])||_0x536f03[_0x5a57e6(0x1af)](_0x50f560,TestFrameworkState[_0x5a57e6(0x21c)]))&&this[_0x5a57e6(0x19a)](_0x50f560,_0x8225bf),_0x46d758=TestFramework[_0x5a57e6(0x1f8)](),_0x46d758;}[a95_0x3fa5ae(0x19a)](_0x56464d,_0x3a1e60){const _0x3a8f01=a95_0x3fa5ae,_0x500a75=CLIUtils['getCurrentInstanceName'](),_0x526e59=TrackedInstance['createContext'](_0x500a75);let _0x11e8ab=null;logger[_0x3a8f01(0x1be)]('trackPlaywrightInstance:\x20created\x20instance\x20for\x20target='+_0x500a75+_0x3a8f01(0x24d)+_0x56464d),_0x11e8ab=new TestFrameworkInstance(_0x526e59,this[_0x3a8f01(0x1b2)](),this['getTestFrameworksVersions'](),_0x56464d,HookState[_0x3a8f01(0x21c)]),TestFramework[_0x3a8f01(0x1a2)](_0x526e59,_0x11e8ab),logger[_0x3a8f01(0x1be)](_0x3a8f01(0x1d1)+_0x526e59[_0x3a8f01(0x23a)]()+_0x3a8f01(0x194)+_0x500a75);}[a95_0x3fa5ae(0x276)](_0xb1eff9,_0x1f41a4,_0xe4be5){const _0x267a79=a95_0x3fa5ae,_0x504598={'YQgpL':function(_0x575ec3,_0x557545){return _0x575ec3(_0x557545);},'rBZIf':function(_0x1db8f3,_0x43224a){return _0x1db8f3(_0x43224a);},'PhqFj':function(_0x3e198c,_0x5b8616){return _0x3e198c(_0x5b8616);},'YuxCf':function(_0x284897,_0xcf2aa3){return _0x284897(_0xcf2aa3);},'jcrnF':function(_0x121bd2,_0x4de95a,_0x43ba2a){return _0x121bd2(_0x4de95a,_0x43ba2a);},'ZNTWk':function(_0x88e1ee,_0x2501b5){return _0x88e1ee(_0x2501b5);}},_0x4c31dc=_0x504598[_0x267a79(0x247)](getPlaywrightTestId,_0x1f41a4),_0x4d9da7=_0x504598[_0x267a79(0x18b)](getPlaywrightTestTitle,_0x1f41a4),_0x431801=_0x504598[_0x267a79(0x247)](getTestTags,_0x1f41a4),_0x51196d=_0x504598[_0x267a79(0x247)](getPlaywrightTestCode,_0x1f41a4),_0x5d6876=_0x504598['PhqFj'](getPlaywrightTestFilePath,_0x1f41a4),_0x304d5d=_0x5d6876,_0x318c51=_0x504598[_0x267a79(0x236)](getPlaywrightTestScope,_0x1f41a4),_0x5b4393=_0x504598[_0x267a79(0x247)](getPlaywrightTestScopes,_0x1f41a4),_0x2c1cb2=_0x504598[_0x267a79(0x18b)](getPlaywrightSessionName,_0x1f41a4),_0x3ccb02=this['getTestFrameworks']()[0x0],_0x57bff2=_0x504598[_0x267a79(0x26f)](getTestRunIdentifier,_0x1f41a4,_0xe4be5[_0x267a79(0x244)]),_0x43baea={[TestFrameworkConstants[_0x267a79(0x1ea)]]:_0x3ccb02,[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:this['getTestFrameworksVersions']()[_0x3ccb02],[TestFrameworkConstants[_0x267a79(0x28b)]]:[],[TestFrameworkConstants['KEY_HOOKS_FINISHED']]:{},[TestFrameworkConstants[_0x267a79(0x1f4)]]:{},[TestFrameworkConstants[_0x267a79(0x288)]]:_0xb1eff9,[TestFrameworkConstants['KEY_TEST_RESULT']]:TestFrameworkConstants[_0x267a79(0x238)],[TestFrameworkConstants[_0x267a79(0x1cc)]]:_0x2c1cb2,[TestFrameworkConstants['KEY_TEST_FILE_PATH']]:_0x5d6876,[TestFrameworkConstants[_0x267a79(0x1c8)]]:_0x4c31dc,[TestFrameworkConstants[_0x267a79(0x1e3)]]:_0x4d9da7,[TestFrameworkConstants[_0x267a79(0x1ba)]]:_0x304d5d,[TestFrameworkConstants[_0x267a79(0x1ce)]]:_0x51196d,[TestFrameworkConstants[_0x267a79(0x269)]]:_0x431801,[TestFrameworkConstants[_0x267a79(0x21a)]]:_0x1f41a4[_0x267a79(0x1b0)][0x0]['startTime'],[TestFrameworkConstants[_0x267a79(0x1fb)]]:_0x318c51,[TestFrameworkConstants[_0x267a79(0x20e)]]:_0x5b4393,[TestFrameworkConstants[_0x267a79(0x233)]]:_0x504598[_0x267a79(0x285)](getPlaywrightCustomRerunParam,_0x1f41a4)};TestInfo[_0x267a79(0x1a6)](_0x57bff2,_0x43baea);const _0x76a657={};return _0x76a657[_0x57bff2]=_0x43baea,_0x76a657;}['parsePlaywrightTestResult'](_0x494cdc,_0x586581,_0x25fdc3,_0x1087b6){const _0x16c705=a95_0x3fa5ae,_0x587287={'zztNA':function(_0xc37385,_0xe5f10){return _0xc37385(_0xe5f10);},'tZuGB':_0x16c705(0x20f),'zSUKD':function(_0x48aa92,_0xa26a83){return _0x48aa92===_0xa26a83;},'yraaY':function(_0x23e76c,_0x55ee3a){return _0x23e76c===_0x55ee3a;},'ifcZs':_0x16c705(0x22c),'atUWk':function(_0x4dcf0e,_0x447e63){return _0x4dcf0e(_0x447e63);},'rKqUW':function(_0x2a9657,_0x1a6ed3,_0x8e2750){return _0x2a9657(_0x1a6ed3,_0x8e2750);},'YXuZS':function(_0x12b9cb,_0x4abe95){return _0x12b9cb===_0x4abe95;},'wqIQm':_0x16c705(0x1df),'lwjrv':'passed','UkCRX':_0x16c705(0x1f3),'WHIfT':_0x16c705(0x1cd),'bVOmC':_0x16c705(0x25b),'KUxwn':function(_0x411d4c,_0x45e384,_0x52816b){return _0x411d4c(_0x45e384,_0x52816b);},'SCYCp':function(_0x1897dd,_0x35f4ee){return _0x1897dd||_0x35f4ee;},'OsNQP':function(_0x17e036,_0x2ba045){return _0x17e036(_0x2ba045);},'MhLbF':function(_0x4dd5af,_0x3803c9){return _0x4dd5af>_0x3803c9;},'LgSGJ':function(_0x41bbe9,_0x35a2b8){return _0x41bbe9-_0x35a2b8;},'ssBAf':function(_0x458ab2,_0x4fb17c,_0x36a31a,_0xdf3fc0){return _0x458ab2(_0x4fb17c,_0x36a31a,_0xdf3fc0);},'xsjfX':_0x16c705(0x204),'rzwUv':function(_0x8ded65,_0xfce2ca){return _0x8ded65===_0xfce2ca;},'uzEQQ':function(_0x12f691,_0x4c36fc){return _0x12f691>=_0x4c36fc;},'kcsss':function(_0xe62d7f,_0x24b638){return _0xe62d7f===_0x24b638;},'tKCvh':function(_0x587fb3,_0xdb826){return _0x587fb3+_0xdb826;},'ckyjF':function(_0x292a30,_0xb6e6de){return _0x292a30>_0xb6e6de;},'fdIAI':function(_0x2472dd,_0x45ecfe,_0x4db9a5){return _0x2472dd(_0x45ecfe,_0x4db9a5);},'ySRKD':_0x16c705(0x186),'UtgmI':function(_0x1dfa28,_0x9ff5c9){return _0x1dfa28(_0x9ff5c9);},'hTzJl':function(_0x416bd0,_0x77885a){return _0x416bd0>_0x77885a;},'mKezy':function(_0x564b84,_0x3538af){return _0x564b84>_0x3538af;},'SxkaB':_0x16c705(0x1b5)};logger['debug'](_0x16c705(0x22e)+_0x494cdc);const _0x27582b=_0x587287['rKqUW'](getTestRunIdentifier,_0x25fdc3,_0x586581[_0x16c705(0x244)]),_0x352201=new Date(),_0x334fef=_0x586581[_0x16c705(0x213)],_0x19fdca=TestInfo[_0x16c705(0x250)](_0x27582b)[TestFrameworkConstants[_0x16c705(0x1d7)]]||{};let _0x50b6f0=_0x334fef;if(_0x587287[_0x16c705(0x25e)](_0x586581[_0x16c705(0x213)],_0x25fdc3[_0x16c705(0x25c)]))_0x50b6f0=_0x587287[_0x16c705(0x275)](_0x586581['status'],_0x587287['wqIQm'])?_0x587287[_0x16c705(0x1c9)]:_0x587287[_0x16c705(0x289)];else{(_0x587287[_0x16c705(0x20a)](_0x50b6f0,_0x587287[_0x16c705(0x289)])||_0x587287[_0x16c705(0x20a)](_0x50b6f0,_0x587287['UkCRX'])||_0x587287[_0x16c705(0x20a)](_0x50b6f0,_0x587287[_0x16c705(0x249)]))&&(_0x50b6f0=_0x587287[_0x16c705(0x27d)]);if(_0x587287[_0x16c705(0x20a)](_0x586581[_0x16c705(0x213)],_0x587287['lwjrv'])&&_0x587287[_0x16c705(0x25e)](_0x25fdc3[_0x16c705(0x25c)],_0x587287[_0x16c705(0x27d)])){const _0x1e19de={};_0x1e19de[_0x16c705(0x215)]=_0x587287[_0x16c705(0x199)],_0x1e19de['stack']=_0x587287[_0x16c705(0x199)],_0x586581[_0x16c705(0x203)]=_0x1e19de,_0x586581[_0x16c705(0x23c)]=[_0x586581[_0x16c705(0x203)]];}}const {failureData:_0x512d0a,logs:_0xbfb837}=_0x587287[_0x16c705(0x28a)](getFailureData,_0x586581?.[_0x16c705(0x23c)],{}),_0x1f1ffd={[TestFrameworkConstants[_0x16c705(0x1db)]]:_0x587287['SCYCp'](_0x512d0a,null),[TestFrameworkConstants[_0x16c705(0x19e)]]:_0x586581?.[_0x16c705(0x203)]&&_0x587287[_0x16c705(0x206)](getFailureType,_0x586581[_0x16c705(0x203)][_0x16c705(0x215)]),[TestFrameworkConstants[_0x16c705(0x263)]]:_0x586581?.[_0x16c705(0x203)]&&_0x587287[_0x16c705(0x26a)](removeAnsiColors,_0x586581['error'][_0x16c705(0x215)]),[TestFrameworkConstants[_0x16c705(0x24a)]]:[],[TestFrameworkConstants['KEY_TEST_RESULT']]:_0x50b6f0,[TestFrameworkConstants[_0x16c705(0x1d4)]]:_0x352201[_0x16c705(0x1a9)](),[TestFrameworkConstants[_0x16c705(0x19d)]]:new Date()['toISOString'](),[TestFrameworkConstants[_0x16c705(0x1d7)]]:_0x19fdca};if(_0x586581&&_0x587287[_0x16c705(0x1e5)](_0x586581[_0x16c705(0x244)],0x0)){const _0x5bd641=TestInfo['getTestUUID'](_0x587287[_0x16c705(0x259)](getTestRunIdentifier,_0x25fdc3,_0x587287['LgSGJ'](_0x586581[_0x16c705(0x244)],0x1)));_0x1f1ffd[TestFrameworkConstants[_0x16c705(0x205)]]=_0x5bd641;}const _0x409418={};_0x409418[_0x16c705(0x204)]=_0x25fdc3;const _0x113de7=this['resolveInstance'](TestFrameworkState[_0x16c705(0x1b6)],HookState['POST'],_0x409418),_0x590140=_0x113de7[_0x16c705(0x277)]()[_0x16c705(0x26d)](_0x27582b)[TestFrameworkConstants[_0x16c705(0x288)]],_0x2c7d98=_0x1087b6||_0x587287[_0x16c705(0x20d)](getStepsAndLogs,_0x586581[_0x16c705(0x252)],_0x590140,_0x587287[_0x16c705(0x214)])[_0x16c705(0x252)],_0x173999=new Map(),_0x1cef48=new Map();let _0x4c3391=0x0;const _0x5237d3=[];for(const _0x36e5ec of _0x2c7d98||[]){const _0x47b370=_0x36e5ec['parent_id']||null;let _0x4dc710;if(_0x587287[_0x16c705(0x227)](_0x47b370,null)){if(_0x587287[_0x16c705(0x193)](_0x4c3391,TestFrameworkConstants[_0x16c705(0x281)]))continue;_0x4dc710=0x0,_0x4c3391++;}else{const _0x4a6fea=_0x173999[_0x16c705(0x26d)](_0x47b370);if(_0x587287[_0x16c705(0x264)](_0x4a6fea,undefined))continue;_0x4dc710=_0x587287[_0x16c705(0x1da)](_0x4a6fea,0x1);if(_0x587287[_0x16c705(0x1f0)](_0x4dc710,TestFrameworkConstants['MAX_NESTED_STEP_DEPTH']))continue;}_0x173999[_0x16c705(0x21f)](_0x36e5ec['id'],_0x4dc710),_0x1cef48[_0x16c705(0x21f)](_0x36e5ec['id'],_0x36e5ec['text']),_0x5237d3[_0x16c705(0x273)]({'id':_0x36e5ec['id'],'parent_id':_0x47b370,'parent_text':_0x47b370?_0x1cef48['get'](_0x47b370)||'':'','text':_0x36e5ec['text'],'keyword':_0x36e5ec[_0x16c705(0x185)]||null,'started_at':_0x36e5ec['started_at'],'duration':_0x36e5ec[_0x16c705(0x207)]??null,'result':_0x36e5ec['result'],'failure':_0x36e5ec[_0x16c705(0x235)]||null,'failure_type':_0x36e5ec['failure_type']||null});}const _0x470b53={};_0x470b53['steps']=_0x5237d3,_0x1f1ffd[TestFrameworkConstants['KEY_TEST_META']]=_0x470b53,logger['debug'](_0x16c705(0x216)+_0x5237d3[_0x16c705(0x1a7)]+_0x16c705(0x258)+_0x494cdc);const _0x2f2f24=[],_0xddad9e=_0x587287[_0x16c705(0x1c2)](findNestedKey,_0x586581,_0x587287[_0x16c705(0x1ef)]);if(_0xddad9e&&_0x587287['UtgmI'](validateFilePath,_0xddad9e))try{_0x2f2f24[_0x16c705(0x273)]({'kind':_0x587287['tZuGB'],'timestamp':new Date()['toISOString'](),'test_run_uuid':_0x590140,'file_name':path['basename'](_0xddad9e),'file_size':fs[_0x16c705(0x1c1)](_0xddad9e)[_0x16c705(0x210)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0xb9f450){logger[_0x16c705(0x203)](_0x16c705(0x25d)+_0xddad9e+':\x20'+_0xb9f450[_0x16c705(0x215)]);}const _0x3fb02c=TestInfo[_0x16c705(0x1d9)](),_0x483149=_0x3fb02c['filter'](_0x2576b0=>_0x2576b0[_0x16c705(0x1de)]===_0x590140);_0x483149[_0x16c705(0x262)](_0x293e9c=>{const _0x55a767=_0x16c705;if(_0x293e9c[_0x55a767(0x1a1)]&&_0x587287[_0x55a767(0x26a)](validateFilePath,_0x293e9c[_0x55a767(0x1a1)])&&!_0x2f2f24[_0x55a767(0x1a8)](_0x70a028=>_0x70a028[_0x55a767(0x20c)]===path[_0x55a767(0x187)](_0x293e9c['filePath'])))try{_0x2f2f24[_0x55a767(0x273)]({'kind':_0x587287[_0x55a767(0x200)],'timestamp':new Date()[_0x55a767(0x1a9)](),'test_run_uuid':_0x590140,'file_name':path['basename'](_0x293e9c['filePath']),'file_size':fs[_0x55a767(0x1c1)](_0x293e9c[_0x55a767(0x1a1)])['size'],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x4161df){logger[_0x55a767(0x203)](_0x55a767(0x1c7)+_0x293e9c['filePath']+_0x55a767(0x1d8)+_0x4161df[_0x55a767(0x215)]);}});if(_0x587287[_0x16c705(0x246)](_0x2f2f24['length'],0x0)){const _0xf91318=_0x1f1ffd[TestFrameworkConstants[_0x16c705(0x24a)]]||[];_0x1f1ffd[TestFrameworkConstants[_0x16c705(0x24a)]]=[..._0xf91318,..._0x2f2f24];}const _0x42c7c8=TestInfo[_0x16c705(0x250)](_0x27582b)[TestFrameworkConstants[_0x16c705(0x23d)]]||{},_0x222cf2=_0x587287[_0x16c705(0x28a)](getManualUploadLogs,_0x42c7c8,_0x113de7[_0x16c705(0x277)]()[_0x16c705(0x26d)](_0x27582b)[TestFrameworkConstants['KEY_TEST_UUID']]);if(_0x587287['mKezy'](_0x222cf2[_0x16c705(0x1a7)],0x0)){const _0x1ff4c1=_0x1f1ffd[TestFrameworkConstants[_0x16c705(0x24a)]]||[];_0x1f1ffd[TestFrameworkConstants['KEY_LOGS']]=[..._0x1ff4c1,..._0x222cf2];}const _0x18e2d2=_0x25fdc3[_0x16c705(0x1e6)]||[],_0x4f4f32=_0x1f1ffd[TestFrameworkConstants[_0x16c705(0x1d7)]]||{},_0x15ddab=_0x587287[_0x16c705(0x206)](require,_0x587287[_0x16c705(0x268)]);_0x18e2d2[_0x16c705(0x262)](_0x38dce3=>{const _0x312d15=_0x16c705,{type:_0x35fc5d}=_0x38dce3;let _0x17ed37=_0x38dce3[_0x312d15(0x1e9)];if(!_0x35fc5d)return;if(PLAYWRIGHT_BUILTIN_ANNOTATIONS[_0x312d15(0x1f6)](_0x35fc5d))return;(_0x587287[_0x312d15(0x275)](_0x17ed37,undefined)||_0x587287[_0x312d15(0x275)](_0x17ed37,null)||_0x587287[_0x312d15(0x20a)](_0x587287[_0x312d15(0x26a)](String,_0x17ed37)[_0x312d15(0x1e4)](),''))&&(_0x17ed37=_0x587287[_0x312d15(0x253)]);const _0x3359c7=helper['parseCommaSeparatedValues'](_0x587287[_0x312d15(0x222)](String,_0x17ed37));_0x15ddab[_0x312d15(0x1c3)](_0x4f4f32,_0x35fc5d,_0x3359c7);}),_0x1f1ffd[TestFrameworkConstants[_0x16c705(0x1d7)]]=_0x4f4f32,TestInfo['setTestDetails'](_0x27582b,_0x1f1ffd);const _0x263a14={};return _0x263a14[_0x27582b]=_0x1f1ffd,_0x263a14;}[a95_0x3fa5ae(0x22a)](_0xc83c3f,_0x4a9cf4,_0x2efc95){const _0x3316b2=a95_0x3fa5ae,_0x3c9142={'sCHyd':function(_0x52f08d,_0x16bcd1){return _0x52f08d||_0x16bcd1;},'GYJoP':function(_0x598ff4,_0x367350,_0x5c544c){return _0x598ff4(_0x367350,_0x5c544c);}};try{const {test:_0x89d548,result:_0x2bbd22,step:_0x242e50}=_0x2efc95;if(_0x3c9142[_0x3316b2(0x280)](!_0x89d548,!_0x242e50)||!_0x2bbd22)return;const _0x1b9fbf=_0x3c9142['GYJoP'](getTestRunIdentifier,_0x89d548,_0x2bbd22[_0x3316b2(0x244)]);logger[_0x3316b2(0x1eb)](_0x3316b2(0x191)+_0x1b9fbf+_0x3316b2(0x226)+_0x4a9cf4+_0x3316b2(0x1dc)+_0x242e50[_0x3316b2(0x219)]+'\x22');}catch(_0x58f6d9){logger[_0x3316b2(0x203)](_0x3316b2(0x287)+util[_0x3316b2(0x180)](_0x58f6d9));}}async[a95_0x3fa5ae(0x239)](_0x1c714e,_0x5779f8,_0xf32e3f,_0x1a7d57){const _0x88b05=a95_0x3fa5ae,_0x1d525c={'ZSKsp':function(_0x444771,_0x3bf020,_0x505b10){return _0x444771(_0x3bf020,_0x505b10);},'ytWod':function(_0x5c015f,_0x5cc5d5){return _0x5c015f in _0x5cc5d5;},'qlUcz':function(_0x27f61c,_0x2b46c0){return _0x27f61c in _0x2b46c0;},'QyutW':function(_0x10c565,_0x2fd9fb){return _0x10c565(_0x2fd9fb);},'akjzq':function(_0x2baa8a,_0x214328){return _0x2baa8a===_0x214328;},'ByAxw':function(_0x28f884){return _0x28f884();},'bemCY':function(_0x221bea,_0x550fb9){return _0x221bea===_0x550fb9;},'dHdOn':function(_0x115077,_0x3aae89){return _0x115077>_0x3aae89;},'ujvLl':_0x88b05(0x1a0),'OeXFv':function(_0x468790,_0x1e2c70){return _0x468790(_0x1e2c70);},'YHwwD':_0x88b05(0x1f3),'goWLr':_0x88b05(0x182),'qeday':function(_0x3c9eac,_0x5eb8e7){return _0x3c9eac!==_0x5eb8e7;},'FTKyl':function(_0x3b57f7,_0x2cbc18){return _0x3b57f7+_0x2cbc18;},'eUKgq':_0x88b05(0x27c)},_0x16ffa0=_0x1a7d57[_0x88b05(0x204)],_0x5b167f=_0x1a7d57['step'],_0xc1b9ab=_0x1d525c['ZSKsp'](getTestRunIdentifier,_0x16ffa0,_0x1a7d57[_0x88b05(0x1fa)][_0x88b05(0x244)]),_0x193ab2=_0x5779f8['toString']()['split']('.')[0x1];let _0x41d122=_0x1c714e[_0x88b05(0x277)]()[_0x88b05(0x26d)](_0xc1b9ab)[TestFrameworkConstants[_0x88b05(0x1f4)]];!_0x41d122&&(_0x41d122={});!_0x1d525c[_0x88b05(0x21d)](_0x193ab2,_0x41d122)&&(_0x41d122[_0x193ab2]=[]);let _0x4c1356=_0x1c714e[_0x88b05(0x277)]()[_0x88b05(0x26d)](_0xc1b9ab)[TestFrameworkConstants['KEY_HOOKS_FINISHED']];!_0x4c1356&&(_0x4c1356={});!_0x1d525c[_0x88b05(0x1fd)](_0x193ab2,_0x4c1356)&&(_0x4c1356[_0x193ab2]=[]);const _0x41db43={[TestFrameworkConstants[_0x88b05(0x1f4)]]:_0x41d122,[TestFrameworkConstants[_0x88b05(0x231)]]:_0x4c1356},_0x297f03={};_0x297f03[_0xc1b9ab]=_0x41db43;const _0x2fe045=_0x297f03,_0x2af79c=_0x1d525c[_0x88b05(0x1d3)](getPlaywrightTestFilePath,_0x16ffa0),_0x1cd53e=_0x2af79c,_0x22f13f=TestInfo['getTestDetails'](_0xc1b9ab)[TestFrameworkConstants['KEY_CUSTOM_TAGS']]||{};if(_0x1d525c[_0x88b05(0x23f)](_0xf32e3f,HookState['PRE'])){const _0x1c86a2={'key':_0x193ab2,[TestFrameworkConstants[_0x88b05(0x230)]]:_0x1d525c[_0x88b05(0x221)](uuidv4),[TestFrameworkConstants[_0x88b05(0x240)]]:TestFrameworkConstants['DEFAULT_HOOK_RESULT'],[TestFrameworkConstants[_0x88b05(0x25f)]]:_0x5b167f[_0x88b05(0x257)],[TestFrameworkConstants[_0x88b05(0x1ff)]]:[],[TestFrameworkConstants[_0x88b05(0x255)]]:_0x5b167f['title'],[TestFrameworkConstants[_0x88b05(0x237)]]:_0x2af79c,[TestFrameworkConstants[_0x88b05(0x1ba)]]:_0x1cd53e,[TestFrameworkConstants[_0x88b05(0x1d7)]]:_0x22f13f};_0x41d122[_0x193ab2][_0x88b05(0x273)](_0x1c86a2),_0x2fe045[_0xc1b9ab][TestFrameworkConstants[_0x88b05(0x1d6)]]=_0x193ab2,logger['debug'](_0x88b05(0x241)+_0x193ab2+_0x88b05(0x1ee)+_0x1c86a2+_0x88b05(0x266)+_0x1a7d57);}else{if(_0x1d525c[_0x88b05(0x217)](_0xf32e3f,HookState[_0x88b05(0x223)])){const _0x35e5f2=await _0x1a7d57[_0x88b05(0x1fa)],_0x13fa82=_0x41d122[_0x193ab2]||[],_0x427bb7=_0x1a7d57[_0x88b05(0x218)];logger['debug'](_0x88b05(0x201)+_0x13fa82+_0x88b05(0x1bf)+_0x1a7d57);if(_0x1d525c[_0x88b05(0x208)](_0x13fa82[_0x88b05(0x1a7)],0x0)){const _0x40979b=_0x13fa82['pop']();if(_0x427bb7['error']){const _0x3afebe=_0x1d525c[_0x88b05(0x261)](failureData,_0x427bb7['error'],_0x1d525c[_0x88b05(0x22b)]);_0x40979b[TestFrameworkConstants['KEY_HOOK_FAILURE_TYPE']]=_0x1d525c[_0x88b05(0x1d0)](getFailureType,_0x427bb7?.[_0x88b05(0x203)][_0x88b05(0x215)]),_0x40979b[TestFrameworkConstants[_0x88b05(0x286)]]=_0x1d525c[_0x88b05(0x1d0)](removeAnsiColors,_0x427bb7?.['error'][_0x88b05(0x215)]),_0x40979b[TestFrameworkConstants['KEY_HOOK_RESULT']]=_0x1d525c['YHwwD'],_0x40979b[TestFrameworkConstants['KEY_HOOK_FAILURE']]=_0x3afebe;}else _0x40979b[TestFrameworkConstants[_0x88b05(0x240)]]=_0x1d525c[_0x88b05(0x1bc)];_0x1d525c[_0x88b05(0x232)](_0x35e5f2,TestFrameworkConstants[_0x88b05(0x18d)])&&(_0x40979b[TestFrameworkConstants['KEY_HOOK_RESULT']]=!_0x427bb7[_0x88b05(0x203)]?_0x1d525c[_0x88b05(0x1bc)]:_0x1d525c[_0x88b05(0x196)]);const _0x2f5066=new Date(_0x427bb7['startTime']),_0xf4e423=new Date(_0x1d525c[_0x88b05(0x228)](_0x2f5066[_0x88b05(0x279)](),_0x427bb7[_0x88b05(0x207)]));_0x40979b[TestFrameworkConstants[_0x88b05(0x1e8)]]=_0xf4e423[_0x88b05(0x1a9)](),_0x40979b[TestFrameworkConstants['KEY_CUSTOM_TAGS']]=_0x22f13f;const _0x149088=_0x40979b[TestFrameworkConstants[_0x88b05(0x230)]];await this[_0x88b05(0x18e)](_0x1c714e,_0x5779f8,_0x149088,_0x1d525c[_0x88b05(0x224)],_0x1a7d57),!_0x4c1356[_0x193ab2]&&(_0x4c1356[_0x193ab2]=[]),_0x4c1356[_0x193ab2]['push'](_0x40979b),_0x2fe045[_0xc1b9ab][TestFrameworkConstants['KEY_HOOK_LAST_FINISHED']]=_0x193ab2;}}}return _0x2fe045;}async[a95_0x3fa5ae(0x18e)](_0xa8f777,_0x11eca4,_0x8119f,_0x1ad03c,_0x4a86f4,_0x113d07){const _0x575059=a95_0x3fa5ae,_0xf98937={'rRVOn':function(_0x489bfa,_0x18527b){return _0x489bfa===_0x18527b;},'EabUL':_0x575059(0x204),'Tkjar':function(_0x25276c,_0x54806d,_0x423b0e){return _0x25276c(_0x54806d,_0x423b0e);},'ghVhv':_0x575059(0x24f),'NgAMf':function(_0x19261f,_0x18b832,_0x2f5556,_0xa018bf){return _0x19261f(_0x18b832,_0x2f5556,_0xa018bf);},'grFvS':function(_0x175459,_0xb2d1c0){return _0x175459/_0xb2d1c0;},'roEvj':function(_0x2864c3,_0x258648){return _0x2864c3<_0x258648;},'aPHDo':function(_0x28ecaa,_0x3c3b16){return _0x28ecaa*_0x3c3b16;},'PphuK':function(_0x11c3bc,_0x53c2ce){return _0x11c3bc+_0x53c2ce;},'Yypkk':function(_0x32b5e4,_0x303e95,_0x8d0876,_0x2bf784,_0x17f866){return _0x32b5e4(_0x303e95,_0x8d0876,_0x2bf784,_0x17f866);},'olcjf':function(_0x3bc3d2,_0x5e5ac5,_0x50bff0,_0x5d5a49){return _0x3bc3d2(_0x5e5ac5,_0x50bff0,_0x5d5a49);},'bzjMM':_0x575059(0x27c),'clREa':function(_0x333cef,_0x548b08,_0x43a4de,_0x4e0fba,_0x3bd607){return _0x333cef(_0x548b08,_0x43a4de,_0x4e0fba,_0x3bd607);}};try{if(_0xf98937[_0x575059(0x181)](_0x1ad03c,_0xf98937['EabUL'])){const _0x73c9cf=await _0x4a86f4[_0x575059(0x1fa)],_0x4ebdeb=_0xf98937['Tkjar'](getTestRunIdentifier,_0x4a86f4['test'],_0x4a86f4[_0x575059(0x1fa)][_0x575059(0x244)]),_0x223c00=_0x4a86f4[_0x575059(0x204)];logger[_0x575059(0x1eb)](_0x575059(0x212)+_0x4ebdeb+_0x575059(0x21b)+util[_0x575059(0x18f)](_0x73c9cf));const _0x2987d2=_0xa8f777[_0x575059(0x277)]()['get'](_0x4ebdeb)[TestFrameworkConstants[_0x575059(0x288)]];await _0xf98937[_0x575059(0x195)](sendTraceZip,_0x73c9cf,_0x2987d2);const _0xfc35a4=TestInfo[_0x575059(0x250)](_0x4ebdeb)[_0xf98937['ghVhv']],_0x75987b={};if(_0xfc35a4){!_0x73c9cf[_0x575059(0x24f)]&&(_0x73c9cf[_0x575059(0x24f)]=[]);_0x75987b[_0x575059(0x24f)]=_0x73c9cf[_0x575059(0x24f)][_0x575059(0x22d)](_0xfc35a4||[]);const _0x3c6168=TestInfo[_0x575059(0x250)](_0x4ebdeb);delete _0x3c6168[_0xf98937[_0x575059(0x1c4)]],TestInfo[_0x575059(0x1a6)](_0x4ebdeb,_0x3c6168);}const _0x1cfa9b=_0x113d07||_0xf98937[_0x575059(0x256)](getStepsAndLogs,_0x73c9cf[_0x575059(0x252)],_0xa8f777[_0x575059(0x277)]()[_0x575059(0x26d)](_0x4ebdeb)[TestFrameworkConstants[_0x575059(0x288)]],_0xf98937[_0x575059(0x1ed)])[_0x575059(0x1b4)],_0x5cf3c3=_0xf98937[_0x575059(0x195)](getScreenshots,_0x75987b,_0xa8f777['getAllData']()[_0x575059(0x26d)](_0x4ebdeb)[TestFrameworkConstants[_0x575059(0x288)]]),_0xb9b704=_0xf98937[_0x575059(0x195)](getVideos,_0x73c9cf,_0xa8f777[_0x575059(0x277)]()[_0x575059(0x26d)](_0x4ebdeb)[TestFrameworkConstants[_0x575059(0x288)]]),{_:_0x13f04a,logs:_0x448088}=_0xf98937[_0x575059(0x195)](getFailureData,_0x73c9cf[_0x575059(0x23c)],{'test_run_uuid':_0xa8f777[_0x575059(0x277)]()[_0x575059(0x26d)](_0x4ebdeb)[TestFrameworkConstants[_0x575059(0x288)]]}),_0x2d61e8=TestInfo[_0x575059(0x250)](_0x4ebdeb)[TestFrameworkConstants[_0x575059(0x23d)]]||{},_0x9eb5d4=_0xf98937[_0x575059(0x195)](getMediaArtifactsLogs,_0x2d61e8,_0xa8f777[_0x575059(0x277)]()[_0x575059(0x26d)](_0x4ebdeb)[TestFrameworkConstants['KEY_TEST_UUID']]),_0x182d75=_0xa8f777[_0x575059(0x277)]()[_0x575059(0x26d)](_0x4ebdeb),{[TestFrameworkConstants[_0x575059(0x1ea)]]:_0x1d2833='',[TestFrameworkConstants[_0x575059(0x271)]]:_0x1a869b=''}=_0x182d75,_0x1b8dae=(_0x1cfa9b||[])[_0x575059(0x22d)](_0x5cf3c3||[])[_0x575059(0x22d)](_0x448088||[])['concat'](_0xb9b704||[])[_0x575059(0x22d)](_0x9eb5d4||[]),_0x145a5f=0x28,_0x1eac36=Math['ceil'](_0xf98937[_0x575059(0x1fc)](_0x1b8dae['length'],_0x145a5f));for(let _0x3a6621=0x0;_0xf98937['roEvj'](_0x3a6621,_0x1eac36);_0x3a6621++){const _0x4483f5=_0xf98937[_0x575059(0x248)](_0x3a6621,_0x145a5f),_0x46fe20=_0xf98937[_0x575059(0x1c5)](_0x4483f5,_0x145a5f),_0x26f3bb=_0x1b8dae[_0x575059(0x209)](_0x4483f5,_0x46fe20),_0x19ffff={'platformIndex':global?.[_0x575059(0x23b)]??0x0,'logs':_0x26f3bb,'testFrameworkName':_0x1d2833,'testFrameworkVersion':_0x1a869b,'testFrameworkState':_0x11eca4[_0x575059(0x260)]()[_0x575059(0x1bb)]('.')[0x1]};_0xf98937[_0x575059(0x25a)](updatePayloadForTraceLogs,_0x19ffff,_0x4a86f4,_0x4ebdeb,_0xa8f777),logger['debug'](_0x575059(0x198)+_0x4ebdeb+_0x575059(0x1ad)+_0xf98937['PphuK'](_0x3a6621,0x1)+'/'+_0x1eac36+_0x575059(0x278)+util[_0x575059(0x18f)](_0x19ffff));const _0x960bfc=await GrpcClient['getInstance']()[_0x575059(0x1a5)](_0x19ffff);logger[_0x575059(0x1eb)](_0x575059(0x198)+_0x4ebdeb+_0x575059(0x1ad)+_0xf98937[_0x575059(0x1c5)](_0x3a6621,0x1)+'/'+_0x1eac36+_0x575059(0x251)+util['inspect'](_0x960bfc));}}else{const {logs:_0x3a015e}=_0xf98937['olcjf'](getStepsAndLogs,_0x4a86f4[_0x575059(0x218)][_0x575059(0x252)],_0x8119f,_0xf98937[_0x575059(0x1a4)]),_0x211516=_0xf98937[_0x575059(0x195)](getTestRunIdentifier,_0x4a86f4['test'],_0x4a86f4['result'][_0x575059(0x244)]);logger[_0x575059(0x1eb)]('sendLogCreatedEvent:\x20testId='+_0x211516);const _0x4d9e32=_0xa8f777['getAllData']()[_0x575059(0x26d)](_0x211516),{[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x2404f3='',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x45701c=''}=_0x4d9e32,_0x5266c6={'platformIndex':'0','logs':_0x3a015e,'testFrameworkName':_0x2404f3,'testFrameworkVersion':_0x45701c,'testFrameworkState':_0x11eca4[_0x575059(0x260)]()[_0x575059(0x1bb)]('.')[0x1]};_0xf98937['clREa'](updatePayloadForTraceLogs,_0x5266c6,_0x4a86f4,_0x211516,_0xa8f777),logger['debug'](_0x575059(0x198)+_0x211516+_0x575059(0x278)+util[_0x575059(0x18f)](_0x5266c6));const _0x4a5dca=await GrpcClient[_0x575059(0x202)]()[_0x575059(0x1a5)](_0x5266c6);}}catch(_0x3cc0e9){logger['error'](_0x575059(0x26c)+util['format'](_0x3cc0e9));}}['createTestFrameworkEventPayload'](_0x3a84e7){const _0x1b033d=a95_0x3fa5ae,_0x1efdc4={'NGHJG':function(_0x3d0b2a,_0x59818a,_0x57b2cf){return _0x3d0b2a(_0x59818a,_0x57b2cf);},'yHoiq':function(_0x59b460,_0x3d8e0c){return _0x59b460<_0x3d8e0c;},'uMfRC':_0x1b033d(0x190)};try{const _0x360393=_0x3a84e7['test']['id'],_0x296a0c=_0x1efdc4[_0x1b033d(0x19b)](getTestRunIdentifier,_0x3a84e7[_0x1b033d(0x204)],_0x3a84e7[_0x1b033d(0x1fa)][_0x1b033d(0x244)]),_0x40aa78=_0x3a84e7[_0x1b033d(0x1c0)],_0x465f27=_0x40aa78[_0x1b033d(0x1bd)](),_0x83124=_0x40aa78[_0x1b033d(0x277)]()['get'](_0x296a0c);logger[_0x1b033d(0x1eb)](_0x1b033d(0x1e0)+_0x360393);const {[TestFrameworkConstants[_0x1b033d(0x1ea)]]:_0x2efc03='',[TestFrameworkConstants[_0x1b033d(0x271)]]:_0x53525c='',[TestFrameworkConstants[_0x1b033d(0x21a)]]:_0x5485fc='',[TestFrameworkConstants['KEY_TEST_ENDED_AT']]:_0x4df5ee=''}=_0x83124,_0x1f0684=_0x40aa78['getCurrentTestState']()[_0x1b033d(0x260)]()['split']('.')[0x1],_0xa4274b=_0x40aa78['getCurrentHookState']()[_0x1b033d(0x260)]()['split']('.')[0x1],_0xf6d9cc=_0x1efdc4[_0x1b033d(0x18a)](_0x3a84e7?.[_0x1b033d(0x1fa)]?.[_0x1b033d(0x1f1)]??0x0,0x0)?0x0:_0x3a84e7?.['result']?.['parallelIndex']??0x0,_0x4faae5=_0x40aa78[_0x1b033d(0x1cb)](),_0x36998e=Buffer[_0x1b033d(0x1f9)](JSON[_0x1b033d(0x184)](_0x83124))[_0x1b033d(0x260)](_0x1efdc4[_0x1b033d(0x183)]),_0x473c84={'hash':_0x465f27[_0x1b033d(0x23a)](),'threadId':_0x465f27[_0x1b033d(0x284)]()['toString'](),'processId':_0x465f27[_0x1b033d(0x242)]()[_0x1b033d(0x260)]()},_0x570999={};_0x570999[_0x1b033d(0x1a3)]=_0xf6d9cc,_0x570999[_0x1b033d(0x1e7)]=_0x2efc03,_0x570999[_0x1b033d(0x24e)]=_0x53525c,_0x570999['testFrameworkState']=_0x1f0684,_0x570999[_0x1b033d(0x243)]=_0xa4274b,_0x570999[_0x1b033d(0x267)]=_0x5485fc,_0x570999[_0x1b033d(0x189)]=_0x4df5ee,_0x570999[_0x1b033d(0x225)]=_0x4faae5,_0x570999[_0x1b033d(0x1ab)]=_0x36998e,_0x570999[_0x1b033d(0x1e1)]=_0x473c84;const _0x2d02fe=_0x570999;return logger['debug']('createTestFrameworkEventPayload:\x20complete\x20for\x20testId:\x20'+_0x360393+_0x1b033d(0x27f)+_0x1f0684+_0x1b033d(0x1b8)+_0xa4274b),_0x2d02fe;}catch(_0x50b3d9){return logger['error'](_0x1b033d(0x24c)+util[_0x1b033d(0x180)](_0x50b3d9)),{};}}}function a95_0x19be(_0x155e03,_0x229dd2){const _0x5c172b=a95_0x5c17();return a95_0x19be=function(_0x19bed3,_0x373843){_0x19bed3=_0x19bed3-0x180;let _0xdd4049=_0x5c172b[_0x19bed3];return _0xdd4049;},a95_0x19be(_0x155e03,_0x229dd2);}module[a95_0x3fa5ae(0x265)]=PlaywrightTestFramework;
|
|
1
|
+
const a95_0x17a943=a95_0x20f5;(function(_0x339f4d,_0x12fc4b){const _0x5d42ce=a95_0x20f5,_0x176b3b=_0x339f4d();while(!![]){try{const _0x2c858b=-parseInt(_0x5d42ce(0x23e))/0x1+-parseInt(_0x5d42ce(0x1e0))/0x2*(-parseInt(_0x5d42ce(0x2a8))/0x3)+-parseInt(_0x5d42ce(0x277))/0x4*(parseInt(_0x5d42ce(0x1fb))/0x5)+-parseInt(_0x5d42ce(0x2b8))/0x6+-parseInt(_0x5d42ce(0x1c7))/0x7*(parseInt(_0x5d42ce(0x237))/0x8)+parseInt(_0x5d42ce(0x2b9))/0x9+parseInt(_0x5d42ce(0x21d))/0xa;if(_0x2c858b===_0x12fc4b)break;else _0x176b3b['push'](_0x176b3b['shift']());}catch(_0x261c81){_0x176b3b['push'](_0x176b3b['shift']());}}}(a95_0x40db,0x893fd));const TestFramework=require('./testFramework'),TestFrameworkState=require(a95_0x17a943(0x279)),HookState=require('../state/hookState.js'),{createClassLogger}=require(a95_0x17a943(0x212)),TestFrameworkInstance=require(a95_0x17a943(0x1ef)),CLIUtils=require('../cliUtils.js'),TrackedInstance=require(a95_0x17a943(0x25c)),TestFrameworkConstants=require(a95_0x17a943(0x23d)),logger=createClassLogger(a95_0x17a943(0x282)),{v4:uuidv4}=require(a95_0x17a943(0x2a2)),util=require(a95_0x17a943(0x236)),{getPlaywrightSessionName,getPlaywrightTestFilePath,getPlaywrightTestId,getPlaywrightTestTitle,getPlaywrightTestTags,getPlaywrightTestCode,getPlaywrightTestScope,getPlaywrightTestScopes,getStepsAndLogs,getScreenshots,getVideos,getPlaywrightCustomRerunParam,getMediaArtifactsLogs,getManualUploadLogs,updatePayloadForTraceLogs}=require(a95_0x17a943(0x29f)),TestInfo=require(a95_0x17a943(0x260)),GrpcClient=require('../grpcClient'),{removeAnsiColors,getFailureType,failureData}=require(a95_0x17a943(0x1fa)),{getFailureData,getTestTags,getTestRunIdentifier}=require(a95_0x17a943(0x1ec)),{findNestedKey,sendTraceZip,validateFilePath}=require(a95_0x17a943(0x1ec)),path=require('path'),fs=require('fs'),helper=require(a95_0x17a943(0x202)),{PLAYWRIGHT_TRACE_LOGS}=require('../../utils/constants'),PLAYWRIGHT_BUILTIN_ANNOTATIONS=new Set([a95_0x17a943(0x222),a95_0x17a943(0x22f),a95_0x17a943(0x249),a95_0x17a943(0x26e)]);function a95_0x20f5(_0x51774f,_0x13c992){const _0x40db2b=a95_0x40db();return a95_0x20f5=function(_0x20f592,_0x3dad59){_0x20f592=_0x20f592-0x1c2;let _0x4dc857=_0x40db2b[_0x20f592];return _0x4dc857;},a95_0x20f5(_0x51774f,_0x13c992);}function a95_0x40db(){const _0x46fe88=['failure','error','KEY_TEST_NAME','trackEvent\x20loading\x20testResults\x20for\x20testId:\x20','setTestDetails','toString','parsePlaywrightTestResult:\x20extracted\x20','7HbsCMv','title','getCurrentHookState','length','IbCsn','result','../customTagManager','iQNjQ','filePath','eLwZi','mergeIntoTags','debug','filter','TEST_SCREENSHOT','ubMtM','inspect','KEY_TEST_FAILURE','dTvIi','hook','TvmZS','getProcessId','step','gxiVn','statSync','eventJson','1690434bACsDn','dEZGu','eEtdu','FdlBb','pop','startTime','test','matchHookRegex','status','exports','sWNnT','trackHookEvent','../../playwright/reporter/pwUtils','message','hIwdq','../instances/testFrameworkInstance.js','path','EVtnB','Hook\x20Started\x20in\x20PRE\x20key\x20=\x20','\x20&\x20hook\x20=\x20','attachments','resolveInstance','jGElV','parallelIndex','KEY_HOOK_FAILURE_TYPE','trackEvent','../../../helpers/test-observability/utils','35RXvjyv','POST','\x20result=','push','EgJlf','getTime','toISOString','../../../../src/helpers/helper','aeDvB','trackPlaywrightInstance','forEach','annotations','GpBzF','trim','has','IcXPY','KEY_TEST_RETRY_OF','getRef','kpSCH','KEY_CUSTOM_TAGS','TBTnZ','CrybT','timedOut','../../../helpers/classLogger.js','vHkPH','gAhcV','createTestFrameworkEventPayload\x20testId:\x20','setTrackedInstance','KEY_TEST_STARTED_AT','trackEvent:\x20found\x20instance,\x20testFrameworkState=','KEY_AUTOMATE_SESSION_NAME','results','keyword','failed','10278180patqOD','KEY_HOOK_LOGS','KEY_HOOKS_FINISHED','KEY_TEST_FAILURE_TYPE','addMultipleEntries','skip','from','get','KEY_TEST_ATTACHMENTS','sendLogCreatedEvent','\x20hookState=','NsZKS','sbijf','\x20instanceId=','steps','KEY_TEST_LOCATION','ZhSfz','hookState','fixme','MAX_NESTED_STEP_DEPTH','testFrameworkState','PRE','GCfeA','\x20steps\x20for\x20testId=','getTestFrameworksVersions','util','50896xdYURW','trackStepEvent:\x20exception=','KEY_TEST_UUID','passed','stack','KEY_TEST_SCOPES','./constants/testFrameworkConstants.js','1103088fojpOy','logCreatedEvent','iJNqb','KEY_HOOK_FAILURE_REASON','DEFAULT_TEST_RESULT','instance','sendLogCreatedEvent\x20for\x20testId:\x20','InHQG','hKCfo','KEY_TEST_RERUN_NAME','SyYDg','slow','KEY_HOOKS_STARTED','qiIDL','usfbH','tSvnk','dAtIA','getInstance','parsePlaywrightTest','parsePlaywrightTestResult','xAFKk','parsePlaywrightTestResult:\x20testId=','lPcWI','KEY_TEST_RESULT','duration','basename','\x20batch\x20','eTHSC','zrtUE','getAllData','../instances/trackedInstance.js','NONE','\x20step=\x22','getTraceFilePaths','../TestInfo.js','executionContext','KEY_HOOK_FAILURE','YpHLc','createTestFrameworkEventPayload:\x20complete\x20for\x20testId:\x20','KEY_HOOK_NAME','TEST_STEP','Error\x20processing\x20direct\x20trace\x20file\x20','cBXLn','GAktT','Expected\x20to\x20fail,\x20but\x20passed.','getContext','MgiLY','bDuHy','fail','MAX_TOP_LEVEL_STEPS','getCurrentTestState','KEY_TEST_FRAMEWORK_VERSION','wIPnG','yQYbo','trackEvent:\x20loaded\x20testData\x20for\x20testId:\x20','getTestIdentifierFromTestInfo','trackPlaywrightInstance:\x20created\x20instance\x20for\x20target=','154772rngqDX','Error\x20in\x20createTestFrameworkEventPayload:\x20','../state/testFrameworkState.js','trackStepEvent','KEY_TEST_FILE_PATH','KEY_LOGS','KEY_TEST_ID','Error\x20in\x20sendLogCreatedEvent:\x20','mUZmr','\x20response=','KEY_TEST_FRAMEWORK_NAME','PlaywrightTestFramework','PdMPU','soLwU','oBsjH','ZRIot','FcysY','\x20testHookState=','retry','getTrackedInstance','startedAt','info','acSBx','KEY_HOOK_ID','XYOIi','ERnbT','BqryZ','vmjgp','KEY_HOOK_RESULT','concat','errors','text','\x20testState:\x20','Error\x20processing\x20trace\x20file\x20','runHooks','KEY_TEST_FAILURE_REASON','\x20target=','TEST','LCdUe','getTestFrameworks','../../../helpers/helper.js','KEY_EVENT_ENDED_AT','size','uuid','wkwmk','set','pYnWb','trackStepEvent:\x20testId=','trackPlaywrightInstance:\x20saved\x20instance\x20contextId=','3oGVccF','sendLogCreatedEvent:\x20testId=','GkleR','gfOwT','KEY_EVENT_STARTED_AT','bXgRM','epJrj','\x20instance=','getTestUUID','gHVeO','bihCp','trackEvent:\x20Exception\x20in\x20event\x20tracking,\x20testFrameworkState=%s\x20hookState=%s\x20argsLength=%s,\x20exception=%s','getTestDetails','AMcFb',',\x20state=','getId','581016wgODxn','1496475sNShpY','kkOoE','DocPL','\x20hookState:\x20','KEY_TEST_SCOPE','platformIndex','format','No\x20reason\x20provided','endedAt','\x20payload=','dOiiG','fGjTZ','split','failure_type'];a95_0x40db=function(){return _0x46fe88;};return a95_0x40db();}class PlaywrightTestFramework extends TestFramework{constructor(_0x58886f,_0x16a346,_0x391bd6){super(_0x58886f,_0x16a346,_0x391bd6);}async['trackEvent'](_0x4b2701,_0x14c1be,_0x10ecbc={}){const _0x568049=a95_0x17a943,_0x7ab7aa={'vHkPH':function(_0x55009a,_0x56e8e6){return _0x55009a===_0x56e8e6;},'BqryZ':function(_0x26ad02,_0x387bb8){return _0x26ad02===_0x387bb8;},'YpHLc':function(_0x4c5f3b,_0x22d3ba){return _0x4c5f3b===_0x22d3ba;},'sWNnT':function(_0x39ab9c,_0x11f081,_0x5a7e7b){return _0x39ab9c(_0x11f081,_0x5a7e7b);},'dTvIi':function(_0x264416,_0x2d9b9c){return _0x264416===_0x2d9b9c;},'GAktT':function(_0xdfb0b4,_0x8fccd8,_0x47b390){return _0xdfb0b4(_0x8fccd8,_0x47b390);},'iYlhS':function(_0x3d7583,_0x15d640,_0x581e34,_0xf885cd){return _0x3d7583(_0x15d640,_0x581e34,_0xf885cd);},'tSvnk':_0x568049(0x1e6),'CrybT':_0x568049(0x2b3)};super[_0x568049(0x1f9)](_0x4b2701,_0x14c1be,_0x10ecbc);if(_0x7ab7aa[_0x568049(0x213)](_0x4b2701,TestFrameworkState[_0x568049(0x1d4)])){const _0x29fd1d=TestInfo[_0x568049(0x275)](_0x10ecbc[_0x568049(0x1e6)],_0x10ecbc[_0x568049(0x1e6)][_0x568049(0x289)]);TestInfo['setTestDetails'](_0x29fd1d,_0x10ecbc[_0x568049(0x1cc)],!![]);}if(_0x7ab7aa[_0x568049(0x213)](_0x4b2701,TestFrameworkState[_0x568049(0x266)])){this[_0x568049(0x27a)](_0x4b2701,_0x14c1be,_0x10ecbc);return;}const _0x3d54be=this[_0x568049(0x1f5)](_0x4b2701,_0x14c1be,_0x10ecbc);if(!_0x3d54be)return;logger[_0x568049(0x1d2)](_0x568049(0x218)+_0x4b2701+_0x568049(0x227)+_0x14c1be+_0x568049(0x22a)+_0x3d54be[_0x568049(0x20c)]());try{if(_0x7ab7aa[_0x568049(0x291)](_0x14c1be,HookState[_0x568049(0x232)])&&_0x7ab7aa[_0x568049(0x263)](_0x4b2701,TestFrameworkState[_0x568049(0x29c)])){const _0x659d20=_0x10ecbc[_0x568049(0x1e6)];logger[_0x568049(0x1d2)]('trackEvent\x20loading\x20testData\x20for\x20testId:\x20'+_0x659d20['id']+'}');const _0x5db388=TestInfo[_0x568049(0x2b0)](_0x7ab7aa[_0x568049(0x1ea)](getTestRunIdentifier,_0x659d20,_0x10ecbc[_0x568049(0x1cc)][_0x568049(0x289)]));_0x3d54be[_0x568049(0x221)](this[_0x568049(0x250)](_0x5db388,_0x659d20,_0x10ecbc[_0x568049(0x1cc)])),logger[_0x568049(0x1d2)](_0x568049(0x274)+_0x659d20['id']+',\x20testFrameworkState='+_0x4b2701+_0x568049(0x288)+_0x14c1be+_0x568049(0x2af)+_0x3d54be['getRef']());}if(_0x7ab7aa[_0x568049(0x1d8)](_0x14c1be,HookState[_0x568049(0x1fc)])&&_0x7ab7aa[_0x568049(0x1d8)](_0x4b2701,TestFrameworkState['TEST'])){const _0x42d640=_0x10ecbc[_0x568049(0x1e6)],_0x313e91=_0x10ecbc[_0x568049(0x1cc)];logger['debug'](_0x568049(0x1c3)+_0x42d640['id']);const _0x106693=_0x7ab7aa[_0x568049(0x269)](getTestRunIdentifier,_0x42d640,_0x313e91[_0x568049(0x289)]),_0x3a4150=_0x3d54be['getAllData']()[_0x568049(0x224)](_0x106693)[TestFrameworkConstants[_0x568049(0x239)]],{steps:_0x173164,logs:_0x2b83cc}=_0x7ab7aa['iYlhS'](getStepsAndLogs,_0x313e91[_0x568049(0x22b)],_0x3a4150,_0x7ab7aa[_0x568049(0x24d)]);_0x3d54be[_0x568049(0x221)](this[_0x568049(0x251)](_0x42d640['id'],_0x313e91,_0x42d640,_0x173164)),await this['sendLogCreatedEvent'](_0x3d54be,_0x4b2701,_0x14c1be,_0x7ab7aa['tSvnk'],_0x10ecbc,_0x2b83cc);}if(CLIUtils[_0x568049(0x1e7)](_0x4b2701[_0x568049(0x1c5)]()[_0x568049(0x2c5)]('.')[0x1])){const _0x12e980=await this[_0x568049(0x1eb)](_0x3d54be,_0x4b2701,_0x14c1be,_0x10ecbc);_0x3d54be['addMultipleEntries'](_0x12e980);}}catch(_0x5cdf8a){logger[_0x568049(0x2c8)](util['format'](_0x7ab7aa[_0x568049(0x210)],_0x4b2701,_0x14c1be,_0x10ecbc[_0x568049(0x1ca)],_0x5cdf8a));}_0x10ecbc[_0x568049(0x243)]=_0x3d54be,await this[_0x568049(0x299)](_0x3d54be,_0x4b2701,_0x14c1be,_0x10ecbc);}['resolveInstance'](_0x14de2a,_0x342667,_0x430c70={}){const _0x561f45=a95_0x17a943,_0x2ae447={};_0x2ae447[_0x561f45(0x233)]=function(_0x2963ff,_0x44824d){return _0x2963ff===_0x44824d;},_0x2ae447[_0x561f45(0x292)]=function(_0x589566,_0x1255cb){return _0x589566===_0x1255cb;};const _0x1c89b4=_0x2ae447;let _0x51495d=null;return(_0x1c89b4[_0x561f45(0x233)](_0x14de2a,TestFrameworkState['INIT_TEST'])||_0x1c89b4[_0x561f45(0x292)](_0x14de2a,TestFrameworkState[_0x561f45(0x25d)]))&&this[_0x561f45(0x204)](_0x14de2a,_0x430c70),_0x51495d=TestFramework[_0x561f45(0x28a)](),_0x51495d;}['trackPlaywrightInstance'](_0x4d9ae1,_0x50728e){const _0x31edfe=a95_0x17a943,_0x8f345c=CLIUtils['getCurrentInstanceName'](),_0xf1ff90=TrackedInstance['createContext'](_0x8f345c);let _0x2a3ad5=null;logger[_0x31edfe(0x28c)](_0x31edfe(0x276)+_0x8f345c+_0x31edfe(0x2b6)+_0x4d9ae1),_0x2a3ad5=new TestFrameworkInstance(_0xf1ff90,this[_0x31edfe(0x29e)](),this[_0x31edfe(0x235)](),_0x4d9ae1,HookState['NONE']),TestFramework[_0x31edfe(0x216)](_0xf1ff90,_0x2a3ad5),logger[_0x31edfe(0x28c)](_0x31edfe(0x2a7)+_0xf1ff90[_0x31edfe(0x2b7)]()+_0x31edfe(0x29b)+_0x8f345c);}[a95_0x17a943(0x250)](_0x5302bb,_0x12f746,_0x580aa6){const _0x10087b=a95_0x17a943,_0x38b8f7={'gfOwT':function(_0x58af6c,_0x1e4f5b){return _0x58af6c(_0x1e4f5b);},'soLwU':function(_0x3ddedb,_0x2f8e68){return _0x3ddedb(_0x2f8e68);},'wIPnG':function(_0x3c46e5,_0x48622a){return _0x3c46e5(_0x48622a);},'MgiLY':function(_0x36e2e2,_0x3b5541){return _0x36e2e2(_0x3b5541);},'ZRIot':function(_0x3fdcae,_0x1dc451){return _0x3fdcae(_0x1dc451);},'myNge':function(_0x41cbe9,_0xe3ca6e){return _0x41cbe9(_0xe3ca6e);},'lPcWI':function(_0x2974fd,_0xd30a94,_0x3936a9){return _0x2974fd(_0xd30a94,_0x3936a9);},'kkOoE':function(_0x4eeb74,_0x59e77a){return _0x4eeb74(_0x59e77a);}},_0x417044=_0x38b8f7[_0x10087b(0x2ab)](getPlaywrightTestId,_0x12f746),_0x409d65=_0x38b8f7['gfOwT'](getPlaywrightTestTitle,_0x12f746),_0x593310=_0x38b8f7[_0x10087b(0x284)](getTestTags,_0x12f746),_0x200cc5=_0x38b8f7[_0x10087b(0x272)](getPlaywrightTestCode,_0x12f746),_0x3a8b3e=_0x38b8f7[_0x10087b(0x26c)](getPlaywrightTestFilePath,_0x12f746),_0x1dd9c0=_0x3a8b3e,_0x3f1041=_0x38b8f7[_0x10087b(0x286)](getPlaywrightTestScope,_0x12f746),_0x34edcb=_0x38b8f7['myNge'](getPlaywrightTestScopes,_0x12f746),_0x308e0e=_0x38b8f7[_0x10087b(0x26c)](getPlaywrightSessionName,_0x12f746),_0x30b395=this[_0x10087b(0x29e)]()[0x0],_0x263a10=_0x38b8f7[_0x10087b(0x254)](getTestRunIdentifier,_0x12f746,_0x580aa6[_0x10087b(0x289)]),_0x36ec6c={[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x30b395,[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:this['getTestFrameworksVersions']()[_0x30b395],[TestFrameworkConstants['KEY_TEST_LOGS']]:[],[TestFrameworkConstants[_0x10087b(0x21f)]]:{},[TestFrameworkConstants[_0x10087b(0x24a)]]:{},[TestFrameworkConstants[_0x10087b(0x239)]]:_0x5302bb,[TestFrameworkConstants[_0x10087b(0x255)]]:TestFrameworkConstants[_0x10087b(0x242)],[TestFrameworkConstants[_0x10087b(0x219)]]:_0x308e0e,[TestFrameworkConstants[_0x10087b(0x27b)]]:_0x3a8b3e,[TestFrameworkConstants[_0x10087b(0x27d)]]:_0x417044,[TestFrameworkConstants[_0x10087b(0x1c2)]]:_0x409d65,[TestFrameworkConstants['KEY_TEST_LOCATION']]:_0x1dd9c0,[TestFrameworkConstants['KEY_TEST_CODE']]:_0x200cc5,[TestFrameworkConstants['KEY_TEST_TAGS']]:_0x593310,[TestFrameworkConstants[_0x10087b(0x217)]]:_0x12f746[_0x10087b(0x21a)][0x0][_0x10087b(0x1e5)],[TestFrameworkConstants[_0x10087b(0x2bd)]]:_0x3f1041,[TestFrameworkConstants[_0x10087b(0x23c)]]:_0x34edcb,[TestFrameworkConstants[_0x10087b(0x247)]]:_0x38b8f7[_0x10087b(0x2ba)](getPlaywrightCustomRerunParam,_0x12f746)};TestInfo[_0x10087b(0x1c4)](_0x263a10,_0x36ec6c);const _0x3e59b2={};return _0x3e59b2[_0x263a10]=_0x36ec6c,_0x3e59b2;}[a95_0x17a943(0x251)](_0x4b36f1,_0x16cc73,_0x34f9b7,_0x52341b){const _0x38a1cc=a95_0x17a943,_0x326059={'EgJlf':function(_0x62da12,_0x27c009){return _0x62da12(_0x27c009);},'kpSCH':'TEST_ATTACHMENT','bXgRM':function(_0x2e9693,_0x1fa5d5){return _0x2e9693===_0x1fa5d5;},'ERnbT':function(_0x4e4747,_0x890882){return _0x4e4747===_0x890882;},'ZhSfz':function(_0x290059,_0xcb4f92){return _0x290059===_0xcb4f92;},'epJrj':_0x38a1cc(0x2c0),'DocPL':function(_0x5e23a0,_0x5e1c55){return _0x5e23a0(_0x5e1c55);},'xAFKk':function(_0x4b18b5,_0x46fd8a,_0x2cf989){return _0x4b18b5(_0x46fd8a,_0x2cf989);},'LCdUe':function(_0x123ce9,_0x550349){return _0x123ce9===_0x550349;},'dAtIA':'skipped','jGElV':'passed','SyYDg':function(_0x52b52a,_0x1642b5){return _0x52b52a===_0x1642b5;},'bihCp':'failed','aeDvB':function(_0xf8fd28,_0x11285e){return _0xf8fd28===_0x11285e;},'sbijf':_0x38a1cc(0x211),'gHVeO':_0x38a1cc(0x26a),'yQYbo':function(_0x13956f,_0x68a231,_0x51b428){return _0x13956f(_0x68a231,_0x51b428);},'bDuHy':function(_0x536ba7,_0x44f322){return _0x536ba7||_0x44f322;},'gxiVn':function(_0x1d898c,_0x24e17f){return _0x1d898c>_0x24e17f;},'qiIDL':function(_0x5be07a,_0x191c02,_0x7c6666){return _0x5be07a(_0x191c02,_0x7c6666);},'zrtUE':function(_0x32f860,_0x20046c){return _0x32f860-_0x20046c;},'GkleR':function(_0x26c76a,_0x488e94,_0x2b6793,_0x39afab){return _0x26c76a(_0x488e94,_0x2b6793,_0x39afab);},'VHmrr':_0x38a1cc(0x1e6),'amaae':function(_0x7d5ad5,_0x2cb550){return _0x7d5ad5>=_0x2cb550;},'TvmZS':function(_0x8f0ca0,_0x4b8d7b){return _0x8f0ca0+_0x4b8d7b;},'NsZKS':function(_0x346cc4,_0x4268a6){return _0x346cc4>_0x4268a6;},'iJNqb':_0x38a1cc(0x1f0),'InHQG':function(_0x23f755,_0x1fade9){return _0x23f755>_0x1fade9;},'pzHEa':function(_0x4785c5,_0x44648b){return _0x4785c5(_0x44648b);},'hKCfo':_0x38a1cc(0x1cd)};logger[_0x38a1cc(0x1d2)](_0x38a1cc(0x253)+_0x4b36f1);const _0x161965=_0x326059[_0x38a1cc(0x252)](getTestRunIdentifier,_0x34f9b7,_0x16cc73[_0x38a1cc(0x289)]),_0x21f4c0=new Date(),_0x4eef5c=_0x16cc73[_0x38a1cc(0x1e8)],_0x4ae911=TestInfo[_0x38a1cc(0x2b4)](_0x161965)[TestFrameworkConstants[_0x38a1cc(0x20e)]]||{};let _0x102d62=_0x4eef5c;if(_0x326059[_0x38a1cc(0x22d)](_0x16cc73['status'],_0x34f9b7['expectedStatus']))_0x102d62=_0x326059[_0x38a1cc(0x29d)](_0x16cc73[_0x38a1cc(0x1e8)],_0x326059[_0x38a1cc(0x24e)])?_0x326059[_0x38a1cc(0x24e)]:_0x326059[_0x38a1cc(0x1f6)];else{(_0x326059[_0x38a1cc(0x22d)](_0x102d62,_0x326059[_0x38a1cc(0x1f6)])||_0x326059[_0x38a1cc(0x248)](_0x102d62,_0x326059['bihCp'])||_0x326059[_0x38a1cc(0x203)](_0x102d62,_0x326059[_0x38a1cc(0x229)]))&&(_0x102d62=_0x326059[_0x38a1cc(0x2b2)]);if(_0x326059[_0x38a1cc(0x203)](_0x16cc73[_0x38a1cc(0x1e8)],_0x326059['jGElV'])&&_0x326059[_0x38a1cc(0x2ad)](_0x34f9b7['expectedStatus'],_0x326059[_0x38a1cc(0x2b2)])){const _0x4e822a={};_0x4e822a[_0x38a1cc(0x1ed)]=_0x326059['gHVeO'],_0x4e822a[_0x38a1cc(0x23b)]=_0x326059[_0x38a1cc(0x2b1)],_0x16cc73[_0x38a1cc(0x2c8)]=_0x4e822a,_0x16cc73[_0x38a1cc(0x295)]=[_0x16cc73[_0x38a1cc(0x2c8)]];}}const {failureData:_0x35da07,logs:_0x4eacd9}=_0x326059['yQYbo'](getFailureData,_0x16cc73?.['errors'],{}),_0x2f37e0={[TestFrameworkConstants[_0x38a1cc(0x1d7)]]:_0x326059[_0x38a1cc(0x26d)](_0x35da07,null),[TestFrameworkConstants[_0x38a1cc(0x220)]]:_0x16cc73?.[_0x38a1cc(0x2c8)]&&_0x326059[_0x38a1cc(0x1ff)](getFailureType,_0x16cc73['error'][_0x38a1cc(0x1ed)]),[TestFrameworkConstants[_0x38a1cc(0x29a)]]:_0x16cc73?.[_0x38a1cc(0x2c8)]&&_0x326059[_0x38a1cc(0x2bb)](removeAnsiColors,_0x16cc73[_0x38a1cc(0x2c8)]['message']),[TestFrameworkConstants[_0x38a1cc(0x27c)]]:[],[TestFrameworkConstants[_0x38a1cc(0x255)]]:_0x102d62,[TestFrameworkConstants['KEY_TEST_ENDED_AT']]:_0x21f4c0[_0x38a1cc(0x201)](),[TestFrameworkConstants['KEY_TEST_RESULT_AT']]:new Date()[_0x38a1cc(0x201)](),[TestFrameworkConstants[_0x38a1cc(0x20e)]]:_0x4ae911};if(_0x16cc73&&_0x326059['gxiVn'](_0x16cc73[_0x38a1cc(0x289)],0x0)){const _0x4b1893=TestInfo[_0x38a1cc(0x2b0)](_0x326059['qiIDL'](getTestRunIdentifier,_0x34f9b7,_0x326059[_0x38a1cc(0x25a)](_0x16cc73[_0x38a1cc(0x289)],0x1)));_0x2f37e0[TestFrameworkConstants[_0x38a1cc(0x20b)]]=_0x4b1893;}const _0x329f6a={};_0x329f6a[_0x38a1cc(0x1e6)]=_0x34f9b7;const _0x77932d=this[_0x38a1cc(0x1f5)](TestFrameworkState[_0x38a1cc(0x29c)],HookState[_0x38a1cc(0x1fc)],_0x329f6a),_0xbbd029=_0x77932d[_0x38a1cc(0x25b)]()[_0x38a1cc(0x224)](_0x161965)[TestFrameworkConstants[_0x38a1cc(0x239)]],_0x3a9fe2=_0x52341b||_0x326059[_0x38a1cc(0x2aa)](getStepsAndLogs,_0x16cc73[_0x38a1cc(0x22b)],_0xbbd029,_0x326059['VHmrr'])[_0x38a1cc(0x22b)],_0x3cf5d8=new Map(),_0x3e22a7=new Map();let _0x395314=0x0;const _0x265c66=[];for(const _0x18681e of _0x3a9fe2||[]){const _0x4bcb71=_0x18681e['parent_id']||null;let _0x4df6ea;if(_0x326059[_0x38a1cc(0x203)](_0x4bcb71,null)){if(_0x326059['amaae'](_0x395314,TestFrameworkConstants[_0x38a1cc(0x26f)]))continue;_0x4df6ea=0x0,_0x395314++;}else{const _0x359b90=_0x3cf5d8[_0x38a1cc(0x224)](_0x4bcb71);if(_0x326059[_0x38a1cc(0x203)](_0x359b90,undefined))continue;_0x4df6ea=_0x326059[_0x38a1cc(0x1da)](_0x359b90,0x1);if(_0x326059[_0x38a1cc(0x228)](_0x4df6ea,TestFrameworkConstants[_0x38a1cc(0x230)]))continue;}_0x3cf5d8[_0x38a1cc(0x2a4)](_0x18681e['id'],_0x4df6ea),_0x3e22a7[_0x38a1cc(0x2a4)](_0x18681e['id'],_0x18681e['text']),_0x265c66[_0x38a1cc(0x1fe)]({'id':_0x18681e['id'],'parent_id':_0x4bcb71,'parent_text':_0x4bcb71?_0x3e22a7[_0x38a1cc(0x224)](_0x4bcb71)||'':'','text':_0x18681e[_0x38a1cc(0x296)],'keyword':_0x18681e[_0x38a1cc(0x21b)]||null,'started_at':_0x18681e['started_at'],'duration':_0x18681e[_0x38a1cc(0x256)]??null,'result':_0x18681e['result'],'failure':_0x18681e[_0x38a1cc(0x2c7)]||null,'failure_type':_0x18681e[_0x38a1cc(0x2c6)]||null});}const _0x52a057={};_0x52a057['steps']=_0x265c66,_0x2f37e0[TestFrameworkConstants['KEY_TEST_META']]=_0x52a057,logger[_0x38a1cc(0x1d2)](_0x38a1cc(0x1c6)+_0x265c66[_0x38a1cc(0x1ca)]+_0x38a1cc(0x234)+_0x4b36f1);const _0x268f56=[],_0x54edbd=_0x326059[_0x38a1cc(0x273)](findNestedKey,_0x16cc73,_0x326059[_0x38a1cc(0x240)]);if(_0x54edbd&&_0x326059[_0x38a1cc(0x2bb)](validateFilePath,_0x54edbd))try{_0x268f56[_0x38a1cc(0x1fe)]({'kind':_0x326059[_0x38a1cc(0x20d)],'timestamp':new Date()[_0x38a1cc(0x201)](),'test_run_uuid':_0xbbd029,'file_name':path[_0x38a1cc(0x257)](_0x54edbd),'file_size':fs['statSync'](_0x54edbd)[_0x38a1cc(0x2a1)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x49df5f){logger[_0x38a1cc(0x2c8)](_0x38a1cc(0x267)+_0x54edbd+':\x20'+_0x49df5f[_0x38a1cc(0x1ed)]);}const _0x216a0d=TestInfo[_0x38a1cc(0x25f)](),_0xf85f25=_0x216a0d[_0x38a1cc(0x1d3)](_0x150f82=>_0x150f82['testUId']===_0xbbd029);_0xf85f25['forEach'](_0x1a2757=>{const _0x4679cc=_0x38a1cc;if(_0x1a2757[_0x4679cc(0x1cf)]&&_0x326059[_0x4679cc(0x1ff)](validateFilePath,_0x1a2757['filePath'])&&!_0x268f56['some'](_0x346b2e=>_0x346b2e['file_name']===path[_0x4679cc(0x257)](_0x1a2757['filePath'])))try{_0x268f56[_0x4679cc(0x1fe)]({'kind':_0x326059[_0x4679cc(0x20d)],'timestamp':new Date()[_0x4679cc(0x201)](),'test_run_uuid':_0xbbd029,'file_name':path['basename'](_0x1a2757[_0x4679cc(0x1cf)]),'file_size':fs[_0x4679cc(0x1de)](_0x1a2757[_0x4679cc(0x1cf)])[_0x4679cc(0x2a1)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x5b2d66){logger[_0x4679cc(0x2c8)](_0x4679cc(0x298)+_0x1a2757['filePath']+'\x20from\x20TestDetails:\x20'+_0x5b2d66[_0x4679cc(0x1ed)]);}});if(_0x326059[_0x38a1cc(0x1dd)](_0x268f56[_0x38a1cc(0x1ca)],0x0)){const _0x439e96=_0x2f37e0[TestFrameworkConstants[_0x38a1cc(0x27c)]]||[];_0x2f37e0[TestFrameworkConstants['KEY_LOGS']]=[..._0x439e96,..._0x268f56];}const _0xc8f1cf=TestInfo[_0x38a1cc(0x2b4)](_0x161965)[TestFrameworkConstants[_0x38a1cc(0x225)]]||{},_0x4e81aa=_0x326059[_0x38a1cc(0x24b)](getManualUploadLogs,_0xc8f1cf,_0x77932d['getAllData']()[_0x38a1cc(0x224)](_0x161965)[TestFrameworkConstants[_0x38a1cc(0x239)]]);if(_0x326059[_0x38a1cc(0x245)](_0x4e81aa['length'],0x0)){const _0x50f639=_0x2f37e0[TestFrameworkConstants[_0x38a1cc(0x27c)]]||[];_0x2f37e0[TestFrameworkConstants['KEY_LOGS']]=[..._0x50f639,..._0x4e81aa];}const _0x22a7dc=_0x34f9b7[_0x38a1cc(0x206)]||[],_0x236b61=_0x2f37e0[TestFrameworkConstants[_0x38a1cc(0x20e)]]||{},_0x21457c=_0x326059['pzHEa'](require,_0x326059[_0x38a1cc(0x246)]);_0x22a7dc[_0x38a1cc(0x205)](_0x1f35ca=>{const _0x5329c5=_0x38a1cc,{type:_0x14faa9}=_0x1f35ca;let _0x50398d=_0x1f35ca['description'];if(!_0x14faa9)return;if(PLAYWRIGHT_BUILTIN_ANNOTATIONS[_0x5329c5(0x209)](_0x14faa9))return;(_0x326059[_0x5329c5(0x2ad)](_0x50398d,undefined)||_0x326059[_0x5329c5(0x290)](_0x50398d,null)||_0x326059['ZhSfz'](_0x326059[_0x5329c5(0x1ff)](String,_0x50398d)[_0x5329c5(0x208)](),''))&&(_0x50398d=_0x326059[_0x5329c5(0x2ae)]);const _0x233fd1=helper['parseCommaSeparatedValues'](_0x326059[_0x5329c5(0x2bb)](String,_0x50398d));_0x21457c[_0x5329c5(0x1d1)](_0x236b61,_0x14faa9,_0x233fd1);}),_0x2f37e0[TestFrameworkConstants[_0x38a1cc(0x20e)]]=_0x236b61,TestInfo[_0x38a1cc(0x1c4)](_0x161965,_0x2f37e0);const _0x3f7f29={};return _0x3f7f29[_0x161965]=_0x2f37e0,_0x3f7f29;}[a95_0x17a943(0x27a)](_0x48c201,_0x3c8c13,_0x252a3b){const _0xdb28af=a95_0x17a943,_0x123feb={'dOiiG':function(_0x2e6a76,_0x1c95b9){return _0x2e6a76||_0x1c95b9;},'IcXPY':function(_0x5f4982,_0x7918f9,_0x2b14e9){return _0x5f4982(_0x7918f9,_0x2b14e9);}};try{const {test:_0x38d376,result:_0x25dd7d,step:_0x56c13c}=_0x252a3b;if(_0x123feb[_0xdb28af(0x2c3)](!_0x38d376,!_0x56c13c)||!_0x25dd7d)return;const _0x31582a=_0x123feb[_0xdb28af(0x20a)](getTestRunIdentifier,_0x38d376,_0x25dd7d[_0xdb28af(0x289)]);logger['debug'](_0xdb28af(0x2a6)+_0x31582a+_0xdb28af(0x227)+_0x3c8c13+_0xdb28af(0x25e)+_0x56c13c[_0xdb28af(0x1c8)]+'\x22');}catch(_0x276921){logger[_0xdb28af(0x2c8)](_0xdb28af(0x238)+util['format'](_0x276921));}}async[a95_0x17a943(0x1eb)](_0x37b7d7,_0x27b662,_0x5df1c8,_0x2e781a){const _0xd312b5=a95_0x17a943,_0x43ee04={'eMBOt':function(_0x24ae2d,_0x133dfc,_0x57088b){return _0x24ae2d(_0x133dfc,_0x57088b);},'usfbH':function(_0x1cbca2,_0x810941){return _0x1cbca2 in _0x810941;},'ubMtM':function(_0x1ad674,_0x3c83b9){return _0x1ad674 in _0x3c83b9;},'TBTnZ':function(_0x26a7b8,_0x113327){return _0x26a7b8(_0x113327);},'eTHSC':function(_0x491fde,_0x37162b){return _0x491fde===_0x37162b;},'FdlBb':function(_0x46ad93){return _0x46ad93();},'VLwoJ':function(_0x152cbe,_0x4ce0dd){return _0x152cbe>_0x4ce0dd;},'IbCsn':function(_0x26b32d,_0x569392,_0x566ba1){return _0x26b32d(_0x569392,_0x566ba1);},'gAhcV':'err','fGjTZ':function(_0x24afee,_0xd76de){return _0x24afee(_0xd76de);},'eLwZi':function(_0x3d8dcc,_0xca594c){return _0x3d8dcc(_0xca594c);},'iQNjQ':_0xd312b5(0x21c),'EVtnB':_0xd312b5(0x23a),'YdQNO':function(_0x1b18d,_0x58adc6){return _0x1b18d!==_0x58adc6;},'wkwmk':function(_0x829f61,_0x35a096){return _0x829f61+_0x35a096;},'STRUr':'hook'},_0x486a14=_0x2e781a[_0xd312b5(0x1e6)],_0x57932c=_0x2e781a['step'],_0x22ec14=_0x43ee04['eMBOt'](getTestRunIdentifier,_0x486a14,_0x2e781a[_0xd312b5(0x1cc)][_0xd312b5(0x289)]),_0x265686=_0x27b662[_0xd312b5(0x1c5)]()['split']('.')[0x1];let _0x467add=_0x37b7d7[_0xd312b5(0x25b)]()[_0xd312b5(0x224)](_0x22ec14)[TestFrameworkConstants['KEY_HOOKS_STARTED']];!_0x467add&&(_0x467add={});!_0x43ee04[_0xd312b5(0x24c)](_0x265686,_0x467add)&&(_0x467add[_0x265686]=[]);let _0x32e3b9=_0x37b7d7[_0xd312b5(0x25b)]()['get'](_0x22ec14)[TestFrameworkConstants['KEY_HOOKS_FINISHED']];!_0x32e3b9&&(_0x32e3b9={});!_0x43ee04[_0xd312b5(0x1d5)](_0x265686,_0x32e3b9)&&(_0x32e3b9[_0x265686]=[]);const _0x584abb={[TestFrameworkConstants[_0xd312b5(0x24a)]]:_0x467add,[TestFrameworkConstants[_0xd312b5(0x21f)]]:_0x32e3b9},_0x2eccf1={};_0x2eccf1[_0x22ec14]=_0x584abb;const _0x192851=_0x2eccf1,_0x1b3c16=_0x43ee04[_0xd312b5(0x20f)](getPlaywrightTestFilePath,_0x486a14),_0x252398=_0x1b3c16,_0x2c8da5=TestInfo[_0xd312b5(0x2b4)](_0x22ec14)[TestFrameworkConstants[_0xd312b5(0x20e)]]||{};if(_0x43ee04[_0xd312b5(0x259)](_0x5df1c8,HookState['PRE'])){const _0x5b9906={'key':_0x265686,[TestFrameworkConstants[_0xd312b5(0x28e)]]:_0x43ee04[_0xd312b5(0x1e3)](uuidv4),[TestFrameworkConstants[_0xd312b5(0x293)]]:TestFrameworkConstants['DEFAULT_HOOK_RESULT'],[TestFrameworkConstants[_0xd312b5(0x2ac)]]:_0x57932c['startTime'],[TestFrameworkConstants[_0xd312b5(0x21e)]]:[],[TestFrameworkConstants[_0xd312b5(0x265)]]:_0x57932c[_0xd312b5(0x1c8)],[TestFrameworkConstants[_0xd312b5(0x27b)]]:_0x1b3c16,[TestFrameworkConstants[_0xd312b5(0x22c)]]:_0x252398,[TestFrameworkConstants[_0xd312b5(0x20e)]]:_0x2c8da5};_0x467add[_0x265686][_0xd312b5(0x1fe)](_0x5b9906),_0x192851[_0x22ec14][TestFrameworkConstants['KEY_HOOK_LAST_STARTED']]=_0x265686,logger[_0xd312b5(0x1d2)](_0xd312b5(0x1f2)+_0x265686+_0xd312b5(0x1f3)+_0x5b9906+'\x20\x20and\x20args\x20=\x20'+_0x2e781a);}else{if(_0x43ee04[_0xd312b5(0x259)](_0x5df1c8,HookState['POST'])){const _0x100afa=await _0x2e781a['result'],_0x4bf74c=_0x467add[_0x265686]||[],_0x29a392=_0x2e781a[_0xd312b5(0x1dc)];logger[_0xd312b5(0x1d2)]('Hook\x20List\x20in\x20Post\x20'+_0x4bf74c+'\x20and\x20args\x20=\x20'+_0x2e781a);if(_0x43ee04['VLwoJ'](_0x4bf74c[_0xd312b5(0x1ca)],0x0)){const _0xbdf885=_0x4bf74c[_0xd312b5(0x1e4)]();if(_0x29a392[_0xd312b5(0x2c8)]){const _0x6f5002=_0x43ee04[_0xd312b5(0x1cb)](failureData,_0x29a392[_0xd312b5(0x2c8)],_0x43ee04[_0xd312b5(0x214)]);_0xbdf885[TestFrameworkConstants[_0xd312b5(0x1f8)]]=_0x43ee04[_0xd312b5(0x2c4)](getFailureType,_0x29a392?.['error']['message']),_0xbdf885[TestFrameworkConstants[_0xd312b5(0x241)]]=_0x43ee04[_0xd312b5(0x1d0)](removeAnsiColors,_0x29a392?.[_0xd312b5(0x2c8)][_0xd312b5(0x1ed)]),_0xbdf885[TestFrameworkConstants[_0xd312b5(0x293)]]=_0x43ee04[_0xd312b5(0x1ce)],_0xbdf885[TestFrameworkConstants[_0xd312b5(0x262)]]=_0x6f5002;}else _0xbdf885[TestFrameworkConstants[_0xd312b5(0x293)]]=_0x43ee04[_0xd312b5(0x1f1)];_0x43ee04['YdQNO'](_0x100afa,TestFrameworkConstants['DEFAULT_HOOK_RESULT'])&&(_0xbdf885[TestFrameworkConstants[_0xd312b5(0x293)]]=!_0x29a392[_0xd312b5(0x2c8)]?_0x43ee04[_0xd312b5(0x1f1)]:_0x43ee04[_0xd312b5(0x1ce)]);const _0x1cf845=new Date(_0x29a392[_0xd312b5(0x1e5)]),_0x1be4af=new Date(_0x43ee04[_0xd312b5(0x2a3)](_0x1cf845[_0xd312b5(0x200)](),_0x29a392['duration']));_0xbdf885[TestFrameworkConstants[_0xd312b5(0x2a0)]]=_0x1be4af[_0xd312b5(0x201)](),_0xbdf885[TestFrameworkConstants[_0xd312b5(0x20e)]]=_0x2c8da5;const _0x5d65d1=_0xbdf885[TestFrameworkConstants[_0xd312b5(0x28e)]];await this[_0xd312b5(0x226)](_0x37b7d7,_0x27b662,_0x5d65d1,_0x43ee04['STRUr'],_0x2e781a),!_0x32e3b9[_0x265686]&&(_0x32e3b9[_0x265686]=[]),_0x32e3b9[_0x265686][_0xd312b5(0x1fe)](_0xbdf885),_0x192851[_0x22ec14][TestFrameworkConstants['KEY_HOOK_LAST_FINISHED']]=_0x265686;}}}return _0x192851;}async[a95_0x17a943(0x226)](_0x549fd7,_0x1695f9,_0x4a5b50,_0x2d5ea6,_0xe58560,_0x5863aa){const _0x17b770=a95_0x17a943,_0x4b7784={'eEtdu':function(_0x323556,_0x1b50e7){return _0x323556===_0x1b50e7;},'KHnBP':_0x17b770(0x1e6),'TKEVS':function(_0xd81c49,_0x4a1d33,_0x4e4f4e){return _0xd81c49(_0x4a1d33,_0x4e4f4e);},'AMcFb':function(_0x5c49b3,_0x24007e,_0x50135a){return _0x5c49b3(_0x24007e,_0x50135a);},'dEZGu':'attachments','acSBx':function(_0x15a106,_0x3c02b3,_0x3ccdee,_0x11511b){return _0x15a106(_0x3c02b3,_0x3ccdee,_0x11511b);},'WfQoh':function(_0x2f518e,_0x345c85,_0x59ba4e){return _0x2f518e(_0x345c85,_0x59ba4e);},'cBXLn':function(_0x4727be,_0x1e00d4,_0x19008c){return _0x4727be(_0x1e00d4,_0x19008c);},'tpQnt':function(_0x3b43a1,_0x480280,_0x73d99f){return _0x3b43a1(_0x480280,_0x73d99f);},'xHUbd':function(_0x566f1a,_0xfa0ec3){return _0x566f1a/_0xfa0ec3;},'pYnWb':function(_0x30f500,_0x5eb05e){return _0x30f500<_0x5eb05e;},'mUZmr':function(_0x2fc1c8,_0x1dccd5){return _0x2fc1c8*_0x1dccd5;},'XYOIi':function(_0x1091ae,_0x5c95ac){return _0x1091ae+_0x5c95ac;},'GpBzF':function(_0x3527ae,_0x55ce0c,_0x22561a,_0x837509,_0x371965){return _0x3527ae(_0x55ce0c,_0x22561a,_0x837509,_0x371965);},'PdMPU':function(_0x1c86da,_0x16ebfe){return _0x1c86da+_0x16ebfe;},'RdFFy':function(_0x417e41,_0x59c540,_0x15d485,_0x4ef5c7){return _0x417e41(_0x59c540,_0x15d485,_0x4ef5c7);},'FcysY':_0x17b770(0x1d9)};try{if(_0x4b7784[_0x17b770(0x1e2)](_0x2d5ea6,_0x4b7784['KHnBP'])){const _0xa47331=await _0xe58560[_0x17b770(0x1cc)],_0x53fdf5=_0x4b7784['TKEVS'](getTestRunIdentifier,_0xe58560[_0x17b770(0x1e6)],_0xe58560[_0x17b770(0x1cc)][_0x17b770(0x289)]),_0x3e907d=_0xe58560[_0x17b770(0x1e6)];logger[_0x17b770(0x1d2)]('sendLogCreatedEvent:\x20testId='+_0x53fdf5+_0x17b770(0x1fd)+util[_0x17b770(0x1d6)](_0xa47331));const _0x2bab59=_0x549fd7[_0x17b770(0x25b)]()[_0x17b770(0x224)](_0x53fdf5)[TestFrameworkConstants[_0x17b770(0x239)]];await _0x4b7784[_0x17b770(0x2b5)](sendTraceZip,_0xa47331,_0x2bab59);const _0x1d7dfb=TestInfo[_0x17b770(0x2b4)](_0x53fdf5)[_0x4b7784[_0x17b770(0x1e1)]],_0x32f367={};if(_0x1d7dfb){!_0xa47331[_0x17b770(0x1f4)]&&(_0xa47331[_0x17b770(0x1f4)]=[]);_0x32f367[_0x17b770(0x1f4)]=_0xa47331[_0x17b770(0x1f4)][_0x17b770(0x294)](_0x1d7dfb||[]);const _0x105465=TestInfo[_0x17b770(0x2b4)](_0x53fdf5);delete _0x105465[_0x4b7784[_0x17b770(0x1e1)]],TestInfo[_0x17b770(0x1c4)](_0x53fdf5,_0x105465);}const _0x22c70f=_0x5863aa||_0x4b7784[_0x17b770(0x28d)](getStepsAndLogs,_0xa47331[_0x17b770(0x22b)],_0x549fd7['getAllData']()[_0x17b770(0x224)](_0x53fdf5)[TestFrameworkConstants[_0x17b770(0x239)]],_0x4b7784['KHnBP'])['logs'],_0x59d446=_0x4b7784['WfQoh'](getScreenshots,_0x32f367,_0x549fd7['getAllData']()[_0x17b770(0x224)](_0x53fdf5)[TestFrameworkConstants[_0x17b770(0x239)]]),_0x3ee5d3=_0x4b7784[_0x17b770(0x268)](getVideos,_0xa47331,_0x549fd7[_0x17b770(0x25b)]()[_0x17b770(0x224)](_0x53fdf5)[TestFrameworkConstants[_0x17b770(0x239)]]),{_:_0x1078f5,logs:_0x3271cc}=_0x4b7784[_0x17b770(0x2b5)](getFailureData,_0xa47331[_0x17b770(0x295)],{'test_run_uuid':_0x549fd7[_0x17b770(0x25b)]()[_0x17b770(0x224)](_0x53fdf5)[TestFrameworkConstants[_0x17b770(0x239)]]}),_0x4a0031=TestInfo[_0x17b770(0x2b4)](_0x53fdf5)[TestFrameworkConstants[_0x17b770(0x225)]]||{},_0x4e1320=_0x4b7784['tpQnt'](getMediaArtifactsLogs,_0x4a0031,_0x549fd7[_0x17b770(0x25b)]()['get'](_0x53fdf5)[TestFrameworkConstants[_0x17b770(0x239)]]),_0x438abb=_0x549fd7[_0x17b770(0x25b)]()[_0x17b770(0x224)](_0x53fdf5),{[TestFrameworkConstants[_0x17b770(0x281)]]:_0x44bd47='',[TestFrameworkConstants[_0x17b770(0x271)]]:_0x114d5a=''}=_0x438abb,_0x58b306=(_0x22c70f||[])[_0x17b770(0x294)](_0x59d446||[])[_0x17b770(0x294)](_0x3271cc||[])[_0x17b770(0x294)](_0x3ee5d3||[])[_0x17b770(0x294)](_0x4e1320||[]),_0x7e8423=0x28,_0x3b375a=Math['ceil'](_0x4b7784['xHUbd'](_0x58b306[_0x17b770(0x1ca)],_0x7e8423));for(let _0x27e555=0x0;_0x4b7784[_0x17b770(0x2a5)](_0x27e555,_0x3b375a);_0x27e555++){const _0x1ab3ed=_0x4b7784[_0x17b770(0x27f)](_0x27e555,_0x7e8423),_0xd164d7=_0x4b7784[_0x17b770(0x28f)](_0x1ab3ed,_0x7e8423),_0x34b90a=_0x58b306['slice'](_0x1ab3ed,_0xd164d7),_0x4061a7={'platformIndex':global?.['browserstackPlatformIndex']??0x0,'logs':_0x34b90a,'testFrameworkName':_0x44bd47,'testFrameworkVersion':_0x114d5a,'testFrameworkState':_0x1695f9[_0x17b770(0x1c5)]()[_0x17b770(0x2c5)]('.')[0x1]};_0x4b7784[_0x17b770(0x207)](updatePayloadForTraceLogs,_0x4061a7,_0xe58560,_0x53fdf5,_0x549fd7),logger[_0x17b770(0x1d2)]('sendLogCreatedEvent\x20for\x20testId:\x20'+_0x53fdf5+_0x17b770(0x258)+_0x4b7784[_0x17b770(0x283)](_0x27e555,0x1)+'/'+_0x3b375a+_0x17b770(0x2c2)+util[_0x17b770(0x1d6)](_0x4061a7));const _0x48a21c=await GrpcClient['getInstance']()[_0x17b770(0x23f)](_0x4061a7);logger['debug'](_0x17b770(0x244)+_0x53fdf5+_0x17b770(0x258)+_0x4b7784[_0x17b770(0x283)](_0x27e555,0x1)+'/'+_0x3b375a+_0x17b770(0x280)+util['inspect'](_0x48a21c));}}else{const {logs:_0x26bbe9}=_0x4b7784['RdFFy'](getStepsAndLogs,_0xe58560[_0x17b770(0x1dc)][_0x17b770(0x22b)],_0x4a5b50,_0x4b7784[_0x17b770(0x287)]),_0x5b2a92=_0x4b7784[_0x17b770(0x2b5)](getTestRunIdentifier,_0xe58560[_0x17b770(0x1e6)],_0xe58560['result'][_0x17b770(0x289)]);logger[_0x17b770(0x1d2)](_0x17b770(0x2a9)+_0x5b2a92);const _0x2fe406=_0x549fd7[_0x17b770(0x25b)]()[_0x17b770(0x224)](_0x5b2a92),{[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x264613='',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x1d5b0b=''}=_0x2fe406,_0x9b02ce={'platformIndex':'0','logs':_0x26bbe9,'testFrameworkName':_0x264613,'testFrameworkVersion':_0x1d5b0b,'testFrameworkState':_0x1695f9[_0x17b770(0x1c5)]()[_0x17b770(0x2c5)]('.')[0x1]};_0x4b7784[_0x17b770(0x207)](updatePayloadForTraceLogs,_0x9b02ce,_0xe58560,_0x5b2a92,_0x549fd7),logger['debug'](_0x17b770(0x244)+_0x5b2a92+_0x17b770(0x2c2)+util[_0x17b770(0x1d6)](_0x9b02ce));const _0x20f30d=await GrpcClient[_0x17b770(0x24f)]()['logCreatedEvent'](_0x9b02ce);}}catch(_0x20de13){logger[_0x17b770(0x2c8)](_0x17b770(0x27e)+util[_0x17b770(0x2bf)](_0x20de13));}}['createTestFrameworkEventPayload'](_0x16115a){const _0x5701d0=a95_0x17a943,_0x26358f={'oBsjH':function(_0x442632,_0x5e7488,_0x8fc05){return _0x442632(_0x5e7488,_0x8fc05);},'RYyAe':function(_0x2cd35c,_0x11ed5d){return _0x2cd35c<_0x11ed5d;},'hIwdq':'base64'};try{const _0x59cc64=_0x16115a[_0x5701d0(0x1e6)]['id'],_0x39b585=_0x26358f[_0x5701d0(0x285)](getTestRunIdentifier,_0x16115a[_0x5701d0(0x1e6)],_0x16115a[_0x5701d0(0x1cc)][_0x5701d0(0x289)]),_0x1ec2e7=_0x16115a[_0x5701d0(0x243)],_0xee860a=_0x1ec2e7[_0x5701d0(0x26b)](),_0x4be466=_0x1ec2e7[_0x5701d0(0x25b)]()[_0x5701d0(0x224)](_0x39b585);logger['debug'](_0x5701d0(0x215)+_0x59cc64);const {[TestFrameworkConstants[_0x5701d0(0x281)]]:_0x49196d='',[TestFrameworkConstants[_0x5701d0(0x271)]]:_0x48f343='',[TestFrameworkConstants['KEY_TEST_STARTED_AT']]:_0x799fb2='',[TestFrameworkConstants['KEY_TEST_ENDED_AT']]:_0x44ac29=''}=_0x4be466,_0x1bed20=_0x1ec2e7[_0x5701d0(0x270)]()[_0x5701d0(0x1c5)]()[_0x5701d0(0x2c5)]('.')[0x1],_0x1698a7=_0x1ec2e7[_0x5701d0(0x1c9)]()['toString']()[_0x5701d0(0x2c5)]('.')[0x1],_0xc365dc=_0x26358f['RYyAe'](_0x16115a?.[_0x5701d0(0x1cc)]?.[_0x5701d0(0x1f7)]??0x0,0x0)?0x0:_0x16115a?.[_0x5701d0(0x1cc)]?.[_0x5701d0(0x1f7)]??0x0,_0x1cd772=_0x1ec2e7['getRef'](),_0x201fd4=Buffer[_0x5701d0(0x223)](JSON['stringify'](_0x4be466))['toString'](_0x26358f[_0x5701d0(0x1ee)]),_0x1d80ec={'hash':_0xee860a[_0x5701d0(0x2b7)](),'threadId':_0xee860a['getThreadId']()[_0x5701d0(0x1c5)](),'processId':_0xee860a[_0x5701d0(0x1db)]()[_0x5701d0(0x1c5)]()},_0x3308f7={};_0x3308f7[_0x5701d0(0x2be)]=_0xc365dc,_0x3308f7['testFrameworkName']=_0x49196d,_0x3308f7['testFrameworkVersion']=_0x48f343,_0x3308f7[_0x5701d0(0x231)]=_0x1bed20,_0x3308f7[_0x5701d0(0x22e)]=_0x1698a7,_0x3308f7[_0x5701d0(0x28b)]=_0x799fb2,_0x3308f7[_0x5701d0(0x2c1)]=_0x44ac29,_0x3308f7[_0x5701d0(0x2a2)]=_0x1cd772,_0x3308f7[_0x5701d0(0x1df)]=_0x201fd4,_0x3308f7[_0x5701d0(0x261)]=_0x1d80ec;const _0x1b27ec=_0x3308f7;return logger['debug'](_0x5701d0(0x264)+_0x59cc64+_0x5701d0(0x297)+_0x1bed20+_0x5701d0(0x2bc)+_0x1698a7),_0x1b27ec;}catch(_0x41d70f){return logger['error'](_0x5701d0(0x278)+util[_0x5701d0(0x2bf)](_0x41d70f)),{};}}}module[a95_0x17a943(0x1e9)]=PlaywrightTestFramework;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const a96_0x538133=a96_0x6aa7;(function(_0x1dfaad,_0x314ace){const _0x3558a2=a96_0x6aa7,_0x200f1d=_0x1dfaad();while(!![]){try{const _0x2e9939=-parseInt(_0x3558a2(0x162))/0x1+parseInt(_0x3558a2(0x15d))/0x2+-parseInt(_0x3558a2(0x13f))/0x3*(-parseInt(_0x3558a2(0x148))/0x4)+parseInt(_0x3558a2(0x149))/0x5*(-parseInt(_0x3558a2(0x15b))/0x6)+-parseInt(_0x3558a2(0x136))/0x7*(parseInt(_0x3558a2(0x145))/0x8)+-parseInt(_0x3558a2(0x15f))/0x9+-parseInt(_0x3558a2(0x14a))/0xa*(-parseInt(_0x3558a2(0x161))/0xb);if(_0x2e9939===_0x314ace)break;else _0x200f1d['push'](_0x200f1d['shift']());}catch(_0x29fa0a){_0x200f1d['push'](_0x200f1d['shift']());}}}(a96_0x14b4,0x2103d));const AutomationFramework=require(a96_0x538133(0x15a)),{createClassLogger}=require(a96_0x538133(0x13b)),AutomationFrameworkState=require(a96_0x538133(0x137)),HookState=require('../state/hookState.js'),CLIUtils=require(a96_0x538133(0x160)),TrackedInstance=require(a96_0x538133(0x13c)),AutomationFrameworkInstance=require(a96_0x538133(0x154));function a96_0x14b4(){const _0x5e3516=['getTrackedInstance','UtggR','73096lbUBRG','getAutomationFrameworkName','sFllP','64phjJof','10QCYuac','20MVKmGd','trackEvent','NONE','nJqKq','PuppeteerAutomationFramework','\x20target=','getCurrentInstanceName','PRE',',\x20state=','resolveInstance','../instances/automationFrameworkInstance.js','getAutomationFrameworkVersion','trackPuppeteerInstance:\x20saved\x20instance\x20contextId=','exports','debug','trackPuppeteerInstance:\x20created\x20instance\x20for\x20target=','./automationFramework.js','150396wwXjIF','trackPuppeteerInstance','120274gnrSDe','aHIEQ','819441GBoxMp','../cliUtils.js','1674706xxAIUy','97142YhcQwl','35sgimMU','../state/automationFrameworkState.js','logger','runHooks','info','../../../helpers/classLogger.js','../instances/trackedInstance.js','createContext','trackEvent:\x20automationFrameworkState=','10239uOMgmw','MabFf','CREATE','\x20hookState='];a96_0x14b4=function(){return _0x5e3516;};return a96_0x14b4();}function a96_0x6aa7(_0x2e6d5b,_0x203df3){const _0x14b4ea=a96_0x14b4();return a96_0x6aa7=function(_0x6aa733,_0x229777){_0x6aa733=_0x6aa733-0x136;let _0x98e3bc=_0x14b4ea[_0x6aa733];return _0x98e3bc;},a96_0x6aa7(_0x2e6d5b,_0x203df3);}class PuppeteerAutomationFramework extends AutomationFramework{[a96_0x538133(0x138)]=createClassLogger(a96_0x538133(0x14e));constructor(_0x246dab,_0x3f566f){super(_0x246dab,_0x3f566f);}async[a96_0x538133(0x14b)](_0xc8542a,_0x47e81a,_0x5b0604={}){const _0x472669=a96_0x538133,_0x387be4={};_0x387be4[_0x472669(0x15e)]=function(_0x1a96c6,_0x557015){return _0x1a96c6===_0x557015;},_0x387be4[_0x472669(0x140)]='trackEvent:\x20No\x20instance\x20found,\x20skipping\x20tracking';const _0x138ea3=_0x387be4;this[_0x472669(0x138)][_0x472669(0x158)](_0x472669(0x13e)+_0xc8542a+_0x472669(0x142)+_0x47e81a),await super[_0x472669(0x14b)](_0xc8542a,_0x47e81a,_0x5b0604);const _0x26ae0d=this[_0x472669(0x153)](_0xc8542a,_0x47e81a,_0x5b0604);if(_0x138ea3[_0x472669(0x15e)](_0x26ae0d,null)){this['logger'][_0x472669(0x158)](_0x138ea3[_0x472669(0x140)]);return;}_0x5b0604['instance']=_0x26ae0d,await this[_0x472669(0x139)](_0x26ae0d,_0xc8542a,_0x47e81a,_0x5b0604);}[a96_0x538133(0x153)](_0x4453fb,_0x5a8d68,_0x328405={}){const _0x56c9b8=a96_0x538133,_0x49a199={};_0x49a199[_0x56c9b8(0x14d)]=function(_0x37415e,_0x189e1f){return _0x37415e===_0x189e1f;},_0x49a199['UtggR']=function(_0x5e1d79,_0x5df1e5){return _0x5e1d79===_0x5df1e5;};const _0x138a03=_0x49a199;let _0x2038ed=null;return(_0x138a03[_0x56c9b8(0x14d)](_0x4453fb,AutomationFrameworkState[_0x56c9b8(0x141)])&&_0x138a03[_0x56c9b8(0x14d)](_0x5a8d68,HookState[_0x56c9b8(0x151)])||_0x138a03[_0x56c9b8(0x144)](_0x4453fb,AutomationFrameworkState[_0x56c9b8(0x14c)]))&&this[_0x56c9b8(0x15c)](_0x4453fb,_0x328405),_0x2038ed=AutomationFramework[_0x56c9b8(0x143)](),_0x2038ed;}[a96_0x538133(0x15c)](_0x544494,_0x253d9b){const _0xb3c4da=a96_0x538133,_0x560a47={};_0x560a47[_0xb3c4da(0x147)]='trackPuppeteerInstance:\x20instance\x20already\x20exists';const _0x28a7a3=_0x560a47;if(AutomationFramework[_0xb3c4da(0x143)]()){this['logger'][_0xb3c4da(0x13a)](_0x28a7a3[_0xb3c4da(0x147)]);return;}const _0x4e2fb0=CLIUtils[_0xb3c4da(0x150)](),_0x1aa1cd=TrackedInstance[_0xb3c4da(0x13d)](_0x4e2fb0);let _0x6388ee=null;this[_0xb3c4da(0x138)][_0xb3c4da(0x13a)](_0xb3c4da(0x159)+_0x4e2fb0+_0xb3c4da(0x152)+_0x544494),_0x6388ee=new AutomationFrameworkInstance(_0x1aa1cd,this[_0xb3c4da(0x146)](),this[_0xb3c4da(0x155)](),_0x544494),AutomationFramework['setTrackedInstance'](_0x1aa1cd,_0x6388ee),this['logger'][_0xb3c4da(0x13a)](_0xb3c4da(0x156)+_0x1aa1cd['getId']()+_0xb3c4da(0x14f)+_0x4e2fb0);}}module[a96_0x538133(0x157)]=PuppeteerAutomationFramework;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a97_0x2adcd0=a97_0x421d;(function(_0x58683c,_0x1c20bc){const _0x41ee18=a97_0x421d,_0x42f057=_0x58683c();while(!![]){try{const _0xfe03dd=-parseInt(_0x41ee18(0x119))/0x1+parseInt(_0x41ee18(0x123))/0x2+parseInt(_0x41ee18(0x109))/0x3+parseInt(_0x41ee18(0x114))/0x4+parseInt(_0x41ee18(0x125))/0x5+-parseInt(_0x41ee18(0x11f))/0x6*(-parseInt(_0x41ee18(0x107))/0x7)+-parseInt(_0x41ee18(0x121))/0x8*(parseInt(_0x41ee18(0x112))/0x9);if(_0xfe03dd===_0x1c20bc)break;else _0x42f057['push'](_0x42f057['shift']());}catch(_0x287861){_0x42f057['push'](_0x42f057['shift']());}}}(a97_0x2508,0x92ea8));const CLIUtils=require(a97_0x2adcd0(0x10a)),eventDispatcher=require('../eventDispatcher'),TestFrameworkInstance=require(a97_0x2adcd0(0x111)),TrackedContext=require(a97_0x2adcd0(0x105)),TestFrameworkState=require(a97_0x2adcd0(0x120)),HookState=require('../state/hookState'),{createClassLogger}=require(a97_0x2adcd0(0x11a)),TrackedInstance=require(a97_0x2adcd0(0x11c)),logger=createClassLogger(a97_0x2adcd0(0xfb));function a97_0x2508(){const _0x21677f=['runHooks','testFrameworkVersions','get','../instances/trackedContext','set','7NfUXIf','createContext','508005yyhPfO','../cliUtils','has','getTestFrameworksVersions','__bstack_test_framework_instances__','binSessionId','trackEvent','getAllData','../instances/testFrameworkInstance','63cssKHl','getHookRegistryKey','896572HuRLJt',';\x20hookState=','getTrackedInstance','exports','getId','727939pHbzdh','../../../helpers/classLogger','setTrackedInstance','../instances/trackedInstance','getState','setCurrentHookState','4830078ZxYSZz','../state/testFrameworkState','796816LKoJIg','getCurrentInstanceName','676952qsiVZV','hasState','2449770BTHFZz','getInstances','TestFramework','getTestFrameworks','setState','registerObserver','instances','setCurrentTestState','testFrameworks'];a97_0x2508=function(){return _0x21677f;};return a97_0x2508();}!global[a97_0x2adcd0(0x10d)]&&(global[a97_0x2adcd0(0x10d)]=new Map());function a97_0x421d(_0x562b8c,_0x1c9c41){const _0x250832=a97_0x2508();return a97_0x421d=function(_0x421d86,_0x20e900){_0x421d86=_0x421d86-0xfa;let _0x492125=_0x250832[_0x421d86];return _0x492125;},a97_0x421d(_0x562b8c,_0x1c9c41);}class TestFramework{static get[a97_0x2adcd0(0xff)](){const _0xe07b77=a97_0x2adcd0;return global[_0xe07b77(0x10d)];}[a97_0x2adcd0(0x101)]=[];['testFrameworkVersions']={};[a97_0x2adcd0(0x10e)]=null;constructor(_0x34e4ad,_0xa22942,_0x28c648){const _0xef118b=a97_0x2adcd0;this[_0xef118b(0x101)]=_0x34e4ad,this[_0xef118b(0x103)]=_0xa22942,this[_0xef118b(0x10e)]=_0x28c648;}[a97_0x2adcd0(0xfa)](){const _0xdeb456=a97_0x2adcd0;return TestFramework[_0xdeb456(0xff)];}['setInstance'](_0x5d01f6,_0x2a9cf0){const _0x30c30c=a97_0x2adcd0;TestFramework[_0x30c30c(0xff)]['set'](_0x5d01f6[_0x30c30c(0x118)],_0x2a9cf0);}static[a97_0x2adcd0(0x116)](){const _0x1d19a4=a97_0x2adcd0,_0x52d00a=TrackedInstance[_0x1d19a4(0x108)](CLIUtils[_0x1d19a4(0x122)]());return TestFramework[_0x1d19a4(0xff)]['get'](_0x52d00a[_0x1d19a4(0x118)]());}static[a97_0x2adcd0(0x11b)](_0x9279c6,_0x380912){const _0x3ddca1=a97_0x2adcd0;TestFramework[_0x3ddca1(0xff)]['set'](_0x9279c6[_0x3ddca1(0x118)](),_0x380912);}[a97_0x2adcd0(0x10c)](){const _0x1bcb36=a97_0x2adcd0;return this[_0x1bcb36(0x103)];}[a97_0x2adcd0(0xfc)](){const _0x1b4c9a=a97_0x2adcd0;return this[_0x1b4c9a(0x101)];}[a97_0x2adcd0(0x10f)](_0x53b829,_0x22469d,_0x23a13f={}){const _0x50affa=a97_0x2adcd0;logger['debug']('trackEvent:\x20testFrameworkState='+_0x53b829+_0x50affa(0x115)+_0x22469d);}async[a97_0x2adcd0(0x102)](_0xfac1b1,_0x5e630e,_0x1e6bd1,_0x4b9dec={}){const _0xbbc3d4=a97_0x2adcd0,_0x5e1a2a=CLIUtils[_0xbbc3d4(0x113)](_0x5e630e,_0x1e6bd1);_0xfac1b1[_0xbbc3d4(0x100)](_0x5e630e),_0xfac1b1[_0xbbc3d4(0x11e)](_0x1e6bd1),await eventDispatcher['notifyObserver'](_0x5e1a2a,_0x4b9dec);}static[a97_0x2adcd0(0xfe)](_0x5417b3,_0x5b9256,_0x2c7921){const _0x425e3b=a97_0x2adcd0;eventDispatcher[_0x425e3b(0xfe)](CLIUtils[_0x425e3b(0x113)](_0x5417b3,_0x5b9256),_0x2c7921);}static[a97_0x2adcd0(0x11d)](_0x1f420d,_0xa981ff){const _0x3f1b99=a97_0x2adcd0;return _0x1f420d['getAllData']()[_0x3f1b99(0x104)](_0xa981ff);}static[a97_0x2adcd0(0xfd)](_0x5b4f4f,_0x348455,_0x1b380e){const _0x22406d=a97_0x2adcd0;_0x5b4f4f[_0x22406d(0x110)]()[_0x22406d(0x106)](_0x348455,_0x1b380e);}static[a97_0x2adcd0(0x124)](_0x454d8f,_0x185cb4){const _0x1689bf=a97_0x2adcd0;return _0x454d8f['getAllData']()[_0x1689bf(0x10b)](_0x185cb4);}}module[a97_0x2adcd0(0x117)]=TestFramework;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const a98_0xb32340=a98_0x5ddb;function a98_0x14ee(){const _0x1e318e=['warn','hunAv','148sxYvHW','exports','TestCafeAutomationFramework','70557RkXikT','resolveInstance','platformIndex','debug','NONE','getAutomationFrameworkVersion','CREATE','fziGP','10589464oApbme','slice','startsWith','delete','\x20→\x20','CkioS','1441984UaqvUr','wIuXA','../state/automationFrameworkState.js','createContext','4134150FhWfgk','yjUfV','99970gWdxJO','../../../helpers/classLogger.js','kueDc','set','trackEvent','resolveInstance:\x20no\x20userAgent\x20in\x20args;\x20falling\x20back\x20to\x20default\x20tracked\x20instance','instances','sFMuL','getInstanceByUserAgent','getAutomationFrameworkName','EGrMC','testcafe:','../instances/automationFrameworkInstance.js','iterAllInstances','\x20hookState=','instance','trackEvent:\x20no\x20instance\x20for\x20state=','userAgent','runHooks','getTrackedInstance','8264658StEznP','isInteger','info','7qsexwe','get','9biAViP','2343sbzxMq','removeInstance','entries','519025siJrDT','lastIndexOf'];a98_0x14ee=function(){return _0x1e318e;};return a98_0x14ee();}(function(_0x9cbcd8,_0x1b8785){const _0x28f55c=a98_0x5ddb,_0x80ec01=_0x9cbcd8();while(!![]){try{const _0x207b1d=-parseInt(_0x28f55c(0x155))/0x1+parseInt(_0x28f55c(0x16a))/0x2+-parseInt(_0x28f55c(0x15c))/0x3*(-parseInt(_0x28f55c(0x159))/0x4)+-parseInt(_0x28f55c(0x16e))/0x5+-parseInt(_0x28f55c(0x184))/0x6*(-parseInt(_0x28f55c(0x14f))/0x7)+parseInt(_0x28f55c(0x164))/0x8*(parseInt(_0x28f55c(0x151))/0x9)+-parseInt(_0x28f55c(0x170))/0xa*(parseInt(_0x28f55c(0x152))/0xb);if(_0x207b1d===_0x1b8785)break;else _0x80ec01['push'](_0x80ec01['shift']());}catch(_0x506691){_0x80ec01['push'](_0x80ec01['shift']());}}}(a98_0x14ee,0xc77d1));function a98_0x5ddb(_0x4294d2,_0x409617){const _0x14eebe=a98_0x14ee();return a98_0x5ddb=function(_0x5ddb07,_0x4cb535){_0x5ddb07=_0x5ddb07-0x14e;let _0x451420=_0x14eebe[_0x5ddb07];return _0x451420;},a98_0x5ddb(_0x4294d2,_0x409617);}const AutomationFramework=require('./automationFramework.js'),AutomationFrameworkInstance=require(a98_0xb32340(0x17c)),AutomationFrameworkState=require(a98_0xb32340(0x16c)),TrackedInstance=require('../instances/trackedInstance.js'),{createClassLogger}=require(a98_0xb32340(0x171)),logger=createClassLogger(a98_0xb32340(0x15b));class TestCafeAutomationFramework extends AutomationFramework{constructor(_0x44260d,_0x5e061f){super(_0x44260d,_0x5e061f);}async[a98_0xb32340(0x174)](_0x38d318,_0x23095e,_0x42fc0c={}){const _0x33fcc0=a98_0xb32340;await super[_0x33fcc0(0x174)](_0x38d318,_0x23095e,_0x42fc0c);const _0x25ac9a=this[_0x33fcc0(0x15d)](_0x38d318,_0x23095e,_0x42fc0c);if(!_0x25ac9a){logger[_0x33fcc0(0x15f)](_0x33fcc0(0x180)+_0x38d318+_0x33fcc0(0x17e)+_0x23095e);return;}_0x42fc0c[_0x33fcc0(0x17f)]=_0x25ac9a,await this[_0x33fcc0(0x182)](_0x25ac9a,_0x38d318,_0x23095e,_0x42fc0c);}['resolveInstance'](_0x11ed45,_0x188913,_0x31c1df={}){const _0xfb33cf=a98_0xb32340,_0x3a6b12={};_0x3a6b12[_0xfb33cf(0x169)]=_0xfb33cf(0x175),_0x3a6b12[_0xfb33cf(0x158)]=function(_0x565303,_0x126d3){return _0x565303===_0x126d3;},_0x3a6b12['EGrMC']=function(_0x2efea7,_0x3cabb5){return _0x2efea7===_0x3cabb5;},_0x3a6b12[_0xfb33cf(0x163)]=function(_0x1742f8,_0xcd59a3){return _0x1742f8||_0xcd59a3;};const _0x268b1c=_0x3a6b12,_0x1673c5=_0x31c1df[_0xfb33cf(0x181)]||null;if(!_0x1673c5)return logger[_0xfb33cf(0x157)](_0x268b1c[_0xfb33cf(0x169)]),AutomationFramework[_0xfb33cf(0x183)]();const _0x1bfe46=Number[_0xfb33cf(0x185)](_0x31c1df[_0xfb33cf(0x15e)])?_0x31c1df[_0xfb33cf(0x15e)]:0x0,_0xa7d9c7=_0xfb33cf(0x17b)+_0x1673c5+'#'+_0x1bfe46;let _0x815ce9=AutomationFramework['instances'][_0xfb33cf(0x150)](_0xa7d9c7);if(!_0x815ce9&&(_0x268b1c[_0xfb33cf(0x158)](_0x11ed45,AutomationFrameworkState[_0xfb33cf(0x162)])||_0x268b1c[_0xfb33cf(0x17a)](_0x11ed45,AutomationFrameworkState[_0xfb33cf(0x160)]))){const _0x2787fd=TrackedInstance[_0xfb33cf(0x16d)](_0xa7d9c7);_0x815ce9=new AutomationFrameworkInstance(_0x2787fd,this[_0xfb33cf(0x179)](),this[_0xfb33cf(0x161)](),_0x11ed45),AutomationFramework[_0xfb33cf(0x176)][_0xfb33cf(0x173)](_0xa7d9c7,_0x815ce9),logger[_0xfb33cf(0x14e)]('resolveInstance:\x20created\x20instance\x20for\x20userAgent=\x22'+_0x1673c5+'\x22\x20platformIndex='+_0x1bfe46+_0xfb33cf(0x168)+_0xa7d9c7);}return _0x268b1c[_0xfb33cf(0x163)](_0x815ce9,null);}static[a98_0xb32340(0x153)](_0x4a9e73,_0x356873=0x0){const _0x2dd3b0=a98_0xb32340,_0x33c444=_0x2dd3b0(0x17b)+_0x4a9e73+'#'+_0x356873;return AutomationFramework[_0x2dd3b0(0x176)][_0x2dd3b0(0x167)](_0x33c444);}static[a98_0xb32340(0x178)](_0x5311da,_0x3b0a22=0x0){const _0xbf6dac=a98_0xb32340;return AutomationFramework['instances'][_0xbf6dac(0x150)](_0xbf6dac(0x17b)+_0x5311da+'#'+_0x3b0a22)||null;}static*[a98_0xb32340(0x17d)](){const _0x97ed98=a98_0xb32340,_0x596332={};_0x596332[_0x97ed98(0x16b)]=function(_0xf8e26,_0x2b83c4){return _0xf8e26===_0x2b83c4;},_0x596332[_0x97ed98(0x16f)]='string',_0x596332[_0x97ed98(0x177)]=_0x97ed98(0x17b),_0x596332[_0x97ed98(0x172)]=function(_0x278e4e,_0x1263b1){return _0x278e4e+_0x1263b1;};const _0x2217ef=_0x596332;for(const [_0x467025,_0x5743fd]of AutomationFramework[_0x97ed98(0x176)][_0x97ed98(0x154)]()){if(_0x2217ef[_0x97ed98(0x16b)](typeof _0x467025,_0x2217ef[_0x97ed98(0x16f)])&&_0x467025[_0x97ed98(0x166)](_0x2217ef['sFMuL'])){const _0x40b2c0=_0x467025[_0x97ed98(0x165)](_0x2217ef[_0x97ed98(0x177)]['length']),_0x44e997=_0x40b2c0[_0x97ed98(0x156)]('#');if(_0x2217ef['wIuXA'](_0x44e997,-0x1)){const _0x4e51c8={};_0x4e51c8[_0x97ed98(0x181)]=_0x40b2c0,_0x4e51c8[_0x97ed98(0x15e)]=0x0,_0x4e51c8[_0x97ed98(0x17f)]=_0x5743fd,yield _0x4e51c8;}else{const _0x2e44bc=_0x40b2c0[_0x97ed98(0x165)](0x0,_0x44e997),_0x545331=Number['parseInt'](_0x40b2c0[_0x97ed98(0x165)](_0x2217ef[_0x97ed98(0x172)](_0x44e997,0x1)),0xa)||0x0,_0x3442d0={};_0x3442d0['userAgent']=_0x2e44bc,_0x3442d0['platformIndex']=_0x545331,_0x3442d0[_0x97ed98(0x17f)]=_0x5743fd,yield _0x3442d0;}}}}}module[a98_0xb32340(0x15a)]=TestCafeAutomationFramework;
|