browserstack-node-sdk 1.63.2 → 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_0x1170d5=a95_0x2aaf;function a95_0x1b0a(){const _0x1d28eb=['KHOkD','getTestFrameworks','started_at','KfCPZ','AJFSE','KEY_TEST_RERUN_NAME','eqLDJ','info','KEY_HOOK_FAILURE_REASON','../customTagManager','oExGi','oXCRr','LVsQa','2298veBbbi','passed','vQCyN','DEFAULT_HOOK_RESULT','34460811LUfcRN','GLyfe','tZllV','testUId','KEY_TEST_LOCATION','step','RCgaW','hFECZ','getRef','\x20target=','wqvEM','RttsO','getAllData','hook',',\x20testFrameworkState=','KEY_TEST_ATTACHMENTS','slice','text','1689386bIjoCZ','QhrMu','expectedStatus','length','fixme','dMUvT','addMultipleEntries','trackHookEvent','ubTGF','\x20hookState=','startedAt','MvlNX','failure_type','INIT_TEST','trackPlaywrightInstance:\x20created\x20instance\x20for\x20target=','10bcGcyd','trackStepEvent','THvPU','logs','trackStepEvent:\x20testId=','KEY_TEST_FAILURE_TYPE','KEY_TEST_STARTED_AT','eVlcc','KEY_TEST_FRAMEWORK_VERSION','KEY_TEST_RESULT','filePath','TEST','fWhZp','filter','wuoHh','setTestDetails','QyZSp','inspect','FHpnP','results','getTestUUID','skip','getTime','IZHfW','createTestFrameworkEventPayload\x20testId:\x20','YryWt','sFXvJ','platformIndex','some','getTestDetails','trackEvent','steps','KEY_TEST_NAME','6745cORIdp','description','POST','knbEo','../../../helpers/test-observability/utils','../../../../src/helpers/helper','Error\x20in\x20createTestFrameworkEventPayload:\x20','getTestFrameworksVersions','KYiHr','resolveInstance','DEFAULT_TEST_RESULT','CALeQ','Error\x20processing\x20direct\x20trace\x20file\x20','../state/hookState.js','\x20steps\x20for\x20testId=','KEY_TEST_ENDED_AT','qTvbo','GgXoh','FFMPY','KEY_EVENT_ENDED_AT','matchHookRegex','TEST_SCREENSHOT','GamgE','browserstackPlatformIndex','4fTHPFM','16168WZBiyp','KEY_TEST_UUID','uJyLy','\x20testState:\x20','\x20\x20and\x20args\x20=\x20','getCurrentTestState','testFrameworkState','Oszra','has','QlXMy','GHlOW','keyword','VJVSE','Hook\x20List\x20in\x20Post\x20','KEY_CUSTOM_TAGS','\x20and\x20args\x20=\x20','testFrameworkVersion','title','No\x20reason\x20provided','./testFramework','trackPlaywrightInstance','../cliUtils.js','get','ATezR','oJChI','set','util','eventJson','getContext','testFrameworkName','Error\x20processing\x20trace\x20file\x20','SjWAt','ooBzA','reAmB','getTrackedInstance','createTestFrameworkEventPayload','../../../helpers/helper.js','../../../helpers/classLogger.js','trackEvent:\x20Exception\x20in\x20event\x20tracking,\x20testFrameworkState=%s\x20hookState=%s\x20argsLength=%s,\x20exception=%s','message','slow','error','trackEvent\x20loading\x20testData\x20for\x20testId:\x20','KEY_TEST_SCOPE','TEST_ATTACHMENT','UwNEj','base64','parseCommaSeparatedValues','logCreatedEvent','\x20testHookState=','path','uuid','stack','KEY_TEST_FAILURE_REASON','pkOtl','../instances/testFrameworkInstance.js','jajqZ','parent_id','PRE','PwkcW','debug','\x20payload=','split','xGCWM','../../utils/constants','../state/testFrameworkState.js','XZLKq','../grpcClient','FezpT','KEY_TEST_FILE_PATH','failed','TlHeN','\x20response=','getCurrentHookState','KEY_TEST_META','basename','AMsYb','parsePlaywrightTest','trim','startTime','sPSgi','2975493XpopPX','timedOut','trackEvent\x20loading\x20testResults\x20for\x20testId:\x20','statSync','toISOString','Hook\x20Started\x20in\x20PRE\x20key\x20=\x20','Error\x20in\x20sendLogCreatedEvent:\x20','KEY_TEST_RESULT_AT','sendLogCreatedEvent','createContext','retry','forEach','\x20from\x20TestDetails:\x20','KEY_TEST_FRAMEWORK_NAME','ceil','format','trackPlaywrightInstance:\x20saved\x20instance\x20contextId=','result','duration','TEST_STEP','1143297BCHLoe','KEY_LOGS','KEY_HOOK_RESULT','BAETq','sendLogCreatedEvent\x20for\x20testId:\x20','../../playwright/reporter/pwUtils','toString','push','NONE','test','KEY_HOOK_LOGS','\x20batch\x20','KEY_HOOK_LAST_STARTED','stringify','hookState','vzKCg','getInstance','1101945UPuXMC','WTnKR','tkMoj','getProcessId','KEY_TEST_ID','KEY_HOOKS_FINISHED','endedAt','Bgqxy','ZZDyB','KEY_HOOK_ID','KEY_TEST_SCOPES','status','errors','SXBzp','sendLogCreatedEvent:\x20testId=','MmJrH','cXDMI','vOYSi','3745GBqSKz','lkTRb','attachments','\x20&\x20hook\x20=\x20','size','bgaLj','getId','instance','\x20step=\x22','KEY_HOOKS_STARTED','KEY_HOOK_FAILURE_TYPE','twmOH','parallelIndex','JpSsm','\x20instanceId=','LbcOg','KEY_TEST_TAGS','trackEvent:\x20found\x20instance,\x20testFrameworkState=','concat','file_name','XvvXA','./constants/testFrameworkConstants.js','parsePlaywrightTestResult','FDohk'];a95_0x1b0a=function(){return _0x1d28eb;};return a95_0x1b0a();}(function(_0x36aef4,_0x193159){const _0x19048f=a95_0x2aaf,_0x5cfd81=_0x36aef4();while(!![]){try{const _0x27dfb9=parseInt(_0x19048f(0x1de))/0x1+-parseInt(_0x19048f(0x11f))/0x2+-parseInt(_0x19048f(0x1b9))/0x3*(parseInt(_0x19048f(0x167))/0x4)+parseInt(_0x19048f(0x14f))/0x5*(-parseInt(_0x19048f(0x109))/0x6)+parseInt(_0x19048f(0x1f0))/0x7*(-parseInt(_0x19048f(0x168))/0x8)+parseInt(_0x19048f(0x1cd))/0x9*(parseInt(_0x19048f(0x12e))/0xa)+parseInt(_0x19048f(0x10d))/0xb;if(_0x27dfb9===_0x193159)break;else _0x5cfd81['push'](_0x5cfd81['shift']());}catch(_0x42c662){_0x5cfd81['push'](_0x5cfd81['shift']());}}}(a95_0x1b0a,0xe2679));const TestFramework=require(a95_0x1170d5(0x17b)),TestFrameworkState=require(a95_0x1170d5(0x1a9)),HookState=require(a95_0x1170d5(0x15c)),{createClassLogger}=require(a95_0x1170d5(0x18d)),TestFrameworkInstance=require(a95_0x1170d5(0x19f)),CLIUtils=require(a95_0x1170d5(0x17d)),TrackedInstance=require('../instances/trackedInstance.js'),TestFrameworkConstants=require(a95_0x1170d5(0x205)),logger=createClassLogger('PlaywrightTestFramework'),{v4:uuidv4}=require(a95_0x1170d5(0x19b)),util=require(a95_0x1170d5(0x182)),{getPlaywrightSessionName,getPlaywrightTestFilePath,getPlaywrightTestId,getPlaywrightTestTitle,getPlaywrightTestTags,getPlaywrightTestCode,getPlaywrightTestScope,getPlaywrightTestScopes,getStepsAndLogs,getScreenshots,getVideos,getPlaywrightCustomRerunParam,getMediaArtifactsLogs,getManualUploadLogs,updatePayloadForTraceLogs}=require(a95_0x1170d5(0x18c)),TestInfo=require('../TestInfo.js'),GrpcClient=require(a95_0x1170d5(0x1ab)),{removeAnsiColors,getFailureType,failureData}=require(a95_0x1170d5(0x153)),{getFailureData,getTestTags,getTestRunIdentifier}=require(a95_0x1170d5(0x1d2)),{findNestedKey,sendTraceZip,validateFilePath}=require(a95_0x1170d5(0x1d2)),path=require(a95_0x1170d5(0x19a)),fs=require('fs'),helper=require(a95_0x1170d5(0x154)),{PLAYWRIGHT_TRACE_LOGS}=require(a95_0x1170d5(0x1a8)),PLAYWRIGHT_BUILTIN_ANNOTATIONS=new Set([a95_0x1170d5(0x143),a95_0x1170d5(0x123),a95_0x1170d5(0x190),'fail']);function a95_0x2aaf(_0x183ace,_0xe6a959){const _0x1b0a9f=a95_0x1b0a();return a95_0x2aaf=function(_0x2aaf5f,_0x259234){_0x2aaf5f=_0x2aaf5f-0x107;let _0x3da4e6=_0x1b0a9f[_0x2aaf5f];return _0x3da4e6;},a95_0x2aaf(_0x183ace,_0xe6a959);}class PlaywrightTestFramework extends TestFramework{constructor(_0x2717af,_0x161187,_0x380ccf){super(_0x2717af,_0x161187,_0x380ccf);}async[a95_0x1170d5(0x14c)](_0xe4b829,_0x3a4c78,_0x379a96={}){const _0x290e85=a95_0x1170d5,_0x583c57={'AMsYb':function(_0x5976ec,_0x4609c3){return _0x5976ec===_0x4609c3;},'PwkcW':function(_0x342e91,_0x592b01){return _0x342e91===_0x592b01;},'wqvEM':function(_0x1ad2f2,_0x1f6c95){return _0x1ad2f2===_0x1f6c95;},'xGCWM':function(_0x3f98c9,_0x4622cb,_0x2c2c58){return _0x3f98c9(_0x4622cb,_0x2c2c58);},'GHlOW':function(_0x3160c7,_0x5f2660,_0xa93487,_0x2ca7cc){return _0x3160c7(_0x5f2660,_0xa93487,_0x2ca7cc);},'RttsO':_0x290e85(0x1d6),'KHOkD':_0x290e85(0x18e)};super[_0x290e85(0x14c)](_0xe4b829,_0x3a4c78,_0x379a96);if(_0x583c57[_0x290e85(0x1b4)](_0xe4b829,TestFrameworkState[_0x290e85(0x164)])){const _0x55eef3=TestInfo['getTestIdentifierFromTestInfo'](_0x379a96[_0x290e85(0x1d6)],_0x379a96[_0x290e85(0x1d6)]['retry']);TestInfo[_0x290e85(0x13d)](_0x55eef3,_0x379a96['result'],!![]);}if(_0x583c57[_0x290e85(0x1a3)](_0xe4b829,TestFrameworkState[_0x290e85(0x1cc)])){this[_0x290e85(0x12f)](_0xe4b829,_0x3a4c78,_0x379a96);return;}const _0x1f4db4=this[_0x290e85(0x158)](_0xe4b829,_0x3a4c78,_0x379a96);if(!_0x1f4db4)return;logger[_0x290e85(0x1a4)](_0x290e85(0x201)+_0xe4b829+_0x290e85(0x128)+_0x3a4c78+_0x290e85(0x1fe)+_0x1f4db4[_0x290e85(0x115)]());try{if(_0x583c57[_0x290e85(0x1b4)](_0x3a4c78,HookState[_0x290e85(0x1a2)])&&_0x583c57[_0x290e85(0x117)](_0xe4b829,TestFrameworkState[_0x290e85(0x139)])){const _0x4ff79d=_0x379a96[_0x290e85(0x1d6)];logger[_0x290e85(0x1a4)](_0x290e85(0x192)+_0x4ff79d['id']+'}');const _0x4ff552=TestInfo['getTestUUID'](_0x583c57[_0x290e85(0x1a7)](getTestRunIdentifier,_0x4ff79d,_0x379a96[_0x290e85(0x1ca)][_0x290e85(0x1c3)]));_0x1f4db4[_0x290e85(0x125)](this[_0x290e85(0x1b5)](_0x4ff552,_0x4ff79d,_0x379a96['result'])),logger[_0x290e85(0x1a4)]('trackEvent:\x20loaded\x20testData\x20for\x20testId:\x20'+_0x4ff79d['id']+_0x290e85(0x11b)+_0xe4b829+_0x290e85(0x199)+_0x3a4c78+'\x20instance='+_0x1f4db4[_0x290e85(0x115)]());}if(_0x583c57[_0x290e85(0x1b4)](_0x3a4c78,HookState['POST'])&&_0x583c57[_0x290e85(0x1a3)](_0xe4b829,TestFrameworkState[_0x290e85(0x139)])){const _0x3c0536=_0x379a96[_0x290e85(0x1d6)],_0x25b142=_0x379a96[_0x290e85(0x1ca)];logger[_0x290e85(0x1a4)](_0x290e85(0x1bb)+_0x3c0536['id']);const _0x5ed40b=_0x583c57[_0x290e85(0x1a7)](getTestRunIdentifier,_0x3c0536,_0x25b142[_0x290e85(0x1c3)]),_0x5a6970=_0x1f4db4['getAllData']()[_0x290e85(0x17e)](_0x5ed40b)[TestFrameworkConstants[_0x290e85(0x169)]],{steps:_0x409775,logs:_0x5b6cf9}=_0x583c57[_0x290e85(0x172)](getStepsAndLogs,_0x25b142[_0x290e85(0x14d)],_0x5a6970,_0x583c57[_0x290e85(0x118)]);_0x1f4db4[_0x290e85(0x125)](this[_0x290e85(0x206)](_0x3c0536['id'],_0x25b142,_0x3c0536,_0x409775)),await this[_0x290e85(0x1c1)](_0x1f4db4,_0xe4b829,_0x3a4c78,_0x583c57['RttsO'],_0x379a96,_0x5b6cf9);}if(CLIUtils[_0x290e85(0x163)](_0xe4b829[_0x290e85(0x1d3)]()['split']('.')[0x1])){const _0x2fa9e0=await this[_0x290e85(0x126)](_0x1f4db4,_0xe4b829,_0x3a4c78,_0x379a96);_0x1f4db4[_0x290e85(0x125)](_0x2fa9e0);}}catch(_0x43f095){logger['error'](util[_0x290e85(0x1c8)](_0x583c57[_0x290e85(0x208)],_0xe4b829,_0x3a4c78,_0x379a96['length'],_0x43f095));}_0x379a96[_0x290e85(0x1f7)]=_0x1f4db4,await this['runHooks'](_0x1f4db4,_0xe4b829,_0x3a4c78,_0x379a96);}[a95_0x1170d5(0x158)](_0x45288b,_0x5a22f9,_0x583b04={}){const _0x2806c2=a95_0x1170d5,_0x169b82={};_0x169b82[_0x2806c2(0x207)]=function(_0x4d99aa,_0x5370d6){return _0x4d99aa===_0x5370d6;},_0x169b82['oExGi']=function(_0x520720,_0x40474b){return _0x520720===_0x40474b;};const _0x430c0c=_0x169b82;let _0x3c84dd=null;return(_0x430c0c[_0x2806c2(0x207)](_0x45288b,TestFrameworkState[_0x2806c2(0x12c)])||_0x430c0c[_0x2806c2(0x212)](_0x45288b,TestFrameworkState['NONE']))&&this[_0x2806c2(0x17c)](_0x45288b,_0x583b04),_0x3c84dd=TestFramework[_0x2806c2(0x18a)](),_0x3c84dd;}['trackPlaywrightInstance'](_0x90bf34,_0xd948fd){const _0x1cf87c=a95_0x1170d5,_0x45fe33=CLIUtils['getCurrentInstanceName'](),_0x4a2d35=TrackedInstance[_0x1cf87c(0x1c2)](_0x45fe33);let _0x3f8564=null;logger['info'](_0x1cf87c(0x12d)+_0x45fe33+',\x20state='+_0x90bf34),_0x3f8564=new TestFrameworkInstance(_0x4a2d35,this[_0x1cf87c(0x209)](),this[_0x1cf87c(0x156)](),_0x90bf34,HookState[_0x1cf87c(0x1d5)]),TestFramework['setTrackedInstance'](_0x4a2d35,_0x3f8564),logger[_0x1cf87c(0x20f)](_0x1cf87c(0x1c9)+_0x4a2d35[_0x1cf87c(0x1f6)]()+_0x1cf87c(0x116)+_0x45fe33);}['parsePlaywrightTest'](_0x538db8,_0x8a8422,_0x3e5372){const _0x118575=a95_0x1170d5,_0x40a8e4={'ubTGF':function(_0x448478,_0x10df77){return _0x448478(_0x10df77);},'eVlcc':function(_0x29b270,_0x1abe7f){return _0x29b270(_0x1abe7f);},'hFECZ':function(_0x1d4893,_0x2e2f11){return _0x1d4893(_0x2e2f11);},'sFXvJ':function(_0xb4ff3c,_0x21a4cb){return _0xb4ff3c(_0x21a4cb);},'tZllV':function(_0x35d14c,_0x43c34e){return _0x35d14c(_0x43c34e);},'UrIxS':function(_0x4234af,_0x108e08,_0x21d242){return _0x4234af(_0x108e08,_0x21d242);}},_0x4f446b=_0x40a8e4[_0x118575(0x127)](getPlaywrightTestId,_0x8a8422),_0x2203a2=_0x40a8e4[_0x118575(0x127)](getPlaywrightTestTitle,_0x8a8422),_0x4e65ea=_0x40a8e4[_0x118575(0x135)](getTestTags,_0x8a8422),_0x15c781=_0x40a8e4[_0x118575(0x114)](getPlaywrightTestCode,_0x8a8422),_0x57bd25=_0x40a8e4[_0x118575(0x135)](getPlaywrightTestFilePath,_0x8a8422),_0x14da6f=_0x57bd25,_0x53fac7=_0x40a8e4[_0x118575(0x127)](getPlaywrightTestScope,_0x8a8422),_0x1e3d18=_0x40a8e4[_0x118575(0x148)](getPlaywrightTestScopes,_0x8a8422),_0x8d8e51=_0x40a8e4[_0x118575(0x10f)](getPlaywrightSessionName,_0x8a8422),_0x565c9f=this[_0x118575(0x209)]()[0x0],_0x15a6b8=_0x40a8e4['UrIxS'](getTestRunIdentifier,_0x8a8422,_0x3e5372['retry']),_0x318459={[TestFrameworkConstants[_0x118575(0x1c6)]]:_0x565c9f,[TestFrameworkConstants[_0x118575(0x136)]]:this[_0x118575(0x156)]()[_0x565c9f],[TestFrameworkConstants['KEY_TEST_LOGS']]:[],[TestFrameworkConstants[_0x118575(0x1e3)]]:{},[TestFrameworkConstants[_0x118575(0x1f9)]]:{},[TestFrameworkConstants[_0x118575(0x169)]]:_0x538db8,[TestFrameworkConstants[_0x118575(0x137)]]:TestFrameworkConstants[_0x118575(0x159)],[TestFrameworkConstants['KEY_AUTOMATE_SESSION_NAME']]:_0x8d8e51,[TestFrameworkConstants[_0x118575(0x1ad)]]:_0x57bd25,[TestFrameworkConstants[_0x118575(0x1e2)]]:_0x4f446b,[TestFrameworkConstants[_0x118575(0x14e)]]:_0x2203a2,[TestFrameworkConstants[_0x118575(0x111)]]:_0x14da6f,[TestFrameworkConstants['KEY_TEST_CODE']]:_0x15c781,[TestFrameworkConstants[_0x118575(0x200)]]:_0x4e65ea,[TestFrameworkConstants[_0x118575(0x134)]]:_0x8a8422[_0x118575(0x141)][0x0][_0x118575(0x1b7)],[TestFrameworkConstants[_0x118575(0x193)]]:_0x53fac7,[TestFrameworkConstants[_0x118575(0x1e8)]]:_0x1e3d18,[TestFrameworkConstants[_0x118575(0x20d)]]:_0x40a8e4[_0x118575(0x10f)](getPlaywrightCustomRerunParam,_0x8a8422)};TestInfo['setTestDetails'](_0x15a6b8,_0x318459);const _0x281e32={};return _0x281e32[_0x15a6b8]=_0x318459,_0x281e32;}[a95_0x1170d5(0x206)](_0x4c8b8c,_0x18a1a1,_0x1a59b9,_0x316b1f){const _0x24e7f5=a95_0x1170d5,_0x365c4c={'xEjkj':function(_0x19e49a,_0x5d80eb){return _0x19e49a(_0x5d80eb);},'JpSsm':_0x24e7f5(0x194),'lkTRb':function(_0x42011b,_0x3ce411){return _0x42011b===_0x3ce411;},'GamgE':function(_0x2856e1,_0x1df56e){return _0x2856e1===_0x1df56e;},'Oszra':function(_0x412e0f,_0x225be1){return _0x412e0f(_0x225be1);},'IRbGm':_0x24e7f5(0x17a),'twmOH':function(_0x15a8b7,_0x482c50){return _0x15a8b7(_0x482c50);},'reAmB':function(_0x59a4f0,_0x3db89c,_0x218499){return _0x59a4f0(_0x3db89c,_0x218499);},'SXBzp':function(_0x40ef86,_0x3f22a4){return _0x40ef86===_0x3f22a4;},'IZHfW':'skipped','ZZDyB':_0x24e7f5(0x10a),'THvPU':'failed','KYiHr':_0x24e7f5(0x1ba),'uJyLy':function(_0x12f534,_0x18e327){return _0x12f534===_0x18e327;},'AJFSE':function(_0x54517b,_0x50df1a){return _0x54517b===_0x50df1a;},'RCgaW':'Expected\x20to\x20fail,\x20but\x20passed.','jXWaf':function(_0x275eee,_0x3ab441){return _0x275eee||_0x3ab441;},'cXDMI':function(_0x1290f0,_0x4f6300){return _0x1290f0(_0x4f6300);},'knbEo':function(_0xf0ce60,_0x337a17){return _0xf0ce60(_0x337a17);},'oXCRr':function(_0x155f9c,_0x1d77fb){return _0x155f9c>_0x1d77fb;},'XZLKq':function(_0x5ac332,_0x463cfa){return _0x5ac332-_0x463cfa;},'MmJrH':function(_0x1646d7,_0x54db03,_0x587ceb,_0x361ea1){return _0x1646d7(_0x54db03,_0x587ceb,_0x361ea1);},'XvvXA':_0x24e7f5(0x1d6),'ATezR':function(_0x288db0,_0x3abfe0){return _0x288db0===_0x3abfe0;},'WTnKR':function(_0x444f26,_0x310b66){return _0x444f26>=_0x310b66;},'vpidQ':function(_0x5a90c4,_0x57882b){return _0x5a90c4+_0x57882b;},'qTvbo':'path','QlXMy':function(_0x26f17b,_0x15d3f3){return _0x26f17b(_0x15d3f3);},'jajqZ':function(_0x3972ff,_0x288254){return _0x3972ff>_0x288254;},'CALeQ':function(_0x25b7ef,_0x19b88e){return _0x25b7ef>_0x19b88e;},'Zedqg':function(_0x5c0148,_0x7a1301){return _0x5c0148(_0x7a1301);},'vOYSi':_0x24e7f5(0x211)};logger[_0x24e7f5(0x1a4)]('parsePlaywrightTestResult:\x20testId='+_0x4c8b8c);const _0x540fcc=_0x365c4c[_0x24e7f5(0x189)](getTestRunIdentifier,_0x1a59b9,_0x18a1a1[_0x24e7f5(0x1c3)]),_0x44c945=new Date(),_0x32ba31=_0x18a1a1[_0x24e7f5(0x1e9)],_0x1dd219=TestInfo[_0x24e7f5(0x14b)](_0x540fcc)[TestFrameworkConstants[_0x24e7f5(0x176)]]||{};let _0x284566=_0x32ba31;if(_0x365c4c[_0x24e7f5(0x1eb)](_0x18a1a1[_0x24e7f5(0x1e9)],_0x1a59b9[_0x24e7f5(0x121)]))_0x284566=_0x365c4c[_0x24e7f5(0x165)](_0x18a1a1[_0x24e7f5(0x1e9)],_0x365c4c[_0x24e7f5(0x145)])?_0x365c4c[_0x24e7f5(0x145)]:_0x365c4c[_0x24e7f5(0x1e6)];else{(_0x365c4c[_0x24e7f5(0x1eb)](_0x284566,_0x365c4c[_0x24e7f5(0x1e6)])||_0x365c4c['SXBzp'](_0x284566,_0x365c4c[_0x24e7f5(0x130)])||_0x365c4c[_0x24e7f5(0x1f1)](_0x284566,_0x365c4c[_0x24e7f5(0x157)]))&&(_0x284566=_0x365c4c['THvPU']);if(_0x365c4c[_0x24e7f5(0x16a)](_0x18a1a1['status'],_0x365c4c[_0x24e7f5(0x1e6)])&&_0x365c4c[_0x24e7f5(0x20c)](_0x1a59b9[_0x24e7f5(0x121)],_0x365c4c[_0x24e7f5(0x130)])){const _0x4cca99={};_0x4cca99[_0x24e7f5(0x18f)]=_0x365c4c['RCgaW'],_0x4cca99[_0x24e7f5(0x19c)]=_0x365c4c[_0x24e7f5(0x113)],_0x18a1a1[_0x24e7f5(0x191)]=_0x4cca99,_0x18a1a1[_0x24e7f5(0x1ea)]=[_0x18a1a1[_0x24e7f5(0x191)]];}}const {failureData:_0x3afc96,logs:_0x2338db}=_0x365c4c['reAmB'](getFailureData,_0x18a1a1?.[_0x24e7f5(0x1ea)],{}),_0x5c533a={[TestFrameworkConstants['KEY_TEST_FAILURE']]:_0x365c4c['jXWaf'](_0x3afc96,null),[TestFrameworkConstants[_0x24e7f5(0x133)]]:_0x18a1a1?.[_0x24e7f5(0x191)]&&_0x365c4c[_0x24e7f5(0x1ee)](getFailureType,_0x18a1a1[_0x24e7f5(0x191)][_0x24e7f5(0x18f)]),[TestFrameworkConstants[_0x24e7f5(0x19d)]]:_0x18a1a1?.[_0x24e7f5(0x191)]&&_0x365c4c[_0x24e7f5(0x152)](removeAnsiColors,_0x18a1a1[_0x24e7f5(0x191)]['message']),[TestFrameworkConstants[_0x24e7f5(0x1ce)]]:[],[TestFrameworkConstants[_0x24e7f5(0x137)]]:_0x284566,[TestFrameworkConstants['KEY_TEST_ENDED_AT']]:_0x44c945['toISOString'](),[TestFrameworkConstants[_0x24e7f5(0x1c0)]]:new Date()['toISOString'](),[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:_0x1dd219};if(_0x18a1a1&&_0x365c4c[_0x24e7f5(0x107)](_0x18a1a1['retry'],0x0)){const _0x47d47d=TestInfo[_0x24e7f5(0x142)](_0x365c4c[_0x24e7f5(0x189)](getTestRunIdentifier,_0x1a59b9,_0x365c4c[_0x24e7f5(0x1aa)](_0x18a1a1[_0x24e7f5(0x1c3)],0x1)));_0x5c533a[TestFrameworkConstants['KEY_TEST_RETRY_OF']]=_0x47d47d;}const _0x5a5b73={};_0x5a5b73[_0x24e7f5(0x1d6)]=_0x1a59b9;const _0x1362ec=this[_0x24e7f5(0x158)](TestFrameworkState[_0x24e7f5(0x139)],HookState[_0x24e7f5(0x151)],_0x5a5b73),_0x65a1ab=_0x1362ec[_0x24e7f5(0x119)]()[_0x24e7f5(0x17e)](_0x540fcc)[TestFrameworkConstants['KEY_TEST_UUID']],_0x3f710f=_0x316b1f||_0x365c4c[_0x24e7f5(0x1ed)](getStepsAndLogs,_0x18a1a1[_0x24e7f5(0x14d)],_0x65a1ab,_0x365c4c[_0x24e7f5(0x204)])[_0x24e7f5(0x14d)],_0xba902f=new Map(),_0x24c14e=new Map();let _0x101555=0x0;const _0x47b2bc=[];for(const _0xde36ea of _0x3f710f||[]){const _0x3c6667=_0xde36ea[_0x24e7f5(0x1a1)]||null;let _0x17fe7e;if(_0x365c4c[_0x24e7f5(0x17f)](_0x3c6667,null)){if(_0x365c4c[_0x24e7f5(0x1df)](_0x101555,TestFrameworkConstants['MAX_TOP_LEVEL_STEPS']))continue;_0x17fe7e=0x0,_0x101555++;}else{const _0x505126=_0xba902f[_0x24e7f5(0x17e)](_0x3c6667);if(_0x365c4c[_0x24e7f5(0x1f1)](_0x505126,undefined))continue;_0x17fe7e=_0x365c4c['vpidQ'](_0x505126,0x1);if(_0x365c4c[_0x24e7f5(0x107)](_0x17fe7e,TestFrameworkConstants['MAX_NESTED_STEP_DEPTH']))continue;}_0xba902f[_0x24e7f5(0x181)](_0xde36ea['id'],_0x17fe7e),_0x24c14e[_0x24e7f5(0x181)](_0xde36ea['id'],_0xde36ea[_0x24e7f5(0x11e)]),_0x47b2bc[_0x24e7f5(0x1d4)]({'id':_0xde36ea['id'],'parent_id':_0x3c6667,'parent_text':_0x3c6667?_0x24c14e[_0x24e7f5(0x17e)](_0x3c6667)||'':'','text':_0xde36ea[_0x24e7f5(0x11e)],'keyword':_0xde36ea[_0x24e7f5(0x173)]||null,'started_at':_0xde36ea[_0x24e7f5(0x20a)],'duration':_0xde36ea[_0x24e7f5(0x1cb)]??null,'result':_0xde36ea['result'],'failure':_0xde36ea['failure']||null,'failure_type':_0xde36ea[_0x24e7f5(0x12b)]||null});}const _0x41b7be={};_0x41b7be[_0x24e7f5(0x14d)]=_0x47b2bc,_0x5c533a[TestFrameworkConstants[_0x24e7f5(0x1b2)]]=_0x41b7be,logger[_0x24e7f5(0x1a4)]('parsePlaywrightTestResult:\x20extracted\x20'+_0x47b2bc[_0x24e7f5(0x122)]+_0x24e7f5(0x15d)+_0x4c8b8c);const _0x50e9d6=[],_0x1d3abc=_0x365c4c[_0x24e7f5(0x189)](findNestedKey,_0x18a1a1,_0x365c4c[_0x24e7f5(0x15f)]);if(_0x1d3abc&&_0x365c4c[_0x24e7f5(0x171)](validateFilePath,_0x1d3abc))try{_0x50e9d6[_0x24e7f5(0x1d4)]({'kind':_0x365c4c[_0x24e7f5(0x1fd)],'timestamp':new Date()['toISOString'](),'test_run_uuid':_0x65a1ab,'file_name':path['basename'](_0x1d3abc),'file_size':fs[_0x24e7f5(0x1bc)](_0x1d3abc)[_0x24e7f5(0x1f4)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x5154d3){logger[_0x24e7f5(0x191)](_0x24e7f5(0x15b)+_0x1d3abc+':\x20'+_0x5154d3[_0x24e7f5(0x18f)]);}const _0x1692f9=TestInfo['getTraceFilePaths'](),_0x39a669=_0x1692f9[_0x24e7f5(0x13b)](_0x13c679=>_0x13c679[_0x24e7f5(0x110)]===_0x65a1ab);_0x39a669[_0x24e7f5(0x1c4)](_0x49d8ea=>{const _0x438100=_0x24e7f5;if(_0x49d8ea['filePath']&&_0x365c4c['xEjkj'](validateFilePath,_0x49d8ea[_0x438100(0x138)])&&!_0x50e9d6[_0x438100(0x14a)](_0x45d6f7=>_0x45d6f7[_0x438100(0x203)]===path[_0x438100(0x1b3)](_0x49d8ea[_0x438100(0x138)])))try{_0x50e9d6[_0x438100(0x1d4)]({'kind':_0x365c4c[_0x438100(0x1fd)],'timestamp':new Date()[_0x438100(0x1bd)](),'test_run_uuid':_0x65a1ab,'file_name':path[_0x438100(0x1b3)](_0x49d8ea[_0x438100(0x138)]),'file_size':fs[_0x438100(0x1bc)](_0x49d8ea[_0x438100(0x138)])[_0x438100(0x1f4)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x2c70d9){logger['error'](_0x438100(0x186)+_0x49d8ea[_0x438100(0x138)]+_0x438100(0x1c5)+_0x2c70d9['message']);}});if(_0x365c4c[_0x24e7f5(0x1a0)](_0x50e9d6[_0x24e7f5(0x122)],0x0)){const _0x4db6f6=_0x5c533a[TestFrameworkConstants[_0x24e7f5(0x1ce)]]||[];_0x5c533a[TestFrameworkConstants[_0x24e7f5(0x1ce)]]=[..._0x4db6f6,..._0x50e9d6];}const _0x5e40b9=TestInfo[_0x24e7f5(0x14b)](_0x540fcc)[TestFrameworkConstants[_0x24e7f5(0x11c)]]||{},_0x45be4f=_0x365c4c[_0x24e7f5(0x189)](getManualUploadLogs,_0x5e40b9,_0x1362ec[_0x24e7f5(0x119)]()[_0x24e7f5(0x17e)](_0x540fcc)[TestFrameworkConstants[_0x24e7f5(0x169)]]);if(_0x365c4c[_0x24e7f5(0x15a)](_0x45be4f[_0x24e7f5(0x122)],0x0)){const _0x56e5db=_0x5c533a[TestFrameworkConstants[_0x24e7f5(0x1ce)]]||[];_0x5c533a[TestFrameworkConstants[_0x24e7f5(0x1ce)]]=[..._0x56e5db,..._0x45be4f];}const _0x4ef557=_0x1a59b9['annotations']||[],_0x3fe511=_0x5c533a[TestFrameworkConstants[_0x24e7f5(0x176)]]||{},_0x59dd2c=_0x365c4c['Zedqg'](require,_0x365c4c[_0x24e7f5(0x1ef)]);_0x4ef557[_0x24e7f5(0x1c4)](_0x2e4f69=>{const _0x43f4be=_0x24e7f5,{type:_0x4eca8e}=_0x2e4f69;let _0x4722a1=_0x2e4f69[_0x43f4be(0x150)];if(!_0x4eca8e)return;if(PLAYWRIGHT_BUILTIN_ANNOTATIONS[_0x43f4be(0x170)](_0x4eca8e))return;(_0x365c4c['lkTRb'](_0x4722a1,undefined)||_0x365c4c['lkTRb'](_0x4722a1,null)||_0x365c4c[_0x43f4be(0x165)](_0x365c4c[_0x43f4be(0x16f)](String,_0x4722a1)[_0x43f4be(0x1b6)](),''))&&(_0x4722a1=_0x365c4c['IRbGm']);const _0x122607=helper[_0x43f4be(0x197)](_0x365c4c[_0x43f4be(0x1fb)](String,_0x4722a1));_0x59dd2c['mergeIntoTags'](_0x3fe511,_0x4eca8e,_0x122607);}),_0x5c533a[TestFrameworkConstants[_0x24e7f5(0x176)]]=_0x3fe511,TestInfo[_0x24e7f5(0x13d)](_0x540fcc,_0x5c533a);const _0x426456={};return _0x426456[_0x540fcc]=_0x5c533a,_0x426456;}[a95_0x1170d5(0x12f)](_0x4800f5,_0x5611ff,_0x146676){const _0x59ba5a=a95_0x1170d5,_0x3c076d={'fWhZp':function(_0x48fc02,_0x56ffcd){return _0x48fc02||_0x56ffcd;},'dMUvT':function(_0x2f248a,_0x4d86d4,_0x17bebc){return _0x2f248a(_0x4d86d4,_0x17bebc);}};try{const {test:_0x5194e5,result:_0x7396e1,step:_0x501e49}=_0x146676;if(_0x3c076d[_0x59ba5a(0x13a)](!_0x5194e5,!_0x501e49)||!_0x7396e1)return;const _0x4e3d57=_0x3c076d[_0x59ba5a(0x124)](getTestRunIdentifier,_0x5194e5,_0x7396e1[_0x59ba5a(0x1c3)]);logger['debug'](_0x59ba5a(0x132)+_0x4e3d57+_0x59ba5a(0x128)+_0x5611ff+_0x59ba5a(0x1f8)+_0x501e49['title']+'\x22');}catch(_0x2403b8){logger['error']('trackStepEvent:\x20exception='+util['format'](_0x2403b8));}}async[a95_0x1170d5(0x126)](_0x126133,_0x552dc9,_0x17867b,_0x30d66f){const _0x1e48ff=a95_0x1170d5,_0x1a0972={'ApapW':function(_0x3c5805,_0x207694,_0x13b009){return _0x3c5805(_0x207694,_0x13b009);},'LbcOg':function(_0x3b61a2,_0x4acbfa){return _0x3b61a2 in _0x4acbfa;},'hGDBc':function(_0x2dbca6,_0x13a52d){return _0x2dbca6 in _0x13a52d;},'pkOtl':function(_0x7431cc,_0x3c4ccb){return _0x7431cc(_0x3c4ccb);},'eqLDJ':function(_0x127656,_0x4fc998){return _0x127656===_0x4fc998;},'bgaLj':function(_0x41a9d9){return _0x41a9d9();},'Bgqxy':function(_0x597e69,_0xf1cfb){return _0x597e69===_0xf1cfb;},'KfCPZ':function(_0x5aac44,_0x56be11){return _0x5aac44>_0x56be11;},'GgXoh':'err','iQMDP':function(_0x19495b,_0x29010c){return _0x19495b(_0x29010c);},'JLaTw':function(_0x43bc0c,_0x38ffc8){return _0x43bc0c(_0x38ffc8);},'TlHeN':_0x1e48ff(0x1ae),'FHpnP':_0x1e48ff(0x10a),'vQCyN':function(_0x6c65de,_0x33bdf3){return _0x6c65de!==_0x33bdf3;},'LVsQa':function(_0xc613ae,_0x576e40){return _0xc613ae+_0x576e40;},'tkMoj':_0x1e48ff(0x11a)},_0x19a487=_0x30d66f[_0x1e48ff(0x1d6)],_0x17e7ca=_0x30d66f[_0x1e48ff(0x112)],_0x54e9d0=_0x1a0972['ApapW'](getTestRunIdentifier,_0x19a487,_0x30d66f[_0x1e48ff(0x1ca)][_0x1e48ff(0x1c3)]),_0x385ceb=_0x552dc9[_0x1e48ff(0x1d3)]()['split']('.')[0x1];let _0x2aaeb9=_0x126133[_0x1e48ff(0x119)]()[_0x1e48ff(0x17e)](_0x54e9d0)[TestFrameworkConstants[_0x1e48ff(0x1f9)]];!_0x2aaeb9&&(_0x2aaeb9={});!_0x1a0972[_0x1e48ff(0x1ff)](_0x385ceb,_0x2aaeb9)&&(_0x2aaeb9[_0x385ceb]=[]);let _0x102342=_0x126133[_0x1e48ff(0x119)]()[_0x1e48ff(0x17e)](_0x54e9d0)[TestFrameworkConstants[_0x1e48ff(0x1e3)]];!_0x102342&&(_0x102342={});!_0x1a0972['hGDBc'](_0x385ceb,_0x102342)&&(_0x102342[_0x385ceb]=[]);const _0x16132e={[TestFrameworkConstants[_0x1e48ff(0x1f9)]]:_0x2aaeb9,[TestFrameworkConstants['KEY_HOOKS_FINISHED']]:_0x102342},_0x17f38a={};_0x17f38a[_0x54e9d0]=_0x16132e;const _0x19e6ed=_0x17f38a,_0x4f1b28=_0x1a0972[_0x1e48ff(0x19e)](getPlaywrightTestFilePath,_0x19a487),_0x2b9c57=_0x4f1b28,_0x4c83a4=TestInfo[_0x1e48ff(0x14b)](_0x54e9d0)[TestFrameworkConstants['KEY_CUSTOM_TAGS']]||{};if(_0x1a0972[_0x1e48ff(0x20e)](_0x17867b,HookState[_0x1e48ff(0x1a2)])){const _0x3ef55d={'key':_0x385ceb,[TestFrameworkConstants[_0x1e48ff(0x1e7)]]:_0x1a0972[_0x1e48ff(0x1f5)](uuidv4),[TestFrameworkConstants[_0x1e48ff(0x1cf)]]:TestFrameworkConstants['DEFAULT_HOOK_RESULT'],[TestFrameworkConstants['KEY_EVENT_STARTED_AT']]:_0x17e7ca[_0x1e48ff(0x1b7)],[TestFrameworkConstants[_0x1e48ff(0x1d7)]]:[],[TestFrameworkConstants['KEY_HOOK_NAME']]:_0x17e7ca[_0x1e48ff(0x179)],[TestFrameworkConstants['KEY_TEST_FILE_PATH']]:_0x4f1b28,[TestFrameworkConstants['KEY_TEST_LOCATION']]:_0x2b9c57,[TestFrameworkConstants[_0x1e48ff(0x176)]]:_0x4c83a4};_0x2aaeb9[_0x385ceb]['push'](_0x3ef55d),_0x19e6ed[_0x54e9d0][TestFrameworkConstants[_0x1e48ff(0x1d9)]]=_0x385ceb,logger[_0x1e48ff(0x1a4)](_0x1e48ff(0x1be)+_0x385ceb+_0x1e48ff(0x1f3)+_0x3ef55d+_0x1e48ff(0x16c)+_0x30d66f);}else{if(_0x1a0972[_0x1e48ff(0x1e5)](_0x17867b,HookState['POST'])){const _0x1122e1=await _0x30d66f[_0x1e48ff(0x1ca)],_0x293746=_0x2aaeb9[_0x385ceb]||[],_0x435078=_0x30d66f[_0x1e48ff(0x112)];logger[_0x1e48ff(0x1a4)](_0x1e48ff(0x175)+_0x293746+_0x1e48ff(0x177)+_0x30d66f);if(_0x1a0972[_0x1e48ff(0x20b)](_0x293746[_0x1e48ff(0x122)],0x0)){const _0x5051ec=_0x293746['pop']();if(_0x435078['error']){const _0x2e1ac8=_0x1a0972['ApapW'](failureData,_0x435078[_0x1e48ff(0x191)],_0x1a0972[_0x1e48ff(0x160)]);_0x5051ec[TestFrameworkConstants[_0x1e48ff(0x1fa)]]=_0x1a0972['iQMDP'](getFailureType,_0x435078?.[_0x1e48ff(0x191)]['message']),_0x5051ec[TestFrameworkConstants[_0x1e48ff(0x210)]]=_0x1a0972['JLaTw'](removeAnsiColors,_0x435078?.[_0x1e48ff(0x191)][_0x1e48ff(0x18f)]),_0x5051ec[TestFrameworkConstants['KEY_HOOK_RESULT']]=_0x1a0972['TlHeN'],_0x5051ec[TestFrameworkConstants['KEY_HOOK_FAILURE']]=_0x2e1ac8;}else _0x5051ec[TestFrameworkConstants[_0x1e48ff(0x1cf)]]=_0x1a0972[_0x1e48ff(0x140)];_0x1a0972[_0x1e48ff(0x10b)](_0x1122e1,TestFrameworkConstants[_0x1e48ff(0x10c)])&&(_0x5051ec[TestFrameworkConstants[_0x1e48ff(0x1cf)]]=!_0x435078[_0x1e48ff(0x191)]?_0x1a0972[_0x1e48ff(0x140)]:_0x1a0972[_0x1e48ff(0x1af)]);const _0x3089ea=new Date(_0x435078[_0x1e48ff(0x1b7)]),_0x394423=new Date(_0x1a0972[_0x1e48ff(0x108)](_0x3089ea[_0x1e48ff(0x144)](),_0x435078[_0x1e48ff(0x1cb)]));_0x5051ec[TestFrameworkConstants[_0x1e48ff(0x162)]]=_0x394423[_0x1e48ff(0x1bd)](),_0x5051ec[TestFrameworkConstants['KEY_CUSTOM_TAGS']]=_0x4c83a4;const _0x2fdc92=_0x5051ec[TestFrameworkConstants[_0x1e48ff(0x1e7)]];await this[_0x1e48ff(0x1c1)](_0x126133,_0x552dc9,_0x2fdc92,_0x1a0972[_0x1e48ff(0x1e0)],_0x30d66f),!_0x102342[_0x385ceb]&&(_0x102342[_0x385ceb]=[]),_0x102342[_0x385ceb][_0x1e48ff(0x1d4)](_0x5051ec),_0x19e6ed[_0x54e9d0][TestFrameworkConstants['KEY_HOOK_LAST_FINISHED']]=_0x385ceb;}}}return _0x19e6ed;}async[a95_0x1170d5(0x1c1)](_0x8a41af,_0x372ccf,_0x5942ae,_0xb6e674,_0x155539,_0x1139c9){const _0x369208=a95_0x1170d5,_0x38b5b9={'wuoHh':function(_0xd43d89,_0x39d2be){return _0xd43d89===_0x39d2be;},'GLyfe':'test','BAETq':function(_0x3dca2e,_0x573759,_0x651045){return _0x3dca2e(_0x573759,_0x651045);},'oJChI':function(_0xab286b,_0x48aeee,_0x29f91c){return _0xab286b(_0x48aeee,_0x29f91c);},'FezpT':_0x369208(0x1f2),'QyZSp':function(_0x507528,_0x532879,_0x20096e,_0x4beedf){return _0x507528(_0x532879,_0x20096e,_0x4beedf);},'VJVSE':function(_0x3ebce3,_0x3bebc9,_0x49cbcd){return _0x3ebce3(_0x3bebc9,_0x49cbcd);},'FVzLB':function(_0x364fe2,_0x3fff73,_0x2d6c7a){return _0x364fe2(_0x3fff73,_0x2d6c7a);},'xnayZ':function(_0x1398b4,_0x27e84f){return _0x1398b4/_0x27e84f;},'FFMPY':function(_0x4181e9,_0x1041ed){return _0x4181e9<_0x1041ed;},'UwNEj':function(_0xb1d3dd,_0x83b151){return _0xb1d3dd*_0x83b151;},'SjWAt':function(_0x42c58d,_0x51996a){return _0x42c58d+_0x51996a;},'vzKCg':function(_0x4688b1,_0x39858c,_0x1054c7,_0x495eab,_0x3d498d){return _0x4688b1(_0x39858c,_0x1054c7,_0x495eab,_0x3d498d);},'xENQq':function(_0x3a4af4,_0x1a2fc6,_0x4632d9,_0x2220fa){return _0x3a4af4(_0x1a2fc6,_0x4632d9,_0x2220fa);},'ooBzA':_0x369208(0x11a),'QhrMu':function(_0x3a87aa,_0x290047,_0x210308){return _0x3a87aa(_0x290047,_0x210308);}};try{if(_0x38b5b9[_0x369208(0x13c)](_0xb6e674,_0x38b5b9[_0x369208(0x10e)])){const _0x33fb52=await _0x155539['result'],_0x4a1a48=_0x38b5b9[_0x369208(0x1d0)](getTestRunIdentifier,_0x155539[_0x369208(0x1d6)],_0x155539[_0x369208(0x1ca)]['retry']),_0x5b0d20=_0x155539[_0x369208(0x1d6)];logger[_0x369208(0x1a4)](_0x369208(0x1ec)+_0x4a1a48+'\x20result='+util[_0x369208(0x13f)](_0x33fb52));const _0x251fb5=_0x8a41af[_0x369208(0x119)]()[_0x369208(0x17e)](_0x4a1a48)[TestFrameworkConstants[_0x369208(0x169)]];await _0x38b5b9[_0x369208(0x180)](sendTraceZip,_0x33fb52,_0x251fb5);const _0xf2878f=TestInfo[_0x369208(0x14b)](_0x4a1a48)[_0x38b5b9[_0x369208(0x1ac)]],_0x44e167={};if(_0xf2878f){!_0x33fb52[_0x369208(0x1f2)]&&(_0x33fb52[_0x369208(0x1f2)]=[]);_0x44e167[_0x369208(0x1f2)]=_0x33fb52[_0x369208(0x1f2)][_0x369208(0x202)](_0xf2878f||[]);const _0x37e047=TestInfo[_0x369208(0x14b)](_0x4a1a48);delete _0x37e047[_0x38b5b9['FezpT']],TestInfo[_0x369208(0x13d)](_0x4a1a48,_0x37e047);}const _0x130e7c=_0x1139c9||_0x38b5b9[_0x369208(0x13e)](getStepsAndLogs,_0x33fb52[_0x369208(0x14d)],_0x8a41af[_0x369208(0x119)]()['get'](_0x4a1a48)[TestFrameworkConstants[_0x369208(0x169)]],_0x38b5b9[_0x369208(0x10e)])[_0x369208(0x131)],_0x106b68=_0x38b5b9['VJVSE'](getScreenshots,_0x44e167,_0x8a41af[_0x369208(0x119)]()[_0x369208(0x17e)](_0x4a1a48)[TestFrameworkConstants[_0x369208(0x169)]]),_0x3e8f4d=_0x38b5b9['FVzLB'](getVideos,_0x33fb52,_0x8a41af['getAllData']()[_0x369208(0x17e)](_0x4a1a48)[TestFrameworkConstants['KEY_TEST_UUID']]),{_:_0x579975,logs:_0x45422a}=_0x38b5b9[_0x369208(0x174)](getFailureData,_0x33fb52[_0x369208(0x1ea)],{'test_run_uuid':_0x8a41af[_0x369208(0x119)]()['get'](_0x4a1a48)[TestFrameworkConstants[_0x369208(0x169)]]}),_0x58d0a7=TestInfo[_0x369208(0x14b)](_0x4a1a48)[TestFrameworkConstants[_0x369208(0x11c)]]||{},_0x3030d7=_0x38b5b9[_0x369208(0x1d0)](getMediaArtifactsLogs,_0x58d0a7,_0x8a41af[_0x369208(0x119)]()['get'](_0x4a1a48)[TestFrameworkConstants['KEY_TEST_UUID']]),_0x526a90=_0x8a41af[_0x369208(0x119)]()['get'](_0x4a1a48),{[TestFrameworkConstants[_0x369208(0x1c6)]]:_0x571a4e='',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x15da6a=''}=_0x526a90,_0x549f57=(_0x130e7c||[])[_0x369208(0x202)](_0x106b68||[])[_0x369208(0x202)](_0x45422a||[])[_0x369208(0x202)](_0x3e8f4d||[])['concat'](_0x3030d7||[]),_0x650e1b=0x28,_0x3e097f=Math[_0x369208(0x1c7)](_0x38b5b9['xnayZ'](_0x549f57['length'],_0x650e1b));for(let _0x3da5b1=0x0;_0x38b5b9[_0x369208(0x161)](_0x3da5b1,_0x3e097f);_0x3da5b1++){const _0x36f9e8=_0x38b5b9[_0x369208(0x195)](_0x3da5b1,_0x650e1b),_0x328cf4=_0x38b5b9[_0x369208(0x187)](_0x36f9e8,_0x650e1b),_0x1f2f35=_0x549f57[_0x369208(0x11d)](_0x36f9e8,_0x328cf4),_0x37ba5f={'platformIndex':global?.[_0x369208(0x166)]??0x0,'logs':_0x1f2f35,'testFrameworkName':_0x571a4e,'testFrameworkVersion':_0x15da6a,'testFrameworkState':_0x372ccf[_0x369208(0x1d3)]()[_0x369208(0x1a6)]('.')[0x1]};_0x38b5b9['vzKCg'](updatePayloadForTraceLogs,_0x37ba5f,_0x155539,_0x4a1a48,_0x8a41af),logger[_0x369208(0x1a4)](_0x369208(0x1d1)+_0x4a1a48+_0x369208(0x1d8)+_0x38b5b9[_0x369208(0x187)](_0x3da5b1,0x1)+'/'+_0x3e097f+_0x369208(0x1a5)+util['inspect'](_0x37ba5f));const _0x28a02c=await GrpcClient[_0x369208(0x1dd)]()[_0x369208(0x198)](_0x37ba5f);logger['debug'](_0x369208(0x1d1)+_0x4a1a48+_0x369208(0x1d8)+_0x38b5b9[_0x369208(0x187)](_0x3da5b1,0x1)+'/'+_0x3e097f+_0x369208(0x1b0)+util[_0x369208(0x13f)](_0x28a02c));}}else{const {logs:_0x24f806}=_0x38b5b9['xENQq'](getStepsAndLogs,_0x155539['step']['steps'],_0x5942ae,_0x38b5b9[_0x369208(0x188)]),_0x47d698=_0x38b5b9[_0x369208(0x120)](getTestRunIdentifier,_0x155539[_0x369208(0x1d6)],_0x155539[_0x369208(0x1ca)][_0x369208(0x1c3)]);logger[_0x369208(0x1a4)]('sendLogCreatedEvent:\x20testId='+_0x47d698);const _0x309594=_0x8a41af['getAllData']()['get'](_0x47d698),{[TestFrameworkConstants[_0x369208(0x1c6)]]:_0x305f20='',[TestFrameworkConstants[_0x369208(0x136)]]:_0x3e9242=''}=_0x309594,_0x363a3d={'platformIndex':'0','logs':_0x24f806,'testFrameworkName':_0x305f20,'testFrameworkVersion':_0x3e9242,'testFrameworkState':_0x372ccf[_0x369208(0x1d3)]()[_0x369208(0x1a6)]('.')[0x1]};_0x38b5b9[_0x369208(0x1dc)](updatePayloadForTraceLogs,_0x363a3d,_0x155539,_0x47d698,_0x8a41af),logger[_0x369208(0x1a4)](_0x369208(0x1d1)+_0x47d698+'\x20payload='+util['inspect'](_0x363a3d));const _0xe94836=await GrpcClient[_0x369208(0x1dd)]()[_0x369208(0x198)](_0x363a3d);}}catch(_0x368c13){logger[_0x369208(0x191)](_0x369208(0x1bf)+util[_0x369208(0x1c8)](_0x368c13));}}[a95_0x1170d5(0x18b)](_0x37f8c0){const _0x562a13=a95_0x1170d5,_0x39971c={'MvlNX':function(_0x1c4443,_0x3c73ac,_0x2f26d9){return _0x1c4443(_0x3c73ac,_0x2f26d9);},'YryWt':function(_0x18e1c9,_0x517bf8){return _0x18e1c9<_0x517bf8;},'sPSgi':_0x562a13(0x196)};try{const _0x3f8511=_0x37f8c0['test']['id'],_0x133cdf=_0x39971c[_0x562a13(0x12a)](getTestRunIdentifier,_0x37f8c0[_0x562a13(0x1d6)],_0x37f8c0[_0x562a13(0x1ca)]['retry']),_0x5913e0=_0x37f8c0['instance'],_0x1e0bdf=_0x5913e0[_0x562a13(0x184)](),_0x42765c=_0x5913e0[_0x562a13(0x119)]()[_0x562a13(0x17e)](_0x133cdf);logger[_0x562a13(0x1a4)](_0x562a13(0x146)+_0x3f8511);const {[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x1f3e99='',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x4dfa51='',[TestFrameworkConstants[_0x562a13(0x134)]]:_0x2f6def='',[TestFrameworkConstants[_0x562a13(0x15e)]]:_0x31bfa4=''}=_0x42765c,_0xe83307=_0x5913e0[_0x562a13(0x16d)]()[_0x562a13(0x1d3)]()[_0x562a13(0x1a6)]('.')[0x1],_0x1b3021=_0x5913e0[_0x562a13(0x1b1)]()['toString']()[_0x562a13(0x1a6)]('.')[0x1],_0x38abfc=_0x39971c[_0x562a13(0x147)](_0x37f8c0?.[_0x562a13(0x1ca)]?.[_0x562a13(0x1fc)]??0x0,0x0)?0x0:_0x37f8c0?.['result']?.[_0x562a13(0x1fc)]??0x0,_0x511f52=_0x5913e0[_0x562a13(0x115)](),_0x3ee052=Buffer['from'](JSON[_0x562a13(0x1da)](_0x42765c))['toString'](_0x39971c[_0x562a13(0x1b8)]),_0x4262ec={'hash':_0x1e0bdf[_0x562a13(0x1f6)](),'threadId':_0x1e0bdf['getThreadId']()[_0x562a13(0x1d3)](),'processId':_0x1e0bdf[_0x562a13(0x1e1)]()['toString']()},_0x479879={};_0x479879[_0x562a13(0x149)]=_0x38abfc,_0x479879[_0x562a13(0x185)]=_0x1f3e99,_0x479879[_0x562a13(0x178)]=_0x4dfa51,_0x479879[_0x562a13(0x16e)]=_0xe83307,_0x479879[_0x562a13(0x1db)]=_0x1b3021,_0x479879[_0x562a13(0x129)]=_0x2f6def,_0x479879[_0x562a13(0x1e4)]=_0x31bfa4,_0x479879[_0x562a13(0x19b)]=_0x511f52,_0x479879[_0x562a13(0x183)]=_0x3ee052,_0x479879['executionContext']=_0x4262ec;const _0x33dd7b=_0x479879;return logger[_0x562a13(0x1a4)]('createTestFrameworkEventPayload:\x20complete\x20for\x20testId:\x20'+_0x3f8511+_0x562a13(0x16b)+_0xe83307+'\x20hookState:\x20'+_0x1b3021),_0x33dd7b;}catch(_0x1ad126){return logger[_0x562a13(0x191)](_0x562a13(0x155)+util[_0x562a13(0x1c8)](_0x1ad126)),{};}}}module['exports']=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
|
-
const
|
|
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;
|