browserstack-node-sdk 1.66.1 → 1.66.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/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/detox/a11ySetup.js +1 -1
- package/src/bin/detox/command.js +1 -1
- package/src/bin/detox/modifyDetoxConf.js +1 -1
- package/src/bin/detox/traEmitter.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/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/newman/command.js +1 -1
- package/src/bin/newman/helper.js +1 -1
- package/src/bin/newman/reporter/index.js +1 -1
- package/src/bin/newman/scriptRunner.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/node-generic/client.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/reporterArgs.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/puppeteer/patches.js +1 -1
- package/src/bin/puppeteer/sessionDetails.js +1 -1
- package/src/bin/puppeteer/test.setup.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/testcafe/a11y-runner.js +1 -1
- package/src/bin/testcafe/command.js +1 -1
- package/src/bin/testcafe/reporter/index.js +1 -1
- package/src/bin/testcafe/reporter/tcUtils.js +1 -1
- package/src/bin/testcafe/session-registry.js +1 -1
- package/src/bin/testcafe/stdout-interceptor.js +1 -1
- package/src/bin/testcafe/testcafe-action-patcher.js +1 -1
- package/src/bin/testcafe/w3c-driver.js +1 -1
- package/src/bin/utils/apiUtilityMethods.js +1 -1
- package/src/bin/utils/clientTroubleshootingService.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/utils/playwright-patcher.js +1 -1
- package/src/bin/utils/puppeteer-patcher.js +1 -1
- package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
- package/src/bin/utils/sharedUtils.js +1 -1
- package/src/bin/v2/TestInfo.js +1 -1
- package/src/bin/v2/browserstackCLI.js +1 -1
- package/src/bin/v2/cliUtils.js +1 -1
- package/src/bin/v2/customTagManager.js +1 -1
- package/src/bin/v2/eventDispatcher.js +1 -1
- package/src/bin/v2/framework/automationFramework.js +1 -1
- package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
- package/src/bin/v2/framework/jestTestFramework.js +1 -1
- package/src/bin/v2/framework/newmanTestFramework.js +1 -1
- package/src/bin/v2/framework/nodeGenericTestFramework.js +1 -1
- package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
- package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
- package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
- package/src/bin/v2/framework/testFramework.js +1 -1
- package/src/bin/v2/framework/testcafeAutomationFramework.js +1 -1
- package/src/bin/v2/framework/testcafeTestFramework.js +1 -1
- package/src/bin/v2/grpcClient.js +1 -1
- package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/trackedContext.js +1 -1
- package/src/bin/v2/instances/trackedInstance.js +1 -1
- package/src/bin/v2/modules/accessibilityModule.js +1 -1
- package/src/bin/v2/modules/baseModule.js +1 -1
- package/src/bin/v2/modules/loadTestModule.js +1 -1
- package/src/bin/v2/modules/observabilityModule.js +1 -1
- package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
- package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
- package/src/bin/v2/modules/testcafeDriverModule.js +1 -1
- package/src/bin/v2/modules/testhubModule.js +1 -1
- package/src/bin/v2/sdkErrorHandler.js +1 -1
- package/src/bin/v2/state/automationFrameworkState.js +1 -1
- package/src/bin/v2/state/hookState.js +1 -1
- package/src/bin/v2/state/testFrameworkState.js +1 -1
- package/src/bin/v2/uploadAttachmentsManager.js +1 -1
- package/src/bin/v2/utils/cucumber-utils.js +1 -1
- package/src/bin/v2/utils/jest-utils.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/caCertHelper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/central-scanner/constants.js +1 -1
- package/src/helpers/central-scanner/helpers.js +1 -1
- package/src/helpers/classLogger.js +1 -1
- package/src/helpers/driverInitErrorReporter.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/metadata.js +1 -1
- package/src/helpers/patchHelper.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance/constants.js +1 -1
- package/src/helpers/performance/performance-tester.js +1 -1
- package/src/helpers/playwright-helper.js +1 -1
- package/src/helpers/processHelper.js +1 -1
- package/src/helpers/puppeteer-helper.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/stackFrameUtils.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/test-orchestration/constants.js +1 -1
- package/src/helpers/test-orchestration/failfastManager.js +1 -1
- package/src/helpers/test-orchestration/fileHelper.js +1 -1
- package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
- package/src/helpers/test-orchestration/requestUtils.js +1 -1
- package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
- package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
- package/src/helpers/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const a100_0x3d08ef=a100_0x1df1;function a100_0x1df1(_0x18448f,_0x3ae966){const _0x58183a=a100_0x5818();return a100_0x1df1=function(_0x1df1b4,_0x1da8d2){_0x1df1b4=_0x1df1b4-0x176;let _0x43a2b2=_0x58183a[_0x1df1b4];return _0x43a2b2;},a100_0x1df1(_0x18448f,_0x3ae966);}function a100_0x5818(){const _0x4e763d=['startedAt','platformIndex','parsePlaywrightTestResult','1308HnFpFB','KEY_HOOK_NAME','setTestDetails','vMDZb','LhSwm','statSync','../../../../src/helpers/helper','getTestFrameworks','filePath','KEY_HOOK_FAILURE_TYPE','concat','path','OGCQr','rrhlh','KEY_TEST_RESULT','fUXzS','Rtlxm','4329uLVPaX','annotations','KEY_AUTOMATE_SESSION_NAME','Error\x20in\x20sendLogCreatedEvent:\x20','KEY_TEST_FRAMEWORK_NAME','trackEvent:\x20Exception\x20in\x20event\x20tracking,\x20testFrameworkState=%s\x20hookState=%s\x20argsLength=%s,\x20exception=%s','6732DFxFxH','KEY_HOOK_ID','runHooks','skip','parseCommaSeparatedValues','pop','steps','KEY_HOOKS_STARTED','util','trackStepEvent','\x20instance=','UXVzv','kdomc','RStzT',',\x20state=','../state/hookState.js','dRUNb','oKxkQ','failure','371010EuNXbd','gyVkb','NJCMs','MAX_NESTED_STEP_DEPTH','cjdUe','trackPlaywrightInstance','passed','vetWB','getId','ZLwYD','GNBHy','hizYn','message','uuid','description','KEY_TEST_STARTED_AT','\x20hookState=','LFgMR','NEjQj','\x20\x20and\x20args\x20=\x20','JqBQz',',\x20testFrameworkState=','KEY_TEST_CODE','trackStepEvent:\x20testId=','trackEvent','trackHookEvent','createTestFrameworkEventPayload','skipped','from','../../utils/constants','\x20payload=','oeBKV','KEY_HOOK_RESULT','No\x20reason\x20provided','\x20result=','ceil','attachments','exports','getContext','../instances/trackedInstance.js','resolveInstance','KEY_TEST_RESULT_AT','NWvPE','basename','WGhgJ','sendLogCreatedEvent\x20for\x20testId:\x20','step','gCVUF','9950CKVZgo','Expected\x20to\x20fail,\x20but\x20passed.','Zdnns','getInstance','YSaRX','oISjr','KEY_TEST_SCOPES','started_at','getTraceFilePaths','setTrackedInstance','brjAc','status','failure_type','trackEvent:\x20loaded\x20testData\x20for\x20testId:\x20','title','DEFAULT_TEST_RESULT','RBnTr','OSjVi','nOywP','PlaywrightTestFramework','get','KEY_HOOK_LOGS','KEY_TEST_META','testFrameworkVersion','info','INIT_TEST','Hook\x20Started\x20in\x20PRE\x20key\x20=\x20','addMultipleEntries','parallelIndex','NONE','getTestDetails','400wcXXby','getCurrentInstanceName','PRE','KEY_TEST_FRAMEWORK_VERSION','../cliUtils.js','PLuNO','KEY_HOOK_FAILURE_REASON','getTrackedInstance','trim','error','vTCYD','KEY_TEST_LOCATION','11090xrIsZS','KEY_TEST_ENDED_AT','TEST_ATTACHMENT','../TestInfo.js','MAX_TOP_LEVEL_STEPS','../../../helpers/helper.js','keyword','../customTagManager','yjllW','getAllData','KEY_TEST_FAILURE_REASON','\x20hookState:\x20','LsmUk','iWQIJ','KEY_TEST_UUID','parsePlaywrightTest','text','format','startTime','64558STTcHa','createContext','test','Error\x20in\x20createTestFrameworkEventPayload:\x20','XlrDl','KEY_TEST_FILE_PATH','FQFLH','JUZlh','kYiXC','failed','./testFramework','IkmjH','getTime','VCeue','debug','trackEvent\x20loading\x20testResults\x20for\x20testId:\x20','TZVMU','err','KEY_HOOKS_FINISHED','getTestFrameworksVersions','muzYo','createTestFrameworkEventPayload:\x20complete\x20for\x20testId:\x20','trackEvent:\x20found\x20instance,\x20testFrameworkState=','../grpcClient','KEY_TEST_RERUN_NAME','sendLogCreatedEvent','endedAt','CYmth','trackEvent\x20loading\x20testData\x20for\x20testId:\x20','RHuPN','expectedStatus','has','DEFAULT_HOOK_RESULT','KEY_LOGS','trackPlaywrightInstance:\x20saved\x20instance\x20contextId=','Error\x20processing\x20trace\x20file\x20','instance','KEY_TEST_FAILURE','inspect','671489LllPjt','\x20&\x20hook\x20=\x20','BynHG','sendLogCreatedEvent:\x20testId=','size','eventJson','oHLNB','LuZPb','errors','ilHlf','length','KEY_TEST_RETRY_OF','browserstackPlatformIndex','OcPMA','lbSNq','parent_id','push','KEY_EVENT_STARTED_AT','KEY_TEST_FAILURE_TYPE','executionContext','../../playwright/reporter/pwUtils','base64','2670kICEmP','9119KINhCt','./constants/testFrameworkConstants.js','../state/testFrameworkState.js','\x20batch\x20','RdWLV','getThreadId','OWgnh','../../../helpers/test-observability/utils','toISOString','mRioS','Mutrd','set','timedOut','\x20from\x20TestDetails:\x20','Error\x20processing\x20direct\x20trace\x20file\x20','KEY_TEST_ID','\x20target=','AHISr','fail','KEY_CUSTOM_TAGS','logCreatedEvent','split','EKFjF','forEach','favbz','syTBp','16GtSNiZ','result','iDCdj','TEST','testFrameworkState','KEY_TEST_LOGS','TEST_SCREENSHOT','POST','trackPlaywrightInstance:\x20created\x20instance\x20for\x20target=','ZVjCH','parsePlaywrightTestResult:\x20extracted\x20','toString','some','AotoD','gRUIT','VUSVX','logs','ijfKv','hook','retry','nibdV','duration'];a100_0x5818=function(){return _0x4e763d;};return a100_0x5818();}(function(_0x1d1d66,_0x300ef0){const _0xc913ae=a100_0x1df1,_0x1f6851=_0x1d1d66();while(!![]){try{const _0x24bcd1=parseInt(_0xc913ae(0x1a6))/0x1+-parseInt(_0xc913ae(0x241))/0x2+-parseInt(_0xc913ae(0x1e3))/0x3*(-parseInt(_0xc913ae(0x187))/0x4)+-parseInt(_0xc913ae(0x271))/0x5*(parseInt(_0xc913ae(0x217))/0x6)+-parseInt(_0xc913ae(0x1cd))/0x7*(parseInt(_0xc913ae(0x1fe))/0x8)+-parseInt(_0xc913ae(0x228))/0x9*(-parseInt(_0xc913ae(0x193))/0xa)+parseInt(_0xc913ae(0x1e4))/0xb*(parseInt(_0xc913ae(0x22e))/0xc);if(_0x24bcd1===_0x300ef0)break;else _0x1f6851['push'](_0x1f6851['shift']());}catch(_0x54a12f){_0x1f6851['push'](_0x1f6851['shift']());}}}(a100_0x5818,0x5338d));const TestFramework=require(a100_0x3d08ef(0x1b0)),TestFrameworkState=require(a100_0x3d08ef(0x1e6)),HookState=require(a100_0x3d08ef(0x23d)),{createClassLogger}=require('../../../helpers/classLogger.js'),TestFrameworkInstance=require('../instances/testFrameworkInstance.js'),CLIUtils=require(a100_0x3d08ef(0x18b)),TrackedInstance=require(a100_0x3d08ef(0x268)),TestFrameworkConstants=require(a100_0x3d08ef(0x1e5)),logger=createClassLogger(a100_0x3d08ef(0x17b)),{v4:uuidv4}=require('uuid'),util=require(a100_0x3d08ef(0x236)),{getPlaywrightSessionName,getPlaywrightTestFilePath,getPlaywrightTestId,getPlaywrightTestTitle,getPlaywrightTestTags,getPlaywrightTestCode,getPlaywrightTestScope,getPlaywrightTestScopes,getStepsAndLogs,getScreenshots,getVideos,getPlaywrightCustomRerunParam,getMediaArtifactsLogs,getManualUploadLogs,updatePayloadForTraceLogs}=require(a100_0x3d08ef(0x198)),TestInfo=require(a100_0x3d08ef(0x196)),GrpcClient=require(a100_0x3d08ef(0x1bd)),{removeAnsiColors,getFailureType,failureData}=require(a100_0x3d08ef(0x1eb)),{getFailureData,getTestTags,getTestRunIdentifier}=require(a100_0x3d08ef(0x1e1)),{findNestedKey,sendTraceZip,validateFilePath}=require(a100_0x3d08ef(0x1e1)),path=require('path'),fs=require('fs'),helper=require(a100_0x3d08ef(0x21d)),{PLAYWRIGHT_TRACE_LOGS}=require(a100_0x3d08ef(0x25e)),PLAYWRIGHT_BUILTIN_ANNOTATIONS=new Set([a100_0x3d08ef(0x231),'fixme','slow',a100_0x3d08ef(0x1f6)]);class PlaywrightTestFramework extends TestFramework{constructor(_0x166551,_0x2ade82,_0x17035c){super(_0x166551,_0x2ade82,_0x17035c);}async[a100_0x3d08ef(0x259)](_0x4a349e,_0xab1665,_0x1a6ad5={}){const _0x4b7e48=a100_0x3d08ef,_0x3624ad={'ijfKv':function(_0x2c8850,_0x2a22e2){return _0x2c8850===_0x2a22e2;},'qrQIW':function(_0x48e7be,_0x33b548){return _0x48e7be===_0x33b548;},'yTfcQ':function(_0x296eec,_0x2aa0de,_0x1124e6){return _0x296eec(_0x2aa0de,_0x1124e6);},'LsmUk':function(_0x4b5026,_0x30bf39){return _0x4b5026===_0x30bf39;},'hizYn':function(_0x575928,_0x28212e,_0x23f0da){return _0x575928(_0x28212e,_0x23f0da);},'PLuNO':function(_0x1ee6f4,_0x555476,_0x4d9fca,_0x26c482){return _0x1ee6f4(_0x555476,_0x4d9fca,_0x26c482);},'oHLNB':_0x4b7e48(0x1a8),'OcPMA':_0x4b7e48(0x22d)};super[_0x4b7e48(0x259)](_0x4a349e,_0xab1665,_0x1a6ad5);if(_0x3624ad[_0x4b7e48(0x20f)](_0x4a349e,TestFrameworkState[_0x4b7e48(0x204)])){const _0x54b8f7=TestInfo['getTestIdentifierFromTestInfo'](_0x1a6ad5['test'],_0x1a6ad5[_0x4b7e48(0x1a8)][_0x4b7e48(0x211)]);TestInfo['setTestDetails'](_0x54b8f7,_0x1a6ad5[_0x4b7e48(0x1ff)],!![]);}if(_0x3624ad['qrQIW'](_0x4a349e,TestFrameworkState['TEST_STEP'])){this[_0x4b7e48(0x237)](_0x4a349e,_0xab1665,_0x1a6ad5);return;}const _0x6812f7=this['resolveInstance'](_0x4a349e,_0xab1665,_0x1a6ad5);if(!_0x6812f7)return;logger[_0x4b7e48(0x1b4)](_0x4b7e48(0x1bc)+_0x4a349e+_0x4b7e48(0x251)+_0xab1665+'\x20instanceId='+_0x6812f7['getRef']());try{if(_0x3624ad[_0x4b7e48(0x20f)](_0xab1665,HookState[_0x4b7e48(0x189)])&&_0x3624ad['qrQIW'](_0x4a349e,TestFrameworkState['TEST'])){const _0xde6f10=_0x1a6ad5[_0x4b7e48(0x1a8)];logger[_0x4b7e48(0x1b4)](_0x4b7e48(0x1c2)+_0xde6f10['id']+'}');const _0x4981f7=TestInfo['getTestUUID'](_0x3624ad['yTfcQ'](getTestRunIdentifier,_0xde6f10,_0x1a6ad5[_0x4b7e48(0x1ff)][_0x4b7e48(0x211)]));_0x6812f7[_0x4b7e48(0x183)](this[_0x4b7e48(0x1a2)](_0x4981f7,_0xde6f10,_0x1a6ad5[_0x4b7e48(0x1ff)])),logger['debug'](_0x4b7e48(0x27e)+_0xde6f10['id']+_0x4b7e48(0x256)+_0x4a349e+'\x20testHookState='+_0xab1665+_0x4b7e48(0x238)+_0x6812f7['getRef']());}if(_0x3624ad['ijfKv'](_0xab1665,HookState['POST'])&&_0x3624ad[_0x4b7e48(0x19f)](_0x4a349e,TestFrameworkState[_0x4b7e48(0x201)])){const _0x3697a7=_0x1a6ad5[_0x4b7e48(0x1a8)],_0x5d18c6=_0x1a6ad5[_0x4b7e48(0x1ff)];logger[_0x4b7e48(0x1b4)](_0x4b7e48(0x1b5)+_0x3697a7['id']);const _0x209ca6=_0x3624ad[_0x4b7e48(0x24c)](getTestRunIdentifier,_0x3697a7,_0x5d18c6[_0x4b7e48(0x211)]),_0x5c31fa=_0x6812f7[_0x4b7e48(0x19c)]()[_0x4b7e48(0x17c)](_0x209ca6)[TestFrameworkConstants[_0x4b7e48(0x1a1)]],{steps:_0x40da28,logs:_0x423675}=_0x3624ad[_0x4b7e48(0x18c)](getStepsAndLogs,_0x5d18c6['steps'],_0x5c31fa,_0x3624ad[_0x4b7e48(0x1d3)]);_0x6812f7[_0x4b7e48(0x183)](this[_0x4b7e48(0x216)](_0x3697a7['id'],_0x5d18c6,_0x3697a7,_0x40da28)),await this[_0x4b7e48(0x1bf)](_0x6812f7,_0x4a349e,_0xab1665,_0x3624ad[_0x4b7e48(0x1d3)],_0x1a6ad5,_0x423675);}if(CLIUtils['matchHookRegex'](_0x4a349e['toString']()[_0x4b7e48(0x1f9)]('.')[0x1])){const _0x45852e=await this[_0x4b7e48(0x25a)](_0x6812f7,_0x4a349e,_0xab1665,_0x1a6ad5);_0x6812f7[_0x4b7e48(0x183)](_0x45852e);}}catch(_0x4853b9){logger['error'](util[_0x4b7e48(0x1a4)](_0x3624ad[_0x4b7e48(0x1da)],_0x4a349e,_0xab1665,_0x1a6ad5['length'],_0x4853b9));}_0x1a6ad5[_0x4b7e48(0x1ca)]=_0x6812f7,await this[_0x4b7e48(0x230)](_0x6812f7,_0x4a349e,_0xab1665,_0x1a6ad5);}[a100_0x3d08ef(0x269)](_0x21fa11,_0x3c13cf,_0xc9b638={}){const _0x5b50bd=a100_0x3d08ef,_0x505436={};_0x505436['RStzT']=function(_0x29fe8d,_0x3b1c84){return _0x29fe8d===_0x3b1c84;},_0x505436[_0x5b50bd(0x179)]=function(_0x3e4fc4,_0x20d04c){return _0x3e4fc4===_0x20d04c;};const _0x3910fd=_0x505436;let _0x4a588e=null;return(_0x3910fd[_0x5b50bd(0x23b)](_0x21fa11,TestFrameworkState[_0x5b50bd(0x181)])||_0x3910fd[_0x5b50bd(0x179)](_0x21fa11,TestFrameworkState['NONE']))&&this[_0x5b50bd(0x246)](_0x21fa11,_0xc9b638),_0x4a588e=TestFramework[_0x5b50bd(0x18e)](),_0x4a588e;}[a100_0x3d08ef(0x246)](_0x166f3b,_0x4ea3ad){const _0x2a4e09=a100_0x3d08ef,_0x228bea=CLIUtils[_0x2a4e09(0x188)](),_0x5e711c=TrackedInstance[_0x2a4e09(0x1a7)](_0x228bea);let _0x1d0c60=null;logger[_0x2a4e09(0x180)](_0x2a4e09(0x206)+_0x228bea+_0x2a4e09(0x23c)+_0x166f3b),_0x1d0c60=new TestFrameworkInstance(_0x5e711c,this[_0x2a4e09(0x21e)](),this[_0x2a4e09(0x1b9)](),_0x166f3b,HookState[_0x2a4e09(0x185)]),TestFramework[_0x2a4e09(0x27a)](_0x5e711c,_0x1d0c60),logger['info'](_0x2a4e09(0x1c8)+_0x5e711c[_0x2a4e09(0x249)]()+_0x2a4e09(0x1f4)+_0x228bea);}[a100_0x3d08ef(0x1a2)](_0x4da330,_0x1a6839,_0x3e0a31){const _0x353c31=a100_0x3d08ef,_0x37ae2a={'CYmth':function(_0xe26668,_0x358f84){return _0xe26668(_0x358f84);},'fUXzS':function(_0x4cc1ae,_0x105db7){return _0x4cc1ae(_0x105db7);},'bgdXF':function(_0x5aaa90,_0x570037){return _0x5aaa90(_0x570037);},'XpEAR':function(_0x1b4c87,_0x575a97){return _0x1b4c87(_0x575a97);},'oKxkQ':function(_0x1e36c1,_0x4608ca){return _0x1e36c1(_0x4608ca);},'yjllW':function(_0xbeaa7c,_0x4d8ae9){return _0xbeaa7c(_0x4d8ae9);},'NJCMs':function(_0x4c4177,_0x50ca27,_0x32f686){return _0x4c4177(_0x50ca27,_0x32f686);}},_0x2ce72a=_0x37ae2a['CYmth'](getPlaywrightTestId,_0x1a6839),_0x57a17d=_0x37ae2a[_0x353c31(0x226)](getPlaywrightTestTitle,_0x1a6839),_0x2256a9=_0x37ae2a['bgdXF'](getTestTags,_0x1a6839),_0x1fb9d7=_0x37ae2a['bgdXF'](getPlaywrightTestCode,_0x1a6839),_0x156ef7=_0x37ae2a['XpEAR'](getPlaywrightTestFilePath,_0x1a6839),_0x9d5248=_0x156ef7,_0x5de283=_0x37ae2a[_0x353c31(0x1c1)](getPlaywrightTestScope,_0x1a6839),_0xd4fff9=_0x37ae2a[_0x353c31(0x23f)](getPlaywrightTestScopes,_0x1a6839),_0x21c72e=_0x37ae2a[_0x353c31(0x19b)](getPlaywrightSessionName,_0x1a6839),_0x206544=this[_0x353c31(0x21e)]()[0x0],_0x2c71cd=_0x37ae2a[_0x353c31(0x243)](getTestRunIdentifier,_0x1a6839,_0x3e0a31[_0x353c31(0x211)]),_0x36228a={[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x206544,[TestFrameworkConstants[_0x353c31(0x18a)]]:this['getTestFrameworksVersions']()[_0x206544],[TestFrameworkConstants[_0x353c31(0x203)]]:[],[TestFrameworkConstants[_0x353c31(0x1b8)]]:{},[TestFrameworkConstants[_0x353c31(0x235)]]:{},[TestFrameworkConstants[_0x353c31(0x1a1)]]:_0x4da330,[TestFrameworkConstants['KEY_TEST_RESULT']]:TestFrameworkConstants[_0x353c31(0x177)],[TestFrameworkConstants[_0x353c31(0x22a)]]:_0x21c72e,[TestFrameworkConstants[_0x353c31(0x1ab)]]:_0x156ef7,[TestFrameworkConstants[_0x353c31(0x1f3)]]:_0x2ce72a,[TestFrameworkConstants['KEY_TEST_NAME']]:_0x57a17d,[TestFrameworkConstants[_0x353c31(0x192)]]:_0x9d5248,[TestFrameworkConstants[_0x353c31(0x257)]]:_0x1fb9d7,[TestFrameworkConstants['KEY_TEST_TAGS']]:_0x2256a9,[TestFrameworkConstants['KEY_TEST_STARTED_AT']]:_0x1a6839['results'][0x0][_0x353c31(0x1a5)],[TestFrameworkConstants['KEY_TEST_SCOPE']]:_0x5de283,[TestFrameworkConstants[_0x353c31(0x277)]]:_0xd4fff9,[TestFrameworkConstants[_0x353c31(0x1be)]]:_0x37ae2a[_0x353c31(0x23f)](getPlaywrightCustomRerunParam,_0x1a6839)};TestInfo[_0x353c31(0x219)](_0x2c71cd,_0x36228a);const _0x3f31c7={};return _0x3f31c7[_0x2c71cd]=_0x36228a,_0x3f31c7;}[a100_0x3d08ef(0x216)](_0x56ccf4,_0x4d141a,_0x3ec42c,_0xa91813){const _0x264f6d=a100_0x3d08ef,_0x408f42={'oISjr':function(_0x770a34,_0x34d888){return _0x770a34(_0x34d888);},'BynHG':_0x264f6d(0x195),'RBnTr':function(_0x2ddf82,_0xc2c0b1){return _0x2ddf82===_0xc2c0b1;},'NWvPE':function(_0x284c9c,_0x180e31){return _0x284c9c===_0x180e31;},'LFgMR':function(_0x551df6,_0x1a3f6f){return _0x551df6===_0x1a3f6f;},'LuZPb':function(_0x4e0e8e,_0x488287){return _0x4e0e8e(_0x488287);},'FmFTW':_0x264f6d(0x262),'ZLwYD':function(_0x5bd372,_0x162945){return _0x5bd372(_0x162945);},'AHISr':function(_0x50c8d0,_0x3d4f48,_0x24304a){return _0x50c8d0(_0x3d4f48,_0x24304a);},'AotoD':function(_0x4ff4db,_0x2e3c15){return _0x4ff4db===_0x2e3c15;},'VUSVX':_0x264f6d(0x25c),'FQFLH':_0x264f6d(0x247),'LhSwm':_0x264f6d(0x1af),'TZVMU':function(_0x51c4bd,_0x8b07bf){return _0x51c4bd===_0x8b07bf;},'ztYaT':_0x264f6d(0x1f0),'EKFjF':_0x264f6d(0x272),'gRUIT':function(_0x1a7b00,_0x4fd0ab){return _0x1a7b00||_0x4fd0ab;},'XlrDl':function(_0x311c11,_0x2ec746){return _0x311c11>_0x2ec746;},'gCVUF':function(_0x111b44,_0x3bff58,_0x2d9eb4){return _0x111b44(_0x3bff58,_0x2d9eb4);},'Mutrd':function(_0xde6999,_0x3eb929){return _0xde6999-_0x3eb929;},'Tsqdr':function(_0x1a0dd8,_0x1deae3,_0x4261a6,_0x59667d){return _0x1a0dd8(_0x1deae3,_0x4261a6,_0x59667d);},'KJIQd':_0x264f6d(0x1a8),'kYiXC':function(_0x203dcc,_0x24e881){return _0x203dcc===_0x24e881;},'dRUNb':function(_0x411ec3,_0x48b192){return _0x411ec3>=_0x48b192;},'ilHlf':function(_0x31f817,_0x1c4fe){return _0x31f817+_0x1c4fe;},'iDCdj':_0x264f6d(0x222),'uhOWA':function(_0x1f4ef7,_0xacbbb1,_0x18e3d4){return _0x1f4ef7(_0xacbbb1,_0x18e3d4);},'JUZlh':function(_0x53541a,_0x481cb0){return _0x53541a>_0x481cb0;},'YSaRX':function(_0x456f21,_0x51ba37){return _0x456f21(_0x51ba37);},'oeBKV':_0x264f6d(0x19a)};logger[_0x264f6d(0x1b4)]('parsePlaywrightTestResult:\x20testId='+_0x56ccf4);const _0x2de008=_0x408f42['AHISr'](getTestRunIdentifier,_0x3ec42c,_0x4d141a[_0x264f6d(0x211)]),_0x3784bf=new Date(),_0x4888d6=_0x4d141a[_0x264f6d(0x27c)],_0x5bd746=TestInfo[_0x264f6d(0x186)](_0x2de008)[TestFrameworkConstants['KEY_CUSTOM_TAGS']]||{};let _0x4a8191=_0x4888d6;if(_0x408f42['RBnTr'](_0x4d141a[_0x264f6d(0x27c)],_0x3ec42c['expectedStatus']))_0x4a8191=_0x408f42[_0x264f6d(0x20b)](_0x4d141a['status'],_0x408f42[_0x264f6d(0x20d)])?_0x408f42[_0x264f6d(0x20d)]:_0x408f42[_0x264f6d(0x1ac)];else{(_0x408f42['LFgMR'](_0x4a8191,_0x408f42['FQFLH'])||_0x408f42[_0x264f6d(0x178)](_0x4a8191,_0x408f42[_0x264f6d(0x21b)])||_0x408f42[_0x264f6d(0x1b6)](_0x4a8191,_0x408f42['ztYaT']))&&(_0x4a8191=_0x408f42['LhSwm']);if(_0x408f42[_0x264f6d(0x26b)](_0x4d141a[_0x264f6d(0x27c)],_0x408f42['FQFLH'])&&_0x408f42[_0x264f6d(0x252)](_0x3ec42c[_0x264f6d(0x1c4)],_0x408f42['LhSwm'])){const _0x347440={};_0x347440[_0x264f6d(0x24d)]=_0x408f42[_0x264f6d(0x1fa)],_0x347440['stack']=_0x408f42['EKFjF'],_0x4d141a[_0x264f6d(0x190)]=_0x347440,_0x4d141a['errors']=[_0x4d141a[_0x264f6d(0x190)]];}}const {failureData:_0x47527a,logs:_0x4cfc10}=_0x408f42[_0x264f6d(0x1f5)](getFailureData,_0x4d141a?.[_0x264f6d(0x1d5)],{}),_0x332dd6={[TestFrameworkConstants[_0x264f6d(0x1cb)]]:_0x408f42[_0x264f6d(0x20c)](_0x47527a,null),[TestFrameworkConstants[_0x264f6d(0x1df)]]:_0x4d141a?.['error']&&_0x408f42[_0x264f6d(0x276)](getFailureType,_0x4d141a['error'][_0x264f6d(0x24d)]),[TestFrameworkConstants[_0x264f6d(0x19d)]]:_0x4d141a?.['error']&&_0x408f42[_0x264f6d(0x1d4)](removeAnsiColors,_0x4d141a['error'][_0x264f6d(0x24d)]),[TestFrameworkConstants[_0x264f6d(0x1c7)]]:[],[TestFrameworkConstants[_0x264f6d(0x225)]]:_0x4a8191,[TestFrameworkConstants[_0x264f6d(0x194)]]:_0x3784bf[_0x264f6d(0x1ec)](),[TestFrameworkConstants[_0x264f6d(0x26a)]]:new Date()[_0x264f6d(0x1ec)](),[TestFrameworkConstants[_0x264f6d(0x1f7)]]:_0x5bd746};if(_0x4d141a&&_0x408f42['XlrDl'](_0x4d141a[_0x264f6d(0x211)],0x0)){const _0x4e4b65=TestInfo['getTestUUID'](_0x408f42[_0x264f6d(0x270)](getTestRunIdentifier,_0x3ec42c,_0x408f42[_0x264f6d(0x1ee)](_0x4d141a[_0x264f6d(0x211)],0x1)));_0x332dd6[TestFrameworkConstants[_0x264f6d(0x1d8)]]=_0x4e4b65;}const _0x39b350={};_0x39b350[_0x264f6d(0x1a8)]=_0x3ec42c;const _0x5c9c62=this[_0x264f6d(0x269)](TestFrameworkState[_0x264f6d(0x201)],HookState['POST'],_0x39b350),_0x47bbf3=_0x5c9c62[_0x264f6d(0x19c)]()[_0x264f6d(0x17c)](_0x2de008)[TestFrameworkConstants['KEY_TEST_UUID']],_0x5e9668=_0xa91813||_0x408f42['Tsqdr'](getStepsAndLogs,_0x4d141a['steps'],_0x47bbf3,_0x408f42['KJIQd'])[_0x264f6d(0x234)],_0x5b1edd=new Map(),_0x12da7d=new Map();let _0x47794d=0x0;const _0xc398f7=[];for(const _0x27125e of _0x5e9668||[]){const _0x5a6f32=_0x27125e[_0x264f6d(0x1dc)]||null;let _0x3f9772;if(_0x408f42[_0x264f6d(0x1ae)](_0x5a6f32,null)){if(_0x408f42[_0x264f6d(0x23e)](_0x47794d,TestFrameworkConstants[_0x264f6d(0x197)]))continue;_0x3f9772=0x0,_0x47794d++;}else{const _0xc3244b=_0x5b1edd['get'](_0x5a6f32);if(_0x408f42[_0x264f6d(0x20b)](_0xc3244b,undefined))continue;_0x3f9772=_0x408f42[_0x264f6d(0x1d6)](_0xc3244b,0x1);if(_0x408f42['XlrDl'](_0x3f9772,TestFrameworkConstants[_0x264f6d(0x244)]))continue;}_0x5b1edd[_0x264f6d(0x1ef)](_0x27125e['id'],_0x3f9772),_0x12da7d[_0x264f6d(0x1ef)](_0x27125e['id'],_0x27125e[_0x264f6d(0x1a3)]),_0xc398f7[_0x264f6d(0x1dd)]({'id':_0x27125e['id'],'parent_id':_0x5a6f32,'parent_text':_0x5a6f32?_0x12da7d[_0x264f6d(0x17c)](_0x5a6f32)||'':'','text':_0x27125e[_0x264f6d(0x1a3)],'keyword':_0x27125e[_0x264f6d(0x199)]||null,'started_at':_0x27125e[_0x264f6d(0x278)],'duration':_0x27125e[_0x264f6d(0x213)]??null,'result':_0x27125e[_0x264f6d(0x1ff)],'failure':_0x27125e[_0x264f6d(0x240)]||null,'failure_type':_0x27125e[_0x264f6d(0x27d)]||null});}const _0x365933={};_0x365933[_0x264f6d(0x234)]=_0xc398f7,_0x332dd6[TestFrameworkConstants[_0x264f6d(0x17e)]]=_0x365933,logger[_0x264f6d(0x1b4)](_0x264f6d(0x208)+_0xc398f7[_0x264f6d(0x1d7)]+'\x20steps\x20for\x20testId='+_0x56ccf4);const _0x27cc6c=[],_0x16b63a=_0x408f42['AHISr'](findNestedKey,_0x4d141a,_0x408f42[_0x264f6d(0x200)]);if(_0x16b63a&&_0x408f42[_0x264f6d(0x276)](validateFilePath,_0x16b63a))try{_0x27cc6c[_0x264f6d(0x1dd)]({'kind':_0x408f42['BynHG'],'timestamp':new Date()[_0x264f6d(0x1ec)](),'test_run_uuid':_0x47bbf3,'file_name':path[_0x264f6d(0x26c)](_0x16b63a),'file_size':fs[_0x264f6d(0x21c)](_0x16b63a)[_0x264f6d(0x1d1)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x2921b5){logger[_0x264f6d(0x190)](_0x264f6d(0x1f2)+_0x16b63a+':\x20'+_0x2921b5['message']);}const _0x2af9a3=TestInfo[_0x264f6d(0x279)](),_0x392ceb=_0x2af9a3['filter'](_0x2711f3=>_0x2711f3['testUId']===_0x47bbf3);_0x392ceb[_0x264f6d(0x1fb)](_0x1ae454=>{const _0x1ba061=_0x264f6d;if(_0x1ae454[_0x1ba061(0x21f)]&&_0x408f42[_0x1ba061(0x276)](validateFilePath,_0x1ae454[_0x1ba061(0x21f)])&&!_0x27cc6c[_0x1ba061(0x20a)](_0x181025=>_0x181025['file_name']===path['basename'](_0x1ae454[_0x1ba061(0x21f)])))try{_0x27cc6c[_0x1ba061(0x1dd)]({'kind':_0x408f42[_0x1ba061(0x1cf)],'timestamp':new Date()[_0x1ba061(0x1ec)](),'test_run_uuid':_0x47bbf3,'file_name':path[_0x1ba061(0x26c)](_0x1ae454[_0x1ba061(0x21f)]),'file_size':fs[_0x1ba061(0x21c)](_0x1ae454[_0x1ba061(0x21f)])[_0x1ba061(0x1d1)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x2b3f96){logger[_0x1ba061(0x190)](_0x1ba061(0x1c9)+_0x1ae454[_0x1ba061(0x21f)]+_0x1ba061(0x1f1)+_0x2b3f96[_0x1ba061(0x24d)]);}});if(_0x408f42[_0x264f6d(0x1aa)](_0x27cc6c[_0x264f6d(0x1d7)],0x0)){const _0x19c4fc=_0x332dd6[TestFrameworkConstants['KEY_LOGS']]||[];_0x332dd6[TestFrameworkConstants['KEY_LOGS']]=[..._0x19c4fc,..._0x27cc6c];}const _0x5d0fb8=TestInfo[_0x264f6d(0x186)](_0x2de008)[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]||{},_0x3f9a2b=_0x408f42['uhOWA'](getManualUploadLogs,_0x5d0fb8,_0x5c9c62['getAllData']()[_0x264f6d(0x17c)](_0x2de008)[TestFrameworkConstants['KEY_TEST_UUID']]);if(_0x408f42[_0x264f6d(0x1ad)](_0x3f9a2b['length'],0x0)){const _0xe00ff4=_0x332dd6[TestFrameworkConstants[_0x264f6d(0x1c7)]]||[];_0x332dd6[TestFrameworkConstants['KEY_LOGS']]=[..._0xe00ff4,..._0x3f9a2b];}const _0x375d56=_0x3ec42c[_0x264f6d(0x229)]||[],_0x366508=_0x332dd6[TestFrameworkConstants[_0x264f6d(0x1f7)]]||{},_0x594a46=_0x408f42[_0x264f6d(0x275)](require,_0x408f42[_0x264f6d(0x260)]);_0x375d56[_0x264f6d(0x1fb)](_0x122293=>{const _0x264f44=_0x264f6d,{type:_0x3cd1fc}=_0x122293;let _0x1d7b1c=_0x122293[_0x264f44(0x24f)];if(!_0x3cd1fc)return;if(PLAYWRIGHT_BUILTIN_ANNOTATIONS[_0x264f44(0x1c5)](_0x3cd1fc))return;(_0x408f42[_0x264f44(0x178)](_0x1d7b1c,undefined)||_0x408f42['NWvPE'](_0x1d7b1c,null)||_0x408f42[_0x264f44(0x252)](_0x408f42[_0x264f44(0x1d4)](String,_0x1d7b1c)[_0x264f44(0x18f)](),''))&&(_0x1d7b1c=_0x408f42['FmFTW']);const _0x443f49=helper[_0x264f44(0x232)](_0x408f42[_0x264f44(0x24a)](String,_0x1d7b1c));_0x594a46['mergeIntoTags'](_0x366508,_0x3cd1fc,_0x443f49);}),_0x332dd6[TestFrameworkConstants[_0x264f6d(0x1f7)]]=_0x366508,TestInfo['setTestDetails'](_0x2de008,_0x332dd6);const _0x2379b3={};return _0x2379b3[_0x2de008]=_0x332dd6,_0x2379b3;}[a100_0x3d08ef(0x237)](_0x3988c6,_0x1a1205,_0x2ca398){const _0x494b23=a100_0x3d08ef,_0x3e4dab={'mRioS':function(_0x280a44,_0x5845e9){return _0x280a44||_0x5845e9;},'vMDZb':function(_0x503bc5,_0x3c585d,_0x539c67){return _0x503bc5(_0x3c585d,_0x539c67);}};try{const {test:_0x4a64cd,result:_0x1d3f78,step:_0x21c918}=_0x2ca398;if(_0x3e4dab[_0x494b23(0x1ed)](!_0x4a64cd,!_0x21c918)||!_0x1d3f78)return;const _0x1bb8ca=_0x3e4dab[_0x494b23(0x21a)](getTestRunIdentifier,_0x4a64cd,_0x1d3f78['retry']);logger[_0x494b23(0x1b4)](_0x494b23(0x258)+_0x1bb8ca+_0x494b23(0x251)+_0x1a1205+'\x20step=\x22'+_0x21c918[_0x494b23(0x176)]+'\x22');}catch(_0x5f583b){logger['error']('trackStepEvent:\x20exception='+util[_0x494b23(0x1a4)](_0x5f583b));}}async[a100_0x3d08ef(0x25a)](_0x323c48,_0x4ec65,_0x3e210e,_0x452026){const _0x53f529=a100_0x3d08ef,_0x47e5b1={'lbSNq':function(_0x3ab7fc,_0x55405d,_0x443ea4){return _0x3ab7fc(_0x55405d,_0x443ea4);},'nFQHf':function(_0x53a389,_0x49ce09){return _0x53a389 in _0x49ce09;},'OGCQr':function(_0xbe2b12,_0x1b5e22){return _0xbe2b12 in _0x1b5e22;},'favbz':function(_0x2f2fb6,_0x11fdf0){return _0x2f2fb6(_0x11fdf0);},'JqBQz':function(_0x1dfaf3,_0x29c881){return _0x1dfaf3===_0x29c881;},'Rtlxm':function(_0x2bc207){return _0x2bc207();},'rrhlh':function(_0x37ef38,_0x546216){return _0x37ef38>_0x546216;},'vetWB':_0x53f529(0x1b7),'nOywP':function(_0x6531e5,_0x5ae851){return _0x6531e5(_0x5ae851);},'iBHus':function(_0x31fa35,_0x5d72b1){return _0x31fa35(_0x5d72b1);},'syTBp':_0x53f529(0x1af),'IkmjH':_0x53f529(0x247),'RHuPN':function(_0xad0456,_0x581b26){return _0xad0456!==_0x581b26;},'FuSmu':function(_0x614006,_0x9a07ed){return _0x614006+_0x9a07ed;},'gyVkb':_0x53f529(0x210)},_0x2b53d2=_0x452026[_0x53f529(0x1a8)],_0x2a00c6=_0x452026[_0x53f529(0x26f)],_0x57de87=_0x47e5b1[_0x53f529(0x1db)](getTestRunIdentifier,_0x2b53d2,_0x452026[_0x53f529(0x1ff)]['retry']),_0x6ec940=_0x4ec65[_0x53f529(0x209)]()[_0x53f529(0x1f9)]('.')[0x1];let _0x292444=_0x323c48['getAllData']()[_0x53f529(0x17c)](_0x57de87)[TestFrameworkConstants['KEY_HOOKS_STARTED']];!_0x292444&&(_0x292444={});!_0x47e5b1['nFQHf'](_0x6ec940,_0x292444)&&(_0x292444[_0x6ec940]=[]);let _0x5e1aa4=_0x323c48[_0x53f529(0x19c)]()['get'](_0x57de87)[TestFrameworkConstants['KEY_HOOKS_FINISHED']];!_0x5e1aa4&&(_0x5e1aa4={});!_0x47e5b1[_0x53f529(0x223)](_0x6ec940,_0x5e1aa4)&&(_0x5e1aa4[_0x6ec940]=[]);const _0x122516={[TestFrameworkConstants[_0x53f529(0x235)]]:_0x292444,[TestFrameworkConstants['KEY_HOOKS_FINISHED']]:_0x5e1aa4},_0x1263f4={};_0x1263f4[_0x57de87]=_0x122516;const _0x3bf660=_0x1263f4,_0x54c7e6=_0x47e5b1[_0x53f529(0x1fc)](getPlaywrightTestFilePath,_0x2b53d2),_0xe7bac=_0x54c7e6,_0x4f7666=TestInfo[_0x53f529(0x186)](_0x57de87)[TestFrameworkConstants[_0x53f529(0x1f7)]]||{};if(_0x47e5b1[_0x53f529(0x255)](_0x3e210e,HookState[_0x53f529(0x189)])){const _0x5db232={'key':_0x6ec940,[TestFrameworkConstants[_0x53f529(0x22f)]]:_0x47e5b1[_0x53f529(0x227)](uuidv4),[TestFrameworkConstants[_0x53f529(0x261)]]:TestFrameworkConstants[_0x53f529(0x1c6)],[TestFrameworkConstants[_0x53f529(0x1de)]]:_0x2a00c6['startTime'],[TestFrameworkConstants[_0x53f529(0x17d)]]:[],[TestFrameworkConstants[_0x53f529(0x218)]]:_0x2a00c6[_0x53f529(0x176)],[TestFrameworkConstants[_0x53f529(0x1ab)]]:_0x54c7e6,[TestFrameworkConstants[_0x53f529(0x192)]]:_0xe7bac,[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:_0x4f7666};_0x292444[_0x6ec940][_0x53f529(0x1dd)](_0x5db232),_0x3bf660[_0x57de87][TestFrameworkConstants['KEY_HOOK_LAST_STARTED']]=_0x6ec940,logger[_0x53f529(0x1b4)](_0x53f529(0x182)+_0x6ec940+_0x53f529(0x1ce)+_0x5db232+_0x53f529(0x254)+_0x452026);}else{if(_0x47e5b1[_0x53f529(0x255)](_0x3e210e,HookState[_0x53f529(0x205)])){const _0x10c792=await _0x452026[_0x53f529(0x1ff)],_0x159436=_0x292444[_0x6ec940]||[],_0x953bc5=_0x452026[_0x53f529(0x26f)];logger[_0x53f529(0x1b4)]('Hook\x20List\x20in\x20Post\x20'+_0x159436+'\x20and\x20args\x20=\x20'+_0x452026);if(_0x47e5b1[_0x53f529(0x224)](_0x159436[_0x53f529(0x1d7)],0x0)){const _0x257a65=_0x159436[_0x53f529(0x233)]();if(_0x953bc5[_0x53f529(0x190)]){const _0x4debd8=_0x47e5b1[_0x53f529(0x1db)](failureData,_0x953bc5[_0x53f529(0x190)],_0x47e5b1[_0x53f529(0x248)]);_0x257a65[TestFrameworkConstants[_0x53f529(0x220)]]=_0x47e5b1[_0x53f529(0x17a)](getFailureType,_0x953bc5?.['error'][_0x53f529(0x24d)]),_0x257a65[TestFrameworkConstants[_0x53f529(0x18d)]]=_0x47e5b1['iBHus'](removeAnsiColors,_0x953bc5?.[_0x53f529(0x190)][_0x53f529(0x24d)]),_0x257a65[TestFrameworkConstants['KEY_HOOK_RESULT']]=_0x47e5b1[_0x53f529(0x1fd)],_0x257a65[TestFrameworkConstants['KEY_HOOK_FAILURE']]=_0x4debd8;}else _0x257a65[TestFrameworkConstants[_0x53f529(0x261)]]=_0x47e5b1[_0x53f529(0x1b1)];_0x47e5b1[_0x53f529(0x1c3)](_0x10c792,TestFrameworkConstants[_0x53f529(0x1c6)])&&(_0x257a65[TestFrameworkConstants[_0x53f529(0x261)]]=!_0x953bc5[_0x53f529(0x190)]?_0x47e5b1[_0x53f529(0x1b1)]:_0x47e5b1[_0x53f529(0x1fd)]);const _0x52361b=new Date(_0x953bc5['startTime']),_0x102323=new Date(_0x47e5b1['FuSmu'](_0x52361b[_0x53f529(0x1b2)](),_0x953bc5[_0x53f529(0x213)]));_0x257a65[TestFrameworkConstants['KEY_EVENT_ENDED_AT']]=_0x102323[_0x53f529(0x1ec)](),_0x257a65[TestFrameworkConstants[_0x53f529(0x1f7)]]=_0x4f7666;const _0x2b4a6d=_0x257a65[TestFrameworkConstants[_0x53f529(0x22f)]];await this['sendLogCreatedEvent'](_0x323c48,_0x4ec65,_0x2b4a6d,_0x47e5b1[_0x53f529(0x242)],_0x452026),!_0x5e1aa4[_0x6ec940]&&(_0x5e1aa4[_0x6ec940]=[]),_0x5e1aa4[_0x6ec940][_0x53f529(0x1dd)](_0x257a65),_0x3bf660[_0x57de87][TestFrameworkConstants['KEY_HOOK_LAST_FINISHED']]=_0x6ec940;}}}return _0x3bf660;}async[a100_0x3d08ef(0x1bf)](_0x1cd6b5,_0x3dc9fb,_0xf2090d,_0x201e7f,_0x292d80,_0x175aea){const _0x28f376=a100_0x3d08ef,_0x1a1397={'nibdV':function(_0x34e534,_0x45a9b1){return _0x34e534===_0x45a9b1;},'vTCYD':_0x28f376(0x1a8),'VCeue':function(_0x4f2381,_0x59f8d1,_0x32c0ae){return _0x4f2381(_0x59f8d1,_0x32c0ae);},'NEjQj':function(_0x212dd7,_0x4ace29,_0x16ac3f){return _0x212dd7(_0x4ace29,_0x16ac3f);},'gCUCw':_0x28f376(0x265),'WGhgJ':function(_0x66b5ea,_0x4b437b,_0x4a9b7e,_0x1db699){return _0x66b5ea(_0x4b437b,_0x4a9b7e,_0x1db699);},'sosFF':function(_0x4042b7,_0x3ab03b,_0x27bda8){return _0x4042b7(_0x3ab03b,_0x27bda8);},'cjdUe':function(_0x36274b,_0x23da5d){return _0x36274b/_0x23da5d;},'brjAc':function(_0x44e073,_0x10893b){return _0x44e073<_0x10893b;},'muzYo':function(_0x211a3b,_0x7487d3){return _0x211a3b*_0x7487d3;},'Zdnns':function(_0x5ee1c7,_0x44aeec){return _0x5ee1c7+_0x44aeec;},'UXVzv':function(_0x4207aa,_0x48e7a1,_0x43c840,_0x164624,_0xe522e5){return _0x4207aa(_0x48e7a1,_0x43c840,_0x164624,_0xe522e5);},'GNBHy':function(_0x4f2afe,_0x1e5fde){return _0x4f2afe+_0x1e5fde;},'iWQIJ':function(_0x51e99c,_0x5eacb0){return _0x51e99c+_0x5eacb0;},'OWgnh':_0x28f376(0x210)};try{if(_0x1a1397[_0x28f376(0x212)](_0x201e7f,_0x1a1397[_0x28f376(0x191)])){const _0x23fbd1=await _0x292d80['result'],_0x5efd5a=_0x1a1397[_0x28f376(0x1b3)](getTestRunIdentifier,_0x292d80['test'],_0x292d80[_0x28f376(0x1ff)]['retry']),_0x4dbeee=_0x292d80[_0x28f376(0x1a8)];logger['debug']('sendLogCreatedEvent:\x20testId='+_0x5efd5a+_0x28f376(0x263)+util[_0x28f376(0x1cc)](_0x23fbd1));const _0x326903=_0x1cd6b5[_0x28f376(0x19c)]()[_0x28f376(0x17c)](_0x5efd5a)[TestFrameworkConstants[_0x28f376(0x1a1)]];await _0x1a1397[_0x28f376(0x253)](sendTraceZip,_0x23fbd1,_0x326903);const _0x268f61=TestInfo['getTestDetails'](_0x5efd5a)[_0x1a1397['gCUCw']],_0x5985e6={};if(_0x268f61){!_0x23fbd1[_0x28f376(0x265)]&&(_0x23fbd1[_0x28f376(0x265)]=[]);_0x5985e6['attachments']=_0x23fbd1[_0x28f376(0x265)]['concat'](_0x268f61||[]);const _0x27603c=TestInfo[_0x28f376(0x186)](_0x5efd5a);delete _0x27603c[_0x1a1397['gCUCw']],TestInfo[_0x28f376(0x219)](_0x5efd5a,_0x27603c);}const _0x32b5ed=_0x175aea||_0x1a1397[_0x28f376(0x26d)](getStepsAndLogs,_0x23fbd1[_0x28f376(0x234)],_0x1cd6b5[_0x28f376(0x19c)]()[_0x28f376(0x17c)](_0x5efd5a)[TestFrameworkConstants[_0x28f376(0x1a1)]],_0x1a1397[_0x28f376(0x191)])[_0x28f376(0x20e)],_0x296e46=_0x1a1397[_0x28f376(0x1b3)](getScreenshots,_0x5985e6,_0x1cd6b5[_0x28f376(0x19c)]()[_0x28f376(0x17c)](_0x5efd5a)[TestFrameworkConstants[_0x28f376(0x1a1)]]),_0x1c0014=_0x1a1397[_0x28f376(0x253)](getVideos,_0x23fbd1,_0x1cd6b5[_0x28f376(0x19c)]()[_0x28f376(0x17c)](_0x5efd5a)[TestFrameworkConstants[_0x28f376(0x1a1)]]),{_:_0x54d206,logs:_0x381a1a}=_0x1a1397[_0x28f376(0x1b3)](getFailureData,_0x23fbd1[_0x28f376(0x1d5)],{'test_run_uuid':_0x1cd6b5[_0x28f376(0x19c)]()[_0x28f376(0x17c)](_0x5efd5a)[TestFrameworkConstants['KEY_TEST_UUID']]}),_0x246089=TestInfo[_0x28f376(0x186)](_0x5efd5a)[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]||{},_0x3acd13=_0x1a1397['sosFF'](getMediaArtifactsLogs,_0x246089,_0x1cd6b5[_0x28f376(0x19c)]()[_0x28f376(0x17c)](_0x5efd5a)[TestFrameworkConstants[_0x28f376(0x1a1)]]),_0x5e1ac6=_0x1cd6b5[_0x28f376(0x19c)]()[_0x28f376(0x17c)](_0x5efd5a),{[TestFrameworkConstants[_0x28f376(0x22c)]]:_0x128819='',[TestFrameworkConstants[_0x28f376(0x18a)]]:_0x2ed55d=''}=_0x5e1ac6,_0x3eb4bc=(_0x32b5ed||[])[_0x28f376(0x221)](_0x296e46||[])[_0x28f376(0x221)](_0x381a1a||[])['concat'](_0x1c0014||[])[_0x28f376(0x221)](_0x3acd13||[]),_0x561bbf=0x28,_0x1a1048=Math[_0x28f376(0x264)](_0x1a1397[_0x28f376(0x245)](_0x3eb4bc[_0x28f376(0x1d7)],_0x561bbf));for(let _0x2a1c75=0x0;_0x1a1397[_0x28f376(0x27b)](_0x2a1c75,_0x1a1048);_0x2a1c75++){const _0x432339=_0x1a1397[_0x28f376(0x1ba)](_0x2a1c75,_0x561bbf),_0x3ebc5e=_0x1a1397[_0x28f376(0x273)](_0x432339,_0x561bbf),_0x4721a3=_0x3eb4bc['slice'](_0x432339,_0x3ebc5e),_0x1188f2={'platformIndex':global?.[_0x28f376(0x1d9)]??0x0,'logs':_0x4721a3,'testFrameworkName':_0x128819,'testFrameworkVersion':_0x2ed55d,'testFrameworkState':_0x3dc9fb[_0x28f376(0x209)]()[_0x28f376(0x1f9)]('.')[0x1]};_0x1a1397[_0x28f376(0x239)](updatePayloadForTraceLogs,_0x1188f2,_0x292d80,_0x5efd5a,_0x1cd6b5),logger[_0x28f376(0x1b4)](_0x28f376(0x26e)+_0x5efd5a+_0x28f376(0x1e7)+_0x1a1397[_0x28f376(0x24b)](_0x2a1c75,0x1)+'/'+_0x1a1048+'\x20payload='+util[_0x28f376(0x1cc)](_0x1188f2));const _0x54dbb2=await GrpcClient[_0x28f376(0x274)]()[_0x28f376(0x1f8)](_0x1188f2);logger[_0x28f376(0x1b4)](_0x28f376(0x26e)+_0x5efd5a+'\x20batch\x20'+_0x1a1397[_0x28f376(0x1a0)](_0x2a1c75,0x1)+'/'+_0x1a1048+'\x20response='+util['inspect'](_0x54dbb2));}}else{const {logs:_0x4de9e6}=_0x1a1397[_0x28f376(0x26d)](getStepsAndLogs,_0x292d80['step']['steps'],_0xf2090d,_0x1a1397[_0x28f376(0x1ea)]),_0x396ef0=_0x1a1397[_0x28f376(0x1b3)](getTestRunIdentifier,_0x292d80[_0x28f376(0x1a8)],_0x292d80['result']['retry']);logger[_0x28f376(0x1b4)](_0x28f376(0x1d0)+_0x396ef0);const _0x3d21dd=_0x1cd6b5[_0x28f376(0x19c)]()[_0x28f376(0x17c)](_0x396ef0),{[TestFrameworkConstants[_0x28f376(0x22c)]]:_0x1c19b9='',[TestFrameworkConstants[_0x28f376(0x18a)]]:_0x9c69ae=''}=_0x3d21dd,_0x198391={'platformIndex':'0','logs':_0x4de9e6,'testFrameworkName':_0x1c19b9,'testFrameworkVersion':_0x9c69ae,'testFrameworkState':_0x3dc9fb[_0x28f376(0x209)]()['split']('.')[0x1]};_0x1a1397[_0x28f376(0x239)](updatePayloadForTraceLogs,_0x198391,_0x292d80,_0x396ef0,_0x1cd6b5),logger[_0x28f376(0x1b4)]('sendLogCreatedEvent\x20for\x20testId:\x20'+_0x396ef0+_0x28f376(0x25f)+util[_0x28f376(0x1cc)](_0x198391));const _0x2c0ed0=await GrpcClient[_0x28f376(0x274)]()[_0x28f376(0x1f8)](_0x198391);}}catch(_0x46b5d3){logger[_0x28f376(0x190)](_0x28f376(0x22b)+util['format'](_0x46b5d3));}}[a100_0x3d08ef(0x25b)](_0x4e8d3c){const _0x3e20f2=a100_0x3d08ef,_0x2cfba5={'ZVjCH':function(_0x33c7ad,_0x542518,_0x5643e3){return _0x33c7ad(_0x542518,_0x5643e3);},'kdomc':function(_0x2a4026,_0x370d48){return _0x2a4026<_0x370d48;},'RdWLV':_0x3e20f2(0x1e2)};try{const _0x1ec6a6=_0x4e8d3c[_0x3e20f2(0x1a8)]['id'],_0x5815a6=_0x2cfba5[_0x3e20f2(0x207)](getTestRunIdentifier,_0x4e8d3c[_0x3e20f2(0x1a8)],_0x4e8d3c['result']['retry']),_0x33e983=_0x4e8d3c['instance'],_0x60f552=_0x33e983[_0x3e20f2(0x267)](),_0xda815a=_0x33e983[_0x3e20f2(0x19c)]()[_0x3e20f2(0x17c)](_0x5815a6);logger['debug']('createTestFrameworkEventPayload\x20testId:\x20'+_0x1ec6a6);const {[TestFrameworkConstants[_0x3e20f2(0x22c)]]:_0x5a9c65='',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x2dc322='',[TestFrameworkConstants[_0x3e20f2(0x250)]]:_0x43459c='',[TestFrameworkConstants[_0x3e20f2(0x194)]]:_0x3755cc=''}=_0xda815a,_0x47f6b4=_0x33e983['getCurrentTestState']()[_0x3e20f2(0x209)]()[_0x3e20f2(0x1f9)]('.')[0x1],_0x28c3ae=_0x33e983['getCurrentHookState']()[_0x3e20f2(0x209)]()[_0x3e20f2(0x1f9)]('.')[0x1],_0x23e3a2=_0x2cfba5[_0x3e20f2(0x23a)](_0x4e8d3c?.['result']?.[_0x3e20f2(0x184)]??0x0,0x0)?0x0:_0x4e8d3c?.[_0x3e20f2(0x1ff)]?.[_0x3e20f2(0x184)]??0x0,_0x38b47e=_0x33e983['getRef'](),_0x1fa2fd=Buffer[_0x3e20f2(0x25d)](JSON['stringify'](_0xda815a))[_0x3e20f2(0x209)](_0x2cfba5[_0x3e20f2(0x1e8)]),_0x2b6e2e={'hash':_0x60f552[_0x3e20f2(0x249)](),'threadId':_0x60f552[_0x3e20f2(0x1e9)]()[_0x3e20f2(0x209)](),'processId':_0x60f552['getProcessId']()['toString']()},_0x5cd1fe={};_0x5cd1fe[_0x3e20f2(0x215)]=_0x23e3a2,_0x5cd1fe['testFrameworkName']=_0x5a9c65,_0x5cd1fe[_0x3e20f2(0x17f)]=_0x2dc322,_0x5cd1fe[_0x3e20f2(0x202)]=_0x47f6b4,_0x5cd1fe['hookState']=_0x28c3ae,_0x5cd1fe[_0x3e20f2(0x214)]=_0x43459c,_0x5cd1fe[_0x3e20f2(0x1c0)]=_0x3755cc,_0x5cd1fe[_0x3e20f2(0x24e)]=_0x38b47e,_0x5cd1fe[_0x3e20f2(0x1d2)]=_0x1fa2fd,_0x5cd1fe[_0x3e20f2(0x1e0)]=_0x2b6e2e;const _0x578be5=_0x5cd1fe;return logger[_0x3e20f2(0x1b4)](_0x3e20f2(0x1bb)+_0x1ec6a6+'\x20testState:\x20'+_0x47f6b4+_0x3e20f2(0x19e)+_0x28c3ae),_0x578be5;}catch(_0x568eae){return logger[_0x3e20f2(0x190)](_0x3e20f2(0x1a9)+util[_0x3e20f2(0x1a4)](_0x568eae)),{};}}}module[a100_0x3d08ef(0x266)]=PlaywrightTestFramework;
|
|
1
|
+
const a100_0x1e9e7b=a100_0x1413;(function(_0x418e31,_0x4e6d95){const _0x2be465=a100_0x1413,_0x52f802=_0x418e31();while(!![]){try{const _0x51b69c=parseInt(_0x2be465(0x264))/0x1+-parseInt(_0x2be465(0x283))/0x2*(-parseInt(_0x2be465(0x1ed))/0x3)+-parseInt(_0x2be465(0x2ae))/0x4*(parseInt(_0x2be465(0x25d))/0x5)+-parseInt(_0x2be465(0x293))/0x6+parseInt(_0x2be465(0x259))/0x7+-parseInt(_0x2be465(0x23b))/0x8*(-parseInt(_0x2be465(0x25e))/0x9)+-parseInt(_0x2be465(0x223))/0xa;if(_0x51b69c===_0x4e6d95)break;else _0x52f802['push'](_0x52f802['shift']());}catch(_0x24cd5e){_0x52f802['push'](_0x52f802['shift']());}}}(a100_0x19bb,0x4d90e));function a100_0x1413(_0x245e1a,_0xa75212){const _0x19bb98=a100_0x19bb();return a100_0x1413=function(_0x141338,_0xbb46e7){_0x141338=_0x141338-0x1c2;let _0x173102=_0x19bb98[_0x141338];return _0x173102;},a100_0x1413(_0x245e1a,_0xa75212);}function a100_0x19bb(){const _0x2f91bf=['KEY_CUSTOM_TAGS','BiimV','timedOut','stringify','lORAZ','FqrUa','getId','DEFAULT_TEST_RESULT','KEY_TEST_FAILURE_TYPE','slow','\x20step=\x22','../cliUtils.js','../../playwright/reporter/pwUtils','fixme','\x20payload=','Ffbfo','Hook\x20List\x20in\x20Post\x20','annotations','\x20response=','trim','TEST_SCREENSHOT','hook','QTnej','hqHJc','size','createContext','WNHVU','KEY_HOOK_NAME','getTestUUID','error','mTsOl','KEY_TEST_ID','UjXXX','getThreadId','createTestFrameworkEventPayload:\x20complete\x20for\x20testId:\x20','\x20hookState=','\x20testState:\x20','trackEvent\x20loading\x20testData\x20for\x20testId:\x20','Hook\x20Started\x20in\x20PRE\x20key\x20=\x20','instance','MrUTV','KEY_EVENT_ENDED_AT','getCurrentTestState','OAWBi','rwEvd','XCTEy','statSync','KEY_TEST_RESULT','text','XkzWt','BiJqq','KEY_HOOK_LAST_STARTED','KEY_HOOK_ID','step','getTestFrameworks','tKPpo','owUkg','ekkyj','description','3SiXsiS','\x20and\x20args\x20=\x20','../customTagManager','pRgZr','DEFAULT_HOOK_RESULT','XSCRo','UTubV','anWrY','xymcX','\x20result=','KEY_TEST_STARTED_AT','file_name','ZHUtP','retry','browserstackPlatformIndex','KEY_EVENT_STARTED_AT','some','concat','setTestDetails','bUHIL','\x20batch\x20','steps','forEach','sendLogCreatedEvent:\x20testId=','test','failure','duration','stack','../state/hookState.js','\x20instance=','length','parsePlaywrightTestResult','KEY_TEST_UUID','aLbrH','trackEvent:\x20Exception\x20in\x20event\x20tracking,\x20testFrameworkState=%s\x20hookState=%s\x20argsLength=%s,\x20exception=%s','TmNhs','getAllData','logCreatedEvent','KEY_HOOK_LOGS','attachments',',\x20state=','fbfVZ','getInstance','../TestInfo.js','cetss','\x20\x20and\x20args\x20=\x20','sendLogCreatedEvent','mpPNp','getTrackedInstance','testFrameworkName','KEY_TEST_CODE','\x20&\x20hook\x20=\x20','../state/testFrameworkState.js','KEY_TEST_SCOPE','7007910eabbdq','filter','GVxvy','\x20steps\x20for\x20testId=','ceil','mfeEj','err','foYSZ','util','KEY_TEST_LOCATION','testFrameworkVersion','KEY_TEST_FILE_PATH','KEY_TEST_TAGS','OPRks','parsePlaywrightTest','KEY_TEST_NAME','resolveInstance','getTestFrameworksVersions','ZpVfc','JarbP','skipped','getContext','push','started_at','8EoKelB','get','addMultipleEntries','pYEqX','debug','endedAt','getCurrentInstanceName','Lvrov','getTestIdentifierFromTestInfo','../../../helpers/classLogger.js','executionContext','MAX_NESTED_STEP_DEPTH','No\x20reason\x20provided','KEY_TEST_RERUN_NAME','KEY_TEST_FAILURE_REASON','runHooks','cThad','toISOString','../../../helpers/helper.js','trackEvent','title','createTestFrameworkEventPayload','toString','sendLogCreatedEvent\x20for\x20testId:\x20','parallelIndex','POST','has','TEST','setTrackedInstance','pWIxa','2793182zrJVye','KEY_AUTOMATE_SESSION_NAME','errors','basename','5YZxbNf','4952781fEISpr','CHKRA','path','status','BfYLL','UemdJ','288352yMblQR','KEY_HOOK_RESULT','parent_id','skip','qrbaR','\x20instanceId=','Error\x20processing\x20trace\x20file\x20','KEY_TEST_FRAMEWORK_NAME','NONE','FWKup','trackStepEvent','KEY_TEST_ATTACHMENTS','Vbcoj','GstWX','trackPlaywrightInstance','fDvAf','failed','inVID','parsePlaywrightTestResult:\x20extracted\x20','BMNLL','tdawj','KEY_TEST_RESULT_AT','results','trackStepEvent:\x20testId=','base64','PlaywrightTestFramework','KEY_TEST_ENDED_AT','trackHookEvent','sQpob','info','\x20hookState:\x20','288996BXQHKP','platformIndex','trackPlaywrightInstance:\x20saved\x20instance\x20contextId=','split','slice','rpNre','getTestDetails','format','GREEE','grGKq','startedAt','GrgjL','filePath','trackEvent:\x20loaded\x20testData\x20for\x20testId:\x20','KEY_TEST_FRAMEWORK_VERSION','rfgXT','385698WZZDNn',',\x20testFrameworkState=','WKtnt','result','VNUFn','exports','OhXbQ','ajvaH','KEY_LOGS','MAX_TOP_LEVEL_STEPS','keyword','getRef','inspect','INIT_TEST','uuid','KEY_HOOKS_FINISHED','WPfwh','KEY_HOOK_FAILURE','EwNAr','parsePlaywrightTestResult:\x20testId=','nRYsj','passed','trackPlaywrightInstance:\x20created\x20instance\x20for\x20target=','WvLDK','eventJson','KEY_HOOKS_STARTED','mwSvL','1197604OGOcns','KEY_TEST_RETRY_OF','vHxly','../instances/testFrameworkInstance.js','HnkDC','expectedStatus','trackEvent:\x20found\x20instance,\x20testFrameworkState=','YQRoC','set','message','getCurrentHookState','../../utils/constants','vXGoc','KEY_TEST_META','ureBG','JYDce','BXhcM'];a100_0x19bb=function(){return _0x2f91bf;};return a100_0x19bb();}const TestFramework=require('./testFramework'),TestFrameworkState=require(a100_0x1e9e7b(0x221)),HookState=require(a100_0x1e9e7b(0x209)),{createClassLogger}=require(a100_0x1e9e7b(0x244)),TestFrameworkInstance=require(a100_0x1e9e7b(0x2b1)),CLIUtils=require(a100_0x1e9e7b(0x2ca)),TrackedInstance=require('../instances/trackedInstance.js'),TestFrameworkConstants=require('./constants/testFrameworkConstants.js'),logger=createClassLogger(a100_0x1e9e7b(0x27d)),{v4:uuidv4}=require(a100_0x1e9e7b(0x2a1)),util=require(a100_0x1e9e7b(0x22b)),{getPlaywrightSessionName,getPlaywrightTestFilePath,getPlaywrightTestId,getPlaywrightTestTitle,getPlaywrightTestTags,getPlaywrightTestCode,getPlaywrightTestScope,getPlaywrightTestScopes,getStepsAndLogs,getScreenshots,getVideos,getPlaywrightCustomRerunParam,getMediaArtifactsLogs,getManualUploadLogs,updatePayloadForTraceLogs}=require(a100_0x1e9e7b(0x24d)),TestInfo=require(a100_0x1e9e7b(0x218)),GrpcClient=require('../grpcClient'),{removeAnsiColors,getFailureType,failureData}=require('../../../helpers/test-observability/utils'),{getFailureData,getTestTags,getTestRunIdentifier}=require(a100_0x1e9e7b(0x2cb)),{findNestedKey,sendTraceZip,validateFilePath}=require(a100_0x1e9e7b(0x2cb)),path=require(a100_0x1e9e7b(0x260)),fs=require('fs'),helper=require('../../../../src/helpers/helper'),{PLAYWRIGHT_TRACE_LOGS}=require(a100_0x1e9e7b(0x2b9)),PLAYWRIGHT_BUILTIN_ANNOTATIONS=new Set([a100_0x1e9e7b(0x267),a100_0x1e9e7b(0x2cc),a100_0x1e9e7b(0x2c8),'fail']);class PlaywrightTestFramework extends TestFramework{constructor(_0x3d11f6,_0x30000e,_0x2395c2){super(_0x3d11f6,_0x30000e,_0x2395c2);}async[a100_0x1e9e7b(0x24e)](_0xbf8433,_0x4e36e3,_0x135d72={}){const _0x41b7f8=a100_0x1e9e7b,_0x5cc7d8={'HnkDC':function(_0x1ae96e,_0x313f35){return _0x1ae96e===_0x313f35;},'OPRks':function(_0x42ecc7,_0x16ef72){return _0x42ecc7===_0x16ef72;},'VNUFn':function(_0x5e9175,_0x2d62c0,_0x1a98a1){return _0x5e9175(_0x2d62c0,_0x1a98a1);},'mTsOl':function(_0x12160b,_0x454371){return _0x12160b===_0x454371;},'XCTEy':function(_0x510689,_0x2fc2a2,_0x3cd524,_0xb0b7f7){return _0x510689(_0x2fc2a2,_0x3cd524,_0xb0b7f7);},'XkzWt':_0x41b7f8(0x205),'UjXXX':_0x41b7f8(0x20f)};super['trackEvent'](_0xbf8433,_0x4e36e3,_0x135d72);if(_0x5cc7d8['HnkDC'](_0xbf8433,TestFrameworkState[_0x41b7f8(0x1c6)])){const _0x5e2c42=TestInfo[_0x41b7f8(0x243)](_0x135d72['test'],_0x135d72[_0x41b7f8(0x205)][_0x41b7f8(0x1fa)]);TestInfo[_0x41b7f8(0x1ff)](_0x5e2c42,_0x135d72[_0x41b7f8(0x296)],!![]);}if(_0x5cc7d8[_0x41b7f8(0x2b2)](_0xbf8433,TestFrameworkState['TEST_STEP'])){this[_0x41b7f8(0x26e)](_0xbf8433,_0x4e36e3,_0x135d72);return;}const _0x4a7b2c=this[_0x41b7f8(0x233)](_0xbf8433,_0x4e36e3,_0x135d72);if(!_0x4a7b2c)return;logger[_0x41b7f8(0x23f)](_0x41b7f8(0x2b4)+_0xbf8433+_0x41b7f8(0x1d5)+_0x4e36e3+_0x41b7f8(0x269)+_0x4a7b2c[_0x41b7f8(0x29e)]());try{if(_0x5cc7d8[_0x41b7f8(0x230)](_0x4e36e3,HookState['PRE'])&&_0x5cc7d8[_0x41b7f8(0x230)](_0xbf8433,TestFrameworkState[_0x41b7f8(0x256)])){const _0x12ce24=_0x135d72[_0x41b7f8(0x205)];logger[_0x41b7f8(0x23f)](_0x41b7f8(0x1d7)+_0x12ce24['id']+'}');const _0x263112=TestInfo[_0x41b7f8(0x1ce)](_0x5cc7d8[_0x41b7f8(0x297)](getTestRunIdentifier,_0x12ce24,_0x135d72[_0x41b7f8(0x296)]['retry']));_0x4a7b2c[_0x41b7f8(0x23d)](this[_0x41b7f8(0x231)](_0x263112,_0x12ce24,_0x135d72[_0x41b7f8(0x296)])),logger[_0x41b7f8(0x23f)](_0x41b7f8(0x290)+_0x12ce24['id']+_0x41b7f8(0x294)+_0xbf8433+'\x20testHookState='+_0x4e36e3+_0x41b7f8(0x20a)+_0x4a7b2c[_0x41b7f8(0x29e)]());}if(_0x5cc7d8[_0x41b7f8(0x2b2)](_0x4e36e3,HookState[_0x41b7f8(0x254)])&&_0x5cc7d8[_0x41b7f8(0x1d0)](_0xbf8433,TestFrameworkState[_0x41b7f8(0x256)])){const _0x24d442=_0x135d72['test'],_0x28353e=_0x135d72[_0x41b7f8(0x296)];logger[_0x41b7f8(0x23f)]('trackEvent\x20loading\x20testResults\x20for\x20testId:\x20'+_0x24d442['id']);const _0x462ac9=_0x5cc7d8[_0x41b7f8(0x297)](getTestRunIdentifier,_0x24d442,_0x28353e['retry']),_0x2bee4b=_0x4a7b2c[_0x41b7f8(0x211)]()[_0x41b7f8(0x23c)](_0x462ac9)[TestFrameworkConstants['KEY_TEST_UUID']],{steps:_0x246788,logs:_0x4ed520}=_0x5cc7d8[_0x41b7f8(0x1df)](getStepsAndLogs,_0x28353e[_0x41b7f8(0x202)],_0x2bee4b,_0x5cc7d8[_0x41b7f8(0x1e3)]);_0x4a7b2c[_0x41b7f8(0x23d)](this['parsePlaywrightTestResult'](_0x24d442['id'],_0x28353e,_0x24d442,_0x246788)),await this[_0x41b7f8(0x21b)](_0x4a7b2c,_0xbf8433,_0x4e36e3,_0x5cc7d8['XkzWt'],_0x135d72,_0x4ed520);}if(CLIUtils['matchHookRegex'](_0xbf8433['toString']()[_0x41b7f8(0x286)]('.')[0x1])){const _0x242721=await this[_0x41b7f8(0x27f)](_0x4a7b2c,_0xbf8433,_0x4e36e3,_0x135d72);_0x4a7b2c[_0x41b7f8(0x23d)](_0x242721);}}catch(_0x1f11c7){logger[_0x41b7f8(0x1cf)](util[_0x41b7f8(0x28a)](_0x5cc7d8[_0x41b7f8(0x1d2)],_0xbf8433,_0x4e36e3,_0x135d72[_0x41b7f8(0x20b)],_0x1f11c7));}_0x135d72[_0x41b7f8(0x1d9)]=_0x4a7b2c,await this[_0x41b7f8(0x24a)](_0x4a7b2c,_0xbf8433,_0x4e36e3,_0x135d72);}['resolveInstance'](_0x2d3474,_0x2fba89,_0x1dc070={}){const _0xc05cb7=a100_0x1e9e7b,_0x612da={};_0x612da[_0xc05cb7(0x1cc)]=function(_0x1d8ad2,_0x4cf393){return _0x1d8ad2===_0x4cf393;};const _0x189ecd=_0x612da;let _0x4b0c0c=null;return(_0x189ecd[_0xc05cb7(0x1cc)](_0x2d3474,TestFrameworkState[_0xc05cb7(0x2a0)])||_0x189ecd[_0xc05cb7(0x1cc)](_0x2d3474,TestFrameworkState[_0xc05cb7(0x26c)]))&&this[_0xc05cb7(0x272)](_0x2d3474,_0x1dc070),_0x4b0c0c=TestFramework[_0xc05cb7(0x21d)](),_0x4b0c0c;}[a100_0x1e9e7b(0x272)](_0x48f9d7,_0x4df048){const _0x304d57=a100_0x1e9e7b,_0x4d15af=CLIUtils[_0x304d57(0x241)](),_0x442d27=TrackedInstance[_0x304d57(0x1cb)](_0x4d15af);let _0x159fd5=null;logger[_0x304d57(0x281)](_0x304d57(0x2a9)+_0x4d15af+_0x304d57(0x215)+_0x48f9d7),_0x159fd5=new TestFrameworkInstance(_0x442d27,this[_0x304d57(0x1e8)](),this[_0x304d57(0x234)](),_0x48f9d7,HookState[_0x304d57(0x26c)]),TestFramework[_0x304d57(0x257)](_0x442d27,_0x159fd5),logger['info'](_0x304d57(0x285)+_0x442d27[_0x304d57(0x2c5)]()+'\x20target='+_0x4d15af);}[a100_0x1e9e7b(0x231)](_0x977bfc,_0x12e023,_0x2fa865){const _0x55eac9=a100_0x1e9e7b,_0x433ec1={'ajvaH':function(_0x1145de,_0x50d4fa){return _0x1145de(_0x50d4fa);},'rfgXT':function(_0x4dae0b,_0x4e1f10){return _0x4dae0b(_0x4e1f10);},'hFRtc':function(_0x47c975,_0x1dbfd9){return _0x47c975(_0x1dbfd9);},'cTyCR':function(_0x3cd4cd,_0x48c93e){return _0x3cd4cd(_0x48c93e);},'nRYsj':function(_0x1a093c,_0x56ed10){return _0x1a093c(_0x56ed10);},'ekkyj':function(_0x541251,_0x5702c2){return _0x541251(_0x5702c2);},'OhXbQ':function(_0x2e67db,_0x405004,_0x243b0b){return _0x2e67db(_0x405004,_0x243b0b);},'inVID':function(_0x575dad,_0x2a1eb2){return _0x575dad(_0x2a1eb2);}},_0x4b0aea=_0x433ec1[_0x55eac9(0x29a)](getPlaywrightTestId,_0x12e023),_0xd4c9da=_0x433ec1[_0x55eac9(0x29a)](getPlaywrightTestTitle,_0x12e023),_0x386460=_0x433ec1[_0x55eac9(0x292)](getTestTags,_0x12e023),_0x9064e9=_0x433ec1['hFRtc'](getPlaywrightTestCode,_0x12e023),_0x20abb1=_0x433ec1[_0x55eac9(0x29a)](getPlaywrightTestFilePath,_0x12e023),_0x75f9e5=_0x20abb1,_0x4568e4=_0x433ec1['cTyCR'](getPlaywrightTestScope,_0x12e023),_0x54cd95=_0x433ec1[_0x55eac9(0x2a7)](getPlaywrightTestScopes,_0x12e023),_0x5da0b3=_0x433ec1[_0x55eac9(0x1eb)](getPlaywrightSessionName,_0x12e023),_0x361f80=this['getTestFrameworks']()[0x0],_0x210636=_0x433ec1[_0x55eac9(0x299)](getTestRunIdentifier,_0x12e023,_0x2fa865[_0x55eac9(0x1fa)]),_0x5c5f34={[TestFrameworkConstants[_0x55eac9(0x26b)]]:_0x361f80,[TestFrameworkConstants[_0x55eac9(0x291)]]:this[_0x55eac9(0x234)]()[_0x361f80],[TestFrameworkConstants['KEY_TEST_LOGS']]:[],[TestFrameworkConstants['KEY_HOOKS_FINISHED']]:{},[TestFrameworkConstants[_0x55eac9(0x2ac)]]:{},[TestFrameworkConstants[_0x55eac9(0x20d)]]:_0x977bfc,[TestFrameworkConstants[_0x55eac9(0x1e1)]]:TestFrameworkConstants[_0x55eac9(0x2c6)],[TestFrameworkConstants[_0x55eac9(0x25a)]]:_0x5da0b3,[TestFrameworkConstants[_0x55eac9(0x22e)]]:_0x20abb1,[TestFrameworkConstants[_0x55eac9(0x1d1)]]:_0x4b0aea,[TestFrameworkConstants[_0x55eac9(0x232)]]:_0xd4c9da,[TestFrameworkConstants[_0x55eac9(0x22c)]]:_0x75f9e5,[TestFrameworkConstants[_0x55eac9(0x21f)]]:_0x9064e9,[TestFrameworkConstants[_0x55eac9(0x22f)]]:_0x386460,[TestFrameworkConstants['KEY_TEST_STARTED_AT']]:_0x12e023[_0x55eac9(0x27a)][0x0]['startTime'],[TestFrameworkConstants[_0x55eac9(0x222)]]:_0x4568e4,[TestFrameworkConstants['KEY_TEST_SCOPES']]:_0x54cd95,[TestFrameworkConstants[_0x55eac9(0x248)]]:_0x433ec1[_0x55eac9(0x275)](getPlaywrightCustomRerunParam,_0x12e023)};TestInfo['setTestDetails'](_0x210636,_0x5c5f34);const _0x21af3b={};return _0x21af3b[_0x210636]=_0x5c5f34,_0x21af3b;}[a100_0x1e9e7b(0x20c)](_0xee7a17,_0x20da9a,_0x2dac87,_0x19efcb){const _0x3d10db=a100_0x1e9e7b,_0x5b4b33={'TmNhs':function(_0x40bf45,_0x1325d8){return _0x40bf45(_0x1325d8);},'CHKRA':'TEST_ATTACHMENT','tNVlj':function(_0x253ecd,_0x1d58aa){return _0x253ecd===_0x1d58aa;},'sQpob':function(_0x4d0b77,_0x457c08){return _0x4d0b77===_0x457c08;},'BMNLL':_0x3d10db(0x247),'BiimV':function(_0x44745d,_0x345619){return _0x44745d(_0x345619);},'ZHUtP':function(_0x596659,_0x3be569,_0x337c38){return _0x596659(_0x3be569,_0x337c38);},'GstWX':function(_0x5415b6,_0x42c83c){return _0x5415b6===_0x42c83c;},'WKtnt':_0x3d10db(0x237),'vXGoc':_0x3d10db(0x2a8),'ureBG':'failed','BfYLL':function(_0x3849e7,_0x4892e0){return _0x3849e7===_0x4892e0;},'DWfnt':_0x3d10db(0x2c1),'cThad':function(_0x4ae51d,_0x14785f){return _0x4ae51d===_0x14785f;},'EwNAr':'Expected\x20to\x20fail,\x20but\x20passed.','BXhcM':function(_0x128774,_0x4bfe91){return _0x128774||_0x4bfe91;},'tREDK':function(_0x31ed8a,_0x1b5bfe){return _0x31ed8a>_0x1b5bfe;},'FqrUa':function(_0x47088a,_0x436522){return _0x47088a-_0x436522;},'mfeEj':function(_0x222df1,_0x2b7c4f,_0x2283db,_0x4a05f2){return _0x222df1(_0x2b7c4f,_0x2283db,_0x4a05f2);},'GVxvy':_0x3d10db(0x205),'mwSvL':function(_0x2d168c,_0x56efdc){return _0x2d168c===_0x56efdc;},'WPfwh':function(_0x22c222,_0x5c276f){return _0x22c222>=_0x5c276f;},'cetss':function(_0x5e7cd5,_0x107d6d){return _0x5e7cd5===_0x107d6d;},'QTnej':function(_0x5da75b,_0x1dbc85){return _0x5da75b+_0x1dbc85;},'vHxly':function(_0x3a6cbb,_0x43856f){return _0x3a6cbb>_0x43856f;},'JarbP':function(_0x316515,_0x2a7b91,_0x4f5a28){return _0x316515(_0x2a7b91,_0x4f5a28);},'Vbcoj':_0x3d10db(0x260),'qrbaR':function(_0x33df61,_0x4d25ec){return _0x33df61(_0x4d25ec);},'foYSZ':function(_0x57bd62,_0x142690){return _0x57bd62>_0x142690;},'bUHIL':function(_0x105a17,_0x3ff3a7){return _0x105a17>_0x3ff3a7;},'WvLDK':_0x3d10db(0x1ef)};logger[_0x3d10db(0x23f)](_0x3d10db(0x2a6)+_0xee7a17);const _0x31065e=_0x5b4b33[_0x3d10db(0x1f9)](getTestRunIdentifier,_0x2dac87,_0x20da9a[_0x3d10db(0x1fa)]),_0xb56599=new Date(),_0xa02f04=_0x20da9a[_0x3d10db(0x261)],_0x4f4357=TestInfo['getTestDetails'](_0x31065e)[TestFrameworkConstants[_0x3d10db(0x2bf)]]||{};let _0x270db5=_0xa02f04;if(_0x5b4b33[_0x3d10db(0x271)](_0x20da9a[_0x3d10db(0x261)],_0x2dac87[_0x3d10db(0x2b3)]))_0x270db5=_0x5b4b33['sQpob'](_0x20da9a[_0x3d10db(0x261)],_0x5b4b33['WKtnt'])?_0x5b4b33[_0x3d10db(0x295)]:_0x5b4b33[_0x3d10db(0x2ba)];else{(_0x5b4b33['sQpob'](_0x270db5,_0x5b4b33['vXGoc'])||_0x5b4b33[_0x3d10db(0x280)](_0x270db5,_0x5b4b33[_0x3d10db(0x2bc)])||_0x5b4b33[_0x3d10db(0x262)](_0x270db5,_0x5b4b33['DWfnt']))&&(_0x270db5=_0x5b4b33['ureBG']);if(_0x5b4b33[_0x3d10db(0x262)](_0x20da9a['status'],_0x5b4b33[_0x3d10db(0x2ba)])&&_0x5b4b33[_0x3d10db(0x24b)](_0x2dac87['expectedStatus'],_0x5b4b33['ureBG'])){const _0x353294={};_0x353294[_0x3d10db(0x2b7)]=_0x5b4b33[_0x3d10db(0x2a5)],_0x353294[_0x3d10db(0x208)]=_0x5b4b33[_0x3d10db(0x2a5)],_0x20da9a[_0x3d10db(0x1cf)]=_0x353294,_0x20da9a[_0x3d10db(0x25b)]=[_0x20da9a['error']];}}const {failureData:_0x55c214,logs:_0x1d9b90}=_0x5b4b33['ZHUtP'](getFailureData,_0x20da9a?.[_0x3d10db(0x25b)],{}),_0xa32f27={[TestFrameworkConstants['KEY_TEST_FAILURE']]:_0x5b4b33[_0x3d10db(0x2be)](_0x55c214,null),[TestFrameworkConstants[_0x3d10db(0x2c7)]]:_0x20da9a?.['error']&&_0x5b4b33['BiimV'](getFailureType,_0x20da9a[_0x3d10db(0x1cf)][_0x3d10db(0x2b7)]),[TestFrameworkConstants[_0x3d10db(0x249)]]:_0x20da9a?.['error']&&_0x5b4b33[_0x3d10db(0x2c0)](removeAnsiColors,_0x20da9a[_0x3d10db(0x1cf)][_0x3d10db(0x2b7)]),[TestFrameworkConstants[_0x3d10db(0x29b)]]:[],[TestFrameworkConstants['KEY_TEST_RESULT']]:_0x270db5,[TestFrameworkConstants[_0x3d10db(0x27e)]]:_0xb56599[_0x3d10db(0x24c)](),[TestFrameworkConstants[_0x3d10db(0x279)]]:new Date()['toISOString'](),[TestFrameworkConstants[_0x3d10db(0x2bf)]]:_0x4f4357};if(_0x20da9a&&_0x5b4b33['tREDK'](_0x20da9a[_0x3d10db(0x1fa)],0x0)){const _0x40c7e4=TestInfo[_0x3d10db(0x1ce)](_0x5b4b33[_0x3d10db(0x1f9)](getTestRunIdentifier,_0x2dac87,_0x5b4b33[_0x3d10db(0x2c4)](_0x20da9a[_0x3d10db(0x1fa)],0x1)));_0xa32f27[TestFrameworkConstants[_0x3d10db(0x2af)]]=_0x40c7e4;}const _0x33e78c={};_0x33e78c[_0x3d10db(0x205)]=_0x2dac87;const _0x48fee7=this[_0x3d10db(0x233)](TestFrameworkState[_0x3d10db(0x256)],HookState[_0x3d10db(0x254)],_0x33e78c),_0x5b8940=_0x48fee7[_0x3d10db(0x211)]()['get'](_0x31065e)[TestFrameworkConstants[_0x3d10db(0x20d)]],_0x41a72e=_0x19efcb||_0x5b4b33[_0x3d10db(0x228)](getStepsAndLogs,_0x20da9a[_0x3d10db(0x202)],_0x5b8940,_0x5b4b33[_0x3d10db(0x225)])[_0x3d10db(0x202)],_0x5fd156=new Map(),_0x394afc=new Map();let _0x280324=0x0;const _0x1c8850=[];for(const _0x161c7a of _0x41a72e||[]){const _0x53593f=_0x161c7a[_0x3d10db(0x266)]||null;let _0x149d4a;if(_0x5b4b33[_0x3d10db(0x2ad)](_0x53593f,null)){if(_0x5b4b33[_0x3d10db(0x2a3)](_0x280324,TestFrameworkConstants[_0x3d10db(0x29c)]))continue;_0x149d4a=0x0,_0x280324++;}else{const _0x18b626=_0x5fd156[_0x3d10db(0x23c)](_0x53593f);if(_0x5b4b33[_0x3d10db(0x219)](_0x18b626,undefined))continue;_0x149d4a=_0x5b4b33[_0x3d10db(0x1c8)](_0x18b626,0x1);if(_0x5b4b33[_0x3d10db(0x2b0)](_0x149d4a,TestFrameworkConstants[_0x3d10db(0x246)]))continue;}_0x5fd156[_0x3d10db(0x2b6)](_0x161c7a['id'],_0x149d4a),_0x394afc['set'](_0x161c7a['id'],_0x161c7a[_0x3d10db(0x1e2)]),_0x1c8850[_0x3d10db(0x239)]({'id':_0x161c7a['id'],'parent_id':_0x53593f,'parent_text':_0x53593f?_0x394afc[_0x3d10db(0x23c)](_0x53593f)||'':'','text':_0x161c7a[_0x3d10db(0x1e2)],'keyword':_0x161c7a[_0x3d10db(0x29d)]||null,'started_at':_0x161c7a[_0x3d10db(0x23a)],'duration':_0x161c7a['duration']??null,'result':_0x161c7a[_0x3d10db(0x296)],'failure':_0x161c7a[_0x3d10db(0x206)]||null,'failure_type':_0x161c7a['failure_type']||null});}const _0x2dbbcc={};_0x2dbbcc[_0x3d10db(0x202)]=_0x1c8850,_0xa32f27[TestFrameworkConstants[_0x3d10db(0x2bb)]]=_0x2dbbcc,logger[_0x3d10db(0x23f)](_0x3d10db(0x276)+_0x1c8850[_0x3d10db(0x20b)]+_0x3d10db(0x226)+_0xee7a17);const _0x154206=[],_0x2e7b7f=_0x5b4b33[_0x3d10db(0x236)](findNestedKey,_0x20da9a,_0x5b4b33[_0x3d10db(0x270)]);if(_0x2e7b7f&&_0x5b4b33['qrbaR'](validateFilePath,_0x2e7b7f))try{_0x154206[_0x3d10db(0x239)]({'kind':_0x5b4b33[_0x3d10db(0x25f)],'timestamp':new Date()[_0x3d10db(0x24c)](),'test_run_uuid':_0x5b8940,'file_name':path[_0x3d10db(0x25c)](_0x2e7b7f),'file_size':fs[_0x3d10db(0x1e0)](_0x2e7b7f)[_0x3d10db(0x1ca)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x134a7e){logger[_0x3d10db(0x1cf)]('Error\x20processing\x20direct\x20trace\x20file\x20'+_0x2e7b7f+':\x20'+_0x134a7e['message']);}const _0x5d0117=TestInfo['getTraceFilePaths'](),_0x43096=_0x5d0117[_0x3d10db(0x224)](_0x524b34=>_0x524b34['testUId']===_0x5b8940);_0x43096[_0x3d10db(0x203)](_0x4e49b3=>{const _0x2e97ea=_0x3d10db;if(_0x4e49b3[_0x2e97ea(0x28f)]&&_0x5b4b33[_0x2e97ea(0x210)](validateFilePath,_0x4e49b3[_0x2e97ea(0x28f)])&&!_0x154206[_0x2e97ea(0x1fd)](_0xc7fc67=>_0xc7fc67[_0x2e97ea(0x1f8)]===path[_0x2e97ea(0x25c)](_0x4e49b3[_0x2e97ea(0x28f)])))try{_0x154206[_0x2e97ea(0x239)]({'kind':_0x5b4b33[_0x2e97ea(0x25f)],'timestamp':new Date()[_0x2e97ea(0x24c)](),'test_run_uuid':_0x5b8940,'file_name':path['basename'](_0x4e49b3['filePath']),'file_size':fs['statSync'](_0x4e49b3[_0x2e97ea(0x28f)])['size'],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x1681e7){logger[_0x2e97ea(0x1cf)](_0x2e97ea(0x26a)+_0x4e49b3['filePath']+'\x20from\x20TestDetails:\x20'+_0x1681e7[_0x2e97ea(0x2b7)]);}});if(_0x5b4b33[_0x3d10db(0x22a)](_0x154206[_0x3d10db(0x20b)],0x0)){const _0x295dd6=_0xa32f27[TestFrameworkConstants[_0x3d10db(0x29b)]]||[];_0xa32f27[TestFrameworkConstants[_0x3d10db(0x29b)]]=[..._0x295dd6,..._0x154206];}const _0x3a51ae=TestInfo[_0x3d10db(0x289)](_0x31065e)[TestFrameworkConstants[_0x3d10db(0x26f)]]||{},_0x428ddb=_0x5b4b33['JarbP'](getManualUploadLogs,_0x3a51ae,_0x48fee7['getAllData']()[_0x3d10db(0x23c)](_0x31065e)[TestFrameworkConstants[_0x3d10db(0x20d)]]);if(_0x5b4b33[_0x3d10db(0x200)](_0x428ddb[_0x3d10db(0x20b)],0x0)){const _0x29ddc9=_0xa32f27[TestFrameworkConstants[_0x3d10db(0x29b)]]||[];_0xa32f27[TestFrameworkConstants[_0x3d10db(0x29b)]]=[..._0x29ddc9,..._0x428ddb];}const _0x1c486b=_0x2dac87[_0x3d10db(0x1c3)]||[],_0x2f92a4=_0xa32f27[TestFrameworkConstants[_0x3d10db(0x2bf)]]||{},_0x249a7b=_0x5b4b33[_0x3d10db(0x268)](require,_0x5b4b33[_0x3d10db(0x2aa)]);_0x1c486b[_0x3d10db(0x203)](_0x3e6871=>{const _0x339c51=_0x3d10db,{type:_0x4ddbd7}=_0x3e6871;let _0x467439=_0x3e6871[_0x339c51(0x1ec)];if(!_0x4ddbd7)return;if(PLAYWRIGHT_BUILTIN_ANNOTATIONS[_0x339c51(0x255)](_0x4ddbd7))return;(_0x5b4b33['tNVlj'](_0x467439,undefined)||_0x5b4b33[_0x339c51(0x280)](_0x467439,null)||_0x5b4b33[_0x339c51(0x280)](_0x5b4b33[_0x339c51(0x210)](String,_0x467439)[_0x339c51(0x1c5)](),''))&&(_0x467439=_0x5b4b33[_0x339c51(0x277)]);const _0x21ff9f=helper['parseCommaSeparatedValues'](_0x5b4b33[_0x339c51(0x2c0)](String,_0x467439));_0x249a7b['mergeIntoTags'](_0x2f92a4,_0x4ddbd7,_0x21ff9f);}),_0xa32f27[TestFrameworkConstants[_0x3d10db(0x2bf)]]=_0x2f92a4,TestInfo[_0x3d10db(0x1ff)](_0x31065e,_0xa32f27);const _0x2d3ffd={};return _0x2d3ffd[_0x31065e]=_0xa32f27,_0x2d3ffd;}[a100_0x1e9e7b(0x26e)](_0xe7ef0a,_0x4c6b3b,_0x5c19dc){const _0x13b516=a100_0x1e9e7b,_0x2248a7={'anWrY':function(_0x50444e,_0x38f335){return _0x50444e||_0x38f335;},'lORAZ':function(_0x28ffdd,_0x8d83db,_0x11ed11){return _0x28ffdd(_0x8d83db,_0x11ed11);}};try{const {test:_0x46d857,result:_0x143bad,step:_0x1c2d03}=_0x5c19dc;if(_0x2248a7[_0x13b516(0x1f4)](!_0x46d857,!_0x1c2d03)||!_0x143bad)return;const _0x1445b4=_0x2248a7[_0x13b516(0x2c3)](getTestRunIdentifier,_0x46d857,_0x143bad[_0x13b516(0x1fa)]);logger[_0x13b516(0x23f)](_0x13b516(0x27b)+_0x1445b4+_0x13b516(0x1d5)+_0x4c6b3b+_0x13b516(0x2c9)+_0x1c2d03['title']+'\x22');}catch(_0x3b721a){logger[_0x13b516(0x1cf)]('trackStepEvent:\x20exception='+util['format'](_0x3b721a));}}async[a100_0x1e9e7b(0x27f)](_0x5e09b4,_0x4524d3,_0x4f1cea,_0x4b99c6){const _0x1b94a7=a100_0x1e9e7b,_0x41a525={'grGKq':function(_0x1d10f6,_0x4c7bbf,_0x5e4145){return _0x1d10f6(_0x4c7bbf,_0x5e4145);},'BiJqq':function(_0xa79697,_0x11989c){return _0xa79697 in _0x11989c;},'JYDce':function(_0x522198,_0x3adb35){return _0x522198 in _0x3adb35;},'pYEqX':function(_0x30a3ef,_0x5beec7){return _0x30a3ef(_0x5beec7);},'Ffbfo':function(_0x5f6370,_0x140033){return _0x5f6370===_0x140033;},'ZNeVY':function(_0x2a44f9){return _0x2a44f9();},'xymcX':function(_0x10bf42,_0x56a90f){return _0x10bf42>_0x56a90f;},'rwEvd':_0x1b94a7(0x229),'hqHJc':function(_0x33e23f,_0x1d63f2){return _0x33e23f(_0x1d63f2);},'FWKup':_0x1b94a7(0x274),'OAWBi':'passed','ZpVfc':function(_0x4cc333,_0x2cd7a7){return _0x4cc333!==_0x2cd7a7;},'tKPpo':function(_0x503078,_0x2ef297){return _0x503078+_0x2ef297;},'pRgZr':'hook'},_0x1b3e7f=_0x4b99c6[_0x1b94a7(0x205)],_0xc8df23=_0x4b99c6['step'],_0x275356=_0x41a525[_0x1b94a7(0x28c)](getTestRunIdentifier,_0x1b3e7f,_0x4b99c6[_0x1b94a7(0x296)]['retry']),_0x54a7ce=_0x4524d3[_0x1b94a7(0x251)]()[_0x1b94a7(0x286)]('.')[0x1];let _0x7de2ca=_0x5e09b4['getAllData']()[_0x1b94a7(0x23c)](_0x275356)[TestFrameworkConstants['KEY_HOOKS_STARTED']];!_0x7de2ca&&(_0x7de2ca={});!_0x41a525[_0x1b94a7(0x1e4)](_0x54a7ce,_0x7de2ca)&&(_0x7de2ca[_0x54a7ce]=[]);let _0x1ae41e=_0x5e09b4['getAllData']()[_0x1b94a7(0x23c)](_0x275356)[TestFrameworkConstants[_0x1b94a7(0x2a2)]];!_0x1ae41e&&(_0x1ae41e={});!_0x41a525[_0x1b94a7(0x2bd)](_0x54a7ce,_0x1ae41e)&&(_0x1ae41e[_0x54a7ce]=[]);const _0x2b21d5={[TestFrameworkConstants[_0x1b94a7(0x2ac)]]:_0x7de2ca,[TestFrameworkConstants[_0x1b94a7(0x2a2)]]:_0x1ae41e},_0x4bcadb={};_0x4bcadb[_0x275356]=_0x2b21d5;const _0xb15a1f=_0x4bcadb,_0x17e802=_0x41a525[_0x1b94a7(0x23e)](getPlaywrightTestFilePath,_0x1b3e7f),_0x23e104=_0x17e802,_0x348df0=TestInfo[_0x1b94a7(0x289)](_0x275356)[TestFrameworkConstants['KEY_CUSTOM_TAGS']]||{};if(_0x41a525[_0x1b94a7(0x2ce)](_0x4f1cea,HookState['PRE'])){const _0x483774={'key':_0x54a7ce,[TestFrameworkConstants[_0x1b94a7(0x1e6)]]:_0x41a525['ZNeVY'](uuidv4),[TestFrameworkConstants[_0x1b94a7(0x265)]]:TestFrameworkConstants[_0x1b94a7(0x1f1)],[TestFrameworkConstants[_0x1b94a7(0x1fc)]]:_0xc8df23['startTime'],[TestFrameworkConstants[_0x1b94a7(0x213)]]:[],[TestFrameworkConstants[_0x1b94a7(0x1cd)]]:_0xc8df23[_0x1b94a7(0x24f)],[TestFrameworkConstants[_0x1b94a7(0x22e)]]:_0x17e802,[TestFrameworkConstants[_0x1b94a7(0x22c)]]:_0x23e104,[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:_0x348df0};_0x7de2ca[_0x54a7ce][_0x1b94a7(0x239)](_0x483774),_0xb15a1f[_0x275356][TestFrameworkConstants[_0x1b94a7(0x1e5)]]=_0x54a7ce,logger[_0x1b94a7(0x23f)](_0x1b94a7(0x1d8)+_0x54a7ce+_0x1b94a7(0x220)+_0x483774+_0x1b94a7(0x21a)+_0x4b99c6);}else{if(_0x41a525[_0x1b94a7(0x2ce)](_0x4f1cea,HookState[_0x1b94a7(0x254)])){const _0x1824cb=await _0x4b99c6['result'],_0x5983f8=_0x7de2ca[_0x54a7ce]||[],_0x6147af=_0x4b99c6['step'];logger[_0x1b94a7(0x23f)](_0x1b94a7(0x1c2)+_0x5983f8+_0x1b94a7(0x1ee)+_0x4b99c6);if(_0x41a525[_0x1b94a7(0x1f5)](_0x5983f8[_0x1b94a7(0x20b)],0x0)){const _0x37b0a8=_0x5983f8['pop']();if(_0x6147af[_0x1b94a7(0x1cf)]){const _0x11304b=_0x41a525[_0x1b94a7(0x28c)](failureData,_0x6147af[_0x1b94a7(0x1cf)],_0x41a525[_0x1b94a7(0x1de)]);_0x37b0a8[TestFrameworkConstants['KEY_HOOK_FAILURE_TYPE']]=_0x41a525[_0x1b94a7(0x23e)](getFailureType,_0x6147af?.[_0x1b94a7(0x1cf)]['message']),_0x37b0a8[TestFrameworkConstants['KEY_HOOK_FAILURE_REASON']]=_0x41a525[_0x1b94a7(0x1c9)](removeAnsiColors,_0x6147af?.[_0x1b94a7(0x1cf)][_0x1b94a7(0x2b7)]),_0x37b0a8[TestFrameworkConstants[_0x1b94a7(0x265)]]=_0x41a525[_0x1b94a7(0x26d)],_0x37b0a8[TestFrameworkConstants[_0x1b94a7(0x2a4)]]=_0x11304b;}else _0x37b0a8[TestFrameworkConstants[_0x1b94a7(0x265)]]=_0x41a525[_0x1b94a7(0x1dd)];_0x41a525[_0x1b94a7(0x235)](_0x1824cb,TestFrameworkConstants[_0x1b94a7(0x1f1)])&&(_0x37b0a8[TestFrameworkConstants[_0x1b94a7(0x265)]]=!_0x6147af['error']?_0x41a525[_0x1b94a7(0x1dd)]:_0x41a525[_0x1b94a7(0x26d)]);const _0x517b25=new Date(_0x6147af['startTime']),_0x13b448=new Date(_0x41a525[_0x1b94a7(0x1e9)](_0x517b25['getTime'](),_0x6147af[_0x1b94a7(0x207)]));_0x37b0a8[TestFrameworkConstants[_0x1b94a7(0x1db)]]=_0x13b448[_0x1b94a7(0x24c)](),_0x37b0a8[TestFrameworkConstants[_0x1b94a7(0x2bf)]]=_0x348df0;const _0x45d306=_0x37b0a8[TestFrameworkConstants[_0x1b94a7(0x1e6)]];await this[_0x1b94a7(0x21b)](_0x5e09b4,_0x4524d3,_0x45d306,_0x41a525[_0x1b94a7(0x1f0)],_0x4b99c6),!_0x1ae41e[_0x54a7ce]&&(_0x1ae41e[_0x54a7ce]=[]),_0x1ae41e[_0x54a7ce][_0x1b94a7(0x239)](_0x37b0a8),_0xb15a1f[_0x275356][TestFrameworkConstants['KEY_HOOK_LAST_FINISHED']]=_0x54a7ce;}}}return _0xb15a1f;}async['sendLogCreatedEvent'](_0x406b10,_0x317170,_0x5ebdf8,_0x4ebed9,_0x29d163,_0x1f1e4a){const _0x3f462b=a100_0x1e9e7b,_0x1e171d={'dyBNJ':function(_0x2b4bfc,_0x360244){return _0x2b4bfc===_0x360244;},'rpNre':_0x3f462b(0x205),'MrUTV':function(_0x4268dd,_0x2d7e4d,_0x19f779){return _0x4268dd(_0x2d7e4d,_0x19f779);},'YQRoC':_0x3f462b(0x214),'GrgjL':function(_0x54c109,_0x6469da,_0x22554a,_0x463e20){return _0x54c109(_0x6469da,_0x22554a,_0x463e20);},'fbfVZ':function(_0x12bdab,_0x63898,_0x4af26c){return _0x12bdab(_0x63898,_0x4af26c);},'owUkg':function(_0x34dfa0,_0x35e4cb,_0x5e299a){return _0x34dfa0(_0x35e4cb,_0x5e299a);},'Lvrov':function(_0x5a51ee,_0x58943e,_0x290f36){return _0x5a51ee(_0x58943e,_0x290f36);},'QbcTZ':function(_0x5370fe,_0x505cd2){return _0x5370fe/_0x505cd2;},'UTubV':function(_0x3f4721,_0x216096){return _0x3f4721<_0x216096;},'tdawj':function(_0x27bff2,_0x5ebc64){return _0x27bff2*_0x5ebc64;},'GREEE':function(_0x3d39ef,_0x1a4b57){return _0x3d39ef+_0x1a4b57;},'mpPNp':function(_0xa6f048,_0x9084d1,_0x29e97e,_0x2d2e76,_0x3dd20c){return _0xa6f048(_0x9084d1,_0x29e97e,_0x2d2e76,_0x3dd20c);},'aLbrH':function(_0x2d7a2a,_0x9cf8d3){return _0x2d7a2a+_0x9cf8d3;},'pWIxa':_0x3f462b(0x1c7),'fDvAf':function(_0x1900d1,_0x19c5c0,_0x39e43a){return _0x1900d1(_0x19c5c0,_0x39e43a);},'XSCRo':function(_0x4d8337,_0x4606ca,_0x3a8cec,_0x476d83,_0x448ab1){return _0x4d8337(_0x4606ca,_0x3a8cec,_0x476d83,_0x448ab1);}};try{if(_0x1e171d['dyBNJ'](_0x4ebed9,_0x1e171d[_0x3f462b(0x288)])){const _0x58e056=await _0x29d163[_0x3f462b(0x296)],_0x3e9f7d=_0x1e171d[_0x3f462b(0x1da)](getTestRunIdentifier,_0x29d163[_0x3f462b(0x205)],_0x29d163[_0x3f462b(0x296)]['retry']),_0x507423=_0x29d163[_0x3f462b(0x205)];logger[_0x3f462b(0x23f)](_0x3f462b(0x204)+_0x3e9f7d+_0x3f462b(0x1f6)+util[_0x3f462b(0x29f)](_0x58e056));const _0x548803=_0x406b10[_0x3f462b(0x211)]()['get'](_0x3e9f7d)[TestFrameworkConstants[_0x3f462b(0x20d)]];await _0x1e171d[_0x3f462b(0x1da)](sendTraceZip,_0x58e056,_0x548803);const _0x2c1ef2=TestInfo[_0x3f462b(0x289)](_0x3e9f7d)[_0x1e171d[_0x3f462b(0x2b5)]],_0x14f4d0={};if(_0x2c1ef2){!_0x58e056[_0x3f462b(0x214)]&&(_0x58e056[_0x3f462b(0x214)]=[]);_0x14f4d0[_0x3f462b(0x214)]=_0x58e056[_0x3f462b(0x214)]['concat'](_0x2c1ef2||[]);const _0x1aff9e=TestInfo['getTestDetails'](_0x3e9f7d);delete _0x1aff9e[_0x1e171d[_0x3f462b(0x2b5)]],TestInfo[_0x3f462b(0x1ff)](_0x3e9f7d,_0x1aff9e);}const _0xa3b594=_0x1f1e4a||_0x1e171d[_0x3f462b(0x28e)](getStepsAndLogs,_0x58e056[_0x3f462b(0x202)],_0x406b10[_0x3f462b(0x211)]()[_0x3f462b(0x23c)](_0x3e9f7d)[TestFrameworkConstants[_0x3f462b(0x20d)]],_0x1e171d[_0x3f462b(0x288)])['logs'],_0x40b988=_0x1e171d[_0x3f462b(0x216)](getScreenshots,_0x14f4d0,_0x406b10[_0x3f462b(0x211)]()[_0x3f462b(0x23c)](_0x3e9f7d)[TestFrameworkConstants[_0x3f462b(0x20d)]]),_0x164740=_0x1e171d['fbfVZ'](getVideos,_0x58e056,_0x406b10[_0x3f462b(0x211)]()[_0x3f462b(0x23c)](_0x3e9f7d)[TestFrameworkConstants[_0x3f462b(0x20d)]]),{_:_0xbc5885,logs:_0x4206b5}=_0x1e171d[_0x3f462b(0x1ea)](getFailureData,_0x58e056[_0x3f462b(0x25b)],{'test_run_uuid':_0x406b10['getAllData']()[_0x3f462b(0x23c)](_0x3e9f7d)[TestFrameworkConstants['KEY_TEST_UUID']]}),_0x2a0518=TestInfo['getTestDetails'](_0x3e9f7d)[TestFrameworkConstants[_0x3f462b(0x26f)]]||{},_0x3e3d6c=_0x1e171d[_0x3f462b(0x242)](getMediaArtifactsLogs,_0x2a0518,_0x406b10[_0x3f462b(0x211)]()['get'](_0x3e9f7d)[TestFrameworkConstants[_0x3f462b(0x20d)]]),_0x1195dc=_0x406b10['getAllData']()[_0x3f462b(0x23c)](_0x3e9f7d),{[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x50cbc8='',[TestFrameworkConstants[_0x3f462b(0x291)]]:_0x405e34=''}=_0x1195dc,_0x2fcd0b=(_0xa3b594||[])[_0x3f462b(0x1fe)](_0x40b988||[])[_0x3f462b(0x1fe)](_0x4206b5||[])['concat'](_0x164740||[])[_0x3f462b(0x1fe)](_0x3e3d6c||[]),_0xa7bb6b=0x28,_0x3e0fbc=Math[_0x3f462b(0x227)](_0x1e171d['QbcTZ'](_0x2fcd0b['length'],_0xa7bb6b));for(let _0x3b9906=0x0;_0x1e171d[_0x3f462b(0x1f3)](_0x3b9906,_0x3e0fbc);_0x3b9906++){const _0x478d58=_0x1e171d[_0x3f462b(0x278)](_0x3b9906,_0xa7bb6b),_0x48452e=_0x1e171d[_0x3f462b(0x28b)](_0x478d58,_0xa7bb6b),_0x1f2c0e=_0x2fcd0b[_0x3f462b(0x287)](_0x478d58,_0x48452e),_0x238b24={'platformIndex':global?.[_0x3f462b(0x1fb)]??0x0,'logs':_0x1f2c0e,'testFrameworkName':_0x50cbc8,'testFrameworkVersion':_0x405e34,'testFrameworkState':_0x317170[_0x3f462b(0x251)]()['split']('.')[0x1]};_0x1e171d[_0x3f462b(0x21c)](updatePayloadForTraceLogs,_0x238b24,_0x29d163,_0x3e9f7d,_0x406b10),logger['debug'](_0x3f462b(0x252)+_0x3e9f7d+_0x3f462b(0x201)+_0x1e171d[_0x3f462b(0x20e)](_0x3b9906,0x1)+'/'+_0x3e0fbc+_0x3f462b(0x2cd)+util[_0x3f462b(0x29f)](_0x238b24));const _0x337050=await GrpcClient[_0x3f462b(0x217)]()[_0x3f462b(0x212)](_0x238b24);logger[_0x3f462b(0x23f)](_0x3f462b(0x252)+_0x3e9f7d+'\x20batch\x20'+_0x1e171d[_0x3f462b(0x28b)](_0x3b9906,0x1)+'/'+_0x3e0fbc+_0x3f462b(0x1c4)+util[_0x3f462b(0x29f)](_0x337050));}}else{const {logs:_0xca58da}=_0x1e171d[_0x3f462b(0x28e)](getStepsAndLogs,_0x29d163[_0x3f462b(0x1e7)][_0x3f462b(0x202)],_0x5ebdf8,_0x1e171d[_0x3f462b(0x258)]),_0x11802a=_0x1e171d[_0x3f462b(0x273)](getTestRunIdentifier,_0x29d163[_0x3f462b(0x205)],_0x29d163[_0x3f462b(0x296)][_0x3f462b(0x1fa)]);logger[_0x3f462b(0x23f)]('sendLogCreatedEvent:\x20testId='+_0x11802a);const _0xd26d0c=_0x406b10[_0x3f462b(0x211)]()[_0x3f462b(0x23c)](_0x11802a),{[TestFrameworkConstants[_0x3f462b(0x26b)]]:_0x4cd217='',[TestFrameworkConstants[_0x3f462b(0x291)]]:_0x352018=''}=_0xd26d0c,_0xe92618={'platformIndex':'0','logs':_0xca58da,'testFrameworkName':_0x4cd217,'testFrameworkVersion':_0x352018,'testFrameworkState':_0x317170[_0x3f462b(0x251)]()[_0x3f462b(0x286)]('.')[0x1]};_0x1e171d[_0x3f462b(0x1f2)](updatePayloadForTraceLogs,_0xe92618,_0x29d163,_0x11802a,_0x406b10),logger[_0x3f462b(0x23f)](_0x3f462b(0x252)+_0x11802a+_0x3f462b(0x2cd)+util['inspect'](_0xe92618));const _0x37c93a=await GrpcClient[_0x3f462b(0x217)]()['logCreatedEvent'](_0xe92618);}}catch(_0xf5caa){logger[_0x3f462b(0x1cf)]('Error\x20in\x20sendLogCreatedEvent:\x20'+util[_0x3f462b(0x28a)](_0xf5caa));}}[a100_0x1e9e7b(0x250)](_0x47238a){const _0x132c55=a100_0x1e9e7b,_0x21efef={'BKJzk':function(_0xe370ed,_0x34b851,_0xf3f402){return _0xe370ed(_0x34b851,_0xf3f402);},'FdnvZ':function(_0xafc2d5,_0x7eb981){return _0xafc2d5<_0x7eb981;},'UemdJ':_0x132c55(0x27c)};try{const _0x129ee2=_0x47238a[_0x132c55(0x205)]['id'],_0x828b17=_0x21efef['BKJzk'](getTestRunIdentifier,_0x47238a[_0x132c55(0x205)],_0x47238a[_0x132c55(0x296)]['retry']),_0xa8cc7c=_0x47238a[_0x132c55(0x1d9)],_0x1bec5b=_0xa8cc7c[_0x132c55(0x238)](),_0x2fa25c=_0xa8cc7c[_0x132c55(0x211)]()[_0x132c55(0x23c)](_0x828b17);logger['debug']('createTestFrameworkEventPayload\x20testId:\x20'+_0x129ee2);const {[TestFrameworkConstants[_0x132c55(0x26b)]]:_0x488962='',[TestFrameworkConstants[_0x132c55(0x291)]]:_0x40ee99='',[TestFrameworkConstants[_0x132c55(0x1f7)]]:_0x2f1258='',[TestFrameworkConstants[_0x132c55(0x27e)]]:_0x16fdbb=''}=_0x2fa25c,_0x55b8ce=_0xa8cc7c[_0x132c55(0x1dc)]()[_0x132c55(0x251)]()[_0x132c55(0x286)]('.')[0x1],_0x2cae4f=_0xa8cc7c[_0x132c55(0x2b8)]()[_0x132c55(0x251)]()['split']('.')[0x1],_0x25f70f=_0x21efef['FdnvZ'](_0x47238a?.['result']?.[_0x132c55(0x253)]??0x0,0x0)?0x0:_0x47238a?.[_0x132c55(0x296)]?.[_0x132c55(0x253)]??0x0,_0x358fa9=_0xa8cc7c['getRef'](),_0x5c8b22=Buffer['from'](JSON[_0x132c55(0x2c2)](_0x2fa25c))[_0x132c55(0x251)](_0x21efef[_0x132c55(0x263)]),_0x307bab={'hash':_0x1bec5b[_0x132c55(0x2c5)](),'threadId':_0x1bec5b[_0x132c55(0x1d3)]()[_0x132c55(0x251)](),'processId':_0x1bec5b['getProcessId']()[_0x132c55(0x251)]()},_0xd16861={};_0xd16861[_0x132c55(0x284)]=_0x25f70f,_0xd16861[_0x132c55(0x21e)]=_0x488962,_0xd16861[_0x132c55(0x22d)]=_0x40ee99,_0xd16861['testFrameworkState']=_0x55b8ce,_0xd16861['hookState']=_0x2cae4f,_0xd16861[_0x132c55(0x28d)]=_0x2f1258,_0xd16861[_0x132c55(0x240)]=_0x16fdbb,_0xd16861['uuid']=_0x358fa9,_0xd16861[_0x132c55(0x2ab)]=_0x5c8b22,_0xd16861[_0x132c55(0x245)]=_0x307bab;const _0x2f0fc4=_0xd16861;return logger[_0x132c55(0x23f)](_0x132c55(0x1d4)+_0x129ee2+_0x132c55(0x1d6)+_0x55b8ce+_0x132c55(0x282)+_0x2cae4f),_0x2f0fc4;}catch(_0x3565ac){return logger[_0x132c55(0x1cf)]('Error\x20in\x20createTestFrameworkEventPayload:\x20'+util[_0x132c55(0x28a)](_0x3565ac)),{};}}}module[a100_0x1e9e7b(0x298)]=PlaywrightTestFramework;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a101_0x6b74b5=a101_0x5cf7;(function(_0x502971,_0x1c9dc2){const _0x3b0a71=a101_0x5cf7,_0x12b26e=_0x502971();while(!![]){try{const _0x10d5b2=parseInt(_0x3b0a71(0xf1))/0x1+-parseInt(_0x3b0a71(0xf6))/0x2*(parseInt(_0x3b0a71(0xe0))/0x3)+-parseInt(_0x3b0a71(0xf9))/0x4+-parseInt(_0x3b0a71(0xe7))/0x5+parseInt(_0x3b0a71(0xfa))/0x6*(parseInt(_0x3b0a71(0xf4))/0x7)+parseInt(_0x3b0a71(0xf8))/0x8+parseInt(_0x3b0a71(0xfd))/0x9;if(_0x10d5b2===_0x1c9dc2)break;else _0x12b26e['push'](_0x12b26e['shift']());}catch(_0x4ee3e9){_0x12b26e['push'](_0x12b26e['shift']());}}}(a101_0x54d3,0xd9238));const AutomationFramework=require(a101_0x6b74b5(0xea)),{createClassLogger}=require(a101_0x6b74b5(0xfc)),AutomationFrameworkState=require(a101_0x6b74b5(0x102)),HookState=require(a101_0x6b74b5(0xdb)),CLIUtils=require('../cliUtils.js'),TrackedInstance=require(a101_0x6b74b5(0xe4)),AutomationFrameworkInstance=require(a101_0x6b74b5(0xdc));function a101_0x54d3(){const _0x2b4262=['PRE','trackPuppeteerInstance','1422575HQLNNC','NmdUE','7946emyANN','trackPuppeteerInstance:\x20saved\x20instance\x20contextId=','6561128xvjcwY','4744056OfGnBn','42nJgyXN','resolveInstance','../../../helpers/classLogger.js','7642746UkucFt','info','debug','getTrackedInstance','trackEvent:\x20No\x20instance\x20found,\x20skipping\x20tracking','../state/automationFrameworkState.js','trackPuppeteerInstance:\x20instance\x20already\x20exists','CREATE','vPWpb','../state/hookState.js','../instances/automationFrameworkInstance.js','createContext','gfNpJ','trackPuppeteerInstance:\x20created\x20instance\x20for\x20target=','141WdXdRw','getId','NONE','\x20target=','../instances/trackedInstance.js','getCurrentInstanceName','getAutomationFrameworkName','7171675xqvfKH','PuppeteerAutomationFramework','\x20hookState=','./automationFramework.js','dLXld','logger','exports','runHooks','trackEvent','setTrackedInstance','604570VIyvLO'];a101_0x54d3=function(){return _0x2b4262;};return a101_0x54d3();}function a101_0x5cf7(_0x37c890,_0x359cbd){const _0x54d3c7=a101_0x54d3();return a101_0x5cf7=function(_0x5cf776,_0x39637c){_0x5cf776=_0x5cf776-0xdb;let _0x34d2f8=_0x54d3c7[_0x5cf776];return _0x34d2f8;},a101_0x5cf7(_0x37c890,_0x359cbd);}class PuppeteerAutomationFramework extends AutomationFramework{[a101_0x6b74b5(0xec)]=createClassLogger(a101_0x6b74b5(0xe8));constructor(_0x332d83,_0x327c26){super(_0x332d83,_0x327c26);}async['trackEvent'](_0x1149bb,_0x193b8f,_0x150a63={}){const _0x1dad7f=a101_0x6b74b5,_0x4cdc77={};_0x4cdc77[_0x1dad7f(0x105)]=function(_0x13c88d,_0x358161){return _0x13c88d===_0x358161;},_0x4cdc77['gfNpJ']=_0x1dad7f(0x101);const _0x3f1840=_0x4cdc77;this[_0x1dad7f(0xec)][_0x1dad7f(0xff)]('trackEvent:\x20automationFrameworkState='+_0x1149bb+_0x1dad7f(0xe9)+_0x193b8f),await super[_0x1dad7f(0xef)](_0x1149bb,_0x193b8f,_0x150a63);const _0x1bbd7e=this[_0x1dad7f(0xfb)](_0x1149bb,_0x193b8f,_0x150a63);if(_0x3f1840['vPWpb'](_0x1bbd7e,null)){this[_0x1dad7f(0xec)][_0x1dad7f(0xff)](_0x3f1840[_0x1dad7f(0xde)]);return;}_0x150a63['instance']=_0x1bbd7e,await this[_0x1dad7f(0xee)](_0x1bbd7e,_0x1149bb,_0x193b8f,_0x150a63);}['resolveInstance'](_0x501399,_0x150e21,_0x326f55={}){const _0x21d873=a101_0x6b74b5,_0x25955c={};_0x25955c[_0x21d873(0xf5)]=function(_0x5e24a4,_0x57d0ad){return _0x5e24a4===_0x57d0ad;};const _0x5b1157=_0x25955c;let _0x63bffb=null;return(_0x5b1157[_0x21d873(0xf5)](_0x501399,AutomationFrameworkState[_0x21d873(0x104)])&&_0x5b1157[_0x21d873(0xf5)](_0x150e21,HookState[_0x21d873(0xf2)])||_0x5b1157[_0x21d873(0xf5)](_0x501399,AutomationFrameworkState[_0x21d873(0xe2)]))&&this[_0x21d873(0xf3)](_0x501399,_0x326f55),_0x63bffb=AutomationFramework[_0x21d873(0x100)](),_0x63bffb;}['trackPuppeteerInstance'](_0x311ec2,_0x69313b){const _0x5d8bff=a101_0x6b74b5,_0x177212={};_0x177212[_0x5d8bff(0xeb)]=_0x5d8bff(0x103);const _0x3a7c03=_0x177212;if(AutomationFramework[_0x5d8bff(0x100)]()){this[_0x5d8bff(0xec)][_0x5d8bff(0xfe)](_0x3a7c03['dLXld']);return;}const _0x496cbb=CLIUtils[_0x5d8bff(0xe5)](),_0x17558e=TrackedInstance[_0x5d8bff(0xdd)](_0x496cbb);let _0x54cf82=null;this[_0x5d8bff(0xec)][_0x5d8bff(0xfe)](_0x5d8bff(0xdf)+_0x496cbb+',\x20state='+_0x311ec2),_0x54cf82=new AutomationFrameworkInstance(_0x17558e,this[_0x5d8bff(0xe6)](),this['getAutomationFrameworkVersion'](),_0x311ec2),AutomationFramework[_0x5d8bff(0xf0)](_0x17558e,_0x54cf82),this[_0x5d8bff(0xec)][_0x5d8bff(0xfe)](_0x5d8bff(0xf7)+_0x17558e[_0x5d8bff(0xe1)]()+_0x5d8bff(0xe3)+_0x496cbb);}}module[a101_0x6b74b5(0xed)]=PuppeteerAutomationFramework;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a102_0x180a(){const _0x267c51=['setCurrentTestState','runHooks','403600USoTZc','notifyObserver','setTrackedInstance','../cliUtils','374437eNQRWH','has','../state/hookState','debug','../eventDispatcher','setState','12681rOooBl','createContext','1228066EfRWst','1195ecmvUM','exports','get','binSessionId','getId','../instances/testFrameworkInstance','11384oKmjGN','TestFramework','../instances/trackedContext','set','getTestFrameworks','16476IFFBaU','../state/testFrameworkState','getAllData','getHookRegistryKey','2383500wjADwy','trackEvent:\x20testFrameworkState=','registerObserver','../../../helpers/classLogger','testFrameworkVersions','setCurrentHookState','__bstack_test_framework_instances__','hasState','getTestFrameworksVersions','instances','276603BcjNNT','getState',';\x20hookState=','testFrameworks'];a102_0x180a=function(){return _0x267c51;};return a102_0x180a();}const a102_0x11aa37=a102_0x2491;(function(_0x30939d,_0xc3058b){const _0x129fe2=a102_0x2491,_0x39089d=_0x30939d();while(!![]){try{const _0x486588=parseInt(_0x129fe2(0x111))/0x1+parseInt(_0x129fe2(0xf1))/0x2+parseInt(_0x129fe2(0x10b))/0x3+parseInt(_0x129fe2(0x101))/0x4+parseInt(_0x129fe2(0xf2))/0x5*(parseInt(_0x129fe2(0xfd))/0x6)+parseInt(_0x129fe2(0x115))/0x7+parseInt(_0x129fe2(0xf8))/0x8*(-parseInt(_0x129fe2(0x11b))/0x9);if(_0x486588===_0xc3058b)break;else _0x39089d['push'](_0x39089d['shift']());}catch(_0x29eba2){_0x39089d['push'](_0x39089d['shift']());}}}(a102_0x180a,0x64377));const CLIUtils=require(a102_0x11aa37(0x114)),eventDispatcher=require(a102_0x11aa37(0x119)),TestFrameworkInstance=require(a102_0x11aa37(0xf7)),TrackedContext=require(a102_0x11aa37(0xfa)),TestFrameworkState=require(a102_0x11aa37(0xfe)),HookState=require(a102_0x11aa37(0x117)),{createClassLogger}=require(a102_0x11aa37(0x104)),TrackedInstance=require('../instances/trackedInstance'),logger=createClassLogger(a102_0x11aa37(0xf9));function a102_0x2491(_0x362897,_0x1854f1){const _0x180a7b=a102_0x180a();return a102_0x2491=function(_0x249165,_0x283c80){_0x249165=_0x249165-0xf1;let _0x1eb98e=_0x180a7b[_0x249165];return _0x1eb98e;},a102_0x2491(_0x362897,_0x1854f1);}!global[a102_0x11aa37(0x107)]&&(global['__bstack_test_framework_instances__']=new Map());class TestFramework{static get[a102_0x11aa37(0x10a)](){return global['__bstack_test_framework_instances__'];}[a102_0x11aa37(0x10e)]=[];[a102_0x11aa37(0x105)]={};['binSessionId']=null;constructor(_0x294f21,_0x4c9d44,_0x1b1e43){const _0x3f13ad=a102_0x11aa37;this[_0x3f13ad(0x10e)]=_0x294f21,this[_0x3f13ad(0x105)]=_0x4c9d44,this[_0x3f13ad(0xf5)]=_0x1b1e43;}['getInstances'](){const _0x106c11=a102_0x11aa37;return TestFramework[_0x106c11(0x10a)];}['setInstance'](_0x20c745,_0x256380){const _0x187504=a102_0x11aa37;TestFramework['instances'][_0x187504(0xfb)](_0x20c745['getId'],_0x256380);}static['getTrackedInstance'](){const _0x3e6372=a102_0x11aa37,_0x3be36b=TrackedInstance[_0x3e6372(0x11c)](CLIUtils['getCurrentInstanceName']());return TestFramework['instances'][_0x3e6372(0xf4)](_0x3be36b[_0x3e6372(0xf6)]());}static[a102_0x11aa37(0x113)](_0x4d3125,_0x1cbd1a){const _0x5d7eac=a102_0x11aa37;TestFramework[_0x5d7eac(0x10a)]['set'](_0x4d3125[_0x5d7eac(0xf6)](),_0x1cbd1a);}[a102_0x11aa37(0x109)](){const _0x259b9f=a102_0x11aa37;return this[_0x259b9f(0x105)];}[a102_0x11aa37(0xfc)](){const _0xb830d2=a102_0x11aa37;return this[_0xb830d2(0x10e)];}['trackEvent'](_0x30e28a,_0x20a6ae,_0x584eeb={}){const _0x46206d=a102_0x11aa37;logger[_0x46206d(0x118)](_0x46206d(0x102)+_0x30e28a+_0x46206d(0x10d)+_0x20a6ae);}async[a102_0x11aa37(0x110)](_0x2d6a11,_0x2d7f78,_0x218e94,_0x2abee0={}){const _0x17e378=a102_0x11aa37,_0x210980=CLIUtils[_0x17e378(0x100)](_0x2d7f78,_0x218e94);_0x2d6a11[_0x17e378(0x10f)](_0x2d7f78),_0x2d6a11[_0x17e378(0x106)](_0x218e94),await eventDispatcher[_0x17e378(0x112)](_0x210980,_0x2abee0);}static['registerObserver'](_0x275348,_0x2721c0,_0x16c1a0){const _0x23a28d=a102_0x11aa37;eventDispatcher[_0x23a28d(0x103)](CLIUtils[_0x23a28d(0x100)](_0x275348,_0x2721c0),_0x16c1a0);}static[a102_0x11aa37(0x10c)](_0x3e6196,_0x52a056){const _0x4440d6=a102_0x11aa37;return _0x3e6196[_0x4440d6(0xff)]()[_0x4440d6(0xf4)](_0x52a056);}static[a102_0x11aa37(0x11a)](_0xe1a85d,_0x19930a,_0x5185eb){const _0x1390f6=a102_0x11aa37;_0xe1a85d['getAllData']()[_0x1390f6(0xfb)](_0x19930a,_0x5185eb);}static[a102_0x11aa37(0x108)](_0x6ec31f,_0x3d1b79){const _0x2c12e4=a102_0x11aa37;return _0x6ec31f[_0x2c12e4(0xff)]()[_0x2c12e4(0x116)](_0x3d1b79);}}module[a102_0x11aa37(0xf3)]=TestFramework;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const a103_0x1a5e46=a103_0x28f7;(function(_0x16dd8c,_0x7140fd){const _0x596279=a103_0x28f7,_0x337923=_0x16dd8c();while(!![]){try{const _0x2236eb=-parseInt(_0x596279(0x1e7))/0x1*(-parseInt(_0x596279(0x1f4))/0x2)+parseInt(_0x596279(0x1cf))/0x3+parseInt(_0x596279(0x1ff))/0x4+parseInt(_0x596279(0x1d8))/0x5*(parseInt(_0x596279(0x1fa))/0x6)+-parseInt(_0x596279(0x1e2))/0x7+-parseInt(_0x596279(0x1d7))/0x8+parseInt(_0x596279(0x1d9))/0x9*(-parseInt(_0x596279(0x1de))/0xa);if(_0x2236eb===_0x7140fd)break;else _0x337923['push'](_0x337923['shift']());}catch(_0x222789){_0x337923['push'](_0x337923['shift']());}}}(a103_0x3ecc,0x368a2));const AutomationFramework=require('./automationFramework.js'),AutomationFrameworkInstance=require('../instances/automationFrameworkInstance.js'),AutomationFrameworkState=require(a103_0x1a5e46(0x1d3)),TrackedInstance=require('../instances/trackedInstance.js'),{createClassLogger}=require(a103_0x1a5e46(0x1f9)),logger=createClassLogger(a103_0x1a5e46(0x1ca));function a103_0x28f7(_0x31187f,_0x33558d){const _0x3ecce0=a103_0x3ecc();return a103_0x28f7=function(_0x28f7f1,_0x11dc02){_0x28f7f1=_0x28f7f1-0x1ca;let _0x18eb9d=_0x3ecce0[_0x28f7f1];return _0x18eb9d;},a103_0x28f7(_0x31187f,_0x33558d);}class TestCafeAutomationFramework extends AutomationFramework{constructor(_0x40b7a7,_0x2da027){super(_0x40b7a7,_0x2da027);}async[a103_0x1a5e46(0x1fd)](_0x4873d3,_0x30b417,_0x5ea7bf={}){const _0x271f40=a103_0x1a5e46;await super[_0x271f40(0x1fd)](_0x4873d3,_0x30b417,_0x5ea7bf);const _0x3cfa6e=this['resolveInstance'](_0x4873d3,_0x30b417,_0x5ea7bf);if(!_0x3cfa6e){logger[_0x271f40(0x1e8)](_0x271f40(0x1fc)+_0x4873d3+_0x271f40(0x1ef)+_0x30b417);return;}_0x5ea7bf[_0x271f40(0x1d6)]=_0x3cfa6e,await this[_0x271f40(0x1df)](_0x3cfa6e,_0x4873d3,_0x30b417,_0x5ea7bf);}['resolveInstance'](_0xa581dc,_0x503c8f,_0x56673e={}){const _0x54a5aa=a103_0x1a5e46,_0xdd8e51={};_0xdd8e51[_0x54a5aa(0x201)]=_0x54a5aa(0x1db),_0xdd8e51[_0x54a5aa(0x1cc)]=function(_0x521d1a,_0x46941f){return _0x521d1a===_0x46941f;},_0xdd8e51[_0x54a5aa(0x1e1)]=function(_0x4302e4,_0x176715){return _0x4302e4||_0x176715;};const _0x27401b=_0xdd8e51,_0x58e8fe=_0x56673e['userAgent']||null;if(!_0x58e8fe)return logger[_0x54a5aa(0x1f6)](_0x27401b['whXxv']),AutomationFramework[_0x54a5aa(0x1ec)]();const _0x56c865=Number[_0x54a5aa(0x1e4)](_0x56673e[_0x54a5aa(0x1ee)])?_0x56673e['platformIndex']:0x0,_0x4cf00a='testcafe:'+_0x58e8fe+'#'+_0x56c865;let _0x284f21=AutomationFramework['instances'][_0x54a5aa(0x1f8)](_0x4cf00a);if(!_0x284f21&&(_0x27401b['Lkvtx'](_0xa581dc,AutomationFrameworkState[_0x54a5aa(0x202)])||_0x27401b[_0x54a5aa(0x1cc)](_0xa581dc,AutomationFrameworkState[_0x54a5aa(0x1d0)]))){const _0x11fb1c=TrackedInstance[_0x54a5aa(0x1e3)](_0x4cf00a);_0x284f21=new AutomationFrameworkInstance(_0x11fb1c,this[_0x54a5aa(0x1f0)](),this[_0x54a5aa(0x1cb)](),_0xa581dc),AutomationFramework[_0x54a5aa(0x200)][_0x54a5aa(0x1ea)](_0x4cf00a,_0x284f21),logger[_0x54a5aa(0x1cd)](_0x54a5aa(0x1e6)+_0x58e8fe+_0x54a5aa(0x1ce)+_0x56c865+_0x54a5aa(0x1f2)+_0x4cf00a);}return _0x27401b[_0x54a5aa(0x1e1)](_0x284f21,null);}static[a103_0x1a5e46(0x1f3)](_0x582927,_0x59045d=0x0){const _0x46add8=a103_0x1a5e46,_0x392d54=_0x46add8(0x1d2)+_0x582927+'#'+_0x59045d;return AutomationFramework[_0x46add8(0x200)][_0x46add8(0x1dd)](_0x392d54);}static[a103_0x1a5e46(0x1e9)](_0x50098d,_0x423c09=0x0){const _0x1f7953=a103_0x1a5e46;return AutomationFramework[_0x1f7953(0x200)][_0x1f7953(0x1f8)](_0x1f7953(0x1d2)+_0x50098d+'#'+_0x423c09)||null;}static*[a103_0x1a5e46(0x1fb)](){const _0x16ab6e=a103_0x1a5e46,_0x4fceb2={};_0x4fceb2['SZHPw']=function(_0x3ec26f,_0xef10c4){return _0x3ec26f===_0xef10c4;},_0x4fceb2[_0x16ab6e(0x1f1)]=_0x16ab6e(0x1eb),_0x4fceb2[_0x16ab6e(0x1e5)]=_0x16ab6e(0x1d2),_0x4fceb2[_0x16ab6e(0x1ed)]=function(_0x3b93dd,_0x2addb9){return _0x3b93dd===_0x2addb9;},_0x4fceb2[_0x16ab6e(0x1d4)]=function(_0x44d85a,_0x1e814c){return _0x44d85a+_0x1e814c;};const _0x15e020=_0x4fceb2;for(const [_0x26dcb9,_0x37d0db]of AutomationFramework[_0x16ab6e(0x200)]['entries']()){if(_0x15e020[_0x16ab6e(0x1d5)](typeof _0x26dcb9,_0x15e020[_0x16ab6e(0x1f1)])&&_0x26dcb9[_0x16ab6e(0x1e0)](_0x15e020['eWsry'])){const _0x143335=_0x26dcb9[_0x16ab6e(0x1fe)](_0x15e020[_0x16ab6e(0x1e5)][_0x16ab6e(0x1dc)]),_0x908667=_0x143335[_0x16ab6e(0x1da)]('#');if(_0x15e020['gHPGO'](_0x908667,-0x1)){const _0x1b8432={};_0x1b8432[_0x16ab6e(0x1f7)]=_0x143335,_0x1b8432[_0x16ab6e(0x1ee)]=0x0,_0x1b8432[_0x16ab6e(0x1d6)]=_0x37d0db,yield _0x1b8432;}else{const _0x1fd201=_0x143335[_0x16ab6e(0x1fe)](0x0,_0x908667),_0x53ff94=Number[_0x16ab6e(0x1f5)](_0x143335[_0x16ab6e(0x1fe)](_0x15e020[_0x16ab6e(0x1d4)](_0x908667,0x1)),0xa)||0x0,_0x1782ba={};_0x1782ba[_0x16ab6e(0x1f7)]=_0x1fd201,_0x1782ba['platformIndex']=_0x53ff94,_0x1782ba['instance']=_0x37d0db,yield _0x1782ba;}}}}}function a103_0x3ecc(){const _0x150fe6=['instances','whXxv','CREATE','TestCafeAutomationFramework','getAutomationFrameworkVersion','Lkvtx','info','\x22\x20platformIndex=','1116591IAOFcR','NONE','exports','testcafe:','../state/automationFrameworkState.js','hczPR','SZHPw','instance','1018368XYIkuU','1158255KJxgbv','4065561GITDSg','lastIndexOf','resolveInstance:\x20no\x20userAgent\x20in\x20args;\x20falling\x20back\x20to\x20default\x20tracked\x20instance','length','delete','10ZCGVrO','runHooks','startsWith','KGPNl','1654051JKIORt','createContext','isInteger','eWsry','resolveInstance:\x20created\x20instance\x20for\x20userAgent=\x22','106811dTvmAN','debug','getInstanceByUserAgent','set','string','getTrackedInstance','gHPGO','platformIndex','\x20hookState=','getAutomationFrameworkName','iYivd','\x20→\x20','removeInstance','4IsiTHb','parseInt','warn','userAgent','get','../../../helpers/classLogger.js','6XaxtPb','iterAllInstances','trackEvent:\x20no\x20instance\x20for\x20state=','trackEvent','slice','884968jWgDRJ'];a103_0x3ecc=function(){return _0x150fe6;};return a103_0x3ecc();}module[a103_0x1a5e46(0x1d1)]=TestCafeAutomationFramework;
|