browserstack-node-sdk 1.64.2 → 1.65.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/generated/sdk-messages-accessibility_pb.d.ts +70 -0
- package/generated/sdk-messages-accessibility_pb.js +545 -1
- package/generated/sdk_grpc_pb.d.ts +5 -0
- package/generated/sdk_grpc_pb.js +33 -0
- package/package.json +3 -3
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jasmine/bstack-reporter/customReporter.js +1 -1
- package/src/bin/jasmine/command.js +1 -1
- package/src/bin/jasmine/test.setup.js +1 -1
- package/src/bin/jasmine/testRunMap.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customSequencer.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test.setup.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/load/index.js +1 -1
- package/src/bin/load/loadErrors.js +1 -1
- package/src/bin/load/loadUtils.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/newman/command.js +1 -1
- package/src/bin/newman/helper.js +1 -1
- package/src/bin/newman/reporter/index.js +1 -1
- package/src/bin/newman/scriptRunner.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/node-generic/client.js +1 -0
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/puppeteer/patches.js +1 -1
- package/src/bin/puppeteer/sessionDetails.js +1 -1
- package/src/bin/puppeteer/test.setup.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/testcafe/a11y-runner.js +1 -1
- package/src/bin/testcafe/command.js +1 -1
- package/src/bin/testcafe/reporter/index.js +1 -1
- package/src/bin/testcafe/reporter/tcUtils.js +1 -1
- package/src/bin/testcafe/session-registry.js +1 -1
- package/src/bin/testcafe/stdout-interceptor.js +1 -1
- package/src/bin/testcafe/testcafe-action-patcher.js +1 -1
- package/src/bin/testcafe/w3c-driver.js +1 -1
- package/src/bin/utils/apiUtilityMethods.js +1 -1
- package/src/bin/utils/clientTroubleshootingService.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/utils/playwright-patcher.js +1 -1
- package/src/bin/utils/puppeteer-patcher.js +1 -1
- package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
- package/src/bin/utils/sharedUtils.js +1 -1
- package/src/bin/v2/TestInfo.js +1 -1
- package/src/bin/v2/browserstackCLI.js +1 -1
- package/src/bin/v2/cliUtils.js +1 -1
- package/src/bin/v2/customTagManager.js +1 -1
- package/src/bin/v2/eventDispatcher.js +1 -1
- package/src/bin/v2/framework/automationFramework.js +1 -1
- package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
- package/src/bin/v2/framework/jestTestFramework.js +1 -1
- package/src/bin/v2/framework/newmanTestFramework.js +1 -1
- package/src/bin/v2/framework/nodeGenericTestFramework.js +1 -0
- package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
- package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
- package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
- package/src/bin/v2/framework/testFramework.js +1 -1
- package/src/bin/v2/framework/testcafeAutomationFramework.js +1 -1
- package/src/bin/v2/framework/testcafeTestFramework.js +1 -1
- package/src/bin/v2/grpcClient.js +1 -1
- package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/trackedContext.js +1 -1
- package/src/bin/v2/instances/trackedInstance.js +1 -1
- package/src/bin/v2/modules/accessibilityModule.js +1 -1
- package/src/bin/v2/modules/baseModule.js +1 -1
- package/src/bin/v2/modules/loadTestModule.js +1 -1
- package/src/bin/v2/modules/observabilityModule.js +1 -1
- package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
- package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
- package/src/bin/v2/modules/testcafeDriverModule.js +1 -1
- package/src/bin/v2/modules/testhubModule.js +1 -1
- package/src/bin/v2/sdkErrorHandler.js +1 -1
- package/src/bin/v2/state/automationFrameworkState.js +1 -1
- package/src/bin/v2/state/hookState.js +1 -1
- package/src/bin/v2/state/testFrameworkState.js +1 -1
- package/src/bin/v2/uploadAttachmentsManager.js +1 -1
- package/src/bin/v2/utils/cucumber-utils.js +1 -1
- package/src/bin/v2/utils/jest-utils.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/caCertHelper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/central-scanner/constants.js +1 -1
- package/src/helpers/central-scanner/helpers.js +1 -1
- package/src/helpers/classLogger.js +1 -1
- package/src/helpers/driverInitErrorReporter.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/metadata.js +1 -1
- package/src/helpers/patchHelper.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance/constants.js +1 -1
- package/src/helpers/performance/performance-tester.js +1 -1
- package/src/helpers/playwright-helper.js +1 -1
- package/src/helpers/processHelper.js +1 -1
- package/src/helpers/puppeteer-helper.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/stackFrameUtils.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/test-orchestration/constants.js +1 -1
- package/src/helpers/test-orchestration/failfastManager.js +1 -1
- package/src/helpers/test-orchestration/fileHelper.js +1 -1
- package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
- package/src/helpers/test-orchestration/requestUtils.js +1 -1
- package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
- package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
- package/src/helpers/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
- package/src/ai-sdk-node/bundle.js +0 -1
- package/src/ai-sdk-node/extensions/chrome_extension.crx +0 -0
- package/src/bin/mocha/test-observability/builderPatch.js +0 -1
- package/src/helpers/ai-sdk/aiSdkWrapper.js +0 -1
- package/src/helpers/ai-sdk/autoHealHelper.js +0 -1
- package/src/helpers/timeoutPromise.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const a55_0x538e03=a55_0x5b3f;function a55_0x5b3f(_0x58a4f1,_0x3437e7){const _0x1ee331=a55_0x1ee3();return a55_0x5b3f=function(_0x5b3f45,_0x2c0a03){_0x5b3f45=_0x5b3f45-0x96;let _0x25d692=_0x1ee331[_0x5b3f45];return _0x25d692;},a55_0x5b3f(_0x58a4f1,_0x3437e7);}(function(_0x22bdbc,_0x4a0eb7){const _0x1bc1af=a55_0x5b3f,_0x4a35a3=_0x22bdbc();while(!![]){try{const _0x20ff7=parseInt(_0x1bc1af(0x98))/0x1*(-parseInt(_0x1bc1af(0xeb))/0x2)+-parseInt(_0x1bc1af(0xb9))/0x3+parseInt(_0x1bc1af(0xe0))/0x4*(-parseInt(_0x1bc1af(0x97))/0x5)+-parseInt(_0x1bc1af(0xd4))/0x6*(-parseInt(_0x1bc1af(0xba))/0x7)+parseInt(_0x1bc1af(0xd6))/0x8*(parseInt(_0x1bc1af(0xcc))/0x9)+parseInt(_0x1bc1af(0xbf))/0xa+parseInt(_0x1bc1af(0x9e))/0xb*(-parseInt(_0x1bc1af(0xad))/0xc);if(_0x20ff7===_0x4a0eb7)break;else _0x4a35a3['push'](_0x4a35a3['shift']());}catch(_0x1445e8){_0x4a35a3['push'](_0x4a35a3['shift']());}}}(a55_0x1ee3,0x85c36));const fs=require('fs'),path=require(a55_0x538e03(0xf0)),{v4:uuidv4}=require('uuid'),{TEMP_STORE_DIR_NAME}=require(a55_0x538e03(0xa5)),{nestedKeyValue}=require('../../../helpers/helper'),logger=require('../../../helpers/logger')['winstonLogger'],{getLogDir}=require(a55_0x538e03(0xa2)),util=require(a55_0x538e03(0x9c)),helper=require(a55_0x538e03(0xee));function a55_0x1ee3(){const _0x3743f6=['setTestDetails','OgKdh','traceZipPaths','_traceZipPaths.json','getFilePath','3498vjIMVk','.browserstack','3304BZIAaa','getTraceZipDir','testId','OWVjo','Error\x20reading\x20trace\x20file\x20paths:\x20%s','env','appendToTracePaths','exports','_projectId','message','1168JXOllW','ZGgGV','debug','setIntegrations','trace_','endsWith','toString','QUCjd','.json','GdIXo','getStoreDirName','12254bvblmM','rVETN','error','../../../helpers/helper','stringify','path','some','default','join','retry','Failed\x20to\x20parse\x20integrations\x20file\x20for\x20test\x20','_integrations.json','.txt','7900wRWqgq','13juGezL','parse','setup','Error\x20handling\x20trace\x20file\x20paths:\x20','util','getProjectIdFromTestInfo','22eEHecw','getTraceFilePaths','jlJFG','jRwjj','../../../helpers/logger','format','getStoreDirPath','../../../helpers/test-observability/constants','getTestIdFromTestInfo','filePath','Failed\x20to\x20write\x20integrations\x20file\x20for\x20test\x20','getTestUUID','FkbBp','_test','forEach','1597044MykWec','readFileSync','getDirPath','_platformDetails.json','tests','homedir','getTestDetails','setAccessibilityPlatformValidation','existsSync','LVBOD','getAccessibilityPlatformValidation','mkdirSync','1776531hrAwqG','658ApOPaL','CZKbM','getTestRunIdFromTestInfo','qFwlO','addTraceFilePath','10796700hJPKJM','recursive','WdedA','readdirSync','aiqLH','shutdown','push','TvUtH','rmSync','zjIRs','pid','writeFileSync','OuhDu','17712yZDxoJ','uuid','wQOwH'];a55_0x1ee3=function(){return _0x3743f6;};return a55_0x1ee3();}class TestDetails{static [a55_0x538e03(0xb1)]={};static[a55_0x538e03(0x9a)](){const _0x5decc3=a55_0x538e03;this['shutdown']();const _0xb51181={};_0xb51181['recursive']=!![],fs[_0x5decc3(0xb8)](this[_0x5decc3(0xaf)](),_0xb51181);const _0x541d6b={};_0x541d6b[_0x5decc3(0xc0)]=!![],fs['mkdirSync'](this[_0x5decc3(0xd7)](),_0x541d6b);}static['getStoreDirName'](){const _0x4731bc=a55_0x538e03,_0x38336b={};_0x38336b['GdIXo']=function(_0x2a581b,_0x2ae48d){return _0x2a581b+_0x2ae48d;};const _0x24df97=_0x38336b;return _0x24df97[_0x4731bc(0xe9)](_0x24df97[_0x4731bc(0xe9)](TEMP_STORE_DIR_NAME,'-'),process[_0x4731bc(0xdb)]['BS_TESTOPS_BUILD_HASHED_ID']);}static[a55_0x538e03(0xa4)](){const _0x1ca980=a55_0x538e03,_0x530b05={};_0x530b05[_0x1ca980(0xa0)]=function(_0xd4f1ca,_0x482fb7){return _0xd4f1ca+_0x482fb7;},_0x530b05[_0x1ca980(0xd9)]=_0x1ca980(0xf2);const _0x5e6755=_0x530b05;return path['join'](_0x5e6755[_0x1ca980(0xa0)](_0x5e6755[_0x1ca980(0xa0)](TEMP_STORE_DIR_NAME,'-'),process['env']['BS_TESTOPS_BUILD_HASHED_ID']||_0x5e6755['OWVjo']));}static[a55_0x538e03(0xd7)](){const _0x5bf722=a55_0x538e03,_0x1f1c23={};_0x1f1c23[_0x5bf722(0xec)]=_0x5bf722(0xd1);const _0x2a5d8b=_0x1f1c23;return path[_0x5bf722(0xf3)](this[_0x5bf722(0xa4)](),_0x2a5d8b['rVETN']);}static[a55_0x538e03(0xaf)](){const _0x3e7dac=a55_0x538e03;return TestDetails[_0x3e7dac(0xea)]();}static[a55_0x538e03(0xd3)](_0x18ab51){const _0x326db9=a55_0x538e03,_0x2f4400={};_0x2f4400[_0x326db9(0xc8)]=function(_0x3731c6,_0x5c6715){return _0x3731c6+_0x5c6715;},_0x2f4400[_0x326db9(0xaa)]=_0x326db9(0xe8);const _0x5721c3=_0x2f4400;return path[_0x326db9(0xf3)](this[_0x326db9(0xaf)](),_0x5721c3[_0x326db9(0xc8)](_0x18ab51,_0x5721c3['FkbBp']));}static[a55_0x538e03(0xbc)](_0x212f0f){const _0x106cec=a55_0x538e03,_0x249a62={};_0x249a62[_0x106cec(0xbd)]=function(_0x1ab850,_0x79795f){return _0x1ab850+_0x79795f;};const _0x579665=_0x249a62;return _0x579665[_0x106cec(0xbd)](_0x579665[_0x106cec(0xbd)](this[_0x106cec(0xa6)](_0x212f0f),'-'),_0x212f0f[_0x106cec(0xf4)]);}static[a55_0x538e03(0x9d)](_0x4cc529){const _0x119dc3=a55_0x538e03,_0x40dfa8={'aiqLH':function(_0x2505fd,_0x2eec4b,_0x267564){return _0x2505fd(_0x2eec4b,_0x267564);},'uJnlt':'_test','pKpse':_0x119dc3(0xde),'LVBOD':'project','wQOwH':'__projectId'};return _0x40dfa8[_0x119dc3(0xc3)](nestedKeyValue,_0x4cc529,[_0x40dfa8['uJnlt'],_0x40dfa8['pKpse']])||_0x40dfa8[_0x119dc3(0xc3)](nestedKeyValue,_0x4cc529,[_0x40dfa8[_0x119dc3(0xb6)],_0x40dfa8[_0x119dc3(0xce)]]);}static[a55_0x538e03(0xa6)](_0x123ec7){const _0x30ae08=a55_0x538e03,_0x377e77={'TvUtH':function(_0x38caca,_0x23d4b8,_0x450d4d){return _0x38caca(_0x23d4b8,_0x450d4d);},'ZGgGV':_0x30ae08(0xab)};return _0x377e77[_0x30ae08(0xc6)](nestedKeyValue,_0x123ec7,[_0x377e77[_0x30ae08(0xe1)],'id'])||_0x123ec7[_0x30ae08(0xd8)];}static[a55_0x538e03(0xa9)](_0x1ccc86){const _0x3fc254=a55_0x538e03,_0x45b494={'EXjxo':function(_0x276d2c,_0x4ce8bf){return _0x276d2c===_0x4ce8bf;},'OuhDu':'string','zRnYT':function(_0x448885){return _0x448885();}};if(this['tests'][_0x1ccc86]&&_0x45b494['EXjxo'](typeof this['tests'][_0x1ccc86]['uuid'],_0x45b494[_0x3fc254(0xcb)]))return this[_0x3fc254(0xb1)][_0x1ccc86]['uuid'];const _0x4d3caf=this[_0x3fc254(0xd3)](_0x1ccc86);if(_0x4d3caf&&fs[_0x3fc254(0xb5)](_0x4d3caf)){const _0x56bed5=JSON['parse'](fs[_0x3fc254(0xae)](_0x4d3caf)[_0x3fc254(0xe6)]());return this['tests'][_0x1ccc86]=_0x56bed5,this['tests'][_0x1ccc86]['uuid'];}return this[_0x3fc254(0xb1)][_0x1ccc86]={'uuid':_0x45b494['zRnYT'](uuidv4)},fs[_0x3fc254(0xca)](_0x4d3caf,JSON[_0x3fc254(0xef)](this['tests'][_0x1ccc86])),this[_0x3fc254(0xb1)][_0x1ccc86][_0x3fc254(0xcd)];}static[a55_0x538e03(0xb7)](_0x2b5465){const _0x5a1e43=a55_0x538e03,_0x55df97=path[_0x5a1e43(0xf3)](this[_0x5a1e43(0xaf)](),_0x2b5465+_0x5a1e43(0xb0));if(_0x55df97&&fs[_0x5a1e43(0xb5)](_0x55df97))return fs[_0x5a1e43(0xae)](_0x55df97)['toString']();}static[a55_0x538e03(0xb4)](_0xffbd25,_0x2e68af){const _0x3547cc=a55_0x538e03,_0x5410f0=path[_0x3547cc(0xf3)](this[_0x3547cc(0xaf)](),_0x2e68af+_0x3547cc(0xb0));fs[_0x3547cc(0xca)](_0x5410f0,_0xffbd25['toString']());}static['getIntegrations'](_0x46e339){const _0x3943c0=a55_0x538e03,_0x47a5c2=path[_0x3943c0(0xf3)](this[_0x3943c0(0xaf)](),_0x46e339+_0x3943c0(0xf6));if(_0x47a5c2&&fs[_0x3943c0(0xb5)](_0x47a5c2))try{return JSON[_0x3943c0(0x99)](fs[_0x3943c0(0xae)](_0x47a5c2)[_0x3943c0(0xe6)]());}catch(_0x2656eb){return logger[_0x3943c0(0xe2)](_0x3943c0(0xf5)+_0x46e339+':\x20'+(_0x2656eb&&_0x2656eb['message'])),null;}return null;}static[a55_0x538e03(0xe3)](_0x30f500,_0x2f0d20){const _0x49c0c8=a55_0x538e03,_0x5bf14f={};_0x5bf14f[_0x49c0c8(0xd0)]=function(_0x259dd7,_0x2c66c0){return _0x259dd7||_0x2c66c0;};const _0x4cf96d=_0x5bf14f;if(_0x4cf96d[_0x49c0c8(0xd0)](!_0x30f500,!_0x2f0d20))return;try{const _0xcc944d=this[_0x49c0c8(0xaf)](),_0x2cbc56={};_0x2cbc56[_0x49c0c8(0xc0)]=!![],fs[_0x49c0c8(0xb8)](_0xcc944d,_0x2cbc56);const _0x203d44=path['join'](_0xcc944d,_0x30f500+_0x49c0c8(0xf6));fs[_0x49c0c8(0xca)](_0x203d44,JSON[_0x49c0c8(0xef)](_0x2f0d20));}catch(_0x154d1f){logger[_0x49c0c8(0xe2)](_0x49c0c8(0xa8)+_0x30f500+':\x20'+(_0x154d1f&&_0x154d1f[_0x49c0c8(0xdf)]));}}static[a55_0x538e03(0xc4)](){const _0x692bae=a55_0x538e03,_0x51a534={};_0x51a534[_0x692bae(0xc0)]=!![],_0x51a534['force']=!![],fs[_0x692bae(0xc7)](this[_0x692bae(0xaf)](),_0x51a534);}static[a55_0x538e03(0xb3)](_0x25ed4c){const _0x3d5ae7=a55_0x538e03;if(this['tests'][_0x25ed4c])return this[_0x3d5ae7(0xb1)][_0x25ed4c];const _0x526a81=this[_0x3d5ae7(0xd3)](_0x25ed4c);if(_0x526a81&&fs['existsSync'](_0x526a81)){const _0x201b3b=JSON[_0x3d5ae7(0x99)](fs['readFileSync'](_0x526a81)[_0x3d5ae7(0xe6)]());return this['tests'][_0x25ed4c]=_0x201b3b,_0x201b3b;}return{};}static[a55_0x538e03(0xcf)](_0x3306e7,_0x9f7295){const _0x137beb=a55_0x538e03,_0x3c3e48=this[_0x137beb(0xd3)](_0x3306e7);if(_0x3c3e48&&fs[_0x137beb(0xb5)](_0x3c3e48)){const _0x4cec99=JSON['parse'](fs[_0x137beb(0xae)](_0x3c3e48)['toString']()),_0x2079dc={..._0x4cec99,..._0x9f7295};this[_0x137beb(0xb1)][_0x3306e7]=_0x2079dc;}else this[_0x137beb(0xb1)][_0x3306e7]=_0x9f7295;fs[_0x137beb(0xca)](_0x3c3e48,this[_0x137beb(0xb1)][_0x3306e7]);}static[a55_0x538e03(0xbe)](_0x4a9755){const _0x537085=a55_0x538e03,_0xf72232={};_0xf72232[_0x537085(0xe7)]=_0x537085(0x9b);const _0x4201c7=_0xf72232;try{const _0x48aeea=process[_0x537085(0xc9)],_0x493761=path[_0x537085(0xf3)](TestDetails[_0x537085(0xd7)](),_0x48aeea+_0x537085(0xd2));let _0x29c6a5=[];_0x493761&&fs[_0x537085(0xb5)](_0x493761)&&(_0x29c6a5=JSON[_0x537085(0x99)](fs[_0x537085(0xae)](_0x493761)['toString']())),!_0x29c6a5[_0x537085(0xf1)](_0x259a17=>_0x259a17[_0x537085(0xa7)]===_0x4a9755['filePath'])&&(_0x29c6a5[_0x537085(0xc5)](_0x4a9755),fs['writeFileSync'](_0x493761,JSON['stringify'](_0x29c6a5)));}catch(_0x501d20){logger[_0x537085(0xed)](_0x4201c7[_0x537085(0xe7)],_0x501d20);}}static[a55_0x538e03(0x9f)](){const _0x3c9792=a55_0x538e03,_0x3ee390={};_0x3ee390['IlpFZ']='_traceZipPaths.json',_0x3ee390[_0x3c9792(0xc1)]=_0x3c9792(0xda);const _0x4a95f2=_0x3ee390,_0x2fd3ea=[];try{const _0x21bf8a=TestDetails[_0x3c9792(0xd7)]();if(_0x21bf8a&&!fs[_0x3c9792(0xb5)](_0x21bf8a))return _0x2fd3ea;const _0x67ac6b=fs[_0x3c9792(0xc2)](_0x21bf8a);_0x67ac6b[_0x3c9792(0xac)](_0x59e0d8=>{const _0x5aa3be=_0x3c9792;if(_0x59e0d8&&_0x59e0d8[_0x5aa3be(0xe5)](_0x4a95f2['IlpFZ'])){const _0x2dba0c=JSON[_0x5aa3be(0x99)](fs[_0x5aa3be(0xae)](path['join'](_0x21bf8a,_0x59e0d8))['toString']());_0x2fd3ea[_0x5aa3be(0xc5)](..._0x2dba0c);}});}catch(_0x546d74){logger[_0x3c9792(0xed)](util[_0x3c9792(0xa3)](_0x4a95f2[_0x3c9792(0xc1)],_0x546d74));}const _0x36bf6c={};return _0x2fd3ea[_0x3c9792(0xac)](_0x52d033=>{const _0x2c770b=_0x3c9792;_0x36bf6c[_0x52d033[_0x2c770b(0xa7)]]=_0x52d033;}),Object['values'](_0x36bf6c);}static[a55_0x538e03(0xdc)](_0x17a1f7,_0x2bc40c){const _0x129072=a55_0x538e03,_0x564db9={};_0x564db9[_0x129072(0xa1)]=_0x129072(0xd5),_0x564db9[_0x129072(0xbb)]='utf8';const _0xe2d345=_0x564db9;try{const _0x52c7ca=path['join'](helper[_0x129072(0xb2)](),_0xe2d345[_0x129072(0xa1)]);if(!fs[_0x129072(0xb5)](_0x52c7ca)){const _0x536a2c={};_0x536a2c[_0x129072(0xc0)]=!![],fs[_0x129072(0xb8)](_0x52c7ca,_0x536a2c);}fs['appendFileSync'](path[_0x129072(0xf3)](_0x52c7ca,_0x129072(0xe4)+_0x2bc40c+_0x129072(0x96)),_0x17a1f7+'\x0a',_0xe2d345[_0x129072(0xbb)]);}catch(_0x2bd353){console['error']('Error\x20writing\x20trace\x20file:\x20'+_0x2bd353['message']);}}}module[a55_0x538e03(0xdd)]=TestDetails;
|
|
1
|
+
const a54_0x2399af=a54_0x3aa1;function a54_0x320c(){const _0xb82102=['../../../helpers/test-observability/utils','_platformDetails.json','testId','EhQUk','addTraceFilePath','path','null','Failed\x20to\x20parse\x20integrations\x20file\x20for\x20test\x20','debug','sInwt','utf8','getTestRunIdFromTestInfo','getIntegrations','MZqNy','retry','../../../helpers/test-observability/constants','AKzyg','join','getFilePath','Error\x20reading\x20trace\x20file\x20paths:\x20%s','LZxLB','env','getTestUUID','IzpwM','getStoreDirSuffix','lNWeq','hNbTZ','setTestDetails','_test','Failed\x20to\x20write\x20integrations\x20file\x20for\x20test\x20','winstonLogger','util','PMEIr','stringify','mkdirSync','rmSync','existsSync','getTraceZipDir','.json','writeFileSync','error','.txt','ULXSn','../../../helpers/helper','eEjLP','forEach','getTestDetails','getDirPath','pRdcC','uuid','homedir','traceZipPaths','message','963144HytQbp','getTraceFilePaths','readFileSync','Error\x20writing\x20trace\x20file:\x20','25430yQWAFa','setAccessibilityPlatformValidation','force','some','BoAuZ','shutdown','filePath','parse','project','OgXKY','637576GSykwG','getTestUUID:\x20could\x20not\x20persist\x20uuid\x20for\x20','format','BS_TESTOPS_BUILD_HASHED_ID','72VfaIit','20583kaHKVm','XWcSx','default','191058WBGlzS','WGDZj','ZMHqg','KCTJD','Failed\x20to\x20write\x20platform\x20validation\x20file\x20for\x20test\x20','AGDED','Error\x20handling\x20trace\x20file\x20paths:\x20','3585390cBcNlo','getStoreDirName','exports','MxQLs','getTestIdFromTestInfo','jXKeW','mYBlc',',\x20using\x20deterministic\x20uuid:\x20','../../../helpers/logger','getTestUUID\x20error\x20for\x20','drQjm','endsWith','toString','ZysEs','GBJMt','tests','undefined','push','YwEQv','recursive','pid','getProjectIdFromTestInfo','ObJsS','setup','jzASX','appendToTracePaths','getStoreDirPath','zCtJD','8WKFFcA','6oiTCpx','rmMAb','appendFileSync','_traceZipPaths.json','90972mkJgfI','ignrb','lnZWt','.browserstack'];a54_0x320c=function(){return _0xb82102;};return a54_0x320c();}(function(_0x5554fe,_0x289f7c){const _0x6f1b45=a54_0x3aa1,_0xbc9a28=_0x5554fe();while(!![]){try{const _0x5b3914=-parseInt(_0x6f1b45(0x1da))/0x1*(-parseInt(_0x6f1b45(0x200))/0x2)+parseInt(_0x6f1b45(0x1dd))/0x3+-parseInt(_0x6f1b45(0x1d5))/0x4+parseInt(_0x6f1b45(0x1cb))/0x5*(parseInt(_0x6f1b45(0x201))/0x6)+-parseInt(_0x6f1b45(0x205))/0x7*(parseInt(_0x6f1b45(0x1d9))/0x8)+-parseInt(_0x6f1b45(0x1c7))/0x9+parseInt(_0x6f1b45(0x1e4))/0xa;if(_0x5b3914===_0x289f7c)break;else _0xbc9a28['push'](_0xbc9a28['shift']());}catch(_0x57ce79){_0xbc9a28['push'](_0xbc9a28['shift']());}}}(a54_0x320c,0x1ed3d));const fs=require('fs'),path=require(a54_0x2399af(0x20e)),{TEMP_STORE_DIR_NAME}=require(a54_0x2399af(0x218)),{nestedKeyValue}=require(a54_0x2399af(0x1bd)),logger=require(a54_0x2399af(0x1ec))[a54_0x2399af(0x227)],{getLogDir}=require(a54_0x2399af(0x1ec)),util=require(a54_0x2399af(0x228)),helper=require(a54_0x2399af(0x1bd)),{deterministicTestUUID}=require(a54_0x2399af(0x209));class TestDetails{static [a54_0x2399af(0x1f3)]={};static[a54_0x2399af(0x1fb)](){const _0x3ab6a4=a54_0x2399af;this['shutdown']();const _0x13e8fe={};_0x13e8fe[_0x3ab6a4(0x1f7)]=!![],fs[_0x3ab6a4(0x1b4)](this[_0x3ab6a4(0x1c1)](),_0x13e8fe);const _0x11a142={};_0x11a142[_0x3ab6a4(0x1f7)]=!![],fs['mkdirSync'](this[_0x3ab6a4(0x1b7)](),_0x11a142);}static[a54_0x2399af(0x221)](){const _0xd9b909=a54_0x2399af,_0x1e1589={};_0x1e1589[_0xd9b909(0x222)]=function(_0x268895,_0x4215d5){return _0x268895===_0x4215d5;},_0x1e1589[_0xd9b909(0x219)]=_0xd9b909(0x1f4),_0x1e1589['ZysEs']=function(_0x3fcbc7,_0x27555b){return _0x3fcbc7===_0x27555b;},_0x1e1589['BoAuZ']=_0xd9b909(0x20f),_0x1e1589[_0xd9b909(0x1be)]=_0xd9b909(0x1dc);const _0x31c3b8=_0x1e1589,_0x3bd836=process[_0xd9b909(0x21e)][_0xd9b909(0x1d8)];if(!_0x3bd836||_0x31c3b8[_0xd9b909(0x222)](_0x3bd836,_0x31c3b8['AKzyg'])||_0x31c3b8[_0xd9b909(0x1f1)](_0x3bd836,_0x31c3b8[_0xd9b909(0x1cf)]))return _0x31c3b8[_0xd9b909(0x1be)];return _0x3bd836;}static[a54_0x2399af(0x1e5)](){const _0x2e5c83=a54_0x2399af,_0x3ddf42={};_0x3ddf42[_0x2e5c83(0x1e2)]=function(_0x51c8ec,_0x2f5980){return _0x51c8ec+_0x2f5980;},_0x3ddf42[_0x2e5c83(0x1df)]=function(_0x1aa6c2,_0x418e04){return _0x1aa6c2+_0x418e04;};const _0x48bfef=_0x3ddf42;return _0x48bfef[_0x2e5c83(0x1e2)](_0x48bfef[_0x2e5c83(0x1df)](TEMP_STORE_DIR_NAME,'-'),TestDetails['getStoreDirSuffix']());}static['getStoreDirPath'](){const _0x357538=a54_0x2399af,_0x26dc91={};_0x26dc91[_0x357538(0x223)]=function(_0x25adc6,_0x438826){return _0x25adc6+_0x438826;},_0x26dc91[_0x357538(0x1ff)]=function(_0x205fea,_0x58d713){return _0x205fea+_0x58d713;};const _0x3773ff=_0x26dc91;return path['join'](_0x3773ff['hNbTZ'](_0x3773ff[_0x357538(0x1ff)](TEMP_STORE_DIR_NAME,'-'),TestDetails['getStoreDirSuffix']()));}static['getTraceZipDir'](){const _0x59c703=a54_0x2399af,_0x16985f={};_0x16985f[_0x59c703(0x20c)]=_0x59c703(0x1c5);const _0x8e67bf=_0x16985f;return path[_0x59c703(0x21a)](this[_0x59c703(0x1fe)](),_0x8e67bf[_0x59c703(0x20c)]);}static['getDirPath'](){return TestDetails['getStoreDirName']();}static[a54_0x2399af(0x21b)](_0x105cdc){const _0xb684c8=a54_0x2399af,_0x368404={};_0x368404['YwEQv']=function(_0x5a7e57,_0x358998){return _0x5a7e57+_0x358998;},_0x368404[_0xb684c8(0x1fa)]=_0xb684c8(0x1b8);const _0x2a3228=_0x368404;return path[_0xb684c8(0x21a)](this[_0xb684c8(0x1c1)](),_0x2a3228[_0xb684c8(0x1f6)](_0x105cdc,_0x2a3228[_0xb684c8(0x1fa)]));}static[a54_0x2399af(0x214)](_0xf1732a){const _0x1147d8=a54_0x2399af,_0x200f1b={};_0x200f1b[_0x1147d8(0x1c2)]=function(_0x5a5e7b,_0x175a45){return _0x5a5e7b+_0x175a45;},_0x200f1b[_0x1147d8(0x229)]=function(_0x284e82,_0x9d2f03){return _0x284e82+_0x9d2f03;};const _0x5e1319=_0x200f1b;return _0x5e1319['pRdcC'](_0x5e1319[_0x1147d8(0x229)](this[_0x1147d8(0x1e8)](_0xf1732a),'-'),_0xf1732a[_0x1147d8(0x217)]);}static[a54_0x2399af(0x1f9)](_0x241aa7){const _0x24ef39=a54_0x2399af,_0xaabf56={'MxQLs':function(_0x2ce37d,_0x1a9d6e,_0x58e07c){return _0x2ce37d(_0x1a9d6e,_0x58e07c);},'ULXSn':_0x24ef39(0x225),'jXKeW':'_projectId','WGDZj':function(_0x2b5cf4,_0x325553,_0x3df141){return _0x2b5cf4(_0x325553,_0x3df141);},'mYBlc':_0x24ef39(0x1d3),'lnZWt':'__projectId'};return _0xaabf56[_0x24ef39(0x1e7)](nestedKeyValue,_0x241aa7,[_0xaabf56[_0x24ef39(0x1bc)],_0xaabf56[_0x24ef39(0x1e9)]])||_0xaabf56[_0x24ef39(0x1de)](nestedKeyValue,_0x241aa7,[_0xaabf56[_0x24ef39(0x1ea)],_0xaabf56[_0x24ef39(0x207)]]);}static[a54_0x2399af(0x1e8)](_0x4a8f81){const _0x560257=a54_0x2399af,_0x3ad0af={'sInwt':function(_0x2dc440,_0x2a33e3,_0x32c85e){return _0x2dc440(_0x2a33e3,_0x32c85e);},'jzASX':'_test'};return _0x3ad0af[_0x560257(0x212)](nestedKeyValue,_0x4a8f81,[_0x3ad0af[_0x560257(0x1fc)],'id'])||_0x4a8f81[_0x560257(0x20b)];}static[a54_0x2399af(0x21f)](_0x5effd7){const _0xc3122e=a54_0x2399af,_0x32958b={'drQjm':function(_0x3ae3b1,_0x5231e3){return _0x3ae3b1(_0x5231e3);},'rmMAb':function(_0x1ef444,_0x3308b2){return _0x1ef444===_0x3308b2;},'KCTJD':'string','LZxLB':function(_0x3d8007,_0x5834b7){return _0x3d8007===_0x5834b7;}},_0x525d36=_0x32958b[_0xc3122e(0x1ee)](deterministicTestUUID,_0x5effd7);try{if(this[_0xc3122e(0x1f3)][_0x5effd7]&&_0x32958b[_0xc3122e(0x202)](typeof this['tests'][_0x5effd7]['uuid'],_0x32958b[_0xc3122e(0x1e0)]))return this['tests'][_0x5effd7][_0xc3122e(0x1c3)];const _0x41a5a5=this[_0xc3122e(0x21b)](_0x5effd7);try{if(_0x41a5a5&&fs[_0xc3122e(0x1b6)](_0x41a5a5)){const _0xa9d1b3=JSON[_0xc3122e(0x1d2)](fs[_0xc3122e(0x1c9)](_0x41a5a5)[_0xc3122e(0x1f0)]());if(_0xa9d1b3&&_0x32958b[_0xc3122e(0x21d)](typeof _0xa9d1b3[_0xc3122e(0x1c3)],_0x32958b[_0xc3122e(0x1e0)]))return this[_0xc3122e(0x1f3)][_0x5effd7]=_0xa9d1b3,_0xa9d1b3['uuid'];}}catch(_0x2508cf){logger[_0xc3122e(0x211)]('getTestUUID:\x20could\x20not\x20read\x20cached\x20uuid\x20for\x20'+_0x5effd7+_0xc3122e(0x1eb)+_0x2508cf[_0xc3122e(0x1c6)]);}const _0x475111={};_0x475111[_0xc3122e(0x1c3)]=_0x525d36,this[_0xc3122e(0x1f3)][_0x5effd7]=_0x475111;try{fs[_0xc3122e(0x1b9)](_0x41a5a5,JSON[_0xc3122e(0x22a)](this[_0xc3122e(0x1f3)][_0x5effd7]));}catch(_0x4af316){logger[_0xc3122e(0x211)](_0xc3122e(0x1d6)+_0x5effd7+':\x20'+_0x4af316[_0xc3122e(0x1c6)]);}return _0x525d36;}catch(_0x45f9cf){return logger[_0xc3122e(0x211)](_0xc3122e(0x1ed)+_0x5effd7+_0xc3122e(0x1eb)+_0x45f9cf[_0xc3122e(0x1c6)]),_0x525d36;}}static['getAccessibilityPlatformValidation'](_0x222805){const _0x19fe86=a54_0x2399af,_0x2a3b92=path['join'](this[_0x19fe86(0x1c1)](),_0x222805+_0x19fe86(0x20a));if(_0x2a3b92&&fs['existsSync'](_0x2a3b92))return fs[_0x19fe86(0x1c9)](_0x2a3b92)['toString']();}static[a54_0x2399af(0x1cc)](_0x19f4af,_0x164d01){const _0x15c781=a54_0x2399af;try{const _0x29663a=this[_0x15c781(0x1c1)](),_0x2a5cd5={};_0x2a5cd5[_0x15c781(0x1f7)]=!![],fs[_0x15c781(0x1b4)](_0x29663a,_0x2a5cd5);const _0x4d3ccd=path['join'](_0x29663a,_0x164d01+_0x15c781(0x20a));fs[_0x15c781(0x1b9)](_0x4d3ccd,_0x19f4af[_0x15c781(0x1f0)]());}catch(_0x36ce50){logger[_0x15c781(0x211)](_0x15c781(0x1e1)+_0x164d01+':\x20'+(_0x36ce50&&_0x36ce50['message']));}}static[a54_0x2399af(0x215)](_0x498b1f){const _0x3a5f09=a54_0x2399af,_0x349553=path['join'](this[_0x3a5f09(0x1c1)](),_0x498b1f+'_integrations.json');if(_0x349553&&fs[_0x3a5f09(0x1b6)](_0x349553))try{return JSON[_0x3a5f09(0x1d2)](fs['readFileSync'](_0x349553)[_0x3a5f09(0x1f0)]());}catch(_0x3f4863){return logger[_0x3a5f09(0x211)](_0x3a5f09(0x210)+_0x498b1f+':\x20'+(_0x3f4863&&_0x3f4863[_0x3a5f09(0x1c6)])),null;}return null;}static['setIntegrations'](_0x565884,_0x17b33b){const _0x3885bf=a54_0x2399af,_0x56751b={};_0x56751b['IzpwM']=function(_0x44ff01,_0x2aa831){return _0x44ff01||_0x2aa831;};const _0x4b1d19=_0x56751b;if(_0x4b1d19[_0x3885bf(0x220)](!_0x565884,!_0x17b33b))return;try{const _0x5371f9=this['getDirPath'](),_0x45f3b2={};_0x45f3b2[_0x3885bf(0x1f7)]=!![],fs[_0x3885bf(0x1b4)](_0x5371f9,_0x45f3b2);const _0x3d132f=path[_0x3885bf(0x21a)](_0x5371f9,_0x565884+'_integrations.json');fs[_0x3885bf(0x1b9)](_0x3d132f,JSON[_0x3885bf(0x22a)](_0x17b33b));}catch(_0x20a07f){logger['debug'](_0x3885bf(0x226)+_0x565884+':\x20'+(_0x20a07f&&_0x20a07f[_0x3885bf(0x1c6)]));}}static[a54_0x2399af(0x1d0)](){const _0x239a91=a54_0x2399af,_0x44e4de={};_0x44e4de[_0x239a91(0x1f7)]=!![],_0x44e4de[_0x239a91(0x1cd)]=!![],fs[_0x239a91(0x1b5)](this[_0x239a91(0x1c1)](),_0x44e4de);}static[a54_0x2399af(0x1c0)](_0x29a2df){const _0x99f180=a54_0x2399af;if(this[_0x99f180(0x1f3)][_0x29a2df])return this[_0x99f180(0x1f3)][_0x29a2df];const _0xece74b=this['getFilePath'](_0x29a2df);if(_0xece74b&&fs['existsSync'](_0xece74b)){const _0x5ab98f=JSON[_0x99f180(0x1d2)](fs[_0x99f180(0x1c9)](_0xece74b)[_0x99f180(0x1f0)]());return this[_0x99f180(0x1f3)][_0x29a2df]=_0x5ab98f,_0x5ab98f;}return{};}static[a54_0x2399af(0x224)](_0x5c20b2,_0x4c3cf8){const _0x5b5126=a54_0x2399af,_0x10e4bc=this[_0x5b5126(0x21b)](_0x5c20b2);if(_0x10e4bc&&fs[_0x5b5126(0x1b6)](_0x10e4bc)){const _0x311b3c=JSON[_0x5b5126(0x1d2)](fs['readFileSync'](_0x10e4bc)['toString']()),_0x372bee={..._0x311b3c,..._0x4c3cf8};this[_0x5b5126(0x1f3)][_0x5c20b2]=_0x372bee;}else this[_0x5b5126(0x1f3)][_0x5c20b2]=_0x4c3cf8;fs['writeFileSync'](_0x10e4bc,this[_0x5b5126(0x1f3)][_0x5c20b2]);}static[a54_0x2399af(0x20d)](_0x52a4ed){const _0x1361ba=a54_0x2399af,_0x4787ac={};_0x4787ac[_0x1361ba(0x1db)]=_0x1361ba(0x1e3);const _0x249aa5=_0x4787ac;try{const _0x370450=process[_0x1361ba(0x1f8)],_0x7e3c35=path[_0x1361ba(0x21a)](TestDetails[_0x1361ba(0x1b7)](),_0x370450+'_traceZipPaths.json');let _0x12e28c=[];_0x7e3c35&&fs[_0x1361ba(0x1b6)](_0x7e3c35)&&(_0x12e28c=JSON[_0x1361ba(0x1d2)](fs['readFileSync'](_0x7e3c35)['toString']())),!_0x12e28c[_0x1361ba(0x1ce)](_0x3ef95f=>_0x3ef95f[_0x1361ba(0x1d1)]===_0x52a4ed[_0x1361ba(0x1d1)])&&(_0x12e28c[_0x1361ba(0x1f5)](_0x52a4ed),fs[_0x1361ba(0x1b9)](_0x7e3c35,JSON[_0x1361ba(0x22a)](_0x12e28c)));}catch(_0x468f4b){logger['error'](_0x249aa5[_0x1361ba(0x1db)],_0x468f4b);}}static[a54_0x2399af(0x1c8)](){const _0x5b258e=a54_0x2399af,_0x369d05={};_0x369d05[_0x5b258e(0x206)]=_0x5b258e(0x204),_0x369d05['MZqNy']=_0x5b258e(0x21c);const _0x344ae4=_0x369d05,_0x5dde1a=[];try{const _0x5532e0=TestDetails[_0x5b258e(0x1b7)]();if(_0x5532e0&&!fs['existsSync'](_0x5532e0))return _0x5dde1a;const _0x4f8658=fs['readdirSync'](_0x5532e0);_0x4f8658[_0x5b258e(0x1bf)](_0x279205=>{const _0x1c482e=_0x5b258e;if(_0x279205&&_0x279205[_0x1c482e(0x1ef)](_0x344ae4['ignrb'])){const _0x996835=JSON[_0x1c482e(0x1d2)](fs[_0x1c482e(0x1c9)](path['join'](_0x5532e0,_0x279205))[_0x1c482e(0x1f0)]());_0x5dde1a[_0x1c482e(0x1f5)](..._0x996835);}});}catch(_0x40db3f){logger[_0x5b258e(0x1ba)](util[_0x5b258e(0x1d7)](_0x344ae4[_0x5b258e(0x216)],_0x40db3f));}const _0xe5202b={};return _0x5dde1a[_0x5b258e(0x1bf)](_0x1d451a=>{const _0x2b3417=_0x5b258e;_0xe5202b[_0x1d451a[_0x2b3417(0x1d1)]]=_0x1d451a;}),Object['values'](_0xe5202b);}static[a54_0x2399af(0x1fd)](_0x4403e7,_0x78198d){const _0x48959b=a54_0x2399af,_0x4584df={};_0x4584df['GBJMt']=_0x48959b(0x208),_0x4584df[_0x48959b(0x1d4)]=_0x48959b(0x213);const _0x1c8a6e=_0x4584df;try{const _0x241e9c=path['join'](helper[_0x48959b(0x1c4)](),_0x1c8a6e[_0x48959b(0x1f2)]);if(!fs[_0x48959b(0x1b6)](_0x241e9c)){const _0xdec32b={};_0xdec32b[_0x48959b(0x1f7)]=!![],fs['mkdirSync'](_0x241e9c,_0xdec32b);}fs[_0x48959b(0x203)](path[_0x48959b(0x21a)](_0x241e9c,'trace_'+_0x78198d+_0x48959b(0x1bb)),_0x4403e7+'\x0a',_0x1c8a6e[_0x48959b(0x1d4)]);}catch(_0x18ec80){console[_0x48959b(0x1ba)](_0x48959b(0x1ca)+_0x18ec80[_0x48959b(0x1c6)]);}}}function a54_0x3aa1(_0x55dd3a,_0x50646a){const _0x320cb8=a54_0x320c();return a54_0x3aa1=function(_0x3aa17a,_0x9671ec){_0x3aa17a=_0x3aa17a-0x1b4;let _0x2ed5a6=_0x320cb8[_0x3aa17a];return _0x2ed5a6;},a54_0x3aa1(_0x55dd3a,_0x50646a);}module[a54_0x2399af(0x1e6)]=TestDetails;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a56_0x17caf8=a56_0x2f82;(function(_0x1a16fb,_0x933119){const _0x48370e=a56_0x2f82,_0x32954a=_0x1a16fb();while(!![]){try{const _0x386a8e=parseInt(_0x48370e(0x1fd))/0x1*(-parseInt(_0x48370e(0x1e7))/0x2)+-parseInt(_0x48370e(0x292))/0x3*(parseInt(_0x48370e(0x27a))/0x4)+-parseInt(_0x48370e(0x278))/0x5+parseInt(_0x48370e(0x207))/0x6*(-parseInt(_0x48370e(0x28a))/0x7)+-parseInt(_0x48370e(0x1ed))/0x8+-parseInt(_0x48370e(0x25b))/0x9+parseInt(_0x48370e(0x21d))/0xa*(parseInt(_0x48370e(0x20f))/0xb);if(_0x386a8e===_0x933119)break;else _0x32954a['push'](_0x32954a['shift']());}catch(_0x1a254e){_0x32954a['push'](_0x32954a['shift']());}}}(a56_0x10e9,0x3a2ab));const path=require('path'),url=require(a56_0x17caf8(0x291)),util=require(a56_0x17caf8(0x27c)),helper=require(a56_0x17caf8(0x23f)),{nestedKeyValue,isFalse,importFileFromPWCore,requireModule,isBrowserstackInfra}=require(a56_0x17caf8(0x23f)),{o11yErrorHandler}=require(a56_0x17caf8(0x1db)),{debug,getPlatformDetails}=require(a56_0x17caf8(0x28d)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require('../../helpers/accessibility-automation/helper'),{FRAMEWORKS}=require(a56_0x17caf8(0x26d)),logger=require(a56_0x17caf8(0x266))[a56_0x17caf8(0x282)],scripts=require('../../helpers/accessibility-automation/scripts'),{browserStackExecuteDriver}=require(a56_0x17caf8(0x1f3)),AccessibilityHelper=require(a56_0x17caf8(0x288)),constants=require(a56_0x17caf8(0x258)),BrowserstackCLI=require(a56_0x17caf8(0x264)),AutomationFrameworkState=require(a56_0x17caf8(0x1f5)),HookState=require('../v2/state/hookState.js'),{performScanWithRetry}=require(a56_0x17caf8(0x28f)),ClientTroubleShootingService=require(a56_0x17caf8(0x263)),getBrowserNameFromChannel=_0x3123a2=>{const _0x526d3c=a56_0x17caf8,_0x7650cf={};_0x7650cf[_0x526d3c(0x23e)]='6|0|1|2|4|7|5|3',_0x7650cf[_0x526d3c(0x29b)]=_0x526d3c(0x2a1),_0x7650cf[_0x526d3c(0x271)]=_0x526d3c(0x203),_0x7650cf[_0x526d3c(0x220)]=_0x526d3c(0x2a2),_0x7650cf[_0x526d3c(0x2a6)]='firefox',_0x7650cf[_0x526d3c(0x256)]=function(_0x994eeb,_0x2a9595){return _0x994eeb===_0x2a9595;},_0x7650cf[_0x526d3c(0x285)]=_0x526d3c(0x200),_0x7650cf[_0x526d3c(0x2a3)]=function(_0x4baff2,_0x2d503e){return _0x4baff2!==_0x2d503e;},_0x7650cf[_0x526d3c(0x1de)]=_0x526d3c(0x259),_0x7650cf[_0x526d3c(0x21a)]=_0x526d3c(0x294);const _0x4cbf2b=_0x7650cf,_0x585e37=_0x4cbf2b[_0x526d3c(0x23e)][_0x526d3c(0x283)]('|');let _0x4a9bf2=0x0;while(!![]){switch(_0x585e37[_0x4a9bf2++]){case'0':if(_0x3123a2[_0x526d3c(0x26f)](_0x4cbf2b['SEzAU']))return _0x4cbf2b[_0x526d3c(0x29b)];continue;case'1':if(_0x3123a2['includes'](_0x4cbf2b[_0x526d3c(0x271)]))return _0x4cbf2b['LHvHw'];continue;case'2':if(_0x3123a2[_0x526d3c(0x26f)](_0x4cbf2b[_0x526d3c(0x220)]))return _0x4cbf2b['iksRO'];continue;case'3':return _0x3123a2;case'4':if(_0x3123a2[_0x526d3c(0x26f)](_0x4cbf2b['BknQc']))return _0x4cbf2b[_0x526d3c(0x2a6)];continue;case'5':if(_0x4cbf2b[_0x526d3c(0x256)](_0x3123a2,_0x4cbf2b['DJrCR']))return _0x4cbf2b[_0x526d3c(0x285)];continue;case'6':if(!_0x3123a2||_0x4cbf2b['uMeBu'](typeof _0x3123a2,_0x4cbf2b[_0x526d3c(0x1de)]))return _0x4cbf2b['SEzAU'];continue;case'7':if(_0x3123a2[_0x526d3c(0x26f)](_0x4cbf2b[_0x526d3c(0x21a)]))return _0x4cbf2b[_0x526d3c(0x21a)];continue;}break;}},getBrowserFromWSEndpoint=_0x5d7961=>{const _0x14e6fc=a56_0x17caf8,_0x16897a={'LJPgn':_0x14e6fc(0x203),'zvwse':function(_0xd10d53,_0x309b80){return _0xd10d53(_0x309b80);}};try{const _0x4289bb=url['parse'](_0x5d7961),_0x40d4da=new URLSearchParams(_0x4289bb[_0x14e6fc(0x24e)]),_0x48c9b3=Object[_0x14e6fc(0x237)](_0x40d4da['entries']()),_0x5f0e77=JSON[_0x14e6fc(0x276)](_0x48c9b3[_0x14e6fc(0x2a4)]);if(_0x5f0e77&&(_0x5f0e77[_0x14e6fc(0x204)]||_0x5f0e77[_0x14e6fc(0x232)]))return _0x5f0e77[_0x14e6fc(0x204)]||_0x5f0e77[_0x14e6fc(0x232)];return _0x16897a[_0x14e6fc(0x227)];}catch(_0x5d79f9){_0x16897a[_0x14e6fc(0x209)](debug,_0x14e6fc(0x1e6)+_0x5d79f9[_0x14e6fc(0x268)]());}},getCloudProviderFromWsEndpoint=_0x120fa2=>{const _0x150f80=a56_0x17caf8,_0x1d5ee9={};_0x1d5ee9[_0x150f80(0x261)]=_0x150f80(0x21c),_0x1d5ee9[_0x150f80(0x1ee)]=_0x150f80(0x255);const _0x50fba1=_0x1d5ee9;if(_0x120fa2[_0x150f80(0x26f)](constants[_0x150f80(0x1f6)])||_0x120fa2[_0x150f80(0x26f)](constants[_0x150f80(0x1e8)]))return _0x50fba1[_0x150f80(0x261)];return _0x50fba1[_0x150f80(0x1ee)];},a56_0x103a65={};a56_0x103a65[a56_0x17caf8(0x246)]=undefined,a56_0x103a65[a56_0x17caf8(0x287)]=undefined,a56_0x103a65[a56_0x17caf8(0x204)]=undefined,a56_0x103a65['browser_version']=undefined,a56_0x103a65[a56_0x17caf8(0x1e0)]=undefined,a56_0x103a65[a56_0x17caf8(0x29e)]=undefined,a56_0x103a65[a56_0x17caf8(0x290)]=undefined,a56_0x103a65[a56_0x17caf8(0x249)]={};function a56_0x2f82(_0x5660c4,_0xd3c193){const _0x10e96c=a56_0x10e9();return a56_0x2f82=function(_0x2f823b,_0x5cf7ee){_0x2f823b=_0x2f823b-0x1da;let _0x4791a9=_0x10e96c[_0x2f823b];return _0x4791a9;},a56_0x2f82(_0x5660c4,_0xd3c193);}class PlaywrightSessionDetails{static [a56_0x17caf8(0x229)]=a56_0x103a65;constructor(){const _0x2097b4=a56_0x17caf8,_0x3361ea={};_0x3361ea[_0x2097b4(0x29a)]='Invalid\x20constructor,\x20please\x20use\x20static\x20methods';const _0x481fd8=_0x3361ea;throw new Error(_0x481fd8[_0x2097b4(0x29a)]);}static [a56_0x17caf8(0x2a0)]=null;static[a56_0x17caf8(0x295)](_0x6d6e21,_0x2309b8,_0x2b8a5e=null){const _0x3cf381=a56_0x17caf8,_0x21bf77={'TZXiJ':_0x3cf381(0x248),'WUOIM':function(_0x41983e){return _0x41983e();},'uWDmk':_0x3cf381(0x21c),'aFybY':_0x3cf381(0x299),'sZSUT':_0x3cf381(0x270),'pCpvj':_0x3cf381(0x269),'bhRbI':function(_0x4b101b,_0x47f3be){return _0x4b101b===_0x47f3be;},'VRyJF':_0x3cf381(0x1e3),'HSPQX':_0x3cf381(0x1e1),'HHQoQ':function(_0x58306d,_0x2d5bae){return _0x58306d===_0x2d5bae;},'FLYcO':'Device\x20Model\x20is\x20not\x20available','CEdZZ':function(_0x3474b4,_0x42d987,_0x5de80a){return _0x3474b4(_0x42d987,_0x5de80a);},'socDE':'_browserType','nurCT':'_defaultConnectOptions','TmAie':function(_0x2655c6,_0x331846,_0x14b761){return _0x2655c6(_0x331846,_0x14b761);},'krpVd':_0x3cf381(0x293),'OFXyz':_0x3cf381(0x26c),'cDObX':_0x3cf381(0x201),'hgQaZ':function(_0x2fe89c,_0x23db53){return _0x2fe89c(_0x23db53);},'XIane':function(_0x51d09a,_0x3e00d6){return _0x51d09a===_0x3e00d6;},'xfUbb':_0x3cf381(0x22b),'DaXBh':'automate','jaric':function(_0x487d06,_0x52e07f){return _0x487d06&&_0x52e07f;},'kKkxK':function(_0x13ccbe){return _0x13ccbe();},'eSCzz':function(_0x5e0dba,_0x1a2006){return _0x5e0dba(_0x1a2006);},'pHkXF':function(_0x3d4e00,_0x50be4f){return _0x3d4e00+_0x50be4f;},'HSMtJ':_0x3cf381(0x284),'kAoiE':function(_0x6138a,_0x4d4ba4){return _0x6138a||_0x4d4ba4;},'jbdXs':_0x3cf381(0x295)},_0x4ab70=this;return _0x21bf77['TmAie'](o11yErrorHandler,async function _0x413ffd(_0x2b82cf,_0x1815bc,_0x2c9acf=null){const _0x4e846f=_0x3cf381;if(!_0x2b82cf){logger['debug'](_0x21bf77[_0x4e846f(0x26e)]),_0x4ab70[_0x4e846f(0x229)]=Object[_0x4e846f(0x1f1)]({},_0x4ab70[_0x4e846f(0x229)],{'cloudProvider':_0x21bf77[_0x4e846f(0x21f)](isBrowserstackInfra)?_0x21bf77[_0x4e846f(0x1ef)]:_0x21bf77['aFybY'],'browser':_0x21bf77[_0x4e846f(0x244)],'browser_version':_0x21bf77[_0x4e846f(0x24d)]});return;}let _0x44b2f6=_0x2b82cf[_0x4e846f(0x24c)],_0x48b6e1=null;_0x2b82cf&&_0x21bf77[_0x4e846f(0x1f2)](typeof _0x2b82cf['version'],_0x21bf77[_0x4e846f(0x298)])?_0x48b6e1=_0x2b82cf['version']():logger[_0x4e846f(0x279)](_0x21bf77[_0x4e846f(0x253)]);let _0x46187f=null;_0x2b82cf&&_0x21bf77[_0x4e846f(0x25c)](typeof _0x2b82cf[_0x4e846f(0x218)],_0x21bf77[_0x4e846f(0x298)])?_0x46187f=_0x2b82cf[_0x4e846f(0x218)]():logger['debug'](_0x21bf77[_0x4e846f(0x240)]);let _0xf9865b=null,_0x24f69c=null,_0x6c3136=null,_0x34f87b=_0x21bf77[_0x4e846f(0x243)];const _0x3ddf80=_0x2b82cf['_connection']&&_0x21bf77[_0x4e846f(0x25c)](typeof _0x2b82cf[_0x4e846f(0x1fe)][_0x4e846f(0x211)],_0x21bf77[_0x4e846f(0x298)])?_0x2b82cf[_0x4e846f(0x1fe)][_0x4e846f(0x211)]():![];if(_0x3ddf80||global['accessibilityPlatform']&&!process[_0x4e846f(0x22a)][_0x4e846f(0x260)]){let _0x143eb=null;_0x21bf77[_0x4e846f(0x251)](nestedKeyValue,_0x2b82cf,[_0x21bf77['socDE'],_0x21bf77[_0x4e846f(0x226)]])?_0x143eb=_0x2b82cf[_0x4e846f(0x205)]['_defaultConnectOptions']:_0x143eb=_0x21bf77['TmAie'](nestedKeyValue,_0x1815bc,[_0x21bf77[_0x4e846f(0x1fb)],_0x21bf77[_0x4e846f(0x20b)],_0x21bf77[_0x4e846f(0x20c)]]);const _0x4d24b2=_0x2c9acf||_0x143eb&&_0x143eb['wsEndpoint'];if(_0x4d24b2){_0x34f87b=_0x21bf77[_0x4e846f(0x20d)](getCloudProviderFromWsEndpoint,_0x4d24b2);if(_0x21bf77[_0x4e846f(0x1e9)](_0x34f87b,_0x21bf77[_0x4e846f(0x1ef)]))_0x6c3136=constants[_0x4e846f(0x296)][_0x4e846f(0x273)](_0x4d24b2)?_0x21bf77[_0x4e846f(0x25d)]:_0x21bf77[_0x4e846f(0x257)],_0x44b2f6=_0x21bf77[_0x4e846f(0x20d)](getBrowserFromWSEndpoint,_0x4d24b2)||_0x44b2f6,_0xf9865b=_0x4ab70['currentSessionDetails'][_0x4e846f(0x1e0)],_0x24f69c=_0x4ab70[_0x4e846f(0x229)][_0x4e846f(0x29e)];else{const _0x155c38=await _0x21bf77[_0x4e846f(0x21f)](getPlatformDetails);_0xf9865b=_0x155c38['platformName'],_0x24f69c=_0x155c38['platformVersion'];}}if(_0x21bf77[_0x4e846f(0x24f)](!_0xf9865b,!_0x24f69c)&&!_0x21bf77[_0x4e846f(0x21f)](isBrowserstackInfra)){const _0x7d04d5=await _0x21bf77['kKkxK'](getPlatformDetails);_0xf9865b=_0x7d04d5['platformName'],_0x24f69c=_0x7d04d5[_0x4e846f(0x1e5)];}}else{_0x1815bc&&_0x1815bc[_0x4e846f(0x293)][_0x4e846f(0x26c)][_0x4e846f(0x219)]?_0x44b2f6=_0x21bf77['eSCzz'](getBrowserNameFromChannel,_0x1815bc['project'][_0x4e846f(0x26c)][_0x4e846f(0x219)]):_0x44b2f6=_0x21bf77[_0x4e846f(0x224)](_0x21bf77['HSMtJ'],_0x21bf77['kAoiE'](_0x44b2f6,_0x21bf77[_0x4e846f(0x24d)])[_0x4e846f(0x25f)]());const _0x35cff5=await _0x21bf77[_0x4e846f(0x21f)](getPlatformDetails);_0xf9865b=_0x35cff5[_0x4e846f(0x228)],_0x24f69c=_0x35cff5[_0x4e846f(0x1e5)];}const _0x2822f2={};_0x2822f2[_0x4e846f(0x204)]=_0x44b2f6,_0x2822f2[_0x4e846f(0x2a5)]=_0x48b6e1,_0x2822f2['capabilities']={},_0x2822f2['platform']=_0xf9865b,_0x2822f2[_0x4e846f(0x29e)]=_0x24f69c,_0x2822f2[_0x4e846f(0x290)]=_0x6c3136;const _0x237c15=_0x2822f2;_0x46187f&&(_0x237c15[_0x4e846f(0x249)]['deviceModel']=_0x46187f);const _0x4918ae={};_0x4918ae[_0x4e846f(0x246)]=_0x34f87b,_0x4ab70[_0x4e846f(0x229)]=Object['assign']({},_0x4ab70[_0x4e846f(0x229)],_0x4918ae,_0x237c15);},_0x21bf77[_0x3cf381(0x22f)])(_0x6d6e21,_0x2309b8,_0x2b8a5e);}static[a56_0x17caf8(0x28c)](){const _0x3f9782=a56_0x17caf8;this[_0x3f9782(0x1f8)](),this[_0x3f9782(0x286)]();}static[a56_0x17caf8(0x1f8)](){const _0x3c2a9a=a56_0x17caf8,_0x3f4caa={'hXjyA':function(_0x3f6672,_0x2d5873,_0x2e9e61){return _0x3f6672(_0x2d5873,_0x2e9e61);},'rWovA':'currentTest','PErLQ':_0x3c2a9a(0x272),'OqaCI':'titlePath','VAijB':'__workerDetails','BWrkU':_0x3c2a9a(0x281),'XLgBv':function(_0x27cb0c,_0x40bad4){return _0x27cb0c===_0x40bad4;},'Kimtq':'Page','mKdWF':function(_0x11cfd7,_0x199e52,_0x3b1c0e,_0x2922f3){return _0x11cfd7(_0x199e52,_0x3b1c0e,_0x2922f3);},'XEydA':function(_0x58b25f,_0x1003c3){return _0x58b25f||_0x1003c3;},'YRcMo':function(_0x4c11ab,_0x36220b){return _0x4c11ab(_0x36220b);},'rlWMb':function(_0x57e16a,_0x1aa47d){return _0x57e16a(_0x1aa47d);},'qzixi':function(_0x3407cf,_0x3eaa3e){return _0x3407cf(_0x3eaa3e);},'uhojy':_0x3c2a9a(0x1fc),'mNebQ':function(_0x1b8f99,_0x8160ab){return _0x1b8f99!=_0x8160ab;},'ckzaJ':function(_0x335777){return _0x335777();},'HPCVU':'sendMessageToServer','xBqrq':_0x3c2a9a(0x202),'fKeUI':_0x3c2a9a(0x230),'hlGTJ':function(_0x5bde3f,_0x2505ac){return _0x5bde3f(_0x2505ac);}},_0x25eb53=this;!this[_0x3c2a9a(0x29c)]&&(this['Connection']=helper[_0x3c2a9a(0x22e)](),!this[_0x3c2a9a(0x29c)]&&_0x3f4caa[_0x3c2a9a(0x24b)](debug,_0x3f4caa[_0x3c2a9a(0x23a)]));const _0x516298=this[_0x3c2a9a(0x29c)];if(_0x3f4caa[_0x3c2a9a(0x222)](_0x516298,null)&&_0x516298['prototype']['_bstackDispatchPatched'])return;try{if(_0x3f4caa['mNebQ'](_0x516298,null)){const _0x2c9adc=_0x516298['prototype'][_0x3c2a9a(0x202)],_0x544df9=_0x516298[_0x3c2a9a(0x22d)][_0x3c2a9a(0x274)];_0x3f4caa[_0x3c2a9a(0x1f7)](isAccessibilityAutomationSession)&&Object[_0x3c2a9a(0x25a)](_0x516298[_0x3c2a9a(0x22d)],_0x3f4caa[_0x3c2a9a(0x28e)],{'get':function(){return async function(){const _0x338e03=a56_0x2f82;try{if(!global[_0x338e03(0x1dd)]&&global['accessibilityPlatform']&&_0x3f4caa[_0x338e03(0x212)](nestedKeyValue,global[_0x338e03(0x262)],[_0x3f4caa['rWovA'],_0x3f4caa[_0x338e03(0x241)],_0x3f4caa['OqaCI']])&&_0x3f4caa['hXjyA'](shouldScanTestForAccessibility,global[_0x338e03(0x262)][_0x338e03(0x275)]['testInfo'][_0x338e03(0x1ec)],!![])&&scripts[_0x338e03(0x1ea)](arguments[0x1])){logger[_0x338e03(0x279)](_0x338e03(0x20e)+arguments[0x1]),global[_0x338e03(0x1dd)]=!![];const _0x459368=_0x3f4caa['hXjyA'](nestedKeyValue,global,[_0x3f4caa['VAijB'],_0x3f4caa[_0x338e03(0x1fa)]]);_0x459368&&logger[_0x338e03(0x208)](_0x338e03(0x215)+util[_0x338e03(0x245)](await _0x3f4caa[_0x338e03(0x212)](performScanWithRetry,_0x459368,arguments[0x1]))),_0x3f4caa[_0x338e03(0x206)](arguments[0x0]['_type'],_0x3f4caa[_0x338e03(0x223)])&&global[_0x338e03(0x221)]&&logger[_0x338e03(0x208)]('Driver\x20Scan\x20result='+util[_0x338e03(0x245)](await _0x3f4caa[_0x338e03(0x1ff)](performScanWithRetry,global[_0x338e03(0x221)],arguments[0x1],scripts[_0x338e03(0x1f0)])));}}catch(_0x139c1e){logger[_0x338e03(0x279)]('Failed\x20to\x20perform\x20scan\x20'+util['format'](_0x139c1e));}return global[_0x338e03(0x1dd)]=![],_0x544df9[_0x338e03(0x231)](this,arguments);};}}),!_0x3f4caa[_0x3c2a9a(0x24b)](isFalse,process['env'][_0x3c2a9a(0x234)])&&Object[_0x3c2a9a(0x25a)](_0x516298[_0x3c2a9a(0x22d)],_0x3f4caa['xBqrq'],{'get':function(){const _0x863f00={'oHWbp':function(_0x31b1ed,_0x37b5de){const _0x347ad9=a56_0x2f82;return _0x3f4caa[_0x347ad9(0x235)](_0x31b1ed,_0x37b5de);},'OUsbF':function(_0x1088bd,_0x1640f1){const _0x333c19=a56_0x2f82;return _0x3f4caa[_0x333c19(0x29d)](_0x1088bd,_0x1640f1);},'BzYVY':function(_0x205b01,_0xdad4f4){const _0x50b46c=a56_0x2f82;return _0x3f4caa[_0x50b46c(0x289)](_0x205b01,_0xdad4f4);}};return async function _0x3a57d7(_0x3def5f){const _0x1d040f=a56_0x2f82,_0x21be40=_0x2c9adc['apply'](this,arguments);if(BrowserstackCLI[_0x1d040f(0x27f)]()['isRunning']()){const _0x219d58={};_0x219d58[_0x1d040f(0x238)]=_0x3def5f,await BrowserstackCLI[_0x1d040f(0x27f)]()[_0x1d040f(0x225)]()['trackEvent'](AutomationFrameworkState[_0x1d040f(0x23b)],HookState[_0x1d040f(0x213)],_0x219d58);}else{const _0x3077cd=_0x3def5f&&_0x3def5f['params']&&_0x3def5f[_0x1d040f(0x242)][_0x1d040f(0x239)];if(_0x3077cd){const _0xe1c85c=_0x3077cd[_0x1d040f(0x1e4)],_0x1cd399=_0x3077cd['platformDetails'];_0x863f00[_0x1d040f(0x1e2)](!_0xe1c85c,!_0x1cd399)&&await ClientTroubleShootingService[_0x1d040f(0x297)](),_0x1cd399&&(_0x863f00[_0x1d040f(0x254)](debug,'Setting\x20platform\x20details\x20received\x20from\x20BS:\x20'+_0x1cd399['toString']()),_0x25eb53[_0x1d040f(0x229)][_0x1d040f(0x1e0)]=_0x1cd399[_0x1d040f(0x228)],_0x25eb53[_0x1d040f(0x229)][_0x1d040f(0x29e)]=_0x1cd399[_0x1d040f(0x1e5)]),_0xe1c85c&&(_0x863f00[_0x1d040f(0x1f4)](debug,_0x1d040f(0x29f)+_0xe1c85c),_0x25eb53[_0x1d040f(0x229)][_0x1d040f(0x287)]=_0xe1c85c);}}return _0x21be40;};}}),_0x516298[_0x3c2a9a(0x22d)][_0x3c2a9a(0x27e)]=!![],logger['debug'](_0x3f4caa[_0x3c2a9a(0x233)]);}}catch(_0x134714){_0x3f4caa[_0x3c2a9a(0x20a)](debug,'Error\x20in\x20getting\x20applying\x20Connection\x20patch\x20'+_0x134714),_0x25eb53[_0x3c2a9a(0x2a0)]=_0x134714['toString']();}}static[a56_0x17caf8(0x286)](){const _0x5bed5b=a56_0x17caf8,_0x55727d={'kWzUr':function(_0x198116,_0x451a48){return _0x198116(_0x451a48);},'AWbvh':function(_0x160f90,_0x3812a3){return _0x160f90(_0x3812a3);},'nUqtR':function(_0x1ff336){return _0x1ff336();},'jVRhb':function(_0x35386f,_0x1952b1){return _0x35386f>=_0x1952b1;},'AUpZp':_0x5bed5b(0x26a),'bRuHh':function(_0x5cb170,_0x4cff30){return _0x5cb170(_0x4cff30);},'OamBg':function(_0x2c259c,_0x35c623){return _0x2c259c(_0x35c623);},'QXAmz':'CRConnection\x20patch\x20unavailable\x20on\x20PW>=1.60\x20(server-side\x20class\x20not\x20reachable\x20in\x20SDK\x20process);\x20platform/sessionId\x20capture\x20continues\x20via\x20Connection.dispatch','IsIwL':_0x5bed5b(0x1eb),'tFZqb':'server','xFHVj':_0x5bed5b(0x2a1),'mICgv':_0x5bed5b(0x1f9),'sOxAe':function(_0x41a53b,_0x6747dd){return _0x41a53b(_0x6747dd);},'mNlMw':_0x5bed5b(0x21e),'UNxtV':function(_0x44bf10,_0x20a516){return _0x44bf10(_0x20a516);},'JiuYo':'Error\x20in\x20importing\x20crConnection','WBQqS':function(_0x2d1970,_0xdd7f1){return _0x2d1970!=_0xdd7f1;},'AcMlK':_0x5bed5b(0x23c),'HVgcq':function(_0x491b88,_0x3e01eb){return _0x491b88(_0x3e01eb);}},_0x508be6=this;if(_0x55727d['nUqtR'](isAccessibilityAutomationSession)){let _0x30e83c=null,_0x443ade=![];try{const _0x31197a=helper['getFrameworkVersion'](FRAMEWORKS[_0x5bed5b(0x216)]);_0x443ade=_0x55727d['jVRhb'](helper[_0x5bed5b(0x236)](_0x31197a,_0x55727d[_0x5bed5b(0x280)]),0x0);}catch(_0x5b975a){_0x55727d[_0x5bed5b(0x27d)](debug,_0x5bed5b(0x265)+_0x5b975a[_0x5bed5b(0x268)]());}if(_0x443ade)_0x55727d[_0x5bed5b(0x28b)](debug,_0x55727d['QXAmz']);else try{const _0x40e297=path[_0x5bed5b(0x1da)](_0x55727d[_0x5bed5b(0x214)],_0x55727d['tFZqb'],_0x55727d[_0x5bed5b(0x26b)],_0x55727d[_0x5bed5b(0x27b)]),_0x5cf06e=_0x55727d[_0x5bed5b(0x217)](importFileFromPWCore,_0x40e297);!_0x5cf06e?_0x55727d[_0x5bed5b(0x277)](debug,_0x55727d[_0x5bed5b(0x21b)]):_0x30e83c=_0x5cf06e['CRConnection'];}catch(_0x344638){_0x55727d[_0x5bed5b(0x250)](debug,_0x55727d[_0x5bed5b(0x210)]);}try{if(_0x55727d['WBQqS'](_0x30e83c,null)){const _0x14e502=_0x30e83c['prototype'][_0x5bed5b(0x23c)];Object[_0x5bed5b(0x25a)](_0x30e83c[_0x5bed5b(0x22d)],_0x55727d['AcMlK'],{'get':function(){return async function _0x11ef96(_0x475253){const _0x3674e2=a56_0x2f82;try{if(BrowserstackCLI['getInstance']()[_0x3674e2(0x24a)]()){const _0x3be7d5={};_0x3be7d5['message']=_0x475253,await BrowserstackCLI[_0x3674e2(0x27f)]()[_0x3674e2(0x225)]()[_0x3674e2(0x267)](AutomationFrameworkState['PLAYWRIGHT_DISPATCH'],HookState[_0x3674e2(0x213)],_0x3be7d5),delete _0x475253['bStackParams'];}else{const _0x39d40d=_0x475253['bStackParams'];if(_0x39d40d){delete _0x475253[_0x3674e2(0x1dc)];const _0x181803=_0x39d40d[_0x3674e2(0x1e4)],_0x587dc5=_0x39d40d['platformDetails'];_0x587dc5&&(_0x55727d['kWzUr'](debug,_0x3674e2(0x247)+_0x587dc5[_0x3674e2(0x268)]()),_0x508be6[_0x3674e2(0x229)][_0x3674e2(0x1e0)]=_0x587dc5[_0x3674e2(0x228)],_0x508be6[_0x3674e2(0x229)][_0x3674e2(0x29e)]=_0x587dc5['platformVersion']),_0x181803&&(_0x55727d['kWzUr'](debug,_0x3674e2(0x22c)+_0x181803),_0x508be6[_0x3674e2(0x229)][_0x3674e2(0x287)]=_0x181803);}}}catch(_0x5478e1){_0x55727d[_0x3674e2(0x217)](debug,_0x3674e2(0x252)+_0x5478e1[_0x3674e2(0x268)]());}return _0x14e502['apply'](this,arguments);};}});}}catch(_0x5c5852){_0x55727d['HVgcq'](debug,_0x5bed5b(0x25e)+_0x5c5852),_0x508be6[_0x5bed5b(0x2a0)]=_0x5c5852[_0x5bed5b(0x268)]();}}}static[a56_0x17caf8(0x23d)](){return this['currentSessionDetails'];}}module[a56_0x17caf8(0x1df)]=PlaywrightSessionDetails;function a56_0x10e9(){const _0x39bb2d=['BWrkU','krpVd','Not\x20able\x20to\x20resolve\x20Connection\x20class','288319mspgRj','_connection','mKdWF','webkit','connectOptions','dispatch','chrome','browser','_browserType','XLgBv','39180svyzDV','info','zvwse','hlGTJ','OFXyz','cDObX','hgQaZ','Performing\x20scan\x20for\x20','11YXsHNY','JiuYo','isRemote','hXjyA','POST','IsIwL','Page\x20Scan\x20result=','PLAYWRIGHT','AWbvh','model','channel','hKwhm','mNlMw','browserstack','13009180rkOxOM','Not\x20able\x20to\x20import\x20crConnection','WUOIM','iksRO','__driver','mNebQ','Kimtq','pHkXF','getAutomationFramework','nurCT','LJPgn','platformName','currentSessionDetails','env','turboscale','Setting\x20session\x20id\x20received\x20from\x20browserstack\x20','prototype','resolveConnectionClass','jbdXs','Successfully\x20patched\x20Connection\x20(sendMessageToServer\x20for\x20a11y,\x20dispatch\x20for\x20o11y)','apply','browserName','fKeUI','BROWSERSTACK_TEST_OBSERVABILITY','XEydA','compareVersions','fromEntries','message','bsParams','uhojy','PLAYWRIGHT_DISPATCH','_onMessage','getDetails','zyweP','../../helpers/helper','FLYcO','PErLQ','params','aFybY','sZSUT','format','cloudProvider','Setting\x20platform\x20details\x20received\x20from\x20browserstack:\x20','setupBrowserDetails:\x20browser\x20param\x20is\x20nil;\x20populating\x20playwright\x20fallback\x20so\x20TRA\x20does\x20not\x20render\x20\x22Unknown\x22','capabilities','isRunning','qzixi','_name','pCpvj','query','jaric','UNxtV','CEdZZ','Error\x20in\x20finding\x20platform\x20details\x20','HSPQX','OUsbF','unknown_grid','WgwVn','DaXBh','../utils/constants','string','defineProperty','519210jwDXQE','HHQoQ','xfUbb','Error\x20in\x20getting\x20applying\x20CRConnection\x20patch\x20','toLowerCase','BS_A11Y_SKIP_CDP_CONNECT_OVERRIDE','EwdVR','__workerDetails','../utils/clientTroubleshootingService.js','../v2/browserstackCLI','Error\x20evaluating\x20Playwright\x20version\x20for\x20CRConnection\x20patch:\x20','../../helpers/logger','trackEvent','toString','unknown','1.60.0','xFHVj','use','../../helpers/test-observability/constants','TZXiJ','includes','playwright','LHvHw','testInfo','test','sendMessageToServer','currentTest','parse','sOxAe','2054885JZTMID','debug','148ccQjUA','mICgv','util','bRuHh','_bstackDispatchPatched','getInstance','AUpZp','pwPage','winstonLogger','split','playwright-','DJrCR','patchCRConnection','bsSessionId','./accessibility-helper','rlWMb','7vpdwry','OamBg','patch','../../helpers/test-observability/utils','HPCVU','../../helpers/accessibility-automation/accessibilityRetryHelper.js','product','url','4902aJtVDt','project','safari','setupBrowserDetails','ATS_WSS_URL_REGEX','reportSessionLinkingIssue','VRyJF','local_grid','fPAen','SEzAU','Connection','YRcMo','platform_version','Setting\x20session\x20id\x20received\x20from\x20BS\x20','sessionError','chromium','edge','uMeBu','caps','browser_version','BknQc','join','../../helpers/test-observability/error-handler','bStackParams','bstackPerformA11yScan','FwUZD','exports','platform','Browser\x20is\x20not\x20defined\x20or\x20not\x20available','oHWbp','function','sessionId','platformVersion','Error\x20in\x20getting\x20browser\x20from\x20caps:\x20','2gTqaSo','BSTACK_ATS_URL','XIane','shouldWrapCommand','lib','titlePath','1909544DulMBM','Nxsjr','uWDmk','performScan','assign','bhRbI','../../bin/playwright/accessibility-helper','BzYVY','../v2/state/automationFrameworkState.js','BSTACK_URL','ckzaJ','patchConnection','crConnection.js'];a56_0x10e9=function(){return _0x39bb2d;};return a56_0x10e9();}
|
|
1
|
+
const a55_0x21caf9=a55_0x15b6;(function(_0x209123,_0x4cfc51){const _0x1e6e1d=a55_0x15b6,_0x51740b=_0x209123();while(!![]){try{const _0x31a489=parseInt(_0x1e6e1d(0x1e5))/0x1*(parseInt(_0x1e6e1d(0x1bb))/0x2)+parseInt(_0x1e6e1d(0x1e7))/0x3+parseInt(_0x1e6e1d(0x1b6))/0x4*(-parseInt(_0x1e6e1d(0x1c9))/0x5)+-parseInt(_0x1e6e1d(0x1a7))/0x6*(-parseInt(_0x1e6e1d(0x219))/0x7)+parseInt(_0x1e6e1d(0x1a9))/0x8+-parseInt(_0x1e6e1d(0x204))/0x9*(-parseInt(_0x1e6e1d(0x194))/0xa)+parseInt(_0x1e6e1d(0x1af))/0xb*(-parseInt(_0x1e6e1d(0x245))/0xc);if(_0x31a489===_0x4cfc51)break;else _0x51740b['push'](_0x51740b['shift']());}catch(_0x4523a8){_0x51740b['push'](_0x51740b['shift']());}}}(a55_0x32da,0x5662c));function a55_0x15b6(_0x304c08,_0x55ba3d){const _0x32da4c=a55_0x32da();return a55_0x15b6=function(_0x15b6ae,_0x27d5c3){_0x15b6ae=_0x15b6ae-0x191;let _0x4983d6=_0x32da4c[_0x15b6ae];return _0x4983d6;},a55_0x15b6(_0x304c08,_0x55ba3d);}const path=require(a55_0x21caf9(0x1ad)),url=require(a55_0x21caf9(0x263)),util=require(a55_0x21caf9(0x1d8)),helper=require(a55_0x21caf9(0x22d)),{nestedKeyValue,isFalse,importFileFromPWCore,requireModule,isBrowserstackInfra}=require(a55_0x21caf9(0x22d)),{o11yErrorHandler}=require(a55_0x21caf9(0x239)),{debug,getPlatformDetails}=require('../../helpers/test-observability/utils'),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a55_0x21caf9(0x230)),{FRAMEWORKS}=require(a55_0x21caf9(0x268)),logger=require('../../helpers/logger')[a55_0x21caf9(0x252)],scripts=require(a55_0x21caf9(0x1d4)),{browserStackExecuteDriver}=require(a55_0x21caf9(0x238)),AccessibilityHelper=require(a55_0x21caf9(0x1e8)),constants=require(a55_0x21caf9(0x1c8)),BrowserstackCLI=require(a55_0x21caf9(0x19f)),AutomationFrameworkState=require('../v2/state/automationFrameworkState.js'),HookState=require(a55_0x21caf9(0x1d7)),{performScanWithRetry}=require('../../helpers/accessibility-automation/accessibilityRetryHelper.js'),ClientTroubleShootingService=require(a55_0x21caf9(0x1c5)),getBrowserNameFromChannel=_0x245778=>{const _0x5e30f5=a55_0x21caf9,_0x4bdf02={};_0x4bdf02[_0x5e30f5(0x23b)]=_0x5e30f5(0x248),_0x4bdf02[_0x5e30f5(0x25d)]=_0x5e30f5(0x20b),_0x4bdf02[_0x5e30f5(0x19d)]=_0x5e30f5(0x1a2),_0x4bdf02[_0x5e30f5(0x213)]=_0x5e30f5(0x237),_0x4bdf02[_0x5e30f5(0x1cb)]='chromium',_0x4bdf02['YjsHU']=_0x5e30f5(0x1d6),_0x4bdf02['StHgX']=function(_0x3a7045,_0x9772cf){return _0x3a7045===_0x9772cf;},_0x4bdf02[_0x5e30f5(0x217)]=_0x5e30f5(0x1ea),_0x4bdf02['AISlx']=function(_0x19ddeb,_0x56e47c){return _0x19ddeb!==_0x56e47c;},_0x4bdf02['KZyUZ']='string';const _0x46c6ae=_0x4bdf02,_0x118d64=_0x46c6ae[_0x5e30f5(0x23b)][_0x5e30f5(0x1f5)]('|');let _0x5447f1=0x0;while(!![]){switch(_0x118d64[_0x5447f1++]){case'0':if(_0x245778[_0x5e30f5(0x1e6)](_0x46c6ae[_0x5e30f5(0x25d)]))return _0x46c6ae[_0x5e30f5(0x25d)];continue;case'1':if(_0x245778[_0x5e30f5(0x1e6)](_0x46c6ae[_0x5e30f5(0x19d)]))return _0x46c6ae[_0x5e30f5(0x19d)];continue;case'2':if(_0x245778[_0x5e30f5(0x1e6)](_0x46c6ae['wGaIE']))return _0x46c6ae[_0x5e30f5(0x213)];continue;case'3':if(_0x245778['includes'](_0x46c6ae['swjJO']))return _0x46c6ae['swjJO'];continue;case'4':if(_0x245778[_0x5e30f5(0x1e6)](_0x46c6ae[_0x5e30f5(0x244)]))return _0x46c6ae[_0x5e30f5(0x244)];continue;case'5':if(_0x46c6ae[_0x5e30f5(0x1ee)](_0x245778,_0x46c6ae['FRZpb']))return _0x46c6ae['FRZpb'];continue;case'6':return _0x245778;case'7':if(!_0x245778||_0x46c6ae['AISlx'](typeof _0x245778,_0x46c6ae[_0x5e30f5(0x228)]))return _0x46c6ae[_0x5e30f5(0x1cb)];continue;}break;}},getBrowserFromWSEndpoint=_0x5a3765=>{const _0x340990=a55_0x21caf9,_0x591b4c={'PUSJk':'chrome','xSsrf':function(_0x6de663,_0x853613){return _0x6de663(_0x853613);}};try{const _0x364deb=url[_0x340990(0x1fd)](_0x5a3765),_0x15fc16=new URLSearchParams(_0x364deb[_0x340990(0x1a8)]),_0x2f8b86=Object['fromEntries'](_0x15fc16[_0x340990(0x1fb)]()),_0x4fea61=JSON[_0x340990(0x1fd)](_0x2f8b86[_0x340990(0x1df)]);if(_0x4fea61&&(_0x4fea61[_0x340990(0x1b4)]||_0x4fea61[_0x340990(0x250)]))return _0x4fea61[_0x340990(0x1b4)]||_0x4fea61[_0x340990(0x250)];return _0x591b4c[_0x340990(0x1c7)];}catch(_0x2a3104){_0x591b4c[_0x340990(0x231)](debug,_0x340990(0x191)+_0x2a3104['toString']());}},getCloudProviderFromWsEndpoint=_0xcfee98=>{const _0x7daf8=a55_0x21caf9,_0x2ebe9c={};_0x2ebe9c[_0x7daf8(0x21c)]=_0x7daf8(0x1d9),_0x2ebe9c[_0x7daf8(0x224)]='unknown_grid';const _0x33273e=_0x2ebe9c;if(_0xcfee98[_0x7daf8(0x1e6)](constants['BSTACK_URL'])||_0xcfee98[_0x7daf8(0x1e6)](constants[_0x7daf8(0x23d)]))return _0x33273e[_0x7daf8(0x21c)];return _0x33273e['zScqn'];},a55_0x1e8393={};function a55_0x32da(){const _0x16ec0a=['winstonLogger','dispatch','message','THVrG','Setting\x20platform\x20details\x20received\x20from\x20browserstack:\x20','_onMessage','env','Veziw','NWJlY','XDjFJ','pwPage','VqAQf','FOwGv','debug','uFeMP','Page\x20Scan\x20result=','wfAGU','url','Zzzdk','function','CRConnection','ZNKWF','../../helpers/test-observability/constants','POST','Error\x20in\x20getting\x20browser\x20from\x20caps:\x20','gHVBi','test','30jaWIha','playwright-','pjzLT','performScan','CTphv','testInfo','YlzGb','Device\x20Model\x20is\x20not\x20available','UTLuV','Kjbta','1.60.0','../v2/browserstackCLI','Error\x20in\x20getting\x20applying\x20Connection\x20patch\x20','RArvr','safari','titlePath','BROWSERSTACK_TEST_OBSERVABILITY','getInstance','ATS_WSS_URL_REGEX','1572iekDqf','query','625728nHnrHX','Error\x20in\x20finding\x20platform\x20details\x20','DMutP','bsParams','path','platformDetails','3048067NMuvJN','NsTBE','prototype','local_grid','toLowerCase','browser','GuSVU','4IxEZhe','bstackPerformA11yScan','channel','sessionError','setupBrowserDetails','2WGiNLc','FNKel','getAutomationFramework','crConnection.js','cloudProvider','_name','project','deviceModel','Error\x20in\x20getting\x20applying\x20CRConnection\x20patch\x20','OTWkI','../utils/clientTroubleshootingService.js','currentTest','PUSJk','../utils/constants','1113475sRKdAI','Error\x20evaluating\x20Playwright\x20version\x20for\x20CRConnection\x20patch:\x20','swjJO','exports','Failed\x20to\x20perform\x20scan\x20','EzMXV','turboscale','TWDnq','pHMsY','OYLRh','unknown','../../helpers/accessibility-automation/scripts','version','firefox','../v2/state/hookState.js','util','browserstack','adIKB','voSio','KhcRL','PZqxX','tqvSW','caps','CEtpH','reportSessionLinkingIssue','sessionId','OBBoP','currentSessionDetails','148719NjaoIQ','includes','1965354ROaIhU','./accessibility-helper','use','webkit','platformVersion','Setting\x20platform\x20details\x20received\x20from\x20BS:\x20','platform_version','StHgX','isRemote','nOzIX','WeVze','product','platformName','sendMessageToServer','split','Connection','Not\x20able\x20to\x20resolve\x20Connection\x20class','YgqbU','patchCRConnection','Driver\x20Scan\x20result=','entries','NDkBw','parse','Setting\x20session\x20id\x20received\x20from\x20browserstack\x20','patch','getFrameworkVersion','browser_version','resolve','playwright','1385523wBfpaq','ZwMib','bsSessionId','connectOptions','toString','info','UblFz','chrome','WajEY','capabilities','PLAYWRIGHT','Browser\x20is\x20not\x20defined\x20or\x20not\x20available','_defaultConnectOptions','XLAPd','xEckL','wGaIE','_browserType','cSsrL','model','FRZpb','_connection','1708NKrzZq','bnJKB','automate','fKvvi','VDZSh','Izdyk','_bstackDispatchPatched','qiMOf','setupBrowserDetails:\x20browser\x20param\x20is\x20nil;\x20populating\x20playwright\x20fallback\x20so\x20TRA\x20does\x20not\x20render\x20\x22Unknown\x22','HVnwP','assign','zScqn','patchConnection','VFkCB','xKfyg','KZyUZ','accessibilityPlatform','eUrat','PLAYWRIGHT_DISPATCH','nzbXg','../../helpers/helper','isRunning','cezgH','../../helpers/accessibility-automation/helper','xSsrf','compareVersions','lib','TrGvq','nLNqE','__workerDetails','edge','../../bin/playwright/accessibility-helper','../../helpers/test-observability/error-handler','lpzQy','CIyWJ','BS_A11Y_SKIP_CDP_CONNECT_OVERRIDE','BSTACK_ATS_URL','catch','Error\x20in\x20importing\x20crConnection','defineProperty','WdzaH','FUUyR','format','YjsHU','36iiVAhP','KRqFl','params','7|3|0|2|4|1|5|6','platform','bStackParams','apply','_type','eLVgx','CqULN','hcUtn','browserName','FHCsO'];a55_0x32da=function(){return _0x16ec0a;};return a55_0x32da();}a55_0x1e8393['cloudProvider']=undefined,a55_0x1e8393[a55_0x21caf9(0x206)]=undefined,a55_0x1e8393[a55_0x21caf9(0x1b4)]=undefined,a55_0x1e8393[a55_0x21caf9(0x201)]=undefined,a55_0x1e8393['platform']=undefined,a55_0x1e8393['platform_version']=undefined,a55_0x1e8393[a55_0x21caf9(0x1f2)]=undefined,a55_0x1e8393[a55_0x21caf9(0x20d)]={};class PlaywrightSessionDetails{static [a55_0x21caf9(0x1e4)]=a55_0x1e8393;constructor(){const _0x3e4386=a55_0x21caf9,_0x531fee={};_0x531fee[_0x3e4386(0x1f8)]='Invalid\x20constructor,\x20please\x20use\x20static\x20methods';const _0x571929=_0x531fee;throw new Error(_0x571929['YgqbU']);}static [a55_0x21caf9(0x1b9)]=null;static[a55_0x21caf9(0x1ba)](_0x128931,_0x4a6908,_0x53eee6=null){const _0x434b5d=a55_0x21caf9,_0x1666ef={'bnJKB':_0x434b5d(0x221),'FHCsO':function(_0x164fa2){return _0x164fa2();},'nzbXg':_0x434b5d(0x1d9),'wfAGU':_0x434b5d(0x1b2),'CTphv':_0x434b5d(0x203),'OBBoP':_0x434b5d(0x1d3),'voSio':function(_0x54c3f6,_0x448c08){return _0x54c3f6===_0x448c08;},'qiMOf':_0x434b5d(0x265),'cezgH':_0x434b5d(0x20f),'zgPwC':_0x434b5d(0x19b),'OYLRh':function(_0x169323,_0x3d55b3){return _0x169323===_0x3d55b3;},'ZwMib':function(_0x29ec81,_0x32c008,_0x1b7795){return _0x29ec81(_0x32c008,_0x1b7795);},'lUcbR':_0x434b5d(0x214),'YlzGb':_0x434b5d(0x210),'NDkBw':'project','UblFz':_0x434b5d(0x1e9),'eLVgx':_0x434b5d(0x207),'CEtpH':function(_0x557543,_0x41bc0d){return _0x557543(_0x41bc0d);},'uFeMP':function(_0x5e1e55,_0x3e1ccf){return _0x5e1e55===_0x3e1ccf;},'RArvr':_0x434b5d(0x1cf),'nLNqE':_0x434b5d(0x21b),'EzMXV':function(_0x5ae833,_0x4bf04a){return _0x5ae833(_0x4bf04a);},'MkLXY':function(_0x186515,_0x175207){return _0x186515&&_0x175207;},'lpzQy':function(_0x1051a8){return _0x1051a8();},'XDjFJ':function(_0x592012,_0x490d3e){return _0x592012+_0x490d3e;},'FOwGv':_0x434b5d(0x195),'GuSVU':function(_0x19489e,_0x13ab48){return _0x19489e||_0x13ab48;},'adIKB':_0x434b5d(0x1ba)},_0x53d77e=this;return _0x1666ef[_0x434b5d(0x205)](o11yErrorHandler,async function _0x41e10e(_0x3bfac4,_0x3f9a0c,_0x18c5a0=null){const _0x4bc7ef=_0x434b5d;if(!_0x3bfac4){logger['debug'](_0x1666ef[_0x4bc7ef(0x21a)]),_0x53d77e[_0x4bc7ef(0x1e4)]=Object[_0x4bc7ef(0x223)]({},_0x53d77e[_0x4bc7ef(0x1e4)],{'cloudProvider':_0x1666ef[_0x4bc7ef(0x251)](isBrowserstackInfra)?_0x1666ef[_0x4bc7ef(0x22c)]:_0x1666ef[_0x4bc7ef(0x262)],'browser':_0x1666ef[_0x4bc7ef(0x198)],'browser_version':_0x1666ef[_0x4bc7ef(0x1e3)]});return;}let _0x3dfba9=_0x3bfac4[_0x4bc7ef(0x1c0)],_0x4fa1ae=null;_0x3bfac4&&_0x1666ef[_0x4bc7ef(0x1db)](typeof _0x3bfac4[_0x4bc7ef(0x1d5)],_0x1666ef[_0x4bc7ef(0x220)])?_0x4fa1ae=_0x3bfac4[_0x4bc7ef(0x1d5)]():logger[_0x4bc7ef(0x25f)](_0x1666ef[_0x4bc7ef(0x22f)]);let _0x45c00d=null;_0x3bfac4&&_0x1666ef[_0x4bc7ef(0x1db)](typeof _0x3bfac4[_0x4bc7ef(0x216)],_0x1666ef[_0x4bc7ef(0x220)])?_0x45c00d=_0x3bfac4[_0x4bc7ef(0x216)]():logger[_0x4bc7ef(0x25f)](_0x1666ef['zgPwC']);let _0x3e6cad=null,_0x2e1ec2=null,_0x27b693=null,_0x1ebd66=_0x1666ef[_0x4bc7ef(0x262)];const _0x1976e5=_0x3bfac4[_0x4bc7ef(0x218)]&&_0x1666ef[_0x4bc7ef(0x1d2)](typeof _0x3bfac4['_connection'][_0x4bc7ef(0x1ef)],_0x1666ef[_0x4bc7ef(0x220)])?_0x3bfac4[_0x4bc7ef(0x218)][_0x4bc7ef(0x1ef)]():![];if(_0x1976e5||global['accessibilityPlatform']&&!process[_0x4bc7ef(0x258)][_0x4bc7ef(0x23c)]){let _0x2d4205=null;_0x1666ef[_0x4bc7ef(0x205)](nestedKeyValue,_0x3bfac4,[_0x1666ef['lUcbR'],_0x1666ef[_0x4bc7ef(0x19a)]])?_0x2d4205=_0x3bfac4[_0x4bc7ef(0x214)]['_defaultConnectOptions']:_0x2d4205=_0x1666ef[_0x4bc7ef(0x205)](nestedKeyValue,_0x3f9a0c,[_0x1666ef[_0x4bc7ef(0x1fc)],_0x1666ef[_0x4bc7ef(0x20a)],_0x1666ef[_0x4bc7ef(0x24d)]]);const _0x3c3a50=_0x18c5a0||_0x2d4205&&_0x2d4205['wsEndpoint'];if(_0x3c3a50){_0x1ebd66=_0x1666ef[_0x4bc7ef(0x1e0)](getCloudProviderFromWsEndpoint,_0x3c3a50);if(_0x1666ef[_0x4bc7ef(0x260)](_0x1ebd66,_0x1666ef[_0x4bc7ef(0x22c)]))_0x27b693=constants[_0x4bc7ef(0x1a6)][_0x4bc7ef(0x193)](_0x3c3a50)?_0x1666ef[_0x4bc7ef(0x1a1)]:_0x1666ef[_0x4bc7ef(0x235)],_0x3dfba9=_0x1666ef[_0x4bc7ef(0x1ce)](getBrowserFromWSEndpoint,_0x3c3a50)||_0x3dfba9,_0x3e6cad=_0x53d77e['currentSessionDetails'][_0x4bc7ef(0x249)],_0x2e1ec2=_0x53d77e[_0x4bc7ef(0x1e4)][_0x4bc7ef(0x1ed)];else{const _0x57713c=await _0x1666ef[_0x4bc7ef(0x251)](getPlatformDetails);_0x3e6cad=_0x57713c[_0x4bc7ef(0x1f3)],_0x2e1ec2=_0x57713c[_0x4bc7ef(0x1eb)];}}if(_0x1666ef['MkLXY'](!_0x3e6cad,!_0x2e1ec2)&&!_0x1666ef['lpzQy'](isBrowserstackInfra)){const _0x3084cd=await _0x1666ef[_0x4bc7ef(0x23a)](getPlatformDetails);_0x3e6cad=_0x3084cd[_0x4bc7ef(0x1f3)],_0x2e1ec2=_0x3084cd['platformVersion'];}}else{_0x3f9a0c&&_0x3f9a0c[_0x4bc7ef(0x1c1)]['use'][_0x4bc7ef(0x1b8)]?_0x3dfba9=_0x1666ef[_0x4bc7ef(0x1e0)](getBrowserNameFromChannel,_0x3f9a0c[_0x4bc7ef(0x1c1)][_0x4bc7ef(0x1e9)][_0x4bc7ef(0x1b8)]):_0x3dfba9=_0x1666ef[_0x4bc7ef(0x25b)](_0x1666ef[_0x4bc7ef(0x25e)],_0x1666ef[_0x4bc7ef(0x1b5)](_0x3dfba9,_0x1666ef[_0x4bc7ef(0x1e3)])[_0x4bc7ef(0x1b3)]());const _0x2f9fc2=await _0x1666ef[_0x4bc7ef(0x251)](getPlatformDetails);_0x3e6cad=_0x2f9fc2[_0x4bc7ef(0x1f3)],_0x2e1ec2=_0x2f9fc2[_0x4bc7ef(0x1eb)];}const _0x87cca9={};_0x87cca9[_0x4bc7ef(0x1b4)]=_0x3dfba9,_0x87cca9[_0x4bc7ef(0x201)]=_0x4fa1ae,_0x87cca9[_0x4bc7ef(0x20d)]={},_0x87cca9[_0x4bc7ef(0x249)]=_0x3e6cad,_0x87cca9[_0x4bc7ef(0x1ed)]=_0x2e1ec2,_0x87cca9[_0x4bc7ef(0x1f2)]=_0x27b693;const _0x581270=_0x87cca9;_0x45c00d&&(_0x581270[_0x4bc7ef(0x20d)][_0x4bc7ef(0x1c2)]=_0x45c00d);const _0x49ba3f={};_0x49ba3f[_0x4bc7ef(0x1bf)]=_0x1ebd66,_0x53d77e[_0x4bc7ef(0x1e4)]=Object[_0x4bc7ef(0x223)]({},_0x53d77e['currentSessionDetails'],_0x49ba3f,_0x581270);},_0x1666ef[_0x434b5d(0x1da)])(_0x128931,_0x4a6908,_0x53eee6);}static[a55_0x21caf9(0x1ff)](){const _0x213e5c=a55_0x21caf9;this[_0x213e5c(0x225)](),this[_0x213e5c(0x1f9)]();}static[a55_0x21caf9(0x225)](){const _0x41b04e=a55_0x21caf9,_0x19ba96={'kuLiR':function(_0x1dad9e,_0xf23c97,_0xeefeb8){return _0x1dad9e(_0xf23c97,_0xeefeb8);},'pjzLT':'currentTest','KRqFl':'testInfo','xKfyg':_0x41b04e(0x1a3),'BCMPz':function(_0x5c0801,_0xfc4389,_0x4661e5){return _0x5c0801(_0xfc4389,_0x4661e5);},'LLWSh':'__workerDetails','gHVBi':_0x41b04e(0x25c),'teUZt':function(_0x31d315,_0x5e7d67){return _0x31d315===_0x5e7d67;},'UTLuV':'Page','CqULN':function(_0x22c8df,_0xd28f69,_0x21065e,_0x43520c){return _0x22c8df(_0xd28f69,_0x21065e,_0x43520c);},'NWJlY':function(_0x3b0ac1,_0x38b6b1){return _0x3b0ac1||_0x38b6b1;},'TWDnq':function(_0x349dfd,_0x9295d1){return _0x349dfd(_0x9295d1);},'KhcRL':_0x41b04e(0x1f7),'HVnwP':function(_0x572e07,_0x56278a){return _0x572e07!=_0x56278a;},'TrGvq':function(_0x220a39,_0x33611e){return _0x220a39!=_0x33611e;},'FUUyR':function(_0x2544a6){return _0x2544a6();},'eFQYb':'sendMessageToServer','NsTBE':_0x41b04e(0x253),'uuVUQ':'Successfully\x20patched\x20Connection\x20(sendMessageToServer\x20for\x20a11y,\x20dispatch\x20for\x20o11y)'},_0xc67f78=this;!this['Connection']&&(this[_0x41b04e(0x1f6)]=helper['resolveConnectionClass'](),!this['Connection']&&_0x19ba96['TWDnq'](debug,_0x19ba96[_0x41b04e(0x1dc)]));const _0x51fbf4=this[_0x41b04e(0x1f6)];if(_0x19ba96[_0x41b04e(0x222)](_0x51fbf4,null)&&_0x51fbf4[_0x41b04e(0x1b1)][_0x41b04e(0x21f)])return;try{if(_0x19ba96[_0x41b04e(0x234)](_0x51fbf4,null)){const _0x2cd9ca=_0x51fbf4[_0x41b04e(0x1b1)]['dispatch'],_0x49d9bd=_0x51fbf4['prototype'][_0x41b04e(0x1f4)];_0x19ba96[_0x41b04e(0x242)](isAccessibilityAutomationSession)&&Object[_0x41b04e(0x240)](_0x51fbf4[_0x41b04e(0x1b1)],_0x19ba96['eFQYb'],{'get':function(){const _0x396c3b=_0x41b04e,_0x1df343={'WeVze':function(_0x5d1c00,_0x4459d6,_0x3b9f45){return _0x19ba96['kuLiR'](_0x5d1c00,_0x4459d6,_0x3b9f45);},'VDZSh':_0x19ba96[_0x396c3b(0x196)],'VFkCB':_0x19ba96[_0x396c3b(0x246)],'KRtck':_0x19ba96[_0x396c3b(0x227)],'Izdyk':function(_0x2d53c1,_0x53b6a1,_0x1f7af1){return _0x19ba96['BCMPz'](_0x2d53c1,_0x53b6a1,_0x1f7af1);},'pHMsY':_0x19ba96['LLWSh'],'WdzaH':_0x19ba96[_0x396c3b(0x192)],'PZqxX':function(_0x1e4901,_0x15055b){return _0x19ba96['teUZt'](_0x1e4901,_0x15055b);},'tqvSW':_0x19ba96[_0x396c3b(0x19c)],'XLAPd':function(_0x1f8e7e,_0x5cd796,_0x4301ea,_0x3ec8ea){const _0x36ae1e=_0x396c3b;return _0x19ba96[_0x36ae1e(0x24e)](_0x1f8e7e,_0x5cd796,_0x4301ea,_0x3ec8ea);}};return async function(){const _0x123e3e=_0x396c3b;try{if(!global['bstackPerformA11yScan']&&global[_0x123e3e(0x229)]&&_0x1df343['WeVze'](nestedKeyValue,global['__workerDetails'],[_0x1df343[_0x123e3e(0x21d)],_0x1df343[_0x123e3e(0x226)],_0x1df343['KRtck']])&&_0x1df343[_0x123e3e(0x1f1)](shouldScanTestForAccessibility,global[_0x123e3e(0x236)][_0x123e3e(0x1c6)][_0x123e3e(0x199)]['titlePath'],!![])&&scripts['shouldWrapCommand'](arguments[0x1])){logger[_0x123e3e(0x25f)]('Performing\x20scan\x20for\x20'+arguments[0x1]),global[_0x123e3e(0x1b7)]=!![];const _0xc5a83c=_0x1df343[_0x123e3e(0x21e)](nestedKeyValue,global,[_0x1df343[_0x123e3e(0x1d1)],_0x1df343[_0x123e3e(0x241)]]);_0xc5a83c&&logger['info'](_0x123e3e(0x261)+util['format'](await _0x1df343[_0x123e3e(0x21e)](performScanWithRetry,_0xc5a83c,arguments[0x1]))),_0x1df343[_0x123e3e(0x1dd)](arguments[0x0][_0x123e3e(0x24c)],_0x1df343[_0x123e3e(0x1de)])&&global['__driver']&&logger[_0x123e3e(0x209)](_0x123e3e(0x1fa)+util['format'](await _0x1df343[_0x123e3e(0x211)](performScanWithRetry,global['__driver'],arguments[0x1],scripts[_0x123e3e(0x197)])));}}catch(_0xe7a42d){logger[_0x123e3e(0x25f)](_0x123e3e(0x1cd)+util[_0x123e3e(0x243)](_0xe7a42d));}return global['bstackPerformA11yScan']=![],_0x49d9bd[_0x123e3e(0x24b)](this,arguments);};}}),!_0x19ba96[_0x41b04e(0x1d0)](isFalse,process[_0x41b04e(0x258)][_0x41b04e(0x1a4)])&&Object['defineProperty'](_0x51fbf4['prototype'],_0x19ba96[_0x41b04e(0x1b0)],{'get':function(){return function _0x6408a2(_0x165a24){const _0x130516=a55_0x15b6,_0x50c2bd=_0x2cd9ca['apply'](this,arguments);try{if(BrowserstackCLI[_0x130516(0x1a5)]()[_0x130516(0x22e)]()){const _0x28a110={};_0x28a110[_0x130516(0x254)]=_0x165a24,Promise[_0x130516(0x202)](BrowserstackCLI[_0x130516(0x1a5)]()[_0x130516(0x1bd)]()['trackEvent'](AutomationFrameworkState[_0x130516(0x22b)],HookState[_0x130516(0x269)],_0x28a110))[_0x130516(0x23e)](()=>{});}else{const _0x47662e=_0x165a24&&_0x165a24[_0x130516(0x247)]&&_0x165a24[_0x130516(0x247)][_0x130516(0x1ac)];if(_0x47662e){const _0x4cd5ff=_0x47662e[_0x130516(0x1e2)],_0xb8d317=_0x47662e[_0x130516(0x1ae)];_0x19ba96[_0x130516(0x25a)](!_0x4cd5ff,!_0xb8d317)&&Promise[_0x130516(0x202)](ClientTroubleShootingService[_0x130516(0x1e1)]())[_0x130516(0x23e)](()=>{}),_0xb8d317&&(_0x19ba96[_0x130516(0x1d0)](debug,_0x130516(0x1ec)+_0xb8d317[_0x130516(0x208)]()),_0xc67f78[_0x130516(0x1e4)]['platform']=_0xb8d317['platformName'],_0xc67f78[_0x130516(0x1e4)][_0x130516(0x1ed)]=_0xb8d317[_0x130516(0x1eb)]),_0x4cd5ff&&(_0x19ba96['TWDnq'](debug,'Setting\x20session\x20id\x20received\x20from\x20BS\x20'+_0x4cd5ff),_0xc67f78[_0x130516(0x1e4)][_0x130516(0x206)]=_0x4cd5ff);}}}catch(_0x32c79b){_0x19ba96[_0x130516(0x1d0)](debug,'dispatch\x20instrumentation\x20error\x20(non-fatal):\x20'+(_0x32c79b&&_0x32c79b[_0x130516(0x208)]?_0x32c79b[_0x130516(0x208)]():_0x32c79b));}return _0x50c2bd;};}}),_0x51fbf4[_0x41b04e(0x1b1)][_0x41b04e(0x21f)]=!![],logger[_0x41b04e(0x25f)](_0x19ba96['uuVUQ']);}}catch(_0x2d5f97){_0x19ba96[_0x41b04e(0x1d0)](debug,_0x41b04e(0x1a0)+_0x2d5f97),_0xc67f78['sessionError']=_0x2d5f97[_0x41b04e(0x208)]();}}static['patchCRConnection'](){const _0x3ebc3f=a55_0x21caf9,_0x42548e={'xEckL':function(_0x145faf,_0x19c0f0){return _0x145faf(_0x19c0f0);},'WajEY':function(_0xd34c53){return _0xd34c53();},'cSsrL':function(_0x4169ba,_0x28e798){return _0x4169ba>=_0x28e798;},'nOzIX':_0x3ebc3f(0x19e),'Veziw':function(_0x421ce8,_0x5c0a6a){return _0x421ce8(_0x5c0a6a);},'DMutP':function(_0x1bf8e1,_0x515ae1){return _0x1bf8e1(_0x515ae1);},'Zzzdk':'CRConnection\x20patch\x20unavailable\x20on\x20PW>=1.60\x20(server-side\x20class\x20not\x20reachable\x20in\x20SDK\x20process);\x20platform/sessionId\x20capture\x20continues\x20via\x20Connection.dispatch','OTWkI':_0x3ebc3f(0x233),'THVrG':'server','rXvwV':'chromium','hcUtn':_0x3ebc3f(0x1be),'nIDAS':function(_0x74f335,_0x50c0ee){return _0x74f335(_0x50c0ee);},'FNKel':'Not\x20able\x20to\x20import\x20crConnection','ZNKWF':_0x3ebc3f(0x23f),'eUrat':function(_0x11c7c7,_0x436b49){return _0x11c7c7!=_0x436b49;},'PmJtg':_0x3ebc3f(0x257)},_0xd2a3f2=this;if(_0x42548e[_0x3ebc3f(0x20c)](isAccessibilityAutomationSession)){let _0x437761=null,_0x499f9b=![];try{const _0xb32b2b=helper[_0x3ebc3f(0x200)](FRAMEWORKS[_0x3ebc3f(0x20e)]);_0x499f9b=_0x42548e[_0x3ebc3f(0x215)](helper[_0x3ebc3f(0x232)](_0xb32b2b,_0x42548e[_0x3ebc3f(0x1f0)]),0x0);}catch(_0x58357f){_0x42548e['Veziw'](debug,_0x3ebc3f(0x1ca)+_0x58357f[_0x3ebc3f(0x208)]());}if(_0x499f9b)_0x42548e[_0x3ebc3f(0x1ab)](debug,_0x42548e[_0x3ebc3f(0x264)]);else try{const _0x42c34e=path['join'](_0x42548e[_0x3ebc3f(0x1c4)],_0x42548e[_0x3ebc3f(0x255)],_0x42548e['rXvwV'],_0x42548e[_0x3ebc3f(0x24f)]),_0xf8fc4e=_0x42548e['nIDAS'](importFileFromPWCore,_0x42c34e);!_0xf8fc4e?_0x42548e['xEckL'](debug,_0x42548e[_0x3ebc3f(0x1bc)]):_0x437761=_0xf8fc4e[_0x3ebc3f(0x266)];}catch(_0x4816bc){_0x42548e[_0x3ebc3f(0x259)](debug,_0x42548e[_0x3ebc3f(0x267)]);}try{if(_0x42548e[_0x3ebc3f(0x22a)](_0x437761,null)){const _0x224a5b=_0x437761[_0x3ebc3f(0x1b1)]['_onMessage'];Object[_0x3ebc3f(0x240)](_0x437761['prototype'],_0x42548e['PmJtg'],{'get':function(){return async function _0x533dd8(_0x36384d){const _0x187f19=a55_0x15b6;try{if(BrowserstackCLI['getInstance']()[_0x187f19(0x22e)]()){const _0x2106a7={};_0x2106a7[_0x187f19(0x254)]=_0x36384d,await BrowserstackCLI['getInstance']()[_0x187f19(0x1bd)]()['trackEvent'](AutomationFrameworkState[_0x187f19(0x22b)],HookState[_0x187f19(0x269)],_0x2106a7),delete _0x36384d[_0x187f19(0x24a)];}else{const _0x4ca0df=_0x36384d['bStackParams'];if(_0x4ca0df){delete _0x36384d['bStackParams'];const _0x4f906a=_0x4ca0df[_0x187f19(0x1e2)],_0x2609a7=_0x4ca0df[_0x187f19(0x1ae)];_0x2609a7&&(_0x42548e['xEckL'](debug,_0x187f19(0x256)+_0x2609a7['toString']()),_0xd2a3f2[_0x187f19(0x1e4)][_0x187f19(0x249)]=_0x2609a7[_0x187f19(0x1f3)],_0xd2a3f2[_0x187f19(0x1e4)][_0x187f19(0x1ed)]=_0x2609a7['platformVersion']),_0x4f906a&&(_0x42548e[_0x187f19(0x212)](debug,_0x187f19(0x1fe)+_0x4f906a),_0xd2a3f2[_0x187f19(0x1e4)][_0x187f19(0x206)]=_0x4f906a);}}}catch(_0x18652c){_0x42548e[_0x187f19(0x212)](debug,_0x187f19(0x1aa)+_0x18652c[_0x187f19(0x208)]());}return _0x224a5b[_0x187f19(0x24b)](this,arguments);};}});}}catch(_0x295c0e){_0x42548e[_0x3ebc3f(0x259)](debug,_0x3ebc3f(0x1c3)+_0x295c0e),_0xd2a3f2[_0x3ebc3f(0x1b9)]=_0x295c0e[_0x3ebc3f(0x208)]();}}}static['getDetails'](){const _0xc86baa=a55_0x21caf9;return this[_0xc86baa(0x1e4)];}}module[a55_0x21caf9(0x1cc)]=PlaywrightSessionDetails;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a56_0x5743(){const _0x49bd85=['6PUhqRK','eZCmb','olySW','browserstack_executor:\x20','6613675EIkbsj','10521643ywJDSN','evaluate','uploadAttachments','../v2/browserstackCLI','annotate','BROWSERSTACK_TEST_OBSERVABILITY','util','patchBrowserNewPage','pwPage','16ogNPqS','Error\x20during\x20syncing\x20o11y\x20with\x20automate\x20','2063358QXMHXD','ObservabilitySync:','bind','../../helpers/helper','format','foUHh','../../helpers/performance/performance-tester','setCustomTags','4Jkeson','newPage','now','__workerDetails','../../helpers/test-observability/error-handler','apply','uploadAttachment','../../helpers/performance/constants','SYNC','doo11ySync','bVaFD','xtwmu','debug','498649IMsPxj','isRunning','../../helpers/logger','stringify','1970940LZZUtA','o11ySyncDone','../v2/uploadAttachmentsManager','env','1489460bIeeyv','../v2/customTagManager','10rmCcuX','_bstackNewPagePatched','getInstance','1957554eIKrSs'];a56_0x5743=function(){return _0x49bd85;};return a56_0x5743();}const a56_0x39609b=a56_0x1c14;function a56_0x1c14(_0xef61ee,_0x5413a9){const _0x574326=a56_0x5743();return a56_0x1c14=function(_0x1c1435,_0x1b1ddd){_0x1c1435=_0x1c1435-0x14b;let _0x125533=_0x574326[_0x1c1435];return _0x125533;},a56_0x1c14(_0xef61ee,_0x5413a9);}(function(_0x232531,_0x760312){const _0x1413b6=a56_0x1c14,_0x1ee60f=_0x232531();while(!![]){try{const _0x53db82=-parseInt(_0x1413b6(0x178))/0x1+-parseInt(_0x1413b6(0x152))/0x2+-parseInt(_0x1413b6(0x17c))/0x3+-parseInt(_0x1413b6(0x16b))/0x4*(-parseInt(_0x1413b6(0x157))/0x5)+parseInt(_0x1413b6(0x153))/0x6*(parseInt(_0x1413b6(0x14d))/0x7)+parseInt(_0x1413b6(0x161))/0x8*(parseInt(_0x1413b6(0x163))/0x9)+parseInt(_0x1413b6(0x14f))/0xa*(parseInt(_0x1413b6(0x158))/0xb);if(_0x53db82===_0x760312)break;else _0x1ee60f['push'](_0x1ee60f['shift']());}catch(_0x4cc4ed){_0x1ee60f['push'](_0x1ee60f['shift']());}}}(a56_0x5743,0xc7412));const util=require(a56_0x39609b(0x15e)),logger=require(a56_0x39609b(0x17a)),{nestedKeyValue,isFalse}=require(a56_0x39609b(0x166)),{o11yErrorHandler}=require(a56_0x39609b(0x16f)),PerformanceTester=require(a56_0x39609b(0x169)),{O11y_EVENTS:PerformanceO11yEvents}=require(a56_0x39609b(0x172)),BrowserstackCLI=require(a56_0x39609b(0x15b)),CustomTagManager=require(a56_0x39609b(0x14e)),uploadAttachmentsManager=require(a56_0x39609b(0x14b)),doo11ySync=PerformanceTester['measureWrapper'](PerformanceO11yEvents[a56_0x39609b(0x173)],o11yErrorHandler(async function doo11ySync(_0x438ca5){const _0xdf4e08=a56_0x39609b,_0x41314a={'eZCmb':function(_0x537eae,_0xbcfabe,_0x3e7e62){return _0x537eae(_0xbcfabe,_0x3e7e62);},'bVaFD':_0xdf4e08(0x16e),'vcGBj':_0xdf4e08(0x17d),'olySW':_0xdf4e08(0x15c),'xtwmu':_0xdf4e08(0x177)};if(_0x41314a[_0xdf4e08(0x154)](nestedKeyValue,global,[_0x41314a[_0xdf4e08(0x175)],_0x41314a['vcGBj']]))return;await _0x438ca5[_0xdf4e08(0x159)](_0x30bad1=>{},_0xdf4e08(0x156)+JSON[_0xdf4e08(0x17b)]({'action':_0x41314a[_0xdf4e08(0x155)],'arguments':{'data':_0xdf4e08(0x164)+Date[_0xdf4e08(0x16d)](),'level':_0x41314a[_0xdf4e08(0x176)]}})),global[_0xdf4e08(0x16e)]['o11ySyncDone']=!![];},a56_0x39609b(0x174)));exports[a56_0x39609b(0x15f)]=_0x5bc7d2=>{const _0x4a8399=a56_0x39609b,_0x5c9ae4={'foUHh':function(_0x1e156e,_0x52295c){return _0x1e156e(_0x52295c);},'OxqSJ':function(_0x43f896,_0x47ea5d){return _0x43f896(_0x47ea5d);},'VUFqu':function(_0x15f76c,_0x8f02a8,_0x173c64){return _0x15f76c(_0x8f02a8,_0x173c64);},'EXIDW':_0x4a8399(0x16e)};if(!_0x5bc7d2||_0x5bc7d2[_0x4a8399(0x150)])return;const _0x3b5797=_0x5bc7d2[_0x4a8399(0x16c)][_0x4a8399(0x165)](_0x5bc7d2);_0x5bc7d2['newPage']=async function _0x1b3103(){const _0xebb7f0=_0x4a8399,_0x38f9bd=await _0x3b5797[_0xebb7f0(0x170)](_0x5bc7d2,arguments);try{!BrowserstackCLI[_0xebb7f0(0x151)]()['isRunning']()&&!_0x5c9ae4[_0xebb7f0(0x168)](isFalse,process[_0xebb7f0(0x14c)][_0xebb7f0(0x15d)])&&await _0x5c9ae4['OxqSJ'](doo11ySync,_0x38f9bd),BrowserstackCLI['getInstance']()[_0xebb7f0(0x179)]()&&(_0x38f9bd[_0xebb7f0(0x16a)]=async(_0x5885cd,_0xd10e1,_0x451c52=![])=>{const _0xc197bb=_0xebb7f0;await CustomTagManager[_0xc197bb(0x16a)](_0x5885cd,_0xd10e1,_0x451c52);},_0x38f9bd[_0xebb7f0(0x171)]=async(_0x4454b0,_0x1494c2=![])=>{const _0x26a473=_0xebb7f0;await uploadAttachmentsManager[_0x26a473(0x15a)](_0x4454b0,_0x1494c2);});}catch(_0x1ad470){logger[_0xebb7f0(0x177)](_0xebb7f0(0x162)+util[_0xebb7f0(0x167)](_0x1ad470));}return _0x5c9ae4['VUFqu'](nestedKeyValue,global,[_0x5c9ae4['EXIDW']])&&(global[_0xebb7f0(0x16e)][_0xebb7f0(0x160)]=_0x38f9bd),_0x38f9bd;},_0x5bc7d2[_0x4a8399(0x150)]=!![];};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a57_0x377a(){const _0x418dfa=['patchConnection','bsParams','../utils/constants','caps','196124CuNmqJ','LcUVp','test','platformName','Gzpvf','[PuppeteerSessionDetails]\x20Connection\x20patched\x20for\x20session\x20capture','debug','query','gjtDI','Error\x20in\x20getting\x20browser\x20from\x20caps:\x20','../v2/state/automationFrameworkState.js','entries','format','48yPzkOm','platform','16gCSOBD','laEQB','../../helpers/test-observability/utils','getAutomationFramework','getInstance','jlRFJ','browserstack','connection','Invalid\x20constructor,\x20please\x20use\x20static\x20methods','includes','message','8HwSRdC','stringify','onmessage','5slVFwk','mdClX','result','url','browserName','params','getDetails','../../helpers/logger','local_grid','_connection','platformVersion','capabilities','parse','3384542bkbSQk','product','2878473nEntjC','assign','Error\x20in\x20patchConnection:\x20','Setting\x20platform\x20details\x20received\x20from\x20BS:\x20','kTHxn','GHocP','jgHkw','_bstackPatched','cloudProvider','bStackParams','chrome','hjQbc','DcusB','PzlPt','sessionError','bsSessionId','version','POST','ifCAf','../v2/state/hookState.js','browser','WRkpT','5339103XHrzqz','browser_version','4299666oYWgYt','YEdNw','string','Error\x20in\x20setupBrowserDetails:\x20','unknown_grid','platform_version','apply','exports','69780hdoBGa','DrOsA','turboscale','BSTACK_ATS_URL','ATS_WSS_URL_REGEX','toString','path','platformDetails','../v2/browserstackCLI','setupBrowserDetails','BSTACK_URL','CRqUl','436800TRfZeF','currentSessionDetails','639kpykAL','ioIEr','sessionId','Error\x20extracting\x20bsParams\x20from\x20CDP\x20message:\x20','function','automate','trackEvent'];a57_0x377a=function(){return _0x418dfa;};return a57_0x377a();}const a57_0x358989=a57_0x1d41;(function(_0x2ea9d9,_0x10ef8c){const _0x42a5d0=a57_0x1d41,_0x1afb11=_0x2ea9d9();while(!![]){try{const _0x11090d=parseInt(_0x42a5d0(0x114))/0x1*(parseInt(_0x42a5d0(0x105))/0x2)+-parseInt(_0x42a5d0(0x131))/0x3+parseInt(_0x42a5d0(0xf8))/0x4+parseInt(_0x42a5d0(0x122))/0x5*(-parseInt(_0x42a5d0(0xe4))/0x6)+parseInt(_0x42a5d0(0x12f))/0x7*(-parseInt(_0x42a5d0(0x11f))/0x8)+-parseInt(_0x42a5d0(0xfa))/0x9*(parseInt(_0x42a5d0(0xec))/0xa)+parseInt(_0x42a5d0(0xe2))/0xb*(parseInt(_0x42a5d0(0x112))/0xc);if(_0x11090d===_0x10ef8c)break;else _0x1afb11['push'](_0x1afb11['shift']());}catch(_0x5282ae){_0x1afb11['push'](_0x1afb11['shift']());}}}(a57_0x377a,0xeb81e));const path=require(a57_0x358989(0xf2)),url=require(a57_0x358989(0x125)),util=require('util'),{nestedKeyValue,isFalse}=require('../../helpers/helper'),{debug,getPlatformDetails}=require(a57_0x358989(0x116)),logger=require(a57_0x358989(0x129))['winstonLogger'],constants=require(a57_0x358989(0x103)),BrowserstackCLI=require(a57_0x358989(0xf4)),AutomationFrameworkState=require(a57_0x358989(0x10f)),HookState=require(a57_0x358989(0xdf)),getBrowserFromWSEndpoint=_0x9122ae=>{const _0x21d326=a57_0x358989,_0x1fab19={'GHocP':_0x21d326(0x13b),'mdClX':function(_0x43ca1b,_0x5077c){return _0x43ca1b(_0x5077c);}};try{const _0x3f19fe=url['parse'](_0x9122ae),_0x591efd=new URLSearchParams(_0x3f19fe[_0x21d326(0x10c)]),_0x3ee49e=Object['fromEntries'](_0x591efd[_0x21d326(0x110)]()),_0x277dab=JSON['parse'](_0x3ee49e[_0x21d326(0x104)]);if(_0x277dab&&(_0x277dab[_0x21d326(0xe0)]||_0x277dab[_0x21d326(0x126)]))return _0x277dab[_0x21d326(0xe0)]||_0x277dab['browserName'];return _0x1fab19[_0x21d326(0x136)];}catch(_0x1ba602){_0x1fab19[_0x21d326(0x123)](debug,_0x21d326(0x10e)+_0x1ba602[_0x21d326(0xf1)]());}},getCloudProviderFromWsEndpoint=_0x221083=>{const _0x4d432a=a57_0x358989,_0x1cebb9={};_0x1cebb9[_0x4d432a(0xed)]=_0x4d432a(0x11a),_0x1cebb9[_0x4d432a(0xd7)]=_0x4d432a(0xe8);const _0x38fe02=_0x1cebb9;if(_0x221083['includes'](constants[_0x4d432a(0xf6)])||_0x221083[_0x4d432a(0x11d)](constants[_0x4d432a(0xef)]))return _0x38fe02[_0x4d432a(0xed)];return _0x38fe02[_0x4d432a(0xd7)];},a57_0x2fcd19={};function a57_0x1d41(_0x479b50,_0x43ddfe){const _0x377ac4=a57_0x377a();return a57_0x1d41=function(_0x1d4102,_0x5a8223){_0x1d4102=_0x1d4102-0xd7;let _0x5eeab5=_0x377ac4[_0x1d4102];return _0x5eeab5;},a57_0x1d41(_0x479b50,_0x43ddfe);}a57_0x2fcd19['cloudProvider']=undefined,a57_0x2fcd19[a57_0x358989(0xdb)]=undefined,a57_0x2fcd19[a57_0x358989(0xe0)]=undefined,a57_0x2fcd19['browser_version']=undefined,a57_0x2fcd19[a57_0x358989(0x113)]=undefined,a57_0x2fcd19['platform_version']=undefined,a57_0x2fcd19[a57_0x358989(0x130)]=undefined,a57_0x2fcd19[a57_0x358989(0x12d)]={};class PuppeteerSessionDetails{static ['currentSessionDetails']=a57_0x2fcd19;constructor(){const _0x1984cd=a57_0x358989,_0x3a5a99={};_0x3a5a99[_0x1984cd(0x119)]=_0x1984cd(0x11c);const _0x27d5f9=_0x3a5a99;throw new Error(_0x27d5f9['jlRFJ']);}static [a57_0x358989(0xda)]=null;static async[a57_0x358989(0xf5)](_0x35d730,_0x49a4ec){const _0x4dede5=a57_0x358989,_0x32f774={'PzlPt':_0x4dede5(0x13b),'CSRpD':function(_0x100efa,_0x5f11f9){return _0x100efa===_0x5f11f9;},'DcusB':_0x4dede5(0xfe),'laEQB':_0x4dede5(0x12a),'WRkpT':function(_0x2116d0,_0x3abe9a){return _0x2116d0(_0x3abe9a);},'ioIEr':_0x4dede5(0x11a),'fimId':_0x4dede5(0xee),'gjtDI':_0x4dede5(0xff),'Gzpvf':function(_0x6fafb4){return _0x6fafb4();},'loSOR':function(_0x3be5f0,_0x1c6b84){return _0x3be5f0(_0x1c6b84);}};try{let _0x384bbc=_0x32f774[_0x4dede5(0xd9)],_0x4386a1=null;_0x35d730&&_0x32f774['CSRpD'](typeof _0x35d730[_0x4dede5(0xdc)],_0x32f774[_0x4dede5(0xd8)])&&(_0x4386a1=await _0x35d730['version']());let _0x5591da=null,_0x4b9265=null,_0x2fb654=null,_0x468f40=_0x32f774[_0x4dede5(0x115)];if(_0x49a4ec){_0x468f40=_0x32f774[_0x4dede5(0xe1)](getCloudProviderFromWsEndpoint,_0x49a4ec);if(_0x32f774['CSRpD'](_0x468f40,_0x32f774[_0x4dede5(0xfb)]))_0x2fb654=constants[_0x4dede5(0xf0)]?constants[_0x4dede5(0xf0)][_0x4dede5(0x107)](_0x49a4ec)?_0x32f774['fimId']:_0x32f774[_0x4dede5(0x10d)]:_0x32f774['gjtDI'],_0x384bbc=_0x32f774[_0x4dede5(0xe1)](getBrowserFromWSEndpoint,_0x49a4ec)||_0x384bbc,_0x5591da=this[_0x4dede5(0xf9)]['platform'],_0x4b9265=this[_0x4dede5(0xf9)][_0x4dede5(0xe9)];else{const _0x3f8c70=await _0x32f774[_0x4dede5(0x109)](getPlatformDetails);_0x5591da=_0x3f8c70[_0x4dede5(0x108)],_0x4b9265=_0x3f8c70['platformVersion'];}}else{const _0x4e4ca1=await _0x32f774[_0x4dede5(0x109)](getPlatformDetails);_0x5591da=_0x4e4ca1[_0x4dede5(0x108)],_0x4b9265=_0x4e4ca1[_0x4dede5(0x12c)];}const _0x302305={};_0x302305[_0x4dede5(0xe0)]=_0x384bbc,_0x302305[_0x4dede5(0xe3)]=_0x4386a1,_0x302305[_0x4dede5(0x12d)]={},_0x302305[_0x4dede5(0x113)]=_0x5591da,_0x302305[_0x4dede5(0xe9)]=_0x4b9265,_0x302305[_0x4dede5(0x130)]=_0x2fb654;const _0x27d5b1=_0x302305,_0x575f56={};_0x575f56[_0x4dede5(0x139)]=_0x468f40,this[_0x4dede5(0xf9)]=Object[_0x4dede5(0x132)]({},this[_0x4dede5(0xf9)],_0x575f56,_0x27d5b1);}catch(_0x974631){_0x32f774['loSOR'](debug,_0x4dede5(0xe7)+util[_0x4dede5(0x111)](_0x974631)),this[_0x4dede5(0xda)]=_0x974631[_0x4dede5(0xf1)]();}}static[a57_0x358989(0x101)](_0x2a8a98){const _0x47233b=a57_0x358989,_0x2f664b={'LcUVp':function(_0x18587e,_0x3291c6){return _0x18587e===_0x3291c6;},'kTHxn':_0x47233b(0xe6),'ifCAf':function(_0x1d8d61,_0x3bf98e){return _0x1d8d61(_0x3bf98e);},'YEdNw':function(_0x3977f6,_0x7ae71a){return _0x3977f6===_0x7ae71a;},'IANZW':function(_0xa6b1c8,_0x451310){return _0xa6b1c8(_0x451310);},'CRqUl':_0x47233b(0x10a),'jgHkw':function(_0x59edf6,_0x14fc20){return _0x59edf6(_0x14fc20);}},_0x174734=this;try{const _0x55e6b2=_0x2a8a98[_0x47233b(0x12b)]||_0x2a8a98[_0x47233b(0x11b)];if(!_0x55e6b2||_0x55e6b2[_0x47233b(0x138)])return;const _0x441b7d=_0x55e6b2[_0x47233b(0x121)];_0x55e6b2[_0x47233b(0x121)]=function(_0x1f6d9a){const _0x5abd59=_0x47233b;try{const _0x309ba9=_0x2f664b[_0x5abd59(0x106)](typeof _0x1f6d9a,_0x2f664b[_0x5abd59(0x135)])?JSON[_0x5abd59(0x12e)](_0x1f6d9a):_0x1f6d9a,_0x5cd4c4=_0x309ba9?.['bStackParams']||_0x309ba9?.[_0x5abd59(0x102)]||_0x309ba9?.[_0x5abd59(0x127)]?.[_0x5abd59(0x102)]||_0x309ba9?.[_0x5abd59(0x127)]?.['bStackParams']||_0x309ba9?.[_0x5abd59(0x124)]?.[_0x5abd59(0x102)]||_0x309ba9?.[_0x5abd59(0x124)]?.[_0x5abd59(0x13a)];if(_0x5cd4c4){if(BrowserstackCLI[_0x5abd59(0x118)]()['isRunning']()){const _0x8bb218={};_0x8bb218[_0x5abd59(0x11e)]=_0x309ba9,BrowserstackCLI['getInstance']()[_0x5abd59(0x117)]()[_0x5abd59(0x100)](AutomationFrameworkState['PLAYWRIGHT_DISPATCH'],HookState[_0x5abd59(0xdd)],_0x8bb218);}else{const _0x52bb55=_0x5cd4c4[_0x5abd59(0xfc)],_0x276d25=_0x5cd4c4[_0x5abd59(0xf3)];_0x276d25&&(_0x2f664b[_0x5abd59(0xde)](debug,_0x5abd59(0x134)+JSON[_0x5abd59(0x120)](_0x276d25)),_0x174734[_0x5abd59(0xf9)]['platform']=_0x276d25[_0x5abd59(0x108)],_0x174734['currentSessionDetails'][_0x5abd59(0xe9)]=_0x276d25['platformVersion']),_0x52bb55&&(_0x2f664b[_0x5abd59(0xde)](debug,'Setting\x20session\x20id\x20received\x20from\x20BS\x20'+_0x52bb55),_0x174734[_0x5abd59(0xf9)][_0x5abd59(0xdb)]=_0x52bb55);}_0x2f664b[_0x5abd59(0xe5)](typeof _0x1f6d9a,_0x2f664b[_0x5abd59(0x135)])&&(delete _0x309ba9[_0x5abd59(0x13a)],delete _0x309ba9[_0x5abd59(0x102)],_0x309ba9['params']&&(delete _0x309ba9[_0x5abd59(0x127)][_0x5abd59(0x102)],delete _0x309ba9[_0x5abd59(0x127)][_0x5abd59(0x13a)]),_0x309ba9[_0x5abd59(0x124)]&&(delete _0x309ba9[_0x5abd59(0x124)][_0x5abd59(0x102)],delete _0x309ba9[_0x5abd59(0x124)][_0x5abd59(0x13a)]));}}catch(_0x596dcc){_0x2f664b['IANZW'](debug,_0x5abd59(0xfd)+_0x596dcc['message']);}return _0x441b7d?.[_0x5abd59(0xea)](this,arguments);},_0x55e6b2['_bstackPatched']=!![],logger[_0x47233b(0x10b)](_0x2f664b[_0x47233b(0xf7)]);}catch(_0x15f3c7){_0x2f664b[_0x47233b(0x137)](debug,_0x47233b(0x133)+util['format'](_0x15f3c7)),_0x174734[_0x47233b(0xda)]=_0x15f3c7[_0x47233b(0xf1)]();}}static[a57_0x358989(0x128)](){return this['currentSessionDetails'];}}module[a57_0x358989(0xeb)]=PuppeteerSessionDetails;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a58_0x3290ef=a58_0x5670;function a58_0x5e40(){const _0x52321f=['[PuppeteerTestSetup]\x20Error\x20bootstrapping\x20BrowserstackCLI:\x20','jestConfig','puppeteer','winstonLogger','29472AJvhLd','4KiKJcA','[PuppeteerTestSetup]\x20Error\x20initializing\x20Puppeteer\x20patching:\x20','PUPPETEER','env','966822vcapOx','workerInfo','[PuppeteerTestSetup]\x20Jest-Puppeteer\x20test\x20setup\x20completed','__skipSessionName','../v2/cliUtils','puppeteer-core','[PuppeteerTestSetup]\x20Puppeteer\x20patching\x20initialized','../../helpers/testhub/utils','setFrameworkDetail','getInstance','BROWSERSTACK_PUPPETEER','o11ySyncDone','bootstrap','../v2/browserstackCLI','currentTest','format','../utils/puppeteer-patcher','isPageFixture','176UMgvlq','true','__workerDetails','testInfo','skipSessionStatus','41750dBGYEq','__skipSessionStatus','10zyqhKa','1481375FPsVjV','../../helpers/test-observability/utils','9290331XQsigt','29UDZDrV','[PuppeteerTestSetup]\x20Error\x20reading\x20BrowserStack\x20config:\x20','catch','540ukFErR','util','8EJAOan','debug','[PuppeteerTestSetup]\x20Bootstrapping\x20BrowserstackCLI\x20for\x20Jest\x20worker','1387044weEJNP','66521fHRbML','isCliEnabled','skipSessionName'];a58_0x5e40=function(){return _0x52321f;};return a58_0x5e40();}(function(_0x545e50,_0x16988b){const _0x4d85e0=a58_0x5670,_0x3a77b8=_0x545e50();while(!![]){try{const _0x1c8670=parseInt(_0x4d85e0(0x97))/0x1*(-parseInt(_0x4d85e0(0xa7))/0x2)+-parseInt(_0x4d85e0(0xac))/0x3*(-parseInt(_0x4d85e0(0xa8))/0x4)+-parseInt(_0x4d85e0(0xc5))/0x5*(parseInt(_0x4d85e0(0x9f))/0x6)+parseInt(_0x4d85e0(0x94))/0x7*(parseInt(_0x4d85e0(0x9c))/0x8)+parseInt(_0x4d85e0(0x96))/0x9+parseInt(_0x4d85e0(0xc3))/0xa*(parseInt(_0x4d85e0(0xbe))/0xb)+parseInt(_0x4d85e0(0x9a))/0xc*(parseInt(_0x4d85e0(0xa0))/0xd);if(_0x1c8670===_0x16988b)break;else _0x3a77b8['push'](_0x3a77b8['shift']());}catch(_0x562dd4){_0x3a77b8['push'](_0x3a77b8['shift']());}}}(a58_0x5e40,0xedadb));function a58_0x5670(_0x21400d,_0x257a69){const _0x5e4026=a58_0x5e40();return a58_0x5670=function(_0x56709b,_0x37ab7f){_0x56709b=_0x56709b-0x94;let _0x1cc69c=_0x5e4026[_0x56709b];return _0x1cc69c;},a58_0x5670(_0x21400d,_0x257a69);}const {isTrue,isBrowserstackInfra}=require('../../helpers/helper'),setKeepAlive=require('../../helpers/setKeepAlive'),util=require(a58_0x3290ef(0x9b)),logger=require('../../helpers/logger')[a58_0x3290ef(0xa6)],{shouldProcessEventForTesthub}=require(a58_0x3290ef(0xb3)),{addRequestSpy}=require(a58_0x3290ef(0x95)),a58_0x11ed78={};a58_0x11ed78[a58_0x3290ef(0xad)]=undefined,a58_0x11ed78[a58_0x3290ef(0xba)]={},a58_0x11ed78[a58_0x3290ef(0xb7)]=![],a58_0x11ed78['pwPage']=null,a58_0x11ed78[a58_0x3290ef(0xbd)]=![],a58_0x11ed78[a58_0x3290ef(0xba)]['id']=undefined,a58_0x11ed78[a58_0x3290ef(0xba)][a58_0x3290ef(0xc1)]=undefined;const workerDetails=a58_0x11ed78;global[a58_0x3290ef(0xc0)]=workerDetails;let puppeteerPatcher=null;setKeepAlive();if(global[a58_0x3290ef(0xa4)])try{isBrowserstackInfra()?(global['__skipSessionName']=isTrue(global[a58_0x3290ef(0xa4)]?.[a58_0x3290ef(0xa2)]),global[a58_0x3290ef(0xc4)]=isTrue(global[a58_0x3290ef(0xa4)]?.[a58_0x3290ef(0xc2)])):(global[a58_0x3290ef(0xaf)]=!![],global['__skipSessionStatus']=!![]);const helper=require('../../helpers/helper'),puppeteerVersion=helper['getPackageVersion'](a58_0x3290ef(0xa5))||helper['getPackageVersion'](a58_0x3290ef(0xb1));if(puppeteerVersion)try{logger['debug']('[PuppeteerTestSetup]\x20Patching\x20Puppeteer\x20for\x20Jest'),puppeteerPatcher=require(a58_0x3290ef(0xbc)),puppeteerPatcher['initializePuppeteerPatching'](global[a58_0x3290ef(0xa4)]),logger[a58_0x3290ef(0x9d)](a58_0x3290ef(0xb2));}catch(a58_0x36269c){logger[a58_0x3290ef(0x9d)](a58_0x3290ef(0xa9)+util[a58_0x3290ef(0xbb)](a58_0x36269c));}if(puppeteerPatcher)try{const BrowserstackCLI=require(a58_0x3290ef(0xb9)),CLIUtils=require(a58_0x3290ef(0xb0)),{FRAMEWORKS}=require('../utils/constants');BrowserstackCLI[a58_0x3290ef(0xb5)]()[a58_0x3290ef(0xa1)]()&&(logger[a58_0x3290ef(0x9d)](a58_0x3290ef(0x9e)),process[a58_0x3290ef(0xab)][a58_0x3290ef(0xb6)]=a58_0x3290ef(0xbf),CLIUtils[a58_0x3290ef(0xb4)](FRAMEWORKS['JEST'],FRAMEWORKS[a58_0x3290ef(0xaa)]),BrowserstackCLI['getInstance']()[a58_0x3290ef(0xb8)]()[a58_0x3290ef(0x99)](_0x45bae9=>{const _0x57d562=a58_0x3290ef;logger[_0x57d562(0x9d)](_0x57d562(0xa3)+util[_0x57d562(0xbb)](_0x45bae9));}));}catch(a58_0x164731){logger[a58_0x3290ef(0x9d)]('[PuppeteerTestSetup]\x20Error\x20setting\x20up\x20BrowserstackCLI\x20bootstrap:\x20'+util[a58_0x3290ef(0xbb)](a58_0x164731));}shouldProcessEventForTesthub()&&addRequestSpy(![]);}catch(a58_0x49c16f){logger['debug'](a58_0x3290ef(0x98)+util[a58_0x3290ef(0xbb)](a58_0x49c16f));}logger[a58_0x3290ef(0x9d)](a58_0x3290ef(0xae));
|
package/src/bin/runner.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a60_0x5cafcf=a60_0x538a;(function(_0x250d1b,_0x277b68){const _0x4c11b9=a60_0x538a,_0x31d102=_0x250d1b();while(!![]){try{const _0x5da823=parseInt(_0x4c11b9(0x102))/0x1*(parseInt(_0x4c11b9(0x15b))/0x2)+-parseInt(_0x4c11b9(0x176))/0x3+parseInt(_0x4c11b9(0x178))/0x4*(parseInt(_0x4c11b9(0x12e))/0x5)+parseInt(_0x4c11b9(0x116))/0x6*(-parseInt(_0x4c11b9(0x10f))/0x7)+parseInt(_0x4c11b9(0x119))/0x8*(-parseInt(_0x4c11b9(0x11d))/0x9)+parseInt(_0x4c11b9(0x100))/0xa+-parseInt(_0x4c11b9(0x188))/0xb*(-parseInt(_0x4c11b9(0xef))/0xc);if(_0x5da823===_0x277b68)break;else _0x31d102['push'](_0x31d102['shift']());}catch(_0x448690){_0x31d102['push'](_0x31d102['shift']());}}}(a60_0x5176,0x4f83a));const fs=require('fs'),path=require(a60_0x5cafcf(0x180)),util=require(a60_0x5cafcf(0x17a)),spawn=require(a60_0x5cafcf(0x154))[a60_0x5cafcf(0x18c)],{requireModule}=require(a60_0x5cafcf(0x105)),PerformanceTester=require(a60_0x5cafcf(0xfb)),PerformanceEvents=require(a60_0x5cafcf(0x12c))['EVENTS'],helper=require(a60_0x5cafcf(0x105)),utilities=require(a60_0x5cafcf(0x14f)),{default:BrowserStackSetup}=require(a60_0x5cafcf(0x174)),{FRAMEWORKS}=require('../helpers/test-observability/constants'),runIntegrations=require(a60_0x5cafcf(0x13c)),yargs=require(a60_0x5cafcf(0x173)),Constants=require(a60_0x5cafcf(0x17c)),BrowserstackCLI=require(a60_0x5cafcf(0x134)),{isNewman}=require(a60_0x5cafcf(0x192)),logger=require('../helpers/logger')[a60_0x5cafcf(0x11f)],origArgs=Object[a60_0x5cafcf(0x120)]([],process[a60_0x5cafcf(0x11c)]),captureError=async(_0x5d7771,_0x1a1e30,_0x15e8f3,_0x576b1a=null,_0x39f60a=![])=>{const _0x271dd5=a60_0x5cafcf,_0x246b04={'VKbbz':function(_0x597ae7,_0x5d9d18,_0x21fcf2,_0x271e5a){return _0x597ae7(_0x5d9d18,_0x21fcf2,_0x271e5a);},'XACpS':_0x271dd5(0x10a)};try{logger[_0x271dd5(0x136)]('Running\x20SDK\x20with\x20args\x20'+origArgs[_0x271dd5(0x17d)]('\x20')),await _0x246b04[_0x271dd5(0x179)](_0x5d7771,_0x1a1e30,_0x576b1a,_0x15e8f3);}catch(_0x5e273c){process['exitCode']=0x1,logger[_0x271dd5(0x115)](util[_0x271dd5(0x10c)](_0x5e273c));const _0x202bc5={'globalException':util[_0x271dd5(0x10c)]('%j',_0x5e273c)};PerformanceTester[_0x271dd5(0x140)](PerformanceEvents[_0x271dd5(0x184)],![],util[_0x271dd5(0x10c)](_0x5e273c));if(helper[_0x271dd5(0x147)](global[_0x271dd5(0x103)])&&helper['isUndefined'](global['framework']))return;try{utilities[_0x271dd5(0x106)](_0x246b04[_0x271dd5(0x13e)],_0x202bc5,global[_0x271dd5(0x103)],global[_0x271dd5(0x152)]);}catch(_0x5332a8){logger['debug'](_0x271dd5(0x141)+_0x5332a8[_0x271dd5(0x107)]);}try{await helper[_0x271dd5(0x17b)](global[_0x271dd5(0x103)]);}catch(_0x31016e){logger[_0x271dd5(0x195)](_0x271dd5(0x161)+_0x31016e[_0x271dd5(0x107)]);}PerformanceTester[_0x271dd5(0x140)](PerformanceEvents['SDK_SETUP'],![],util[_0x271dd5(0x10c)](_0x5e273c));}finally{!_0x39f60a&&await BrowserstackCLI['getInstance']()[_0x271dd5(0x189)](),PerformanceTester[_0x271dd5(0xea)](PerformanceEvents['SDK_CLEANUP']);}};try{const browserstackFolderPath=path[a60_0x5cafcf(0x17d)](helper['homedir'](),'.browserstack');if(fs[a60_0x5cafcf(0xfa)](browserstackFolderPath)){const filePath=path[a60_0x5cafcf(0x17d)](browserstackFolderPath,a60_0x5cafcf(0xf2));fs[a60_0x5cafcf(0xfa)](filePath)&&fs[a60_0x5cafcf(0x11e)](filePath);}}catch(a60_0x90dda){logger[a60_0x5cafcf(0x195)](a60_0x5cafcf(0x144)+a60_0x90dda['message']);}function a60_0x5176(){const _0x40a04e=['unlinkSync','winstonLogger','assign','BduTT','ePWDV','eeatq','tYnaZ','oKyHh','usage:\x20$0\x20<command>\x20[args]','showHelpOnFail','zQMTO','cNwDB','pw:channel\x20auto-capture\x20seed\x20failed:\x20','BbVBN','../helpers/performance/constants','CODECEPTJS','135sHFlQZ','-pw:channel','getConfigPath','WxDGR','mjocF','tyWTH','./v2/browserstackCLI','vanilla','info','JASMINE','IUNBE','JEST','newman','./jasmine/command','./integrations/command','nwWkC','XACpS','Tckzi','end','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','wrap','XOOTR','Error\x20is\x20Deleting\x20temp\x20.local-not-set.json.\x20Error:\x20','mocha','env','isUndefined','describe','jest','ZnACC','NDGTd','zDRBK','strict','load\x20[subcommand]','../helpers/utilities','command','--require','framework','alias','child_process','MOCHA','run','LCsBG','./playwright/command','handler','nightwatch','6WwaHzH','--mochaRequire','pw:*','ErngB','--no-opts','DNrRW','Error\x20in\x20sending\x20logs.\x20Stacktrace:\x20','push','PaKJG','some','MCFCh','version','cucumber-js','ChDxu','INFO','../../ats/src/index','OSZMf','iPtnX','parserConfiguration','NIGHTWATCH','mkisK','eaQHD','LLSXw','pKfhR','yargs','../helpers/BrowserStackSetup','ffbvU','1070817MWZhHw','kiGlA','35356QjhcCp','VKbbz','util','sendLogs','./utils/constants','join','kzrgn','setBrowserStackAutomationDisable','path','mocha/lib/cli/cli.js','getPwChannelLogPath','FSVRV','SDK_SETUP','mzkvq','find','includes','22539JAFrTK','stop','slice','./cucumber-js/command','spawn','ats','KfpAr','./nightwatch/command','jasmine','--package','./newman/helper','disableAutoCaptureLogs','HST','debug','IIQGG','./vanilla-js/command','setTestObservabilityDisable','Parsing\x20command\x20line\x20arguments','YOPvQ','SLtkA','ChCCR','start','--opts','help','eHJdl','./jest/command','1560IyjcYl','CUCUMBER','filter','.local-not-set.json','codeceptjs','DEBUG_FILE','PLAYWRIGHT','DryLH','mocha/lib/cli/run.js','BROWSERSTACK_CONFIG_FILE_PATH','./testcafe/command','existsSync','../helpers/performance/performance-tester','option','Not\x20a\x20valid\x20command.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','You\x20need\x20at\x20least\x20one\x20command\x20before\x20moving\x20on.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','boolean','1071510IvPscT','dot-notation','195787WolHSl','config','VIfkh','../helpers/helper','fireFunnelTestEvent','stack','Runs\x20the\x20binary\x20with\x20load\x20command','DEBUG','SDKTestSuccessful','testcafe','format','xLuAs','dEUeU','126uzUkrm','zLmMc','eKCVR','split','CHrtF','myRbg','error','112188LSuDog','./newman/command','--no-package','688FKgtsj','miUVm','findAndReplace','argv','18873CKxxLj'];a60_0x5176=function(){return _0x40a04e;};return a60_0x5176();}process[a60_0x5cafcf(0x11c)][a60_0x5cafcf(0x187)](a60_0x5cafcf(0x145))&&(!process[a60_0x5cafcf(0x11c)][a60_0x5cafcf(0x187)](a60_0x5cafcf(0xeb))&&process[a60_0x5cafcf(0x11c)][a60_0x5cafcf(0x162)](a60_0x5cafcf(0x15f)),!process[a60_0x5cafcf(0x11c)][a60_0x5cafcf(0x186)](_0x5e974d=>_0x5e974d[a60_0x5cafcf(0x187)]('--config'))&&process[a60_0x5cafcf(0x11c)][a60_0x5cafcf(0x162)]('--no-config'),!process['argv'][a60_0x5cafcf(0x187)](a60_0x5cafcf(0x191))&&process[a60_0x5cafcf(0x11c)][a60_0x5cafcf(0x162)](a60_0x5cafcf(0x118)),helper[a60_0x5cafcf(0x11b)](process[a60_0x5cafcf(0x11c)],a60_0x5cafcf(0x151),a60_0x5cafcf(0x15c)));PerformanceTester[a60_0x5cafcf(0xea)](PerformanceEvents[a60_0x5cafcf(0x184)]);const a60_0x2ffbcc={};a60_0x2ffbcc[a60_0x5cafcf(0x101)]=![];function a60_0x538a(_0x3a100f,_0x16e265){const _0x517650=a60_0x5176();return a60_0x538a=function(_0x538a97,_0x3a4290){_0x538a97=_0x538a97-0xe4;let _0x4e4f30=_0x517650[_0x538a97];return _0x4e4f30;},a60_0x538a(_0x3a100f,_0x16e265);}const argv=yargs[a60_0x5cafcf(0x16d)](a60_0x2ffbcc)['usage'](a60_0x5cafcf(0x126))[a60_0x5cafcf(0x153)]('v',a60_0x5cafcf(0x166))[a60_0x5cafcf(0x148)]('v')[a60_0x5cafcf(0x153)]('h','help')['help'](a60_0x5cafcf(0xec))[a60_0x5cafcf(0x127)](!![],Constants['VERSION']['HELP'])[a60_0x5cafcf(0x150)](a60_0x5cafcf(0x149),Constants[a60_0x5cafcf(0x139)][a60_0x5cafcf(0x169)],function(_0x5b1117){const _0x58d064=a60_0x5cafcf,_0x17cb13={'kiGlA':'jest','KfpAr':function(_0x3f07c0,_0x2ed89e,_0x522efc,_0x4b0bb1,_0x5af128,_0xfe13d9){return _0x3f07c0(_0x2ed89e,_0x522efc,_0x4b0bb1,_0x5af128,_0xfe13d9);},'BduTT':function(_0x50c74e,_0x21f7f3){return _0x50c74e(_0x21f7f3);},'LLSXw':_0x58d064(0xee)},_0x30a460=process[_0x58d064(0x11c)][_0x58d064(0x18a)](0x2);helper[_0x58d064(0xe5)](),helper[_0x58d064(0x17f)](),_0x5b1117[_0x58d064(0x14d)](![]);const _0x20131f=new BrowserStackSetup(_0x5b1117[_0x58d064(0x11c)],_0x17cb13[_0x58d064(0x177)]);return _0x17cb13[_0x58d064(0x18e)](captureError,_0x17cb13[_0x58d064(0x121)](require,_0x17cb13[_0x58d064(0x171)]),_0x5b1117[_0x58d064(0x11c)],_0x20131f,_0x30a460,!![]);})[a60_0x5cafcf(0x150)](a60_0x5cafcf(0x190),Constants[a60_0x5cafcf(0x137)][a60_0x5cafcf(0x169)],function(_0x26aeaf){const _0x2df409=a60_0x5cafcf,_0x429fac={'ixARa':'jasmine','SLtkA':function(_0xe2c3e4,_0x37a046,_0x127c79,_0x26d6b9,_0x2afe8b,_0x5c7575){return _0xe2c3e4(_0x37a046,_0x127c79,_0x26d6b9,_0x2afe8b,_0x5c7575);},'YOPvQ':function(_0x26b9a2,_0x440adf){return _0x26b9a2(_0x440adf);},'dEUeU':_0x2df409(0x13b)},_0x59ff81=process[_0x2df409(0x11c)][_0x2df409(0x18a)](0x2);helper[_0x2df409(0xe5)](),helper['setBrowserStackAutomationDisable'](),_0x26aeaf[_0x2df409(0x14d)](![]);const _0x3f4638=new BrowserStackSetup(_0x26aeaf[_0x2df409(0x11c)],_0x429fac['ixARa']);return _0x429fac[_0x2df409(0xe8)](captureError,_0x429fac[_0x2df409(0xe7)](require,_0x429fac[_0x2df409(0x10e)]),_0x26aeaf[_0x2df409(0x11c)],_0x3f4638,_0x59ff81,!![]);})[a60_0x5cafcf(0x150)](a60_0x5cafcf(0x145),Constants[a60_0x5cafcf(0x155)]['INFO'],_0x5962d0=>{const _0x5191bc=a60_0x5cafcf,_0x268c2e={'mkisK':function(_0x3804b8,_0x24e76f,_0x4dc8f5,_0x33655d){return _0x3804b8(_0x24e76f,_0x4dc8f5,_0x33655d);},'ChDxu':function(_0x15cacb,_0x35494b){return _0x15cacb(_0x35494b);},'tYnaZ':'./mocha/command','ChCCR':_0x5191bc(0x145),'IUNBE':_0x5191bc(0xe6),'VIfkh':function(_0x5a1484,_0x28ac05,_0x473bc8){return _0x5a1484(_0x28ac05,_0x473bc8);},'tAZum':_0x5191bc(0xf7),'iMpJh':'mocha/lib/cli/commands.js','mzkvq':function(_0x3cd26d,_0x5218e9,_0x46b490){return _0x3cd26d(_0x5218e9,_0x46b490);},'oKyHh':_0x5191bc(0x181),'ZnACC':function(_0xd53146){return _0xd53146();}};process['argv']=process[_0x5191bc(0x11c)][_0x5191bc(0x18a)](0x1),helper['setTestObservabilityDisable'](),helper[_0x5191bc(0x17f)]();const _0x1be83e=new BrowserStackSetup(_0x5962d0[_0x5191bc(0x11c)],_0x268c2e['ChCCR']);logger[_0x5191bc(0x195)](_0x268c2e[_0x5191bc(0x138)]);const _0x482c5b=_0x268c2e['VIfkh'](requireModule,_0x268c2e['tAZum'],_0x268c2e[_0x5191bc(0xe9)]),_0x214f6=_0x268c2e[_0x5191bc(0x104)](requireModule,_0x268c2e['iMpJh'],_0x268c2e[_0x5191bc(0xe9)]);delete _0x482c5b['handler'],_0x482c5b[_0x5191bc(0x159)]=function(_0x381c2a){const _0x4d42f2=_0x5191bc;return _0x268c2e[_0x4d42f2(0x16f)](captureError,_0x268c2e[_0x4d42f2(0x168)](require,_0x268c2e[_0x4d42f2(0x124)]),_0x381c2a,_0x1be83e);},_0x214f6[_0x5191bc(0x156)]=_0x482c5b;const {main:_0x512b4c}=_0x268c2e[_0x5191bc(0x185)](requireModule,_0x268c2e[_0x5191bc(0x125)],_0x268c2e[_0x5191bc(0xe9)]);_0x268c2e[_0x5191bc(0x14a)](_0x512b4c);})[a60_0x5cafcf(0x150)](a60_0x5cafcf(0x167),Constants[a60_0x5cafcf(0xf0)]['INFO'],function(_0x36e1a7){const _0x2d5c27=a60_0x5cafcf,_0x55ade7={'WxDGR':_0x2d5c27(0x167),'ePWDV':function(_0x4bb72d,_0x57392c,_0x125b70,_0x4f0c0e,_0x12a1d3,_0x33f2a0){return _0x4bb72d(_0x57392c,_0x125b70,_0x4f0c0e,_0x12a1d3,_0x33f2a0);},'Tckzi':function(_0x4ea9ea,_0x437484){return _0x4ea9ea(_0x437484);},'nwWkC':_0x2d5c27(0x18b)},_0x4e4e31=process['argv'][_0x2d5c27(0x18a)](0x2),_0x5a41d8=new BrowserStackSetup(_0x36e1a7[_0x2d5c27(0x11c)],_0x55ade7[_0x2d5c27(0x131)]);return _0x55ade7[_0x2d5c27(0x122)](captureError,_0x55ade7[_0x2d5c27(0x13f)](require,_0x55ade7[_0x2d5c27(0x13d)]),_0x36e1a7['argv'],_0x5a41d8,_0x4e4e31,!![]);})[a60_0x5cafcf(0x150)]('node',Constants['VANILLA'][a60_0x5cafcf(0x169)],function(_0x100f4a){const _0x40a410=a60_0x5cafcf,_0x2a0d4b={'FgQaU':_0x40a410(0x135),'eHJdl':function(_0x256928,_0x587e57){return _0x256928(_0x587e57);},'ErngB':_0x40a410(0x13a),'SAUKV':function(_0x5f22c0,_0x588fe9,_0x7efd0f,_0xc35c9a,_0x389a3b){return _0x5f22c0(_0x588fe9,_0x7efd0f,_0xc35c9a,_0x389a3b);},'AMadc':function(_0x3468bd,_0x145ad5){return _0x3468bd(_0x145ad5);},'CHrtF':_0x40a410(0x117),'uUAuz':function(_0x313d58,_0x5924f9,_0x13d978,_0x5431ef,_0x5bde6a){return _0x313d58(_0x5924f9,_0x13d978,_0x5431ef,_0x5bde6a);},'pKfhR':function(_0xb0ef36,_0x222ca4){return _0xb0ef36(_0x222ca4);},'NDGTd':_0x40a410(0xe4)},_0x2fdc42=process['argv'][_0x40a410(0x18a)](0x2),_0x3125ee=new BrowserStackSetup(_0x100f4a[_0x40a410(0x11c)],_0x2a0d4b['FgQaU']),_0x601bfc=_0x3125ee?_0x3125ee[_0x40a410(0x103)]:null;if(_0x2a0d4b[_0x40a410(0xed)](isNewman,_0x601bfc))return _0x3125ee[_0x40a410(0x152)]=_0x2a0d4b[_0x40a410(0x15e)],global[_0x40a410(0x152)]=_0x2a0d4b[_0x40a410(0x15e)],_0x2a0d4b['SAUKV'](captureError,_0x2a0d4b['AMadc'](require,_0x2a0d4b[_0x40a410(0x113)]),_0x100f4a[_0x40a410(0x11c)],_0x3125ee,_0x2fdc42);return _0x2a0d4b['uUAuz'](captureError,_0x2a0d4b[_0x40a410(0x172)](require,_0x2a0d4b[_0x40a410(0x14b)]),_0x100f4a[_0x40a410(0x11c)],_0x3125ee,_0x2fdc42);})[a60_0x5cafcf(0x150)](a60_0x5cafcf(0x15a),Constants[a60_0x5cafcf(0x16e)]['INFO'],function(_0x11da8c){const _0x3bb14c=a60_0x5cafcf,_0x30e00e={'kpuRp':_0x3bb14c(0x15a),'FSVRV':function(_0xc2c3af,_0x21e772,_0x54e9e6,_0x58d639,_0x4581f1){return _0xc2c3af(_0x21e772,_0x54e9e6,_0x58d639,_0x4581f1);},'MCFCh':function(_0x487e51,_0x1c34d2){return _0x487e51(_0x1c34d2);},'iPtnX':_0x3bb14c(0x18f)},_0x55ecb0=process[_0x3bb14c(0x11c)][_0x3bb14c(0x18a)](0x2),_0xf8a40a=new BrowserStackSetup(_0x11da8c[_0x3bb14c(0x11c)],_0x30e00e['kpuRp']);return _0x30e00e[_0x3bb14c(0x183)](captureError,_0x30e00e[_0x3bb14c(0x165)](require,_0x30e00e[_0x3bb14c(0x16c)]),_0x11da8c[_0x3bb14c(0x11c)],_0xf8a40a,_0x55ecb0);})[a60_0x5cafcf(0x150)]('codeceptjs',Constants[a60_0x5cafcf(0x12d)][a60_0x5cafcf(0x169)],function(_0x250ba0){const _0x2f999e=a60_0x5cafcf,_0x23ea84={'cSAAz':_0x2f999e(0xf3),'eKCVR':function(_0x4980b3,_0x470f80,_0x597c5c,_0x5d1a73,_0x18b07b){return _0x4980b3(_0x470f80,_0x597c5c,_0x5d1a73,_0x18b07b);},'cNwDB':function(_0x3c4f7c,_0x2cb9b5){return _0x3c4f7c(_0x2cb9b5);},'bYCrQ':'./codeceptjs/command'},_0x3f33ce=process['argv']['slice'](0x2),_0x46dfa3=new BrowserStackSetup(_0x250ba0['argv'],_0x23ea84['cSAAz']);return _0x23ea84[_0x2f999e(0x111)](captureError,_0x23ea84[_0x2f999e(0x129)](require,_0x23ea84['bYCrQ']),_0x250ba0[_0x2f999e(0x11c)],_0x46dfa3,_0x3f33ce);})[a60_0x5cafcf(0x150)](a60_0x5cafcf(0x18d),Constants[a60_0x5cafcf(0x194)]['INFO'],function(_0x3991c2){const _0x5a6a7a=a60_0x5cafcf,_0x3044a9={'mjocF':function(_0x493d0b,_0x3f20ae,_0x449cd9){return _0x493d0b(_0x3f20ae,_0x449cd9);},'PaKJG':function(_0x52479a,_0x1b69c7){return _0x52479a(_0x1b69c7);},'DryLH':_0x5a6a7a(0x16a)},_0x2b92b6=process[_0x5a6a7a(0x11c)]['slice'](0x2);return _0x3044a9[_0x5a6a7a(0x132)](captureError,_0x3044a9[_0x5a6a7a(0x163)](require,_0x3044a9[_0x5a6a7a(0xf6)]),_0x3991c2);})[a60_0x5cafcf(0x150)]('integrations',Constants['INTEGRATIONS'][a60_0x5cafcf(0x169)],function(_0x2e5ea2){const _0x3e3db0=a60_0x5cafcf,_0x2613cd={'eeatq':function(_0x2099c2,_0x274a66){return _0x2099c2(_0x274a66);}};return _0x2613cd[_0x3e3db0(0x123)](runIntegrations,_0x2e5ea2);})[a60_0x5cafcf(0x150)]('playwright',Constants[a60_0x5cafcf(0xf5)][a60_0x5cafcf(0x169)],function(_0x405d90){const _0x2dee73=a60_0x5cafcf,_0x42c529={'vhmbt':'pw:channel','BbVBN':function(_0x558546,_0x5b783d){return _0x558546&&_0x5b783d;},'hbhcs':function(_0x4d2984,_0x2560c9,_0x32ec42,_0x37f0e5,_0x472ec0,_0x85fa6c){return _0x4d2984(_0x2560c9,_0x32ec42,_0x37f0e5,_0x472ec0,_0x85fa6c);},'zDRBK':function(_0x36a8e7,_0x3ab51f){return _0x36a8e7(_0x3ab51f);},'XOOTR':_0x2dee73(0x158)},_0x1ea48b=process[_0x2dee73(0x11c)][_0x2dee73(0x18a)](0x2);helper[_0x2dee73(0x130)](process[_0x2dee73(0x11c)])&&(process[_0x2dee73(0x146)][_0x2dee73(0xf8)]=helper[_0x2dee73(0x130)](process['argv']));helper[_0x2dee73(0xe5)](),helper[_0x2dee73(0x17f)]();const _0x713a12=new BrowserStackSetup(_0x405d90[_0x2dee73(0x11c)],FRAMEWORKS[_0x2dee73(0xf5)]);try{if(!_0x713a12[_0x2dee73(0x103)]||!_0x713a12['config'][_0x2dee73(0x193)]){const _0x401047=_0x42c529['vhmbt'],_0x532366=process[_0x2dee73(0x146)][_0x2dee73(0x109)]||'',_0x4d65d8=_0x532366[_0x2dee73(0x112)](',')['map'](_0x43d0af=>_0x43d0af['trim']())[_0x2dee73(0xf1)](Boolean),_0x20f95b=_0x4d65d8[_0x2dee73(0x164)](_0x3a1707=>_0x3a1707===_0x2dee73(0x12f)||_0x3a1707==='-pw:*'||_0x3a1707==='-*'),_0x5d72e6=_0x4d65d8[_0x2dee73(0x164)](_0x10dce2=>_0x10dce2===_0x401047||_0x10dce2===_0x2dee73(0x15d)||_0x10dce2==='*');if(_0x42c529[_0x2dee73(0x12b)](!_0x20f95b,!_0x5d72e6)){const _0x430854=helper[_0x2dee73(0x182)]();_0x430854&&(process[_0x2dee73(0x146)][_0x2dee73(0x109)]=_0x532366?_0x532366+','+_0x401047:_0x401047,!process[_0x2dee73(0x146)][_0x2dee73(0xf4)]&&(process[_0x2dee73(0x146)][_0x2dee73(0xf4)]=_0x430854));}}}catch(_0x390286){logger[_0x2dee73(0x195)](_0x2dee73(0x12a)+util[_0x2dee73(0x10c)](_0x390286));}return _0x42c529['hbhcs'](captureError,_0x42c529[_0x2dee73(0x14c)](require,_0x42c529[_0x2dee73(0x143)]),_0x405d90[_0x2dee73(0x11c)],_0x713a12,_0x1ea48b,!![]);})[a60_0x5cafcf(0x150)](a60_0x5cafcf(0x10b),Constants['TESTCAFE']['INFO'],function(_0x330f69){const _0x449780=a60_0x5cafcf,_0x4e88c2={'tyWTH':_0x449780(0x10b),'IIQGG':function(_0x3da8a6,_0xcf7065,_0x33c4d1,_0x23ba54,_0x1ede2a,_0x3936ff){return _0x3da8a6(_0xcf7065,_0x33c4d1,_0x23ba54,_0x1ede2a,_0x3936ff);},'UmfcQ':function(_0x1c6a7c,_0x2206e6){return _0x1c6a7c(_0x2206e6);},'DNrRW':_0x449780(0xf9)},_0x4b87fb=process[_0x449780(0x11c)]['slice'](0x2),_0x5f695f=new BrowserStackSetup(_0x330f69[_0x449780(0x11c)],_0x4e88c2[_0x449780(0x133)]);return _0x4e88c2[_0x449780(0x196)](captureError,_0x4e88c2['UmfcQ'](require,_0x4e88c2[_0x449780(0x160)]),_0x330f69[_0x449780(0x11c)],_0x5f695f,_0x4b87fb,!![]);})[a60_0x5cafcf(0x150)](a60_0x5cafcf(0x14e),a60_0x5cafcf(0x108),function(_0x2790d0){const _0x2566a2=a60_0x5cafcf,_0x51a5e0={};_0x51a5e0[_0x2566a2(0x157)]=_0x2566a2(0xec),_0x51a5e0[_0x2566a2(0x128)]=_0x2566a2(0xff),_0x51a5e0[_0x2566a2(0x16b)]='Show\x20help';const _0x467c1d=_0x51a5e0;return _0x2790d0[_0x2566a2(0xec)](![])[_0x2566a2(0xfc)](_0x467c1d[_0x2566a2(0x157)],{'alias':'h','type':_0x467c1d[_0x2566a2(0x128)],'describe':_0x467c1d['OSZMf']})[_0x2566a2(0x14d)](![])['exitProcess'](![]);},function(_0x4b7d6b){const _0x521b68=a60_0x5cafcf,_0x565b1c={'xLuAs':function(_0x11b348,_0x5089f0,_0x5d845c){return _0x11b348(_0x5089f0,_0x5d845c);},'miUVm':function(_0x564ec2,_0x5597b2){return _0x564ec2(_0x5597b2);},'myRbg':'./load/index'},_0x1d22de={};return _0x1d22de[_0x521b68(0x11c)]=_0x4b7d6b,_0x565b1c[_0x521b68(0x10d)](captureError,_0x565b1c[_0x521b68(0x11a)](require,_0x565b1c[_0x521b68(0x114)]),_0x1d22de);})[a60_0x5cafcf(0x150)](a60_0x5cafcf(0x13a),Constants['NEWMAN'][a60_0x5cafcf(0x169)],function(_0x42d11d){const _0x46a880=a60_0x5cafcf,_0x598247={'ffbvU':_0x46a880(0x13a),'kzrgn':function(_0x90d4fc,_0x24b187,_0x3fa57d,_0x4b0a83,_0x24d4b0){return _0x90d4fc(_0x24b187,_0x3fa57d,_0x4b0a83,_0x24d4b0);},'zLmMc':function(_0x3255b0,_0xa32196){return _0x3255b0(_0xa32196);},'eaQHD':'./newman/command'},_0x2595ab=process[_0x46a880(0x11c)][_0x46a880(0x18a)](0x2);helper[_0x46a880(0xe5)](),helper[_0x46a880(0x17f)](),_0x42d11d['strict'](![]);const _0x47c04a=new BrowserStackSetup(_0x42d11d['argv'],_0x598247[_0x46a880(0x175)]);return _0x598247[_0x46a880(0x17e)](captureError,_0x598247[_0x46a880(0x110)](require,_0x598247[_0x46a880(0x170)]),_0x42d11d[_0x46a880(0x11c)],_0x47c04a,_0x2595ab);})['demandCommand'](0x1,a60_0x5cafcf(0xfe))[a60_0x5cafcf(0x142)](null)[a60_0x5cafcf(0x11c)];!helper[a60_0x5cafcf(0x147)](argv['_'])&&!argv['_'][0x1]&&argv['_'][0x0]!==a60_0x5cafcf(0x18d)&&console[a60_0x5cafcf(0x115)](a60_0x5cafcf(0xfd));
|
|
2
|
+
'use strict';const a59_0x273e33=a59_0x61ed;(function(_0x4ba94f,_0x2a5f22){const _0x2222fc=a59_0x61ed,_0x2005f5=_0x4ba94f();while(!![]){try{const _0x24091c=-parseInt(_0x2222fc(0x218))/0x1*(parseInt(_0x2222fc(0x20d))/0x2)+-parseInt(_0x2222fc(0x232))/0x3+-parseInt(_0x2222fc(0x1e2))/0x4+-parseInt(_0x2222fc(0x1d3))/0x5+parseInt(_0x2222fc(0x1f8))/0x6*(parseInt(_0x2222fc(0x221))/0x7)+-parseInt(_0x2222fc(0x264))/0x8*(parseInt(_0x2222fc(0x216))/0x9)+-parseInt(_0x2222fc(0x1f6))/0xa*(-parseInt(_0x2222fc(0x214))/0xb);if(_0x24091c===_0x2a5f22)break;else _0x2005f5['push'](_0x2005f5['shift']());}catch(_0x2c95d1){_0x2005f5['push'](_0x2005f5['shift']());}}}(a59_0x1991,0xa341e));function a59_0x61ed(_0x1afc70,_0x3b695d){const _0x19912f=a59_0x1991();return a59_0x61ed=function(_0x61ed74,_0x1df65f){_0x61ed74=_0x61ed74-0x1c4;let _0x5ab52e=_0x19912f[_0x61ed74];return _0x5ab52e;},a59_0x61ed(_0x1afc70,_0x3b695d);}const fs=require('fs'),path=require(a59_0x273e33(0x1d5)),util=require(a59_0x273e33(0x21d)),spawn=require(a59_0x273e33(0x208))[a59_0x273e33(0x271)],{requireModule}=require(a59_0x273e33(0x1d6)),PerformanceTester=require(a59_0x273e33(0x222)),PerformanceEvents=require(a59_0x273e33(0x217))[a59_0x273e33(0x273)],helper=require(a59_0x273e33(0x1d6)),utilities=require(a59_0x273e33(0x1c6)),{default:BrowserStackSetup}=require(a59_0x273e33(0x23a)),{FRAMEWORKS}=require(a59_0x273e33(0x1d1)),runIntegrations=require(a59_0x273e33(0x25a)),yargs=require(a59_0x273e33(0x250)),Constants=require(a59_0x273e33(0x26b)),BrowserstackCLI=require('./v2/browserstackCLI'),{isNewman}=require(a59_0x273e33(0x231)),logger=require('../helpers/logger')[a59_0x273e33(0x26d)],origArgs=Object['assign']([],process[a59_0x273e33(0x1d8)]),captureError=async(_0x1463ca,_0x344ae3,_0x30ff89,_0x435f92=null,_0x710602=![])=>{const _0x53f529=a59_0x273e33,_0x7457ce={'jCpIY':function(_0x22318e,_0x432df4,_0xf078c9,_0x24191c){return _0x22318e(_0x432df4,_0xf078c9,_0x24191c);},'tMDny':_0x53f529(0x239)};try{logger[_0x53f529(0x1e4)](_0x53f529(0x243)+origArgs['join']('\x20')),await _0x7457ce[_0x53f529(0x263)](_0x1463ca,_0x344ae3,_0x435f92,_0x30ff89);}catch(_0x1adb33){process[_0x53f529(0x22c)]=0x1,logger[_0x53f529(0x1e3)](util[_0x53f529(0x23c)](_0x1adb33));const _0x1e7e4d={'globalException':util[_0x53f529(0x23c)]('%j',_0x1adb33)};PerformanceTester[_0x53f529(0x25f)](PerformanceEvents[_0x53f529(0x268)],![],util[_0x53f529(0x23c)](_0x1adb33));if(helper[_0x53f529(0x226)](global['config'])&&helper[_0x53f529(0x226)](global[_0x53f529(0x26a)]))return;try{utilities['fireFunnelTestEvent'](_0x7457ce[_0x53f529(0x1c8)],_0x1e7e4d,global[_0x53f529(0x20c)],global[_0x53f529(0x26a)]);}catch(_0x17947f){logger[_0x53f529(0x252)](_0x53f529(0x1e0)+_0x17947f[_0x53f529(0x213)]);}try{await helper[_0x53f529(0x227)](global[_0x53f529(0x20c)]);}catch(_0xba54f3){logger[_0x53f529(0x252)]('Error\x20in\x20sending\x20logs.\x20Stacktrace:\x20'+_0xba54f3['stack']);}PerformanceTester['end'](PerformanceEvents[_0x53f529(0x268)],![],util['format'](_0x1adb33));}finally{!_0x710602&&await BrowserstackCLI['getInstance']()[_0x53f529(0x23e)](),PerformanceTester[_0x53f529(0x1dc)](PerformanceEvents[_0x53f529(0x1c4)]);}};try{const browserstackFolderPath=path['join'](helper[a59_0x273e33(0x24c)](),a59_0x273e33(0x1d4));if(fs['existsSync'](browserstackFolderPath)){const filePath=path[a59_0x273e33(0x1c5)](browserstackFolderPath,a59_0x273e33(0x202));fs[a59_0x273e33(0x1df)](filePath)&&fs['unlinkSync'](filePath);}}catch(a59_0x1e07c6){logger[a59_0x273e33(0x252)]('Error\x20is\x20Deleting\x20temp\x20.local-not-set.json.\x20Error:\x20'+a59_0x1e07c6[a59_0x273e33(0x215)]);}process[a59_0x273e33(0x1d8)][a59_0x273e33(0x1f1)]('mocha')&&(!process['argv'][a59_0x273e33(0x1f1)](a59_0x273e33(0x251))&&process[a59_0x273e33(0x1d8)][a59_0x273e33(0x1ee)]('--no-opts'),!process['argv'][a59_0x273e33(0x1fd)](_0x144825=>_0x144825[a59_0x273e33(0x1f1)](a59_0x273e33(0x244)))&&process[a59_0x273e33(0x1d8)][a59_0x273e33(0x1ee)]('--no-config'),!process['argv']['includes']('--package')&&process[a59_0x273e33(0x1d8)][a59_0x273e33(0x1ee)](a59_0x273e33(0x1fa)),helper[a59_0x273e33(0x20f)](process[a59_0x273e33(0x1d8)],'--require','--mochaRequire'));PerformanceTester[a59_0x273e33(0x1dc)](PerformanceEvents[a59_0x273e33(0x268)]);const a59_0x2084a2={};a59_0x2084a2[a59_0x273e33(0x247)]=![];const argv=yargs[a59_0x273e33(0x209)](a59_0x2084a2)[a59_0x273e33(0x203)](a59_0x273e33(0x256))[a59_0x273e33(0x233)]('v',a59_0x273e33(0x240))[a59_0x273e33(0x24e)]('v')[a59_0x273e33(0x233)]('h',a59_0x273e33(0x21a))['help']('help')[a59_0x273e33(0x1e6)](!![],Constants['VERSION']['HELP'])['command'](a59_0x273e33(0x1c9),Constants[a59_0x273e33(0x265)][a59_0x273e33(0x23d)],function(_0x28eeff){const _0x5172fb=a59_0x273e33,_0x1dd12f={'LoQRH':'jest','kkvIb':function(_0x5c8e08,_0x55039a,_0x4074c9,_0x4e2bbe,_0x37be05,_0x417553){return _0x5c8e08(_0x55039a,_0x4074c9,_0x4e2bbe,_0x37be05,_0x417553);},'KUKjw':function(_0x5b8371,_0x616c0f){return _0x5b8371(_0x616c0f);},'bvuUq':_0x5172fb(0x236)},_0x83bc90=process['argv']['slice'](0x2);helper[_0x5172fb(0x254)](),helper[_0x5172fb(0x260)](),_0x28eeff[_0x5172fb(0x258)](![]);const _0x19f043=new BrowserStackSetup(_0x28eeff[_0x5172fb(0x1d8)],_0x1dd12f['LoQRH']);return _0x1dd12f[_0x5172fb(0x220)](captureError,_0x1dd12f[_0x5172fb(0x230)](require,_0x1dd12f['bvuUq']),_0x28eeff['argv'],_0x19f043,_0x83bc90,!![]);})[a59_0x273e33(0x21b)](a59_0x273e33(0x25c),Constants['JASMINE'][a59_0x273e33(0x23d)],function(_0x2a1c09){const _0x2a3a09=a59_0x273e33,_0x3cd497={'asMzy':_0x2a3a09(0x25c),'AkdPo':function(_0x9b18d4,_0x1ca488,_0x33231c,_0x4f6d7e,_0x1d4af0,_0x3baa0f){return _0x9b18d4(_0x1ca488,_0x33231c,_0x4f6d7e,_0x1d4af0,_0x3baa0f);},'kyRry':function(_0x4bc489,_0x3c6659){return _0x4bc489(_0x3c6659);},'gHOle':_0x2a3a09(0x248)},_0x380cc3=process[_0x2a3a09(0x1d8)][_0x2a3a09(0x1da)](0x2);helper[_0x2a3a09(0x254)](),helper['setBrowserStackAutomationDisable'](),_0x2a1c09[_0x2a3a09(0x258)](![]);const _0x5a8faa=new BrowserStackSetup(_0x2a1c09[_0x2a3a09(0x1d8)],_0x3cd497[_0x2a3a09(0x269)]);return _0x3cd497[_0x2a3a09(0x200)](captureError,_0x3cd497[_0x2a3a09(0x1ea)](require,_0x3cd497[_0x2a3a09(0x1f5)]),_0x2a1c09[_0x2a3a09(0x1d8)],_0x5a8faa,_0x380cc3,!![]);})[a59_0x273e33(0x21b)](a59_0x273e33(0x204),Constants[a59_0x273e33(0x228)][a59_0x273e33(0x23d)],_0x206fb3=>{const _0x3941de=a59_0x273e33,_0x14a972={'aJIjE':function(_0x5b7258,_0x105253,_0xa29eaa,_0x4ebe84){return _0x5b7258(_0x105253,_0xa29eaa,_0x4ebe84);},'LziHD':function(_0x22b21b,_0x3b07b2){return _0x22b21b(_0x3b07b2);},'winpA':_0x3941de(0x1f3),'RxDDd':_0x3941de(0x204),'rWzbc':_0x3941de(0x210),'nqorK':function(_0x4e54e6,_0x2b01d1,_0x201cca){return _0x4e54e6(_0x2b01d1,_0x201cca);},'oCrdv':_0x3941de(0x238),'gKPSU':_0x3941de(0x1e5),'hnRNT':function(_0x110d1a,_0xed20e8,_0x219229){return _0x110d1a(_0xed20e8,_0x219229);},'jrgyP':'mocha/lib/cli/cli.js','DfUPg':function(_0x15ae40){return _0x15ae40();}};process[_0x3941de(0x1d8)]=process[_0x3941de(0x1d8)][_0x3941de(0x1da)](0x1),helper[_0x3941de(0x254)](),helper[_0x3941de(0x260)]();const _0x545857=new BrowserStackSetup(_0x206fb3['argv'],_0x14a972[_0x3941de(0x1f9)]);logger[_0x3941de(0x252)](_0x14a972[_0x3941de(0x1dd)]);const _0x53ee7d=_0x14a972[_0x3941de(0x20e)](requireModule,_0x14a972[_0x3941de(0x22d)],_0x14a972[_0x3941de(0x1f9)]),_0x4b4201=_0x14a972['nqorK'](requireModule,_0x14a972['gKPSU'],_0x14a972[_0x3941de(0x1f9)]);delete _0x53ee7d['handler'],_0x53ee7d[_0x3941de(0x22b)]=function(_0x56ebef){const _0x279dc6=_0x3941de;return _0x14a972[_0x279dc6(0x1f2)](captureError,_0x14a972['LziHD'](require,_0x14a972[_0x279dc6(0x1ef)]),_0x56ebef,_0x545857);},_0x4b4201[_0x3941de(0x219)]=_0x53ee7d;const {main:_0x1a0518}=_0x14a972[_0x3941de(0x211)](requireModule,_0x14a972[_0x3941de(0x1eb)],_0x14a972[_0x3941de(0x1f9)]);_0x14a972[_0x3941de(0x270)](_0x1a0518);})[a59_0x273e33(0x21b)](a59_0x273e33(0x24d),Constants[a59_0x273e33(0x259)][a59_0x273e33(0x23d)],function(_0x56e9b9){const _0x57cdf3=a59_0x273e33,_0x286a31={'TqiQe':'cucumber-js','RIhab':function(_0x1c8e80,_0x2d7296,_0x337098,_0x36b1c9,_0x2d05ed,_0x372389){return _0x1c8e80(_0x2d7296,_0x337098,_0x36b1c9,_0x2d05ed,_0x372389);},'AnYHl':function(_0x94d69a,_0x45bc7f){return _0x94d69a(_0x45bc7f);},'nInMO':_0x57cdf3(0x24f)},_0x4b8cb4=process[_0x57cdf3(0x1d8)][_0x57cdf3(0x1da)](0x2),_0x593a61=new BrowserStackSetup(_0x56e9b9[_0x57cdf3(0x1d8)],_0x286a31['TqiQe']);return _0x286a31[_0x57cdf3(0x201)](captureError,_0x286a31['AnYHl'](require,_0x286a31[_0x57cdf3(0x257)]),_0x56e9b9[_0x57cdf3(0x1d8)],_0x593a61,_0x4b8cb4,!![]);})[a59_0x273e33(0x21b)](a59_0x273e33(0x23f),Constants[a59_0x273e33(0x20a)][a59_0x273e33(0x23d)],function(_0x2aca93){const _0x8fade6=a59_0x273e33,_0x56c123={'oYKWY':'vanilla','ThOOH':function(_0x7aec70,_0x186e88){return _0x7aec70(_0x186e88);},'linGe':_0x8fade6(0x249),'YnPRH':function(_0x2e1b81,_0x23abeb,_0x2d94b9,_0x4eeea2,_0x471364){return _0x2e1b81(_0x23abeb,_0x2d94b9,_0x4eeea2,_0x471364);},'cVWtU':_0x8fade6(0x207),'wITTS':function(_0x5cf783,_0x509497,_0x44ce4c,_0xaea0a0,_0x3de8a0){return _0x5cf783(_0x509497,_0x44ce4c,_0xaea0a0,_0x3de8a0);},'Dtfpx':_0x8fade6(0x21c)},_0x1543d7=process[_0x8fade6(0x1d8)][_0x8fade6(0x1da)](0x2),_0x54f661=new BrowserStackSetup(_0x2aca93[_0x8fade6(0x1d8)],_0x56c123['oYKWY']),_0x2e808b=_0x54f661?_0x54f661[_0x8fade6(0x20c)]:null;if(_0x56c123[_0x8fade6(0x206)](isNewman,_0x2e808b))return _0x54f661[_0x8fade6(0x26a)]=_0x56c123['linGe'],global[_0x8fade6(0x26a)]=_0x56c123['linGe'],_0x56c123[_0x8fade6(0x234)](captureError,_0x56c123[_0x8fade6(0x206)](require,_0x56c123[_0x8fade6(0x1fe)]),_0x2aca93[_0x8fade6(0x1d8)],_0x54f661,_0x1543d7);return _0x56c123[_0x8fade6(0x26c)](captureError,_0x56c123[_0x8fade6(0x206)](require,_0x56c123[_0x8fade6(0x205)]),_0x2aca93[_0x8fade6(0x1d8)],_0x54f661,_0x1543d7);})[a59_0x273e33(0x21b)](a59_0x273e33(0x1e8),Constants['NIGHTWATCH'][a59_0x273e33(0x23d)],function(_0x851d2d){const _0xc40d2e=a59_0x273e33,_0x5eac70={'REvgo':_0xc40d2e(0x1e8),'AMWZG':function(_0x5f9cc5,_0x1bf893,_0x51f623,_0xfd6e6,_0x4f4a1f){return _0x5f9cc5(_0x1bf893,_0x51f623,_0xfd6e6,_0x4f4a1f);},'XLoLL':function(_0x4aea0c,_0x4a60b9){return _0x4aea0c(_0x4a60b9);},'edRXl':'./nightwatch/command'},_0x3b2119=process[_0xc40d2e(0x1d8)][_0xc40d2e(0x1da)](0x2),_0x593c6e=new BrowserStackSetup(_0x851d2d[_0xc40d2e(0x1d8)],_0x5eac70[_0xc40d2e(0x237)]);return _0x5eac70['AMWZG'](captureError,_0x5eac70[_0xc40d2e(0x1cb)](require,_0x5eac70['edRXl']),_0x851d2d[_0xc40d2e(0x1d8)],_0x593c6e,_0x3b2119);})[a59_0x273e33(0x21b)](a59_0x273e33(0x26e),Constants[a59_0x273e33(0x229)][a59_0x273e33(0x23d)],function(_0x3f4482){const _0x21f8cc=a59_0x273e33,_0x145794={'EkaEw':_0x21f8cc(0x26e),'eJJye':function(_0x4d91e7,_0x597aee,_0x1d6181,_0x3578d1,_0x5aae81){return _0x4d91e7(_0x597aee,_0x1d6181,_0x3578d1,_0x5aae81);},'tfNou':function(_0x375266,_0x5adb33){return _0x375266(_0x5adb33);},'focMx':_0x21f8cc(0x26f)},_0x5926ce=process[_0x21f8cc(0x1d8)][_0x21f8cc(0x1da)](0x2),_0x29be1d=new BrowserStackSetup(_0x3f4482[_0x21f8cc(0x1d8)],_0x145794['EkaEw']);return _0x145794[_0x21f8cc(0x1ce)](captureError,_0x145794[_0x21f8cc(0x1d9)](require,_0x145794[_0x21f8cc(0x1de)]),_0x3f4482[_0x21f8cc(0x1d8)],_0x29be1d,_0x5926ce);})[a59_0x273e33(0x21b)](a59_0x273e33(0x235),Constants['HST'][a59_0x273e33(0x23d)],function(_0x343c15){const _0x1ddd5d=a59_0x273e33,_0x56b600={'gCiRF':function(_0x5a786c,_0xce31ae,_0x343986){return _0x5a786c(_0xce31ae,_0x343986);},'bRprh':function(_0x19bcbf,_0x11b626){return _0x19bcbf(_0x11b626);},'eVUGN':_0x1ddd5d(0x225)},_0x5738a2=process[_0x1ddd5d(0x1d8)][_0x1ddd5d(0x1da)](0x2);return _0x56b600[_0x1ddd5d(0x22a)](captureError,_0x56b600[_0x1ddd5d(0x241)](require,_0x56b600[_0x1ddd5d(0x1f4)]),_0x343c15);})[a59_0x273e33(0x21b)]('integrations',Constants[a59_0x273e33(0x1e7)][a59_0x273e33(0x23d)],function(_0x53165b){const _0x368eab=a59_0x273e33,_0x2b4480={'qhhnV':function(_0x262792,_0x3ed544){return _0x262792(_0x3ed544);}};return _0x2b4480[_0x368eab(0x223)](runIntegrations,_0x53165b);})['command'](a59_0x273e33(0x1cc),Constants[a59_0x273e33(0x1c7)][a59_0x273e33(0x23d)],function(_0x15b3f8){const _0x246ebd=a59_0x273e33,_0x35732b={'vJpuS':_0x246ebd(0x25b),'guoUk':function(_0x8e1b22,_0x52c709){return _0x8e1b22&&_0x52c709;},'MGByY':function(_0x1af5c3,_0x25601c,_0x179ee6,_0x3f9d1d,_0x4d0ebf,_0x1199df){return _0x1af5c3(_0x25601c,_0x179ee6,_0x3f9d1d,_0x4d0ebf,_0x1199df);},'VJDwv':function(_0x1b26b0,_0x3c4633){return _0x1b26b0(_0x3c4633);},'qbdlG':_0x246ebd(0x245)},_0x4a8dc8=process['argv'][_0x246ebd(0x1da)](0x2);helper[_0x246ebd(0x22f)](process[_0x246ebd(0x1d8)])&&(process[_0x246ebd(0x1ed)]['BROWSERSTACK_CONFIG_FILE_PATH']=helper['getConfigPath'](process[_0x246ebd(0x1d8)]));helper[_0x246ebd(0x254)](),helper[_0x246ebd(0x260)]();const _0x496cee=new BrowserStackSetup(_0x15b3f8[_0x246ebd(0x1d8)],FRAMEWORKS[_0x246ebd(0x1c7)]);try{if(!_0x496cee[_0x246ebd(0x20c)]||!_0x496cee[_0x246ebd(0x20c)][_0x246ebd(0x22e)]){const _0x5e7e57=_0x35732b['vJpuS'],_0x5cff2a=process['env'][_0x246ebd(0x21e)]||'',_0x54040e=_0x5cff2a[_0x246ebd(0x253)](',')['map'](_0x174d8d=>_0x174d8d[_0x246ebd(0x1d2)]())[_0x246ebd(0x24b)](Boolean),_0x4f9937=_0x54040e[_0x246ebd(0x1ec)](_0x3bcb93=>_0x3bcb93===_0x246ebd(0x246)||_0x3bcb93===_0x246ebd(0x224)||_0x3bcb93==='-*'),_0x178b6a=_0x54040e['some'](_0x55ed83=>_0x55ed83===_0x5e7e57||_0x55ed83==='pw:*'||_0x55ed83==='*');if(_0x35732b[_0x246ebd(0x1f7)](!_0x4f9937,!_0x178b6a)){const _0x2e89ce=helper[_0x246ebd(0x1d0)]();_0x2e89ce&&(process[_0x246ebd(0x1ed)][_0x246ebd(0x21e)]=_0x5cff2a?_0x5cff2a+','+_0x5e7e57:_0x5e7e57,!process['env'][_0x246ebd(0x1ff)]&&(process[_0x246ebd(0x1ed)][_0x246ebd(0x1ff)]=_0x2e89ce));}}}catch(_0x3613d3){logger[_0x246ebd(0x252)]('pw:channel\x20auto-capture\x20seed\x20failed:\x20'+util['format'](_0x3613d3));}return _0x35732b['MGByY'](captureError,_0x35732b[_0x246ebd(0x1d7)](require,_0x35732b['qbdlG']),_0x15b3f8[_0x246ebd(0x1d8)],_0x496cee,_0x4a8dc8,!![]);})[a59_0x273e33(0x21b)]('testcafe',Constants[a59_0x273e33(0x255)]['INFO'],function(_0x3ef34e){const _0x2a2490=a59_0x273e33,_0x147302={'MjfFm':_0x2a2490(0x267),'xrTvu':function(_0x28cdb9,_0x47b5ec,_0x10a8bd,_0x21b377,_0x2835c0,_0x5ace89){return _0x28cdb9(_0x47b5ec,_0x10a8bd,_0x21b377,_0x2835c0,_0x5ace89);},'enucI':function(_0x183c6f,_0x18c627){return _0x183c6f(_0x18c627);},'Mveaa':'./testcafe/command'},_0x2d345b=process[_0x2a2490(0x1d8)][_0x2a2490(0x1da)](0x2),_0x4c32f7=new BrowserStackSetup(_0x3ef34e['argv'],_0x147302[_0x2a2490(0x1fb)]);return _0x147302['xrTvu'](captureError,_0x147302['enucI'](require,_0x147302[_0x2a2490(0x1e1)]),_0x3ef34e[_0x2a2490(0x1d8)],_0x4c32f7,_0x2d345b,!![]);})[a59_0x273e33(0x21b)]('load\x20[subcommand]',a59_0x273e33(0x23b),function(_0x1adbdf){const _0x4a14fb=a59_0x273e33,_0x2d00c0={};_0x2d00c0[_0x4a14fb(0x24a)]=_0x4a14fb(0x21a),_0x2d00c0[_0x4a14fb(0x25d)]='boolean',_0x2d00c0[_0x4a14fb(0x262)]=_0x4a14fb(0x21f);const _0x1f637a=_0x2d00c0;return _0x1adbdf['help'](![])[_0x4a14fb(0x272)](_0x1f637a[_0x4a14fb(0x24a)],{'alias':'h','type':_0x1f637a[_0x4a14fb(0x25d)],'describe':_0x1f637a[_0x4a14fb(0x262)]})['strict'](![])[_0x4a14fb(0x20b)](![]);},function(_0x58e8b2){const _0x5e20ff=a59_0x273e33,_0x157334={'ZrjUH':function(_0x601ff3,_0x376c75,_0x1a60c1){return _0x601ff3(_0x376c75,_0x1a60c1);},'ONdry':function(_0x27e758,_0x3fd22a){return _0x27e758(_0x3fd22a);},'TrJPy':_0x5e20ff(0x1db)},_0x1a37b9={};return _0x1a37b9[_0x5e20ff(0x1d8)]=_0x58e8b2,_0x157334['ZrjUH'](captureError,_0x157334[_0x5e20ff(0x212)](require,_0x157334[_0x5e20ff(0x1fc)]),_0x1a37b9);})['command'](a59_0x273e33(0x249),Constants[a59_0x273e33(0x1f0)][a59_0x273e33(0x23d)],function(_0x21caeb){const _0x2742bf=a59_0x273e33,_0x106894={'hkFRJ':_0x2742bf(0x249),'hjbOq':function(_0x5c9bf0,_0x479442,_0x44d843,_0x3ba441,_0x399b75){return _0x5c9bf0(_0x479442,_0x44d843,_0x3ba441,_0x399b75);},'scFim':function(_0x32c584,_0x22065f){return _0x32c584(_0x22065f);},'wFuil':'./newman/command'},_0x40796a=process['argv'][_0x2742bf(0x1da)](0x2);helper[_0x2742bf(0x254)](),helper[_0x2742bf(0x260)](),_0x21caeb[_0x2742bf(0x258)](![]);const _0x5604cc=new BrowserStackSetup(_0x21caeb[_0x2742bf(0x1d8)],_0x106894[_0x2742bf(0x1cf)]);return _0x106894[_0x2742bf(0x261)](captureError,_0x106894[_0x2742bf(0x1ca)](require,_0x106894[_0x2742bf(0x25e)]),_0x21caeb['argv'],_0x5604cc,_0x40796a);})[a59_0x273e33(0x1e9)](0x1,a59_0x273e33(0x266))[a59_0x273e33(0x242)](null)['argv'];!helper['isUndefined'](argv['_'])&&!argv['_'][0x1]&&argv['_'][0x0]!==a59_0x273e33(0x235)&&console[a59_0x273e33(0x1e3)](a59_0x273e33(0x1cd));function a59_0x1991(){const _0x18c612=['.browserstack','path','../helpers/helper','VJDwv','argv','tfNou','slice','./load/index','start','rWzbc','focMx','existsSync','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','Mveaa','972224UMKTZo','error','info','mocha/lib/cli/commands.js','showHelpOnFail','INTEGRATIONS','nightwatch','demandCommand','kyRry','jrgyP','some','env','push','winpA','NEWMAN','includes','aJIjE','./mocha/command','eVUGN','gHOle','23274340tWNbNh','guoUk','6VHhBUe','RxDDd','--no-package','MjfFm','TrJPy','find','cVWtU','DEBUG_FILE','AkdPo','RIhab','.local-not-set.json','usage','mocha','Dtfpx','ThOOH','./newman/command','child_process','parserConfiguration','VANILLA','exitProcess','config','20nUvWxM','nqorK','findAndReplace','Parsing\x20command\x20line\x20arguments','hnRNT','ONdry','stack','11WbCovu','message','185022SAyNKI','../helpers/performance/constants','69847LynUhD','run','help','command','./vanilla-js/command','util','DEBUG','Show\x20help','kkvIb','4477263LXzOGV','../helpers/performance/performance-tester','qhhnV','-pw:*','../../ats/src/index','isUndefined','sendLogs','MOCHA','CODECEPTJS','gCiRF','handler','exitCode','oCrdv','disableAutoCaptureLogs','getConfigPath','KUKjw','./newman/helper','466224XxNVpr','alias','YnPRH','ats','./jest/command','REvgo','mocha/lib/cli/run.js','SDKTestSuccessful','../helpers/BrowserStackSetup','Runs\x20the\x20binary\x20with\x20load\x20command','format','INFO','stop','node','version','bRprh','wrap','Running\x20SDK\x20with\x20args\x20','--config','./playwright/command','-pw:channel','dot-notation','./jasmine/command','newman','dxKEc','filter','homedir','cucumber-js','describe','./cucumber-js/command','yargs','--opts','debug','split','setTestObservabilityDisable','TESTCAFE','usage:\x20$0\x20<command>\x20[args]','nInMO','strict','CUCUMBER','./integrations/command','pw:channel','jasmine','zRqyn','wFuil','end','setBrowserStackAutomationDisable','hjbOq','CdrWL','jCpIY','96gWLIJp','JEST','You\x20need\x20at\x20least\x20one\x20command\x20before\x20moving\x20on.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','testcafe','SDK_SETUP','asMzy','framework','./utils/constants','wITTS','winstonLogger','codeceptjs','./codeceptjs/command','DfUPg','spawn','option','EVENTS','SDK_CLEANUP','join','../helpers/utilities','PLAYWRIGHT','tMDny','jest','scFim','XLoLL','playwright','Not\x20a\x20valid\x20command.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','eJJye','hkFRJ','getPwChannelLogPath','../helpers/test-observability/constants','trim','4773555tWtWgm'];a59_0x1991=function(){return _0x18c612;};return a59_0x1991();}
|
package/src/bin/setup.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
const
|
|
3
|
+
const a60_0x2f30c2=a60_0x244b;(function(_0x371001,_0x5a1394){const _0x12d4f9=a60_0x244b,_0x512c54=_0x371001();while(!![]){try{const _0x488fe3=-parseInt(_0x12d4f9(0xee))/0x1*(-parseInt(_0x12d4f9(0x128))/0x2)+-parseInt(_0x12d4f9(0x11d))/0x3+parseInt(_0x12d4f9(0x100))/0x4*(-parseInt(_0x12d4f9(0x112))/0x5)+-parseInt(_0x12d4f9(0x115))/0x6+-parseInt(_0x12d4f9(0x109))/0x7+parseInt(_0x12d4f9(0xf8))/0x8*(-parseInt(_0x12d4f9(0x129))/0x9)+-parseInt(_0x12d4f9(0x118))/0xa*(-parseInt(_0x12d4f9(0xfc))/0xb);if(_0x488fe3===_0x5a1394)break;else _0x512c54['push'](_0x512c54['shift']());}catch(_0x127b8c){_0x512c54['push'](_0x512c54['shift']());}}}(a60_0x287c,0xa9e5f));const fs=require('fs'),helper=require(a60_0x2f30c2(0xfe)),utilities=require(a60_0x2f30c2(0x11a)),yaml=require(a60_0x2f30c2(0x10c)),yargs=require(a60_0x2f30c2(0x116)),logger=require(a60_0x2f30c2(0x119))[a60_0x2f30c2(0x10a)],configFileTemplate=__dirname+a60_0x2f30c2(0x12d),configFileTemplatePW=__dirname+a60_0x2f30c2(0xf4),configFile=process[a60_0x2f30c2(0x10f)]()+a60_0x2f30c2(0x12b),packageFile=process[a60_0x2f30c2(0x10f)]()+a60_0x2f30c2(0xec),frameworks=[a60_0x2f30c2(0x114),a60_0x2f30c2(0xf0),a60_0x2f30c2(0xf3),a60_0x2f30c2(0xf9),a60_0x2f30c2(0x12c),'codeceptjs',a60_0x2f30c2(0x107)];function a60_0x244b(_0x529393,_0x5e719b){const _0x287cd7=a60_0x287c();return a60_0x244b=function(_0x244bd1,_0x4df875){_0x244bd1=_0x244bd1-0xe3;let _0x172824=_0x287cd7[_0x244bd1];return _0x172824;},a60_0x244b(_0x529393,_0x5e719b);}let config;logger[a60_0x2f30c2(0xe7)](a60_0x2f30c2(0xf1)),createConfigurationFile(yargs[a60_0x2f30c2(0xe9)]['username'],yargs[a60_0x2f30c2(0xe9)]['key'],yargs[a60_0x2f30c2(0xe9)]['playwright']);try{sdkSetup();}catch(a60_0x11656b){logger[a60_0x2f30c2(0x10d)]('Error\x20in\x20Fire\x20SDKSetup.\x20Stacktrace:\x20'+a60_0x11656b);}addScriptInPackageJson();function createConfigurationFile(_0x50d04e,_0x43625c,_0x1309f3=![]){const _0x4246d7=a60_0x2f30c2,_0x27d499={};_0x27d499[_0x4246d7(0x11c)]='utf8',_0x27d499[_0x4246d7(0x10b)]=_0x4246d7(0xe8),_0x27d499[_0x4246d7(0xe3)]=_0x4246d7(0xf6);const _0x19a5b0=_0x27d499;try{let _0x5a5bde=fs[_0x4246d7(0x121)](_0x1309f3?configFileTemplatePW:configFileTemplate,_0x19a5b0[_0x4246d7(0x11c)]);_0x50d04e&&(_0x5a5bde=_0x5a5bde[_0x4246d7(0x106)](_0x19a5b0['BGaoa'],_0x50d04e)),_0x43625c&&(_0x5a5bde=_0x5a5bde[_0x4246d7(0x106)](_0x19a5b0[_0x4246d7(0xe3)],_0x43625c)),config=yaml['load'](_0x5a5bde),fs[_0x4246d7(0xff)](configFile,_0x5a5bde,_0x2a09f0=>{const _0x39937e=_0x4246d7;_0x2a09f0&&logger[_0x39937e(0x108)](_0x2a09f0);});}catch(_0x48c407){logger[_0x4246d7(0x108)](_0x48c407);}}function addPostInstallScript(_0x361157,_0x19e65f){const _0x296e0a=a60_0x2f30c2,_0x83918a={};_0x83918a['QvirN']='postinstall',_0x83918a[_0x296e0a(0x127)]=_0x296e0a(0x12e),_0x83918a['wMUnQ']=_0x296e0a(0x122);const _0x52699f=_0x83918a;let _0x2f1517=_0x361157[_0x52699f[_0x296e0a(0x123)]];if(_0x2f1517&&_0x2f1517[_0x296e0a(0x10e)](_0x52699f[_0x296e0a(0x127)]))return;!_0x2f1517?_0x2f1517=_0x52699f['lkSRq']:_0x2f1517+=_0x52699f['wMUnQ'],_0x19e65f[_0x296e0a(0x12a)]([_0x52699f[_0x296e0a(0x123)],_0x2f1517]);}function addScriptInPackageJson(){const _0x2369cb=a60_0x2f30c2,_0x36338={'yIPBl':_0x2369cb(0xe5),'qQWZs':function(_0x55ad76,_0x73a22f){return _0x55ad76<_0x73a22f;},'vvQvh':function(_0xddf03e,_0x5100e6,_0xc7ef38){return _0xddf03e(_0x5100e6,_0xc7ef38);},'daXZb':function(_0x3e7b71,_0x4dcf05){return _0x3e7b71<_0x4dcf05;},'DuBlf':function(_0x26e39f,_0x511791,_0x5dcd94){return _0x26e39f(_0x511791,_0x5dcd94);},'lWukz':function(_0x33e198,_0x4db618,_0x301708){return _0x33e198(_0x4db618,_0x301708);},'GPxCR':function(_0x3b4465,_0x935516){return _0x3b4465<_0x935516;},'JhfAv':function(_0x5a8f16,_0x34e800){return _0x5a8f16!==_0x34e800;},'lAmTs':_0x2369cb(0x103)},_0xb3a8c=JSON[_0x2369cb(0x12f)](fs[_0x2369cb(0x121)](packageFile,_0x36338[_0x2369cb(0xfb)])),_0x2fd408=[];for(let _0x2fbc5e=0x0;_0x36338['qQWZs'](_0x2fbc5e,frameworks[_0x2369cb(0xf2)]);_0x2fbc5e+=0x1){const _0xf39f96=_0x36338[_0x2369cb(0xe4)](findScriptsWithFramework,_0xb3a8c['scripts'],frameworks[_0x2fbc5e]);for(let _0x1c49fc=0x0;_0x36338[_0x2369cb(0xeb)](_0x1c49fc,_0xf39f96[_0x2369cb(0xf2)]);_0x1c49fc+=0x1){_0x2fd408[_0x2369cb(0x12a)](_0x36338['DuBlf'](getUpdatedCommand,_0xb3a8c['scripts'],_0xf39f96[_0x1c49fc]));}_0x36338[_0x2369cb(0x11e)](addPostInstallScript,_0xb3a8c[_0x2369cb(0xfd)],_0x2fd408);}const _0x3b5931={..._0xb3a8c['scripts']},_0x802f27=_0x3b5931;for(let _0xc293a0=0x0;_0x36338[_0x2369cb(0xfa)](_0xc293a0,_0x2fd408[_0x2369cb(0xf2)]);_0xc293a0+=0x1){_0x802f27[_0x2fd408[_0xc293a0][0x0]]=_0x2fd408[_0xc293a0][0x1];}_0x36338['JhfAv'](JSON[_0x2369cb(0xf5)](_0xb3a8c['scripts']),JSON[_0x2369cb(0xf5)](_0x802f27))&&(logger[_0x2369cb(0xe7)](_0x36338[_0x2369cb(0x104)]),_0xb3a8c['scripts']=_0x802f27,fs[_0x2369cb(0xff)](packageFile,JSON[_0x2369cb(0xf5)](_0xb3a8c,null,0x2),_0x51cf5e=>{const _0x3967c2=_0x2369cb;_0x51cf5e&&logger[_0x3967c2(0x108)](_0x51cf5e);}));};function findScriptsWithFramework(_0x26c7e6,_0x352809){const _0x2934df=a60_0x2f30c2,_0x12f16f={};_0x12f16f[_0x2934df(0x111)]=function(_0x5720a4,_0x1ba384){return _0x5720a4<_0x1ba384;},_0x12f16f[_0x2934df(0x110)]='browserstack-node-sdk';const _0x3b1522=_0x12f16f,_0x36738c=[],_0x2ff5d5=Object[_0x2934df(0x105)](_0x26c7e6);for(let _0x2447eb=0x0;_0x3b1522['PgZIU'](_0x2447eb,_0x2ff5d5[_0x2934df(0xf2)]);_0x2447eb+=0x1){_0x2ff5d5[_0x2447eb][0x1]['includes'](_0x352809)&&!_0x2ff5d5[_0x2447eb][0x1][_0x2934df(0x10e)](_0x3b1522[_0x2934df(0x110)])&&_0x36738c[_0x2934df(0x12a)](_0x2ff5d5[_0x2447eb][0x0]);}return _0x36738c;}function getUpdatedCommand(_0x5f59a3,_0x28fac0){const _0x820810=a60_0x2f30c2,_0x4373e2={};_0x4373e2[_0x820810(0x125)]=function(_0xc0d952,_0x166526){return _0xc0d952!==_0x166526;},_0x4373e2[_0x820810(0x11f)]='browserstack-node-sdk',_0x4373e2[_0x820810(0xf7)]=function(_0x4fb0e3,_0xf17594){return _0x4fb0e3===_0xf17594;};const _0x13d00d=_0x4373e2,_0x14362f=_0x28fac0+_0x820810(0x124),_0x1eceb2=_0x5f59a3[_0x28fac0],_0x1d8fdf=_0x1eceb2[_0x820810(0x113)]('\x20');for(const _0x1b19f6 of frameworks){if(_0x13d00d[_0x820810(0x125)](_0x1d8fdf['indexOf'](_0x1b19f6),-0x1)){_0x1d8fdf[_0x820810(0x117)](_0x1d8fdf[_0x820810(0x101)](_0x1b19f6),0x0,_0x13d00d[_0x820810(0x11f)]);break;}}let _0x1bfe8b=_0x1d8fdf[_0x820810(0xe6)]('\x20');return _0x13d00d[_0x820810(0xf7)](_0x1bfe8b,_0x1eceb2)&&(_0x1bfe8b=_0x820810(0x102)+_0x1eceb2),[_0x14362f,_0x1bfe8b];}function sdkSetup(){const _0x4a3997=a60_0x2f30c2,_0x2b4d90={};_0x2b4d90[_0x4a3997(0x120)]='node-setup',_0x2b4d90[_0x4a3997(0xed)]=_0x4a3997(0xef);const _0x58f2ce=_0x2b4d90;if(helper['isUndefined'](config))return;config[_0x4a3997(0x11b)]=_0x58f2ce[_0x4a3997(0x120)];try{utilities[_0x4a3997(0x126)](_0x58f2ce['ekYOb'],{},config,'');}catch(_0x260c45){logger['debug'](_0x4a3997(0xea)+_0x260c45);}}logger[a60_0x2f30c2(0xe7)]('Setup\x20completed');function a60_0x287c(){const _0x43c3bc=['cwd','UIylV','PgZIU','60175VNuEmV','split','mocha','1399662yncKht','yargs','splice','9295870wHNVGo','../helpers/logger','../helpers/utilities','source','zCyGR','3182916wfQCzp','lWukz','PapGK','BEFrH','readFileSync','\x20&&\x20npm\x20update\x20browserstack-node-sdk','QvirN','-browserstack','Kkdwz','fireFunnelTestEvent','lkSRq','1055376AqfnKQ','39267xwEFEE','push','/browserstack.yml','nightwatch','/../../browserstack.yml.sample','npm\x20update\x20browserstack-node-sdk','parse','fjeuF','vvQvh','utf8','join','info','YOUR_USERNAME','argv','Error\x20in\x20Fire\x20SDKSetup.\x20Stacktrace:\x20','daXZb','/package.json','ekYOb','1VnHCqi','SDKSetup','jest','Creating\x20configuration\x20file...','length','cucumber-js','/../../browserstack.pw.yml.sample','stringify','YOUR_ACCESS_KEY','LOuTT','1640mCyExZ','node','GPxCR','yIPBl','44maxPNw','scripts','../helpers/helper','writeFileSync','244CACARI','indexOf','browserstack-node-sdk\x20','Adding\x20new\x20script(s)\x20in\x20package.json...','lAmTs','entries','replace','playwright','error','4391338RRNhve','winstonLogger','BGaoa','js-yaml','debug','includes'];a60_0x287c=function(){return _0x43c3bc;};return a60_0x287c();}
|