browserstack-node-sdk 1.32.12 → 1.32.14
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/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/templates/gcpresources/gkecluster.json +0 -3
- 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/createk8sClient.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test.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/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 -0
- 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/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/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/capsMapping.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/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-tester.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/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a33_0x5a8e48=a33_0x3f75;function a33_0x3f75(_0x9abc53,_0x2847e9){const _0x4ccb88=a33_0x4ccb();return a33_0x3f75=function(_0x3f750e,_0xbefef){_0x3f750e=_0x3f750e-0x1ad;let _0x19a3e4=_0x4ccb88[_0x3f750e];return _0x19a3e4;},a33_0x3f75(_0x9abc53,_0x2847e9);}(function(_0x21cf3c,_0x355ca8){const _0xa350db=a33_0x3f75,_0x3a544e=_0x21cf3c();while(!![]){try{const _0x13716a=-parseInt(_0xa350db(0x1be))/0x1*(-parseInt(_0xa350db(0x1ea))/0x2)+-parseInt(_0xa350db(0x251))/0x3+-parseInt(_0xa350db(0x1b7))/0x4+parseInt(_0xa350db(0x1b3))/0x5*(-parseInt(_0xa350db(0x24d))/0x6)+-parseInt(_0xa350db(0x25c))/0x7+-parseInt(_0xa350db(0x20d))/0x8*(-parseInt(_0xa350db(0x277))/0x9)+-parseInt(_0xa350db(0x1ce))/0xa*(-parseInt(_0xa350db(0x22b))/0xb);if(_0x13716a===_0x355ca8)break;else _0x3a544e['push'](_0x3a544e['shift']());}catch(_0x11d55b){_0x3a544e['push'](_0x3a544e['shift']());}}}(a33_0x4ccb,0x25191));const fs=require('fs'),path=require(a33_0x5a8e48(0x1d2)),os=require('os'),{spawn}=require('child_process'),{format}=require('util'),logger=require(a33_0x5a8e48(0x247))[a33_0x5a8e48(0x1d5)],{default:BrowserStackSetup}=require(a33_0x5a8e48(0x274)),helper=require(a33_0x5a8e48(0x267)),constants=require('../utils/constants'),{FRAMEWORKS}=require(a33_0x5a8e48(0x236)),{getTransformPath,getConfigLoaderPath,getProjectUtilsPath}=require(a33_0x5a8e48(0x272)),{CrashReporter,o11yErrorHandler}=require(a33_0x5a8e48(0x1af)),{getFrameworkVersion}=require(a33_0x5a8e48(0x209)),{createAccessibilityTestRun,stopAccessibilityTestRun,checkAccessibilityPlatformConfig}=require(a33_0x5a8e48(0x1ec)),{setAccessibilityCapabilities}=require(a33_0x5a8e48(0x217)),SessionHandler=require(a33_0x5a8e48(0x232));async function requireOrImportDefaultObject(_0x52404a){const _0x7bc6c8=a33_0x5a8e48,_0x1224f1={'UhBJD':function(_0x1a6934){return _0x1a6934();},'fEFqh':function(_0x521e26,_0x4a15a8){return _0x521e26(_0x4a15a8);},'ttBpf':function(_0x2fb24d,_0x5ea55e){return _0x2fb24d===_0x5ea55e;},'NcHJi':_0x7bc6c8(0x1de),'mFKEe':function(_0x5e54ae,_0x185a21){return _0x5e54ae in _0x185a21;},'trdaa':'default'},{requireOrImport:_0x554d8e}=helper[_0x7bc6c8(0x225)][_0x7bc6c8(0x278)](null,_0x1224f1['UhBJD'](getTransformPath));let _0x29279b=await _0x1224f1[_0x7bc6c8(0x227)](_0x554d8e,_0x52404a);return _0x29279b&&_0x1224f1['ttBpf'](typeof _0x29279b,_0x1224f1[_0x7bc6c8(0x210)])&&_0x1224f1[_0x7bc6c8(0x1e9)](_0x1224f1[_0x7bc6c8(0x259)],_0x29279b)&&(_0x29279b=_0x29279b[_0x1224f1[_0x7bc6c8(0x259)]]),_0x29279b;}const getUserPlaywrightConfig=async(_0x45e9be,_0x1b7e8b)=>{const _0x1c9856=a33_0x5a8e48,_0x4e707a={'hgtMM':function(_0x24ebe4){return _0x24ebe4();},'EIYsY':function(_0x550e31,_0x5ab10c){return _0x550e31(_0x5ab10c);},'RWvDe':_0x1c9856(0x22a),'lDiBa':_0x1c9856(0x1f7),'xbpTv':_0x1c9856(0x1ae)},_0x4f20c9=!helper[_0x1c9856(0x1b0)](_0x45e9be[_0x1c9856(0x1dd)]),_0xa93f0=_0x4f20c9?path[_0x1c9856(0x23d)](process[_0x1c9856(0x229)](),_0x45e9be[_0x1c9856(0x1dd)]):process[_0x1c9856(0x229)](),{resolveConfigFile:_0x38cc67}=helper[_0x1c9856(0x225)][_0x1c9856(0x278)](null,_0x4e707a[_0x1c9856(0x252)](getConfigLoaderPath)),_0x30598f=_0x4e707a[_0x1c9856(0x1db)](_0x38cc67,_0xa93f0);let _0x362a02={};if(_0x30598f){logger['info'](_0x1c9856(0x1b9)+_0x30598f);try{_0x362a02=await _0x4e707a[_0x1c9856(0x1db)](requireOrImportDefaultObject,_0x30598f);}catch(_0x126b62){return logger[_0x1c9856(0x1d0)](_0x4e707a[_0x1c9856(0x24c)],_0x126b62),null;}}else logger[_0x1c9856(0x1d9)](_0x4e707a[_0x1c9856(0x1b8)]);if(_0x4f20c9){const _0x295aa2=_0x1b7e8b[_0x1c9856(0x208)](_0x325022=>_0x325022===_0x1c9856(0x23e)||_0x325022==='-c'||_0x325022[_0x1c9856(0x1f8)](_0x1c9856(0x1ae)));_0x1b7e8b[_0x1c9856(0x219)](_0x295aa2,_0x1b7e8b[_0x295aa2]['startsWith'](_0x4e707a[_0x1c9856(0x1b2)])?0x1:0x2);}const _0x583484={};return _0x583484[_0x1c9856(0x1d2)]=_0x30598f,_0x583484['config']=_0x362a02,_0x583484;},setGlobalSetup=(_0x179c5b,_0x46c812)=>{const _0x52d41e=a33_0x5a8e48,_0x258c29={'qgraD':_0x52d41e(0x26f),'KQvxk':_0x52d41e(0x1bc),'iWAZh':function(_0x4a44e5,_0xba4d94){return _0x4a44e5+_0xba4d94;},'PnFPV':_0x52d41e(0x268),'YDMUj':function(_0x498f4f,_0x5aa3a9){return _0x498f4f(_0x5aa3a9);},'LHBRa':_0x52d41e(0x26b)};if(!_0x179c5b)return![];try{if(_0x179c5b[_0x52d41e(0x26f)]){let _0x34b7da;const _0xf0de0c=path[_0x52d41e(0x23d)](_0x46c812,_0x179c5b[_0x258c29[_0x52d41e(0x1ff)]]);if(fs[_0x52d41e(0x215)](_0xf0de0c))_0x34b7da=_0xf0de0c;else{const _0x422de0={};_0x422de0[_0x52d41e(0x24f)]=[_0x46c812],_0x34b7da=require[_0x52d41e(0x23d)](_0x179c5b[_0x258c29['qgraD']],_0x422de0);}if(!_0x34b7da)throw new Error(_0x258c29[_0x52d41e(0x226)]);process[_0x52d41e(0x21d)][_0x52d41e(0x21b)]=_0x34b7da;}}catch(_0x2b20ca){logger['error'](_0x258c29['iWAZh'](_0x258c29['PnFPV'],_0x258c29[_0x52d41e(0x27d)](format,_0x2b20ca)));}return _0x179c5b['globalSetup']=require[_0x52d41e(0x23d)](_0x258c29['LHBRa']),!![];},addReporter=_0x3db690=>{const _0x57d278=a33_0x5a8e48,_0x4d366b={};_0x4d366b[_0x57d278(0x1c5)]=_0x57d278(0x249),_0x4d366b['yibpO']='reporter',_0x4d366b[_0x57d278(0x25b)]=function(_0x1647b2,_0x45eb72){return _0x1647b2===_0x45eb72;},_0x4d366b['nepTL']='string',_0x4d366b[_0x57d278(0x205)]=_0x57d278(0x1de);const _0x3b9746=_0x4d366b,_0x2d0be0=path[_0x57d278(0x1fc)](__dirname,_0x3b9746[_0x57d278(0x1c5)]),_0x52d56b=[_0x2d0be0];if(helper['isUndefined'](_0x3db690[_0x3b9746[_0x57d278(0x1e0)]]))_0x3db690[_0x3b9746[_0x57d278(0x1e0)]]=[_0x52d56b];else{if(_0x3b9746[_0x57d278(0x25b)](typeof _0x3db690[_0x3b9746[_0x57d278(0x1e0)]],_0x3b9746['nepTL']))_0x3db690[_0x3b9746['yibpO']]=[[_0x3db690[_0x3b9746['yibpO']]],_0x52d56b];else _0x3b9746['vONkF'](typeof _0x3db690[_0x3b9746[_0x57d278(0x1e0)]],_0x3b9746[_0x57d278(0x205)])&&_0x3db690[_0x3b9746['yibpO']][_0x57d278(0x27b)](_0x52d56b);}},handleO11yRerun=_0x2b52a7=>{const _0x530738=a33_0x5a8e48,_0x59c2c8={};_0x59c2c8[_0x530738(0x23b)]=function(_0xb86f77,_0x45eb7e){return _0xb86f77!==_0x45eb7e;},_0x59c2c8[_0x530738(0x1f5)]=_0x530738(0x26e),_0x59c2c8['EoTGs']=_0x530738(0x1c4);const _0xea622f=_0x59c2c8,_0x2bbbba=helper['isTrue'](process['env'][_0x530738(0x1b5)]);if(_0x2bbbba){const _0x1330b1=process[_0x530738(0x21d)][_0x530738(0x1ed)],_0x197262=[];if(_0xea622f[_0x530738(0x23b)](_0x1330b1,_0xea622f[_0x530738(0x1f5)])&&!helper[_0x530738(0x1b0)](_0x1330b1)){_0x1330b1[_0x530738(0x20b)](',')[_0x530738(0x212)](_0x44a029=>{const _0x251d22=_0x530738;_0x197262[_0x251d22(0x27b)]('('+_0x44a029[_0x251d22(0x237)]()+')');});const _0x8ecb1='^'+_0x197262[_0x530738(0x1fc)]('|')+'$';_0x2b52a7['push'](_0xea622f[_0x530738(0x1e1)],_0x8ecb1);}}},spawnOriginalProcess=_0x46c8fe=>{const _0x1ec684=a33_0x5a8e48,_0x594200={'iRdAR':function(_0x317754,_0x42d2ec,_0x39a821,_0x120ed2){return _0x317754(_0x42d2ec,_0x39a821,_0x120ed2);},'nWIXa':'npx','wZbfK':_0x1ec684(0x207),'NCvqx':function(_0x57eac8,_0x2410de){return _0x57eac8===_0x2410de;},'iyGMs':_0x1ec684(0x1da),'HhSfY':_0x1ec684(0x258)};_0x594200[_0x1ec684(0x26d)](spawn,_0x594200[_0x1ec684(0x243)],[_0x594200[_0x1ec684(0x22e)],..._0x46c8fe[_0x1ec684(0x279)](0x1)],{'shell':_0x594200[_0x1ec684(0x1bd)](process[_0x1ec684(0x260)],_0x594200[_0x1ec684(0x254)]),'stdio':_0x594200[_0x1ec684(0x246)],'cwd':process[_0x1ec684(0x229)]()});},isTestCommand=(_0x2733b3,_0x4c64a3)=>{const _0x5a9a62=a33_0x5a8e48,_0x2db66a={};_0x2db66a['IezAt']=function(_0x4a0b6d,_0x728baa){return _0x4a0b6d>_0x728baa;},_0x2db66a['etGqE']=function(_0x47d4f9,_0x9f4f77){return _0x47d4f9===_0x9f4f77;},_0x2db66a[_0x5a9a62(0x1f3)]='test';const _0x1e2f06=_0x2db66a;if(_0x1e2f06[_0x5a9a62(0x1f9)](_0x4c64a3[_0x5a9a62(0x264)],0x1)&&_0x1e2f06[_0x5a9a62(0x214)](_0x4c64a3[0x1],_0x1e2f06[_0x5a9a62(0x1f3)]))return!![];return![];},initO11yCrashReporter=(_0x5478db,_0x54f342)=>{const _0x204cc8=a33_0x5a8e48,_0x2b0b98={'EaXWH':function(_0x4029af,_0xd8a80e){return _0x4029af(_0xd8a80e);}},_0x320c53={'frameworkName':FRAMEWORKS[_0x204cc8(0x224)],'frameworkVersion':_0x2b0b98[_0x204cc8(0x262)](getFrameworkVersion,FRAMEWORKS[_0x204cc8(0x224)])};CrashReporter[_0x204cc8(0x1ba)](_0x320c53,_0x5478db,_0x54f342);},launchO11ySession=o11yErrorHandler(async function launchO11ySession(_0x4e5673){const _0x87114f=a33_0x5a8e48,_0x525d46={};_0x525d46['qXHUk']=function(_0x3bfb8b,_0x2aaa65){return _0x3bfb8b>_0x2aaa65;},_0x525d46[_0x87114f(0x25e)]=function(_0x43f94e,_0x2473cb){return _0x43f94e===_0x2473cb;};const _0x44b10c=_0x525d46;if(!_0x4e5673||_0x44b10c[_0x87114f(0x21e)](_0x4e5673['length'],0x1)&&_0x44b10c[_0x87114f(0x25e)](_0x4e5673[0x0],null))return process[_0x87114f(0x21d)][_0x87114f(0x200)]=![],![];return!![];});function a33_0x4ccb(){const _0x495fa6=['PhNja','BROWSERSTACK_AUTOMATION','hZuAW','yWaiS','zUqgb','39660qYVkgl','playwright-browserstack-sdk.config.cjs','error','filterBrowserstackConfig','path','QrHze','iGAPD','winstonLogger','BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run\x20ID:\x20','concat','testIgnore','info','win32','EIYsY','argv','config','object','BouHq','yibpO','EoTGs','.browserstack','testContextOptions','SMNHA','cliConfig','qJybE','dPnRS','iyMmg','mFKEe','2wGRjGR','pw_result.json','../../helpers/accessibility-automation/helper','BROWSERSTACK_RERUN_TESTS','includes','mvUbF','isTrue','process.env.GLOBAL_AGENT_HTTP_PROXY=\x22','_internal','otgvg','accessibilityOptions','FyvQT','wWdmT','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','startsWith','IezAt','debug','true','join','UDfuU','unlinkSync','qgraD','BROWSERSTACK_TEST_OBSERVABILITY','oybPO','--disable-browserstack-automation','parse','browserstackSetupConfig.json','OCkaQ','0|6|8|5|4|1|3|2|7','playwright','findIndex','../../helpers/test-observability/utils','automation','split','RMAHY','24XnKbNb','Uwhqj','skipSessionName','NcHJi','FDmKx','map','errorMessage','etGqE','existsSync','clearTempPWConfig','./accessibility-helper','WvQco','splice','ugzlg','BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP','lgRab','env','qXHUk','rJNDC','SbiQZ','gEDhp','readFileSync','indexOf','PLAYWRIGHT','requirePWModule','KQvxk','fEFqh','getProxyUrl','cwd','Error\x20in\x20importing\x20your\x20playwright\x20config:\x20','2013PlTKGQ','getConfigPath','logLevel','wZbfK','vQzZn','testObservability','BROWSERSTACK_SETUP_CONFIG_PATH','../../helpers/test-observability/sessionHandler','close','uDioX','coSls','../../helpers/test-observability/constants','trim','oXFEN','finalExecution','pMGlM','iLjXC','project','resolve','--config','accessibility','Playwright\x20process\x20exited\x20with\x20code\x20','BrowserStack\x20config\x20file\x20not\x20found.','HrJOe','nWIXa','nkOZz','yUhaC','HhSfY','../../helpers/logger','BROWSERSTACK_TEST_ACCESSIBILITY_YML','./reporter/reporter.js','uFksS','collectFilesForProject','RWvDe','171894GHGnsy','IALye','paths','false','304323OOhAJq','hgtMM','Error\x20in\x20generating\x20parallellised\x20config\x20for\x20playwright:\x20','iyGMs','launch','isFalse','dirname','inherit','trdaa','\x22;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20let\x20bootstrap;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20try\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bootstrap\x20=\x20require(\x22global-agent\x22).bootstrap;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}catch{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20//\x20This\x20is\x20a\x20failsafe\x20if\x20global-agent\x20present\x20inside\x20sdk\x20node_modules\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bootstrap\x20=\x20require(\x22./node_modules/browserstack-node-sdk/node_modules/global-agent\x22).bootstrap;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20};\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bootstrap();','vONkF','865270DuYouk','playwright-browserstack-sdk.config.js','Uwuhs','vmaRg','platform','WMzaR','EaXWH','stringify','length','Error\x20in\x20getting\x20funnel\x20data\x20results','test','../../helpers/helper','Error\x20in\x20running\x20user\x20global\x20setup\x20for\x20playwright','Error\x20in\x20deleting\x20playwright\x20results','BROWSERSTACK_PW_CONFIG_DIR','./globalSetup.js','getPackageType','iRdAR','null','globalSetup','homedir','Adding\x20browserstack\x20configs\x20to\x20setup\x20for\x20Observability','./reporter/pwUtils','xrRKF','../../helpers/BrowserStackSetup','serializeToYamlString','Deleting\x20','222912sjqzEW','apply','slice','@playwright/test','push','yeAVJ','YDMUj','KCdYT','--config=','../../helpers/test-observability/error-handler','isUndefined','VYrVI','xbpTv','50lTzZrI','USER_CONFIG_DETAILS_PATH','BROWSERSTACK_RERUN','npx','811684zArUIP','lDiBa','Getting\x20your\x20playwright\x20config\x20from\x20','initialize','xzgDV','Can\x27t\x20get\x20user\x20defined\x20global\x20setup\x20file','NCvqx','66333zbmCZu','filter','testMatch','\x0a\x0aconst\x20modifyPWConfig\x20=\x20require(\x27browserstack-node-sdk\x27)._modifyPlaywright;\x0a\x0amodule.exports\x20=\x20modifyPWConfig();\x0a','AKPUE','testDir','--grep','mNxdH','writeFileSync','KqCmh','exports'];a33_0x4ccb=function(){return _0x495fa6;};return a33_0x4ccb();}async function run(_0x29391e,_0x49575b){const _0x8f1d45=a33_0x5a8e48,_0x1a34b5={'FDmKx':_0x8f1d45(0x1e2),'hZuAW':_0x8f1d45(0x1eb),'KqCmh':function(_0xd99831,_0x3ad527){return _0xd99831+_0x3ad527;},'wWdmT':_0x8f1d45(0x265),'AKPUE':_0x8f1d45(0x206),'yeAVJ':function(_0x49b73f){return _0x49b73f();},'oXFEN':function(_0x4928ef,_0x3c2f11){return _0x4928ef(_0x3c2f11);},'rJNDC':'Error\x20in\x20closing\x20playwright','xrRKF':_0x8f1d45(0x202),'xzgDV':_0x8f1d45(0x250),'SMNHA':'--disable-test-observability','coSls':function(_0x2d4e31,_0x1b50fa){return _0x2d4e31>=_0x1b50fa;},'BouHq':_0x8f1d45(0x269),'pMGlM':function(_0x12356c,_0xebb4b0,_0x48138e){return _0x12356c(_0xebb4b0,_0x48138e);},'Uwhqj':function(_0x5630a4,_0x1c2830){return _0x5630a4(_0x1c2830);},'SbiQZ':_0x8f1d45(0x241),'ugzlg':_0x8f1d45(0x20a),'KCdYT':function(_0x5beb75,_0x1520e4){return _0x5beb75!=_0x1520e4;},'oKALJ':'4|3|1|0|2','yWaiS':function(_0x387790,_0x5e42f3){return _0x387790(_0x5e42f3);},'gEDhp':function(_0x5427c6,_0xb8d210){return _0x5427c6(_0xb8d210);},'rXxfI':function(_0x3b0662,_0x4bfc46){return _0x3b0662(_0x4bfc46);},'qJybE':_0x8f1d45(0x271),'QrHze':function(_0x3e8846,_0x13c252){return _0x3e8846===_0x13c252;},'uDioX':_0x8f1d45(0x1fb),'NacrD':function(_0x3f7a1d,_0x143f79){return _0x3f7a1d(_0x143f79);},'uFksS':function(_0x4688b9,_0x4aebd9,_0x44eea4){return _0x4688b9(_0x4aebd9,_0x44eea4);},'zUqgb':_0x8f1d45(0x27a),'WDaHE':function(_0x4a8542,_0x2bebbf){return _0x4a8542(_0x2bebbf);},'tmdxk':function(_0x1c51d1,_0xadc92b){return _0x1c51d1===_0xadc92b;},'vmaRg':_0x8f1d45(0x204),'mvUbF':'testDir','oybPO':_0x8f1d45(0x1c0),'RMAHY':_0x8f1d45(0x1d8),'PhNja':_0x8f1d45(0x253),'UDfuU':function(_0x135359,_0x4a9a29){return _0x135359===_0x4a9a29;},'lgRab':_0x8f1d45(0x1cf),'dPnRS':_0x8f1d45(0x25d),'WMzaR':function(_0x5412af,_0xa2bd44){return _0x5412af>_0xa2bd44;},'yUhaC':function(_0x3a5410,_0x28f0fc){return _0x3a5410+_0x28f0fc;},'iyMmg':function(_0x5dd4e6,_0x18d2bd,_0x4d09ba,_0x36bc7b){return _0x5dd4e6(_0x18d2bd,_0x4d09ba,_0x36bc7b);},'nkOZz':_0x8f1d45(0x1b6),'vQzZn':'playwright','iGAPD':_0x8f1d45(0x266),'VYrVI':_0x8f1d45(0x23e),'HrJOe':_0x8f1d45(0x1da),'WvQco':_0x8f1d45(0x258),'IALye':_0x8f1d45(0x233)};!helper[_0x8f1d45(0x256)](process[_0x8f1d45(0x21d)][_0x8f1d45(0x1ca)])&&(process[_0x8f1d45(0x21d)]['BROWSERSTACK_AUTOMATION']=!![]);process[_0x8f1d45(0x1dc)][_0x8f1d45(0x1ee)](_0x1a34b5[_0x8f1d45(0x273)])&&(process[_0x8f1d45(0x21d)][_0x8f1d45(0x1ca)]=_0x1a34b5[_0x8f1d45(0x1bb)],_0x49575b=_0x49575b['filter'](_0x52d4b5=>_0x52d4b5!==_0x8f1d45(0x202)));const _0x1cd986=_0x49575b[_0x8f1d45(0x223)](_0x1a34b5[_0x8f1d45(0x1e4)]);_0x1a34b5[_0x8f1d45(0x235)](_0x1cd986,0x0)&&(process[_0x8f1d45(0x21d)]['BROWSERSTACK_TEST_OBSERVABILITY']=_0x1a34b5['xzgDV'],_0x49575b=_0x49575b[_0x8f1d45(0x1bf)](_0x58d7fe=>_0x58d7fe!=='--disable-test-observability'));try{const _0x3f0929=path[_0x8f1d45(0x1fc)](helper[_0x8f1d45(0x270)](),_0x1a34b5['FDmKx'],_0x1a34b5[_0x8f1d45(0x1cb)]);fs[_0x8f1d45(0x215)](_0x3f0929)&&fs['unlinkSync'](_0x3f0929);}catch(_0x452e56){logger[_0x8f1d45(0x1fa)](_0x1a34b5[_0x8f1d45(0x1c7)](_0x1a34b5[_0x8f1d45(0x1df)],_0x452e56));}if(!_0x1a34b5['pMGlM'](isTestCommand,_0x29391e,_0x49575b)){_0x1a34b5[_0x8f1d45(0x20e)](spawnOriginalProcess,_0x49575b);return;}const _0x532fec=new BrowserStackSetup(_0x29391e,FRAMEWORKS['PLAYWRIGHT']);if(!_0x532fec[_0x8f1d45(0x1dd)]){logger[_0x8f1d45(0x1d0)](_0x1a34b5[_0x8f1d45(0x220)]);return;}await _0x532fec['initialize']();!helper['isUndefined'](_0x532fec[_0x8f1d45(0x1e5)])&&_0x532fec['cliConfig']['has'](_0x1a34b5[_0x8f1d45(0x21a)])&&(process[_0x8f1d45(0x21d)]['BROWSERSTACK_AUTOMATION']=_0x532fec[_0x8f1d45(0x1e5)]['get'](_0x1a34b5[_0x8f1d45(0x21a)])||!![]);_0x1a34b5[_0x8f1d45(0x1ad)](_0x532fec[_0x8f1d45(0x1dd)][_0x8f1d45(0x230)],null)&&!helper[_0x8f1d45(0x1f0)](process[_0x8f1d45(0x21d)][_0x8f1d45(0x200)])&&(process[_0x8f1d45(0x21d)][_0x8f1d45(0x200)]=process[_0x8f1d45(0x21d)]['BROWSERSTACK_TEST_OBSERVABILITY']||_0x532fec[_0x8f1d45(0x1dd)][_0x8f1d45(0x230)]);const _0x4fa248=!helper[_0x8f1d45(0x256)](process[_0x8f1d45(0x21d)][_0x8f1d45(0x200)]);let _0x544676=![];_0x532fec[_0x8f1d45(0x1dd)][_0x8f1d45(0x23f)]&&(_0x544676=!![],process[_0x8f1d45(0x21d)][_0x8f1d45(0x248)]=_0x532fec[_0x8f1d45(0x1dd)]['accessibility']);_0x532fec[_0x8f1d45(0x1dd)]['accessibilityOptions']&&(process[_0x8f1d45(0x21d)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON[_0x8f1d45(0x263)](_0x532fec[_0x8f1d45(0x1dd)][_0x8f1d45(0x1f4)]));const _0x578064=_0x49575b[_0x8f1d45(0x1d7)](),_0x1c86e5=await _0x1a34b5[_0x8f1d45(0x23a)](getUserPlaywrightConfig,_0x29391e,_0x49575b);if(helper['isUndefined'](_0x1c86e5)){_0x1a34b5[_0x8f1d45(0x238)](spawnOriginalProcess,_0x578064);return;}const _0x1ffbc7={..._0x1c86e5[_0x8f1d45(0x1dd)]},_0x23561b=_0x1ffbc7,_0x4676a0=_0x1c86e5[_0x8f1d45(0x1d2)]?path['dirname'](_0x1c86e5[_0x8f1d45(0x1d2)]):process['cwd']();process['env'][_0x8f1d45(0x26a)]=_0x4676a0;if(!_0x1a34b5[_0x8f1d45(0x23a)](setGlobalSetup,_0x23561b,_0x4676a0)){_0x1a34b5[_0x8f1d45(0x238)](spawnOriginalProcess,_0x578064);return;}const _0x1c4bfc=await SessionHandler[_0x8f1d45(0x255)](_0x532fec['config'],{'frameworkName':FRAMEWORKS[_0x8f1d45(0x224)],'frameworkVersion':_0x1a34b5[_0x8f1d45(0x238)](getFrameworkVersion,FRAMEWORKS[_0x8f1d45(0x224)])});if(_0x4fa248){const _0x5e4cc2=_0x1a34b5['oKALJ'][_0x8f1d45(0x20b)]('|');let _0x158498=0x0;while(!![]){switch(_0x5e4cc2[_0x158498++]){case'0':_0x1a34b5[_0x8f1d45(0x1cc)](handleO11yRerun,_0x49575b);continue;case'1':_0x1a34b5[_0x8f1d45(0x221)](addReporter,_0x23561b);continue;case'2':await _0x1a34b5['rXxfI'](launchO11ySession,_0x1c4bfc);continue;case'3':_0x1a34b5[_0x8f1d45(0x23a)](initO11yCrashReporter,_0x23561b,_0x532fec[_0x8f1d45(0x1dd)]);continue;case'4':logger[_0x8f1d45(0x1d9)](_0x1a34b5[_0x8f1d45(0x1e6)]);continue;}break;}}let _0x5a9743=_0x1a34b5[_0x8f1d45(0x1d3)](process[_0x8f1d45(0x21d)][_0x8f1d45(0x248)],_0x1a34b5[_0x8f1d45(0x234)]);_0x5a9743=_0x5a9743||_0x1a34b5['NacrD'](checkAccessibilityPlatformConfig,_0x532fec[_0x8f1d45(0x1dd)]),process[_0x8f1d45(0x21d)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x5a9743;if(_0x5a9743){const [_0x5d95d4,_0x327300]=await _0x1a34b5[_0x8f1d45(0x24a)](createAccessibilityTestRun,_0x532fec['config'],_0x1a34b5[_0x8f1d45(0x1cd)]);logger[_0x8f1d45(0x1fa)](_0x8f1d45(0x1d6)+_0x327300),process[_0x8f1d45(0x21d)]['BS_A11Y_JWT']=_0x5d95d4,process[_0x8f1d45(0x21d)]['BS_A11Y_TEST_RUN_ID']=_0x327300,_0x1a34b5['WDaHE'](setAccessibilityCapabilities,_0x532fec[_0x8f1d45(0x1dd)]);}(helper['isUndefined'](_0x532fec['config']['platforms'])||_0x1a34b5['tmdxk'](_0x532fec['config']['platforms'][_0x8f1d45(0x264)],0x0))&&(process[_0x8f1d45(0x21d)]['BROWSERSTACK_AUTOMATION']=![]);const _0x3cf8ee=path[_0x8f1d45(0x1fc)](_0x1c86e5['path']?path[_0x8f1d45(0x257)](_0x1c86e5[_0x8f1d45(0x1d2)]):process[_0x8f1d45(0x229)](),_0x1a34b5[_0x8f1d45(0x25f)]);fs['writeFileSync'](_0x3cf8ee,helper[_0x8f1d45(0x275)](_0x532fec[_0x8f1d45(0x1dd)])),process['env'][_0x8f1d45(0x231)]=_0x3cf8ee,helper[_0x8f1d45(0x216)]();if(helper[_0x8f1d45(0x1f0)](process[_0x8f1d45(0x21d)]['BROWSERSTACK_AUTOMATION'])){let _0x5d4ed8=[];try{const _0x183849=helper[_0x8f1d45(0x225)][_0x8f1d45(0x278)](null,_0x1a34b5[_0x8f1d45(0x27c)](getProjectUtilsPath)),_0x4a26d9={};_0x4a26d9['respectGitIgnore']=!![],_0x4a26d9[_0x8f1d45(0x1c3)]='',_0x4a26d9[_0x8f1d45(0x1c0)]='',_0x4a26d9[_0x8f1d45(0x1d8)]='';const _0x2d3130={};_0x2d3130['respectGitIgnore']=!![];const _0x559ba8={};_0x559ba8['project']=_0x4a26d9,_0x559ba8[_0x8f1d45(0x1f2)]=_0x2d3130;let _0x6aabbc=_0x559ba8;_0x23561b[_0x1a34b5[_0x8f1d45(0x1ef)]]&&(_0x6aabbc[_0x8f1d45(0x23c)][_0x1a34b5[_0x8f1d45(0x1ef)]]=_0x23561b[_0x1a34b5[_0x8f1d45(0x1ef)]]),_0x23561b[_0x1a34b5[_0x8f1d45(0x201)]]&&(_0x6aabbc[_0x8f1d45(0x23c)][_0x1a34b5[_0x8f1d45(0x201)]]=_0x23561b[_0x1a34b5[_0x8f1d45(0x201)]]),_0x23561b[_0x1a34b5['RMAHY']]&&(_0x6aabbc[_0x8f1d45(0x23c)][_0x1a34b5[_0x8f1d45(0x20c)]]=_0x23561b[_0x1a34b5['RMAHY']]),_0x6aabbc=Object['assign'](_0x6aabbc,_0x6aabbc[_0x8f1d45(0x23c)]),_0x5d4ed8=await _0x183849[_0x8f1d45(0x24b)](_0x6aabbc);}catch(_0x374ede){logger['debug'](_0x1a34b5[_0x8f1d45(0x1c7)](_0x1a34b5[_0x8f1d45(0x1c9)],_0x1a34b5[_0x8f1d45(0x1cc)](format,_0x374ede)));}}let _0x388445='';_0x1a34b5[_0x8f1d45(0x1fd)](helper[_0x8f1d45(0x26c)](),constants['PACKAGE_TYPE']['MODULE'])?_0x388445=_0x1a34b5[_0x8f1d45(0x21c)]:_0x388445=_0x1a34b5[_0x8f1d45(0x1e7)];const _0x58103a=path[_0x8f1d45(0x1fc)](_0x1c86e5[_0x8f1d45(0x1d2)]?path[_0x8f1d45(0x257)](_0x1c86e5[_0x8f1d45(0x1d2)]):process[_0x8f1d45(0x229)](),_0x388445);let _0x1a00ed=_0x1c86e5[_0x8f1d45(0x1d2)]?_0x1c86e5['path']:'';_0x1a00ed=_0x1a34b5[_0x8f1d45(0x261)](_0x1a00ed[_0x8f1d45(0x264)],0x0)?path[_0x8f1d45(0x23d)](_0x1a00ed):'',process[_0x8f1d45(0x21d)][_0x8f1d45(0x1b4)]=_0x1a00ed;let _0x485982=_0x8f1d45(0x1c1);const _0x37051d=helper[_0x8f1d45(0x228)](_0x532fec[_0x8f1d45(0x1dd)]);_0x37051d&&(_0x485982=_0x1a34b5[_0x8f1d45(0x245)](_0x8f1d45(0x1f1)+_0x37051d+_0x8f1d45(0x25a),_0x485982));helper[_0x8f1d45(0x1d1)]({},_0x49575b),fs[_0x8f1d45(0x1c6)](_0x58103a,_0x485982),helper['markSDKSetupComplete']();const _0x27334c=_0x1a34b5[_0x8f1d45(0x1e8)](spawn,_0x1a34b5[_0x8f1d45(0x244)],[_0x1a34b5[_0x8f1d45(0x22f)],_0x1a34b5[_0x8f1d45(0x1d4)],_0x1a34b5[_0x8f1d45(0x1b1)],_0x58103a,..._0x49575b[_0x8f1d45(0x279)](0x2)],{'shell':_0x1a34b5['UDfuU'](process[_0x8f1d45(0x260)],_0x1a34b5[_0x8f1d45(0x242)]),'stdio':_0x1a34b5[_0x8f1d45(0x218)],'cwd':process['cwd'](),'env':Object['assign']({},process[_0x8f1d45(0x21d)],{'BROWSERSTACK_CONFIG_FILE_PATH':helper[_0x8f1d45(0x22c)](_0x29391e),'BROWSERSTACK_SKIP_SESSION_STATUS':_0x532fec[_0x8f1d45(0x1dd)][_0x8f1d45(0x1e3)]['skipSessionStatus'],'BROWSERSTACK_SKIP_SESSION_NAME':_0x532fec['config'][_0x8f1d45(0x1e3)][_0x8f1d45(0x20f)],'BROWSERSTACK_LOG_LEVEL':_0x532fec[_0x8f1d45(0x1dd)][_0x8f1d45(0x22d)]})}),_0x4270b8=()=>{const _0x253715=_0x8f1d45;try{const _0x3f7499=path['join'](helper[_0x253715(0x270)](),_0x1a34b5[_0x253715(0x211)],_0x1a34b5[_0x253715(0x1cb)]);if(fs[_0x253715(0x215)](_0x3f7499)){let _0x316de1=fs[_0x253715(0x222)](_0x3f7499);_0x316de1=JSON[_0x253715(0x203)](_0x316de1),_0x532fec[_0x253715(0x213)]=_0x316de1,fs[_0x253715(0x1fe)](_0x3f7499);}}catch(_0x2f1168){logger[_0x253715(0x1fa)](_0x1a34b5[_0x253715(0x1c7)](_0x1a34b5[_0x253715(0x1f6)],_0x2f1168));}};_0x27334c['on'](_0x1a34b5[_0x8f1d45(0x24e)],async _0x36c54f=>{const _0x345d7d=_0x8f1d45;try{const _0x15bbb4=_0x1a34b5[_0x345d7d(0x1c2)][_0x345d7d(0x20b)]('|');let _0x28d68e=0x0;while(!![]){switch(_0x15bbb4[_0x28d68e++]){case'0':_0x1a34b5[_0x345d7d(0x27c)](_0x4270b8);continue;case'1':logger[_0x345d7d(0x1d9)]('Deleting\x20'+_0x58103a);continue;case'2':logger[_0x345d7d(0x1fa)](_0x345d7d(0x276)+_0x3cf8ee);continue;case'3':fs['unlinkSync'](_0x58103a);continue;case'4':logger[_0x345d7d(0x1fa)](_0x345d7d(0x240)+_0x36c54f);continue;case'5':process['exitCode']=_0x36c54f;continue;case'6':await helper[_0x345d7d(0x239)](_0x532fec);continue;case'7':fs[_0x345d7d(0x1fe)](_0x3cf8ee);continue;case'8':await _0x1a34b5['oXFEN'](stopAccessibilityTestRun,_0x532fec[_0x345d7d(0x1dd)]);continue;}break;}}catch(_0xe089fd){logger[_0x345d7d(0x1fa)](_0x1a34b5[_0x345d7d(0x1c7)](_0x1a34b5[_0x345d7d(0x21f)],_0xe089fd));}});}module[a33_0x5a8e48(0x1c8)]=run;
|
|
2
|
+
'use strict';const a33_0x49954d=a33_0xf1c6;function a33_0x13f6(){const _0x2372c7=['XvZSW','cliConfig','BROWSERSTACK_PW_CONFIG_DIR','HYKic','concat','startsWith','isTrue','KMgaV','Error\x20in\x20getting\x20funnel\x20data\x20results','reporter','exitCode','BROWSERSTACK_AUTOMATION','PzJYK','SUcha','Can\x27t\x20get\x20user\x20defined\x20global\x20setup\x20file','2nwKzhi','Error\x20in\x20importing\x20your\x20playwright\x20config:\x20','skipSessionName','testContextOptions','amWFV','UYfJe','GqgKd','respectGitIgnore','Tixiq','GwCGk','--grep','BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run\x20ID:\x20','skipSessionStatus','cwd','1240058YgvgXL','6777430UQDabV','eGFDn','../../helpers/BrowserStackSetup','kiIIu','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','homedir','Error\x20in\x20closing\x20playwright','slice','filterBrowserstackConfig','RGbqW','fsibL','2|0|4|1|3','npx','oKTzc','launch','./reporter/reporter.js','Deleting\x20','--config=','USER_CONFIG_DETAILS_PATH','6yyYDkx','collectFilesForProject','exports','BhMTV','TkUjZ','xKjYn','debug','clearTempPWConfig','10924501gXeKMv','argv','BROWSERSTACK_SETUP_CONFIG_PATH','hYarr','--disable-browserstack-automation','PLAYWRIGHT','errorMessage','bkPwU','jNVzR','testMatch','accessibility','../../helpers/helper','./globalSetup.js','BS_A11Y_TEST_RUN_ID','OVciw','testIgnore','FWHTO','uOTms','HTcmg','requirePWModule','PZwff','stringify','config','project','util','path','playwright-browserstack-sdk.config.cjs','Tarrq','lVQjU','test','isFalse','default','FfzaT','playwright','bWjNE','split','MODULE','10818999bqPLVa','xZkTv','map','LLPSV','../../helpers/accessibility-automation/helper','apply','unlinkSync','winstonLogger','AfOts','PACKAGE_TYPE','testObservability','playwright-browserstack-sdk.config.js','QgqfV','getProxyUrl','Fmbgw','dTtAd','resolve','browserstackSetupConfig.json','koXYS','finalExecution','join','POGhG','push','isUndefined','OIBby','wVBzF','nxfTP','bajAm','kUEgZ','assign','dirname','cWRFK','xgUDF','initialize','null','DfGQH','lAYva','process.env.GLOBAL_AGENT_HTTP_PROXY=\x22','env','MvcZQ','indexOf','logLevel','automation','Getting\x20your\x20playwright\x20config\x20from\x20','findIndex','trim','Playwright\x20process\x20exited\x20with\x20code\x20','win32','PAETk','accessibilityOptions','length','Adding\x20browserstack\x20configs\x20to\x20setup\x20for\x20Observability','writeFileSync','getConfigPath','existsSync','rpMrR','mqufk','10mjWlya','BDUgA','BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP','filter','false','EATql','6|1|0|8|3|7|5|4|2','../../helpers/test-observability/sessionHandler','../../helpers/logger','testDir','PITHD','--config','platforms','9360680nNystV','_internal','LNSSy','BROWSERSTACK_TEST_ACCESSIBILITY_YML','error','tgOAS','.browserstack','mAiNA','AYHGt','inherit','uSeGX','BROWSERSTACK_TEST_OBSERVABILITY','MYUVB','zKzAc','187564jYATyo','etDRi','../utils/constants','JowbW','bxQQT','hCoxy','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','GqCNQ','info','get','./accessibility-helper','../../helpers/test-observability/error-handler','NVKFk','globalSetup','BS_A11Y_JWT','has','gYhDn','1443930dGwdgU','readFileSync','object','parse','DrXLv','platform','sRjym','../../helpers/test-observability/utils','ERrBX','markSDKSetupComplete','serializeToYamlString','FfyiH'];a33_0x13f6=function(){return _0x2372c7;};return a33_0x13f6();}(function(_0x2e38bf,_0x5ba88b){const _0x1427f9=a33_0xf1c6,_0x3378a5=_0x2e38bf();while(!![]){try{const _0x1932be=parseInt(_0x1427f9(0x215))/0x1*(parseInt(_0x1427f9(0x223))/0x2)+-parseInt(_0x1427f9(0x237))/0x3*(-parseInt(_0x1427f9(0x1e9))/0x4)+parseInt(_0x1427f9(0x29d))/0x5*(parseInt(_0x1427f9(0x1fa))/0x6)+-parseInt(_0x1427f9(0x23f))/0x7+-parseInt(_0x1427f9(0x2aa))/0x8+parseInt(_0x1427f9(0x264))/0x9+parseInt(_0x1427f9(0x224))/0xa;if(_0x1932be===_0x5ba88b)break;else _0x3378a5['push'](_0x3378a5['shift']());}catch(_0x353b57){_0x3378a5['push'](_0x3378a5['shift']());}}}(a33_0x13f6,0xeb6b4));const fs=require('fs'),path=require(a33_0x49954d(0x258)),os=require('os'),{spawn}=require('child_process'),{format}=require(a33_0x49954d(0x257)),logger=require(a33_0x49954d(0x2a5))[a33_0x49954d(0x26b)],{default:BrowserStackSetup}=require(a33_0x49954d(0x226)),helper=require(a33_0x49954d(0x24a)),constants=require(a33_0x49954d(0x1eb)),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),{getTransformPath,getConfigLoaderPath,getProjectUtilsPath}=require('./reporter/pwUtils'),{CrashReporter,o11yErrorHandler}=require(a33_0x49954d(0x1f4)),{getFrameworkVersion}=require(a33_0x49954d(0x201)),{createAccessibilityTestRun,stopAccessibilityTestRun,checkAccessibilityPlatformConfig}=require(a33_0x49954d(0x268)),{setAccessibilityCapabilities}=require(a33_0x49954d(0x1f3)),SessionHandler=require(a33_0x49954d(0x2a4));async function requireOrImportDefaultObject(_0x154455){const _0x487c4a=a33_0x49954d,_0x414e53={'FWHTO':function(_0x5f5a84){return _0x5f5a84();},'UYfJe':function(_0x3d4fca,_0x2717ac){return _0x3d4fca(_0x2717ac);},'tgOAS':function(_0x23d440,_0x475ffb){return _0x23d440===_0x475ffb;},'Tarrq':'object','SIErz':function(_0xb56c7c,_0x25d7b9){return _0xb56c7c in _0x25d7b9;},'hYarr':_0x487c4a(0x25e)},{requireOrImport:_0xbac617}=helper['requirePWModule'][_0x487c4a(0x269)](null,_0x414e53[_0x487c4a(0x24f)](getTransformPath));let _0x2710bc=await _0x414e53[_0x487c4a(0x21a)](_0xbac617,_0x154455);return _0x2710bc&&_0x414e53[_0x487c4a(0x2af)](typeof _0x2710bc,_0x414e53[_0x487c4a(0x25a)])&&_0x414e53['SIErz'](_0x414e53[_0x487c4a(0x242)],_0x2710bc)&&(_0x2710bc=_0x2710bc[_0x414e53['hYarr']]),_0x2710bc;}const getUserPlaywrightConfig=async(_0x514c51,_0x1358cc)=>{const _0x17ccbc=a33_0x49954d,_0x5b37ef={'PITHD':function(_0x1fb783){return _0x1fb783();},'mUeGa':function(_0x2e3846,_0xba0383){return _0x2e3846(_0xba0383);},'fLIlI':function(_0x2a0129,_0x1adf22){return _0x2a0129(_0x1adf22);},'SUcha':'resolvedConfigFile','AFwvW':function(_0x49d3d9,_0x11925d){return _0x49d3d9(_0x11925d);},'MvcZQ':_0x17ccbc(0x216),'DVKfn':_0x17ccbc(0x1ef),'yNnKV':_0x17ccbc(0x235)},_0x5d9795=!helper[_0x17ccbc(0x27b)](_0x514c51[_0x17ccbc(0x255)]),_0x4aea41=_0x5d9795?path[_0x17ccbc(0x274)](process[_0x17ccbc(0x222)](),_0x514c51['config']):process['cwd'](),{resolveConfigFile:_0x2ef8f7,resolveConfigLocation:_0x912247}=helper[_0x17ccbc(0x252)][_0x17ccbc(0x269)](null,_0x5b37ef[_0x17ccbc(0x2a7)](getConfigLoaderPath)),_0x392350=_0x2ef8f7?_0x5b37ef['mUeGa'](_0x2ef8f7,_0x4aea41):helper['nestedKeyValue'](_0x5b37ef['fLIlI'](_0x912247,_0x4aea41),[_0x5b37ef[_0x17ccbc(0x213)]]);let _0x1772d6={};if(_0x392350){logger[_0x17ccbc(0x1f1)](_0x17ccbc(0x28f)+_0x392350);try{_0x1772d6=await _0x5b37ef['AFwvW'](requireOrImportDefaultObject,_0x392350);}catch(_0x124544){return logger[_0x17ccbc(0x2ae)](_0x5b37ef[_0x17ccbc(0x28b)],_0x5b37ef['mUeGa'](format,_0x124544)),null;}}else logger[_0x17ccbc(0x1f1)](_0x5b37ef['DVKfn']);if(_0x5d9795){const _0x590d8b=_0x1358cc[_0x17ccbc(0x290)](_0x392b51=>_0x392b51===_0x17ccbc(0x2a8)||_0x392b51==='-c'||_0x392b51[_0x17ccbc(0x20b)]('--config='));_0x1358cc['splice'](_0x590d8b,_0x1358cc[_0x590d8b][_0x17ccbc(0x20b)](_0x5b37ef['yNnKV'])?0x1:0x2);}const _0x4e9bf8={};return _0x4e9bf8[_0x17ccbc(0x258)]=_0x392350,_0x4e9bf8['config']=_0x1772d6,_0x4e9bf8;},setGlobalSetup=(_0x46a11a,_0x408899)=>{const _0x576cd0=a33_0x49954d,_0x2a32ef={'mAiNA':'globalSetup','JowbW':_0x576cd0(0x214),'DfGQH':function(_0x173e60,_0x47d90e){return _0x173e60+_0x47d90e;},'GqgKd':'Error\x20in\x20running\x20user\x20global\x20setup\x20for\x20playwright','xKjYn':function(_0x44da22,_0x397f30){return _0x44da22(_0x397f30);},'FfyiH':_0x576cd0(0x24b)};if(!_0x46a11a)return![];try{if(_0x46a11a[_0x576cd0(0x1f6)]){let _0x3b2138;const _0x12ae6c=path[_0x576cd0(0x274)](_0x408899,_0x46a11a[_0x2a32ef[_0x576cd0(0x1e2)]]);if(fs[_0x576cd0(0x29a)](_0x12ae6c))_0x3b2138=_0x12ae6c;else{const _0x21daca={};_0x21daca['paths']=[_0x408899],_0x3b2138=require[_0x576cd0(0x274)](_0x46a11a[_0x2a32ef[_0x576cd0(0x1e2)]],_0x21daca);}if(!_0x3b2138)throw new Error(_0x2a32ef[_0x576cd0(0x1ec)]);process['env'][_0x576cd0(0x29f)]=_0x3b2138;}}catch(_0x172765){logger[_0x576cd0(0x2ae)](_0x2a32ef[_0x576cd0(0x287)](_0x2a32ef[_0x576cd0(0x21b)],_0x2a32ef[_0x576cd0(0x23c)](format,_0x172765)));}return _0x46a11a['globalSetup']=require['resolve'](_0x2a32ef[_0x576cd0(0x205)]),!![];},addReporter=_0x18633f=>{const _0x34c638=a33_0x49954d,_0x21697d={};_0x21697d[_0x34c638(0x1e7)]=_0x34c638(0x233),_0x21697d['dTtAd']=_0x34c638(0x20f),_0x21697d[_0x34c638(0x27d)]=function(_0x187861,_0x269904){return _0x187861===_0x269904;},_0x21697d['qtOgJ']='string',_0x21697d[_0x34c638(0x1f5)]=function(_0x41971c,_0x224042){return _0x41971c===_0x224042;},_0x21697d[_0x34c638(0x288)]=_0x34c638(0x1fc);const _0x4f3fb5=_0x21697d,_0x324272=path[_0x34c638(0x278)](__dirname,_0x4f3fb5['MYUVB']),_0x3c18db=[_0x324272];if(helper[_0x34c638(0x27b)](_0x18633f[_0x4f3fb5['dTtAd']]))_0x18633f[_0x4f3fb5[_0x34c638(0x273)]]=[_0x3c18db];else{if(_0x4f3fb5[_0x34c638(0x27d)](typeof _0x18633f[_0x4f3fb5['dTtAd']],_0x4f3fb5['qtOgJ']))_0x18633f[_0x4f3fb5[_0x34c638(0x273)]]=[[_0x18633f[_0x4f3fb5['dTtAd']]],_0x3c18db];else _0x4f3fb5[_0x34c638(0x1f5)](typeof _0x18633f[_0x4f3fb5[_0x34c638(0x273)]],_0x4f3fb5[_0x34c638(0x288)])&&_0x18633f[_0x4f3fb5['dTtAd']][_0x34c638(0x27a)](_0x3c18db);}},handleO11yRerun=_0x494ec5=>{const _0xa3778c=a33_0x49954d,_0x250aab={};_0x250aab['PzJYK']=function(_0x21d783,_0x553eef){return _0x21d783!==_0x553eef;},_0x250aab[_0xa3778c(0x284)]=_0xa3778c(0x286),_0x250aab['bEnOU']=_0xa3778c(0x21f);const _0x500c37=_0x250aab,_0x37cda9=helper['isTrue'](process['env']['BROWSERSTACK_RERUN']);if(_0x37cda9){const _0x58cdeb=process[_0xa3778c(0x28a)]['BROWSERSTACK_RERUN_TESTS'],_0x3ec400=[];if(_0x500c37[_0xa3778c(0x212)](_0x58cdeb,_0x500c37[_0xa3778c(0x284)])&&!helper['isUndefined'](_0x58cdeb)){_0x58cdeb[_0xa3778c(0x262)](',')[_0xa3778c(0x266)](_0x44cc9b=>{const _0x3a1304=_0xa3778c;_0x3ec400[_0x3a1304(0x27a)]('('+_0x44cc9b[_0x3a1304(0x291)]()+')');});const _0x355354='^'+_0x3ec400['join']('|')+'$';_0x494ec5[_0xa3778c(0x27a)](_0x500c37['bEnOU'],_0x355354);}}},spawnOriginalProcess=_0x494d16=>{const _0x4cf988=a33_0x49954d,_0x51151f={'XvZSW':function(_0x365617,_0x1d8a5c,_0xa133da,_0x551de7){return _0x365617(_0x1d8a5c,_0xa133da,_0x551de7);},'ZMlsn':_0x4cf988(0x230),'KMgaV':'playwright','wllky':function(_0x121b38,_0x12f3f9){return _0x121b38===_0x12f3f9;},'xcFtO':_0x4cf988(0x293),'LLPSV':_0x4cf988(0x1e4)};_0x51151f[_0x4cf988(0x206)](spawn,_0x51151f['ZMlsn'],[_0x51151f[_0x4cf988(0x20d)],..._0x494d16[_0x4cf988(0x22b)](0x1)],{'shell':_0x51151f['wllky'](process[_0x4cf988(0x1ff)],_0x51151f['xcFtO']),'stdio':_0x51151f[_0x4cf988(0x267)],'cwd':process['cwd']()});},isTestCommand=(_0x70e74f,_0x10d7ff)=>{const _0x3e4164=a33_0x49954d,_0x271014={};_0x271014[_0x3e4164(0x29b)]=function(_0x413375,_0x35c531){return _0x413375>_0x35c531;},_0x271014['bxQQT']=function(_0x145d1a,_0x46e628){return _0x145d1a===_0x46e628;},_0x271014[_0x3e4164(0x1e8)]='test';const _0xac3916=_0x271014;if(_0xac3916[_0x3e4164(0x29b)](_0x10d7ff[_0x3e4164(0x296)],0x1)&&_0xac3916[_0x3e4164(0x1ed)](_0x10d7ff[0x1],_0xac3916['zKzAc']))return!![];return![];},initO11yCrashReporter=(_0x186667,_0xe3f434)=>{const _0x109b1f=a33_0x49954d,_0x3b011e={'QrmBh':function(_0x39025a,_0x5437b6){return _0x39025a(_0x5437b6);}},_0x54027c={'frameworkName':FRAMEWORKS[_0x109b1f(0x244)],'frameworkVersion':_0x3b011e['QrmBh'](getFrameworkVersion,FRAMEWORKS[_0x109b1f(0x244)])};CrashReporter[_0x109b1f(0x285)](_0x54027c,_0x186667,_0xe3f434);},launchO11ySession=o11yErrorHandler(async function launchO11ySession(_0x56da9e){const _0x429759=a33_0x49954d,_0xcb3a81={};_0xcb3a81[_0x429759(0x21d)]=function(_0x22d002,_0x2df224){return _0x22d002>_0x2df224;},_0xcb3a81[_0x429759(0x280)]=function(_0x523d02,_0xc19f4c){return _0x523d02===_0xc19f4c;};const _0x10b229=_0xcb3a81;if(!_0x56da9e||_0x10b229[_0x429759(0x21d)](_0x56da9e[_0x429759(0x296)],0x1)&&_0x10b229[_0x429759(0x280)](_0x56da9e[0x0],null))return process['env']['BROWSERSTACK_TEST_OBSERVABILITY']=![],![];return!![];});function a33_0xf1c6(_0x3c4f22,_0x24ebfc){const _0x13f60e=a33_0x13f6();return a33_0xf1c6=function(_0xf1c6d8,_0x341aaa){_0xf1c6d8=_0xf1c6d8-0x1e2;let _0x5b4fc0=_0x13f60e[_0xf1c6d8];return _0x5b4fc0;},a33_0xf1c6(_0x3c4f22,_0x24ebfc);}async function run(_0x1b2d3d,_0x1ab63f){const _0x2f2740=a33_0x49954d,_0x3ad43e={'xZkTv':_0x2f2740(0x2b0),'ERrBX':'pw_result.json','etDRi':function(_0x9d0233,_0x3c4e2c){return _0x9d0233+_0x3c4e2c;},'tuCCE':_0x2f2740(0x20e),'cWRFK':_0x2f2740(0x2a3),'OIBby':function(_0x250df,_0x5b211c){return _0x250df(_0x5b211c);},'bWjNE':function(_0x3e8af9){return _0x3e8af9();},'OVciw':_0x2f2740(0x22a),'qowSS':_0x2f2740(0x243),'lVQjU':_0x2f2740(0x2a1),'uOTms':'--disable-test-observability','GwCGk':function(_0x1e82e7,_0x4763fe){return _0x1e82e7>=_0x4763fe;},'PAETk':'Error\x20in\x20deleting\x20playwright\x20results','DrXLv':function(_0xf87b5a,_0x154314,_0x33d0d0){return _0xf87b5a(_0x154314,_0x33d0d0);},'hCoxy':function(_0x1b3e2c,_0x3e142f){return _0x1b3e2c(_0x3e142f);},'Fmbgw':'BrowserStack\x20config\x20file\x20not\x20found.','PZwff':_0x2f2740(0x28e),'nxfTP':function(_0x279ca3,_0x296fb0){return _0x279ca3!=_0x296fb0;},'QgqfV':function(_0xb79294,_0x5b6d3b,_0x2601e3){return _0xb79294(_0x5b6d3b,_0x2601e3);},'mqufk':function(_0xfb00ce,_0x3f1871){return _0xfb00ce(_0x3f1871);},'uSeGX':function(_0x235371,_0x534e7f){return _0x235371(_0x534e7f);},'xnWtp':_0x2f2740(0x22f),'fFgYR':_0x2f2740(0x297),'kiIIu':function(_0xb112c1,_0x427bcb){return _0xb112c1(_0x427bcb);},'fsibL':function(_0x4a5f9f,_0x508ce8){return _0x4a5f9f(_0x508ce8);},'TkUjZ':function(_0x29e8d4,_0x25c580){return _0x29e8d4===_0x25c580;},'amWFV':'true','sRjym':function(_0x365cef,_0x35394b){return _0x365cef(_0x35394b);},'jNVzR':function(_0x55832d,_0x1cadee,_0x21e7bf){return _0x55832d(_0x1cadee,_0x21e7bf);},'oKTzc':'@playwright/test','BDUgA':function(_0x5b5c92,_0x25e869){return _0x5b5c92===_0x25e869;},'HYKic':_0x2f2740(0x275),'HTcmg':function(_0xacee60){return _0xacee60();},'AYHGt':_0x2f2740(0x2a6),'POGhG':_0x2f2740(0x248),'eGFDn':_0x2f2740(0x24e),'bajAm':'Error\x20in\x20generating\x20parallellised\x20config\x20for\x20playwright:\x20','gfsGz':function(_0x58b2a9,_0x5ee1a1){return _0x58b2a9===_0x5ee1a1;},'GqCNQ':_0x2f2740(0x259),'koXYS':_0x2f2740(0x26f),'Ybave':function(_0x1ee85d,_0xdb72ce){return _0x1ee85d>_0xdb72ce;},'pLEzD':function(_0xcece2c,_0x39684b){return _0xcece2c+_0x39684b;},'LNSSy':function(_0x3af794,_0x4a6796,_0x1f78b9,_0x31c81){return _0x3af794(_0x4a6796,_0x1f78b9,_0x31c81);},'gYhDn':_0x2f2740(0x230),'EATql':_0x2f2740(0x260),'fMkTP':_0x2f2740(0x25c),'RGbqW':'--config','BhMTV':function(_0x107e0b,_0x85f985){return _0x107e0b===_0x85f985;},'bkPwU':_0x2f2740(0x293),'AfOts':_0x2f2740(0x1e4),'FfzaT':'close'};!helper[_0x2f2740(0x25d)](process[_0x2f2740(0x28a)][_0x2f2740(0x211)])&&(process[_0x2f2740(0x28a)][_0x2f2740(0x211)]=!![]);process[_0x2f2740(0x240)]['includes'](_0x3ad43e['qowSS'])&&(process['env'][_0x2f2740(0x211)]=_0x3ad43e[_0x2f2740(0x25b)],_0x1ab63f=_0x1ab63f[_0x2f2740(0x2a0)](_0x91a645=>_0x91a645!==_0x2f2740(0x243)));const _0x518a7b=_0x1ab63f[_0x2f2740(0x28c)](_0x3ad43e[_0x2f2740(0x250)]);_0x3ad43e[_0x2f2740(0x21e)](_0x518a7b,0x0)&&(process[_0x2f2740(0x28a)][_0x2f2740(0x1e6)]=_0x3ad43e['lVQjU'],_0x1ab63f=_0x1ab63f['filter'](_0x110e6e=>_0x110e6e!=='--disable-test-observability'));try{const _0x320265=path[_0x2f2740(0x278)](helper[_0x2f2740(0x229)](),_0x3ad43e[_0x2f2740(0x265)],_0x3ad43e[_0x2f2740(0x202)]);fs['existsSync'](_0x320265)&&fs[_0x2f2740(0x26a)](_0x320265);}catch(_0x72b900){logger[_0x2f2740(0x23d)](_0x3ad43e[_0x2f2740(0x1ea)](_0x3ad43e[_0x2f2740(0x294)],_0x72b900));}if(!_0x3ad43e[_0x2f2740(0x1fe)](isTestCommand,_0x1b2d3d,_0x1ab63f)){_0x3ad43e[_0x2f2740(0x1ee)](spawnOriginalProcess,_0x1ab63f);return;}const _0x125176=new BrowserStackSetup(_0x1b2d3d,FRAMEWORKS['PLAYWRIGHT']);if(!_0x125176[_0x2f2740(0x255)]){logger[_0x2f2740(0x2ae)](_0x3ad43e[_0x2f2740(0x272)]);return;}await _0x125176['initialize']();!helper[_0x2f2740(0x27b)](_0x125176['cliConfig'])&&_0x125176[_0x2f2740(0x207)][_0x2f2740(0x1f8)](_0x3ad43e[_0x2f2740(0x253)])&&(process[_0x2f2740(0x28a)]['BROWSERSTACK_AUTOMATION']=_0x125176['cliConfig'][_0x2f2740(0x1f2)](_0x3ad43e[_0x2f2740(0x253)])||!![]);_0x3ad43e[_0x2f2740(0x27e)](_0x125176['config'][_0x2f2740(0x26e)],null)&&!helper[_0x2f2740(0x20c)](process['env'][_0x2f2740(0x1e6)])&&(process['env']['BROWSERSTACK_TEST_OBSERVABILITY']=process[_0x2f2740(0x28a)][_0x2f2740(0x1e6)]||_0x125176[_0x2f2740(0x255)][_0x2f2740(0x26e)]);const _0x5444e2=!helper[_0x2f2740(0x25d)](process[_0x2f2740(0x28a)][_0x2f2740(0x1e6)]);let _0x40e6e8=![];_0x125176[_0x2f2740(0x255)][_0x2f2740(0x249)]&&(_0x40e6e8=!![],process[_0x2f2740(0x28a)][_0x2f2740(0x2ad)]=_0x125176['config'][_0x2f2740(0x249)]);_0x125176[_0x2f2740(0x255)][_0x2f2740(0x295)]&&(process[_0x2f2740(0x28a)][_0x2f2740(0x228)]=JSON[_0x2f2740(0x254)](_0x125176[_0x2f2740(0x255)][_0x2f2740(0x295)]));const _0x37beab=_0x1ab63f[_0x2f2740(0x20a)](),_0x4927b5=await _0x3ad43e[_0x2f2740(0x270)](getUserPlaywrightConfig,_0x1b2d3d,_0x1ab63f);if(helper['isUndefined'](_0x4927b5)){_0x3ad43e['mqufk'](spawnOriginalProcess,_0x37beab);return;}const _0x6b3d4e={..._0x4927b5[_0x2f2740(0x255)]},_0x545635=_0x6b3d4e,_0x30f725=_0x4927b5[_0x2f2740(0x258)]?path[_0x2f2740(0x282)](_0x4927b5[_0x2f2740(0x258)]):process[_0x2f2740(0x222)]();process[_0x2f2740(0x28a)][_0x2f2740(0x208)]=_0x30f725;if(!_0x3ad43e['DrXLv'](setGlobalSetup,_0x545635,_0x30f725)){_0x3ad43e[_0x2f2740(0x1ee)](spawnOriginalProcess,_0x37beab);return;}const _0x5e001b=await SessionHandler[_0x2f2740(0x232)](_0x125176['config'],{'frameworkName':FRAMEWORKS[_0x2f2740(0x244)],'frameworkVersion':_0x3ad43e['uSeGX'](getFrameworkVersion,FRAMEWORKS[_0x2f2740(0x244)])});if(_0x5444e2){const _0x1ced69=_0x3ad43e['xnWtp'][_0x2f2740(0x262)]('|');let _0x22b7a9=0x0;while(!![]){switch(_0x1ced69[_0x22b7a9++]){case'0':_0x3ad43e[_0x2f2740(0x270)](initO11yCrashReporter,_0x545635,_0x125176[_0x2f2740(0x255)]);continue;case'1':_0x3ad43e[_0x2f2740(0x29c)](handleO11yRerun,_0x1ab63f);continue;case'2':logger[_0x2f2740(0x1f1)](_0x3ad43e['fFgYR']);continue;case'3':await _0x3ad43e[_0x2f2740(0x227)](launchO11ySession,_0x5e001b);continue;case'4':_0x3ad43e[_0x2f2740(0x22e)](addReporter,_0x545635);continue;}break;}}let _0x441e87=_0x3ad43e[_0x2f2740(0x23b)](process[_0x2f2740(0x28a)][_0x2f2740(0x2ad)],_0x3ad43e[_0x2f2740(0x219)]);_0x441e87=_0x441e87||_0x3ad43e[_0x2f2740(0x200)](checkAccessibilityPlatformConfig,_0x125176['config']),process[_0x2f2740(0x28a)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x441e87;if(_0x441e87){const [_0x40de11,_0x3f9a46]=await _0x3ad43e[_0x2f2740(0x247)](createAccessibilityTestRun,_0x125176['config'],_0x3ad43e[_0x2f2740(0x231)]);logger[_0x2f2740(0x23d)](_0x2f2740(0x220)+_0x3f9a46),process[_0x2f2740(0x28a)][_0x2f2740(0x1f7)]=_0x40de11,process[_0x2f2740(0x28a)][_0x2f2740(0x24c)]=_0x3f9a46,_0x3ad43e['uSeGX'](setAccessibilityCapabilities,_0x125176['config']);}(helper[_0x2f2740(0x27b)](_0x125176[_0x2f2740(0x255)][_0x2f2740(0x2a9)])||_0x3ad43e[_0x2f2740(0x29e)](_0x125176[_0x2f2740(0x255)][_0x2f2740(0x2a9)][_0x2f2740(0x296)],0x0))&&(process['env'][_0x2f2740(0x211)]=![]);const _0x148db4=path[_0x2f2740(0x278)](_0x4927b5[_0x2f2740(0x258)]?path[_0x2f2740(0x282)](_0x4927b5[_0x2f2740(0x258)]):process['cwd'](),_0x3ad43e[_0x2f2740(0x209)]);fs[_0x2f2740(0x298)](_0x148db4,helper[_0x2f2740(0x204)](_0x125176['config'])),process[_0x2f2740(0x28a)][_0x2f2740(0x241)]=_0x148db4,helper[_0x2f2740(0x23e)]();if(helper['isTrue'](process[_0x2f2740(0x28a)][_0x2f2740(0x211)])){let _0xbc179b=[];try{const _0x5d6df3=helper[_0x2f2740(0x252)][_0x2f2740(0x269)](null,_0x3ad43e[_0x2f2740(0x251)](getProjectUtilsPath)),_0x300b0c={};_0x300b0c[_0x2f2740(0x21c)]=!![],_0x300b0c[_0x2f2740(0x2a6)]='',_0x300b0c[_0x2f2740(0x248)]='',_0x300b0c['testIgnore']='';const _0x1d0666={};_0x1d0666[_0x2f2740(0x21c)]=!![];const _0x40b72c={};_0x40b72c[_0x2f2740(0x256)]=_0x300b0c,_0x40b72c[_0x2f2740(0x2ab)]=_0x1d0666;let _0x6e84c0=_0x40b72c;_0x545635[_0x3ad43e[_0x2f2740(0x1e3)]]&&(_0x6e84c0[_0x2f2740(0x256)][_0x3ad43e[_0x2f2740(0x1e3)]]=_0x545635[_0x3ad43e[_0x2f2740(0x1e3)]]),_0x545635[_0x3ad43e[_0x2f2740(0x279)]]&&(_0x6e84c0['project'][_0x3ad43e['POGhG']]=_0x545635[_0x3ad43e[_0x2f2740(0x279)]]),_0x545635[_0x3ad43e[_0x2f2740(0x225)]]&&(_0x6e84c0['project'][_0x3ad43e[_0x2f2740(0x225)]]=_0x545635[_0x3ad43e[_0x2f2740(0x225)]]),_0x6e84c0=Object[_0x2f2740(0x281)](_0x6e84c0,_0x6e84c0['project']),_0xbc179b=await _0x5d6df3[_0x2f2740(0x238)](_0x6e84c0);}catch(_0x5af52a){logger['debug'](_0x3ad43e[_0x2f2740(0x1ea)](_0x3ad43e[_0x2f2740(0x27f)],_0x3ad43e[_0x2f2740(0x1e5)](format,_0x5af52a)));}}let _0xcc3323='';_0x3ad43e['gfsGz'](helper['getPackageType'](),constants[_0x2f2740(0x26d)][_0x2f2740(0x263)])?_0xcc3323=_0x3ad43e[_0x2f2740(0x1f0)]:_0xcc3323=_0x3ad43e[_0x2f2740(0x276)];const _0x22542e=path['join'](_0x4927b5[_0x2f2740(0x258)]?path[_0x2f2740(0x282)](_0x4927b5[_0x2f2740(0x258)]):process[_0x2f2740(0x222)](),_0xcc3323);let _0x4ccd51=_0x4927b5['path']?_0x4927b5[_0x2f2740(0x258)]:'';_0x4ccd51=_0x3ad43e['Ybave'](_0x4ccd51['length'],0x0)?path[_0x2f2740(0x274)](_0x4ccd51):'',process['env'][_0x2f2740(0x236)]=_0x4ccd51;let _0x290ec8='\x0a\x0aconst\x20modifyPWConfig\x20=\x20require(\x27browserstack-node-sdk\x27)._modifyPlaywright;\x0a\x0amodule.exports\x20=\x20modifyPWConfig();\x0a';const _0x4316b2=helper[_0x2f2740(0x271)](_0x125176['config']);_0x4316b2&&(_0x290ec8=_0x3ad43e['pLEzD'](_0x2f2740(0x289)+_0x4316b2+'\x22;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20let\x20bootstrap;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20try\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bootstrap\x20=\x20require(\x22global-agent\x22).bootstrap;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}catch{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20//\x20This\x20is\x20a\x20failsafe\x20if\x20global-agent\x20present\x20inside\x20sdk\x20node_modules\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bootstrap\x20=\x20require(\x22./node_modules/browserstack-node-sdk/node_modules/global-agent\x22).bootstrap;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20};\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bootstrap();',_0x290ec8));helper[_0x2f2740(0x22c)]({},_0x1ab63f),fs[_0x2f2740(0x298)](_0x22542e,_0x290ec8),helper[_0x2f2740(0x203)]();const _0x109918=_0x3ad43e[_0x2f2740(0x2ac)](spawn,_0x3ad43e[_0x2f2740(0x1f9)],[_0x3ad43e[_0x2f2740(0x2a2)],_0x3ad43e['fMkTP'],_0x3ad43e[_0x2f2740(0x22d)],_0x22542e,..._0x1ab63f['slice'](0x2)],{'shell':_0x3ad43e[_0x2f2740(0x23a)](process[_0x2f2740(0x1ff)],_0x3ad43e[_0x2f2740(0x246)]),'stdio':_0x3ad43e[_0x2f2740(0x26c)],'cwd':process[_0x2f2740(0x222)](),'env':Object[_0x2f2740(0x281)]({},process['env'],{'BROWSERSTACK_CONFIG_FILE_PATH':helper[_0x2f2740(0x299)](_0x1b2d3d),'BROWSERSTACK_SKIP_SESSION_STATUS':_0x125176[_0x2f2740(0x255)][_0x2f2740(0x218)][_0x2f2740(0x221)],'BROWSERSTACK_SKIP_SESSION_NAME':_0x125176['config'][_0x2f2740(0x218)][_0x2f2740(0x217)],'BROWSERSTACK_LOG_LEVEL':_0x125176[_0x2f2740(0x255)][_0x2f2740(0x28d)]})}),_0x1d995e=()=>{const _0x479f0c=_0x2f2740;try{const _0x1d5a0b=path['join'](helper['homedir'](),_0x3ad43e['xZkTv'],_0x3ad43e['ERrBX']);if(fs[_0x479f0c(0x29a)](_0x1d5a0b)){let _0xac7556=fs[_0x479f0c(0x1fb)](_0x1d5a0b);_0xac7556=JSON[_0x479f0c(0x1fd)](_0xac7556),_0x125176[_0x479f0c(0x245)]=_0xac7556,fs[_0x479f0c(0x26a)](_0x1d5a0b);}}catch(_0x47eabf){logger['debug'](_0x3ad43e['etDRi'](_0x3ad43e['tuCCE'],_0x47eabf));}};_0x109918['on'](_0x3ad43e[_0x2f2740(0x25f)],async _0x1c6110=>{const _0x3f60c3=_0x2f2740;try{const _0xd31dd1=_0x3ad43e[_0x3f60c3(0x283)][_0x3f60c3(0x262)]('|');let _0x5857e5=0x0;while(!![]){switch(_0xd31dd1[_0x5857e5++]){case'0':await _0x3ad43e[_0x3f60c3(0x27c)](stopAccessibilityTestRun,_0x125176[_0x3f60c3(0x255)]);continue;case'1':await helper[_0x3f60c3(0x277)](_0x125176);continue;case'2':fs[_0x3f60c3(0x26a)](_0x148db4);continue;case'3':logger[_0x3f60c3(0x23d)](_0x3f60c3(0x292)+_0x1c6110);continue;case'4':logger[_0x3f60c3(0x23d)](_0x3f60c3(0x234)+_0x148db4);continue;case'5':fs[_0x3f60c3(0x26a)](_0x22542e);continue;case'6':_0x3ad43e[_0x3f60c3(0x261)](_0x1d995e);continue;case'7':logger[_0x3f60c3(0x1f1)](_0x3f60c3(0x234)+_0x22542e);continue;case'8':process[_0x3f60c3(0x210)]=_0x1c6110;continue;}break;}}catch(_0x52a980){logger['debug'](_0x3ad43e[_0x3f60c3(0x1ea)](_0x3ad43e[_0x3f60c3(0x24d)],_0x52a980));}});}module[a33_0x49954d(0x239)]=run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a34_0x256a29=a34_0xd9b3;function a34_0x2301(){const _0x229ab8=['resolve','3646287MJhhRb','Error\x20in\x20calling\x20existing\x20global\x20setup:\x20','../../helpers/test-observability/constants','188001ncakOt','1877308FiDedt','env','Not\x20able\x20to\x20import\x20globalSetup','\x20is\x20not\x20found','rUVtQ','4939206aBqnYw','winstonLogger','HlEiq','VGoJu','7BdBDWZ','VKZvn','function','../../helpers/logger','requirePWModule','iqdBV','PLAYWRIGHT','Call\x20to\x20child\x20fork\x20with\x20args\x20','./reporter/pwUtils','BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP','8bjmIHh','includes','error','hsShr','exports','zAsUZ','wknif','4268395opuAbV','EsHSO','compareVersions','bvYzH','../../helpers/test-observability/utils','2606uvbUjg','config','toString','./mock-process.js','fork','447VaxneN','apply','20852030PvpaJh','Running\x20existing\x20global\x20setup'];a34_0x2301=function(){return _0x229ab8;};return a34_0x2301();}function a34_0xd9b3(_0x22e500,_0x18e873){const _0x23012c=a34_0x2301();return a34_0xd9b3=function(_0xd9b323,_0x3f5ddc){_0xd9b323=_0xd9b323-0x13c;let _0x129d15=_0x23012c[_0xd9b323];return _0x129d15;},a34_0xd9b3(_0x22e500,_0x18e873);}(function(_0x25f186,_0x5a491a){const _0x17e621=a34_0xd9b3,_0x49b603=_0x25f186();while(!![]){try{const _0x4ab218=-parseInt(_0x17e621(0x149))/0x1+-parseInt(_0x17e621(0x13c))/0x2*(-parseInt(_0x17e621(0x141))/0x3)+parseInt(_0x17e621(0x14a))/0x4+-parseInt(_0x17e621(0x164))/0x5+parseInt(_0x17e621(0x14f))/0x6*(-parseInt(_0x17e621(0x153))/0x7)+-parseInt(_0x17e621(0x15d))/0x8*(parseInt(_0x17e621(0x146))/0x9)+parseInt(_0x17e621(0x143))/0xa;if(_0x4ab218===_0x5a491a)break;else _0x49b603['push'](_0x49b603['shift']());}catch(_0x134fb8){_0x49b603['push'](_0x49b603['shift']());}}}(a34_0x2301,0x74dbd));const child_process=require('child_process'),{FRAMEWORKS}=require(a34_0x256a29(0x148)),{getFrameworkVersion,debug}=require(a34_0x256a29(0x168)),helper=require('../../helpers/helper'),{getLoadUtilsPath,getForkProcessPath}=require(a34_0x256a29(0x15b)),logger=require(a34_0x256a29(0x156))[a34_0x256a29(0x150)];module[a34_0x256a29(0x161)]=async function(_0x4d8aed){const _0x2a7fdc=a34_0x256a29,_0x56fe8e={'zAsUZ':function(_0x3aa3e1,_0x37a008){return _0x3aa3e1(_0x37a008);},'hsShr':function(_0xd50e17){return _0xd50e17();},'wknif':_0x2a7fdc(0x13f),'HlEiq':function(_0x2d751d,_0x1c59ea){return _0x2d751d(_0x1c59ea);},'EsHSO':_0x2a7fdc(0x144),'rUVtQ':function(_0x54441f,_0x2cae7c){return _0x54441f>=_0x2cae7c;},'bvYzH':'1.33.0','wkBSw':function(_0x3b0c5c,_0x1e0bd5,_0x1a0fc3){return _0x3b0c5c(_0x1e0bd5,_0x1a0fc3);},'VGoJu':function(_0x2a2819,_0x1e149a){return _0x2a2819!==_0x1e149a;},'CSdhu':_0x2a7fdc(0x155),'VKZvn':_0x2a7fdc(0x14c),'iqdBV':function(_0x5c7d8d,_0x43ec14){return _0x5c7d8d(_0x43ec14);}},_0x13dd56=child_process[_0x2a7fdc(0x140)];child_process[_0x2a7fdc(0x140)]=function(){const _0x45a4df=_0x2a7fdc;return _0x56fe8e[_0x45a4df(0x162)](debug,_0x45a4df(0x15a)+arguments[0x0]),arguments[0x0][_0x45a4df(0x15e)](_0x56fe8e[_0x45a4df(0x160)](getForkProcessPath))?arguments[0x0]=require[_0x45a4df(0x145)](_0x56fe8e[_0x45a4df(0x163)]):logger[_0x45a4df(0x15f)]('Path\x20'+_0x56fe8e[_0x45a4df(0x160)](getForkProcessPath)+_0x45a4df(0x14d)),_0x13dd56[_0x45a4df(0x142)](null,arguments);};if(process[_0x2a7fdc(0x14b)][_0x2a7fdc(0x15c)]){_0x56fe8e[_0x2a7fdc(0x151)](debug,_0x56fe8e[_0x2a7fdc(0x165)]);try{const {loadGlobalHook:_0x218cbf}=helper[_0x2a7fdc(0x157)][_0x2a7fdc(0x142)](null,_0x56fe8e[_0x2a7fdc(0x160)](getLoadUtilsPath)),_0x2721d8=_0x56fe8e[_0x2a7fdc(0x162)](getFrameworkVersion,FRAMEWORKS[_0x2a7fdc(0x159)]);let _0x487334=_0x4d8aed;if(_0x56fe8e[_0x2a7fdc(0x14e)](helper[_0x2a7fdc(0x166)](_0x2721d8,_0x56fe8e[_0x2a7fdc(0x167)]),0x0)){const _0x52ae8b={};_0x52ae8b[_0x2a7fdc(0x13d)]=_0x4d8aed,_0x487334=_0x52ae8b;}const _0x33dac7=await _0x56fe8e['wkBSw'](_0x218cbf,_0x487334,process[_0x2a7fdc(0x14b)][_0x2a7fdc(0x15c)]);if(_0x56fe8e[_0x2a7fdc(0x152)](typeof _0x33dac7,_0x56fe8e['CSdhu']))throw new Error(_0x56fe8e[_0x2a7fdc(0x154)]);return _0x33dac7[_0x2a7fdc(0x142)](null,arguments);}catch(_0x1a880c){_0x56fe8e[_0x2a7fdc(0x158)](debug,_0x2a7fdc(0x147)+_0x1a880c[_0x2a7fdc(0x13e)]());}}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a35_0x9b5f0a=a35_0x33ac;(function(_0x407dca,_0x2ef8f7){const _0x513a98=a35_0x33ac,_0x107b72=_0x407dca();while(!![]){try{const _0x139a8b=parseInt(_0x513a98(0x1e9))/0x1*(parseInt(_0x513a98(0x1af))/0x2)+parseInt(_0x513a98(0x1ae))/0x3+parseInt(_0x513a98(0x173))/0x4*(-parseInt(_0x513a98(0x146))/0x5)+parseInt(_0x513a98(0x1c4))/0x6+-parseInt(_0x513a98(0x1f1))/0x7*(-parseInt(_0x513a98(0x15a))/0x8)+parseInt(_0x513a98(0x181))/0x9+parseInt(_0x513a98(0x1b0))/0xa*(-parseInt(_0x513a98(0x1e1))/0xb);if(_0x139a8b===_0x2ef8f7)break;else _0x107b72['push'](_0x107b72['shift']());}catch(_0x26c15b){_0x107b72['push'](_0x107b72['shift']());}}}(a35_0x2ecf,0x72dde));const path=require('path'),url=require(a35_0x9b5f0a(0x1ac)),fs=require('fs'),util=require(a35_0x9b5f0a(0x1fc)),os=require('os'),{requirePWModule,resolveModule,playwrightSetSessionName,playwrightMarkSessionStatus,isFalse,isUndefined,getPlaywrightLibPath,nestedKeyValue,importFileFromPWCore,parseWSEndpoint}=require(a35_0x9b5f0a(0x164)),PlaywrightSessionDetails=require('./sessionDetails'),logger=require('../../helpers/logger')['winstonLogger'],helper=require('../../helpers/helper'),a35_0x5dc02c={};a35_0x5dc02c[a35_0x9b5f0a(0x1f7)]=process[a35_0x9b5f0a(0x22f)][a35_0x9b5f0a(0x234)],helper[a35_0x9b5f0a(0x1f0)](a35_0x5dc02c,new Map(),new Map());const processRunner=requirePWModule[a35_0x9b5f0a(0x1d7)](null,getPlaywrightLibPath('common/process.js')),{debug,getPlatformDetails,isTestObservabilitySession}=require(a35_0x9b5f0a(0x142)),base=requirePWModule['apply'](null,[a35_0x9b5f0a(0x18f),a35_0x9b5f0a(0x1bd)]),MyReporter=require(a35_0x9b5f0a(0x220)),requestSpy=require('../../helpers/request-spy'),RequestQueueHandler=require('../../helpers/test-observability/requestQueueHandler'),TestDetails=require(a35_0x9b5f0a(0x151)),{o11yErrorHandler}=require(a35_0x9b5f0a(0x1bf)),PerformanceTester=require(a35_0x9b5f0a(0x21c)),{shouldScanTestForAccessibility,isAccessibilityAutomationSession}=require(a35_0x9b5f0a(0x1e0)),AccessibilityHelper=require(a35_0x9b5f0a(0x1c2));PlaywrightSessionDetails[a35_0x9b5f0a(0x19b)]();function a35_0x33ac(_0x50fdda,_0x3fbf2a){const _0x2ecfe4=a35_0x2ecf();return a35_0x33ac=function(_0x33ac61,_0x52a7b6){_0x33ac61=_0x33ac61-0x12b;let _0x3e71f6=_0x2ecfe4[_0x33ac61];return _0x3e71f6;},a35_0x33ac(_0x50fdda,_0x3fbf2a);}function a35_0x2ecf(){const _0x339285=['2444OWRYQj','10VLjhQt','beforeWorkerHook','browser_version','forEach','workerInfo','sendTestLog','Qykhz','obsScreenshotMockApplied','LvwIZ','pid','uGioo','afterWorkerHook','tygTs','@playwright/test','LyXaa','../../helpers/test-observability/error-handler','bcHQU','RLAOd','./accessibility-helper','page.js','4267122fpggkP','YTzxd','then','../../helpers/accessibility-automation/scripts','jjngU','HTTP','processPageScreenshot','jtpya','shutdown','dBwIQ','KnbXd','lib','WAhdh','HPIDi','worker','os_version','EtgLa','gZAJU','hAPia','apply','rDkik','default','Wxcpc','aiSMZ','nEMAV','[BrowserTypePatch]\x20No\x20project\x20info\x20found','requestSpyCallback','likby','../../helpers/accessibility-automation/helper','12328965HoFdyx','TLXJn','connectOverCDP','EaSUU','Error\x20in\x20connecting\x20for\x20android\x20','getTestIdFromTestInfo','__workerDetails','writeFileSync','51gsppUB','nWfSz','parse','Worker\x20Hook\x20started','Failed\x20to\x20parse\x20wsendpoint\x20','mLdmB','WtAMZ','setLogLevel','14qEwgyo','keys','setupBrowserDetails','CrLcY','BROWSERSTACK_TEST_ACCESSIBILITY_YML','XdLXB','logLevel','xWJXN','mHKqJ','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','getTestRunIdFromTestInfo','util','SZcbV','stringify','LKTjU','XFOjt','.browserstack','currentTest','zcstN','Test\x20Hook\x20started','pageFixture','mbUDn','RWNZI','NLODL','kwAuT','info','podHD','wQfXQ','FCowi','getDetails','oiwQL','HGgEU','close','YpkvA','Urbjm','title','gFvoH','eyBYy','PLAYWRIGHT_HUB_URL','NXwwd','../../helpers/test-observability/constants','assign','start','../../helpers/performance-tester','BROWSERSTACK_O11Y_PERF_MEASUREMENT','JpYZq','obsBrowserTypeMockApplied','./reporter/reporter','project','BROWSERSTACK_TEST_OBSERVABILITY','orofA','use','qKUQo','ObservabilitySync:','rYZqj','getInstance','existsSync','RbHXk','Wzgqc','QtmPx','annotate','vwIpW','env','workerIndex','xbjKw','cloudProvider','CEpHz','BROWSERSTACK_LOG_LEVEL','device','qERIj','mVqSS','name','pw_result.json','homedir','connect','GeSMT','doo11ySync','product','QjRnm','ugwRA','defineProperty','testDetails','_android','file','Browser','once','DuHKe','platform','sendSessionDetails','beforeTestHook','jXVTT','browserType.js','debug','TEST_SCREENSHOT','bMwKe','performScan','string','browser_name','browser','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','Mrcid','Test\x20Hook\x20ended','platform_version','hCmwz','performance-report-worker-','../../helpers/test-observability/utils','OSgHA','sgEhS','auto','5mmxbTJ','capabilities','eRaGc','nJWke','contexts','hostname','KzWrz','BrowserType','nestedKeyValue','yszCJ','aVAlr','./reporter/test-details','sFfWq','cFfjb','wsEndpoint','obsTracingMockApplied','events.js','__platformCaps','iDCca','AFDMi','1178656SqGVNO','newContext','TPmdr','cwd','DOzih','titlePath','Wgrqz','deviceName','BcdPY','addTestUIDAndReportLog','../../helpers/helper','removeAllListeners','spy','connectOptions','now','testInfo','screenshot','test','processAccessibilityCaps','errors','base64','push','hBktm','tESjC','o11ySyncDone','319604xwBYkP','[Screenshot]\x20No\x20current\x20test\x20found','evaluate','bsSessionId','RqzIV','jdxTg','path','android.js','scope','ZVpCG','WFFmW','host','NxHXN','getAccessibilityResultsSummary','5054976IkKqkk','LEEgf','extend','client','getAccessibilityResults','toString','accessibilityPlatform','headers','true','Events','VAbxF','startMonitoring','ryoij','stopAndGenerate','@playwright/test/index.js','saveResults','yQgQW','Not\x20able\x20to\x20import\x20Page','join','prototype','Not\x20able\x20to\x20import\x20Browser','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','X-BSTACK-TESTOPS','DCsfv','FVuET','GzsDq','patch','mIRIZ','tlTwE','USpCZ','xXORr','0|5|6|2|1|3|4','launchBrowser','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case.\x20Error\x20:','RnnlI','dFycY','launch','Failed\x20to\x20await\x20promise\x20in\x20android\x20close.\x20Error\x20-\x20','scopeList','UFPfQ','.json','warn','sxxgA','url','UHguC','124119iDcIPf'];a35_0x2ecf=function(){return _0x339285;};return a35_0x2ecf();}const a35_0x2ba6cd={};a35_0x2ba6cd['workerInfo']=undefined,a35_0x2ba6cd[a35_0x9b5f0a(0x202)]={},a35_0x2ba6cd[a35_0x9b5f0a(0x172)]=![],a35_0x2ba6cd[a35_0x9b5f0a(0x202)]['id']=undefined,a35_0x2ba6cd[a35_0x9b5f0a(0x202)][a35_0x9b5f0a(0x169)]=undefined;const workerDetails=a35_0x2ba6cd;global[a35_0x9b5f0a(0x1e7)]=workerDetails;const logPatcher=require('../utils/logPatcher'),BSTestOpsPatcher=new logPatcher({}),{consoleHolder}=require(a35_0x9b5f0a(0x219)),Constants=require('../utils/constants'),scripts=require(a35_0x9b5f0a(0x1c7));console={},Object[a35_0x9b5f0a(0x1f2)](consoleHolder)[a35_0x9b5f0a(0x1b3)](_0x484c7e=>{console[_0x484c7e]=(..._0xb1c607)=>{BSTestOpsPatcher[_0x484c7e](..._0xb1c607);};});const getCBTInfo=()=>{const _0x1b2b80=a35_0x9b5f0a,_0x3eedb0=PlaywrightSessionDetails[_0x1b2b80(0x20e)](),_0x29fb97={[_0x3eedb0[_0x1b2b80(0x232)]]:{'browser':_0x3eedb0[_0x1b2b80(0x13b)],'browser_version':_0x3eedb0['browser_version'],'capabilities':_0x3eedb0[_0x1b2b80(0x147)],'platform':_0x3eedb0[_0x1b2b80(0x130)],'platform_version':_0x3eedb0['platform_version'],'product':_0x3eedb0[_0x1b2b80(0x23e)],'session_id':_0x3eedb0[_0x1b2b80(0x176)]}};return _0x29fb97;},doo11ySync=o11yErrorHandler(async function doo11ySync(_0x2e855d){const _0x5c88b4=a35_0x9b5f0a,_0x565859={};_0x565859[_0x5c88b4(0x216)]=_0x5c88b4(0x22d),_0x565859['fHKxi']=_0x5c88b4(0x135);const _0x3ecfbe=_0x565859;if(workerDetails[_0x5c88b4(0x172)])return;await _0x2e855d[_0x5c88b4(0x175)](_0x5cffae=>{},'browserstack_executor:\x20'+JSON[_0x5c88b4(0x1fe)]({'action':_0x3ecfbe[_0x5c88b4(0x216)],'arguments':{'data':_0x5c88b4(0x226)+Date[_0x5c88b4(0x168)](),'level':_0x3ecfbe['fHKxi']}})),workerDetails[_0x5c88b4(0x172)]=!![];}),mockRequests=()=>{const _0x7a6a27=a35_0x9b5f0a,_0x454778={'NxHXN':function(_0x318c7f,_0x393770){return _0x318c7f===_0x393770;},'Wzgqc':_0x7a6a27(0x197),'iCgpG':_0x7a6a27(0x189),'nWfSz':_0x7a6a27(0x1c9),'HPIDi':function(_0x4e8e43,_0x2a83a4){return _0x4e8e43(_0x2a83a4);}};requestSpy[_0x7a6a27(0x166)](_0x454778[_0x7a6a27(0x1d1)](o11yErrorHandler,async function _0x307434(_0x4de56e,_0x3ba734){const _0x38562b=_0x7a6a27;_0x3ba734&&!(_0x3ba734[_0x38562b(0x188)]&&_0x454778[_0x38562b(0x17f)](_0x3ba734[_0x38562b(0x188)][_0x454778[_0x38562b(0x22b)]],_0x454778['iCgpG']))&&(_0x3ba734[_0x38562b(0x17e)]=_0x3ba734[_0x38562b(0x14b)],delete _0x3ba734[_0x38562b(0x14b)],workerDetails[_0x38562b(0x202)]['id']&&await MyReporter['addTestUIDAndReportLog'](TestDetails[_0x38562b(0x1fb)](workerDetails['currentTest'][_0x38562b(0x169)]),{'timestamp':new Date()['toISOString'](),'level':null,'message':null,'kind':_0x454778[_0x38562b(0x1ea)],'http_response':_0x3ba734}));}));},processPageScreenshot=async function processPageScreenshot(_0x1c91a8,_0x5d2dda){const _0x5c8a16=a35_0x9b5f0a,_0xde779a={};_0xde779a[_0x5c8a16(0x1c8)]=_0x5c8a16(0x136);const _0x434862=_0xde779a;await MyReporter[_0x5c8a16(0x163)](TestDetails['getTestRunIdFromTestInfo'](_0x5d2dda),{'timestamp':new Date()['toISOString'](),'kind':_0x434862[_0x5c8a16(0x1c8)],'message':_0x1c91a8});},mockPageScreenshot=o11yErrorHandler(function mockPageScreenshot(){const _0x239d02=a35_0x9b5f0a,_0x3f003f={'dBzXn':function(_0x401e5e,_0x3dd236,_0x108ed7){return _0x401e5e(_0x3dd236,_0x108ed7);},'zcstN':_0x239d02(0x16e),'SZcbV':function(_0x8ee8e5,_0x308fa0,_0x1aca1d){return _0x8ee8e5(_0x308fa0,_0x1aca1d);},'AFDMi':function(_0x58bbd8,_0x2877d4){return _0x58bbd8(_0x2877d4);},'eRaGc':_0x239d02(0x174),'WAhdh':'lib','QtmPx':'client','rYZqj':_0x239d02(0x1c3),'USpCZ':function(_0x2d502e,_0x120cfb){return _0x2d502e(_0x120cfb);},'qERIj':_0x239d02(0x192),'FCowi':_0x239d02(0x16a)},_0x5d251a=path['join'](_0x3f003f[_0x239d02(0x1d0)],_0x3f003f[_0x239d02(0x22c)],_0x3f003f[_0x239d02(0x227)]),_0x1c9b95=_0x3f003f[_0x239d02(0x159)](importFileFromPWCore,_0x5d251a);if(!_0x1c9b95){_0x3f003f[_0x239d02(0x19e)](debug,_0x3f003f[_0x239d02(0x236)]);return;}const _0x475011=_0x1c9b95['Page'];if(!_0x475011)return;const _0x43e253=_0x475011[_0x239d02(0x194)];if(_0x43e253[_0x239d02(0x1b7)])return;const _0x443087=_0x43e253[_0x239d02(0x16a)];Object[_0x239d02(0x241)](_0x43e253,_0x3f003f[_0x239d02(0x20d)],{'get':function(){return async function _0x2abb8d(_0x306b8c){const _0x386a6b=a35_0x33ac,_0x1b594c={'HGgEU':function(_0x5f4cf5,_0x16f8bd,_0x5679e7){return _0x3f003f['dBzXn'](_0x5f4cf5,_0x16f8bd,_0x5679e7);},'iDCca':_0x3f003f[_0x386a6b(0x203)],'GzsDq':function(_0x275ab9,_0x31e593,_0x2e9464){const _0x2d3376=_0x386a6b;return _0x3f003f[_0x2d3376(0x1fd)](_0x275ab9,_0x31e593,_0x2e9464);}};if(!workerDetails[_0x386a6b(0x202)][_0x386a6b(0x169)])return _0x3f003f[_0x386a6b(0x159)](debug,_0x3f003f[_0x386a6b(0x148)]),_0x443087[_0x386a6b(0x1d7)](this,arguments);if(!_0x306b8c||!_0x306b8c['path'])return _0x443087['apply'](this,arguments)[_0x386a6b(0x1c6)](_0x174c4c=>{const _0x557e5c=_0x386a6b;return _0x1b594c[_0x557e5c(0x210)](processPageScreenshot,_0x174c4c[_0x557e5c(0x186)](_0x1b594c['iDCca']),workerDetails[_0x557e5c(0x202)][_0x557e5c(0x169)]),_0x174c4c;});const _0x1514cf=path[_0x386a6b(0x193)](process[_0x386a6b(0x15d)](),_0x306b8c[_0x386a6b(0x179)]);return _0x443087[_0x386a6b(0x1d7)](this,arguments)[_0x386a6b(0x1c6)](_0x2950df=>{const _0x34ca64=_0x386a6b;return _0x1b594c[_0x34ca64(0x19a)](processPageScreenshot,fs['readFileSync'](_0x1514cf,{'encoding':_0x1b594c[_0x34ca64(0x158)]}),workerDetails['currentTest'][_0x34ca64(0x169)]),_0x2950df;});};}}),_0x43e253[_0x239d02(0x1b7)]=!![];}),sendTestLog=o11yErrorHandler(async function sendTestLog(_0x314a1f){const _0x25ef8b=a35_0x9b5f0a,_0x4bb0d7=workerDetails['currentTest'][_0x25ef8b(0x169)];if(!_0x4bb0d7)return;await MyReporter[_0x25ef8b(0x163)](TestDetails['getTestRunIdFromTestInfo'](_0x4bb0d7),_0x314a1f);}),registerListeners=()=>{const _0x35947f=a35_0x9b5f0a;process[_0x35947f(0x165)]('bs:addLog:'+process[_0x35947f(0x1b9)]),process['on']('bs:addLog:'+process[_0x35947f(0x1b9)],sendTestLog),PerformanceTester[_0x35947f(0x18c)]();},mockAndroidClose=()=>{const _0x46fda1=a35_0x9b5f0a,_0x422837={'sFfWq':_0x46fda1(0x1cf),'DCsfv':_0x46fda1(0x184),'Gywfv':_0x46fda1(0x156),'kwAuT':function(_0x4dfc9c,_0x3fd68f){return _0x4dfc9c(_0x3fd68f);},'YsByC':_0x46fda1(0x17a),'wQfXQ':'Not\x20able\x20to\x20import\x20Android','sxxgA':_0x46fda1(0x211)},_0x358ca5=path[_0x46fda1(0x193)](_0x422837['sFfWq'],_0x422837[_0x46fda1(0x198)],_0x422837['YsByC']),_0x175256=_0x422837['kwAuT'](importFileFromPWCore,_0x358ca5);if(!_0x175256){logger[_0x46fda1(0x135)](_0x422837[_0x46fda1(0x20c)]);return;}const _0x5b5326=_0x175256['AndroidDevice'],_0x59021d=_0x5b5326[_0x46fda1(0x194)],_0x71bcc5=_0x59021d[_0x46fda1(0x211)];Object[_0x46fda1(0x241)](_0x59021d,_0x422837[_0x46fda1(0x1ab)],{'get':function(){const _0xdcc16e=_0x46fda1,_0x3b575={'RhTZM':_0x422837[_0xdcc16e(0x152)],'JIKCP':_0x422837[_0xdcc16e(0x198)],'XFOjt':_0x422837['Gywfv'],'Whcqr':function(_0x3a70ce,_0x425951){const _0x3d508f=_0xdcc16e;return _0x422837[_0x3d508f(0x209)](_0x3a70ce,_0x425951);}};return async function _0x1ba2cc(){const _0x2e8510=_0xdcc16e;return _0x71bcc5['apply'](this,arguments)[_0x2e8510(0x1c6)](async()=>{const _0x427dc2=_0x2e8510;try{const _0x579bb2=path[_0x427dc2(0x193)](_0x3b575['RhTZM'],_0x3b575['JIKCP'],_0x3b575[_0x427dc2(0x200)]),_0x367dd4=_0x3b575['Whcqr'](importFileFromPWCore,_0x579bb2);await new Promise(_0x39e04f=>this[_0x427dc2(0x12e)](_0x367dd4[_0x427dc2(0x18a)][_0x427dc2(0x12d)]['Disconnected'],_0x39e04f));}catch(_0x120347){logger[_0x427dc2(0x135)](_0x427dc2(0x1a6)+_0x120347);}});};}});},mockBrowserType=()=>{const _0x26b177=a35_0x9b5f0a,_0x59a08f={'mIRIZ':_0x26b177(0x221),'aiSMZ':_0x26b177(0x224),'EaSUU':function(_0x39f560,_0x1379df,_0x56f11a){return _0x39f560(_0x1379df,_0x56f11a);},'dFycY':_0x26b177(0x154),'KzWrz':function(_0x24dc60,_0x4b7ae3,_0x1917d2){return _0x24dc60(_0x4b7ae3,_0x1917d2);},'Qykhz':_0x26b177(0x202),'vwIpW':'testInfo','rDkik':'platformCaps','LKTjU':function(_0xfbde5e,_0x302a2c){return _0xfbde5e(_0x302a2c);},'Urbjm':function(_0x1bda5b){return _0x1bda5b();},'gZAJU':_0x26b177(0x1fa),'sgEhS':_0x26b177(0x1dd),'DOzih':function(_0x34ba4d,_0x134827){return _0x34ba4d(_0x134827);},'VAbxF':function(_0x5006bf,_0xbe06ee){return _0x5006bf===_0xbe06ee;},'oZYFq':_0x26b177(0x139),'fcYPz':function(_0x507fc4,_0x4c0c15,_0x4157ee){return _0x507fc4(_0x4c0c15,_0x4157ee);},'jdxTg':_0x26b177(0x167),'hBktm':function(_0xb10e25,_0x2223ba){return _0xb10e25(_0x2223ba);},'LEEgf':_0x26b177(0x1cf),'Wxcpc':'client','nEMAV':_0x26b177(0x134),'VlaDB':_0x26b177(0x195),'LvwIZ':_0x26b177(0x23b),'DuHKe':_0x26b177(0x1a5)},_0x5271ba=path[_0x26b177(0x193)](_0x59a08f[_0x26b177(0x182)],_0x59a08f[_0x26b177(0x1da)],_0x59a08f[_0x26b177(0x1dc)]),_0x57401c=_0x59a08f[_0x26b177(0x170)](importFileFromPWCore,_0x5271ba);if(!_0x57401c){_0x59a08f[_0x26b177(0x170)](debug,_0x59a08f['VlaDB']);return;}const _0x1d4222=_0x57401c[_0x26b177(0x14d)],_0x4c8dd9=_0x1d4222[_0x26b177(0x194)];if(_0x4c8dd9[_0x26b177(0x21f)])return;const _0x249a89=_0x4c8dd9['connect'];Object[_0x26b177(0x241)](_0x4c8dd9,_0x59a08f[_0x26b177(0x1b8)],{'get':function(){const _0x2eec3a=_0x26b177,_0x3d37e0={'yszCJ':function(_0x1dade0,_0x121cba){const _0x16ebe6=a35_0x33ac;return _0x59a08f[_0x16ebe6(0x1ff)](_0x1dade0,_0x121cba);},'omfVj':_0x59a08f[_0x2eec3a(0x144)],'ryoij':function(_0x2e2b26,_0x441725){return _0x59a08f['DOzih'](_0x2e2b26,_0x441725);},'tygTs':function(_0x4df86c,_0x547340){const _0x109588=_0x2eec3a;return _0x59a08f[_0x109588(0x18b)](_0x4df86c,_0x547340);},'mbUDn':_0x59a08f['oZYFq']};return async function _0x358eca(_0x3a4ac0,_0x211e1c){const _0x226e5f=_0x2eec3a,_0x7b3780={};_0x7b3780[_0x226e5f(0x143)]=_0x59a08f['mIRIZ'],_0x7b3780[_0x226e5f(0x171)]=_0x59a08f[_0x226e5f(0x1db)];const _0x4c7962=_0x7b3780,_0x3d127e=_0x59a08f[_0x226e5f(0x1e4)](nestedKeyValue,_0x3a4ac0,[_0x59a08f[_0x226e5f(0x1a4)]])||_0x3a4ac0,_0x221a96=_0x59a08f[_0x226e5f(0x14c)](nestedKeyValue,workerDetails,[_0x59a08f[_0x226e5f(0x1b6)],_0x59a08f['vwIpW'],_0x59a08f[_0x226e5f(0x19c)],_0x59a08f[_0x226e5f(0x1db)],_0x59a08f[_0x226e5f(0x1d8)]]);let _0x2f5f6c=null,_0x26f190=null;try{[_0x26f190,_0x2f5f6c]=_0x3d127e?_0x59a08f['LKTjU'](parseWSEndpoint,_0x3d127e):[null,null],global[_0x226e5f(0x157)]=_0x221a96;}catch(_0x56ef53){logger[_0x226e5f(0x135)](_0x226e5f(0x1ed)+_0x3d127e+'\x20'+_0x56ef53);}try{if(_0x2f5f6c&&_0x2f5f6c[_0x226e5f(0x235)]||_0x2f5f6c[_0x226e5f(0x161)])return _0x59a08f[_0x226e5f(0x213)](isAccessibilityAutomationSession)&&logger[_0x226e5f(0x1aa)](_0x59a08f['gZAJU']),base[_0x226e5f(0x12b)][_0x226e5f(0x23b)][_0x226e5f(0x1d7)](this,[_0x3d127e])['then'](_0x1c0746=>{const _0x554e37=_0x226e5f,_0x196567=workerDetails['currentTest'][_0x554e37(0x169)]||workerDetails[_0x554e37(0x1b4)];_0x1c0746[_0x554e37(0x15b)]=function(){const _0x7f619f=_0x554e37;return arguments[0x0]=Object[_0x7f619f(0x21a)](arguments[0x0],helper[_0x7f619f(0x14e)](_0x196567,[_0x4c7962[_0x7f619f(0x143)],_0x4c7962['tESjC']])||{}),_0x1c0746[_0x7f619f(0x1a1)]['apply'](this,arguments);};if(!_0x196567)return _0x3d37e0[_0x554e37(0x14f)](debug,_0x3d37e0['omfVj']),_0x1c0746;return PlaywrightSessionDetails['setupBrowserDetails'](_0x1c0746,_0x196567),_0x1c0746;});}catch(_0x16d140){logger[_0x226e5f(0x135)](_0x226e5f(0x1e5)+_0x16d140);}AccessibilityHelper[_0x226e5f(0x16c)](_0x2f5f6c,_0x26f190,workerDetails);if(global[_0x226e5f(0x187)])return await _0x4c8dd9['connectOverCDP'][_0x226e5f(0x1d7)](this,[''+Constants['PLAYWRIGHT_HUB_URL']+_0x59a08f[_0x226e5f(0x1ff)](encodeURIComponent,JSON['stringify'](_0x2f5f6c))]);return _0x249a89[_0x226e5f(0x1d7)](this,arguments)['then'](_0x5ca64f=>{const _0x4ae84a=_0x226e5f,_0x1cd88d=workerDetails[_0x4ae84a(0x202)][_0x4ae84a(0x169)]||workerDetails[_0x4ae84a(0x1b4)];if(!_0x1cd88d)return _0x3d37e0[_0x4ae84a(0x18d)](debug,_0x3d37e0['omfVj']),_0x5ca64f;let _0x1dd687=_0x3a4ac0[_0x4ae84a(0x154)];return _0x3d37e0[_0x4ae84a(0x1bc)](typeof _0x3a4ac0,_0x3d37e0[_0x4ae84a(0x206)])&&(_0x1dd687=_0x3a4ac0),PlaywrightSessionDetails[_0x4ae84a(0x1f3)](_0x5ca64f,_0x1cd88d,_0x1dd687),_0x5ca64f;});};}});const _0x37e43d=_0x4c8dd9[_0x26b177(0x1a5)];Object[_0x26b177(0x241)](_0x4c8dd9,_0x59a08f[_0x26b177(0x12f)],{'get':function(){const _0x4da52b=_0x26b177,_0x417a3d={'XdLXB':_0x59a08f[_0x4da52b(0x19c)],'ZVpCG':_0x59a08f['aiSMZ'],'oiwQL':function(_0x940f70,_0x31ed33){const _0x1cdb04=_0x4da52b;return _0x59a08f[_0x1cdb04(0x15e)](_0x940f70,_0x31ed33);},'Wgrqz':_0x59a08f[_0x4da52b(0x144)],'TPmdr':function(_0x150dc8,_0x37bf32,_0x400ede){return _0x59a08f['fcYPz'](_0x150dc8,_0x37bf32,_0x400ede);},'WFFmW':_0x59a08f[_0x4da52b(0x1b6)],'RnnlI':_0x59a08f[_0x4da52b(0x22e)],'hCmwz':_0x59a08f[_0x4da52b(0x178)],'tlTwE':_0x59a08f[_0x4da52b(0x1a4)],'WtAMZ':_0x59a08f['rDkik'],'hUyky':function(_0x461cc5,_0x4afcc0){return _0x59a08f['hBktm'](_0x461cc5,_0x4afcc0);},'hAPia':function(_0x162f74){const _0x2821f2=_0x4da52b;return _0x59a08f[_0x2821f2(0x213)](_0x162f74);},'auMsd':_0x59a08f[_0x4da52b(0x1d5)]};return async function _0x22437b(..._0x9d9c1a){const _0x1e32b3=_0x4da52b,_0x2c62dd=_0x417a3d['TPmdr'](nestedKeyValue,workerDetails,[_0x417a3d[_0x1e32b3(0x17d)],_0x417a3d[_0x1e32b3(0x1a3)],_0x417a3d[_0x1e32b3(0x1f6)],_0x417a3d['ZVpCG'],_0x417a3d[_0x1e32b3(0x140)],_0x417a3d[_0x1e32b3(0x19d)]]),_0x307e9a=_0x417a3d[_0x1e32b3(0x15c)](nestedKeyValue,workerDetails,[_0x417a3d[_0x1e32b3(0x17d)],_0x417a3d[_0x1e32b3(0x1a3)],_0x417a3d[_0x1e32b3(0x1f6)],_0x417a3d[_0x1e32b3(0x17c)],_0x417a3d[_0x1e32b3(0x1ef)]]);let _0x45d9a1=null,_0x1d3bad=null;try{[_0x1d3bad,_0x45d9a1]=_0x2c62dd?_0x417a3d['hUyky'](parseWSEndpoint,_0x2c62dd):[null,null],global[_0x1e32b3(0x157)]=_0x307e9a;}catch(_0x49badb){logger[_0x1e32b3(0x135)](_0x1e32b3(0x1ed)+_0x2c62dd+'\x20'+_0x49badb);}try{if(_0x45d9a1&&_0x45d9a1['device']||_0x45d9a1[_0x1e32b3(0x161)])return _0x417a3d[_0x1e32b3(0x1d6)](isAccessibilityAutomationSession)&&logger[_0x1e32b3(0x1aa)](_0x417a3d['auMsd']),base[_0x1e32b3(0x12b)][_0x1e32b3(0x23b)][_0x1e32b3(0x1d7)](this,[workerDetails['currentTest'][_0x1e32b3(0x169)][_0x1e32b3(0x221)][_0x1e32b3(0x224)]['connectOptions'][_0x1e32b3(0x154)]])[_0x1e32b3(0x1c6)](_0x517f70=>{const _0x147da6=_0x1e32b3,_0x579bc5={};_0x579bc5[_0x147da6(0x240)]=_0x417a3d[_0x147da6(0x1f6)],_0x579bc5['uAseT']=_0x417a3d[_0x147da6(0x17c)];const _0x41c43d=_0x579bc5,_0x192085=workerDetails[_0x147da6(0x202)]['testInfo']||workerDetails[_0x147da6(0x1b4)];_0x517f70[_0x147da6(0x15b)]=function(){const _0xc3ea7e=_0x147da6;return arguments[0x0]=Object['assign'](arguments[0x0],helper[_0xc3ea7e(0x14e)](_0x192085,[_0x41c43d[_0xc3ea7e(0x240)],_0x41c43d['uAseT']])||{}),_0x517f70[_0xc3ea7e(0x1a1)][_0xc3ea7e(0x1d7)](this,arguments);};if(!_0x192085)return _0x417a3d[_0x147da6(0x20f)](debug,_0x417a3d[_0x147da6(0x160)]),_0x517f70;return PlaywrightSessionDetails[_0x147da6(0x1f3)](_0x517f70,_0x192085),_0x517f70;});}catch(_0x1807ef){logger['debug'](_0x1e32b3(0x1e5)+_0x1807ef);}AccessibilityHelper[_0x1e32b3(0x16c)](_0x45d9a1,_0x1d3bad,workerDetails);if(global[_0x1e32b3(0x187)])return await _0x4c8dd9[_0x1e32b3(0x1e3)][_0x1e32b3(0x1d7)](this,[''+Constants[_0x1e32b3(0x217)]+_0x417a3d[_0x1e32b3(0x20f)](encodeURIComponent,JSON[_0x1e32b3(0x1fe)](_0x45d9a1))]);return _0x37e43d[_0x1e32b3(0x1d7)](this,arguments)[_0x1e32b3(0x1c6)](_0x29e5ab=>{const _0x59199a=_0x1e32b3,_0x2d9c31=workerDetails[_0x59199a(0x202)]['testInfo']||workerDetails[_0x59199a(0x1b4)];if(!_0x2d9c31)return _0x417a3d[_0x59199a(0x20f)](debug,_0x417a3d[_0x59199a(0x160)]),_0x29e5ab;return PlaywrightSessionDetails[_0x59199a(0x1f3)](_0x29e5ab,_0x2d9c31),_0x29e5ab;});};}});},beforeWorkerHook=o11yErrorHandler(function beforeWorkerHook(_0x407f5c){const _0x4c9f29=a35_0x9b5f0a,_0x1133e0={'RqzIV':_0x4c9f29(0x1a0),'GeSMT':function(_0x45fcc1){return _0x45fcc1();},'wzSBO':function(_0x356ac5){return _0x356ac5();}},_0x18b4a5=_0x1133e0[_0x4c9f29(0x177)]['split']('|');let _0x572e0e=0x0;while(!![]){switch(_0x18b4a5[_0x572e0e++]){case'0':workerDetails[_0x4c9f29(0x1b4)]=_0x407f5c;continue;case'1':_0x1133e0[_0x4c9f29(0x23c)](registerListeners);continue;case'2':if(!_0x1133e0['GeSMT'](isTestObservabilitySession))return;continue;case'3':_0x1133e0[_0x4c9f29(0x23c)](mockRequests);continue;case'4':_0x1133e0[_0x4c9f29(0x23c)](mockPageScreenshot);continue;case'5':_0x1133e0['GeSMT'](mockBrowserType);continue;case'6':try{_0x1133e0['wzSBO'](mockAndroidClose);}catch(_0x4d264a){logger[_0x4c9f29(0x135)]('Unable\x20to\x20mock\x20android\x20close\x20for\x20graceful\x20close.\x20Error\x20:\x20'+_0x4d264a);}continue;}break;}}),afterWorkerHook=o11yErrorHandler(async function afterWorkerHook(_0x4af305){const _0x1ef2f6=a35_0x9b5f0a;await RequestQueueHandler[_0x1ef2f6(0x228)]()[_0x1ef2f6(0x1cc)](),PerformanceTester['stopMonitoring']();}),beforeTestHook=o11yErrorHandler(function beforeTestHook(_0x2b18b8){const _0xe575bc=a35_0x9b5f0a;workerDetails[_0xe575bc(0x202)]={'id':TestDetails[_0xe575bc(0x1e6)](_0x2b18b8),'testInfo':_0x2b18b8};}),afterTestHook=o11yErrorHandler(async function afterTestHook(_0x1107d7){const _0x3604e2=a35_0x9b5f0a,_0x4107e5={'MmvCm':function(_0x1a52ef,_0x4b8d83,_0x8602ec){return _0x1a52ef(_0x4b8d83,_0x8602ec);},'UHguC':_0x3604e2(0x13c),'CDYFa':_0x3604e2(0x196),'xXORr':_0x3604e2(0x1a2),'yzbEs':function(_0x185487){return _0x185487();}};try{const _0x3c3088=global[_0x3604e2(0x205)];if(global[_0x3604e2(0x187)]){const _0x32ef12=workerDetails[_0x3604e2(0x202)][_0x3604e2(0x169)],_0x19b50f=_0x4107e5['MmvCm'](shouldScanTestForAccessibility,_0x32ef12['titlePath'],!![]),_0x373803=PlaywrightSessionDetails[_0x3604e2(0x20e)](),_0x288341=await AccessibilityHelper['platformValidation'](_0x373803);if(_0x288341){const _0x34bd3c={};_0x34bd3c['os_name']=_0x373803[_0x3604e2(0x130)],_0x34bd3c[_0x3604e2(0x1d3)]=_0x373803['platform_version'],_0x34bd3c[_0x3604e2(0x13a)]=_0x373803[_0x3604e2(0x13b)],_0x34bd3c[_0x3604e2(0x1b2)]=_0x373803['browser_version'];const _0x3906f5=_0x34bd3c,_0x2bb9f4={};_0x2bb9f4[_0x3604e2(0x238)]=_0x32ef12[_0x3604e2(0x214)],_0x2bb9f4['testRunId']=process[_0x3604e2(0x22f)]['BS_A11Y_TEST_RUN_ID'],_0x2bb9f4['filePath']=_0x32ef12[_0x3604e2(0x12c)],_0x2bb9f4[_0x3604e2(0x1a7)]=_0x32ef12[_0x3604e2(0x15f)];const _0x3e5670={};_0x3e5670[_0x3604e2(0x190)]=_0x19b50f,_0x3e5670[_0x3604e2(0x242)]=_0x2bb9f4,_0x3e5670[_0x3604e2(0x130)]=_0x3906f5;const _0x2cbca2=_0x3e5670;_0x19b50f&&(logger[_0x3604e2(0x20a)](_0x4107e5[_0x3604e2(0x1ad)]),logger.debug('Performing scan before saving results'),logger.debug(util.format(await AccessibilityHelper.browserStackEvaluate(_0x3c3088,scripts.performScan))),await AccessibilityHelper.browserStackEvaluate(_0x3c3088,scripts.saveTestResults,_0x2cbca2)),_0x19b50f&&logger[_0x3604e2(0x20a)](_0x4107e5['CDYFa']);}}}catch(_0xfcb87f){logger[_0x3604e2(0x135)](_0x4107e5[_0x3604e2(0x19f)],_0xfcb87f);}await MyReporter[_0x3604e2(0x131)](TestDetails[_0x3604e2(0x1fb)](_0x1107d7),_0x4107e5['yzbEs'](getCBTInfo));const _0x295be0={};_0x295be0['id']=undefined,_0x295be0[_0x3604e2(0x169)]=undefined,workerDetails['currentTest']=_0x295be0;}),mockContextTracing=o11yErrorHandler(function mockContextTracing(_0x2f725e){const _0x634b84=a35_0x9b5f0a,_0x279f70={};_0x279f70['mLdmB']=_0x634b84(0x21b);const _0x4b1c3d=_0x279f70,_0x2e008c=_0x2f725e['tracing']['constructor'][_0x634b84(0x194)];if(_0x2e008c[_0x634b84(0x155)])return;const _0x2d27dc=_0x2e008c['start'];Object[_0x634b84(0x241)](_0x2e008c,_0x4b1c3d[_0x634b84(0x1ee)],{'get':function(){return async function _0x272962(){return _0x2d27dc['apply'](this,arguments);};}}),_0x2e008c[_0x634b84(0x155)]=!![];}),storeTestResults=_0x12efff=>{const _0xfc70e3=a35_0x9b5f0a,_0x224f2={'yQgQW':_0xfc70e3(0x214),'cFfjb':function(_0x1ece14,_0x3161e3,_0x2f8da0){return _0x1ece14(_0x3161e3,_0x2f8da0);},'RbHXk':_0xfc70e3(0x201),'uGioo':_0xfc70e3(0x239)};try{if(!_0x12efff[_0xfc70e3(0x16d)])return;;const _0x810630={},_0x2ef89e=[];_0x12efff[_0xfc70e3(0x16d)][_0xfc70e3(0x1b3)](_0x3e287c=>{const _0x24e89c=_0xfc70e3;_0x2ef89e[_0x24e89c(0x16f)](_0x3e287c['stack']);});const _0xd64fe0=helper[_0xfc70e3(0x14e)](_0x12efff,[_0x224f2[_0xfc70e3(0x191)]]);_0x810630[_0xd64fe0]=_0x2ef89e[_0xfc70e3(0x193)](',\x20');const _0x17d248=workerDetails?.['currentSessionDetails'],_0x1253fb=_0x17d248?.['platform']+',\x20'+_0x17d248?.[_0xfc70e3(0x13f)]+',\x20'+_0x17d248?.[_0xfc70e3(0x13b)]+',\x20'+_0x224f2[_0xfc70e3(0x153)](parseInt,_0x17d248?.[_0xfc70e3(0x1b2)],0xa),_0x4cf3e8=path[_0xfc70e3(0x193)](helper[_0xfc70e3(0x23a)](),_0x224f2[_0xfc70e3(0x22a)],_0x224f2[_0xfc70e3(0x1ba)]);let _0x2a0b29={};fs[_0xfc70e3(0x229)](_0x4cf3e8)&&(_0x2a0b29=fs['readFileSync'](_0x4cf3e8),_0x2a0b29=JSON[_0xfc70e3(0x1eb)](_0x2a0b29));if(!!_0x2a0b29[_0x1253fb]){const _0xa57846=Object['assign']({},_0x2a0b29[_0x1253fb],_0x810630);_0x2a0b29[_0x1253fb]=_0xa57846;}else _0x2a0b29[_0x1253fb]=_0x810630;fs[_0xfc70e3(0x1e8)](_0x4cf3e8,JSON[_0xfc70e3(0x1fe)](_0x2a0b29));}catch(_0x5317e7){logger[_0xfc70e3(0x135)]('Error\x20in\x20storing\x20test\x20information,\x20Exception:\x20'+_0x5317e7);}},a35_0x5d9d60={};a35_0x5d9d60[a35_0x9b5f0a(0x145)]=!![],a35_0x5d9d60['scope']=a35_0x9b5f0a(0x16b);const a35_0x3f3611={};a35_0x3f3611[a35_0x9b5f0a(0x145)]=!![],a35_0x3f3611[a35_0x9b5f0a(0x17b)]=a35_0x9b5f0a(0x1d2);const test=base[a35_0x9b5f0a(0x16b)][a35_0x9b5f0a(0x183)]({'page':async({page:_0x599670},_0x1971c6,_0x5c5200)=>{const _0x23063b=a35_0x9b5f0a,_0x5f2ac7={'xWJXN':function(_0xd3d2e4,_0x7ec75f){return _0xd3d2e4(_0x7ec75f);},'orofA':function(_0xe1ed95,_0x23a56a){return _0xe1ed95(_0x23a56a);},'dBwIQ':function(_0x3dc1a8,_0x14d70b){return _0x3dc1a8(_0x14d70b);},'nJWke':function(_0x5c7d1f,_0x33fb09,_0x412a90){return _0x5c7d1f(_0x33fb09,_0x412a90);},'xbjKw':function(_0x495d5d,_0x16d73c){return _0x495d5d(_0x16d73c);},'CEpHz':function(_0x3e63e1,_0x31661e){return _0x3e63e1(_0x31661e);}};global['pageFixture']=_0x599670,!_0x5f2ac7[_0x23063b(0x1f8)](isFalse,process[_0x23063b(0x22f)][_0x23063b(0x222)])&&await _0x5f2ac7[_0x23063b(0x223)](doo11ySync,_0x599670),!_0x5f2ac7[_0x23063b(0x1cd)](isFalse,process[_0x23063b(0x22f)]['BROWSERSTACK_AUTOMATION'])?(await _0x5f2ac7[_0x23063b(0x149)](playwrightSetSessionName,_0x599670,_0x5c5200),!_0x5f2ac7[_0x23063b(0x1f8)](isFalse,process[_0x23063b(0x22f)][_0x23063b(0x1f5)])&&(_0x599670['getAccessibilityResults']=async()=>{const _0x40b437=_0x23063b;return await AccessibilityHelper[_0x40b437(0x185)](_0x599670);},_0x599670[_0x23063b(0x180)]=async()=>{return await AccessibilityHelper['getAccessibilityResultsSummary'](_0x599670);},_0x599670[_0x23063b(0x138)]=async()=>{const _0x116839=_0x23063b;return await AccessibilityHelper[_0x116839(0x138)](_0x599670);}),await _0x5f2ac7[_0x23063b(0x231)](_0x1971c6,_0x599670),await _0x5f2ac7['nJWke'](playwrightMarkSessionStatus,_0x599670,_0x5c5200)):await _0x5f2ac7[_0x23063b(0x233)](_0x1971c6,_0x599670);},'context':async({context:_0x3ac385,browser:_0x29edb3},_0x162cda,_0x490cc2)=>{const _0x2b7cf3=a35_0x9b5f0a,_0x2e2997={'qKUQo':function(_0x3f9154,_0x20d9b3){return _0x3f9154(_0x20d9b3);},'JpYZq':function(_0x5c16df,_0x1610dc){return _0x5c16df(_0x1610dc);},'LyXaa':function(_0x51f4f2,_0x1eb4f7){return _0x51f4f2(_0x1eb4f7);},'gFvoH':function(_0x8d0792,_0x187aaa){return _0x8d0792(_0x187aaa);}};if(global[_0x2b7cf3(0x187)]){_0x3ac385['close']();const _0x492d64=await _0x29edb3[_0x2b7cf3(0x14a)]()[0x0];!_0x2e2997[_0x2b7cf3(0x225)](isFalse,process[_0x2b7cf3(0x22f)][_0x2b7cf3(0x222)])&&_0x2e2997[_0x2b7cf3(0x21e)](mockContextTracing,_0x492d64),await _0x2e2997[_0x2b7cf3(0x1be)](_0x162cda,_0x492d64);}else!_0x2e2997[_0x2b7cf3(0x225)](isFalse,process[_0x2b7cf3(0x22f)][_0x2b7cf3(0x222)])&&_0x2e2997[_0x2b7cf3(0x215)](mockContextTracing,_0x3ac385),await _0x2e2997[_0x2b7cf3(0x21e)](_0x162cda,_0x3ac385);},'__browserstack_testHook':[async({},_0x39b260,_0x5aab81)=>{const _0x2f3005=a35_0x9b5f0a,_0xa9ded3={'QjRnm':function(_0x7c38ca,_0x131370){return _0x7c38ca(_0x131370);},'FVuET':function(_0x49b8f0,_0x219906){return _0x49b8f0(_0x219906);},'YpkvA':function(_0x59a80a,_0x2530d5){return _0x59a80a(_0x2530d5);},'YTzxd':_0x2f3005(0x204),'Mrcid':function(_0x315b6a){return _0x315b6a();},'TLXJn':function(_0x5d4692,_0x1fcf03){return _0x5d4692(_0x1fcf03);},'likby':_0x2f3005(0x13e),'UFPfQ':function(_0x822dda){return _0x822dda();},'NLODL':function(_0x3f25b0,_0x4056ad){return _0x3f25b0(_0x4056ad);}};_0xa9ded3[_0x2f3005(0x23f)](beforeTestHook,_0x5aab81),!_0xa9ded3[_0x2f3005(0x199)](isFalse,process[_0x2f3005(0x22f)]['BROWSERSTACK_TEST_OBSERVABILITY'])||!_0xa9ded3[_0x2f3005(0x199)](isFalse,process[_0x2f3005(0x22f)][_0x2f3005(0x1f5)])?(_0xa9ded3[_0x2f3005(0x212)](debug,_0xa9ded3[_0x2f3005(0x1c5)]),await _0xa9ded3[_0x2f3005(0x13d)](_0x39b260),await _0xa9ded3[_0x2f3005(0x1e2)](afterTestHook,_0x5aab81),_0xa9ded3['YpkvA'](debug,_0xa9ded3[_0x2f3005(0x1df)])):await _0xa9ded3[_0x2f3005(0x1a8)](_0x39b260),_0xa9ded3[_0x2f3005(0x208)](storeTestResults,_0x5aab81);},a35_0x5d9d60],'__browserstack_workerHook':[async({},_0x4f4d15,_0x12bacb)=>{const _0x4c9201=a35_0x9b5f0a,_0x2f931e={'aVAlr':function(_0x1489c3,_0x2e5b73){return _0x1489c3(_0x2e5b73);},'RWNZI':function(_0x3256bb,_0x33b4a3){return _0x3256bb(_0x33b4a3);},'vKgwG':'4|2|3|1|0','KnbXd':_0x4c9201(0x1b1),'bcHQU':_0x4c9201(0x1bb),'NXwwd':_0x4c9201(0x132),'BcdPY':'afterTestHook','mVqSS':_0x4c9201(0x23d),'podHD':_0x4c9201(0x1ca),'EtgLa':_0x4c9201(0x131),'jtpya':_0x4c9201(0x1f3),'CrLcY':_0x4c9201(0x1de),'jXVTT':_0x4c9201(0x1b5),'RLAOd':function(_0x5ad4d8,_0x23acba){return _0x5ad4d8(_0x23acba);},'bMwKe':function(_0xb0c321){return _0xb0c321();},'yuJua':_0x4c9201(0x1ec)};_0x2f931e[_0x4c9201(0x150)](beforeWorkerHook,_0x12bacb);if(!_0x2f931e[_0x4c9201(0x207)](isFalse,process[_0x4c9201(0x22f)][_0x4c9201(0x222)])||!_0x2f931e[_0x4c9201(0x150)](isFalse,process[_0x4c9201(0x22f)][_0x4c9201(0x1f5)])){const _0x13b9e8=_0x2f931e['vKgwG']['split']('|');let _0x48dbac=0x0;while(!![]){switch(_0x13b9e8[_0x48dbac++]){case'0':process[_0x4c9201(0x22f)][_0x4c9201(0x21d)]&&await PerformanceTester[_0x4c9201(0x18e)](_0x4c9201(0x141)+_0x12bacb[_0x4c9201(0x230)][_0x4c9201(0x186)]()+'.html',[_0x2f931e[_0x4c9201(0x1ce)],_0x2f931e[_0x4c9201(0x1c0)],_0x2f931e[_0x4c9201(0x218)],_0x2f931e[_0x4c9201(0x162)],_0x2f931e[_0x4c9201(0x237)],_0x2f931e[_0x4c9201(0x20b)],_0x2f931e[_0x4c9201(0x1d4)],_0x2f931e[_0x4c9201(0x1cb)],_0x2f931e[_0x4c9201(0x1f4)],_0x2f931e[_0x4c9201(0x133)]]);continue;case'1':await _0x2f931e[_0x4c9201(0x1c1)](afterWorkerHook,_0x12bacb);continue;case'2':process[_0x4c9201(0x22f)][_0x4c9201(0x21d)]&&PerformanceTester[_0x4c9201(0x18c)]('performance-report-worker-'+_0x12bacb[_0x4c9201(0x230)][_0x4c9201(0x186)]()+_0x4c9201(0x1a9));continue;case'3':await _0x2f931e[_0x4c9201(0x137)](_0x4f4d15);continue;case'4':_0x2f931e[_0x4c9201(0x207)](debug,_0x2f931e['yuJua']);continue;}break;}}else await _0x2f931e[_0x4c9201(0x137)](_0x4f4d15);},a35_0x3f3611],'browser':async({browser:_0x4d2228},_0x6829d0,_0x41d724)=>{const _0x12f8a3=a35_0x9b5f0a,_0x505dd6={'mHKqJ':function(_0xdb1a8c,_0x1e9a2e){return _0xdb1a8c(_0x1e9a2e);}};(!_0x505dd6['mHKqJ'](isFalse,process[_0x12f8a3(0x22f)][_0x12f8a3(0x222)])||global[_0x12f8a3(0x187)])&&PlaywrightSessionDetails[_0x12f8a3(0x1f3)](_0x4d2228,_0x41d724),await _0x505dd6[_0x12f8a3(0x1f9)](_0x6829d0,_0x4d2228);}});base[a35_0x9b5f0a(0x16b)]=test,base[a35_0x9b5f0a(0x1d9)]=test;
|
|
1
|
+
const a35_0x18a7db=a35_0x5ae9;(function(_0x30ec3f,_0x407c2f){const _0x422edb=a35_0x5ae9,_0x37ee56=_0x30ec3f();while(!![]){try{const _0x3d4c88=parseInt(_0x422edb(0x2ba))/0x1+-parseInt(_0x422edb(0x2ad))/0x2+parseInt(_0x422edb(0x1ff))/0x3+parseInt(_0x422edb(0x215))/0x4+parseInt(_0x422edb(0x24a))/0x5+-parseInt(_0x422edb(0x20c))/0x6+-parseInt(_0x422edb(0x23d))/0x7*(parseInt(_0x422edb(0x2ac))/0x8);if(_0x3d4c88===_0x407c2f)break;else _0x37ee56['push'](_0x37ee56['shift']());}catch(_0x3d1c0d){_0x37ee56['push'](_0x37ee56['shift']());}}}(a35_0x2439,0x3a165));const path=require('path'),url=require(a35_0x18a7db(0x1da)),fs=require('fs'),util=require('util'),os=require('os'),{requirePWModule,resolveModule,playwrightSetSessionName,playwrightMarkSessionStatus,isFalse,isUndefined,getPlaywrightLibPath,nestedKeyValue,importFileFromPWCore,parseWSEndpoint,promiseTimeout}=require(a35_0x18a7db(0x1f0)),PlaywrightSessionDetails=require('./sessionDetails'),logger=require(a35_0x18a7db(0x1b3))['winstonLogger'],{mockContextNewPage}=require(a35_0x18a7db(0x26c)),helper=require('../../helpers/helper'),a35_0x4e3f03={};a35_0x4e3f03[a35_0x18a7db(0x1b1)]=process[a35_0x18a7db(0x210)][a35_0x18a7db(0x25f)],helper[a35_0x18a7db(0x217)](a35_0x4e3f03,new Map(),new Map());const processRunner=requirePWModule['apply'](null,getPlaywrightLibPath(a35_0x18a7db(0x27c))),{debug,getPlatformDetails,isTestObservabilitySession}=require(a35_0x18a7db(0x234)),base=requirePWModule['apply'](null,[a35_0x18a7db(0x298),'@playwright/test']),MyReporter=require(a35_0x18a7db(0x1ce)),requestSpy=require(a35_0x18a7db(0x29f)),RequestQueueHandler=require(a35_0x18a7db(0x21f)),TestDetails=require(a35_0x18a7db(0x1eb)),{o11yErrorHandler}=require(a35_0x18a7db(0x1c2)),PerformanceTester=require(a35_0x18a7db(0x274)),{shouldScanTestForAccessibility,isAccessibilityAutomationSession}=require(a35_0x18a7db(0x1f1)),AccessibilityHelper=require(a35_0x18a7db(0x1df));PlaywrightSessionDetails[a35_0x18a7db(0x226)]();const a35_0x4d0c1c={};a35_0x4d0c1c['workerInfo']=undefined,a35_0x4d0c1c[a35_0x18a7db(0x1ee)]={},a35_0x4d0c1c[a35_0x18a7db(0x243)]=![],a35_0x4d0c1c[a35_0x18a7db(0x2c1)]=null,a35_0x4d0c1c['isPageFixture']=![],a35_0x4d0c1c[a35_0x18a7db(0x1ee)]['id']=undefined,a35_0x4d0c1c[a35_0x18a7db(0x1ee)]['testInfo']=undefined;function a35_0x2439(){const _0x364e59=['launch','writeFileSync','beforeTestHook','GgVAM','uupIH','HTTP','toString','__workerDetails','Events','BS_A11Y_TEST_RUN_ID','platformValidation','./patches','VQFVh','then','qWGHW','requestSpyCallback','BROWSERSTACK_TEST_ACCESSIBILITY_YML','aClMk','hlFwT','../../helpers/performance-tester','dypet','Error\x20in\x20marking\x20test\x20context:\x20Error\x20','processAccessibilityCaps','wDiZu','IGDSV','uqZbP','isPageFixture','common/process.js','workerInfo','SlSHq','cloudProvider','XHaTK','assign','zcTcQ','KFNIb','debug','MAFIJ','CAtgI','workerIndex','RzzRz','scope','obsScreenshotMockApplied','nHKJf','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','CiRbE','HOOZH','constructor','sendTestLog','ZMBrB','kEjdN','pBftr','NdAbH','LSfYY','Uvejj','browser_version','@playwright/test/index.js','BROWSERSTACK_TEST_OBSERVABILITY','ZbQKh','TKrtU','cglgx','readFileSync','rsoDM','../../helpers/request-spy','xOKAR','fKoiH','BROWSERSTACK_O11Y_PERF_MEASUREMENT','kqtlv','eqCbQ','path','defineProperty','OqIgE','pw_result.json','ffAiu','Failed\x20to\x20await\x20promise\x20in\x20android\x20close.\x20Error\x20-\x20','Fqfue','8HhAwxh','627988ZlZAyr','Wqajq','sendSessionDetails','funTN','OQAdU','Error\x20in\x20storing\x20test\x20information,\x20Exception:\x20','Failed\x20to\x20parse\x20wsendpoint\x20','forEach','pid','.html','GoQcs','join','setupBrowserDetails','371736gKtRMa','eBOLZ','passed','Error\x20in\x20connecting\x20for\x20android\x20','qEoKQ','MYrcX','[Screenshot]\x20No\x20current\x20test\x20found','pwPage','close','status','connectOptions','bsSessionId','capabilities','newContext','WbxQe','PLAYWRIGHT_HUB_URL','test','JoNJC','filePath','true','split','Disconnected','_android','4|0|1|3|2','warn','JNeTZ','BlmbR','screenshot','BQBVX','processPageScreenshot','MGCcd','VxGfD','info','zIdqv','Agnhf','testInfo','oLEuq','afterTestHook','Test\x20Hook\x20started','HHNpe','auto','homedir','shutdown','logLevel','ZwyUM','../../helpers/logger','5|4|2|1|0|3','device','UyKRF','mcyGR','FsHCc','platform','getTestIdFromTestInfo','ITLEc','lib','errors','VVLZy','JqRrS','ErKaL','chAMl','../../helpers/test-observability/error-handler','fKWDj','Pjcsu','rkXkC','eBwfj','start','BrowserType','getDetails','toISOString','browser','VYPuI','testStatus','./reporter/reporter','HttIe','default','platform_version','X-BSTACK-TESTOPS','gsfhL','saveResults','ibKxC','../../helpers/accessibility-automation/scripts','mTyxA','../utils/logPatcher','interrupted','url','RVVmJ','JIBHL','ghkxn','CRlua','./accessibility-helper','getInstance','tracing','DbRxM','QfjsA','project','CaeVU','VxgDR','VgsXE','VKZzd','connectOverCDP','length','./reporter/test-details','connect','mBEol','currentTest','tcoGF','../../helpers/helper','../../helpers/accessibility-automation/helper','wEKoK','fHuCr','HGXOa','title','stopMonitoring','Not\x20able\x20to\x20import\x20Page','afterWorkerHook','existsSync','stack','currentSessionDetails','cFRRx','qweVI','client','932865phLoLt','__platformCaps','puCXa','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','accessibilityPlatform','HdWdZ','miYzC','FptmD','getTestRunIdFromTestInfo','WhGDo','zZjaH','wsEndpoint','fmnsK','519390qBSLKu','stringify','EeQbz','scopeList','env','3|1|5|2|0|7|8|4|6','HmIOt','bs:addLog:','base64','1816536szupZs','dZWpU','setLogLevel','os_name','OvBUg','tIcKK','skipped','ChTHW','string','uAirM','../../helpers/test-observability/requestQueueHandler','addTestUIDAndReportLog','fOjtn','iBbtM','os_version','Selkg','bSRxk','patch','lboGl','ZFGtM','parse','bJIQI','Unable\x20to\x20mock\x20android\x20close\x20for\x20graceful\x20close.\x20Error\x20:\x20','tnGMk','titlePath','prototype','JIhAQ','RVEUr','SAnnr','.browserstack','hQZqO','../../helpers/test-observability/utils','stopAndGenerate','pzPoq','Not\x20able\x20to\x20import\x20Android','QNIqA','deviceName','Fezaf','gugnK','page.js','3696287VuvSHB','doo11ySync','RBIGn','ZpPbO','NaKSL','use','o11ySyncDone','nestedKeyValue','hostname','svVrT','llWSS','obsTracingMockApplied','beforeWorkerHook','148500VhyetC','browser_name','file','hefSH','GGxUu','wGqhK','tcCef','cgzLp','performance-report-worker-','apply','timedOut','launchBrowser','UieaO','fegOH','YSWgd','../utils/constants','fyrgw','Test\x20Hook\x20ended','bBrBP','moyjr','KKVde','BROWSERSTACK_LOG_LEVEL','testRunId'];a35_0x2439=function(){return _0x364e59;};return a35_0x2439();}const workerDetails=a35_0x4d0c1c;global[a35_0x18a7db(0x268)]=workerDetails;const logPatcher=require(a35_0x18a7db(0x1d8)),BSTestOpsPatcher=new logPatcher({}),{consoleHolder}=require('../../helpers/test-observability/constants'),Constants=require(a35_0x18a7db(0x259)),scripts=require(a35_0x18a7db(0x1d6));console={},Object['keys'](consoleHolder)[a35_0x18a7db(0x2b4)](_0x5ddf5d=>{console[_0x5ddf5d]=(..._0x239673)=>{BSTestOpsPatcher[_0x5ddf5d](..._0x239673);};});const getCBTInfo=()=>{const _0x44e4e8=a35_0x18a7db,_0x382a2e=PlaywrightSessionDetails['getDetails'](),_0x5e6195={[_0x382a2e[_0x44e4e8(0x27f)]]:{'browser':_0x382a2e[_0x44e4e8(0x1cb)],'browser_version':_0x382a2e[_0x44e4e8(0x297)],'capabilities':_0x382a2e[_0x44e4e8(0x2c6)],'platform':_0x382a2e[_0x44e4e8(0x1b9)],'platform_version':_0x382a2e[_0x44e4e8(0x1d1)],'product':_0x382a2e['product'],'session_id':_0x382a2e[_0x44e4e8(0x2c5)]}};return _0x5e6195;},mockRequests=()=>{const _0x2bfad1=a35_0x18a7db,_0x4b692e={'dZWpU':function(_0x7c82d4,_0x3d5191){return _0x7c82d4===_0x3d5191;},'XHaTK':_0x2bfad1(0x1d2),'ZpPbO':_0x2bfad1(0x2cd),'DbRxM':_0x2bfad1(0x266),'hQZqO':function(_0x433227,_0x3c4935){return _0x433227(_0x3c4935);}};requestSpy['spy'](_0x4b692e[_0x2bfad1(0x233)](o11yErrorHandler,async function _0x58879b(_0x274e50,_0x5ec9e3){const _0x470fa3=_0x2bfad1;_0x5ec9e3&&!(_0x5ec9e3['headers']&&_0x4b692e[_0x470fa3(0x216)](_0x5ec9e3['headers'][_0x4b692e[_0x470fa3(0x280)]],_0x4b692e[_0x470fa3(0x240)]))&&(_0x5ec9e3['host']=_0x5ec9e3[_0x470fa3(0x245)],delete _0x5ec9e3['hostname'],workerDetails[_0x470fa3(0x1ee)]['id']&&await MyReporter[_0x470fa3(0x220)](TestDetails[_0x470fa3(0x207)](workerDetails[_0x470fa3(0x1ee)][_0x470fa3(0x1a9)]),{'timestamp':new Date()[_0x470fa3(0x1ca)](),'level':null,'message':null,'kind':_0x4b692e[_0x470fa3(0x1e2)],'http_response':_0x5ec9e3}));}));},processPageScreenshot=async function processPageScreenshot(_0x1e5f9c,_0x4dada5){const _0x416821=a35_0x18a7db,_0x15a8d7={};_0x15a8d7['SlSHq']='TEST_SCREENSHOT';const _0x51cbae=_0x15a8d7;await MyReporter[_0x416821(0x220)](TestDetails[_0x416821(0x207)](_0x4dada5),{'timestamp':new Date()[_0x416821(0x1ca)](),'kind':_0x51cbae[_0x416821(0x27e)],'message':_0x1e5f9c});},mockPageScreenshot=o11yErrorHandler(function mockPageScreenshot(){const _0x40cb54=a35_0x18a7db,_0x1439c4={'ITLEc':function(_0x1725d6,_0x57c5c4,_0x1f5ab9){return _0x1725d6(_0x57c5c4,_0x1f5ab9);},'YSWgd':_0x40cb54(0x214),'VxGfD':function(_0x5e88f0,_0x259314,_0x45da97){return _0x5e88f0(_0x259314,_0x45da97);},'hlFwT':function(_0x470f69,_0x88d6f1){return _0x470f69(_0x88d6f1);},'JNeTZ':_0x40cb54(0x2c0),'gugnK':_0x40cb54(0x1bc),'WbxQe':'client','eBOLZ':_0x40cb54(0x23c),'CaeVU':_0x40cb54(0x1f7),'miYzC':_0x40cb54(0x1a1)},_0x4b1aac=path[_0x40cb54(0x2b8)](_0x1439c4[_0x40cb54(0x23b)],_0x1439c4[_0x40cb54(0x2c8)],_0x1439c4[_0x40cb54(0x2bb)]),_0x5bc2a6=_0x1439c4[_0x40cb54(0x273)](importFileFromPWCore,_0x4b1aac);if(!_0x5bc2a6){_0x1439c4[_0x40cb54(0x273)](debug,_0x1439c4[_0x40cb54(0x1e5)]);return;}const _0x3eb70a=_0x5bc2a6['Page'];if(!_0x3eb70a)return;const _0x54485b=_0x3eb70a[_0x40cb54(0x22e)];if(_0x54485b[_0x40cb54(0x28a)])return;const _0x3fcdb8=_0x54485b[_0x40cb54(0x1a1)];Object[_0x40cb54(0x2a6)](_0x54485b,_0x1439c4[_0x40cb54(0x205)],{'get':function(){const _0x475c53=_0x40cb54,_0x98ed59={'eBwfj':function(_0x108288,_0x381382,_0x169bf9){const _0x10fefe=a35_0x5ae9;return _0x1439c4[_0x10fefe(0x1bb)](_0x108288,_0x381382,_0x169bf9);},'Fezaf':_0x1439c4[_0x475c53(0x258)],'qweVI':function(_0x5ef272,_0x398948,_0x1a7cd2){const _0x502fd6=_0x475c53;return _0x1439c4[_0x502fd6(0x1a5)](_0x5ef272,_0x398948,_0x1a7cd2);},'tnGMk':function(_0x33c9b2,_0x1ce962){const _0x1e6554=_0x475c53;return _0x1439c4[_0x1e6554(0x273)](_0x33c9b2,_0x1ce962);},'Fqfue':_0x1439c4[_0x475c53(0x19f)]};return async function _0x29321f(_0x568be2){const _0x167e05=_0x475c53,_0x37aea2={'QfjsA':function(_0x508501,_0x59123b,_0x47c88d){const _0xe7f5b8=a35_0x5ae9;return _0x98ed59[_0xe7f5b8(0x1fd)](_0x508501,_0x59123b,_0x47c88d);},'pBftr':_0x98ed59[_0x167e05(0x23a)]};if(!workerDetails[_0x167e05(0x1ee)][_0x167e05(0x1a9)])return _0x98ed59[_0x167e05(0x22c)](debug,_0x98ed59[_0x167e05(0x2ab)]),_0x3fcdb8['apply'](this,arguments);if(!_0x568be2||!_0x568be2[_0x167e05(0x2a5)])return _0x3fcdb8[_0x167e05(0x253)](this,arguments)[_0x167e05(0x26e)](_0x1a9f26=>{const _0x5dd0ee=_0x167e05;return _0x98ed59[_0x5dd0ee(0x1c6)](processPageScreenshot,_0x1a9f26[_0x5dd0ee(0x267)](_0x98ed59[_0x5dd0ee(0x23a)]),workerDetails[_0x5dd0ee(0x1ee)]['testInfo']),_0x1a9f26;});const _0x35a5d2=path[_0x167e05(0x2b8)](process['cwd'](),_0x568be2[_0x167e05(0x2a5)]);return _0x3fcdb8[_0x167e05(0x253)](this,arguments)['then'](_0x4e9ecb=>{const _0x2f16b3=_0x167e05;return _0x37aea2[_0x2f16b3(0x1e3)](processPageScreenshot,fs[_0x2f16b3(0x29d)](_0x35a5d2,{'encoding':_0x37aea2[_0x2f16b3(0x293)]}),workerDetails['currentTest'][_0x2f16b3(0x1a9)]),_0x4e9ecb;});};}}),_0x54485b[_0x40cb54(0x28a)]=!![];}),sendTestLog=o11yErrorHandler(async function sendTestLog(_0x145661){const _0x16a865=a35_0x18a7db,_0x38760d=workerDetails[_0x16a865(0x1ee)]['testInfo'];if(!_0x38760d)return;await MyReporter[_0x16a865(0x220)](TestDetails[_0x16a865(0x207)](_0x38760d),_0x145661);}),registerListeners=()=>{const _0x1a8d59=a35_0x18a7db;process['removeAllListeners'](_0x1a8d59(0x213)+process[_0x1a8d59(0x2b5)]),process['on'](_0x1a8d59(0x213)+process[_0x1a8d59(0x2b5)],sendTestLog),PerformanceTester['startMonitoring']();},mockAndroidClose=()=>{const _0x2670a4=a35_0x18a7db,_0x4ef1e0={'fOjtn':_0x2670a4(0x2bc),'ghkxn':_0x2670a4(0x21b),'tWzBw':_0x2670a4(0x254),'WhGDo':_0x2670a4(0x1d9),'OvBUg':function(_0xcca50f,_0x4d0adb,_0x4fd537){return _0xcca50f(_0x4d0adb,_0x4fd537);},'TKrtU':_0x2670a4(0x1ee),'uqZbP':_0x2670a4(0x1cd),'RBIGn':_0x2670a4(0x1bc),'RVEUr':_0x2670a4(0x1fe),'dwHsS':'events.js','GgVAM':function(_0x1ab20c,_0x3bf7f0){return _0x1ab20c(_0x3bf7f0);},'hefSH':function(_0x4b48ce,_0x5d6f04,_0x47685f){return _0x4b48ce(_0x5d6f04,_0x47685f);},'ldwfk':'android.js','kEjdN':function(_0x1d43fd,_0x38579f){return _0x1d43fd(_0x38579f);},'OqIgE':_0x2670a4(0x237),'HOOZH':_0x2670a4(0x2c2)},_0x217a3a=path[_0x2670a4(0x2b8)](_0x4ef1e0['RBIGn'],_0x4ef1e0[_0x2670a4(0x230)],_0x4ef1e0['ldwfk']),_0x472dee=_0x4ef1e0[_0x2670a4(0x292)](importFileFromPWCore,_0x217a3a);if(!_0x472dee){logger[_0x2670a4(0x284)](_0x4ef1e0[_0x2670a4(0x2a7)]);return;}const _0x5bb0de=_0x472dee['AndroidDevice'],_0x3b2751=_0x5bb0de[_0x2670a4(0x22e)],_0x1e787c=_0x3b2751['close'];Object['defineProperty'](_0x3b2751,_0x4ef1e0[_0x2670a4(0x28e)],{'get':function(){const _0x8fc247=_0x2670a4,_0x1a0ae6={'EhUmj':_0x4ef1e0[_0x8fc247(0x221)],'oKjCl':_0x4ef1e0[_0x8fc247(0x1dd)],'bSRxk':_0x4ef1e0['tWzBw'],'oPYzU':_0x4ef1e0[_0x8fc247(0x208)],'vSpVz':function(_0x58b9a1,_0x39f094,_0x4aa9c6){const _0x23fc6c=_0x8fc247;return _0x4ef1e0[_0x23fc6c(0x219)](_0x58b9a1,_0x39f094,_0x4aa9c6);},'oLEuq':_0x4ef1e0[_0x8fc247(0x29b)],'nHKJf':_0x4ef1e0[_0x8fc247(0x27a)],'JqRrS':_0x4ef1e0[_0x8fc247(0x23f)],'iBbtM':_0x4ef1e0[_0x8fc247(0x230)],'UieaO':_0x4ef1e0['dwHsS'],'fKWDj':function(_0x512d59,_0x341988){const _0x7ced4e=_0x8fc247;return _0x4ef1e0[_0x7ced4e(0x264)](_0x512d59,_0x341988);},'fyrgw':function(_0x49cb6b,_0x341539,_0x40b60e){const _0x4a6d1a=_0x8fc247;return _0x4ef1e0[_0x4a6d1a(0x24d)](_0x49cb6b,_0x341539,_0x40b60e);}};return async function _0x4cc301(){const _0xe9ad33=_0x8fc247;return _0x1e787c[_0xe9ad33(0x253)](this,arguments)[_0xe9ad33(0x26e)](async()=>{const _0x31d3a9=_0xe9ad33;try{if([_0x1a0ae6['EhUmj'],_0x1a0ae6['oKjCl'],_0x1a0ae6[_0x31d3a9(0x225)],_0x1a0ae6['oPYzU']]['includes'](_0x1a0ae6['vSpVz'](nestedKeyValue,workerDetails,[_0x1a0ae6[_0x31d3a9(0x1aa)],_0x1a0ae6[_0x31d3a9(0x28b)]]))){const _0x23ac34=path[_0x31d3a9(0x2b8)](_0x1a0ae6[_0x31d3a9(0x1bf)],_0x1a0ae6[_0x31d3a9(0x222)],_0x1a0ae6[_0x31d3a9(0x256)]),_0x2c1894=_0x1a0ae6[_0x31d3a9(0x1c3)](importFileFromPWCore,_0x23ac34);await _0x1a0ae6[_0x31d3a9(0x25a)](promiseTimeout,new Promise(_0x5d0f63=>this['once'](_0x2c1894[_0x31d3a9(0x269)]['Browser'][_0x31d3a9(0x19b)],_0x5d0f63)),0x7530);}}catch(_0x336777){logger[_0x31d3a9(0x284)](_0x31d3a9(0x2aa)+_0x336777);}});};}});},mockBrowserType=()=>{const _0x1873a4=a35_0x18a7db,_0x19fe60={'llWSS':function(_0x2dc36d,_0x5ce3fc){return _0x2dc36d(_0x5ce3fc);},'cFRRx':'[BrowserTypePatch]\x20No\x20project\x20info\x20found','GoQcs':function(_0x2bf7f8,_0x5f2b38){return _0x2bf7f8===_0x5f2b38;},'DeEfQ':_0x1873a4(0x21d),'ChTHW':function(_0xa85ce0,_0x10f448){return _0xa85ce0>_0x10f448;},'MuVfx':_0x1873a4(0x1e4),'pzPoq':_0x1873a4(0x242),'QNIqA':function(_0x5d0a06,_0x4ae3a5,_0x5c10bd){return _0x5d0a06(_0x4ae3a5,_0x5c10bd);},'HJGLz':_0x1873a4(0x20a),'FsHCc':_0x1873a4(0x1ee),'RzzRz':'testInfo','NaKSL':'platformCaps','Wqajq':function(_0x8e8549){return _0x8e8549();},'wEKoK':_0x1873a4(0x202),'HGXOa':function(_0x10c656,_0x960396){return _0x10c656(_0x960396);},'VYPuI':_0x1873a4(0x2c4),'HdWdZ':function(_0x3f5c16,_0x41eeb3){return _0x3f5c16(_0x41eeb3);},'tIcKK':_0x1873a4(0x1bc),'MAFIJ':_0x1873a4(0x1fe),'Selkg':'browserType.js','dypet':'Not\x20able\x20to\x20import\x20Browser','mcyGR':_0x1873a4(0x1ec),'KFNIb':_0x1873a4(0x261)},_0x169a3b=path[_0x1873a4(0x2b8)](_0x19fe60[_0x1873a4(0x21a)],_0x19fe60[_0x1873a4(0x285)],_0x19fe60[_0x1873a4(0x224)]),_0x3c4a77=_0x19fe60[_0x1873a4(0x247)](importFileFromPWCore,_0x169a3b);if(!_0x3c4a77){_0x19fe60[_0x1873a4(0x1f4)](debug,_0x19fe60[_0x1873a4(0x275)]);return;}const _0x46024b=_0x3c4a77[_0x1873a4(0x1c8)],_0x312cf0=_0x46024b[_0x1873a4(0x22e)];if(_0x312cf0['obsBrowserTypeMockApplied'])return;const _0x354354=_0x312cf0[_0x1873a4(0x1ec)];Object[_0x1873a4(0x2a6)](_0x312cf0,_0x19fe60[_0x1873a4(0x1b7)],{'get':function(){const _0x5496fe=_0x1873a4,_0x284fa6={'ueyRN':function(_0x533f87,_0x1365a9){const _0x41f4e8=a35_0x5ae9;return _0x19fe60[_0x41f4e8(0x247)](_0x533f87,_0x1365a9);},'bMBld':_0x19fe60[_0x5496fe(0x1fc)],'puCXa':function(_0x546448,_0x5a3283){const _0x7aaeb4=_0x5496fe;return _0x19fe60[_0x7aaeb4(0x247)](_0x546448,_0x5a3283);},'fKoiH':function(_0x218a6c,_0x1b826e){const _0xc8fad5=_0x5496fe;return _0x19fe60[_0xc8fad5(0x2b7)](_0x218a6c,_0x1b826e);},'zZjaH':_0x19fe60['DeEfQ'],'VVLZy':function(_0x5b7ef9,_0x1ce626){const _0x55bd76=_0x5496fe;return _0x19fe60[_0x55bd76(0x21c)](_0x5b7ef9,_0x1ce626);},'VQFVh':_0x19fe60['MuVfx'],'mTyxA':_0x19fe60[_0x5496fe(0x236)],'chAMl':function(_0xd78b0e,_0x48aff6,_0x2b1825){const _0x3148af=_0x5496fe;return _0x19fe60[_0x3148af(0x238)](_0xd78b0e,_0x48aff6,_0x2b1825);},'kqtlv':_0x19fe60['HJGLz'],'NdAbH':_0x19fe60['FsHCc'],'lboGl':_0x19fe60[_0x5496fe(0x288)],'Nspyb':_0x19fe60[_0x5496fe(0x241)],'gqqDl':function(_0x55c3e4){const _0x4cb965=_0x5496fe;return _0x19fe60[_0x4cb965(0x2ae)](_0x55c3e4);},'HttIe':_0x19fe60[_0x5496fe(0x1f2)],'NqyQY':function(_0x1107d0,_0x4f520b){const _0x1663f0=_0x5496fe;return _0x19fe60[_0x1663f0(0x1f4)](_0x1107d0,_0x4f520b);}};return async function _0x425331(_0x49c011,_0x54355d){const _0x3c86da=_0x5496fe,_0xd74a22={'rkXkC':function(_0x269ee2,_0x51d65c){const _0x3749a7=a35_0x5ae9;return _0x284fa6[_0x3749a7(0x1be)](_0x269ee2,_0x51d65c);},'Agnhf':_0x284fa6[_0x3c86da(0x26d)],'fmnsK':_0x284fa6[_0x3c86da(0x1d7)]},_0xbf5f68=_0x284fa6[_0x3c86da(0x1c1)](nestedKeyValue,_0x49c011,[_0x284fa6[_0x3c86da(0x2a3)]])||_0x49c011,_0x2ba2c7=_0x284fa6[_0x3c86da(0x1c1)](nestedKeyValue,workerDetails,[_0x284fa6[_0x3c86da(0x294)],_0x284fa6[_0x3c86da(0x227)],_0x284fa6['VQFVh'],_0x284fa6['mTyxA'],_0x284fa6['Nspyb']]);let _0x4014ca=null,_0x3afaa9=null;try{[_0x3afaa9,_0x4014ca]=_0xbf5f68?_0x284fa6[_0x3c86da(0x201)](parseWSEndpoint,_0xbf5f68):[null,null],global[_0x3c86da(0x200)]=_0x2ba2c7;}catch(_0x2e02fa){logger[_0x3c86da(0x284)](_0x3c86da(0x2b3)+_0xbf5f68+'\x20'+_0x2e02fa);}try{if(_0x4014ca&&_0x4014ca[_0x3c86da(0x1b5)]||_0x4014ca['deviceName'])return _0x284fa6['gqqDl'](isAccessibilityAutomationSession)&&logger[_0x3c86da(0x19e)](_0x284fa6[_0x3c86da(0x1cf)]),base['_android']['connect'][_0x3c86da(0x253)](this,[_0xbf5f68])[_0x3c86da(0x26e)](_0x444b9d=>{const _0x187704=_0x3c86da,_0x3de635=workerDetails[_0x187704(0x1ee)][_0x187704(0x1a9)]||workerDetails[_0x187704(0x27d)];_0x444b9d[_0x187704(0x2c7)]=function(){const _0x5b1abf=_0x187704;return _0xd74a22[_0x5b1abf(0x1c5)](arguments[_0x5b1abf(0x1ea)],0x0)&&(arguments[0x0]=Object[_0x5b1abf(0x281)](arguments[0x0],helper['nestedKeyValue'](_0x3de635,[_0xd74a22[_0x5b1abf(0x1a8)],_0xd74a22[_0x5b1abf(0x20b)]])||{})),_0x444b9d[_0x5b1abf(0x255)][_0x5b1abf(0x253)](this,arguments);};if(!_0x3de635)return _0x284fa6['ueyRN'](debug,_0x284fa6['bMBld']),_0x444b9d;return PlaywrightSessionDetails['setupBrowserDetails'](_0x444b9d,_0x3de635),_0x444b9d;});}catch(_0x381bd5){logger['debug']('Error\x20in\x20connecting\x20for\x20android\x20'+_0x381bd5);}AccessibilityHelper[_0x3c86da(0x277)](_0x4014ca,_0x3afaa9,workerDetails);if(global['accessibilityPlatform'])return await _0x312cf0[_0x3c86da(0x1e9)][_0x3c86da(0x253)](this,[''+Constants[_0x3c86da(0x2c9)]+_0x284fa6['NqyQY'](encodeURIComponent,JSON['stringify'](_0x4014ca))]);return _0x354354[_0x3c86da(0x253)](this,arguments)['then'](_0x36221b=>{const _0x57683f=_0x3c86da,_0x333725=workerDetails[_0x57683f(0x1ee)][_0x57683f(0x1a9)]||workerDetails[_0x57683f(0x27d)];if(!_0x333725)return _0x284fa6[_0x57683f(0x201)](debug,_0x284fa6['bMBld']),_0x36221b;let _0x3456b1=_0x49c011[_0x57683f(0x20a)];return _0x284fa6[_0x57683f(0x2a1)](typeof _0x49c011,_0x284fa6[_0x57683f(0x209)])&&(_0x3456b1=_0x49c011),PlaywrightSessionDetails['setupBrowserDetails'](_0x36221b,_0x333725,_0x3456b1),_0x36221b;});};}});const _0x4994c3=_0x312cf0[_0x1873a4(0x261)];Object[_0x1873a4(0x2a6)](_0x312cf0,_0x19fe60[_0x1873a4(0x283)],{'get':function(){const _0x23ed63=_0x1873a4,_0x1a4580={'bBrBP':function(_0x2cff45,_0x1f9bf6){const _0x58f550=a35_0x5ae9;return _0x19fe60[_0x58f550(0x1f4)](_0x2cff45,_0x1f9bf6);},'UyKRF':_0x19fe60['cFRRx'],'tcCef':_0x19fe60['MuVfx'],'LSfYY':_0x19fe60['pzPoq'],'otDJe':function(_0x1976c4,_0xe69df1,_0x32b880){return _0x19fe60['QNIqA'](_0x1976c4,_0xe69df1,_0x32b880);},'KKVde':_0x19fe60[_0x23ed63(0x1b8)],'ErKaL':_0x19fe60[_0x23ed63(0x288)],'fegOH':_0x19fe60[_0x23ed63(0x1cc)],'UOPwu':_0x19fe60['HJGLz'],'SAnnr':function(_0x2b8d56,_0x2a9041,_0x12dc11){const _0x52b278=_0x23ed63;return _0x19fe60[_0x52b278(0x238)](_0x2b8d56,_0x2a9041,_0x12dc11);},'IGDSV':_0x19fe60[_0x23ed63(0x241)],'VxgDR':function(_0x389cd3,_0x294569){const _0x24ec98=_0x23ed63;return _0x19fe60[_0x24ec98(0x204)](_0x389cd3,_0x294569);},'CRlua':function(_0x4a8fe8){const _0x3cec26=_0x23ed63;return _0x19fe60[_0x3cec26(0x2ae)](_0x4a8fe8);},'tcoGF':_0x19fe60[_0x23ed63(0x1f2)],'cipCN':function(_0x5734fe,_0x6f3cfb){const _0x530c24=_0x23ed63;return _0x19fe60[_0x530c24(0x247)](_0x5734fe,_0x6f3cfb);}};return async function _0x3ea085(..._0x4d62ce){const _0x2bc528=_0x23ed63,_0x50c1e5={'VgsXE':_0x1a4580[_0x2bc528(0x250)],'HmIOt':_0x1a4580[_0x2bc528(0x295)],'ffAiu':function(_0x95ba4d,_0x1fd38c){const _0x1f7cc9=_0x2bc528;return _0x1a4580[_0x1f7cc9(0x25c)](_0x95ba4d,_0x1fd38c);},'MGCcd':_0x1a4580[_0x2bc528(0x1b6)]},_0x3b83c6=_0x1a4580['otDJe'](nestedKeyValue,workerDetails,[_0x1a4580['KKVde'],_0x1a4580[_0x2bc528(0x1c0)],_0x1a4580['tcCef'],_0x1a4580['LSfYY'],_0x1a4580[_0x2bc528(0x257)],_0x1a4580['UOPwu']]),_0x3e5bcd=_0x1a4580[_0x2bc528(0x231)](nestedKeyValue,workerDetails,[_0x1a4580[_0x2bc528(0x25e)],_0x1a4580['ErKaL'],_0x1a4580[_0x2bc528(0x250)],_0x1a4580[_0x2bc528(0x295)],_0x1a4580[_0x2bc528(0x279)]]);let _0x3bc8b8=null,_0x316461=null;try{[_0x316461,_0x3bc8b8]=_0x3b83c6?_0x1a4580[_0x2bc528(0x1e6)](parseWSEndpoint,_0x3b83c6):[null,null],global[_0x2bc528(0x200)]=_0x3e5bcd;}catch(_0x1be266){logger['debug'](_0x2bc528(0x2b3)+_0x3b83c6+'\x20'+_0x1be266);}try{if(_0x3bc8b8&&_0x3bc8b8[_0x2bc528(0x1b5)]||_0x3bc8b8[_0x2bc528(0x239)])return _0x1a4580[_0x2bc528(0x1de)](isAccessibilityAutomationSession)&&logger[_0x2bc528(0x19e)](_0x1a4580[_0x2bc528(0x1ef)]),base[_0x2bc528(0x19c)]['connect']['apply'](this,[workerDetails[_0x2bc528(0x1ee)]['testInfo']['project'][_0x2bc528(0x242)][_0x2bc528(0x2c4)][_0x2bc528(0x20a)]])[_0x2bc528(0x26e)](_0x239d1d=>{const _0x4c757a=_0x2bc528,_0x15e091=workerDetails[_0x4c757a(0x1ee)]['testInfo']||workerDetails[_0x4c757a(0x27d)];_0x239d1d['newContext']=function(){const _0x446697=_0x4c757a;return arguments[0x0]=Object[_0x446697(0x281)](arguments[0x0],helper[_0x446697(0x244)](_0x15e091,[_0x50c1e5[_0x446697(0x1e7)],_0x50c1e5[_0x446697(0x212)]])||{}),_0x239d1d[_0x446697(0x255)][_0x446697(0x253)](this,arguments);};if(!_0x15e091)return _0x50c1e5[_0x4c757a(0x2a9)](debug,_0x50c1e5[_0x4c757a(0x1a4)]),_0x239d1d;return PlaywrightSessionDetails[_0x4c757a(0x2b9)](_0x239d1d,_0x15e091),_0x239d1d;});}catch(_0x1bf8ee){logger['debug'](_0x2bc528(0x2bd)+_0x1bf8ee);}AccessibilityHelper[_0x2bc528(0x277)](_0x3bc8b8,_0x316461,workerDetails);if(global['accessibilityPlatform'])return await _0x312cf0[_0x2bc528(0x1e9)][_0x2bc528(0x253)](this,[''+Constants[_0x2bc528(0x2c9)]+_0x1a4580['cipCN'](encodeURIComponent,JSON[_0x2bc528(0x20d)](_0x3bc8b8))]);return _0x4994c3[_0x2bc528(0x253)](this,arguments)[_0x2bc528(0x26e)](_0x384ed4=>{const _0x57e606=_0x2bc528,_0x39cac9=workerDetails[_0x57e606(0x1ee)][_0x57e606(0x1a9)]||workerDetails[_0x57e606(0x27d)];if(!_0x39cac9)return _0x1a4580[_0x57e606(0x25c)](debug,_0x1a4580[_0x57e606(0x1b6)]),_0x384ed4;return PlaywrightSessionDetails[_0x57e606(0x2b9)](_0x384ed4,_0x39cac9),_0x384ed4;});};}});},beforeWorkerHook=o11yErrorHandler(function beforeWorkerHook(_0x44821f){const _0x34e80b=a35_0x18a7db,_0x4c5c7f={'funTN':_0x34e80b(0x211),'cgzLp':function(_0x11122c){return _0x11122c();},'uupIH':function(_0x40845f){return _0x40845f();},'Uvejj':function(_0x36eda8){return _0x36eda8();},'FptmD':function(_0x35e059){return _0x35e059();}},_0x31dd5a=_0x4c5c7f[_0x34e80b(0x2b0)][_0x34e80b(0x2ce)]('|');let _0x50c411=0x0;while(!![]){switch(_0x31dd5a[_0x50c411++]){case'0':try{_0x4c5c7f[_0x34e80b(0x251)](mockAndroidClose);}catch(_0x8e6d6d){logger[_0x34e80b(0x284)](_0x34e80b(0x22b)+_0x8e6d6d);}continue;case'1':_0x4c5c7f[_0x34e80b(0x265)](mockBrowserType);continue;case'2':try{_0x4c5c7f['uupIH'](mockContextNewPage);}catch(_0x3002b2){logger[_0x34e80b(0x284)]('Unable\x20to\x20mock\x20newPage\x20for\x20context\x20marking\x20'+_0x3002b2);}continue;case'3':workerDetails[_0x34e80b(0x27d)]=_0x44821f;continue;case'4':_0x4c5c7f['uupIH'](mockRequests);continue;case'5':_0x4c5c7f[_0x34e80b(0x265)](mockContextNewPage);continue;case'6':_0x4c5c7f[_0x34e80b(0x296)](mockPageScreenshot);continue;case'7':if(!_0x4c5c7f[_0x34e80b(0x206)](isTestObservabilitySession))return;continue;case'8':_0x4c5c7f[_0x34e80b(0x265)](registerListeners);continue;}break;}}),afterWorkerHook=o11yErrorHandler(async function afterWorkerHook(_0x29161f){const _0x13f3a7=a35_0x18a7db;await RequestQueueHandler[_0x13f3a7(0x1e0)]()[_0x13f3a7(0x1b0)](),PerformanceTester[_0x13f3a7(0x1f6)]();}),beforeTestHook=o11yErrorHandler(function beforeTestHook(_0x1df8db){const _0x1569b6=a35_0x18a7db;workerDetails[_0x1569b6(0x1ee)]={'id':TestDetails[_0x1569b6(0x1ba)](_0x1df8db),'testInfo':_0x1df8db,'testStatus':_0x1df8db[_0x1569b6(0x2c3)]},workerDetails[_0x1569b6(0x27b)]=null;}),afterTestHook=o11yErrorHandler(async function afterTestHook(_0x37f3c0){const _0x32294e=a35_0x18a7db,_0x2563b4={'gsfhL':function(_0x514e9f,_0x480e94){return _0x514e9f(_0x480e94);},'JoNJC':function(_0x238a29,_0x273b6c){return _0x238a29(_0x273b6c);},'JIhAQ':function(_0x4bbcb2,_0x1c3a4c,_0xbefcf){return _0x4bbcb2(_0x1c3a4c,_0xbefcf);},'CAtgI':_0x32294e(0x28c),'ZFGtM':'Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','eMDJC':'Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case.\x20Error\x20:','CGqeC':function(_0x2d87f0){return _0x2d87f0();},'FwLuF':function(_0x324605,_0x26bf3c,_0x1e4452){return _0x324605(_0x26bf3c,_0x1e4452);},'RDPwG':function(_0x2f576d,_0x2125ad){return _0x2f576d+_0x2125ad;},'VKZzd':_0x32294e(0x276)};if(!_0x2563b4[_0x32294e(0x1d3)](isFalse,process[_0x32294e(0x210)][_0x32294e(0x299)])||!_0x2563b4[_0x32294e(0x2cb)](isFalse,process[_0x32294e(0x210)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML'])){try{const _0x693eb9=workerDetails['pwPage'];if(global[_0x32294e(0x203)]){const _0x3f389d=workerDetails[_0x32294e(0x1ee)][_0x32294e(0x1a9)],_0x17d306=_0x2563b4['JIhAQ'](shouldScanTestForAccessibility,_0x3f389d[_0x32294e(0x22d)],!![]),_0x1e2aec=PlaywrightSessionDetails[_0x32294e(0x1c9)](),_0x50d06a=await AccessibilityHelper[_0x32294e(0x26b)](_0x1e2aec);if(_0x50d06a){const _0x1b6275={};_0x1b6275[_0x32294e(0x218)]=_0x1e2aec[_0x32294e(0x1b9)],_0x1b6275[_0x32294e(0x223)]=_0x1e2aec[_0x32294e(0x1d1)],_0x1b6275[_0x32294e(0x24b)]=_0x1e2aec[_0x32294e(0x1cb)],_0x1b6275[_0x32294e(0x297)]=_0x1e2aec[_0x32294e(0x297)];const _0x2f5ca2=_0x1b6275,_0x1dfa95={};_0x1dfa95['name']=_0x3f389d[_0x32294e(0x1f5)],_0x1dfa95[_0x32294e(0x260)]=process[_0x32294e(0x210)][_0x32294e(0x26a)],_0x1dfa95[_0x32294e(0x2cc)]=_0x3f389d[_0x32294e(0x24c)],_0x1dfa95[_0x32294e(0x20f)]=_0x3f389d['titlePath'];const _0x189f00={};_0x189f00[_0x32294e(0x1d4)]=_0x17d306,_0x189f00['testDetails']=_0x1dfa95,_0x189f00[_0x32294e(0x1b9)]=_0x2f5ca2;const _0x621d36=_0x189f00;_0x17d306&&(logger['info'](_0x2563b4[_0x32294e(0x286)]),logger.debug('Performing scan before saving results'),logger.debug(util.format(await AccessibilityHelper.browserStackEvaluate(_0x693eb9,scripts.performScan))),await AccessibilityHelper.browserStackEvaluate(_0x693eb9,scripts.saveTestResults,_0x621d36)),_0x17d306&&logger[_0x32294e(0x1a6)](_0x2563b4[_0x32294e(0x228)]);}}}catch(_0x339eb3){logger[_0x32294e(0x284)](_0x2563b4['eMDJC'],_0x339eb3);}await MyReporter[_0x32294e(0x2af)](TestDetails[_0x32294e(0x207)](_0x37f3c0),_0x2563b4['CGqeC'](getCBTInfo));}try{!workerDetails[_0x32294e(0x27b)]&&await _0x2563b4[_0x32294e(0x22f)](playwrightSetSessionName,workerDetails[_0x32294e(0x2c1)],_0x37f3c0),await _0x2563b4['FwLuF'](playwrightMarkSessionStatus,workerDetails[_0x32294e(0x2c1)],_0x37f3c0);}catch(_0x28df72){logger['debug'](_0x2563b4['RDPwG'](_0x2563b4[_0x32294e(0x1e8)],util['format'](_0x28df72)));}const _0x58d20a={};_0x58d20a['id']=undefined,_0x58d20a[_0x32294e(0x1a9)]=undefined,_0x58d20a['testStatus']=_0x37f3c0[_0x32294e(0x2c3)],workerDetails[_0x32294e(0x1ee)]=_0x58d20a;}),mockContextTracing=o11yErrorHandler(function mockContextTracing(_0x1f6bce){const _0x56b560=a35_0x18a7db,_0x505689={};_0x505689[_0x56b560(0x28d)]=_0x56b560(0x1c7);const _0x8885ed=_0x505689,_0x420792=_0x1f6bce[_0x56b560(0x1e1)][_0x56b560(0x28f)][_0x56b560(0x22e)];if(_0x420792[_0x56b560(0x248)])return;const _0x31db3c=_0x420792[_0x56b560(0x1c7)];Object[_0x56b560(0x2a6)](_0x420792,_0x8885ed[_0x56b560(0x28d)],{'get':function(){return async function _0x50b3f6(){const _0x45d2bf=a35_0x5ae9;return _0x31db3c[_0x45d2bf(0x253)](this,arguments);};}}),_0x420792[_0x56b560(0x248)]=!![];}),storeTestResults=_0x187ebd=>{const _0xe5e36=a35_0x18a7db,_0x3017ea={'RVVmJ':_0xe5e36(0x1f5),'JIBHL':function(_0x5df487,_0xdc4c25,_0x387072){return _0x5df487(_0xdc4c25,_0x387072);},'moyjr':_0xe5e36(0x232),'asKFL':_0xe5e36(0x2a8)};try{if(!_0x187ebd[_0xe5e36(0x1bd)])return;;const _0x2a49ea={},_0x5db60d=[];_0x187ebd[_0xe5e36(0x1bd)]['forEach'](_0x548027=>{const _0x41a7ec=_0xe5e36;_0x5db60d['push'](_0x548027[_0x41a7ec(0x1fa)]);});const _0xd2f3a0=helper[_0xe5e36(0x244)](_0x187ebd,[_0x3017ea[_0xe5e36(0x1db)]]);_0x2a49ea[_0xd2f3a0]=_0x5db60d[_0xe5e36(0x2b8)](',\x20');const _0x22a2e4=workerDetails?.[_0xe5e36(0x1fb)],_0x408f98=_0x22a2e4?.[_0xe5e36(0x1b9)]+',\x20'+_0x22a2e4?.[_0xe5e36(0x1d1)]+',\x20'+_0x22a2e4?.[_0xe5e36(0x1cb)]+',\x20'+_0x3017ea[_0xe5e36(0x1dc)](parseInt,_0x22a2e4?.[_0xe5e36(0x297)],0xa),_0x1d06ff=path[_0xe5e36(0x2b8)](helper[_0xe5e36(0x1af)](),_0x3017ea[_0xe5e36(0x25d)],_0x3017ea['asKFL']);let _0x583f30={};fs[_0xe5e36(0x1f9)](_0x1d06ff)&&(_0x583f30=fs[_0xe5e36(0x29d)](_0x1d06ff),_0x583f30=JSON[_0xe5e36(0x229)](_0x583f30));if(!!_0x583f30[_0x408f98]){const _0x1e2488=Object['assign']({},_0x583f30[_0x408f98],_0x2a49ea);_0x583f30[_0x408f98]=_0x1e2488;}else _0x583f30[_0x408f98]=_0x2a49ea;fs[_0xe5e36(0x262)](_0x1d06ff,JSON[_0xe5e36(0x20d)](_0x583f30));}catch(_0x30e61b){logger[_0xe5e36(0x284)](_0xe5e36(0x2b2)+_0x30e61b);}},a35_0xd72f9c={};a35_0xd72f9c[a35_0x18a7db(0x1ae)]=!![],a35_0xd72f9c[a35_0x18a7db(0x289)]=a35_0x18a7db(0x2ca);function a35_0x5ae9(_0x3b2839,_0xc00532){const _0x243902=a35_0x2439();return a35_0x5ae9=function(_0x5ae973,_0x4142ab){_0x5ae973=_0x5ae973-0x19b;let _0x3fcf1e=_0x243902[_0x5ae973];return _0x3fcf1e;},a35_0x5ae9(_0x3b2839,_0xc00532);}const a35_0x4d8bca={};a35_0x4d8bca[a35_0x18a7db(0x1ae)]=!![],a35_0x4d8bca[a35_0x18a7db(0x289)]='worker';const test=base['test']['extend']({'page':async({page:_0x30dbf3},_0x37f690,_0x29fe5b)=>{const _0xb83c64=a35_0x18a7db,_0x6b9ac5={'HHNpe':function(_0x348fea,_0x97fbb0){return _0x348fea(_0x97fbb0);},'OQAdU':function(_0x5db783,_0xa425a9,_0x6da23a){return _0x5db783(_0xa425a9,_0x6da23a);},'ZwyUM':function(_0x59ab00,_0x16bb98){return _0x59ab00(_0x16bb98);}};workerDetails[_0xb83c64(0x2c1)]=_0x30dbf3,workerDetails[_0xb83c64(0x27b)]=!![],!_0x6b9ac5[_0xb83c64(0x1ad)](isFalse,process[_0xb83c64(0x210)]['BROWSERSTACK_AUTOMATION'])?(await _0x6b9ac5[_0xb83c64(0x2b1)](playwrightSetSessionName,_0x30dbf3,_0x29fe5b),await _0x6b9ac5[_0xb83c64(0x1ad)](_0x37f690,_0x30dbf3)):await _0x6b9ac5[_0xb83c64(0x1b2)](_0x37f690,_0x30dbf3);},'context':async({context:_0xf5466b,browser:_0x417d30},_0x14e346,_0x2f5a48)=>{const _0x278681=a35_0x18a7db,_0x4b9980={'cglgx':function(_0x492c30,_0x16c6f3){return _0x492c30(_0x16c6f3);},'wDiZu':function(_0x6d4b6b,_0x146ce4){return _0x6d4b6b(_0x146ce4);},'qWGHW':function(_0x1afd20,_0x3a3a54){return _0x1afd20(_0x3a3a54);},'aClMk':function(_0x27c5c8,_0x205c0f){return _0x27c5c8(_0x205c0f);},'Pjcsu':function(_0x1bb1b8,_0x3cfb2c){return _0x1bb1b8(_0x3cfb2c);}};if(global[_0x278681(0x203)]){_0xf5466b[_0x278681(0x2c2)]();const _0x45e046=await _0x417d30['contexts']()[0x0];!_0x4b9980[_0x278681(0x29c)](isFalse,process['env'][_0x278681(0x299)])&&_0x4b9980[_0x278681(0x278)](mockContextTracing,_0x45e046),await _0x4b9980[_0x278681(0x26f)](_0x14e346,_0x45e046);}else!_0x4b9980[_0x278681(0x272)](isFalse,process[_0x278681(0x210)][_0x278681(0x299)])&&_0x4b9980['wDiZu'](mockContextTracing,_0xf5466b),await _0x4b9980[_0x278681(0x1c4)](_0x14e346,_0xf5466b);},'__browserstack_testHook':[async({},_0x273d28,_0x4190d5)=>{const _0x50efd6=a35_0x18a7db,_0x23ea6b={'EeQbz':_0x50efd6(0x1b4),'mBEol':function(_0x4cd7c6,_0x3778bc){return _0x4cd7c6(_0x3778bc);},'wGqhK':_0x50efd6(0x25b),'uAirM':function(_0x18c3f3,_0x2196e7){return _0x18c3f3(_0x2196e7);},'NEmXK':function(_0x306a56){return _0x306a56();},'BlmbR':function(_0x48947a,_0x5bcf8e){return _0x48947a(_0x5bcf8e);},'GGxUu':function(_0x3de613,_0x3c2226){return _0x3de613(_0x3c2226);},'FIZkd':_0x50efd6(0x1ac)},_0x22c4df=_0x23ea6b[_0x50efd6(0x20e)][_0x50efd6(0x2ce)]('|');let _0x3234b7=0x0;while(!![]){switch(_0x22c4df[_0x3234b7++]){case'0':_0x23ea6b[_0x50efd6(0x1ed)](debug,_0x23ea6b[_0x50efd6(0x24f)]);continue;case'1':await _0x23ea6b['uAirM'](afterTestHook,_0x4190d5);continue;case'2':await _0x23ea6b['NEmXK'](_0x273d28);continue;case'3':_0x23ea6b[_0x50efd6(0x21e)](storeTestResults,_0x4190d5);continue;case'4':_0x23ea6b[_0x50efd6(0x1a0)](beforeTestHook,_0x4190d5);continue;case'5':_0x23ea6b[_0x50efd6(0x24e)](debug,_0x23ea6b['FIZkd']);continue;}break;}},a35_0xd72f9c],'__browserstack_workerHook':[async({},_0x98cdf9,_0x6fa124)=>{const _0x3ae93c=a35_0x18a7db,_0x2736cd={'BQBVX':function(_0x50b810,_0x3bfca8){return _0x50b810(_0x3bfca8);},'qEoKQ':_0x3ae93c(0x19d),'bJIQI':function(_0x295aa2){return _0x295aa2();},'ZMBrB':_0x3ae93c(0x249),'svVrT':_0x3ae93c(0x1f8),'ibKxC':_0x3ae93c(0x263),'qhyRw':_0x3ae93c(0x1ab),'ZbQKh':_0x3ae93c(0x23e),'rsoDM':_0x3ae93c(0x1a3),'vagmR':_0x3ae93c(0x2af),'fHuCr':_0x3ae93c(0x2b9),'eqCbQ':_0x3ae93c(0x270),'zIdqv':_0x3ae93c(0x290),'MYrcX':'Worker\x20Hook\x20started','xOKAR':function(_0x52e137){return _0x52e137();}};_0x2736cd[_0x3ae93c(0x1a2)](beforeWorkerHook,_0x6fa124);if(!_0x2736cd[_0x3ae93c(0x1a2)](isFalse,process['env'][_0x3ae93c(0x299)])||!_0x2736cd[_0x3ae93c(0x1a2)](isFalse,process[_0x3ae93c(0x210)][_0x3ae93c(0x271)])){const _0x179a43=_0x2736cd[_0x3ae93c(0x2be)][_0x3ae93c(0x2ce)]('|');let _0x3f81cc=0x0;while(!![]){switch(_0x179a43[_0x3f81cc++]){case'0':process[_0x3ae93c(0x210)][_0x3ae93c(0x2a2)]&&PerformanceTester['startMonitoring'](_0x3ae93c(0x252)+_0x6fa124[_0x3ae93c(0x287)][_0x3ae93c(0x267)]()+'.json');continue;case'1':await _0x2736cd[_0x3ae93c(0x22a)](_0x98cdf9);continue;case'2':process[_0x3ae93c(0x210)]['BROWSERSTACK_O11Y_PERF_MEASUREMENT']&&await PerformanceTester[_0x3ae93c(0x235)](_0x3ae93c(0x252)+_0x6fa124['workerIndex'][_0x3ae93c(0x267)]()+_0x3ae93c(0x2b6),[_0x2736cd[_0x3ae93c(0x291)],_0x2736cd[_0x3ae93c(0x246)],_0x2736cd[_0x3ae93c(0x1d5)],_0x2736cd['qhyRw'],_0x2736cd[_0x3ae93c(0x29a)],_0x2736cd[_0x3ae93c(0x29e)],_0x2736cd['vagmR'],_0x2736cd[_0x3ae93c(0x1f3)],_0x2736cd[_0x3ae93c(0x2a4)],_0x2736cd[_0x3ae93c(0x1a7)]]);continue;case'3':await _0x2736cd['BQBVX'](afterWorkerHook,_0x6fa124);continue;case'4':_0x2736cd[_0x3ae93c(0x1a2)](debug,_0x2736cd[_0x3ae93c(0x2bf)]);continue;}break;}}else await _0x2736cd[_0x3ae93c(0x2a0)](_0x98cdf9);},a35_0x4d8bca],'browser':async({browser:_0xe85d3c},_0x1d6210,_0x86b8f4)=>{const _0x2c5243=a35_0x18a7db,_0x40c8a1={'zcTcQ':function(_0xa9b462,_0x204a32){return _0xa9b462(_0x204a32);}};(!_0x40c8a1['zcTcQ'](isFalse,process['env']['BROWSERSTACK_TEST_OBSERVABILITY'])||global[_0x2c5243(0x203)])&&PlaywrightSessionDetails['setupBrowserDetails'](_0xe85d3c,_0x86b8f4),await _0x40c8a1[_0x2c5243(0x282)](_0x1d6210,_0xe85d3c);}});base['test']=test,base[a35_0x18a7db(0x1d0)]=test;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a36_0x488de4=a36_0x4903;function a36_0x4903(_0x3d5971,_0x196136){const _0x18412a=a36_0x1841();return a36_0x4903=function(_0x4903b4,_0x8df006){_0x4903b4=_0x4903b4-0x123;let _0x34c385=_0x18412a[_0x4903b4];return _0x34c385;},a36_0x4903(_0x3d5971,_0x196136);}(function(_0x1ce436,_0x3ed4d0){const _0x5bf8f7=a36_0x4903,_0x354c71=_0x1ce436();while(!![]){try{const _0x48a997=parseInt(_0x5bf8f7(0x14b))/0x1*(parseInt(_0x5bf8f7(0x189))/0x2)+parseInt(_0x5bf8f7(0x12b))/0x3*(parseInt(_0x5bf8f7(0x13b))/0x4)+-parseInt(_0x5bf8f7(0x173))/0x5*(parseInt(_0x5bf8f7(0x1aa))/0x6)+-parseInt(_0x5bf8f7(0x1b5))/0x7+-parseInt(_0x5bf8f7(0x127))/0x8*(parseInt(_0x5bf8f7(0x1a8))/0x9)+parseInt(_0x5bf8f7(0x128))/0xa+-parseInt(_0x5bf8f7(0x166))/0xb*(parseInt(_0x5bf8f7(0x139))/0xc);if(_0x48a997===_0x3ed4d0)break;else _0x354c71['push'](_0x354c71['shift']());}catch(_0x225765){_0x354c71['push'](_0x354c71['shift']());}}}(a36_0x1841,0x7de5d));const fs=require('fs'),util=require(a36_0x488de4(0x1a9)),path=require(a36_0x488de4(0x125));let config={};const browserstackSetup={},helper=require(a36_0x488de4(0x1ac)),{PLAYWRIGHT_CONFIG_OPTION_ERRORS}=require('../../bin/utils/constants'),{getTransformPath,getProjectUtilsPath}=require(a36_0x488de4(0x163)),handleAutomationTrue=async()=>{const _0x590e71=a36_0x488de4,_0x167950={'tZbcE':_0x590e71(0x186),'tSYps':_0x590e71(0x1a7),'pFmqX':'connectOptions','djFRb':function(_0x4b47fb,_0x437c80){return _0x4b47fb+_0x437c80;},'oaxBZ':function(_0x1453fc,_0x44a956){return _0x1453fc(_0x44a956);},'RcjcC':function(_0x4aa369,_0x3b701e,_0x28af17,_0x3a87f4){return _0x4aa369(_0x3b701e,_0x28af17,_0x3a87f4);},'QlnsC':'projects','IKFPx':function(_0x14ee59){return _0x14ee59();},'ifins':_0x590e71(0x165),'fMEIt':_0x590e71(0x153),'BHbKg':_0x590e71(0x16d),'bNEuL':function(_0x16f691,_0x4d1e2a){return _0x16f691+_0x4d1e2a;},'Yeapo':_0x590e71(0x191),'sdlXN':function(_0x23ef54,_0x22c5f0){return _0x23ef54*_0x22c5f0;},'kCNMu':_0x590e71(0x157)};if(helper['isTrue'](process['env'][_0x590e71(0x174)])){config[_0x167950[_0x590e71(0x1b4)]]=[];const _0x25da36=[];browserstackSetup[_0x590e71(0x17c)][_0x590e71(0x162)][_0x590e71(0x19d)]((_0x5e64a2,_0x3ea860)=>{const _0x4795fe=_0x590e71;_0x25da36['push'](helper[_0x4795fe(0x16a)](browserstackSetup['config'],_0x167950['tZbcE'],_0x3ea860));});let _0x1e2ef1,_0x320954=[];try{_0x1e2ef1=helper[_0x590e71(0x13f)][_0x590e71(0x19c)](null,_0x167950[_0x590e71(0x18f)](getProjectUtilsPath));const _0x13de77={};_0x13de77[_0x590e71(0x1b6)]=!![];const _0x52e8da={};_0x52e8da[_0x590e71(0x1b6)]=!![],_0x52e8da[_0x590e71(0x165)]='',_0x52e8da[_0x590e71(0x153)]='',_0x52e8da[_0x590e71(0x16d)]='',_0x52e8da['_internal']=_0x13de77;const _0x396c82={};_0x396c82[_0x590e71(0x176)]=_0x52e8da;let _0x36ac8e=_0x396c82;config[_0x167950[_0x590e71(0x172)]]&&(_0x36ac8e['project'][_0x167950['ifins']]=config[_0x167950[_0x590e71(0x172)]]),config[_0x167950['fMEIt']]&&(_0x36ac8e['project'][_0x167950[_0x590e71(0x190)]]=config[_0x167950[_0x590e71(0x190)]]),config[_0x167950[_0x590e71(0x16f)]]&&(_0x36ac8e[_0x590e71(0x176)][_0x167950[_0x590e71(0x16f)]]=config[_0x167950[_0x590e71(0x16f)]]),_0x36ac8e=Object[_0x590e71(0x199)](_0x36ac8e,_0x36ac8e[_0x590e71(0x176)]),_0x320954=await _0x1e2ef1[_0x590e71(0x154)](_0x36ac8e);}catch(_0x505c66){console[_0x590e71(0x137)](_0x167950[_0x590e71(0x188)](_0x167950[_0x590e71(0x135)],util[_0x590e71(0x142)](_0x505c66)));}const _0x8d27f1=helper['getPlaywrightUrl'](browserstackSetup['config']),_0x296731=await _0x167950[_0x590e71(0x158)](getPWOptionsTests,_0x25da36,_0x1e2ef1,_0x320954);_0x25da36[_0x590e71(0x19d)]((_0x529555,_0x2849e2)=>{const _0x1be959=_0x590e71,_0xc9067f={},_0x39cba9={};_0x39cba9['platformCaps']=browserstackSetup['config'][_0x1be959(0x162)][_0x2849e2],_0xc9067f[_0x167950[_0x1be959(0x124)]]=_0x39cba9,helper['playwrightProjectNameUpdate'](_0x529555,_0xc9067f),helper[_0x1be959(0x1a4)](_0xc9067f,browserstackSetup[_0x1be959(0x17c)][_0x1be959(0x162)][_0x2849e2],browserstackSetup[_0x1be959(0x17c)][_0x1be959(0x162)][_0x2849e2][_0x1be959(0x138)]||config['playwrightConfigOptions']||null),_0xc9067f[_0x167950[_0x1be959(0x124)]][_0x167950[_0x1be959(0x1ba)]]={'wsEndpoint':_0x167950[_0x1be959(0x160)](_0x8d27f1,_0x167950[_0x1be959(0x147)](encodeURIComponent,JSON[_0x1be959(0x159)](_0x529555)))},_0x167950[_0x1be959(0x158)](addProjectToProjectList,_0x296731,_0x2849e2,_0xc9067f);});_0x320954[_0x590e71(0x144)]&&(config[_0x167950[_0x590e71(0x190)]]='',config[_0x167950['ifins']]='');const _0x2283ba=_0x167950[_0x590e71(0x155)](browserstackSetup['config'][_0x590e71(0x162)][_0x590e71(0x144)]||0x1,browserstackSetup['config'][_0x590e71(0x15c)]);config[_0x167950[_0x590e71(0x17a)]]=_0x2283ba;}},addProjectToProjectList=(_0xab4a8b,_0x180fed,_0x4c985f)=>{const _0x52a9c0=a36_0x488de4,_0x37b4b7={'Fbgio':function(_0x18e445,_0x3184d2){return _0x18e445>_0x3184d2;},'adJDD':_0x52a9c0(0x18b),'KeIeS':_0x52a9c0(0x153),'kUoWC':_0x52a9c0(0x149),'ltTAW':_0x52a9c0(0x19b),'eKbvV':'projects','VxfJs':_0x52a9c0(0x1a7),'TMKIw':_0x52a9c0(0x17f),'CzOiI':_0x52a9c0(0x138),'GspTd':function(_0x4d7225,_0x4f2a25,_0x292602){return _0x4d7225(_0x4f2a25,_0x292602);}},_0x4bbb06=_0xab4a8b[_0x180fed],_0x31a383=browserstackSetup[_0x52a9c0(0x17c)][_0x52a9c0(0x162)][_0x180fed][_0x52a9c0(0x138)];_0x4c985f[_0x37b4b7['VxfJs']][_0x37b4b7[_0x52a9c0(0x134)]][_0x37b4b7[_0x52a9c0(0x14d)]]&&delete _0x4c985f[_0x37b4b7[_0x52a9c0(0x14e)]][_0x37b4b7[_0x52a9c0(0x134)]][_0x37b4b7['CzOiI']];const _0x4c55ae=_0x37b4b7[_0x52a9c0(0x15b)](setSetupAndTeardownConfigs,helper[_0x52a9c0(0x1af)](_0x4c985f),_0x31a383);_0x37b4b7['Fbgio'](_0x4bbb06['length'],0x0)?_0x4bbb06[_0x52a9c0(0x19d)](_0xdc7647=>{const _0x36c874=_0x52a9c0,_0x520b60=helper[_0x36c874(0x1af)](_0x4c985f);_0x37b4b7[_0x36c874(0x19e)](_0x4c55ae[_0x36c874(0x144)],0x0)&&(_0x520b60[_0x37b4b7['adJDD']]=_0x4c55ae),_0x520b60[_0x37b4b7[_0x36c874(0x1ae)]]=_0xdc7647,_0x520b60[_0x37b4b7[_0x36c874(0x16e)]]&&delete _0x520b60[_0x36c874(0x149)],_0x520b60[_0x37b4b7['ltTAW']]&&delete _0x520b60[_0x36c874(0x19b)],config[_0x37b4b7[_0x36c874(0x14f)]][_0x36c874(0x146)](_0x520b60);}):config[_0x37b4b7['eKbvV']]['push'](_0x4c985f);},setSetupAndTeardownConfigs=(_0x2eb7ef,_0x59e93e)=>{const _0x319bdc=a36_0x488de4,_0x235db2={'NXRov':function(_0x25c063,_0x52859d,_0x5a3884){return _0x25c063(_0x52859d,_0x5a3884);},'nOLqL':_0x319bdc(0x19b),'FXpap':function(_0x28f2f2,_0x2b6d82,_0x5a4305){return _0x28f2f2(_0x2b6d82,_0x5a4305);},'SOzLc':_0x319bdc(0x1a7),'EmIvp':_0x319bdc(0x13e),'nnYVT':function(_0x1755f0,_0x4cd559,_0x31906b){return _0x1755f0(_0x4cd559,_0x31906b);},'XMPTP':_0x319bdc(0x149),'lYFKY':function(_0x4c95d5,_0x518cf8,_0x3bb349,_0x6cf758){return _0x4c95d5(_0x518cf8,_0x3bb349,_0x6cf758);}};if(!_0x59e93e)return[];const _0x3c736a=[],_0x991c3=[];let _0x1aab9b,_0x46f36e;return _0x59e93e[_0x235db2[_0x319bdc(0x12d)]]&&(_0x1aab9b=_0x59e93e[_0x235db2[_0x319bdc(0x12d)]]),_0x59e93e[_0x235db2['nOLqL']]&&(_0x46f36e=_0x59e93e[_0x235db2['nOLqL']]),_0x46f36e&&Array['isArray'](_0x46f36e)&&_0x46f36e[_0x319bdc(0x19d)](_0x42986c=>{const _0x351d34=_0x319bdc;_0x235db2['NXRov'](validateKeys,_0x42986c,_0x235db2[_0x351d34(0x131)]);if(_0x3c736a['includes'](_0x42986c['name']))throw util[_0x351d34(0x142)](PLAYWRIGHT_CONFIG_OPTION_ERRORS[_0x351d34(0x1a2)],_0x235db2[_0x351d34(0x131)]);const _0x5fc2c4=_0x235db2[_0x351d34(0x13c)](createDependencyProject,_0x42986c[_0x351d34(0x18d)],_0x42986c[_0x351d34(0x153)]);_0x5fc2c4[_0x235db2[_0x351d34(0x129)]]=_0x2eb7ef[_0x235db2[_0x351d34(0x129)]],config[_0x235db2[_0x351d34(0x1a6)]][_0x351d34(0x146)](_0x5fc2c4),_0x3c736a['push'](_0x42986c[_0x351d34(0x18d)]);}),_0x1aab9b&&Array[_0x319bdc(0x170)](_0x1aab9b)&&_0x1aab9b['forEach'](_0x2f545d=>{const _0x39fde0=_0x319bdc;_0x235db2[_0x39fde0(0x18a)](validateKeys,_0x2f545d,_0x235db2[_0x39fde0(0x12d)]);if(_0x3c736a['includes'](_0x2f545d[_0x39fde0(0x18d)]))throw util[_0x39fde0(0x142)](PLAYWRIGHT_CONFIG_OPTION_ERRORS[_0x39fde0(0x1a2)],_0x235db2[_0x39fde0(0x12d)]);const _0xd761eb=_0x2f545d[_0x39fde0(0x19b)]?_0x235db2[_0x39fde0(0x15f)](createDependencyProject,_0x2f545d[_0x39fde0(0x18d)],_0x2f545d[_0x39fde0(0x153)],_0x2f545d[_0x39fde0(0x19b)]):_0x235db2[_0x39fde0(0x17d)](createDependencyProject,_0x2f545d[_0x39fde0(0x18d)],_0x2f545d[_0x39fde0(0x153)]);_0xd761eb[_0x235db2[_0x39fde0(0x129)]]=_0x2eb7ef[_0x235db2['SOzLc']],config[_0x235db2[_0x39fde0(0x1a6)]][_0x39fde0(0x146)](_0xd761eb),_0x991c3['push'](_0x2f545d[_0x39fde0(0x18d)]),_0x3c736a[_0x39fde0(0x146)](_0x2f545d['name']);}),_0x991c3;},validateKeys=(_0x594a4e,_0x3aa69f)=>{const _0x4734c1=a36_0x488de4,_0x270a46={};_0x270a46['gRrXs']=function(_0x5b1cf6,_0xb8a866){return _0x5b1cf6===_0xb8a866;},_0x270a46[_0x4734c1(0x196)]=_0x4734c1(0x19b),_0x270a46['WOuHP']=_0x4734c1(0x18d),_0x270a46[_0x4734c1(0x169)]=_0x4734c1(0x153),_0x270a46[_0x4734c1(0x130)]=function(_0x1330fe,_0x50002c){return _0x1330fe===_0x50002c;},_0x270a46[_0x4734c1(0x1b1)]=function(_0x33ad84,_0x358b25){return _0x33ad84===_0x358b25;};const _0x3ad9df=_0x270a46;if(![_0x3ad9df[_0x4734c1(0x178)],_0x3ad9df[_0x4734c1(0x169)]]['every'](_0x4dc9f7=>Object[_0x4734c1(0x161)](_0x594a4e)[_0x4734c1(0x1b3)](_0x4dc9f7)))throw util[_0x4734c1(0x142)](PLAYWRIGHT_CONFIG_OPTION_ERRORS[_0x4734c1(0x18c)],_0x3aa69f);Object['keys'](_0x594a4e)['forEach'](_0x5e718f=>{const _0x32172a=_0x4734c1;if(_0x3ad9df[_0x32172a(0x1a1)](_0x3aa69f,_0x3ad9df[_0x32172a(0x196)])){if(!(_0x3ad9df[_0x32172a(0x1a1)](_0x5e718f,_0x3ad9df['WOuHP'])||_0x3ad9df['gRrXs'](_0x5e718f,_0x3ad9df['NNtyo'])))throw util[_0x32172a(0x142)](PLAYWRIGHT_CONFIG_OPTION_ERRORS[_0x32172a(0x132)],_0x3aa69f);}else{if(!(_0x3ad9df[_0x32172a(0x1a1)](_0x5e718f,_0x3ad9df['WOuHP'])||_0x3ad9df[_0x32172a(0x130)](_0x5e718f,_0x3ad9df[_0x32172a(0x169)])||_0x3ad9df[_0x32172a(0x1b1)](_0x5e718f,_0x3ad9df['uwhpj'])))throw util['format'](PLAYWRIGHT_CONFIG_OPTION_ERRORS['invalidKeys'],_0x3aa69f);}});},createDependencyProject=(_0x4ebb13,_0x3eb42d,_0x450329)=>{const _0x86eaa1=a36_0x488de4;if(!_0x3eb42d){const _0x3e4439={};return _0x3e4439[_0x86eaa1(0x18d)]=_0x4ebb13,_0x3e4439['teardown']=_0x450329,_0x3e4439;}else{if(!_0x450329){const _0x37d47c={};return _0x37d47c[_0x86eaa1(0x18d)]=_0x4ebb13,_0x37d47c[_0x86eaa1(0x153)]=_0x3eb42d,_0x37d47c;}}const _0x44cee7={};return _0x44cee7[_0x86eaa1(0x18d)]=_0x4ebb13,_0x44cee7[_0x86eaa1(0x153)]=_0x3eb42d,_0x44cee7['teardown']=_0x450329,_0x44cee7;},getPWOptionsTests=async(_0x2163c0,_0x13a64a,_0x101e17)=>{const _0x33ed90=a36_0x488de4,_0xe6bbe1={'fYDRU':function(_0x1b4855,_0x5cbbc6){return _0x1b4855<_0x5cbbc6;},'zBLgr':function(_0x816e4e,_0xa29b27,_0xde0da3){return _0x816e4e(_0xa29b27,_0xde0da3);},'oJCLQ':function(_0xa5dc40,_0x335101){return _0xa5dc40===_0x335101;}},_0x1a27f0=[];for(let _0x413a87=0x0;_0xe6bbe1[_0x33ed90(0x14c)](_0x413a87,_0x2163c0[_0x33ed90(0x144)]);_0x413a87++){const _0x12163e=await _0xe6bbe1['zBLgr'](getTestListFromPWOptions,_0x413a87,_0x13a64a);_0x1a27f0[_0x33ed90(0x146)](_0xe6bbe1['oJCLQ'](_0x12163e[_0x33ed90(0x144)],0x0)?_0x101e17:_0x12163e);}return _0x1a27f0;},getTestListFromPWOptions=async(_0x4f90be,_0x37893b)=>{const _0x29b143=a36_0x488de4,_0x5a79a6={};_0x5a79a6[_0x29b143(0x156)]=_0x29b143(0x153),_0x5a79a6[_0x29b143(0x192)]=_0x29b143(0x16d),_0x5a79a6['GurJl']=_0x29b143(0x165),_0x5a79a6[_0x29b143(0x14a)]=function(_0xd9e839,_0x29d12c){return _0xd9e839===_0x29d12c;},_0x5a79a6[_0x29b143(0x1b9)]=_0x29b143(0x1ad),_0x5a79a6[_0x29b143(0x141)]=_0x29b143(0x136),_0x5a79a6[_0x29b143(0x17e)]=function(_0x1654ab,_0x5659c1){return _0x1654ab||_0x5659c1;},_0x5a79a6[_0x29b143(0x143)]=function(_0x4f53e0,_0x419c61){return _0x4f53e0+_0x419c61;},_0x5a79a6[_0x29b143(0x12e)]=_0x29b143(0x183);const _0x5840c2=_0x5a79a6,_0x29996a=browserstackSetup['config'][_0x29b143(0x162)][_0x4f90be][_0x29b143(0x138)];if(!_0x29996a)return[];const _0x2c1eb5=_0x29996a[_0x5840c2[_0x29b143(0x156)]],_0x139ff8=_0x29996a[_0x5840c2['lYqjD']],_0x2b3827=config[_0x5840c2[_0x29b143(0x15d)]],_0x49bf82=_0x29996a[_0x5840c2[_0x29b143(0x15d)]];if(_0x2c1eb5&&!(_0x5840c2['dqioo'](typeof _0x2c1eb5,_0x5840c2['MYScm'])||Array['isArray'](_0x2c1eb5)))throw util[_0x29b143(0x142)](PLAYWRIGHT_CONFIG_OPTION_ERRORS[_0x29b143(0x148)],_0x5840c2[_0x29b143(0x156)]);if(_0x139ff8&&!(_0x5840c2[_0x29b143(0x14a)](typeof _0x139ff8,_0x5840c2[_0x29b143(0x1b9)])||Array[_0x29b143(0x170)](_0x139ff8)))throw util[_0x29b143(0x142)](PLAYWRIGHT_CONFIG_OPTION_ERRORS[_0x29b143(0x148)],_0x5840c2[_0x29b143(0x192)]);let _0x2a098b=[];const _0x1b490e={};_0x1b490e['respectGitIgnore']=!![],_0x1b490e[_0x29b143(0x165)]='',_0x1b490e[_0x29b143(0x153)]='',_0x1b490e[_0x29b143(0x16d)]='';const _0xa8049b={};_0xa8049b[_0x29b143(0x1b6)]=!![];const _0x567e4f={};_0x567e4f[_0x29b143(0x176)]=_0x1b490e,_0x567e4f[_0x29b143(0x175)]=_0xa8049b;let _0x406348=_0x567e4f;try{const _0x2c81e1=_0x5840c2[_0x29b143(0x141)][_0x29b143(0x126)]('|');let _0x308262=0x0;while(!![]){switch(_0x2c81e1[_0x308262++]){case'0':_0x2a098b=await _0x37893b[_0x29b143(0x154)](_0x406348);continue;case'1':_0x5840c2[_0x29b143(0x17e)](_0x49bf82,_0x2b3827)&&(_0x406348['project'][_0x5840c2[_0x29b143(0x15d)]]=_0x5840c2[_0x29b143(0x17e)](_0x49bf82,_0x2b3827));continue;case'2':_0x139ff8&&(_0x406348[_0x29b143(0x176)][_0x5840c2['lYqjD']]=_0x139ff8);continue;case'3':_0x406348=Object['assign'](_0x406348,_0x406348[_0x29b143(0x176)]);continue;case'4':_0x2c1eb5&&(_0x406348[_0x29b143(0x176)][_0x5840c2[_0x29b143(0x156)]]=_0x2c1eb5);continue;}break;}}catch(_0x32ed0e){console[_0x29b143(0x137)](_0x5840c2[_0x29b143(0x143)](_0x5840c2[_0x29b143(0x12e)],_0x32ed0e));}return _0x2a098b;},addReporter=()=>{const _0x52a65c=a36_0x488de4,_0x29e5a3={};_0x29e5a3[_0x52a65c(0x152)]=_0x52a65c(0x150),_0x29e5a3[_0x52a65c(0x145)]=_0x52a65c(0x180),_0x29e5a3[_0x52a65c(0x17b)]=function(_0x43eaf2,_0x501501){return _0x43eaf2===_0x501501;},_0x29e5a3[_0x52a65c(0x18e)]=_0x52a65c(0x1ad),_0x29e5a3[_0x52a65c(0x151)]=function(_0x351180,_0x57bd11){return _0x351180===_0x57bd11;},_0x29e5a3['eAgae']=_0x52a65c(0x13a);const _0x37ec44=_0x29e5a3,_0x2b52d4=path[_0x52a65c(0x187)](__dirname,_0x37ec44[_0x52a65c(0x152)]),_0x4792e5=[_0x2b52d4];if(helper[_0x52a65c(0x184)](config[_0x37ec44['NAGeN']]))config[_0x37ec44[_0x52a65c(0x145)]]=[_0x4792e5];else{if(_0x37ec44[_0x52a65c(0x17b)](typeof config[_0x37ec44['NAGeN']],_0x37ec44[_0x52a65c(0x18e)]))config[_0x37ec44[_0x52a65c(0x145)]]=[[config[_0x37ec44[_0x52a65c(0x145)]]],_0x4792e5];else _0x37ec44[_0x52a65c(0x151)](typeof config[_0x37ec44[_0x52a65c(0x145)]],_0x37ec44[_0x52a65c(0x140)])&&config[_0x37ec44[_0x52a65c(0x145)]][_0x52a65c(0x146)](_0x4792e5);}},setGlobalSetup=_0x17c194=>{const _0x2ce874=a36_0x488de4,_0x51374f={};_0x51374f['GCOhZ']=_0x2ce874(0x16c),_0x51374f[_0x2ce874(0x167)]=_0x2ce874(0x194),_0x51374f[_0x2ce874(0x133)]=function(_0x317276,_0x46a878){return _0x317276+_0x46a878;},_0x51374f[_0x2ce874(0x15e)]=_0x2ce874(0x1a5),_0x51374f['GminP']=_0x2ce874(0x171);const _0x575ab0=_0x51374f;if(!config)return;try{if(config[_0x2ce874(0x16c)]){let _0x1c3b53;const _0x8870b3=path[_0x2ce874(0x15a)](_0x17c194,config[_0x575ab0[_0x2ce874(0x1ab)]]);if(fs[_0x2ce874(0x168)](_0x8870b3))_0x1c3b53=_0x8870b3;else{const _0x49a25d={};_0x49a25d[_0x2ce874(0x13d)]=[_0x17c194],_0x1c3b53=require[_0x2ce874(0x15a)](config[_0x575ab0[_0x2ce874(0x1ab)]],_0x49a25d);}if(!_0x1c3b53)throw new Error(_0x575ab0[_0x2ce874(0x167)]);process[_0x2ce874(0x12a)]['BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP']=_0x1c3b53;}}catch(_0x1e44b4){console['log'](_0x575ab0[_0x2ce874(0x133)](_0x575ab0[_0x2ce874(0x15e)],_0x1e44b4));}config['globalSetup']=require[_0x2ce874(0x15a)](_0x575ab0[_0x2ce874(0x1b2)]);},getCurrentModifiedConfig=async()=>{const _0x1b7571=a36_0x488de4,_0x29ae84={'VkHKR':_0x1b7571(0x17c),'tyDoy':_0x1b7571(0x16b),'GqIcw':function(_0x3f20a4,_0x7a20e5){return _0x3f20a4(_0x7a20e5);},'LUrNF':function(_0xc8f478,_0x54dd74){return _0xc8f478(_0x54dd74);},'CvrBM':function(_0x24e79b){return _0x24e79b();}},_0x3fb33b=process['env'][_0x1b7571(0x197)],_0x35e557=process['env'][_0x1b7571(0x185)];browserstackSetup[_0x29ae84[_0x1b7571(0x181)]]=helper[_0x1b7571(0x123)](fs[_0x1b7571(0x164)](_0x3fb33b,_0x29ae84['tyDoy'])),_0x29ae84[_0x1b7571(0x19f)](setGlobalSetup,_0x35e557);const _0xc47afa=!helper[_0x1b7571(0x193)](process[_0x1b7571(0x12a)]['BROWSERSTACK_TEST_OBSERVABILITY']);_0xc47afa&&_0x29ae84[_0x1b7571(0x12c)](addReporter,config),helper[_0x1b7571(0x198)](process[_0x1b7571(0x12a)][_0x1b7571(0x174)])&&await _0x29ae84['CvrBM'](handleAutomationTrue);},getUserPWConfig=async _0x41ee4c=>{const _0x501c95=a36_0x488de4,_0xe154cf={'npzFo':function(_0x4a398c){return _0x4a398c();},'gMUNy':function(_0x121af4,_0x2d1d93){return _0x121af4(_0x2d1d93);},'zjXsi':function(_0x2a10e9,_0x2f710d){return _0x2a10e9===_0x2f710d;},'vQljg':_0x501c95(0x13a),'nriCB':function(_0x771df0,_0x14d9f9){return _0x771df0 in _0x14d9f9;},'HRqlz':_0x501c95(0x12f)},{requireOrImport:_0x4879e2}=helper[_0x501c95(0x13f)][_0x501c95(0x19c)](null,_0xe154cf['npzFo'](getTransformPath));let _0x22ad00=await _0xe154cf[_0x501c95(0x179)](_0x4879e2,_0x41ee4c);return _0x22ad00&&_0xe154cf[_0x501c95(0x1b7)](typeof _0x22ad00,_0xe154cf[_0x501c95(0x1b0)])&&_0xe154cf[_0x501c95(0x1a3)](_0xe154cf[_0x501c95(0x1b8)],_0x22ad00)&&(_0x22ad00=_0x22ad00[_0xe154cf['HRqlz']]),_0x22ad00;},modifyConfig=async()=>{const _0x5631d9=a36_0x488de4,_0x446a2b={'vONeQ':function(_0x350eab,_0x475a63){return _0x350eab===_0x475a63;},'Plmpo':function(_0x4bd7fd,_0x528c74){return _0x4bd7fd(_0x528c74);},'rumDd':function(_0x2cba7d){return _0x2cba7d();}},_0x6ab71=process[_0x5631d9(0x12a)][_0x5631d9(0x177)];return config=_0x446a2b[_0x5631d9(0x1a0)](_0x6ab71[_0x5631d9(0x144)],0x0)?{}:await _0x446a2b['Plmpo'](getUserPWConfig,_0x6ab71),await _0x446a2b[_0x5631d9(0x182)](getCurrentModifiedConfig),helper[_0x5631d9(0x195)](config),config;};module[a36_0x488de4(0x19a)]=modifyConfig;function a36_0x1841(){const _0x1f89d8=['NXRov','cyyyu','platformCaps','reporter','VkHKR','rumDd','Error\x20in\x20setting\x20up\x20playwright\x20config\x20due\x20to\x20playwright\x20Config\x20Options:\x20ErrorTrace:','isUndefined','BROWSERSTACK_PW_CONFIG_DIR','playwright','join','bNEuL','11758qRmPAK','nnYVT','dependencies','mandatoryDependency','name','JAGwl','IKFPx','fMEIt','Error\x20in\x20generating\x20parallellised\x20config\x20for\x20playwright\x20','lYqjD','isFalse','Can\x27t\x20get\x20user\x20defined\x20global\x20setup\x20file','writeTempPWConfig','uwhpj','BROWSERSTACK_SETUP_CONFIG_PATH','isTrue','assign','exports','teardown','apply','forEach','Fbgio','GqIcw','vONeQ','gRrXs','uniqueDependency','nriCB','updatePlaywrightConfigOptions','Error\x20in\x20running\x20user\x20global\x20setup\x20for\x20playwright','EmIvp','use','11817dalBHc','util','54786lDTbED','GCOhZ','../../helpers/helper','string','KeIeS','deepClone','vQljg','USmTz','GminP','includes','QlnsC','655151Hjzsgd','respectGitIgnore','zjXsi','HRqlz','MYScm','pFmqX','parseYaml','tSYps','path','split','3408eeBvRf','4637190ROeyxE','SOzLc','env','27xOmJHt','LUrNF','XMPTP','RpzWg','default','aCGQP','nOLqL','invalidKeys','YWAXS','TMKIw','Yeapo','1|4|2|3|0','log','playwrightConfigOptions','321588fNpBbP','object','253988LnbgKG','FXpap','paths','projects','requirePWModule','eAgae','ttDiI','format','hnvfq','length','NAGeN','push','oaxBZ','invalidTestInputType','setup','dqioo','130AKjsom','fYDRU','CzOiI','VxfJs','eKbvV','./reporter/reporter.js','yehUi','NdrbH','testMatch','collectFilesForProject','sdlXN','NnPqw','workers','RcjcC','stringify','resolve','GspTd','parallelsPerPlatform','GurJl','GYpJK','lYFKY','djFRb','keys','platforms','./reporter/pwUtils','readFileSync','testDir','154BVuKjH','blUjo','existsSync','NNtyo','modifyBrowserStackCaps','utf8','globalSetup','testIgnore','kUoWC','BHbKg','isArray','./globalSetup.js','ifins','140QZDazd','BROWSERSTACK_AUTOMATION','_internal','project','USER_CONFIG_DETAILS_PATH','WOuHP','gMUNy','kCNMu','hMLvh','config'];a36_0x1841=function(){return _0x1f89d8;};return a36_0x1841();}
|
|
1
|
+
const a36_0x2fb9f7=a36_0x2518;(function(_0x439a3a,_0x26e025){const _0x19c28e=a36_0x2518,_0x5531db=_0x439a3a();while(!![]){try{const _0x5d4e4d=-parseInt(_0x19c28e(0xbf))/0x1*(-parseInt(_0x19c28e(0xa5))/0x2)+-parseInt(_0x19c28e(0x94))/0x3*(parseInt(_0x19c28e(0xba))/0x4)+parseInt(_0x19c28e(0x9d))/0x5+parseInt(_0x19c28e(0xbd))/0x6+-parseInt(_0x19c28e(0xd3))/0x7+parseInt(_0x19c28e(0x6f))/0x8+parseInt(_0x19c28e(0x7a))/0x9*(-parseInt(_0x19c28e(0x8f))/0xa);if(_0x5d4e4d===_0x26e025)break;else _0x5531db['push'](_0x5531db['shift']());}catch(_0x4eba1a){_0x5531db['push'](_0x5531db['shift']());}}}(a36_0x3368,0x69394));function a36_0x3368(){const _0x410cbf=['apply','includes','setup','dXxVc','string','name','Fplkd','testMatch','modifyBrowserStackCaps','workers','pcAHb','PkAdN','811629ICaJcj','ZQasz','ZjrpV','use','playwrightProjectNameUpdate','Rnwuz','../../bin/utils/constants','TcHHK','BgInQ','Error\x20in\x20running\x20user\x20global\x20setup\x20for\x20playwright','vSZAq','path','GFmsv','format','reporter','Can\x27t\x20get\x20user\x20defined\x20global\x20setup\x20file','xmdcv','YGvql','env','ufjCQ','yNNqM','_internal','isArray','jWHHD','testIgnore','CnmYg','readFileSync','vuVGD','JMPMC','./reporter/reporter.js','playwrightConfigOptions','deepClone','requirePWModule','CkgoY','IQlCB','paths','updatePlaywrightConfigOptions','HqkpJ','parseYaml','PPGhB','YPHbg','5092816aetoJe','respectGitIgnore','GtEcr','utf8','VdupZ','uWedV','isUndefined','globalSetup','tPLrs','BROWSERSTACK_AUTOMATION','push','9VEYDjT','TMzDX','resolve','gzDqW','BROWSERSTACK_TEST_OBSERVABILITY','Dspbr','forEach','projects','AjlLD','DHsjO','WWgGf','platformCaps','yJkgM','fkwxB','uXzsp','BJcjp','collectFilesForProject','assign','every','zioAz','ZWHup','11016260gNgXvu','parallelsPerPlatform','BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP','writeTempPWConfig','irpNS','14820KDdfYc','bmvwq','util','default','MFpuZ','testDir','object','isTrue','invalidKeys','1952875MVhzNP','teardown','hramt','./globalSetup.js','kcMGL','isFalse','BROWSERSTACK_SETUP_CONFIG_PATH','length','1284342fJRtzb','EIxsg','invalidTestInputType','vEjDL','ORPzU','config','stuPe','platforms','VhqvE','project','Ewaqe','oemFr','ybdiN','uniqueDependency','FuSSk','aFDsQ','ePWcr','log','Error\x20in\x20setting\x20up\x20playwright\x20config\x20due\x20to\x20playwright\x20Config\x20Options:\x20ErrorTrace:','niguy','MMMlr','524KLHlFc','existsSync','ZzKyR','3758166Dhmmkp','uSeIy','1wNecDn','fgctK','cbBnR','ywxBE','Error\x20in\x20generating\x20parallellised\x20config\x20for\x20playwright\x20','irzQB','trgnw','mandatoryDependency'];a36_0x3368=function(){return _0x410cbf;};return a36_0x3368();}function a36_0x2518(_0x1eb053,_0x431e7f){const _0x3368fa=a36_0x3368();return a36_0x2518=function(_0x251898,_0x1bcd41){_0x251898=_0x251898-0x6f;let _0x4c67=_0x3368fa[_0x251898];return _0x4c67;},a36_0x2518(_0x1eb053,_0x431e7f);}const fs=require('fs'),util=require(a36_0x2fb9f7(0x96)),path=require(a36_0x2fb9f7(0xde));let config={};const browserstackSetup={},helper=require('../../helpers/helper'),{PLAYWRIGHT_CONFIG_OPTION_ERRORS}=require(a36_0x2fb9f7(0xd9)),{getTransformPath,getProjectUtilsPath}=require('./reporter/pwUtils'),handleAutomationTrue=async()=>{const _0x41babc=a36_0x2fb9f7,_0x2a8697={'trgnw':'playwright','bmvwq':'use','JiyHC':'connectOptions','fgctK':function(_0x480132,_0x3a7ea3){return _0x480132+_0x3a7ea3;},'TcHHK':function(_0x1a2603,_0x28a268){return _0x1a2603(_0x28a268);},'vEjDL':function(_0x5d2092,_0x3230d9,_0x51d3e1,_0x324a83){return _0x5d2092(_0x3230d9,_0x51d3e1,_0x324a83);},'wrGkq':_0x41babc(0x81),'yWpmU':function(_0x3077a7){return _0x3077a7();},'gzDqW':'testDir','YPHbg':'testMatch','irzQB':_0x41babc(0xeb),'NmYQl':_0x41babc(0xc3),'YGvql':function(_0x4da57a,_0x134377,_0xa6987b,_0x5b9346){return _0x4da57a(_0x134377,_0xa6987b,_0x5b9346);},'zioAz':function(_0xaf33d,_0x13ff5c){return _0xaf33d*_0x13ff5c;},'jWHHD':_0x41babc(0xd0)};if(helper[_0x41babc(0x9b)](process[_0x41babc(0xe5)][_0x41babc(0x78)])){config[_0x2a8697['wrGkq']]=[];const _0x2d593c=[];browserstackSetup[_0x41babc(0xaa)][_0x41babc(0xac)]['forEach']((_0x314f9b,_0x43fba4)=>{const _0x188197=_0x41babc;_0x2d593c[_0x188197(0x79)](helper[_0x188197(0xcf)](browserstackSetup[_0x188197(0xaa)],_0x2a8697[_0x188197(0xc5)],_0x43fba4));});let _0x8a83f7,_0x23d1be=[];try{_0x8a83f7=helper[_0x41babc(0xf3)][_0x41babc(0xc7)](null,_0x2a8697['yWpmU'](getProjectUtilsPath));const _0x4c5518={};_0x4c5518[_0x41babc(0x70)]=!![];const _0x203348={};_0x203348[_0x41babc(0x70)]=!![],_0x203348[_0x41babc(0x99)]='',_0x203348[_0x41babc(0xce)]='',_0x203348[_0x41babc(0xeb)]='',_0x203348[_0x41babc(0xe8)]=_0x4c5518;const _0x3c0082={};_0x3c0082[_0x41babc(0xae)]=_0x203348;let _0x4fa2ad=_0x3c0082;config[_0x2a8697['gzDqW']]&&(_0x4fa2ad[_0x41babc(0xae)][_0x2a8697['gzDqW']]=config[_0x2a8697[_0x41babc(0x7d)]]),config[_0x2a8697[_0x41babc(0xfb)]]&&(_0x4fa2ad['project'][_0x2a8697[_0x41babc(0xfb)]]=config[_0x2a8697[_0x41babc(0xfb)]]),config[_0x2a8697[_0x41babc(0xc4)]]&&(_0x4fa2ad['project'][_0x2a8697[_0x41babc(0xc4)]]=config[_0x2a8697[_0x41babc(0xc4)]]),_0x4fa2ad=Object[_0x41babc(0x8b)](_0x4fa2ad,_0x4fa2ad[_0x41babc(0xae)]),_0x23d1be=await _0x8a83f7[_0x41babc(0x8a)](_0x4fa2ad);}catch(_0x464f6d){console[_0x41babc(0xb6)](_0x2a8697[_0x41babc(0xc0)](_0x2a8697['NmYQl'],util[_0x41babc(0xe0)](_0x464f6d)));}const _0x587944=helper['getPlaywrightUrl'](browserstackSetup['config']),_0x3c7cb0=await _0x2a8697[_0x41babc(0xe4)](getPWOptionsTests,_0x2d593c,_0x8a83f7,_0x23d1be);_0x2d593c[_0x41babc(0x80)]((_0x247582,_0x26319a)=>{const _0x1bdd2c=_0x41babc,_0x27576d={},_0x42f2c8={};_0x42f2c8['platformCaps']=browserstackSetup['config'][_0x1bdd2c(0xac)][_0x26319a],_0x27576d[_0x2a8697[_0x1bdd2c(0x95)]]=_0x42f2c8,helper[_0x1bdd2c(0xd7)](_0x247582,_0x27576d),helper[_0x1bdd2c(0xf7)](_0x27576d,browserstackSetup[_0x1bdd2c(0xaa)]['platforms'][_0x26319a],browserstackSetup[_0x1bdd2c(0xaa)][_0x1bdd2c(0xac)][_0x26319a][_0x1bdd2c(0xf1)]||config[_0x1bdd2c(0xf1)]||null),_0x27576d[_0x2a8697[_0x1bdd2c(0x95)]][_0x2a8697['JiyHC']]={'wsEndpoint':_0x2a8697['fgctK'](_0x587944,_0x2a8697[_0x1bdd2c(0xda)](encodeURIComponent,JSON['stringify'](_0x247582)))},_0x2a8697[_0x1bdd2c(0xa8)](addProjectToProjectList,_0x3c7cb0,_0x26319a,_0x27576d);});_0x23d1be['length']&&(config[_0x2a8697[_0x41babc(0xfb)]]='',config[_0x2a8697['gzDqW']]='');const _0x185a74=_0x2a8697[_0x41babc(0x8d)](browserstackSetup[_0x41babc(0xaa)]['platforms'][_0x41babc(0xa4)]||0x1,browserstackSetup[_0x41babc(0xaa)][_0x41babc(0x90)]);config[_0x2a8697[_0x41babc(0xea)]]=_0x185a74;}},addProjectToProjectList=(_0x2893a8,_0x471db2,_0x29844f)=>{const _0x47def4=a36_0x2fb9f7,_0x3e708e={'IsTEW':function(_0x3030b6,_0x46cd7b){return _0x3030b6>_0x46cd7b;},'ybdiN':'dependencies','DHsjO':'testMatch','AAijQ':'setup','YiIQp':'teardown','CkgoY':_0x47def4(0x81),'kcMGL':_0x47def4(0xd6),'dXxVc':_0x47def4(0x85),'PVGGD':_0x47def4(0xf1),'ZQasz':function(_0x21e25d,_0x2b2a22,_0x5561d9){return _0x21e25d(_0x2b2a22,_0x5561d9);}},_0x45bc85=_0x2893a8[_0x471db2],_0x233568=browserstackSetup[_0x47def4(0xaa)][_0x47def4(0xac)][_0x471db2][_0x47def4(0xf1)];_0x29844f[_0x3e708e['kcMGL']][_0x3e708e[_0x47def4(0xca)]][_0x3e708e['PVGGD']]&&delete _0x29844f[_0x3e708e[_0x47def4(0xa1)]][_0x3e708e['dXxVc']][_0x3e708e['PVGGD']];const _0x5ebb45=_0x3e708e[_0x47def4(0xd4)](setSetupAndTeardownConfigs,helper['deepClone'](_0x29844f),_0x233568);_0x3e708e['IsTEW'](_0x45bc85[_0x47def4(0xa4)],0x0)?_0x45bc85[_0x47def4(0x80)](_0x3d3dfb=>{const _0x401042=_0x47def4,_0x1b17fd=helper[_0x401042(0xf2)](_0x29844f);_0x3e708e['IsTEW'](_0x5ebb45[_0x401042(0xa4)],0x0)&&(_0x1b17fd[_0x3e708e[_0x401042(0xb1)]]=_0x5ebb45),_0x1b17fd[_0x3e708e[_0x401042(0x83)]]=_0x3d3dfb,_0x1b17fd[_0x3e708e['AAijQ']]&&delete _0x1b17fd['setup'],_0x1b17fd[_0x3e708e['YiIQp']]&&delete _0x1b17fd['teardown'],config[_0x3e708e[_0x401042(0xf4)]][_0x401042(0x79)](_0x1b17fd);}):config[_0x3e708e[_0x47def4(0xf4)]][_0x47def4(0x79)](_0x29844f);},setSetupAndTeardownConfigs=(_0x2950e3,_0xcb1fcb)=>{const _0x33be14=a36_0x2fb9f7,_0xd8a593={'Rnwuz':function(_0x369032,_0x201db2,_0x403c28){return _0x369032(_0x201db2,_0x403c28);},'Dspbr':_0x33be14(0x9e),'GtEcr':function(_0x560cdd,_0x4fcfa7,_0xd4d61b,_0x17da51){return _0x560cdd(_0x4fcfa7,_0xd4d61b,_0x17da51);},'BJcjp':_0x33be14(0xd6),'pcAHb':_0x33be14(0x81),'ZjrpV':function(_0x212b1f,_0x1ba305,_0x8fc563){return _0x212b1f(_0x1ba305,_0x8fc563);},'IQlCB':_0x33be14(0xc9),'niguy':function(_0x332564,_0x4b7908,_0x1707a3,_0x59ee65,_0x2dc2f8){return _0x332564(_0x4b7908,_0x1707a3,_0x59ee65,_0x2dc2f8);},'ufjCQ':function(_0x5b24bd,_0x1d82b5,_0x2f0316,_0x24d863){return _0x5b24bd(_0x1d82b5,_0x2f0316,_0x24d863);}};if(!_0xcb1fcb)return[];const _0x475e56=[],_0x8cf47b=[];let _0x2e847e,_0x2819fe;return _0xcb1fcb[_0xd8a593['IQlCB']]&&(_0x2e847e=_0xcb1fcb[_0xd8a593[_0x33be14(0xf5)]]),_0xcb1fcb[_0xd8a593[_0x33be14(0x7f)]]&&(_0x2819fe=_0xcb1fcb[_0xd8a593[_0x33be14(0x7f)]]),_0x2819fe&&Array['isArray'](_0x2819fe)&&_0x2819fe[_0x33be14(0x80)](_0x4b5ce8=>{const _0x6bec23=_0x33be14;_0xd8a593[_0x6bec23(0xd8)](validateKeys,_0x4b5ce8,_0xd8a593[_0x6bec23(0x7f)]);if(_0x475e56[_0x6bec23(0xc8)](_0x4b5ce8[_0x6bec23(0xcc)]))throw util[_0x6bec23(0xe0)](PLAYWRIGHT_CONFIG_OPTION_ERRORS[_0x6bec23(0xb2)],_0xd8a593['Dspbr']);const _0x20a7a8=_0xd8a593[_0x6bec23(0x71)](createDependencyProject,_0x4b5ce8['name'],_0x4b5ce8[_0x6bec23(0xce)],_0x4b5ce8[_0x6bec23(0x99)]);_0x20a7a8[_0xd8a593['BJcjp']]=_0x2950e3[_0xd8a593[_0x6bec23(0x89)]],config[_0xd8a593[_0x6bec23(0xd1)]]['push'](_0x20a7a8),_0x475e56[_0x6bec23(0x79)](_0x4b5ce8[_0x6bec23(0xcc)]);}),_0x2e847e&&Array[_0x33be14(0xe9)](_0x2e847e)&&_0x2e847e['forEach'](_0x212ac8=>{const _0x3181f1=_0x33be14;_0xd8a593[_0x3181f1(0xd5)](validateKeys,_0x212ac8,_0xd8a593[_0x3181f1(0xf5)]);if(_0x475e56['includes'](_0x212ac8[_0x3181f1(0xcc)]))throw util['format'](PLAYWRIGHT_CONFIG_OPTION_ERRORS[_0x3181f1(0xb2)],_0xd8a593[_0x3181f1(0xf5)]);const _0x4c360e=_0x212ac8[_0x3181f1(0x9e)]?_0xd8a593[_0x3181f1(0xb8)](createDependencyProject,_0x212ac8['name'],_0x212ac8['testMatch'],_0x212ac8[_0x3181f1(0x99)],_0x212ac8['teardown']):_0xd8a593[_0x3181f1(0xe6)](createDependencyProject,_0x212ac8[_0x3181f1(0xcc)],_0x212ac8[_0x3181f1(0xce)],_0x212ac8[_0x3181f1(0x99)]);_0x4c360e[_0xd8a593[_0x3181f1(0x89)]]=_0x2950e3[_0xd8a593[_0x3181f1(0x89)]],config[_0xd8a593[_0x3181f1(0xd1)]][_0x3181f1(0x79)](_0x4c360e),_0x8cf47b['push'](_0x212ac8[_0x3181f1(0xcc)]),_0x475e56[_0x3181f1(0x79)](_0x212ac8['name']);}),_0x8cf47b;},validateKeys=(_0x487597,_0x1603c5)=>{const _0x406e22=a36_0x2fb9f7,_0x3680fc={};_0x3680fc[_0x406e22(0xef)]=function(_0x1b90e3,_0x32fa0f){return _0x1b90e3===_0x32fa0f;},_0x3680fc['stuPe']=_0x406e22(0x9e),_0x3680fc[_0x406e22(0x82)]=_0x406e22(0xcc),_0x3680fc['ZWHup']=_0x406e22(0xce),_0x3680fc[_0x406e22(0x87)]=_0x406e22(0x99);const _0x2612cd=_0x3680fc;if(![_0x2612cd[_0x406e22(0x82)],_0x2612cd[_0x406e22(0x8e)]][_0x406e22(0x8c)](_0x24036e=>Object['keys'](_0x487597)[_0x406e22(0xc8)](_0x24036e)))throw util[_0x406e22(0xe0)](PLAYWRIGHT_CONFIG_OPTION_ERRORS[_0x406e22(0xc6)],_0x1603c5);Object['keys'](_0x487597)[_0x406e22(0x80)](_0x4f2afc=>{const _0x4be059=_0x406e22;if(_0x2612cd[_0x4be059(0xef)](_0x1603c5,_0x2612cd[_0x4be059(0xab)])){if(![_0x2612cd['AjlLD'],_0x2612cd[_0x4be059(0x8e)],_0x2612cd[_0x4be059(0x87)]][_0x4be059(0xc8)](_0x4f2afc))throw util['format'](PLAYWRIGHT_CONFIG_OPTION_ERRORS['invalidKeys'],_0x1603c5);}else{if(![_0x2612cd[_0x4be059(0x82)],_0x2612cd[_0x4be059(0x8e)],_0x2612cd[_0x4be059(0xab)],_0x2612cd[_0x4be059(0x87)]]['includes'](_0x4f2afc))throw util[_0x4be059(0xe0)](PLAYWRIGHT_CONFIG_OPTION_ERRORS[_0x4be059(0x9c)],_0x1603c5);}});},createDependencyProject=(_0x2a01ec,_0x19cf87,_0x580447,_0x2f9978)=>{const _0xb19fba=a36_0x2fb9f7,_0x127121={};_0x127121['name']=_0x2a01ec,_0x127121[_0xb19fba(0xce)]=_0x19cf87,_0x127121[_0xb19fba(0x9e)]=_0x2f9978,_0x127121[_0xb19fba(0x99)]=_0x580447;const _0x153cd6=_0x127121;return Object['keys'](_0x153cd6)[_0xb19fba(0x80)](_0x697142=>helper['isUndefined'](_0x153cd6[_0x697142])&&delete _0x153cd6[_0x697142]),_0x153cd6;},getPWOptionsTests=async(_0x4b8113,_0x22b701,_0x49481e)=>{const _0x2dcb57=a36_0x2fb9f7,_0x415763={'pCDzt':function(_0x57616e,_0x2462f8){return _0x57616e<_0x2462f8;},'HqkpJ':function(_0x4bb176,_0x1ee14b,_0x379dd7){return _0x4bb176(_0x1ee14b,_0x379dd7);},'ORPzU':function(_0x209bfc,_0x3e11ac){return _0x209bfc===_0x3e11ac;}},_0x1241ba=[];for(let _0x5cd9db=0x0;_0x415763['pCDzt'](_0x5cd9db,_0x4b8113[_0x2dcb57(0xa4)]);_0x5cd9db++){const _0x49444a=await _0x415763[_0x2dcb57(0xf8)](getTestListFromPWOptions,_0x5cd9db,_0x22b701);_0x1241ba[_0x2dcb57(0x79)](_0x415763[_0x2dcb57(0xa9)](_0x49444a['length'],0x0)?_0x49481e:_0x49444a);}return _0x1241ba;},getTestListFromPWOptions=async(_0x51db68,_0x3f8e59)=>{const _0x66038=a36_0x2fb9f7,_0x310a23={};_0x310a23[_0x66038(0xfa)]=_0x66038(0xce),_0x310a23[_0x66038(0xa6)]=_0x66038(0xeb),_0x310a23[_0x66038(0xbc)]=_0x66038(0x99),_0x310a23[_0x66038(0xdd)]=function(_0x4f3436,_0x19ebc7){return _0x4f3436===_0x19ebc7;},_0x310a23[_0x66038(0xad)]=_0x66038(0xcb),_0x310a23[_0x66038(0x73)]=function(_0x10a31e,_0x3715ce){return _0x10a31e===_0x3715ce;},_0x310a23['cbBnR']='0|1|2|4|3',_0x310a23['PkAdN']=function(_0x1cbe5d,_0x220712){return _0x1cbe5d||_0x220712;},_0x310a23[_0x66038(0xe3)]=function(_0x2273c3,_0x22f9c9){return _0x2273c3+_0x22f9c9;},_0x310a23[_0x66038(0x86)]=_0x66038(0xb7);const _0x3ccc48=_0x310a23,_0x2360c7=browserstackSetup[_0x66038(0xaa)][_0x66038(0xac)][_0x51db68][_0x66038(0xf1)];if(!_0x2360c7)return[];const _0x5b1420=_0x2360c7[_0x3ccc48[_0x66038(0xfa)]],_0x18964c=_0x2360c7[_0x3ccc48[_0x66038(0xa6)]],_0xf2bd0a=config[_0x3ccc48[_0x66038(0xbc)]],_0x63bfff=_0x2360c7[_0x3ccc48[_0x66038(0xbc)]];if(_0x5b1420&&!(_0x3ccc48[_0x66038(0xdd)](typeof _0x5b1420,_0x3ccc48['VhqvE'])||Array['isArray'](_0x5b1420)))throw util[_0x66038(0xe0)](PLAYWRIGHT_CONFIG_OPTION_ERRORS[_0x66038(0xa7)],_0x3ccc48[_0x66038(0xfa)]);if(_0x18964c&&!(_0x3ccc48[_0x66038(0x73)](typeof _0x18964c,_0x3ccc48[_0x66038(0xad)])||Array[_0x66038(0xe9)](_0x18964c)))throw util['format'](PLAYWRIGHT_CONFIG_OPTION_ERRORS[_0x66038(0xa7)],_0x3ccc48['EIxsg']);let _0x189a45=[];const _0x5ec505={};_0x5ec505[_0x66038(0x70)]=!![],_0x5ec505[_0x66038(0x99)]='',_0x5ec505[_0x66038(0xce)]='',_0x5ec505[_0x66038(0xeb)]='';const _0x411cd6={};_0x411cd6[_0x66038(0x70)]=!![];const _0x252b54={};_0x252b54['project']=_0x5ec505,_0x252b54[_0x66038(0xe8)]=_0x411cd6;let _0x4736b9=_0x252b54;try{const _0x3bf107=_0x3ccc48[_0x66038(0xc1)]['split']('|');let _0x2cadfe=0x0;while(!![]){switch(_0x3bf107[_0x2cadfe++]){case'0':_0x3ccc48[_0x66038(0xd2)](_0x63bfff,_0xf2bd0a)&&(_0x4736b9['project'][_0x3ccc48[_0x66038(0xbc)]]=_0x3ccc48[_0x66038(0xd2)](_0x63bfff,_0xf2bd0a));continue;case'1':_0x5b1420&&(_0x4736b9['project'][_0x3ccc48['PPGhB']]=_0x5b1420);continue;case'2':_0x18964c&&(_0x4736b9[_0x66038(0xae)][_0x3ccc48['EIxsg']]=_0x18964c);continue;case'3':_0x189a45=await _0x3f8e59['collectFilesForProject'](_0x4736b9);continue;case'4':_0x4736b9=Object[_0x66038(0x8b)](_0x4736b9,_0x4736b9[_0x66038(0xae)]);continue;}break;}}catch(_0x3424a1){console[_0x66038(0xb6)](_0x3ccc48['xmdcv'](_0x3ccc48[_0x66038(0x86)],_0x3424a1));}return _0x189a45;},addReporter=()=>{const _0x7b4d6d=a36_0x2fb9f7,_0x4934d8={};_0x4934d8['uWedV']=_0x7b4d6d(0xf0),_0x4934d8[_0x7b4d6d(0xb0)]=_0x7b4d6d(0xe1),_0x4934d8[_0x7b4d6d(0xb4)]=function(_0x3fa744,_0x222d00){return _0x3fa744===_0x222d00;},_0x4934d8[_0x7b4d6d(0xe7)]=_0x7b4d6d(0xcb),_0x4934d8[_0x7b4d6d(0xb9)]=function(_0x1812b2,_0x3bf5f3){return _0x1812b2===_0x3bf5f3;},_0x4934d8['uSeIy']=_0x7b4d6d(0x9a);const _0x2139d3=_0x4934d8,_0x248738=path['join'](__dirname,_0x2139d3[_0x7b4d6d(0x74)]),_0x2969d7=[_0x248738];if(helper[_0x7b4d6d(0x75)](config[_0x2139d3['oemFr']]))config[_0x2139d3['oemFr']]=[_0x2969d7];else{if(_0x2139d3[_0x7b4d6d(0xb4)](typeof config[_0x2139d3['oemFr']],_0x2139d3['yNNqM']))config[_0x2139d3[_0x7b4d6d(0xb0)]]=[[config[_0x2139d3[_0x7b4d6d(0xb0)]]],_0x2969d7];else _0x2139d3[_0x7b4d6d(0xb9)](typeof config[_0x2139d3[_0x7b4d6d(0xb0)]],_0x2139d3[_0x7b4d6d(0xbe)])&&config[_0x2139d3[_0x7b4d6d(0xb0)]][_0x7b4d6d(0x79)](_0x2969d7);}},setGlobalSetup=_0x4faff3=>{const _0x4d1e42=a36_0x2fb9f7,_0x28ebd6={};_0x28ebd6[_0x4d1e42(0x84)]='globalSetup',_0x28ebd6[_0x4d1e42(0x88)]=_0x4d1e42(0xe2),_0x28ebd6[_0x4d1e42(0xb5)]=function(_0x3c51c4,_0x314573){return _0x3c51c4+_0x314573;},_0x28ebd6[_0x4d1e42(0xaf)]=_0x4d1e42(0xdc),_0x28ebd6[_0x4d1e42(0x98)]=_0x4d1e42(0xa0);const _0x5a5097=_0x28ebd6;if(!config)return;try{if(config[_0x4d1e42(0x76)]){let _0x28f7a7;const _0x351a02=path[_0x4d1e42(0x7c)](_0x4faff3,config[_0x5a5097[_0x4d1e42(0x84)]]);if(fs[_0x4d1e42(0xbb)](_0x351a02))_0x28f7a7=_0x351a02;else{const _0x1e84ce={};_0x1e84ce[_0x4d1e42(0xf6)]=[_0x4faff3],_0x28f7a7=require['resolve'](config[_0x5a5097[_0x4d1e42(0x84)]],_0x1e84ce);}if(!_0x28f7a7)throw new Error(_0x5a5097[_0x4d1e42(0x88)]);process[_0x4d1e42(0xe5)][_0x4d1e42(0x91)]=_0x28f7a7;}}catch(_0x581b81){console[_0x4d1e42(0xb6)](_0x5a5097[_0x4d1e42(0xb5)](_0x5a5097[_0x4d1e42(0xaf)],_0x581b81));}config[_0x4d1e42(0x76)]=require[_0x4d1e42(0x7c)](_0x5a5097[_0x4d1e42(0x98)]);},getCurrentModifiedConfig=async()=>{const _0x4849b1=a36_0x2fb9f7,_0x398f7f={'hramt':_0x4849b1(0xaa),'ailjc':_0x4849b1(0x72),'FuSSk':function(_0x1fe748,_0xb6b9a3){return _0x1fe748(_0xb6b9a3);},'Fplkd':function(_0x3fc39f,_0xaccb5){return _0x3fc39f(_0xaccb5);},'tPLrs':function(_0x2e4f2a){return _0x2e4f2a();}},_0x312710=process[_0x4849b1(0xe5)][_0x4849b1(0xa3)],_0x2c21f2=process[_0x4849b1(0xe5)]['BROWSERSTACK_PW_CONFIG_DIR'];browserstackSetup[_0x398f7f[_0x4849b1(0x9f)]]=helper[_0x4849b1(0xf9)](fs[_0x4849b1(0xed)](_0x312710,_0x398f7f['ailjc'])),_0x398f7f[_0x4849b1(0xb3)](setGlobalSetup,_0x2c21f2);const _0x53e36a=!helper[_0x4849b1(0xa2)](process[_0x4849b1(0xe5)][_0x4849b1(0x7e)]);_0x53e36a&&_0x398f7f[_0x4849b1(0xcd)](addReporter,config),helper[_0x4849b1(0x9b)](process[_0x4849b1(0xe5)]['BROWSERSTACK_AUTOMATION'])&&await _0x398f7f[_0x4849b1(0x77)](handleAutomationTrue);},getUserPWConfig=async _0x541d81=>{const _0x426e2b=a36_0x2fb9f7,_0x2f36f6={'CnmYg':function(_0x5ae008){return _0x5ae008();},'jBSLy':function(_0x735737,_0x41522a){return _0x735737(_0x41522a);},'ywxBE':function(_0xc9e9cb,_0x1593b6){return _0xc9e9cb===_0x1593b6;},'CognY':_0x426e2b(0x9a),'GFmsv':function(_0x29fcd9,_0x1bbeb0){return _0x29fcd9 in _0x1bbeb0;},'BgInQ':_0x426e2b(0x97)},{requireOrImport:_0x406e42}=helper[_0x426e2b(0xf3)]['apply'](null,_0x2f36f6[_0x426e2b(0xec)](getTransformPath));let _0x5a1c24=await _0x2f36f6['jBSLy'](_0x406e42,_0x541d81);return _0x5a1c24&&_0x2f36f6[_0x426e2b(0xc2)](typeof _0x5a1c24,_0x2f36f6['CognY'])&&_0x2f36f6[_0x426e2b(0xdf)](_0x2f36f6['BgInQ'],_0x5a1c24)&&(_0x5a1c24=_0x5a1c24[_0x2f36f6[_0x426e2b(0xdb)]]),_0x5a1c24;},modifyConfig=async()=>{const _0x1b3059=a36_0x2fb9f7,_0x25627e={'TMzDX':function(_0x390955,_0x26ef9c){return _0x390955===_0x26ef9c;},'vuVGD':function(_0x1bdd14,_0x5ce880){return _0x1bdd14(_0x5ce880);},'irpNS':function(_0x41772d){return _0x41772d();}},_0x92ded7=process[_0x1b3059(0xe5)]['USER_CONFIG_DETAILS_PATH'];return config=_0x25627e[_0x1b3059(0x7b)](_0x92ded7[_0x1b3059(0xa4)],0x0)?{}:await _0x25627e[_0x1b3059(0xee)](getUserPWConfig,_0x92ded7),await _0x25627e[_0x1b3059(0x93)](getCurrentModifiedConfig),helper[_0x1b3059(0x92)](config),config;};module['exports']=modifyConfig;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const a37_0x1fca00=a37_0x50d5;(function(_0x266273,_0x51e28f){const _0x2d25d1=a37_0x50d5,_0x2cc917=_0x266273();while(!![]){try{const _0x5daa57=-parseInt(_0x2d25d1(0x102))/0x1+parseInt(_0x2d25d1(0xf0))/0x2*(-parseInt(_0x2d25d1(0xe7))/0x3)+parseInt(_0x2d25d1(0xe2))/0x4+parseInt(_0x2d25d1(0xef))/0x5+-parseInt(_0x2d25d1(0xfa))/0x6+-parseInt(_0x2d25d1(0x101))/0x7*(parseInt(_0x2d25d1(0xdc))/0x8)+parseInt(_0x2d25d1(0xea))/0x9;if(_0x5daa57===_0x51e28f)break;else _0x2cc917['push'](_0x2cc917['shift']());}catch(_0x40ac9b){_0x2cc917['push'](_0x2cc917['shift']());}}}(a37_0x2df9,0x92737));function a37_0x50d5(_0x2e35c2,_0x464810){const _0x2df988=a37_0x2df9();return a37_0x50d5=function(_0x50d517,_0x1dc6fd){_0x50d517=_0x50d517-0xd9;let _0x4f2ab6=_0x2df988[_0x50d517];return _0x4f2ab6;},a37_0x50d5(_0x2e35c2,_0x464810);}function a37_0x2df9(){const _0x3dd9d4=['49133GYMkkN','1082306eSRdvY','MstUo','xQRxA','stringify','BROWSERSTACK_TEST_ACCESSIBILITY_YML','QQfDZ','dqPft','lFbOt','../../helpers/test-observability/error-handler','path','newPage','phUKg','RCpKw','ePWYY','evaluate','apply','mockContextNewPage','../../helpers/helper','1112MTNmPF','NdMxn','util','browserstack_executor:\x20','defineProperty','env','3632960nTwvHw','CKgWH','lib','dSJTA','browserContext.js','3012MJVUNY','aYqJv','ObservabilitySync:','8748342TTCSfr','prototype','gYEnO','getAccessibilityResults','pwPage','5353315lKXUsO','58UWLiJF','debug','__workerDetails','bwqxu','../../helpers/logger','BROWSERSTACK_TEST_OBSERVABILITY','./accessibility-helper','SyZDq','wFrMH','PCngu','1584090DfTaLX','Unable\x20to\x20import\x20context\x20for\x20page','performScan','join','annotate','Error\x20during\x20syncing\x20o11y\x20with\x20automate\x20','o11ySyncDone'];a37_0x2df9=function(){return _0x3dd9d4;};return a37_0x2df9();}const path=require(a37_0x1fca00(0x10b)),util=require(a37_0x1fca00(0xde)),logger=require(a37_0x1fca00(0xf4)),{importFileFromPWCore,nestedKeyValue,isFalse}=require(a37_0x1fca00(0xdb)),{o11yErrorHandler}=require(a37_0x1fca00(0x10a)),AccessibilityHelper=require(a37_0x1fca00(0xf6)),doo11ySync=o11yErrorHandler(async function doo11ySync(_0x3918ed){const _0x584fe2=a37_0x1fca00,_0x205429={'NdMxn':function(_0x1ef056,_0x29729b,_0x309538){return _0x1ef056(_0x29729b,_0x309538);},'FNQeg':_0x584fe2(0xf2),'dSJTA':_0x584fe2(0x100),'xQRxA':_0x584fe2(0xfe),'PCngu':_0x584fe2(0xf1)};if(_0x205429[_0x584fe2(0xdd)](nestedKeyValue,global,[_0x205429['FNQeg'],_0x205429[_0x584fe2(0xe5)]]))return;await _0x3918ed[_0x584fe2(0x110)](_0x4bd5dd=>{},_0x584fe2(0xdf)+JSON[_0x584fe2(0x105)]({'action':_0x205429[_0x584fe2(0x104)],'arguments':{'data':_0x584fe2(0xe9)+Date['now'](),'level':_0x205429[_0x584fe2(0xf9)]}})),global[_0x584fe2(0xf2)][_0x584fe2(0x100)]=!![];});exports[a37_0x1fca00(0xda)]=()=>{const _0x54793c=a37_0x1fca00,_0x237841={'bwqxu':function(_0x59ea71,_0x25b142){return _0x59ea71(_0x25b142);},'MstUo':function(_0xfe3b20,_0x5879bf){return _0xfe3b20(_0x5879bf);},'CKgWH':function(_0x186abb,_0x542495){return _0x186abb(_0x542495);},'lFbOt':function(_0x3efb36,_0x4cb26f,_0x3ab04f){return _0x3efb36(_0x4cb26f,_0x3ab04f);},'dqPft':_0x54793c(0xf2),'phUKg':_0x54793c(0xe4),'aYqJv':'client','OsyOk':_0x54793c(0xe6),'wFrMH':_0x54793c(0xfb),'QQfDZ':_0x54793c(0x10c)},_0x4d8220=path[_0x54793c(0xfd)](_0x237841[_0x54793c(0x10d)],_0x237841[_0x54793c(0xe8)],_0x237841['OsyOk']),_0x5c8434=_0x237841[_0x54793c(0xf3)](importFileFromPWCore,_0x4d8220);if(!_0x5c8434){logger[_0x54793c(0xf1)](_0x237841[_0x54793c(0xf8)]);return;}const _0x37e1ae=_0x5c8434['BrowserContext'],_0x151404=_0x37e1ae[_0x54793c(0xeb)],_0x3dadba=_0x151404['newPage'];Object[_0x54793c(0xe0)](_0x151404,_0x237841[_0x54793c(0x107)],{'get':function(){const _0x282ab5=_0x54793c,_0x3376fb={'SyZDq':function(_0x7a4126,_0x1f94eb){const _0x2baab4=a37_0x50d5;return _0x237841[_0x2baab4(0xf3)](_0x7a4126,_0x1f94eb);},'RCpKw':function(_0x55aab5,_0x129afc){const _0x34d98b=a37_0x50d5;return _0x237841[_0x34d98b(0x103)](_0x55aab5,_0x129afc);},'EIYJq':function(_0x3afdff,_0x1971b3){const _0x476cc0=a37_0x50d5;return _0x237841[_0x476cc0(0xe3)](_0x3afdff,_0x1971b3);},'ePWYY':function(_0x20a9d1,_0x16c74b,_0x52c9f6){const _0x3a0f82=a37_0x50d5;return _0x237841[_0x3a0f82(0x109)](_0x20a9d1,_0x16c74b,_0x52c9f6);},'gYEnO':_0x237841[_0x282ab5(0x108)]};return async function _0x404124(){const _0x74cce=_0x282ab5,_0x549975=await _0x3dadba[_0x74cce(0xd9)](this,arguments);try{!_0x3376fb[_0x74cce(0xf7)](isFalse,process['env'][_0x74cce(0xf5)])&&await _0x3376fb[_0x74cce(0x10e)](doo11ySync,_0x549975),!_0x3376fb['EIYJq'](isFalse,process[_0x74cce(0xe1)][_0x74cce(0x106)])&&(_0x549975[_0x74cce(0xed)]=async()=>{const _0x62b440=_0x74cce;return await AccessibilityHelper[_0x62b440(0xed)](_0x549975);},_0x549975['getAccessibilityResultsSummary']=async()=>{return await AccessibilityHelper['getAccessibilityResultsSummary'](_0x549975);},_0x549975[_0x74cce(0xfc)]=async()=>{const _0x5b24e3=_0x74cce;return await AccessibilityHelper[_0x5b24e3(0xfc)](_0x549975);});}catch(_0x1a90e0){logger[_0x74cce(0xf1)](_0x74cce(0xff)+util['format'](_0x1a90e0));}return _0x3376fb[_0x74cce(0x10f)](nestedKeyValue,global,[_0x3376fb[_0x74cce(0xec)]])&&(global[_0x74cce(0xf2)][_0x74cce(0xee)]=_0x549975),_0x549975;};}});};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a38_0x1d10b3=a38_0x1b54;(function(_0x43ac59,_0x2feae2){const _0x4df535=a38_0x1b54,_0x761189=_0x43ac59();while(!![]){try{const _0x4cd629=parseInt(_0x4df535(0x190))/0x1*(-parseInt(_0x4df535(0x1d8))/0x2)+parseInt(_0x4df535(0x1bc))/0x3*(-parseInt(_0x4df535(0x1d4))/0x4)+parseInt(_0x4df535(0x19c))/0x5*(parseInt(_0x4df535(0x1df))/0x6)+-parseInt(_0x4df535(0x1a6))/0x7*(-parseInt(_0x4df535(0x19f))/0x8)+-parseInt(_0x4df535(0x1c3))/0x9*(parseInt(_0x4df535(0x1c2))/0xa)+parseInt(_0x4df535(0x1db))/0xb+-parseInt(_0x4df535(0x1ab))/0xc*(-parseInt(_0x4df535(0x18b))/0xd);if(_0x4cd629===_0x2feae2)break;else _0x761189['push'](_0x761189['shift']());}catch(_0x4a1b6b){_0x761189['push'](_0x761189['shift']());}}}(a38_0x2435,0xc3826));const {debug,getFrameworkVersion,removeAnsiColors,failureData}=require(a38_0x1d10b3(0x185)),PerformanceTester=require(a38_0x1d10b3(0x1b6)),fs=require('fs'),{FRAMEWORKS}=require(a38_0x1d10b3(0x1a7)),helper=require(a38_0x1d10b3(0x1c9)),path=require(a38_0x1d10b3(0x17f));exports[a38_0x1d10b3(0x17d)]=async()=>{const _0xa242ce=a38_0x1d10b3,_0x501c5b={'BWFkM':function(_0x3f4588,_0x1fd13d){return _0x3f4588-_0x1fd13d;},'nRhBE':_0xa242ce(0x178),'SHBAz':'onBegin','cmCqH':_0xa242ce(0x171),'MCjBp':_0xa242ce(0x1b2),'BfRUI':_0xa242ce(0x1cf),'uvpeq':_0xa242ce(0x172),'trOII':'onStepEnd','nRIdf':_0xa242ce(0x1a4),'UYVBZ':_0xa242ce(0x1dd),'ZKOiX':_0xa242ce(0x1a3),'VQKTz':_0xa242ce(0x191),'wQhOt':_0xa242ce(0x175),'xmijV':_0xa242ce(0x1af),'rXSPK':'sendSessionDetails','gWbQn':_0xa242ce(0x1bb),'uTTso':_0xa242ce(0x17e),'Lkhye':_0xa242ce(0x1bf),'XAyxb':function(_0x37f440,_0x542176){return _0x37f440(_0x542176);},'vHPES':function(_0x12ef38,_0x49fcfa){return _0x12ef38/_0x49fcfa;},'pXmwh':function(_0xa4ad26,_0xa71758){return _0xa4ad26+_0xa71758;},'AGQoY':function(_0x2b8e1c,_0x222a1e){return _0x2b8e1c(_0x222a1e);},'BcbEU':function(_0x28b469,_0x17438a){return _0x28b469*_0x17438a;}};if(!process[_0xa242ce(0x1bd)][_0xa242ce(0x1b7)])return;const _0xf95829=_0x501c5b['BWFkM'](new Date()[_0xa242ce(0x1ce)](),new Date(process[_0xa242ce(0x1bd)]['START_TIME'])['getTime']()),_0x514322=await PerformanceTester[_0xa242ce(0x17b)](_0x501c5b[_0xa242ce(0x184)],[_0x501c5b[_0xa242ce(0x183)],_0x501c5b[_0xa242ce(0x197)],_0x501c5b[_0xa242ce(0x18c)],_0x501c5b[_0xa242ce(0x1d7)],_0x501c5b[_0xa242ce(0x1e1)],_0x501c5b['trOII']]),_0x34b5fd=fs[_0xa242ce(0x186)]('.'),_0x2dc681=_0x34b5fd['filter'](_0x31f406=>_0x31f406[_0xa242ce(0x1c4)]('performance-report-worker-')&&_0x31f406[_0xa242ce(0x17c)](_0xa242ce(0x1d5))),_0x2f41e8=await PerformanceTester[_0xa242ce(0x18f)](_0x2dc681,[_0x501c5b[_0xa242ce(0x19b)],_0x501c5b[_0xa242ce(0x189)],_0x501c5b[_0xa242ce(0x1ad)],_0x501c5b[_0xa242ce(0x18a)],_0x501c5b['wQhOt'],_0x501c5b[_0xa242ce(0x170)],_0x501c5b['rXSPK'],_0x501c5b[_0xa242ce(0x19a)],_0x501c5b[_0xa242ce(0x1a8)],_0x501c5b[_0xa242ce(0x176)]]);_0x501c5b['XAyxb'](debug,_0xa242ce(0x174)+_0x501c5b[_0xa242ce(0x1b1)](_0xf95829,0x3e8)+'\x20s'),_0x501c5b[_0xa242ce(0x18d)](debug,_0xa242ce(0x16d)+_0x501c5b[_0xa242ce(0x1dc)](_0x2f41e8,_0x514322)),_0x501c5b[_0xa242ce(0x1c6)](debug,_0xa242ce(0x1d9)+_0x501c5b[_0xa242ce(0x16b)](_0x501c5b[_0xa242ce(0x1b1)](_0x501c5b[_0xa242ce(0x1dc)](_0x2f41e8,_0x514322),_0xf95829),0x64));},exports['getTagsFromTitle']=_0x137ebb=>{return _0x137ebb['match'](/@(\w+)/g)?.['map'](_0x1cf079=>_0x1cf079['slice'](0x1))||[];},exports[a38_0x1d10b3(0x1ba)]=()=>{const _0x55c68d=a38_0x1d10b3,_0x55b5da={'PXOLB':function(_0x12cd58,_0x5c816a){return _0x12cd58(_0x5c816a);},'Xwakm':function(_0x5a8235,_0x40c701){return _0x5a8235>=_0x40c701;},'WoyWr':'1.38.0','WKLLA':_0x55c68d(0x1d2),'qGoZq':'playwright','UMteB':'1.35.0','wCNzo':_0x55c68d(0x1ac),'hsTGZ':'@playwright/test','WZTGT':_0x55c68d(0x169)},_0x413e18=_0x55b5da[_0x55c68d(0x1a9)](getFrameworkVersion,FRAMEWORKS[_0x55c68d(0x192)]);if(_0x55b5da['Xwakm'](helper['compareVersions'](_0x413e18,_0x55b5da[_0x55c68d(0x182)]),0x0))return[_0x55b5da['WKLLA'],_0x55b5da[_0x55c68d(0x180)]];if(_0x55b5da[_0x55c68d(0x17a)](helper[_0x55c68d(0x1c5)](_0x413e18,_0x55b5da['UMteB']),0x0))return[_0x55b5da[_0x55c68d(0x1aa)],_0x55b5da[_0x55c68d(0x16e)]];return[_0x55b5da['WZTGT'],_0x55b5da['hsTGZ']];},exports[a38_0x1d10b3(0x1c0)]=()=>{const _0x678a61=a38_0x1d10b3,_0x1f9a65={'EXIIe':function(_0x522825,_0x5a7823){return _0x522825(_0x5a7823);},'UEnqh':function(_0x3c5fc0,_0x208228){return _0x3c5fc0>=_0x208228;},'lkkTr':_0x678a61(0x1d3),'mtvif':_0x678a61(0x1a2),'RYhzP':_0x678a61(0x181),'HeoFy':'@playwright/test/lib/common/configLoader.js','KMheS':'@playwright/test'},_0x129bbd=_0x1f9a65[_0x678a61(0x19d)](getFrameworkVersion,FRAMEWORKS[_0x678a61(0x192)]);if(_0x1f9a65[_0x678a61(0x1a0)](helper[_0x678a61(0x1c5)](_0x129bbd,_0x1f9a65[_0x678a61(0x1b5)]),0x0))return[_0x1f9a65[_0x678a61(0x177)],_0x1f9a65[_0x678a61(0x194)]];return[_0x1f9a65['HeoFy'],_0x1f9a65[_0x678a61(0x16c)]];},exports[a38_0x1d10b3(0x187)]=()=>{const _0x14286e=a38_0x1d10b3,_0x46cfe3={};_0x46cfe3['SsdRl']=_0x14286e(0x1b0);const _0x2a5fa5=_0x46cfe3;return helper[_0x14286e(0x193)](_0x2a5fa5[_0x14286e(0x198)]);},exports[a38_0x1d10b3(0x1b8)]=()=>{const _0xdec828=a38_0x1d10b3,_0x3fc292={};_0x3fc292[_0xdec828(0x1da)]=_0xdec828(0x1a1);const _0xf4ab3f=_0x3fc292;return helper[_0xdec828(0x193)](_0xf4ab3f['gqoFz']);},exports[a38_0x1d10b3(0x1d6)]=()=>{const _0x2e9ed8=a38_0x1d10b3,_0x2e6935={'DMlxz':function(_0x54e0df,_0xfd9f2c){return _0x54e0df(_0xfd9f2c);},'QqUnl':function(_0x549e82,_0x2c8955){return _0x549e82>=_0x2c8955;},'KYkhB':_0x2e9ed8(0x1d3),'wYxpV':_0x2e9ed8(0x173),'mrUYL':_0x2e9ed8(0x1a5),'QsDbo':_0x2e9ed8(0x199),'lDXNZ':'test'},_0x63b0af=_0x2e6935[_0x2e9ed8(0x179)](getFrameworkVersion,FRAMEWORKS[_0x2e9ed8(0x192)]);if(_0x2e6935[_0x2e9ed8(0x1cb)](helper[_0x2e9ed8(0x1c5)](_0x63b0af,_0x2e6935[_0x2e9ed8(0x188)]),0x0))return path[_0x2e9ed8(0x19e)](_0x2e6935[_0x2e9ed8(0x1c1)],_0x2e6935['mrUYL'],_0x2e6935[_0x2e9ed8(0x1c8)]);return path[_0x2e9ed8(0x19e)](_0x2e6935[_0x2e9ed8(0x1cc)],_0x2e6935[_0x2e9ed8(0x1c1)],_0x2e6935[_0x2e9ed8(0x1ae)],_0x2e6935[_0x2e9ed8(0x1c8)]);},exports['getFailureData']=(_0x3d5330,{test_run_uuid:_0x12a18e})=>{const _0x3416ca=a38_0x1d10b3,_0x27844d={'OJzCf':'ERROR','UNksm':_0x3416ca(0x18e),'dIDoz':function(_0x1e81ea,_0x2b73bb){return _0x1e81ea<=_0x2b73bb;},'iJBIT':function(_0x1d90e0,_0x5361ff){return _0x1d90e0(_0x5361ff);},'BVAww':_0x3416ca(0x1b9),'mhjKp':function(_0x5e7b8b,_0x466573){return _0x5e7b8b>_0x466573;},'pLnDK':function(_0x225bda,_0x35f72c){return _0x225bda(_0x35f72c);},'zwyJm':function(_0x572ef3,_0x2a1928,_0x5f79fb){return _0x572ef3(_0x2a1928,_0x5f79fb);},'eJTqB':_0x3416ca(0x1c7)};if(!_0x3d5330||_0x27844d[_0x3416ca(0x16f)](_0x3d5330['length'],0x0))return[];const _0x549cfb=_0x27844d[_0x3416ca(0x1d0)](removeAnsiColors,_0x3d5330[0x0][_0x3416ca(0x1ca)]);if(_0x549cfb[_0x3416ca(0x1c4)](_0x27844d[_0x3416ca(0x1b3)])){const _0x33ace7=_0x3d5330[0x0];if(!_0x33ace7[_0x3416ca(0x1e0)]&&_0x27844d['mhjKp'](_0x3d5330[_0x3416ca(0x1cd)],0x1))return{'failureData':[{'backtrace':[_0x549cfb,_0x27844d['pLnDK'](removeAnsiColors,_0x3d5330[0x1]['stack'])]}],'logs':_0x3d5330[_0x3416ca(0x195)](0x2)[_0x3416ca(0x1be)](_0x458170=>{const _0x359bd1=_0x3416ca;return{'timestamp':new Date()[_0x359bd1(0x1d1)](),'level':_0x27844d[_0x359bd1(0x1b4)],'message':''+_0x458170[_0x359bd1(0x1ca)],'kind':_0x27844d[_0x359bd1(0x196)],'http_response':{},'test_run_uuid':_0x12a18e};})};}return{'failureData':_0x27844d[_0x3416ca(0x1de)](failureData,_0x3d5330,_0x27844d[_0x3416ca(0x16a)]),'logs':[]};};function a38_0x1b54(_0x3255ab,_0x19faa8){const _0x243567=a38_0x2435();return a38_0x1b54=function(_0x1b5415,_0x3b9977){_0x1b5415=_0x1b5415-0x169;let _0xc2e60b=_0x243567[_0x1b5415];return _0xc2e60b;},a38_0x1b54(_0x3255ab,_0x19faa8);}function a38_0x2435(){const _0x36c16b=['message','QqUnl','lDXNZ','length','getTime','onTestEnd','iJBIT','toISOString','playwright/lib/transform/transform.js','1.38.0','3812prfZVV','.json','getForkProcessPath','BfRUI','4vBVHqg','Percentage\x20of\x20increased\x20time\x20is\x20','gqoFz','4533056ebACbK','pXmwh','afterWorkerHook','zwyJm','1927878wieXYN','stack','uvpeq','@playwright/test/lib/common/transform.js','eJTqB','BcbEU','KMheS','Total\x20time\x20taken\x20by\x20O11y\x20is\x20','hsTGZ','dIDoz','xmijV','endSession','onStepBegin','lib','Total\x20duration\x20for\x20whole\x20build\x20is\x20','doo11ySync','Lkhye','mtvif','performance-reporter.html','DMlxz','Xwakm','stopAndGenerate','endsWith','calculatePerformance','requestSpyCallback','path','qGoZq','playwright','WoyWr','SHBAz','nRhBE','../../../helpers/test-observability/utils','readdirSync','getLoadUtilsPath','KYkhB','UYVBZ','VQKTz','3258333hRdDBs','MCjBp','XAyxb','TEST_LOG','calculateTimesFromMultipleFiles','274706RLpSkr','afterTestHook','PLAYWRIGHT','getPlaywrightLibPath','RYhzP','slice','UNksm','cmCqH','SsdRl','process.js','gWbQn','nRIdf','5octkEn','EXIIe','join','1432FhNmYk','UEnqh','runner/projectUtils.js','playwright/lib/common/configLoader.js','beforeTestHook','beforeWorkerHook','common','19215jTpVrb','../../../helpers/test-observability/constants','uTTso','PXOLB','wCNzo','48bUHyPy','@playwright/test/lib/transform/transform.js','ZKOiX','mrUYL','processPageScreenshot','runner/loadUtils.js','vHPES','onTestBegin','BVAww','OJzCf','lkkTr','../../../helpers/performance-tester','START_TIME','getProjectUtilsPath','Test\x20timeout\x20of','getTransformPath','setupBrowserDetails','51DVOTFA','env','map','sendTestLog','getConfigLoaderPath','wYxpV','8609090tKACte','9FljvQn','startsWith','compareVersions','AGQoY','test','QsDbo','../../../helpers/helper'];a38_0x2435=function(){return _0x36c16b;};return a38_0x2435();}
|