browserstack-node-sdk 1.46.5 → 1.46.6

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.
Files changed (183) hide show
  1. package/ats/src/cloudproviders/AWS.js +1 -1
  2. package/ats/src/cloudproviders/Azure.js +1 -1
  3. package/ats/src/cloudproviders/CloudProvider.js +1 -1
  4. package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
  5. package/ats/src/cloudproviders/utils.js +1 -1
  6. package/ats/src/commands/configure.js +1 -1
  7. package/ats/src/commands/connect.js +1 -1
  8. package/ats/src/commands/connect_commands/grid.js +1 -1
  9. package/ats/src/commands/create.js +1 -1
  10. package/ats/src/commands/create_commands/grid.js +1 -1
  11. package/ats/src/commands/delete.js +1 -1
  12. package/ats/src/commands/delete_commands/grid.js +1 -1
  13. package/ats/src/commands/init.js +1 -1
  14. package/ats/src/commands/list.js +1 -1
  15. package/ats/src/commands/list_commands/grid_profiles.js +1 -1
  16. package/ats/src/commands/list_commands/grids.js +1 -1
  17. package/ats/src/commands/precheck.js +1 -1
  18. package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
  19. package/ats/src/commands/start.js +1 -1
  20. package/ats/src/commands/start_commands/grid.js +1 -1
  21. package/ats/src/commands/stop.js +1 -1
  22. package/ats/src/commands/stop_commands/grid.js +1 -1
  23. package/ats/src/config/constants.js +1 -1
  24. package/ats/src/config/logger.js +1 -1
  25. package/ats/src/index.js +1 -1
  26. package/ats/src/utils/AWSUtils.js +1 -1
  27. package/ats/src/utils/createAutoscalerStack.js +1 -1
  28. package/ats/src/utils/createClusterStack.js +1 -1
  29. package/ats/src/utils/createHubHaStack.js +1 -1
  30. package/ats/src/utils/createk8sClient.js +1 -1
  31. package/ats/src/utils/deleteEFSMountTargets.js +1 -1
  32. package/ats/src/utils/deleteStack.js +1 -1
  33. package/ats/src/utils/describeStack.js +1 -1
  34. package/ats/src/utils/gridComponents.js +1 -1
  35. package/ats/src/utils/hstUtils.js +1 -1
  36. package/ats/src/utils/instrumentationUtils.js +1 -1
  37. package/ats/src/utils/userInput.js +1 -1
  38. package/ats/src/utils/utilityMethods.js +1 -1
  39. package/ats/src/utils/webSocketUtils.js +1 -1
  40. package/package.json +1 -1
  41. package/src/ai-sdk-node/bundle.js +1 -1
  42. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  43. package/src/bin/codeceptjs/command.js +1 -1
  44. package/src/bin/codeceptjs/helper.js +1 -1
  45. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  46. package/src/bin/cucumber-js/command.js +1 -1
  47. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  48. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  49. package/src/bin/cucumber-js/test-observability.js +1 -1
  50. package/src/bin/cucumber-js/test.setup.js +1 -1
  51. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  52. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  53. package/src/bin/integrations/command.js +1 -1
  54. package/src/bin/integrations/constants.js +1 -1
  55. package/src/bin/jest/command.js +1 -1
  56. package/src/bin/jest/customImplements/customCircus.js +1 -1
  57. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  58. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  59. package/src/bin/jest/customImplements/customSequencer.js +1 -1
  60. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  61. package/src/bin/jest/jest.setup.js +1 -1
  62. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  63. package/src/bin/jest/test-observability/helper.js +1 -1
  64. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  65. package/src/bin/jest/test-observability/test-details.js +1 -1
  66. package/src/bin/jest/test.setup.js +1 -1
  67. package/src/bin/jest/test_before.setup.js +1 -1
  68. package/src/bin/launcher/launcher.js +1 -1
  69. package/src/bin/load/index.js +1 -1
  70. package/src/bin/load/loadUtils.js +1 -1
  71. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  72. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  73. package/src/bin/mocha/command.js +1 -1
  74. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  75. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  76. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  77. package/src/bin/mocha/test.setup.js +1 -1
  78. package/src/bin/nightwatch/command.js +1 -1
  79. package/src/bin/playwright/accessibility-helper.js +1 -1
  80. package/src/bin/playwright/command.js +1 -1
  81. package/src/bin/playwright/globalSetup.js +1 -1
  82. package/src/bin/playwright/mock-process.js +1 -1
  83. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  84. package/src/bin/playwright/patches.js +1 -1
  85. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  86. package/src/bin/playwright/reporter/reporter.js +1 -1
  87. package/src/bin/playwright/reporter/test-details.js +1 -1
  88. package/src/bin/playwright/sessionDetails.js +1 -1
  89. package/src/bin/runner.js +1 -1
  90. package/src/bin/setup.js +1 -1
  91. package/src/bin/test-runner/index.js +1 -1
  92. package/src/bin/test-runner/runTest.js +1 -1
  93. package/src/bin/test-runner/testWorker.js +1 -1
  94. package/src/bin/utils/apiUtilityMethods.js +1 -1
  95. package/src/bin/utils/clientTroubleshootingService.js +1 -1
  96. package/src/bin/utils/constants.js +1 -1
  97. package/src/bin/utils/log4jsAppender.js +1 -1
  98. package/src/bin/utils/logPatcher.js +1 -1
  99. package/src/bin/utils/logReportingAPI.js +1 -1
  100. package/src/bin/utils/playwright-patcher.js +1 -1
  101. package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
  102. package/src/bin/utils/sharedUtils.js +1 -1
  103. package/src/bin/v2/TestInfo.js +1 -1
  104. package/src/bin/v2/browserstackCLI.js +1 -1
  105. package/src/bin/v2/cliUtils.js +1 -1
  106. package/src/bin/v2/customTagManager.js +1 -1
  107. package/src/bin/v2/eventDispatcher.js +1 -1
  108. package/src/bin/v2/framework/automationFramework.js +1 -1
  109. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
  110. package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
  111. package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
  112. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  113. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  114. package/src/bin/v2/framework/testFramework.js +1 -1
  115. package/src/bin/v2/grpcClient.js +1 -1
  116. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  117. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  118. package/src/bin/v2/instances/trackedContext.js +1 -1
  119. package/src/bin/v2/instances/trackedInstance.js +1 -1
  120. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  121. package/src/bin/v2/modules/baseModule.js +1 -1
  122. package/src/bin/v2/modules/observabilityModule.js +1 -1
  123. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  124. package/src/bin/v2/modules/testhubModule.js +1 -1
  125. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  126. package/src/bin/v2/state/hookState.js +1 -1
  127. package/src/bin/v2/state/testFrameworkState.js +1 -1
  128. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  129. package/src/bin/v2/utils/cucumber-utils.js +1 -1
  130. package/src/bin/vanilla-js/command.js +1 -1
  131. package/src/browserStackSdk.js +1 -1
  132. package/src/helpers/BrowserStackSetup.js +1 -1
  133. package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
  134. package/src/helpers/accessibility-automation/constants.js +1 -1
  135. package/src/helpers/accessibility-automation/helper.js +1 -1
  136. package/src/helpers/accessibility-automation/scripts.js +1 -1
  137. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  138. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  139. package/src/helpers/ats/constants.js +1 -1
  140. package/src/helpers/ats/helper.js +1 -1
  141. package/src/helpers/capsMapping.js +1 -1
  142. package/src/helpers/central-scanner/constants.js +1 -1
  143. package/src/helpers/central-scanner/helpers.js +1 -1
  144. package/src/helpers/classLogger.js +1 -1
  145. package/src/helpers/globals.js +1 -1
  146. package/src/helpers/helper.js +1 -1
  147. package/src/helpers/logger.js +1 -1
  148. package/src/helpers/metadata.js +1 -1
  149. package/src/helpers/patchHelper.js +1 -1
  150. package/src/helpers/patchHelpers.js +1 -1
  151. package/src/helpers/percy/Percy.js +1 -1
  152. package/src/helpers/percy/PercyBinary.js +1 -1
  153. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  154. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  155. package/src/helpers/percy/PercySDK.js +1 -1
  156. package/src/helpers/percy/index.js +1 -1
  157. package/src/helpers/percy/utils.js +1 -1
  158. package/src/helpers/performance/constants.js +1 -1
  159. package/src/helpers/performance/performance-tester.js +1 -1
  160. package/src/helpers/playwright-helper.js +1 -1
  161. package/src/helpers/processHelper.js +1 -1
  162. package/src/helpers/request-spy.js +1 -1
  163. package/src/helpers/setKeepAlive.js +1 -1
  164. package/src/helpers/test-observability/constants.js +1 -1
  165. package/src/helpers/test-observability/error-handler.js +1 -1
  166. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  167. package/src/helpers/test-observability/sessionHandler.js +1 -1
  168. package/src/helpers/test-observability/utils.js +1 -1
  169. package/src/helpers/test-orchestration/constants.js +1 -1
  170. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  171. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  172. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  173. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  174. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  175. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  176. package/src/helpers/testhub/constants.js +1 -1
  177. package/src/helpers/testhub/testhubHandler.js +1 -1
  178. package/src/helpers/testhub/utils.js +1 -1
  179. package/src/helpers/timeoutPromise.js +1 -1
  180. package/src/helpers/utilities.js +1 -1
  181. package/src/helpers/w3cMapping.js +1 -1
  182. package/src/hubAllocationMethods.js +1 -1
  183. package/src/index.js +1 -1
@@ -1 +1 @@
1
- const a70_0x1c5973=a70_0x23d0;(function(_0x112195,_0xfa5703){const _0x37a4c3=a70_0x23d0,_0x3597d1=_0x112195();while(!![]){try{const _0x1ff46d=-parseInt(_0x37a4c3(0x1c3))/0x1*(-parseInt(_0x37a4c3(0x23f))/0x2)+-parseInt(_0x37a4c3(0x1f9))/0x3+parseInt(_0x37a4c3(0x206))/0x4*(parseInt(_0x37a4c3(0x26f))/0x5)+-parseInt(_0x37a4c3(0x277))/0x6+parseInt(_0x37a4c3(0x253))/0x7+parseInt(_0x37a4c3(0x203))/0x8*(parseInt(_0x37a4c3(0x23a))/0x9)+parseInt(_0x37a4c3(0x25d))/0xa*(parseInt(_0x37a4c3(0x251))/0xb);if(_0x1ff46d===_0xfa5703)break;else _0x3597d1['push'](_0x3597d1['shift']());}catch(_0x294302){_0x3597d1['push'](_0x3597d1['shift']());}}}(a70_0x1afa,0x5712b));function a70_0x23d0(_0x2dc9a7,_0x2451c5){const _0x1afa5f=a70_0x1afa();return a70_0x23d0=function(_0x23d011,_0x35fad4){_0x23d011=_0x23d011-0x1ba;let _0x291db4=_0x1afa5f[_0x23d011];return _0x291db4;},a70_0x23d0(_0x2dc9a7,_0x2451c5);}const TestFramework=require(a70_0x1c5973(0x225)),TestFrameworkState=require(a70_0x1c5973(0x22c)),HookState=require(a70_0x1c5973(0x22f)),{createClassLogger}=require(a70_0x1c5973(0x260)),TestFrameworkInstance=require('../instances/testFrameworkInstance.js'),CLIUtils=require(a70_0x1c5973(0x233)),TrackedInstance=require(a70_0x1c5973(0x1cc)),TestFrameworkConstants=require('./constants/testFrameworkConstants.js'),{getManualUploadLogs,getMediaArtifactsLogs}=require('../../../helpers/helper.js'),logger=createClassLogger(a70_0x1c5973(0x21a)),{v4:uuidv4}=require(a70_0x1c5973(0x223)),util=require(a70_0x1c5973(0x218)),TestInfo=require(a70_0x1c5973(0x1d9)),GrpcClient=require(a70_0x1c5973(0x1c2));class CucumberTestFramework extends TestFramework{constructor(_0x252c65,_0x2e42b3,_0x40087b){super(_0x252c65,_0x2e42b3,_0x40087b);}async['trackEvent'](_0x39ae62,_0x4c66d8,_0x33b9bc={}){const _0x346e37=a70_0x1c5973,_0x23ed12={};_0x23ed12['ttfMf']='trackEvent:\x20Test\x20Framework\x20instance\x20not\x20found',_0x23ed12[_0x346e37(0x1bd)]=function(_0x2a9753,_0x54f367){return _0x2a9753===_0x54f367;},_0x23ed12[_0x346e37(0x1d7)]=function(_0x41185b,_0x48bfd9){return _0x41185b===_0x48bfd9;},_0x23ed12[_0x346e37(0x276)]='trackEvent:\x20Exception\x20in\x20event\x20tracking,\x20testFrameworkState=%s\x20hookState=%s\x20argsLength=%s,\x20exception=%s';const _0x52509b=_0x23ed12;await super[_0x346e37(0x26b)](_0x39ae62,_0x4c66d8,_0x33b9bc);const _0x3a7a46=this[_0x346e37(0x222)](_0x39ae62,_0x4c66d8,_0x33b9bc);if(!_0x3a7a46){logger['debug'](_0x52509b['ttfMf']);return;}try{let _0x4daac7,_0x2fb286;switch(_0x39ae62){case TestFrameworkState[_0x346e37(0x1eb)]:_0x4daac7=_0x33b9bc['test'],_0x2fb286=TestInfo['getTestUUID'](_0x4daac7['id']);if(_0x52509b[_0x346e37(0x1bd)](_0x4c66d8,HookState[_0x346e37(0x20d)])){logger[_0x346e37(0x1bf)](_0x346e37(0x1ce)+_0x4daac7['id']);const _0x3904df={};_0x3904df['testUUID']=_0x2fb286,_0x3904df[_0x346e37(0x21b)]=_0x4daac7,_0x3a7a46['addMultipleEntries'](this['parseCucumberTest'](_0x3904df)),logger[_0x346e37(0x1bf)](_0x346e37(0x230)+_0x4daac7['id']),await this[_0x346e37(0x1d8)](_0x3a7a46,_0x4daac7['id']);}else{if(_0x52509b[_0x346e37(0x1bd)](_0x4c66d8,HookState[_0x346e37(0x20c)])){const _0x494397={};_0x494397[_0x346e37(0x21c)]=_0x2fb286,_0x494397[_0x346e37(0x21b)]=_0x4daac7,_0x3a7a46['addMultipleEntries'](this[_0x346e37(0x275)](_0x494397)),await this[_0x346e37(0x1d8)](_0x3a7a46,_0x4daac7['id']);}}break;case TestFrameworkState[_0x346e37(0x1bc)]:_0x52509b[_0x346e37(0x1d7)](_0x4c66d8,HookState[_0x346e37(0x20c)])&&await this['sendLogCreatedEvent'](_0x3a7a46,_0x39ae62,_0x33b9bc);break;default:if(CLIUtils['matchHookRegex'](_0x39ae62['toString']()[_0x346e37(0x238)]('.')[0x1])){const _0x188f43=await this[_0x346e37(0x240)](_0x3a7a46,_0x39ae62,_0x4c66d8,_0x33b9bc);_0x3a7a46['addMultipleEntries'](_0x188f43);}else logger['debug'](_0x346e37(0x24b)+_0x39ae62+_0x346e37(0x25f)+_0x4c66d8);break;}}catch(_0x543cd9){logger['error'](util[_0x346e37(0x205)](_0x52509b[_0x346e37(0x276)],_0x39ae62,_0x4c66d8,_0x33b9bc[_0x346e37(0x22d)],_0x543cd9));}_0x33b9bc[_0x346e37(0x213)]=_0x3a7a46,await this['runHooks'](_0x3a7a46,_0x39ae62,_0x4c66d8,_0x33b9bc);}[a70_0x1c5973(0x222)](_0x382b73,_0x595f6a,_0x2531a9={}){const _0x293283=a70_0x1c5973,_0x2bfae9={};_0x2bfae9[_0x293283(0x232)]=function(_0x5d6300,_0x21a84e){return _0x5d6300===_0x21a84e;},_0x2bfae9[_0x293283(0x27f)]=function(_0x2bb8c5,_0x44e4e9){return _0x2bb8c5===_0x44e4e9;};const _0x5a54b0=_0x2bfae9;let _0x340b9a=null;return(_0x5a54b0[_0x293283(0x232)](_0x382b73,TestFrameworkState[_0x293283(0x227)])||_0x5a54b0[_0x293283(0x27f)](_0x382b73,TestFrameworkState[_0x293283(0x1d0)]))&&this[_0x293283(0x220)](_0x382b73,_0x2531a9),_0x340b9a=TestFramework[_0x293283(0x268)](),_0x340b9a;}[a70_0x1c5973(0x220)](_0x5e3152,_0x4de3ff){const _0x2fb7b0=a70_0x1c5973,_0x5d0dbf=CLIUtils[_0x2fb7b0(0x21f)](),_0x3a767d=TrackedInstance[_0x2fb7b0(0x242)](_0x5d0dbf);let _0x22e9e3=null;logger[_0x2fb7b0(0x1bf)]('trackCucumberInstance:\x20created\x20instance\x20for\x20target='+_0x5d0dbf+_0x2fb7b0(0x248)+_0x5e3152),_0x22e9e3=new TestFrameworkInstance(_0x3a767d,this['getTestFrameworks'](),this[_0x2fb7b0(0x281)](),_0x5e3152,HookState[_0x2fb7b0(0x1d0)]),TestFramework[_0x2fb7b0(0x221)](_0x3a767d,_0x22e9e3),logger[_0x2fb7b0(0x1bf)](_0x2fb7b0(0x1ed)+_0x3a767d[_0x2fb7b0(0x224)]()+_0x2fb7b0(0x202)+_0x5d0dbf);}[a70_0x1c5973(0x23b)](_0x755f6b){const _0xd7d984=a70_0x1c5973,_0x171083={};_0x171083[_0xd7d984(0x26e)]=_0xd7d984(0x22e);const _0x1ccb61=_0x171083,{testUUID:_0x253e8f,testData:_0x3e598e}=_0x755f6b;if(!_0x3e598e||!_0x3e598e[_0xd7d984(0x223)])return logger[_0xd7d984(0x1bf)](_0x1ccb61['bxjoy']),{};const _0x2fb08b=_0x3e598e[_0xd7d984(0x223)],_0x400220=_0x3e598e[_0xd7d984(0x223)],_0x390882=this[_0xd7d984(0x1ef)]()[0x0],_0x4dafa0=this[_0xd7d984(0x281)](),_0x445757={[TestFrameworkConstants[_0xd7d984(0x211)]]:_0x390882,[TestFrameworkConstants[_0xd7d984(0x24a)]]:_0x4dafa0[_0x390882],[TestFrameworkConstants[_0xd7d984(0x1f1)]]:[],[TestFrameworkConstants[_0xd7d984(0x1c1)]]:{},[TestFrameworkConstants[_0xd7d984(0x22b)]]:{},[TestFrameworkConstants['KEY_TEST_UUID']]:_0x2fb08b,[TestFrameworkConstants[_0xd7d984(0x204)]]:TestFrameworkConstants[_0xd7d984(0x257)],[TestFrameworkConstants[_0xd7d984(0x1e0)]]:_0x3e598e[_0xd7d984(0x212)]||'',[TestFrameworkConstants[_0xd7d984(0x267)]]:_0x3e598e[_0xd7d984(0x244)]||'',[TestFrameworkConstants[_0xd7d984(0x1e9)]]:_0x400220,[TestFrameworkConstants['KEY_TEST_NAME']]:_0x3e598e['name']||'',[TestFrameworkConstants['KEY_TEST_LOCATION']]:_0x3e598e['location']||'',[TestFrameworkConstants[_0xd7d984(0x1ba)]]:_0x3e598e[_0xd7d984(0x271)]?.[_0xd7d984(0x1e2)]||null,[TestFrameworkConstants[_0xd7d984(0x210)]]:_0x3e598e[_0xd7d984(0x200)]||[],[TestFrameworkConstants[_0xd7d984(0x26c)]]:_0x3e598e[_0xd7d984(0x217)]||new Date()[_0xd7d984(0x261)](),[TestFrameworkConstants[_0xd7d984(0x1d2)]]:_0x3e598e[_0xd7d984(0x272)]?.[0x0]||'',[TestFrameworkConstants[_0xd7d984(0x1c9)]]:_0x3e598e[_0xd7d984(0x272)]||[],[TestFrameworkConstants[_0xd7d984(0x1dc)]]:_0x3e598e[_0xd7d984(0x1e1)]?.['rerun_name']||_0x3e598e['name']||'',[TestFrameworkConstants[_0xd7d984(0x270)]]:{},[TestFrameworkConstants[_0xd7d984(0x27a)]]:_0x3e598e[_0xd7d984(0x264)]||{}};TestInfo[_0xd7d984(0x27e)](_0x400220,_0x445757),logger['debug'](_0xd7d984(0x286)+_0x3e598e[_0xd7d984(0x212)]+'\x20with\x20UUID:\x20'+_0x2fb08b);const _0x5f2805={};return _0x5f2805[_0x400220]=_0x445757,_0x5f2805;}[a70_0x1c5973(0x275)](_0x1bfd8e){const _0x454eb1=a70_0x1c5973,_0x1a7998={'mqOjy':'No\x20test\x20data\x20or\x20UUID\x20found\x20for\x20cucumber\x20test\x20result','SrChh':_0x454eb1(0x1cd),'QYiLV':function(_0x381c12,_0x55fd73){return _0x381c12===_0x55fd73;},'SRRRS':_0x454eb1(0x252),'UmABO':_0x454eb1(0x1ec),'eEFrU':function(_0xed7769,_0x42b028,_0x4112a9){return _0xed7769(_0x42b028,_0x4112a9);},'RWQnW':function(_0x5038b3,_0xaf4521){return _0x5038b3>_0xaf4521;}},{testUUID:_0x5582be,testData:_0x2ac3d5}=_0x1bfd8e;if(!_0x2ac3d5||!_0x2ac3d5[_0x454eb1(0x223)])return logger['debug'](_0x1a7998[_0x454eb1(0x1c8)]),{};const _0x4baeaa=this[_0x454eb1(0x222)](TestFrameworkState['TEST'],HookState['POST']),_0x25c98c=_0x2ac3d5[_0x454eb1(0x223)],_0x247638=TestInfo[_0x454eb1(0x1f6)](_0x25c98c)||{},_0x392371=_0x247638?_0x247638[TestFrameworkConstants[_0x454eb1(0x270)]]||{}:{},_0x2f0959={..._0x247638,[TestFrameworkConstants['KEY_TEST_RESULT']]:_0x2ac3d5[_0x454eb1(0x20e)]||_0x1a7998[_0x454eb1(0x1e7)],[TestFrameworkConstants[_0x454eb1(0x288)]]:_0x2ac3d5[_0x454eb1(0x1ff)]||new Date()[_0x454eb1(0x261)](),[TestFrameworkConstants[_0x454eb1(0x235)]]:new Date()[_0x454eb1(0x261)](),[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:_0x392371,[TestFrameworkConstants[_0x454eb1(0x1fe)]]:[],[TestFrameworkConstants[_0x454eb1(0x27a)]]:_0x2ac3d5[_0x454eb1(0x264)]||{}};_0x1a7998[_0x454eb1(0x1cb)](_0x2ac3d5[_0x454eb1(0x20e)],_0x1a7998[_0x454eb1(0x249)])&&_0x2ac3d5['failure']&&(_0x2f0959[TestFrameworkConstants[_0x454eb1(0x246)]]=_0x2ac3d5[_0x454eb1(0x20b)]||_0x1a7998[_0x454eb1(0x1c5)],_0x2f0959[TestFrameworkConstants[_0x454eb1(0x239)]]=_0x2ac3d5['failure_reason']||'',_0x2f0959[TestFrameworkConstants['KEY_TEST_FAILURE']]=_0x2ac3d5[_0x454eb1(0x219)]);const _0x16b6e1=TestInfo[_0x454eb1(0x1f6)](_0x25c98c)[TestFrameworkConstants[_0x454eb1(0x1ca)]]||{},_0x2a6ff9=_0x1a7998[_0x454eb1(0x1c4)](getManualUploadLogs,_0x16b6e1,_0x4baeaa[_0x454eb1(0x1f0)]()[_0x454eb1(0x231)](_0x25c98c)[TestFrameworkConstants['KEY_TEST_UUID']]);if(_0x1a7998[_0x454eb1(0x25c)](_0x2a6ff9['length'],0x0)){const _0x2b1034=_0x2f0959[TestFrameworkConstants[_0x454eb1(0x1fe)]]||[];_0x2f0959[TestFrameworkConstants['KEY_LOGS']]=[..._0x2b1034,..._0x2a6ff9];}_0x2ac3d5['hooks']&&_0x1a7998[_0x454eb1(0x25c)](_0x2ac3d5[_0x454eb1(0x279)][_0x454eb1(0x22d)],0x0)&&(_0x2f0959[TestFrameworkConstants[_0x454eb1(0x1c1)]]=_0x2ac3d5[_0x454eb1(0x279)]);TestInfo[_0x454eb1(0x27e)](_0x25c98c,_0x2f0959),logger[_0x454eb1(0x1bf)](_0x454eb1(0x237)+_0x2ac3d5[_0x454eb1(0x212)]+_0x454eb1(0x282)+_0x2ac3d5['result']);const _0x3bf395={};return _0x3bf395[_0x25c98c]=_0x2f0959,_0x3bf395;}async[a70_0x1c5973(0x240)](_0x48ee24,_0x268d3f,_0x38a15b,_0xeaec75){const _0x1b4df7=a70_0x1c5973,_0x23dbdc={'PXMSs':'No\x20hook\x20data\x20provided\x20for\x20cucumber\x20hook\x20event','tFSKf':function(_0x4badb3){return _0x4badb3();},'eVWoo':function(_0x447f61,_0x2b90cc){return _0x447f61 in _0x2b90cc;},'ANBSb':function(_0x778e39,_0x335c65){return _0x778e39 in _0x335c65;},'fiNJq':function(_0x49a670,_0x51fb8c){return _0x49a670===_0x51fb8c;},'lncYu':function(_0x4377d9,_0x10ae9a){return _0x4377d9>_0x10ae9a;},'QLcFx':_0x1b4df7(0x252),'HboVj':_0x1b4df7(0x1ec),'LUojo':'passed','tXmhZ':function(_0x20b816,_0x2ab424){return _0x20b816!==_0x2ab424;}},{hookData:_0x51ef85}=_0xeaec75;if(!_0x51ef85)return logger['debug'](_0x23dbdc['PXMSs']),{};const _0x50bb31=_0x51ef85[_0x1b4df7(0x223)]||_0x23dbdc['tFSKf'](uuidv4),_0x9e5631=_0x51ef85[_0x1b4df7(0x26d)],_0x4a2116=_0x268d3f[_0x1b4df7(0x24d)]()[_0x1b4df7(0x238)]('.')[0x1],_0x27a309=TestInfo['getTestDetails'](_0x9e5631)[TestFrameworkConstants[_0x1b4df7(0x270)]]||{},_0x4fd058=_0x48ee24[_0x1b4df7(0x1f0)]()[_0x1b4df7(0x231)](_0x9e5631);if(!_0x4fd058)return logger['debug']('No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20'+_0x9e5631+_0x1b4df7(0x23c)),this[_0x1b4df7(0x236)](_0x48ee24,_0x9e5631,_0x268d3f,_0x38a15b,_0xeaec75),{};let _0x10a6a5=_0x4fd058[TestFrameworkConstants[_0x1b4df7(0x22b)]];!_0x10a6a5&&(_0x10a6a5={});!_0x23dbdc[_0x1b4df7(0x289)](_0x4a2116,_0x10a6a5)&&(_0x10a6a5[_0x4a2116]=[]);let _0x32b097=_0x4fd058[TestFrameworkConstants['KEY_HOOKS_FINISHED']];!_0x32b097&&(_0x32b097={});!_0x23dbdc[_0x1b4df7(0x274)](_0x4a2116,_0x32b097)&&(_0x32b097[_0x4a2116]=[]);const _0x562a59={[TestFrameworkConstants[_0x1b4df7(0x22b)]]:_0x10a6a5,[TestFrameworkConstants['KEY_HOOKS_FINISHED']]:_0x32b097},_0x493e77={};_0x493e77[_0x9e5631]=_0x562a59;const _0x25c399=_0x493e77;if(_0x23dbdc['fiNJq'](_0x38a15b,HookState[_0x1b4df7(0x20d)])){const _0x16dd9a={[TestFrameworkConstants['KEY_HOOK_ID']]:_0x50bb31,[TestFrameworkConstants['KEY_HOOK_RESULT']]:TestFrameworkConstants[_0x1b4df7(0x1be)],[TestFrameworkConstants['KEY_EVENT_STARTED_AT']]:_0x51ef85[_0x1b4df7(0x280)],[TestFrameworkConstants[_0x1b4df7(0x207)]]:[],[TestFrameworkConstants[_0x1b4df7(0x1dd)]]:_0x51ef85[_0x1b4df7(0x25e)],[TestFrameworkConstants[_0x1b4df7(0x270)]]:_0x27a309};_0x16dd9a[_0x1b4df7(0x1d5)]=_0x4a2116;const _0x3106e8=_0x16dd9a;_0x10a6a5[_0x4a2116][_0x1b4df7(0x241)](_0x3106e8),_0x25c399[_0x9e5631][TestFrameworkConstants[_0x1b4df7(0x1f8)]]=_0x4a2116,logger['debug'](_0x1b4df7(0x1c0)+_0x4a2116+_0x1b4df7(0x21e)+_0x3106e8+_0x1b4df7(0x1da)+_0xeaec75);}else{if(_0x23dbdc[_0x1b4df7(0x287)](_0x38a15b,HookState['POST'])){const _0xc698=_0x51ef85['result'],_0x49e89a=_0x10a6a5[_0x4a2116]||[];logger['debug'](_0x1b4df7(0x26a)+_0x49e89a+_0x1b4df7(0x250)+_0xeaec75);if(_0x23dbdc[_0x1b4df7(0x27b)](_0x49e89a[_0x1b4df7(0x22d)],0x0)){const _0x348ebf=_0x49e89a[_0x1b4df7(0x265)]();_0x23dbdc[_0x1b4df7(0x287)](_0x51ef85[_0x1b4df7(0x20e)],_0x23dbdc['QLcFx'])&&_0x51ef85[_0x1b4df7(0x245)]?(_0x348ebf[TestFrameworkConstants['KEY_HOOK_FAILURE_TYPE']]=_0x51ef85[_0x1b4df7(0x20b)]||_0x23dbdc['HboVj'],_0x348ebf[TestFrameworkConstants[_0x1b4df7(0x1cf)]]=_0x51ef85[_0x1b4df7(0x247)]||'',_0x348ebf[TestFrameworkConstants[_0x1b4df7(0x283)]]=_0x51ef85[_0x1b4df7(0x245)]):_0x348ebf[TestFrameworkConstants[_0x1b4df7(0x1d6)]]=_0x23dbdc['LUojo'];_0x23dbdc[_0x1b4df7(0x23e)](_0xc698,TestFrameworkConstants[_0x1b4df7(0x1be)])&&(_0x348ebf[TestFrameworkConstants[_0x1b4df7(0x1d6)]]=_0xc698);_0x348ebf[TestFrameworkConstants[_0x1b4df7(0x1bb)]]=_0x51ef85['finished_at']||new Date()[_0x1b4df7(0x261)](),_0x348ebf[TestFrameworkConstants['KEY_CUSTOM_TAGS']]=_0x27a309;const _0x564a1b=_0x348ebf[TestFrameworkConstants['KEY_HOOK_ID']];!_0x32b097[_0x4a2116]&&(_0x32b097[_0x4a2116]=[]),_0x32b097[_0x4a2116][_0x1b4df7(0x241)](_0x348ebf),_0x25c399[_0x9e5631][TestFrameworkConstants[_0x1b4df7(0x269)]]=_0x4a2116;}}}return logger['debug'](_0x1b4df7(0x278)+_0x51ef85[_0x1b4df7(0x25e)]+'\x20with\x20id\x20'+_0x50bb31+_0x1b4df7(0x20a)+_0x9e5631),_0x25c399;}[a70_0x1c5973(0x1c7)](_0x49edfb){const _0x3dac24=a70_0x1c5973,_0x477d5a={};_0x477d5a['MmrFC']=_0x3dac24(0x1f2);const _0x5d059b=_0x477d5a;try{const _0x335956=_0x49edfb[_0x3dac24(0x1d3)]?_0x49edfb[_0x3dac24(0x1d3)]['id']:_0x49edfb[_0x3dac24(0x1fb)][_0x3dac24(0x26d)],_0x2ed2e7=_0x49edfb['instance'],_0x417f19=_0x2ed2e7['getContext'](),_0x5f4f52=_0x2ed2e7[_0x3dac24(0x1f0)]()[_0x3dac24(0x231)](_0x335956);if(!_0x5f4f52)return logger[_0x3dac24(0x1bf)](_0x3dac24(0x1fc)+_0x335956),{};logger[_0x3dac24(0x1bf)](_0x3dac24(0x1e4)+_0x335956);const {[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x248605='',[TestFrameworkConstants[_0x3dac24(0x24a)]]:_0x4be751='',[TestFrameworkConstants['KEY_TEST_STARTED_AT']]:_0x162ab6='',[TestFrameworkConstants[_0x3dac24(0x288)]]:_0x6fa4c7=''}=_0x5f4f52,_0x4809cd=_0x2ed2e7[_0x3dac24(0x262)]()[_0x3dac24(0x24d)]()[_0x3dac24(0x238)]('.')[0x1],_0x5a2dd1=_0x2ed2e7[_0x3dac24(0x24e)]()[_0x3dac24(0x24d)]()[_0x3dac24(0x238)]('.')[0x1],_0xebb897=global?.[_0x3dac24(0x216)]?.['workerInfo']?.[_0x3dac24(0x1e8)],_0x105765=_0x2ed2e7[_0x3dac24(0x1f7)](),_0x188029=Buffer[_0x3dac24(0x1db)](JSON[_0x3dac24(0x1e5)](_0x5f4f52))[_0x3dac24(0x24d)](_0x5d059b[_0x3dac24(0x24f)]),_0x18b3a1={'hash':_0x417f19[_0x3dac24(0x224)](),'threadId':_0x417f19[_0x3dac24(0x273)]()[_0x3dac24(0x24d)](),'processId':_0x417f19['getProcessId']()['toString']()},_0x5c4f61={};_0x5c4f61[_0x3dac24(0x1de)]=_0xebb897,_0x5c4f61[_0x3dac24(0x1fa)]=_0x248605,_0x5c4f61[_0x3dac24(0x22a)]=_0x4be751,_0x5c4f61[_0x3dac24(0x1f5)]=_0x4809cd,_0x5c4f61['hookState']=_0x5a2dd1,_0x5c4f61[_0x3dac24(0x217)]=_0x162ab6,_0x5c4f61[_0x3dac24(0x21d)]=_0x6fa4c7,_0x5c4f61[_0x3dac24(0x223)]=_0x105765,_0x5c4f61[_0x3dac24(0x1e6)]=_0x188029,_0x5c4f61[_0x3dac24(0x23d)]=_0x18b3a1;const _0x343cf0=_0x5c4f61;return logger['debug']('createTestFrameworkEventPayload:\x20complete\x20for\x20testId:\x20'+_0x335956+_0x3dac24(0x1f3)+_0x4809cd+'\x20hookState:\x20'+_0x5a2dd1),_0x343cf0;}catch(_0x5bb790){return logger[_0x3dac24(0x27d)](_0x3dac24(0x24c)+util[_0x3dac24(0x205)](_0x5bb790)),{};}}async['sendLogCreatedEvent'](_0x24379a,_0xf31481,_0x2e05fc){const _0x20d5ab=a70_0x1c5973,_0x5ae006={'EJdKd':function(_0x5aad2a,_0x3f1666,_0x3dd4d8){return _0x5aad2a(_0x3f1666,_0x3dd4d8);},'TQWMW':function(_0x2eb83a,_0x302ddf){return _0x2eb83a===_0x302ddf;},'CDTGL':_0x20d5ab(0x214),'sCfKR':function(_0x1e4d1e,_0x520fe2){return _0x1e4d1e/_0x520fe2;},'yAkXv':function(_0x285a5b,_0x28da6d){return _0x285a5b<_0x28da6d;},'UyoLZ':function(_0x25a4c2,_0x53fff0){return _0x25a4c2*_0x53fff0;},'YzNZr':function(_0x3e914c,_0x4b9b0d){return _0x3e914c+_0x4b9b0d;},'WcmTJ':'Cucumber\x20log\x20created\x20event'};try{const _0x56c6=_0x2e05fc[_0x20d5ab(0x21c)],_0x24cca5=_0x24379a['getAllData']()[_0x20d5ab(0x231)](_0x56c6),{[TestFrameworkConstants[_0x20d5ab(0x211)]]:_0xca0316='',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x1308d1=''}=_0x24cca5,_0x1b8a37=TestInfo[_0x20d5ab(0x27c)](_0x56c6),_0x2b8720=TestInfo['getTestDetails'](_0x56c6)[TestFrameworkConstants[_0x20d5ab(0x1ca)]]||{},_0x215925=_0x5ae006[_0x20d5ab(0x226)](getMediaArtifactsLogs,_0x2b8720,_0x24379a[_0x20d5ab(0x1f0)]()[_0x20d5ab(0x231)](_0x56c6)[TestFrameworkConstants['KEY_TEST_UUID']]),_0x223fa8=(_0x1b8a37||[])['concat'](_0x215925||[]);if(!_0x223fa8||_0x5ae006[_0x20d5ab(0x208)](_0x223fa8[_0x20d5ab(0x22d)],0x0)){logger['debug'](_0x5ae006[_0x20d5ab(0x284)]);return;}const _0x4a7438=0x28,_0x48a2a8=Math['ceil'](_0x5ae006[_0x20d5ab(0x228)](_0x223fa8[_0x20d5ab(0x22d)],_0x4a7438));for(let _0x1557b1=0x0;_0x5ae006['yAkXv'](_0x1557b1,_0x48a2a8);_0x1557b1++){const _0x438d5f=_0x5ae006[_0x20d5ab(0x234)](_0x1557b1,_0x4a7438),_0x181eb6=_0x5ae006[_0x20d5ab(0x255)](_0x438d5f,_0x4a7438),_0x5d43bf=_0x223fa8['slice'](_0x438d5f,_0x181eb6),_0x2aeaa9={'platformIndex':'0','logs':_0x5d43bf,'testFrameworkName':_0xca0316,'testFrameworkVersion':_0x1308d1,'testFrameworkState':_0xf31481['toString']()[_0x20d5ab(0x238)]('.')[0x1]};logger[_0x20d5ab(0x1bf)](_0x20d5ab(0x1c6)+_0x56c6+'\x20batch\x20'+_0x5ae006[_0x20d5ab(0x255)](_0x1557b1,0x1)+'/'+_0x48a2a8+'\x20payload='+util[_0x20d5ab(0x1df)](_0x2aeaa9));const _0x3320b=await GrpcClient[_0x20d5ab(0x1d1)]()[_0x20d5ab(0x254)](_0x2aeaa9);logger[_0x20d5ab(0x1bf)](_0x20d5ab(0x1c6)+_0x56c6+_0x20d5ab(0x263)+_0x5ae006['YzNZr'](_0x1557b1,0x1)+'/'+_0x48a2a8+_0x20d5ab(0x20f)+util[_0x20d5ab(0x1df)](_0x3320b));}}catch(_0x242025){logger[_0x20d5ab(0x27d)]('sendLogCreatedEvent:\x20Error\x20in\x20sending\x20log\x20events:\x20'+util['format'](_0x242025));}logger[_0x20d5ab(0x1bf)](_0x5ae006[_0x20d5ab(0x215)]);}[a70_0x1c5973(0x236)](_0x233966,_0x24ba65,_0x450cf5,_0x5a89ff,_0x1796eb){const _0x4519ef=a70_0x1c5973,_0x3d83f0={'testId':_0x24ba65,'testFrameworkState':_0x450cf5,'hookState':_0x5a89ff,'args':_0x1796eb,'timestamp':new Date()['toISOString']()};_0x233966['addPendingHook'](_0x24ba65,_0x3d83f0),logger[_0x4519ef(0x1bf)]('Stored\x20pending\x20hook\x20for\x20testId:\x20'+_0x24ba65+_0x4519ef(0x243)+_0x450cf5+_0x4519ef(0x1f4)+_0x5a89ff);}async['processPendingHooks'](_0x1ad3cf,_0x40a1fa){const _0x53283a=a70_0x1c5973,_0x14151c={};_0x14151c[_0x53283a(0x1d4)]=function(_0x46f185,_0x34a74a){return _0x46f185>_0x34a74a;};const _0x593b34=_0x14151c;if(!_0x1ad3cf[_0x53283a(0x259)](_0x40a1fa))return;const _0x4d7e54=_0x1ad3cf[_0x53283a(0x1fd)](_0x40a1fa);logger[_0x53283a(0x1bf)](_0x53283a(0x1e3)+_0x4d7e54[_0x53283a(0x22d)]+_0x53283a(0x1ea)+_0x40a1fa);for(const _0x2cf296 of _0x4d7e54){try{const _0x2bce26=await this[_0x53283a(0x240)](_0x1ad3cf,_0x2cf296[_0x53283a(0x1f5)],_0x2cf296['hookState'],_0x2cf296[_0x53283a(0x256)]);_0x2bce26&&_0x593b34[_0x53283a(0x1d4)](Object[_0x53283a(0x258)](_0x2bce26)['length'],0x0)&&_0x1ad3cf[_0x53283a(0x266)](_0x2bce26),await this[_0x53283a(0x1ee)](_0x1ad3cf,_0x2cf296[_0x53283a(0x1f5)],_0x2cf296[_0x53283a(0x285)],_0x2cf296['args']);}catch(_0x3857bc){logger[_0x53283a(0x27d)](_0x53283a(0x25a)+_0x40a1fa+_0x53283a(0x25b)+_0x3857bc);}}_0x1ad3cf[_0x53283a(0x229)](_0x40a1fa),logger[_0x53283a(0x1bf)](_0x53283a(0x209)+_0x40a1fa);}}function a70_0x1afa(){const _0x769c20=['KEY_EVENT_ENDED_AT','LOG_REPORT','pRKci','DEFAULT_HOOK_RESULT','debug','trackHookEvent:\x20Hook\x20Started\x20in\x20PRE\x20key\x20=\x20','KEY_HOOKS_FINISHED','../grpcClient','200117LMdqAE','eEFrU','UmABO','sendLogCreatedEvent:\x20for\x20testId:\x20','createTestFrameworkEventPayload','mqOjy','KEY_TEST_SCOPES','KEY_TEST_ATTACHMENTS','QYiLV','../instances/trackedInstance.js','unknown','trackEvent\x20loading\x20testData\x20for\x20testId:\x20','KEY_HOOK_FAILURE_REASON','NONE','getInstance','KEY_TEST_SCOPE','test','hXQvi','key','KEY_HOOK_RESULT','KYXWX','processPendingHooks','../TestInfo.js','\x20\x20and\x20args\x20=\x20','from','KEY_TEST_RERUN_NAME','KEY_HOOK_NAME','platformIndex','inspect','KEY_AUTOMATE_SESSION_NAME','customRerunParam','code','Processing\x20','createTestFrameworkEventPayload\x20testId:\x20','stringify','eventJson','SrChh','parallelIndex','KEY_TEST_ID','\x20pending\x20hooks\x20for\x20testId:\x20','TEST','UnhandledError','trackCucumberInstance:\x20saved\x20instance\x20contextId=','runHooks','getTestFrameworks','getAllData','KEY_TEST_LOGS','base64','\x20testState:\x20',',\x20hookState:\x20','testFrameworkState','getTestDetails','getRef','KEY_HOOK_LAST_STARTED','1447101XMfUJj','testFrameworkName','hookData','createTestFrameworkEventPayload:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','getPendingHooks','KEY_LOGS','finishedAt','tags','exports','\x20target=','491080dAxCbj','KEY_TEST_RESULT','format','4rSTeZR','KEY_HOOK_LOGS','TQWMW','Cleared\x20processed\x20pending\x20hooks\x20for\x20testId:\x20','\x20for\x20test:\x20','failure_type','POST','PRE','result','\x20response=','KEY_TEST_TAGS','KEY_TEST_FRAMEWORK_NAME','name','instance','sendLogCreatedEvent:\x20No\x20logs\x20found,\x20skipping','WcmTJ','__workerDetails','startedAt','util','failure','CucumberTestFramework','testData','testUUID','endedAt','\x20&\x20hook\x20=\x20','getCurrentInstanceName','trackCucumberInstance','setTrackedInstance','resolveInstance','uuid','getId','./testFramework','EJdKd','INIT_TEST','sCfKR','removePendingHooks','testFrameworkVersion','KEY_HOOKS_STARTED','../state/testFrameworkState.js','length','No\x20test\x20data\x20or\x20UUID\x20found\x20for\x20cucumber\x20test','../state/hookState.js','trackEvent:\x20loaded\x20testData\x20for\x20testId:\x20','get','YQbDe','../cliUtils.js','UyoLZ','KEY_TEST_RESULT_AT','storePendingHook','Updated\x20cucumber\x20test\x20result:\x20','split','KEY_TEST_FAILURE_REASON','27gzvjlN','parseCucumberTest',',\x20storing\x20as\x20pending\x20hook','executionContext','tXmhZ','2CmibDw','trackHookEvent','push','createContext',',\x20state:\x20','file_name','failure_data','KEY_TEST_FAILURE_TYPE','failure_reason',',\x20state=','SRRRS','KEY_TEST_FRAMEWORK_VERSION','trackEvent:\x20unsupported\x20testFrameworkState=','Error\x20in\x20createTestFrameworkEventPayload:\x20','toString','getCurrentHookState','MmrFC','\x20and\x20args\x20=\x20','110627eHYqcp','failed','2199988qDglNe','logCreatedEvent','YzNZr','args','DEFAULT_TEST_RESULT','keys','hasPendingHooks','Error\x20processing\x20pending\x20hook\x20for\x20testId:\x20',',\x20error:\x20','RWQnW','530ESlkFk','hook_type','\x20&\x20hookState=','../../../helpers/classLogger.js','toISOString','getCurrentTestState','\x20batch\x20','meta','pop','addMultipleEntries','KEY_TEST_FILE_PATH','getTrackedInstance','KEY_HOOK_LAST_FINISHED','trackHookEvent:\x20Hook\x20List\x20in\x20Post\x20','trackEvent','KEY_TEST_STARTED_AT','test_run_id','bxjoy','874150PsZuqc','KEY_CUSTOM_TAGS','body','scopes','getThreadId','ANBSb','parseCucumberTestResult','yodso','3404334EKWadx','Tracked\x20cucumber\x20hook\x20event:\x20','hooks','KEY_TEST_META','lncYu','readLogObjects','error','setTestDetails','YGVWk','started_at','getTestFrameworksVersions','\x20with\x20result:\x20','KEY_HOOK_FAILURE','CDTGL','hookState','Parsed\x20cucumber\x20test:\x20','fiNJq','KEY_TEST_ENDED_AT','eVWoo','KEY_TEST_CODE'];a70_0x1afa=function(){return _0x769c20;};return a70_0x1afa();}module[a70_0x1c5973(0x201)]=CucumberTestFramework;
1
+ function a70_0x2318(_0x5445be,_0x508baa){const _0x342437=a70_0x3424();return a70_0x2318=function(_0x2318ca,_0x136c95){_0x2318ca=_0x2318ca-0x13f;let _0x197e21=_0x342437[_0x2318ca];return _0x197e21;},a70_0x2318(_0x5445be,_0x508baa);}const a70_0x40e020=a70_0x2318;(function(_0x4761ba,_0x496462){const _0x72b8f5=a70_0x2318,_0x48983e=_0x4761ba();while(!![]){try{const _0x5f037b=-parseInt(_0x72b8f5(0x19f))/0x1*(-parseInt(_0x72b8f5(0x1a6))/0x2)+parseInt(_0x72b8f5(0x1d8))/0x3*(-parseInt(_0x72b8f5(0x1bc))/0x4)+parseInt(_0x72b8f5(0x1b6))/0x5+parseInt(_0x72b8f5(0x1a0))/0x6*(-parseInt(_0x72b8f5(0x1bb))/0x7)+parseInt(_0x72b8f5(0x1c1))/0x8*(-parseInt(_0x72b8f5(0x1f4))/0x9)+-parseInt(_0x72b8f5(0x206))/0xa+parseInt(_0x72b8f5(0x20f))/0xb*(parseInt(_0x72b8f5(0x1fb))/0xc);if(_0x5f037b===_0x496462)break;else _0x48983e['push'](_0x48983e['shift']());}catch(_0x5ecd64){_0x48983e['push'](_0x48983e['shift']());}}}(a70_0x3424,0xd44b4));const TestFramework=require('./testFramework'),TestFrameworkState=require(a70_0x40e020(0x1ac)),HookState=require(a70_0x40e020(0x1d3)),{createClassLogger}=require(a70_0x40e020(0x142)),TestFrameworkInstance=require('../instances/testFrameworkInstance.js'),CLIUtils=require(a70_0x40e020(0x190)),TrackedInstance=require(a70_0x40e020(0x164)),TestFrameworkConstants=require(a70_0x40e020(0x1c4)),{getManualUploadLogs,getMediaArtifactsLogs}=require('../../../helpers/helper.js'),logger=createClassLogger(a70_0x40e020(0x1fd)),{v4:uuidv4}=require(a70_0x40e020(0x1ee)),util=require(a70_0x40e020(0x1c6)),TestInfo=require(a70_0x40e020(0x1cb)),GrpcClient=require(a70_0x40e020(0x180));class CucumberTestFramework extends TestFramework{constructor(_0x5b4897,_0x16b5be,_0xe75064){super(_0x5b4897,_0x16b5be,_0xe75064);}async[a70_0x40e020(0x1a9)](_0x216df2,_0x293fe5,_0xb3b877={}){const _0x4bfa18=a70_0x40e020,_0xb84b00={};_0xb84b00[_0x4bfa18(0x173)]=_0x4bfa18(0x199),_0xb84b00[_0x4bfa18(0x20d)]=function(_0x2cf3b6,_0x25a930){return _0x2cf3b6===_0x25a930;},_0xb84b00[_0x4bfa18(0x210)]=function(_0x2ec29c,_0x375f07){return _0x2ec29c===_0x375f07;},_0xb84b00['aWwph']='trackEvent:\x20Exception\x20in\x20event\x20tracking,\x20testFrameworkState=%s\x20hookState=%s\x20argsLength=%s,\x20exception=%s';const _0x584c3c=_0xb84b00;await super[_0x4bfa18(0x1a9)](_0x216df2,_0x293fe5,_0xb3b877);const _0x6ad880=this[_0x4bfa18(0x163)](_0x216df2,_0x293fe5,_0xb3b877);if(!_0x6ad880){logger[_0x4bfa18(0x162)](_0x584c3c[_0x4bfa18(0x173)]);return;}try{let _0x23a9af,_0x47d7e4;switch(_0x216df2){case TestFrameworkState['TEST']:_0x23a9af=_0xb3b877['test'],_0x47d7e4=TestInfo[_0x4bfa18(0x1e8)](_0x23a9af['id']);if(_0x584c3c[_0x4bfa18(0x20d)](_0x293fe5,HookState[_0x4bfa18(0x16e)])){logger[_0x4bfa18(0x162)](_0x4bfa18(0x1fc)+_0x23a9af['id']);const _0x532780={};_0x532780[_0x4bfa18(0x183)]=_0x47d7e4,_0x532780[_0x4bfa18(0x176)]=_0x23a9af,_0x6ad880['addMultipleEntries'](this['parseCucumberTest'](_0x532780)),logger[_0x4bfa18(0x162)](_0x4bfa18(0x212)+_0x23a9af['id']),await this[_0x4bfa18(0x200)](_0x6ad880,_0x23a9af['id']);}else{if(_0x584c3c[_0x4bfa18(0x20d)](_0x293fe5,HookState[_0x4bfa18(0x197)])){const _0x271ffb={};_0x271ffb[_0x4bfa18(0x183)]=_0x47d7e4,_0x271ffb[_0x4bfa18(0x176)]=_0x23a9af,_0x6ad880[_0x4bfa18(0x178)](this[_0x4bfa18(0x1cf)](_0x271ffb)),await this['processPendingHooks'](_0x6ad880,_0x23a9af['id']);}}break;case TestFrameworkState[_0x4bfa18(0x17f)]:_0x584c3c[_0x4bfa18(0x210)](_0x293fe5,HookState[_0x4bfa18(0x197)])&&await this[_0x4bfa18(0x1a7)](_0x6ad880,_0x216df2,_0xb3b877);break;default:if(CLIUtils[_0x4bfa18(0x16b)](_0x216df2[_0x4bfa18(0x1f1)]()[_0x4bfa18(0x213)]('.')[0x1])){const _0x215d0e=await this['trackHookEvent'](_0x6ad880,_0x216df2,_0x293fe5,_0xb3b877);_0x6ad880[_0x4bfa18(0x178)](_0x215d0e);}else logger[_0x4bfa18(0x162)](_0x4bfa18(0x1b0)+_0x216df2+_0x4bfa18(0x15a)+_0x293fe5);break;}}catch(_0x42ae8c){logger[_0x4bfa18(0x184)](util['format'](_0x584c3c[_0x4bfa18(0x208)],_0x216df2,_0x293fe5,_0xb3b877[_0x4bfa18(0x147)],_0x42ae8c));}_0xb3b877[_0x4bfa18(0x1d0)]=_0x6ad880,await this[_0x4bfa18(0x18a)](_0x6ad880,_0x216df2,_0x293fe5,_0xb3b877);}[a70_0x40e020(0x163)](_0x464f67,_0x45892f,_0x1ee3f6={}){const _0x7f2732=a70_0x40e020,_0x303347={};_0x303347[_0x7f2732(0x1e5)]=function(_0x5d68d1,_0x1fb8d0){return _0x5d68d1===_0x1fb8d0;};const _0x5280a8=_0x303347;let _0x9de15=null;return(_0x5280a8[_0x7f2732(0x1e5)](_0x464f67,TestFrameworkState[_0x7f2732(0x1a3)])||_0x5280a8[_0x7f2732(0x1e5)](_0x464f67,TestFrameworkState[_0x7f2732(0x14f)]))&&this[_0x7f2732(0x1ab)](_0x464f67,_0x1ee3f6),_0x9de15=TestFramework[_0x7f2732(0x192)](),_0x9de15;}['trackCucumberInstance'](_0x1045d1,_0x2df30a){const _0x2d400c=a70_0x40e020,_0x118550=CLIUtils[_0x2d400c(0x20c)](),_0x1ac534=TrackedInstance[_0x2d400c(0x16d)](_0x118550);let _0x4069b1=null;logger[_0x2d400c(0x162)](_0x2d400c(0x1f2)+_0x118550+_0x2d400c(0x145)+_0x1045d1),_0x4069b1=new TestFrameworkInstance(_0x1ac534,this[_0x2d400c(0x201)](),this[_0x2d400c(0x1dd)](),_0x1045d1,HookState['NONE']),TestFramework[_0x2d400c(0x1ec)](_0x1ac534,_0x4069b1),logger[_0x2d400c(0x162)](_0x2d400c(0x215)+_0x1ac534['getId']()+_0x2d400c(0x196)+_0x118550);}[a70_0x40e020(0x1d7)](_0x1b5e5d){const _0x68c692=a70_0x40e020,_0x2d365a={};_0x2d365a[_0x68c692(0x152)]=_0x68c692(0x1eb);const _0x5aa2a8=_0x2d365a,{testUUID:_0x583cdb,testData:_0x864fc3}=_0x1b5e5d;if(!_0x864fc3||!_0x864fc3[_0x68c692(0x1ee)])return logger[_0x68c692(0x162)](_0x5aa2a8[_0x68c692(0x152)]),{};const _0x1ebcb6=_0x864fc3['uuid'],_0x37fd96=_0x864fc3[_0x68c692(0x1ee)],_0x1f2737=this['getTestFrameworks']()[0x0],_0x92410e=this[_0x68c692(0x1dd)](),_0x17eac1={[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x1f2737,[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x92410e[_0x1f2737],[TestFrameworkConstants[_0x68c692(0x155)]]:[],[TestFrameworkConstants[_0x68c692(0x146)]]:{},[TestFrameworkConstants[_0x68c692(0x1a5)]]:{},[TestFrameworkConstants['KEY_TEST_UUID']]:_0x1ebcb6,[TestFrameworkConstants[_0x68c692(0x1b2)]]:TestFrameworkConstants[_0x68c692(0x1de)],[TestFrameworkConstants[_0x68c692(0x1a8)]]:_0x864fc3[_0x68c692(0x175)]||'',[TestFrameworkConstants[_0x68c692(0x1a1)]]:_0x864fc3['file_name']||'',[TestFrameworkConstants[_0x68c692(0x148)]]:_0x37fd96,[TestFrameworkConstants[_0x68c692(0x1b1)]]:_0x864fc3['name']||'',[TestFrameworkConstants['KEY_TEST_LOCATION']]:_0x864fc3['location']||'',[TestFrameworkConstants[_0x68c692(0x1fa)]]:_0x864fc3[_0x68c692(0x1ff)]?.[_0x68c692(0x1e6)]||null,[TestFrameworkConstants[_0x68c692(0x1ca)]]:_0x864fc3[_0x68c692(0x189)]||[],[TestFrameworkConstants[_0x68c692(0x1c8)]]:_0x864fc3[_0x68c692(0x1b7)]||new Date()[_0x68c692(0x185)](),[TestFrameworkConstants[_0x68c692(0x203)]]:_0x864fc3[_0x68c692(0x167)]?.[0x0]||'',[TestFrameworkConstants[_0x68c692(0x211)]]:_0x864fc3[_0x68c692(0x167)]||[],[TestFrameworkConstants[_0x68c692(0x1f0)]]:_0x864fc3[_0x68c692(0x205)]?.[_0x68c692(0x19b)]||_0x864fc3[_0x68c692(0x175)]||'',[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:{},[TestFrameworkConstants[_0x68c692(0x1da)]]:_0x864fc3[_0x68c692(0x181)]||{}};TestInfo[_0x68c692(0x140)](_0x37fd96,_0x17eac1),logger[_0x68c692(0x162)](_0x68c692(0x1d1)+_0x864fc3[_0x68c692(0x175)]+_0x68c692(0x17a)+_0x1ebcb6);const _0x4f2ad5={};return _0x4f2ad5[_0x37fd96]=_0x17eac1,_0x4f2ad5;}[a70_0x40e020(0x1cf)](_0x48f0a6){const _0x13c1e1=a70_0x40e020,_0x496c95={'aWrdz':_0x13c1e1(0x1e3),'SGlhf':_0x13c1e1(0x1f8),'YfNfl':function(_0x3d136e,_0x176232){return _0x3d136e===_0x176232;},'gdNsK':_0x13c1e1(0x217),'UmWKt':_0x13c1e1(0x174),'VFVaw':function(_0x1a14d4,_0x4509a3,_0x101a3d){return _0x1a14d4(_0x4509a3,_0x101a3d);},'XSfZe':function(_0x7152a2,_0xc5fee9){return _0x7152a2>_0xc5fee9;}},{testUUID:_0x4bf2de,testData:_0x1f49ca}=_0x48f0a6;if(!_0x1f49ca||!_0x1f49ca[_0x13c1e1(0x1ee)])return logger['debug'](_0x496c95[_0x13c1e1(0x1d4)]),{};const _0xc4240f=this[_0x13c1e1(0x163)](TestFrameworkState[_0x13c1e1(0x1f6)],HookState['POST']),_0x3e0038=_0x1f49ca[_0x13c1e1(0x1ee)],_0x7c7986=TestInfo['getTestDetails'](_0x3e0038)||{},_0x409137=_0x7c7986?_0x7c7986[TestFrameworkConstants[_0x13c1e1(0x1c2)]]||{}:{},_0x507b41={..._0x7c7986,[TestFrameworkConstants[_0x13c1e1(0x1b2)]]:_0x1f49ca[_0x13c1e1(0x141)]||_0x496c95[_0x13c1e1(0x1fe)],[TestFrameworkConstants['KEY_TEST_ENDED_AT']]:_0x1f49ca[_0x13c1e1(0x20e)]||new Date()['toISOString'](),[TestFrameworkConstants[_0x13c1e1(0x143)]]:new Date()[_0x13c1e1(0x185)](),[TestFrameworkConstants[_0x13c1e1(0x1c2)]]:_0x409137,[TestFrameworkConstants[_0x13c1e1(0x158)]]:[],[TestFrameworkConstants[_0x13c1e1(0x1da)]]:_0x1f49ca[_0x13c1e1(0x181)]||{}};_0x496c95['YfNfl'](_0x1f49ca[_0x13c1e1(0x141)],_0x496c95['gdNsK'])&&_0x1f49ca['failure']&&(_0x507b41[TestFrameworkConstants['KEY_TEST_FAILURE_TYPE']]=_0x1f49ca[_0x13c1e1(0x202)]||_0x496c95[_0x13c1e1(0x1c5)],_0x507b41[TestFrameworkConstants[_0x13c1e1(0x18e)]]=_0x1f49ca[_0x13c1e1(0x1e2)]||'',_0x507b41[TestFrameworkConstants['KEY_TEST_FAILURE']]=_0x1f49ca[_0x13c1e1(0x1f7)]);const _0x2ff75e=TestInfo[_0x13c1e1(0x1be)](_0x3e0038)[TestFrameworkConstants[_0x13c1e1(0x188)]]||{},_0x400b4a=_0x496c95[_0x13c1e1(0x172)](getManualUploadLogs,_0x2ff75e,_0xc4240f['getAllData']()[_0x13c1e1(0x159)](_0x3e0038)[TestFrameworkConstants[_0x13c1e1(0x1d2)]]);if(_0x496c95['XSfZe'](_0x400b4a[_0x13c1e1(0x147)],0x0)){const _0x82a50f=_0x507b41[TestFrameworkConstants['KEY_LOGS']]||[];_0x507b41[TestFrameworkConstants['KEY_LOGS']]=[..._0x82a50f,..._0x400b4a];}_0x1f49ca[_0x13c1e1(0x19e)]&&_0x496c95[_0x13c1e1(0x15c)](_0x1f49ca['hooks']['length'],0x0)&&(_0x507b41[TestFrameworkConstants[_0x13c1e1(0x146)]]=_0x1f49ca[_0x13c1e1(0x19e)]);TestInfo[_0x13c1e1(0x140)](_0x3e0038,_0x507b41),logger[_0x13c1e1(0x162)]('Updated\x20cucumber\x20test\x20result:\x20'+_0x1f49ca['name']+_0x13c1e1(0x19d)+_0x1f49ca[_0x13c1e1(0x141)]);const _0x2985f6={};return _0x2985f6[_0x3e0038]=_0x507b41,_0x2985f6;}async[a70_0x40e020(0x1aa)](_0x3e4e48,_0x84e225,_0x488fc4,_0x3ae96b){const _0x17d1b=a70_0x40e020,_0x1cc84e={'AjMts':_0x17d1b(0x14a),'aCTDX':function(_0x46f587){return _0x46f587();},'YPFSt':function(_0x3c7f89,_0x2234fe){return _0x3c7f89 in _0x2234fe;},'OZYoc':function(_0x1940ab,_0x514167){return _0x1940ab===_0x514167;},'HkNdx':function(_0x452fa1,_0x2f745d){return _0x452fa1===_0x2f745d;},'hLMNr':function(_0x2623f8,_0x2584ec){return _0x2623f8>_0x2584ec;},'WbkzO':'failed','klndN':'UnhandledError','RhJfp':_0x17d1b(0x1bf),'yXJiP':function(_0xc6d63d,_0xf39756){return _0xc6d63d!==_0xf39756;}},{hookData:_0x1e3763}=_0x3ae96b;if(!_0x1e3763)return logger[_0x17d1b(0x162)](_0x1cc84e['AjMts']),{};const _0x2e3cef=_0x1e3763[_0x17d1b(0x1ee)]||_0x1cc84e['aCTDX'](uuidv4),_0x9fb679=_0x1e3763[_0x17d1b(0x1c0)],_0x16bfd8=_0x84e225['toString']()[_0x17d1b(0x213)]('.')[0x1],_0x381923=TestInfo['getTestDetails'](_0x9fb679)[TestFrameworkConstants['KEY_CUSTOM_TAGS']]||{},_0x3839f2=_0x3e4e48[_0x17d1b(0x1b9)]()[_0x17d1b(0x159)](_0x9fb679);if(!_0x3839f2)return logger['debug'](_0x17d1b(0x15e)+_0x9fb679+_0x17d1b(0x1dc)),this[_0x17d1b(0x177)](_0x3e4e48,_0x9fb679,_0x84e225,_0x488fc4,_0x3ae96b),{};let _0x119316=_0x3839f2[TestFrameworkConstants[_0x17d1b(0x1a5)]];!_0x119316&&(_0x119316={});!_0x1cc84e[_0x17d1b(0x171)](_0x16bfd8,_0x119316)&&(_0x119316[_0x16bfd8]=[]);let _0x2c95a2=_0x3839f2[TestFrameworkConstants['KEY_HOOKS_FINISHED']];!_0x2c95a2&&(_0x2c95a2={});!_0x1cc84e[_0x17d1b(0x171)](_0x16bfd8,_0x2c95a2)&&(_0x2c95a2[_0x16bfd8]=[]);const _0x274c2d={[TestFrameworkConstants[_0x17d1b(0x1a5)]]:_0x119316,[TestFrameworkConstants[_0x17d1b(0x146)]]:_0x2c95a2},_0x31833c={};_0x31833c[_0x9fb679]=_0x274c2d;const _0x154038=_0x31833c;if(_0x1cc84e['OZYoc'](_0x488fc4,HookState[_0x17d1b(0x16e)])){const _0x59d01a={[TestFrameworkConstants[_0x17d1b(0x150)]]:_0x2e3cef,[TestFrameworkConstants[_0x17d1b(0x1c7)]]:TestFrameworkConstants[_0x17d1b(0x170)],[TestFrameworkConstants[_0x17d1b(0x204)]]:_0x1e3763['started_at'],[TestFrameworkConstants[_0x17d1b(0x18f)]]:[],[TestFrameworkConstants[_0x17d1b(0x14c)]]:_0x1e3763[_0x17d1b(0x153)],[TestFrameworkConstants[_0x17d1b(0x1c2)]]:_0x381923};_0x59d01a[_0x17d1b(0x187)]=_0x16bfd8;const _0xebe8c=_0x59d01a;_0x119316[_0x16bfd8]['push'](_0xebe8c),_0x154038[_0x9fb679][TestFrameworkConstants[_0x17d1b(0x1af)]]=_0x16bfd8,logger['debug'](_0x17d1b(0x151)+_0x16bfd8+_0x17d1b(0x14b)+_0xebe8c+'\x20\x20and\x20args\x20=\x20'+_0x3ae96b);}else{if(_0x1cc84e['HkNdx'](_0x488fc4,HookState[_0x17d1b(0x197)])){const _0x4a0fcf=_0x1e3763[_0x17d1b(0x141)],_0x52dbb6=_0x119316[_0x16bfd8]||[];logger[_0x17d1b(0x162)]('trackHookEvent:\x20Hook\x20List\x20in\x20Post\x20'+_0x52dbb6+_0x17d1b(0x216)+_0x3ae96b);if(_0x1cc84e[_0x17d1b(0x17d)](_0x52dbb6[_0x17d1b(0x147)],0x0)){const _0x384684=_0x52dbb6['pop']();_0x1cc84e['OZYoc'](_0x1e3763['result'],_0x1cc84e[_0x17d1b(0x1b3)])&&_0x1e3763[_0x17d1b(0x198)]?(_0x384684[TestFrameworkConstants['KEY_HOOK_FAILURE_TYPE']]=_0x1e3763[_0x17d1b(0x202)]||_0x1cc84e['klndN'],_0x384684[TestFrameworkConstants[_0x17d1b(0x18d)]]=_0x1e3763[_0x17d1b(0x1e2)]||'',_0x384684[TestFrameworkConstants['KEY_HOOK_FAILURE']]=_0x1e3763[_0x17d1b(0x198)]):_0x384684[TestFrameworkConstants['KEY_HOOK_RESULT']]=_0x1cc84e[_0x17d1b(0x1b4)];_0x1cc84e[_0x17d1b(0x214)](_0x4a0fcf,TestFrameworkConstants[_0x17d1b(0x170)])&&(_0x384684[TestFrameworkConstants['KEY_HOOK_RESULT']]=_0x4a0fcf);_0x384684[TestFrameworkConstants[_0x17d1b(0x1ce)]]=_0x1e3763['finished_at']||new Date()['toISOString'](),_0x384684[TestFrameworkConstants[_0x17d1b(0x1c2)]]=_0x381923;const _0x2cccb0=_0x384684[TestFrameworkConstants[_0x17d1b(0x150)]];!_0x2c95a2[_0x16bfd8]&&(_0x2c95a2[_0x16bfd8]=[]),_0x2c95a2[_0x16bfd8][_0x17d1b(0x193)](_0x384684),_0x154038[_0x9fb679][TestFrameworkConstants[_0x17d1b(0x1cc)]]=_0x16bfd8;}}}return logger[_0x17d1b(0x162)](_0x17d1b(0x179)+_0x1e3763[_0x17d1b(0x153)]+_0x17d1b(0x14e)+_0x2e3cef+_0x17d1b(0x1d5)+_0x9fb679),_0x154038;}[a70_0x40e020(0x20b)](_0x2f2a65){const _0x13fb0f=a70_0x40e020,_0x1e5a74={};_0x1e5a74[_0x13fb0f(0x160)]=_0x13fb0f(0x1ba);const _0x3b1f26=_0x1e5a74;try{const _0x24569e=_0x2f2a65['test']?_0x2f2a65[_0x13fb0f(0x1d9)]['id']:_0x2f2a65['hookData'][_0x13fb0f(0x1c0)],_0x27cf6e=_0x2f2a65[_0x13fb0f(0x1d0)],_0x46137f=_0x27cf6e[_0x13fb0f(0x1a2)](),_0x486aa1=_0x27cf6e[_0x13fb0f(0x1b9)]()['get'](_0x24569e);if(!_0x486aa1)return logger[_0x13fb0f(0x162)](_0x13fb0f(0x1d6)+_0x24569e),{};logger['debug'](_0x13fb0f(0x1f3)+_0x24569e);const {[TestFrameworkConstants[_0x13fb0f(0x194)]]:_0x1a3379='',[TestFrameworkConstants[_0x13fb0f(0x1ad)]]:_0x4c538b='',[TestFrameworkConstants[_0x13fb0f(0x1c8)]]:_0x60a172='',[TestFrameworkConstants['KEY_TEST_ENDED_AT']]:_0x41d6b7=''}=_0x486aa1,_0x319e3a=_0x27cf6e[_0x13fb0f(0x1e0)]()[_0x13fb0f(0x1f1)]()[_0x13fb0f(0x213)]('.')[0x1],_0xe7aaa7=_0x27cf6e[_0x13fb0f(0x161)]()['toString']()[_0x13fb0f(0x213)]('.')[0x1],_0x50691a=global?.[_0x13fb0f(0x1ed)]?.[_0x13fb0f(0x1c9)]?.[_0x13fb0f(0x16c)],_0x31e6f2=_0x27cf6e[_0x13fb0f(0x166)](),_0x86ab84=Buffer[_0x13fb0f(0x1b5)](JSON['stringify'](_0x486aa1))[_0x13fb0f(0x1f1)](_0x3b1f26[_0x13fb0f(0x160)]),_0x2b582d={'hash':_0x46137f[_0x13fb0f(0x20a)](),'threadId':_0x46137f[_0x13fb0f(0x195)]()[_0x13fb0f(0x1f1)](),'processId':_0x46137f[_0x13fb0f(0x149)]()[_0x13fb0f(0x1f1)]()},_0x28a542={};_0x28a542[_0x13fb0f(0x168)]=_0x50691a,_0x28a542[_0x13fb0f(0x186)]=_0x1a3379,_0x28a542[_0x13fb0f(0x1e1)]=_0x4c538b,_0x28a542[_0x13fb0f(0x15b)]=_0x319e3a,_0x28a542[_0x13fb0f(0x19a)]=_0xe7aaa7,_0x28a542[_0x13fb0f(0x1b7)]=_0x60a172,_0x28a542['endedAt']=_0x41d6b7,_0x28a542[_0x13fb0f(0x1ee)]=_0x31e6f2,_0x28a542[_0x13fb0f(0x13f)]=_0x86ab84,_0x28a542[_0x13fb0f(0x144)]=_0x2b582d;const _0x12b684=_0x28a542;return logger[_0x13fb0f(0x162)](_0x13fb0f(0x1ae)+_0x24569e+'\x20testState:\x20'+_0x319e3a+_0x13fb0f(0x15d)+_0xe7aaa7),_0x12b684;}catch(_0x2acb72){return logger[_0x13fb0f(0x184)](_0x13fb0f(0x18b)+util[_0x13fb0f(0x1f5)](_0x2acb72)),{};}}async[a70_0x40e020(0x1a7)](_0x259895,_0x52b2b4,_0x4bcc10){const _0xa10251=a70_0x40e020,_0x4447ef={'HpwPw':function(_0x1647d1,_0x5a5efa,_0x12db1a){return _0x1647d1(_0x5a5efa,_0x12db1a);},'FTClU':function(_0x1e0228,_0x2734f9){return _0x1e0228===_0x2734f9;},'WiOxA':_0xa10251(0x207),'BKpTx':function(_0x44f3e8,_0x314e81){return _0x44f3e8/_0x314e81;},'IlBen':function(_0x19f08e,_0x203685){return _0x19f08e<_0x203685;},'cdifq':function(_0x10647a,_0x4dd4ac){return _0x10647a*_0x4dd4ac;},'XIgDj':function(_0x34211f,_0x4c2b59){return _0x34211f+_0x4c2b59;},'mvCUJ':function(_0x3b3d00,_0x2b4175){return _0x3b3d00+_0x2b4175;},'SFkwV':'Cucumber\x20log\x20created\x20event'};try{const _0x1ff70c=_0x4bcc10['testUUID'],_0x773ac5=_0x259895['getAllData']()[_0xa10251(0x159)](_0x1ff70c),{[TestFrameworkConstants[_0xa10251(0x194)]]:_0x370bd7='',[TestFrameworkConstants[_0xa10251(0x1ad)]]:_0xb04304=''}=_0x773ac5,_0x5b281a=TestInfo['readLogObjects'](_0x1ff70c),_0x2b91e1=TestInfo[_0xa10251(0x1be)](_0x1ff70c)[TestFrameworkConstants[_0xa10251(0x188)]]||{},_0x2b0d0b=_0x4447ef[_0xa10251(0x16f)](getMediaArtifactsLogs,_0x2b91e1,_0x259895['getAllData']()[_0xa10251(0x159)](_0x1ff70c)[TestFrameworkConstants[_0xa10251(0x1d2)]]),_0x7c61ed=(_0x5b281a||[])[_0xa10251(0x14d)](_0x2b0d0b||[]);if(!_0x7c61ed||_0x4447ef[_0xa10251(0x1e4)](_0x7c61ed[_0xa10251(0x147)],0x0)){logger[_0xa10251(0x162)](_0x4447ef['WiOxA']);return;}const _0x2b8df7=0x28,_0x3334a9=Math[_0xa10251(0x17b)](_0x4447ef[_0xa10251(0x1b8)](_0x7c61ed[_0xa10251(0x147)],_0x2b8df7));for(let _0xa373df=0x0;_0x4447ef[_0xa10251(0x1db)](_0xa373df,_0x3334a9);_0xa373df++){const _0x204dab=_0x4447ef['cdifq'](_0xa373df,_0x2b8df7),_0x5cba0f=_0x4447ef[_0xa10251(0x1a4)](_0x204dab,_0x2b8df7),_0x52a709=_0x7c61ed[_0xa10251(0x182)](_0x204dab,_0x5cba0f),_0x5485e2={'platformIndex':'0','logs':_0x52a709,'testFrameworkName':_0x370bd7,'testFrameworkVersion':_0xb04304,'testFrameworkState':_0x52b2b4[_0xa10251(0x1f1)]()[_0xa10251(0x213)]('.')[0x1]};logger[_0xa10251(0x162)](_0xa10251(0x209)+_0x1ff70c+_0xa10251(0x169)+_0x4447ef['mvCUJ'](_0xa373df,0x1)+'/'+_0x3334a9+_0xa10251(0x1e7)+util[_0xa10251(0x17c)](_0x5485e2));const _0x4f201f=await GrpcClient[_0xa10251(0x1cd)]()[_0xa10251(0x191)](_0x5485e2);logger[_0xa10251(0x162)](_0xa10251(0x209)+_0x1ff70c+_0xa10251(0x169)+_0x4447ef[_0xa10251(0x154)](_0xa373df,0x1)+'/'+_0x3334a9+'\x20response='+util[_0xa10251(0x17c)](_0x4f201f));}}catch(_0xb67c9d){logger[_0xa10251(0x184)](_0xa10251(0x18c)+util[_0xa10251(0x1f5)](_0xb67c9d));}logger[_0xa10251(0x162)](_0x4447ef[_0xa10251(0x1c3)]);}['storePendingHook'](_0x51dcb1,_0x1b1a22,_0x3d1e3a,_0x38331b,_0x3499c1){const _0x193a75=a70_0x40e020,_0x7774ed={'testId':_0x1b1a22,'testFrameworkState':_0x3d1e3a,'hookState':_0x38331b,'args':_0x3499c1,'timestamp':new Date()[_0x193a75(0x185)]()};_0x51dcb1[_0x193a75(0x19c)](_0x1b1a22,_0x7774ed),logger[_0x193a75(0x162)](_0x193a75(0x15f)+_0x1b1a22+_0x193a75(0x1f9)+_0x3d1e3a+_0x193a75(0x1ea)+_0x38331b);}async[a70_0x40e020(0x200)](_0x1ab9e5,_0x1de3cf){const _0x4f4d08=a70_0x40e020,_0x49ec2d={};_0x49ec2d[_0x4f4d08(0x157)]=function(_0xa90ca,_0xfdc55b){return _0xa90ca>_0xfdc55b;};const _0x33cf1f=_0x49ec2d;if(!_0x1ab9e5['hasPendingHooks'](_0x1de3cf))return;const _0x39a103=_0x1ab9e5['getPendingHooks'](_0x1de3cf);logger[_0x4f4d08(0x162)](_0x4f4d08(0x16a)+_0x39a103[_0x4f4d08(0x147)]+_0x4f4d08(0x1df)+_0x1de3cf);for(const _0x575fb7 of _0x39a103){try{const _0x303f34=await this['trackHookEvent'](_0x1ab9e5,_0x575fb7[_0x4f4d08(0x15b)],_0x575fb7[_0x4f4d08(0x19a)],_0x575fb7[_0x4f4d08(0x1bd)]);_0x303f34&&_0x33cf1f['brFcv'](Object[_0x4f4d08(0x1e9)](_0x303f34)[_0x4f4d08(0x147)],0x0)&&_0x1ab9e5[_0x4f4d08(0x178)](_0x303f34),await this[_0x4f4d08(0x18a)](_0x1ab9e5,_0x575fb7[_0x4f4d08(0x15b)],_0x575fb7[_0x4f4d08(0x19a)],_0x575fb7[_0x4f4d08(0x1bd)]);}catch(_0x21e6cb){logger[_0x4f4d08(0x184)](_0x4f4d08(0x17e)+_0x1de3cf+_0x4f4d08(0x156)+_0x21e6cb);}}_0x1ab9e5['removePendingHooks'](_0x1de3cf),logger[_0x4f4d08(0x162)](_0x4f4d08(0x165)+_0x1de3cf);}}function a70_0x3424(){const _0x22cf01=[',\x20error:\x20','brFcv','KEY_LOGS','get','\x20&\x20hookState=','testFrameworkState','XSfZe','\x20hookState:\x20','No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','Stored\x20pending\x20hook\x20for\x20testId:\x20','BsnHP','getCurrentHookState','debug','resolveInstance','../instances/trackedInstance.js','Cleared\x20processed\x20pending\x20hooks\x20for\x20testId:\x20','getRef','scopes','platformIndex','\x20batch\x20','Processing\x20','matchHookRegex','parallelIndex','createContext','PRE','HpwPw','DEFAULT_HOOK_RESULT','YPFSt','VFVaw','ngiAc','UnhandledError','name','testData','storePendingHook','addMultipleEntries','Tracked\x20cucumber\x20hook\x20event:\x20','\x20with\x20UUID:\x20','ceil','inspect','hLMNr','Error\x20processing\x20pending\x20hook\x20for\x20testId:\x20','LOG_REPORT','../grpcClient','meta','slice','testUUID','error','toISOString','testFrameworkName','key','KEY_TEST_ATTACHMENTS','tags','runHooks','Error\x20in\x20createTestFrameworkEventPayload:\x20','sendLogCreatedEvent:\x20Error\x20in\x20sending\x20log\x20events:\x20','KEY_HOOK_FAILURE_REASON','KEY_TEST_FAILURE_REASON','KEY_HOOK_LOGS','../cliUtils.js','logCreatedEvent','getTrackedInstance','push','KEY_TEST_FRAMEWORK_NAME','getThreadId','\x20target=','POST','failure_data','trackEvent:\x20Test\x20Framework\x20instance\x20not\x20found','hookState','rerun_name','addPendingHook','\x20with\x20result:\x20','hooks','1821eiGHCD','8759058AUJfzN','KEY_TEST_FILE_PATH','getContext','INIT_TEST','XIgDj','KEY_HOOKS_STARTED','668sTZYFW','sendLogCreatedEvent','KEY_AUTOMATE_SESSION_NAME','trackEvent','trackHookEvent','trackCucumberInstance','../state/testFrameworkState.js','KEY_TEST_FRAMEWORK_VERSION','createTestFrameworkEventPayload:\x20complete\x20for\x20testId:\x20','KEY_HOOK_LAST_STARTED','trackEvent:\x20unsupported\x20testFrameworkState=','KEY_TEST_NAME','KEY_TEST_RESULT','WbkzO','RhJfp','from','923210ewBbWg','startedAt','BKpTx','getAllData','base64','7yiQDFq','108564kcEFqf','args','getTestDetails','passed','test_run_id','3323504pxMpfU','KEY_CUSTOM_TAGS','SFkwV','./constants/testFrameworkConstants.js','UmWKt','util','KEY_HOOK_RESULT','KEY_TEST_STARTED_AT','workerInfo','KEY_TEST_TAGS','../TestInfo.js','KEY_HOOK_LAST_FINISHED','getInstance','KEY_EVENT_ENDED_AT','parseCucumberTestResult','instance','Parsed\x20cucumber\x20test:\x20','KEY_TEST_UUID','../state/hookState.js','aWrdz','\x20for\x20test:\x20','createTestFrameworkEventPayload:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','parseCucumberTest','189QSFWkc','test','KEY_TEST_META','IlBen',',\x20storing\x20as\x20pending\x20hook','getTestFrameworksVersions','DEFAULT_TEST_RESULT','\x20pending\x20hooks\x20for\x20testId:\x20','getCurrentTestState','testFrameworkVersion','failure_reason','No\x20test\x20data\x20or\x20UUID\x20found\x20for\x20cucumber\x20test\x20result','FTClU','jOIFP','code','\x20payload=','getTestUUID','keys',',\x20hookState:\x20','No\x20test\x20data\x20or\x20UUID\x20found\x20for\x20cucumber\x20test','setTrackedInstance','__workerDetails','uuid','exports','KEY_TEST_RERUN_NAME','toString','trackCucumberInstance:\x20created\x20instance\x20for\x20target=','createTestFrameworkEventPayload\x20testId:\x20','36OtUbaZ','format','TEST','failure','unknown',',\x20state:\x20','KEY_TEST_CODE','62716296Tidyde','trackEvent\x20loading\x20testData\x20for\x20testId:\x20','CucumberTestFramework','SGlhf','body','processPendingHooks','getTestFrameworks','failure_type','KEY_TEST_SCOPE','KEY_EVENT_STARTED_AT','customRerunParam','3181800XnVtLL','sendLogCreatedEvent:\x20No\x20logs\x20found,\x20skipping','aWwph','sendLogCreatedEvent:\x20for\x20testId:\x20','getId','createTestFrameworkEventPayload','getCurrentInstanceName','qGzdN','finishedAt','11AxZuuK','EbVuJ','KEY_TEST_SCOPES','trackEvent:\x20loaded\x20testData\x20for\x20testId:\x20','split','yXJiP','trackCucumberInstance:\x20saved\x20instance\x20contextId=','\x20and\x20args\x20=\x20','failed','eventJson','setTestDetails','result','../../../helpers/classLogger.js','KEY_TEST_RESULT_AT','executionContext',',\x20state=','KEY_HOOKS_FINISHED','length','KEY_TEST_ID','getProcessId','No\x20hook\x20data\x20provided\x20for\x20cucumber\x20hook\x20event','\x20&\x20hook\x20=\x20','KEY_HOOK_NAME','concat','\x20with\x20id\x20','NONE','KEY_HOOK_ID','trackHookEvent:\x20Hook\x20Started\x20in\x20PRE\x20key\x20=\x20','sFYoz','hook_type','mvCUJ','KEY_TEST_LOGS'];a70_0x3424=function(){return _0x22cf01;};return a70_0x3424();}module[a70_0x40e020(0x1ef)]=CucumberTestFramework;
@@ -1 +1 @@
1
- const a71_0x5218dd=a71_0x4e4a;(function(_0x4d37ab,_0x99ec3c){const _0x2f3fb8=a71_0x4e4a,_0x24f9f8=_0x4d37ab();while(!![]){try{const _0x213f2b=-parseInt(_0x2f3fb8(0xa4))/0x1+-parseInt(_0x2f3fb8(0xbc))/0x2+-parseInt(_0x2f3fb8(0x9d))/0x3+-parseInt(_0x2f3fb8(0xa1))/0x4+-parseInt(_0x2f3fb8(0xaa))/0x5*(parseInt(_0x2f3fb8(0x9c))/0x6)+-parseInt(_0x2f3fb8(0xb1))/0x7*(-parseInt(_0x2f3fb8(0x9f))/0x8)+-parseInt(_0x2f3fb8(0xa8))/0x9*(-parseInt(_0x2f3fb8(0x9b))/0xa);if(_0x213f2b===_0x99ec3c)break;else _0x24f9f8['push'](_0x24f9f8['shift']());}catch(_0x190c8e){_0x24f9f8['push'](_0x24f9f8['shift']());}}}(a71_0xf438,0x6f625));const AutomationFramework=require(a71_0x5218dd(0xa0)),{createClassLogger}=require(a71_0x5218dd(0x98)),AutomationFrameworkState=require(a71_0x5218dd(0xc0)),CLIUtils=require(a71_0x5218dd(0xa2)),TrackedInstance=require(a71_0x5218dd(0xab)),AutomationFrameworkInstance=require(a71_0x5218dd(0xa5));class PlaywrightAutomationFramework extends AutomationFramework{[a71_0x5218dd(0xb5)]=createClassLogger(a71_0x5218dd(0xb4));constructor(_0x4420e9,_0x2a80df){super(_0x4420e9,_0x2a80df);}async[a71_0x5218dd(0xb3)](_0x285a91,_0x53b984,_0x54fcb2={}){const _0xe4b883=a71_0x5218dd,_0x2f2f77={};_0x2f2f77[_0xe4b883(0xb9)]=function(_0x18247a,_0xf4fafe){return _0x18247a===_0xf4fafe;};const _0x36606b=_0x2f2f77;this['logger'][_0xe4b883(0xc1)](_0xe4b883(0xa3)+_0x285a91+_0xe4b883(0xb7)+_0x53b984),await super[_0xe4b883(0xb3)](_0x285a91,_0x53b984,_0x54fcb2);const _0xd5a78e=this[_0xe4b883(0xa9)](_0x285a91,_0x53b984,_0x54fcb2);if(_0x36606b[_0xe4b883(0xb9)](_0xd5a78e,null))return;_0x54fcb2[_0xe4b883(0xaf)]=_0xd5a78e,await this['runHooks'](_0xd5a78e,_0x285a91,_0x53b984,_0x54fcb2);}['resolveInstance'](_0x2dc45d,_0x1cf5f1,_0x429c64={}){const _0x44e50f=a71_0x5218dd,_0x137f5a={};_0x137f5a[_0x44e50f(0x9e)]=function(_0x4752ba,_0xe70638){return _0x4752ba===_0xe70638;};const _0x5e159e=_0x137f5a;let _0x5d55d2=null;return(_0x5e159e['tztNh'](_0x2dc45d,AutomationFrameworkState[_0x44e50f(0xbe)])||_0x5e159e[_0x44e50f(0x9e)](_0x2dc45d,AutomationFrameworkState['PLAYWRIGHT_DISPATCH'])&&(_0x429c64['message']&&_0x429c64[_0x44e50f(0xbb)][_0x44e50f(0x9a)]&&_0x429c64[_0x44e50f(0xbb)][_0x44e50f(0x9a)][_0x44e50f(0xb0)])||_0x5e159e[_0x44e50f(0x9e)](_0x2dc45d,AutomationFrameworkState[_0x44e50f(0xbd)]))&&this[_0x44e50f(0xae)](_0x2dc45d,_0x429c64),_0x5d55d2=AutomationFramework[_0x44e50f(0xad)](),_0x5d55d2;}[a71_0x5218dd(0xae)](_0x6b44a9,_0xfc6100){const _0x1f70e0=a71_0x5218dd,_0x560fbf={};_0x560fbf[_0x1f70e0(0x99)]=_0x1f70e0(0xb6);const _0x3b2a3b=_0x560fbf;if(AutomationFramework['getTrackedInstance']()){this[_0x1f70e0(0xb5)]['info'](_0x3b2a3b[_0x1f70e0(0x99)]);return;}const _0x297848=CLIUtils[_0x1f70e0(0xbf)](),_0xd49682=TrackedInstance[_0x1f70e0(0x97)](_0x297848);let _0x5e74cd=null;this[_0x1f70e0(0xb5)][_0x1f70e0(0xb8)](_0x1f70e0(0xac)+_0x297848+_0x1f70e0(0xba)+_0x6b44a9),_0x5e74cd=new AutomationFrameworkInstance(_0xd49682,this['getAutomationFrameworkName'](),this[_0x1f70e0(0xc2)](),_0x6b44a9),AutomationFramework['setTrackedInstance'](_0xd49682,_0x5e74cd),this['logger']['info'](_0x1f70e0(0xa7)+_0xd49682['getId']()+_0x1f70e0(0xa6)+_0x297848);}}function a71_0x4e4a(_0x190078,_0x5b9f56){const _0xf43898=a71_0xf438();return a71_0x4e4a=function(_0x4e4ab3,_0x20b92a){_0x4e4ab3=_0x4e4ab3-0x97;let _0x4a8578=_0xf43898[_0x4e4ab3];return _0x4a8578;},a71_0x4e4a(_0x190078,_0x5b9f56);}module[a71_0x5218dd(0xb2)]=PlaywrightAutomationFramework;function a71_0xf438(){const _0x4f02b9=['736002ycEtsX','NONE','CREATE','getCurrentInstanceName','../state/automationFrameworkState.js','debug','getAutomationFrameworkVersion','createContext','../../../helpers/classLogger.js','XCfvi','params','10dXTNSH','12YOBIkb','1854594oTaMTd','tztNh','16ClJyjQ','./automationFramework.js','3310668hjLPnk','../cliUtils.js','trackEvent:\x20automationFrameworkState=','668117LQnpcV','../instances/automationFrameworkInstance.js','\x20target=','trackPlaywrightInstance:\x20saved\x20instance\x20contextId=','28457460OFAdDH','resolveInstance','2086555UBAbIx','../instances/trackedInstance.js','trackPlaywrightInstance:\x20created\x20instance\x20for\x20target=','getTrackedInstance','trackPlaywrightInstance','instance','bsParams','2138129KWIPzT','exports','trackEvent','PlaywrightAutomationFramework','logger','trackPlaywrightInstance:\x20instance\x20already\x20exists','\x20hookState=','info','ckyBE',',\x20state=','message'];a71_0xf438=function(){return _0x4f02b9;};return a71_0xf438();}
1
+ const a71_0x2e10ee=a71_0x2400;function a71_0x349c(){const _0x14fc82=['getTrackedInstance','instance','54376WtlWsL','../instances/trackedInstance.js','exports','10pgIexD','getCurrentInstanceName','42WfYAMR','8772460nlagzm','params','./automationFramework.js','info','Khnva','../state/automationFrameworkState.js','trackPlaywrightInstance:\x20saved\x20instance\x20contextId=','createContext','resolveInstance','\x20hookState=','PlaywrightAutomationFramework','9pWAaVX','trackPlaywrightInstance:\x20instance\x20already\x20exists','6538392dTnbjq','46461866RBALnW','PLAYWRIGHT_DISPATCH','getAutomationFrameworkName','trackPlaywrightInstance','message','3340656doLvOM','\x20target=','1415496XJFfyc','NONE','../cliUtils.js','../../../helpers/classLogger.js','logger','getAutomationFrameworkVersion','../instances/automationFrameworkInstance.js','afjPo','CREATE','77qfUxic','trackEvent','setTrackedInstance','DSdaD','trackPlaywrightInstance:\x20created\x20instance\x20for\x20target=','83763oNGcPC'];a71_0x349c=function(){return _0x14fc82;};return a71_0x349c();}(function(_0x1fbac3,_0x4bb588){const _0x609852=a71_0x2400,_0x6aafc4=_0x1fbac3();while(!![]){try{const _0x4c64c1=parseInt(_0x609852(0x120))/0x1*(-parseInt(_0x609852(0x128))/0x2)+parseInt(_0x609852(0x110))/0x3+-parseInt(_0x609852(0x112))/0x4*(parseInt(_0x609852(0x126))/0x5)+-parseInt(_0x609852(0x10a))/0x6+parseInt(_0x609852(0x11b))/0x7*(parseInt(_0x609852(0x123))/0x8)+-parseInt(_0x609852(0x108))/0x9*(parseInt(_0x609852(0x129))/0xa)+parseInt(_0x609852(0x10b))/0xb;if(_0x4c64c1===_0x4bb588)break;else _0x6aafc4['push'](_0x6aafc4['shift']());}catch(_0x3cc606){_0x6aafc4['push'](_0x6aafc4['shift']());}}}(a71_0x349c,0xeedc8));function a71_0x2400(_0x5cf5f4,_0xef8688){const _0x349c12=a71_0x349c();return a71_0x2400=function(_0x240013,_0xef54b9){_0x240013=_0x240013-0x101;let _0x4258c7=_0x349c12[_0x240013];return _0x4258c7;},a71_0x2400(_0x5cf5f4,_0xef8688);}const AutomationFramework=require(a71_0x2e10ee(0x12b)),{createClassLogger}=require(a71_0x2e10ee(0x115)),AutomationFrameworkState=require(a71_0x2e10ee(0x102)),CLIUtils=require(a71_0x2e10ee(0x114)),TrackedInstance=require(a71_0x2e10ee(0x124)),AutomationFrameworkInstance=require(a71_0x2e10ee(0x118));class PlaywrightAutomationFramework extends AutomationFramework{['logger']=createClassLogger(a71_0x2e10ee(0x107));constructor(_0x292c19,_0x1c5b63){super(_0x292c19,_0x1c5b63);}async[a71_0x2e10ee(0x11c)](_0x54db2b,_0x275fed,_0xfcd8c0={}){const _0x6a04f3=a71_0x2e10ee,_0x5799f3={};_0x5799f3[_0x6a04f3(0x101)]=function(_0x31da0d,_0x53b228){return _0x31da0d===_0x53b228;};const _0x37cfe3=_0x5799f3;this[_0x6a04f3(0x116)]['debug']('trackEvent:\x20automationFrameworkState='+_0x54db2b+_0x6a04f3(0x106)+_0x275fed),await super[_0x6a04f3(0x11c)](_0x54db2b,_0x275fed,_0xfcd8c0);const _0x5bea3b=this[_0x6a04f3(0x105)](_0x54db2b,_0x275fed,_0xfcd8c0);if(_0x37cfe3[_0x6a04f3(0x101)](_0x5bea3b,null))return;_0xfcd8c0[_0x6a04f3(0x122)]=_0x5bea3b,await this['runHooks'](_0x5bea3b,_0x54db2b,_0x275fed,_0xfcd8c0);}['resolveInstance'](_0x522746,_0x159570,_0x4ae485={}){const _0x55cfc1=a71_0x2e10ee,_0x5e6a3f={};_0x5e6a3f[_0x55cfc1(0x119)]=function(_0x1ffa92,_0x39b630){return _0x1ffa92===_0x39b630;},_0x5e6a3f[_0x55cfc1(0x11e)]=function(_0x282f64,_0x4c8274){return _0x282f64===_0x4c8274;};const _0x323f2b=_0x5e6a3f;let _0x187b41=null;return(_0x323f2b[_0x55cfc1(0x119)](_0x522746,AutomationFrameworkState[_0x55cfc1(0x11a)])||_0x323f2b[_0x55cfc1(0x119)](_0x522746,AutomationFrameworkState[_0x55cfc1(0x10c)])&&(_0x4ae485['message']&&_0x4ae485[_0x55cfc1(0x10f)][_0x55cfc1(0x12a)]&&_0x4ae485[_0x55cfc1(0x10f)][_0x55cfc1(0x12a)]['bsParams'])||_0x323f2b[_0x55cfc1(0x11e)](_0x522746,AutomationFrameworkState[_0x55cfc1(0x113)]))&&this['trackPlaywrightInstance'](_0x522746,_0x4ae485),_0x187b41=AutomationFramework[_0x55cfc1(0x121)](),_0x187b41;}[a71_0x2e10ee(0x10e)](_0x1f9e13,_0x3a387f){const _0x40a153=a71_0x2e10ee,_0x544d81={};_0x544d81['UuCpu']=_0x40a153(0x109);const _0x109474=_0x544d81;if(AutomationFramework[_0x40a153(0x121)]()){this['logger']['info'](_0x109474['UuCpu']);return;}const _0x47f3b5=CLIUtils[_0x40a153(0x127)](),_0xd8d250=TrackedInstance[_0x40a153(0x104)](_0x47f3b5);let _0x5421a2=null;this[_0x40a153(0x116)][_0x40a153(0x12c)](_0x40a153(0x11f)+_0x47f3b5+',\x20state='+_0x1f9e13),_0x5421a2=new AutomationFrameworkInstance(_0xd8d250,this[_0x40a153(0x10d)](),this[_0x40a153(0x117)](),_0x1f9e13),AutomationFramework[_0x40a153(0x11d)](_0xd8d250,_0x5421a2),this['logger'][_0x40a153(0x12c)](_0x40a153(0x103)+_0xd8d250['getId']()+_0x40a153(0x111)+_0x47f3b5);}}module[a71_0x2e10ee(0x125)]=PlaywrightAutomationFramework;
@@ -1 +1 @@
1
- function a72_0x191e(){const _0xb9f8c2=['get','result','filter','DyAfk','dxoIl','635096AiSqqw','title','testFrameworkState','../TestInfo.js','YaPNh','status','parsePlaywrightTestResult','KEY_EVENT_ENDED_AT','parsePlaywrightTest','NONE','values','ESGps','KEY_TEST_ID','getId','getTrackedInstance','basename','stack','\x20result=','KEY_HOOK_FAILURE_REASON','getCurrentTestState','nvuVi','\x20target=','trackHookEvent','Mtcsc','eDoqm','ijUUC','testFrameworkVersion','./testFramework','pop','PlaywrightTestFramework','trackPlaywrightInstance','TEST','ceil','some','util','isArray','ylaKF','getAllData','22TsHHWL','createTestFrameworkEventPayload','KEY_LOGS','createTestFrameworkEventPayload:\x20complete\x20for\x20testId:\x20','RegJr','oGLCJ','sNMES','error','addMultipleEntries','qXwgv','getTestFrameworksVersions','err','errors','message','KEY_TEST_ENDED_AT','\x20testState:\x20','GeFQe','BzZgy','createTestFrameworkEventPayload\x20testId:\x20','forEach','KEY_HOOK_LOGS','zSCgF','\x20batch\x20','testFrameworkName','field_type','KEY_HOOK_FAILURE_TYPE','bzFZg','file_name','toISOString','step','pNJTL','../../../../src/helpers/helper','getTestUUID','kukzd','setTestDetails','\x20response=','PJjnp','cdtOe','GaIgu','KEY_CUSTOM_TAGS','split','trackEvent','getRef','description','KEY_HOOKS_STARTED','hookState','wRmrg','oBqiY','./constants/testFrameworkConstants.js','KEY_TEST_STARTED_AT','base64','39189DZbWYT','1853308atdcRQ','getCurrentHookState','trackEvent\x20loading\x20testResults\x20for\x20testId:\x20','passed','KEY_HOOKS_FINISHED','getTestIdentifierFromTestInfo','CXGvo','KEY_TEST_UUID','timedOut','path','Error\x20processing\x20direct\x20trace\x20file\x20','Hook\x20List\x20in\x20Post\x20','startTime','XKxzc','concat','REAFK','skipped','10535110iAwNrA','DEFAULT_TEST_RESULT','setTrackedInstance','getTestFrameworks','format','vxxjR','zmwPc','getTestDetails','duration','matchHookRegex','TtsQU','testUId','KEY_TEST_LOCATION','trackEvent:\x20found\x20instance,\x20testFrameworkState=','tMsyN','uvzaC','results','KEY_TEST_FAILURE_REASON','WItJr','map','getInstance','Expected\x20to\x20fail,\x20but\x20passed.','IxNYR','platformIndex','INIT_TEST','KEY_TEST_RESULT','steps','test','parallelIndex','KEY_EVENT_STARTED_AT','logCreatedEvent','ArSlz','KEY_TEST_FRAMEWORK_NAME','sendLogCreatedEvent\x20for\x20testId:\x20','vRYud','stringify','gRbcO','KEY_TEST_ATTACHMENTS','../../utils/constants','1667550mswEUQ','\x20hookState:\x20','POST','parsePlaywrightTestResult:\x20testId=','GhPkH','../../playwright/reporter/pwUtils','debug','instance','VGNZN','PRE','FLkuE','KEY_TEST_FRAMEWORK_VERSION','KEY_TEST_SCOPES','../../../helpers/classLogger.js','vwcUQ','5637650zSKURe','\x20payload=','KEY_HOOK_RESULT','14154NWvmCi','NCJqW','KEY_AUTOMATE_SESSION_NAME','length','XvNvF','eventJson','sendLogCreatedEvent','endedAt','xZyCR','filePath','HYCix',',\x20testFrameworkState=','workerInfo','KEY_TEST_RESULT_AT','getTraceFilePaths','getProcessId','olQnE','../../../helpers/test-observability/utils','KEY_TEST_CODE','getTime','1743LWKUaP','KEY_TEST_FAILURE_TYPE','statSync','hook','Dyppv','../../../helpers/helper.js','inspect','../instances/testFrameworkInstance.js','KEY_HOOK_ID','\x20instanceId=','trackEvent:\x20loaded\x20testData\x20for\x20testId:\x20','\x20&\x20hook\x20=\x20','annotations','getThreadId','\x20\x20and\x20args\x20=\x20','LVjko','push','KEY_TEST_NAME','\x20from\x20TestDetails:\x20','../instances/trackedInstance.js','KEY_TEST_RETRY_OF','DEFAULT_HOOK_RESULT','TEST_ATTACHMENT','GLPby','RlpMK','startedAt','fosDG','from','info','No\x20reason\x20provided','KEY_HOOK_LAST_STARTED','toString',',\x20state=','size','RqlbH','TVjfc','attachments','executionContext','CGJtH','KEY_TEST_FILE_PATH','EKMFk','retry','268PFtbaB','slice','failed','mGZQV','MgPsu','KEY_TEST_TAGS','../grpcClient','RldlF','NrdhS','trim','getContext','117HMdYNS','getCurrentInstanceName'];a72_0x191e=function(){return _0xb9f8c2;};return a72_0x191e();}const a72_0x573e33=a72_0x2564;function a72_0x2564(_0x14f581,_0x158488){const _0x191e72=a72_0x191e();return a72_0x2564=function(_0x2564b4,_0x5c6dae){_0x2564b4=_0x2564b4-0x1e7;let _0x5c8d85=_0x191e72[_0x2564b4];return _0x5c8d85;},a72_0x2564(_0x14f581,_0x158488);}(function(_0x29dcd6,_0xe9932c){const _0x22b64f=a72_0x2564,_0x4603d5=_0x29dcd6();while(!![]){try{const _0x22201f=-parseInt(_0x22b64f(0x2b9))/0x1+parseInt(_0x22b64f(0x215))/0x2*(-parseInt(_0x22b64f(0x280))/0x3)+-parseInt(_0x22b64f(0x281))/0x4+parseInt(_0x22b64f(0x2c8))/0x5+-parseInt(_0x22b64f(0x2cb))/0x6*(-parseInt(_0x22b64f(0x1eb))/0x7)+parseInt(_0x22b64f(0x227))/0x8*(parseInt(_0x22b64f(0x220))/0x9)+-parseInt(_0x22b64f(0x292))/0xa*(-parseInt(_0x22b64f(0x24d))/0xb);if(_0x22201f===_0xe9932c)break;else _0x4603d5['push'](_0x4603d5['shift']());}catch(_0x491db7){_0x4603d5['push'](_0x4603d5['shift']());}}}(a72_0x191e,0xed76f));const TestFramework=require(a72_0x573e33(0x242)),TestFrameworkState=require('../state/testFrameworkState.js'),HookState=require('../state/hookState.js'),{createClassLogger}=require(a72_0x573e33(0x2c6)),TestFrameworkInstance=require(a72_0x573e33(0x1f2)),CLIUtils=require('../cliUtils.js'),TrackedInstance=require(a72_0x573e33(0x1fe)),TestFrameworkConstants=require(a72_0x573e33(0x27d)),logger=createClassLogger(a72_0x573e33(0x244)),{v4:uuidv4}=require('uuid'),util=require(a72_0x573e33(0x249)),{getPlaywrightSessionName,getPlaywrightTestFilePath,getPlaywrightTestId,getPlaywrightTestTitle,getPlaywrightTestLocation,getPlaywrightTestTags,getPlaywrightTestCode,getPlaywrightTestScope,getPlaywrightTestScopes,getStepsAndLogs,getScreenshots,getVideos,getPlaywrightCustomRerunParam,getMediaArtifactsLogs,getManualUploadLogs,updatePayloadForTraceLogs}=require(a72_0x573e33(0x1f0)),TestInfo=require(a72_0x573e33(0x22a)),GrpcClient=require(a72_0x573e33(0x21b)),{removeAnsiColors,getFailureType,failureData}=require(a72_0x573e33(0x1e8)),{getFailureData,getTestTags,getTestRunIdentifier}=require(a72_0x573e33(0x2be)),{findNestedKey,sendTraceZip,validateFilePath}=require(a72_0x573e33(0x2be)),path=require('path'),fs=require('fs'),helper=require(a72_0x573e33(0x26c)),{PLAYWRIGHT_TRACE_LOGS}=require(a72_0x573e33(0x2b8));class PlaywrightTestFramework extends TestFramework{constructor(_0x3d245a,_0x5e33a7,_0x3efaf0){super(_0x3d245a,_0x5e33a7,_0x3efaf0);}async['trackEvent'](_0x27b36e,_0x352af5,_0x3eece0={}){const _0x3a6946=a72_0x573e33,_0x3d1a7d={'BzZgy':function(_0x104da8,_0x17372c){return _0x104da8===_0x17372c;},'GhPkH':function(_0x53110e,_0x3118da,_0xb25996){return _0x53110e(_0x3118da,_0xb25996);},'VGNZN':function(_0x12e6ca,_0x248398){return _0x12e6ca===_0x248398;},'cdtOe':'test','ijUUC':'trackEvent:\x20Exception\x20in\x20event\x20tracking,\x20testFrameworkState=%s\x20hookState=%s\x20argsLength=%s,\x20exception=%s'};super[_0x3a6946(0x276)](_0x27b36e,_0x352af5,_0x3eece0);if(_0x3d1a7d[_0x3a6946(0x25e)](_0x27b36e,TestFrameworkState['TEST_SCREENSHOT'])){const _0x3b070a=TestInfo[_0x3a6946(0x286)](_0x3eece0[_0x3a6946(0x2ad)],_0x3eece0[_0x3a6946(0x2ad)][_0x3a6946(0x214)]);TestInfo[_0x3a6946(0x26f)](_0x3b070a,_0x3eece0[_0x3a6946(0x223)],!![]);}const _0xfce721=this['resolveInstance'](_0x27b36e,_0x352af5,_0x3eece0);if(!_0xfce721)return;logger[_0x3a6946(0x2bf)](_0x3a6946(0x29f)+_0x27b36e+'\x20hookState='+_0x352af5+_0x3a6946(0x1f4)+_0xfce721[_0x3a6946(0x277)]());try{if(_0x3d1a7d[_0x3a6946(0x25e)](_0x352af5,HookState['PRE'])&&_0x3d1a7d[_0x3a6946(0x25e)](_0x27b36e,TestFrameworkState[_0x3a6946(0x246)])){const _0x60f22d=_0x3eece0['test'];logger[_0x3a6946(0x2bf)]('trackEvent\x20loading\x20testData\x20for\x20testId:\x20'+_0x60f22d['id']+'}');const _0x2a9c7a=TestInfo[_0x3a6946(0x26d)](_0x3d1a7d[_0x3a6946(0x2bd)](getTestRunIdentifier,_0x60f22d,_0x3eece0[_0x3a6946(0x223)][_0x3a6946(0x214)]));_0xfce721['addMultipleEntries'](this[_0x3a6946(0x22f)](_0x2a9c7a,_0x60f22d,_0x3eece0[_0x3a6946(0x223)])),logger[_0x3a6946(0x2bf)](_0x3a6946(0x1f5)+_0x60f22d['id']+_0x3a6946(0x2d6)+_0x27b36e+'\x20testHookState='+_0x352af5+'\x20instance='+_0xfce721[_0x3a6946(0x277)]());}if(_0x3d1a7d[_0x3a6946(0x25e)](_0x352af5,HookState[_0x3a6946(0x2bb)])&&_0x3d1a7d[_0x3a6946(0x2c1)](_0x27b36e,TestFrameworkState[_0x3a6946(0x246)])){const _0x324c85=_0x3eece0[_0x3a6946(0x2ad)],_0x327826=_0x3eece0[_0x3a6946(0x223)];logger[_0x3a6946(0x2bf)](_0x3a6946(0x283)+_0x324c85['id']),_0xfce721[_0x3a6946(0x255)](this['parsePlaywrightTestResult'](_0x324c85['id'],_0x327826,_0x324c85)),await this[_0x3a6946(0x2d1)](_0xfce721,_0x27b36e,_0x352af5,_0x3d1a7d[_0x3a6946(0x272)],_0x3eece0);}if(CLIUtils[_0x3a6946(0x29b)](_0x27b36e[_0x3a6946(0x20a)]()[_0x3a6946(0x275)]('.')[0x1])){const _0x13cad1=await this[_0x3a6946(0x23d)](_0xfce721,_0x27b36e,_0x352af5,_0x3eece0);_0xfce721[_0x3a6946(0x255)](_0x13cad1);}}catch(_0x57790e){logger[_0x3a6946(0x254)](util['format'](_0x3d1a7d[_0x3a6946(0x240)],_0x27b36e,_0x352af5,_0x3eece0[_0x3a6946(0x2ce)],_0x57790e));}_0x3eece0[_0x3a6946(0x2c0)]=_0xfce721,await this['runHooks'](_0xfce721,_0x27b36e,_0x352af5,_0x3eece0);}['resolveInstance'](_0xe2c724,_0x19adab,_0x36fbd3={}){const _0x53728d=a72_0x573e33,_0x100da4={};_0x100da4['fosDG']=function(_0x2e523e,_0x1d2e00){return _0x2e523e===_0x1d2e00;};const _0x50cf31=_0x100da4;let _0x323d9e=null;return(_0x50cf31[_0x53728d(0x205)](_0xe2c724,TestFrameworkState[_0x53728d(0x2aa)])||_0x50cf31['fosDG'](_0xe2c724,TestFrameworkState['NONE']))&&this[_0x53728d(0x245)](_0xe2c724,_0x36fbd3),_0x323d9e=TestFramework[_0x53728d(0x235)](),_0x323d9e;}[a72_0x573e33(0x245)](_0x5054d0,_0x49e4ea){const _0x352713=a72_0x573e33,_0x3c7298=CLIUtils[_0x352713(0x221)](),_0x169a54=TrackedInstance['createContext'](_0x3c7298);let _0x57031f=null;logger['info']('trackPlaywrightInstance:\x20created\x20instance\x20for\x20target='+_0x3c7298+_0x352713(0x20b)+_0x5054d0),_0x57031f=new TestFrameworkInstance(_0x169a54,this[_0x352713(0x295)](),this[_0x352713(0x257)](),_0x5054d0,HookState[_0x352713(0x230)]),TestFramework[_0x352713(0x294)](_0x169a54,_0x57031f),logger[_0x352713(0x207)]('trackPlaywrightInstance:\x20saved\x20instance\x20contextId='+_0x169a54['getId']()+_0x352713(0x23c)+_0x3c7298);}['parsePlaywrightTest'](_0x19ad0e,_0x1db1a8,_0xf40030){const _0x41501f=a72_0x573e33,_0x34692d={'GeFQe':function(_0x1d141a,_0x19b36e){return _0x1d141a(_0x19b36e);},'SPoVD':function(_0x1e8e6b,_0x39884a){return _0x1e8e6b(_0x39884a);},'oBqiY':function(_0x1f48cc,_0x29a006){return _0x1f48cc(_0x29a006);},'vwcUQ':function(_0x439300,_0x3edc86){return _0x439300(_0x3edc86);},'gFvgP':function(_0x4c98c2,_0x374bee,_0x12cc7e){return _0x4c98c2(_0x374bee,_0x12cc7e);},'XvNvF':function(_0x52941c,_0x43c25e){return _0x52941c(_0x43c25e);}},_0x20a99b=_0x34692d[_0x41501f(0x25d)](getPlaywrightTestId,_0x1db1a8),_0x450d11=_0x34692d['GeFQe'](getPlaywrightTestTitle,_0x1db1a8),_0x372ccb=_0x34692d['GeFQe'](getTestTags,_0x1db1a8),_0x3b7744=_0x34692d[_0x41501f(0x25d)](getPlaywrightTestCode,_0x1db1a8),_0x59af78=_0x34692d[_0x41501f(0x25d)](getPlaywrightTestFilePath,_0x1db1a8),_0x2e6a62=_0x59af78+':'+_0x34692d['GeFQe'](getPlaywrightTestLocation,_0x1db1a8),_0xc57f59=_0x34692d['SPoVD'](getPlaywrightTestScope,_0x1db1a8),_0x5519bf=_0x34692d[_0x41501f(0x27c)](getPlaywrightTestScopes,_0x1db1a8),_0x5937d2=_0x34692d[_0x41501f(0x2c7)](getPlaywrightSessionName,_0x1db1a8),_0x4cd85d=this['getTestFrameworks']()[0x0],_0x6cdb73=_0x34692d['gFvgP'](getTestRunIdentifier,_0x1db1a8,_0xf40030[_0x41501f(0x214)]),_0x3bd2f0={[TestFrameworkConstants[_0x41501f(0x2b2)]]:_0x4cd85d,[TestFrameworkConstants[_0x41501f(0x2c4)]]:this[_0x41501f(0x257)]()[_0x4cd85d],[TestFrameworkConstants['KEY_TEST_LOGS']]:[],[TestFrameworkConstants[_0x41501f(0x285)]]:{},[TestFrameworkConstants[_0x41501f(0x279)]]:{},[TestFrameworkConstants[_0x41501f(0x288)]]:_0x19ad0e,[TestFrameworkConstants[_0x41501f(0x2ab)]]:TestFrameworkConstants[_0x41501f(0x293)],[TestFrameworkConstants[_0x41501f(0x2cd)]]:_0x5937d2,[TestFrameworkConstants['KEY_TEST_FILE_PATH']]:_0x59af78,[TestFrameworkConstants[_0x41501f(0x233)]]:_0x20a99b,[TestFrameworkConstants[_0x41501f(0x1fc)]]:_0x450d11,[TestFrameworkConstants[_0x41501f(0x29e)]]:_0x2e6a62,[TestFrameworkConstants[_0x41501f(0x1e9)]]:_0x3b7744,[TestFrameworkConstants[_0x41501f(0x21a)]]:_0x372ccb,[TestFrameworkConstants[_0x41501f(0x27e)]]:_0x1db1a8[_0x41501f(0x2a2)][0x0][_0x41501f(0x28d)],[TestFrameworkConstants['KEY_TEST_SCOPE']]:_0xc57f59,[TestFrameworkConstants[_0x41501f(0x2c5)]]:_0x5519bf,[TestFrameworkConstants['KEY_TEST_RERUN_NAME']]:_0x34692d[_0x41501f(0x2cf)](getPlaywrightCustomRerunParam,_0x1db1a8)};TestInfo['setTestDetails'](_0x6cdb73,_0x3bd2f0);const _0x6692e7={};return _0x6692e7[_0x6cdb73]=_0x3bd2f0,_0x6692e7;}[a72_0x573e33(0x22d)](_0x4a9a08,_0x709b6c,_0x571966){const _0x4e816f=a72_0x573e33,_0x4560d1={'vxxjR':function(_0x3bd64a,_0x1cb58c){return _0x3bd64a(_0x1cb58c);},'CXGvo':_0x4e816f(0x201),'blTMg':function(_0x2198fa,_0x27151f){return _0x2198fa===_0x27151f;},'HYCix':function(_0x37398f,_0x27cc58){return _0x37398f===_0x27cc58;},'WItJr':function(_0x3cb3ec,_0x2cb4b0){return _0x3cb3ec===_0x2cb4b0;},'dxoIl':function(_0x3e4cfa,_0x293cd2){return _0x3e4cfa(_0x293cd2);},'ylaKF':_0x4e816f(0x208),'Mtcsc':'multi_dropdown','DyAfk':function(_0x2c3c00,_0x2a44e7){return _0x2c3c00(_0x2a44e7);},'tMsyN':function(_0x37af1e,_0xaaf94f,_0x1f7d08){return _0x37af1e(_0xaaf94f,_0x1f7d08);},'zmwPc':function(_0x56bdfd,_0xd56398){return _0x56bdfd+_0xd56398;},'IxNYR':_0x4e816f(0x291),'vRYud':_0x4e816f(0x284),'Dyppv':_0x4e816f(0x217),'mGZQV':_0x4e816f(0x289),'zSCgF':function(_0x1cd615,_0x1a9712){return _0x1cd615===_0x1a9712;},'xZyCR':function(_0x383a10,_0x2306bb){return _0x383a10===_0x2306bb;},'oGLCJ':_0x4e816f(0x2a7),'GaIgu':function(_0x495507,_0x438007,_0x4def62){return _0x495507(_0x438007,_0x4def62);},'LeogA':function(_0x5a4993,_0x3427fe){return _0x5a4993||_0x3427fe;},'qXwgv':function(_0x50d597,_0x314c16){return _0x50d597>_0x314c16;},'LVjko':function(_0x59b4e0,_0x14f72c){return _0x59b4e0-_0x14f72c;},'YrUWz':function(_0x5f2744,_0x434bc8,_0x45ca1f){return _0x5f2744(_0x434bc8,_0x45ca1f);},'wcdHr':_0x4e816f(0x28a),'olQnE':function(_0xd4abdd,_0xdded66){return _0xd4abdd(_0xdded66);}};logger['debug'](_0x4e816f(0x2bc)+_0x4a9a08);const _0x4affaa=_0x4560d1[_0x4e816f(0x2a0)](getTestRunIdentifier,_0x571966,_0x709b6c[_0x4e816f(0x214)]),_0x12383d=new Date(_0x709b6c[_0x4e816f(0x28d)]),_0x29c000=_0x709b6c[_0x4e816f(0x29a)],_0xc2d572=new Date(_0x4560d1[_0x4e816f(0x298)](_0x12383d[_0x4e816f(0x1ea)](),_0x29c000)),_0x358198=_0x709b6c['status'],_0x58bd13=TestInfo[_0x4e816f(0x299)](_0x4affaa)[TestFrameworkConstants[_0x4e816f(0x274)]]||{};let _0x46a3bc=_0x358198;if(_0x4560d1['WItJr'](_0x709b6c[_0x4e816f(0x22c)],_0x571966['expectedStatus']))_0x46a3bc=_0x4560d1[_0x4e816f(0x2a4)](_0x709b6c[_0x4e816f(0x22c)],_0x4560d1[_0x4e816f(0x2a8)])?_0x4560d1[_0x4e816f(0x2a8)]:_0x4560d1[_0x4e816f(0x2b4)];else{(_0x4560d1[_0x4e816f(0x2d5)](_0x46a3bc,_0x4560d1[_0x4e816f(0x2b4)])||_0x4560d1['blTMg'](_0x46a3bc,_0x4560d1['Dyppv'])||_0x4560d1[_0x4e816f(0x2d5)](_0x46a3bc,_0x4560d1[_0x4e816f(0x218)]))&&(_0x46a3bc=_0x4560d1[_0x4e816f(0x1ef)]);if(_0x4560d1[_0x4e816f(0x262)](_0x709b6c['status'],_0x4560d1[_0x4e816f(0x2b4)])&&_0x4560d1[_0x4e816f(0x2d3)](_0x571966['expectedStatus'],_0x4560d1[_0x4e816f(0x1ef)])){const _0x26ca1d={};_0x26ca1d[_0x4e816f(0x25a)]=_0x4560d1['oGLCJ'],_0x26ca1d[_0x4e816f(0x237)]=_0x4560d1[_0x4e816f(0x252)],_0x709b6c[_0x4e816f(0x254)]=_0x26ca1d,_0x709b6c[_0x4e816f(0x259)]=[_0x709b6c['error']];}}const {failureData:_0x17cf79,logs:_0x464acd}=_0x4560d1[_0x4e816f(0x273)](getFailureData,_0x709b6c?.['errors'],{}),_0x511314={[TestFrameworkConstants['KEY_TEST_FAILURE']]:_0x4560d1['LeogA'](_0x17cf79,null),[TestFrameworkConstants[_0x4e816f(0x1ec)]]:_0x709b6c?.[_0x4e816f(0x254)]&&_0x4560d1[_0x4e816f(0x225)](getFailureType,_0x709b6c[_0x4e816f(0x254)][_0x4e816f(0x25a)]),[TestFrameworkConstants[_0x4e816f(0x2a3)]]:_0x709b6c?.[_0x4e816f(0x254)]&&_0x4560d1[_0x4e816f(0x226)](removeAnsiColors,_0x709b6c['error']['message']),[TestFrameworkConstants[_0x4e816f(0x24f)]]:[],[TestFrameworkConstants['KEY_TEST_RESULT']]:_0x46a3bc,[TestFrameworkConstants[_0x4e816f(0x25b)]]:_0xc2d572[_0x4e816f(0x269)](),[TestFrameworkConstants[_0x4e816f(0x2d8)]]:new Date()[_0x4e816f(0x269)](),[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:_0x58bd13};if(_0x709b6c&&_0x4560d1['qXwgv'](_0x709b6c['retry'],0x0)){const _0x2b0e48=TestInfo[_0x4e816f(0x26d)](_0x4560d1[_0x4e816f(0x2a0)](getTestRunIdentifier,_0x571966,_0x4560d1[_0x4e816f(0x1fa)](_0x709b6c['retry'],0x1)));_0x511314[TestFrameworkConstants[_0x4e816f(0x1ff)]]=_0x2b0e48;}const _0x3105fc={};_0x3105fc['test']=_0x571966;const _0x4fbc2b=this['resolveInstance'](TestFrameworkState[_0x4e816f(0x246)],HookState[_0x4e816f(0x2bb)],_0x3105fc),_0x54da9a=_0x4fbc2b[_0x4e816f(0x24c)]()[_0x4e816f(0x222)](_0x4affaa)[TestFrameworkConstants['KEY_TEST_UUID']],_0x48a2a4=[],_0x164acc=_0x4560d1['YrUWz'](findNestedKey,_0x709b6c,_0x4560d1['wcdHr']);if(_0x164acc&&_0x4560d1[_0x4e816f(0x1e7)](validateFilePath,_0x164acc))try{_0x48a2a4['push']({'kind':_0x4560d1[_0x4e816f(0x287)],'timestamp':new Date()[_0x4e816f(0x269)](),'test_run_uuid':_0x54da9a,'file_name':path[_0x4e816f(0x236)](_0x164acc),'file_size':fs[_0x4e816f(0x1ed)](_0x164acc)['size'],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x31c006){logger['error'](_0x4e816f(0x28b)+_0x164acc+':\x20'+_0x31c006[_0x4e816f(0x25a)]);}const _0x5a313a=TestInfo[_0x4e816f(0x2d9)](),_0x50de03=_0x5a313a[_0x4e816f(0x224)](_0x4c1556=>_0x4c1556[_0x4e816f(0x29d)]===_0x54da9a);_0x50de03[_0x4e816f(0x260)](_0x37e3fe=>{const _0x5c5913=_0x4e816f;if(_0x37e3fe[_0x5c5913(0x2d4)]&&_0x4560d1[_0x5c5913(0x297)](validateFilePath,_0x37e3fe[_0x5c5913(0x2d4)])&&!_0x48a2a4[_0x5c5913(0x248)](_0xe13b79=>_0xe13b79[_0x5c5913(0x268)]===path[_0x5c5913(0x236)](_0x37e3fe[_0x5c5913(0x2d4)])))try{_0x48a2a4[_0x5c5913(0x1fb)]({'kind':_0x4560d1['CXGvo'],'timestamp':new Date()[_0x5c5913(0x269)](),'test_run_uuid':_0x54da9a,'file_name':path[_0x5c5913(0x236)](_0x37e3fe[_0x5c5913(0x2d4)]),'file_size':fs[_0x5c5913(0x1ed)](_0x37e3fe[_0x5c5913(0x2d4)])[_0x5c5913(0x20c)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x3dee76){logger[_0x5c5913(0x254)]('Error\x20processing\x20trace\x20file\x20'+_0x37e3fe[_0x5c5913(0x2d4)]+_0x5c5913(0x1fd)+_0x3dee76[_0x5c5913(0x25a)]);}});if(_0x4560d1[_0x4e816f(0x256)](_0x48a2a4[_0x4e816f(0x2ce)],0x0)){const _0xadb9b8=_0x511314[TestFrameworkConstants[_0x4e816f(0x24f)]]||[];_0x511314[TestFrameworkConstants[_0x4e816f(0x24f)]]=[..._0xadb9b8,..._0x48a2a4];}const _0x1ebec4=TestInfo[_0x4e816f(0x299)](_0x4affaa)[TestFrameworkConstants[_0x4e816f(0x2b7)]]||{},_0x33ff1a=_0x4560d1[_0x4e816f(0x2a0)](getManualUploadLogs,_0x1ebec4,_0x4fbc2b[_0x4e816f(0x24c)]()[_0x4e816f(0x222)](_0x4affaa)[TestFrameworkConstants[_0x4e816f(0x288)]]);if(_0x4560d1[_0x4e816f(0x256)](_0x33ff1a[_0x4e816f(0x2ce)],0x0)){const _0x276d2c=_0x511314[TestFrameworkConstants['KEY_LOGS']]||[];_0x511314[TestFrameworkConstants['KEY_LOGS']]=[..._0x276d2c,..._0x33ff1a];}const _0x3f4778=_0x571966[_0x4e816f(0x1f7)]||[],_0x7c7827=_0x511314[TestFrameworkConstants[_0x4e816f(0x274)]]||{};_0x3f4778[_0x4e816f(0x260)](_0xa5e4aa=>{const _0x21ed54=_0x4e816f,{type:_0x163596}=_0xa5e4aa;let _0x367256=_0xa5e4aa[_0x21ed54(0x278)];if(!_0x163596)return;(_0x4560d1['blTMg'](_0x367256,undefined)||_0x4560d1[_0x21ed54(0x2d5)](_0x367256,null)||_0x4560d1[_0x21ed54(0x2a4)](_0x4560d1[_0x21ed54(0x226)](String,_0x367256)[_0x21ed54(0x21e)](),''))&&(_0x367256=_0x4560d1[_0x21ed54(0x24b)]);if(!_0x7c7827[_0x163596]){const _0x4c1736={};_0x4c1736[_0x21ed54(0x265)]=_0x4560d1[_0x21ed54(0x23e)],_0x4c1736[_0x21ed54(0x231)]=[],_0x7c7827[_0x163596]=_0x4c1736;}else!_0x7c7827[_0x163596]['field_type']&&(_0x7c7827[_0x163596][_0x21ed54(0x265)]=_0x4560d1[_0x21ed54(0x23e)]),!Array[_0x21ed54(0x24a)](_0x7c7827[_0x163596][_0x21ed54(0x231)])&&(_0x7c7827[_0x163596][_0x21ed54(0x231)]=[]);const _0x5b08c1=_0x4560d1[_0x21ed54(0x225)](String,_0x367256)[_0x21ed54(0x275)](',')[_0x21ed54(0x2a5)](_0xe33347=>_0xe33347['trim']());_0x7c7827[_0x163596][_0x21ed54(0x231)]=[...new Set([..._0x7c7827[_0x163596][_0x21ed54(0x231)],..._0x5b08c1])];}),_0x511314[TestFrameworkConstants[_0x4e816f(0x274)]]=_0x7c7827,TestInfo[_0x4e816f(0x26f)](_0x4affaa,_0x511314);const _0x419c2d={};return _0x419c2d[_0x4affaa]=_0x511314,_0x419c2d;}async['trackHookEvent'](_0x51d273,_0x4c9a7a,_0x133337,_0x15ebf7){const _0x106185=a72_0x573e33,_0x49002a={'pNJTL':function(_0x5eebc8,_0x54f1d1,_0x3efa76){return _0x5eebc8(_0x54f1d1,_0x3efa76);},'wRmrg':function(_0x23700e,_0x48bdc8){return _0x23700e in _0x48bdc8;},'uvzaC':function(_0x3ee4b3,_0x485e07){return _0x3ee4b3 in _0x485e07;},'bzFZg':function(_0xb089fc,_0x29ad5a){return _0xb089fc(_0x29ad5a);},'EKMFk':function(_0x301648,_0x1c2676){return _0x301648(_0x1c2676);},'PJjnp':function(_0x17c628,_0x2387a4){return _0x17c628===_0x2387a4;},'RlpMK':function(_0x3eae27){return _0x3eae27();},'RegJr':function(_0x3b20fb,_0x3b7e08){return _0x3b20fb===_0x3b7e08;},'HeAgz':function(_0x52c67b,_0x43f0cc){return _0x52c67b>_0x43f0cc;},'ujrxA':_0x106185(0x258),'kukzd':function(_0x184841,_0x5d0a95){return _0x184841(_0x5d0a95);},'nvuVi':function(_0x338651,_0x2fab39){return _0x338651(_0x2fab39);},'sNMES':_0x106185(0x217),'gRbcO':_0x106185(0x284),'eDoqm':function(_0x54f649,_0xc49a0e){return _0x54f649!==_0xc49a0e;},'WKvSV':function(_0x576428,_0xe53e70){return _0x576428+_0xe53e70;},'RldlF':_0x106185(0x1ee)},_0x1ea1c6=_0x15ebf7[_0x106185(0x2ad)],_0x31a5fd=_0x15ebf7['step'],_0x10a17c=_0x49002a[_0x106185(0x26b)](getTestRunIdentifier,_0x1ea1c6,_0x15ebf7[_0x106185(0x223)][_0x106185(0x214)]),_0x257b27=_0x4c9a7a[_0x106185(0x20a)]()[_0x106185(0x275)]('.')[0x1];let _0x4de5fb=_0x51d273[_0x106185(0x24c)]()[_0x106185(0x222)](_0x10a17c)[TestFrameworkConstants[_0x106185(0x279)]];!_0x4de5fb&&(_0x4de5fb={});!_0x49002a[_0x106185(0x27b)](_0x257b27,_0x4de5fb)&&(_0x4de5fb[_0x257b27]=[]);let _0x3611c4=_0x51d273['getAllData']()['get'](_0x10a17c)[TestFrameworkConstants[_0x106185(0x285)]];!_0x3611c4&&(_0x3611c4={});!_0x49002a[_0x106185(0x2a1)](_0x257b27,_0x3611c4)&&(_0x3611c4[_0x257b27]=[]);const _0xd43f57={[TestFrameworkConstants['KEY_HOOKS_STARTED']]:_0x4de5fb,[TestFrameworkConstants[_0x106185(0x285)]]:_0x3611c4},_0x4cc416={};_0x4cc416[_0x10a17c]=_0xd43f57;const _0xf3fc8f=_0x4cc416,_0x9d5ed=_0x49002a[_0x106185(0x267)](getPlaywrightTestFilePath,_0x1ea1c6),_0x525d55=_0x9d5ed+':'+_0x49002a[_0x106185(0x213)](getPlaywrightTestLocation,_0x1ea1c6),_0xb8e18a=TestInfo[_0x106185(0x299)](_0x10a17c)[TestFrameworkConstants[_0x106185(0x274)]]||{};if(_0x49002a[_0x106185(0x271)](_0x133337,HookState[_0x106185(0x2c2)])){const _0x4e328b={'key':_0x257b27,[TestFrameworkConstants[_0x106185(0x1f3)]]:_0x49002a[_0x106185(0x203)](uuidv4),[TestFrameworkConstants[_0x106185(0x2ca)]]:TestFrameworkConstants[_0x106185(0x200)],[TestFrameworkConstants[_0x106185(0x2af)]]:_0x31a5fd[_0x106185(0x28d)],[TestFrameworkConstants[_0x106185(0x261)]]:[],[TestFrameworkConstants['KEY_HOOK_NAME']]:_0x31a5fd[_0x106185(0x228)],[TestFrameworkConstants[_0x106185(0x212)]]:_0x9d5ed,[TestFrameworkConstants[_0x106185(0x29e)]]:_0x525d55,[TestFrameworkConstants[_0x106185(0x274)]]:_0xb8e18a};_0x4de5fb[_0x257b27][_0x106185(0x1fb)](_0x4e328b),_0xf3fc8f[_0x10a17c][TestFrameworkConstants[_0x106185(0x209)]]=_0x257b27,logger[_0x106185(0x2bf)]('Hook\x20Started\x20in\x20PRE\x20key\x20=\x20'+_0x257b27+_0x106185(0x1f6)+_0x4e328b+_0x106185(0x1f9)+_0x15ebf7);}else{if(_0x49002a[_0x106185(0x251)](_0x133337,HookState[_0x106185(0x2bb)])){const _0x5d2065=await _0x15ebf7[_0x106185(0x223)],_0x506a31=_0x4de5fb[_0x257b27]||[],_0x12c212=_0x15ebf7[_0x106185(0x26a)];logger['debug'](_0x106185(0x28c)+_0x506a31+'\x20and\x20args\x20=\x20'+_0x15ebf7);if(_0x49002a['HeAgz'](_0x506a31[_0x106185(0x2ce)],0x0)){const _0x20e179=_0x506a31[_0x106185(0x243)]();if(_0x12c212[_0x106185(0x254)]){const _0x3ebcdd=_0x49002a['pNJTL'](failureData,_0x12c212[_0x106185(0x254)],_0x49002a['ujrxA']);_0x20e179[TestFrameworkConstants[_0x106185(0x266)]]=_0x49002a[_0x106185(0x26e)](getFailureType,_0x12c212?.[_0x106185(0x254)][_0x106185(0x25a)]),_0x20e179[TestFrameworkConstants[_0x106185(0x239)]]=_0x49002a[_0x106185(0x23b)](removeAnsiColors,_0x12c212?.[_0x106185(0x254)][_0x106185(0x25a)]),_0x20e179[TestFrameworkConstants[_0x106185(0x2ca)]]=_0x49002a[_0x106185(0x253)],_0x20e179[TestFrameworkConstants['KEY_HOOK_FAILURE']]=_0x3ebcdd;}else _0x20e179[TestFrameworkConstants[_0x106185(0x2ca)]]=_0x49002a[_0x106185(0x2b6)];_0x49002a[_0x106185(0x23f)](_0x5d2065,TestFrameworkConstants[_0x106185(0x200)])&&(_0x20e179[TestFrameworkConstants['KEY_HOOK_RESULT']]=!_0x12c212[_0x106185(0x254)]?_0x49002a['gRbcO']:_0x49002a[_0x106185(0x253)]);const _0x4269ff=new Date(_0x12c212[_0x106185(0x28d)]),_0x4eed73=new Date(_0x49002a['WKvSV'](_0x4269ff[_0x106185(0x1ea)](),_0x12c212[_0x106185(0x29a)]));_0x20e179[TestFrameworkConstants[_0x106185(0x22e)]]=_0x4eed73[_0x106185(0x269)](),_0x20e179[TestFrameworkConstants[_0x106185(0x274)]]=_0xb8e18a;const _0x40c4be=_0x20e179[TestFrameworkConstants[_0x106185(0x1f3)]];await this['sendLogCreatedEvent'](_0x51d273,_0x4c9a7a,_0x40c4be,_0x49002a[_0x106185(0x21c)],_0x15ebf7),!_0x3611c4[_0x257b27]&&(_0x3611c4[_0x257b27]=[]),_0x3611c4[_0x257b27]['push'](_0x20e179),_0xf3fc8f[_0x10a17c][TestFrameworkConstants['KEY_HOOK_LAST_FINISHED']]=_0x257b27;}}}return _0xf3fc8f;}async[a72_0x573e33(0x2d1)](_0x355c27,_0x3a6250,_0x23450a,_0x529e82,_0x1a413b){const _0x2dea67=a72_0x573e33,_0x489b97={'TVjfc':function(_0x5556ea,_0xa8b173){return _0x5556ea===_0xa8b173;},'eOHKS':_0x2dea67(0x2ad),'ESGps':function(_0x4015b7,_0x546df9,_0x5553ce){return _0x4015b7(_0x546df9,_0x5553ce);},'ArSlz':function(_0x1382f6,_0x334031,_0x16135d){return _0x1382f6(_0x334031,_0x16135d);},'RqlbH':_0x2dea67(0x20f),'XKxzc':function(_0x201c45,_0x1139da,_0x422e1b,_0x727f48){return _0x201c45(_0x1139da,_0x422e1b,_0x727f48);},'TtsQU':function(_0xb4b747,_0x242674,_0x89bda8){return _0xb4b747(_0x242674,_0x89bda8);},'REAFK':function(_0x3c3bba,_0x466916,_0x42997c){return _0x3c3bba(_0x466916,_0x42997c);},'FLkuE':function(_0x24e47e,_0x60847b){return _0x24e47e/_0x60847b;},'MgPsu':function(_0xecf88,_0x52684c){return _0xecf88<_0x52684c;},'CGJtH':function(_0x2f3bd2,_0x59ccd8){return _0x2f3bd2*_0x59ccd8;},'WuwVZ':function(_0x4ac1a8,_0x15585d){return _0x4ac1a8+_0x15585d;},'NCJqW':function(_0x5b9d07,_0x39b9c3,_0x474fb3,_0x11d34d,_0x2b9dd6){return _0x5b9d07(_0x39b9c3,_0x474fb3,_0x11d34d,_0x2b9dd6);},'NrdhS':function(_0x3cf022,_0x46f880){return _0x3cf022+_0x46f880;},'YaPNh':_0x2dea67(0x1ee),'EJcSW':function(_0x3b04d1,_0x373a23,_0x2f6b34,_0xd1fcba,_0x3b7f66){return _0x3b04d1(_0x373a23,_0x2f6b34,_0xd1fcba,_0x3b7f66);}};try{if(_0x489b97[_0x2dea67(0x20e)](_0x529e82,_0x489b97['eOHKS'])){const _0x4eded6=await _0x1a413b[_0x2dea67(0x223)],_0x270463=_0x489b97[_0x2dea67(0x232)](getTestRunIdentifier,_0x1a413b[_0x2dea67(0x2ad)],_0x1a413b[_0x2dea67(0x223)][_0x2dea67(0x214)]),_0x32e217=_0x1a413b[_0x2dea67(0x2ad)];logger['debug']('sendLogCreatedEvent:\x20testId='+_0x270463+_0x2dea67(0x238)+util[_0x2dea67(0x1f1)](_0x4eded6));const _0x34ac81=_0x355c27[_0x2dea67(0x24c)]()['get'](_0x270463)[TestFrameworkConstants[_0x2dea67(0x288)]];await _0x489b97[_0x2dea67(0x2b1)](sendTraceZip,_0x4eded6,_0x34ac81);const _0x2eb168=TestInfo[_0x2dea67(0x299)](_0x270463)[_0x489b97[_0x2dea67(0x20d)]],_0x554dcd={};if(_0x2eb168){!_0x4eded6[_0x2dea67(0x20f)]&&(_0x4eded6['attachments']=[]);_0x554dcd[_0x2dea67(0x20f)]=_0x4eded6[_0x2dea67(0x20f)][_0x2dea67(0x28f)](_0x2eb168||[]);const _0x5a54f=TestInfo[_0x2dea67(0x299)](_0x270463);delete _0x5a54f[_0x489b97[_0x2dea67(0x20d)]],TestInfo[_0x2dea67(0x26f)](_0x270463,_0x5a54f);}const {steps:_0x2bf65c,logs:_0x3ec28a}=_0x489b97['XKxzc'](getStepsAndLogs,_0x4eded6[_0x2dea67(0x2ac)],_0x355c27[_0x2dea67(0x24c)]()[_0x2dea67(0x222)](_0x270463)[TestFrameworkConstants[_0x2dea67(0x288)]],_0x489b97['eOHKS']),_0x236d11=_0x489b97['ESGps'](getScreenshots,_0x554dcd,_0x355c27[_0x2dea67(0x24c)]()[_0x2dea67(0x222)](_0x270463)[TestFrameworkConstants[_0x2dea67(0x288)]]),_0x32959f=_0x489b97[_0x2dea67(0x29c)](getVideos,_0x4eded6,_0x355c27[_0x2dea67(0x24c)]()['get'](_0x270463)[TestFrameworkConstants[_0x2dea67(0x288)]]),{_:_0x49225a,logs:_0x4782b9}=_0x489b97[_0x2dea67(0x2b1)](getFailureData,_0x4eded6[_0x2dea67(0x259)],{'test_run_uuid':_0x355c27['getAllData']()[_0x2dea67(0x222)](_0x270463)[TestFrameworkConstants[_0x2dea67(0x288)]]}),_0x5d7220=TestInfo[_0x2dea67(0x299)](_0x270463)[TestFrameworkConstants[_0x2dea67(0x2b7)]]||{},_0x5b91f5=_0x489b97[_0x2dea67(0x290)](getMediaArtifactsLogs,_0x5d7220,_0x355c27[_0x2dea67(0x24c)]()[_0x2dea67(0x222)](_0x270463)[TestFrameworkConstants[_0x2dea67(0x288)]]),_0x2de0f9=_0x355c27[_0x2dea67(0x24c)]()[_0x2dea67(0x222)](_0x270463),{[TestFrameworkConstants[_0x2dea67(0x2b2)]]:_0x5d65d3='',[TestFrameworkConstants[_0x2dea67(0x2c4)]]:_0x451f96=''}=_0x2de0f9,_0x57aaba=(_0x3ec28a||[])[_0x2dea67(0x28f)](_0x236d11||[])[_0x2dea67(0x28f)](_0x4782b9||[])[_0x2dea67(0x28f)](_0x32959f||[])['concat'](_0x5b91f5||[]),_0x58ee27=0x28,_0x477e58=Math[_0x2dea67(0x247)](_0x489b97[_0x2dea67(0x2c3)](_0x57aaba[_0x2dea67(0x2ce)],_0x58ee27));for(let _0x172e36=0x0;_0x489b97[_0x2dea67(0x219)](_0x172e36,_0x477e58);_0x172e36++){const _0x1ca72b=_0x489b97[_0x2dea67(0x211)](_0x172e36,_0x58ee27),_0x2ff8a5=_0x489b97['WuwVZ'](_0x1ca72b,_0x58ee27),_0x5e7c85=_0x57aaba[_0x2dea67(0x216)](_0x1ca72b,_0x2ff8a5),_0x280594={'platformIndex':'0','logs':_0x5e7c85,'testFrameworkName':_0x5d65d3,'testFrameworkVersion':_0x451f96,'testFrameworkState':_0x3a6250['toString']()[_0x2dea67(0x275)]('.')[0x1]};_0x489b97[_0x2dea67(0x2cc)](updatePayloadForTraceLogs,_0x280594,_0x1a413b,_0x270463,_0x355c27),logger[_0x2dea67(0x2bf)]('sendLogCreatedEvent\x20for\x20testId:\x20'+_0x270463+_0x2dea67(0x263)+_0x489b97['NrdhS'](_0x172e36,0x1)+'/'+_0x477e58+_0x2dea67(0x2c9)+util[_0x2dea67(0x1f1)](_0x280594));const _0x528172=await GrpcClient[_0x2dea67(0x2a6)]()[_0x2dea67(0x2b0)](_0x280594);logger[_0x2dea67(0x2bf)]('sendLogCreatedEvent\x20for\x20testId:\x20'+_0x270463+_0x2dea67(0x263)+_0x489b97[_0x2dea67(0x21d)](_0x172e36,0x1)+'/'+_0x477e58+_0x2dea67(0x270)+util[_0x2dea67(0x1f1)](_0x528172));}}else{const {steps:_0x1192cb,logs:_0x1fc54c}=_0x489b97[_0x2dea67(0x28e)](getStepsAndLogs,_0x1a413b[_0x2dea67(0x26a)][_0x2dea67(0x2ac)],_0x23450a,_0x489b97[_0x2dea67(0x22b)]),_0x54489f=_0x489b97[_0x2dea67(0x29c)](getTestRunIdentifier,_0x1a413b[_0x2dea67(0x2ad)],_0x1a413b['result']['retry']);logger[_0x2dea67(0x2bf)]('sendLogCreatedEvent:\x20testId='+_0x54489f);const _0x2e10e1=_0x355c27[_0x2dea67(0x24c)]()['get'](_0x54489f),{[TestFrameworkConstants[_0x2dea67(0x2b2)]]:_0x61ff5e='',[TestFrameworkConstants[_0x2dea67(0x2c4)]]:_0x5c56f1=''}=_0x2e10e1,_0x3052f7={'platformIndex':'0','logs':_0x1fc54c,'testFrameworkName':_0x61ff5e,'testFrameworkVersion':_0x5c56f1,'testFrameworkState':_0x3a6250[_0x2dea67(0x20a)]()[_0x2dea67(0x275)]('.')[0x1]};_0x489b97['EJcSW'](updatePayloadForTraceLogs,_0x3052f7,_0x1a413b,_0x54489f,_0x355c27),logger['debug'](_0x2dea67(0x2b3)+_0x54489f+_0x2dea67(0x2c9)+util[_0x2dea67(0x1f1)](_0x3052f7));const _0x1f9aff=await GrpcClient[_0x2dea67(0x2a6)]()[_0x2dea67(0x2b0)](_0x3052f7);}}catch(_0x316c68){logger[_0x2dea67(0x254)]('Error\x20in\x20sendLogCreatedEvent:\x20'+util[_0x2dea67(0x296)](_0x316c68));}}[a72_0x573e33(0x24e)](_0x1f667a){const _0x1c9858=a72_0x573e33,_0x34b70e={'GLPby':function(_0x474b8a,_0x1446b5,_0x25f664){return _0x474b8a(_0x1446b5,_0x25f664);},'qXfeZ':_0x1c9858(0x27f)};try{const _0x1d3c87=_0x1f667a['test']['id'],_0x1b18f4=_0x34b70e[_0x1c9858(0x202)](getTestRunIdentifier,_0x1f667a[_0x1c9858(0x2ad)],_0x1f667a[_0x1c9858(0x223)][_0x1c9858(0x214)]),_0x1de3dc=_0x1f667a[_0x1c9858(0x2c0)],_0x4f394a=_0x1de3dc[_0x1c9858(0x21f)](),_0x1d7d7e=_0x1de3dc[_0x1c9858(0x24c)]()[_0x1c9858(0x222)](_0x1b18f4);logger['debug'](_0x1c9858(0x25f)+_0x1d3c87);const {[TestFrameworkConstants[_0x1c9858(0x2b2)]]:_0x1ccff6='',[TestFrameworkConstants[_0x1c9858(0x2c4)]]:_0xb183af='',[TestFrameworkConstants[_0x1c9858(0x27e)]]:_0x3b2ff5='',[TestFrameworkConstants[_0x1c9858(0x25b)]]:_0x6580b6=''}=_0x1d7d7e,_0x28447f=_0x1de3dc[_0x1c9858(0x23a)]()[_0x1c9858(0x20a)]()['split']('.')[0x1],_0x4b13ac=_0x1de3dc[_0x1c9858(0x282)]()[_0x1c9858(0x20a)]()[_0x1c9858(0x275)]('.')[0x1],_0x3757dc=global?.['__workerDetails']?.[_0x1c9858(0x2d7)]?.[_0x1c9858(0x2ae)],_0x190e34=_0x1de3dc[_0x1c9858(0x277)](),_0x38cb12=Buffer[_0x1c9858(0x206)](JSON[_0x1c9858(0x2b5)](_0x1d7d7e))[_0x1c9858(0x20a)](_0x34b70e['qXfeZ']),_0x27634c={'hash':_0x4f394a[_0x1c9858(0x234)](),'threadId':_0x4f394a[_0x1c9858(0x1f8)]()['toString'](),'processId':_0x4f394a[_0x1c9858(0x2da)]()[_0x1c9858(0x20a)]()},_0x423533={};_0x423533[_0x1c9858(0x2a9)]=_0x3757dc,_0x423533[_0x1c9858(0x264)]=_0x1ccff6,_0x423533[_0x1c9858(0x241)]=_0xb183af,_0x423533[_0x1c9858(0x229)]=_0x28447f,_0x423533[_0x1c9858(0x27a)]=_0x4b13ac,_0x423533[_0x1c9858(0x204)]=_0x3b2ff5,_0x423533[_0x1c9858(0x2d2)]=_0x6580b6,_0x423533['uuid']=_0x190e34,_0x423533[_0x1c9858(0x2d0)]=_0x38cb12,_0x423533[_0x1c9858(0x210)]=_0x27634c;const _0x1c461c=_0x423533;return logger[_0x1c9858(0x2bf)](_0x1c9858(0x250)+_0x1d3c87+_0x1c9858(0x25c)+_0x28447f+_0x1c9858(0x2ba)+_0x4b13ac),_0x1c461c;}catch(_0x566868){return logger['error']('Error\x20in\x20createTestFrameworkEventPayload:\x20'+util['format'](_0x566868)),{};}}}module['exports']=PlaywrightTestFramework;
1
+ function a72_0x1e7e(){const _0x130e85=['testUId','err','iegtO','WimVq','YUdTh','getAllData','\x20instance=','sendLogCreatedEvent','CTNtA','Rfoxu','setTestDetails','JkvxO','ojjnT','5310615oBnSnu','KEY_TEST_ENDED_AT','trackHookEvent','some','lFdUI','qkxhn','Error\x20processing\x20trace\x20file\x20','KEY_HOOK_FAILURE_TYPE','jDIlJ','field_type','parsePlaywrightTestResult:\x20testId=','KEY_TEST_FAILURE','GIxdt','KEY_HOOKS_FINISHED','wlRpO','KEY_HOOK_ID','endedAt','KEY_TEST_SCOPES','trackPlaywrightInstance:\x20created\x20instance\x20for\x20target=','retry','KEY_AUTOMATE_SESSION_NAME','\x20testHookState=','\x20&\x20hook\x20=\x20','parsePlaywrightTestResult','dpXvk','HRHqk','KEY_TEST_NAME','uuid','error','createContext','expectedStatus','\x20target=','\x20payload=','../../utils/constants','base64','Azwse','getTestFrameworks','logCreatedEvent','parallelIndex','getTestUUID','mlKOF','getTrackedInstance','format','OKKnT','EXzLY','resolveInstance','status','basename','KEY_TEST_FRAMEWORK_NAME','GNXNm','errors','QsurQ','timedOut','KEY_CUSTOM_TAGS','getTestFrameworksVersions','trackEvent:\x20loaded\x20testData\x20for\x20testId:\x20','workerInfo','getInstance','OQKEV','../state/testFrameworkState.js','EdfjY','trackPlaywrightInstance','addMultipleEntries','\x20testState:\x20','\x20\x20and\x20args\x20=\x20','ebwwJ','getThreadId','forEach','Error\x20processing\x20direct\x20trace\x20file\x20','chjnz','487256EQkhcm','map','../../../helpers/test-observability/utils','KEY_HOOK_LOGS','step','result','getTraceFilePaths','KEY_TEST_RESULT','1296586gpwcWb','KEY_LOGS','dBOaG','createTestFrameworkEventPayload\x20testId:\x20','rktCr','zfCLG','attachments','2107924gLQAqb','inspect','test','JUKhB','sendLogCreatedEvent\x20for\x20testId:\x20','hookState','KEY_EVENT_STARTED_AT','KEY_TEST_RERUN_NAME','PRE','toISOString','XSknE','getCurrentHookState','getTestDetails','push','TEST_ATTACHMENT','DEFAULT_TEST_RESULT','multi_dropdown','WtJSn','KEY_TEST_UUID','\x20instanceId=',',\x20testFrameworkState=','getId','6vGMwHK','length','Dggfb','../instances/trackedInstance.js','yRSGa','description','annotations','getRef','MTZJD','filter','\x20batch\x20','Hook\x20List\x20in\x20Post\x20','Wmjnw','statSync','13964208HjLHPw','HUkIk','KEY_TEST_FRAMEWORK_VERSION','NONE','getCurrentInstanceName','get','aCzHA','esjqO','size','../../../../src/helpers/helper','KEY_TEST_STARTED_AT','eNLLY','FQFDI','KEY_TEST_RESULT_AT','hook','filePath','./testFramework','sBPlz','trackPlaywrightInstance:\x20saved\x20instance\x20contextId=','sendLogCreatedEvent:\x20testId=','Hook\x20Started\x20in\x20PRE\x20key\x20=\x20','createTestFrameworkEventPayload:\x20complete\x20for\x20testId:\x20','SLweQ','KEY_TEST_CODE','\x20response=','getProcessId','KEY_TEST_FILE_PATH','Expected\x20to\x20fail,\x20but\x20passed.','eventJson','toString','__workerDetails','dhmXz','nIOZB','wfQGu','RFmcP','../../../helpers/classLogger.js','getContext','title','\x20result=','kufMK','runHooks','KEY_HOOK_RESULT','trackEvent\x20loading\x20testResults\x20for\x20testId:\x20','POST','qIpWG','debug','message','../cliUtils.js','platformIndex','nBUSu','../instances/testFrameworkInstance.js','split','PRUVl','GzOLd','KEY_HOOK_FAILURE_REASON','failed','startTime','PlaywrightTestFramework','duration','./constants/testFrameworkConstants.js','xAStg','KEY_EVENT_ENDED_AT','info','TEST','ceil','concat','dAJOj','5499739TfMguo','1853349tDxVLu','WxorO','XboBN','KEY_HOOK_NAME','stack','createTestFrameworkEventPayload','gloua','PBMud','getTime','KEY_TEST_FAILURE_TYPE','steps','values','OnBtR','slice','setTrackedInstance','passed','TgXYL','Uxnfx','wgNYp','jAdEJ','parsePlaywrightTest','KEY_HOOK_LAST_STARTED',',\x20state=','path','XKFqC','exports','startedAt','KEY_TEST_RETRY_OF','KEY_TEST_FAILURE_REASON','DEFAULT_HOOK_RESULT','trackEvent','cLxuz','NcEiz','trim','KEY_HOOKS_STARTED','PvEwz','KEY_HOOK_LAST_FINISHED','instance','QjoYo','../../playwright/reporter/pwUtils'];a72_0x1e7e=function(){return _0x130e85;};return a72_0x1e7e();}const a72_0x44ec21=a72_0x1d53;(function(_0x42bef6,_0x31eb41){const _0x5bbe80=a72_0x1d53,_0x5ac495=_0x42bef6();while(!![]){try{const _0x57ee1c=parseInt(_0x5bbe80(0x195))/0x1+parseInt(_0x5bbe80(0x18d))/0x2+parseInt(_0x5bbe80(0x204))/0x3+parseInt(_0x5bbe80(0x19c))/0x4+-parseInt(_0x5bbe80(0x239))/0x5+parseInt(_0x5bbe80(0x1b2))/0x6*(parseInt(_0x5bbe80(0x203))/0x7)+-parseInt(_0x5bbe80(0x1c0))/0x8;if(_0x57ee1c===_0x31eb41)break;else _0x5ac495['push'](_0x5ac495['shift']());}catch(_0x5dd599){_0x5ac495['push'](_0x5ac495['shift']());}}}(a72_0x1e7e,0xa1dde));function a72_0x1d53(_0x17e2d0,_0x586a6a){const _0x1e7eb4=a72_0x1e7e();return a72_0x1d53=function(_0x1d5375,_0x5e00cf){_0x1d5375=_0x1d5375-0x159;let _0x51b0e6=_0x1e7eb4[_0x1d5375];return _0x51b0e6;},a72_0x1d53(_0x17e2d0,_0x586a6a);}const TestFramework=require(a72_0x44ec21(0x1d0)),TestFrameworkState=require(a72_0x44ec21(0x182)),HookState=require('../state/hookState.js'),{createClassLogger}=require(a72_0x44ec21(0x1e3)),TestFrameworkInstance=require(a72_0x44ec21(0x1f2)),CLIUtils=require(a72_0x44ec21(0x1ef)),TrackedInstance=require(a72_0x44ec21(0x1b5)),TestFrameworkConstants=require(a72_0x44ec21(0x1fb)),logger=createClassLogger(a72_0x44ec21(0x1f9)),{v4:uuidv4}=require(a72_0x44ec21(0x162)),util=require('util'),{getPlaywrightSessionName,getPlaywrightTestFilePath,getPlaywrightTestId,getPlaywrightTestTitle,getPlaywrightTestLocation,getPlaywrightTestTags,getPlaywrightTestCode,getPlaywrightTestScope,getPlaywrightTestScopes,getStepsAndLogs,getScreenshots,getVideos,getPlaywrightCustomRerunParam,getMediaArtifactsLogs,getManualUploadLogs,updatePayloadForTraceLogs}=require('../../../helpers/helper.js'),TestInfo=require('../TestInfo.js'),GrpcClient=require('../grpcClient'),{removeAnsiColors,getFailureType,failureData}=require(a72_0x44ec21(0x18f)),{getFailureData,getTestTags,getTestRunIdentifier}=require(a72_0x44ec21(0x22b)),{findNestedKey,sendTraceZip,validateFilePath}=require(a72_0x44ec21(0x22b)),path=require(a72_0x44ec21(0x21b)),fs=require('fs'),helper=require(a72_0x44ec21(0x1c9)),{PLAYWRIGHT_TRACE_LOGS}=require(a72_0x44ec21(0x168));class PlaywrightTestFramework extends TestFramework{constructor(_0x3891a7,_0x6c7e9a,_0x25910c){super(_0x3891a7,_0x6c7e9a,_0x25910c);}async[a72_0x44ec21(0x222)](_0xc9b41b,_0x25b157,_0x4bed75={}){const _0x3af046=a72_0x44ec21,_0x5ca9df={'OnBtR':function(_0x31afcc,_0x2a3b00){return _0x31afcc===_0x2a3b00;},'XSknE':function(_0x397527,_0x11cc62){return _0x397527===_0x11cc62;},'Rfoxu':function(_0x3ccdde,_0x321c44,_0x5de7da){return _0x3ccdde(_0x321c44,_0x5de7da);},'EdfjY':function(_0x554bbc,_0x251ecb){return _0x554bbc===_0x251ecb;},'Uxnfx':_0x3af046(0x19e),'CTNtA':'trackEvent:\x20Exception\x20in\x20event\x20tracking,\x20testFrameworkState=%s\x20hookState=%s\x20argsLength=%s,\x20exception=%s'};super[_0x3af046(0x222)](_0xc9b41b,_0x25b157,_0x4bed75);if(_0x5ca9df['OnBtR'](_0xc9b41b,TestFrameworkState['TEST_SCREENSHOT'])){const _0x4a41c5=TestInfo['getTestIdentifierFromTestInfo'](_0x4bed75[_0x3af046(0x19e)],_0x4bed75['test'][_0x3af046(0x15a)]);TestInfo[_0x3af046(0x236)](_0x4a41c5,_0x4bed75['result'],!![]);}const _0x277a49=this[_0x3af046(0x174)](_0xc9b41b,_0x25b157,_0x4bed75);if(!_0x277a49)return;logger[_0x3af046(0x1ed)]('trackEvent:\x20found\x20instance,\x20testFrameworkState='+_0xc9b41b+'\x20hookState='+_0x25b157+_0x3af046(0x1af)+_0x277a49[_0x3af046(0x1b9)]());try{if(_0x5ca9df[_0x3af046(0x1a6)](_0x25b157,HookState[_0x3af046(0x1a4)])&&_0x5ca9df[_0x3af046(0x210)](_0xc9b41b,TestFrameworkState['TEST'])){const _0x5477d1=_0x4bed75[_0x3af046(0x19e)];logger[_0x3af046(0x1ed)]('trackEvent\x20loading\x20testData\x20for\x20testId:\x20'+_0x5477d1['id']+'}');const _0x39995d=TestInfo[_0x3af046(0x16e)](_0x5ca9df[_0x3af046(0x235)](getTestRunIdentifier,_0x5477d1,_0x4bed75[_0x3af046(0x192)][_0x3af046(0x15a)]));_0x277a49['addMultipleEntries'](this['parsePlaywrightTest'](_0x39995d,_0x5477d1,_0x4bed75[_0x3af046(0x192)])),logger['debug'](_0x3af046(0x17e)+_0x5477d1['id']+_0x3af046(0x1b0)+_0xc9b41b+_0x3af046(0x15c)+_0x25b157+_0x3af046(0x232)+_0x277a49[_0x3af046(0x1b9)]());}if(_0x5ca9df['XSknE'](_0x25b157,HookState[_0x3af046(0x1eb)])&&_0x5ca9df[_0x3af046(0x183)](_0xc9b41b,TestFrameworkState[_0x3af046(0x1ff)])){const _0x5d2b46=_0x4bed75['test'],_0x4838d5=_0x4bed75[_0x3af046(0x192)];logger[_0x3af046(0x1ed)](_0x3af046(0x1ea)+_0x5d2b46['id']),_0x277a49[_0x3af046(0x185)](this[_0x3af046(0x15e)](_0x5d2b46['id'],_0x4838d5,_0x5d2b46)),await this[_0x3af046(0x233)](_0x277a49,_0xc9b41b,_0x25b157,_0x5ca9df[_0x3af046(0x215)],_0x4bed75);}if(CLIUtils['matchHookRegex'](_0xc9b41b[_0x3af046(0x1dd)]()[_0x3af046(0x1f3)]('.')[0x1])){const _0x50eb7d=await this[_0x3af046(0x23b)](_0x277a49,_0xc9b41b,_0x25b157,_0x4bed75);_0x277a49[_0x3af046(0x185)](_0x50eb7d);}}catch(_0x5c572b){logger['error'](util[_0x3af046(0x171)](_0x5ca9df[_0x3af046(0x234)],_0xc9b41b,_0x25b157,_0x4bed75[_0x3af046(0x1b3)],_0x5c572b));}_0x4bed75[_0x3af046(0x229)]=_0x277a49,await this[_0x3af046(0x1e8)](_0x277a49,_0xc9b41b,_0x25b157,_0x4bed75);}[a72_0x44ec21(0x174)](_0x50b3b5,_0x271aa4,_0x30fd35={}){const _0x3e469d=a72_0x44ec21,_0x326ef4={};_0x326ef4['eaqLM']=function(_0x5203e0,_0x548d01){return _0x5203e0===_0x548d01;},_0x326ef4[_0x3e469d(0x20a)]=function(_0x1af6c1,_0x358b8a){return _0x1af6c1===_0x358b8a;};const _0x5876af=_0x326ef4;let _0x13f16e=null;return(_0x5876af['eaqLM'](_0x50b3b5,TestFrameworkState['INIT_TEST'])||_0x5876af[_0x3e469d(0x20a)](_0x50b3b5,TestFrameworkState[_0x3e469d(0x1c3)]))&&this[_0x3e469d(0x184)](_0x50b3b5,_0x30fd35),_0x13f16e=TestFramework[_0x3e469d(0x170)](),_0x13f16e;}[a72_0x44ec21(0x184)](_0x37aaca,_0x15cc2f){const _0xf61d09=a72_0x44ec21,_0x1e9ef6=CLIUtils[_0xf61d09(0x1c4)](),_0x392775=TrackedInstance[_0xf61d09(0x164)](_0x1e9ef6);let _0x884a9=null;logger[_0xf61d09(0x1fe)](_0xf61d09(0x159)+_0x1e9ef6+_0xf61d09(0x21a)+_0x37aaca),_0x884a9=new TestFrameworkInstance(_0x392775,this[_0xf61d09(0x16b)](),this['getTestFrameworksVersions'](),_0x37aaca,HookState[_0xf61d09(0x1c3)]),TestFramework[_0xf61d09(0x212)](_0x392775,_0x884a9),logger[_0xf61d09(0x1fe)](_0xf61d09(0x1d2)+_0x392775[_0xf61d09(0x1b1)]()+_0xf61d09(0x166)+_0x1e9ef6);}[a72_0x44ec21(0x218)](_0x21d189,_0x5113c5,_0x13f343){const _0x2e2093=a72_0x44ec21,_0x41112b={'WimVq':function(_0x165dce,_0x3f2d67){return _0x165dce(_0x3f2d67);},'sBPlz':function(_0x458789,_0x3c9997){return _0x458789(_0x3c9997);},'qIpWG':function(_0x488140,_0x2bfd6c){return _0x488140(_0x2bfd6c);},'OQKEV':function(_0x52e641,_0x27f735){return _0x52e641(_0x27f735);},'XKFqC':function(_0x57956f,_0x56c0d4){return _0x57956f(_0x56c0d4);},'kufMK':function(_0x213224,_0x21da1d){return _0x213224(_0x21da1d);},'NcEiz':function(_0x268c44,_0x72cc8a){return _0x268c44(_0x72cc8a);},'WtJSn':function(_0x55d8fc,_0x56deed,_0x10d8e8){return _0x55d8fc(_0x56deed,_0x10d8e8);},'HRHqk':function(_0x2ce34d,_0x6cc327){return _0x2ce34d(_0x6cc327);}},_0x5349eb=_0x41112b[_0x2e2093(0x22f)](getPlaywrightTestId,_0x5113c5),_0x100857=_0x41112b[_0x2e2093(0x1d1)](getPlaywrightTestTitle,_0x5113c5),_0x35ca9f=_0x41112b['WimVq'](getTestTags,_0x5113c5),_0x1695f1=_0x41112b[_0x2e2093(0x1ec)](getPlaywrightTestCode,_0x5113c5),_0x5bb39e=_0x41112b[_0x2e2093(0x1d1)](getPlaywrightTestFilePath,_0x5113c5),_0x12a8dd=_0x5bb39e+':'+_0x41112b[_0x2e2093(0x181)](getPlaywrightTestLocation,_0x5113c5),_0x1e7d5f=_0x41112b[_0x2e2093(0x21c)](getPlaywrightTestScope,_0x5113c5),_0x264777=_0x41112b[_0x2e2093(0x1e7)](getPlaywrightTestScopes,_0x5113c5),_0x34edd3=_0x41112b[_0x2e2093(0x224)](getPlaywrightSessionName,_0x5113c5),_0x26b614=this[_0x2e2093(0x16b)]()[0x0],_0xd7357a=_0x41112b[_0x2e2093(0x1ad)](getTestRunIdentifier,_0x5113c5,_0x13f343['retry']),_0x1b53be={[TestFrameworkConstants[_0x2e2093(0x177)]]:_0x26b614,[TestFrameworkConstants[_0x2e2093(0x1c2)]]:this[_0x2e2093(0x17d)]()[_0x26b614],[TestFrameworkConstants['KEY_TEST_LOGS']]:[],[TestFrameworkConstants['KEY_HOOKS_FINISHED']]:{},[TestFrameworkConstants[_0x2e2093(0x226)]]:{},[TestFrameworkConstants[_0x2e2093(0x1ae)]]:_0x21d189,[TestFrameworkConstants[_0x2e2093(0x194)]]:TestFrameworkConstants[_0x2e2093(0x1ab)],[TestFrameworkConstants[_0x2e2093(0x15b)]]:_0x34edd3,[TestFrameworkConstants['KEY_TEST_FILE_PATH']]:_0x5bb39e,[TestFrameworkConstants['KEY_TEST_ID']]:_0x5349eb,[TestFrameworkConstants[_0x2e2093(0x161)]]:_0x100857,[TestFrameworkConstants['KEY_TEST_LOCATION']]:_0x12a8dd,[TestFrameworkConstants[_0x2e2093(0x1d7)]]:_0x1695f1,[TestFrameworkConstants['KEY_TEST_TAGS']]:_0x35ca9f,[TestFrameworkConstants[_0x2e2093(0x1ca)]]:_0x5113c5['results'][0x0][_0x2e2093(0x1f8)],[TestFrameworkConstants['KEY_TEST_SCOPE']]:_0x1e7d5f,[TestFrameworkConstants[_0x2e2093(0x24a)]]:_0x264777,[TestFrameworkConstants[_0x2e2093(0x1a3)]]:_0x41112b[_0x2e2093(0x160)](getPlaywrightCustomRerunParam,_0x5113c5)};TestInfo[_0x2e2093(0x236)](_0xd7357a,_0x1b53be);const _0x162c9e={};return _0x162c9e[_0xd7357a]=_0x1b53be,_0x162c9e;}['parsePlaywrightTestResult'](_0x16b2ff,_0x4b7eda,_0x288c86){const _0x21d6d2=a72_0x44ec21,_0x2b58d9={'eNLLY':function(_0x92cdd4,_0x1a963e){return _0x92cdd4(_0x1a963e);},'PvEwz':_0x21d6d2(0x1aa),'MTZJD':function(_0x142175,_0x46b86c){return _0x142175===_0x46b86c;},'aCzHA':function(_0x16174c,_0x560ec0){return _0x16174c===_0x560ec0;},'zIwse':function(_0x501332,_0x206668){return _0x501332===_0x206668;},'WxorO':'No\x20reason\x20provided','GIxdt':_0x21d6d2(0x1ac),'TgXYL':function(_0x2204c0,_0x29f369,_0x235309){return _0x2204c0(_0x29f369,_0x235309);},'WmBDF':function(_0x49eeb5,_0x49f6ef){return _0x49eeb5+_0x49f6ef;},'dhmXz':function(_0x378e7f,_0x7d2878){return _0x378e7f===_0x7d2878;},'Jdvlp':function(_0x28c6ff,_0x5bdec7){return _0x28c6ff===_0x5bdec7;},'HUkIk':'skipped','ebwwJ':_0x21d6d2(0x213),'UOHoN':function(_0x19a0dc,_0x55af39){return _0x19a0dc===_0x55af39;},'iegtO':_0x21d6d2(0x1f7),'cLxuz':function(_0x5524a8,_0x38861){return _0x5524a8===_0x38861;},'lFdUI':_0x21d6d2(0x17b),'GNXNm':_0x21d6d2(0x1db),'jDIlJ':function(_0x10c3e0,_0x2753db,_0x3db1f8){return _0x10c3e0(_0x2753db,_0x3db1f8);},'XSSPf':function(_0x5de745,_0xfc26a3){return _0x5de745||_0xfc26a3;},'dpXvk':function(_0x3cf1a6,_0x38699e){return _0x3cf1a6>_0x38699e;},'yRSGa':function(_0x5bc293,_0x4c8d4b,_0x50747e){return _0x5bc293(_0x4c8d4b,_0x50747e);},'nIOZB':function(_0x1ca068,_0x225f83){return _0x1ca068-_0x225f83;},'zfCLG':function(_0x3c4c46,_0x3c992b,_0x26aa29){return _0x3c4c46(_0x3c992b,_0x26aa29);},'OKKnT':_0x21d6d2(0x21b),'JkvxO':function(_0x15b340,_0x54960e){return _0x15b340(_0x54960e);},'Dggfb':function(_0x5753c2,_0x5eaffa,_0x327df3){return _0x5753c2(_0x5eaffa,_0x327df3);},'Azwse':function(_0x447fc3,_0x25ed8b){return _0x447fc3>_0x25ed8b;}};logger[_0x21d6d2(0x1ed)](_0x21d6d2(0x243)+_0x16b2ff);const _0x43e466=_0x2b58d9[_0x21d6d2(0x214)](getTestRunIdentifier,_0x288c86,_0x4b7eda[_0x21d6d2(0x15a)]),_0x282043=new Date(_0x4b7eda['startTime']),_0x431a6b=_0x4b7eda[_0x21d6d2(0x1fa)],_0x1c35b6=new Date(_0x2b58d9['WmBDF'](_0x282043[_0x21d6d2(0x20c)](),_0x431a6b)),_0xe83a2b=_0x4b7eda[_0x21d6d2(0x175)],_0x750c28=TestInfo['getTestDetails'](_0x43e466)[TestFrameworkConstants['KEY_CUSTOM_TAGS']]||{};let _0x199eff=_0xe83a2b;if(_0x2b58d9[_0x21d6d2(0x1df)](_0x4b7eda['status'],_0x288c86[_0x21d6d2(0x165)]))_0x199eff=_0x2b58d9['Jdvlp'](_0x4b7eda[_0x21d6d2(0x175)],_0x2b58d9[_0x21d6d2(0x1c1)])?_0x2b58d9[_0x21d6d2(0x1c1)]:_0x2b58d9[_0x21d6d2(0x188)];else{(_0x2b58d9[_0x21d6d2(0x1c6)](_0x199eff,_0x2b58d9[_0x21d6d2(0x188)])||_0x2b58d9['UOHoN'](_0x199eff,_0x2b58d9[_0x21d6d2(0x22e)])||_0x2b58d9[_0x21d6d2(0x223)](_0x199eff,_0x2b58d9[_0x21d6d2(0x23d)]))&&(_0x199eff=_0x2b58d9['iegtO']);if(_0x2b58d9[_0x21d6d2(0x223)](_0x4b7eda[_0x21d6d2(0x175)],_0x2b58d9['ebwwJ'])&&_0x2b58d9['cLxuz'](_0x288c86[_0x21d6d2(0x165)],_0x2b58d9['iegtO'])){const _0x225d8f={};_0x225d8f[_0x21d6d2(0x1ee)]=_0x2b58d9[_0x21d6d2(0x178)],_0x225d8f[_0x21d6d2(0x208)]=_0x2b58d9['GNXNm'],_0x4b7eda['error']=_0x225d8f,_0x4b7eda['errors']=[_0x4b7eda[_0x21d6d2(0x163)]];}}const {failureData:_0x4eced0,logs:_0x3eb2b4}=_0x2b58d9[_0x21d6d2(0x241)](getFailureData,_0x4b7eda?.[_0x21d6d2(0x179)],{}),_0x226784={[TestFrameworkConstants[_0x21d6d2(0x244)]]:_0x2b58d9['XSSPf'](_0x4eced0,null),[TestFrameworkConstants[_0x21d6d2(0x20d)]]:_0x4b7eda?.[_0x21d6d2(0x163)]&&_0x2b58d9[_0x21d6d2(0x1cb)](getFailureType,_0x4b7eda[_0x21d6d2(0x163)][_0x21d6d2(0x1ee)]),[TestFrameworkConstants[_0x21d6d2(0x220)]]:_0x4b7eda?.[_0x21d6d2(0x163)]&&_0x2b58d9[_0x21d6d2(0x1cb)](removeAnsiColors,_0x4b7eda['error']['message']),[TestFrameworkConstants[_0x21d6d2(0x196)]]:[],[TestFrameworkConstants[_0x21d6d2(0x194)]]:_0x199eff,[TestFrameworkConstants[_0x21d6d2(0x23a)]]:_0x1c35b6[_0x21d6d2(0x1a5)](),[TestFrameworkConstants[_0x21d6d2(0x1cd)]]:new Date()[_0x21d6d2(0x1a5)](),[TestFrameworkConstants[_0x21d6d2(0x17c)]]:_0x750c28};if(_0x4b7eda&&_0x2b58d9[_0x21d6d2(0x15f)](_0x4b7eda['retry'],0x0)){const _0x1f271a=TestInfo[_0x21d6d2(0x16e)](_0x2b58d9[_0x21d6d2(0x1b6)](getTestRunIdentifier,_0x288c86,_0x2b58d9[_0x21d6d2(0x1e0)](_0x4b7eda[_0x21d6d2(0x15a)],0x1)));_0x226784[TestFrameworkConstants[_0x21d6d2(0x21f)]]=_0x1f271a;}const _0x355766={};_0x355766[_0x21d6d2(0x19e)]=_0x288c86;const _0x2a19f5=this[_0x21d6d2(0x174)](TestFrameworkState[_0x21d6d2(0x1ff)],HookState[_0x21d6d2(0x1eb)],_0x355766),_0x355351=_0x2a19f5[_0x21d6d2(0x231)]()[_0x21d6d2(0x1c5)](_0x43e466)[TestFrameworkConstants['KEY_TEST_UUID']],_0x541ff1=[],_0x1d0a19=_0x2b58d9[_0x21d6d2(0x19a)](findNestedKey,_0x4b7eda,_0x2b58d9[_0x21d6d2(0x172)]);if(_0x1d0a19&&_0x2b58d9[_0x21d6d2(0x237)](validateFilePath,_0x1d0a19))try{_0x541ff1[_0x21d6d2(0x1a9)]({'kind':_0x2b58d9[_0x21d6d2(0x227)],'timestamp':new Date()[_0x21d6d2(0x1a5)](),'test_run_uuid':_0x355351,'file_name':path[_0x21d6d2(0x176)](_0x1d0a19),'file_size':fs[_0x21d6d2(0x1bf)](_0x1d0a19)[_0x21d6d2(0x1c8)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x172854){logger[_0x21d6d2(0x163)](_0x21d6d2(0x18b)+_0x1d0a19+':\x20'+_0x172854[_0x21d6d2(0x1ee)]);}const _0x5d2fd4=TestInfo[_0x21d6d2(0x193)](),_0x2fec81=_0x5d2fd4[_0x21d6d2(0x1bb)](_0xb4fb75=>_0xb4fb75[_0x21d6d2(0x22c)]===_0x355351);_0x2fec81['forEach'](_0x29ce3b=>{const _0x436191=_0x21d6d2;if(_0x29ce3b[_0x436191(0x1cf)]&&_0x2b58d9[_0x436191(0x1cb)](validateFilePath,_0x29ce3b[_0x436191(0x1cf)])&&!_0x541ff1[_0x436191(0x23c)](_0x36c351=>_0x36c351['file_name']===path[_0x436191(0x176)](_0x29ce3b[_0x436191(0x1cf)])))try{_0x541ff1[_0x436191(0x1a9)]({'kind':_0x2b58d9[_0x436191(0x227)],'timestamp':new Date()[_0x436191(0x1a5)](),'test_run_uuid':_0x355351,'file_name':path[_0x436191(0x176)](_0x29ce3b[_0x436191(0x1cf)]),'file_size':fs[_0x436191(0x1bf)](_0x29ce3b['filePath'])[_0x436191(0x1c8)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0xc8875d){logger[_0x436191(0x163)](_0x436191(0x23f)+_0x29ce3b['filePath']+'\x20from\x20TestDetails:\x20'+_0xc8875d['message']);}});if(_0x2b58d9[_0x21d6d2(0x15f)](_0x541ff1[_0x21d6d2(0x1b3)],0x0)){const _0x1bcfbd=_0x226784[TestFrameworkConstants['KEY_LOGS']]||[];_0x226784[TestFrameworkConstants[_0x21d6d2(0x196)]]=[..._0x1bcfbd,..._0x541ff1];}const _0x3a5b9a=TestInfo[_0x21d6d2(0x1a8)](_0x43e466)[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]||{},_0x298996=_0x2b58d9[_0x21d6d2(0x1b4)](getManualUploadLogs,_0x3a5b9a,_0x2a19f5[_0x21d6d2(0x231)]()[_0x21d6d2(0x1c5)](_0x43e466)[TestFrameworkConstants['KEY_TEST_UUID']]);if(_0x2b58d9[_0x21d6d2(0x16a)](_0x298996[_0x21d6d2(0x1b3)],0x0)){const _0x2fe3d4=_0x226784[TestFrameworkConstants['KEY_LOGS']]||[];_0x226784[TestFrameworkConstants[_0x21d6d2(0x196)]]=[..._0x2fe3d4,..._0x298996];}const _0x3693d8=_0x288c86[_0x21d6d2(0x1b8)]||[],_0x5841b8=_0x226784[TestFrameworkConstants[_0x21d6d2(0x17c)]]||{};_0x3693d8[_0x21d6d2(0x18a)](_0x5fe415=>{const _0x2cad18=_0x21d6d2,{type:_0x196a25}=_0x5fe415;let _0x2f050a=_0x5fe415[_0x2cad18(0x1b7)];if(!_0x196a25)return;(_0x2b58d9[_0x2cad18(0x1ba)](_0x2f050a,undefined)||_0x2b58d9[_0x2cad18(0x1c6)](_0x2f050a,null)||_0x2b58d9['zIwse'](_0x2b58d9[_0x2cad18(0x1cb)](String,_0x2f050a)['trim'](),''))&&(_0x2f050a=_0x2b58d9[_0x2cad18(0x205)]);if(!_0x5841b8[_0x196a25]){const _0x4089d7={};_0x4089d7[_0x2cad18(0x242)]=_0x2b58d9[_0x2cad18(0x245)],_0x4089d7[_0x2cad18(0x20f)]=[],_0x5841b8[_0x196a25]=_0x4089d7;}else!_0x5841b8[_0x196a25][_0x2cad18(0x242)]&&(_0x5841b8[_0x196a25][_0x2cad18(0x242)]=_0x2b58d9[_0x2cad18(0x245)]),!Array['isArray'](_0x5841b8[_0x196a25]['values'])&&(_0x5841b8[_0x196a25][_0x2cad18(0x20f)]=[]);const _0x418869=_0x2b58d9[_0x2cad18(0x1cb)](String,_0x2f050a)['split'](',')[_0x2cad18(0x18e)](_0x19695a=>_0x19695a[_0x2cad18(0x225)]());_0x5841b8[_0x196a25]['values']=[...new Set([..._0x5841b8[_0x196a25][_0x2cad18(0x20f)],..._0x418869])];}),_0x226784[TestFrameworkConstants[_0x21d6d2(0x17c)]]=_0x5841b8,TestInfo[_0x21d6d2(0x236)](_0x43e466,_0x226784);const _0x22d309={};return _0x22d309[_0x43e466]=_0x226784,_0x22d309;}async[a72_0x44ec21(0x23b)](_0x2e21ed,_0x3bd8e1,_0x14f7e4,_0x227f7d){const _0x2c87fc=a72_0x44ec21,_0x40cdda={'Amqjj':function(_0x355e66,_0xfe69a3,_0x41e5f9){return _0x355e66(_0xfe69a3,_0x41e5f9);},'wgNYp':function(_0x200504,_0x4d130f){return _0x200504 in _0x4d130f;},'rktCr':function(_0x56f102,_0x17c1f8){return _0x56f102 in _0x17c1f8;},'mlKOF':function(_0x22a2d8,_0x39071f){return _0x22a2d8(_0x39071f);},'xAStg':function(_0x263f69,_0x17d079){return _0x263f69(_0x17d079);},'qkxhn':function(_0x4e070e,_0x4ecabb){return _0x4e070e===_0x4ecabb;},'PRUVl':function(_0x222d9c){return _0x222d9c();},'Wmjnw':function(_0x46f500,_0x49c406){return _0x46f500===_0x49c406;},'RFmcP':function(_0x52c262,_0x5515ca){return _0x52c262>_0x5515ca;},'FQFDI':function(_0x44867b,_0x204282,_0x1f940e){return _0x44867b(_0x204282,_0x1f940e);},'ojjnT':_0x2c87fc(0x22d),'jAdEJ':_0x2c87fc(0x1f7),'wfQGu':_0x2c87fc(0x213),'PBMud':function(_0x3c105f,_0x40d336){return _0x3c105f!==_0x40d336;},'XboBN':function(_0x102a47,_0x53081a){return _0x102a47+_0x53081a;},'SLweQ':_0x2c87fc(0x1ce)},_0x34ed78=_0x227f7d['test'],_0x1319f5=_0x227f7d[_0x2c87fc(0x191)],_0x1a7b1c=_0x40cdda['Amqjj'](getTestRunIdentifier,_0x34ed78,_0x227f7d['result'][_0x2c87fc(0x15a)]),_0x2736bf=_0x3bd8e1[_0x2c87fc(0x1dd)]()[_0x2c87fc(0x1f3)]('.')[0x1];let _0x34992e=_0x2e21ed[_0x2c87fc(0x231)]()[_0x2c87fc(0x1c5)](_0x1a7b1c)[TestFrameworkConstants[_0x2c87fc(0x226)]];!_0x34992e&&(_0x34992e={});!_0x40cdda[_0x2c87fc(0x216)](_0x2736bf,_0x34992e)&&(_0x34992e[_0x2736bf]=[]);let _0x2e043d=_0x2e21ed[_0x2c87fc(0x231)]()[_0x2c87fc(0x1c5)](_0x1a7b1c)[TestFrameworkConstants[_0x2c87fc(0x246)]];!_0x2e043d&&(_0x2e043d={});!_0x40cdda[_0x2c87fc(0x199)](_0x2736bf,_0x2e043d)&&(_0x2e043d[_0x2736bf]=[]);const _0x4cdb03={[TestFrameworkConstants[_0x2c87fc(0x226)]]:_0x34992e,[TestFrameworkConstants['KEY_HOOKS_FINISHED']]:_0x2e043d},_0x5df769={};_0x5df769[_0x1a7b1c]=_0x4cdb03;const _0x45daa4=_0x5df769,_0x2175b8=_0x40cdda[_0x2c87fc(0x16f)](getPlaywrightTestFilePath,_0x34ed78),_0x2dd656=_0x2175b8+':'+_0x40cdda['xAStg'](getPlaywrightTestLocation,_0x34ed78),_0x31e801=TestInfo[_0x2c87fc(0x1a8)](_0x1a7b1c)[TestFrameworkConstants[_0x2c87fc(0x17c)]]||{};if(_0x40cdda[_0x2c87fc(0x23e)](_0x14f7e4,HookState[_0x2c87fc(0x1a4)])){const _0x383a6b={'key':_0x2736bf,[TestFrameworkConstants[_0x2c87fc(0x248)]]:_0x40cdda[_0x2c87fc(0x1f4)](uuidv4),[TestFrameworkConstants['KEY_HOOK_RESULT']]:TestFrameworkConstants['DEFAULT_HOOK_RESULT'],[TestFrameworkConstants[_0x2c87fc(0x1a2)]]:_0x1319f5[_0x2c87fc(0x1f8)],[TestFrameworkConstants[_0x2c87fc(0x190)]]:[],[TestFrameworkConstants[_0x2c87fc(0x207)]]:_0x1319f5[_0x2c87fc(0x1e5)],[TestFrameworkConstants[_0x2c87fc(0x1da)]]:_0x2175b8,[TestFrameworkConstants['KEY_TEST_LOCATION']]:_0x2dd656,[TestFrameworkConstants[_0x2c87fc(0x17c)]]:_0x31e801};_0x34992e[_0x2736bf][_0x2c87fc(0x1a9)](_0x383a6b),_0x45daa4[_0x1a7b1c][TestFrameworkConstants[_0x2c87fc(0x219)]]=_0x2736bf,logger[_0x2c87fc(0x1ed)](_0x2c87fc(0x1d4)+_0x2736bf+_0x2c87fc(0x15d)+_0x383a6b+_0x2c87fc(0x187)+_0x227f7d);}else{if(_0x40cdda[_0x2c87fc(0x1be)](_0x14f7e4,HookState[_0x2c87fc(0x1eb)])){const _0x3407bd=await _0x227f7d[_0x2c87fc(0x192)],_0x1cbd84=_0x34992e[_0x2736bf]||[],_0xe5d481=_0x227f7d[_0x2c87fc(0x191)];logger[_0x2c87fc(0x1ed)](_0x2c87fc(0x1bd)+_0x1cbd84+'\x20and\x20args\x20=\x20'+_0x227f7d);if(_0x40cdda[_0x2c87fc(0x1e2)](_0x1cbd84['length'],0x0)){const _0x38fbb8=_0x1cbd84['pop']();if(_0xe5d481[_0x2c87fc(0x163)]){const _0x42bd09=_0x40cdda[_0x2c87fc(0x1cc)](failureData,_0xe5d481[_0x2c87fc(0x163)],_0x40cdda[_0x2c87fc(0x238)]);_0x38fbb8[TestFrameworkConstants[_0x2c87fc(0x240)]]=_0x40cdda[_0x2c87fc(0x1fc)](getFailureType,_0xe5d481?.['error'][_0x2c87fc(0x1ee)]),_0x38fbb8[TestFrameworkConstants[_0x2c87fc(0x1f6)]]=_0x40cdda['xAStg'](removeAnsiColors,_0xe5d481?.[_0x2c87fc(0x163)][_0x2c87fc(0x1ee)]),_0x38fbb8[TestFrameworkConstants[_0x2c87fc(0x1e9)]]=_0x40cdda['jAdEJ'],_0x38fbb8[TestFrameworkConstants['KEY_HOOK_FAILURE']]=_0x42bd09;}else _0x38fbb8[TestFrameworkConstants[_0x2c87fc(0x1e9)]]=_0x40cdda[_0x2c87fc(0x1e1)];_0x40cdda[_0x2c87fc(0x20b)](_0x3407bd,TestFrameworkConstants[_0x2c87fc(0x221)])&&(_0x38fbb8[TestFrameworkConstants[_0x2c87fc(0x1e9)]]=!_0xe5d481[_0x2c87fc(0x163)]?_0x40cdda['wfQGu']:_0x40cdda[_0x2c87fc(0x217)]);const _0x4e31a7=new Date(_0xe5d481[_0x2c87fc(0x1f8)]),_0x34228b=new Date(_0x40cdda[_0x2c87fc(0x206)](_0x4e31a7[_0x2c87fc(0x20c)](),_0xe5d481[_0x2c87fc(0x1fa)]));_0x38fbb8[TestFrameworkConstants[_0x2c87fc(0x1fd)]]=_0x34228b[_0x2c87fc(0x1a5)](),_0x38fbb8[TestFrameworkConstants[_0x2c87fc(0x17c)]]=_0x31e801;const _0x2071d3=_0x38fbb8[TestFrameworkConstants['KEY_HOOK_ID']];await this[_0x2c87fc(0x233)](_0x2e21ed,_0x3bd8e1,_0x2071d3,_0x40cdda[_0x2c87fc(0x1d6)],_0x227f7d),!_0x2e043d[_0x2736bf]&&(_0x2e043d[_0x2736bf]=[]),_0x2e043d[_0x2736bf][_0x2c87fc(0x1a9)](_0x38fbb8),_0x45daa4[_0x1a7b1c][TestFrameworkConstants[_0x2c87fc(0x228)]]=_0x2736bf;}}}return _0x45daa4;}async[a72_0x44ec21(0x233)](_0x2eccf4,_0x556055,_0x48b143,_0x4c218f,_0x55220c){const _0x2b2178=a72_0x44ec21,_0x4c2c42={'QsurQ':function(_0x4c6ade,_0x3e15c3){return _0x4c6ade===_0x3e15c3;},'EXzLY':_0x2b2178(0x19e),'dAJOj':function(_0xc2f8dc,_0x597311,_0x397eee){return _0xc2f8dc(_0x597311,_0x397eee);},'GzOLd':_0x2b2178(0x19b),'dBOaG':function(_0x50738f,_0x47dde7,_0x425880,_0x31665a){return _0x50738f(_0x47dde7,_0x425880,_0x31665a);},'QjoYo':function(_0x58f3c8,_0x489256,_0x53d080){return _0x58f3c8(_0x489256,_0x53d080);},'LslAm':function(_0x331931,_0x42e12e,_0x4e74ec){return _0x331931(_0x42e12e,_0x4e74ec);},'esjqO':function(_0x46a8db,_0xc41a97){return _0x46a8db/_0xc41a97;},'JUKhB':function(_0x22d4ad,_0x3fd3e1){return _0x22d4ad<_0x3fd3e1;},'oadpS':function(_0x405bbd,_0x55e3b6){return _0x405bbd*_0x55e3b6;},'Aogli':function(_0x15df1e,_0x172711){return _0x15df1e+_0x172711;},'nBUSu':function(_0x3e0ab5,_0x4fa648,_0x1e6834,_0x37b619,_0x51ff09){return _0x3e0ab5(_0x4fa648,_0x1e6834,_0x37b619,_0x51ff09);},'YUdTh':function(_0x27729e,_0x1749e7){return _0x27729e+_0x1749e7;},'chjnz':_0x2b2178(0x1ce),'KKGaJ':function(_0x193812,_0x57570e,_0x538797){return _0x193812(_0x57570e,_0x538797);}};try{if(_0x4c2c42[_0x2b2178(0x17a)](_0x4c218f,_0x4c2c42[_0x2b2178(0x173)])){const _0x1ff376=await _0x55220c[_0x2b2178(0x192)],_0x4a22c1=_0x4c2c42[_0x2b2178(0x202)](getTestRunIdentifier,_0x55220c[_0x2b2178(0x19e)],_0x55220c[_0x2b2178(0x192)][_0x2b2178(0x15a)]),_0x2112c5=_0x55220c[_0x2b2178(0x19e)];logger[_0x2b2178(0x1ed)](_0x2b2178(0x1d3)+_0x4a22c1+_0x2b2178(0x1e6)+util[_0x2b2178(0x19d)](_0x1ff376));const _0x4a965f=_0x2eccf4[_0x2b2178(0x231)]()[_0x2b2178(0x1c5)](_0x4a22c1)[TestFrameworkConstants[_0x2b2178(0x1ae)]];await _0x4c2c42[_0x2b2178(0x202)](sendTraceZip,_0x1ff376,_0x4a965f);const _0x24c0d7=TestInfo['getTestDetails'](_0x4a22c1)[_0x4c2c42[_0x2b2178(0x1f5)]],_0x1f65f3={};if(_0x24c0d7){!_0x1ff376[_0x2b2178(0x19b)]&&(_0x1ff376[_0x2b2178(0x19b)]=[]);_0x1f65f3['attachments']=_0x1ff376['attachments'][_0x2b2178(0x201)](_0x24c0d7||[]);const _0x3f3ae6=TestInfo[_0x2b2178(0x1a8)](_0x4a22c1);delete _0x3f3ae6[_0x4c2c42[_0x2b2178(0x1f5)]],TestInfo[_0x2b2178(0x236)](_0x4a22c1,_0x3f3ae6);}const {steps:_0x2053e0,logs:_0x194ab3}=_0x4c2c42[_0x2b2178(0x197)](getStepsAndLogs,_0x1ff376[_0x2b2178(0x20e)],_0x2eccf4[_0x2b2178(0x231)]()[_0x2b2178(0x1c5)](_0x4a22c1)[TestFrameworkConstants[_0x2b2178(0x1ae)]],_0x4c2c42[_0x2b2178(0x173)]),_0x45383b=_0x4c2c42['dAJOj'](getScreenshots,_0x1f65f3,_0x2eccf4[_0x2b2178(0x231)]()[_0x2b2178(0x1c5)](_0x4a22c1)[TestFrameworkConstants['KEY_TEST_UUID']]),_0x494800=_0x4c2c42[_0x2b2178(0x22a)](getVideos,_0x1ff376,_0x2eccf4[_0x2b2178(0x231)]()[_0x2b2178(0x1c5)](_0x4a22c1)[TestFrameworkConstants[_0x2b2178(0x1ae)]]),{_:_0x558f27,logs:_0x2e30db}=_0x4c2c42['LslAm'](getFailureData,_0x1ff376[_0x2b2178(0x179)],{'test_run_uuid':_0x2eccf4[_0x2b2178(0x231)]()['get'](_0x4a22c1)[TestFrameworkConstants['KEY_TEST_UUID']]}),_0x502506=TestInfo[_0x2b2178(0x1a8)](_0x4a22c1)[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]||{},_0x249db7=_0x4c2c42['dAJOj'](getMediaArtifactsLogs,_0x502506,_0x2eccf4['getAllData']()[_0x2b2178(0x1c5)](_0x4a22c1)[TestFrameworkConstants['KEY_TEST_UUID']]),_0x1351d5=_0x2eccf4[_0x2b2178(0x231)]()[_0x2b2178(0x1c5)](_0x4a22c1),{[TestFrameworkConstants[_0x2b2178(0x177)]]:_0x42de87='',[TestFrameworkConstants[_0x2b2178(0x1c2)]]:_0x5714c9=''}=_0x1351d5,_0x3587e9=(_0x194ab3||[])[_0x2b2178(0x201)](_0x45383b||[])[_0x2b2178(0x201)](_0x2e30db||[])['concat'](_0x494800||[])[_0x2b2178(0x201)](_0x249db7||[]),_0x2a4840=0x28,_0x42da82=Math[_0x2b2178(0x200)](_0x4c2c42[_0x2b2178(0x1c7)](_0x3587e9[_0x2b2178(0x1b3)],_0x2a4840));for(let _0x38195a=0x0;_0x4c2c42[_0x2b2178(0x19f)](_0x38195a,_0x42da82);_0x38195a++){const _0x399f0c=_0x4c2c42['oadpS'](_0x38195a,_0x2a4840),_0x26f49d=_0x4c2c42['Aogli'](_0x399f0c,_0x2a4840),_0x3ea732=_0x3587e9[_0x2b2178(0x211)](_0x399f0c,_0x26f49d),_0x209f29={'platformIndex':'0','logs':_0x3ea732,'testFrameworkName':_0x42de87,'testFrameworkVersion':_0x5714c9,'testFrameworkState':_0x556055[_0x2b2178(0x1dd)]()[_0x2b2178(0x1f3)]('.')[0x1]};_0x4c2c42['nBUSu'](updatePayloadForTraceLogs,_0x209f29,_0x55220c,_0x4a22c1,_0x2eccf4),logger[_0x2b2178(0x1ed)](_0x2b2178(0x1a0)+_0x4a22c1+_0x2b2178(0x1bc)+_0x4c2c42['Aogli'](_0x38195a,0x1)+'/'+_0x42da82+_0x2b2178(0x167)+util[_0x2b2178(0x19d)](_0x209f29));const _0x40301d=await GrpcClient[_0x2b2178(0x180)]()['logCreatedEvent'](_0x209f29);logger[_0x2b2178(0x1ed)](_0x2b2178(0x1a0)+_0x4a22c1+_0x2b2178(0x1bc)+_0x4c2c42[_0x2b2178(0x230)](_0x38195a,0x1)+'/'+_0x42da82+_0x2b2178(0x1d8)+util['inspect'](_0x40301d));}}else{const {steps:_0x18c9a6,logs:_0x313096}=_0x4c2c42[_0x2b2178(0x197)](getStepsAndLogs,_0x55220c[_0x2b2178(0x191)][_0x2b2178(0x20e)],_0x48b143,_0x4c2c42[_0x2b2178(0x18c)]),_0x2f33e6=_0x4c2c42['KKGaJ'](getTestRunIdentifier,_0x55220c[_0x2b2178(0x19e)],_0x55220c[_0x2b2178(0x192)]['retry']);logger[_0x2b2178(0x1ed)](_0x2b2178(0x1d3)+_0x2f33e6);const _0x13298d=_0x2eccf4[_0x2b2178(0x231)]()[_0x2b2178(0x1c5)](_0x2f33e6),{[TestFrameworkConstants[_0x2b2178(0x177)]]:_0x2e1960='',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x77de05=''}=_0x13298d,_0x57ff32={'platformIndex':'0','logs':_0x313096,'testFrameworkName':_0x2e1960,'testFrameworkVersion':_0x77de05,'testFrameworkState':_0x556055[_0x2b2178(0x1dd)]()[_0x2b2178(0x1f3)]('.')[0x1]};_0x4c2c42[_0x2b2178(0x1f1)](updatePayloadForTraceLogs,_0x57ff32,_0x55220c,_0x2f33e6,_0x2eccf4),logger[_0x2b2178(0x1ed)](_0x2b2178(0x1a0)+_0x2f33e6+_0x2b2178(0x167)+util[_0x2b2178(0x19d)](_0x57ff32));const _0x482291=await GrpcClient['getInstance']()[_0x2b2178(0x16c)](_0x57ff32);}}catch(_0x3bbdbf){logger[_0x2b2178(0x163)]('Error\x20in\x20sendLogCreatedEvent:\x20'+util[_0x2b2178(0x171)](_0x3bbdbf));}}[a72_0x44ec21(0x209)](_0x1f0dcd){const _0x4f9700=a72_0x44ec21,_0x140149={'wlRpO':function(_0x774ba1,_0x445655,_0x3f280b){return _0x774ba1(_0x445655,_0x3f280b);},'AbAdv':_0x4f9700(0x169)};try{const _0x2b9835=_0x1f0dcd[_0x4f9700(0x19e)]['id'],_0xbf5155=_0x140149[_0x4f9700(0x247)](getTestRunIdentifier,_0x1f0dcd[_0x4f9700(0x19e)],_0x1f0dcd[_0x4f9700(0x192)][_0x4f9700(0x15a)]),_0xd2b426=_0x1f0dcd['instance'],_0x5f5d3e=_0xd2b426[_0x4f9700(0x1e4)](),_0x10e6e1=_0xd2b426[_0x4f9700(0x231)]()[_0x4f9700(0x1c5)](_0xbf5155);logger[_0x4f9700(0x1ed)](_0x4f9700(0x198)+_0x2b9835);const {[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x431baa='',[TestFrameworkConstants[_0x4f9700(0x1c2)]]:_0x50a860='',[TestFrameworkConstants[_0x4f9700(0x1ca)]]:_0x4ac4d8='',[TestFrameworkConstants[_0x4f9700(0x23a)]]:_0x2da269=''}=_0x10e6e1,_0x39a392=_0xd2b426['getCurrentTestState']()['toString']()[_0x4f9700(0x1f3)]('.')[0x1],_0x3bf4c6=_0xd2b426[_0x4f9700(0x1a7)]()[_0x4f9700(0x1dd)]()[_0x4f9700(0x1f3)]('.')[0x1],_0x42a7a2=global?.[_0x4f9700(0x1de)]?.[_0x4f9700(0x17f)]?.[_0x4f9700(0x16d)],_0x6bfe66=_0xd2b426[_0x4f9700(0x1b9)](),_0x55bd66=Buffer['from'](JSON['stringify'](_0x10e6e1))[_0x4f9700(0x1dd)](_0x140149['AbAdv']),_0x3c16ac={'hash':_0x5f5d3e[_0x4f9700(0x1b1)](),'threadId':_0x5f5d3e[_0x4f9700(0x189)]()[_0x4f9700(0x1dd)](),'processId':_0x5f5d3e[_0x4f9700(0x1d9)]()[_0x4f9700(0x1dd)]()},_0x2e9651={};_0x2e9651[_0x4f9700(0x1f0)]=_0x42a7a2,_0x2e9651['testFrameworkName']=_0x431baa,_0x2e9651['testFrameworkVersion']=_0x50a860,_0x2e9651['testFrameworkState']=_0x39a392,_0x2e9651[_0x4f9700(0x1a1)]=_0x3bf4c6,_0x2e9651[_0x4f9700(0x21e)]=_0x4ac4d8,_0x2e9651[_0x4f9700(0x249)]=_0x2da269,_0x2e9651[_0x4f9700(0x162)]=_0x6bfe66,_0x2e9651[_0x4f9700(0x1dc)]=_0x55bd66,_0x2e9651['executionContext']=_0x3c16ac;const _0x6f0f6=_0x2e9651;return logger[_0x4f9700(0x1ed)](_0x4f9700(0x1d5)+_0x2b9835+_0x4f9700(0x186)+_0x39a392+'\x20hookState:\x20'+_0x3bf4c6),_0x6f0f6;}catch(_0x3ba237){return logger[_0x4f9700(0x163)]('Error\x20in\x20createTestFrameworkEventPayload:\x20'+util[_0x4f9700(0x171)](_0x3ba237)),{};}}}module[a72_0x44ec21(0x21d)]=PlaywrightTestFramework;
@@ -1 +1 @@
1
- const a73_0x3b0a5f=a73_0x1736;(function(_0x4d4763,_0x15e3b0){const _0x4c16c4=a73_0x1736,_0x20e03f=_0x4d4763();while(!![]){try{const _0x55be97=parseInt(_0x4c16c4(0x7e))/0x1+parseInt(_0x4c16c4(0x81))/0x2*(parseInt(_0x4c16c4(0x8d))/0x3)+parseInt(_0x4c16c4(0x8b))/0x4*(parseInt(_0x4c16c4(0x92))/0x5)+-parseInt(_0x4c16c4(0x73))/0x6+-parseInt(_0x4c16c4(0x80))/0x7*(-parseInt(_0x4c16c4(0x99))/0x8)+-parseInt(_0x4c16c4(0x84))/0x9*(parseInt(_0x4c16c4(0x95))/0xa)+-parseInt(_0x4c16c4(0x89))/0xb;if(_0x55be97===_0x15e3b0)break;else _0x20e03f['push'](_0x20e03f['shift']());}catch(_0x14d810){_0x20e03f['push'](_0x20e03f['shift']());}}}(a73_0x2473,0xb8dd7));function a73_0x1736(_0x2bd56c,_0x2a6bcb){const _0x247324=a73_0x2473();return a73_0x1736=function(_0x173605,_0x145db2){_0x173605=_0x173605-0x70;let _0x22050e=_0x247324[_0x173605];return _0x22050e;},a73_0x1736(_0x2bd56c,_0x2a6bcb);}const CLIUtils=require('../cliUtils'),eventDispatcher=require(a73_0x3b0a5f(0x8f)),TestFrameworkInstance=require(a73_0x3b0a5f(0x9a)),TrackedContext=require(a73_0x3b0a5f(0x94)),TestFrameworkState=require(a73_0x3b0a5f(0x79)),HookState=require('../state/hookState'),{createClassLogger}=require(a73_0x3b0a5f(0x78)),TrackedInstance=require('../instances/trackedInstance'),logger=createClassLogger(a73_0x3b0a5f(0x85));class TestFramework{static [a73_0x3b0a5f(0x77)]=new Map();['testFrameworks']=[];['testFrameworkVersions']={};[a73_0x3b0a5f(0x70)]=null;constructor(_0x4ed2b1,_0x3704f7,_0x59e5f9){const _0x56c6d6=a73_0x3b0a5f;this[_0x56c6d6(0x83)]=_0x4ed2b1,this[_0x56c6d6(0x97)]=_0x3704f7,this[_0x56c6d6(0x70)]=_0x59e5f9;}[a73_0x3b0a5f(0x8c)](){const _0x1fa712=a73_0x3b0a5f;return TestFramework[_0x1fa712(0x77)];}['setInstance'](_0x4a6785,_0x2f5b48){const _0x4ad329=a73_0x3b0a5f;TestFramework['instances'][_0x4ad329(0x93)](_0x4a6785['getId'],_0x2f5b48);}static[a73_0x3b0a5f(0x7f)](){const _0x258a16=a73_0x3b0a5f,_0x384efb=TrackedInstance[_0x258a16(0x88)](CLIUtils[_0x258a16(0x91)]());return TestFramework[_0x258a16(0x77)][_0x258a16(0x96)](_0x384efb[_0x258a16(0x7d)]());}static[a73_0x3b0a5f(0x76)](_0x252877,_0x4ab809){const _0x3f90dd=a73_0x3b0a5f;TestFramework[_0x3f90dd(0x77)][_0x3f90dd(0x93)](_0x252877['getId'](),_0x4ab809);}[a73_0x3b0a5f(0x72)](){const _0x47fc60=a73_0x3b0a5f;return this[_0x47fc60(0x97)];}[a73_0x3b0a5f(0x7c)](){const _0xdb223e=a73_0x3b0a5f;return this[_0xdb223e(0x83)];}[a73_0x3b0a5f(0x71)](_0x1ffdbc,_0x45b0f8,_0x2ed1be={}){const _0x4dd1ff=a73_0x3b0a5f;logger[_0x4dd1ff(0x98)](_0x4dd1ff(0x87)+_0x1ffdbc+_0x4dd1ff(0x8a)+_0x45b0f8);}async[a73_0x3b0a5f(0x9b)](_0x2782d7,_0x302fe8,_0x1ab372,_0x2024cd={}){const _0x1a7c95=a73_0x3b0a5f,_0x1fd675=CLIUtils['getHookRegistryKey'](_0x302fe8,_0x1ab372);_0x2782d7[_0x1a7c95(0x86)](_0x302fe8),_0x2782d7[_0x1a7c95(0x75)](_0x1ab372),await eventDispatcher[_0x1a7c95(0x90)](_0x1fd675,_0x2024cd);}static[a73_0x3b0a5f(0x7a)](_0x3a5fc5,_0xef66ce,_0x1d5d2d){const _0x9c0012=a73_0x3b0a5f;eventDispatcher[_0x9c0012(0x7a)](CLIUtils[_0x9c0012(0x8e)](_0x3a5fc5,_0xef66ce),_0x1d5d2d);}static['getState'](_0x1da3f9,_0x3d0360){const _0x4e0cad=a73_0x3b0a5f;return _0x1da3f9[_0x4e0cad(0x74)]()[_0x4e0cad(0x96)](_0x3d0360);}static[a73_0x3b0a5f(0x7b)](_0x186f87,_0xc620b2,_0x32f9c2){const _0x22e15c=a73_0x3b0a5f;_0x186f87['getAllData']()[_0x22e15c(0x93)](_0xc620b2,_0x32f9c2);}static['hasState'](_0x46e1fe,_0x153c21){const _0x4f59a2=a73_0x3b0a5f;return _0x46e1fe[_0x4f59a2(0x74)]()[_0x4f59a2(0x9c)](_0x153c21);}}module[a73_0x3b0a5f(0x82)]=TestFramework;function a73_0x2473(){const _0x29ce8f=['1562150AwfbnR','get','testFrameworkVersions','debug','303032FTQTcJ','../instances/testFrameworkInstance','runHooks','has','binSessionId','trackEvent','getTestFrameworksVersions','4892802cynild','getAllData','setCurrentHookState','setTrackedInstance','instances','../../../helpers/classLogger','../state/testFrameworkState','registerObserver','setState','getTestFrameworks','getId','1198116lgVXal','getTrackedInstance','14XqnXTS','6tExRmQ','exports','testFrameworks','9jbVAxH','TestFramework','setCurrentTestState','trackEvent:\x20testFrameworkState=','createContext','12803791aQzngh',';\x20hookState=','459388BRqTEZ','getInstances','1159608lqEVJh','getHookRegistryKey','../eventDispatcher','notifyObserver','getCurrentInstanceName','20dZPQYx','set','../instances/trackedContext'];a73_0x2473=function(){return _0x29ce8f;};return a73_0x2473();}
1
+ const a73_0x389d4d=a73_0x8b3e;(function(_0x3e5f2f,_0x3f4398){const _0x549d7a=a73_0x8b3e,_0xb0cc66=_0x3e5f2f();while(!![]){try{const _0x10dff8=parseInt(_0x549d7a(0xcd))/0x1*(-parseInt(_0x549d7a(0xd7))/0x2)+-parseInt(_0x549d7a(0xb7))/0x3+parseInt(_0x549d7a(0xb9))/0x4*(parseInt(_0x549d7a(0xc5))/0x5)+parseInt(_0x549d7a(0xd5))/0x6+parseInt(_0x549d7a(0xb4))/0x7+parseInt(_0x549d7a(0xb3))/0x8+parseInt(_0x549d7a(0xda))/0x9*(-parseInt(_0x549d7a(0xd3))/0xa);if(_0x10dff8===_0x3f4398)break;else _0xb0cc66['push'](_0xb0cc66['shift']());}catch(_0x34bcd8){_0xb0cc66['push'](_0xb0cc66['shift']());}}}(a73_0x27b8,0x42234));function a73_0x27b8(){const _0x5b6cfe=['getHookRegistryKey','getTrackedInstance','../instances/trackedContext','set','testFrameworkVersions','hasState','registerObserver','notifyObserver','5RqUKlA','testFrameworks','setCurrentTestState','getState','getTestFrameworks','getId','binSessionId','getAllData','3733zDxfdk','../state/hookState','instances','../instances/trackedInstance','../../../helpers/classLogger','exports','10510mSabKJ','setInstance','825876zZlVea','TestFramework','44HVxzJl','getTestFrameworksVersions','setTrackedInstance','333GAveLY','2348632jFISQt','1369998pOCSCu','../state/testFrameworkState','setCurrentHookState','1190532HFcutD','createContext','647272iYUDJi','has','runHooks','get'];a73_0x27b8=function(){return _0x5b6cfe;};return a73_0x27b8();}const CLIUtils=require('../cliUtils'),eventDispatcher=require('../eventDispatcher'),TestFrameworkInstance=require('../instances/testFrameworkInstance'),TrackedContext=require(a73_0x389d4d(0xbf)),TestFrameworkState=require(a73_0x389d4d(0xb5)),HookState=require(a73_0x389d4d(0xce)),{createClassLogger}=require(a73_0x389d4d(0xd1)),TrackedInstance=require(a73_0x389d4d(0xd0)),logger=createClassLogger(a73_0x389d4d(0xd6));function a73_0x8b3e(_0x6958db,_0x484ed3){const _0x27b83e=a73_0x27b8();return a73_0x8b3e=function(_0x8b3e1,_0x3f8921){_0x8b3e1=_0x8b3e1-0xb3;let _0x2d030e=_0x27b83e[_0x8b3e1];return _0x2d030e;},a73_0x8b3e(_0x6958db,_0x484ed3);}class TestFramework{static [a73_0x389d4d(0xcf)]=new Map();[a73_0x389d4d(0xc6)]=[];[a73_0x389d4d(0xc1)]={};[a73_0x389d4d(0xcb)]=null;constructor(_0x5ae159,_0x13ea29,_0x2af602){const _0x1d0d6b=a73_0x389d4d;this['testFrameworks']=_0x5ae159,this[_0x1d0d6b(0xc1)]=_0x13ea29,this[_0x1d0d6b(0xcb)]=_0x2af602;}['getInstances'](){const _0x58dab7=a73_0x389d4d;return TestFramework[_0x58dab7(0xcf)];}[a73_0x389d4d(0xd4)](_0x13e67e,_0x5aedfb){const _0xcfc9e1=a73_0x389d4d;TestFramework[_0xcfc9e1(0xcf)][_0xcfc9e1(0xc0)](_0x13e67e[_0xcfc9e1(0xca)],_0x5aedfb);}static[a73_0x389d4d(0xbe)](){const _0x202198=a73_0x389d4d,_0x2f95a1=TrackedInstance[_0x202198(0xb8)](CLIUtils['getCurrentInstanceName']());return TestFramework['instances'][_0x202198(0xbc)](_0x2f95a1[_0x202198(0xca)]());}static[a73_0x389d4d(0xd9)](_0xbdb0e9,_0x5882ee){const _0x286946=a73_0x389d4d;TestFramework[_0x286946(0xcf)][_0x286946(0xc0)](_0xbdb0e9[_0x286946(0xca)](),_0x5882ee);}[a73_0x389d4d(0xd8)](){return this['testFrameworkVersions'];}[a73_0x389d4d(0xc9)](){const _0x15d940=a73_0x389d4d;return this[_0x15d940(0xc6)];}['trackEvent'](_0x140eb6,_0x4f1ee8,_0x166093={}){logger['debug']('trackEvent:\x20testFrameworkState='+_0x140eb6+';\x20hookState='+_0x4f1ee8);}async[a73_0x389d4d(0xbb)](_0x17a90d,_0x54b351,_0x1d540d,_0x177c27={}){const _0x54fa22=a73_0x389d4d,_0x36a152=CLIUtils[_0x54fa22(0xbd)](_0x54b351,_0x1d540d);_0x17a90d[_0x54fa22(0xc7)](_0x54b351),_0x17a90d[_0x54fa22(0xb6)](_0x1d540d),await eventDispatcher[_0x54fa22(0xc4)](_0x36a152,_0x177c27);}static['registerObserver'](_0x48830d,_0x1a638e,_0x3606ef){const _0x72101b=a73_0x389d4d;eventDispatcher[_0x72101b(0xc3)](CLIUtils['getHookRegistryKey'](_0x48830d,_0x1a638e),_0x3606ef);}static[a73_0x389d4d(0xc8)](_0x108ad1,_0x363427){const _0x42ad2b=a73_0x389d4d;return _0x108ad1['getAllData']()[_0x42ad2b(0xbc)](_0x363427);}static['setState'](_0x4a0d47,_0x18b922,_0x538de3){const _0x3a36fd=a73_0x389d4d;_0x4a0d47[_0x3a36fd(0xcc)]()[_0x3a36fd(0xc0)](_0x18b922,_0x538de3);}static[a73_0x389d4d(0xc2)](_0xd03bff,_0x24e0df){const _0x428804=a73_0x389d4d;return _0xd03bff[_0x428804(0xcc)]()[_0x428804(0xba)](_0x24e0df);}}module[a73_0x389d4d(0xd2)]=TestFramework;
@@ -1 +1 @@
1
- function a74_0x53fb(){const _0x3a3cb4=['getSuccess','MFWqg','../../../generated/sdk-messages_pb','setEndedAt','null','Error\x20in\x20GetAggregatedClientTroubleshootingErrors:\x20','StopBinSession\x20successful','PlaywrightConfig\x20error:\x20','getAggregatedClientTroubleshootingErrors','addFrameworks','aURDn','zzkXq','TestFrameworkEvent\x20error:\x20','format','getInstance','StartBinSession\x20successful','yEmia','MigOc','Reporting\x20ClientTroubleshootingError\x20','JKACl','accessibilityConfig','forEach','Error\x20in\x20LogCreatedEvent:\x20','timestamp','setLanguage','StartBinSession\x20error:\x20','setBinSessionId','92YGxZvo','startBinSession','setFrameworkSessionId','../utils/constants','fetchDriverExecuteParamsEvent','message','ConnectBinSession\x20successful','test_run_uuid','No\x20gRPC\x20client\x20initialized.','resolve','winstonLogger','GDEDX','BROWSERSTACK_CONFIG_FILE_PATH','setPlatformIndex','AccessibilityConfig\x20error:\x20','6MsrmEF','error','GrpcClient','DriverInit\x20error:\x20','entries','version','@grpc/grpc-js','playwrightConfig','frameworkVersion','startBinSession:\x20Calling\x20startBinSession','setPathProject','kind',',\x20product=','DriverInitRequest','GetAggregatedClientTroubleshootingErrorsRequest','set','BROWSERSTACK_CLI_BIN_LISTEN_ADDR','driverInit','replace','frameworkName','SDK_CONNECT_BIN_SESSION','rmwZl','user_killed','getSdkLanguage','setTestHookState','getEnvVarsMap','HCZLG','../../helpers/performance/performance-tester.js','sdraE','getClient','Error\x20in\x20FetchDriverExecuteParamsEvent:\x20','Connected\x20to\x20gRPC\x20server\x20at\x20','PDrPe','tmxhK','Unable\x20to\x20determine\x20gRPC\x20server\x20listen\x20address','end','CNaCY','env','207636uHioTF',',\x20scriptName=','RoZFK','rjoEk','setMessage','VLwuh','FCDug','name','zmCRO','PSRmt','dfGfC','378rnkBSN','setRef','exports','Error\x20in\x20connectBinSession:\x20','FetchDriverExecuteParamsEvent\x20successful\x20-\x20success=','setUserInputParams',',\x20parsedConfig=','fdegd','Stopping\x20bin\x20session','testSessionEvent','Unable\x20to\x20find\x20listen\x20addr\x20or\x20bin\x20session\x20id\x20binSessionId:\x20','11863460OHtLlm','TestSessionEvent\x20request\x20successful','yLRub','5035928PQFsbz','19507056XpZJKX','setSdkVersion','cLjxd','IzNAl','path','encode','connectBinSession','AutomationSession','setCliArgs:\x20cliArgs=','Sending\x20LogCreatedEvent','credentials','stopBinSession','start','oIDiv','HbADh','stringify','browserstackConfigFile','11gTkSth','TestSessionEventRequest','StopBinSession\x20error:\x20','Stopping\x20signal\x20','getAccessibilityConfig','createInsecure','binSessionId','setThreadId','setProvider','setConfig','Getting\x20Accessibility\x20config','Error\x20in\x20stopBinSession:\x20','iIicO','testFrameworkEvent','No\x20gRPC\x20client\x20not\x20initialized.','TestSessionEvent\x20error:\x20','hash','getChannel','imnou','pTttC','setLevel','connect-bin-session\x20response:\x20','setHash','StartBinSessionRequest','wZjqB','Sending\x20TestFrameworkEvent','IgvPu','getFrameworkVersionsMap','32854OYihRa','setKind','ExecutionContext','FFMll','TestFrameworkEvent\x20request\x20successful','VWjGZ','DriverInit\x20request\x20successful','argv','FetchDriverExecuteParamsEventRequest','connect','SDKClient','testFrameworkName','jfpOW','cFXqm','EwTOw','SDK_START_BIN_SESSION','Getting\x20Playwright\x20config','setCliArgsList','setFileSize','setFilePath','processId','Error\x20in\x20getPlaywrightConfig:\x20','JgtPa','LogCreatedEvent\x20request\x20successful','pVRRD','GTqCJ','setStartedAt','6944203lrXrhQ','WkHTj','launchcaps','FetchDriverExecuteParamsEvent:\x20Calling\x20with\x20binSessionId=','fileName','setExecutionContext','setPathConfig','81015olgwfy','./browserstackCLI.js','setScriptName','getSdkVersion','setCustomMetadata','SDK_CLI_ON_STOP','AccessibilityConfig\x20request\x20successful','acTaV','Sending\x20TestSessionEvent','YGpyH','Missing\x20binSessionId','../../helpers/helper.js','dolqz','Connecting\x20bin\x20session','TnTJC','wSITr','VbnZS','info','channel','attachment_type','GetAggregatedClientTroubleshootingErrors\x20successful','Error\x20in\x20TestFrameworkEvent:\x20','setExitSignal','yJymd','Channel','DBXEn','RQmcX','Error\x20in\x20TestSessionEvent:\x20','BROWSERSTACK_CLI_BIN_SESSION_ID','setExitReason','setFrameworkVersion','setTestFrameworkVersion','oQPyM','SDK_AUTOMATION_FRAMEWORK_INIT','sRpgh','TvXOY','TestFrameworkEventRequest','getBrowserstackCliConfig','reportClientTroubleshootingError','setUuid','zSbgL','LogCreatedEventRequest','JklNi','grpc.keepalive_time_ms','PBCbs','filePath','cwd','ZWxRI','18CsjVpt','slice','hubUrl','logger','threadId','setCapabilities','setHubUrl','Error\x20in\x20ReportClientTroubleshootingError:\x20','provider','getAutomationFrameworkDetail','util','setTestFrameworkName','JbVNO','zgxBZ','../../../generated/sdk_grpc_pb','setEventJson','VkAVU','fileSize','LogCreatedEvent\x20error:\x20','getTestFrameworkDetail','setFrameworkName','testFrameworkState','ConnectBinSessionRequest','setTestFrameworkState','aLxDY','listenAddress','client','AccessibilityConfigRequest','browserstack.yml','debug'];a74_0x53fb=function(){return _0x3a3cb4;};return a74_0x53fb();}const a74_0x2919a7=a74_0x3d1a;(function(_0x275302,_0x13ede3){const _0x1d5b00=a74_0x3d1a,_0x7ed3a5=_0x275302();while(!![]){try{const _0x56a6a1=-parseInt(_0x1d5b00(0xbd))/0x1*(-parseInt(_0x1d5b00(0x139))/0x2)+-parseInt(_0x1d5b00(0xcc))/0x3*(-parseInt(_0x1d5b00(0xf2))/0x4)+parseInt(_0x1d5b00(0x15b))/0x5*(-parseInt(_0x1d5b00(0xfd))/0x6)+parseInt(_0x1d5b00(0x154))/0x7+parseInt(_0x1d5b00(0x10b))/0x8*(-parseInt(_0x1d5b00(0x18b))/0x9)+-parseInt(_0x1d5b00(0x108))/0xa+-parseInt(_0x1d5b00(0x11d))/0xb*(-parseInt(_0x1d5b00(0x10c))/0xc);if(_0x56a6a1===_0x13ede3)break;else _0x7ed3a5['push'](_0x7ed3a5['shift']());}catch(_0x458c59){_0x7ed3a5['push'](_0x7ed3a5['shift']());}}}(a74_0x53fb,0xbb28a));const util=require(a74_0x2919a7(0x195)),logger=require('../../helpers/logger.js')[a74_0x2919a7(0xc7)],grpc=require(a74_0x2919a7(0xd2)),services=require(a74_0x2919a7(0x199)),messages=require(a74_0x2919a7(0xa4)),path=require(a74_0x2919a7(0x110)),CLIUtils=require('./cliUtils.js'),{createClassLogger}=require('../../helpers/classLogger.js'),PerformanceTester=require(a74_0x2919a7(0xe7)),{EVENTS:PerformanceEvents}=require('../../helpers/performance/constants'),{PLAYWRIGHT_TRACE_LOGS}=require(a74_0x2919a7(0xc0)),helper=require(a74_0x2919a7(0x166));function a74_0x3d1a(_0x5278d0,_0x26b2e5){const _0x53fb36=a74_0x53fb();return a74_0x3d1a=function(_0x3d1ad5,_0x3173d1){_0x3d1ad5=_0x3d1ad5-0x99;let _0x4137ca=_0x53fb36[_0x3d1ad5];return _0x4137ca;},a74_0x3d1a(_0x5278d0,_0x26b2e5);}class GrpcClient{static #instance=null;[a74_0x2919a7(0x123)]=null;[a74_0x2919a7(0x9d)]=null;[a74_0x2919a7(0x16d)]=null;[a74_0x2919a7(0x9e)]=null;[a74_0x2919a7(0x18e)]=createClassLogger(a74_0x2919a7(0xce));constructor(){}static[a74_0x2919a7(0xb0)](){return!GrpcClient.#instance&&(GrpcClient.#instance=new GrpcClient()),GrpcClient.#instance;}['init'](_0x25aa9e){const _0x53d352=a74_0x2919a7,_0x49f59d={};_0x49f59d[_0x53d352(0xa3)]=function(_0x241880,_0x114b5f){return _0x241880||_0x114b5f;};const _0x585958=_0x49f59d,{id:_0x119fdf,listen:_0x185c58}=_0x25aa9e;if(_0x585958['MFWqg'](!_0x119fdf,!_0x185c58))throw new Error(_0x53d352(0x107)+_0x119fdf+'\x20listenAddr:\x20'+_0x185c58);this[_0x53d352(0x123)]=_0x119fdf,this[_0x53d352(0x9d)]=_0x185c58,process[_0x53d352(0xf1)]['BROWSERSTACK_CLI_BIN_SESSION_ID']=this[_0x53d352(0x123)],process[_0x53d352(0xf1)][_0x53d352(0xdc)]=this[_0x53d352(0x9d)],this[_0x53d352(0x142)](),this[_0x53d352(0x18e)][_0x53d352(0x16c)]('Initialized\x20gRPC\x20client\x20with\x20bin\x20session\x20id:\x20'+this[_0x53d352(0x123)]+'\x20and\x20listen\x20address:\x20'+this['listenAddress']);}[a74_0x2919a7(0x142)](){const _0x840ea8=a74_0x2919a7,_0x2157e8={};_0x2157e8[_0x840ea8(0x18a)]=_0x840ea8(0xee);const _0x3cea4c=_0x2157e8;let _0x4d55f6=this[_0x840ea8(0x9d)];!_0x4d55f6&&(_0x4d55f6=process['env'][_0x840ea8(0xdc)]);!this['binSessionId']&&(this['binSessionId']=this['binSessionId']||process[_0x840ea8(0xf1)][_0x840ea8(0x177)]);if(!_0x4d55f6)throw new Error(_0x3cea4c[_0x840ea8(0x18a)]);const _0xf19733={};_0xf19733[_0x840ea8(0x186)]=0x2710,this[_0x840ea8(0x16d)]=new grpc[(_0x840ea8(0x173))](_0x4d55f6,grpc[_0x840ea8(0x116)][_0x840ea8(0x122)](),_0xf19733),this['client']=new services[(_0x840ea8(0x143))](_0x4d55f6,grpc['credentials'][_0x840ea8(0x122)]()),this[_0x840ea8(0x18e)][_0x840ea8(0x16c)](_0x840ea8(0xeb)+_0x4d55f6);}async[a74_0x2919a7(0xbe)](){const _0x1cae5c=a74_0x2919a7,_0x48aca6={'VWjGZ':function(_0x20d7d1,_0x5e852b){return _0x20d7d1!==_0x5e852b;},'PDrPe':function(_0x2591fc,_0x5397d8){return _0x2591fc(_0x5397d8);},'PBCbs':_0x1cae5c(0xb1),'EwTOw':_0x1cae5c(0xd5),'zzkXq':_0x1cae5c(0x12b),'iIicO':_0x1cae5c(0x15c),'jfpOW':function(_0x158326,_0x27f45b){return _0x158326 instanceof _0x27f45b;},'GTqCJ':function(_0x11c886,_0x3bbe8f){return _0x11c886===_0x3bbe8f;},'wSITr':_0x1cae5c(0x11c),'pVRRD':_0x1cae5c(0xa0),'yEmia':_0x1cae5c(0xa6),'VLwuh':function(_0x21b6a9,_0x54bee2){return _0x21b6a9||_0x54bee2;},'cFXqm':function(_0xdbd271,_0xd30a76){return _0xdbd271||_0xd30a76;}};PerformanceTester[_0x1cae5c(0x118)](PerformanceEvents['SDK_START_BIN_SESSION']),this[_0x1cae5c(0x18e)][_0x1cae5c(0x16c)](_0x48aca6[_0x1cae5c(0x147)]);try{!this['client']&&this['logger'][_0x1cae5c(0x16c)](_0x48aca6[_0x1cae5c(0xad)]);const _0x99a307=CLIUtils[_0x1cae5c(0x15e)](),_0x412413=CLIUtils[_0x1cae5c(0x194)](),_0x3b687f=CLIUtils[_0x1cae5c(0x19e)](),_0x8582b4=_0x412413[_0x1cae5c(0xf9)],_0x1d7eb1=_0x412413[_0x1cae5c(0xd1)],_0x4afadd=_0x3b687f[_0x1cae5c(0xf9)],_0x5bb16e=_0x3b687f[_0x1cae5c(0xd1)]?_0x3b687f[_0x1cae5c(0xd1)][_0x4afadd]:'',_0x13e973=new messages[(_0x1cae5c(0x134))]();_0x13e973[_0x1cae5c(0xbc)](this['binSessionId']),_0x13e973['setSdkLanguage'](CLIUtils[_0x1cae5c(0xe3)]()),_0x13e973[_0x1cae5c(0x10d)](_0x99a307),_0x13e973[_0x1cae5c(0xd6)](process[_0x1cae5c(0x189)]());const _0x2dcd24=_0x13e973[_0x1cae5c(0xe5)]();Object[_0x1cae5c(0xd0)](process[_0x1cae5c(0xf1)])[_0x1cae5c(0xb7)](([_0x1424ef,_0x4005b8])=>{const _0x525187=_0x1cae5c;_0x48aca6[_0x525187(0x13e)](_0x4005b8,undefined)&&_0x48aca6[_0x525187(0x13e)](_0x4005b8,null)&&_0x2dcd24[_0x525187(0xdb)](_0x1424ef,_0x4005b8);});const _0x424e63=_0x48aca6['PDrPe'](require,_0x48aca6[_0x1cae5c(0x129)]),_0x184a9a=_0x424e63[_0x1cae5c(0xb0)]()[_0x1cae5c(0x180)](),_0x192ee0=[];_0x184a9a&&_0x48aca6[_0x1cae5c(0x145)](_0x184a9a,Map)&&_0x184a9a[_0x1cae5c(0xb7)]((_0x1f557c,_0x39ce0d)=>{_0x192ee0['push'](_0x39ce0d+'='+_0x1f557c);});const _0x312249=process[_0x1cae5c(0x140)][_0x1cae5c(0x18c)](0x2);_0x13e973[_0x1cae5c(0x14a)]([..._0x312249,..._0x192ee0]);let _0x409517=null;if(_0x184a9a)for(const [_0x2a457a,_0x34ee21]of _0x184a9a){if(_0x48aca6[_0x1cae5c(0x152)](_0x2a457a,_0x48aca6[_0x1cae5c(0x16a)])){_0x409517=_0x34ee21;break;}}if(_0x409517)_0x13e973[_0x1cae5c(0x15a)](_0x409517);else process[_0x1cae5c(0xf1)][_0x1cae5c(0xc9)]?_0x13e973[_0x1cae5c(0x15a)](process[_0x1cae5c(0xf1)][_0x1cae5c(0xc9)]):_0x13e973[_0x1cae5c(0x15a)](path[_0x1cae5c(0xc6)](process[_0x1cae5c(0x189)](),_0x48aca6[_0x1cae5c(0x151)]));this['logger'][_0x1cae5c(0x16c)](_0x1cae5c(0x114)+JSON[_0x1cae5c(0x11b)](_0x312249)+_0x1cae5c(0x103)+(_0x184a9a?JSON[_0x1cae5c(0x11b)]([..._0x184a9a]):_0x48aca6[_0x1cae5c(0xb2)])),_0x13e973[_0x1cae5c(0xba)](CLIUtils[_0x1cae5c(0xe3)]()),_0x13e973['setTestFramework'](_0x4afadd);const _0x246b0a=_0x13e973[_0x1cae5c(0x138)]();return _0x246b0a[_0x1cae5c(0xdb)](_0x8582b4,_0x48aca6[_0x1cae5c(0xf7)](_0x1d7eb1,'')),_0x246b0a['set'](_0x4afadd,_0x48aca6[_0x1cae5c(0x146)](_0x5bb16e,'')),_0x13e973[_0x1cae5c(0xab)](_0x8582b4,_0x1d7eb1),_0x13e973[_0x1cae5c(0xab)](_0x4afadd,_0x5bb16e),_0x13e973['setFrameworksList']([_0x4afadd,_0x8582b4]),new Promise((_0x5b09ec,_0x34dd04)=>{const _0x5d9857=_0x1cae5c;this[_0x5d9857(0x9e)][_0x5d9857(0xbe)](_0x13e973,(_0x309616,_0x450b35)=>{const _0x16a419=_0x5d9857;if(_0x309616){this[_0x16a419(0x18e)][_0x16a419(0xcd)](_0x16a419(0xbb)+_0x309616[_0x16a419(0xc2)]),_0x48aca6['PDrPe'](_0x34dd04,_0x309616),PerformanceTester['end'](PerformanceEvents[_0x16a419(0x148)],![],util['format'](_0x309616));return;}this[_0x16a419(0x18e)][_0x16a419(0x16c)](_0x48aca6[_0x16a419(0x187)]),PerformanceTester['end'](PerformanceEvents[_0x16a419(0x148)]),_0x48aca6[_0x16a419(0xec)](_0x5b09ec,_0x450b35);});});}catch(_0x91d435){this[_0x1cae5c(0x18e)]['error']('Error\x20in\x20startBinSession:\x20'+util[_0x1cae5c(0xaf)](_0x91d435)),PerformanceTester[_0x1cae5c(0xef)](PerformanceEvents[_0x1cae5c(0x148)],![],util[_0x1cae5c(0xaf)](_0x91d435));throw _0x91d435;}}async[a74_0x2919a7(0x112)](){const _0x152d14=a74_0x2919a7,_0x15ef38={'JgtPa':function(_0x556485,_0x3c5a23){return _0x556485(_0x3c5a23);},'tmxhK':_0x152d14(0xc3),'VkAVU':_0x152d14(0x168),'yLRub':_0x152d14(0x12b),'dfGfC':'\x22userName\x22:\x22[REDACTED]\x22','oIDiv':'\x22accessKey\x22:\x22[REDACTED]\x22','zgxBZ':'\x22key\x22:\x22[REDACTED]\x22'};PerformanceTester[_0x152d14(0x118)](PerformanceEvents[_0x152d14(0xe0)]),this[_0x152d14(0x18e)][_0x152d14(0x16c)](_0x15ef38[_0x152d14(0x19b)]);try{!this['client']&&this[_0x152d14(0x18e)][_0x152d14(0x16c)](_0x15ef38[_0x152d14(0x10a)]);const _0x5d54ac=new messages[(_0x152d14(0x9a))]();_0x5d54ac[_0x152d14(0xbc)](this[_0x152d14(0x123)]);const _0x1bafcd=await new Promise((_0x42e476,_0x3aabc8)=>{const _0x5be4bd=_0x152d14;this[_0x5be4bd(0x9e)][_0x5be4bd(0x112)](_0x5d54ac,(_0x413776,_0x118da9)=>{const _0x5c8691=_0x5be4bd;if(_0x413776){this['logger'][_0x5c8691(0xcd)]('ConnectBinSession\x20error:\x20'+_0x413776[_0x5c8691(0xc2)]),_0x15ef38[_0x5c8691(0x14f)](_0x3aabc8,_0x413776),PerformanceTester['end'](PerformanceEvents['SDK_CONNECT_BIN_SESSION'],![],util[_0x5c8691(0xaf)](_0x413776));return;}this[_0x5c8691(0x18e)][_0x5c8691(0x16c)](_0x15ef38[_0x5c8691(0xed)]),PerformanceTester[_0x5c8691(0xef)](PerformanceEvents[_0x5c8691(0xe0)]),_0x15ef38[_0x5c8691(0x14f)](_0x42e476,_0x118da9);});}),_0x690fa2=util[_0x152d14(0xaf)](_0x1bafcd)[_0x152d14(0xde)](/"userName":"[^"]*"/g,_0x15ef38[_0x152d14(0xfc)])[_0x152d14(0xde)](/"accessKey":"[^"]*"/g,_0x15ef38[_0x152d14(0x119)])[_0x152d14(0xde)](/"key":"[^"]*"/g,_0x15ef38[_0x152d14(0x198)]);return this['logger'][_0x152d14(0xa1)](_0x152d14(0x132)+_0x690fa2),_0x1bafcd;}catch(_0x31a30e){PerformanceTester[_0x152d14(0xef)](PerformanceEvents[_0x152d14(0xe0)],![],util[_0x152d14(0xaf)](_0x31a30e)),this[_0x152d14(0x18e)][_0x152d14(0xcd)](_0x152d14(0x100)+util[_0x152d14(0xaf)](_0x31a30e));throw _0x31a30e;}}async[a74_0x2919a7(0x117)](_0x1b63b9={},_0x55782b=null){const _0xf5af66=a74_0x2919a7,_0x97aac9={'zmCRO':function(_0xde60af,_0x106bfa){return _0xde60af(_0x106bfa);},'YGpyH':_0xf5af66(0xa8),'adltT':function(_0x4e5ab0,_0x3b629e){return _0x4e5ab0(_0x3b629e);},'RQmcX':_0xf5af66(0x105),'aLxDY':_0xf5af66(0x165),'GNHbE':_0xf5af66(0x12b),'ThgxG':_0xf5af66(0xe2)};PerformanceTester[_0xf5af66(0x118)](PerformanceEvents[_0xf5af66(0x160)]),this['logger'][_0xf5af66(0x16c)](_0x97aac9[_0xf5af66(0x175)]);try{if(!this[_0xf5af66(0x123)])throw new Error(_0x97aac9[_0xf5af66(0x9c)]);!this[_0xf5af66(0x9e)]&&this[_0xf5af66(0x18e)][_0xf5af66(0x16c)](_0x97aac9['GNHbE']);const _0x29c2ed=new messages['StopBinSessionRequest']();this[_0xf5af66(0x18e)]['debug'](_0xf5af66(0x120)+JSON[_0xf5af66(0x11b)](_0x55782b)),_0x29c2ed[_0xf5af66(0xbc)](this['binSessionId']),_0x29c2ed[_0xf5af66(0x15f)](_0x1b63b9),_0x29c2ed[_0xf5af66(0x171)](_0x55782b?_0x55782b:null),_0x29c2ed[_0xf5af66(0x178)](_0x55782b?_0x97aac9['ThgxG']:null),_0x29c2ed['setExitCode'](_0x55782b?0x1:0x0);const _0x5f3665=await new Promise((_0x2f3f34,_0x5de8c5)=>{const _0x2924b4=_0xf5af66;this[_0x2924b4(0x9e)][_0x2924b4(0x117)](_0x29c2ed,(_0x1f366c,_0x55ffc7)=>{const _0x41024a=_0x2924b4;if(_0x1f366c){this[_0x41024a(0x18e)][_0x41024a(0xcd)](_0x41024a(0x11f)+_0x1f366c['message']),_0x97aac9[_0x41024a(0xfa)](_0x5de8c5,_0x1f366c),PerformanceTester[_0x41024a(0xef)](PerformanceEvents[_0x41024a(0x160)],![],util['format'](_0x1f366c));return;}this[_0x41024a(0x18e)]['info'](_0x97aac9[_0x41024a(0x164)]),PerformanceTester[_0x41024a(0xef)](PerformanceEvents[_0x41024a(0x160)]),_0x97aac9['adltT'](_0x2f3f34,_0x55ffc7);});});return this['logger'][_0xf5af66(0xa1)]('stop-bin-session\x20response:\x20'+util['format'](_0x5f3665)),_0x5f3665;}catch(_0x2046a3){PerformanceTester[_0xf5af66(0xef)](PerformanceEvents[_0xf5af66(0x160)],![],util[_0xf5af66(0xaf)](_0x2046a3)),this['logger']['error'](_0xf5af66(0x128)+util[_0xf5af66(0xaf)](_0x2046a3));}}async['getPlaywrightConfig'](_0x19a421){const _0x59c1c7=a74_0x2919a7,_0x4275ac={'CQKXo':function(_0x37ed8b,_0x5821de){return _0x37ed8b(_0x5821de);},'dolqz':'PlaywrightConfig\x20request\x20successful','WkHTj':function(_0x379c2d,_0x515a77){return _0x379c2d(_0x515a77);},'lxBNk':_0x59c1c7(0x149),'zSbgL':_0x59c1c7(0x12b)};PerformanceTester[_0x59c1c7(0x118)](PerformanceEvents[_0x59c1c7(0x17c)]),this['logger']['info'](_0x4275ac['lxBNk']);try{!this['client']&&this[_0x59c1c7(0x18e)][_0x59c1c7(0x16c)](_0x4275ac[_0x59c1c7(0x183)]);const _0x509090=new messages['PlaywrightConfigRequest']();return _0x509090['setBinSessionId'](this['binSessionId']),_0x509090[_0x59c1c7(0x126)](JSON[_0x59c1c7(0x11b)](_0x19a421)),new Promise((_0x588e4e,_0x1083e1)=>{const _0x319b79=_0x59c1c7;this[_0x319b79(0x9e)][_0x319b79(0xd3)](_0x509090,(_0x6a7aef,_0x9c32b7)=>{const _0x3d5f61=_0x319b79;if(_0x6a7aef){this[_0x3d5f61(0x18e)][_0x3d5f61(0xcd)](_0x3d5f61(0xa9)+_0x6a7aef[_0x3d5f61(0xc2)]),_0x4275ac['CQKXo'](_0x1083e1,_0x6a7aef),PerformanceTester['end'](PerformanceEvents[_0x3d5f61(0x17c)],![],util[_0x3d5f61(0xaf)](_0x6a7aef));return;}this[_0x3d5f61(0x18e)][_0x3d5f61(0x16c)](_0x4275ac[_0x3d5f61(0x167)]),PerformanceTester[_0x3d5f61(0xef)](PerformanceEvents['SDK_AUTOMATION_FRAMEWORK_INIT']),_0x4275ac[_0x3d5f61(0x155)](_0x588e4e,_0x9c32b7);});});}catch(_0x6a0c75){PerformanceTester['end'](PerformanceEvents[_0x59c1c7(0x17c)],![],util[_0x59c1c7(0xaf)](_0x6a0c75)),this['logger'][_0x59c1c7(0xcd)](_0x59c1c7(0x14e)+util[_0x59c1c7(0xaf)](_0x6a0c75));throw _0x6a0c75;}}async[a74_0x2919a7(0x121)](_0x26d58e){const _0x5d8d60=a74_0x2919a7,_0x4c40b6={'iobxr':function(_0x167a9c,_0xd0c2cb){return _0x167a9c(_0xd0c2cb);},'IzNAl':_0x5d8d60(0x161),'Garmx':_0x5d8d60(0x127),'HbADh':'utf-8'};this['logger'][_0x5d8d60(0x16c)](_0x4c40b6['Garmx']);try{const _0x2bc4a9=Buffer['from'](JSON['stringify'](_0x26d58e[_0x5d8d60(0x156)]),_0x4c40b6[_0x5d8d60(0x11a)]),_0x785071=new messages[(_0x5d8d60(0x9f))](),_0x2d3a11=CLIUtils[_0x5d8d60(0x194)](),_0x2bad5d=_0x2d3a11[_0x5d8d60(0xf9)],_0x40c2d7=_0x2d3a11[_0x5d8d60(0xd1)];return _0x785071[_0x5d8d60(0xbc)](this[_0x5d8d60(0x123)]),_0x785071[_0x5d8d60(0xca)](0x0),_0x785071['setFrameworkName'](_0x2bad5d),_0x785071[_0x5d8d60(0x179)](_0x40c2d7),_0x785071[_0x5d8d60(0x191)](_0x26d58e[_0x5d8d60(0x18d)]),_0x785071[_0x5d8d60(0x190)](_0x2bc4a9),new Promise((_0x38bc1e,_0x23eab5)=>{const _0x36ee23=_0x5d8d60,_0x28c547={'yJymd':function(_0x131025,_0x52bde2){return _0x4c40b6['iobxr'](_0x131025,_0x52bde2);},'MigOc':_0x4c40b6[_0x36ee23(0x10f)]};this[_0x36ee23(0x9e)][_0x36ee23(0xb6)](_0x785071,(_0x1117c9,_0x463c06)=>{const _0x3ff55e=_0x36ee23;if(_0x1117c9){this[_0x3ff55e(0x18e)][_0x3ff55e(0xcd)](_0x3ff55e(0xcb)+_0x1117c9[_0x3ff55e(0xc2)]),_0x28c547[_0x3ff55e(0x172)](_0x23eab5,_0x1117c9);return;}this[_0x3ff55e(0x18e)][_0x3ff55e(0x16c)](_0x28c547[_0x3ff55e(0xb3)]),_0x28c547['yJymd'](_0x38bc1e,_0x463c06);});});}catch(_0x2e5b79){this[_0x5d8d60(0x18e)][_0x5d8d60(0xcd)]('Error\x20in\x20getAccessibilityConfig:\x20'+util[_0x5d8d60(0xaf)](_0x2e5b79));}}async[a74_0x2919a7(0x106)](_0x23ceb9){const _0x21e629=a74_0x2919a7,_0x3f2abe={'sdraE':function(_0x545b34,_0x3acc1a){return _0x545b34(_0x3acc1a);},'iPHgB':_0x21e629(0x109),'GDEDX':_0x21e629(0x163),'JklNi':_0x21e629(0x12b)};this[_0x21e629(0x18e)]['info'](_0x3f2abe[_0x21e629(0xc8)]);try{!this[_0x21e629(0x9e)]&&this[_0x21e629(0x18e)][_0x21e629(0x16c)](_0x3f2abe[_0x21e629(0x185)]);const {platformIndex:_0x5bf4d3,testFrameworkName:_0x2151d4,testFrameworkVersion:_0x23acbb,testFrameworkState:_0x44b150,testHookState:_0x890462,testUuid:_0x5da422,automationSession:_0x268676,capabilities:_0x4c45e5,executionContext:_0x56a187}=_0x23ceb9,_0x4e3371=new messages[(_0x21e629(0x11e))]();_0x4e3371[_0x21e629(0xbc)](this[_0x21e629(0x123)]),_0x4e3371[_0x21e629(0xca)](_0x5bf4d3),_0x4e3371[_0x21e629(0x196)](_0x2151d4),_0x4e3371[_0x21e629(0x17a)](_0x23acbb),_0x4e3371['setTestFrameworkState'](_0x44b150),_0x4e3371[_0x21e629(0xe4)](_0x890462),_0x4e3371['setTestUuid'](_0x5da422);const _0x21f8d1=new messages[(_0x21e629(0x11e))][(_0x21e629(0x113))]();_0x21f8d1[_0x21e629(0x125)](_0x268676[_0x21e629(0x193)]),_0x21f8d1[_0x21e629(0x19f)](_0x268676[_0x21e629(0xdf)]),_0x21f8d1['setFrameworkVersion'](_0x268676[_0x21e629(0xd4)]),_0x21f8d1[_0x21e629(0xbf)](_0x268676['frameworkSessionId']),_0x21f8d1[_0x21e629(0xfe)](_0x268676['ref']),_0x21f8d1[_0x21e629(0x191)](_0x268676[_0x21e629(0x18d)]),_0x4e3371['addAutomationSessions'](_0x21f8d1),_0x4e3371[_0x21e629(0x190)](_0x4c45e5);const _0x207e14=new messages['ExecutionContext']();return _0x207e14['setProcessId'](_0x56a187[_0x21e629(0x14d)]),_0x207e14[_0x21e629(0x124)](_0x56a187[_0x21e629(0x18f)]),_0x207e14[_0x21e629(0x133)](_0x56a187[_0x21e629(0x12d)]),_0x4e3371[_0x21e629(0x159)](_0x207e14),new Promise((_0x57a6ec,_0x180261)=>{const _0x502406=_0x21e629,_0x46304d={'iRWmi':function(_0x3708c6,_0x52f773){const _0x1441e5=a74_0x3d1a;return _0x3f2abe[_0x1441e5(0xe8)](_0x3708c6,_0x52f773);},'YidSK':_0x3f2abe['iPHgB']};this[_0x502406(0x9e)]['testSessionEvent'](_0x4e3371,(_0x1680ff,_0x169e8d)=>{const _0x4026f4=_0x502406;if(_0x1680ff){this[_0x4026f4(0x18e)][_0x4026f4(0xcd)](_0x4026f4(0x12c)+_0x1680ff[_0x4026f4(0xc2)]),_0x46304d['iRWmi'](_0x180261,_0x1680ff);return;}this[_0x4026f4(0x18e)][_0x4026f4(0x16c)](_0x46304d['YidSK']),_0x46304d['iRWmi'](_0x57a6ec,_0x169e8d);});});}catch(_0xae68b1){this[_0x21e629(0x18e)][_0x21e629(0xcd)](_0x21e629(0x176)+util['format'](_0xae68b1));throw _0xae68b1;}}async[a74_0x2919a7(0x12a)](_0x15376f){const _0x498382=a74_0x2919a7,_0x4aa4d1={'wZjqB':function(_0x5d6f59,_0x9c421d){return _0x5d6f59(_0x9c421d);},'RoZFK':_0x498382(0x13d),'fdegd':_0x498382(0x136),'cLjxd':_0x498382(0x12b)};this[_0x498382(0x18e)][_0x498382(0x16c)](_0x4aa4d1[_0x498382(0x104)]);try{!this['client']&&this[_0x498382(0x18e)][_0x498382(0x16c)](_0x4aa4d1[_0x498382(0x10e)]);const {platfromIndex:_0x22d2a2,testFrameworkName:_0x528deb,testFrameworkVersion:_0x58315c,testFrameworkState:_0x489cb1,hookState:_0x4b58df,startedAt:_0x3d6682,endedAt:_0x1e4dc8,uuid:_0x2a2086,eventJson:_0x1d4ed3,executionContext:_0x3f8101}=_0x15376f,_0x16abb5=new messages[(_0x498382(0x17f))]();_0x16abb5[_0x498382(0xbc)](this[_0x498382(0x123)]),_0x16abb5[_0x498382(0xca)](_0x22d2a2),_0x16abb5[_0x498382(0x196)](_0x528deb),_0x16abb5[_0x498382(0x17a)](_0x58315c),_0x16abb5['setTestFrameworkState'](_0x489cb1),_0x16abb5[_0x498382(0xe4)](_0x4b58df),_0x16abb5[_0x498382(0x153)](_0x3d6682),_0x16abb5[_0x498382(0xa5)](_0x1e4dc8),_0x16abb5[_0x498382(0x182)](_0x2a2086),_0x16abb5[_0x498382(0x19a)](_0x1d4ed3);const _0x7f6224=new messages[(_0x498382(0x13b))]();return _0x7f6224['setProcessId'](_0x3f8101[_0x498382(0x14d)]),_0x7f6224[_0x498382(0x124)](_0x3f8101[_0x498382(0x18f)]),_0x7f6224[_0x498382(0x133)](_0x3f8101['hash']),_0x16abb5[_0x498382(0x159)](_0x7f6224),new Promise((_0x162781,_0x259a4f)=>{const _0x316f04=_0x498382,_0x4691da={'acTaV':function(_0x44ac25,_0x18ea85){const _0x400d6f=a74_0x3d1a;return _0x4aa4d1[_0x400d6f(0x135)](_0x44ac25,_0x18ea85);},'FFMll':_0x4aa4d1[_0x316f04(0xf4)],'ZeWii':function(_0x2d15f2,_0x5ab706){const _0x301619=_0x316f04;return _0x4aa4d1[_0x301619(0x135)](_0x2d15f2,_0x5ab706);}};this[_0x316f04(0x9e)][_0x316f04(0x12a)](_0x16abb5,(_0x5c7744,_0x3deaff)=>{const _0x5d2447=_0x316f04;if(_0x5c7744){this[_0x5d2447(0x18e)][_0x5d2447(0xcd)](_0x5d2447(0xae)+_0x5c7744['message']),_0x4691da[_0x5d2447(0x162)](_0x259a4f,_0x5c7744);return;}this[_0x5d2447(0x18e)][_0x5d2447(0x16c)](_0x4691da[_0x5d2447(0x13c)]),_0x4691da['ZeWii'](_0x162781,_0x3deaff);});});}catch(_0x382beb){this['logger'][_0x498382(0xcd)](_0x498382(0x170)+util[_0x498382(0xaf)](_0x382beb));throw _0x382beb;}}async[a74_0x2919a7(0xdd)](_0xf9d1c1){const _0x10f46f=a74_0x2919a7,_0x4a8d2d={'QijDu':function(_0x576dda,_0x177fcc){return _0x576dda(_0x177fcc);},'pTttC':_0x10f46f(0x13f),'oQPyM':function(_0x422a2c,_0x27f280){return _0x422a2c(_0x27f280);},'uBIyM':'Sending\x20DriverInit','TvXOY':_0x10f46f(0x12b)};this[_0x10f46f(0x18e)]['info'](_0x4a8d2d['uBIyM']);try{!this[_0x10f46f(0x9e)]&&this[_0x10f46f(0x18e)][_0x10f46f(0x16c)](_0x4a8d2d[_0x10f46f(0x17e)]);const {platformIndex:_0x250703,ref:_0x358bf5,userInputParams:_0x2de540}=_0xf9d1c1,_0xb974ed=new messages[(_0x10f46f(0xd9))]();return _0xb974ed[_0x10f46f(0xbc)](this[_0x10f46f(0x123)]),_0xb974ed['setPlatformIndex'](_0x250703),_0xb974ed['setRef'](_0x358bf5),_0xb974ed[_0x10f46f(0x102)](_0x2de540),new Promise((_0xfc24e2,_0x3064c8)=>{const _0x1ad9ff=_0x10f46f;this[_0x1ad9ff(0x9e)][_0x1ad9ff(0xdd)](_0xb974ed,(_0x138fd4,_0x57bce2)=>{const _0x5f2790=_0x1ad9ff;if(_0x138fd4){this[_0x5f2790(0x18e)][_0x5f2790(0xcd)](_0x5f2790(0xcf)+_0x138fd4[_0x5f2790(0xc2)]),_0x4a8d2d['QijDu'](_0x3064c8,_0x138fd4);return;}this[_0x5f2790(0x18e)][_0x5f2790(0x16c)](_0x4a8d2d[_0x5f2790(0x130)]),_0x4a8d2d[_0x5f2790(0x17b)](_0xfc24e2,_0x57bce2);});});}catch(_0x5d7f61){this[_0x10f46f(0x18e)][_0x10f46f(0xcd)]('Error\x20in\x20DriverInit:\x20'+util[_0x10f46f(0xaf)](_0x5d7f61));throw _0x5d7f61;}}async['logCreatedEvent'](_0x33f4ec){const _0x392778=a74_0x2919a7,_0x373ab8={'aURDn':function(_0x50826a,_0x20a770){return _0x50826a===_0x20a770;},'rmwZl':function(_0x29d28f,_0x487068){return _0x29d28f(_0x487068);},'FCDug':_0x392778(0x150),'TnTJC':_0x392778(0x115),'JKACl':_0x392778(0x12b)};this[_0x392778(0x18e)][_0x392778(0x16c)](_0x373ab8[_0x392778(0x169)]);try{!this[_0x392778(0x9e)]&&this[_0x392778(0x18e)]['info'](_0x373ab8[_0x392778(0xb5)]);const {platformIndex:_0x528c0a,logs:_0x37734d}=_0x33f4ec,_0x36778b=new messages['LogCreatedEventRequest']();_0x36778b['setBinSessionId'](this[_0x392778(0x123)]),_0x36778b[_0x392778(0xca)](_0x528c0a);const _0x8e1917=_0x33f4ec[_0x392778(0x144)],_0x5e41f2=_0x33f4ec['testFrameworkVersion'],_0x10c9e3=_0x33f4ec[_0x392778(0x99)];return _0x37734d[_0x392778(0xb7)](_0x2c922b=>{const _0x8974ed=_0x392778,_0x498017=new messages[(_0x8974ed(0x184))]['LogEntry']();_0x498017[_0x8974ed(0x196)](_0x8e1917),_0x498017[_0x8974ed(0x17a)](_0x5e41f2),_0x498017[_0x8974ed(0x9b)](_0x10c9e3),_0x498017['setTimestamp'](_0x2c922b[_0x8974ed(0xb9)]),_0x498017['setUuid'](_0x2c922b['uuid']),_0x498017[_0x8974ed(0x13a)](_0x2c922b[_0x8974ed(0xd7)]),_0x373ab8[_0x8974ed(0xac)](_0x2c922b['attachment_type'],PLAYWRIGHT_TRACE_LOGS)?(_0x498017[_0x8974ed(0x182)](_0x2c922b[_0x8974ed(0xc4)]),_0x498017[_0x8974ed(0xf6)](new TextEncoder()[_0x8974ed(0x111)](JSON[_0x8974ed(0x11b)](_0x2c922b)))):_0x498017[_0x8974ed(0xf6)](new TextEncoder()[_0x8974ed(0x111)](_0x2c922b[_0x8974ed(0xc2)])),_0x498017[_0x8974ed(0x131)](_0x2c922b['level']),_0x498017['setFileName'](_0x2c922b?.[_0x8974ed(0x158)]||''),_0x498017[_0x8974ed(0x14c)](_0x2c922b?.[_0x8974ed(0x188)]||''),_0x498017[_0x8974ed(0x14b)](_0x2c922b?.[_0x8974ed(0x19c)]||0x0),_0x498017['setAttachmentType'](_0x2c922b?.[_0x8974ed(0x16e)]||''),_0x36778b['addLogs'](_0x498017);}),new Promise((_0x58b38a,_0x2c81ad)=>{const _0x40aa27=_0x392778;this[_0x40aa27(0x9e)]['logCreatedEvent'](_0x36778b,(_0x1ecdd9,_0x5dc2df)=>{const _0x1be4e4=_0x40aa27;if(_0x1ecdd9){this[_0x1be4e4(0x18e)]['error'](_0x1be4e4(0x19d)+_0x1ecdd9[_0x1be4e4(0xc2)]),_0x373ab8[_0x1be4e4(0xe1)](_0x2c81ad,_0x1ecdd9);return;}this['logger'][_0x1be4e4(0x16c)](_0x373ab8[_0x1be4e4(0xf8)]),_0x373ab8[_0x1be4e4(0xe1)](_0x58b38a,_0x5dc2df);});});}catch(_0x34939e){this['logger'][_0x392778(0xcd)](_0x392778(0xb8)+util[_0x392778(0xaf)](_0x34939e));throw _0x34939e;}}async['fetchDriverExecuteParamsEvent'](_0x2386ff,_0x499040,_0x34cd08){const _0x1aa07e=a74_0x2919a7,_0x5e6abc={'JbVNO':function(_0xd56d1e,_0x1f6c93){return _0xd56d1e(_0x1f6c93);},'HCZLG':_0x1aa07e(0xc5)};this[_0x1aa07e(0x18e)][_0x1aa07e(0xa1)](_0x1aa07e(0x157)+_0x2386ff+_0x1aa07e(0xd8)+_0x499040+_0x1aa07e(0xf3)+_0x34cd08);try{if(!this[_0x1aa07e(0x9e)])return this[_0x1aa07e(0x18e)][_0x1aa07e(0xa1)](_0x5e6abc[_0x1aa07e(0xe6)]),null;const _0x411644=new messages[(_0x1aa07e(0x141))]();return _0x411644[_0x1aa07e(0xbc)](_0x2386ff),_0x411644['setProduct'](_0x499040),_0x411644[_0x1aa07e(0x15d)](_0x34cd08),await new Promise(_0xf2cbdc=>{const _0x224426=_0x1aa07e;this[_0x224426(0x9e)][_0x224426(0xc1)](_0x411644,(_0x4945e0,_0x16690c)=>{const _0x375baa=_0x224426;if(_0x4945e0){this['logger']['debug'](_0x375baa(0xea)+_0x4945e0),_0x5e6abc[_0x375baa(0x197)](_0xf2cbdc,null);return;}this['logger'][_0x375baa(0xa1)](_0x375baa(0x101)+(_0x16690c[_0x375baa(0xa2)]&&_0x16690c[_0x375baa(0xa2)]())),_0x5e6abc[_0x375baa(0x197)](_0xf2cbdc,_0x16690c);});});}catch(_0x1f5ad1){return this[_0x1aa07e(0x18e)][_0x1aa07e(0xa1)]('Error\x20in\x20FetchDriverExecuteParamsEvent:\x20'+_0x1f5ad1),null;}}async[a74_0x2919a7(0x181)](_0x59908b){const _0x11c9e3=a74_0x2919a7,_0x351712={'gcUMV':function(_0x3e9844,_0x1fbaf3){return _0x3e9844(_0x1fbaf3);},'VbnZS':'ReportClientTroubleshootingError\x20successful','DBXEn':_0x11c9e3(0xc5)};this[_0x11c9e3(0x18e)][_0x11c9e3(0xa1)](_0x11c9e3(0xb4)+_0x59908b);try{if(!this[_0x11c9e3(0x9e)])return this[_0x11c9e3(0x18e)][_0x11c9e3(0xa1)](_0x351712[_0x11c9e3(0x174)]),null;const _0x5817b6=new messages['ReportClientTroubleshootingErrorRequest']();_0x5817b6['setBinSessionId'](this[_0x11c9e3(0x123)]),_0x5817b6['setErrorKey'](_0x59908b);const _0x285766=await new Promise((_0x2e55eb,_0x4e4882)=>{const _0x4f93bc=_0x11c9e3,_0x4db77b={'zGvDO':function(_0x15b632,_0x170fbc){return _0x351712['gcUMV'](_0x15b632,_0x170fbc);},'rjoEk':_0x351712[_0x4f93bc(0x16b)]};this[_0x4f93bc(0x9e)][_0x4f93bc(0x181)](_0x5817b6,(_0x3e9894,_0x4c53d8)=>{const _0x450312=_0x4f93bc;if(_0x3e9894){this[_0x450312(0x18e)][_0x450312(0xa1)](_0x450312(0x192)+_0x3e9894),_0x4db77b['zGvDO'](_0x4e4882,_0x3e9894);return;}this[_0x450312(0x18e)]['debug'](_0x4db77b[_0x450312(0xf5)]),_0x4db77b['zGvDO'](_0x2e55eb,_0x4c53d8);});});return _0x285766;}catch(_0x2a37a5){return this[_0x11c9e3(0x18e)][_0x11c9e3(0xa1)]('Error\x20in\x20ReportClientTroubleshootingError:\x20'+_0x2a37a5),null;}}async[a74_0x2919a7(0xaa)](){const _0x239e4a=a74_0x2919a7,_0x273553={'sRpgh':function(_0x49c240,_0x3d0499){return _0x49c240(_0x3d0499);},'VgwrP':_0x239e4a(0x16f),'PSRmt':function(_0x1cb54d,_0x362b5b){return _0x1cb54d(_0x362b5b);},'hOGYX':'Getting\x20AggregatedClientTroubleshootingErrors','CNaCY':_0x239e4a(0xc5)};this['logger']['debug'](_0x273553['hOGYX']);try{if(!this[_0x239e4a(0x9e)])return this[_0x239e4a(0x18e)][_0x239e4a(0xa1)](_0x273553[_0x239e4a(0xf0)]),null;const _0x2461b9=new messages[(_0x239e4a(0xda))]();_0x2461b9['setBinSessionId'](this[_0x239e4a(0x123)]);const _0x1b1732=await new Promise((_0x1f2b17,_0x43874b)=>{const _0x4478b8={'kGhFU':function(_0xba1dad,_0x362578){const _0x3857d6=a74_0x3d1a;return _0x273553[_0x3857d6(0x17d)](_0xba1dad,_0x362578);},'imnou':_0x273553['VgwrP'],'IgvPu':function(_0x400fdd,_0xbd57ec){const _0x1e182a=a74_0x3d1a;return _0x273553[_0x1e182a(0xfb)](_0x400fdd,_0xbd57ec);}};this['client']['getAggregatedClientTroubleshootingErrors'](_0x2461b9,(_0x4bde78,_0x28b0c9)=>{const _0x22a1b7=a74_0x3d1a;if(_0x4bde78){this['logger'][_0x22a1b7(0xa1)](_0x22a1b7(0xa7)+_0x4bde78),_0x4478b8['kGhFU'](_0x43874b,_0x4bde78);return;}this[_0x22a1b7(0x18e)][_0x22a1b7(0xa1)](_0x4478b8[_0x22a1b7(0x12f)]),_0x4478b8[_0x22a1b7(0x137)](_0x1f2b17,_0x28b0c9);});});return _0x1b1732;}catch(_0x2d8c0a){return this[_0x239e4a(0x18e)]['debug'](_0x239e4a(0xa7)+_0x2d8c0a),null;}}[a74_0x2919a7(0xe9)](){const _0x1e32e9=a74_0x2919a7;return this[_0x1e32e9(0x9e)];}[a74_0x2919a7(0x12e)](){const _0x425e4e=a74_0x2919a7;return this[_0x425e4e(0x16d)];}}module[a74_0x2919a7(0xff)]=GrpcClient;
1
+ function a74_0x2237(){const _0x127b67=['No\x20gRPC\x20client\x20initialized.','AccessibilityConfig\x20error:\x20','startBinSession','getEnvVarsMap','Missing\x20binSessionId','debug','DriverInitRequest','kUqPg','setCustomMetadata','PElHt','Xxvrz','format','getAccessibilityConfig',',\x20parsedConfig=','fileSize','249300vrxaBX','Error\x20in\x20FetchDriverExecuteParamsEvent:\x20','threadId','frameworkSessionId','SDK_AUTOMATION_FRAMEWORK_INIT','gXUhl','setTestFrameworkVersion','DJEcX','kAZJU','path','cwd','iXpLo','cBgwm','setUserInputParams','Error\x20in\x20TestSessionEvent:\x20','client','4814037yLKTSu','setBinSessionId','getClient','error','setExitCode','dFlkF','getSuccess','null','PlaywrightConfig\x20request\x20successful','Getting\x20AggregatedClientTroubleshootingErrors','@grpc/grpc-js','playwrightConfig','DFyjg','Error\x20in\x20ReportClientTroubleshootingError:\x20','87laKSVj','kind','RLAgE','getTestFrameworkDetail','AccessibilityConfig\x20request\x20successful','entries','replace','stopBinSession','setMessage','SDKClient','SDK_CLI_ON_STOP','setTestFrameworkState','getFrameworkVersionsMap','channel','setConfig','HAwdG','from','lGJVn','WohzB','yNPWC','setFileSize','processId','setTimestamp','StartBinSessionRequest','getInstance','env','setThreadId','version','setTestHookState','setTestUuid','setEndedAt','LogCreatedEvent\x20error:\x20','DriverInit\x20request\x20successful','setUuid','setScriptName','OmAEv','start','end','HRqNs','testFrameworkEvent','ConnectBinSession\x20successful','../../helpers/performance/performance-tester.js','Error\x20in\x20getAccessibilityConfig:\x20','WJNwJ','wVCVE','setStartedAt','BROWSERSTACK_CONFIG_FILE_PATH','CbzhR','AqOGI','wndiL','utf-8','MdgVN','LogCreatedEvent\x20request\x20successful','StartBinSession\x20error:\x20','hubUrl','reportClientTroubleshootingError','../../../generated/sdk-messages_pb','ccIUa','setSdkVersion','LogEntry','Error\x20in\x20startBinSession:\x20','jTRrz','BROWSERSTACK_CLI_BIN_SESSION_ID','hash','Stopping\x20signal\x20','yhOrX','frameworkVersion','winstonLogger','\x22key\x22:\x22[REDACTED]\x22','setExitSignal','UBIpr','\x20and\x20listen\x20address:\x20','khFde','testFrameworkName','setErrorKey','wmMOo','browserstack.yml','yGxtx','slice','ReportClientTroubleshootingErrorRequest','VgqMk','Unable\x20to\x20determine\x20gRPC\x20server\x20listen\x20address','qlxuM','setCapabilities','uncdy','timestamp','Sdqqy','Unable\x20to\x20find\x20listen\x20addr\x20or\x20bin\x20session\x20id\x20binSessionId:\x20','lkaEZ','YfpFm','67223tLGnCX','StopBinSession\x20successful','ConnectBinSession\x20error:\x20','Error\x20in\x20DriverInit:\x20','365764uDadRz','Error\x20in\x20LogCreatedEvent:\x20','72YfCjoR','GetAggregatedClientTroubleshootingErrors\x20successful','BHfGh','setHash','TestFrameworkEventRequest','143qEjLXF','dphgD','Reporting\x20ClientTroubleshootingError\x20','push','BGlZk','oXvAJ','driverInit','562880OsRJhJ','YRocx','listenAddress','getBrowserstackCliConfig','connect-bin-session\x20response:\x20','browserstackConfigFile','setExecutionContext','setFrameworkVersion','PlaywrightConfigRequest','binHY','GrpcClient','Error\x20in\x20GetAggregatedClientTroubleshootingErrors:\x20',',\x20scriptName=','YIkHu','DWlob','getPlaywrightConfig','setLanguage','Channel','TestSessionEvent\x20error:\x20','ExecutionContext','uuid','getSdkVersion','No\x20gRPC\x20client\x20not\x20initialized.','connectBinSession','OszPQ','logger','Sending\x20LogCreatedEvent','CEtRJ','iOwXh','../../helpers/performance/constants','SDK_START_BIN_SESSION','\x22userName\x22:\x22[REDACTED]\x22','8xlbQkc','setCliArgs:\x20cliArgs=','level','Sending\x20TestSessionEvent','CMUjl','TestSessionEvent\x20request\x20successful','Connected\x20to\x20gRPC\x20server\x20at\x20','Initialized\x20gRPC\x20client\x20with\x20bin\x20session\x20id:\x20','TpwgK','logCreatedEvent','262XAysSW','36272dKhHMS','setFrameworkName','set','TZbAr','getAggregatedClientTroubleshootingErrors','setFilePath','stringify','setAttachmentType','setPathConfig','FetchDriverExecuteParamsEvent:\x20Calling\x20with\x20binSessionId=','message','launchcaps','user_killed','filePath','BROWSERSTACK_CLI_BIN_LISTEN_ADDR','uERxk','./browserstackCLI.js','setPlatformIndex','setRef','resolve','DriverInit\x20error:\x20','getAutomationFrameworkDetail','name','forEach','accessibilityConfig','credentials','TestSessionEventRequest','HMmrl','AccessibilityConfigRequest','Dboix','LogCreatedEventRequest','binSessionId','StopBinSession\x20error:\x20','setExitReason','util','458eRWfRU','setTestFramework','264BkFXTq','test_run_uuid','zktoI','setTestFrameworkName','connect','ref','uICjq','setSdkLanguage','StopBinSessionRequest','Sending\x20TestFrameworkEvent','CrUMj','gSEUq','PlaywrightConfig\x20error:\x20','gAYGf','Xjjgd','setProcessId','encode','tropa','exports','wTEEY','testSessionEvent','setHubUrl','JEDIY','ARzoy','createInsecure','startBinSession:\x20Calling\x20startBinSession','TestFrameworkEvent\x20request\x20successful','SDK_CONNECT_BIN_SESSION','Connecting\x20bin\x20session','info'];a74_0x2237=function(){return _0x127b67;};return a74_0x2237();}const a74_0x13cf5b=a74_0x27cd;(function(_0x47b0bd,_0x4078d3){const _0x3db4c4=a74_0x27cd,_0x583895=_0x47b0bd();while(!![]){try{const _0x1c8d5e=-parseInt(_0x3db4c4(0x1b0))/0x1*(-parseInt(_0x3db4c4(0x1d4))/0x2)+-parseInt(_0x3db4c4(0x221))/0x3*(-parseInt(_0x3db4c4(0x1b1))/0x4)+-parseInt(_0x3db4c4(0x186))/0x5+parseInt(_0x3db4c4(0x17a))/0x6*(-parseInt(_0x3db4c4(0x178))/0x7)+-parseInt(_0x3db4c4(0x1a6))/0x8*(-parseInt(_0x3db4c4(0x213))/0x9)+-parseInt(_0x3db4c4(0x203))/0xa*(-parseInt(_0x3db4c4(0x17f))/0xb)+parseInt(_0x3db4c4(0x1d6))/0xc*(-parseInt(_0x3db4c4(0x174))/0xd);if(_0x1c8d5e===_0x4078d3)break;else _0x583895['push'](_0x583895['shift']());}catch(_0x54db68){_0x583895['push'](_0x583895['shift']());}}}(a74_0x2237,0x5038f));const util=require(a74_0x13cf5b(0x1d3)),logger=require('../../helpers/logger.js')[a74_0x13cf5b(0x15d)],grpc=require(a74_0x13cf5b(0x21d)),services=require('../../../generated/sdk_grpc_pb'),messages=require(a74_0x13cf5b(0x152)),path=require(a74_0x13cf5b(0x20c)),CLIUtils=require('./cliUtils.js'),{createClassLogger}=require('../../helpers/classLogger.js'),PerformanceTester=require(a74_0x13cf5b(0x143)),{EVENTS:PerformanceEvents}=require(a74_0x13cf5b(0x1a3)),{PLAYWRIGHT_TRACE_LOGS}=require('../utils/constants'),helper=require('../../helpers/helper.js');class GrpcClient{static #instance=null;['binSessionId']=null;[a74_0x13cf5b(0x188)]=null;[a74_0x13cf5b(0x22e)]=null;['client']=null;[a74_0x13cf5b(0x19f)]=createClassLogger(a74_0x13cf5b(0x190));constructor(){}static[a74_0x13cf5b(0x239)](){return!GrpcClient.#instance&&(GrpcClient.#instance=new GrpcClient()),GrpcClient.#instance;}['init'](_0x10df4f){const _0x32de04=a74_0x13cf5b,_0x5dbdbd={};_0x5dbdbd[_0x32de04(0x21f)]=function(_0x59b932,_0x2c3e0d){return _0x59b932||_0x2c3e0d;};const _0x476a23=_0x5dbdbd,{id:_0x2a4ffc,listen:_0x515247}=_0x10df4f;if(_0x476a23[_0x32de04(0x21f)](!_0x2a4ffc,!_0x515247))throw new Error(_0x32de04(0x171)+_0x2a4ffc+'\x20listenAddr:\x20'+_0x515247);this[_0x32de04(0x1d0)]=_0x2a4ffc,this[_0x32de04(0x188)]=_0x515247,process[_0x32de04(0x23a)][_0x32de04(0x158)]=this[_0x32de04(0x1d0)],process[_0x32de04(0x23a)][_0x32de04(0x1bf)]=this[_0x32de04(0x188)],this['connect'](),this[_0x32de04(0x19f)][_0x32de04(0x1f3)](_0x32de04(0x1ad)+this[_0x32de04(0x1d0)]+_0x32de04(0x161)+this['listenAddress']);}[a74_0x13cf5b(0x1da)](){const _0x10918b=a74_0x13cf5b,_0xcc7af2={};_0xcc7af2[_0x10918b(0x1e9)]=_0x10918b(0x16b);const _0x60bbbe=_0xcc7af2;let _0x264366=this[_0x10918b(0x188)];!_0x264366&&(_0x264366=process[_0x10918b(0x23a)][_0x10918b(0x1bf)]);!this['binSessionId']&&(this[_0x10918b(0x1d0)]=this[_0x10918b(0x1d0)]||process[_0x10918b(0x23a)][_0x10918b(0x158)]);if(!_0x264366)throw new Error(_0x60bbbe[_0x10918b(0x1e9)]);const _0x3a059e={};_0x3a059e['grpc.keepalive_time_ms']=0x2710,this[_0x10918b(0x22e)]=new grpc[(_0x10918b(0x197))](_0x264366,grpc[_0x10918b(0x1ca)]['createInsecure'](),_0x3a059e),this[_0x10918b(0x212)]=new services[(_0x10918b(0x22a))](_0x264366,grpc[_0x10918b(0x1ca)][_0x10918b(0x1ee)]()),this['logger']['info'](_0x10918b(0x1ac)+_0x264366);}async['startBinSession'](){const _0x30c213=a74_0x13cf5b,_0x4d6f0a={'binHY':function(_0x7c79da,_0x34847e){return _0x7c79da!==_0x34847e;},'lnWxS':function(_0x55b304,_0x1d94f4){return _0x55b304!==_0x1d94f4;},'TpwgK':function(_0xfb24c9,_0x12cc6b){return _0xfb24c9(_0x12cc6b);},'WJNwJ':'StartBinSession\x20successful','bgekL':function(_0xf87225,_0x197c74){return _0xf87225(_0x197c74);},'uZHoY':_0x30c213(0x1ef),'cBgwm':_0x30c213(0x19c),'JEDIY':function(_0x1666ca,_0x29ced4){return _0x1666ca(_0x29ced4);},'gXUhl':_0x30c213(0x1c1),'tropa':function(_0x1d64e3,_0x21c171){return _0x1d64e3 instanceof _0x21c171;},'Sdqqy':function(_0x53e3bd,_0x5e7d85){return _0x53e3bd===_0x5e7d85;},'Xxvrz':_0x30c213(0x18b),'CMUjl':_0x30c213(0x166),'iOwXh':_0x30c213(0x21a),'BHfGh':function(_0x2db987,_0x3c2bdf){return _0x2db987||_0x3c2bdf;}};PerformanceTester[_0x30c213(0x13e)](PerformanceEvents[_0x30c213(0x1a4)]),this[_0x30c213(0x19f)][_0x30c213(0x1f3)](_0x4d6f0a['uZHoY']);try{!this['client']&&this[_0x30c213(0x19f)][_0x30c213(0x1f3)](_0x4d6f0a[_0x30c213(0x20f)]);const _0x41559f=CLIUtils[_0x30c213(0x19b)](),_0x554d45=CLIUtils[_0x30c213(0x1c6)](),_0x49fdf9=CLIUtils[_0x30c213(0x224)](),_0x1c98c8=_0x554d45[_0x30c213(0x1c7)],_0x306458=_0x554d45[_0x30c213(0x23c)],_0x43861a=_0x49fdf9[_0x30c213(0x1c7)],_0x279557=_0x49fdf9[_0x30c213(0x23c)]?_0x49fdf9['version'][_0x43861a]:'',_0x590ed4=new messages[(_0x30c213(0x238))]();_0x590ed4[_0x30c213(0x214)](this[_0x30c213(0x1d0)]),_0x590ed4[_0x30c213(0x1dd)](CLIUtils['getSdkLanguage']()),_0x590ed4[_0x30c213(0x154)](_0x41559f),_0x590ed4['setPathProject'](process[_0x30c213(0x20d)]());const _0x5a947d=_0x590ed4[_0x30c213(0x1f7)]();Object[_0x30c213(0x226)](process[_0x30c213(0x23a)])[_0x30c213(0x1c8)](([_0x74038b,_0x4a5178])=>{const _0x18b0f5=_0x30c213;_0x4d6f0a[_0x18b0f5(0x18f)](_0x4a5178,undefined)&&_0x4d6f0a['lnWxS'](_0x4a5178,null)&&_0x5a947d[_0x18b0f5(0x1b3)](_0x74038b,_0x4a5178);});const _0x5cf90a=_0x4d6f0a[_0x30c213(0x1ec)](require,_0x4d6f0a[_0x30c213(0x208)]),_0x28eca9=_0x5cf90a[_0x30c213(0x239)]()[_0x30c213(0x189)](),_0x428fd5=[];_0x28eca9&&_0x4d6f0a[_0x30c213(0x1e7)](_0x28eca9,Map)&&_0x28eca9[_0x30c213(0x1c8)]((_0x3fe3eb,_0x5b7d48)=>{const _0x2421b4=_0x30c213;_0x428fd5[_0x2421b4(0x182)](_0x5b7d48+'='+_0x3fe3eb);});const _0x4f8311=process['argv'][_0x30c213(0x168)](0x2);_0x590ed4['setCliArgsList']([..._0x4f8311,..._0x428fd5]);let _0x64fd2c=null;if(_0x28eca9)for(const [_0x3a20df,_0x383f3b]of _0x28eca9){if(_0x4d6f0a[_0x30c213(0x170)](_0x3a20df,_0x4d6f0a[_0x30c213(0x1fe)])){_0x64fd2c=_0x383f3b;break;}}if(_0x64fd2c)_0x590ed4[_0x30c213(0x1b9)](_0x64fd2c);else process[_0x30c213(0x23a)][_0x30c213(0x148)]?_0x590ed4[_0x30c213(0x1b9)](process['env'][_0x30c213(0x148)]):_0x590ed4[_0x30c213(0x1b9)](path[_0x30c213(0x1c4)](process[_0x30c213(0x20d)](),_0x4d6f0a[_0x30c213(0x1aa)]));this[_0x30c213(0x19f)][_0x30c213(0x1f3)](_0x30c213(0x1a7)+JSON['stringify'](_0x4f8311)+_0x30c213(0x201)+(_0x28eca9?JSON[_0x30c213(0x1b7)]([..._0x28eca9]):_0x4d6f0a[_0x30c213(0x1a2)])),_0x590ed4[_0x30c213(0x196)](CLIUtils['getSdkLanguage']()),_0x590ed4[_0x30c213(0x1d5)](_0x43861a);const _0x44eec7=_0x590ed4[_0x30c213(0x22d)]();return _0x44eec7['set'](_0x1c98c8,_0x4d6f0a[_0x30c213(0x17c)](_0x306458,'')),_0x44eec7[_0x30c213(0x1b3)](_0x43861a,_0x4d6f0a[_0x30c213(0x17c)](_0x279557,'')),_0x590ed4['addFrameworks'](_0x1c98c8,_0x306458),_0x590ed4['addFrameworks'](_0x43861a,_0x279557),_0x590ed4['setFrameworksList']([_0x43861a,_0x1c98c8]),new Promise((_0x553b66,_0x4e5a47)=>{const _0x1028bc=_0x30c213,_0x3052e8={'OszPQ':function(_0x2d6095,_0x3c77c9){const _0x3b2d28=a74_0x27cd;return _0x4d6f0a[_0x3b2d28(0x1ae)](_0x2d6095,_0x3c77c9);},'WohzB':_0x4d6f0a[_0x1028bc(0x145)],'dFlkF':function(_0x441ee8,_0x37d983){return _0x4d6f0a['bgekL'](_0x441ee8,_0x37d983);}};this[_0x1028bc(0x212)][_0x1028bc(0x1f6)](_0x590ed4,(_0x220016,_0x4e6df8)=>{const _0x11c0d3=_0x1028bc;if(_0x220016){this['logger'][_0x11c0d3(0x216)](_0x11c0d3(0x14f)+_0x220016[_0x11c0d3(0x1bb)]),_0x3052e8[_0x11c0d3(0x19e)](_0x4e5a47,_0x220016),PerformanceTester['end'](PerformanceEvents[_0x11c0d3(0x1a4)],![],util[_0x11c0d3(0x1ff)](_0x220016));return;}this[_0x11c0d3(0x19f)][_0x11c0d3(0x1f3)](_0x3052e8[_0x11c0d3(0x233)]),PerformanceTester[_0x11c0d3(0x13f)](PerformanceEvents['SDK_START_BIN_SESSION']),_0x3052e8[_0x11c0d3(0x218)](_0x553b66,_0x4e6df8);});});}catch(_0x5203ec){this[_0x30c213(0x19f)][_0x30c213(0x216)](_0x30c213(0x156)+util[_0x30c213(0x1ff)](_0x5203ec)),PerformanceTester['end'](PerformanceEvents[_0x30c213(0x1a4)],![],util[_0x30c213(0x1ff)](_0x5203ec));throw _0x5203ec;}}async[a74_0x13cf5b(0x19d)](){const _0x593901=a74_0x13cf5b,_0x441878={'wVCVE':function(_0x216223,_0x41044b){return _0x216223(_0x41044b);},'gAYGf':_0x593901(0x142),'YTLKW':_0x593901(0x1f2),'pjyFC':_0x593901(0x19c),'gSEUq':_0x593901(0x1a5),'BGlZk':'\x22accessKey\x22:\x22[REDACTED]\x22','KvdBw':_0x593901(0x15e)};PerformanceTester['start'](PerformanceEvents[_0x593901(0x1f1)]),this['logger']['info'](_0x441878['YTLKW']);try{!this[_0x593901(0x212)]&&this[_0x593901(0x19f)][_0x593901(0x1f3)](_0x441878['pjyFC']);const _0x5ecf51=new messages['ConnectBinSessionRequest']();_0x5ecf51[_0x593901(0x214)](this[_0x593901(0x1d0)]);const _0x1229a1=await new Promise((_0x34a046,_0x41a1b1)=>{const _0x2cc3aa=_0x593901;this[_0x2cc3aa(0x212)][_0x2cc3aa(0x19d)](_0x5ecf51,(_0x5b7a10,_0x5ac803)=>{const _0x302462=_0x2cc3aa;if(_0x5b7a10){this['logger'][_0x302462(0x216)](_0x302462(0x176)+_0x5b7a10[_0x302462(0x1bb)]),_0x441878[_0x302462(0x146)](_0x41a1b1,_0x5b7a10),PerformanceTester[_0x302462(0x13f)](PerformanceEvents['SDK_CONNECT_BIN_SESSION'],![],util[_0x302462(0x1ff)](_0x5b7a10));return;}this[_0x302462(0x19f)][_0x302462(0x1f3)](_0x441878[_0x302462(0x1e3)]),PerformanceTester[_0x302462(0x13f)](PerformanceEvents[_0x302462(0x1f1)]),_0x441878[_0x302462(0x146)](_0x34a046,_0x5ac803);});}),_0x439f74=util['format'](_0x1229a1)['replace'](/"userName":"[^"]*"/g,_0x441878[_0x593901(0x1e1)])[_0x593901(0x227)](/"accessKey":"[^"]*"/g,_0x441878[_0x593901(0x183)])['replace'](/"key":"[^"]*"/g,_0x441878['KvdBw']);return this[_0x593901(0x19f)]['debug'](_0x593901(0x18a)+_0x439f74),_0x1229a1;}catch(_0x44c7f7){PerformanceTester[_0x593901(0x13f)](PerformanceEvents[_0x593901(0x1f1)],![],util[_0x593901(0x1ff)](_0x44c7f7)),this[_0x593901(0x19f)][_0x593901(0x216)]('Error\x20in\x20connectBinSession:\x20'+util[_0x593901(0x1ff)](_0x44c7f7));throw _0x44c7f7;}}async[a74_0x13cf5b(0x228)](_0x329347={},_0x551626=null){const _0x13b2db=a74_0x13cf5b,_0x4aa1ce={'VgqMk':function(_0x448a8e,_0xbe3d71){return _0x448a8e(_0xbe3d71);},'Dboix':_0x13b2db(0x175),'iKWHW':'Stopping\x20bin\x20session','KznXS':_0x13b2db(0x1f8),'PElHt':_0x13b2db(0x19c),'iXpLo':_0x13b2db(0x1bd)};PerformanceTester['start'](PerformanceEvents['SDK_CLI_ON_STOP']),this[_0x13b2db(0x19f)][_0x13b2db(0x1f3)](_0x4aa1ce['iKWHW']);try{if(!this['binSessionId'])throw new Error(_0x4aa1ce['KznXS']);!this[_0x13b2db(0x212)]&&this[_0x13b2db(0x19f)][_0x13b2db(0x1f3)](_0x4aa1ce[_0x13b2db(0x1fd)]);const _0x157912=new messages[(_0x13b2db(0x1de))]();this[_0x13b2db(0x19f)][_0x13b2db(0x1f9)](_0x13b2db(0x15a)+JSON['stringify'](_0x551626)),_0x157912[_0x13b2db(0x214)](this['binSessionId']),_0x157912[_0x13b2db(0x1fc)](_0x329347),_0x157912[_0x13b2db(0x15f)](_0x551626?_0x551626:null),_0x157912[_0x13b2db(0x1d2)](_0x551626?_0x4aa1ce[_0x13b2db(0x20e)]:null),_0x157912[_0x13b2db(0x217)](_0x551626?0x1:0x0);const _0x1c6fc5=await new Promise((_0x4f52b8,_0x3f6fd9)=>{const _0x37937a=_0x13b2db;this[_0x37937a(0x212)][_0x37937a(0x228)](_0x157912,(_0x38fa80,_0x1afe88)=>{const _0x217ea7=_0x37937a;if(_0x38fa80){this[_0x217ea7(0x19f)]['error'](_0x217ea7(0x1d1)+_0x38fa80[_0x217ea7(0x1bb)]),_0x4aa1ce[_0x217ea7(0x16a)](_0x3f6fd9,_0x38fa80),PerformanceTester[_0x217ea7(0x13f)](PerformanceEvents[_0x217ea7(0x22b)],![],util['format'](_0x38fa80));return;}this[_0x217ea7(0x19f)][_0x217ea7(0x1f3)](_0x4aa1ce[_0x217ea7(0x1ce)]),PerformanceTester['end'](PerformanceEvents['SDK_CLI_ON_STOP']),_0x4aa1ce[_0x217ea7(0x16a)](_0x4f52b8,_0x1afe88);});});return this['logger'][_0x13b2db(0x1f9)]('stop-bin-session\x20response:\x20'+util[_0x13b2db(0x1ff)](_0x1c6fc5)),_0x1c6fc5;}catch(_0x5e07e0){PerformanceTester[_0x13b2db(0x13f)](PerformanceEvents['SDK_CLI_ON_STOP'],![],util['format'](_0x5e07e0)),this[_0x13b2db(0x19f)][_0x13b2db(0x216)]('Error\x20in\x20stopBinSession:\x20'+util[_0x13b2db(0x1ff)](_0x5e07e0));}}async[a74_0x13cf5b(0x195)](_0x459b41){const _0x4b2a4e=a74_0x13cf5b,_0x5cad8b={'oVEYG':function(_0x12a567,_0x28b767){return _0x12a567(_0x28b767);},'lkaEZ':_0x4b2a4e(0x21b),'CrUMj':function(_0x5daff8,_0x712c03){return _0x5daff8(_0x712c03);},'YyjEy':'Getting\x20Playwright\x20config','yhOrX':'No\x20gRPC\x20client\x20not\x20initialized.'};PerformanceTester[_0x4b2a4e(0x13e)](PerformanceEvents[_0x4b2a4e(0x207)]),this['logger'][_0x4b2a4e(0x1f3)](_0x5cad8b['YyjEy']);try{!this[_0x4b2a4e(0x212)]&&this[_0x4b2a4e(0x19f)][_0x4b2a4e(0x1f3)](_0x5cad8b[_0x4b2a4e(0x15b)]);const _0xaa354d=new messages[(_0x4b2a4e(0x18e))]();return _0xaa354d[_0x4b2a4e(0x214)](this[_0x4b2a4e(0x1d0)]),_0xaa354d[_0x4b2a4e(0x22f)](JSON['stringify'](_0x459b41)),new Promise((_0x1997e2,_0x352222)=>{const _0x25e147=_0x4b2a4e,_0x4d7731={'aEkgk':function(_0x326fa2,_0x41c5b6){return _0x5cad8b['oVEYG'](_0x326fa2,_0x41c5b6);},'YIkHu':_0x5cad8b[_0x25e147(0x172)],'uncdy':function(_0x58f57d,_0x2186e3){const _0x15897d=_0x25e147;return _0x5cad8b[_0x15897d(0x1e0)](_0x58f57d,_0x2186e3);}};this[_0x25e147(0x212)][_0x25e147(0x21e)](_0xaa354d,(_0x3ffe18,_0x12f560)=>{const _0x19671c=_0x25e147;if(_0x3ffe18){this['logger'][_0x19671c(0x216)](_0x19671c(0x1e2)+_0x3ffe18[_0x19671c(0x1bb)]),_0x4d7731['aEkgk'](_0x352222,_0x3ffe18),PerformanceTester[_0x19671c(0x13f)](PerformanceEvents[_0x19671c(0x207)],![],util[_0x19671c(0x1ff)](_0x3ffe18));return;}this[_0x19671c(0x19f)][_0x19671c(0x1f3)](_0x4d7731[_0x19671c(0x193)]),PerformanceTester[_0x19671c(0x13f)](PerformanceEvents['SDK_AUTOMATION_FRAMEWORK_INIT']),_0x4d7731[_0x19671c(0x16e)](_0x1997e2,_0x12f560);});});}catch(_0x393308){PerformanceTester[_0x4b2a4e(0x13f)](PerformanceEvents[_0x4b2a4e(0x207)],![],util[_0x4b2a4e(0x1ff)](_0x393308)),this['logger'][_0x4b2a4e(0x216)]('Error\x20in\x20getPlaywrightConfig:\x20'+util['format'](_0x393308));throw _0x393308;}}async[a74_0x13cf5b(0x200)](_0x43b756){const _0x3c9ff9=a74_0x13cf5b,_0x318309={'kAZJU':function(_0x318606,_0x3294e0){return _0x318606(_0x3294e0);},'DWlob':_0x3c9ff9(0x225),'dphgD':function(_0xa2bc8b,_0x26a0a0){return _0xa2bc8b(_0x26a0a0);},'VeaTQ':'Getting\x20Accessibility\x20config','wmMOo':_0x3c9ff9(0x14c)};this[_0x3c9ff9(0x19f)]['info'](_0x318309['VeaTQ']);try{const _0x3215ae=Buffer[_0x3c9ff9(0x231)](JSON[_0x3c9ff9(0x1b7)](_0x43b756[_0x3c9ff9(0x1bc)]),_0x318309[_0x3c9ff9(0x165)]),_0x2d740f=new messages[(_0x3c9ff9(0x1cd))](),_0x55afe8=CLIUtils[_0x3c9ff9(0x1c6)](),_0x31cae2=_0x55afe8[_0x3c9ff9(0x1c7)],_0x270dda=_0x55afe8['version'];return _0x2d740f['setBinSessionId'](this[_0x3c9ff9(0x1d0)]),_0x2d740f[_0x3c9ff9(0x1c2)](0x0),_0x2d740f['setFrameworkName'](_0x31cae2),_0x2d740f[_0x3c9ff9(0x18d)](_0x270dda),_0x2d740f[_0x3c9ff9(0x1eb)](_0x43b756[_0x3c9ff9(0x150)]),_0x2d740f[_0x3c9ff9(0x16d)](_0x3215ae),new Promise((_0x4a5e8c,_0xe1c0c7)=>{const _0xb97f27=_0x3c9ff9;this[_0xb97f27(0x212)][_0xb97f27(0x1c9)](_0x2d740f,(_0x191299,_0x2b8cda)=>{const _0x4cf858=_0xb97f27;if(_0x191299){this[_0x4cf858(0x19f)]['error'](_0x4cf858(0x1f5)+_0x191299[_0x4cf858(0x1bb)]),_0x318309[_0x4cf858(0x20b)](_0xe1c0c7,_0x191299);return;}this[_0x4cf858(0x19f)][_0x4cf858(0x1f3)](_0x318309[_0x4cf858(0x194)]),_0x318309[_0x4cf858(0x180)](_0x4a5e8c,_0x2b8cda);});});}catch(_0x1db314){this['logger'][_0x3c9ff9(0x216)](_0x3c9ff9(0x144)+util[_0x3c9ff9(0x1ff)](_0x1db314));}}async[a74_0x13cf5b(0x1ea)](_0x2dc6b4){const _0x3c6cce=a74_0x13cf5b,_0x11dbd5={'YRocx':function(_0x1260ff,_0x3f964f){return _0x1260ff(_0x3f964f);},'aJHaS':_0x3c6cce(0x1ab),'HAwdG':_0x3c6cce(0x1a9),'MdgVN':_0x3c6cce(0x19c)};this[_0x3c6cce(0x19f)]['info'](_0x11dbd5[_0x3c6cce(0x230)]);try{!this[_0x3c6cce(0x212)]&&this['logger'][_0x3c6cce(0x1f3)](_0x11dbd5[_0x3c6cce(0x14d)]);const {platformIndex:_0x3d9308,testFrameworkName:_0x1079ac,testFrameworkVersion:_0x517cb8,testFrameworkState:_0x349d9d,testHookState:_0x2a3626,testUuid:_0x5442a6,automationSession:_0x4389d4,capabilities:_0xcaa2f3,executionContext:_0x1a046d}=_0x2dc6b4,_0x4ca009=new messages[(_0x3c6cce(0x1cb))]();_0x4ca009[_0x3c6cce(0x214)](this[_0x3c6cce(0x1d0)]),_0x4ca009[_0x3c6cce(0x1c2)](_0x3d9308),_0x4ca009[_0x3c6cce(0x1d9)](_0x1079ac),_0x4ca009['setTestFrameworkVersion'](_0x517cb8),_0x4ca009['setTestFrameworkState'](_0x349d9d),_0x4ca009[_0x3c6cce(0x23d)](_0x2a3626),_0x4ca009[_0x3c6cce(0x23e)](_0x5442a6);const _0x3474d8=new messages[(_0x3c6cce(0x1cb))]['AutomationSession']();_0x3474d8['setProvider'](_0x4389d4['provider']),_0x3474d8[_0x3c6cce(0x1b2)](_0x4389d4['frameworkName']),_0x3474d8[_0x3c6cce(0x18d)](_0x4389d4[_0x3c6cce(0x15c)]),_0x3474d8['setFrameworkSessionId'](_0x4389d4[_0x3c6cce(0x206)]),_0x3474d8[_0x3c6cce(0x1c3)](_0x4389d4[_0x3c6cce(0x1db)]),_0x3474d8['setHubUrl'](_0x4389d4[_0x3c6cce(0x150)]),_0x4ca009['addAutomationSessions'](_0x3474d8),_0x4ca009['setCapabilities'](_0xcaa2f3);const _0x43d4ed=new messages[(_0x3c6cce(0x199))]();return _0x43d4ed[_0x3c6cce(0x1e5)](_0x1a046d[_0x3c6cce(0x236)]),_0x43d4ed['setThreadId'](_0x1a046d[_0x3c6cce(0x205)]),_0x43d4ed[_0x3c6cce(0x17d)](_0x1a046d['hash']),_0x4ca009[_0x3c6cce(0x18c)](_0x43d4ed),new Promise((_0x5bb5a7,_0x29d07d)=>{const _0x3a235a=_0x3c6cce,_0x51072e={'YfpFm':function(_0x5b0538,_0x3a672a){const _0x40e188=a74_0x27cd;return _0x11dbd5[_0x40e188(0x187)](_0x5b0538,_0x3a672a);},'xryKJ':_0x11dbd5['aJHaS']};this[_0x3a235a(0x212)][_0x3a235a(0x1ea)](_0x4ca009,(_0x4da838,_0xfcf041)=>{const _0x2034f4=_0x3a235a;if(_0x4da838){this[_0x2034f4(0x19f)][_0x2034f4(0x216)](_0x2034f4(0x198)+_0x4da838[_0x2034f4(0x1bb)]),_0x51072e[_0x2034f4(0x173)](_0x29d07d,_0x4da838);return;}this[_0x2034f4(0x19f)]['info'](_0x51072e['xryKJ']),_0x51072e[_0x2034f4(0x173)](_0x5bb5a7,_0xfcf041);});});}catch(_0x7fdad5){this[_0x3c6cce(0x19f)][_0x3c6cce(0x216)](_0x3c6cce(0x211)+util[_0x3c6cce(0x1ff)](_0x7fdad5));throw _0x7fdad5;}}async[a74_0x13cf5b(0x141)](_0x1fb3cc){const _0x3f4744=a74_0x13cf5b,_0x5ed1ec={'CbzhR':function(_0x238667,_0x4610f9){return _0x238667(_0x4610f9);},'Xjjgd':_0x3f4744(0x1f0),'HMmrl':_0x3f4744(0x1df),'OmAEv':_0x3f4744(0x19c)};this[_0x3f4744(0x19f)][_0x3f4744(0x1f3)](_0x5ed1ec[_0x3f4744(0x1cc)]);try{!this[_0x3f4744(0x212)]&&this[_0x3f4744(0x19f)][_0x3f4744(0x1f3)](_0x5ed1ec[_0x3f4744(0x13d)]);const {platfromIndex:_0xe05fd7,testFrameworkName:_0x519b59,testFrameworkVersion:_0x51b13a,testFrameworkState:_0x4b67a5,hookState:_0x19aab3,startedAt:_0x2ddcc1,endedAt:_0x3247bb,uuid:_0x54f89a,eventJson:_0x45dc4a,executionContext:_0xb01061}=_0x1fb3cc,_0x202c12=new messages[(_0x3f4744(0x17e))]();_0x202c12[_0x3f4744(0x214)](this[_0x3f4744(0x1d0)]),_0x202c12[_0x3f4744(0x1c2)](_0xe05fd7),_0x202c12[_0x3f4744(0x1d9)](_0x519b59),_0x202c12[_0x3f4744(0x209)](_0x51b13a),_0x202c12[_0x3f4744(0x22c)](_0x4b67a5),_0x202c12['setTestHookState'](_0x19aab3),_0x202c12[_0x3f4744(0x147)](_0x2ddcc1),_0x202c12[_0x3f4744(0x23f)](_0x3247bb),_0x202c12['setUuid'](_0x54f89a),_0x202c12['setEventJson'](_0x45dc4a);const _0x161ee9=new messages['ExecutionContext']();return _0x161ee9[_0x3f4744(0x1e5)](_0xb01061[_0x3f4744(0x236)]),_0x161ee9[_0x3f4744(0x23b)](_0xb01061[_0x3f4744(0x205)]),_0x161ee9[_0x3f4744(0x17d)](_0xb01061[_0x3f4744(0x159)]),_0x202c12[_0x3f4744(0x18c)](_0x161ee9),new Promise((_0x5815cc,_0x52391d)=>{const _0x26cf34=_0x3f4744;this[_0x26cf34(0x212)][_0x26cf34(0x141)](_0x202c12,(_0x43d0eb,_0x2e52f1)=>{const _0x575372=_0x26cf34;if(_0x43d0eb){this['logger'][_0x575372(0x216)]('TestFrameworkEvent\x20error:\x20'+_0x43d0eb[_0x575372(0x1bb)]),_0x5ed1ec[_0x575372(0x149)](_0x52391d,_0x43d0eb);return;}this[_0x575372(0x19f)][_0x575372(0x1f3)](_0x5ed1ec[_0x575372(0x1e4)]),_0x5ed1ec[_0x575372(0x149)](_0x5815cc,_0x2e52f1);});});}catch(_0x5a9e94){this['logger']['error']('Error\x20in\x20TestFrameworkEvent:\x20'+util[_0x3f4744(0x1ff)](_0x5a9e94));throw _0x5a9e94;}}async[a74_0x13cf5b(0x185)](_0x389f34){const _0x1d28e8=a74_0x13cf5b,_0x4156de={'UBIpr':function(_0x40a36b,_0x4d4321){return _0x40a36b(_0x4d4321);},'wndiL':_0x1d28e8(0x13a),'AbbpK':'Sending\x20DriverInit','uICjq':_0x1d28e8(0x19c)};this[_0x1d28e8(0x19f)][_0x1d28e8(0x1f3)](_0x4156de['AbbpK']);try{!this[_0x1d28e8(0x212)]&&this[_0x1d28e8(0x19f)]['info'](_0x4156de[_0x1d28e8(0x1dc)]);const {platformIndex:_0x271424,ref:_0x119e9e,userInputParams:_0x3065e9}=_0x389f34,_0x288938=new messages[(_0x1d28e8(0x1fa))]();return _0x288938[_0x1d28e8(0x214)](this[_0x1d28e8(0x1d0)]),_0x288938[_0x1d28e8(0x1c2)](_0x271424),_0x288938[_0x1d28e8(0x1c3)](_0x119e9e),_0x288938[_0x1d28e8(0x210)](_0x3065e9),new Promise((_0x5eb13b,_0xe41bef)=>{const _0x4159b1=_0x1d28e8,_0x423274={'lGJVn':function(_0x29d494,_0x356dd9){return _0x4156de['UBIpr'](_0x29d494,_0x356dd9);},'uxaJt':_0x4156de[_0x4159b1(0x14b)],'uERxk':function(_0x18790a,_0x3d61f6){const _0x1dba1f=_0x4159b1;return _0x4156de[_0x1dba1f(0x160)](_0x18790a,_0x3d61f6);}};this['client'][_0x4159b1(0x185)](_0x288938,(_0x53f652,_0x5b980e)=>{const _0x124728=_0x4159b1;if(_0x53f652){this[_0x124728(0x19f)][_0x124728(0x216)](_0x124728(0x1c5)+_0x53f652[_0x124728(0x1bb)]),_0x423274[_0x124728(0x232)](_0xe41bef,_0x53f652);return;}this[_0x124728(0x19f)][_0x124728(0x1f3)](_0x423274['uxaJt']),_0x423274[_0x124728(0x1c0)](_0x5eb13b,_0x5b980e);});});}catch(_0x4b187f){this['logger'][_0x1d28e8(0x216)](_0x1d28e8(0x177)+util[_0x1d28e8(0x1ff)](_0x4b187f));throw _0x4b187f;}}async[a74_0x13cf5b(0x1af)](_0x2a8ed1){const _0x250914=a74_0x13cf5b,_0x5baf41={'ccIUa':function(_0x107d50,_0x554fb6){return _0x107d50===_0x554fb6;},'RLAgE':function(_0x483889,_0x5bde7c){return _0x483889(_0x5bde7c);},'HRqNs':_0x250914(0x14e),'JvngN':function(_0x20ea12,_0x4b949a){return _0x20ea12(_0x4b949a);},'qlxuM':_0x250914(0x1a0),'MEINk':'No\x20gRPC\x20client\x20not\x20initialized.'};this[_0x250914(0x19f)][_0x250914(0x1f3)](_0x5baf41[_0x250914(0x16c)]);try{!this[_0x250914(0x212)]&&this['logger'][_0x250914(0x1f3)](_0x5baf41['MEINk']);const {platformIndex:_0x3955b3,logs:_0x4199b9}=_0x2a8ed1,_0x39ad8f=new messages[(_0x250914(0x1cf))]();_0x39ad8f[_0x250914(0x214)](this[_0x250914(0x1d0)]),_0x39ad8f[_0x250914(0x1c2)](_0x3955b3);const _0x562b1c=_0x2a8ed1[_0x250914(0x163)],_0x1bdf3a=_0x2a8ed1['testFrameworkVersion'],_0x4adf59=_0x2a8ed1['testFrameworkState'];return _0x4199b9['forEach'](_0x3353ab=>{const _0x381b3d=_0x250914,_0x49c8a9=new messages[(_0x381b3d(0x1cf))][(_0x381b3d(0x155))]();_0x49c8a9['setTestFrameworkName'](_0x562b1c),_0x49c8a9[_0x381b3d(0x209)](_0x1bdf3a),_0x49c8a9[_0x381b3d(0x22c)](_0x4adf59),_0x49c8a9[_0x381b3d(0x237)](_0x3353ab[_0x381b3d(0x16f)]),_0x49c8a9[_0x381b3d(0x13b)](_0x3353ab[_0x381b3d(0x19a)]),_0x49c8a9['setKind'](_0x3353ab[_0x381b3d(0x222)]),_0x5baf41[_0x381b3d(0x153)](_0x3353ab['attachment_type'],PLAYWRIGHT_TRACE_LOGS)?(_0x49c8a9[_0x381b3d(0x13b)](_0x3353ab[_0x381b3d(0x1d7)]),_0x49c8a9[_0x381b3d(0x229)](new TextEncoder()[_0x381b3d(0x1e6)](JSON['stringify'](_0x3353ab)))):_0x49c8a9[_0x381b3d(0x229)](new TextEncoder()[_0x381b3d(0x1e6)](_0x3353ab[_0x381b3d(0x1bb)])),_0x49c8a9['setLevel'](_0x3353ab[_0x381b3d(0x1a8)]),_0x49c8a9['setFileName'](_0x3353ab?.['fileName']||''),_0x49c8a9[_0x381b3d(0x1b6)](_0x3353ab?.[_0x381b3d(0x1be)]||''),_0x49c8a9[_0x381b3d(0x235)](_0x3353ab?.[_0x381b3d(0x202)]||0x0),_0x49c8a9[_0x381b3d(0x1b8)](_0x3353ab?.['attachment_type']||''),_0x39ad8f['addLogs'](_0x49c8a9);}),new Promise((_0x392d1c,_0x4ead26)=>{const _0x1fd910=_0x250914;this[_0x1fd910(0x212)][_0x1fd910(0x1af)](_0x39ad8f,(_0x349250,_0x57d28e)=>{const _0x27461f=_0x1fd910;if(_0x349250){this['logger'][_0x27461f(0x216)](_0x27461f(0x240)+_0x349250[_0x27461f(0x1bb)]),_0x5baf41[_0x27461f(0x223)](_0x4ead26,_0x349250);return;}this[_0x27461f(0x19f)]['info'](_0x5baf41[_0x27461f(0x140)]),_0x5baf41['JvngN'](_0x392d1c,_0x57d28e);});});}catch(_0x505312){this[_0x250914(0x19f)]['error'](_0x250914(0x179)+util[_0x250914(0x1ff)](_0x505312));throw _0x505312;}}async['fetchDriverExecuteParamsEvent'](_0x57b708,_0x566896,_0x322e5a){const _0x529878=a74_0x13cf5b,_0x45e2d2={'ARzoy':function(_0x2b98f1,_0x32e889){return _0x2b98f1(_0x32e889);},'oAfKC':_0x529878(0x1f4)};this[_0x529878(0x19f)][_0x529878(0x1f9)](_0x529878(0x1ba)+_0x57b708+',\x20product='+_0x566896+_0x529878(0x192)+_0x322e5a);try{if(!this['client'])return this[_0x529878(0x19f)][_0x529878(0x1f9)](_0x45e2d2['oAfKC']),null;const _0x60049e=new messages['FetchDriverExecuteParamsEventRequest']();return _0x60049e['setBinSessionId'](_0x57b708),_0x60049e['setProduct'](_0x566896),_0x60049e[_0x529878(0x13c)](_0x322e5a),await new Promise(_0x224dd8=>{const _0x4acbb3=_0x529878,_0x54c058={'khFde':function(_0x4f122c,_0xea0167){const _0x5f05fb=a74_0x27cd;return _0x45e2d2[_0x5f05fb(0x1ed)](_0x4f122c,_0xea0167);}};this[_0x4acbb3(0x212)]['fetchDriverExecuteParamsEvent'](_0x60049e,(_0x411a7c,_0x20ccdd)=>{const _0xc1dc89=_0x4acbb3;if(_0x411a7c){this[_0xc1dc89(0x19f)]['debug']('Error\x20in\x20FetchDriverExecuteParamsEvent:\x20'+_0x411a7c),_0x54c058[_0xc1dc89(0x162)](_0x224dd8,null);return;}this[_0xc1dc89(0x19f)][_0xc1dc89(0x1f9)]('FetchDriverExecuteParamsEvent\x20successful\x20-\x20success='+(_0x20ccdd[_0xc1dc89(0x219)]&&_0x20ccdd[_0xc1dc89(0x219)]())),_0x54c058[_0xc1dc89(0x162)](_0x224dd8,_0x20ccdd);});});}catch(_0xe6895b){return this[_0x529878(0x19f)]['debug'](_0x529878(0x204)+_0xe6895b),null;}}async[a74_0x13cf5b(0x151)](_0xe88343){const _0x3e42f4=a74_0x13cf5b,_0x3218e6={'yNPWC':function(_0x42b0ec,_0x65a4a4){return _0x42b0ec(_0x65a4a4);},'oXvAJ':'ReportClientTroubleshootingError\x20successful','jTRrz':'No\x20gRPC\x20client\x20initialized.'};this[_0x3e42f4(0x19f)]['debug'](_0x3e42f4(0x181)+_0xe88343);try{if(!this[_0x3e42f4(0x212)])return this['logger'][_0x3e42f4(0x1f9)](_0x3218e6[_0x3e42f4(0x157)]),null;const _0x54a3b1=new messages[(_0x3e42f4(0x169))]();_0x54a3b1[_0x3e42f4(0x214)](this[_0x3e42f4(0x1d0)]),_0x54a3b1[_0x3e42f4(0x164)](_0xe88343);const _0xe35849=await new Promise((_0xd2f068,_0x45b978)=>{const _0x51b17e=_0x3e42f4,_0x22f867={'kUqPg':function(_0x397b97,_0x5b8755){const _0x3ec3fd=a74_0x27cd;return _0x3218e6[_0x3ec3fd(0x234)](_0x397b97,_0x5b8755);},'zktoI':_0x3218e6[_0x51b17e(0x184)]};this[_0x51b17e(0x212)][_0x51b17e(0x151)](_0x54a3b1,(_0x938a93,_0x4d2ee2)=>{const _0x4e4419=_0x51b17e;if(_0x938a93){this[_0x4e4419(0x19f)][_0x4e4419(0x1f9)](_0x4e4419(0x220)+_0x938a93),_0x22f867[_0x4e4419(0x1fb)](_0x45b978,_0x938a93);return;}this['logger'][_0x4e4419(0x1f9)](_0x22f867[_0x4e4419(0x1d8)]),_0x22f867[_0x4e4419(0x1fb)](_0xd2f068,_0x4d2ee2);});});return _0xe35849;}catch(_0x365567){return this[_0x3e42f4(0x19f)][_0x3e42f4(0x1f9)]('Error\x20in\x20ReportClientTroubleshootingError:\x20'+_0x365567),null;}}async[a74_0x13cf5b(0x1b5)](){const _0x21bb5f=a74_0x13cf5b,_0x441147={'TZbAr':function(_0x4fd27f,_0x3baeb1){return _0x4fd27f(_0x3baeb1);},'KPhSN':_0x21bb5f(0x17b),'yGxtx':_0x21bb5f(0x21c),'DJEcX':_0x21bb5f(0x1f4)};this[_0x21bb5f(0x19f)][_0x21bb5f(0x1f9)](_0x441147[_0x21bb5f(0x167)]);try{if(!this[_0x21bb5f(0x212)])return this['logger'][_0x21bb5f(0x1f9)](_0x441147[_0x21bb5f(0x20a)]),null;const _0x4bd953=new messages['GetAggregatedClientTroubleshootingErrorsRequest']();_0x4bd953['setBinSessionId'](this[_0x21bb5f(0x1d0)]);const _0xb19a8e=await new Promise((_0x158989,_0x558263)=>{const _0x7548b2={'AqOGI':function(_0x155842,_0x433077){const _0x2c2d23=a74_0x27cd;return _0x441147[_0x2c2d23(0x1b4)](_0x155842,_0x433077);},'CEtRJ':_0x441147['KPhSN'],'DqdAL':function(_0x1e7c4b,_0x359d3b){const _0x4497e=a74_0x27cd;return _0x441147[_0x4497e(0x1b4)](_0x1e7c4b,_0x359d3b);}};this['client']['getAggregatedClientTroubleshootingErrors'](_0x4bd953,(_0xe22ef4,_0x3f7529)=>{const _0x298ebd=a74_0x27cd;if(_0xe22ef4){this[_0x298ebd(0x19f)][_0x298ebd(0x1f9)]('Error\x20in\x20GetAggregatedClientTroubleshootingErrors:\x20'+_0xe22ef4),_0x7548b2[_0x298ebd(0x14a)](_0x558263,_0xe22ef4);return;}this[_0x298ebd(0x19f)]['debug'](_0x7548b2[_0x298ebd(0x1a1)]),_0x7548b2['DqdAL'](_0x158989,_0x3f7529);});});return _0xb19a8e;}catch(_0x4f3c04){return this[_0x21bb5f(0x19f)]['debug'](_0x21bb5f(0x191)+_0x4f3c04),null;}}[a74_0x13cf5b(0x215)](){return this['client'];}['getChannel'](){const _0x7068a4=a74_0x13cf5b;return this[_0x7068a4(0x22e)];}}function a74_0x27cd(_0x270f34,_0x27e1be){const _0x2237c1=a74_0x2237();return a74_0x27cd=function(_0x27cdb7,_0x44ccd5){_0x27cdb7=_0x27cdb7-0x13a;let _0x3aa338=_0x2237c1[_0x27cdb7];return _0x3aa338;},a74_0x27cd(_0x270f34,_0x27e1be);}module[a74_0x13cf5b(0x1e8)]=GrpcClient;
@@ -1 +1 @@
1
- function a75_0x3f24(_0x345f2b,_0x198e38){const _0x1fc22c=a75_0x1fc2();return a75_0x3f24=function(_0x3f24d4,_0x4f37a3){_0x3f24d4=_0x3f24d4-0x1d4;let _0x11e3b7=_0x1fc22c[_0x3f24d4];return _0x11e3b7;},a75_0x3f24(_0x345f2b,_0x198e38);}const a75_0xc94f92=a75_0x3f24;(function(_0x5858f4,_0x48c9a4){const _0x170e1a=a75_0x3f24,_0x34ae47=_0x5858f4();while(!![]){try{const _0x285a95=-parseInt(_0x170e1a(0x1de))/0x1+-parseInt(_0x170e1a(0x1e1))/0x2+-parseInt(_0x170e1a(0x1d9))/0x3*(-parseInt(_0x170e1a(0x1e5))/0x4)+-parseInt(_0x170e1a(0x1e3))/0x5*(parseInt(_0x170e1a(0x1d5))/0x6)+-parseInt(_0x170e1a(0x1da))/0x7+parseInt(_0x170e1a(0x1dd))/0x8*(parseInt(_0x170e1a(0x1df))/0x9)+-parseInt(_0x170e1a(0x1e8))/0xa*(-parseInt(_0x170e1a(0x1d4))/0xb);if(_0x285a95===_0x48c9a4)break;else _0x34ae47['push'](_0x34ae47['shift']());}catch(_0x2ee95a){_0x34ae47['push'](_0x34ae47['shift']());}}}(a75_0x1fc2,0x87ffd));function a75_0x1fc2(){const _0x40e344=['16688573CVNQmb','1905966dUMTgF','getFrameworkVersion','NONE','frameworkName','69tatBhF','5390329pSMGCp','exports','./trackedInstance','1632304AqHvOc','647525OzdZUL','27rDLxps','state','1223314VrKVvX','lastState','5CDbcxV','frameworkVersion','134728UxttCo','createdAt','../state/automationFrameworkState','10OfCBfE','2|4|1|3|0|5','setState'];a75_0x1fc2=function(){return _0x40e344;};return a75_0x1fc2();}const AutomationFrameworkState=require(a75_0xc94f92(0x1e7)),TrackedInstance=require(a75_0xc94f92(0x1dc)),now=new Date();class AutomationFrameworkInstance extends TrackedInstance{constructor(_0x5ac058,_0x1ff31c,_0x67faac,_0x476ba7){const _0x5a50bf=a75_0xc94f92,_0x9c1c5f={};_0x9c1c5f['xfUTy']=_0x5a50bf(0x1e9);const _0x2535b1=_0x9c1c5f,_0x5365e4=_0x2535b1['xfUTy']['split']('|');let _0x40fb06=0x0;while(!![]){switch(_0x5365e4[_0x40fb06++]){case'0':this['lastState']=AutomationFrameworkState[_0x5a50bf(0x1d7)];continue;case'1':this[_0x5a50bf(0x1e4)]=_0x67faac;continue;case'2':super(_0x5ac058);continue;case'3':this[_0x5a50bf(0x1e0)]=_0x476ba7;continue;case'4':this['frameworkName']=_0x1ff31c;continue;case'5':this[_0x5a50bf(0x1e6)]=now['toLocaleString']();continue;}break;}}['getFrameworkName'](){const _0x398035=a75_0xc94f92;return this[_0x398035(0x1d8)];}[a75_0xc94f92(0x1d6)](){const _0xe1430f=a75_0xc94f92;return this[_0xe1430f(0x1e4)];}['getState'](){const _0x2ac527=a75_0xc94f92;return this[_0x2ac527(0x1e0)];}[a75_0xc94f92(0x1ea)](_0x2ffa21){const _0x504c91=a75_0xc94f92;this[_0x504c91(0x1e2)]=this[_0x504c91(0x1e0)],this['state']=_0x2ffa21;}}module[a75_0xc94f92(0x1db)]=AutomationFrameworkInstance;
1
+ const a75_0x571fd0=a75_0x2715;function a75_0x3a6d(){const _0xfaed0=['0|2|4|3|5|1','6LwLNcD','12xQUYQm','lastState','11835570RUNOJd','3924945OSojpc','./trackedInstance','5007024mMHDAx','BcQqJ','getFrameworkName','getFrameworkVersion','133521xOBaPR','3011253NblrSi','2457768LgtRSq','5360283hCoEyo','exports','6WnSSGi','split','toLocaleString','getState','state','frameworkVersion','frameworkName','../state/automationFrameworkState','NONE'];a75_0x3a6d=function(){return _0xfaed0;};return a75_0x3a6d();}(function(_0x3264f9,_0x3ee795){const _0x8629a7=a75_0x2715,_0x2fb4fb=_0x3264f9();while(!![]){try{const _0xf4d47=parseInt(_0x8629a7(0x14b))/0x1*(-parseInt(_0x8629a7(0x15b))/0x2)+parseInt(_0x8629a7(0x15a))/0x3*(parseInt(_0x8629a7(0x14d))/0x4)+-parseInt(_0x8629a7(0x145))/0x5*(-parseInt(_0x8629a7(0x150))/0x6)+-parseInt(_0x8629a7(0x14c))/0x7+-parseInt(_0x8629a7(0x147))/0x8+-parseInt(_0x8629a7(0x14e))/0x9+parseInt(_0x8629a7(0x15d))/0xa;if(_0xf4d47===_0x3ee795)break;else _0x2fb4fb['push'](_0x2fb4fb['shift']());}catch(_0x1e523c){_0x2fb4fb['push'](_0x2fb4fb['shift']());}}}(a75_0x3a6d,0xb5cd4));const AutomationFrameworkState=require(a75_0x571fd0(0x157)),TrackedInstance=require(a75_0x571fd0(0x146)),now=new Date();function a75_0x2715(_0x1eb138,_0x433532){const _0x3a6d16=a75_0x3a6d();return a75_0x2715=function(_0x27151d,_0x552718){_0x27151d=_0x27151d-0x145;let _0x366fbd=_0x3a6d16[_0x27151d];return _0x366fbd;},a75_0x2715(_0x1eb138,_0x433532);}class AutomationFrameworkInstance extends TrackedInstance{constructor(_0x3b7e8c,_0x5c893d,_0x31518b,_0x255431){const _0xa35588=a75_0x571fd0,_0x11c870={};_0x11c870[_0xa35588(0x148)]=_0xa35588(0x159);const _0x3c99d4=_0x11c870,_0x472d0c=_0x3c99d4[_0xa35588(0x148)][_0xa35588(0x151)]('|');let _0x204aaf=0x0;while(!![]){switch(_0x472d0c[_0x204aaf++]){case'0':super(_0x3b7e8c);continue;case'1':this['createdAt']=now[_0xa35588(0x152)]();continue;case'2':this[_0xa35588(0x156)]=_0x5c893d;continue;case'3':this['state']=_0x255431;continue;case'4':this[_0xa35588(0x155)]=_0x31518b;continue;case'5':this[_0xa35588(0x15c)]=AutomationFrameworkState[_0xa35588(0x158)];continue;}break;}}[a75_0x571fd0(0x149)](){const _0x130bbe=a75_0x571fd0;return this[_0x130bbe(0x156)];}[a75_0x571fd0(0x14a)](){const _0x153685=a75_0x571fd0;return this[_0x153685(0x155)];}[a75_0x571fd0(0x153)](){const _0x2ab15d=a75_0x571fd0;return this[_0x2ab15d(0x154)];}['setState'](_0x302fbb){const _0x463f06=a75_0x571fd0;this[_0x463f06(0x15c)]=this['state'],this[_0x463f06(0x154)]=_0x302fbb;}}module[a75_0x571fd0(0x14f)]=AutomationFrameworkInstance;