browserstack-node-sdk 1.38.0 → 1.38.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +1 -1
- package/src/ai-sdk-node/bundle.js +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customSequencer.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/builderPatch.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/v2/TestInfo.js +1 -1
- package/src/bin/v2/browserstackCLI.js +1 -1
- package/src/bin/v2/cliUtils.js +1 -1
- package/src/bin/v2/customTagManager.js +1 -1
- package/src/bin/v2/eventDispatcher.js +1 -1
- package/src/bin/v2/framework/automationFramework.js +1 -1
- package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
- package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
- package/src/bin/v2/framework/testFramework.js +1 -1
- package/src/bin/v2/grpcClient.js +1 -1
- package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/trackedContext.js +1 -1
- package/src/bin/v2/instances/trackedInstance.js +1 -1
- package/src/bin/v2/modules/accessibilityModule.js +1 -1
- package/src/bin/v2/modules/baseModule.js +1 -1
- package/src/bin/v2/modules/observabilityModule.js +1 -1
- package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
- package/src/bin/v2/modules/testhubModule.js +1 -1
- package/src/bin/v2/state/automationFrameworkState.js +1 -1
- package/src/bin/v2/state/hookState.js +1 -1
- package/src/bin/v2/state/testFrameworkState.js +1 -1
- package/src/bin/v2/uploadAttachmentsManager.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
- package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/central-scanner/constants.js +1 -1
- package/src/helpers/central-scanner/helpers.js +1 -1
- package/src/helpers/classLogger.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/metadata.js +1 -1
- package/src/helpers/patchHelper.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance/constants.js +1 -1
- package/src/helpers/performance/performance-tester.js +1 -1
- package/src/helpers/processHelper.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/test-orchestration/constants.js +1 -1
- package/src/helpers/test-orchestration/failfastManager.js +1 -1
- package/src/helpers/test-orchestration/fileHelper.js +1 -1
- package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
- package/src/helpers/test-orchestration/requestUtils.js +1 -1
- package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
- package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
- package/src/helpers/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/timeoutPromise.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const a63_0x238b34=a63_0x49f7;function a63_0x49f7(_0x56f6a3,_0x2b89f2){const _0x1336e1=a63_0x1336();return a63_0x49f7=function(_0x49f70d,_0x5f20e7){_0x49f70d=_0x49f70d-0xbd;let _0x141580=_0x1336e1[_0x49f70d];return _0x141580;},a63_0x49f7(_0x56f6a3,_0x2b89f2);}(function(_0x31275c,_0x1cdd24){const _0x2aa222=a63_0x49f7,_0xbfcc34=_0x31275c();while(!![]){try{const _0x584f16=-parseInt(_0x2aa222(0x144))/0x1+parseInt(_0x2aa222(0x10a))/0x2+-parseInt(_0x2aa222(0x172))/0x3+-parseInt(_0x2aa222(0x11f))/0x4*(-parseInt(_0x2aa222(0x159))/0x5)+parseInt(_0x2aa222(0xf4))/0x6+parseInt(_0x2aa222(0x189))/0x7+-parseInt(_0x2aa222(0x18b))/0x8*(parseInt(_0x2aa222(0x131))/0x9);if(_0x584f16===_0x1cdd24)break;else _0xbfcc34['push'](_0xbfcc34['shift']());}catch(_0xaae0df){_0xbfcc34['push'](_0xbfcc34['shift']());}}}(a63_0x1336,0x66b5a));const TestFramework=require('./testFramework'),TestFrameworkState=require(a63_0x238b34(0xc7)),HookState=require(a63_0x238b34(0x100)),{createClassLogger}=require(a63_0x238b34(0x133)),TestFrameworkInstance=require(a63_0x238b34(0xd9)),CLIUtils=require('../cliUtils.js'),TrackedInstance=require(a63_0x238b34(0x157)),TestFrameworkConstants=require(a63_0x238b34(0xf0)),logger=createClassLogger('PlaywrightTestFramework'),{v4:uuidv4}=require('uuid'),util=require('util'),{getPlaywrightSessionName,getPlaywrightTestFilePath,getPlaywrightTestId,getPlaywrightTestTitle,getPlaywrightTestLocation,getPlaywrightTestTags,getPlaywrightTestCode,getPlaywrightTestScope,getPlaywrightTestScopes,getStepsAndLogs,getScreenshots,getPlaywrightCustomRerunParam,getMediaArtifactsLogs,getManualUploadLogs,updatePayloadForTraceLogs}=require('../../../helpers/helper.js'),TestInfo=require('../TestInfo.js'),GrpcClient=require(a63_0x238b34(0xef)),{removeAnsiColors,getFailureType,failureData}=require(a63_0x238b34(0x114)),{getFailureData,getTestTags}=require('../../playwright/reporter/pwUtils'),{findNestedKey,sendTraceZip,validateFilePath}=require('../../playwright/reporter/pwUtils'),path=require(a63_0x238b34(0xe2)),fs=require('fs'),helper=require(a63_0x238b34(0xf5)),{PLAYWRIGHT_TRACE_LOGS}=require(a63_0x238b34(0x179));class PlaywrightTestFramework extends TestFramework{constructor(_0x1b5ebf,_0x5e266a,_0x2abb0f){super(_0x1b5ebf,_0x5e266a,_0x2abb0f);}async[a63_0x238b34(0x14f)](_0xd232b0,_0x370d90,_0x41bdc7={}){const _0x19a626=a63_0x238b34,_0x30c478={};_0x30c478[_0x19a626(0x14d)]=function(_0x1ffbe0,_0x1f8997){return _0x1ffbe0===_0x1f8997;},_0x30c478[_0x19a626(0xff)]=function(_0xae32d0,_0x3d87b2){return _0xae32d0===_0x3d87b2;},_0x30c478['auftr']=_0x19a626(0xfd),_0x30c478[_0x19a626(0xc5)]=_0x19a626(0xd8);const _0x3f2175=_0x30c478;await super['trackEvent'](_0xd232b0,_0x370d90,_0x41bdc7);const _0x55a176=this[_0x19a626(0x160)](_0xd232b0,_0x370d90,_0x41bdc7);if(!_0x55a176)return;logger[_0x19a626(0x135)](_0x19a626(0x139)+_0xd232b0+_0x19a626(0x106)+_0x370d90+_0x19a626(0x16d)+_0x55a176['getRef']());try{if(_0x3f2175[_0x19a626(0x14d)](_0x370d90,HookState[_0x19a626(0x150)])&&_0x3f2175[_0x19a626(0x14d)](_0xd232b0,TestFrameworkState[_0x19a626(0x181)])){const _0x4652c9=_0x41bdc7[_0x19a626(0xfd)];logger[_0x19a626(0x135)](_0x19a626(0x11d)+_0x4652c9['id']+'}');const _0x3653fc=TestInfo[_0x19a626(0x186)](_0x4652c9['id']);_0x55a176['addMultipleEntries'](this[_0x19a626(0x15e)](_0x3653fc,_0x4652c9)),logger[_0x19a626(0x135)](_0x19a626(0x162)+_0x4652c9['id']+_0x19a626(0x118)+_0xd232b0+_0x19a626(0x141)+_0x370d90+_0x19a626(0x173)+_0x55a176[_0x19a626(0x11b)]());}if(_0x3f2175[_0x19a626(0xff)](_0x370d90,HookState[_0x19a626(0x12d)])&&_0x3f2175[_0x19a626(0x14d)](_0xd232b0,TestFrameworkState[_0x19a626(0x181)])){const _0x4ffbbe=_0x41bdc7[_0x19a626(0xfd)],_0x555906=_0x41bdc7[_0x19a626(0xed)];logger['debug'](_0x19a626(0xd5)+_0x4ffbbe['id']),_0x55a176['addMultipleEntries'](this[_0x19a626(0x129)](_0x4ffbbe['id'],_0x555906,_0x4ffbbe)),this['sendLogCreatedEvent'](_0x55a176,_0xd232b0,_0x370d90,_0x3f2175[_0x19a626(0x107)],_0x41bdc7);}if(CLIUtils['matchHookRegex'](_0xd232b0[_0x19a626(0xe5)]()[_0x19a626(0x117)]('.')[0x1])){const _0x436411=await this[_0x19a626(0xfb)](_0x55a176,_0xd232b0,_0x370d90,_0x41bdc7);_0x55a176[_0x19a626(0x134)](_0x436411);}}catch(_0x2f9b39){logger[_0x19a626(0x18a)](util[_0x19a626(0x12e)](_0x3f2175[_0x19a626(0xc5)],_0xd232b0,_0x370d90,_0x41bdc7[_0x19a626(0xd7)],_0x2f9b39));}_0x41bdc7[_0x19a626(0xcd)]=_0x55a176,await this[_0x19a626(0x16e)](_0x55a176,_0xd232b0,_0x370d90,_0x41bdc7);}[a63_0x238b34(0x160)](_0x1200a3,_0x5d73b9,_0x370452={}){const _0x101bca=a63_0x238b34,_0xe1389f={};_0xe1389f[_0x101bca(0x149)]=function(_0x434dcf,_0x1dddca){return _0x434dcf===_0x1dddca;},_0xe1389f[_0x101bca(0xc2)]=function(_0x5f48ff,_0x5edbed){return _0x5f48ff===_0x5edbed;};const _0x13dd7b=_0xe1389f;let _0x4c907f=null;return(_0x13dd7b[_0x101bca(0x149)](_0x1200a3,TestFrameworkState[_0x101bca(0x138)])||_0x13dd7b[_0x101bca(0xc2)](_0x1200a3,TestFrameworkState[_0x101bca(0x14e)]))&&this[_0x101bca(0x11c)](_0x1200a3,_0x370452),_0x4c907f=TestFramework[_0x101bca(0xc1)](),_0x4c907f;}[a63_0x238b34(0x11c)](_0x4b9503,_0x36b6c0){const _0xc84b4=a63_0x238b34,_0x5779ee=CLIUtils[_0xc84b4(0xdc)](),_0x328970=TrackedInstance[_0xc84b4(0x184)](_0x5779ee);let _0x4dc35b=null;logger[_0xc84b4(0x188)](_0xc84b4(0xcc)+_0x5779ee+_0xc84b4(0x15c)+_0x4b9503),_0x4dc35b=new TestFrameworkInstance(_0x328970,this['getTestFrameworks'](),this[_0xc84b4(0xc4)](),_0x4b9503,HookState[_0xc84b4(0x14e)]),TestFramework[_0xc84b4(0x18c)](_0x328970,_0x4dc35b),logger[_0xc84b4(0x188)](_0xc84b4(0xdb)+_0x328970[_0xc84b4(0xce)]()+_0xc84b4(0x11a)+_0x5779ee);}[a63_0x238b34(0x15e)](_0x197309,_0x450dbf){const _0x25f149=a63_0x238b34,_0x5efdae={'ObMpD':function(_0x41f0ca,_0x3bb221){return _0x41f0ca(_0x3bb221);},'jnXkV':function(_0x29254f,_0x322139){return _0x29254f(_0x322139);},'IDmmH':function(_0x18f385,_0xfbc87e){return _0x18f385(_0xfbc87e);},'QRmxz':function(_0x183af7,_0x355b6b){return _0x183af7(_0x355b6b);}},_0x63b917=_0x5efdae[_0x25f149(0x17b)](getPlaywrightTestId,_0x450dbf),_0x30065a=_0x5efdae['ObMpD'](getPlaywrightTestTitle,_0x450dbf),_0x2e986a=_0x5efdae['jnXkV'](getTestTags,_0x450dbf),_0x5ef536=_0x5efdae['IDmmH'](getPlaywrightTestCode,_0x450dbf),_0x3fdc07=_0x5efdae['ObMpD'](getPlaywrightTestFilePath,_0x450dbf),_0x497315=_0x3fdc07+':'+_0x5efdae[_0x25f149(0xe7)](getPlaywrightTestLocation,_0x450dbf),_0x5b815b=_0x5efdae[_0x25f149(0xe7)](getPlaywrightTestScope,_0x450dbf),_0x26672d=_0x5efdae[_0x25f149(0xf9)](getPlaywrightTestScopes,_0x450dbf),_0x4dd7d9=_0x5efdae[_0x25f149(0xf9)](getPlaywrightSessionName,_0x450dbf),_0x82bda9=this[_0x25f149(0xc6)]()[0x0],_0x59affe={[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x82bda9,[TestFrameworkConstants[_0x25f149(0x111)]]:this[_0x25f149(0xc4)]()[_0x82bda9],[TestFrameworkConstants['KEY_TEST_LOGS']]:[],[TestFrameworkConstants[_0x25f149(0xea)]]:{},[TestFrameworkConstants[_0x25f149(0x12b)]]:{},[TestFrameworkConstants[_0x25f149(0x17c)]]:_0x197309,[TestFrameworkConstants['KEY_TEST_RESULT']]:TestFrameworkConstants[_0x25f149(0xc3)],[TestFrameworkConstants[_0x25f149(0x128)]]:_0x4dd7d9,[TestFrameworkConstants[_0x25f149(0x10f)]]:_0x3fdc07,[TestFrameworkConstants[_0x25f149(0x126)]]:_0x63b917,[TestFrameworkConstants[_0x25f149(0x161)]]:_0x30065a,[TestFrameworkConstants[_0x25f149(0x169)]]:_0x497315,[TestFrameworkConstants[_0x25f149(0x17a)]]:_0x5ef536,[TestFrameworkConstants[_0x25f149(0x185)]]:_0x2e986a,[TestFrameworkConstants[_0x25f149(0x156)]]:_0x450dbf[_0x25f149(0x116)][0x0]['startTime'],[TestFrameworkConstants[_0x25f149(0x112)]]:_0x5b815b,[TestFrameworkConstants[_0x25f149(0x155)]]:_0x26672d,[TestFrameworkConstants[_0x25f149(0xbe)]]:_0x5efdae[_0x25f149(0xf9)](getPlaywrightCustomRerunParam,_0x450dbf)};TestInfo[_0x25f149(0xe9)](_0x450dbf['id'],_0x59affe);const _0x4a1330={};return _0x4a1330[_0x63b917]=_0x59affe,_0x4a1330;}[a63_0x238b34(0x129)](_0x1d9cbe,_0x586e62,_0x292d83){const _0x1603e4=a63_0x238b34,_0xdb8f62={'hTYsD':function(_0x3c32b7,_0x3822aa){return _0x3c32b7(_0x3822aa);},'mRNdf':_0x1603e4(0xd0),'ynaeg':function(_0x30fb2e,_0x5e3127){return _0x30fb2e===_0x5e3127;},'EKIaN':function(_0x988e22,_0x10f0ef){return _0x988e22===_0x10f0ef;},'GzKFU':function(_0x5df3c3,_0xf3ed43){return _0x5df3c3===_0xf3ed43;},'EIcjY':function(_0x24d016,_0x259d88){return _0x24d016(_0x259d88);},'odYMI':'No\x20reason\x20provided','qnpNF':_0x1603e4(0xf7),'nyGYe':function(_0x3cbbb9,_0x9187da){return _0x3cbbb9(_0x9187da);},'gNyaA':function(_0x3fcbae,_0x575bf9){return _0x3fcbae+_0x575bf9;},'TcsZn':_0x1603e4(0x103),'SxMbH':_0x1603e4(0x13b),'EFIkA':function(_0x3f338f,_0x2d5dd4){return _0x3f338f===_0x2d5dd4;},'LsMOq':'failed','nAJVi':function(_0x38c369,_0x55d453){return _0x38c369===_0x55d453;},'XsXzx':_0x1603e4(0x180),'FtVIA':function(_0x11a3c4,_0x372640){return _0x11a3c4===_0x372640;},'Vklnf':function(_0x127fcb,_0x3ab5fc){return _0x127fcb===_0x3ab5fc;},'JEXpv':'Expected\x20to\x20fail,\x20but\x20passed.','jQYMn':function(_0x345509,_0x457a90,_0x53bffc){return _0x345509(_0x457a90,_0x53bffc);},'dDfcm':function(_0x4c2fe5,_0x23b175){return _0x4c2fe5||_0x23b175;},'wBPAU':function(_0xfeb3a6,_0x3b15fc){return _0xfeb3a6(_0x3b15fc);},'dVqfK':function(_0x364485,_0x40af4d){return _0x364485(_0x40af4d);},'lJTzr':function(_0x20eaf2,_0x29e76a,_0x58403d){return _0x20eaf2(_0x29e76a,_0x58403d);},'Opvyz':_0x1603e4(0xe2),'uVdlU':function(_0x27f5aa,_0x30a8c3){return _0x27f5aa>_0x30a8c3;}};logger[_0x1603e4(0x135)](_0x1603e4(0xde)+_0x1d9cbe);const _0x86b7b=new Date(_0x586e62[_0x1603e4(0xe4)]),_0x3e261e=_0x586e62['duration'],_0x1a535a=new Date(_0xdb8f62[_0x1603e4(0x13e)](_0x86b7b[_0x1603e4(0xd6)](),_0x3e261e)),_0x57ed83=_0x586e62[_0x1603e4(0x13a)],_0x136b44=TestInfo[_0x1603e4(0x16b)](_0x1d9cbe)[TestFrameworkConstants[_0x1603e4(0xf6)]]||{};let _0x2b9158=_0x57ed83;if(_0xdb8f62[_0x1603e4(0xd3)](_0x586e62[_0x1603e4(0x13a)],_0x292d83[_0x1603e4(0x102)]))_0x2b9158=_0xdb8f62[_0x1603e4(0x142)](_0x586e62[_0x1603e4(0x13a)],_0xdb8f62['TcsZn'])?_0xdb8f62[_0x1603e4(0x105)]:_0xdb8f62['SxMbH'];else{(_0xdb8f62['EFIkA'](_0x2b9158,_0xdb8f62[_0x1603e4(0x136)])||_0xdb8f62['EKIaN'](_0x2b9158,_0xdb8f62[_0x1603e4(0xd1)])||_0xdb8f62[_0x1603e4(0x130)](_0x2b9158,_0xdb8f62[_0x1603e4(0xd2)]))&&(_0x2b9158=_0xdb8f62[_0x1603e4(0xd1)]);if(_0xdb8f62[_0x1603e4(0xbd)](_0x586e62[_0x1603e4(0x13a)],_0xdb8f62[_0x1603e4(0x136)])&&_0xdb8f62[_0x1603e4(0xf8)](_0x292d83['expectedStatus'],_0xdb8f62[_0x1603e4(0xd1)])){const _0x133513={};_0x133513[_0x1603e4(0x168)]=_0xdb8f62[_0x1603e4(0xee)],_0x133513[_0x1603e4(0x12c)]=_0xdb8f62[_0x1603e4(0xee)],_0x586e62[_0x1603e4(0x18a)]=_0x133513,_0x586e62[_0x1603e4(0x124)]=[_0x586e62[_0x1603e4(0x18a)]];}}const {failureData:_0x3a99f9,logs:_0x5bdca5}=_0xdb8f62['jQYMn'](getFailureData,_0x586e62?.[_0x1603e4(0x124)],{}),_0x397d52={[TestFrameworkConstants['KEY_TEST_FAILURE']]:_0xdb8f62[_0x1603e4(0x12a)](_0x3a99f9,null),[TestFrameworkConstants[_0x1603e4(0xec)]]:_0x586e62?.[_0x1603e4(0x18a)]&&_0xdb8f62[_0x1603e4(0x113)](getFailureType,_0x586e62[_0x1603e4(0x18a)][_0x1603e4(0x168)]),[TestFrameworkConstants['KEY_TEST_FAILURE_REASON']]:_0x586e62?.[_0x1603e4(0x18a)]&&_0xdb8f62[_0x1603e4(0x109)](removeAnsiColors,_0x586e62[_0x1603e4(0x18a)]['message']),[TestFrameworkConstants['KEY_LOGS']]:[],[TestFrameworkConstants[_0x1603e4(0xe1)]]:_0x2b9158,[TestFrameworkConstants[_0x1603e4(0x177)]]:_0x1a535a[_0x1603e4(0xda)](),[TestFrameworkConstants['KEY_TEST_RESULT_AT']]:new Date()['toISOString'](),[TestFrameworkConstants[_0x1603e4(0xf6)]]:_0x136b44},_0x414523={};_0x414523[_0x1603e4(0xfd)]=_0x292d83;const _0x1ce133=this[_0x1603e4(0x160)](TestFrameworkState[_0x1603e4(0x181)],HookState[_0x1603e4(0x12d)],_0x414523),_0x240318=_0x1ce133[_0x1603e4(0x170)]()[_0x1603e4(0x120)](_0x1d9cbe)[TestFrameworkConstants[_0x1603e4(0x17c)]],_0x2acaf7=[],_0x40def4=_0xdb8f62[_0x1603e4(0x163)](findNestedKey,_0x586e62,_0xdb8f62[_0x1603e4(0x174)]);if(_0x40def4&&_0xdb8f62[_0x1603e4(0x109)](validateFilePath,_0x40def4))try{_0x2acaf7[_0x1603e4(0xcf)]({'kind':_0xdb8f62[_0x1603e4(0xf2)],'timestamp':new Date()['toISOString'](),'test_run_uuid':_0x240318,'file_name':path[_0x1603e4(0x13c)](_0x40def4),'file_size':fs[_0x1603e4(0x14b)](_0x40def4)[_0x1603e4(0xfa)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0xc5cd7e){logger[_0x1603e4(0x18a)]('Error\x20processing\x20direct\x20trace\x20file\x20'+_0x40def4+':\x20'+_0xc5cd7e[_0x1603e4(0x168)]);}const _0x5cdeab=TestInfo[_0x1603e4(0x175)](),_0x191ec4=_0x5cdeab[_0x1603e4(0x140)](_0x1ee3c2=>_0x1ee3c2[_0x1603e4(0xf3)]===_0x240318);_0x191ec4['forEach'](_0x4bcd91=>{const _0xa7c4ba=_0x1603e4;if(_0x4bcd91[_0xa7c4ba(0x15f)]&&_0xdb8f62['hTYsD'](validateFilePath,_0x4bcd91['filePath'])&&!_0x2acaf7[_0xa7c4ba(0xfc)](_0x5225bb=>_0x5225bb[_0xa7c4ba(0x151)]===path[_0xa7c4ba(0x13c)](_0x4bcd91[_0xa7c4ba(0x15f)])))try{_0x2acaf7[_0xa7c4ba(0xcf)]({'kind':_0xdb8f62['mRNdf'],'timestamp':new Date()[_0xa7c4ba(0xda)](),'test_run_uuid':_0x240318,'file_name':path[_0xa7c4ba(0x13c)](_0x4bcd91[_0xa7c4ba(0x15f)]),'file_size':fs[_0xa7c4ba(0x14b)](_0x4bcd91['filePath'])['size'],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x2b3f67){logger[_0xa7c4ba(0x18a)](_0xa7c4ba(0x14a)+_0x4bcd91[_0xa7c4ba(0x15f)]+_0xa7c4ba(0xe8)+_0x2b3f67[_0xa7c4ba(0x168)]);}});if(_0xdb8f62['uVdlU'](_0x2acaf7[_0x1603e4(0xd7)],0x0)){const _0x1352fe=_0x397d52[TestFrameworkConstants[_0x1603e4(0x12f)]]||[];_0x397d52[TestFrameworkConstants[_0x1603e4(0x12f)]]=[..._0x1352fe,..._0x2acaf7];}const _0x4bdbb5=TestInfo['getTestDetails'](_0x1d9cbe)[TestFrameworkConstants[_0x1603e4(0x115)]]||{},_0x4a2e10=_0xdb8f62[_0x1603e4(0x163)](getManualUploadLogs,_0x4bdbb5,_0x1ce133[_0x1603e4(0x170)]()['get'](_0x1d9cbe)[TestFrameworkConstants[_0x1603e4(0x17c)]]);if(_0xdb8f62[_0x1603e4(0x16c)](_0x4a2e10[_0x1603e4(0xd7)],0x0)){const _0x482566=_0x397d52[TestFrameworkConstants[_0x1603e4(0x12f)]]||[];_0x397d52[TestFrameworkConstants[_0x1603e4(0x12f)]]=[..._0x482566,..._0x4a2e10];}const _0x3f0a20=_0x292d83[_0x1603e4(0x108)]||[],_0x21c86a=_0x397d52[TestFrameworkConstants[_0x1603e4(0xf6)]]||{};_0x3f0a20[_0x1603e4(0x101)](_0x45b410=>{const _0x283f68=_0x1603e4,{type:_0x5c16f3}=_0x45b410;let _0x20c160=_0x45b410[_0x283f68(0x17e)];if(!_0x5c16f3)return;(_0xdb8f62[_0x283f68(0xd3)](_0x20c160,undefined)||_0xdb8f62['EKIaN'](_0x20c160,null)||_0xdb8f62[_0x283f68(0x142)](_0xdb8f62[_0x283f68(0x119)](String,_0x20c160)['trim'](),''))&&(_0x20c160=_0xdb8f62['odYMI']);if(!_0x21c86a[_0x5c16f3]){const _0x2c1ed6={};_0x2c1ed6[_0x283f68(0x17f)]=_0xdb8f62['qnpNF'],_0x2c1ed6[_0x283f68(0x17d)]=[],_0x21c86a[_0x5c16f3]=_0x2c1ed6;}else!_0x21c86a[_0x5c16f3][_0x283f68(0x17f)]&&(_0x21c86a[_0x5c16f3][_0x283f68(0x17f)]=_0xdb8f62[_0x283f68(0x178)]),!Array['isArray'](_0x21c86a[_0x5c16f3][_0x283f68(0x17d)])&&(_0x21c86a[_0x5c16f3]['values']=[]);const _0x17b6fd=_0xdb8f62[_0x283f68(0x123)](String,_0x20c160)[_0x283f68(0x117)](',')[_0x283f68(0xf1)](_0x5633b8=>_0x5633b8[_0x283f68(0x16f)]());_0x21c86a[_0x5c16f3][_0x283f68(0x17d)]=[...new Set([..._0x21c86a[_0x5c16f3][_0x283f68(0x17d)],..._0x17b6fd])];}),_0x397d52[TestFrameworkConstants['KEY_CUSTOM_TAGS']]=_0x21c86a,TestInfo[_0x1603e4(0xe9)](_0x1d9cbe,_0x397d52);const _0x57ebfb={};return _0x57ebfb[_0x1d9cbe]=_0x397d52,_0x57ebfb;}async[a63_0x238b34(0xfb)](_0x1bea36,_0x361baa,_0x383d06,_0x2bfcfe){const _0x12c7c1=a63_0x238b34,_0x721097={'aMKKY':function(_0x401675,_0x58816b){return _0x401675 in _0x58816b;},'zotDM':function(_0x22954b,_0x2555c7){return _0x22954b in _0x2555c7;},'CkIIO':function(_0x337a78,_0x32ae93){return _0x337a78(_0x32ae93);},'NVMYs':function(_0x3936c8,_0x379f15){return _0x3936c8(_0x379f15);},'wXzJG':function(_0x129015,_0x1bc879){return _0x129015===_0x1bc879;},'jKYMf':function(_0x1b58bc){return _0x1b58bc();},'XwDUT':function(_0x54bc43,_0x4664bc){return _0x54bc43>_0x4664bc;},'bdZVO':function(_0x232023,_0x48968a,_0x56601b){return _0x232023(_0x48968a,_0x56601b);},'UOWqq':_0x12c7c1(0x10c),'tRwXJ':_0x12c7c1(0xe0),'HkCqq':_0x12c7c1(0x13b),'vTIlC':function(_0x3aae76,_0x354837){return _0x3aae76!==_0x354837;},'hPvDr':function(_0x51513b,_0x5d103e){return _0x51513b+_0x5d103e;},'wYfyg':_0x12c7c1(0xc8)},_0x187ddb=_0x2bfcfe[_0x12c7c1(0xfd)],_0x553f91=_0x2bfcfe[_0x12c7c1(0x153)],_0x407c5f=_0x2bfcfe[_0x12c7c1(0xfd)]['id'],_0x30a3d6=_0x361baa[_0x12c7c1(0xe5)]()[_0x12c7c1(0x117)]('.')[0x1];let _0x4aa925=_0x1bea36[_0x12c7c1(0x170)]()['get'](_0x407c5f)[TestFrameworkConstants[_0x12c7c1(0x12b)]];!_0x4aa925&&(_0x4aa925={});!_0x721097[_0x12c7c1(0x10b)](_0x30a3d6,_0x4aa925)&&(_0x4aa925[_0x30a3d6]=[]);let _0x5cd014=_0x1bea36[_0x12c7c1(0x170)]()[_0x12c7c1(0x120)](_0x407c5f)[TestFrameworkConstants[_0x12c7c1(0xea)]];!_0x5cd014&&(_0x5cd014={});!_0x721097[_0x12c7c1(0x158)](_0x30a3d6,_0x5cd014)&&(_0x5cd014[_0x30a3d6]=[]);const _0x57b856={[TestFrameworkConstants[_0x12c7c1(0x12b)]]:_0x4aa925,[TestFrameworkConstants['KEY_HOOKS_FINISHED']]:_0x5cd014},_0x5e1410={};_0x5e1410[_0x407c5f]=_0x57b856;const _0x2cdafc=_0x5e1410,_0x3e4838=_0x721097['CkIIO'](getPlaywrightTestFilePath,_0x187ddb),_0x550bea=_0x3e4838+':'+_0x721097[_0x12c7c1(0xcb)](getPlaywrightTestLocation,_0x187ddb),_0x553157=TestInfo[_0x12c7c1(0x16b)](_0x407c5f)[TestFrameworkConstants[_0x12c7c1(0xf6)]]||{};if(_0x721097[_0x12c7c1(0x145)](_0x383d06,HookState[_0x12c7c1(0x150)])){const _0xee637c={'key':_0x30a3d6,[TestFrameworkConstants['KEY_HOOK_ID']]:_0x721097[_0x12c7c1(0x13f)](uuidv4),[TestFrameworkConstants[_0x12c7c1(0x183)]]:TestFrameworkConstants['DEFAULT_HOOK_RESULT'],[TestFrameworkConstants[_0x12c7c1(0x15a)]]:_0x553f91['startTime'],[TestFrameworkConstants[_0x12c7c1(0xc0)]]:[],[TestFrameworkConstants[_0x12c7c1(0xca)]]:_0x553f91[_0x12c7c1(0x15d)],[TestFrameworkConstants['KEY_TEST_FILE_PATH']]:_0x3e4838,[TestFrameworkConstants[_0x12c7c1(0x169)]]:_0x550bea,[TestFrameworkConstants[_0x12c7c1(0xf6)]]:_0x553157};_0x4aa925[_0x30a3d6][_0x12c7c1(0xcf)](_0xee637c),_0x2cdafc[_0x407c5f][TestFrameworkConstants['KEY_HOOK_LAST_STARTED']]=_0x30a3d6,logger['debug'](_0x12c7c1(0xd4)+_0x30a3d6+_0x12c7c1(0xdf)+_0xee637c+_0x12c7c1(0x110)+_0x2bfcfe);}else{if(_0x721097[_0x12c7c1(0x145)](_0x383d06,HookState['POST'])){const _0x4756de=await _0x2bfcfe[_0x12c7c1(0xed)],_0x36c797=_0x4aa925[_0x30a3d6]||[],_0x3d1631=_0x2bfcfe[_0x12c7c1(0x153)];logger[_0x12c7c1(0x135)](_0x12c7c1(0x182)+_0x36c797+_0x12c7c1(0x125)+_0x2bfcfe);if(_0x721097[_0x12c7c1(0xbf)](_0x36c797['length'],0x0)){const _0x47f240=_0x36c797[_0x12c7c1(0x137)]();if(_0x3d1631[_0x12c7c1(0x18a)]){const _0x4f43b8=_0x721097['bdZVO'](failureData,_0x3d1631[_0x12c7c1(0x18a)],_0x721097[_0x12c7c1(0xfe)]);_0x47f240[TestFrameworkConstants[_0x12c7c1(0x165)]]=_0x721097[_0x12c7c1(0xcb)](getFailureType,_0x3d1631?.['error']['message']),_0x47f240[TestFrameworkConstants[_0x12c7c1(0xdd)]]=_0x721097[_0x12c7c1(0xcb)](removeAnsiColors,_0x3d1631?.[_0x12c7c1(0x18a)]['message']),_0x47f240[TestFrameworkConstants[_0x12c7c1(0x183)]]=_0x721097[_0x12c7c1(0x104)],_0x47f240[TestFrameworkConstants[_0x12c7c1(0x187)]]=_0x4f43b8;}else _0x47f240[TestFrameworkConstants[_0x12c7c1(0x183)]]=_0x721097[_0x12c7c1(0x164)];_0x721097[_0x12c7c1(0x148)](_0x4756de,TestFrameworkConstants[_0x12c7c1(0x13d)])&&(_0x47f240[TestFrameworkConstants[_0x12c7c1(0x183)]]=!_0x3d1631[_0x12c7c1(0x18a)]?_0x721097[_0x12c7c1(0x164)]:_0x721097[_0x12c7c1(0x104)]);const _0xcafd4a=new Date(_0x3d1631[_0x12c7c1(0xe4)]),_0x4cc1f9=new Date(_0x721097[_0x12c7c1(0x122)](_0xcafd4a[_0x12c7c1(0xd6)](),_0x3d1631[_0x12c7c1(0x15b)]));_0x47f240[TestFrameworkConstants['KEY_EVENT_ENDED_AT']]=_0x4cc1f9[_0x12c7c1(0xda)](),_0x47f240[TestFrameworkConstants['KEY_CUSTOM_TAGS']]=_0x553157;const _0x26db95=_0x47f240[TestFrameworkConstants[_0x12c7c1(0x14c)]];await this['sendLogCreatedEvent'](_0x1bea36,_0x361baa,_0x26db95,_0x721097[_0x12c7c1(0x146)],_0x2bfcfe),!_0x5cd014[_0x30a3d6]&&(_0x5cd014[_0x30a3d6]=[]),_0x5cd014[_0x30a3d6][_0x12c7c1(0xcf)](_0x47f240),_0x2cdafc[_0x407c5f][TestFrameworkConstants[_0x12c7c1(0x167)]]=_0x30a3d6;}}}return _0x2cdafc;}async[a63_0x238b34(0x147)](_0x429c7e,_0x2a71cc,_0x49d24c,_0x59ad9e,_0x2469bf){const _0x333edf=a63_0x238b34,_0x31f38f={'mmlXI':function(_0x46b576,_0x3f22ba){return _0x46b576===_0x3f22ba;},'kTXKJ':_0x333edf(0xfd),'xWXXE':function(_0x5a382a,_0x3a32eb,_0x2ee05d){return _0x5a382a(_0x3a32eb,_0x2ee05d);},'sJDzX':function(_0xd200fd,_0x5965cb,_0x5ee4d0,_0x35a873){return _0xd200fd(_0x5965cb,_0x5ee4d0,_0x35a873);},'UunZn':function(_0x2f724c,_0x3383ff,_0x31a3d6){return _0x2f724c(_0x3383ff,_0x31a3d6);},'Rxbaa':function(_0x4a4593,_0x732c78,_0x27b0b9){return _0x4a4593(_0x732c78,_0x27b0b9);},'jHaLw':function(_0x2e6740,_0x28daa8,_0x5d809d,_0x18114d,_0x11cc87){return _0x2e6740(_0x28daa8,_0x5d809d,_0x18114d,_0x11cc87);},'ephnU':function(_0x5627c9,_0x16e03b,_0x2a79dc,_0xcc9b27){return _0x5627c9(_0x16e03b,_0x2a79dc,_0xcc9b27);},'BnWhF':'hook'};try{if(_0x31f38f[_0x333edf(0x166)](_0x59ad9e,_0x31f38f['kTXKJ'])){const _0x435cc0=await _0x2469bf[_0x333edf(0xed)],_0x4f811d=_0x2469bf[_0x333edf(0xfd)]['id'],_0x575a95=_0x2469bf[_0x333edf(0xfd)];logger[_0x333edf(0x135)](_0x333edf(0xc9)+_0x4f811d);const _0x5d6139=_0x429c7e['getAllData']()['get'](_0x4f811d)[TestFrameworkConstants[_0x333edf(0x17c)]];await _0x31f38f[_0x333edf(0x16a)](sendTraceZip,_0x435cc0,_0x5d6139);const {steps:_0x479a2f,logs:_0x5e96de}=_0x31f38f[_0x333edf(0x132)](getStepsAndLogs,_0x435cc0[_0x333edf(0x176)],_0x429c7e[_0x333edf(0x170)]()[_0x333edf(0x120)](_0x4f811d)[TestFrameworkConstants[_0x333edf(0x17c)]],_0x31f38f[_0x333edf(0x154)]),_0x34a4f3=_0x31f38f[_0x333edf(0x16a)](getScreenshots,_0x435cc0,_0x429c7e[_0x333edf(0x170)]()[_0x333edf(0x120)](_0x4f811d)[TestFrameworkConstants[_0x333edf(0x17c)]]),{_:_0x58e47a,logs:_0x1041f1}=_0x31f38f[_0x333edf(0x152)](getFailureData,_0x435cc0[_0x333edf(0x124)],{'test_run_uuid':_0x429c7e[_0x333edf(0x170)]()[_0x333edf(0x120)](_0x4f811d)[TestFrameworkConstants[_0x333edf(0x17c)]]}),_0x570844=TestInfo[_0x333edf(0x16b)](_0x4f811d)[TestFrameworkConstants[_0x333edf(0x115)]]||{},_0x4f935c=_0x31f38f['Rxbaa'](getMediaArtifactsLogs,_0x570844,_0x429c7e[_0x333edf(0x170)]()[_0x333edf(0x120)](_0x4f811d)[TestFrameworkConstants['KEY_TEST_UUID']]),_0x253866=_0x429c7e[_0x333edf(0x170)]()[_0x333edf(0x120)](_0x4f811d),{[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x8d2deb='',[TestFrameworkConstants[_0x333edf(0x111)]]:_0x37cf56=''}=_0x253866,_0x10ad18={'platformIndex':'0','logs':[..._0x5e96de||[],..._0x34a4f3||[],..._0x1041f1||[],..._0x4f935c||[]],'testFrameworkName':_0x8d2deb,'testFrameworkVersion':_0x37cf56,'testFrameworkState':_0x2a71cc[_0x333edf(0xe5)]()[_0x333edf(0x117)]('.')[0x1]};_0x31f38f[_0x333edf(0x10d)](updatePayloadForTraceLogs,_0x10ad18,_0x2469bf,_0x4f811d,_0x429c7e),logger[_0x333edf(0x135)](_0x333edf(0xeb)+_0x4f811d+_0x333edf(0xe6)+util[_0x333edf(0x143)](_0x10ad18));const _0x1a8810=await GrpcClient[_0x333edf(0xe3)]()[_0x333edf(0x10e)](_0x10ad18);}else{const {steps:_0x2f1ab0,logs:_0x3554e0}=_0x31f38f[_0x333edf(0x121)](getStepsAndLogs,_0x2469bf['step'][_0x333edf(0x176)],_0x49d24c,_0x31f38f[_0x333edf(0x171)]),_0x1f9921=_0x2469bf['test']['id'];logger[_0x333edf(0x135)](_0x333edf(0xc9)+_0x1f9921);const _0x341e06=_0x429c7e[_0x333edf(0x170)]()[_0x333edf(0x120)](_0x1f9921),{[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x19f11b='',[TestFrameworkConstants[_0x333edf(0x111)]]:_0x4ad636=''}=_0x341e06,_0x5d1093={'platformIndex':'0','logs':_0x3554e0,'testFrameworkName':_0x19f11b,'testFrameworkVersion':_0x4ad636,'testFrameworkState':_0x2a71cc[_0x333edf(0xe5)]()[_0x333edf(0x117)]('.')[0x1]};_0x31f38f[_0x333edf(0x10d)](updatePayloadForTraceLogs,_0x5d1093,_0x2469bf,_0x1f9921,_0x429c7e),logger[_0x333edf(0x135)](_0x333edf(0xeb)+_0x1f9921+_0x333edf(0xe6)+util[_0x333edf(0x143)](_0x5d1093));const _0x1261c6=await GrpcClient['getInstance']()['logCreatedEvent'](_0x5d1093);}}catch(_0x25e6b7){logger[_0x333edf(0x18a)](_0x333edf(0x11e)+util[_0x333edf(0x12e)](_0x25e6b7));}}}module[a63_0x238b34(0x127)]=PlaywrightTestFramework;function a63_0x1336(){const _0x508490=['trackEvent:\x20found\x20instance,\x20testFrameworkState=','status','passed','basename','DEFAULT_HOOK_RESULT','gNyaA','jKYMf','filter','\x20testHookState=','GzKFU','inspect','579628AjqBAo','wXzJG','wYfyg','sendLogCreatedEvent','vTIlC','RqDas','Error\x20processing\x20trace\x20file\x20','statSync','KEY_HOOK_ID','OCghb','NONE','trackEvent','PRE','file_name','UunZn','step','kTXKJ','KEY_TEST_SCOPES','KEY_TEST_STARTED_AT','../instances/trackedInstance.js','zotDM','5WbvxWG','KEY_EVENT_STARTED_AT','duration',',\x20state=','title','parsePlaywrightTest','filePath','resolveInstance','KEY_TEST_NAME','trackEvent:\x20loaded\x20testData\x20for\x20testId:\x20','lJTzr','HkCqq','KEY_HOOK_FAILURE_TYPE','mmlXI','KEY_HOOK_LAST_FINISHED','message','KEY_TEST_LOCATION','xWXXE','getTestDetails','uVdlU','\x20instanceId=','runHooks','trim','getAllData','BnWhF','143724MkxJln','\x20instance=','Opvyz','getTraceFilePaths','steps','KEY_TEST_ENDED_AT','qnpNF','../../utils/constants','KEY_TEST_CODE','ObMpD','KEY_TEST_UUID','values','description','field_type','timedOut','TEST','Hook\x20List\x20in\x20Post\x20','KEY_HOOK_RESULT','createContext','KEY_TEST_TAGS','getTestUUID','KEY_HOOK_FAILURE','info','5486411CTHmvV','error','4534416iugOxZ','setTrackedInstance','FtVIA','KEY_TEST_RERUN_NAME','XwDUT','KEY_HOOK_LOGS','getTrackedInstance','bEsdx','DEFAULT_TEST_RESULT','getTestFrameworksVersions','dxUEV','getTestFrameworks','../state/testFrameworkState.js','hook','sendLogCreatedEvent:\x20testId=','KEY_HOOK_NAME','NVMYs','trackPlaywrightInstance:\x20created\x20instance\x20for\x20target=','instance','getId','push','TEST_ATTACHMENT','LsMOq','XsXzx','ynaeg','Hook\x20Started\x20in\x20PRE\x20key\x20=\x20','trackEvent\x20loading\x20testResults\x20for\x20testId:\x20','getTime','length','trackEvent:\x20Exception\x20in\x20event\x20tracking,\x20testFrameworkState=%s\x20hookState=%s\x20argsLength=%s,\x20exception=%s','../instances/testFrameworkInstance.js','toISOString','trackPlaywrightInstance:\x20saved\x20instance\x20contextId=','getCurrentInstanceName','KEY_HOOK_FAILURE_REASON','parsePlaywrightTestResult:\x20testId=','\x20&\x20hook\x20=\x20','failed','KEY_TEST_RESULT','path','getInstance','startTime','toString','\x20payload=','jnXkV','\x20from\x20TestDetails:\x20','setTestDetails','KEY_HOOKS_FINISHED','sendLogCreatedEvent\x20for\x20testId:\x20','KEY_TEST_FAILURE_TYPE','result','JEXpv','../grpcClient','./constants/testFrameworkConstants.js','map','mRNdf','testUId','2101416eoQrJp','../../../../src/helpers/helper','KEY_CUSTOM_TAGS','multi_dropdown','Vklnf','QRmxz','size','trackHookEvent','some','test','UOWqq','DDFxu','../state/hookState.js','forEach','expectedStatus','skipped','tRwXJ','TcsZn','\x20hookState=','auftr','annotations','dVqfK','422262hAeQMD','aMKKY','err','jHaLw','logCreatedEvent','KEY_TEST_FILE_PATH','\x20\x20and\x20args\x20=\x20','KEY_TEST_FRAMEWORK_VERSION','KEY_TEST_SCOPE','wBPAU','../../../helpers/test-observability/utils','KEY_TEST_ATTACHMENTS','results','split',',\x20testFrameworkState=','EIcjY','\x20target=','getRef','trackPlaywrightInstance','trackEvent\x20loading\x20testData\x20for\x20testId:\x20','Error\x20in\x20sendLogCreatedEvent:\x20','3346792YwyzAN','get','ephnU','hPvDr','nyGYe','errors','\x20and\x20args\x20=\x20','KEY_TEST_ID','exports','KEY_AUTOMATE_SESSION_NAME','parsePlaywrightTestResult','dDfcm','KEY_HOOKS_STARTED','stack','POST','format','KEY_LOGS','nAJVi','18qXpQPP','sJDzX','../../../helpers/classLogger.js','addMultipleEntries','debug','SxMbH','pop','INIT_TEST'];a63_0x1336=function(){return _0x508490;};return a63_0x1336();}
|
|
1
|
+
const a63_0xcf8b5=a63_0x1ad6;(function(_0x3b494e,_0x4ba2a9){const _0x5a7b5c=a63_0x1ad6,_0x32ab96=_0x3b494e();while(!![]){try{const _0x25f3f5=parseInt(_0x5a7b5c(0x1a8))/0x1*(parseInt(_0x5a7b5c(0x1b9))/0x2)+-parseInt(_0x5a7b5c(0x1a5))/0x3*(-parseInt(_0x5a7b5c(0x1c1))/0x4)+parseInt(_0x5a7b5c(0x1ff))/0x5*(parseInt(_0x5a7b5c(0x18b))/0x6)+parseInt(_0x5a7b5c(0x172))/0x7+parseInt(_0x5a7b5c(0x15b))/0x8*(-parseInt(_0x5a7b5c(0x14e))/0x9)+parseInt(_0x5a7b5c(0x19b))/0xa+-parseInt(_0x5a7b5c(0x206))/0xb;if(_0x25f3f5===_0x4ba2a9)break;else _0x32ab96['push'](_0x32ab96['shift']());}catch(_0x392b73){_0x32ab96['push'](_0x32ab96['shift']());}}}(a63_0x1ad8,0xf0076));const TestFramework=require('./testFramework'),TestFrameworkState=require(a63_0xcf8b5(0x1c7)),HookState=require(a63_0xcf8b5(0x19a)),{createClassLogger}=require(a63_0xcf8b5(0x1b8)),TestFrameworkInstance=require(a63_0xcf8b5(0x215)),CLIUtils=require(a63_0xcf8b5(0x175)),TrackedInstance=require('../instances/trackedInstance.js'),TestFrameworkConstants=require(a63_0xcf8b5(0x19d)),logger=createClassLogger(a63_0xcf8b5(0x203)),{v4:uuidv4}=require(a63_0xcf8b5(0x1ac)),util=require(a63_0xcf8b5(0x18a)),{getPlaywrightSessionName,getPlaywrightTestFilePath,getPlaywrightTestId,getPlaywrightTestTitle,getPlaywrightTestLocation,getPlaywrightTestTags,getPlaywrightTestCode,getPlaywrightTestScope,getPlaywrightTestScopes,getStepsAndLogs,getScreenshots,getPlaywrightCustomRerunParam,getMediaArtifactsLogs,getManualUploadLogs,updatePayloadForTraceLogs}=require(a63_0xcf8b5(0x1f0)),TestInfo=require('../TestInfo.js'),GrpcClient=require(a63_0xcf8b5(0x180)),{removeAnsiColors,getFailureType,failureData}=require(a63_0xcf8b5(0x1a9)),{getFailureData,getTestTags}=require(a63_0xcf8b5(0x1fa)),{findNestedKey,sendTraceZip,validateFilePath}=require(a63_0xcf8b5(0x1fa)),path=require('path'),fs=require('fs'),helper=require(a63_0xcf8b5(0x16d)),{PLAYWRIGHT_TRACE_LOGS}=require('../../utils/constants');class PlaywrightTestFramework extends TestFramework{constructor(_0x2722fe,_0x3fcc1c,_0x5cb236){super(_0x2722fe,_0x3fcc1c,_0x5cb236);}async[a63_0xcf8b5(0x216)](_0xb0e37e,_0x5c6570,_0x1405a3={}){const _0x280c04=a63_0xcf8b5,_0x15ed2a={};_0x15ed2a[_0x280c04(0x18f)]=function(_0x16cfd3,_0x32e62d){return _0x16cfd3===_0x32e62d;},_0x15ed2a[_0x280c04(0x1c0)]=function(_0x2d1283,_0x1c4518){return _0x2d1283===_0x1c4518;},_0x15ed2a[_0x280c04(0x1a4)]=function(_0x75befb,_0x33c92b){return _0x75befb===_0x33c92b;},_0x15ed2a[_0x280c04(0x198)]=_0x280c04(0x20d),_0x15ed2a[_0x280c04(0x1d3)]=_0x280c04(0x1b0);const _0x2d8f5d=_0x15ed2a;await super[_0x280c04(0x216)](_0xb0e37e,_0x5c6570,_0x1405a3);const _0x5c131d=this[_0x280c04(0x19f)](_0xb0e37e,_0x5c6570,_0x1405a3);if(!_0x5c131d)return;logger[_0x280c04(0x1ea)]('trackEvent:\x20found\x20instance,\x20testFrameworkState='+_0xb0e37e+'\x20hookState='+_0x5c6570+_0x280c04(0x15a)+_0x5c131d[_0x280c04(0x191)]());try{if(_0x2d8f5d['igAoQ'](_0x5c6570,HookState[_0x280c04(0x16b)])&&_0x2d8f5d[_0x280c04(0x1c0)](_0xb0e37e,TestFrameworkState[_0x280c04(0x1bd)])){const _0x571e6b=_0x1405a3['test'];logger[_0x280c04(0x1ea)](_0x280c04(0x15d)+_0x571e6b['id']+'}');const _0x321221=TestInfo[_0x280c04(0x1b6)](_0x571e6b['id']);_0x5c131d['addMultipleEntries'](this[_0x280c04(0x1f5)](_0x321221,_0x571e6b)),logger[_0x280c04(0x1ea)]('trackEvent:\x20loaded\x20testData\x20for\x20testId:\x20'+_0x571e6b['id']+_0x280c04(0x1e4)+_0xb0e37e+_0x280c04(0x1a6)+_0x5c6570+_0x280c04(0x1e1)+_0x5c131d[_0x280c04(0x191)]());}if(_0x2d8f5d[_0x280c04(0x1a4)](_0x5c6570,HookState[_0x280c04(0x16a)])&&_0x2d8f5d['qgnbz'](_0xb0e37e,TestFrameworkState['TEST'])){const _0x3410a4=_0x1405a3['test'],_0x253ece=_0x1405a3[_0x280c04(0x211)];logger[_0x280c04(0x1ea)](_0x280c04(0x1f8)+_0x3410a4['id']),_0x5c131d['addMultipleEntries'](this[_0x280c04(0x151)](_0x3410a4['id'],_0x253ece,_0x3410a4)),this[_0x280c04(0x184)](_0x5c131d,_0xb0e37e,_0x5c6570,_0x2d8f5d[_0x280c04(0x198)],_0x1405a3);}if(CLIUtils['matchHookRegex'](_0xb0e37e['toString']()[_0x280c04(0x1c4)]('.')[0x1])){const _0x427a71=await this[_0x280c04(0x19e)](_0x5c131d,_0xb0e37e,_0x5c6570,_0x1405a3);_0x5c131d['addMultipleEntries'](_0x427a71);}}catch(_0x5da847){logger[_0x280c04(0x1e7)](util[_0x280c04(0x196)](_0x2d8f5d[_0x280c04(0x1d3)],_0xb0e37e,_0x5c6570,_0x1405a3[_0x280c04(0x14b)],_0x5da847));}_0x1405a3[_0x280c04(0x214)]=_0x5c131d,await this[_0x280c04(0x17b)](_0x5c131d,_0xb0e37e,_0x5c6570,_0x1405a3);}[a63_0xcf8b5(0x19f)](_0x520bff,_0x1b5bfb,_0x4415d5={}){const _0x61858b=a63_0xcf8b5,_0x3725fd={};_0x3725fd['APiRp']=function(_0x428469,_0x48927f){return _0x428469===_0x48927f;},_0x3725fd['HEQTa']=function(_0x4bb155,_0x34ad44){return _0x4bb155===_0x34ad44;};const _0x2190e4=_0x3725fd;let _0x53ac94=null;return(_0x2190e4[_0x61858b(0x1b2)](_0x520bff,TestFrameworkState[_0x61858b(0x1c9)])||_0x2190e4[_0x61858b(0x1e0)](_0x520bff,TestFrameworkState['NONE']))&&this[_0x61858b(0x205)](_0x520bff,_0x4415d5),_0x53ac94=TestFramework[_0x61858b(0x1df)](),_0x53ac94;}['trackPlaywrightInstance'](_0x545c83,_0x4492d4){const _0x48157a=a63_0xcf8b5,_0x4c3129=CLIUtils[_0x48157a(0x181)](),_0x5bff77=TrackedInstance[_0x48157a(0x1dc)](_0x4c3129);let _0x5c6bf1=null;logger[_0x48157a(0x161)](_0x48157a(0x208)+_0x4c3129+_0x48157a(0x16c)+_0x545c83),_0x5c6bf1=new TestFrameworkInstance(_0x5bff77,this['getTestFrameworks'](),this[_0x48157a(0x165)](),_0x545c83,HookState['NONE']),TestFramework[_0x48157a(0x16f)](_0x5bff77,_0x5c6bf1),logger[_0x48157a(0x161)](_0x48157a(0x170)+_0x5bff77[_0x48157a(0x20e)]()+_0x48157a(0x163)+_0x4c3129);}[a63_0xcf8b5(0x1f5)](_0x312f47,_0x3ea02e){const _0x4e25d1=a63_0xcf8b5,_0x5e5329={'msasY':function(_0x25ff21,_0x195187){return _0x25ff21(_0x195187);},'HtZUW':function(_0x41d02b,_0x32858f){return _0x41d02b(_0x32858f);},'nPxgw':function(_0x2e880c,_0x525629){return _0x2e880c(_0x525629);},'mZjRO':function(_0x121fb7,_0x5cfc0b){return _0x121fb7(_0x5cfc0b);},'CBapB':function(_0x377afb,_0x1e6c2d){return _0x377afb(_0x1e6c2d);}},_0x545097=_0x5e5329[_0x4e25d1(0x156)](getPlaywrightTestId,_0x3ea02e),_0x52846b=_0x5e5329[_0x4e25d1(0x1e3)](getPlaywrightTestTitle,_0x3ea02e),_0x31f650=_0x5e5329[_0x4e25d1(0x156)](getTestTags,_0x3ea02e),_0x40505b=_0x5e5329[_0x4e25d1(0x156)](getPlaywrightTestCode,_0x3ea02e),_0x400eae=_0x5e5329['msasY'](getPlaywrightTestFilePath,_0x3ea02e),_0x25f45d=_0x400eae+':'+_0x5e5329[_0x4e25d1(0x1e3)](getPlaywrightTestLocation,_0x3ea02e),_0x4f0620=_0x5e5329['nPxgw'](getPlaywrightTestScope,_0x3ea02e),_0x5c534b=_0x5e5329[_0x4e25d1(0x1f2)](getPlaywrightTestScopes,_0x3ea02e),_0x9c723a=_0x5e5329[_0x4e25d1(0x1ae)](getPlaywrightSessionName,_0x3ea02e),_0x213e6c=this[_0x4e25d1(0x160)]()[0x0],_0x41aa5d={[TestFrameworkConstants[_0x4e25d1(0x1fd)]]:_0x213e6c,[TestFrameworkConstants[_0x4e25d1(0x213)]]:this[_0x4e25d1(0x165)]()[_0x213e6c],[TestFrameworkConstants[_0x4e25d1(0x1bb)]]:[],[TestFrameworkConstants['KEY_HOOKS_FINISHED']]:{},[TestFrameworkConstants[_0x4e25d1(0x1e9)]]:{},[TestFrameworkConstants['KEY_TEST_UUID']]:_0x312f47,[TestFrameworkConstants['KEY_TEST_RESULT']]:TestFrameworkConstants[_0x4e25d1(0x179)],[TestFrameworkConstants[_0x4e25d1(0x1c8)]]:_0x9c723a,[TestFrameworkConstants[_0x4e25d1(0x199)]]:_0x400eae,[TestFrameworkConstants['KEY_TEST_ID']]:_0x545097,[TestFrameworkConstants[_0x4e25d1(0x17d)]]:_0x52846b,[TestFrameworkConstants['KEY_TEST_LOCATION']]:_0x25f45d,[TestFrameworkConstants['KEY_TEST_CODE']]:_0x40505b,[TestFrameworkConstants[_0x4e25d1(0x1aa)]]:_0x31f650,[TestFrameworkConstants[_0x4e25d1(0x173)]]:_0x3ea02e[_0x4e25d1(0x1c2)][0x0][_0x4e25d1(0x14d)],[TestFrameworkConstants[_0x4e25d1(0x1cb)]]:_0x4f0620,[TestFrameworkConstants[_0x4e25d1(0x1ca)]]:_0x5c534b,[TestFrameworkConstants[_0x4e25d1(0x15f)]]:_0x5e5329[_0x4e25d1(0x212)](getPlaywrightCustomRerunParam,_0x3ea02e)};TestInfo[_0x4e25d1(0x1be)](_0x3ea02e['id'],_0x41aa5d);const _0x3f0a4c={};return _0x3f0a4c[_0x545097]=_0x41aa5d,_0x3f0a4c;}[a63_0xcf8b5(0x151)](_0x2e9b5c,_0x532c0b,_0x24ebcb){const _0xd624b6=a63_0xcf8b5,_0x5c2b6d={'dSJEw':function(_0x5adee8,_0xfcc2ac){return _0x5adee8(_0xfcc2ac);},'GNrlg':_0xd624b6(0x204),'MSPzJ':function(_0x38541c,_0x1b35bf){return _0x38541c===_0x1b35bf;},'JBPSM':function(_0x4b7b81,_0x1b8523){return _0x4b7b81===_0x1b8523;},'buZyF':_0xd624b6(0x15c),'TgVOO':_0xd624b6(0x1a3),'PYJjK':function(_0x1b58e5,_0x437ae8){return _0x1b58e5(_0x437ae8);},'oqort':function(_0x44d3db,_0x5233f5){return _0x44d3db+_0x5233f5;},'QLQdx':_0xd624b6(0x1cd),'eUPFc':_0xd624b6(0x1e6),'udVGQ':function(_0x2e6477,_0x3ce57f){return _0x2e6477===_0x3ce57f;},'CPXdT':_0xd624b6(0x1af),'LEgqz':function(_0x5c39a9,_0x3e23f2){return _0x5c39a9===_0x3e23f2;},'gvRUr':'timedOut','pQWnH':function(_0x402ad3,_0x5e256e){return _0x402ad3===_0x5e256e;},'zXcHc':'Expected\x20to\x20fail,\x20but\x20passed.','yrAqe':function(_0xe32596,_0x340b66,_0x51a0b1){return _0xe32596(_0x340b66,_0x51a0b1);},'hgAZK':function(_0x599aa2,_0x5ab181){return _0x599aa2||_0x5ab181;},'tOYrP':function(_0x46eeca,_0x3d1bc1){return _0x46eeca(_0x3d1bc1);},'gDfNy':function(_0x5c91ad,_0x5ba243){return _0x5c91ad(_0x5ba243);},'QDljG':_0xd624b6(0x183),'zMLmw':function(_0x460ee8,_0x14953f){return _0x460ee8>_0x14953f;}};logger[_0xd624b6(0x1ea)](_0xd624b6(0x197)+_0x2e9b5c);const _0x146c34=new Date(_0x532c0b[_0xd624b6(0x14d)]),_0x33f60c=_0x532c0b[_0xd624b6(0x1cf)],_0x5281b1=new Date(_0x5c2b6d[_0xd624b6(0x18d)](_0x146c34[_0xd624b6(0x150)](),_0x33f60c)),_0x1e8f69=_0x532c0b['status'],_0x25b4c9=TestInfo[_0xd624b6(0x190)](_0x2e9b5c)[TestFrameworkConstants['KEY_CUSTOM_TAGS']]||{};let _0x55ef75=_0x1e8f69;if(_0x5c2b6d['MSPzJ'](_0x532c0b[_0xd624b6(0x188)],_0x24ebcb[_0xd624b6(0x1bf)]))_0x55ef75=_0x5c2b6d[_0xd624b6(0x18c)](_0x532c0b[_0xd624b6(0x188)],_0x5c2b6d[_0xd624b6(0x1b4)])?_0x5c2b6d[_0xd624b6(0x1b4)]:_0x5c2b6d[_0xd624b6(0x182)];else{(_0x5c2b6d[_0xd624b6(0x177)](_0x55ef75,_0x5c2b6d['eUPFc'])||_0x5c2b6d[_0xd624b6(0x18c)](_0x55ef75,_0x5c2b6d[_0xd624b6(0x1f3)])||_0x5c2b6d[_0xd624b6(0x1a7)](_0x55ef75,_0x5c2b6d[_0xd624b6(0x152)]))&&(_0x55ef75=_0x5c2b6d[_0xd624b6(0x1f3)]);if(_0x5c2b6d[_0xd624b6(0x16e)](_0x532c0b[_0xd624b6(0x188)],_0x5c2b6d['eUPFc'])&&_0x5c2b6d[_0xd624b6(0x16e)](_0x24ebcb[_0xd624b6(0x1bf)],_0x5c2b6d['CPXdT'])){const _0x4490b5={};_0x4490b5[_0xd624b6(0x20a)]=_0x5c2b6d[_0xd624b6(0x18e)],_0x4490b5[_0xd624b6(0x1b1)]=_0x5c2b6d[_0xd624b6(0x18e)],_0x532c0b[_0xd624b6(0x1e7)]=_0x4490b5,_0x532c0b[_0xd624b6(0x176)]=[_0x532c0b[_0xd624b6(0x1e7)]];}}const {failureData:_0x458a64,logs:_0xfec8b9}=_0x5c2b6d[_0xd624b6(0x17f)](getFailureData,_0x532c0b?.[_0xd624b6(0x176)],{}),_0x581a56={[TestFrameworkConstants[_0xd624b6(0x1a2)]]:_0x5c2b6d['hgAZK'](_0x458a64,null),[TestFrameworkConstants[_0xd624b6(0x169)]]:_0x532c0b?.[_0xd624b6(0x1e7)]&&_0x5c2b6d['tOYrP'](getFailureType,_0x532c0b[_0xd624b6(0x1e7)][_0xd624b6(0x20a)]),[TestFrameworkConstants[_0xd624b6(0x1f6)]]:_0x532c0b?.[_0xd624b6(0x1e7)]&&_0x5c2b6d['gDfNy'](removeAnsiColors,_0x532c0b[_0xd624b6(0x1e7)][_0xd624b6(0x20a)]),[TestFrameworkConstants['KEY_LOGS']]:[],[TestFrameworkConstants[_0xd624b6(0x166)]]:_0x55ef75,[TestFrameworkConstants[_0xd624b6(0x17a)]]:_0x5281b1[_0xd624b6(0x1d7)](),[TestFrameworkConstants[_0xd624b6(0x1d2)]]:new Date()[_0xd624b6(0x1d7)](),[TestFrameworkConstants[_0xd624b6(0x1b5)]]:_0x25b4c9},_0x507312={};_0x507312['test']=_0x24ebcb;const _0x9f37ff=this[_0xd624b6(0x19f)](TestFrameworkState[_0xd624b6(0x1bd)],HookState['POST'],_0x507312),_0x464c00=_0x9f37ff[_0xd624b6(0x1da)]()[_0xd624b6(0x1c5)](_0x2e9b5c)[TestFrameworkConstants[_0xd624b6(0x1a1)]],_0x2b1b88=[],_0x155d12=_0x5c2b6d['yrAqe'](findNestedKey,_0x532c0b,_0x5c2b6d[_0xd624b6(0x1de)]);if(_0x155d12&&_0x5c2b6d[_0xd624b6(0x1d8)](validateFilePath,_0x155d12))try{_0x2b1b88['push']({'kind':_0x5c2b6d[_0xd624b6(0x1bc)],'timestamp':new Date()['toISOString'](),'test_run_uuid':_0x464c00,'file_name':path[_0xd624b6(0x1d5)](_0x155d12),'file_size':fs[_0xd624b6(0x1ef)](_0x155d12)[_0xd624b6(0x1e8)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x5081f8){logger['error'](_0xd624b6(0x210)+_0x155d12+':\x20'+_0x5081f8[_0xd624b6(0x20a)]);}const _0x31b8cf=TestInfo[_0xd624b6(0x1fc)](),_0x681e78=_0x31b8cf['filter'](_0x576e5c=>_0x576e5c[_0xd624b6(0x19c)]===_0x464c00);_0x681e78['forEach'](_0x176457=>{const _0x94523d=_0xd624b6;if(_0x176457[_0x94523d(0x207)]&&_0x5c2b6d[_0x94523d(0x1ed)](validateFilePath,_0x176457[_0x94523d(0x207)])&&!_0x2b1b88[_0x94523d(0x1fb)](_0x40a6c3=>_0x40a6c3[_0x94523d(0x154)]===path[_0x94523d(0x1d5)](_0x176457[_0x94523d(0x207)])))try{_0x2b1b88[_0x94523d(0x1e2)]({'kind':_0x5c2b6d[_0x94523d(0x1bc)],'timestamp':new Date()['toISOString'](),'test_run_uuid':_0x464c00,'file_name':path[_0x94523d(0x1d5)](_0x176457[_0x94523d(0x207)]),'file_size':fs[_0x94523d(0x1ef)](_0x176457[_0x94523d(0x207)])[_0x94523d(0x1e8)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x22ec01){logger[_0x94523d(0x1e7)](_0x94523d(0x1eb)+_0x176457[_0x94523d(0x207)]+_0x94523d(0x1fe)+_0x22ec01[_0x94523d(0x20a)]);}});if(_0x5c2b6d[_0xd624b6(0x164)](_0x2b1b88[_0xd624b6(0x14b)],0x0)){const _0x27a291=_0x581a56[TestFrameworkConstants[_0xd624b6(0x153)]]||[];_0x581a56[TestFrameworkConstants[_0xd624b6(0x153)]]=[..._0x27a291,..._0x2b1b88];}const _0x47619d=TestInfo[_0xd624b6(0x190)](_0x2e9b5c)[TestFrameworkConstants[_0xd624b6(0x1d1)]]||{},_0x7f1248=_0x5c2b6d[_0xd624b6(0x17f)](getManualUploadLogs,_0x47619d,_0x9f37ff[_0xd624b6(0x1da)]()['get'](_0x2e9b5c)[TestFrameworkConstants[_0xd624b6(0x1a1)]]);if(_0x5c2b6d[_0xd624b6(0x164)](_0x7f1248[_0xd624b6(0x14b)],0x0)){const _0x4e0905=_0x581a56[TestFrameworkConstants[_0xd624b6(0x153)]]||[];_0x581a56[TestFrameworkConstants[_0xd624b6(0x153)]]=[..._0x4e0905,..._0x7f1248];}const _0x49c358=_0x24ebcb[_0xd624b6(0x1ee)]||[],_0x2c852f=_0x581a56[TestFrameworkConstants[_0xd624b6(0x1b5)]]||{};_0x49c358[_0xd624b6(0x167)](_0x51ca67=>{const _0x5446fe=_0xd624b6,{type:_0x11a3f9}=_0x51ca67;let _0x415cda=_0x51ca67[_0x5446fe(0x20b)];if(!_0x11a3f9)return;(_0x5c2b6d[_0x5446fe(0x18c)](_0x415cda,undefined)||_0x5c2b6d[_0x5446fe(0x18c)](_0x415cda,null)||_0x5c2b6d[_0x5446fe(0x1f1)](_0x5c2b6d[_0x5446fe(0x1ed)](String,_0x415cda)[_0x5446fe(0x15e)](),''))&&(_0x415cda=_0x5c2b6d['buZyF']);if(!_0x2c852f[_0x11a3f9]){const _0xcb9121={};_0xcb9121[_0x5446fe(0x201)]=_0x5c2b6d[_0x5446fe(0x1ba)],_0xcb9121['values']=[],_0x2c852f[_0x11a3f9]=_0xcb9121;}else!_0x2c852f[_0x11a3f9]['field_type']&&(_0x2c852f[_0x11a3f9]['field_type']=_0x5c2b6d[_0x5446fe(0x1ba)]),!Array[_0x5446fe(0x171)](_0x2c852f[_0x11a3f9]['values'])&&(_0x2c852f[_0x11a3f9][_0x5446fe(0x209)]=[]);const _0x16125d=_0x5c2b6d[_0x5446fe(0x192)](String,_0x415cda)[_0x5446fe(0x1c4)](',')[_0x5446fe(0x1f7)](_0x74f64c=>_0x74f64c['trim']());_0x2c852f[_0x11a3f9][_0x5446fe(0x209)]=[...new Set([..._0x2c852f[_0x11a3f9][_0x5446fe(0x209)],..._0x16125d])];}),_0x581a56[TestFrameworkConstants[_0xd624b6(0x1b5)]]=_0x2c852f,TestInfo[_0xd624b6(0x1be)](_0x2e9b5c,_0x581a56);const _0x13222c={};return _0x13222c[_0x2e9b5c]=_0x581a56,_0x13222c;}async[a63_0xcf8b5(0x19e)](_0x181a19,_0x452dd4,_0x2702fb,_0x545d5d){const _0x2754a4=a63_0xcf8b5,_0x46618d={'YpBGr':function(_0x3fb08f,_0x264375){return _0x3fb08f in _0x264375;},'lyYEg':function(_0x339131,_0x460b57){return _0x339131 in _0x460b57;},'qgqNy':function(_0x2f9f53,_0x47f9e8){return _0x2f9f53(_0x47f9e8);},'HtmOz':function(_0x58014b,_0x246c0f){return _0x58014b(_0x246c0f);},'OKXuP':function(_0x457e85,_0x5affd3){return _0x457e85===_0x5affd3;},'AinAx':function(_0x12c555){return _0x12c555();},'cRhNw':function(_0x3aabb5,_0x58919a){return _0x3aabb5>_0x58919a;},'ZlDVS':function(_0x1e3e26,_0x15d987,_0x23cddc){return _0x1e3e26(_0x15d987,_0x23cddc);},'gTaot':_0x2754a4(0x185),'rVQpJ':function(_0x19101b,_0x4715e8){return _0x19101b(_0x4715e8);},'fFYjA':_0x2754a4(0x1af),'pceSi':_0x2754a4(0x1e6),'sTHEU':function(_0x4771db,_0x2982ab){return _0x4771db!==_0x2982ab;},'opsJI':function(_0xc5ea88,_0x4975f5){return _0xc5ea88+_0x4975f5;},'xLTYR':_0x2754a4(0x1d4)},_0x27c4cb=_0x545d5d[_0x2754a4(0x20d)],_0x363373=_0x545d5d[_0x2754a4(0x174)],_0x32f150=_0x545d5d[_0x2754a4(0x20d)]['id'],_0x484f2a=_0x452dd4[_0x2754a4(0x189)]()[_0x2754a4(0x1c4)]('.')[0x1];let _0x56c291=_0x181a19[_0x2754a4(0x1da)]()[_0x2754a4(0x1c5)](_0x32f150)[TestFrameworkConstants[_0x2754a4(0x1e9)]];!_0x56c291&&(_0x56c291={});!_0x46618d['YpBGr'](_0x484f2a,_0x56c291)&&(_0x56c291[_0x484f2a]=[]);let _0x283551=_0x181a19['getAllData']()['get'](_0x32f150)[TestFrameworkConstants[_0x2754a4(0x159)]];!_0x283551&&(_0x283551={});!_0x46618d['lyYEg'](_0x484f2a,_0x283551)&&(_0x283551[_0x484f2a]=[]);const _0x2a8c44={[TestFrameworkConstants['KEY_HOOKS_STARTED']]:_0x56c291,[TestFrameworkConstants[_0x2754a4(0x159)]]:_0x283551},_0x4b7ad1={};_0x4b7ad1[_0x32f150]=_0x2a8c44;const _0x184d6e=_0x4b7ad1,_0x4ceecf=_0x46618d[_0x2754a4(0x193)](getPlaywrightTestFilePath,_0x27c4cb),_0x616b05=_0x4ceecf+':'+_0x46618d[_0x2754a4(0x158)](getPlaywrightTestLocation,_0x27c4cb),_0x2a11cc=TestInfo[_0x2754a4(0x190)](_0x32f150)[TestFrameworkConstants[_0x2754a4(0x1b5)]]||{};if(_0x46618d[_0x2754a4(0x162)](_0x2702fb,HookState[_0x2754a4(0x16b)])){const _0xeab0a7={'key':_0x484f2a,[TestFrameworkConstants[_0x2754a4(0x200)]]:_0x46618d[_0x2754a4(0x187)](uuidv4),[TestFrameworkConstants['KEY_HOOK_RESULT']]:TestFrameworkConstants[_0x2754a4(0x1ce)],[TestFrameworkConstants['KEY_EVENT_STARTED_AT']]:_0x363373[_0x2754a4(0x14d)],[TestFrameworkConstants['KEY_HOOK_LOGS']]:[],[TestFrameworkConstants[_0x2754a4(0x1ec)]]:_0x363373[_0x2754a4(0x194)],[TestFrameworkConstants['KEY_TEST_FILE_PATH']]:_0x4ceecf,[TestFrameworkConstants[_0x2754a4(0x1e5)]]:_0x616b05,[TestFrameworkConstants[_0x2754a4(0x1b5)]]:_0x2a11cc};_0x56c291[_0x484f2a][_0x2754a4(0x1e2)](_0xeab0a7),_0x184d6e[_0x32f150][TestFrameworkConstants[_0x2754a4(0x14c)]]=_0x484f2a,logger[_0x2754a4(0x1ea)](_0x2754a4(0x1d6)+_0x484f2a+_0x2754a4(0x1d0)+_0xeab0a7+_0x2754a4(0x1ad)+_0x545d5d);}else{if(_0x46618d['OKXuP'](_0x2702fb,HookState['POST'])){const _0x52aca8=await _0x545d5d[_0x2754a4(0x211)],_0xb5646f=_0x56c291[_0x484f2a]||[],_0x23deb2=_0x545d5d[_0x2754a4(0x174)];logger['debug'](_0x2754a4(0x1d9)+_0xb5646f+_0x2754a4(0x157)+_0x545d5d);if(_0x46618d[_0x2754a4(0x1db)](_0xb5646f[_0x2754a4(0x14b)],0x0)){const _0x47d0a8=_0xb5646f[_0x2754a4(0x1f4)]();if(_0x23deb2[_0x2754a4(0x1e7)]){const _0x244be2=_0x46618d['ZlDVS'](failureData,_0x23deb2[_0x2754a4(0x1e7)],_0x46618d[_0x2754a4(0x14f)]);_0x47d0a8[TestFrameworkConstants[_0x2754a4(0x1dd)]]=_0x46618d[_0x2754a4(0x1b3)](getFailureType,_0x23deb2?.['error'][_0x2754a4(0x20a)]),_0x47d0a8[TestFrameworkConstants[_0x2754a4(0x1c3)]]=_0x46618d[_0x2754a4(0x1b3)](removeAnsiColors,_0x23deb2?.[_0x2754a4(0x1e7)][_0x2754a4(0x20a)]),_0x47d0a8[TestFrameworkConstants[_0x2754a4(0x1b7)]]=_0x46618d[_0x2754a4(0x202)],_0x47d0a8[TestFrameworkConstants['KEY_HOOK_FAILURE']]=_0x244be2;}else _0x47d0a8[TestFrameworkConstants['KEY_HOOK_RESULT']]=_0x46618d[_0x2754a4(0x1ab)];_0x46618d['sTHEU'](_0x52aca8,TestFrameworkConstants[_0x2754a4(0x1ce)])&&(_0x47d0a8[TestFrameworkConstants[_0x2754a4(0x1b7)]]=!_0x23deb2[_0x2754a4(0x1e7)]?_0x46618d[_0x2754a4(0x1ab)]:_0x46618d['fFYjA']);const _0x5d7462=new Date(_0x23deb2[_0x2754a4(0x14d)]),_0x3cdaef=new Date(_0x46618d['opsJI'](_0x5d7462[_0x2754a4(0x150)](),_0x23deb2['duration']));_0x47d0a8[TestFrameworkConstants[_0x2754a4(0x186)]]=_0x3cdaef[_0x2754a4(0x1d7)](),_0x47d0a8[TestFrameworkConstants[_0x2754a4(0x1b5)]]=_0x2a11cc;const _0x16185c=_0x47d0a8[TestFrameworkConstants['KEY_HOOK_ID']];await this[_0x2754a4(0x184)](_0x181a19,_0x452dd4,_0x16185c,_0x46618d['xLTYR'],_0x545d5d),!_0x283551[_0x484f2a]&&(_0x283551[_0x484f2a]=[]),_0x283551[_0x484f2a][_0x2754a4(0x1e2)](_0x47d0a8),_0x184d6e[_0x32f150][TestFrameworkConstants['KEY_HOOK_LAST_FINISHED']]=_0x484f2a;}}}return _0x184d6e;}async[a63_0xcf8b5(0x184)](_0x3c406e,_0x1bc6a8,_0x2f803e,_0x2199a1,_0x3453df){const _0x36cd7c=a63_0xcf8b5,_0xf7c56f={'YgVrs':function(_0x3dfeed,_0x44c05e){return _0x3dfeed===_0x44c05e;},'HRoDq':_0x36cd7c(0x20d),'oOfrV':function(_0x997b04,_0x10ca5e,_0x1fcf12){return _0x997b04(_0x10ca5e,_0x1fcf12);},'msLpn':function(_0x2a2180,_0xa1ebf5,_0x4a7e8e,_0x4b8e97){return _0x2a2180(_0xa1ebf5,_0x4a7e8e,_0x4b8e97);},'dBTRw':function(_0x419a46,_0x10ced5,_0x25a4f8){return _0x419a46(_0x10ced5,_0x25a4f8);},'Cocrx':function(_0x1d12f6,_0x21b2cb,_0x4b78d3,_0x2ab166,_0x5b110c){return _0x1d12f6(_0x21b2cb,_0x4b78d3,_0x2ab166,_0x5b110c);},'ULgUD':function(_0x3b8872,_0x23a51d,_0x31be7f,_0x1f4b26){return _0x3b8872(_0x23a51d,_0x31be7f,_0x1f4b26);},'Amywz':_0x36cd7c(0x1d4)};try{if(_0xf7c56f[_0x36cd7c(0x1cc)](_0x2199a1,_0xf7c56f['HRoDq'])){const _0x547278=await _0x3453df[_0x36cd7c(0x211)],_0x3018cd=_0x3453df[_0x36cd7c(0x20d)]['id'],_0xd406d4=_0x3453df[_0x36cd7c(0x20d)];logger[_0x36cd7c(0x1ea)](_0x36cd7c(0x178)+_0x3018cd);const _0x5b20b5=_0x3c406e['getAllData']()[_0x36cd7c(0x1c5)](_0x3018cd)[TestFrameworkConstants[_0x36cd7c(0x1a1)]];await _0xf7c56f[_0x36cd7c(0x1a0)](sendTraceZip,_0x547278,_0x5b20b5);const {steps:_0x11e87e,logs:_0x50750f}=_0xf7c56f[_0x36cd7c(0x20c)](getStepsAndLogs,_0x547278[_0x36cd7c(0x1c6)],_0x3c406e['getAllData']()[_0x36cd7c(0x1c5)](_0x3018cd)[TestFrameworkConstants[_0x36cd7c(0x1a1)]],_0xf7c56f['HRoDq']),_0x4c5ff7=_0xf7c56f[_0x36cd7c(0x1a0)](getScreenshots,_0x547278,_0x3c406e['getAllData']()[_0x36cd7c(0x1c5)](_0x3018cd)[TestFrameworkConstants[_0x36cd7c(0x1a1)]]),{_:_0x92fe3e,logs:_0x571ff4}=_0xf7c56f['dBTRw'](getFailureData,_0x547278[_0x36cd7c(0x176)],{'test_run_uuid':_0x3c406e['getAllData']()[_0x36cd7c(0x1c5)](_0x3018cd)[TestFrameworkConstants[_0x36cd7c(0x1a1)]]}),_0xaf6ae9=TestInfo[_0x36cd7c(0x190)](_0x3018cd)[TestFrameworkConstants[_0x36cd7c(0x1d1)]]||{},_0x168ea6=_0xf7c56f[_0x36cd7c(0x1a0)](getMediaArtifactsLogs,_0xaf6ae9,_0x3c406e[_0x36cd7c(0x1da)]()[_0x36cd7c(0x1c5)](_0x3018cd)[TestFrameworkConstants['KEY_TEST_UUID']]),_0x392f55=_0x3c406e[_0x36cd7c(0x1da)]()[_0x36cd7c(0x1c5)](_0x3018cd),{[TestFrameworkConstants[_0x36cd7c(0x1fd)]]:_0x514c6d='',[TestFrameworkConstants[_0x36cd7c(0x213)]]:_0xf6abc6=''}=_0x392f55,_0x27a2a0={'platformIndex':'0','logs':[..._0x50750f||[],..._0x4c5ff7||[],..._0x571ff4||[],..._0x168ea6||[]],'testFrameworkName':_0x514c6d,'testFrameworkVersion':_0xf6abc6,'testFrameworkState':_0x1bc6a8[_0x36cd7c(0x189)]()[_0x36cd7c(0x1c4)]('.')[0x1]};_0xf7c56f[_0x36cd7c(0x155)](updatePayloadForTraceLogs,_0x27a2a0,_0x3453df,_0x3018cd,_0x3c406e),logger[_0x36cd7c(0x1ea)](_0x36cd7c(0x168)+_0x3018cd+_0x36cd7c(0x20f)+util[_0x36cd7c(0x17c)](_0x27a2a0));const _0x35180e=await GrpcClient['getInstance']()[_0x36cd7c(0x1f9)](_0x27a2a0);}else{const {steps:_0x58df5f,logs:_0x16e31e}=_0xf7c56f[_0x36cd7c(0x195)](getStepsAndLogs,_0x3453df[_0x36cd7c(0x174)][_0x36cd7c(0x1c6)],_0x2f803e,_0xf7c56f['Amywz']),_0x4ba561=_0x3453df[_0x36cd7c(0x20d)]['id'];logger['debug'](_0x36cd7c(0x178)+_0x4ba561);const _0x57718f=_0x3c406e[_0x36cd7c(0x1da)]()[_0x36cd7c(0x1c5)](_0x4ba561),{[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x5d7bae='',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x49cc84=''}=_0x57718f,_0x36658c={'platformIndex':'0','logs':_0x16e31e,'testFrameworkName':_0x5d7bae,'testFrameworkVersion':_0x49cc84,'testFrameworkState':_0x1bc6a8[_0x36cd7c(0x189)]()[_0x36cd7c(0x1c4)]('.')[0x1]};_0xf7c56f['Cocrx'](updatePayloadForTraceLogs,_0x36658c,_0x3453df,_0x4ba561,_0x3c406e),logger[_0x36cd7c(0x1ea)]('sendLogCreatedEvent\x20for\x20testId:\x20'+_0x4ba561+_0x36cd7c(0x20f)+util[_0x36cd7c(0x17c)](_0x36658c));const _0x2a40b4=await GrpcClient['getInstance']()[_0x36cd7c(0x1f9)](_0x36658c);}}catch(_0x1bf923){logger[_0x36cd7c(0x1e7)](_0x36cd7c(0x17e)+util[_0x36cd7c(0x196)](_0x1bf923));}}}module['exports']=PlaywrightTestFramework;function a63_0x1ad6(_0x3f050c,_0x4c2e8b){const _0x1ad8c7=a63_0x1ad8();return a63_0x1ad6=function(_0x1ad6b7,_0x3bbc16){_0x1ad6b7=_0x1ad6b7-0x14b;let _0x30dac9=_0x1ad8c7[_0x1ad6b7];return _0x30dac9;},a63_0x1ad6(_0x3f050c,_0x4c2e8b);}function a63_0x1ad8(){const _0x5b9b63=['KEY_HOOKS_FINISHED','\x20instanceId=','8ooCWoN','No\x20reason\x20provided','trackEvent\x20loading\x20testData\x20for\x20testId:\x20','trim','KEY_TEST_RERUN_NAME','getTestFrameworks','info','OKXuP','\x20target=','zMLmw','getTestFrameworksVersions','KEY_TEST_RESULT','forEach','sendLogCreatedEvent\x20for\x20testId:\x20','KEY_TEST_FAILURE_TYPE','POST','PRE',',\x20state=','../../../../src/helpers/helper','pQWnH','setTrackedInstance','trackPlaywrightInstance:\x20saved\x20instance\x20contextId=','isArray','8039675Pycyix','KEY_TEST_STARTED_AT','step','../cliUtils.js','errors','udVGQ','sendLogCreatedEvent:\x20testId=','DEFAULT_TEST_RESULT','KEY_TEST_ENDED_AT','runHooks','inspect','KEY_TEST_NAME','Error\x20in\x20sendLogCreatedEvent:\x20','yrAqe','../grpcClient','getCurrentInstanceName','eUPFc','path','sendLogCreatedEvent','err','KEY_EVENT_ENDED_AT','AinAx','status','toString','util','6yFEisZ','MSPzJ','oqort','zXcHc','igAoQ','getTestDetails','getRef','PYJjK','qgqNy','title','ULgUD','format','parsePlaywrightTestResult:\x20testId=','jLUje','KEY_TEST_FILE_PATH','../state/hookState.js','12662640jUfHSk','testUId','./constants/testFrameworkConstants.js','trackHookEvent','resolveInstance','oOfrV','KEY_TEST_UUID','KEY_TEST_FAILURE','multi_dropdown','qgnbz','20427zNwIzv','\x20testHookState=','LEgqz','458691dbzmyW','../../../helpers/test-observability/utils','KEY_TEST_TAGS','pceSi','uuid','\x20\x20and\x20args\x20=\x20','CBapB','failed','trackEvent:\x20Exception\x20in\x20event\x20tracking,\x20testFrameworkState=%s\x20hookState=%s\x20argsLength=%s,\x20exception=%s','stack','APiRp','rVQpJ','QLQdx','KEY_CUSTOM_TAGS','getTestUUID','KEY_HOOK_RESULT','../../../helpers/classLogger.js','2rIXOJE','TgVOO','KEY_TEST_LOGS','GNrlg','TEST','setTestDetails','expectedStatus','NdInO','832krwTeH','results','KEY_HOOK_FAILURE_REASON','split','get','steps','../state/testFrameworkState.js','KEY_AUTOMATE_SESSION_NAME','INIT_TEST','KEY_TEST_SCOPES','KEY_TEST_SCOPE','YgVrs','skipped','DEFAULT_HOOK_RESULT','duration','\x20&\x20hook\x20=\x20','KEY_TEST_ATTACHMENTS','KEY_TEST_RESULT_AT','WCGxA','hook','basename','Hook\x20Started\x20in\x20PRE\x20key\x20=\x20','toISOString','tOYrP','Hook\x20List\x20in\x20Post\x20','getAllData','cRhNw','createContext','KEY_HOOK_FAILURE_TYPE','QDljG','getTrackedInstance','HEQTa','\x20instance=','push','HtZUW',',\x20testFrameworkState=','KEY_TEST_LOCATION','passed','error','size','KEY_HOOKS_STARTED','debug','Error\x20processing\x20trace\x20file\x20','KEY_HOOK_NAME','dSJEw','annotations','statSync','../../../helpers/helper.js','JBPSM','mZjRO','CPXdT','pop','parsePlaywrightTest','KEY_TEST_FAILURE_REASON','map','trackEvent\x20loading\x20testResults\x20for\x20testId:\x20','logCreatedEvent','../../playwright/reporter/pwUtils','some','getTraceFilePaths','KEY_TEST_FRAMEWORK_NAME','\x20from\x20TestDetails:\x20','2539790FyNvFm','KEY_HOOK_ID','field_type','fFYjA','PlaywrightTestFramework','TEST_ATTACHMENT','trackPlaywrightInstance','40378096VSXiSs','filePath','trackPlaywrightInstance:\x20created\x20instance\x20for\x20target=','values','message','description','msLpn','test','getId','\x20payload=','Error\x20processing\x20direct\x20trace\x20file\x20','result','nPxgw','KEY_TEST_FRAMEWORK_VERSION','instance','../instances/testFrameworkInstance.js','trackEvent','length','KEY_HOOK_LAST_STARTED','startTime','1294344TLbCaJ','gTaot','getTime','parsePlaywrightTestResult','gvRUr','KEY_LOGS','file_name','Cocrx','msasY','\x20and\x20args\x20=\x20','HtmOz'];a63_0x1ad8=function(){return _0x5b9b63;};return a63_0x1ad8();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a64_0x5979ea=a64_0x394f;(function(_0x4786c8,_0x5cad69){const _0x1dba51=a64_0x394f,_0x28cb53=_0x4786c8();while(!![]){try{const _0x359bab=-parseInt(_0x1dba51(0xbe))/0x1*(parseInt(_0x1dba51(0xa3))/0x2)+parseInt(_0x1dba51(0xc6))/0x3*(parseInt(_0x1dba51(0xac))/0x4)+-parseInt(_0x1dba51(0xce))/0x5*(parseInt(_0x1dba51(0xc4))/0x6)+-parseInt(_0x1dba51(0xca))/0x7+-parseInt(_0x1dba51(0xbf))/0x8*(parseInt(_0x1dba51(0xbd))/0x9)+-parseInt(_0x1dba51(0xb7))/0xa+parseInt(_0x1dba51(0xc2))/0xb;if(_0x359bab===_0x5cad69)break;else _0x28cb53['push'](_0x28cb53['shift']());}catch(_0x2bc66d){_0x28cb53['push'](_0x28cb53['shift']());}}}(a64_0x166b,0xa4a18));const CLIUtils=require(a64_0x5979ea(0xc3)),eventDispatcher=require(a64_0x5979ea(0xa2)),TestFrameworkInstance=require('../instances/testFrameworkInstance'),TrackedContext=require(a64_0x5979ea(0xc8)),TestFrameworkState=require(a64_0x5979ea(0xc7)),HookState=require(a64_0x5979ea(0xb8)),{createClassLogger}=require(a64_0x5979ea(0xc5)),TrackedInstance=require(a64_0x5979ea(0xbc)),logger=createClassLogger(a64_0x5979ea(0xb6));class TestFramework{static [a64_0x5979ea(0xbb)]=new Map();[a64_0x5979ea(0xb2)]=[];[a64_0x5979ea(0xcb)]={};[a64_0x5979ea(0xaa)]=null;constructor(_0x20c94d,_0x3a08f4,_0x22d827){const _0x5ef4ac=a64_0x5979ea;this[_0x5ef4ac(0xb2)]=_0x20c94d,this['testFrameworkVersions']=_0x3a08f4,this[_0x5ef4ac(0xaa)]=_0x22d827;}[a64_0x5979ea(0xc9)](){const _0x5705b6=a64_0x5979ea;return TestFramework[_0x5705b6(0xbb)];}[a64_0x5979ea(0xa7)](_0x3cfac7,_0x18b159){const _0x593c38=a64_0x5979ea;TestFramework[_0x593c38(0xbb)][_0x593c38(0xcc)](_0x3cfac7[_0x593c38(0xb3)],_0x18b159);}static[a64_0x5979ea(0xad)](){const _0x5b011e=a64_0x5979ea,_0x41589b=TrackedInstance[_0x5b011e(0xc0)](CLIUtils[_0x5b011e(0xa9)]());return TestFramework[_0x5b011e(0xbb)][_0x5b011e(0xc1)](_0x41589b[_0x5b011e(0xb3)]());}static['setTrackedInstance'](_0x4a35bb,_0x306e88){const _0xa2d77=a64_0x5979ea;TestFramework[_0xa2d77(0xbb)]['set'](_0x4a35bb[_0xa2d77(0xb3)](),_0x306e88);}[a64_0x5979ea(0xae)](){const _0x63c651=a64_0x5979ea;return this[_0x63c651(0xcb)];}[a64_0x5979ea(0xa4)](){const _0x3b4fad=a64_0x5979ea;return this[_0x3b4fad(0xb2)];}['trackEvent'](_0x268513,_0x3f8031,_0x45c27e={}){const _0x220e19=a64_0x5979ea;logger[_0x220e19(0xb4)](_0x220e19(0xb9)+_0x268513+_0x220e19(0xa8)+_0x3f8031);}async[a64_0x5979ea(0xab)](_0x2eb641,_0x1ff855,_0x20f1af,_0x2f6663={}){const _0x3cd567=a64_0x5979ea,_0x5c7ce4=CLIUtils[_0x3cd567(0xcf)](_0x1ff855,_0x20f1af);_0x2eb641['setCurrentTestState'](_0x1ff855),_0x2eb641[_0x3cd567(0xaf)](_0x20f1af),await eventDispatcher['notifyObserver'](_0x5c7ce4,_0x2f6663);}static[a64_0x5979ea(0xa6)](_0x400bb1,_0x252595,_0x5aabb6){const _0x3e11eb=a64_0x5979ea;eventDispatcher[_0x3e11eb(0xa6)](CLIUtils[_0x3e11eb(0xcf)](_0x400bb1,_0x252595),_0x5aabb6);}static[a64_0x5979ea(0xb1)](_0x349f21,_0x2ed337){const _0x1b9437=a64_0x5979ea;return _0x349f21[_0x1b9437(0xb5)]()['get'](_0x2ed337);}static[a64_0x5979ea(0xba)](_0x360248,_0x23aa92,_0x44f535){const _0x4dcd18=a64_0x5979ea;_0x360248[_0x4dcd18(0xb5)]()[_0x4dcd18(0xcc)](_0x23aa92,_0x44f535);}static[a64_0x5979ea(0xb0)](_0x10e8b6,_0x1c51ed){const _0x188d79=a64_0x5979ea;return _0x10e8b6[_0x188d79(0xb5)]()[_0x188d79(0xa5)](_0x1c51ed);}}function a64_0x394f(_0x494c41,_0x4b953b){const _0x166bed=a64_0x166b();return a64_0x394f=function(_0x394f9f,_0x72c60c){_0x394f9f=_0x394f9f-0xa2;let _0x3f7f56=_0x166bed[_0x394f9f];return _0x3f7f56;},a64_0x394f(_0x494c41,_0x4b953b);}module[a64_0x5979ea(0xcd)]=TestFramework;function a64_0x166b(){const _0x58a6db=[';\x20hookState=','getCurrentInstanceName','binSessionId','runHooks','57128tgfhrz','getTrackedInstance','getTestFrameworksVersions','setCurrentHookState','hasState','getState','testFrameworks','getId','debug','getAllData','TestFramework','2835300KPYMHE','../state/hookState','trackEvent:\x20testFrameworkState=','setState','instances','../instances/trackedInstance','36621nRDELG','614661YFwrcE','88UnGoAB','createContext','get','28798770jfHKMn','../cliUtils','779790aXyDmw','../../../helpers/classLogger','93nTlufR','../state/testFrameworkState','../instances/trackedContext','getInstances','3736453VUuCeG','testFrameworkVersions','set','exports','35JgzvAy','getHookRegistryKey','../eventDispatcher','2iaBnWM','getTestFrameworks','has','registerObserver','setInstance'];a64_0x166b=function(){return _0x58a6db;};return a64_0x166b();}
|
package/src/bin/v2/grpcClient.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const a65_0x4f0d55=a65_0x89c1;(function(_0x355250,_0x1f64a4){const _0x2acb0=a65_0x89c1,_0x3c89d1=_0x355250();while(!![]){try{const _0x1f75af=parseInt(_0x2acb0(0x17c))/0x1*(-parseInt(_0x2acb0(0x1cb))/0x2)+parseInt(_0x2acb0(0x1f4))/0x3*(parseInt(_0x2acb0(0x218))/0x4)+parseInt(_0x2acb0(0x176))/0x5*(-parseInt(_0x2acb0(0x20f))/0x6)+parseInt(_0x2acb0(0x1ae))/0x7+parseInt(_0x2acb0(0x224))/0x8*(parseInt(_0x2acb0(0x1f0))/0x9)+-parseInt(_0x2acb0(0x187))/0xa+parseInt(_0x2acb0(0x217))/0xb;if(_0x1f75af===_0x1f64a4)break;else _0x3c89d1['push'](_0x3c89d1['shift']());}catch(_0x5bb61a){_0x3c89d1['push'](_0x3c89d1['shift']());}}}(a65_0x4654,0x5f271));function a65_0x89c1(_0x147b0e,_0x12a3c9){const _0x465466=a65_0x4654();return a65_0x89c1=function(_0x89c1b6,_0x3f15b9){_0x89c1b6=_0x89c1b6-0x167;let _0x2d76a2=_0x465466[_0x89c1b6];return _0x2d76a2;},a65_0x89c1(_0x147b0e,_0x12a3c9);}const util=require(a65_0x4f0d55(0x170)),logger=require(a65_0x4f0d55(0x21b))[a65_0x4f0d55(0x1fc)],grpc=require(a65_0x4f0d55(0x1dd)),services=require(a65_0x4f0d55(0x19a)),messages=require(a65_0x4f0d55(0x17e)),path=require('path'),CLIUtils=require(a65_0x4f0d55(0x1c4)),{createClassLogger}=require(a65_0x4f0d55(0x1f9)),PerformanceTester=require(a65_0x4f0d55(0x1fa)),{EVENTS:PerformanceEvents}=require(a65_0x4f0d55(0x22e)),{PLAYWRIGHT_TRACE_LOGS}=require('../utils/constants');function a65_0x4654(){const _0x2b4200=['setHubUrl','3247160ZLBJzv','xQjIG','zuIGs','setEndedAt','setCliArgsList','setExitReason','setFileSize','listenAddress','name','QJuGk','ConnectBinSession\x20successful','from','ConnectBinSession\x20error:\x20','Sending\x20TestSessionEvent','CnDKf','getPlaywrightConfig','argv','utf-8','addAutomationSessions','../../../generated/sdk_grpc_pb','gRqIZ','setLevel','SDK_AUTOMATION_FRAMEWORK_INIT','Sending\x20LogCreatedEvent','setStartedAt','getSdkLanguage','provider','addFrameworks','AccessibilityConfig\x20request\x20successful','setSdkVersion','No\x20gRPC\x20client\x20not\x20initialized.','setSdkLanguage','testFrameworkName','env','ExecutionContext','BROWSERSTACK_CLI_BIN_SESSION_ID','info','stringify','Getting\x20Accessibility\x20config','4840416qQLRxH','DriverInitRequest','iCdlJ','Sending\x20DriverInit','BROWSERSTACK_CLI_BIN_LISTEN_ADDR','setTestHookState','SDK_START_BIN_SESSION','TestSessionEvent\x20error:\x20','uuid','setExitCode','PlaywrightConfig\x20request\x20successful','ItOSx','connectBinSession','setTestFramework','StopBinSessionRequest','GrpcClient','channel','LWoKF','driverInit','Sending\x20TestFrameworkEvent','wvxGp','nywvT','./cliUtils.js','forEach','Missing\x20binSessionId','uHvpE','SDK_CONNECT_BIN_SESSION','setUuid','TestSessionEventRequest','2yIDXDp','accessibilityConfig','attachment_type','setFileName','end','Error\x20in\x20TestSessionEvent:\x20','SDK_CLI_ON_STOP','CQmad','getInstance','client','setExecutionContext','AccessibilityConfigRequest','logCreatedEvent','hubUrl','StartBinSession\x20successful','AccessibilityConfig\x20error:\x20','JnFYC','EVUdg','@grpc/grpc-js','KdQhT','format','setTestFrameworkVersion','Error\x20in\x20connectBinSession:\x20','exports','setBinSessionId','LogCreatedEvent\x20error:\x20','cjDrE','uCsPY','wPApZ','getAutomationFrameworkDetail','\x20listenAddr:\x20','testFrameworkEvent','\x20and\x20listen\x20address:\x20','TestSessionEvent\x20request\x20successful','PlaywrightConfig\x20error:\x20','Error\x20in\x20getAccessibilityConfig:\x20','Error\x20in\x20getPlaywrightConfig:\x20','1303056BbbARj','connect','logger','testFrameworkState','328701LBnMPn','xkAbB','setCapabilities','lGzgH','setTestFrameworkState','../../helpers/classLogger.js','../../helpers/performance/performance-tester.js','eGEhs','winstonLogger','user_killed','Stopping\x20signal\x20','DriverInit\x20request\x20successful','setConfig','StopBinSession\x20error:\x20','error','nXGjD','setCustomMetadata','ePOYx','init','connect-bin-session\x20response:\x20','setProcessId','AwBOV','nFtiY','stopBinSession','setTestFrameworkName','browserstack.yml','test_run_uuid','126486RWEfMq','setPlatformIndex','debug','resolve','setHash','getFrameworkVersionsMap','TestFrameworkEvent\x20error:\x20','BROWSERSTACK_CONFIG_FILE_PATH','3395348obTFvV','4Gmrayi','Connecting\x20bin\x20session','StartBinSessionRequest','../../helpers/logger.js','Channel','testFrameworkVersion','Unable\x20to\x20determine\x20gRPC\x20server\x20listen\x20address','LogCreatedEvent\x20request\x20successful','LogCreatedEventRequest','Unable\x20to\x20find\x20listen\x20addr\x20or\x20bin\x20session\x20id\x20binSessionId:\x20','ConnectBinSessionRequest','binSessionId','8MIosWf','DriverInit\x20error:\x20','startBinSession:\x20Calling\x20startBinSession','xfOzu','getAccessibilityConfig','frameworkName','stop-bin-session\x20response:\x20','Connected\x20to\x20gRPC\x20server\x20at\x20','kjfRp','startBinSession','../../helpers/performance/constants','cwd','Initialized\x20gRPC\x20client\x20with\x20bin\x20session\x20id:\x20','kdFVr','DfMJm','encode','Error\x20in\x20TestFrameworkEvent:\x20','version','timestamp','FJjpb','Error\x20in\x20DriverInit:\x20','fileSize','xcSIu','setTestUuid','threadId','setFrameworksList','KbJLv','util','setAttachmentType','setMessage','Stopping\x20bin\x20session','setRef','testSessionEvent','105QypFqu','vIUnO','setLanguage','setFrameworkName','message','ffUMh','97345aMeVfM','setTimestamp','../../../generated/sdk-messages_pb','start','Error\x20in\x20LogCreatedEvent:\x20','AutomationSession','Poihd','PlaywrightConfigRequest','astHR','getChannel'];a65_0x4654=function(){return _0x2b4200;};return a65_0x4654();}class GrpcClient{static #instance=null;['binSessionId']=null;[a65_0x4f0d55(0x18e)]=null;['channel']=null;[a65_0x4f0d55(0x1d4)]=null;[a65_0x4f0d55(0x1f2)]=createClassLogger(a65_0x4f0d55(0x1bd));constructor(){}static[a65_0x4f0d55(0x1d3)](){return!GrpcClient.#instance&&(GrpcClient.#instance=new GrpcClient()),GrpcClient.#instance;}[a65_0x4f0d55(0x206)](_0x1db1d4){const _0x58d40b=a65_0x4f0d55,_0x2f8305={};_0x2f8305[_0x58d40b(0x1d2)]=function(_0x16d748,_0x4a9eda){return _0x16d748||_0x4a9eda;};const _0x3ca61e=_0x2f8305,{id:_0x47ee5e,listen:_0x36be97}=_0x1db1d4;if(_0x3ca61e[_0x58d40b(0x1d2)](!_0x47ee5e,!_0x36be97))throw new Error(_0x58d40b(0x221)+_0x47ee5e+_0x58d40b(0x1e9)+_0x36be97);this[_0x58d40b(0x223)]=_0x47ee5e,this['listenAddress']=_0x36be97,process[_0x58d40b(0x1a8)][_0x58d40b(0x1aa)]=this['binSessionId'],process['env']['BROWSERSTACK_CLI_BIN_LISTEN_ADDR']=this[_0x58d40b(0x18e)],this[_0x58d40b(0x1f1)](),this[_0x58d40b(0x1f2)][_0x58d40b(0x1ab)](_0x58d40b(0x230)+this['binSessionId']+_0x58d40b(0x1eb)+this[_0x58d40b(0x18e)]);}['connect'](){const _0x40a881=a65_0x4f0d55,_0x7c8416={};_0x7c8416[_0x40a881(0x1e7)]=_0x40a881(0x21e);const _0x13e5ab=_0x7c8416;let _0x58747d=this[_0x40a881(0x18e)];!_0x58747d&&(_0x58747d=process[_0x40a881(0x1a8)][_0x40a881(0x1b2)]);!this[_0x40a881(0x223)]&&(this['binSessionId']=this['binSessionId']||process[_0x40a881(0x1a8)][_0x40a881(0x1aa)]);if(!_0x58747d)throw new Error(_0x13e5ab[_0x40a881(0x1e7)]);const _0xfb63bb={};_0xfb63bb['grpc.keepalive_time_ms']=0x2710,this[_0x40a881(0x1be)]=new grpc[(_0x40a881(0x21c))](_0x58747d,grpc['credentials']['createInsecure'](),_0xfb63bb),this['client']=new services['SDKClient'](_0x58747d,grpc['credentials']['createInsecure']()),this['logger']['info'](_0x40a881(0x22b)+_0x58747d);}async['startBinSession'](){const _0x4c1ebc=a65_0x4f0d55,_0x5c1d10={'KbJLv':function(_0x1394a7,_0x1bbc1a){return _0x1394a7!==_0x1bbc1a;},'nFtiY':function(_0x4b3e66,_0x12f244){return _0x4b3e66(_0x12f244);},'vIUnO':_0x4c1ebc(0x1d9),'uCsPY':_0x4c1ebc(0x226),'GAvPb':_0x4c1ebc(0x1a5),'xfOzu':_0x4c1ebc(0x20d),'WOjxj':function(_0x20117a,_0x12e191){return _0x20117a||_0x12e191;}};PerformanceTester['start'](PerformanceEvents[_0x4c1ebc(0x1b4)]),this[_0x4c1ebc(0x1f2)][_0x4c1ebc(0x1ab)](_0x5c1d10[_0x4c1ebc(0x1e6)]);try{!this[_0x4c1ebc(0x1d4)]&&this[_0x4c1ebc(0x1f2)][_0x4c1ebc(0x1ab)](_0x5c1d10['GAvPb']);const _0x5d7bb7=CLIUtils['getSdkVersion'](),_0x1f1ea8=CLIUtils[_0x4c1ebc(0x1e8)](),_0x2e0e87=_0x1f1ea8[_0x4c1ebc(0x18f)],_0x1d1128=_0x1f1ea8[_0x4c1ebc(0x235)],_0x1400af=new messages[(_0x4c1ebc(0x21a))]();_0x1400af[_0x4c1ebc(0x1e3)](this[_0x4c1ebc(0x223)]),_0x1400af[_0x4c1ebc(0x1a6)](CLIUtils['getSdkLanguage']()),_0x1400af[_0x4c1ebc(0x1a4)](_0x5d7bb7),_0x1400af['setPathProject'](process[_0x4c1ebc(0x22f)]()),_0x1400af['setPathConfig'](process[_0x4c1ebc(0x1a8)][_0x4c1ebc(0x216)]?process['env'][_0x4c1ebc(0x216)]:path[_0x4c1ebc(0x212)](process['cwd'](),_0x5c1d10[_0x4c1ebc(0x227)]));const _0x409e29=_0x1400af['getEnvVarsMap']();Object['entries'](process[_0x4c1ebc(0x1a8)])['forEach'](([_0xa5286,_0x5da434])=>{const _0x1dcc0b=_0x4c1ebc;_0x5c1d10['KbJLv'](_0x5da434,undefined)&&_0x5c1d10[_0x1dcc0b(0x16f)](_0x5da434,null)&&_0x409e29['set'](_0xa5286,_0x5da434);}),_0x1400af[_0x4c1ebc(0x18b)](process[_0x4c1ebc(0x197)]['slice'](0x2)),_0x1400af[_0x4c1ebc(0x178)](CLIUtils[_0x4c1ebc(0x1a0)]()),_0x1400af[_0x4c1ebc(0x1bb)](_0x2e0e87);const _0x62e969=_0x1400af[_0x4c1ebc(0x214)]();return _0x62e969['set'](_0x2e0e87,_0x5c1d10['WOjxj'](_0x1d1128,'')),_0x1400af[_0x4c1ebc(0x1a2)](_0x2e0e87,_0x1d1128),_0x1400af[_0x4c1ebc(0x16e)]([_0x2e0e87]),new Promise((_0x4dcfb4,_0x4d71f7)=>{const _0x8fda4e=_0x4c1ebc,_0x18200d={'JNfjV':function(_0x4b2969,_0x169dce){const _0x3eed00=a65_0x89c1;return _0x5c1d10[_0x3eed00(0x20a)](_0x4b2969,_0x169dce);},'KdQhT':_0x5c1d10[_0x8fda4e(0x177)],'kjfRp':function(_0x31a78d,_0x1c098c){return _0x5c1d10['nFtiY'](_0x31a78d,_0x1c098c);}};this[_0x8fda4e(0x1d4)][_0x8fda4e(0x22d)](_0x1400af,(_0x3e2bea,_0x24f2a8)=>{const _0x26e6da=_0x8fda4e;if(_0x3e2bea){this[_0x26e6da(0x1f2)][_0x26e6da(0x202)]('StartBinSession\x20error:\x20'+_0x3e2bea[_0x26e6da(0x17a)]),_0x18200d['JNfjV'](_0x4d71f7,_0x3e2bea),PerformanceTester['end'](PerformanceEvents['SDK_START_BIN_SESSION'],![],util[_0x26e6da(0x1df)](_0x3e2bea));return;}this['logger'][_0x26e6da(0x1ab)](_0x18200d[_0x26e6da(0x1de)]),PerformanceTester[_0x26e6da(0x1cf)](PerformanceEvents[_0x26e6da(0x1b4)]),_0x18200d[_0x26e6da(0x22c)](_0x4dcfb4,_0x24f2a8);});});}catch(_0x4ec538){this[_0x4c1ebc(0x1f2)][_0x4c1ebc(0x202)]('Error\x20in\x20startBinSession:\x20'+util[_0x4c1ebc(0x1df)](_0x4ec538)),PerformanceTester[_0x4c1ebc(0x1cf)](PerformanceEvents['SDK_START_BIN_SESSION'],![],util['format'](_0x4ec538));throw _0x4ec538;}}async[a65_0x4f0d55(0x1ba)](){const _0x797f5c=a65_0x4f0d55,_0x2a98ec={'Poihd':function(_0x31ca39,_0x2cc949){return _0x31ca39(_0x2cc949);},'uHvpE':_0x797f5c(0x191),'pYyGE':_0x797f5c(0x219),'WMtHa':_0x797f5c(0x1a5)};PerformanceTester['start'](PerformanceEvents[_0x797f5c(0x1c8)]),this[_0x797f5c(0x1f2)][_0x797f5c(0x1ab)](_0x2a98ec['pYyGE']);try{!this[_0x797f5c(0x1d4)]&&this[_0x797f5c(0x1f2)]['info'](_0x2a98ec['WMtHa']);const _0x470805=new messages[(_0x797f5c(0x222))]();_0x470805[_0x797f5c(0x1e3)](this['binSessionId']);const _0x2599f6=await new Promise((_0x1081b6,_0x3e7819)=>{const _0x4010f6=_0x797f5c,_0x4ae65c={'astHR':function(_0x2cacec,_0x30ac81){return _0x2a98ec['Poihd'](_0x2cacec,_0x30ac81);},'HUfGB':_0x2a98ec[_0x4010f6(0x1c7)],'wvxGp':function(_0xfcfb38,_0x23e449){const _0x484552=_0x4010f6;return _0x2a98ec[_0x484552(0x182)](_0xfcfb38,_0x23e449);}};this[_0x4010f6(0x1d4)][_0x4010f6(0x1ba)](_0x470805,(_0x230e18,_0x1b1c89)=>{const _0x354f8a=_0x4010f6;if(_0x230e18){this[_0x354f8a(0x1f2)][_0x354f8a(0x202)](_0x354f8a(0x193)+_0x230e18['message']),_0x4ae65c[_0x354f8a(0x184)](_0x3e7819,_0x230e18),PerformanceTester['end'](PerformanceEvents['SDK_CONNECT_BIN_SESSION'],![],util['format'](_0x230e18));return;}this[_0x354f8a(0x1f2)][_0x354f8a(0x1ab)](_0x4ae65c['HUfGB']),PerformanceTester['end'](PerformanceEvents[_0x354f8a(0x1c8)]),_0x4ae65c[_0x354f8a(0x1c2)](_0x1081b6,_0x1b1c89);});});return this[_0x797f5c(0x1f2)][_0x797f5c(0x211)](_0x797f5c(0x207)+util[_0x797f5c(0x1df)](_0x2599f6)),_0x2599f6;}catch(_0x5ac938){PerformanceTester[_0x797f5c(0x1cf)](PerformanceEvents[_0x797f5c(0x1c8)],![],util[_0x797f5c(0x1df)](_0x5ac938)),this[_0x797f5c(0x1f2)][_0x797f5c(0x202)](_0x797f5c(0x1e1)+util[_0x797f5c(0x1df)](_0x5ac938));throw _0x5ac938;}}async[a65_0x4f0d55(0x20b)](_0x466492={},_0x4777aa=null){const _0x15b26b=a65_0x4f0d55,_0x29ef0e={'iCdlJ':function(_0x2ceff3,_0x2f2538){return _0x2ceff3(_0x2f2538);},'lGzgH':'StopBinSession\x20successful','eGEhs':_0x15b26b(0x173),'CnDKf':_0x15b26b(0x1c6),'JnFYC':_0x15b26b(0x1a5),'USmJr':_0x15b26b(0x1fd)};PerformanceTester[_0x15b26b(0x17f)](PerformanceEvents[_0x15b26b(0x1d1)]),this[_0x15b26b(0x1f2)][_0x15b26b(0x1ab)](_0x29ef0e[_0x15b26b(0x1fb)]);try{if(!this['binSessionId'])throw new Error(_0x29ef0e[_0x15b26b(0x195)]);!this[_0x15b26b(0x1d4)]&&this[_0x15b26b(0x1f2)][_0x15b26b(0x1ab)](_0x29ef0e[_0x15b26b(0x1db)]);const _0x349137=new messages[(_0x15b26b(0x1bc))]();this['logger']['debug'](_0x15b26b(0x1fe)+JSON[_0x15b26b(0x1ac)](_0x4777aa)),_0x349137[_0x15b26b(0x1e3)](this[_0x15b26b(0x223)]),_0x349137[_0x15b26b(0x204)](_0x466492),_0x349137['setExitSignal'](_0x4777aa?_0x4777aa:null),_0x349137[_0x15b26b(0x18c)](_0x4777aa?_0x29ef0e['USmJr']:null),_0x349137[_0x15b26b(0x1b7)](_0x4777aa?0x1:0x0);const _0x1fd9c0=await new Promise((_0x206fea,_0x32e686)=>{const _0x1a1a2e=_0x15b26b;this['client'][_0x1a1a2e(0x20b)](_0x349137,(_0x138a06,_0x171031)=>{const _0x356625=_0x1a1a2e;if(_0x138a06){this[_0x356625(0x1f2)]['error'](_0x356625(0x201)+_0x138a06[_0x356625(0x17a)]),_0x29ef0e[_0x356625(0x1b0)](_0x32e686,_0x138a06),PerformanceTester[_0x356625(0x1cf)](PerformanceEvents['SDK_CLI_ON_STOP'],![],util['format'](_0x138a06));return;}this[_0x356625(0x1f2)][_0x356625(0x1ab)](_0x29ef0e[_0x356625(0x1f7)]),PerformanceTester[_0x356625(0x1cf)](PerformanceEvents['SDK_CLI_ON_STOP']),_0x29ef0e[_0x356625(0x1b0)](_0x206fea,_0x171031);});});return this[_0x15b26b(0x1f2)][_0x15b26b(0x211)](_0x15b26b(0x22a)+util[_0x15b26b(0x1df)](_0x1fd9c0)),_0x1fd9c0;}catch(_0x461254){PerformanceTester[_0x15b26b(0x1cf)](PerformanceEvents[_0x15b26b(0x1d1)],![],util[_0x15b26b(0x1df)](_0x461254)),this[_0x15b26b(0x1f2)]['error']('Error\x20in\x20stopBinSession:\x20'+util[_0x15b26b(0x1df)](_0x461254));}}async[a65_0x4f0d55(0x196)](_0x45ce98){const _0x46fb0b=a65_0x4f0d55,_0x4cf2cf={'EVUdg':function(_0x19f03e,_0x4f8344){return _0x19f03e(_0x4f8344);},'xcSIu':_0x46fb0b(0x1b8),'Wwvxz':'Getting\x20Playwright\x20config','FJjpb':_0x46fb0b(0x1a5)};PerformanceTester['start'](PerformanceEvents[_0x46fb0b(0x19d)]),this[_0x46fb0b(0x1f2)][_0x46fb0b(0x1ab)](_0x4cf2cf['Wwvxz']);try{!this[_0x46fb0b(0x1d4)]&&this[_0x46fb0b(0x1f2)][_0x46fb0b(0x1ab)](_0x4cf2cf[_0x46fb0b(0x168)]);const _0xbf828d=new messages[(_0x46fb0b(0x183))]();return _0xbf828d[_0x46fb0b(0x1e3)](this['binSessionId']),_0xbf828d[_0x46fb0b(0x200)](JSON['stringify'](_0x45ce98)),new Promise((_0xffb763,_0x57c465)=>{const _0x3fab0f=_0x46fb0b;this[_0x3fab0f(0x1d4)]['playwrightConfig'](_0xbf828d,(_0x323161,_0x5ebc14)=>{const _0x5935ee=_0x3fab0f;if(_0x323161){this[_0x5935ee(0x1f2)][_0x5935ee(0x202)](_0x5935ee(0x1ed)+_0x323161[_0x5935ee(0x17a)]),_0x4cf2cf[_0x5935ee(0x1dc)](_0x57c465,_0x323161),PerformanceTester[_0x5935ee(0x1cf)](PerformanceEvents[_0x5935ee(0x19d)],![],util[_0x5935ee(0x1df)](_0x323161));return;}this[_0x5935ee(0x1f2)][_0x5935ee(0x1ab)](_0x4cf2cf[_0x5935ee(0x16b)]),PerformanceTester[_0x5935ee(0x1cf)](PerformanceEvents['SDK_AUTOMATION_FRAMEWORK_INIT']),_0x4cf2cf[_0x5935ee(0x1dc)](_0xffb763,_0x5ebc14);});});}catch(_0xb32a36){PerformanceTester[_0x46fb0b(0x1cf)](PerformanceEvents['SDK_AUTOMATION_FRAMEWORK_INIT'],![],util[_0x46fb0b(0x1df)](_0xb32a36)),this[_0x46fb0b(0x1f2)][_0x46fb0b(0x202)](_0x46fb0b(0x1ef)+util[_0x46fb0b(0x1df)](_0xb32a36));throw _0xb32a36;}}async[a65_0x4f0d55(0x228)](_0x28dfdd){const _0x3a279a=a65_0x4f0d55,_0x553ca3={'kdFVr':function(_0x2accb4,_0x512a5a){return _0x2accb4(_0x512a5a);},'xQjIG':_0x3a279a(0x1a3),'nywvT':_0x3a279a(0x1ad),'cjDrE':_0x3a279a(0x198)};this[_0x3a279a(0x1f2)]['info'](_0x553ca3[_0x3a279a(0x1c3)]);try{const _0x461d67=Buffer[_0x3a279a(0x192)](JSON[_0x3a279a(0x1ac)](_0x28dfdd['launchcaps']),_0x553ca3[_0x3a279a(0x1e5)]),_0x2f7204=new messages[(_0x3a279a(0x1d6))](),_0x3ef1a0=CLIUtils['getAutomationFrameworkDetail'](),_0x21419d=_0x3ef1a0[_0x3a279a(0x18f)],_0x376722=_0x3ef1a0['version'];return _0x2f7204[_0x3a279a(0x1e3)](this['binSessionId']),_0x2f7204[_0x3a279a(0x210)](0x0),_0x2f7204['setFrameworkName'](_0x21419d),_0x2f7204['setFrameworkVersion'](_0x376722),_0x2f7204[_0x3a279a(0x186)](_0x28dfdd[_0x3a279a(0x1d8)]),_0x2f7204[_0x3a279a(0x1f6)](_0x461d67),new Promise((_0xa0357e,_0xd81e6)=>{const _0x54ead5=_0x3a279a;this[_0x54ead5(0x1d4)][_0x54ead5(0x1cc)](_0x2f7204,(_0x1d50c2,_0x12eb1a)=>{const _0x384b65=_0x54ead5;if(_0x1d50c2){this[_0x384b65(0x1f2)][_0x384b65(0x202)](_0x384b65(0x1da)+_0x1d50c2['message']),_0x553ca3[_0x384b65(0x231)](_0xd81e6,_0x1d50c2);return;}this[_0x384b65(0x1f2)]['info'](_0x553ca3[_0x384b65(0x188)]),_0x553ca3[_0x384b65(0x231)](_0xa0357e,_0x12eb1a);});});}catch(_0x1bb64e){this['logger'][_0x3a279a(0x202)](_0x3a279a(0x1ee)+util[_0x3a279a(0x1df)](_0x1bb64e));}}async[a65_0x4f0d55(0x175)](_0x52b8f4){const _0x2fd214=a65_0x4f0d55,_0x8efe59={'zuIGs':function(_0x898d68,_0x5cd061){return _0x898d68(_0x5cd061);},'eEFDa':_0x2fd214(0x1ec),'LWoKF':_0x2fd214(0x194),'gRqIZ':_0x2fd214(0x1a5)};this[_0x2fd214(0x1f2)][_0x2fd214(0x1ab)](_0x8efe59[_0x2fd214(0x1bf)]);try{!this[_0x2fd214(0x1d4)]&&this[_0x2fd214(0x1f2)]['info'](_0x8efe59[_0x2fd214(0x19b)]);const {platformIndex:_0x1de953,testFrameworkName:_0x97aea9,testFrameworkVersion:_0x281836,testFrameworkState:_0x59f007,testHookState:_0x27dd78,testUuid:_0x2c89c9,automationSession:_0x1efff8,capabilities:_0x15fc88,executionContext:_0x1a43f4}=_0x52b8f4,_0x429822=new messages[(_0x2fd214(0x1ca))]();_0x429822['setBinSessionId'](this[_0x2fd214(0x223)]),_0x429822[_0x2fd214(0x210)](_0x1de953),_0x429822[_0x2fd214(0x20c)](_0x97aea9),_0x429822['setTestFrameworkVersion'](_0x281836),_0x429822[_0x2fd214(0x1f8)](_0x59f007),_0x429822['setTestHookState'](_0x27dd78),_0x429822[_0x2fd214(0x16c)](_0x2c89c9);const _0x4e0690=new messages[(_0x2fd214(0x1ca))][(_0x2fd214(0x181))]();_0x4e0690['setProvider'](_0x1efff8[_0x2fd214(0x1a1)]),_0x4e0690[_0x2fd214(0x179)](_0x1efff8[_0x2fd214(0x229)]),_0x4e0690['setFrameworkVersion'](_0x1efff8['frameworkVersion']),_0x4e0690['setFrameworkSessionId'](_0x1efff8['frameworkSessionId']),_0x4e0690[_0x2fd214(0x174)](_0x1efff8['ref']),_0x4e0690[_0x2fd214(0x186)](_0x1efff8[_0x2fd214(0x1d8)]),_0x429822[_0x2fd214(0x199)](_0x4e0690),_0x429822[_0x2fd214(0x1f6)](_0x15fc88);const _0x477b27=new messages[(_0x2fd214(0x1a9))]();return _0x477b27[_0x2fd214(0x208)](_0x1a43f4['processId']),_0x477b27['setThreadId'](_0x1a43f4[_0x2fd214(0x16d)]),_0x477b27[_0x2fd214(0x213)](_0x1a43f4['hash']),_0x429822[_0x2fd214(0x1d5)](_0x477b27),new Promise((_0x1624dd,_0x124175)=>{this['client']['testSessionEvent'](_0x429822,(_0x2f22fe,_0x12c696)=>{const _0x1fc06c=a65_0x89c1;if(_0x2f22fe){this[_0x1fc06c(0x1f2)][_0x1fc06c(0x202)](_0x1fc06c(0x1b5)+_0x2f22fe['message']),_0x8efe59['zuIGs'](_0x124175,_0x2f22fe);return;}this[_0x1fc06c(0x1f2)]['info'](_0x8efe59['eEFDa']),_0x8efe59[_0x1fc06c(0x189)](_0x1624dd,_0x12c696);});});}catch(_0x32c7a2){this['logger']['error'](_0x2fd214(0x1d0)+util[_0x2fd214(0x1df)](_0x32c7a2));throw _0x32c7a2;}}async[a65_0x4f0d55(0x1ea)](_0x58cdbe){const _0x26db05=a65_0x4f0d55,_0x11beeb={'wHyPQ':function(_0x2e4598,_0x3f2cc6){return _0x2e4598(_0x3f2cc6);},'nXGjD':'TestFrameworkEvent\x20request\x20successful','AwBOV':function(_0x38ba1b,_0x385cca){return _0x38ba1b(_0x385cca);},'DfMJm':_0x26db05(0x1c1),'JgCJz':_0x26db05(0x1a5)};this[_0x26db05(0x1f2)]['info'](_0x11beeb[_0x26db05(0x232)]);try{!this['client']&&this[_0x26db05(0x1f2)][_0x26db05(0x1ab)](_0x11beeb['JgCJz']);const {platfromIndex:_0x4bf1ae,testFrameworkName:_0x8cbdfa,testFrameworkVersion:_0x3f734e,testFrameworkState:_0x28e07e,hookState:_0x262f23,startedAt:_0xbd5b03,endedAt:_0x5e8a04,uuid:_0x41104f,eventJson:_0x412374,executionContext:_0x387292}=_0x58cdbe,_0x46a7f6=new messages['TestFrameworkEventRequest']();_0x46a7f6[_0x26db05(0x1e3)](this['binSessionId']),_0x46a7f6['setPlatformIndex'](_0x4bf1ae),_0x46a7f6[_0x26db05(0x20c)](_0x8cbdfa),_0x46a7f6[_0x26db05(0x1e0)](_0x3f734e),_0x46a7f6[_0x26db05(0x1f8)](_0x28e07e),_0x46a7f6[_0x26db05(0x1b3)](_0x262f23),_0x46a7f6[_0x26db05(0x19f)](_0xbd5b03),_0x46a7f6[_0x26db05(0x18a)](_0x5e8a04),_0x46a7f6[_0x26db05(0x1c9)](_0x41104f),_0x46a7f6['setEventJson'](_0x412374);const _0x192bb4=new messages['ExecutionContext']();return _0x192bb4['setProcessId'](_0x387292['processId']),_0x192bb4['setThreadId'](_0x387292[_0x26db05(0x16d)]),_0x192bb4[_0x26db05(0x213)](_0x387292['hash']),_0x46a7f6['setExecutionContext'](_0x192bb4),new Promise((_0x263ab9,_0x4c0bd7)=>{const _0x256c0f=_0x26db05;this[_0x256c0f(0x1d4)][_0x256c0f(0x1ea)](_0x46a7f6,(_0x538e48,_0x1aab27)=>{const _0x70e88=_0x256c0f;if(_0x538e48){this[_0x70e88(0x1f2)]['error'](_0x70e88(0x215)+_0x538e48[_0x70e88(0x17a)]),_0x11beeb['wHyPQ'](_0x4c0bd7,_0x538e48);return;}this[_0x70e88(0x1f2)][_0x70e88(0x1ab)](_0x11beeb[_0x70e88(0x203)]),_0x11beeb[_0x70e88(0x209)](_0x263ab9,_0x1aab27);});});}catch(_0xcef698){this[_0x26db05(0x1f2)][_0x26db05(0x202)](_0x26db05(0x234)+util[_0x26db05(0x1df)](_0xcef698));throw _0xcef698;}}async[a65_0x4f0d55(0x1c0)](_0x3f4ea6){const _0x5a2c1c=a65_0x4f0d55,_0x234c9d={'HdEns':function(_0x1dd013,_0x36ab27){return _0x1dd013(_0x36ab27);},'ffUMh':_0x5a2c1c(0x1ff),'iGWxm':function(_0x255616,_0x87b31f){return _0x255616(_0x87b31f);},'GaxFF':_0x5a2c1c(0x1b1),'mDgcC':_0x5a2c1c(0x1a5)};this[_0x5a2c1c(0x1f2)]['info'](_0x234c9d['GaxFF']);try{!this[_0x5a2c1c(0x1d4)]&&this['logger'][_0x5a2c1c(0x1ab)](_0x234c9d['mDgcC']);const {platformIndex:_0x30f567,ref:_0x510313,userInputParams:_0x40b115}=_0x3f4ea6,_0x3b4388=new messages[(_0x5a2c1c(0x1af))]();return _0x3b4388[_0x5a2c1c(0x1e3)](this[_0x5a2c1c(0x223)]),_0x3b4388[_0x5a2c1c(0x210)](_0x30f567),_0x3b4388['setRef'](_0x510313),_0x3b4388['setUserInputParams'](_0x40b115),new Promise((_0x1aa01d,_0x334326)=>{const _0x45f261=_0x5a2c1c;this[_0x45f261(0x1d4)][_0x45f261(0x1c0)](_0x3b4388,(_0x3cfd79,_0x5f50d)=>{const _0x412e9a=_0x45f261;if(_0x3cfd79){this[_0x412e9a(0x1f2)][_0x412e9a(0x202)](_0x412e9a(0x225)+_0x3cfd79[_0x412e9a(0x17a)]),_0x234c9d['HdEns'](_0x334326,_0x3cfd79);return;}this['logger'][_0x412e9a(0x1ab)](_0x234c9d[_0x412e9a(0x17b)]),_0x234c9d['iGWxm'](_0x1aa01d,_0x5f50d);});});}catch(_0x396b30){this[_0x5a2c1c(0x1f2)][_0x5a2c1c(0x202)](_0x5a2c1c(0x169)+util[_0x5a2c1c(0x1df)](_0x396b30));throw _0x396b30;}}async[a65_0x4f0d55(0x1d7)](_0x41d2dc){const _0x42f3f3=a65_0x4f0d55,_0x522edc={'oVKIp':function(_0x5e7ccd,_0x2d3945){return _0x5e7ccd===_0x2d3945;},'syVmZ':function(_0x5e14b4,_0x2a3321){return _0x5e14b4(_0x2a3321);},'ItOSx':_0x42f3f3(0x21f),'xkAbB':function(_0x470b2e,_0x1cf376){return _0x470b2e(_0x1cf376);},'QJuGk':_0x42f3f3(0x19e),'ePOYx':'No\x20gRPC\x20client\x20not\x20initialized.'};this[_0x42f3f3(0x1f2)][_0x42f3f3(0x1ab)](_0x522edc[_0x42f3f3(0x190)]);try{!this[_0x42f3f3(0x1d4)]&&this['logger'][_0x42f3f3(0x1ab)](_0x522edc[_0x42f3f3(0x205)]);const {platformIndex:_0x35454c,logs:_0x12330e}=_0x41d2dc,_0x39c63b=new messages[(_0x42f3f3(0x220))]();_0x39c63b[_0x42f3f3(0x1e3)](this['binSessionId']),_0x39c63b[_0x42f3f3(0x210)](_0x35454c);const _0x381100=_0x41d2dc[_0x42f3f3(0x1a7)],_0x2feb51=_0x41d2dc[_0x42f3f3(0x21d)],_0x49b2e2=_0x41d2dc[_0x42f3f3(0x1f3)];return _0x12330e[_0x42f3f3(0x1c5)](_0xb7a3de=>{const _0x93ea4=_0x42f3f3,_0x106886=new messages[(_0x93ea4(0x220))]['LogEntry']();_0x106886['setTestFrameworkName'](_0x381100),_0x106886[_0x93ea4(0x1e0)](_0x2feb51),_0x106886[_0x93ea4(0x1f8)](_0x49b2e2),_0x106886[_0x93ea4(0x17d)](_0xb7a3de[_0x93ea4(0x167)]),_0x106886[_0x93ea4(0x1c9)](_0xb7a3de[_0x93ea4(0x1b6)]),_0x106886['setKind'](_0xb7a3de['kind']),_0x522edc['oVKIp'](_0xb7a3de[_0x93ea4(0x1cd)],PLAYWRIGHT_TRACE_LOGS)?(_0x106886['setUuid'](_0xb7a3de[_0x93ea4(0x20e)]),_0x106886[_0x93ea4(0x172)](new TextEncoder()[_0x93ea4(0x233)](JSON[_0x93ea4(0x1ac)](_0xb7a3de)))):_0x106886[_0x93ea4(0x172)](new TextEncoder()[_0x93ea4(0x233)](_0xb7a3de['message'])),_0x106886[_0x93ea4(0x19c)](_0xb7a3de['level']),_0x106886[_0x93ea4(0x1ce)](_0xb7a3de?.['fileName']||''),_0x106886['setFilePath'](_0xb7a3de?.['filePath']||''),_0x106886[_0x93ea4(0x18d)](_0xb7a3de?.[_0x93ea4(0x16a)]||0x0),_0x106886[_0x93ea4(0x171)](_0xb7a3de?.['attachment_type']||''),_0x39c63b['addLogs'](_0x106886);}),new Promise((_0x241b7e,_0x370afa)=>{const _0x4797df=_0x42f3f3;this[_0x4797df(0x1d4)][_0x4797df(0x1d7)](_0x39c63b,(_0x302242,_0x1ff739)=>{const _0x55f8ef=_0x4797df;if(_0x302242){this['logger'][_0x55f8ef(0x202)](_0x55f8ef(0x1e4)+_0x302242[_0x55f8ef(0x17a)]),_0x522edc['syVmZ'](_0x370afa,_0x302242);return;}this[_0x55f8ef(0x1f2)]['info'](_0x522edc[_0x55f8ef(0x1b9)]),_0x522edc[_0x55f8ef(0x1f5)](_0x241b7e,_0x1ff739);});});}catch(_0x27a759){this[_0x42f3f3(0x1f2)][_0x42f3f3(0x202)](_0x42f3f3(0x180)+util['format'](_0x27a759));throw _0x27a759;}}['getClient'](){return this['client'];}[a65_0x4f0d55(0x185)](){return this['channel'];}}module[a65_0x4f0d55(0x1e2)]=GrpcClient;
|
|
1
|
+
const a65_0x11ddb3=a65_0xd8a3;(function(_0x2ad448,_0x518fb0){const _0x12d363=a65_0xd8a3,_0xa1b38c=_0x2ad448();while(!![]){try{const _0x242082=-parseInt(_0x12d363(0x1a4))/0x1*(-parseInt(_0x12d363(0x205))/0x2)+parseInt(_0x12d363(0x23e))/0x3*(-parseInt(_0x12d363(0x25c))/0x4)+-parseInt(_0x12d363(0x211))/0x5*(parseInt(_0x12d363(0x1dc))/0x6)+-parseInt(_0x12d363(0x1a2))/0x7*(parseInt(_0x12d363(0x193))/0x8)+-parseInt(_0x12d363(0x1de))/0x9+-parseInt(_0x12d363(0x1f0))/0xa*(parseInt(_0x12d363(0x19b))/0xb)+parseInt(_0x12d363(0x220))/0xc;if(_0x242082===_0x518fb0)break;else _0xa1b38c['push'](_0xa1b38c['shift']());}catch(_0x440643){_0xa1b38c['push'](_0xa1b38c['shift']());}}}(a65_0x1db0,0xf3849));function a65_0x1db0(){const _0x1e79aa=['utf-8','setCliArgsList','WaoXt','getFrameworkVersionsMap','eZVsD','exports','addAutomationSessions','LogCreatedEventRequest','AeOAO','uYQhg','frameworkSessionId','addFrameworks','hgcaZ','threadId','env','1108410xtvQHu','setThreadId','BWYxQ','LogCreatedEvent\x20error:\x20','./cliUtils.js','getAutomationFrameworkDetail','util','setTimestamp','stopBinSession','PlaywrightConfigRequest','otoCP','VIxMA','start','getSdkVersion','addLogs','setTestFrameworkState','PnTTU','version','PxBuy','../../helpers/classLogger.js','setFrameworkVersion','6nOhOTv','attachment_type','getBrowserstackCliConfig','EWlmX','message','Connecting\x20bin\x20session','startBinSession','Error\x20in\x20TestFrameworkEvent:\x20','getClient','testFrameworkVersion','vurWC','setEndedAt','205uqpGMl','getPlaywrightConfig','setBinSessionId','user_killed','fileName','Channel','format','setHubUrl','mBQDV','cwhJa','uuid','cPdpu','timestamp','setTestFrameworkName','USZeE','94011612UHFJsb','ipLsO','accessibilityConfig','test_run_uuid','EFdDF','../../helpers/helper.js','Error\x20in\x20LogCreatedEvent:\x20','Stopping\x20bin\x20session','setCliArgs:\x20cliArgs=','DriverInit\x20request\x20successful','SDK_CLI_ON_STOP','slice','../../helpers/performance/constants','forEach','resolve','Error\x20in\x20startBinSession:\x20','debug','nwEWf','setUuid','SDK_START_BIN_SESSION','Sending\x20TestSessionEvent','setLanguage','bNRcW','NBzQc','provider','error','../../helpers/performance/performance-tester.js','from','Unable\x20to\x20determine\x20gRPC\x20server\x20listen\x20address',',\x20parsedConfig=','6YjUURA','setMessage','No\x20gRPC\x20client\x20not\x20initialized.','qMmyW','mmqlK','credentials','listenAddress','channel','playwrightConfig','DriverInit\x20error:\x20','setConfig','grpc.keepalive_time_ms','LogCreatedEvent\x20request\x20successful','startBinSession:\x20Calling\x20startBinSession','VBPqY','testFrameworkName','ConnectBinSession\x20successful','info','setTestFrameworkVersion','BROWSERSTACK_CLI_BIN_SESSION_ID','npPmj','ConnectBinSession\x20error:\x20','qAvOO','testFrameworkState','BJFvO','setLevel','TestFrameworkEvent\x20request\x20successful','setFileSize','setPlatformIndex','name','3882260PVMMxh','Getting\x20Playwright\x20config','Unable\x20to\x20find\x20listen\x20addr\x20or\x20bin\x20session\x20id\x20binSessionId:\x20','Missing\x20binSessionId','connect-bin-session\x20response:\x20','Error\x20in\x20TestSessionEvent:\x20','null','StartBinSession\x20successful','PlaywrightConfig\x20error:\x20','getInstance','TestFrameworkEventRequest','setSdkVersion','TestFrameworkEvent\x20error:\x20','connectBinSession','kYFBM','ConnectBinSessionRequest','../../helpers/logger.js','end','setUserInputParams','whZwk','logger','processId','setPathProject','StartBinSessionRequest','setFileName','binSessionId','encode','nYzjP','Sending\x20TestFrameworkEvent','setExecutionContext','kind','Stopping\x20signal\x20','FekZL','setFilePath','acImY','231488EMJXRj','Error\x20in\x20stopBinSession:\x20','BROWSERSTACK_CONFIG_FILE_PATH','HWUtD','hubUrl','DmzJJ','TestSessionEventRequest','setRef','99QkbnBN','driverInit','setCustomMetadata','eoBuN','BROWSERSTACK_CLI_BIN_LISTEN_ADDR','path','QMbJa','427haabxD','ExecutionContext','431657NUiWQl','browserstack.yml','SDK_AUTOMATION_FRAMEWORK_INIT','set','StopBinSessionRequest','SDK_CONNECT_BIN_SESSION','client','createInsecure','setFrameworksList','argv','setExitReason','setProcessId','setFrameworkSessionId','pljQw','KPqcV','setTestUuid','getAccessibilityConfig','Error\x20in\x20connectBinSession:\x20','StartBinSession\x20error:\x20','Error\x20in\x20getPlaywrightConfig:\x20','setTestFramework','qMvnm','BAsXQ','stringify','setFrameworkName','setProvider','./browserstackCLI.js','AutomationSession','mYzWe','AccessibilityConfig\x20request\x20successful','\x20listenAddr:\x20','setAttachmentType','setSdkLanguage','getSdkLanguage','setTestHookState','getChannel','Sending\x20DriverInit','ZEHTP','qFWMu','Initialized\x20gRPC\x20client\x20with\x20bin\x20session\x20id:\x20','init','kQDfm','cwd','Yxoxx','setKind','xoZrs','level','frameworkName','../utils/constants','ref','testSessionEvent','setExitSignal','StopBinSession\x20successful','Ozydh','LogEntry','Error\x20in\x20DriverInit:\x20','225336dlIXUz','setCapabilities','16994088DmItmI','winstonLogger','DriverInitRequest'];a65_0x1db0=function(){return _0x1e79aa;};return a65_0x1db0();}function a65_0xd8a3(_0x309f5,_0x71addc){const _0x1db045=a65_0x1db0();return a65_0xd8a3=function(_0xd8a35f,_0x2fd3a7){_0xd8a35f=_0xd8a35f-0x18b;let _0x4152c2=_0x1db045[_0xd8a35f];return _0x4152c2;},a65_0xd8a3(_0x309f5,_0x71addc);}const util=require(a65_0x11ddb3(0x1f6)),logger=require(a65_0x11ddb3(0x26c))[a65_0x11ddb3(0x1df)],grpc=require('@grpc/grpc-js'),services=require('../../../generated/sdk_grpc_pb'),messages=require('../../../generated/sdk-messages_pb'),path=require(a65_0x11ddb3(0x1a0)),CLIUtils=require(a65_0x11ddb3(0x1f4)),{createClassLogger}=require(a65_0x11ddb3(0x203)),PerformanceTester=require(a65_0x11ddb3(0x23a)),{EVENTS:PerformanceEvents}=require(a65_0x11ddb3(0x22c)),{PLAYWRIGHT_TRACE_LOGS}=require(a65_0x11ddb3(0x1d4)),helper=require(a65_0x11ddb3(0x225));class GrpcClient{static #instance=null;[a65_0x11ddb3(0x275)]=null;[a65_0x11ddb3(0x244)]=null;['channel']=null;[a65_0x11ddb3(0x1aa)]=null;[a65_0x11ddb3(0x270)]=createClassLogger('GrpcClient');constructor(){}static[a65_0x11ddb3(0x265)](){return!GrpcClient.#instance&&(GrpcClient.#instance=new GrpcClient()),GrpcClient.#instance;}[a65_0x11ddb3(0x1cc)](_0x531927){const _0x2bd038=a65_0x11ddb3,_0x48e333={};_0x48e333['xoZrs']=function(_0x4fc72a,_0x4adff0){return _0x4fc72a||_0x4adff0;};const _0x21f941=_0x48e333,{id:_0x1bf5de,listen:_0x447ed9}=_0x531927;if(_0x21f941[_0x2bd038(0x1d1)](!_0x1bf5de,!_0x447ed9))throw new Error(_0x2bd038(0x25e)+_0x1bf5de+_0x2bd038(0x1c2)+_0x447ed9);this[_0x2bd038(0x275)]=_0x1bf5de,this['listenAddress']=_0x447ed9,process['env'][_0x2bd038(0x251)]=this[_0x2bd038(0x275)],process[_0x2bd038(0x1ef)][_0x2bd038(0x19f)]=this[_0x2bd038(0x244)],this['connect'](),this['logger'][_0x2bd038(0x24f)](_0x2bd038(0x1cb)+this[_0x2bd038(0x275)]+'\x20and\x20listen\x20address:\x20'+this[_0x2bd038(0x244)]);}['connect'](){const _0xc5c2f1=a65_0x11ddb3,_0xe5e4a6={};_0xe5e4a6['cPdpu']=_0xc5c2f1(0x23c);const _0x1704cb=_0xe5e4a6;let _0x3d8569=this[_0xc5c2f1(0x244)];!_0x3d8569&&(_0x3d8569=process[_0xc5c2f1(0x1ef)][_0xc5c2f1(0x19f)]);!this[_0xc5c2f1(0x275)]&&(this['binSessionId']=this['binSessionId']||process[_0xc5c2f1(0x1ef)]['BROWSERSTACK_CLI_BIN_SESSION_ID']);if(!_0x3d8569)throw new Error(_0x1704cb[_0xc5c2f1(0x21c)]);const _0x20c99d={};_0x20c99d[_0xc5c2f1(0x249)]=0x2710,this['channel']=new grpc[(_0xc5c2f1(0x216))](_0x3d8569,grpc['credentials'][_0xc5c2f1(0x1ab)](),_0x20c99d),this[_0xc5c2f1(0x1aa)]=new services['SDKClient'](_0x3d8569,grpc[_0xc5c2f1(0x243)][_0xc5c2f1(0x1ab)]()),this[_0xc5c2f1(0x270)][_0xc5c2f1(0x24f)]('Connected\x20to\x20gRPC\x20server\x20at\x20'+_0x3d8569);}async['startBinSession'](){const _0x885f29=a65_0x11ddb3,_0x4334d2={'qIaeh':function(_0x433d92,_0x298bab){return _0x433d92!==_0x298bab;},'fmfMg':function(_0x191f41,_0xea47ef){return _0x191f41!==_0xea47ef;},'ZEHTP':function(_0x4b9578,_0x1f8eb4){return _0x4b9578(_0x1f8eb4);},'kYFBM':_0x885f29(0x263),'kQDfm':_0x885f29(0x24b),'KPqcV':_0x885f29(0x240),'Jjnbr':_0x885f29(0x1a5),'USZeE':_0x885f29(0x1be),'LSAVQ':function(_0x454acf,_0x1c9378){return _0x454acf instanceof _0x1c9378;},'acImY':_0x885f29(0x262),'hgcaZ':function(_0xa6694c,_0x5bbc23){return _0xa6694c||_0x5bbc23;}};PerformanceTester[_0x885f29(0x1fc)](PerformanceEvents[_0x885f29(0x233)]),this[_0x885f29(0x270)][_0x885f29(0x24f)](_0x4334d2[_0x885f29(0x1cd)]);try{!this[_0x885f29(0x1aa)]&&this[_0x885f29(0x270)][_0x885f29(0x24f)](_0x4334d2[_0x885f29(0x1b2)]);const _0x1df85a=CLIUtils[_0x885f29(0x1fd)](),_0x36bc2c=CLIUtils[_0x885f29(0x1f5)](),_0x47a6d6=_0x36bc2c[_0x885f29(0x25b)],_0x2a323f=_0x36bc2c[_0x885f29(0x201)],_0x2704c5=new messages[(_0x885f29(0x273))]();_0x2704c5[_0x885f29(0x213)](this[_0x885f29(0x275)]),_0x2704c5[_0x885f29(0x1c4)](CLIUtils[_0x885f29(0x1c5)]()),_0x2704c5[_0x885f29(0x267)](_0x1df85a),_0x2704c5[_0x885f29(0x272)](process[_0x885f29(0x1ce)]()),_0x2704c5['setPathConfig'](process[_0x885f29(0x1ef)][_0x885f29(0x195)]?process[_0x885f29(0x1ef)][_0x885f29(0x195)]:path[_0x885f29(0x22e)](process[_0x885f29(0x1ce)](),_0x4334d2['Jjnbr']));const _0x27c83e=_0x2704c5['getEnvVarsMap']();Object['entries'](process['env'])[_0x885f29(0x22d)](([_0x479c41,_0xaf0a5e])=>{const _0x3d5b15=_0x885f29;_0x4334d2['qIaeh'](_0xaf0a5e,undefined)&&_0x4334d2['fmfMg'](_0xaf0a5e,null)&&_0x27c83e[_0x3d5b15(0x1a7)](_0x479c41,_0xaf0a5e);});const _0x27ca50=_0x4334d2['ZEHTP'](require,_0x4334d2[_0x885f29(0x21f)]),_0x4ad339=_0x27ca50[_0x885f29(0x265)]()[_0x885f29(0x207)](),_0x20d4ec=[];_0x4ad339&&_0x4334d2['LSAVQ'](_0x4ad339,Map)&&_0x4ad339[_0x885f29(0x22d)]((_0x189ea3,_0x4b2b0e)=>{_0x20d4ec['push'](_0x4b2b0e+'='+_0x189ea3);});const _0x1bfb85=process[_0x885f29(0x1ad)][_0x885f29(0x22b)](0x2);_0x2704c5[_0x885f29(0x1e2)]([..._0x1bfb85,..._0x20d4ec]),this['logger'][_0x885f29(0x24f)](_0x885f29(0x228)+JSON['stringify'](_0x1bfb85)+_0x885f29(0x23d)+(_0x4ad339?JSON[_0x885f29(0x1bb)]([..._0x4ad339]):_0x4334d2[_0x885f29(0x192)])),_0x2704c5[_0x885f29(0x235)](CLIUtils[_0x885f29(0x1c5)]()),_0x2704c5[_0x885f29(0x1b8)](_0x47a6d6);const _0x1a05e0=_0x2704c5[_0x885f29(0x1e4)]();return _0x1a05e0[_0x885f29(0x1a7)](_0x47a6d6,_0x4334d2[_0x885f29(0x1ed)](_0x2a323f,'')),_0x2704c5[_0x885f29(0x1ec)](_0x47a6d6,_0x2a323f),_0x2704c5[_0x885f29(0x1ac)]([_0x47a6d6]),new Promise((_0x8512e8,_0x5c7476)=>{const _0x1b8efc=_0x885f29,_0x513b52={'cwhJa':function(_0x150341,_0x3dfecf){const _0x14edbb=a65_0xd8a3;return _0x4334d2[_0x14edbb(0x1c9)](_0x150341,_0x3dfecf);},'hviLE':_0x4334d2[_0x1b8efc(0x26a)]};this[_0x1b8efc(0x1aa)][_0x1b8efc(0x20b)](_0x2704c5,(_0x2939ac,_0x2219c4)=>{const _0x4cba11=_0x1b8efc;if(_0x2939ac){this[_0x4cba11(0x270)][_0x4cba11(0x239)](_0x4cba11(0x1b6)+_0x2939ac[_0x4cba11(0x209)]),_0x513b52['cwhJa'](_0x5c7476,_0x2939ac),PerformanceTester[_0x4cba11(0x26d)](PerformanceEvents[_0x4cba11(0x233)],![],util['format'](_0x2939ac));return;}this[_0x4cba11(0x270)][_0x4cba11(0x24f)](_0x513b52['hviLE']),PerformanceTester['end'](PerformanceEvents['SDK_START_BIN_SESSION']),_0x513b52[_0x4cba11(0x21a)](_0x8512e8,_0x2219c4);});});}catch(_0x414a22){this[_0x885f29(0x270)][_0x885f29(0x239)](_0x885f29(0x22f)+util['format'](_0x414a22)),PerformanceTester['end'](PerformanceEvents[_0x885f29(0x233)],![],util[_0x885f29(0x217)](_0x414a22));throw _0x414a22;}}async[a65_0x11ddb3(0x269)](){const _0x3e7700=a65_0x11ddb3,_0x249d65={'BWYxQ':function(_0x188eda,_0xac6d50){return _0x188eda(_0xac6d50);},'bNRcW':_0x3e7700(0x24e),'YLJWG':_0x3e7700(0x20a),'DmzJJ':_0x3e7700(0x240)};PerformanceTester[_0x3e7700(0x1fc)](PerformanceEvents[_0x3e7700(0x1a9)]),this['logger'][_0x3e7700(0x24f)](_0x249d65['YLJWG']);try{!this[_0x3e7700(0x1aa)]&&this[_0x3e7700(0x270)][_0x3e7700(0x24f)](_0x249d65[_0x3e7700(0x198)]);const _0x5c1ea7=new messages[(_0x3e7700(0x26b))]();_0x5c1ea7[_0x3e7700(0x213)](this[_0x3e7700(0x275)]);const _0x7ac1df=await new Promise((_0x3f1a1f,_0x5e9d1e)=>{const _0xb859ec=_0x3e7700,_0x141123={'pljQw':function(_0x1c2ebd,_0x47a36b){const _0x4e0067=a65_0xd8a3;return _0x249d65[_0x4e0067(0x1f2)](_0x1c2ebd,_0x47a36b);},'PxBuy':_0x249d65[_0xb859ec(0x236)]};this['client']['connectBinSession'](_0x5c1ea7,(_0x175c9b,_0x553c9e)=>{const _0x1fbf2b=_0xb859ec;if(_0x175c9b){this['logger'][_0x1fbf2b(0x239)](_0x1fbf2b(0x253)+_0x175c9b[_0x1fbf2b(0x209)]),_0x141123[_0x1fbf2b(0x1b1)](_0x5e9d1e,_0x175c9b),PerformanceTester[_0x1fbf2b(0x26d)](PerformanceEvents[_0x1fbf2b(0x1a9)],![],util[_0x1fbf2b(0x217)](_0x175c9b));return;}this['logger'][_0x1fbf2b(0x24f)](_0x141123[_0x1fbf2b(0x202)]),PerformanceTester[_0x1fbf2b(0x26d)](PerformanceEvents[_0x1fbf2b(0x1a9)]),_0x141123[_0x1fbf2b(0x1b1)](_0x3f1a1f,_0x553c9e);});});return this['logger'][_0x3e7700(0x230)](_0x3e7700(0x260)+util[_0x3e7700(0x217)](_0x7ac1df)),_0x7ac1df;}catch(_0x1c5396){PerformanceTester[_0x3e7700(0x26d)](PerformanceEvents[_0x3e7700(0x1a9)],![],util['format'](_0x1c5396)),this[_0x3e7700(0x270)][_0x3e7700(0x239)](_0x3e7700(0x1b5)+util[_0x3e7700(0x217)](_0x1c5396));throw _0x1c5396;}}async[a65_0x11ddb3(0x1f8)](_0x76cc88={},_0xf6035d=null){const _0x38a7cc=a65_0x11ddb3,_0x3eca87={'iAMvb':function(_0x2e2907,_0xe64b3c){return _0x2e2907(_0xe64b3c);},'qGnDe':_0x38a7cc(0x1d8),'uHuLW':_0x38a7cc(0x227),'BJFvO':_0x38a7cc(0x25f),'EFdDF':_0x38a7cc(0x240),'otoCP':_0x38a7cc(0x214)};PerformanceTester['start'](PerformanceEvents['SDK_CLI_ON_STOP']),this['logger'][_0x38a7cc(0x24f)](_0x3eca87['uHuLW']);try{if(!this[_0x38a7cc(0x275)])throw new Error(_0x3eca87[_0x38a7cc(0x256)]);!this['client']&&this[_0x38a7cc(0x270)][_0x38a7cc(0x24f)](_0x3eca87[_0x38a7cc(0x224)]);const _0x2a89c6=new messages[(_0x38a7cc(0x1a8))]();this[_0x38a7cc(0x270)][_0x38a7cc(0x230)](_0x38a7cc(0x18f)+JSON[_0x38a7cc(0x1bb)](_0xf6035d)),_0x2a89c6[_0x38a7cc(0x213)](this['binSessionId']),_0x2a89c6[_0x38a7cc(0x19d)](_0x76cc88),_0x2a89c6[_0x38a7cc(0x1d7)](_0xf6035d?_0xf6035d:null),_0x2a89c6[_0x38a7cc(0x1ae)](_0xf6035d?_0x3eca87[_0x38a7cc(0x1fa)]:null),_0x2a89c6['setExitCode'](_0xf6035d?0x1:0x0);const _0x4dd603=await new Promise((_0x3cfa13,_0x3d04ee)=>{const _0x89658c={'vurWC':function(_0x4fd277,_0x1bd76a){return _0x3eca87['iAMvb'](_0x4fd277,_0x1bd76a);},'sRZKK':_0x3eca87['qGnDe'],'HWUtD':function(_0x24eb79,_0x5e70b4){return _0x3eca87['iAMvb'](_0x24eb79,_0x5e70b4);}};this['client']['stopBinSession'](_0x2a89c6,(_0x5d02e5,_0x4e4220)=>{const _0x2bf4c2=a65_0xd8a3;if(_0x5d02e5){this[_0x2bf4c2(0x270)][_0x2bf4c2(0x239)]('StopBinSession\x20error:\x20'+_0x5d02e5[_0x2bf4c2(0x209)]),_0x89658c[_0x2bf4c2(0x20f)](_0x3d04ee,_0x5d02e5),PerformanceTester[_0x2bf4c2(0x26d)](PerformanceEvents['SDK_CLI_ON_STOP'],![],util['format'](_0x5d02e5));return;}this['logger'][_0x2bf4c2(0x24f)](_0x89658c['sRZKK']),PerformanceTester['end'](PerformanceEvents[_0x2bf4c2(0x22a)]),_0x89658c[_0x2bf4c2(0x196)](_0x3cfa13,_0x4e4220);});});return this[_0x38a7cc(0x270)][_0x38a7cc(0x230)]('stop-bin-session\x20response:\x20'+util[_0x38a7cc(0x217)](_0x4dd603)),_0x4dd603;}catch(_0x377f17){PerformanceTester[_0x38a7cc(0x26d)](PerformanceEvents[_0x38a7cc(0x22a)],![],util['format'](_0x377f17)),this[_0x38a7cc(0x270)]['error'](_0x38a7cc(0x194)+util[_0x38a7cc(0x217)](_0x377f17));}}async[a65_0x11ddb3(0x212)](_0x2966fa){const _0x33cb1e=a65_0x11ddb3,_0x1aa53c={'NBzQc':function(_0x5233e6,_0x1f7675){return _0x5233e6(_0x1f7675);},'qFWMu':'PlaywrightConfig\x20request\x20successful','qMmyW':function(_0x429277,_0x363ccc){return _0x429277(_0x363ccc);},'VIxMA':_0x33cb1e(0x25d),'uYQhg':'No\x20gRPC\x20client\x20not\x20initialized.'};PerformanceTester[_0x33cb1e(0x1fc)](PerformanceEvents[_0x33cb1e(0x1a6)]),this['logger'][_0x33cb1e(0x24f)](_0x1aa53c[_0x33cb1e(0x1fb)]);try{!this[_0x33cb1e(0x1aa)]&&this['logger']['info'](_0x1aa53c[_0x33cb1e(0x1ea)]);const _0x218fc9=new messages[(_0x33cb1e(0x1f9))]();return _0x218fc9['setBinSessionId'](this[_0x33cb1e(0x275)]),_0x218fc9[_0x33cb1e(0x248)](JSON[_0x33cb1e(0x1bb)](_0x2966fa)),new Promise((_0xd4290b,_0x5bb103)=>{const _0x185026=_0x33cb1e;this[_0x185026(0x1aa)][_0x185026(0x246)](_0x218fc9,(_0x583563,_0x14592f)=>{const _0x4dda6e=_0x185026;if(_0x583563){this[_0x4dda6e(0x270)][_0x4dda6e(0x239)](_0x4dda6e(0x264)+_0x583563['message']),_0x1aa53c[_0x4dda6e(0x237)](_0x5bb103,_0x583563),PerformanceTester[_0x4dda6e(0x26d)](PerformanceEvents[_0x4dda6e(0x1a6)],![],util[_0x4dda6e(0x217)](_0x583563));return;}this[_0x4dda6e(0x270)][_0x4dda6e(0x24f)](_0x1aa53c[_0x4dda6e(0x1ca)]),PerformanceTester['end'](PerformanceEvents['SDK_AUTOMATION_FRAMEWORK_INIT']),_0x1aa53c[_0x4dda6e(0x241)](_0xd4290b,_0x14592f);});});}catch(_0x4ba037){PerformanceTester[_0x33cb1e(0x26d)](PerformanceEvents[_0x33cb1e(0x1a6)],![],util[_0x33cb1e(0x217)](_0x4ba037)),this[_0x33cb1e(0x270)][_0x33cb1e(0x239)](_0x33cb1e(0x1b7)+util[_0x33cb1e(0x217)](_0x4ba037));throw _0x4ba037;}}async[a65_0x11ddb3(0x1b4)](_0x588b80){const _0x29c0c2=a65_0x11ddb3,_0x4c19cf={'BAsXQ':function(_0x1b686b,_0x108a64){return _0x1b686b(_0x108a64);},'eFvCb':_0x29c0c2(0x1c1),'TSHFG':'Getting\x20Accessibility\x20config','WaoXt':_0x29c0c2(0x1e1)};this[_0x29c0c2(0x270)][_0x29c0c2(0x24f)](_0x4c19cf['TSHFG']);try{const _0x5c5c2f=Buffer[_0x29c0c2(0x23b)](JSON['stringify'](_0x588b80['launchcaps']),_0x4c19cf[_0x29c0c2(0x1e3)]),_0x563297=new messages['AccessibilityConfigRequest'](),_0xcef854=CLIUtils[_0x29c0c2(0x1f5)](),_0x4dc2e5=_0xcef854['name'],_0x1cc356=_0xcef854[_0x29c0c2(0x201)];return _0x563297['setBinSessionId'](this['binSessionId']),_0x563297['setPlatformIndex'](0x0),_0x563297[_0x29c0c2(0x1bc)](_0x4dc2e5),_0x563297[_0x29c0c2(0x204)](_0x1cc356),_0x563297[_0x29c0c2(0x218)](_0x588b80['hubUrl']),_0x563297[_0x29c0c2(0x1dd)](_0x5c5c2f),new Promise((_0x444b76,_0x5bae33)=>{const _0x57fa04=_0x29c0c2,_0x120ebd={'VBPqY':function(_0x506c07,_0x544699){const _0x59f19f=a65_0xd8a3;return _0x4c19cf[_0x59f19f(0x1ba)](_0x506c07,_0x544699);},'mBQDV':_0x4c19cf['eFvCb']};this[_0x57fa04(0x1aa)][_0x57fa04(0x222)](_0x563297,(_0x31c80c,_0x1307c1)=>{const _0x1464c5=_0x57fa04;if(_0x31c80c){this[_0x1464c5(0x270)][_0x1464c5(0x239)]('AccessibilityConfig\x20error:\x20'+_0x31c80c[_0x1464c5(0x209)]),_0x120ebd[_0x1464c5(0x24c)](_0x5bae33,_0x31c80c);return;}this[_0x1464c5(0x270)][_0x1464c5(0x24f)](_0x120ebd[_0x1464c5(0x219)]),_0x120ebd[_0x1464c5(0x24c)](_0x444b76,_0x1307c1);});});}catch(_0x466a52){this[_0x29c0c2(0x270)][_0x29c0c2(0x239)]('Error\x20in\x20getAccessibilityConfig:\x20'+util[_0x29c0c2(0x217)](_0x466a52));}}async['testSessionEvent'](_0x3127d6){const _0x137d2d=a65_0x11ddb3,_0x2e0ce7={'eZVsD':function(_0x1923f5,_0x2ab7c1){return _0x1923f5(_0x2ab7c1);},'IsKCH':'TestSessionEvent\x20request\x20successful','Yxoxx':_0x137d2d(0x234),'VVRMe':_0x137d2d(0x240)};this['logger']['info'](_0x2e0ce7[_0x137d2d(0x1cf)]);try{!this['client']&&this['logger'][_0x137d2d(0x24f)](_0x2e0ce7['VVRMe']);const {platformIndex:_0x1b19c1,testFrameworkName:_0x450aa4,testFrameworkVersion:_0x195554,testFrameworkState:_0x327a79,testHookState:_0xaaec03,testUuid:_0x45539b,automationSession:_0x2c7642,capabilities:_0x3a5721,executionContext:_0xed7037}=_0x3127d6,_0x3c0dde=new messages[(_0x137d2d(0x199))]();_0x3c0dde['setBinSessionId'](this['binSessionId']),_0x3c0dde[_0x137d2d(0x25a)](_0x1b19c1),_0x3c0dde[_0x137d2d(0x21e)](_0x450aa4),_0x3c0dde[_0x137d2d(0x250)](_0x195554),_0x3c0dde[_0x137d2d(0x1ff)](_0x327a79),_0x3c0dde[_0x137d2d(0x1c6)](_0xaaec03),_0x3c0dde[_0x137d2d(0x1b3)](_0x45539b);const _0x34d997=new messages[(_0x137d2d(0x199))][(_0x137d2d(0x1bf))]();_0x34d997[_0x137d2d(0x1bd)](_0x2c7642[_0x137d2d(0x238)]),_0x34d997[_0x137d2d(0x1bc)](_0x2c7642[_0x137d2d(0x1d3)]),_0x34d997[_0x137d2d(0x204)](_0x2c7642['frameworkVersion']),_0x34d997[_0x137d2d(0x1b0)](_0x2c7642[_0x137d2d(0x1eb)]),_0x34d997[_0x137d2d(0x19a)](_0x2c7642[_0x137d2d(0x1d5)]),_0x34d997['setHubUrl'](_0x2c7642[_0x137d2d(0x197)]),_0x3c0dde[_0x137d2d(0x1e7)](_0x34d997),_0x3c0dde[_0x137d2d(0x1dd)](_0x3a5721);const _0x2c8745=new messages['ExecutionContext']();return _0x2c8745['setProcessId'](_0xed7037[_0x137d2d(0x271)]),_0x2c8745[_0x137d2d(0x1f1)](_0xed7037[_0x137d2d(0x1ee)]),_0x2c8745['setHash'](_0xed7037['hash']),_0x3c0dde[_0x137d2d(0x18d)](_0x2c8745),new Promise((_0x89072b,_0xc401d3)=>{const _0x27faad=_0x137d2d;this['client'][_0x27faad(0x1d6)](_0x3c0dde,(_0x4a5ead,_0x2d751e)=>{const _0x40d9d0=_0x27faad;if(_0x4a5ead){this['logger']['error']('TestSessionEvent\x20error:\x20'+_0x4a5ead['message']),_0x2e0ce7[_0x40d9d0(0x1e5)](_0xc401d3,_0x4a5ead);return;}this[_0x40d9d0(0x270)][_0x40d9d0(0x24f)](_0x2e0ce7['IsKCH']),_0x2e0ce7[_0x40d9d0(0x1e5)](_0x89072b,_0x2d751e);});});}catch(_0x31258e){this['logger'][_0x137d2d(0x239)](_0x137d2d(0x261)+util['format'](_0x31258e));throw _0x31258e;}}async['testFrameworkEvent'](_0x543b51){const _0x4350f3=a65_0x11ddb3,_0x3721f6={'qAvOO':function(_0x18376b,_0x174e5c){return _0x18376b(_0x174e5c);},'Ozydh':_0x4350f3(0x258),'mmqlK':function(_0x18e39a,_0x42d631){return _0x18e39a(_0x42d631);},'FKETg':_0x4350f3(0x18c),'FbVUf':_0x4350f3(0x240)};this[_0x4350f3(0x270)][_0x4350f3(0x24f)](_0x3721f6['FKETg']);try{!this[_0x4350f3(0x1aa)]&&this[_0x4350f3(0x270)]['info'](_0x3721f6['FbVUf']);const {platfromIndex:_0x11d302,testFrameworkName:_0x328d6d,testFrameworkVersion:_0x7219b4,testFrameworkState:_0x323254,hookState:_0x559f4d,startedAt:_0x360f22,endedAt:_0x421786,uuid:_0x1526e2,eventJson:_0x442d84,executionContext:_0x2bafcd}=_0x543b51,_0x19e3e2=new messages[(_0x4350f3(0x266))]();_0x19e3e2[_0x4350f3(0x213)](this[_0x4350f3(0x275)]),_0x19e3e2[_0x4350f3(0x25a)](_0x11d302),_0x19e3e2['setTestFrameworkName'](_0x328d6d),_0x19e3e2[_0x4350f3(0x250)](_0x7219b4),_0x19e3e2[_0x4350f3(0x1ff)](_0x323254),_0x19e3e2['setTestHookState'](_0x559f4d),_0x19e3e2['setStartedAt'](_0x360f22),_0x19e3e2[_0x4350f3(0x210)](_0x421786),_0x19e3e2['setUuid'](_0x1526e2),_0x19e3e2['setEventJson'](_0x442d84);const _0x1f10dd=new messages[(_0x4350f3(0x1a3))]();return _0x1f10dd[_0x4350f3(0x1af)](_0x2bafcd[_0x4350f3(0x271)]),_0x1f10dd[_0x4350f3(0x1f1)](_0x2bafcd[_0x4350f3(0x1ee)]),_0x1f10dd['setHash'](_0x2bafcd['hash']),_0x19e3e2[_0x4350f3(0x18d)](_0x1f10dd),new Promise((_0x51d351,_0x1a1e73)=>{const _0xef13d6=_0x4350f3,_0x4c0b36={'AeOAO':function(_0x120f74,_0x1d450e){const _0x28fb4d=a65_0xd8a3;return _0x3721f6[_0x28fb4d(0x254)](_0x120f74,_0x1d450e);},'mYzWe':_0x3721f6[_0xef13d6(0x1d9)],'qyZxY':function(_0x3dd81a,_0x5e57ea){const _0x3df4e2=_0xef13d6;return _0x3721f6[_0x3df4e2(0x242)](_0x3dd81a,_0x5e57ea);}};this[_0xef13d6(0x1aa)]['testFrameworkEvent'](_0x19e3e2,(_0x5e2845,_0x13f7a3)=>{const _0x199133=_0xef13d6;if(_0x5e2845){this[_0x199133(0x270)][_0x199133(0x239)](_0x199133(0x268)+_0x5e2845[_0x199133(0x209)]),_0x4c0b36[_0x199133(0x1e9)](_0x1a1e73,_0x5e2845);return;}this['logger'][_0x199133(0x24f)](_0x4c0b36[_0x199133(0x1c0)]),_0x4c0b36['qyZxY'](_0x51d351,_0x13f7a3);});});}catch(_0x5ea527){this['logger']['error'](_0x4350f3(0x20c)+util['format'](_0x5ea527));throw _0x5ea527;}}async[a65_0x11ddb3(0x19c)](_0x2d84d8){const _0x35fd36=a65_0x11ddb3,_0x267038={'qMvnm':function(_0x46e73a,_0x49a9c1){return _0x46e73a(_0x49a9c1);},'whZwk':_0x35fd36(0x229),'eoBuN':function(_0x5e212e,_0x1c3529){return _0x5e212e(_0x1c3529);},'ipLsO':_0x35fd36(0x1c8),'EWlmX':'No\x20gRPC\x20client\x20not\x20initialized.'};this[_0x35fd36(0x270)]['info'](_0x267038[_0x35fd36(0x221)]);try{!this[_0x35fd36(0x1aa)]&&this[_0x35fd36(0x270)][_0x35fd36(0x24f)](_0x267038[_0x35fd36(0x208)]);const {platformIndex:_0x12afb2,ref:_0x39122e,userInputParams:_0x5c411a}=_0x2d84d8,_0x2a52df=new messages[(_0x35fd36(0x1e0))]();return _0x2a52df[_0x35fd36(0x213)](this[_0x35fd36(0x275)]),_0x2a52df['setPlatformIndex'](_0x12afb2),_0x2a52df[_0x35fd36(0x19a)](_0x39122e),_0x2a52df[_0x35fd36(0x26e)](_0x5c411a),new Promise((_0x3866f2,_0x4178c6)=>{const _0x2aac24=_0x35fd36;this[_0x2aac24(0x1aa)][_0x2aac24(0x19c)](_0x2a52df,(_0x562468,_0x4f32c1)=>{const _0x5b14bd=_0x2aac24;if(_0x562468){this['logger'][_0x5b14bd(0x239)](_0x5b14bd(0x247)+_0x562468[_0x5b14bd(0x209)]),_0x267038[_0x5b14bd(0x1b9)](_0x4178c6,_0x562468);return;}this[_0x5b14bd(0x270)][_0x5b14bd(0x24f)](_0x267038[_0x5b14bd(0x26f)]),_0x267038[_0x5b14bd(0x19e)](_0x3866f2,_0x4f32c1);});});}catch(_0x3d3bf7){this[_0x35fd36(0x270)][_0x35fd36(0x239)](_0x35fd36(0x1db)+util['format'](_0x3d3bf7));throw _0x3d3bf7;}}async['logCreatedEvent'](_0x285766){const _0xf1c223=a65_0x11ddb3,_0x433ed7={'npPmj':function(_0x35dda2,_0x146d6d){return _0x35dda2===_0x146d6d;},'QMbJa':function(_0x44f01c,_0x1111cf){return _0x44f01c(_0x1111cf);},'FekZL':_0xf1c223(0x24a),'nwEWf':function(_0x14f7c5,_0x36748a){return _0x14f7c5(_0x36748a);},'PnTTU':'Sending\x20LogCreatedEvent','nYzjP':_0xf1c223(0x240)};this[_0xf1c223(0x270)][_0xf1c223(0x24f)](_0x433ed7[_0xf1c223(0x200)]);try{!this[_0xf1c223(0x1aa)]&&this[_0xf1c223(0x270)][_0xf1c223(0x24f)](_0x433ed7[_0xf1c223(0x18b)]);const {platformIndex:_0x5bb711,logs:_0x2741ce}=_0x285766,_0x718073=new messages[(_0xf1c223(0x1e8))]();_0x718073[_0xf1c223(0x213)](this[_0xf1c223(0x275)]),_0x718073[_0xf1c223(0x25a)](_0x5bb711);const _0x5715e7=_0x285766[_0xf1c223(0x24d)],_0x5a308b=_0x285766[_0xf1c223(0x20e)],_0x15e714=_0x285766[_0xf1c223(0x255)];return _0x2741ce['forEach'](_0x5ee911=>{const _0x5a09cd=_0xf1c223,_0x1326b5=new messages[(_0x5a09cd(0x1e8))][(_0x5a09cd(0x1da))]();_0x1326b5[_0x5a09cd(0x21e)](_0x5715e7),_0x1326b5[_0x5a09cd(0x250)](_0x5a308b),_0x1326b5[_0x5a09cd(0x1ff)](_0x15e714),_0x1326b5[_0x5a09cd(0x1f7)](_0x5ee911[_0x5a09cd(0x21d)]),_0x1326b5[_0x5a09cd(0x232)](_0x5ee911[_0x5a09cd(0x21b)]),_0x1326b5[_0x5a09cd(0x1d0)](_0x5ee911[_0x5a09cd(0x18e)]),_0x433ed7[_0x5a09cd(0x252)](_0x5ee911[_0x5a09cd(0x206)],PLAYWRIGHT_TRACE_LOGS)?(_0x1326b5[_0x5a09cd(0x232)](_0x5ee911[_0x5a09cd(0x223)]),_0x1326b5[_0x5a09cd(0x23f)](new TextEncoder()[_0x5a09cd(0x276)](JSON[_0x5a09cd(0x1bb)](_0x5ee911)))):_0x1326b5[_0x5a09cd(0x23f)](new TextEncoder()[_0x5a09cd(0x276)](_0x5ee911[_0x5a09cd(0x209)])),_0x1326b5[_0x5a09cd(0x257)](_0x5ee911[_0x5a09cd(0x1d2)]),_0x1326b5[_0x5a09cd(0x274)](_0x5ee911?.[_0x5a09cd(0x215)]||''),_0x1326b5[_0x5a09cd(0x191)](_0x5ee911?.['filePath']||''),_0x1326b5[_0x5a09cd(0x259)](_0x5ee911?.['fileSize']||0x0),_0x1326b5[_0x5a09cd(0x1c3)](_0x5ee911?.[_0x5a09cd(0x206)]||''),_0x718073[_0x5a09cd(0x1fe)](_0x1326b5);}),new Promise((_0x5910f7,_0x300981)=>{const _0x1c4e0c=_0xf1c223;this[_0x1c4e0c(0x1aa)]['logCreatedEvent'](_0x718073,(_0x500e34,_0x5a6bdb)=>{const _0x4bba6a=_0x1c4e0c;if(_0x500e34){this['logger'][_0x4bba6a(0x239)](_0x4bba6a(0x1f3)+_0x500e34[_0x4bba6a(0x209)]),_0x433ed7[_0x4bba6a(0x1a1)](_0x300981,_0x500e34);return;}this[_0x4bba6a(0x270)][_0x4bba6a(0x24f)](_0x433ed7[_0x4bba6a(0x190)]),_0x433ed7[_0x4bba6a(0x231)](_0x5910f7,_0x5a6bdb);});});}catch(_0x2de833){this[_0xf1c223(0x270)][_0xf1c223(0x239)](_0xf1c223(0x226)+util[_0xf1c223(0x217)](_0x2de833));throw _0x2de833;}}[a65_0x11ddb3(0x20d)](){const _0x14d83d=a65_0x11ddb3;return this[_0x14d83d(0x1aa)];}[a65_0x11ddb3(0x1c7)](){const _0x571a1e=a65_0x11ddb3;return this[_0x571a1e(0x245)];}}module[a65_0x11ddb3(0x1e6)]=GrpcClient;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a66_0x36c054=a66_0x5992;function a66_0x5992(_0x2bc7a6,_0x51871b){const _0x18f400=a66_0x18f4();return a66_0x5992=function(_0x5992c7,_0x41ba3c){_0x5992c7=_0x5992c7-0x65;let _0x5576e8=_0x18f400[_0x5992c7];return _0x5576e8;},a66_0x5992(_0x2bc7a6,_0x51871b);}(function(_0x4c1e73,_0xdacca1){const _0x2e96cf=a66_0x5992,_0x55c5ec=_0x4c1e73();while(!![]){try{const _0x32b8b6=-parseInt(_0x2e96cf(0x67))/0x1+-parseInt(_0x2e96cf(0x72))/0x2*(-parseInt(_0x2e96cf(0x79))/0x3)+-parseInt(_0x2e96cf(0x75))/0x4+-parseInt(_0x2e96cf(0x77))/0x5+-parseInt(_0x2e96cf(0x76))/0x6+-parseInt(_0x2e96cf(0x6e))/0x7*(-parseInt(_0x2e96cf(0x73))/0x8)+parseInt(_0x2e96cf(0x7a))/0x9;if(_0x32b8b6===_0xdacca1)break;else _0x55c5ec['push'](_0x55c5ec['shift']());}catch(_0x3c8f4d){_0x55c5ec['push'](_0x55c5ec['shift']());}}}(a66_0x18f4,0x3ca89));const AutomationFrameworkState=require(a66_0x36c054(0x6a)),TrackedInstance=require(a66_0x36c054(0x66)),now=new Date();class AutomationFrameworkInstance extends TrackedInstance{constructor(_0x1d9c54,_0x583b34,_0x2391e4,_0x1a79ce){const _0x124e7e=a66_0x36c054,_0x16108d={};_0x16108d[_0x124e7e(0x6d)]=_0x124e7e(0x7b);const _0x49fdd3=_0x16108d,_0x2bb4cc=_0x49fdd3[_0x124e7e(0x6d)][_0x124e7e(0x74)]('|');let _0x47f0d4=0x0;while(!![]){switch(_0x2bb4cc[_0x47f0d4++]){case'0':this[_0x124e7e(0x7c)]=AutomationFrameworkState['NONE'];continue;case'1':this[_0x124e7e(0x6b)]=_0x583b34;continue;case'2':super(_0x1d9c54);continue;case'3':this[_0x124e7e(0x70)]=now[_0x124e7e(0x71)]();continue;case'4':this[_0x124e7e(0x68)]=_0x2391e4;continue;case'5':this['state']=_0x1a79ce;continue;}break;}}[a66_0x36c054(0x78)](){const _0x28d422=a66_0x36c054;return this[_0x28d422(0x6b)];}[a66_0x36c054(0x6c)](){const _0x3f1f58=a66_0x36c054;return this[_0x3f1f58(0x68)];}[a66_0x36c054(0x65)](){const _0x523fb2=a66_0x36c054;return this[_0x523fb2(0x69)];}[a66_0x36c054(0x6f)](_0x5928cd){const _0x2695c4=a66_0x36c054;this['lastState']=this[_0x2695c4(0x69)],this[_0x2695c4(0x69)]=_0x5928cd;}}function a66_0x18f4(){const _0x524c52=['state','../state/automationFrameworkState','frameworkName','getFrameworkVersion','Ogjja','145733CgnQAq','setState','createdAt','toLocaleString','36578rQknbJ','64ygsBld','split','1847148VUcNHB','2541480FEQJmn','576550VesEQS','getFrameworkName','21pGOPSs','10793565jJeIYu','2|1|4|5|0|3','lastState','getState','./trackedInstance','244726DxicGh','frameworkVersion'];a66_0x18f4=function(){return _0x524c52;};return a66_0x18f4();}module['exports']=AutomationFrameworkInstance;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a67_0x58fba8=a67_0x2d4c;(function(_0x34e0ea,_0x42c61b){const _0x71927d=a67_0x2d4c,_0x1e2da9=_0x34e0ea();while(!![]){try{const _0x2928a0=-parseInt(_0x71927d(0x18c))/0x1*(parseInt(_0x71927d(0x17b))/0x2)+-parseInt(_0x71927d(0x18a))/0x3*(parseInt(_0x71927d(0x180))/0x4)+parseInt(_0x71927d(0x189))/0x5*(-parseInt(_0x71927d(0x179))/0x6)+parseInt(_0x71927d(0x182))/0x7+parseInt(_0x71927d(0x17a))/0x8+parseInt(_0x71927d(0x184))/0x9*(parseInt(_0x71927d(0x17f))/0xa)+parseInt(_0x71927d(0x17d))/0xb;if(_0x2928a0===_0x42c61b)break;else _0x1e2da9['push'](_0x1e2da9['shift']());}catch(_0x469e14){_0x1e2da9['push'](_0x1e2da9['shift']());}}}(a67_0x4b14,0x48625));const {createClassLogger}=require(a67_0x58fba8(0x183)),logger=createClassLogger(a67_0x58fba8(0x173)),HookState=require(a67_0x58fba8(0x181)),TestFrameworkState=require(a67_0x58fba8(0x178)),TrackedContext=require(a67_0x58fba8(0x186)),TrackedInstance=require(a67_0x58fba8(0x18d)),now=new Date();function a67_0x4b14(){const _0x71d524=['901725tfXXaU','setLastHookState','1120940QpSCoU','252bGtNyZ','../state/hookState','2744714zQSSiI','../../../helpers/classLogger','9DuFEfY','lastTestState','./trackedContext','getLastTestState','3|4|6|2|0|1|7|5','5WxVEgp','13353exFopf','rawrl','10MCClLA','./trackedInstance','NONE','lastHookState','currentHookState','setCurrentHookState','getCurrentTestState','setLastTestState','testFrameworksVersions','setCurrentTestState','TrackedInstance','currentTestState','getLastHookState','createdAt','toLocaleString','../state/testFrameworkState','2449470LwcndY','4549696SItbqn','33948piafjk','getCreatedAt'];a67_0x4b14=function(){return _0x71d524;};return a67_0x4b14();}function a67_0x2d4c(_0x5cc8a3,_0x1f6a8e){const _0x4b144b=a67_0x4b14();return a67_0x2d4c=function(_0x2d4cad,_0x2fa7ab){_0x2d4cad=_0x2d4cad-0x16d;let _0x5e3fa0=_0x4b144b[_0x2d4cad];return _0x5e3fa0;},a67_0x2d4c(_0x5cc8a3,_0x1f6a8e);}class TestFrameworkInstance extends TrackedInstance{constructor(_0x34d924,_0xcd9fea,_0x36e003,_0x59f2e6,_0x1af45e){const _0x381573=a67_0x58fba8,_0x41280f={};_0x41280f[_0x381573(0x18b)]=_0x381573(0x188);const _0x114c6c=_0x41280f,_0x230472=_0x114c6c[_0x381573(0x18b)]['split']('|');let _0x33b20a=0x0;while(!![]){switch(_0x230472[_0x33b20a++]){case'0':this[_0x381573(0x16d)]=_0x1af45e;continue;case'1':this[_0x381573(0x185)]=TestFrameworkState['NONE'];continue;case'2':this[_0x381573(0x174)]=_0x59f2e6;continue;case'3':super(_0x34d924);continue;case'4':this['testFrameworks']=_0xcd9fea;continue;case'5':this[_0x381573(0x176)]=now[_0x381573(0x177)]();continue;case'6':this[_0x381573(0x171)]=_0x36e003;continue;case'7':this['lastHookState']=HookState[_0x381573(0x18e)];continue;}break;}}[a67_0x58fba8(0x16f)](){const _0x2b31af=a67_0x58fba8;return this[_0x2b31af(0x174)];}[a67_0x58fba8(0x172)](_0x18b972){const _0x5db057=a67_0x58fba8;this[_0x5db057(0x170)](this[_0x5db057(0x174)]),this[_0x5db057(0x174)]=_0x18b972;}['getCurrentHookState'](){return this['currentHookState'];}[a67_0x58fba8(0x16e)](_0x40df06){const _0xb3e798=a67_0x58fba8;this[_0xb3e798(0x17e)](this['currentHookState']),this['currentHookState']=_0x40df06;}[a67_0x58fba8(0x187)](){const _0x18b580=a67_0x58fba8;return this[_0x18b580(0x185)];}[a67_0x58fba8(0x170)](_0x49a1bc){this['lastTestState']=_0x49a1bc;}[a67_0x58fba8(0x175)](){const _0x336b51=a67_0x58fba8;return this[_0x336b51(0x18f)];}[a67_0x58fba8(0x17e)](_0x57749){const _0x58c2a7=a67_0x58fba8;this[_0x58c2a7(0x18f)]=_0x57749;}[a67_0x58fba8(0x17c)](){const _0x5821d6=a67_0x58fba8;return this[_0x5821d6(0x176)];}}module['exports']=TestFrameworkInstance;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a68_0x31c732=a68_0xa4ec;(function(_0x3586c0,_0x298782){const _0x375bff=a68_0xa4ec,_0x36015c=_0x3586c0();while(!![]){try{const _0x40067c=parseInt(_0x375bff(0x18f))/0x1+parseInt(_0x375bff(0x195))/0x2+parseInt(_0x375bff(0x191))/0x3*(-parseInt(_0x375bff(0x192))/0x4)+parseInt(_0x375bff(0x19a))/0x5*(-parseInt(_0x375bff(0x18a))/0x6)+parseInt(_0x375bff(0x18e))/0x7+-parseInt(_0x375bff(0x197))/0x8*(-parseInt(_0x375bff(0x199))/0x9)+parseInt(_0x375bff(0x198))/0xa;if(_0x40067c===_0x298782)break;else _0x36015c['push'](_0x36015c['shift']());}catch(_0x55d26c){_0x36015c['push'](_0x36015c['shift']());}}}(a68_0x53f6,0x4428e));const {createClassLogger}=require('../../../helpers/classLogger'),logger=createClassLogger(a68_0x31c732(0x194));class TrackedContext{constructor(_0x1127af,_0x52e7cb,_0x5087cc,_0x12d8b1){const _0x4684c4=a68_0x31c732;this['id']=_0x1127af,this['threadId']=_0x52e7cb,this[_0x4684c4(0x18b)]=_0x5087cc,this[_0x4684c4(0x18c)]=_0x12d8b1;}[a68_0x31c732(0x19b)](){const _0x2bfb22=a68_0x31c732;return this[_0x2bfb22(0x190)];}['getProcessId'](){const _0x5baedb=a68_0x31c732;return this[_0x5baedb(0x18b)];}[a68_0x31c732(0x196)](){return this['id'];}[a68_0x31c732(0x193)](){return this['type'];}}function a68_0xa4ec(_0x33e157,_0x1c69f3){const _0x53f64c=a68_0x53f6();return a68_0xa4ec=function(_0xa4ec9f,_0x2e665e){_0xa4ec9f=_0xa4ec9f-0x18a;let _0xe35352=_0x53f64c[_0xa4ec9f];return _0xe35352;},a68_0xa4ec(_0x33e157,_0x1c69f3);}function a68_0x53f6(){const _0x4cabcf=['threadId','21KVKrDK','301280xaPIeQ','getType','TrackedContext','369012GJoRPl','getId','40zrbJmu','596420pFHsTO','413766EXDdxw','5kCdCbA','getThreadId','1693524CSsDUS','processId','type','exports','1624161DRxsRs','382635hzZjhy'];a68_0x53f6=function(){return _0x4cabcf;};return a68_0x53f6();}module[a68_0x31c732(0x18d)]=TrackedContext;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a69_0x1b8f(){const _0x26a0d9=['ngxWs','worker_threads','get','set','entries','getData','hex','updateData','42uFogXX','3812745bBKlBD','pid','context','addMultipleEntries','881005hEakEA','data','9IDqEDS','MWSVS','getId','5620872fTHXaQ','isBrowserstackAutomationSession','429835IbRtRd','KEY_IS_BROWSERSTACK_AUTOMATION_SESSION','updateMultipleEntries','559567OLUQiO','mnuIt','forEach','digest','sha256','getContext','5067096ftmpFK','update','1540714ehcBeS'];a69_0x1b8f=function(){return _0x26a0d9;};return a69_0x1b8f();}function a69_0x5117(_0x51a9d5,_0x5e1d6c){const _0x1b8f58=a69_0x1b8f();return a69_0x5117=function(_0x511764,_0x1eae1b){_0x511764=_0x511764-0x64;let _0x3e741f=_0x1b8f58[_0x511764];return _0x3e741f;},a69_0x5117(_0x51a9d5,_0x5e1d6c);}const a69_0x24a60e=a69_0x5117;(function(_0x44088c,_0x140ea1){const _0x2148df=a69_0x5117,_0x63c005=_0x44088c();while(!![]){try{const _0x2a601c=parseInt(_0x2148df(0x77))/0x1+parseInt(_0x2148df(0x7f))/0x2+parseInt(_0x2148df(0x69))/0x3+-parseInt(_0x2148df(0x7d))/0x4+-parseInt(_0x2148df(0x6d))/0x5*(parseInt(_0x2148df(0x68))/0x6)+parseInt(_0x2148df(0x74))/0x7+-parseInt(_0x2148df(0x72))/0x8*(-parseInt(_0x2148df(0x6f))/0x9);if(_0x2a601c===_0x140ea1)break;else _0x63c005['push'](_0x63c005['shift']());}catch(_0x4d6c34){_0x63c005['push'](_0x63c005['shift']());}}}(a69_0x1b8f,0xd31a0));const TrackedContext=require('./trackedContext'),crypto=require('crypto'),{threadId}=require(a69_0x24a60e(0x81));class TrackedInstance{static [a69_0x24a60e(0x75)]=a69_0x24a60e(0x73);constructor(_0x3ad448){const _0x5b3781=a69_0x24a60e;this['context']=_0x3ad448,this[_0x5b3781(0x6e)]=new Map();}['getRef'](){const _0x51ca09=a69_0x24a60e;return this[_0x51ca09(0x6b)][_0x51ca09(0x71)]();}[a69_0x24a60e(0x7c)](){const _0x338414=a69_0x24a60e;return this[_0x338414(0x6b)];}['getAllData'](){return this['data'];}[a69_0x24a60e(0x76)](_0x9f36aa){Object['keys'](_0x9f36aa)['forEach'](_0x1e9250=>{const _0x1fdf10=a69_0x5117;this[_0x1fdf10(0x6e)][_0x1fdf10(0x83)](_0x1e9250,_0x9f36aa[_0x1e9250]);});}[a69_0x24a60e(0x6c)](_0x5a8013){const _0x57fef7=a69_0x24a60e;Object[_0x57fef7(0x64)](_0x5a8013)[_0x57fef7(0x79)](([_0x4cfb62,_0x16e375])=>{const _0x4b7ae3=_0x57fef7,_0x592536=this[_0x4b7ae3(0x6e)][_0x4b7ae3(0x82)](_0x4cfb62)||{},_0x7d916a={..._0x592536,..._0x16e375},_0x983660=_0x7d916a;this['data'][_0x4b7ae3(0x83)](_0x4cfb62,_0x983660);});}[a69_0x24a60e(0x65)](_0x2dfb0c){const _0x3dfe90=a69_0x24a60e;return this[_0x3dfe90(0x6e)][_0x3dfe90(0x82)](_0x2dfb0c);}[a69_0x24a60e(0x67)](_0x3ba995,_0x5cb488){this['data']['set'](_0x3ba995,_0x5cb488);}static['createContext'](_0xe832f){const _0x66956f=a69_0x24a60e,_0x17955d={};_0x17955d[_0x66956f(0x70)]=_0x66956f(0x7b),_0x17955d[_0x66956f(0x78)]=_0x66956f(0x66),_0x17955d[_0x66956f(0x80)]=function(_0x54f809,_0x1f636d){return _0x54f809||_0x1f636d;};const _0x14a13d=_0x17955d;return new TrackedContext(crypto['createHash'](_0x14a13d[_0x66956f(0x70)])[_0x66956f(0x7e)](_0xe832f)[_0x66956f(0x7a)](_0x14a13d[_0x66956f(0x78)]),_0x14a13d[_0x66956f(0x80)](threadId,0x0),process[_0x66956f(0x6a)],typeof _0xe832f);}}module['exports']=TrackedInstance;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a70_0x2a13(_0x1be7ae,_0x40196b){const _0x1155d5=a70_0x1155();return a70_0x2a13=function(_0x2a13ce,_0x29d6d4){_0x2a13ce=_0x2a13ce-0xe7;let _0x1c54ae=_0x1155d5[_0x2a13ce];return _0x1c54ae;},a70_0x2a13(_0x1be7ae,_0x40196b);}const a70_0x3feff1=a70_0x2a13;(function(_0x2cc30d,_0x58ba7b){const _0x2c743c=a70_0x2a13,_0x10cc25=_0x2cc30d();while(!![]){try{const _0x47d7a6=parseInt(_0x2c743c(0x133))/0x1*(-parseInt(_0x2c743c(0x141))/0x2)+-parseInt(_0x2c743c(0x12a))/0x3*(parseInt(_0x2c743c(0x112))/0x4)+parseInt(_0x2c743c(0x130))/0x5*(parseInt(_0x2c743c(0x11a))/0x6)+-parseInt(_0x2c743c(0x121))/0x7*(parseInt(_0x2c743c(0x128))/0x8)+-parseInt(_0x2c743c(0xea))/0x9*(-parseInt(_0x2c743c(0x10e))/0xa)+parseInt(_0x2c743c(0x142))/0xb*(parseInt(_0x2c743c(0x12c))/0xc)+parseInt(_0x2c743c(0x13f))/0xd*(parseInt(_0x2c743c(0x12f))/0xe);if(_0x47d7a6===_0x58ba7b)break;else _0x10cc25['push'](_0x10cc25['shift']());}catch(_0x741863){_0x10cc25['push'](_0x10cc25['shift']());}}}(a70_0x1155,0xc6ac1));const BaseModule=require(a70_0x3feff1(0x138)),{createClassLogger}=require(a70_0x3feff1(0xe9)),CLIUtils=require(a70_0x3feff1(0x101)),AutomationFramework=require(a70_0x3feff1(0x114)),AutomationFrameworkState=require(a70_0x3feff1(0x10a)),HookState=require(a70_0x3feff1(0xe7)),GrpcClient=require('../grpcClient'),scripts=require(a70_0x3feff1(0x131)),logger=createClassLogger(a70_0x3feff1(0xf1)),PerformanceTester=require('../../../helpers/performance/performance-tester.js'),{EVENTS}=require(a70_0x3feff1(0x107));class AccessibilityModule extends BaseModule{static [a70_0x3feff1(0x126)]=AccessibilityModule[a70_0x3feff1(0x140)];constructor(_0x33e062){const _0x94ed0a=a70_0x3feff1,_0x12f239={};_0x12f239[_0x94ed0a(0x10c)]=_0x94ed0a(0x10b);const _0x3c38f1=_0x12f239,_0x3eac88=_0x3c38f1[_0x94ed0a(0x10c)][_0x94ed0a(0x144)]('|');let _0x19534f=0x0;while(!![]){switch(_0x3eac88[_0x19534f++]){case'0':AutomationFramework[_0x94ed0a(0x123)](AutomationFrameworkState[_0x94ed0a(0x120)],HookState['PRE'],this[_0x94ed0a(0x136)][_0x94ed0a(0x134)](this));continue;case'1':this[_0x94ed0a(0x11c)]=_0x33e062[_0x94ed0a(0x116)]();continue;case'2':this[_0x94ed0a(0x118)]=!![];continue;case'3':this[_0x94ed0a(0x139)]=new Map();continue;case'4':super();continue;case'5':this[_0x94ed0a(0x117)]=![];continue;case'6':AutomationFramework['registerObserver'](AutomationFrameworkState[_0x94ed0a(0xf3)],HookState['PRE'],this['onBeforeTest'][_0x94ed0a(0x134)](this));continue;case'7':this[_0x94ed0a(0xff)]=new Map();continue;case'8':this[_0x94ed0a(0x122)](_0x33e062[_0x94ed0a(0x137)]()[_0x94ed0a(0xf5)]());continue;case'9':AutomationFramework[_0x94ed0a(0x123)](AutomationFrameworkState[_0x94ed0a(0x143)],HookState[_0x94ed0a(0x105)],this[_0x94ed0a(0x115)]['bind'](this));continue;}break;}}[a70_0x3feff1(0x118)](){return this['isEnabled'];}[a70_0x3feff1(0xf7)](){return AccessibilityModule['MODULE_NAME'];}[a70_0x3feff1(0x12b)](){const _0x891fec=a70_0x3feff1;return this[_0x891fec(0xff)][_0x891fec(0xf9)](CLIUtils[_0x891fec(0xfb)](),![]);}[a70_0x3feff1(0x11b)](){const _0xa9b8d9=a70_0x3feff1;return this[_0xa9b8d9(0x139)]['get'](CLIUtils[_0xa9b8d9(0xfb)](),![]);}[a70_0x3feff1(0x12e)](_0xb73584){const _0x34aba0=a70_0x3feff1;this['LOG_DISABLED_SHOWN'][_0x34aba0(0x102)](CLIUtils[_0x34aba0(0xfb)](),_0xb73584);}async[a70_0x3feff1(0x127)](_0x394c7d){const _0x8c93e4=a70_0x3feff1;try{PerformanceTester[_0x8c93e4(0x103)](EVENTS[_0x8c93e4(0xf6)]);const _0xe5f6c3=await GrpcClient[_0x8c93e4(0x13d)]()['getAccessibilityConfig'](_0x394c7d);_0xe5f6c3&&_0xe5f6c3['getAccessibility']()&&_0xe5f6c3['getAccessibility']()[_0x8c93e4(0x125)]()&&(global[_0x8c93e4(0x13e)]=!![],process[_0x8c93e4(0xee)][_0x8c93e4(0x100)]=!![],this[_0x8c93e4(0xfe)](_0xe5f6c3,_0x394c7d)),PerformanceTester[_0x8c93e4(0x13a)](EVENTS[_0x8c93e4(0xf6)]);}catch(_0x59ca9c){PerformanceTester['end'](EVENTS[_0x8c93e4(0xf6)],![],_0x59ca9c[_0x8c93e4(0xec)]),logger[_0x8c93e4(0x111)](_0x8c93e4(0xeb)+(_0x59ca9c['stack']||_0x59ca9c[_0x8c93e4(0xec)]));}}async[a70_0x3feff1(0xfe)](_0x20455f,_0x3ad55d){const _0x35acb4=a70_0x3feff1,_0x72cd30=_0x20455f[_0x35acb4(0xfd)]()[_0x35acb4(0x137)](),_0x31caea=_0x72cd30[_0x35acb4(0x12d)](),_0x44ac82=_0x72cd30[_0x35acb4(0xf8)]()?.[_0x35acb4(0x13b)]();scripts['parseFromProto'](_0x31caea,_0x44ac82),scripts[_0x35acb4(0x106)]();const _0x4fcf40=_0x72cd30[_0x35acb4(0xf5)]();await this['setAccessibilityToken'](_0x4fcf40,_0x3ad55d[_0x35acb4(0x13c)]);}async[a70_0x3feff1(0x122)](_0xd0ee20,_0x50512a={}){const _0x2c114b=a70_0x3feff1,_0x5e4de5={};_0x5e4de5[_0x2c114b(0xfc)]=function(_0xda7948,_0x594f47){return _0xda7948===_0x594f47;},_0x5e4de5['WQYoI']=_0x2c114b(0x132),_0x5e4de5[_0x2c114b(0x11d)]=_0x2c114b(0xf4),_0x5e4de5['MySXw']=function(_0x156ff9,_0x253dec){return _0x156ff9===_0x253dec;},_0x5e4de5[_0x2c114b(0x108)]=_0x2c114b(0x10f),_0x5e4de5[_0x2c114b(0xe8)]=_0x2c114b(0x129),_0x5e4de5[_0x2c114b(0x119)]='scannerVersion',_0x5e4de5[_0x2c114b(0x110)]=_0x2c114b(0xfa),_0x5e4de5[_0x2c114b(0x124)]=function(_0x36a185,_0x2e2644){return _0x36a185===_0x2e2644;},_0x5e4de5['lHVfM']='scannerProcessingTimeout',_0x5e4de5[_0x2c114b(0xf2)]=_0x2c114b(0x11e);const _0x418f05=_0x5e4de5;for(const _0x4b4d06 of _0xd0ee20){logger[_0x2c114b(0x10d)](_0x2c114b(0x11f)+_0x4b4d06[_0x2c114b(0x113)]()+_0x2c114b(0x104)+_0x4b4d06[_0x2c114b(0x109)]());if(_0x418f05['hhbBF'](_0x4b4d06[_0x2c114b(0x113)](),_0x418f05[_0x2c114b(0xed)]))process['env'][_0x2c114b(0x135)]=_0x4b4d06[_0x2c114b(0x109)](),_0x50512a[_0x418f05[_0x2c114b(0x11d)]]=_0x4b4d06['getValue']();else{if(_0x418f05[_0x2c114b(0xf0)](_0x4b4d06[_0x2c114b(0x113)](),_0x418f05['rBoVV']))_0x50512a[_0x418f05[_0x2c114b(0xe8)]]=_0x4b4d06['getValue']();else{if(_0x418f05[_0x2c114b(0xfc)](_0x4b4d06[_0x2c114b(0x113)](),_0x418f05[_0x2c114b(0x119)]))_0x50512a[_0x418f05['ukyUJ']]=_0x4b4d06['getValue']();else _0x418f05['suQJp'](_0x4b4d06['getName'](),_0x418f05['lHVfM'])&&(_0x50512a[_0x418f05[_0x2c114b(0xf2)]]=_0x4b4d06[_0x2c114b(0x109)]());}}}}[a70_0x3feff1(0x136)](_0x513038){const _0x4c682a=a70_0x3feff1;logger[_0x4c682a(0x10d)]('onAfterTest:\x20event='+_0x513038);}[a70_0x3feff1(0x115)](_0x580f50){const _0x16013c=a70_0x3feff1;logger[_0x16013c(0x10d)](_0x16013c(0xef)+_0x580f50);}};function a70_0x1155(){const _0x145bcc=['accessibilityToken','10uFmkBF','bind','BS_A11Y_JWT','onAfterTest','getOptions','./baseModule','LOG_DISABLED_SHOWN','end','getCommandsList','launchCaps','getInstance','accessibilityPlatform','8984911CXTOvD','name','165948plnuum','44jrCUDA','EXECUTE','split','../state/hookState','uiDyo','../../../helpers/classLogger','2367SkDpmK','Error\x20while\x20setting\x20accessibility\x20config:\x20','message','WQYoI','env','onBeforeExecute:\x20event=','MySXw','TrackedInstance','pyprn','CREATE','browserstack.accessibilityOptions.authToken','getCapabilitiesList','SDK_ACCESSIBILITY_CONFIG','getModuleName','getCommandsToWrap','get','browserstack.accessibilityOptions.scannerVersion','getCurrentInstanceName','hhbBF','getAccessibility','setAccessibilityConfig','accessibility','BROWSERSTACK_TEST_ACCESSIBILITY_YML','../cliUtils','put','start','\x20value=','PRE','toJson','../../../helpers/performance/constants.js','rBoVV','getValue','../state/automationFrameworkState','4|9|6|0|2|1|7|3|5|8','ylAjQ','info','58010nCkmQn','wcagVersion','ukyUJ','error','328edmSFl','getName','../framework/automationFramework','onBeforeExecute','toObject','isAppAccessibility','isEnabled','oKmqm','126wKPuBH','getLogDisabledShown','accessibilityConfig','NnLbP','browserstack.accessibilityOptions.scannerProcessingTimeout','name:\x20','QUIT','83531HkPzcr','setAccessibilityToken','registerObserver','suQJp','getSuccess','MODULE_NAME','onBeforeTest','856SbPCGx','browserstack.accessibilityOptions.wcagVersion','3039BbFzew','getCurrentAccessibilityStatus','956628igSemn','getScriptsList','setLogDisabledShown','14GpxSwY','111360NuQCkS','../../../helpers/accessibility-automation/scripts'];a70_0x1155=function(){return _0x145bcc;};return a70_0x1155();}module['exports']=AccessibilityModule;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a71_0x2175(_0x2e51c2,_0x2120db){const _0x127402=a71_0x1274();return a71_0x2175=function(_0x21759a,_0x5b0e78){_0x21759a=_0x21759a-0x91;let _0x177507=_0x127402[_0x21759a];return _0x177507;},a71_0x2175(_0x2e51c2,_0x2120db);}const a71_0x445991=a71_0x2175;(function(_0x3df22c,_0x5240bb){const _0x27c7ec=a71_0x2175,_0x494761=_0x3df22c();while(!![]){try{const _0x597fd1=-parseInt(_0x27c7ec(0x9c))/0x1*(parseInt(_0x27c7ec(0xa1))/0x2)+-parseInt(_0x27c7ec(0x9e))/0x3+parseInt(_0x27c7ec(0xa7))/0x4*(-parseInt(_0x27c7ec(0xaa))/0x5)+parseInt(_0x27c7ec(0xa3))/0x6+-parseInt(_0x27c7ec(0xab))/0x7+-parseInt(_0x27c7ec(0x9b))/0x8+parseInt(_0x27c7ec(0xa2))/0x9;if(_0x597fd1===_0x5240bb)break;else _0x494761['push'](_0x494761['shift']());}catch(_0x5b8580){_0x494761['push'](_0x494761['shift']());}}}(a71_0x1274,0x75218));function a71_0x1274(){const _0x24fff0=['winstonLogger','getModuleName','Missing\x20binSessionId','split','configure','QEWib','6523072XAEmwV','841971FwtmPN','name','231540CDtuGl','platformIndex','vgENt','2cFEAYv','28304127oQpPNv','2061966sAQmgq','3|0|1|4|2','uAGIb','client','1770912NPqAQh','exports','binSessionId','5MoMUnb','5820731XtuHMv','debug','Configured\x20module\x20','\x20with\x20binSessionId=','BaseModule','../../../helpers/logger.js','ensureBinSession','config',',\x20platformIndex='];a71_0x1274=function(){return _0x24fff0;};return a71_0x1274();}const logger=require(a71_0x445991(0x91))[a71_0x445991(0x95)];class BaseModule{constructor(){const _0x582991=a71_0x445991,_0x1fe95e={};_0x1fe95e['vgENt']=_0x582991(0xa4),_0x1fe95e['xQrBd']=_0x582991(0xaf);const _0x1279e2=_0x1fe95e,_0x498195=_0x1279e2[_0x582991(0xa0)][_0x582991(0x98)]('|');let _0x1cbb5a=0x0;while(!![]){switch(_0x498195[_0x1cbb5a++]){case'0':this['binSessionId']=null;continue;case'1':this[_0x582991(0x9f)]=0x0;continue;case'2':this[_0x582991(0xa6)]=null;continue;case'3':this[_0x582991(0x9d)]=_0x1279e2['xQrBd'];continue;case'4':this[_0x582991(0x93)]={};continue;}break;}}[a71_0x445991(0x92)](){const _0x2d3dd0=a71_0x445991,_0x369eb6={};_0x369eb6[_0x2d3dd0(0x9a)]=_0x2d3dd0(0x97);const _0x197981=_0x369eb6;if(!this['binSessionId'])throw new Error(_0x197981[_0x2d3dd0(0x9a)]);}['getModuleName'](){const _0x3a39ab=a71_0x445991;return this[_0x3a39ab(0x9d)];}[a71_0x445991(0x99)](_0xb74df8,_0x5b75bf,_0x3404ea,_0x1abd59={}){const _0x50c54f=a71_0x445991,_0x195467={};_0x195467[_0x50c54f(0xa5)]=_0x50c54f(0xa4);const _0x11bc47=_0x195467,_0x3ded3c=_0x11bc47['uAGIb'][_0x50c54f(0x98)]('|');let _0x3ef36c=0x0;while(!![]){switch(_0x3ded3c[_0x3ef36c++]){case'0':this[_0x50c54f(0x9f)]=_0x5b75bf;continue;case'1':this[_0x50c54f(0xa6)]=_0x3404ea;continue;case'2':logger[_0x50c54f(0xac)](_0x50c54f(0xad)+this[_0x50c54f(0x96)]()+_0x50c54f(0xae)+_0xb74df8+_0x50c54f(0x94)+_0x5b75bf);continue;case'3':this[_0x50c54f(0xa9)]=_0xb74df8;continue;case'4':this[_0x50c54f(0x93)]=_0x1abd59;continue;}break;}}}module[a71_0x445991(0xa8)]=BaseModule;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a72_0x24d99c=a72_0x5c10;(function(_0x552486,_0x17fb90){const _0x300302=a72_0x5c10,_0x2894de=_0x552486();while(!![]){try{const _0xd7ae57=parseInt(_0x300302(0x19b))/0x1*(parseInt(_0x300302(0x1a1))/0x2)+parseInt(_0x300302(0x198))/0x3*(-parseInt(_0x300302(0x184))/0x4)+parseInt(_0x300302(0x190))/0x5*(parseInt(_0x300302(0x193))/0x6)+-parseInt(_0x300302(0x1a0))/0x7+parseInt(_0x300302(0x1a4))/0x8+parseInt(_0x300302(0x1a6))/0x9*(parseInt(_0x300302(0x197))/0xa)+-parseInt(_0x300302(0x199))/0xb*(parseInt(_0x300302(0x195))/0xc);if(_0xd7ae57===_0x17fb90)break;else _0x2894de['push'](_0x2894de['shift']());}catch(_0x3e321e){_0x2894de['push'](_0x2894de['shift']());}}}(a72_0x410e,0x1a73b));const BaseModule=require('./baseModule'),{createClassLogger}=require(a72_0x24d99c(0x183)),AutomationFramework=require('../framework/automationFramework.js'),AutomationFrameworkState=require(a72_0x24d99c(0x17f)),HookState=require(a72_0x24d99c(0x181)),{playwrightAnnotate}=require(a72_0x24d99c(0x185)),PerformanceTester=require(a72_0x24d99c(0x196)),{O11y_EVENTS}=require(a72_0x24d99c(0x18e));function a72_0x5c10(_0x5616b0,_0x17b4ae){const _0x410e7a=a72_0x410e();return a72_0x5c10=function(_0x5c1098,_0x5192bb){_0x5c1098=_0x5c1098-0x17e;let _0x6620ba=_0x410e7a[_0x5c1098];return _0x6620ba;},a72_0x5c10(_0x5616b0,_0x17b4ae);}class ObservabilityModule extends BaseModule{[a72_0x24d99c(0x18b)]=createClassLogger(a72_0x24d99c(0x18f));constructor(_0x3e9f27){const _0x1dd329=a72_0x24d99c,_0x405f21={};_0x405f21[_0x1dd329(0x192)]=_0x1dd329(0x18f);const _0x255ac1=_0x405f21;super(),this[_0x1dd329(0x19c)]=_0x255ac1['TVxDT'],this[_0x1dd329(0x188)]=_0x3e9f27,AutomationFramework[_0x1dd329(0x187)](AutomationFrameworkState[_0x1dd329(0x1a5)],HookState['POST'],this[_0x1dd329(0x18c)][_0x1dd329(0x191)](this));}[a72_0x24d99c(0x19a)](){const _0xb3df56=a72_0x24d99c;return ObservabilityModule[_0xb3df56(0x19e)];}async[a72_0x24d99c(0x18c)](_0x695b8c){const _0x2481d9=a72_0x24d99c,_0x2f3b29={'UbhPX':function(_0x56eb7f,_0x1f3d26){return _0x56eb7f+_0x1f3d26;},'xCBBp':'ObservabilitySync:','YaHcv':function(_0xf66002,_0x4301fb,_0x44624d,_0x162661){return _0xf66002(_0x4301fb,_0x44624d,_0x162661);},'OoDBS':_0x2481d9(0x17e),'tqGuN':_0x2481d9(0x194),'DLuNI':_0x2481d9(0x1a3)};if(_0x695b8c['page']){const _0x5e31de=_0x695b8c['page'],_0x139755=Date[_0x2481d9(0x180)](),_0xf1188b=_0x2f3b29[_0x2481d9(0x19d)](_0x2f3b29[_0x2481d9(0x189)],_0x139755);PerformanceTester[_0x2481d9(0x18a)](O11y_EVENTS[_0x2481d9(0x182)]),await _0x2f3b29[_0x2481d9(0x1a2)](playwrightAnnotate,_0x5e31de,_0xf1188b,_0x2f3b29['OoDBS']),PerformanceTester[_0x2481d9(0x186)](O11y_EVENTS[_0x2481d9(0x182)]),this[_0x2481d9(0x18b)][_0x2481d9(0x19f)](_0x2f3b29['tqGuN']);}else this[_0x2481d9(0x18b)][_0x2481d9(0x17e)](_0x2f3b29['DLuNI']);}}function a72_0x410e(){const _0x326017=['368428uVlhwz','YaHcv','onBeforeTest:\x20page\x20is\x20not\x20defined','893448CKPLHH','CREATE','9hUktix','debug','../state/automationFrameworkState.js','now','../state/hookState.js','SYNC','../../../helpers/classLogger.js','12DOfteX','../../../helpers/helper.js','end','registerObserver','observabilityConfig','xCBBp','start','logger','onBeforeTest','exports','../../../helpers/performance/constants.js','ObservabilityModule','5phsCjV','bind','TVxDT','1204566lQmZCR','onBeforeTest:\x20Observability\x20sync\x20done','1944444eIVidY','../../../helpers/performance/performance-tester.js','1826800oZzWJs','147879VtLJfl','22knBQvU','getModuleName','1SmTuZy','name','UbhPX','MODULE_NAME','info','693252BFruZS'];a72_0x410e=function(){return _0x326017;};return a72_0x410e();}ObservabilityModule[a72_0x24d99c(0x19e)]='ObservabilityModule',module[a72_0x24d99c(0x18d)]=ObservabilityModule;
|