browserstack-node-sdk 1.38.0 → 1.38.2
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_0x1bb25e=a63_0x5850;(function(_0x474805,_0x459152){const _0x2eebad=a63_0x5850,_0x5f1298=_0x474805();while(!![]){try{const _0x2997a3=-parseInt(_0x2eebad(0x1ed))/0x1+-parseInt(_0x2eebad(0x205))/0x2*(parseInt(_0x2eebad(0x25a))/0x3)+parseInt(_0x2eebad(0x223))/0x4+-parseInt(_0x2eebad(0x26f))/0x5+parseInt(_0x2eebad(0x1f0))/0x6+-parseInt(_0x2eebad(0x240))/0x7+parseInt(_0x2eebad(0x210))/0x8;if(_0x2997a3===_0x459152)break;else _0x5f1298['push'](_0x5f1298['shift']());}catch(_0x2cebe0){_0x5f1298['push'](_0x5f1298['shift']());}}}(a63_0xe4ad,0x533a1));const TestFramework=require('./testFramework'),TestFrameworkState=require(a63_0x1bb25e(0x24b)),HookState=require(a63_0x1bb25e(0x1f2)),{createClassLogger}=require(a63_0x1bb25e(0x280)),TestFrameworkInstance=require('../instances/testFrameworkInstance.js'),CLIUtils=require(a63_0x1bb25e(0x203)),TrackedInstance=require(a63_0x1bb25e(0x245)),TestFrameworkConstants=require(a63_0x1bb25e(0x1ec)),logger=createClassLogger(a63_0x1bb25e(0x1da)),{v4:uuidv4}=require(a63_0x1bb25e(0x249)),util=require(a63_0x1bb25e(0x253)),{getPlaywrightSessionName,getPlaywrightTestFilePath,getPlaywrightTestId,getPlaywrightTestTitle,getPlaywrightTestLocation,getPlaywrightTestTags,getPlaywrightTestCode,getPlaywrightTestScope,getPlaywrightTestScopes,getStepsAndLogs,getScreenshots,getPlaywrightCustomRerunParam,getMediaArtifactsLogs,getManualUploadLogs,updatePayloadForTraceLogs}=require(a63_0x1bb25e(0x26e)),TestInfo=require('../TestInfo.js'),GrpcClient=require(a63_0x1bb25e(0x294)),{removeAnsiColors,getFailureType,failureData}=require(a63_0x1bb25e(0x272)),{getFailureData,getTestTags}=require(a63_0x1bb25e(0x1fe)),{findNestedKey,sendTraceZip,validateFilePath}=require(a63_0x1bb25e(0x1fe)),path=require(a63_0x1bb25e(0x27f)),fs=require('fs'),helper=require(a63_0x1bb25e(0x1e8)),{PLAYWRIGHT_TRACE_LOGS}=require(a63_0x1bb25e(0x1f1));function a63_0x5850(_0x36dd9f,_0x224c82){const _0xe4ade0=a63_0xe4ad();return a63_0x5850=function(_0x5850b5,_0x407d1e){_0x5850b5=_0x5850b5-0x1cb;let _0x8dd8f4=_0xe4ade0[_0x5850b5];return _0x8dd8f4;},a63_0x5850(_0x36dd9f,_0x224c82);}class PlaywrightTestFramework extends TestFramework{constructor(_0x45f42b,_0x2cdf5c,_0x47555f){super(_0x45f42b,_0x2cdf5c,_0x47555f);}async[a63_0x1bb25e(0x257)](_0x4af620,_0x312918,_0x1bb3a7={}){const _0x419ee4=a63_0x1bb25e,_0x26cf4a={};_0x26cf4a[_0x419ee4(0x22e)]=function(_0x1100d2,_0xe89035){return _0x1100d2===_0xe89035;},_0x26cf4a[_0x419ee4(0x289)]=function(_0x19c8be,_0x191254){return _0x19c8be===_0x191254;},_0x26cf4a['PQdIZ']=function(_0x5c93,_0x493d19){return _0x5c93===_0x493d19;},_0x26cf4a[_0x419ee4(0x228)]='test',_0x26cf4a[_0x419ee4(0x1d5)]=_0x419ee4(0x241);const _0x225fec=_0x26cf4a;await super['trackEvent'](_0x4af620,_0x312918,_0x1bb3a7);const _0x3fba72=this['resolveInstance'](_0x4af620,_0x312918,_0x1bb3a7);if(!_0x3fba72)return;logger[_0x419ee4(0x21d)](_0x419ee4(0x278)+_0x4af620+'\x20hookState='+_0x312918+_0x419ee4(0x259)+_0x3fba72[_0x419ee4(0x1dd)]());try{if(_0x225fec['YsKkq'](_0x312918,HookState[_0x419ee4(0x295)])&&_0x225fec[_0x419ee4(0x289)](_0x4af620,TestFrameworkState[_0x419ee4(0x24e)])){const _0x309459=_0x1bb3a7[_0x419ee4(0x1e7)];logger[_0x419ee4(0x21d)](_0x419ee4(0x254)+_0x309459['id']+'}');const _0x34b1a5=TestInfo[_0x419ee4(0x238)](_0x309459['id']);_0x3fba72[_0x419ee4(0x1dc)](this[_0x419ee4(0x214)](_0x34b1a5,_0x309459)),logger[_0x419ee4(0x21d)](_0x419ee4(0x1cb)+_0x309459['id']+_0x419ee4(0x258)+_0x4af620+_0x419ee4(0x1d1)+_0x312918+_0x419ee4(0x20d)+_0x3fba72[_0x419ee4(0x1dd)]());}if(_0x225fec[_0x419ee4(0x233)](_0x312918,HookState[_0x419ee4(0x252)])&&_0x225fec['PQdIZ'](_0x4af620,TestFrameworkState[_0x419ee4(0x24e)])){const _0x56ac05=_0x1bb3a7[_0x419ee4(0x1e7)],_0x106ff2=_0x1bb3a7['result'];logger['debug'](_0x419ee4(0x27c)+_0x56ac05['id']),_0x3fba72['addMultipleEntries'](this[_0x419ee4(0x231)](_0x56ac05['id'],_0x106ff2,_0x56ac05)),this[_0x419ee4(0x28e)](_0x3fba72,_0x4af620,_0x312918,_0x225fec[_0x419ee4(0x228)],_0x1bb3a7);}if(CLIUtils[_0x419ee4(0x1fd)](_0x4af620['toString']()[_0x419ee4(0x291)]('.')[0x1])){const _0x2b1fd3=await this[_0x419ee4(0x1de)](_0x3fba72,_0x4af620,_0x312918,_0x1bb3a7);_0x3fba72[_0x419ee4(0x1dc)](_0x2b1fd3);}}catch(_0x393b5a){logger['error'](util[_0x419ee4(0x22c)](_0x225fec['fdZMP'],_0x4af620,_0x312918,_0x1bb3a7[_0x419ee4(0x20a)],_0x393b5a));}_0x1bb3a7[_0x419ee4(0x1ef)]=_0x3fba72,await this[_0x419ee4(0x1ee)](_0x3fba72,_0x4af620,_0x312918,_0x1bb3a7);}['resolveInstance'](_0x2de708,_0x1961e7,_0x4a2f80={}){const _0x487b74=a63_0x1bb25e,_0x146ebe={};_0x146ebe['VjTrp']=function(_0xdf5ae9,_0x309e59){return _0xdf5ae9===_0x309e59;},_0x146ebe['WpSIm']=function(_0x2f463a,_0x57f66b){return _0x2f463a===_0x57f66b;};const _0x2610ab=_0x146ebe;let _0x370406=null;return(_0x2610ab[_0x487b74(0x234)](_0x2de708,TestFrameworkState['INIT_TEST'])||_0x2610ab[_0x487b74(0x27d)](_0x2de708,TestFrameworkState['NONE']))&&this[_0x487b74(0x24d)](_0x2de708,_0x4a2f80),_0x370406=TestFramework['getTrackedInstance'](),_0x370406;}[a63_0x1bb25e(0x24d)](_0x4e36fb,_0x2f0e5f){const _0x9b6ea9=a63_0x1bb25e,_0x597275=CLIUtils['getCurrentInstanceName'](),_0x240015=TrackedInstance['createContext'](_0x597275);let _0x1a421d=null;logger[_0x9b6ea9(0x266)]('trackPlaywrightInstance:\x20created\x20instance\x20for\x20target='+_0x597275+_0x9b6ea9(0x292)+_0x4e36fb),_0x1a421d=new TestFrameworkInstance(_0x240015,this[_0x9b6ea9(0x28f)](),this[_0x9b6ea9(0x23b)](),_0x4e36fb,HookState[_0x9b6ea9(0x1f3)]),TestFramework[_0x9b6ea9(0x209)](_0x240015,_0x1a421d),logger['info'](_0x9b6ea9(0x20b)+_0x240015[_0x9b6ea9(0x1f8)]()+'\x20target='+_0x597275);}[a63_0x1bb25e(0x214)](_0x1007b8,_0x5da927){const _0x10e17f=a63_0x1bb25e,_0x56dec8={'UDpjI':function(_0x55383b,_0x124f5d){return _0x55383b(_0x124f5d);},'BQvbm':function(_0x39e200,_0x231785){return _0x39e200(_0x231785);},'CQoTS':function(_0x1d86df,_0x490c6b){return _0x1d86df(_0x490c6b);},'ZkMPb':function(_0x3b5324,_0x2be4f4){return _0x3b5324(_0x2be4f4);},'nCsfJ':function(_0x5ab865,_0x8af4e){return _0x5ab865(_0x8af4e);},'wsJnE':function(_0x4d1f2d,_0x159c3f){return _0x4d1f2d(_0x159c3f);}},_0x2c0653=_0x56dec8[_0x10e17f(0x22f)](getPlaywrightTestId,_0x5da927),_0x241520=_0x56dec8[_0x10e17f(0x22f)](getPlaywrightTestTitle,_0x5da927),_0x4af185=_0x56dec8[_0x10e17f(0x1db)](getTestTags,_0x5da927),_0x4c12b7=_0x56dec8[_0x10e17f(0x1db)](getPlaywrightTestCode,_0x5da927),_0x3d12fa=_0x56dec8[_0x10e17f(0x22f)](getPlaywrightTestFilePath,_0x5da927),_0x15f39a=_0x3d12fa+':'+_0x56dec8['CQoTS'](getPlaywrightTestLocation,_0x5da927),_0x3f5bf2=_0x56dec8[_0x10e17f(0x213)](getPlaywrightTestScope,_0x5da927),_0x5a5f94=_0x56dec8[_0x10e17f(0x290)](getPlaywrightTestScopes,_0x5da927),_0x5c091d=_0x56dec8[_0x10e17f(0x20c)](getPlaywrightSessionName,_0x5da927),_0x1e6cca=this[_0x10e17f(0x28f)]()[0x0],_0x2ca3f4={[TestFrameworkConstants[_0x10e17f(0x202)]]:_0x1e6cca,[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:this[_0x10e17f(0x23b)]()[_0x1e6cca],[TestFrameworkConstants[_0x10e17f(0x221)]]:[],[TestFrameworkConstants['KEY_HOOKS_FINISHED']]:{},[TestFrameworkConstants[_0x10e17f(0x242)]]:{},[TestFrameworkConstants[_0x10e17f(0x20f)]]:_0x1007b8,[TestFrameworkConstants[_0x10e17f(0x1f4)]]:TestFrameworkConstants[_0x10e17f(0x1eb)],[TestFrameworkConstants[_0x10e17f(0x287)]]:_0x5c091d,[TestFrameworkConstants[_0x10e17f(0x25c)]]:_0x3d12fa,[TestFrameworkConstants[_0x10e17f(0x277)]]:_0x2c0653,[TestFrameworkConstants['KEY_TEST_NAME']]:_0x241520,[TestFrameworkConstants['KEY_TEST_LOCATION']]:_0x15f39a,[TestFrameworkConstants['KEY_TEST_CODE']]:_0x4c12b7,[TestFrameworkConstants[_0x10e17f(0x293)]]:_0x4af185,[TestFrameworkConstants['KEY_TEST_STARTED_AT']]:_0x5da927[_0x10e17f(0x1cf)][0x0][_0x10e17f(0x26d)],[TestFrameworkConstants[_0x10e17f(0x204)]]:_0x3f5bf2,[TestFrameworkConstants[_0x10e17f(0x24f)]]:_0x5a5f94,[TestFrameworkConstants[_0x10e17f(0x28c)]]:_0x56dec8[_0x10e17f(0x22f)](getPlaywrightCustomRerunParam,_0x5da927)};TestInfo[_0x10e17f(0x1d0)](_0x5da927['id'],_0x2ca3f4);const _0x1a722d={};return _0x1a722d[_0x2c0653]=_0x2ca3f4,_0x1a722d;}['parsePlaywrightTestResult'](_0x1d2a56,_0x5dc686,_0x53b34e){const _0x4eb8fa=a63_0x1bb25e,_0x46faf8={'acnoZ':function(_0x16569d,_0x39fe78){return _0x16569d(_0x39fe78);},'QUXuk':_0x4eb8fa(0x25f),'SWebe':function(_0x2b7fb2,_0x113bfa){return _0x2b7fb2===_0x113bfa;},'rUand':function(_0x192c92,_0x281b9a){return _0x192c92===_0x281b9a;},'ZMRJv':'No\x20reason\x20provided','PqSrb':'multi_dropdown','qxIrj':function(_0x2b6b8a,_0x21b781){return _0x2b6b8a+_0x21b781;},'oGbDj':function(_0x32b1dd,_0x19c236){return _0x32b1dd===_0x19c236;},'hqxXq':_0x4eb8fa(0x235),'nLPLL':_0x4eb8fa(0x1d6),'lBOnK':function(_0x547c2a,_0x12151e){return _0x547c2a===_0x12151e;},'pOHUC':_0x4eb8fa(0x255),'RYLzi':function(_0x145601,_0x51aa23){return _0x145601===_0x51aa23;},'TpXqQ':_0x4eb8fa(0x1e2),'OTQmN':function(_0x28fe62,_0x2462b8){return _0x28fe62===_0x2462b8;},'PRwlk':_0x4eb8fa(0x1df),'MRQUE':function(_0x550986,_0xad56fb,_0x14ee16){return _0x550986(_0xad56fb,_0x14ee16);},'pmBGr':function(_0x3e5b09,_0x573dc9){return _0x3e5b09||_0x573dc9;},'JHjHv':function(_0x505935,_0x251dcd){return _0x505935(_0x251dcd);},'PuhiF':function(_0x2fd8bd,_0x1adab7){return _0x2fd8bd(_0x1adab7);},'SPixr':function(_0x4f8dcb,_0x3d7b00,_0x4e9ea2){return _0x4f8dcb(_0x3d7b00,_0x4e9ea2);},'xoVgU':_0x4eb8fa(0x27f),'hyGye':function(_0x3f33f3,_0x599525){return _0x3f33f3(_0x599525);},'tigft':function(_0x4bc8cd,_0x4b3df3){return _0x4bc8cd>_0x4b3df3;}};logger[_0x4eb8fa(0x21d)](_0x4eb8fa(0x23a)+_0x1d2a56);const _0x33479b=new Date(_0x5dc686[_0x4eb8fa(0x26d)]),_0x35de86=_0x5dc686[_0x4eb8fa(0x222)],_0x3f1e74=new Date(_0x46faf8['qxIrj'](_0x33479b[_0x4eb8fa(0x22d)](),_0x35de86)),_0x51dd54=_0x5dc686[_0x4eb8fa(0x284)],_0x7a32d6=TestInfo[_0x4eb8fa(0x271)](_0x1d2a56)[TestFrameworkConstants[_0x4eb8fa(0x28b)]]||{};let _0x3ee6e0=_0x51dd54;if(_0x46faf8['SWebe'](_0x5dc686[_0x4eb8fa(0x284)],_0x53b34e[_0x4eb8fa(0x27e)]))_0x3ee6e0=_0x46faf8['oGbDj'](_0x5dc686['status'],_0x46faf8[_0x4eb8fa(0x270)])?_0x46faf8['hqxXq']:_0x46faf8['nLPLL'];else{(_0x46faf8[_0x4eb8fa(0x207)](_0x3ee6e0,_0x46faf8['nLPLL'])||_0x46faf8[_0x4eb8fa(0x261)](_0x3ee6e0,_0x46faf8[_0x4eb8fa(0x230)])||_0x46faf8[_0x4eb8fa(0x26a)](_0x3ee6e0,_0x46faf8[_0x4eb8fa(0x1ff)]))&&(_0x3ee6e0=_0x46faf8[_0x4eb8fa(0x230)]);if(_0x46faf8['SWebe'](_0x5dc686['status'],_0x46faf8['nLPLL'])&&_0x46faf8[_0x4eb8fa(0x1f9)](_0x53b34e[_0x4eb8fa(0x27e)],_0x46faf8[_0x4eb8fa(0x230)])){const _0x15cc08={};_0x15cc08[_0x4eb8fa(0x263)]=_0x46faf8[_0x4eb8fa(0x27a)],_0x15cc08[_0x4eb8fa(0x281)]=_0x46faf8['PRwlk'],_0x5dc686[_0x4eb8fa(0x1d8)]=_0x15cc08,_0x5dc686[_0x4eb8fa(0x1cc)]=[_0x5dc686[_0x4eb8fa(0x1d8)]];}}const {failureData:_0x1c61f8,logs:_0x754e4a}=_0x46faf8[_0x4eb8fa(0x225)](getFailureData,_0x5dc686?.[_0x4eb8fa(0x1cc)],{}),_0x31a942={[TestFrameworkConstants['KEY_TEST_FAILURE']]:_0x46faf8[_0x4eb8fa(0x268)](_0x1c61f8,null),[TestFrameworkConstants[_0x4eb8fa(0x1d7)]]:_0x5dc686?.['error']&&_0x46faf8[_0x4eb8fa(0x226)](getFailureType,_0x5dc686[_0x4eb8fa(0x1d8)][_0x4eb8fa(0x263)]),[TestFrameworkConstants[_0x4eb8fa(0x244)]]:_0x5dc686?.[_0x4eb8fa(0x1d8)]&&_0x46faf8['PuhiF'](removeAnsiColors,_0x5dc686[_0x4eb8fa(0x1d8)][_0x4eb8fa(0x263)]),[TestFrameworkConstants[_0x4eb8fa(0x216)]]:[],[TestFrameworkConstants[_0x4eb8fa(0x1f4)]]:_0x3ee6e0,[TestFrameworkConstants[_0x4eb8fa(0x286)]]:_0x3f1e74[_0x4eb8fa(0x1cd)](),[TestFrameworkConstants[_0x4eb8fa(0x25d)]]:new Date()['toISOString'](),[TestFrameworkConstants[_0x4eb8fa(0x28b)]]:_0x7a32d6},_0x191770={};_0x191770[_0x4eb8fa(0x1e7)]=_0x53b34e;const _0x401fda=this[_0x4eb8fa(0x28a)](TestFrameworkState[_0x4eb8fa(0x24e)],HookState[_0x4eb8fa(0x252)],_0x191770),_0x560375=_0x401fda[_0x4eb8fa(0x215)]()[_0x4eb8fa(0x1e1)](_0x1d2a56)[TestFrameworkConstants[_0x4eb8fa(0x20f)]],_0x2a0219=[],_0x15af85=_0x46faf8[_0x4eb8fa(0x243)](findNestedKey,_0x5dc686,_0x46faf8[_0x4eb8fa(0x227)]);if(_0x15af85&&_0x46faf8[_0x4eb8fa(0x282)](validateFilePath,_0x15af85))try{_0x2a0219[_0x4eb8fa(0x1e4)]({'kind':_0x46faf8[_0x4eb8fa(0x237)],'timestamp':new Date()['toISOString'](),'test_run_uuid':_0x560375,'file_name':path['basename'](_0x15af85),'file_size':fs[_0x4eb8fa(0x285)](_0x15af85)[_0x4eb8fa(0x1ea)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x1ab2f4){logger[_0x4eb8fa(0x1d8)](_0x4eb8fa(0x262)+_0x15af85+':\x20'+_0x1ab2f4[_0x4eb8fa(0x263)]);}const _0x20c6ab=TestInfo['getTraceFilePaths'](),_0x49d0b4=_0x20c6ab['filter'](_0x13313e=>_0x13313e[_0x4eb8fa(0x1d9)]===_0x560375);_0x49d0b4[_0x4eb8fa(0x21e)](_0x4f4973=>{const _0x3cfc59=_0x4eb8fa;if(_0x4f4973['filePath']&&_0x46faf8[_0x3cfc59(0x267)](validateFilePath,_0x4f4973[_0x3cfc59(0x23f)])&&!_0x2a0219['some'](_0x38ba73=>_0x38ba73['file_name']===path[_0x3cfc59(0x224)](_0x4f4973['filePath'])))try{_0x2a0219[_0x3cfc59(0x1e4)]({'kind':_0x46faf8[_0x3cfc59(0x237)],'timestamp':new Date()[_0x3cfc59(0x1cd)](),'test_run_uuid':_0x560375,'file_name':path[_0x3cfc59(0x224)](_0x4f4973[_0x3cfc59(0x23f)]),'file_size':fs[_0x3cfc59(0x285)](_0x4f4973[_0x3cfc59(0x23f)])[_0x3cfc59(0x1ea)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x162b0a){logger['error'](_0x3cfc59(0x236)+_0x4f4973[_0x3cfc59(0x23f)]+_0x3cfc59(0x260)+_0x162b0a[_0x3cfc59(0x263)]);}});if(_0x46faf8[_0x4eb8fa(0x275)](_0x2a0219[_0x4eb8fa(0x20a)],0x0)){const _0x19f2fd=_0x31a942[TestFrameworkConstants[_0x4eb8fa(0x216)]]||[];_0x31a942[TestFrameworkConstants[_0x4eb8fa(0x216)]]=[..._0x19f2fd,..._0x2a0219];}const _0x5ab519=TestInfo[_0x4eb8fa(0x271)](_0x1d2a56)[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]||{},_0x31dc30=_0x46faf8[_0x4eb8fa(0x225)](getManualUploadLogs,_0x5ab519,_0x401fda[_0x4eb8fa(0x215)]()['get'](_0x1d2a56)[TestFrameworkConstants['KEY_TEST_UUID']]);if(_0x46faf8[_0x4eb8fa(0x275)](_0x31dc30[_0x4eb8fa(0x20a)],0x0)){const _0x351433=_0x31a942[TestFrameworkConstants[_0x4eb8fa(0x216)]]||[];_0x31a942[TestFrameworkConstants[_0x4eb8fa(0x216)]]=[..._0x351433,..._0x31dc30];}const _0x2ca713=_0x53b34e[_0x4eb8fa(0x256)]||[],_0x2c1669=_0x31a942[TestFrameworkConstants['KEY_CUSTOM_TAGS']]||{};_0x2ca713[_0x4eb8fa(0x21e)](_0x4eb8d4=>{const _0x344528=_0x4eb8fa,{type:_0x56256d}=_0x4eb8d4;let _0x13245b=_0x4eb8d4[_0x344528(0x265)];if(!_0x56256d)return;(_0x46faf8[_0x344528(0x21c)](_0x13245b,undefined)||_0x46faf8[_0x344528(0x21c)](_0x13245b,null)||_0x46faf8[_0x344528(0x261)](_0x46faf8[_0x344528(0x267)](String,_0x13245b)[_0x344528(0x1d4)](),''))&&(_0x13245b=_0x46faf8[_0x344528(0x23e)]);if(!_0x2c1669[_0x56256d]){const _0x55d7a9={};_0x55d7a9[_0x344528(0x279)]=_0x46faf8[_0x344528(0x208)],_0x55d7a9[_0x344528(0x22a)]=[],_0x2c1669[_0x56256d]=_0x55d7a9;}else!_0x2c1669[_0x56256d]['field_type']&&(_0x2c1669[_0x56256d][_0x344528(0x279)]=_0x46faf8['PqSrb']),!Array['isArray'](_0x2c1669[_0x56256d][_0x344528(0x22a)])&&(_0x2c1669[_0x56256d][_0x344528(0x22a)]=[]);const _0x2938f1=_0x46faf8[_0x344528(0x267)](String,_0x13245b)[_0x344528(0x291)](',')[_0x344528(0x212)](_0x1e3b13=>_0x1e3b13[_0x344528(0x1d4)]());_0x2c1669[_0x56256d][_0x344528(0x22a)]=[...new Set([..._0x2c1669[_0x56256d][_0x344528(0x22a)],..._0x2938f1])];}),_0x31a942[TestFrameworkConstants[_0x4eb8fa(0x28b)]]=_0x2c1669,TestInfo[_0x4eb8fa(0x1d0)](_0x1d2a56,_0x31a942);const _0x51c2b1={};return _0x51c2b1[_0x1d2a56]=_0x31a942,_0x51c2b1;}async[a63_0x1bb25e(0x1de)](_0x4cc65e,_0x526b9f,_0x30efcc,_0x3ef49a){const _0x238e2=a63_0x1bb25e,_0x114195={'pMImx':function(_0xa8a42f,_0x513666){return _0xa8a42f in _0x513666;},'fSYSP':function(_0x5063b2,_0x55880a){return _0x5063b2(_0x55880a);},'skfau':function(_0x4acdea,_0x19c6af){return _0x4acdea===_0x19c6af;},'mVxQm':function(_0x193bb8){return _0x193bb8();},'VdHrc':function(_0x423b94,_0x34e353){return _0x423b94>_0x34e353;},'LiAOm':function(_0x2c98c0,_0x132855,_0x73c3a4){return _0x2c98c0(_0x132855,_0x73c3a4);},'hXZds':_0x238e2(0x217),'jvJCN':function(_0xe8552a,_0x427912){return _0xe8552a(_0x427912);},'tNXaj':_0x238e2(0x255),'hOXqa':_0x238e2(0x1d6),'kpUKn':function(_0x364e8d,_0x26fc08){return _0x364e8d!==_0x26fc08;},'vjvkO':function(_0x112f45,_0x6cd26e){return _0x112f45+_0x6cd26e;},'VSpwK':_0x238e2(0x1fb)},_0x2609c5=_0x3ef49a['test'],_0x5738ce=_0x3ef49a[_0x238e2(0x283)],_0x315098=_0x3ef49a[_0x238e2(0x1e7)]['id'],_0x2322b8=_0x526b9f[_0x238e2(0x248)]()[_0x238e2(0x291)]('.')[0x1];let _0x405225=_0x4cc65e[_0x238e2(0x215)]()[_0x238e2(0x1e1)](_0x315098)[TestFrameworkConstants['KEY_HOOKS_STARTED']];!_0x405225&&(_0x405225={});!_0x114195[_0x238e2(0x26b)](_0x2322b8,_0x405225)&&(_0x405225[_0x2322b8]=[]);let _0x3efb11=_0x4cc65e[_0x238e2(0x215)]()[_0x238e2(0x1e1)](_0x315098)[TestFrameworkConstants[_0x238e2(0x1d2)]];!_0x3efb11&&(_0x3efb11={});!_0x114195[_0x238e2(0x26b)](_0x2322b8,_0x3efb11)&&(_0x3efb11[_0x2322b8]=[]);const _0x4d5244={[TestFrameworkConstants['KEY_HOOKS_STARTED']]:_0x405225,[TestFrameworkConstants[_0x238e2(0x1d2)]]:_0x3efb11},_0xe84d55={};_0xe84d55[_0x315098]=_0x4d5244;const _0x363ad1=_0xe84d55,_0x53048a=_0x114195[_0x238e2(0x250)](getPlaywrightTestFilePath,_0x2609c5),_0x39d538=_0x53048a+':'+_0x114195[_0x238e2(0x250)](getPlaywrightTestLocation,_0x2609c5),_0x2f1b6e=TestInfo[_0x238e2(0x271)](_0x315098)[TestFrameworkConstants['KEY_CUSTOM_TAGS']]||{};if(_0x114195[_0x238e2(0x206)](_0x30efcc,HookState[_0x238e2(0x295)])){const _0x2bd87f={'key':_0x2322b8,[TestFrameworkConstants[_0x238e2(0x1f5)]]:_0x114195[_0x238e2(0x23c)](uuidv4),[TestFrameworkConstants[_0x238e2(0x23d)]]:TestFrameworkConstants[_0x238e2(0x21a)],[TestFrameworkConstants[_0x238e2(0x20e)]]:_0x5738ce['startTime'],[TestFrameworkConstants[_0x238e2(0x218)]]:[],[TestFrameworkConstants[_0x238e2(0x201)]]:_0x5738ce[_0x238e2(0x1fa)],[TestFrameworkConstants['KEY_TEST_FILE_PATH']]:_0x53048a,[TestFrameworkConstants[_0x238e2(0x24c)]]:_0x39d538,[TestFrameworkConstants[_0x238e2(0x28b)]]:_0x2f1b6e};_0x405225[_0x2322b8][_0x238e2(0x1e4)](_0x2bd87f),_0x363ad1[_0x315098][TestFrameworkConstants[_0x238e2(0x1e5)]]=_0x2322b8,logger[_0x238e2(0x21d)](_0x238e2(0x25e)+_0x2322b8+_0x238e2(0x269)+_0x2bd87f+_0x238e2(0x28d)+_0x3ef49a);}else{if(_0x114195[_0x238e2(0x206)](_0x30efcc,HookState[_0x238e2(0x252)])){const _0xabeacd=await _0x3ef49a['result'],_0x353bee=_0x405225[_0x2322b8]||[],_0x532a69=_0x3ef49a['step'];logger[_0x238e2(0x21d)](_0x238e2(0x211)+_0x353bee+_0x238e2(0x21b)+_0x3ef49a);if(_0x114195['VdHrc'](_0x353bee['length'],0x0)){const _0x114e44=_0x353bee[_0x238e2(0x1fc)]();if(_0x532a69[_0x238e2(0x1d8)]){const _0x2b4288=_0x114195[_0x238e2(0x1ce)](failureData,_0x532a69[_0x238e2(0x1d8)],_0x114195['hXZds']);_0x114e44[TestFrameworkConstants[_0x238e2(0x1f7)]]=_0x114195[_0x238e2(0x288)](getFailureType,_0x532a69?.[_0x238e2(0x1d8)][_0x238e2(0x263)]),_0x114e44[TestFrameworkConstants[_0x238e2(0x27b)]]=_0x114195['jvJCN'](removeAnsiColors,_0x532a69?.[_0x238e2(0x1d8)]['message']),_0x114e44[TestFrameworkConstants['KEY_HOOK_RESULT']]=_0x114195[_0x238e2(0x247)],_0x114e44[TestFrameworkConstants[_0x238e2(0x264)]]=_0x2b4288;}else _0x114e44[TestFrameworkConstants[_0x238e2(0x23d)]]=_0x114195['hOXqa'];_0x114195[_0x238e2(0x219)](_0xabeacd,TestFrameworkConstants[_0x238e2(0x21a)])&&(_0x114e44[TestFrameworkConstants[_0x238e2(0x23d)]]=!_0x532a69[_0x238e2(0x1d8)]?_0x114195[_0x238e2(0x276)]:_0x114195[_0x238e2(0x247)]);const _0x56c900=new Date(_0x532a69['startTime']),_0xc6081e=new Date(_0x114195[_0x238e2(0x200)](_0x56c900[_0x238e2(0x22d)](),_0x532a69[_0x238e2(0x222)]));_0x114e44[TestFrameworkConstants[_0x238e2(0x274)]]=_0xc6081e[_0x238e2(0x1cd)](),_0x114e44[TestFrameworkConstants[_0x238e2(0x28b)]]=_0x2f1b6e;const _0x6e3600=_0x114e44[TestFrameworkConstants[_0x238e2(0x1f5)]];await this['sendLogCreatedEvent'](_0x4cc65e,_0x526b9f,_0x6e3600,_0x114195[_0x238e2(0x26c)],_0x3ef49a),!_0x3efb11[_0x2322b8]&&(_0x3efb11[_0x2322b8]=[]),_0x3efb11[_0x2322b8]['push'](_0x114e44),_0x363ad1[_0x315098][TestFrameworkConstants['KEY_HOOK_LAST_FINISHED']]=_0x2322b8;}}}return _0x363ad1;}async[a63_0x1bb25e(0x28e)](_0xf2dce,_0x42b874,_0x47ef2d,_0xf37226,_0x5e3598){const _0x4481e3=a63_0x1bb25e,_0x49070e={'GtqLF':function(_0x3d285d,_0x1fc509){return _0x3d285d===_0x1fc509;},'lCEzG':'test','PEkKp':function(_0x2d6750,_0x19cb1d,_0x42ced2){return _0x2d6750(_0x19cb1d,_0x42ced2);},'gGESn':function(_0x37646d,_0x4f2e74,_0xfa5441,_0x308df7){return _0x37646d(_0x4f2e74,_0xfa5441,_0x308df7);},'wKlER':function(_0x281570,_0x1b737e,_0x474673){return _0x281570(_0x1b737e,_0x474673);},'rlRkK':function(_0x729163,_0x414836,_0x107440){return _0x729163(_0x414836,_0x107440);},'HeLdd':function(_0x3091f1,_0x6ceaca,_0xe51427,_0x19a983,_0x591ba1){return _0x3091f1(_0x6ceaca,_0xe51427,_0x19a983,_0x591ba1);},'myqVi':function(_0x201559,_0x26dcc2,_0x373f55,_0x5173cc){return _0x201559(_0x26dcc2,_0x373f55,_0x5173cc);},'yGJke':_0x4481e3(0x1fb)};try{if(_0x49070e['GtqLF'](_0xf37226,_0x49070e[_0x4481e3(0x251)])){const _0x17e056=await _0x5e3598[_0x4481e3(0x239)],_0x3b04c5=_0x5e3598['test']['id'],_0x43cce5=_0x5e3598[_0x4481e3(0x1e7)];logger[_0x4481e3(0x21d)](_0x4481e3(0x1e0)+_0x3b04c5);const _0x29a551=_0xf2dce[_0x4481e3(0x215)]()[_0x4481e3(0x1e1)](_0x3b04c5)[TestFrameworkConstants[_0x4481e3(0x20f)]];await _0x49070e['PEkKp'](sendTraceZip,_0x17e056,_0x29a551);const {steps:_0x207553,logs:_0x40b9c9}=_0x49070e[_0x4481e3(0x1d3)](getStepsAndLogs,_0x17e056[_0x4481e3(0x229)],_0xf2dce[_0x4481e3(0x215)]()[_0x4481e3(0x1e1)](_0x3b04c5)[TestFrameworkConstants['KEY_TEST_UUID']],_0x49070e[_0x4481e3(0x251)]),_0x487b6b=_0x49070e['wKlER'](getScreenshots,_0x17e056,_0xf2dce[_0x4481e3(0x215)]()[_0x4481e3(0x1e1)](_0x3b04c5)[TestFrameworkConstants['KEY_TEST_UUID']]),{_:_0x458b84,logs:_0x10b15e}=_0x49070e[_0x4481e3(0x1e9)](getFailureData,_0x17e056[_0x4481e3(0x1cc)],{'test_run_uuid':_0xf2dce['getAllData']()['get'](_0x3b04c5)[TestFrameworkConstants[_0x4481e3(0x20f)]]}),_0x4d35a3=TestInfo[_0x4481e3(0x271)](_0x3b04c5)[TestFrameworkConstants[_0x4481e3(0x21f)]]||{},_0x4d7e30=_0x49070e[_0x4481e3(0x273)](getMediaArtifactsLogs,_0x4d35a3,_0xf2dce['getAllData']()[_0x4481e3(0x1e1)](_0x3b04c5)[TestFrameworkConstants['KEY_TEST_UUID']]),_0x4b9edc=_0xf2dce[_0x4481e3(0x215)]()[_0x4481e3(0x1e1)](_0x3b04c5),{[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x367425='',[TestFrameworkConstants[_0x4481e3(0x22b)]]:_0x1c7e28=''}=_0x4b9edc,_0x3c8750={'platformIndex':'0','logs':[..._0x40b9c9||[],..._0x487b6b||[],..._0x10b15e||[],..._0x4d7e30||[]],'testFrameworkName':_0x367425,'testFrameworkVersion':_0x1c7e28,'testFrameworkState':_0x42b874[_0x4481e3(0x248)]()[_0x4481e3(0x291)]('.')[0x1]};_0x49070e[_0x4481e3(0x1e3)](updatePayloadForTraceLogs,_0x3c8750,_0x5e3598,_0x3b04c5,_0xf2dce),logger[_0x4481e3(0x21d)]('sendLogCreatedEvent\x20for\x20testId:\x20'+_0x3b04c5+'\x20payload='+util[_0x4481e3(0x24a)](_0x3c8750));const _0x1e882c=await GrpcClient[_0x4481e3(0x1f6)]()[_0x4481e3(0x246)](_0x3c8750);}else{const {steps:_0x60fbea,logs:_0xd6050d}=_0x49070e[_0x4481e3(0x25b)](getStepsAndLogs,_0x5e3598[_0x4481e3(0x283)][_0x4481e3(0x229)],_0x47ef2d,_0x49070e['yGJke']),_0x272b7e=_0x5e3598['test']['id'];logger['debug'](_0x4481e3(0x1e0)+_0x272b7e);const _0x4353a7=_0xf2dce[_0x4481e3(0x215)]()[_0x4481e3(0x1e1)](_0x272b7e),{[TestFrameworkConstants[_0x4481e3(0x202)]]:_0x39362b='',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x527a8e=''}=_0x4353a7,_0xc0b376={'platformIndex':'0','logs':_0xd6050d,'testFrameworkName':_0x39362b,'testFrameworkVersion':_0x527a8e,'testFrameworkState':_0x42b874[_0x4481e3(0x248)]()[_0x4481e3(0x291)]('.')[0x1]};_0x49070e['HeLdd'](updatePayloadForTraceLogs,_0xc0b376,_0x5e3598,_0x272b7e,_0xf2dce),logger[_0x4481e3(0x21d)]('sendLogCreatedEvent\x20for\x20testId:\x20'+_0x272b7e+_0x4481e3(0x1e6)+util[_0x4481e3(0x24a)](_0xc0b376));const _0x3b010e=await GrpcClient[_0x4481e3(0x1f6)]()['logCreatedEvent'](_0xc0b376);}}catch(_0x2139cf){logger[_0x4481e3(0x1d8)](_0x4481e3(0x232)+util[_0x4481e3(0x22c)](_0x2139cf));}}}module[a63_0x1bb25e(0x220)]=PlaywrightTestFramework;function a63_0xe4ad(){const _0x42bef7=['KEY_TEST_ATTACHMENTS','exports','KEY_TEST_LOGS','duration','2553572jvGhoi','basename','MRQUE','JHjHv','xoVgU','FYefA','steps','values','KEY_TEST_FRAMEWORK_VERSION','format','getTime','YsKkq','UDpjI','pOHUC','parsePlaywrightTestResult','Error\x20in\x20sendLogCreatedEvent:\x20','PQdIZ','VjTrp','skipped','Error\x20processing\x20trace\x20file\x20','QUXuk','getTestUUID','result','parsePlaywrightTestResult:\x20testId=','getTestFrameworksVersions','mVxQm','KEY_HOOK_RESULT','ZMRJv','filePath','4174044nHjoit','trackEvent:\x20Exception\x20in\x20event\x20tracking,\x20testFrameworkState=%s\x20hookState=%s\x20argsLength=%s,\x20exception=%s','KEY_HOOKS_STARTED','SPixr','KEY_TEST_FAILURE_REASON','../instances/trackedInstance.js','logCreatedEvent','tNXaj','toString','uuid','inspect','../state/testFrameworkState.js','KEY_TEST_LOCATION','trackPlaywrightInstance','TEST','KEY_TEST_SCOPES','fSYSP','lCEzG','POST','util','trackEvent\x20loading\x20testData\x20for\x20testId:\x20','failed','annotations','trackEvent',',\x20testFrameworkState=','\x20instanceId=','7623otGXxu','myqVi','KEY_TEST_FILE_PATH','KEY_TEST_RESULT_AT','Hook\x20Started\x20in\x20PRE\x20key\x20=\x20','TEST_ATTACHMENT','\x20from\x20TestDetails:\x20','rUand','Error\x20processing\x20direct\x20trace\x20file\x20','message','KEY_HOOK_FAILURE','description','info','acnoZ','pmBGr','\x20&\x20hook\x20=\x20','RYLzi','pMImx','VSpwK','startTime','../../../helpers/helper.js','1291570dgkipY','hqxXq','getTestDetails','../../../helpers/test-observability/utils','rlRkK','KEY_EVENT_ENDED_AT','tigft','hOXqa','KEY_TEST_ID','trackEvent:\x20found\x20instance,\x20testFrameworkState=','field_type','PRwlk','KEY_HOOK_FAILURE_REASON','trackEvent\x20loading\x20testResults\x20for\x20testId:\x20','WpSIm','expectedStatus','path','../../../helpers/classLogger.js','stack','hyGye','step','status','statSync','KEY_TEST_ENDED_AT','KEY_AUTOMATE_SESSION_NAME','jvJCN','hKZHj','resolveInstance','KEY_CUSTOM_TAGS','KEY_TEST_RERUN_NAME','\x20\x20and\x20args\x20=\x20','sendLogCreatedEvent','getTestFrameworks','nCsfJ','split',',\x20state=','KEY_TEST_TAGS','../grpcClient','PRE','trackEvent:\x20loaded\x20testData\x20for\x20testId:\x20','errors','toISOString','LiAOm','results','setTestDetails','\x20testHookState=','KEY_HOOKS_FINISHED','gGESn','trim','fdZMP','passed','KEY_TEST_FAILURE_TYPE','error','testUId','PlaywrightTestFramework','BQvbm','addMultipleEntries','getRef','trackHookEvent','Expected\x20to\x20fail,\x20but\x20passed.','sendLogCreatedEvent:\x20testId=','get','timedOut','HeLdd','push','KEY_HOOK_LAST_STARTED','\x20payload=','test','../../../../src/helpers/helper','wKlER','size','DEFAULT_TEST_RESULT','./constants/testFrameworkConstants.js','240588FkoLhw','runHooks','instance','2591790hKaChY','../../utils/constants','../state/hookState.js','NONE','KEY_TEST_RESULT','KEY_HOOK_ID','getInstance','KEY_HOOK_FAILURE_TYPE','getId','OTQmN','title','hook','pop','matchHookRegex','../../playwright/reporter/pwUtils','TpXqQ','vjvkO','KEY_HOOK_NAME','KEY_TEST_FRAMEWORK_NAME','../cliUtils.js','KEY_TEST_SCOPE','352DDYWnW','skfau','lBOnK','PqSrb','setTrackedInstance','length','trackPlaywrightInstance:\x20saved\x20instance\x20contextId=','wsJnE','\x20instance=','KEY_EVENT_STARTED_AT','KEY_TEST_UUID','6503592ddoUch','Hook\x20List\x20in\x20Post\x20','map','ZkMPb','parsePlaywrightTest','getAllData','KEY_LOGS','err','KEY_HOOK_LOGS','kpUKn','DEFAULT_HOOK_RESULT','\x20and\x20args\x20=\x20','SWebe','debug','forEach'];a63_0xe4ad=function(){return _0x42bef7;};return a63_0xe4ad();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a64_0x4995(_0x35d4cb,_0x5b9c38){const _0x3057f9=a64_0x3057();return a64_0x4995=function(_0x499595,_0x2f878e){_0x499595=_0x499595-0x65;let _0x147d96=_0x3057f9[_0x499595];return _0x147d96;},a64_0x4995(_0x35d4cb,_0x5b9c38);}const a64_0x552e9a=a64_0x4995;(function(_0x5bc0b6,_0x274392){const _0x216d3e=a64_0x4995,_0x503fd4=_0x5bc0b6();while(!![]){try{const _0x5d86ed=-parseInt(_0x216d3e(0x6e))/0x1+parseInt(_0x216d3e(0x70))/0x2+-parseInt(_0x216d3e(0x6f))/0x3+-parseInt(_0x216d3e(0x6d))/0x4*(parseInt(_0x216d3e(0x89))/0x5)+-parseInt(_0x216d3e(0x8d))/0x6+parseInt(_0x216d3e(0x69))/0x7*(-parseInt(_0x216d3e(0x7a))/0x8)+parseInt(_0x216d3e(0x87))/0x9;if(_0x5d86ed===_0x274392)break;else _0x503fd4['push'](_0x503fd4['shift']());}catch(_0x194ee8){_0x503fd4['push'](_0x503fd4['shift']());}}}(a64_0x3057,0x393ea));const CLIUtils=require('../cliUtils'),eventDispatcher=require('../eventDispatcher'),TestFrameworkInstance=require('../instances/testFrameworkInstance'),TrackedContext=require('../instances/trackedContext'),TestFrameworkState=require('../state/testFrameworkState'),HookState=require(a64_0x552e9a(0x88)),{createClassLogger}=require(a64_0x552e9a(0x74)),TrackedInstance=require(a64_0x552e9a(0x7c)),logger=createClassLogger(a64_0x552e9a(0x65));class TestFramework{static [a64_0x552e9a(0x79)]=new Map();[a64_0x552e9a(0x68)]=[];[a64_0x552e9a(0x6b)]={};['binSessionId']=null;constructor(_0xa5b6e2,_0x1ea848,_0x1728d6){const _0x33a7ce=a64_0x552e9a;this['testFrameworks']=_0xa5b6e2,this[_0x33a7ce(0x6b)]=_0x1ea848,this[_0x33a7ce(0x77)]=_0x1728d6;}[a64_0x552e9a(0x75)](){const _0x1e0d9b=a64_0x552e9a;return TestFramework[_0x1e0d9b(0x79)];}[a64_0x552e9a(0x8c)](_0x1f132f,_0x38712a){const _0x2dd517=a64_0x552e9a;TestFramework[_0x2dd517(0x79)]['set'](_0x1f132f['getId'],_0x38712a);}static['getTrackedInstance'](){const _0x49a1a3=a64_0x552e9a,_0x26edfb=TrackedInstance[_0x49a1a3(0x86)](CLIUtils[_0x49a1a3(0x7f)]());return TestFramework[_0x49a1a3(0x79)]['get'](_0x26edfb['getId']());}static[a64_0x552e9a(0x78)](_0x548faf,_0x19237c){const _0xd9a094=a64_0x552e9a;TestFramework[_0xd9a094(0x79)][_0xd9a094(0x73)](_0x548faf[_0xd9a094(0x7d)](),_0x19237c);}[a64_0x552e9a(0x72)](){const _0x1202b2=a64_0x552e9a;return this[_0x1202b2(0x6b)];}[a64_0x552e9a(0x8b)](){const _0x408679=a64_0x552e9a;return this[_0x408679(0x68)];}[a64_0x552e9a(0x6a)](_0x329345,_0x10e9a8,_0x3d15c9={}){const _0xd0254f=a64_0x552e9a;logger['debug'](_0xd0254f(0x82)+_0x329345+_0xd0254f(0x71)+_0x10e9a8);}async[a64_0x552e9a(0x7b)](_0x4d966f,_0x2e322d,_0x34acb3,_0x3a8867={}){const _0x169dc8=a64_0x552e9a,_0x1dd628=CLIUtils['getHookRegistryKey'](_0x2e322d,_0x34acb3);_0x4d966f[_0x169dc8(0x84)](_0x2e322d),_0x4d966f[_0x169dc8(0x80)](_0x34acb3),await eventDispatcher[_0x169dc8(0x76)](_0x1dd628,_0x3a8867);}static[a64_0x552e9a(0x67)](_0x5d4375,_0xca8c37,_0x3928ee){const _0x59713e=a64_0x552e9a;eventDispatcher[_0x59713e(0x67)](CLIUtils[_0x59713e(0x7e)](_0x5d4375,_0xca8c37),_0x3928ee);}static[a64_0x552e9a(0x85)](_0x5c2dc6,_0x18bde8){const _0x1a10b9=a64_0x552e9a;return _0x5c2dc6[_0x1a10b9(0x81)]()[_0x1a10b9(0x83)](_0x18bde8);}static[a64_0x552e9a(0x66)](_0x36f69d,_0x563549,_0x1a4a64){const _0x4e5a22=a64_0x552e9a;_0x36f69d[_0x4e5a22(0x81)]()[_0x4e5a22(0x73)](_0x563549,_0x1a4a64);}static[a64_0x552e9a(0x6c)](_0x3759c9,_0x99dc77){const _0x24aecf=a64_0x552e9a;return _0x3759c9[_0x24aecf(0x81)]()[_0x24aecf(0x8a)](_0x99dc77);}}function a64_0x3057(){const _0x25394e=['registerObserver','testFrameworks','14XlazrI','trackEvent','testFrameworkVersions','hasState','28Szwdkg','14424ounnWP','191685lyLTZj','778344VQNyPl',';\x20hookState=','getTestFrameworksVersions','set','../../../helpers/classLogger','getInstances','notifyObserver','binSessionId','setTrackedInstance','instances','467280YFePht','runHooks','../instances/trackedInstance','getId','getHookRegistryKey','getCurrentInstanceName','setCurrentHookState','getAllData','trackEvent:\x20testFrameworkState=','get','setCurrentTestState','getState','createContext','3900339Tnhbjy','../state/hookState','48245dEhEBg','has','getTestFrameworks','setInstance','1952322syQXKM','TestFramework','setState'];a64_0x3057=function(){return _0x25394e;};return a64_0x3057();}module['exports']=TestFramework;
|
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_0x24eebb=a65_0x4d04;(function(_0x2feb64,_0x2ee4d5){const _0x207ab9=a65_0x4d04,_0x544657=_0x2feb64();while(!![]){try{const _0x12c828=-parseInt(_0x207ab9(0x15a))/0x1+parseInt(_0x207ab9(0x20f))/0x2+parseInt(_0x207ab9(0x232))/0x3*(parseInt(_0x207ab9(0x1dd))/0x4)+parseInt(_0x207ab9(0x209))/0x5*(parseInt(_0x207ab9(0x1c9))/0x6)+-parseInt(_0x207ab9(0x192))/0x7+-parseInt(_0x207ab9(0x1ba))/0x8+-parseInt(_0x207ab9(0x1d4))/0x9*(-parseInt(_0x207ab9(0x15d))/0xa);if(_0x12c828===_0x2ee4d5)break;else _0x544657['push'](_0x544657['shift']());}catch(_0x5ec9cd){_0x544657['push'](_0x544657['shift']());}}}(a65_0x1c63,0xf2c88));const util=require('util'),logger=require(a65_0x24eebb(0x1ce))[a65_0x24eebb(0x18c)],grpc=require(a65_0x24eebb(0x1b8)),services=require(a65_0x24eebb(0x1fb)),messages=require(a65_0x24eebb(0x1ed)),path=require(a65_0x24eebb(0x1cb)),CLIUtils=require(a65_0x24eebb(0x1e7)),{createClassLogger}=require(a65_0x24eebb(0x1b5)),PerformanceTester=require(a65_0x24eebb(0x182)),{EVENTS:PerformanceEvents}=require(a65_0x24eebb(0x1a2)),{PLAYWRIGHT_TRACE_LOGS}=require('../utils/constants'),helper=require(a65_0x24eebb(0x1f3));class GrpcClient{static #instance=null;['binSessionId']=null;[a65_0x24eebb(0x1df)]=null;['channel']=null;['client']=null;[a65_0x24eebb(0x15b)]=createClassLogger(a65_0x24eebb(0x19e));constructor(){}static['getInstance'](){return!GrpcClient.#instance&&(GrpcClient.#instance=new GrpcClient()),GrpcClient.#instance;}['init'](_0x190457){const _0x516d1a=a65_0x24eebb,_0x234c87={};_0x234c87['wCWqx']=function(_0x1e7d8d,_0x162b49){return _0x1e7d8d||_0x162b49;};const _0x2c57c9=_0x234c87,{id:_0x165ef1,listen:_0xf23926}=_0x190457;if(_0x2c57c9[_0x516d1a(0x169)](!_0x165ef1,!_0xf23926))throw new Error(_0x516d1a(0x207)+_0x165ef1+_0x516d1a(0x19b)+_0xf23926);this[_0x516d1a(0x231)]=_0x165ef1,this[_0x516d1a(0x1df)]=_0xf23926,process[_0x516d1a(0x1ac)][_0x516d1a(0x1ea)]=this['binSessionId'],process[_0x516d1a(0x1ac)]['BROWSERSTACK_CLI_BIN_LISTEN_ADDR']=this[_0x516d1a(0x1df)],this[_0x516d1a(0x1d2)](),this[_0x516d1a(0x15b)][_0x516d1a(0x234)](_0x516d1a(0x208)+this[_0x516d1a(0x231)]+_0x516d1a(0x1fa)+this[_0x516d1a(0x1df)]);}[a65_0x24eebb(0x1d2)](){const _0x14cd99=a65_0x24eebb,_0x5062e2={};_0x5062e2[_0x14cd99(0x161)]='Unable\x20to\x20determine\x20gRPC\x20server\x20listen\x20address';const _0x2e5565=_0x5062e2;let _0x364af9=this[_0x14cd99(0x1df)];!_0x364af9&&(_0x364af9=process[_0x14cd99(0x1ac)][_0x14cd99(0x17c)]);!this[_0x14cd99(0x231)]&&(this[_0x14cd99(0x231)]=this[_0x14cd99(0x231)]||process[_0x14cd99(0x1ac)][_0x14cd99(0x1ea)]);if(!_0x364af9)throw new Error(_0x2e5565[_0x14cd99(0x161)]);const _0x5d9db9={};_0x5d9db9[_0x14cd99(0x1b4)]=0x2710,this['channel']=new grpc[(_0x14cd99(0x18a))](_0x364af9,grpc[_0x14cd99(0x194)][_0x14cd99(0x1cc)](),_0x5d9db9),this[_0x14cd99(0x22a)]=new services[(_0x14cd99(0x21c))](_0x364af9,grpc[_0x14cd99(0x194)]['createInsecure']()),this[_0x14cd99(0x15b)][_0x14cd99(0x234)](_0x14cd99(0x19d)+_0x364af9);}async[a65_0x24eebb(0x1d1)](){const _0x2a9e10=a65_0x24eebb,_0x11cd69={'KvbhL':function(_0x29b95b,_0x2557aa){return _0x29b95b!==_0x2557aa;},'VlEJv':function(_0x18752a,_0x1b1a91){return _0x18752a(_0x1b1a91);},'glFaM':_0x2a9e10(0x221),'yARsS':function(_0x5a27c9,_0x395aa9){return _0x5a27c9(_0x395aa9);},'SpUlV':'startBinSession:\x20Calling\x20startBinSession','qUoFr':_0x2a9e10(0x222),'YucOl':_0x2a9e10(0x1c7),'xzFDh':_0x2a9e10(0x233),'oAoZD':function(_0x12e297,_0xa26146){return _0x12e297 instanceof _0xa26146;},'MsUMW':_0x2a9e10(0x1dc),'HsKMe':function(_0x37fce1,_0x477d8e){return _0x37fce1||_0x477d8e;}};PerformanceTester[_0x2a9e10(0x1c3)](PerformanceEvents[_0x2a9e10(0x185)]),this[_0x2a9e10(0x15b)][_0x2a9e10(0x234)](_0x11cd69[_0x2a9e10(0x177)]);try{!this[_0x2a9e10(0x22a)]&&this[_0x2a9e10(0x15b)]['info'](_0x11cd69['qUoFr']);const _0x12bb5c=CLIUtils[_0x2a9e10(0x1c0)](),_0x5354b3=CLIUtils[_0x2a9e10(0x1bb)](),_0x30159b=_0x5354b3[_0x2a9e10(0x17b)],_0x3069c3=_0x5354b3[_0x2a9e10(0x215)],_0x3e1aea=new messages[(_0x2a9e10(0x211))]();_0x3e1aea[_0x2a9e10(0x22c)](this['binSessionId']),_0x3e1aea[_0x2a9e10(0x210)](CLIUtils[_0x2a9e10(0x175)]()),_0x3e1aea['setSdkVersion'](_0x12bb5c),_0x3e1aea[_0x2a9e10(0x159)](process['cwd']()),_0x3e1aea['setPathConfig'](process['env'][_0x2a9e10(0x17d)]?process['env'][_0x2a9e10(0x17d)]:path[_0x2a9e10(0x162)](process['cwd'](),_0x11cd69['YucOl']));const _0x6619c0=_0x3e1aea[_0x2a9e10(0x1fc)]();Object['entries'](process[_0x2a9e10(0x1ac)])[_0x2a9e10(0x1d7)](([_0xd004a7,_0x34d430])=>{const _0xf0acfd=_0x2a9e10;_0x11cd69['KvbhL'](_0x34d430,undefined)&&_0x11cd69[_0xf0acfd(0x1bc)](_0x34d430,null)&&_0x6619c0[_0xf0acfd(0x1d6)](_0xd004a7,_0x34d430);});const _0x2b5e7c=_0x11cd69[_0x2a9e10(0x1a5)](require,_0x11cd69[_0x2a9e10(0x186)]),_0x546c1d=_0x2b5e7c[_0x2a9e10(0x15c)]()['getBrowserstackCliConfig'](),_0x4d0448=[];_0x546c1d&&_0x11cd69[_0x2a9e10(0x18b)](_0x546c1d,Map)&&_0x546c1d[_0x2a9e10(0x1d7)]((_0x322a77,_0x27b2f6)=>{const _0x188809=_0x2a9e10;_0x4d0448[_0x188809(0x197)](_0x27b2f6+'='+_0x322a77);});const _0x899180=process[_0x2a9e10(0x1be)][_0x2a9e10(0x220)](0x2);_0x3e1aea[_0x2a9e10(0x1a8)]([..._0x899180,..._0x4d0448]),this[_0x2a9e10(0x15b)][_0x2a9e10(0x234)](_0x2a9e10(0x1d8)+JSON[_0x2a9e10(0x213)](_0x899180)+_0x2a9e10(0x167)+(_0x546c1d?JSON[_0x2a9e10(0x213)]([..._0x546c1d]):_0x11cd69[_0x2a9e10(0x230)])),_0x3e1aea['setLanguage'](CLIUtils[_0x2a9e10(0x175)]()),_0x3e1aea[_0x2a9e10(0x16d)](_0x30159b);const _0x44a0a8=_0x3e1aea[_0x2a9e10(0x1f0)]();return _0x44a0a8[_0x2a9e10(0x1d6)](_0x30159b,_0x11cd69[_0x2a9e10(0x190)](_0x3069c3,'')),_0x3e1aea['addFrameworks'](_0x30159b,_0x3069c3),_0x3e1aea['setFrameworksList']([_0x30159b]),new Promise((_0x25eb54,_0x6610b9)=>{const _0x298976=_0x2a9e10;this[_0x298976(0x22a)][_0x298976(0x1d1)](_0x3e1aea,(_0x12a5dc,_0x431024)=>{const _0x6555ea=_0x298976;if(_0x12a5dc){this[_0x6555ea(0x15b)][_0x6555ea(0x188)](_0x6555ea(0x1ad)+_0x12a5dc[_0x6555ea(0x184)]),_0x11cd69[_0x6555ea(0x1a5)](_0x6610b9,_0x12a5dc),PerformanceTester['end'](PerformanceEvents[_0x6555ea(0x185)],![],util[_0x6555ea(0x223)](_0x12a5dc));return;}this[_0x6555ea(0x15b)][_0x6555ea(0x234)](_0x11cd69['glFaM']),PerformanceTester[_0x6555ea(0x196)](PerformanceEvents[_0x6555ea(0x185)]),_0x11cd69['yARsS'](_0x25eb54,_0x431024);});});}catch(_0x39f119){this[_0x2a9e10(0x15b)][_0x2a9e10(0x188)](_0x2a9e10(0x171)+util[_0x2a9e10(0x223)](_0x39f119)),PerformanceTester['end'](PerformanceEvents[_0x2a9e10(0x185)],![],util[_0x2a9e10(0x223)](_0x39f119));throw _0x39f119;}}async[a65_0x24eebb(0x227)](){const _0x29a365=a65_0x24eebb,_0x45f175={'hGWud':function(_0x6ca6de,_0x3e8eaa){return _0x6ca6de(_0x3e8eaa);},'YEwZw':_0x29a365(0x1ab),'ViITC':function(_0x196ad7,_0x48fe65){return _0x196ad7(_0x48fe65);},'kznbG':_0x29a365(0x1bd),'ODeWS':'No\x20gRPC\x20client\x20not\x20initialized.'};PerformanceTester[_0x29a365(0x1c3)](PerformanceEvents[_0x29a365(0x16c)]),this[_0x29a365(0x15b)][_0x29a365(0x234)](_0x45f175[_0x29a365(0x1fe)]);try{!this[_0x29a365(0x22a)]&&this[_0x29a365(0x15b)][_0x29a365(0x234)](_0x45f175[_0x29a365(0x21b)]);const _0x1966e1=new messages['ConnectBinSessionRequest']();_0x1966e1[_0x29a365(0x22c)](this[_0x29a365(0x231)]);const _0x17d3f7=await new Promise((_0xf0e4ec,_0x40515f)=>{const _0x5674c0=_0x29a365;this[_0x5674c0(0x22a)][_0x5674c0(0x227)](_0x1966e1,(_0x197e77,_0x25eb3f)=>{const _0x482f79=_0x5674c0;if(_0x197e77){this['logger']['error'](_0x482f79(0x164)+_0x197e77[_0x482f79(0x184)]),_0x45f175[_0x482f79(0x1a6)](_0x40515f,_0x197e77),PerformanceTester[_0x482f79(0x196)](PerformanceEvents['SDK_CONNECT_BIN_SESSION'],![],util[_0x482f79(0x223)](_0x197e77));return;}this[_0x482f79(0x15b)]['info'](_0x45f175[_0x482f79(0x1a1)]),PerformanceTester[_0x482f79(0x196)](PerformanceEvents[_0x482f79(0x16c)]),_0x45f175[_0x482f79(0x1f4)](_0xf0e4ec,_0x25eb3f);});});return this['logger'][_0x29a365(0x18e)](_0x29a365(0x1ae)+util['format'](_0x17d3f7)),_0x17d3f7;}catch(_0x5d5015){PerformanceTester[_0x29a365(0x196)](PerformanceEvents['SDK_CONNECT_BIN_SESSION'],![],util[_0x29a365(0x223)](_0x5d5015)),this[_0x29a365(0x15b)][_0x29a365(0x188)](_0x29a365(0x179)+util[_0x29a365(0x223)](_0x5d5015));throw _0x5d5015;}}async[a65_0x24eebb(0x1a9)](_0x131685={},_0x2ba101=null){const _0x271c3d=a65_0x24eebb,_0x1b01f7={'OdbND':function(_0x56fbe2,_0x3b0496){return _0x56fbe2(_0x3b0496);},'xVQWD':_0x271c3d(0x18d),'ZrfSu':function(_0x93990e,_0x120b88){return _0x93990e(_0x120b88);},'MXWiA':_0x271c3d(0x181),'GRIWY':'Missing\x20binSessionId','uUxQx':_0x271c3d(0x222),'rsCzp':_0x271c3d(0x180)};PerformanceTester[_0x271c3d(0x1c3)](PerformanceEvents[_0x271c3d(0x18f)]),this['logger'][_0x271c3d(0x234)](_0x1b01f7[_0x271c3d(0x1c1)]);try{if(!this['binSessionId'])throw new Error(_0x1b01f7[_0x271c3d(0x1b3)]);!this[_0x271c3d(0x22a)]&&this['logger'][_0x271c3d(0x234)](_0x1b01f7[_0x271c3d(0x1a4)]);const _0x23bc12=new messages['StopBinSessionRequest']();this[_0x271c3d(0x15b)][_0x271c3d(0x18e)]('Stopping\x20signal\x20'+JSON[_0x271c3d(0x213)](_0x2ba101)),_0x23bc12[_0x271c3d(0x22c)](this['binSessionId']),_0x23bc12[_0x271c3d(0x168)](_0x131685),_0x23bc12[_0x271c3d(0x17f)](_0x2ba101?_0x2ba101:null),_0x23bc12[_0x271c3d(0x16f)](_0x2ba101?_0x1b01f7['rsCzp']:null),_0x23bc12['setExitCode'](_0x2ba101?0x1:0x0);const _0x2d242a=await new Promise((_0x2885fc,_0x245fcf)=>{const _0x20b8d7=_0x271c3d,_0x34780c={'SLwyq':function(_0x27ac8d,_0x5125a9){const _0x3a2a7a=a65_0x4d04;return _0x1b01f7[_0x3a2a7a(0x226)](_0x27ac8d,_0x5125a9);},'kzIvn':_0x1b01f7[_0x20b8d7(0x19a)],'Fdcse':function(_0x3e63a2,_0x1a93be){const _0x2d3b5e=_0x20b8d7;return _0x1b01f7[_0x2d3b5e(0x1fd)](_0x3e63a2,_0x1a93be);}};this[_0x20b8d7(0x22a)][_0x20b8d7(0x1a9)](_0x23bc12,(_0x5dcc58,_0x31a3f9)=>{const _0x3fb6f7=_0x20b8d7;if(_0x5dcc58){this[_0x3fb6f7(0x15b)][_0x3fb6f7(0x188)](_0x3fb6f7(0x1da)+_0x5dcc58['message']),_0x34780c[_0x3fb6f7(0x183)](_0x245fcf,_0x5dcc58),PerformanceTester[_0x3fb6f7(0x196)](PerformanceEvents[_0x3fb6f7(0x18f)],![],util[_0x3fb6f7(0x223)](_0x5dcc58));return;}this['logger'][_0x3fb6f7(0x234)](_0x34780c[_0x3fb6f7(0x15f)]),PerformanceTester[_0x3fb6f7(0x196)](PerformanceEvents[_0x3fb6f7(0x18f)]),_0x34780c[_0x3fb6f7(0x21a)](_0x2885fc,_0x31a3f9);});});return this[_0x271c3d(0x15b)][_0x271c3d(0x18e)](_0x271c3d(0x173)+util['format'](_0x2d242a)),_0x2d242a;}catch(_0x151e75){PerformanceTester[_0x271c3d(0x196)](PerformanceEvents['SDK_CLI_ON_STOP'],![],util[_0x271c3d(0x223)](_0x151e75)),this[_0x271c3d(0x15b)][_0x271c3d(0x188)]('Error\x20in\x20stopBinSession:\x20'+util['format'](_0x151e75));}}async['getPlaywrightConfig'](_0x56fdb2){const _0x88aa4f=a65_0x24eebb,_0x2fb958={'BYzrv':function(_0x5b2388,_0x45ec4d){return _0x5b2388(_0x45ec4d);},'mBssG':_0x88aa4f(0x17e),'CMEuy':function(_0x56b9a6,_0x32a05e){return _0x56b9a6(_0x32a05e);},'TfOtR':'Getting\x20Playwright\x20config','mwBqw':_0x88aa4f(0x222)};PerformanceTester[_0x88aa4f(0x1c3)](PerformanceEvents[_0x88aa4f(0x174)]),this[_0x88aa4f(0x15b)][_0x88aa4f(0x234)](_0x2fb958[_0x88aa4f(0x21f)]);try{!this['client']&&this['logger']['info'](_0x2fb958['mwBqw']);const _0x3a63f2=new messages['PlaywrightConfigRequest']();return _0x3a63f2[_0x88aa4f(0x22c)](this[_0x88aa4f(0x231)]),_0x3a63f2[_0x88aa4f(0x1e3)](JSON[_0x88aa4f(0x213)](_0x56fdb2)),new Promise((_0x3343ba,_0x24ba83)=>{const _0x1c5468=_0x88aa4f;this[_0x1c5468(0x22a)][_0x1c5468(0x1b1)](_0x3a63f2,(_0x1d0d89,_0x49bf29)=>{const _0x498a84=_0x1c5468;if(_0x1d0d89){this[_0x498a84(0x15b)]['error'](_0x498a84(0x160)+_0x1d0d89[_0x498a84(0x184)]),_0x2fb958[_0x498a84(0x1c2)](_0x24ba83,_0x1d0d89),PerformanceTester[_0x498a84(0x196)](PerformanceEvents[_0x498a84(0x174)],![],util[_0x498a84(0x223)](_0x1d0d89));return;}this[_0x498a84(0x15b)][_0x498a84(0x234)](_0x2fb958[_0x498a84(0x19f)]),PerformanceTester[_0x498a84(0x196)](PerformanceEvents[_0x498a84(0x174)]),_0x2fb958[_0x498a84(0x1c5)](_0x3343ba,_0x49bf29);});});}catch(_0x105c2e){PerformanceTester['end'](PerformanceEvents[_0x88aa4f(0x174)],![],util[_0x88aa4f(0x223)](_0x105c2e)),this[_0x88aa4f(0x15b)][_0x88aa4f(0x188)](_0x88aa4f(0x1f1)+util[_0x88aa4f(0x223)](_0x105c2e));throw _0x105c2e;}}async[a65_0x24eebb(0x15e)](_0x1ccec8){const _0x10371e=a65_0x24eebb,_0x51cc3a={'FEzJa':function(_0x499022,_0x2f11f6){return _0x499022(_0x2f11f6);},'wBSwf':_0x10371e(0x195),'Nffmy':function(_0x23cafe,_0x365876){return _0x23cafe(_0x365876);},'UgjJa':_0x10371e(0x17a),'gUUoV':'utf-8'};this['logger'][_0x10371e(0x234)](_0x51cc3a[_0x10371e(0x218)]);try{const _0x47c565=Buffer[_0x10371e(0x1af)](JSON[_0x10371e(0x213)](_0x1ccec8[_0x10371e(0x16b)]),_0x51cc3a['gUUoV']),_0x15f313=new messages[(_0x10371e(0x200))](),_0x185726=CLIUtils['getAutomationFrameworkDetail'](),_0x46fcf7=_0x185726[_0x10371e(0x17b)],_0x580c69=_0x185726[_0x10371e(0x215)];return _0x15f313['setBinSessionId'](this['binSessionId']),_0x15f313[_0x10371e(0x205)](0x0),_0x15f313['setFrameworkName'](_0x46fcf7),_0x15f313[_0x10371e(0x1b7)](_0x580c69),_0x15f313[_0x10371e(0x1c4)](_0x1ccec8[_0x10371e(0x214)]),_0x15f313['setCapabilities'](_0x47c565),new Promise((_0x20a7fc,_0x1ad85d)=>{this['client']['accessibilityConfig'](_0x15f313,(_0x15874b,_0x5c41fc)=>{const _0x3bcdcf=a65_0x4d04;if(_0x15874b){this['logger'][_0x3bcdcf(0x188)]('AccessibilityConfig\x20error:\x20'+_0x15874b[_0x3bcdcf(0x184)]),_0x51cc3a[_0x3bcdcf(0x1ca)](_0x1ad85d,_0x15874b);return;}this['logger'][_0x3bcdcf(0x234)](_0x51cc3a[_0x3bcdcf(0x21e)]),_0x51cc3a[_0x3bcdcf(0x22d)](_0x20a7fc,_0x5c41fc);});});}catch(_0x3b1f71){this[_0x10371e(0x15b)][_0x10371e(0x188)](_0x10371e(0x217)+util[_0x10371e(0x223)](_0x3b1f71));}}async[a65_0x24eebb(0x189)](_0x332282){const _0x1b3ecb=a65_0x24eebb,_0x12309c={'oLGOn':function(_0x2ef50f,_0x2c64f7){return _0x2ef50f(_0x2c64f7);},'nwlog':'TestSessionEvent\x20request\x20successful','HwYgn':_0x1b3ecb(0x203),'gdgzU':_0x1b3ecb(0x222)};this[_0x1b3ecb(0x15b)][_0x1b3ecb(0x234)](_0x12309c['HwYgn']);try{!this[_0x1b3ecb(0x22a)]&&this[_0x1b3ecb(0x15b)][_0x1b3ecb(0x234)](_0x12309c['gdgzU']);const {platformIndex:_0x3c7aee,testFrameworkName:_0x4916aa,testFrameworkVersion:_0x36c5ba,testFrameworkState:_0x3bad55,testHookState:_0x4e9af9,testUuid:_0x38bc07,automationSession:_0x2cf43b,capabilities:_0x3cd2c3,executionContext:_0x3db9a9}=_0x332282,_0x1e4437=new messages[(_0x1b3ecb(0x20d))]();_0x1e4437['setBinSessionId'](this[_0x1b3ecb(0x231)]),_0x1e4437[_0x1b3ecb(0x205)](_0x3c7aee),_0x1e4437[_0x1b3ecb(0x176)](_0x4916aa),_0x1e4437['setTestFrameworkVersion'](_0x36c5ba),_0x1e4437[_0x1b3ecb(0x228)](_0x3bad55),_0x1e4437[_0x1b3ecb(0x198)](_0x4e9af9),_0x1e4437[_0x1b3ecb(0x1f9)](_0x38bc07);const _0x162b40=new messages[(_0x1b3ecb(0x20d))]['AutomationSession']();_0x162b40[_0x1b3ecb(0x1b6)](_0x2cf43b[_0x1b3ecb(0x1e4)]),_0x162b40[_0x1b3ecb(0x1e8)](_0x2cf43b['frameworkName']),_0x162b40[_0x1b3ecb(0x1b7)](_0x2cf43b[_0x1b3ecb(0x1cd)]),_0x162b40[_0x1b3ecb(0x1d0)](_0x2cf43b[_0x1b3ecb(0x1ef)]),_0x162b40[_0x1b3ecb(0x1e0)](_0x2cf43b['ref']),_0x162b40[_0x1b3ecb(0x1c4)](_0x2cf43b['hubUrl']),_0x1e4437['addAutomationSessions'](_0x162b40),_0x1e4437['setCapabilities'](_0x3cd2c3);const _0x4778d9=new messages[(_0x1b3ecb(0x212))]();return _0x4778d9[_0x1b3ecb(0x1f7)](_0x3db9a9[_0x1b3ecb(0x16e)]),_0x4778d9[_0x1b3ecb(0x16a)](_0x3db9a9[_0x1b3ecb(0x204)]),_0x4778d9[_0x1b3ecb(0x172)](_0x3db9a9[_0x1b3ecb(0x1f5)]),_0x1e4437[_0x1b3ecb(0x202)](_0x4778d9),new Promise((_0x5082b5,_0x432a5d)=>{const _0x1fe456=_0x1b3ecb;this[_0x1fe456(0x22a)][_0x1fe456(0x189)](_0x1e4437,(_0x101a69,_0x372fd8)=>{const _0x2756f5=_0x1fe456;if(_0x101a69){this[_0x2756f5(0x15b)][_0x2756f5(0x188)]('TestSessionEvent\x20error:\x20'+_0x101a69[_0x2756f5(0x184)]),_0x12309c['oLGOn'](_0x432a5d,_0x101a69);return;}this[_0x2756f5(0x15b)][_0x2756f5(0x234)](_0x12309c['nwlog']),_0x12309c[_0x2756f5(0x1e6)](_0x5082b5,_0x372fd8);});});}catch(_0x3ea703){this[_0x1b3ecb(0x15b)]['error'](_0x1b3ecb(0x166)+util[_0x1b3ecb(0x223)](_0x3ea703));throw _0x3ea703;}}async['testFrameworkEvent'](_0x5d1ecc){const _0x19d961=a65_0x24eebb,_0xca5ca9={'rjHOy':function(_0x5611d7,_0x6d6b78){return _0x5611d7(_0x6d6b78);},'UAowA':_0x19d961(0x1de),'XbsbY':_0x19d961(0x1d5),'IyrlL':_0x19d961(0x222)};this[_0x19d961(0x15b)]['info'](_0xca5ca9[_0x19d961(0x191)]);try{!this[_0x19d961(0x22a)]&&this[_0x19d961(0x15b)][_0x19d961(0x234)](_0xca5ca9[_0x19d961(0x22f)]);const {platfromIndex:_0x208316,testFrameworkName:_0x4a34a5,testFrameworkVersion:_0x17e678,testFrameworkState:_0x3b5900,hookState:_0x3919b7,startedAt:_0x5c40c4,endedAt:_0x3c2a26,uuid:_0x460089,eventJson:_0x3638c5,executionContext:_0x8dd358}=_0x5d1ecc,_0x48f9ee=new messages[(_0x19d961(0x20c))]();_0x48f9ee[_0x19d961(0x22c)](this[_0x19d961(0x231)]),_0x48f9ee[_0x19d961(0x205)](_0x208316),_0x48f9ee[_0x19d961(0x176)](_0x4a34a5),_0x48f9ee[_0x19d961(0x225)](_0x17e678),_0x48f9ee[_0x19d961(0x228)](_0x3b5900),_0x48f9ee[_0x19d961(0x198)](_0x3919b7),_0x48f9ee[_0x19d961(0x1cf)](_0x5c40c4),_0x48f9ee[_0x19d961(0x224)](_0x3c2a26),_0x48f9ee[_0x19d961(0x165)](_0x460089),_0x48f9ee[_0x19d961(0x1c8)](_0x3638c5);const _0x1cde63=new messages['ExecutionContext']();return _0x1cde63[_0x19d961(0x1f7)](_0x8dd358[_0x19d961(0x16e)]),_0x1cde63[_0x19d961(0x16a)](_0x8dd358[_0x19d961(0x204)]),_0x1cde63[_0x19d961(0x172)](_0x8dd358[_0x19d961(0x1f5)]),_0x48f9ee[_0x19d961(0x202)](_0x1cde63),new Promise((_0x44fa2f,_0x5494e5)=>{const _0x1c9de4=_0x19d961,_0x116716={'Yfcco':function(_0x11481d,_0x5d26f5){return _0xca5ca9['rjHOy'](_0x11481d,_0x5d26f5);},'Ekexf':_0xca5ca9[_0x1c9de4(0x22e)]};this[_0x1c9de4(0x22a)][_0x1c9de4(0x193)](_0x48f9ee,(_0x36a767,_0x159156)=>{const _0x2e1e52=_0x1c9de4;if(_0x36a767){this['logger'][_0x2e1e52(0x188)](_0x2e1e52(0x1e5)+_0x36a767[_0x2e1e52(0x184)]),_0x116716['Yfcco'](_0x5494e5,_0x36a767);return;}this[_0x2e1e52(0x15b)][_0x2e1e52(0x234)](_0x116716[_0x2e1e52(0x206)]),_0x116716['Yfcco'](_0x44fa2f,_0x159156);});});}catch(_0x41fce0){this[_0x19d961(0x15b)]['error'](_0x19d961(0x199)+util[_0x19d961(0x223)](_0x41fce0));throw _0x41fce0;}}async[a65_0x24eebb(0x1a3)](_0x336a21){const _0x5d35d5=a65_0x24eebb,_0x69bced={'wjaqT':function(_0x5d09a8,_0x31e398){return _0x5d09a8(_0x31e398);},'jIROE':_0x5d35d5(0x163),'PwdxT':_0x5d35d5(0x1a7),'chtXx':_0x5d35d5(0x222)};this['logger'][_0x5d35d5(0x234)](_0x69bced[_0x5d35d5(0x216)]);try{!this[_0x5d35d5(0x22a)]&&this['logger'][_0x5d35d5(0x234)](_0x69bced['chtXx']);const {platformIndex:_0x5c868c,ref:_0x4f32ac,userInputParams:_0xa2b27c}=_0x336a21,_0x2a1f6d=new messages[(_0x5d35d5(0x1f8))]();return _0x2a1f6d[_0x5d35d5(0x22c)](this['binSessionId']),_0x2a1f6d[_0x5d35d5(0x205)](_0x5c868c),_0x2a1f6d[_0x5d35d5(0x1e0)](_0x4f32ac),_0x2a1f6d[_0x5d35d5(0x1aa)](_0xa2b27c),new Promise((_0x4bc96f,_0x1a4606)=>{const _0x1499c8={'nKHRK':function(_0x5b2bbe,_0x342388){return _0x69bced['wjaqT'](_0x5b2bbe,_0x342388);},'gSkvf':_0x69bced['jIROE']};this['client']['driverInit'](_0x2a1f6d,(_0x2b854e,_0x46a5d0)=>{const _0x55c752=a65_0x4d04;if(_0x2b854e){this['logger'][_0x55c752(0x188)](_0x55c752(0x1bf)+_0x2b854e['message']),_0x1499c8['nKHRK'](_0x1a4606,_0x2b854e);return;}this[_0x55c752(0x15b)][_0x55c752(0x234)](_0x1499c8[_0x55c752(0x1eb)]),_0x1499c8[_0x55c752(0x1e2)](_0x4bc96f,_0x46a5d0);});});}catch(_0x29308b){this[_0x5d35d5(0x15b)][_0x5d35d5(0x188)]('Error\x20in\x20DriverInit:\x20'+util[_0x5d35d5(0x223)](_0x29308b));throw _0x29308b;}}async[a65_0x24eebb(0x22b)](_0x50c763){const _0x1ecf9a=a65_0x24eebb,_0x20b53a={'sxNAM':function(_0x3bc287,_0x96a4e8){return _0x3bc287===_0x96a4e8;},'OVhSj':function(_0x5af40c,_0x55f9b5){return _0x5af40c(_0x55f9b5);},'fHngd':_0x1ecf9a(0x1b9),'fRIxQ':_0x1ecf9a(0x1ff),'zabXD':_0x1ecf9a(0x222)};this[_0x1ecf9a(0x15b)][_0x1ecf9a(0x234)](_0x20b53a[_0x1ecf9a(0x1c6)]);try{!this[_0x1ecf9a(0x22a)]&&this[_0x1ecf9a(0x15b)]['info'](_0x20b53a['zabXD']);const {platformIndex:_0x5d466a,logs:_0x53cf60}=_0x50c763,_0x178feb=new messages[(_0x1ecf9a(0x187))]();_0x178feb[_0x1ecf9a(0x22c)](this['binSessionId']),_0x178feb['setPlatformIndex'](_0x5d466a);const _0x3b859f=_0x50c763[_0x1ecf9a(0x1d9)],_0x110e69=_0x50c763[_0x1ecf9a(0x1e1)],_0x328c8c=_0x50c763[_0x1ecf9a(0x178)];return _0x53cf60[_0x1ecf9a(0x1d7)](_0x599f0a=>{const _0x519ad7=_0x1ecf9a,_0x41fff3=new messages[(_0x519ad7(0x187))]['LogEntry']();_0x41fff3[_0x519ad7(0x176)](_0x3b859f),_0x41fff3['setTestFrameworkVersion'](_0x110e69),_0x41fff3[_0x519ad7(0x228)](_0x328c8c),_0x41fff3[_0x519ad7(0x170)](_0x599f0a[_0x519ad7(0x20a)]),_0x41fff3[_0x519ad7(0x165)](_0x599f0a[_0x519ad7(0x1e9)]),_0x41fff3[_0x519ad7(0x1d3)](_0x599f0a['kind']),_0x20b53a[_0x519ad7(0x19c)](_0x599f0a[_0x519ad7(0x1f2)],PLAYWRIGHT_TRACE_LOGS)?(_0x41fff3['setUuid'](_0x599f0a[_0x519ad7(0x1f6)]),_0x41fff3[_0x519ad7(0x1db)](new TextEncoder()[_0x519ad7(0x20b)](JSON[_0x519ad7(0x213)](_0x599f0a)))):_0x41fff3[_0x519ad7(0x1db)](new TextEncoder()[_0x519ad7(0x20b)](_0x599f0a['message'])),_0x41fff3[_0x519ad7(0x1b0)](_0x599f0a['level']),_0x41fff3['setFileName'](_0x599f0a?.['fileName']||''),_0x41fff3[_0x519ad7(0x201)](_0x599f0a?.[_0x519ad7(0x235)]||''),_0x41fff3[_0x519ad7(0x1ec)](_0x599f0a?.[_0x519ad7(0x1ee)]||0x0),_0x41fff3[_0x519ad7(0x237)](_0x599f0a?.['attachment_type']||''),_0x178feb['addLogs'](_0x41fff3);}),new Promise((_0x59788e,_0x26ce52)=>{const _0x1b2bb2=_0x1ecf9a;this[_0x1b2bb2(0x22a)]['logCreatedEvent'](_0x178feb,(_0x26863b,_0x337e57)=>{const _0x8c399c=_0x1b2bb2;if(_0x26863b){this[_0x8c399c(0x15b)][_0x8c399c(0x188)](_0x8c399c(0x1a0)+_0x26863b[_0x8c399c(0x184)]),_0x20b53a[_0x8c399c(0x21d)](_0x26ce52,_0x26863b);return;}this['logger'][_0x8c399c(0x234)](_0x20b53a['fHngd']),_0x20b53a['OVhSj'](_0x59788e,_0x337e57);});});}catch(_0x2a0cc1){this[_0x1ecf9a(0x15b)][_0x1ecf9a(0x188)](_0x1ecf9a(0x219)+util['format'](_0x2a0cc1));throw _0x2a0cc1;}}[a65_0x24eebb(0x229)](){const _0x400985=a65_0x24eebb;return this[_0x400985(0x22a)];}[a65_0x24eebb(0x1b2)](){const _0x55d998=a65_0x24eebb;return this[_0x55d998(0x20e)];}}function a65_0x4d04(_0xddbc9a,_0x4cead2){const _0x1c63ca=a65_0x1c63();return a65_0x4d04=function(_0x4d04fb,_0x5832f3){_0x4d04fb=_0x4d04fb-0x159;let _0x1225c1=_0x1c63ca[_0x4d04fb];return _0x1225c1;},a65_0x4d04(_0xddbc9a,_0x4cead2);}module[a65_0x24eebb(0x236)]=GrpcClient;function a65_0x1c63(){const _0x16fde7=['credentials','AccessibilityConfig\x20request\x20successful','end','push','setTestHookState','Error\x20in\x20TestFrameworkEvent:\x20','xVQWD','\x20listenAddr:\x20','sxNAM','Connected\x20to\x20gRPC\x20server\x20at\x20','GrpcClient','mBssG','LogCreatedEvent\x20error:\x20','YEwZw','../../helpers/performance/constants','driverInit','uUxQx','VlEJv','hGWud','Sending\x20DriverInit','setCliArgsList','stopBinSession','setUserInputParams','ConnectBinSession\x20successful','env','StartBinSession\x20error:\x20','connect-bin-session\x20response:\x20','from','setLevel','playwrightConfig','getChannel','GRIWY','grpc.keepalive_time_ms','../../helpers/classLogger.js','setProvider','setFrameworkVersion','@grpc/grpc-js','LogCreatedEvent\x20request\x20successful','15185912SwkgTZ','getAutomationFrameworkDetail','KvbhL','Connecting\x20bin\x20session','argv','DriverInit\x20error:\x20','getSdkVersion','MXWiA','BYzrv','start','setHubUrl','CMEuy','fRIxQ','browserstack.yml','setEventJson','527574wHRRrp','FEzJa','path','createInsecure','frameworkVersion','../../helpers/logger.js','setStartedAt','setFrameworkSessionId','startBinSession','connect','setKind','171qKjLme','Sending\x20TestFrameworkEvent','set','forEach','setCliArgs:\x20cliArgs=','testFrameworkName','StopBinSession\x20error:\x20','setMessage','null','412CrANGE','TestFrameworkEvent\x20request\x20successful','listenAddress','setRef','testFrameworkVersion','nKHRK','setConfig','provider','TestFrameworkEvent\x20error:\x20','oLGOn','./cliUtils.js','setFrameworkName','uuid','BROWSERSTACK_CLI_BIN_SESSION_ID','gSkvf','setFileSize','../../../generated/sdk-messages_pb','fileSize','frameworkSessionId','getFrameworkVersionsMap','Error\x20in\x20getPlaywrightConfig:\x20','attachment_type','../../helpers/helper.js','ViITC','hash','test_run_uuid','setProcessId','DriverInitRequest','setTestUuid','\x20and\x20listen\x20address:\x20','../../../generated/sdk_grpc_pb','getEnvVarsMap','ZrfSu','kznbG','Sending\x20LogCreatedEvent','AccessibilityConfigRequest','setFilePath','setExecutionContext','Sending\x20TestSessionEvent','threadId','setPlatformIndex','Ekexf','Unable\x20to\x20find\x20listen\x20addr\x20or\x20bin\x20session\x20id\x20binSessionId:\x20','Initialized\x20gRPC\x20client\x20with\x20bin\x20session\x20id:\x20','15Rlcflq','timestamp','encode','TestFrameworkEventRequest','TestSessionEventRequest','channel','2612004MxUDDh','setSdkLanguage','StartBinSessionRequest','ExecutionContext','stringify','hubUrl','version','PwdxT','Error\x20in\x20getAccessibilityConfig:\x20','UgjJa','Error\x20in\x20LogCreatedEvent:\x20','Fdcse','ODeWS','SDKClient','OVhSj','wBSwf','TfOtR','slice','StartBinSession\x20successful','No\x20gRPC\x20client\x20not\x20initialized.','format','setEndedAt','setTestFrameworkVersion','OdbND','connectBinSession','setTestFrameworkState','getClient','client','logCreatedEvent','setBinSessionId','Nffmy','UAowA','IyrlL','MsUMW','binSessionId','53895FPXFoG','./browserstackCLI.js','info','filePath','exports','setAttachmentType','setPathProject','997550nAxIkn','logger','getInstance','934130yeLNBd','getAccessibilityConfig','kzIvn','PlaywrightConfig\x20error:\x20','vSaSX','resolve','DriverInit\x20request\x20successful','ConnectBinSession\x20error:\x20','setUuid','Error\x20in\x20TestSessionEvent:\x20',',\x20parsedConfig=','setCustomMetadata','wCWqx','setThreadId','launchcaps','SDK_CONNECT_BIN_SESSION','setTestFramework','processId','setExitReason','setTimestamp','Error\x20in\x20startBinSession:\x20','setHash','stop-bin-session\x20response:\x20','SDK_AUTOMATION_FRAMEWORK_INIT','getSdkLanguage','setTestFrameworkName','SpUlV','testFrameworkState','Error\x20in\x20connectBinSession:\x20','Getting\x20Accessibility\x20config','name','BROWSERSTACK_CLI_BIN_LISTEN_ADDR','BROWSERSTACK_CONFIG_FILE_PATH','PlaywrightConfig\x20request\x20successful','setExitSignal','user_killed','Stopping\x20bin\x20session','../../helpers/performance/performance-tester.js','SLwyq','message','SDK_START_BIN_SESSION','xzFDh','LogCreatedEventRequest','error','testSessionEvent','Channel','oAoZD','winstonLogger','StopBinSession\x20successful','debug','SDK_CLI_ON_STOP','HsKMe','XbsbY','9133614yAbbsv','testFrameworkEvent'];a65_0x1c63=function(){return _0x16fde7;};return a65_0x1c63();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a66_0xa1cccb=a66_0x4645;(function(_0x5e0812,_0x2ad162){const _0x400c70=a66_0x4645,_0x27506b=_0x5e0812();while(!![]){try{const _0x91424f=-parseInt(_0x400c70(0xed))/0x1*(parseInt(_0x400c70(0xde))/0x2)+parseInt(_0x400c70(0xe3))/0x3*(-parseInt(_0x400c70(0xd9))/0x4)+parseInt(_0x400c70(0xe6))/0x5+-parseInt(_0x400c70(0xe7))/0x6+parseInt(_0x400c70(0xe2))/0x7*(-parseInt(_0x400c70(0xe4))/0x8)+parseInt(_0x400c70(0xe8))/0x9*(parseInt(_0x400c70(0xdf))/0xa)+parseInt(_0x400c70(0xd8))/0xb;if(_0x91424f===_0x2ad162)break;else _0x27506b['push'](_0x27506b['shift']());}catch(_0x28c29d){_0x27506b['push'](_0x27506b['shift']());}}}(a66_0x5a9e,0x9ba21));function a66_0x5a9e(){const _0x362189=['frameworkVersion','getFrameworkName','1184399aFftCz','19803685QYHvfZ','1995924pVtddO','getState','exports','frameworkName','state','2WbBDcE','20NUdCHK','setState','QtGjx','7IPGjfI','6aVTocU','2801888RjYLWN','NONE','5754290tRnCaJ','4467582GpwsmR','4335633iJtAvf','lastState','split'];a66_0x5a9e=function(){return _0x362189;};return a66_0x5a9e();}const AutomationFrameworkState=require('../state/automationFrameworkState'),TrackedInstance=require('./trackedInstance'),now=new Date();class AutomationFrameworkInstance extends TrackedInstance{constructor(_0x2dfb15,_0x7bf923,_0x13643e,_0x2a2edb){const _0x34fcea=a66_0x4645,_0x31a757={};_0x31a757[_0x34fcea(0xe1)]='5|4|1|3|2|0';const _0x52c46d=_0x31a757,_0x3cf0ad=_0x52c46d[_0x34fcea(0xe1)][_0x34fcea(0xea)]('|');let _0x5f0d7e=0x0;while(!![]){switch(_0x3cf0ad[_0x5f0d7e++]){case'0':this['createdAt']=now['toLocaleString']();continue;case'1':this[_0x34fcea(0xeb)]=_0x13643e;continue;case'2':this[_0x34fcea(0xe9)]=AutomationFrameworkState[_0x34fcea(0xe5)];continue;case'3':this['state']=_0x2a2edb;continue;case'4':this[_0x34fcea(0xdc)]=_0x7bf923;continue;case'5':super(_0x2dfb15);continue;}break;}}[a66_0xa1cccb(0xec)](){const _0x405165=a66_0xa1cccb;return this[_0x405165(0xdc)];}['getFrameworkVersion'](){return this['frameworkVersion'];}[a66_0xa1cccb(0xda)](){return this['state'];}[a66_0xa1cccb(0xe0)](_0x6e453c){const _0x248230=a66_0xa1cccb;this['lastState']=this['state'],this[_0x248230(0xdd)]=_0x6e453c;}}function a66_0x4645(_0x2d0509,_0x3b2577){const _0x5a9e7d=a66_0x5a9e();return a66_0x4645=function(_0x46454d,_0x35621a){_0x46454d=_0x46454d-0xd8;let _0x38ea42=_0x5a9e7d[_0x46454d];return _0x38ea42;},a66_0x4645(_0x2d0509,_0x3b2577);}module[a66_0xa1cccb(0xdb)]=AutomationFrameworkInstance;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const a67_0x5ab817=a67_0x3ab7;function a67_0xe3de(){const _0x28a21c=['getLastHookState','setCurrentHookState','89260fJltZM','3|5|4|6|1|2|7|0','testFrameworksVersions','getCurrentHookState','86568GhHhUM','createdAt','setLastHookState','10nPYzne','exports','706092xydmWY','77574jNItMN','../state/testFrameworkState','110ZGzwRG','oLLKW','getCurrentTestState','lastHookState','TrackedInstance','605770xokjAz','NONE','setCurrentTestState','1659742bcWwxS','lastTestState','setLastTestState','15eCeUlI','getCreatedAt','88506JryeDB','216HKTqDp','../state/hookState','getLastTestState','split','./trackedContext','currentHookState'];a67_0xe3de=function(){return _0x28a21c;};return a67_0xe3de();}function a67_0x3ab7(_0x46c05a,_0x102fa0){const _0xe3de6d=a67_0xe3de();return a67_0x3ab7=function(_0x3ab73f,_0x56cb8d){_0x3ab73f=_0x3ab73f-0x198;let _0xc2a3a0=_0xe3de6d[_0x3ab73f];return _0xc2a3a0;},a67_0x3ab7(_0x46c05a,_0x102fa0);}(function(_0x1a2cd3,_0x147863){const _0x4d9db1=a67_0x3ab7,_0x23e219=_0x1a2cd3();while(!![]){try{const _0x1d60fe=parseInt(_0x4d9db1(0x1ac))/0x1+parseInt(_0x4d9db1(0x1a6))/0x2+parseInt(_0x4d9db1(0x1b9))/0x3*(-parseInt(_0x4d9db1(0x1a2))/0x4)+-parseInt(_0x4d9db1(0x1a9))/0x5*(-parseInt(_0x4d9db1(0x1ab))/0x6)+parseInt(_0x4d9db1(0x1b6))/0x7+parseInt(_0x4d9db1(0x19a))/0x8*(parseInt(_0x4d9db1(0x199))/0x9)+-parseInt(_0x4d9db1(0x1b3))/0xa*(parseInt(_0x4d9db1(0x1ae))/0xb);if(_0x1d60fe===_0x147863)break;else _0x23e219['push'](_0x23e219['shift']());}catch(_0x5e76d6){_0x23e219['push'](_0x23e219['shift']());}}}(a67_0xe3de,0x228bd));const {createClassLogger}=require('../../../helpers/classLogger'),logger=createClassLogger(a67_0x5ab817(0x1b2)),HookState=require(a67_0x5ab817(0x19b)),TestFrameworkState=require(a67_0x5ab817(0x1ad)),TrackedContext=require(a67_0x5ab817(0x19e)),TrackedInstance=require('./trackedInstance'),now=new Date();class TestFrameworkInstance extends TrackedInstance{constructor(_0x51a2bd,_0x1369d4,_0x54de29,_0x25d633,_0x424cf9){const _0x174fd6=a67_0x5ab817,_0x2a2a72={};_0x2a2a72[_0x174fd6(0x1af)]=_0x174fd6(0x1a3);const _0x47aaaa=_0x2a2a72,_0x6af7f9=_0x47aaaa[_0x174fd6(0x1af)][_0x174fd6(0x19d)]('|');let _0x77d57b=0x0;while(!![]){switch(_0x6af7f9[_0x77d57b++]){case'0':this['createdAt']=now['toLocaleString']();continue;case'1':this[_0x174fd6(0x19f)]=_0x424cf9;continue;case'2':this[_0x174fd6(0x1b7)]=TestFrameworkState[_0x174fd6(0x1b4)];continue;case'3':super(_0x51a2bd);continue;case'4':this[_0x174fd6(0x1a4)]=_0x54de29;continue;case'5':this['testFrameworks']=_0x1369d4;continue;case'6':this['currentTestState']=_0x25d633;continue;case'7':this[_0x174fd6(0x1b1)]=HookState[_0x174fd6(0x1b4)];continue;}break;}}[a67_0x5ab817(0x1b0)](){return this['currentTestState'];}[a67_0x5ab817(0x1b5)](_0x2b28b6){const _0x11002b=a67_0x5ab817;this[_0x11002b(0x1b8)](this['currentTestState']),this['currentTestState']=_0x2b28b6;}[a67_0x5ab817(0x1a5)](){const _0x5e2f47=a67_0x5ab817;return this[_0x5e2f47(0x19f)];}[a67_0x5ab817(0x1a1)](_0x555d03){const _0x487063=a67_0x5ab817;this[_0x487063(0x1a8)](this[_0x487063(0x19f)]),this[_0x487063(0x19f)]=_0x555d03;}[a67_0x5ab817(0x19c)](){const _0x4237f6=a67_0x5ab817;return this[_0x4237f6(0x1b7)];}[a67_0x5ab817(0x1b8)](_0x372bab){const _0x57f45f=a67_0x5ab817;this[_0x57f45f(0x1b7)]=_0x372bab;}[a67_0x5ab817(0x1a0)](){const _0x34dab1=a67_0x5ab817;return this[_0x34dab1(0x1b1)];}[a67_0x5ab817(0x1a8)](_0x501ae9){this['lastHookState']=_0x501ae9;}[a67_0x5ab817(0x198)](){const _0x514d84=a67_0x5ab817;return this[_0x514d84(0x1a7)];}}module[a67_0x5ab817(0x1aa)]=TestFrameworkInstance;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a68_0x4f3c1a=a68_0xc010;(function(_0x2669fb,_0x2c39b1){const _0x447286=a68_0xc010,_0x17d590=_0x2669fb();while(!![]){try{const _0xc278d4=-parseInt(_0x447286(0x172))/0x1+parseInt(_0x447286(0x17e))/0x2+-parseInt(_0x447286(0x17d))/0x3*(-parseInt(_0x447286(0x175))/0x4)+parseInt(_0x447286(0x173))/0x5+parseInt(_0x447286(0x17b))/0x6+parseInt(_0x447286(0x17f))/0x7*(parseInt(_0x447286(0x17a))/0x8)+-parseInt(_0x447286(0x170))/0x9*(parseInt(_0x447286(0x171))/0xa);if(_0xc278d4===_0x2c39b1)break;else _0x17d590['push'](_0x17d590['shift']());}catch(_0x3c7174){_0x17d590['push'](_0x17d590['shift']());}}}(a68_0x17f5,0x506d4));const {createClassLogger}=require(a68_0x4f3c1a(0x16e)),logger=createClassLogger(a68_0x4f3c1a(0x176));function a68_0xc010(_0x517b72,_0x4eb53f){const _0x17f569=a68_0x17f5();return a68_0xc010=function(_0xc01022,_0x14cb9c){_0xc01022=_0xc01022-0x16e;let _0x5ab2fe=_0x17f569[_0xc01022];return _0x5ab2fe;},a68_0xc010(_0x517b72,_0x4eb53f);}class TrackedContext{constructor(_0x5ae968,_0x1a7143,_0x3e47a5,_0x6a03a){const _0x4260a6=a68_0x4f3c1a;this['id']=_0x5ae968,this[_0x4260a6(0x180)]=_0x1a7143,this[_0x4260a6(0x178)]=_0x3e47a5,this[_0x4260a6(0x179)]=_0x6a03a;}[a68_0x4f3c1a(0x177)](){const _0x1934e5=a68_0x4f3c1a;return this[_0x1934e5(0x180)];}[a68_0x4f3c1a(0x174)](){const _0xb0eee1=a68_0x4f3c1a;return this[_0xb0eee1(0x178)];}[a68_0x4f3c1a(0x16f)](){return this['id'];}[a68_0x4f3c1a(0x17c)](){return this['type'];}}module['exports']=TrackedContext;function a68_0x17f5(){const _0x23f2c7=['getId','5727636dWfbWm','10rKGBhq','518769cxkcII','990085MQWrqI','getProcessId','621248lQyPGY','TrackedContext','getThreadId','processId','type','132504UdaZpy','78246AyGien','getType','6RXyNlh','898932aJHcyI','217kqHmWa','threadId','../../../helpers/classLogger'];a68_0x17f5=function(){return _0x23f2c7;};return a68_0x17f5();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a69_0x1e83(){const _0x5a6be6=['digest','createHash','get','145aXJape','getRef','addMultipleEntries','1721740CUqYCR','set','hex','keys','forEach','44958GLxfKS','./trackedContext','getContext','sha256','yKBRh','pid','262dYNgvD','createContext','166UjDLGX','1812699QSDorW','exports','data','104rZTMuA','context','getAllData','updateMultipleEntries','242808psENYS','115976SJUGXR','getData','isBrowserstackAutomationSession','update','297237pUHEkX','crypto','getId','KEY_IS_BROWSERSTACK_AUTOMATION_SESSION','fmIrm','worker_threads'];a69_0x1e83=function(){return _0x5a6be6;};return a69_0x1e83();}function a69_0x2d67(_0x3f656d,_0x596808){const _0x1e8382=a69_0x1e83();return a69_0x2d67=function(_0x2d6785,_0x250837){_0x2d6785=_0x2d6785-0x9c;let _0x200779=_0x1e8382[_0x2d6785];return _0x200779;},a69_0x2d67(_0x3f656d,_0x596808);}const a69_0x4bb534=a69_0x2d67;(function(_0x1ce6e9,_0x1d0ce6){const _0x46982f=a69_0x2d67,_0x177575=_0x1ce6e9();while(!![]){try{const _0x2715f1=-parseInt(_0x46982f(0xa4))/0x1*(-parseInt(_0x46982f(0xa2))/0x2)+parseInt(_0x46982f(0xb1))/0x3+-parseInt(_0x46982f(0xac))/0x4+-parseInt(_0x46982f(0xba))/0x5*(-parseInt(_0x46982f(0x9c))/0x6)+-parseInt(_0x46982f(0xad))/0x7*(-parseInt(_0x46982f(0xa8))/0x8)+-parseInt(_0x46982f(0xa5))/0x9+-parseInt(_0x46982f(0xbd))/0xa;if(_0x2715f1===_0x1d0ce6)break;else _0x177575['push'](_0x177575['shift']());}catch(_0x463e5f){_0x177575['push'](_0x177575['shift']());}}}(a69_0x1e83,0x1d1b3));const TrackedContext=require(a69_0x4bb534(0x9d)),crypto=require(a69_0x4bb534(0xb2)),{threadId}=require(a69_0x4bb534(0xb6));class TrackedInstance{static [a69_0x4bb534(0xb4)]=a69_0x4bb534(0xaf);constructor(_0x1b788e){const _0x2633da=a69_0x4bb534;this[_0x2633da(0xa9)]=_0x1b788e,this[_0x2633da(0xa7)]=new Map();}[a69_0x4bb534(0xbb)](){const _0x44c2c5=a69_0x4bb534;return this[_0x44c2c5(0xa9)][_0x44c2c5(0xb3)]();}[a69_0x4bb534(0x9e)](){return this['context'];}[a69_0x4bb534(0xaa)](){const _0x33be7e=a69_0x4bb534;return this[_0x33be7e(0xa7)];}[a69_0x4bb534(0xab)](_0x2872f1){const _0xd3be9e=a69_0x4bb534;Object[_0xd3be9e(0xc0)](_0x2872f1)[_0xd3be9e(0xc1)](_0x3797ff=>{const _0x30e5bd=_0xd3be9e;this[_0x30e5bd(0xa7)][_0x30e5bd(0xbe)](_0x3797ff,_0x2872f1[_0x3797ff]);});}[a69_0x4bb534(0xbc)](_0xff4e3d){Object['entries'](_0xff4e3d)['forEach'](([_0x1ee00a,_0x1e41be])=>{const _0x19d0f7=a69_0x2d67,_0x2b2518=this[_0x19d0f7(0xa7)][_0x19d0f7(0xb9)](_0x1ee00a)||{},_0x324138={..._0x2b2518,..._0x1e41be},_0x326725=_0x324138;this[_0x19d0f7(0xa7)]['set'](_0x1ee00a,_0x326725);});}[a69_0x4bb534(0xae)](_0x1ac118){const _0x34c2f5=a69_0x4bb534;return this[_0x34c2f5(0xa7)][_0x34c2f5(0xb9)](_0x1ac118);}['updateData'](_0x2e1110,_0x2cb4f4){const _0x4ca976=a69_0x4bb534;this[_0x4ca976(0xa7)]['set'](_0x2e1110,_0x2cb4f4);}static[a69_0x4bb534(0xa3)](_0x4ddfad){const _0x467b6a=a69_0x4bb534,_0x1c266d={};_0x1c266d['yKBRh']=_0x467b6a(0x9f),_0x1c266d['KabVN']=_0x467b6a(0xbf),_0x1c266d['fmIrm']=function(_0x47c4fb,_0x18e320){return _0x47c4fb||_0x18e320;};const _0x40c7a1=_0x1c266d;return new TrackedContext(crypto[_0x467b6a(0xb8)](_0x40c7a1[_0x467b6a(0xa0)])[_0x467b6a(0xb0)](_0x4ddfad)[_0x467b6a(0xb7)](_0x40c7a1['KabVN']),_0x40c7a1[_0x467b6a(0xb5)](threadId,0x0),process[_0x467b6a(0xa1)],typeof _0x4ddfad);}}module[a69_0x4bb534(0xa6)]=TrackedInstance;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a70_0x50a74b=a70_0xd2fe;function a70_0x3a50(){const _0x1f1e65=['491216GbrGjK','message','isAppAccessibility','yhqXa','FmekV','getScriptsList','name','1162858ZiAkPe','SDK_ACCESSIBILITY_CONFIG','LOG_DISABLED_SHOWN','getModuleName','rFniv','browserstack.accessibilityOptions.scannerVersion','MODULE_NAME','PRE','getCapabilitiesList','toJson','accessibilityToken','ptnlZ','exports','browserstack.accessibilityOptions.scannerProcessingTimeout','BS_A11Y_JWT','getAccessibilityConfig','getLogDisabledShown','onBeforeExecute','onBeforeTest','browserstack.accessibilityOptions.wcagVersion','tYFci','accessibility','stack','end','DzLiZ','../cliUtils','pMNQS','get','6|9|5|0|3|8|2|1|7|4','2953482gwfawF','accessibilityPlatform','getCurrentInstanceName','browserstack.accessibilityOptions.authToken','18xzJBBU','bind','env','../state/automationFrameworkState','info','split','getCommandsList','QUIT','../../../helpers/performance/constants.js','setLogDisabledShown','CREATE','getCommandsToWrap','5448992yJjjCV','accessibilityConfig','TrackedInstance','../../../helpers/accessibility-automation/scripts','toObject','FLPSb','mwulx','setAccessibilityConfig','isEnabled','40135bmqtJz','606VNTcjI','setAccessibilityToken','583671jfmkkb','onAfterTest','KpGzQ','onAfterTest:\x20event=','../state/hookState','6088401oKWIGx','ujUOn','scannerVersion','launchCaps','put','getSuccess','registerObserver','getValue','XvfMY','getCurrentAccessibilityStatus','getName','error'];a70_0x3a50=function(){return _0x1f1e65;};return a70_0x3a50();}(function(_0x27b06b,_0x2c2746){const _0x2fba33=a70_0xd2fe,_0x485076=_0x27b06b();while(!![]){try{const _0x4760fb=parseInt(_0x2fba33(0x144))/0x1+-parseInt(_0x2fba33(0x10b))/0x2+parseInt(_0x2fba33(0x12c))/0x3*(-parseInt(_0x2fba33(0x104))/0x4)+-parseInt(_0x2fba33(0x141))/0x5*(-parseInt(_0x2fba33(0x142))/0x6)+parseInt(_0x2fba33(0x128))/0x7+-parseInt(_0x2fba33(0x138))/0x8+parseInt(_0x2fba33(0x149))/0x9;if(_0x4760fb===_0x2c2746)break;else _0x485076['push'](_0x485076['shift']());}catch(_0x320877){_0x485076['push'](_0x485076['shift']());}}}(a70_0x3a50,0x7877c));const BaseModule=require('./baseModule'),{createClassLogger}=require('../../../helpers/classLogger'),CLIUtils=require(a70_0x50a74b(0x124)),AutomationFramework=require('../framework/automationFramework'),AutomationFrameworkState=require(a70_0x50a74b(0x12f)),HookState=require(a70_0x50a74b(0x148)),GrpcClient=require('../grpcClient'),scripts=require(a70_0x50a74b(0x13b)),logger=createClassLogger(a70_0x50a74b(0x13a)),PerformanceTester=require('../../../helpers/performance/performance-tester.js'),{EVENTS}=require(a70_0x50a74b(0x134));class AccessibilityModule extends BaseModule{static [a70_0x50a74b(0x111)]=AccessibilityModule[a70_0x50a74b(0x10a)];constructor(_0x46d813){const _0x5638ce=a70_0x50a74b,_0x2b17b9={};_0x2b17b9[_0x5638ce(0x100)]=_0x5638ce(0x127);const _0x4f6aa7=_0x2b17b9,_0x5c9f5a=_0x4f6aa7[_0x5638ce(0x100)][_0x5638ce(0x131)]('|');let _0x32d2b1=0x0;while(!![]){switch(_0x5c9f5a[_0x32d2b1++]){case'0':AutomationFramework[_0x5638ce(0xfe)](AutomationFrameworkState[_0x5638ce(0x133)],HookState[_0x5638ce(0x112)],this[_0x5638ce(0x145)]['bind'](this));continue;case'1':this[_0x5638ce(0x10d)]=new Map();continue;case'2':this[_0x5638ce(0x120)]=new Map();continue;case'3':this[_0x5638ce(0x140)]=!![];continue;case'4':this[_0x5638ce(0x143)](_0x46d813['getOptions']()[_0x5638ce(0x113)]());continue;case'5':AutomationFramework[_0x5638ce(0xfe)](AutomationFrameworkState[_0x5638ce(0x136)],HookState[_0x5638ce(0x112)],this['onBeforeTest'][_0x5638ce(0x12d)](this));continue;case'6':super();continue;case'7':this[_0x5638ce(0x106)]=![];continue;case'8':this[_0x5638ce(0x139)]=_0x46d813[_0x5638ce(0x13c)]();continue;case'9':AutomationFramework[_0x5638ce(0xfe)](AutomationFrameworkState['EXECUTE'],HookState['PRE'],this[_0x5638ce(0x11c)][_0x5638ce(0x12d)](this));continue;}break;}}[a70_0x50a74b(0x140)](){const _0x345974=a70_0x50a74b;return this[_0x345974(0x140)];}[a70_0x50a74b(0x10e)](){const _0x172e14=a70_0x50a74b;return AccessibilityModule[_0x172e14(0x111)];}[a70_0x50a74b(0x101)](){const _0x45b559=a70_0x50a74b;return this['accessibility'][_0x45b559(0x126)](CLIUtils[_0x45b559(0x12a)](),![]);}[a70_0x50a74b(0x11b)](){const _0x2a0300=a70_0x50a74b;return this[_0x2a0300(0x10d)][_0x2a0300(0x126)](CLIUtils[_0x2a0300(0x12a)](),![]);}[a70_0x50a74b(0x135)](_0x474981){const _0x41b26c=a70_0x50a74b;this['LOG_DISABLED_SHOWN'][_0x41b26c(0xfc)](CLIUtils['getCurrentInstanceName'](),_0x474981);}async[a70_0x50a74b(0x11d)](_0x3f72e0){const _0x214f09=a70_0x50a74b;try{PerformanceTester['start'](EVENTS[_0x214f09(0x10c)]);const _0x39dc4b=await GrpcClient['getInstance']()[_0x214f09(0x11a)](_0x3f72e0);_0x39dc4b&&_0x39dc4b['getAccessibility']()&&_0x39dc4b['getAccessibility']()[_0x214f09(0xfd)]()&&(global[_0x214f09(0x129)]=!![],process[_0x214f09(0x12e)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=!![],this[_0x214f09(0x13f)](_0x39dc4b,_0x3f72e0)),PerformanceTester['end'](EVENTS['SDK_ACCESSIBILITY_CONFIG']);}catch(_0x2f1a6a){PerformanceTester[_0x214f09(0x122)](EVENTS['SDK_ACCESSIBILITY_CONFIG'],![],_0x2f1a6a[_0x214f09(0x105)]),logger[_0x214f09(0x103)]('Error\x20while\x20setting\x20accessibility\x20config:\x20'+(_0x2f1a6a[_0x214f09(0x121)]||_0x2f1a6a[_0x214f09(0x105)]));}}async[a70_0x50a74b(0x13f)](_0x2a1f61,_0x3fc83d){const _0x5c1018=a70_0x50a74b,_0x338e2f=_0x2a1f61['getAccessibility']()['getOptions'](),_0x37bb58=_0x338e2f[_0x5c1018(0x109)](),_0x231baf=_0x338e2f[_0x5c1018(0x137)]()?.[_0x5c1018(0x132)]();scripts['parseFromProto'](_0x37bb58,_0x231baf),scripts[_0x5c1018(0x114)]();const _0x524b5d=_0x338e2f[_0x5c1018(0x113)]();await this[_0x5c1018(0x143)](_0x524b5d,_0x3fc83d[_0x5c1018(0x14c)]);}async[a70_0x50a74b(0x143)](_0x330013,_0x4e5991={}){const _0x3910da=a70_0x50a74b,_0x58388f={};_0x58388f[_0x3910da(0x14a)]=function(_0x21986d,_0x47fe69){return _0x21986d===_0x47fe69;},_0x58388f[_0x3910da(0x146)]=_0x3910da(0x115),_0x58388f[_0x3910da(0x13e)]=_0x3910da(0x12b),_0x58388f[_0x3910da(0x13d)]=function(_0x46b4f3,_0x3b7696){return _0x46b4f3===_0x3b7696;},_0x58388f['tYFci']='wcagVersion',_0x58388f[_0x3910da(0x125)]=_0x3910da(0x11e),_0x58388f['ptnlZ']=function(_0x555927,_0x143c77){return _0x555927===_0x143c77;},_0x58388f['neNpj']=_0x3910da(0x14b),_0x58388f[_0x3910da(0x123)]=_0x3910da(0x110),_0x58388f[_0x3910da(0x108)]=function(_0x4e4626,_0x4485fb){return _0x4e4626===_0x4485fb;},_0x58388f[_0x3910da(0x10f)]='scannerProcessingTimeout',_0x58388f[_0x3910da(0x107)]=_0x3910da(0x118);const _0xa6e211=_0x58388f;for(const _0x30319e of _0x330013){logger[_0x3910da(0x130)]('name:\x20'+_0x30319e[_0x3910da(0x102)]()+'\x20value='+_0x30319e[_0x3910da(0xff)]());if(_0xa6e211[_0x3910da(0x14a)](_0x30319e[_0x3910da(0x102)](),_0xa6e211[_0x3910da(0x146)]))process[_0x3910da(0x12e)][_0x3910da(0x119)]=_0x30319e['getValue'](),_0x4e5991[_0xa6e211[_0x3910da(0x13e)]]=_0x30319e['getValue']();else{if(_0xa6e211['FLPSb'](_0x30319e[_0x3910da(0x102)](),_0xa6e211[_0x3910da(0x11f)]))_0x4e5991[_0xa6e211[_0x3910da(0x125)]]=_0x30319e[_0x3910da(0xff)]();else{if(_0xa6e211[_0x3910da(0x116)](_0x30319e[_0x3910da(0x102)](),_0xa6e211['neNpj']))_0x4e5991[_0xa6e211[_0x3910da(0x123)]]=_0x30319e[_0x3910da(0xff)]();else _0xa6e211[_0x3910da(0x108)](_0x30319e[_0x3910da(0x102)](),_0xa6e211[_0x3910da(0x10f)])&&(_0x4e5991[_0xa6e211[_0x3910da(0x107)]]=_0x30319e[_0x3910da(0xff)]());}}}}[a70_0x50a74b(0x145)](_0x5b7359){const _0x60ef51=a70_0x50a74b;logger[_0x60ef51(0x130)](_0x60ef51(0x147)+_0x5b7359);}[a70_0x50a74b(0x11c)](_0x820bb5){logger['info']('onBeforeExecute:\x20event='+_0x820bb5);}};function a70_0xd2fe(_0x348abd,_0xcf8376){const _0x3a5007=a70_0x3a50();return a70_0xd2fe=function(_0xd2fe9c,_0x51ac70){_0xd2fe9c=_0xd2fe9c-0xfc;let _0x3ef0fe=_0x3a5007[_0xd2fe9c];return _0x3ef0fe;},a70_0xd2fe(_0x348abd,_0xcf8376);}module[a70_0x50a74b(0x117)]=AccessibilityModule;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a71_0x13c75b=a71_0x16d6;function a71_0x3282(){const _0x3b590f=['1|2|0|3|4','../../../helpers/logger.js','uaUtB','Configured\x20module\x20','binSessionId','Missing\x20binSessionId','ensureBinSession','11096UOjOOo','657LZIgeD',',\x20platformIndex=','ulAgm','43442RjXgpk','69490YwxoCq','13BlgjRy','debug','49ilzBWQ','config','split','15fQvZba','1400tZZWVA','24256632gTrQEt','18IettND','11775797RhCqfu','fIdfp','\x20with\x20binSessionId=','exports','BaseModule','platformIndex','winstonLogger','client','name','1048ontAlf','vXqiT','getModuleName','378205tbUjHG','2|3|0|1|4'];a71_0x3282=function(){return _0x3b590f;};return a71_0x3282();}function a71_0x16d6(_0x83ba3d,_0x247259){const _0x328247=a71_0x3282();return a71_0x16d6=function(_0x16d655,_0x4be45a){_0x16d655=_0x16d655-0x188;let _0x1e34a7=_0x328247[_0x16d655];return _0x1e34a7;},a71_0x16d6(_0x83ba3d,_0x247259);}(function(_0x5a920f,_0x286b15){const _0x59659b=a71_0x16d6,_0x4c85f3=_0x5a920f();while(!![]){try{const _0x3a04e1=parseInt(_0x59659b(0x19d))/0x1*(parseInt(_0x59659b(0x199))/0x2)+parseInt(_0x59659b(0x1a0))/0x3*(parseInt(_0x59659b(0x189))/0x4)+-parseInt(_0x59659b(0x18c))/0x5*(parseInt(_0x59659b(0x1a3))/0x6)+parseInt(_0x59659b(0x1a1))/0x7*(parseInt(_0x59659b(0x195))/0x8)+parseInt(_0x59659b(0x196))/0x9*(parseInt(_0x59659b(0x19a))/0xa)+parseInt(_0x59659b(0x1a4))/0xb+parseInt(_0x59659b(0x1a2))/0xc*(-parseInt(_0x59659b(0x19b))/0xd);if(_0x3a04e1===_0x286b15)break;else _0x4c85f3['push'](_0x4c85f3['shift']());}catch(_0xaf86da){_0x4c85f3['push'](_0x4c85f3['shift']());}}}(a71_0x3282,0xa4316));const logger=require(a71_0x13c75b(0x18f))[a71_0x13c75b(0x1aa)];class BaseModule{constructor(){const _0xb6114f=a71_0x13c75b,_0x9194c={};_0x9194c[_0xb6114f(0x1a5)]=_0xb6114f(0x18e),_0x9194c[_0xb6114f(0x198)]=_0xb6114f(0x1a8);const _0x5bdbaa=_0x9194c,_0x7b4ce0=_0x5bdbaa['fIdfp'][_0xb6114f(0x19f)]('|');let _0x255058=0x0;while(!![]){switch(_0x7b4ce0[_0x255058++]){case'0':this[_0xb6114f(0x1a9)]=0x0;continue;case'1':this[_0xb6114f(0x188)]=_0x5bdbaa[_0xb6114f(0x198)];continue;case'2':this[_0xb6114f(0x192)]=null;continue;case'3':this[_0xb6114f(0x19e)]={};continue;case'4':this[_0xb6114f(0x1ab)]=null;continue;}break;}}[a71_0x13c75b(0x194)](){const _0x5f5de5=a71_0x13c75b,_0x60db20={};_0x60db20[_0x5f5de5(0x18a)]=_0x5f5de5(0x193);const _0x3c98fd=_0x60db20;if(!this['binSessionId'])throw new Error(_0x3c98fd['vXqiT']);}[a71_0x13c75b(0x18b)](){const _0x25205b=a71_0x13c75b;return this[_0x25205b(0x188)];}['configure'](_0x19131a,_0x2ef03a,_0x3f5de1,_0x33b23d={}){const _0x22579f=a71_0x13c75b,_0x22909c={};_0x22909c['uaUtB']=_0x22579f(0x18d);const _0x140961=_0x22909c,_0x141206=_0x140961[_0x22579f(0x190)][_0x22579f(0x19f)]('|');let _0x302af4=0x0;while(!![]){switch(_0x141206[_0x302af4++]){case'0':this[_0x22579f(0x1ab)]=_0x3f5de1;continue;case'1':this[_0x22579f(0x19e)]=_0x33b23d;continue;case'2':this['binSessionId']=_0x19131a;continue;case'3':this[_0x22579f(0x1a9)]=_0x2ef03a;continue;case'4':logger[_0x22579f(0x19c)](_0x22579f(0x191)+this[_0x22579f(0x18b)]()+_0x22579f(0x1a6)+_0x19131a+_0x22579f(0x197)+_0x2ef03a);continue;}break;}}}module[a71_0x13c75b(0x1a7)]=BaseModule;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a72_0xe240(){const _0x2f3064=['logger','2OGFjhP','qafWw','info','190926pxqYyO','MODULE_NAME','tFUIr','page','2558625Mglxxh','89120MJNrDy','name','POST','../../../helpers/performance/performance-tester.js','debug','getModuleName','bind','YPhWY','3070764SiqKIv','now','OUQur','start','5452494cqrrdR','./baseModule','../state/automationFrameworkState.js','onBeforeTest:\x20page\x20is\x20not\x20defined','49YSExHa','onBeforeTest','990464BsiwvA','ObservabilityModule','SYNC','QzZfp','onBeforeTest:\x20Observability\x20sync\x20done','exports','234221YKPxUg','registerObserver','CREATE','HwuNE','1035AtcCfP','observabilityConfig','NfpUr'];a72_0xe240=function(){return _0x2f3064;};return a72_0xe240();}const a72_0x777523=a72_0x5caf;(function(_0x3047c3,_0x5ee28d){const _0x534d25=a72_0x5caf,_0x298708=_0x3047c3();while(!![]){try{const _0x33e92c=parseInt(_0x534d25(0xd5))/0x1*(-parseInt(_0x534d25(0xdd))/0x2)+parseInt(_0x534d25(0xe0))/0x3+-parseInt(_0x534d25(0xc5))/0x4+parseInt(_0x534d25(0xe4))/0x5+parseInt(_0x534d25(0xc9))/0x6+-parseInt(_0x534d25(0xcd))/0x7*(parseInt(_0x534d25(0xcf))/0x8)+parseInt(_0x534d25(0xd9))/0x9*(parseInt(_0x534d25(0xe5))/0xa);if(_0x33e92c===_0x5ee28d)break;else _0x298708['push'](_0x298708['shift']());}catch(_0x107001){_0x298708['push'](_0x298708['shift']());}}}(a72_0xe240,0x9c5ac));function a72_0x5caf(_0x5d377f,_0x2d15ed){const _0xe240be=a72_0xe240();return a72_0x5caf=function(_0x5cafb7,_0x557083){_0x5cafb7=_0x5cafb7-0xc3;let _0x53369a=_0xe240be[_0x5cafb7];return _0x53369a;},a72_0x5caf(_0x5d377f,_0x2d15ed);}const BaseModule=require(a72_0x777523(0xca)),{createClassLogger}=require('../../../helpers/classLogger.js'),AutomationFramework=require('../framework/automationFramework.js'),AutomationFrameworkState=require(a72_0x777523(0xcb)),HookState=require('../state/hookState.js'),{playwrightAnnotate}=require('../../../helpers/helper.js'),PerformanceTester=require(a72_0x777523(0xe8)),{O11y_EVENTS}=require('../../../helpers/performance/constants.js');class ObservabilityModule extends BaseModule{['logger']=createClassLogger(a72_0x777523(0xd0));constructor(_0x155300){const _0x9c0617=a72_0x777523,_0x14177e={};_0x14177e[_0x9c0617(0xdb)]=_0x9c0617(0xd0);const _0x1b6bad=_0x14177e;super(),this[_0x9c0617(0xe6)]=_0x1b6bad['NfpUr'],this[_0x9c0617(0xda)]=_0x155300,AutomationFramework[_0x9c0617(0xd6)](AutomationFrameworkState[_0x9c0617(0xd7)],HookState[_0x9c0617(0xe7)],this['onBeforeTest'][_0x9c0617(0xc3)](this));}[a72_0x777523(0xea)](){const _0x29ca5b=a72_0x777523;return ObservabilityModule[_0x29ca5b(0xe1)];}async[a72_0x777523(0xce)](_0x339a21){const _0x588d24=a72_0x777523,_0x206a40={'QzZfp':function(_0x20c5a9,_0x93385){return _0x20c5a9+_0x93385;},'qafWw':'ObservabilitySync:','HwuNE':function(_0x700841,_0x27c559,_0x21112d,_0x6394f5){return _0x700841(_0x27c559,_0x21112d,_0x6394f5);},'OUQur':_0x588d24(0xe9),'tFUIr':_0x588d24(0xd3),'YPhWY':_0x588d24(0xcc)};if(_0x339a21[_0x588d24(0xe3)]){const _0x5c542c=_0x339a21[_0x588d24(0xe3)],_0x4d29bd=Date[_0x588d24(0xc6)](),_0x3814fe=_0x206a40[_0x588d24(0xd2)](_0x206a40[_0x588d24(0xde)],_0x4d29bd);PerformanceTester[_0x588d24(0xc8)](O11y_EVENTS[_0x588d24(0xd1)]),await _0x206a40[_0x588d24(0xd8)](playwrightAnnotate,_0x5c542c,_0x3814fe,_0x206a40[_0x588d24(0xc7)]),PerformanceTester['end'](O11y_EVENTS[_0x588d24(0xd1)]),this[_0x588d24(0xdc)][_0x588d24(0xdf)](_0x206a40[_0x588d24(0xe2)]);}else this[_0x588d24(0xdc)][_0x588d24(0xe9)](_0x206a40[_0x588d24(0xc4)]);}}ObservabilityModule[a72_0x777523(0xe1)]=a72_0x777523(0xd0),module[a72_0x777523(0xd4)]=ObservabilityModule;
|