browserstack-node-sdk 1.32.8 → 1.32.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/templates/autoscaler/deployment.yaml +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/createk8sClient.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +5 -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.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 +2 -0
- package/src/bin/integrations/constants.js +1 -0
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/builderPatch.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance-tester.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const a3_0x3cc918=a3_0x5d99;function a3_0x5d99(_0x3aee11,_0x3673fa){const _0x1cae97=a3_0x1cae();return a3_0x5d99=function(_0x5d992f,_0x1cae25){_0x5d992f=_0x5d992f-0x17b;let _0x20a0a5=_0x1cae97[_0x5d992f];return _0x20a0a5;},a3_0x5d99(_0x3aee11,_0x3673fa);}(function(_0x455f7a,_0x9bb806){const _0x3c4578=a3_0x5d99,_0x4ae77f=_0x455f7a();while(!![]){try{const _0x9a5e01=parseInt(_0x3c4578(0x188))/0x1+-parseInt(_0x3c4578(0x1d2))/0x2*(parseInt(_0x3c4578(0x1a6))/0x3)+parseInt(_0x3c4578(0x182))/0x4+-parseInt(_0x3c4578(0x1c9))/0x5*(-parseInt(_0x3c4578(0x187))/0x6)+parseInt(_0x3c4578(0x257))/0x7*(parseInt(_0x3c4578(0x22c))/0x8)+parseInt(_0x3c4578(0x1cb))/0x9*(parseInt(_0x3c4578(0x200))/0xa)+-parseInt(_0x3c4578(0x235))/0xb;if(_0x9a5e01===_0x9bb806)break;else _0x4ae77f['push'](_0x4ae77f['shift']());}catch(_0x13307b){_0x4ae77f['push'](_0x4ae77f['shift']());}}}(a3_0x1cae,0xab8a0));const path=require(a3_0x3cc918(0x1b9)),fs=require('fs'),{v4:uuidv4}=require(a3_0x3cc918(0x25a)),{importFileFromPWCore,nestedKeyValue,parseWSEndpoint}=require('../../helpers/helper'),testOpsHelper=require(a3_0x3cc918(0x229)),{getTestEnv}=require(a3_0x3cc918(0x24f)),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),logger=require(a3_0x3cc918(0x1f2))[a3_0x3cc918(0x1cc)],SessionHandler=require(a3_0x3cc918(0x1ed)),RequestQueueHandler=require(a3_0x3cc918(0x1d4)),PlaywrightSessionDetails=require('../playwright/sessionDetails'),debug=testOpsHelper[a3_0x3cc918(0x1b6)],{processAccessibilityCaps}=require(a3_0x3cc918(0x1f7)),Constants=require('../utils/constants'),{fetchPlatformDetails}=require(a3_0x3cc918(0x1c8)),STATE_PASSED=a3_0x3cc918(0x1ef),STATE_FAILED=a3_0x3cc918(0x23c),a3_0x4dafe6={};a3_0x4dafe6[a3_0x3cc918(0x1ac)]='TestRunStarted',a3_0x4dafe6[a3_0x3cc918(0x232)]=a3_0x3cc918(0x1b8),a3_0x4dafe6[a3_0x3cc918(0x1b1)]='TestRunSkipped',a3_0x4dafe6[a3_0x3cc918(0x1ca)]=a3_0x3cc918(0x226),a3_0x4dafe6[a3_0x3cc918(0x214)]=a3_0x3cc918(0x1be);const TEST_EVENTS=a3_0x4dafe6,parseEvent=_0x1a4a0d=>{const _0x4df788=a3_0x3cc918,_0x50d44e={};_0x50d44e[_0x4df788(0x1af)]=function(_0x2c6b2c,_0x4b0f12){return _0x2c6b2c<_0x4b0f12;},_0x50d44e[_0x4df788(0x194)]=function(_0xd76602,_0x2e4192){return _0xd76602===_0x2e4192;},_0x50d44e[_0x4df788(0x264)]=_0x4df788(0x225),_0x50d44e[_0x4df788(0x1eb)]=function(_0x46c5f6,_0x4872b5){return _0x46c5f6===_0x4872b5;},_0x50d44e[_0x4df788(0x25d)]=_0x4df788(0x195),_0x50d44e[_0x4df788(0x18a)]=_0x4df788(0x1d8),_0x50d44e[_0x4df788(0x204)]=function(_0x1a138c,_0x5792d5){return _0x1a138c===_0x5792d5;},_0x50d44e['vsQXf']=_0x4df788(0x1bf),_0x50d44e['TISxA']=function(_0x59409a,_0xb6531e){return _0x59409a===_0xb6531e;},_0x50d44e[_0x4df788(0x19b)]=_0x4df788(0x1dd);const _0x12c042=_0x50d44e,_0xcb4a9f=_0x1a4a0d['match'](/^(.*)Run(.*)$/);if(!_0xcb4a9f)return null;if(_0x12c042['XCbtU'](_0xcb4a9f[_0x4df788(0x1bc)],0x3))return null;const _0x438d6b=_0xcb4a9f[0x1][_0x4df788(0x1c0)](),_0x484d92=_0xcb4a9f[0x2][_0x4df788(0x1c0)]();return{'test':_0x12c042[_0x4df788(0x194)](_0x438d6b,_0x12c042[_0x4df788(0x264)]),'hook':_0x12c042[_0x4df788(0x1eb)](_0x438d6b,_0x12c042[_0x4df788(0x25d)]),'skipped':_0x12c042['zKWMk'](_0x484d92,_0x12c042['ndpsS']),'started':_0x12c042['tmQsJ'](_0x484d92,_0x12c042[_0x4df788(0x185)]),'finished':_0x12c042[_0x4df788(0x1c4)](_0x484d92,_0x12c042[_0x4df788(0x19b)])};},mockPWBrowserType=_0x25eb0e=>{const _0x2749a4=a3_0x3cc918,_0x139b4f={'PTnDZ':function(_0x370846,_0x4b37c6,_0x572ec0){return _0x370846(_0x4b37c6,_0x572ec0);},'mHEVk':_0x2749a4(0x1d9),'wajne':function(_0x43fa70,_0x3fb541){return _0x43fa70(_0x3fb541);},'BONcC':_0x2749a4(0x22d),'ygnlh':function(_0x33becd,_0x4b2be1){return _0x33becd(_0x4b2be1);},'fHAJv':function(_0x321616,_0x371680){return _0x321616===_0x371680;},'GXIgG':_0x2749a4(0x202),'lUNsY':_0x2749a4(0x1b3),'nxJJr':_0x2749a4(0x239),'yKgso':_0x2749a4(0x259),'JIIoR':_0x2749a4(0x24a),'ypqan':_0x2749a4(0x242),'IPcuU':_0x2749a4(0x1c2)},_0x29e5cb=path[_0x2749a4(0x1de)](_0x139b4f[_0x2749a4(0x20e)],_0x139b4f[_0x2749a4(0x206)],_0x139b4f[_0x2749a4(0x216)]),_0x557953=_0x139b4f['ygnlh'](importFileFromPWCore,_0x29e5cb);if(!_0x557953){_0x139b4f['ygnlh'](debug,_0x139b4f['JIIoR']);return;}const _0x346f6c=_0x557953[_0x2749a4(0x18c)],_0x403bd3=_0x346f6c['prototype'];if(_0x403bd3['obsBrowserTypeMockApplied'])return;const _0x2ab465=_0x403bd3[_0x2749a4(0x242)];Object['defineProperty'](_0x403bd3,_0x139b4f['ypqan'],{'get':function(){const _0x251b4f={'Ptlti':function(_0x2114f0,_0x3cc650){const _0xdfe8f7=a3_0x5d99;return _0x139b4f[_0xdfe8f7(0x217)](_0x2114f0,_0x3cc650);},'ZEGdR':_0x139b4f['GXIgG']};return async function _0x1938ae(_0x276b71,_0x3e77e8){const _0x39a5d3=a3_0x5d99,_0x292635=_0x139b4f[_0x39a5d3(0x236)](nestedKeyValue,_0x276b71,[_0x139b4f['mHEVk']])||_0x276b71;let _0xda0bc5=null,_0x5590d1=null;try{[_0x5590d1,_0xda0bc5]=_0x292635?_0x139b4f[_0x39a5d3(0x24c)](parseWSEndpoint,_0x292635):[null,null],global[_0x39a5d3(0x262)]=_0xda0bc5,_0x5590d1[_0x39a5d3(0x23e)](_0x139b4f['BONcC'])&&(global[_0x39a5d3(0x227)]=_0x139b4f['BONcC']);}catch(_0x12104a){logger['debug']('Failed\x20to\x20parse\x20wsendpoint\x20'+_0x292635+'\x20'+_0x12104a);}_0x139b4f['PTnDZ'](processAccessibilityCaps,_0xda0bc5,_0x5590d1);if(global[_0x39a5d3(0x1c7)]){const _0x268d5a=await _0x403bd3[_0x39a5d3(0x248)][_0x39a5d3(0x1fd)](this,[''+Constants[_0x39a5d3(0x210)]+_0x139b4f['ygnlh'](encodeURIComponent,JSON['stringify'](_0xda0bc5))]);return PlaywrightSessionDetails[_0x39a5d3(0x1f0)](_0x268d5a,_0x25eb0e,_0x292635),_0x268d5a;}return _0x2ab465[_0x39a5d3(0x1fd)](this,arguments)[_0x39a5d3(0x209)](_0x44bd57=>{const _0x559ac1=_0x39a5d3;let _0x2bc9b4=_0x276b71[_0x559ac1(0x1d9)];return _0x251b4f[_0x559ac1(0x1da)](typeof _0x276b71,_0x251b4f[_0x559ac1(0x18e)])&&(_0x2bc9b4=_0x276b71),PlaywrightSessionDetails[_0x559ac1(0x1f0)](_0x44bd57,_0x25eb0e,_0x2bc9b4),_0x44bd57;});};}});const _0x1f8cc4=_0x403bd3[_0x2749a4(0x1c2)];Object[_0x2749a4(0x1ee)](_0x403bd3,_0x139b4f[_0x2749a4(0x1f4)],{'get':function(){return async function _0x15f09f(){const _0x156d19=a3_0x5d99;return _0x1f8cc4[_0x156d19(0x1fd)](this,arguments)[_0x156d19(0x209)](_0x5445b1=>{return PlaywrightSessionDetails['setupBrowserDetails'](_0x5445b1,null),_0x5445b1;});};}});};class O11yHelper{[a3_0x3cc918(0x255)]=null;[a3_0x3cc918(0x21b)]=null;[a3_0x3cc918(0x243)]=![];[a3_0x3cc918(0x230)]=![];constructor(_0x58efb6,_0x2285f8){const _0x4ca26c=a3_0x3cc918,_0x130e93={'hbkiB':_0x4ca26c(0x1e2),'gAeVC':function(_0x58f2ea){return _0x58f2ea();},'pHPxc':function(_0x4786ad,_0x2aae62){return _0x4786ad===_0x2aae62;},'rPEXr':'Playwright','sLhhv':function(_0x15cd22,_0x254c2d){return _0x15cd22(_0x254c2d);}},_0x2e4a00=_0x130e93[_0x4ca26c(0x1aa)]['split']('|');let _0x93c69b=0x0;while(!![]){switch(_0x2e4a00[_0x93c69b++]){case'0':this['_testEnv']=_0x130e93[_0x4ca26c(0x22b)](getTestEnv);continue;case'1':this[_0x4ca26c(0x181)]=_0x58efb6;continue;case'2':this['enabled']=_0x2285f8['testObservability'];continue;case'3':this['_paths']=new testOpsHelper[(_0x4ca26c(0x1ad))]({'cwd':process[_0x4ca26c(0x196)]()},this[_0x4ca26c(0x1bd)][_0x4ca26c(0x1f6)]);continue;case'4':this[_0x4ca26c(0x230)]=_0x2285f8[_0x4ca26c(0x230)];continue;case'5':this[_0x4ca26c(0x181)]&&_0x130e93[_0x4ca26c(0x234)](this['driver'][_0x4ca26c(0x249)][_0x4ca26c(0x1f5)],_0x130e93[_0x4ca26c(0x1d3)])&&_0x130e93[_0x4ca26c(0x1fb)](mockPWBrowserType,null);continue;}break;}}[a3_0x3cc918(0x25e)](){const _0x5dc63f=a3_0x3cc918;if(!this[_0x5dc63f(0x243)])return;testOpsHelper[_0x5dc63f(0x203)](),process[_0x5dc63f(0x180)](_0x5dc63f(0x1ec)+process[_0x5dc63f(0x1c5)]),process['on'](_0x5dc63f(0x1ec)+process[_0x5dc63f(0x1c5)],this[_0x5dc63f(0x1c1)]['bind'](this));}async['stop'](){const _0x172e57=a3_0x3cc918;await RequestQueueHandler[_0x172e57(0x220)]()[_0x172e57(0x17b)]();}async[a3_0x3cc918(0x1c1)](_0x5327e6){const _0x3b1a97=a3_0x3cc918,_0x1cbd6e={'aolZw':_0x3b1a97(0x1c6),'POfMt':function(_0x487c88,_0x54d77){return _0x487c88(_0x54d77);}};try{this[_0x3b1a97(0x21b)]&&!this[_0x3b1a97(0x21b)][_0x3b1a97(0x1e5)]&&(_0x5327e6[_0x3b1a97(0x25b)]=this['currentHook'][_0x3b1a97(0x246)]);!_0x5327e6[_0x3b1a97(0x25b)]&&this['currentTest']&&!this[_0x3b1a97(0x255)]['markedStatus']&&(_0x5327e6[_0x3b1a97(0x21c)]=this[_0x3b1a97(0x255)][_0x3b1a97(0x213)]);if(_0x5327e6['hook_run_uuid']||_0x5327e6[_0x3b1a97(0x21c)]){const _0x5401bd={};_0x5401bd[_0x3b1a97(0x23f)]=_0x1cbd6e[_0x3b1a97(0x1b4)],_0x5401bd[_0x3b1a97(0x1d1)]=[_0x5327e6],await SessionHandler[_0x3b1a97(0x1a1)](_0x5401bd);}}catch(_0x1714ec){_0x1cbd6e[_0x3b1a97(0x19c)](debug,_0x3b1a97(0x18b)+_0x1714ec);}}async['sendCBTInfo'](_0x36bc42){const _0x52796=a3_0x3cc918,_0x2bb8c8={'WtvPW':_0x52796(0x261),'tqskf':function(_0x313363,_0x5503c8){return _0x313363(_0x5503c8);}};if(!this[_0x52796(0x243)])return;const _0x594d87=this[_0x52796(0x218)](this[_0x52796(0x181)]);try{const _0x153a17={};_0x153a17[_0x52796(0x25a)]=_0x36bc42,_0x153a17['integrations']=_0x594d87;const _0x549edf=_0x153a17,_0x10114a={};_0x10114a[_0x52796(0x23f)]=_0x2bb8c8[_0x52796(0x1dc)],_0x10114a[_0x52796(0x1d7)]=_0x549edf,await SessionHandler[_0x52796(0x1a1)](_0x10114a);}catch(_0x3d710e){_0x2bb8c8[_0x52796(0x1ff)](debug,_0x52796(0x22a)+_0x3d710e);}}[a3_0x3cc918(0x218)](_0x44dc27){const _0x44693c={'aUMqK':function(_0x226bde,_0x4771e5){return _0x226bde(_0x4771e5);}};return _0x44693c['aUMqK'](fetchPlatformDetails,_0x44dc27);}[a3_0x3cc918(0x1e3)]=_0x8ab09a=>{const _0x4c4abe=a3_0x3cc918,_0x505ab1={};_0x505ab1['DHOWJ']='_beforeEach',_0x505ab1[_0x4c4abe(0x23a)]='_afterEach';const _0x2111fe=_0x505ab1;if(!_0x8ab09a||!_0x8ab09a[_0x4c4abe(0x1e8)])return;[_0x2111fe[_0x4c4abe(0x1e7)],_0x2111fe['vXVcd']][_0x4c4abe(0x1a7)](_0x4d70a5=>{const _0x5486f0=_0x4c4abe,_0xf4dd8f=_0x8ab09a[_0x5486f0(0x1e8)][_0x4d70a5];_0xf4dd8f[_0x5486f0(0x1a7)](_0x3980c8=>{const _0x1c51a1=_0x5486f0;_0x3980c8[_0x1c51a1(0x246)]&&(_0x3980c8[_0x1c51a1(0x246)]=null);});});};[a3_0x3cc918(0x183)](_0x4a57b1){const _0x3d9c6b=a3_0x3cc918,_0x2b6062={'mxoTi':_0x3d9c6b(0x197),'kkVcb':function(_0x1cada5){return _0x1cada5();},'bDqnf':function(_0x1d5203,_0x32c3bd){return _0x1d5203===_0x32c3bd;},'SbbgA':_0x3d9c6b(0x238),'DNJWa':_0x3d9c6b(0x1d0),'fQRYY':'_afterAll','ILKmw':_0x3d9c6b(0x1e1)};if(!_0x4a57b1||!_0x4a57b1[_0x3d9c6b(0x1e8)])return;[_0x2b6062['DNJWa'],_0x2b6062[_0x3d9c6b(0x190)],_0x2b6062[_0x3d9c6b(0x1f3)],_0x2b6062[_0x3d9c6b(0x1b2)]][_0x3d9c6b(0x1a7)](_0x1190b9=>{const _0x2c3830=_0x3d9c6b,_0x380de4=_0x4a57b1[_0x2c3830(0x1e8)][_0x1190b9]||[];_0x380de4['forEach'](_0x1fe924=>{const _0x4cd009=_0x2c3830;if(_0x1fe924['title'][_0x4cd009(0x23e)](_0x2b6062[_0x4cd009(0x266)]))return;if(!_0x1fe924[_0x4cd009(0x246)])_0x1fe924['hookAnalyticsId']=_0x2b6062['kkVcb'](uuidv4);else _0x1fe924[_0x4cd009(0x1e5)]&&_0x2b6062[_0x4cd009(0x20c)](_0x1190b9,_0x2b6062[_0x4cd009(0x1b2)])&&(_0x1fe924[_0x4cd009(0x246)]=_0x2b6062[_0x4cd009(0x18f)](uuidv4),delete _0x1fe924[_0x4cd009(0x1e5)]);});}),this['mapTestHooks'](_0x4a57b1[_0x3d9c6b(0x1e8)]);}['getHooksForTest'](_0x4ef419){const _0x12605f=a3_0x3cc918,_0x19a095={};_0x19a095[_0x12605f(0x224)]=_0x12605f(0x1d0),_0x19a095[_0x12605f(0x20b)]=_0x12605f(0x247),_0x19a095[_0x12605f(0x1b5)]='_beforeEach',_0x19a095[_0x12605f(0x21f)]=_0x12605f(0x238);const _0x481879=_0x19a095;if(!_0x4ef419||!_0x4ef419['parent'])return[];const _0x3ba4e4=[];return[_0x481879[_0x12605f(0x224)],_0x481879[_0x12605f(0x20b)],_0x481879[_0x12605f(0x1b5)],_0x481879[_0x12605f(0x21f)]][_0x12605f(0x1a7)](_0x367459=>{const _0x54eb64=_0x12605f,_0x23c493=_0x4ef419[_0x54eb64(0x1e8)][_0x367459]||[];_0x23c493[_0x54eb64(0x1a7)](_0x4d6eeb=>{const _0xcafb6c=_0x54eb64;_0x4d6eeb[_0xcafb6c(0x246)]&&_0x3ba4e4[_0xcafb6c(0x1f8)](_0x4d6eeb[_0xcafb6c(0x246)]);});}),[][_0x12605f(0x24d)](_0x3ba4e4,this[_0x12605f(0x221)](_0x4ef419[_0x12605f(0x1e8)]));}[a3_0x3cc918(0x219)](_0x507d01){const _0x1db5f7=a3_0x3cc918,_0x2898f4=/^"(?<hook>.*)" hook:.*$/,_0x47a52d=_0x507d01[_0x1db5f7(0x17d)],_0x24fb29=_0x47a52d['match'](_0x2898f4);if(_0x24fb29&&_0x24fb29['groups'])return _0x24fb29[_0x1db5f7(0x215)]['hook'][_0x1db5f7(0x1a9)]()[_0x1db5f7(0x191)]('\x20','_');return null;}[a3_0x3cc918(0x1e6)](_0x137e0c){const _0x114b39=a3_0x3cc918,_0x5273c4={};_0x5273c4[_0x114b39(0x1f1)]=function(_0x5860f9,_0x4ba091){return _0x5860f9===_0x4ba091;},_0x5273c4[_0x114b39(0x19d)]=function(_0x127097,_0x1ab834){return _0x127097===_0x1ab834;},_0x5273c4[_0x114b39(0x1d6)]='.git',_0x5273c4[_0x114b39(0x250)]='config';const _0x1b5f35=_0x5273c4,_0x1fd141=path[_0x114b39(0x256)];if(_0x1b5f35[_0x114b39(0x1f1)](_0x137e0c,null)||_0x1b5f35[_0x114b39(0x1f1)](_0x137e0c,'')||_0x1b5f35['IqeON'](_0x137e0c,_0x1fd141))return null;try{return fs['statSync'](path[_0x114b39(0x1de)](_0x137e0c,_0x1b5f35[_0x114b39(0x1d6)],_0x1b5f35[_0x114b39(0x250)])),_0x137e0c;}catch(_0x48b3a6){const _0x17ee9a=path[_0x114b39(0x17c)](_0x137e0c);return this[_0x114b39(0x1e6)](_0x17ee9a);}}[a3_0x3cc918(0x1cf)](_0x5d0fac){const _0x515642=a3_0x3cc918,_0x268c91={};_0x268c91[_0x515642(0x19e)]=function(_0x1f8d63,_0x220355){return _0x1f8d63>_0x220355;};const _0x3c213b=_0x268c91;if(_0x5d0fac[_0x515642(0x228)])return _0x5d0fac[_0x515642(0x228)];if(_0x5d0fac['ctx']){const _0x459e35=_0x5d0fac[_0x515642(0x20f)]['currentTest']?this[_0x515642(0x1cf)](_0x5d0fac[_0x515642(0x20f)][_0x515642(0x255)]):null;if(_0x459e35)return _0x459e35;}if(_0x5d0fac[_0x515642(0x1e8)]){const _0x1f16fe=this['getRootParentFile'](_0x5d0fac[_0x515642(0x1e8)])||(_0x5d0fac['parent']['ctx']&&_0x5d0fac[_0x515642(0x1e8)]['ctx'][_0x515642(0x255)]?this['getRootParentFile'](_0x5d0fac[_0x515642(0x1e8)][_0x515642(0x20f)]['currentTest']):null);if(_0x1f16fe)return _0x1f16fe;_0x5d0fac[_0x515642(0x1e8)][_0x515642(0x23b)]&&_0x3c213b[_0x515642(0x19e)](_0x5d0fac[_0x515642(0x1e8)][_0x515642(0x23b)][_0x515642(0x1bc)],0x0)&&_0x5d0fac['parent']['suites'][_0x515642(0x1a7)](_0x19aa86=>{const _0x180109=_0x515642,_0x4a8aa2=_0x19aa86[_0x180109(0x20f)]?this[_0x180109(0x1cf)](_0x19aa86[_0x180109(0x20f)]):null;if(_0x4a8aa2)return _0x4a8aa2;});}return null;}[a3_0x3cc918(0x25f)](_0x17eebc){const _0x2f6a20=a3_0x3cc918,_0x133c31={};_0x133c31[_0x2f6a20(0x240)]=function(_0x31112a,_0x390557){return _0x31112a!==_0x390557;};const _0x82c94c=_0x133c31,_0x35e686=[];if(_0x17eebc&&_0x17eebc['parent']){let _0x1c2f8c=_0x17eebc[_0x2f6a20(0x1e8)];while(_0x1c2f8c&&_0x82c94c[_0x2f6a20(0x240)](_0x1c2f8c['title'],'')){_0x35e686[_0x2f6a20(0x1f8)](_0x1c2f8c[_0x2f6a20(0x17d)]),_0x1c2f8c=_0x1c2f8c[_0x2f6a20(0x1e8)];}}return _0x35e686;}[a3_0x3cc918(0x20a)](_0x2af95e,_0x5e75b0,_0x21b816=undefined){const _0x2422b1=a3_0x3cc918,_0x502d90={'pCIKH':function(_0x364c30,_0xcaafb2){return _0x364c30(_0xcaafb2);},'pMPZM':function(_0x3db82b){return _0x3db82b();},'IzctI':function(_0x1fadfd){return _0x1fadfd();},'HMMPz':'util','kdxZz':_0x2422b1(0x263),'bGcfw':function(_0x2ecc69,_0x47cfc1){return _0x2ecc69!==_0x47cfc1;},'eTBic':function(_0x54b122,_0x4843f7){return _0x54b122!==_0x4843f7;},'hdUGh':_0x2422b1(0x184),'NIriR':_0x2422b1(0x21a),'sUjjO':_0x2422b1(0x23c),'bAGyN':_0x2422b1(0x1ef),'QMKbT':'skipped','HvKke':'javascript','vFgaB':function(_0x3c3489,_0x16d035){return _0x3c3489-_0x16d035;},'sdyTj':function(_0x3d3f76,_0x3752f2){return _0x3d3f76!==_0x3752f2;},'eesFI':_0x2422b1(0x1e0),'LjSfb':_0x2422b1(0x231),'uiZhN':_0x2422b1(0x260),'YBCAx':'failure_backtrace','NNKrY':'backtrace','HChKM':'failure_reason_expanded','CvIeB':_0x2422b1(0x1fa),'ddPcN':_0x2422b1(0x21d),'VcSmj':_0x2422b1(0x1d7)};if(!this[_0x2422b1(0x243)])return;try{if(_0x5e75b0['fn']&&_0x5e75b0['fn'][_0x2422b1(0x1a8)]()[_0x2422b1(0x1e9)](/browserstack internal helper hook/))return;const _0x5db109=_0x502d90[_0x2422b1(0x1ce)](parseEvent,_0x2af95e);if(!_0x5db109)return;if(_0x5db109['test']){this['currentTest']=_0x5e75b0,this['currentHook']=null;if(_0x5db109[_0x2422b1(0x1bf)]||_0x5db109[_0x2422b1(0x1d8)]){_0x5e75b0[_0x2422b1(0x252)]=new Date(),_0x5e75b0['markedStatus']=![];if(!_0x5e75b0[_0x2422b1(0x213)])_0x5e75b0['testAnalyticsId']=_0x502d90[_0x2422b1(0x24b)](uuidv4);else _0x5e75b0['markedStatus']&&(!_0x5e75b0[_0x2422b1(0x1a2)]&&(_0x5e75b0[_0x2422b1(0x1a2)]=_0x5e75b0[_0x2422b1(0x213)]),_0x5e75b0[_0x2422b1(0x213)]=_0x502d90['pMPZM'](uuidv4));}}else{if(_0x5db109[_0x2422b1(0x195)]){this[_0x2422b1(0x21b)]=_0x5e75b0;if(_0x5db109[_0x2422b1(0x1bf)]){_0x5e75b0[_0x2422b1(0x252)]=new Date(),_0x5e75b0['markedStatus']=![];if(!_0x5e75b0[_0x2422b1(0x246)])_0x5e75b0['hookAnalyticsId']=_0x502d90[_0x2422b1(0x19a)](uuidv4);else _0x5e75b0[_0x2422b1(0x246)]&&_0x5e75b0[_0x2422b1(0x1e5)]&&(_0x5e75b0[_0x2422b1(0x246)]=_0x502d90[_0x2422b1(0x24b)](uuidv4));}}}if(_0x5db109['finished']&&_0x5e75b0['markedStatus'])return;let _0x207859;try{_0x207859=this[_0x2422b1(0x1cf)](_0x5e75b0);}catch(_0x2c675e){logger[_0x2422b1(0x1b6)](_0x2422b1(0x212)+_0x2c675e),_0x207859=null;}const _0x770f92=_0x502d90['pCIKH'](require,_0x502d90[_0x2422b1(0x254)]);let _0x267088=[];_0x21b816&&(_0x267088=[_0x21b816,_0x502d90[_0x2422b1(0x192)]]);const _0x39a1c0=_0x502d90['bGcfw'](_0x5e75b0[_0x2422b1(0x1fc)],undefined)?_0x770f92[_0x2422b1(0x1ab)](_0x5e75b0[_0x2422b1(0x1fc)][0x0]):_0x502d90['eTBic'](_0x21b816,undefined)?_0x21b816[_0x2422b1(0x1a8)]():undefined,_0x4a1ed9=_0x207859?this['findGitConfig'](_0x207859):null,_0x249dd7=_0x207859?this['_paths'][_0x2422b1(0x1a3)](this['getRootParentFile'](_0x5e75b0)):_0x502d90[_0x2422b1(0x265)];let _0x4e187f=_0x502d90[_0x2422b1(0x25c)];const _0x339b0f=!_0x5db109[_0x2422b1(0x1bf)]?new Date()['toISOString']():null;if(_0x5db109[_0x2422b1(0x1dd)])_0x4e187f=_0x21b816?_0x502d90['sUjjO']:_0x502d90[_0x2422b1(0x237)],_0x5e75b0['markedStatus']=!![];else _0x5db109[_0x2422b1(0x1d8)]&&(_0x4e187f=_0x502d90[_0x2422b1(0x208)],_0x5e75b0[_0x2422b1(0x1e5)]=!![]);const _0x2147f7={'framework':this[_0x2422b1(0x230)],'uuid':_0x5e75b0[_0x2422b1(0x213)]||_0x5e75b0['hookAnalyticsId'],'name':_0x5e75b0[_0x2422b1(0x17d)],'body':{'lang':_0x502d90['HvKke'],'code':_0x5e75b0[_0x2422b1(0x1d5)]['toString']()},'type':_0x5e75b0[_0x2422b1(0x251)],'scope':_0x5e75b0[_0x2422b1(0x1b0)](),'scopes':this[_0x2422b1(0x25f)](_0x5e75b0),'file_name':_0x249dd7,'vc_filepath':_0x4a1ed9?path[_0x2422b1(0x223)](_0x4a1ed9,_0x207859):null,'location':_0x249dd7,'result':_0x4e187f,'failure_reason':_0x39a1c0,'duration_in_ms':_0x5e75b0[_0x2422b1(0x17f)]||(_0x5db109[_0x2422b1(0x1dd)]||_0x5db109['skipped'])?_0x502d90[_0x2422b1(0x207)](Date[_0x2422b1(0x1fe)](),new Date(_0x5e75b0[_0x2422b1(0x252)])['getTime']()):null,'started_at':new Date(_0x5e75b0[_0x2422b1(0x252)])[_0x2422b1(0x22e)](),'finished_at':_0x339b0f,'failure':testOpsHelper[_0x2422b1(0x222)][_0x2422b1(0x1fd)](null,_0x267088),'failure_type':!_0x39a1c0?null:testOpsHelper[_0x2422b1(0x1ae)](_0x39a1c0),'retry_of':_0x5e75b0[_0x2422b1(0x1a2)]||null,'tags':_0x5e75b0[_0x2422b1(0x198)]||[],'customRerunParam':{'rerun_name':_0x5e75b0[_0x2422b1(0x1b0)]()}};if(_0x5db109[_0x2422b1(0x195)])[_0x2147f7[_0x2422b1(0x205)],_0x2147f7['name']]=[this[_0x2422b1(0x219)](_0x5e75b0),_0x5e75b0['ctx'][_0x2422b1(0x225)][_0x2422b1(0x17d)]],_0x5db109['finished']?_0x502d90[_0x2422b1(0x1df)](_0x2147f7['result'],_0x502d90['sUjjO'])&&(_0x2147f7[_0x2422b1(0x245)]=_0x502d90[_0x2422b1(0x237)]):_0x2147f7[_0x2422b1(0x1d5)]={};else _0x5db109[_0x2422b1(0x225)]&&(this[_0x2422b1(0x183)](_0x5e75b0),_0x5db109[_0x2422b1(0x1d8)]&&this[_0x2422b1(0x1e3)](_0x5e75b0),(_0x5db109[_0x2422b1(0x1dd)]||_0x5db109['skipped'])&&(_0x2147f7[_0x2422b1(0x20d)]=this[_0x2422b1(0x221)](_0x5e75b0)));this['driver']&&(_0x5db109[_0x2422b1(0x1bf)]||_0x5db109[_0x2422b1(0x1d8)])&&(_0x2147f7[_0x502d90[_0x2422b1(0x244)]]=this[_0x2422b1(0x218)](this[_0x2422b1(0x181)]));_0x5db109['test']&&_0x5db109[_0x2422b1(0x1dd)]&&_0x5e75b0[_0x2422b1(0x22f)]&&(_0x2147f7[_0x502d90[_0x2422b1(0x18d)]]={'feature':{'name':_0x5e75b0[_0x2422b1(0x1e8)]['feature'][_0x2422b1(0x1f5)],'path':_0x2147f7['file_name'],'description':_0x5e75b0[_0x2422b1(0x1e8)][_0x2422b1(0x17e)]},'scenario':{'name':_0x5e75b0[_0x2422b1(0x17d)]},'steps':_0x5e75b0[_0x2422b1(0x22f)]});const _0x3c40cb=_0x2147f7[_0x502d90[_0x2422b1(0x1db)]][0x0];_0x3c40cb&&(_0x2147f7[_0x502d90['YBCAx']]=_0x3c40cb[_0x502d90[_0x2422b1(0x253)]],_0x2147f7[_0x502d90[_0x2422b1(0x1f9)]]=_0x3c40cb[_0x502d90[_0x2422b1(0x1cd)]]);const _0x5863c0={};_0x5863c0[_0x2422b1(0x23f)]=_0x5db109[_0x2422b1(0x1d8)]?TEST_EVENTS[_0x2422b1(0x232)]:_0x2af95e;const _0xe59284=_0x5863c0;return _0x5db109[_0x2422b1(0x195)]?_0xe59284[_0x502d90['ddPcN']]=_0x2147f7:_0xe59284[_0x502d90['VcSmj']]=_0x2147f7,_0xe59284;}catch(_0x38de9c){logger['debug'](_0x2422b1(0x1ea)+_0x2af95e+_0x2422b1(0x1b7)+_0x38de9c);}}async[a3_0x3cc918(0x189)](_0x206773,_0x29cbd6){const _0x19a328=a3_0x3cc918;if(!this[_0x19a328(0x243)]||!_0x29cbd6||!_0x206773)return![];try{return await SessionHandler[_0x19a328(0x1a1)](_0x29cbd6);}catch(_0xe7d7f){logger[_0x19a328(0x1b6)](_0x19a328(0x21e)+_0x206773+'\x20with\x20error\x20:\x20'+_0xe7d7f);}}[a3_0x3cc918(0x233)](_0x2c3cb1){const _0x3528db=a3_0x3cc918,_0x42651d={'iGTMY':function(_0xb2219b){return _0xb2219b();}};!_0x2c3cb1['stepAnalyticsId']&&(_0x2c3cb1[_0x3528db(0x199)]=_0x42651d[_0x3528db(0x1bb)](uuidv4),_0x2c3cb1[_0x3528db(0x252)]=new Date());}[a3_0x3cc918(0x23d)](_0x58a6f4){const _0x400443=a3_0x3cc918,_0x1f03b5={};_0x1f03b5['mwpff']=function(_0x50ead,_0x4953f7){return _0x50ead===_0x4953f7;},_0x1f03b5[_0x400443(0x1e4)]=_0x400443(0x19f),_0x1f03b5[_0x400443(0x1a4)]=_0x400443(0x1ef),_0x1f03b5[_0x400443(0x1c3)]=function(_0x5bfe1d,_0x2a5988){return _0x5bfe1d-_0x2a5988;};const _0x3bc465=_0x1f03b5;!this[_0x400443(0x255)][_0x400443(0x22f)]&&(this['currentTest'][_0x400443(0x22f)]=[]),this[_0x400443(0x255)]['bddSteps'][_0x400443(0x1f8)]({'id':_0x58a6f4[_0x400443(0x199)],'text':_0x58a6f4[_0x400443(0x1f5)],'keyword':_0x58a6f4[_0x400443(0x258)],'started_at':_0x58a6f4['startedAt'][_0x400443(0x22e)](),'finished_at':new Date()[_0x400443(0x22e)](),'result':_0x3bc465[_0x400443(0x1ba)](_0x58a6f4['status'],_0x3bc465[_0x400443(0x1e4)])?_0x3bc465['KScZO']:_0x58a6f4[_0x400443(0x1a5)],'duration':_0x3bc465[_0x400443(0x1c3)](Date[_0x400443(0x1fe)](),_0x58a6f4[_0x400443(0x252)][_0x400443(0x1a0)]()),'failure':_0x58a6f4[_0x400443(0x263)]?_0x58a6f4[_0x400443(0x263)][_0x400443(0x24e)]:null});}}function a3_0x1cae(){const _0x3b9859=['errorsDetailed','apply','now','tqskf','21270PdqwMA','O11yHelper','string','patchConsoleLogger','tmQsJ','hook_type','nxJJr','vFgaB','QMKbT','then','captureEvent','VIdod','bDqnf','hooks','lUNsY','ctx','PLAYWRIGHT_HUB_URL','STATE_FAILED','failed\x20to\x20get\x20root\x20parent\x20file\x20','testAnalyticsId','HOOK_RUN_FINISHED','groups','yKgso','fHAJv','getCBTInfo','getHookType','pending','currentHook','test_run_uuid','hook_run','Exception\x20in\x20sending\x20test\x20data\x20for\x20event\x20','VIlSg','getInstance','getHooksForTest','failureData','relative','ejOWz','test','HookRunStarted','__cloud_provider___','file','../../helpers/test-observability/utils','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20Observability\x20with\x20error\x20:\x20','gAeVC','8hRIxst','browserstack','toISOString','bddSteps','frameworkName','meta','TEST_RUN_FINISHED','bddStepStart','pHPxc','31086429sagkGV','PTnDZ','bAGyN','_afterEach','client','vXVcd','suites','failed','bddStepFinish','includes','event_type','umWSp','STATE_PASSED','connect','enabled','eesFI','result','hookAnalyticsId','_afterAll','connectOverCDP','constructor','Not\x20able\x20to\x20import\x20Browser','pMPZM','wajne','concat','message','../mocha/test-observability/mochaUtils','oYFEI','type','startedAt','NNKrY','HMMPz','currentTest','sep','8512126jQqDtZ','actor','browserType.js','uuid','hook_run_uuid','NIriR','PdHwR','start','getHierarchy','failure','CBTSessionCreated','__platformCaps','err','gYtCv','hdUGh','mxoTi','shutdown','dirname','title','comment','duration','removeAllListeners','driver','2937472wfrigG','mapTestHooks','File\x20path\x20could\x20not\x20be\x20found','vsQXf','exports','66kEubKb','112542rLJrvX','fireEvent','ndpsS','Exception\x20in\x20uploading\x20log\x20data\x20to\x20Observability\x20with\x20error\x20:\x20','BrowserType','LjSfb','ZEGdR','kkVcb','fQRYY','replace','kdxZz','TEST_EVENTS','zKWMk','hook','cwd','codeceptjs','tags','stepAnalyticsId','IzctI','ABeyk','POfMt','IqeON','tKLaK','success','getTime','uploadEventData','retryOf','prefixTestPath','KScZO','status','21JrZOYp','forEach','toString','toUpperCase','hbkiB','inspect','TEST_RUN_STARTED','PathHelper','getFailureType','XCbtU','fullTitle','TEST_RUN_SKIPPED','SbbgA','lib','aolZw','QSiJo','debug','\x20with\x20error\x20:\x20','TestRunFinished','path','mwpff','iGTMY','length','_testEnv','HookRunFinished','started','toLowerCase','appendTestItemLog','launch','iOLgr','TISxA','pid','LogCreated','accessibilityPlatform','./helper.js','563455GTlRUe','HOOK_RUN_STARTED','3789hscFWG','winstonLogger','CvIeB','pCIKH','getRootParentFile','_beforeAll','logs','191238blfXlY','rPEXr','../../helpers/test-observability/requestQueueHandler','body','WBDsZ','test_run','skipped','wsEndpoint','Ptlti','uiZhN','WtvPW','finished','join','sdyTj','integrations','_beforeEach','2|4|1|0|3|5','resetSkipTestHooks','bpKcz','markedStatus','findGitConfig','DHOWJ','parent','match','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','aVTBi','bs:addLog:','../../helpers/test-observability/sessionHandler','defineProperty','passed','setupBrowserDetails','hTvdy','../../helpers/logger','ILKmw','IPcuU','name','location_prefix','../playwright/accessibility-helper','push','HChKM','expanded','sLhhv'];a3_0x1cae=function(){return _0x3b9859;};return a3_0x1cae();}const a3_0x3f9365={};a3_0x3f9365[a3_0x3cc918(0x201)]=O11yHelper,a3_0x3f9365[a3_0x3cc918(0x241)]=STATE_PASSED,a3_0x3f9365[a3_0x3cc918(0x211)]=STATE_FAILED,a3_0x3f9365[a3_0x3cc918(0x193)]=TEST_EVENTS,module[a3_0x3cc918(0x186)]=a3_0x3f9365;
|
|
1
|
+
const a3_0x5b5201=a3_0x56bc;(function(_0x15971b,_0x1247eb){const _0x453a35=a3_0x56bc,_0x5bde1e=_0x15971b();while(!![]){try{const _0x4b4cf4=parseInt(_0x453a35(0x216))/0x1+parseInt(_0x453a35(0x1ee))/0x2*(-parseInt(_0x453a35(0x1b9))/0x3)+parseInt(_0x453a35(0x1a7))/0x4*(parseInt(_0x453a35(0x24d))/0x5)+parseInt(_0x453a35(0x215))/0x6+-parseInt(_0x453a35(0x1b0))/0x7+-parseInt(_0x453a35(0x1fb))/0x8*(parseInt(_0x453a35(0x20f))/0x9)+parseInt(_0x453a35(0x26f))/0xa;if(_0x4b4cf4===_0x1247eb)break;else _0x5bde1e['push'](_0x5bde1e['shift']());}catch(_0x2528c6){_0x5bde1e['push'](_0x5bde1e['shift']());}}}(a3_0x3e25,0xc8234));const path=require('path'),fs=require('fs'),{v4:uuidv4}=require(a3_0x5b5201(0x1bf)),{importFileFromPWCore,nestedKeyValue,parseWSEndpoint}=require(a3_0x5b5201(0x24e)),testOpsHelper=require('../../helpers/test-observability/utils'),{getTestEnv}=require(a3_0x5b5201(0x202)),{FRAMEWORKS}=require(a3_0x5b5201(0x208)),logger=require('../../helpers/logger')['winstonLogger'],SessionHandler=require('../../helpers/test-observability/sessionHandler'),RequestQueueHandler=require(a3_0x5b5201(0x217)),PlaywrightSessionDetails=require('../playwright/sessionDetails'),debug=testOpsHelper[a3_0x5b5201(0x245)],{processAccessibilityCaps}=require('../playwright/accessibility-helper'),Constants=require(a3_0x5b5201(0x25a)),{fetchPlatformDetails}=require(a3_0x5b5201(0x1a1)),STATE_PASSED=a3_0x5b5201(0x1d7),STATE_FAILED='failed',a3_0x248620={};a3_0x248620[a3_0x5b5201(0x1c9)]=a3_0x5b5201(0x26b),a3_0x248620[a3_0x5b5201(0x205)]=a3_0x5b5201(0x269),a3_0x248620[a3_0x5b5201(0x1b2)]='TestRunSkipped',a3_0x248620[a3_0x5b5201(0x21f)]=a3_0x5b5201(0x1b4),a3_0x248620['HOOK_RUN_FINISHED']='HookRunFinished';const TEST_EVENTS=a3_0x248620,parseEvent=_0x4045bf=>{const _0x1481d1=a3_0x5b5201,_0x9ec17b={};_0x9ec17b['YYSIS']=function(_0xcabe86,_0x25214e){return _0xcabe86<_0x25214e;},_0x9ec17b[_0x1481d1(0x1a4)]=function(_0x5a8c92,_0x3abf86){return _0x5a8c92===_0x3abf86;},_0x9ec17b[_0x1481d1(0x1e1)]=_0x1481d1(0x1d9),_0x9ec17b[_0x1481d1(0x1fd)]=_0x1481d1(0x211),_0x9ec17b[_0x1481d1(0x1cc)]=function(_0x44b5ed,_0xaaf826){return _0x44b5ed===_0xaaf826;},_0x9ec17b[_0x1481d1(0x25b)]=_0x1481d1(0x23d),_0x9ec17b[_0x1481d1(0x26d)]=function(_0x53090a,_0x2d9720){return _0x53090a===_0x2d9720;},_0x9ec17b[_0x1481d1(0x24b)]=_0x1481d1(0x1bb),_0x9ec17b[_0x1481d1(0x1a9)]=function(_0x1af3bc,_0x16cc4c){return _0x1af3bc===_0x16cc4c;},_0x9ec17b[_0x1481d1(0x1dc)]='finished';const _0x3548e2=_0x9ec17b,_0x4bbd93=_0x4045bf[_0x1481d1(0x1d0)](/^(.*)Run(.*)$/);if(!_0x4bbd93)return null;if(_0x3548e2[_0x1481d1(0x19e)](_0x4bbd93[_0x1481d1(0x1cb)],0x3))return null;const _0x28cd12=_0x4bbd93[0x1][_0x1481d1(0x1f5)](),_0x51d48b=_0x4bbd93[0x2][_0x1481d1(0x1f5)]();return{'test':_0x3548e2[_0x1481d1(0x1a4)](_0x28cd12,_0x3548e2[_0x1481d1(0x1e1)]),'hook':_0x3548e2[_0x1481d1(0x1a4)](_0x28cd12,_0x3548e2[_0x1481d1(0x1fd)]),'skipped':_0x3548e2['rQNdl'](_0x51d48b,_0x3548e2[_0x1481d1(0x25b)]),'started':_0x3548e2['DPKRB'](_0x51d48b,_0x3548e2[_0x1481d1(0x24b)]),'finished':_0x3548e2[_0x1481d1(0x1a9)](_0x51d48b,_0x3548e2[_0x1481d1(0x1dc)])};},mockPWBrowserType=_0x599879=>{const _0x2f82c0=a3_0x5b5201,_0x2c7118={'cToqv':function(_0x2aa6c7,_0x398360){return _0x2aa6c7===_0x398360;},'TKJKN':_0x2f82c0(0x253),'URVwQ':function(_0x3ad1f8,_0x564ee4,_0x4ba4e6){return _0x3ad1f8(_0x564ee4,_0x4ba4e6);},'EBDud':_0x2f82c0(0x212),'YQCee':function(_0x6d1d45,_0x1ec964){return _0x6d1d45(_0x1ec964);},'hHCzB':'browserstack','qMKbJ':_0x2f82c0(0x23e),'zypbu':_0x2f82c0(0x1b1),'FsFxL':_0x2f82c0(0x226),'kKeLO':'Not\x20able\x20to\x20import\x20Browser','fHlGl':_0x2f82c0(0x1ed),'PQDcX':'launch'},_0x5b64fe=path[_0x2f82c0(0x250)](_0x2c7118[_0x2f82c0(0x229)],_0x2c7118['zypbu'],_0x2c7118['FsFxL']),_0x49981e=_0x2c7118['YQCee'](importFileFromPWCore,_0x5b64fe);if(!_0x49981e){_0x2c7118[_0x2f82c0(0x230)](debug,_0x2c7118[_0x2f82c0(0x1c7)]);return;}const _0x21b9fb=_0x49981e[_0x2f82c0(0x19b)],_0x5b87d5=_0x21b9fb[_0x2f82c0(0x273)];if(_0x5b87d5[_0x2f82c0(0x265)])return;const _0x9e7a1c=_0x5b87d5[_0x2f82c0(0x1ed)];Object[_0x2f82c0(0x22e)](_0x5b87d5,_0x2c7118[_0x2f82c0(0x260)],{'get':function(){const _0x4dc3d5=_0x2f82c0,_0x3ed6a0={'tidzN':function(_0x5afd2a,_0x5e1027){return _0x2c7118['cToqv'](_0x5afd2a,_0x5e1027);},'HehML':_0x2c7118[_0x4dc3d5(0x1bc)],'VpLvb':function(_0x1f379f,_0x4d6027,_0x31522c){const _0x3af9b8=_0x4dc3d5;return _0x2c7118[_0x3af9b8(0x241)](_0x1f379f,_0x4d6027,_0x31522c);},'PEtzX':_0x2c7118[_0x4dc3d5(0x231)],'wwhxC':function(_0xf96046,_0x26ab93){return _0x2c7118['YQCee'](_0xf96046,_0x26ab93);},'bwBXt':_0x2c7118['hHCzB'],'cAXMu':function(_0x559b5a,_0x561c90){return _0x2c7118['YQCee'](_0x559b5a,_0x561c90);}};return async function _0x473ab9(_0x50baec,_0x4fb49d){const _0x4751a8=_0x4dc3d5,_0x57e320=_0x3ed6a0[_0x4751a8(0x26a)](nestedKeyValue,_0x50baec,[_0x3ed6a0['PEtzX']])||_0x50baec;let _0x4d6c8c=null,_0x278e80=null;try{[_0x278e80,_0x4d6c8c]=_0x57e320?_0x3ed6a0['wwhxC'](parseWSEndpoint,_0x57e320):[null,null],global[_0x4751a8(0x21c)]=_0x4d6c8c,_0x278e80[_0x4751a8(0x1d6)](_0x3ed6a0[_0x4751a8(0x19c)])&&(global[_0x4751a8(0x256)]=_0x3ed6a0[_0x4751a8(0x19c)]);}catch(_0x3b8d2d){logger[_0x4751a8(0x245)](_0x4751a8(0x25f)+_0x57e320+'\x20'+_0x3b8d2d);}_0x3ed6a0[_0x4751a8(0x26a)](processAccessibilityCaps,_0x4d6c8c,_0x278e80);if(global[_0x4751a8(0x1da)]){const _0x218005=await _0x5b87d5[_0x4751a8(0x22c)][_0x4751a8(0x1c8)](this,[''+Constants['PLAYWRIGHT_HUB_URL']+_0x3ed6a0[_0x4751a8(0x270)](encodeURIComponent,JSON[_0x4751a8(0x21e)](_0x4d6c8c))]);return PlaywrightSessionDetails['setupBrowserDetails'](_0x218005,_0x599879,_0x57e320),_0x218005;}return _0x9e7a1c[_0x4751a8(0x1c8)](this,arguments)[_0x4751a8(0x243)](_0x4da2df=>{const _0x296ece=_0x4751a8;let _0x4b5598=_0x50baec[_0x296ece(0x212)];return _0x3ed6a0['tidzN'](typeof _0x50baec,_0x3ed6a0[_0x296ece(0x196)])&&(_0x4b5598=_0x50baec),PlaywrightSessionDetails['setupBrowserDetails'](_0x4da2df,_0x599879,_0x4b5598),_0x4da2df;});};}});const _0x455b89=_0x5b87d5['launch'];Object['defineProperty'](_0x5b87d5,_0x2c7118[_0x2f82c0(0x1ec)],{'get':function(){return async function _0x2ca20d(){const _0x295500=a3_0x56bc;return _0x455b89[_0x295500(0x1c8)](this,arguments)[_0x295500(0x243)](_0x1e1dea=>{const _0x2d706c=_0x295500;return PlaywrightSessionDetails[_0x2d706c(0x266)](_0x1e1dea,null),_0x1e1dea;});};}});};function a3_0x56bc(_0x322c5c,_0x386fa9){const _0x3e258e=a3_0x3e25();return a3_0x56bc=function(_0x56bc48,_0x8f0e2f){_0x56bc48=_0x56bc48-0x193;let _0x113c57=_0x3e258e[_0x56bc48];return _0x113c57;},a3_0x56bc(_0x322c5c,_0x386fa9);}class O11yHelper{[a3_0x5b5201(0x1d1)]=null;[a3_0x5b5201(0x200)]=null;[a3_0x5b5201(0x20b)]=![];[a3_0x5b5201(0x232)]=![];constructor(_0x379dc2,_0x2e1f4a){const _0x3ea794=a3_0x5b5201,_0x515e83={'CdnKX':_0x3ea794(0x1c5),'QOton':function(_0x3ed816){return _0x3ed816();},'RUAph':function(_0x1b2926,_0x5bcf4b){return _0x1b2926===_0x5bcf4b;},'JpDdY':_0x3ea794(0x247),'iGXLk':function(_0x2850fa,_0x57a98f){return _0x2850fa(_0x57a98f);}},_0x3706ca=_0x515e83[_0x3ea794(0x21a)][_0x3ea794(0x224)]('|');let _0x525e33=0x0;while(!![]){switch(_0x3706ca[_0x525e33++]){case'0':this['frameworkName']=_0x2e1f4a[_0x3ea794(0x232)];continue;case'1':this[_0x3ea794(0x206)]=_0x515e83['QOton'](getTestEnv);continue;case'2':this['enabled']=_0x2e1f4a[_0x3ea794(0x242)];continue;case'3':this[_0x3ea794(0x23f)]=_0x379dc2;continue;case'4':this[_0x3ea794(0x257)]=new testOpsHelper[(_0x3ea794(0x20d))]({'cwd':process['cwd']()},this['_testEnv'][_0x3ea794(0x26e)]);continue;case'5':this['driver']&&_0x515e83[_0x3ea794(0x210)](this[_0x3ea794(0x23f)][_0x3ea794(0x1e0)]['name'],_0x515e83[_0x3ea794(0x277)])&&_0x515e83[_0x3ea794(0x22a)](mockPWBrowserType,null);continue;}break;}}['start'](){const _0x4eacc3=a3_0x5b5201;if(!this[_0x4eacc3(0x20b)])return;testOpsHelper['patchConsoleLogger'](),process['removeAllListeners'](_0x4eacc3(0x227)+process[_0x4eacc3(0x1c0)]),process['on'](_0x4eacc3(0x227)+process[_0x4eacc3(0x1c0)],this[_0x4eacc3(0x249)][_0x4eacc3(0x1ba)](this));}async[a3_0x5b5201(0x1dd)](){const _0x3a0ea1=a3_0x5b5201;await RequestQueueHandler[_0x3a0ea1(0x1f9)]()['shutdown']();}async[a3_0x5b5201(0x249)](_0x2d9eeb){const _0x229ce6=a3_0x5b5201,_0x5ba8b7={'XwBLF':_0x229ce6(0x276),'lLBgV':function(_0x270831,_0x415ad3){return _0x270831(_0x415ad3);}};try{this[_0x229ce6(0x200)]&&!this[_0x229ce6(0x200)][_0x229ce6(0x197)]&&(_0x2d9eeb[_0x229ce6(0x25c)]=this[_0x229ce6(0x200)][_0x229ce6(0x1f1)]);!_0x2d9eeb[_0x229ce6(0x25c)]&&this['currentTest']&&!this[_0x229ce6(0x1d1)]['markedStatus']&&(_0x2d9eeb[_0x229ce6(0x1e3)]=this['currentTest'][_0x229ce6(0x1ce)]);if(_0x2d9eeb[_0x229ce6(0x25c)]||_0x2d9eeb[_0x229ce6(0x1e3)]){const _0x52c4b7={};_0x52c4b7[_0x229ce6(0x1ff)]=_0x5ba8b7[_0x229ce6(0x1ac)],_0x52c4b7[_0x229ce6(0x244)]=[_0x2d9eeb],await SessionHandler['uploadEventData'](_0x52c4b7);}}catch(_0x656c2c){_0x5ba8b7[_0x229ce6(0x23a)](debug,_0x229ce6(0x1ae)+_0x656c2c);}}async['sendCBTInfo'](_0x4f9767){const _0x2abbd8=a3_0x5b5201,_0xae95eb={'zAaQn':_0x2abbd8(0x25d),'ZUShW':function(_0x38ecc4,_0x1584d8){return _0x38ecc4(_0x1584d8);}};if(!this[_0x2abbd8(0x20b)])return;const _0x54e47b=this[_0x2abbd8(0x1a5)](this['driver']);try{const _0x494f4d={};_0x494f4d[_0x2abbd8(0x1bf)]=_0x4f9767,_0x494f4d['integrations']=_0x54e47b;const _0x5a17b3=_0x494f4d,_0x2b62fc={};_0x2b62fc['event_type']=_0xae95eb['zAaQn'],_0x2b62fc['test_run']=_0x5a17b3,await SessionHandler[_0x2abbd8(0x209)](_0x2b62fc);}catch(_0x3cf23a){_0xae95eb[_0x2abbd8(0x239)](debug,'Exception\x20in\x20uploading\x20platform\x20details\x20to\x20Observability\x20with\x20error\x20:\x20'+_0x3cf23a);}}[a3_0x5b5201(0x1a5)](_0x5629c3){const _0x3a154e=a3_0x5b5201,_0x4366a0={'QMvZY':function(_0x96cbbe,_0x56469f){return _0x96cbbe(_0x56469f);}};return _0x4366a0[_0x3a154e(0x234)](fetchPlatformDetails,_0x5629c3);}[a3_0x5b5201(0x1e8)]=_0x2cb715=>{const _0x3b1be0=a3_0x5b5201,_0x595b48={};_0x595b48['xyrbn']=_0x3b1be0(0x252),_0x595b48[_0x3b1be0(0x248)]=_0x3b1be0(0x235);const _0x139973=_0x595b48;if(!_0x2cb715||!_0x2cb715[_0x3b1be0(0x254)])return;[_0x139973[_0x3b1be0(0x1d2)],_0x139973[_0x3b1be0(0x248)]][_0x3b1be0(0x240)](_0xbc8620=>{const _0xd7bc3c=_0x3b1be0,_0x2c0753=_0x2cb715['parent'][_0xbc8620];_0x2c0753[_0xd7bc3c(0x240)](_0x183137=>{const _0x26a029=_0xd7bc3c;_0x183137[_0x26a029(0x1f1)]&&(_0x183137[_0x26a029(0x1f1)]=null);});});};[a3_0x5b5201(0x1db)](_0x1052cd){const _0xc76e59=a3_0x5b5201,_0x2e3dd3={'UdxRI':_0xc76e59(0x274),'SmcLX':function(_0x4c5c71){return _0x4c5c71();},'qvgXG':function(_0x3ddc3e,_0x19b9ba){return _0x3ddc3e===_0x19b9ba;},'bByul':_0xc76e59(0x235),'pHAYO':_0xc76e59(0x222),'xPrNC':_0xc76e59(0x195),'Qcpzk':_0xc76e59(0x252)};if(!_0x1052cd||!_0x1052cd[_0xc76e59(0x254)])return;[_0x2e3dd3[_0xc76e59(0x261)],_0x2e3dd3[_0xc76e59(0x1d5)],_0x2e3dd3[_0xc76e59(0x220)],_0x2e3dd3[_0xc76e59(0x23b)]][_0xc76e59(0x240)](_0x4823e5=>{const _0x2f9b58=_0xc76e59,_0x4428c8={'gptfQ':_0x2e3dd3['UdxRI'],'zsyRp':function(_0x240c63){const _0x1a8881=a3_0x56bc;return _0x2e3dd3[_0x1a8881(0x204)](_0x240c63);},'iHtZM':function(_0xe81864,_0xbe33bc){const _0x340a9c=a3_0x56bc;return _0x2e3dd3[_0x340a9c(0x1e9)](_0xe81864,_0xbe33bc);},'RMyGI':_0x2e3dd3[_0x2f9b58(0x23b)],'tZnaX':function(_0xaf1c8b){return _0x2e3dd3['SmcLX'](_0xaf1c8b);}},_0xdef3f0=_0x1052cd['parent'][_0x4823e5]||[];_0xdef3f0[_0x2f9b58(0x240)](_0x10ad18=>{const _0xf0204b=_0x2f9b58;if(_0x10ad18[_0xf0204b(0x203)][_0xf0204b(0x1d6)](_0x4428c8[_0xf0204b(0x1be)]))return;if(!_0x10ad18[_0xf0204b(0x1f1)])_0x10ad18['hookAnalyticsId']=_0x4428c8[_0xf0204b(0x1ca)](uuidv4);else _0x10ad18[_0xf0204b(0x197)]&&_0x4428c8[_0xf0204b(0x237)](_0x4823e5,_0x4428c8[_0xf0204b(0x1f3)])&&(_0x10ad18['hookAnalyticsId']=_0x4428c8[_0xf0204b(0x1eb)](uuidv4),delete _0x10ad18[_0xf0204b(0x197)]);});}),this['mapTestHooks'](_0x1052cd[_0xc76e59(0x254)]);}['getHooksForTest'](_0x4012f3){const _0x54d70b=a3_0x5b5201,_0x5a4b65={};_0x5a4b65[_0x54d70b(0x1f7)]=_0x54d70b(0x222),_0x5a4b65[_0x54d70b(0x271)]='_afterAll',_0x5a4b65[_0x54d70b(0x1a3)]=_0x54d70b(0x252),_0x5a4b65[_0x54d70b(0x1bd)]=_0x54d70b(0x235);const _0x49bcd9=_0x5a4b65;if(!_0x4012f3||!_0x4012f3[_0x54d70b(0x254)])return[];const _0x1a0192=[];return[_0x49bcd9[_0x54d70b(0x1f7)],_0x49bcd9[_0x54d70b(0x271)],_0x49bcd9['yksmN'],_0x49bcd9[_0x54d70b(0x1bd)]][_0x54d70b(0x240)](_0x27af62=>{const _0x4129d7=_0x54d70b,_0x5adb65=_0x4012f3[_0x4129d7(0x254)][_0x27af62]||[];_0x5adb65[_0x4129d7(0x240)](_0x225967=>{const _0xb363cd=_0x4129d7;_0x225967[_0xb363cd(0x1f1)]&&_0x1a0192['push'](_0x225967[_0xb363cd(0x1f1)]);});}),[][_0x54d70b(0x193)](_0x1a0192,this['getHooksForTest'](_0x4012f3['parent']));}[a3_0x5b5201(0x1f0)](_0x30a571){const _0x22e107=a3_0x5b5201,_0x2df69a=/^"(?<hook>.*)" hook:.*$/,_0x1ed7ed=_0x30a571['title'],_0xebf2e4=_0x1ed7ed['match'](_0x2df69a);if(_0xebf2e4&&_0xebf2e4[_0x22e107(0x22d)])return _0xebf2e4['groups'][_0x22e107(0x211)][_0x22e107(0x1de)]()[_0x22e107(0x1e2)]('\x20','_');return null;}[a3_0x5b5201(0x251)](_0x39cd61){const _0x56c843=a3_0x5b5201,_0xa2f217={};_0xa2f217[_0x56c843(0x1c1)]=function(_0x3d9b85,_0x54477b){return _0x3d9b85===_0x54477b;},_0xa2f217['uNvUT']=function(_0x5a5676,_0x177c28){return _0x5a5676===_0x177c28;},_0xa2f217[_0x56c843(0x1b5)]=_0x56c843(0x1aa),_0xa2f217['ASCto']=_0x56c843(0x263);const _0x75cc82=_0xa2f217,_0x214a5d=path[_0x56c843(0x225)];if(_0x75cc82[_0x56c843(0x1c1)](_0x39cd61,null)||_0x75cc82[_0x56c843(0x1b8)](_0x39cd61,'')||_0x75cc82['zXwgx'](_0x39cd61,_0x214a5d))return null;try{return fs['statSync'](path[_0x56c843(0x250)](_0x39cd61,_0x75cc82[_0x56c843(0x1b5)],_0x75cc82[_0x56c843(0x1e7)])),_0x39cd61;}catch(_0x172ab9){const _0x25ae30=path['dirname'](_0x39cd61);return this['findGitConfig'](_0x25ae30);}}[a3_0x5b5201(0x275)](_0x17388f){const _0x49fd0e=a3_0x5b5201,_0x5f5a31={};_0x5f5a31[_0x49fd0e(0x272)]=function(_0x5a039a,_0xf32cf6){return _0x5a039a>_0xf32cf6;};const _0x27ea45=_0x5f5a31;if(_0x17388f['file'])return _0x17388f[_0x49fd0e(0x198)];if(_0x17388f[_0x49fd0e(0x24f)]){const _0x2320a6=_0x17388f[_0x49fd0e(0x24f)][_0x49fd0e(0x1d1)]?this[_0x49fd0e(0x275)](_0x17388f[_0x49fd0e(0x24f)][_0x49fd0e(0x1d1)]):null;if(_0x2320a6)return _0x2320a6;}if(_0x17388f[_0x49fd0e(0x254)]){const _0x3ca346=this[_0x49fd0e(0x275)](_0x17388f[_0x49fd0e(0x254)])||(_0x17388f[_0x49fd0e(0x254)][_0x49fd0e(0x24f)]&&_0x17388f[_0x49fd0e(0x254)]['ctx'][_0x49fd0e(0x1d1)]?this[_0x49fd0e(0x275)](_0x17388f[_0x49fd0e(0x254)][_0x49fd0e(0x24f)][_0x49fd0e(0x1d1)]):null);if(_0x3ca346)return _0x3ca346;_0x17388f[_0x49fd0e(0x254)][_0x49fd0e(0x1f4)]&&_0x27ea45[_0x49fd0e(0x272)](_0x17388f[_0x49fd0e(0x254)][_0x49fd0e(0x1f4)][_0x49fd0e(0x1cb)],0x0)&&_0x17388f[_0x49fd0e(0x254)]['suites'][_0x49fd0e(0x240)](_0x3364c4=>{const _0x5df249=_0x49fd0e,_0x5d028d=_0x3364c4[_0x5df249(0x24f)]?this[_0x5df249(0x275)](_0x3364c4[_0x5df249(0x24f)]):null;if(_0x5d028d)return _0x5d028d;});}return null;}['getHierarchy'](_0x48a945){const _0x4e0d8a=a3_0x5b5201,_0x548654={};_0x548654[_0x4e0d8a(0x213)]=function(_0x185530,_0x10ef93){return _0x185530!==_0x10ef93;};const _0x4f9c23=_0x548654,_0x3d5002=[];if(_0x48a945&&_0x48a945[_0x4e0d8a(0x254)]){let _0x19b498=_0x48a945[_0x4e0d8a(0x254)];while(_0x19b498&&_0x4f9c23[_0x4e0d8a(0x213)](_0x19b498[_0x4e0d8a(0x203)],'')){_0x3d5002[_0x4e0d8a(0x20c)](_0x19b498['title']),_0x19b498=_0x19b498[_0x4e0d8a(0x254)];}}return _0x3d5002;}['captureEvent'](_0x3a1b0e,_0x429630,_0x2bb667=undefined){const _0x3e1a03=a3_0x5b5201,_0x544461={'vrbMU':function(_0x5f2316,_0x365f81){return _0x5f2316(_0x365f81);},'DkKVD':function(_0x4d6739){return _0x4d6739();},'DcEeL':function(_0x459d80){return _0x459d80();},'XnYjS':function(_0x2c25e3){return _0x2c25e3();},'AcRDX':_0x3e1a03(0x1ab),'WIOcf':'err','sCMzo':function(_0x181cdd,_0x5a4a51){return _0x181cdd!==_0x5a4a51;},'YUjWW':_0x3e1a03(0x1cf),'WuizF':_0x3e1a03(0x1e4),'BzkVY':_0x3e1a03(0x255),'bvdhk':_0x3e1a03(0x1d7),'bSWVk':'skipped','krQxI':'javascript','uFtxN':function(_0x281af2,_0x202cc2){return _0x281af2-_0x202cc2;},'Qgvvq':function(_0x46499f,_0x2f1c4d){return _0x46499f!==_0x2f1c4d;},'DPLri':'integrations','bqnkT':'meta','pBJkA':'failure','TaluO':_0x3e1a03(0x1c3),'INkfp':'backtrace','SfWRj':_0x3e1a03(0x1c4),'CKdqm':'expanded','PjSwI':_0x3e1a03(0x246),'zlBWu':_0x3e1a03(0x25e)};if(!this[_0x3e1a03(0x20b)])return;try{if(_0x429630['fn']&&_0x429630['fn'][_0x3e1a03(0x1e6)]()['match'](/browserstack internal helper hook/))return;const _0x5c9eac=_0x544461['vrbMU'](parseEvent,_0x3a1b0e);if(!_0x5c9eac)return;if(_0x5c9eac[_0x3e1a03(0x1d9)]){this[_0x3e1a03(0x1d1)]=_0x429630,this[_0x3e1a03(0x200)]=null;if(_0x5c9eac[_0x3e1a03(0x1bb)]||_0x5c9eac[_0x3e1a03(0x23d)]){_0x429630[_0x3e1a03(0x238)]=new Date(),_0x429630[_0x3e1a03(0x197)]=![];if(!_0x429630['testAnalyticsId'])_0x429630[_0x3e1a03(0x1ce)]=_0x544461[_0x3e1a03(0x1ad)](uuidv4);else _0x429630[_0x3e1a03(0x197)]&&(!_0x429630[_0x3e1a03(0x221)]&&(_0x429630[_0x3e1a03(0x221)]=_0x429630[_0x3e1a03(0x1ce)]),_0x429630[_0x3e1a03(0x1ce)]=_0x544461[_0x3e1a03(0x1ad)](uuidv4));}}else{if(_0x5c9eac['hook']){this[_0x3e1a03(0x200)]=_0x429630;if(_0x5c9eac['started']){_0x429630['startedAt']=new Date(),_0x429630[_0x3e1a03(0x197)]=![];if(!_0x429630['hookAnalyticsId'])_0x429630[_0x3e1a03(0x1f1)]=_0x544461[_0x3e1a03(0x1e5)](uuidv4);else _0x429630['hookAnalyticsId']&&_0x429630[_0x3e1a03(0x197)]&&(_0x429630[_0x3e1a03(0x1f1)]=_0x544461['XnYjS'](uuidv4));}}}if(_0x5c9eac['finished']&&_0x429630[_0x3e1a03(0x197)])return;let _0x1a0ae1;try{_0x1a0ae1=this[_0x3e1a03(0x275)](_0x429630);}catch(_0x2c85e0){logger[_0x3e1a03(0x245)](_0x3e1a03(0x1c6)+_0x2c85e0),_0x1a0ae1=null;}const _0x283789=_0x544461[_0x3e1a03(0x264)](require,_0x544461['AcRDX']);let _0x447c3e=[];_0x2bb667&&(_0x447c3e=[_0x2bb667,_0x544461[_0x3e1a03(0x218)]]);const _0x56bef1=_0x544461[_0x3e1a03(0x1fe)](_0x429630['errorsDetailed'],undefined)?_0x283789['inspect'](_0x429630[_0x3e1a03(0x21d)][0x0]):_0x544461['sCMzo'](_0x2bb667,undefined)?_0x2bb667['toString']():undefined,_0x3e6961=_0x1a0ae1?this[_0x3e1a03(0x251)](_0x1a0ae1):null,_0x3d73e1=_0x1a0ae1?this[_0x3e1a03(0x257)][_0x3e1a03(0x1fa)](this[_0x3e1a03(0x275)](_0x429630)):_0x544461['YUjWW'];let _0xea289d=_0x544461[_0x3e1a03(0x19f)];const _0x3808fc=!_0x5c9eac['started']?new Date()[_0x3e1a03(0x1f2)]():null;if(_0x5c9eac[_0x3e1a03(0x1d8)])_0xea289d=_0x2bb667?_0x544461['BzkVY']:_0x544461[_0x3e1a03(0x1b6)],_0x429630[_0x3e1a03(0x197)]=!![];else _0x5c9eac['skipped']&&(_0xea289d=_0x544461[_0x3e1a03(0x236)],_0x429630[_0x3e1a03(0x197)]=!![]);const _0x1b79b6={'framework':this[_0x3e1a03(0x232)],'uuid':_0x429630[_0x3e1a03(0x1ce)]||_0x429630[_0x3e1a03(0x1f1)],'name':_0x429630[_0x3e1a03(0x203)],'body':{'lang':_0x544461[_0x3e1a03(0x1af)],'code':_0x429630[_0x3e1a03(0x267)][_0x3e1a03(0x1e6)]()},'type':_0x429630[_0x3e1a03(0x1f8)],'scope':_0x429630[_0x3e1a03(0x23c)](),'scopes':this[_0x3e1a03(0x20e)](_0x429630),'file_name':_0x3d73e1,'vc_filepath':_0x3e6961?path[_0x3e1a03(0x201)](_0x3e6961,_0x1a0ae1):null,'location':_0x3d73e1,'result':_0xea289d,'failure_reason':_0x56bef1,'duration_in_ms':_0x429630['duration']||(_0x5c9eac[_0x3e1a03(0x1d8)]||_0x5c9eac[_0x3e1a03(0x23d)])?_0x544461[_0x3e1a03(0x1ea)](Date[_0x3e1a03(0x228)](),new Date(_0x429630[_0x3e1a03(0x238)])['getTime']()):null,'started_at':new Date(_0x429630['startedAt'])[_0x3e1a03(0x1f2)](),'finished_at':_0x3808fc,'failure':testOpsHelper[_0x3e1a03(0x207)][_0x3e1a03(0x1c8)](null,_0x447c3e),'failure_type':!_0x56bef1?null:testOpsHelper[_0x3e1a03(0x1b3)](_0x56bef1),'retry_of':_0x429630[_0x3e1a03(0x221)]||null,'tags':_0x429630[_0x3e1a03(0x1d4)]||[],'customRerunParam':{'rerun_name':_0x429630[_0x3e1a03(0x23c)]()}};if(_0x5c9eac[_0x3e1a03(0x211)])[_0x1b79b6[_0x3e1a03(0x1fc)],_0x1b79b6[_0x3e1a03(0x19a)]]=[this['getHookType'](_0x429630),_0x429630['ctx']['test']['title']],_0x5c9eac[_0x3e1a03(0x1d8)]?_0x544461[_0x3e1a03(0x1ef)](_0x1b79b6['result'],_0x544461[_0x3e1a03(0x26c)])&&(_0x1b79b6[_0x3e1a03(0x1a2)]=_0x544461[_0x3e1a03(0x1b6)]):_0x1b79b6['body']={};else _0x5c9eac[_0x3e1a03(0x1d9)]&&(this['mapTestHooks'](_0x429630),_0x5c9eac[_0x3e1a03(0x23d)]&&this[_0x3e1a03(0x1e8)](_0x429630),(_0x5c9eac[_0x3e1a03(0x1d8)]||_0x5c9eac[_0x3e1a03(0x23d)])&&(_0x1b79b6[_0x3e1a03(0x20a)]=this[_0x3e1a03(0x214)](_0x429630)));this[_0x3e1a03(0x23f)]&&(_0x5c9eac[_0x3e1a03(0x1bb)]||_0x5c9eac[_0x3e1a03(0x23d)])&&(_0x1b79b6[_0x544461[_0x3e1a03(0x21b)]]=this[_0x3e1a03(0x1a5)](this[_0x3e1a03(0x23f)]));_0x5c9eac[_0x3e1a03(0x1d9)]&&_0x5c9eac['finished']&&_0x429630['bddSteps']&&(_0x1b79b6[_0x544461[_0x3e1a03(0x1a6)]]={'feature':{'name':_0x429630[_0x3e1a03(0x254)]['feature'][_0x3e1a03(0x19a)],'path':_0x1b79b6['file_name'],'description':_0x429630[_0x3e1a03(0x254)][_0x3e1a03(0x233)]},'scenario':{'name':_0x429630[_0x3e1a03(0x203)]},'steps':_0x429630['bddSteps']});const _0x3ed9d3=_0x1b79b6[_0x544461['pBJkA']][0x0];_0x3ed9d3&&(_0x1b79b6[_0x544461[_0x3e1a03(0x262)]]=_0x3ed9d3[_0x544461[_0x3e1a03(0x223)]],_0x1b79b6[_0x544461[_0x3e1a03(0x268)]]=_0x3ed9d3[_0x544461['CKdqm']]);const _0x1eb0c0={};_0x1eb0c0[_0x3e1a03(0x1ff)]=_0x5c9eac[_0x3e1a03(0x23d)]?TEST_EVENTS[_0x3e1a03(0x205)]:_0x3a1b0e;const _0x7d86d=_0x1eb0c0;return _0x5c9eac['hook']?_0x7d86d[_0x544461[_0x3e1a03(0x1a0)]]=_0x1b79b6:_0x7d86d[_0x544461[_0x3e1a03(0x199)]]=_0x1b79b6,_0x7d86d;}catch(_0x3d7dc4){logger[_0x3e1a03(0x245)]('Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20'+_0x3a1b0e+_0x3e1a03(0x19d)+_0x3d7dc4);}}async['fireEvent'](_0x4c47ef,_0x40fc73){const _0x1b8d70=a3_0x5b5201;if(!this[_0x1b8d70(0x20b)]||!_0x40fc73||!_0x4c47ef)return![];try{return await SessionHandler[_0x1b8d70(0x209)](_0x40fc73);}catch(_0x1ce015){logger[_0x1b8d70(0x245)]('Exception\x20in\x20sending\x20test\x20data\x20for\x20event\x20'+_0x4c47ef+_0x1b8d70(0x19d)+_0x1ce015);}}[a3_0x5b5201(0x24a)](_0x2aa8fc){const _0x323a6b=a3_0x5b5201,_0x2bec82={'SwHYm':function(_0x5597d5){return _0x5597d5();}};!_0x2aa8fc[_0x323a6b(0x1cd)]&&(_0x2aa8fc[_0x323a6b(0x1cd)]=_0x2bec82[_0x323a6b(0x1d3)](uuidv4),_0x2aa8fc[_0x323a6b(0x238)]=new Date());}['bddStepFinish'](_0xa3ea60){const _0x5945cd=a3_0x5b5201,_0x5bf723={};_0x5bf723['qyRTT']=function(_0x4c06a2,_0x2dcbef){return _0x4c06a2===_0x2dcbef;},_0x5bf723[_0x5945cd(0x22b)]=_0x5945cd(0x1df),_0x5bf723[_0x5945cd(0x1f6)]=_0x5945cd(0x1d7),_0x5bf723[_0x5945cd(0x24c)]=function(_0x169b45,_0x38d5fa){return _0x169b45-_0x38d5fa;};const _0x389c14=_0x5bf723;!this[_0x5945cd(0x1d1)][_0x5945cd(0x219)]&&(this[_0x5945cd(0x1d1)]['bddSteps']=[]),this[_0x5945cd(0x1d1)][_0x5945cd(0x219)][_0x5945cd(0x20c)]({'id':_0xa3ea60[_0x5945cd(0x1cd)],'text':_0xa3ea60[_0x5945cd(0x19a)],'keyword':_0xa3ea60['actor'],'started_at':_0xa3ea60[_0x5945cd(0x238)][_0x5945cd(0x1f2)](),'finished_at':new Date()[_0x5945cd(0x1f2)](),'result':_0x389c14[_0x5945cd(0x1b7)](_0xa3ea60[_0x5945cd(0x194)],_0x389c14[_0x5945cd(0x22b)])?_0x389c14[_0x5945cd(0x1f6)]:_0xa3ea60[_0x5945cd(0x194)],'duration':_0x389c14[_0x5945cd(0x24c)](Date[_0x5945cd(0x228)](),_0xa3ea60[_0x5945cd(0x238)]['getTime']()),'failure':_0xa3ea60[_0x5945cd(0x1c2)]?_0xa3ea60['err']['message']:null});}}function a3_0x3e25(){const _0x14f9c5=['7299061yJECDr','client','TEST_RUN_SKIPPED','getFailureType','HookRunStarted','wJgfs','bvdhk','qyRTT','uNvUT','762PqKzix','bind','started','TKJKN','ZsHmV','gptfQ','uuid','pid','zXwgx','err','failure_backtrace','failure_reason_expanded','2|0|3|1|4|5','failed\x20to\x20get\x20root\x20parent\x20file\x20','kKeLO','apply','TEST_RUN_STARTED','zsyRp','length','rQNdl','stepAnalyticsId','testAnalyticsId','File\x20path\x20could\x20not\x20be\x20found','match','currentTest','xyrbn','SwHYm','tags','xPrNC','includes','passed','finished','test','accessibilityPlatform','mapTestHooks','EBIQq','stop','toUpperCase','success','constructor','sMvdy','replace','test_run_uuid','pending','DcEeL','toString','ASCto','resetSkipTestHooks','qvgXG','uFtxN','tZnaX','PQDcX','connect','9236nUITZK','Qgvvq','getHookType','hookAnalyticsId','toISOString','RMyGI','suites','toLowerCase','hPIzf','qNjGO','type','getInstance','prefixTestPath','3152PZtAxU','hook_type','ICFCv','sCMzo','event_type','currentHook','relative','../mocha/test-observability/mochaUtils','title','SmcLX','TEST_RUN_FINISHED','_testEnv','failureData','../../helpers/test-observability/constants','uploadEventData','hooks','enabled','push','PathHelper','getHierarchy','15516RdffqR','RUAph','hook','wsEndpoint','QhUQc','getHooksForTest','4270896cmOAMc','116941hbSSQm','../../helpers/test-observability/requestQueueHandler','WIOcf','bddSteps','CdnKX','DPLri','__platformCaps','errorsDetailed','stringify','HOOK_RUN_STARTED','Qcpzk','retryOf','_beforeAll','INkfp','split','sep','browserType.js','bs:addLog:','now','qMKbJ','iGXLk','Hpygn','connectOverCDP','groups','defineProperty','TEST_EVENTS','YQCee','EBDud','frameworkName','comment','QMvZY','_afterEach','bSWVk','iHtZM','startedAt','ZUShW','lLBgV','bByul','fullTitle','skipped','lib','driver','forEach','URVwQ','testObservability','then','logs','debug','hook_run','Playwright','LdSKi','appendTestItemLog','bddStepStart','YeYHD','GlWhf','23785ARorNK','../../helpers/helper','ctx','join','findGitConfig','_beforeEach','string','parent','failed','__cloud_provider___','_paths','STATE_FAILED','exports','../utils/constants','QtNPN','hook_run_uuid','CBTSessionCreated','test_run','Failed\x20to\x20parse\x20wsendpoint\x20','fHlGl','pHAYO','TaluO','config','vrbMU','obsBrowserTypeMockApplied','setupBrowserDetails','body','SfWRj','TestRunFinished','VpLvb','TestRunStarted','BzkVY','DPKRB','location_prefix','25672390kAOcWB','cAXMu','aHqtf','sbJgD','prototype','codeceptjs','getRootParentFile','LogCreated','JpDdY','concat','status','_afterAll','HehML','markedStatus','file','zlBWu','name','BrowserType','bwBXt','\x20with\x20error\x20:\x20','YYSIS','WuizF','PjSwI','./helper.js','result','yksmN','DaRnA','getCBTInfo','bqnkT','268mKhCPr','O11yHelper','ghgTm','.git','util','XwBLF','DkKVD','Exception\x20in\x20uploading\x20log\x20data\x20to\x20Observability\x20with\x20error\x20:\x20','krQxI'];a3_0x3e25=function(){return _0x14f9c5;};return a3_0x3e25();}const a3_0x249f76={};a3_0x249f76[a3_0x5b5201(0x1a8)]=O11yHelper,a3_0x249f76['STATE_PASSED']=STATE_PASSED,a3_0x249f76[a3_0x5b5201(0x258)]=STATE_FAILED,a3_0x249f76[a3_0x5b5201(0x22f)]=TEST_EVENTS,module[a3_0x5b5201(0x259)]=a3_0x249f76;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';function a4_0x269e(_0x5ed4f5,_0x1e0084){const _0x1ecefe=a4_0x1ece();return a4_0x269e=function(_0x269e9b,_0x3f90c2){_0x269e9b=_0x269e9b-0x159;let _0x30fc9f=_0x1ecefe[_0x269e9b];return _0x30fc9f;},a4_0x269e(_0x5ed4f5,_0x1e0084);}function a4_0x1ece(){const _0x133af1=['199528STcqae','push','finally','stepsPassed','path','splice','steps','348621xDcFWb','UfTjY','bold','1805320OOSCzM','debug','Generating\x20consolidated\x20report...','\x20scenarios','red','\x20steps','stepsFailed','2CcNKab','length','STZTL','RhQxO','nLAiR','Removing\x20tmp\x20directory\x20created\x20for\x20reports','LFUyU','stepsSkipped','scenariosFailed','removeDir','skipSessionName','useW3C','\x20pending','modifyBrowserStackCaps','fWSJS','\x20failed','../../helpers/helper','yellow','finalExecution','stepsUndefined','BXIBl','../utils/constants','exitCode','tbQEu','9LrgWOA','logLevel','\x20ambiguous','createDir','QgrcE','argv','processSuccess','stepsPending','\x20skipped','\x20passed','winstonLogger','skipSessionStatus','then','scenarios','tmp','EGdxb','parallelsPerPlatform','296559ynNYzk','cyan','****\x20RESULTS\x20****','INJDq','exports','stepsAmbiguous','testContextOptions','556626bfKRnH','rjAvt','EaOho','985964zGmyEz','AapLp','\x20undefined','cwd','aqork','EJoCo','parseFormatters','getPlatformName','handleApp','markSDKSetupComplete','log','qxoOA','1165NuheDT','NFYQg','QmLHV','bgWhite','3156vbjlit','initialize','green','stepsUnknown','LzIgV','getHubUrl','config','NZwon','forEach','turboScaleUrl','fsmaV','ITxaO','../test-runner'];a4_0x1ece=function(){return _0x133af1;};return a4_0x1ece();}const a4_0x44f2c3=a4_0x269e;(function(_0x22dd7e,_0x1fe095){const _0x237ac5=a4_0x269e,_0x4d772f=_0x22dd7e();while(!![]){try{const _0x5759c3=parseInt(_0x237ac5(0x17a))/0x1+parseInt(_0x237ac5(0x1b2))/0x2*(parseInt(_0x237ac5(0x1a8))/0x3)+-parseInt(_0x237ac5(0x194))/0x4*(parseInt(_0x237ac5(0x190))/0x5)+-parseInt(_0x237ac5(0x181))/0x6+-parseInt(_0x237ac5(0x184))/0x7+parseInt(_0x237ac5(0x1a1))/0x8+parseInt(_0x237ac5(0x169))/0x9*(parseInt(_0x237ac5(0x1ab))/0xa);if(_0x5759c3===_0x1fe095)break;else _0x4d772f['push'](_0x4d772f['shift']());}catch(_0x568d98){_0x4d772f['push'](_0x4d772f['shift']());}}}(a4_0x1ece,0x3104b));const fs=require('fs'),path=require(a4_0x44f2c3(0x1a5)),logger=require('../../helpers/logger')[a4_0x44f2c3(0x173)],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require(a4_0x44f2c3(0x161)),constants=require(a4_0x44f2c3(0x166)),{parallelCucumberRun}=require(a4_0x44f2c3(0x1a0)),chalk=require('chalk');function printCucumberStats(_0x5a42d6){const _0x38a3b0=a4_0x44f2c3,_0x54f435={};_0x54f435['NZwon']=function(_0x3f9e67,_0x4316eb){return _0x3f9e67>_0x4316eb;},_0x54f435[_0x38a3b0(0x191)]=function(_0x541b07,_0x471ef4){return _0x541b07-_0x471ef4;},_0x54f435[_0x38a3b0(0x1b5)]=function(_0x11f459,_0x52295d){return _0x11f459>_0x52295d;},_0x54f435[_0x38a3b0(0x192)]=function(_0x5a4898,_0x1fe09c){return _0x5a4898>_0x1fe09c;},_0x54f435[_0x38a3b0(0x18f)]=function(_0x29eb73,_0x1bae32){return _0x29eb73>_0x1bae32;},_0x54f435[_0x38a3b0(0x1b8)]=function(_0x5f3a47,_0x4a62a9){return _0x5f3a47>_0x4a62a9;},_0x54f435['nLAiR']=function(_0x13de2c,_0x25cf52){return _0x13de2c>_0x25cf52;},_0x54f435[_0x38a3b0(0x189)]=function(_0x4c4e30,_0x494fc5){return _0x4c4e30>_0x494fc5;},_0x54f435[_0x38a3b0(0x183)]=function(_0x48a2fc,_0x3af2ae){return _0x48a2fc>_0x3af2ae;},_0x54f435[_0x38a3b0(0x188)]=function(_0x144460,_0x4aca68){return _0x144460>_0x4aca68;},_0x54f435[_0x38a3b0(0x19e)]=function(_0x468692,_0x3a4ec9){return _0x468692+_0x3a4ec9;},_0x54f435['INJDq']=function(_0x1411b2,_0x9ee496){return _0x1411b2+_0x9ee496;},_0x54f435[_0x38a3b0(0x1a9)]=function(_0x1c2b0b,_0x2c43c3){return _0x1c2b0b+_0x2c43c3;},_0x54f435[_0x38a3b0(0x182)]=function(_0x14da21,_0xf7aea5){return _0x14da21+_0xf7aea5;},_0x54f435[_0x38a3b0(0x168)]=function(_0x5b15ba,_0x36a8b8){return _0x5b15ba+_0x36a8b8;},_0x54f435[_0x38a3b0(0x178)]=function(_0x335978,_0x23361d){return _0x335978===_0x23361d;},_0x54f435[_0x38a3b0(0x165)]=_0x38a3b0(0x17c);const _0x20155a=_0x54f435;let _0x15802d=0x0;if(_0x20155a[_0x38a3b0(0x178)](_0x5a42d6[_0x38a3b0(0x1b3)],0x0))return _0x15802d;return console['log'](chalk['bold'][_0x38a3b0(0x193)](_0x20155a[_0x38a3b0(0x165)])),_0x5a42d6['forEach'](_0x58e379=>{const _0x602223=_0x38a3b0,_0x205986=_0x58e379[0x0],_0x215110=_0x58e379[0x1];console[_0x602223(0x18e)]('\x0a'+chalk['bold'][_0x602223(0x162)](''+helper[_0x602223(0x18b)](_0x205986)));const _0x248dbc=_0x215110[_0x602223(0x176)],_0x3e345e=_0x215110[_0x602223(0x1a7)],_0x41f7e9=_0x215110[_0x602223(0x159)],_0x5c83fd=_0x215110[_0x602223(0x1b1)],_0x2898eb=_0x215110[_0x602223(0x1a4)],_0x5566e8=_0x215110[_0x602223(0x1b9)],_0x5c12fe=_0x215110[_0x602223(0x170)],_0x6e1b30=_0x215110[_0x602223(0x164)],_0x53198d=_0x215110[_0x602223(0x197)],_0x115d82=_0x215110[_0x602223(0x17f)],_0x32e5aa=_0x215110[_0x602223(0x16f)];let _0x39a603=_0x248dbc+_0x602223(0x1ae);const _0x198210=_0x20155a[_0x602223(0x19b)](_0x20155a[_0x602223(0x191)](_0x248dbc,_0x41f7e9),0x0)?_0x20155a[_0x602223(0x191)](_0x248dbc,_0x41f7e9):0x0;if(_0x20155a[_0x602223(0x1b5)](_0x41f7e9,0x0)&&_0x20155a['QmLHV'](_0x198210,0x0))_0x39a603+='\x20('+chalk['bold'][_0x602223(0x1af)](_0x41f7e9+_0x602223(0x160))+',\x20'+chalk[_0x602223(0x1aa)][_0x602223(0x196)](_0x198210+_0x602223(0x172))+')';else(_0x20155a[_0x602223(0x192)](_0x41f7e9,0x0)||_0x20155a[_0x602223(0x18f)](_0x198210,0x0))&&(_0x39a603+=_0x20155a['LFUyU'](_0x41f7e9,0x0)?'\x20('+chalk[_0x602223(0x1aa)][_0x602223(0x1af)](_0x41f7e9+_0x602223(0x160))+')':'\x20('+chalk['bold']['green'](_0x198210+_0x602223(0x172))+')');const _0x47bc23=_0x3e345e+_0x602223(0x1b0),_0x5040b6=[];_0x20155a[_0x602223(0x1b6)](_0x115d82,0x0)&&_0x5040b6[_0x602223(0x1a2)](''+chalk[_0x602223(0x1aa)][_0x602223(0x1af)](_0x115d82+_0x602223(0x16b)));_0x20155a[_0x602223(0x18f)](_0x5c83fd,0x0)&&_0x5040b6['push'](''+chalk['bold']['red'](_0x5c83fd+_0x602223(0x160)));_0x20155a[_0x602223(0x192)](_0x2898eb,0x0)&&_0x5040b6['push'](''+chalk['bold']['green'](_0x2898eb+'\x20passed'));_0x20155a[_0x602223(0x189)](_0x5c12fe,0x0)&&_0x5040b6[_0x602223(0x1a2)](''+chalk[_0x602223(0x1aa)]['yellow'](_0x5c12fe+_0x602223(0x15d)));_0x20155a[_0x602223(0x183)](_0x5566e8,0x0)&&_0x5040b6[_0x602223(0x1a2)](''+chalk[_0x602223(0x1aa)][_0x602223(0x17b)](_0x5566e8+_0x602223(0x171)));_0x20155a[_0x602223(0x1b5)](_0x6e1b30,0x0)&&_0x5040b6[_0x602223(0x1a2)](''+chalk[_0x602223(0x1aa)]['yellow'](_0x6e1b30+_0x602223(0x186)));_0x20155a[_0x602223(0x188)](_0x53198d,0x0)&&_0x5040b6[_0x602223(0x1a2)](''+chalk[_0x602223(0x1aa)][_0x602223(0x162)](_0x53198d+_0x602223(0x171)));const _0x53ddb9=_0x20155a[_0x602223(0x19e)](_0x20155a[_0x602223(0x17d)](_0x20155a['INJDq'](_0x47bc23,'('),_0x5040b6['join'](',\x20')),')');console[_0x602223(0x18e)](_0x20155a[_0x602223(0x19e)](_0x20155a[_0x602223(0x1a9)](_0x20155a[_0x602223(0x182)](_0x20155a[_0x602223(0x168)]('\x0a',_0x39a603),'\x0a'),_0x53ddb9),'\x0a')),_0x20155a[_0x602223(0x178)](_0x32e5aa,![])&&(_0x15802d=0x1);}),_0x15802d;}async function run(_0x23b03f,_0x4b3037){const _0x42ce85=a4_0x44f2c3,_0x4767df={'ITxaO':'cucumber','STZTL':function(_0x5c18bf,_0x2a501a){return _0x5c18bf(_0x2a501a);},'LzIgV':function(_0x5d8e27,_0x4151dc){return _0x5d8e27>_0x4151dc;},'AapLp':_0x42ce85(0x1ad),'QgrcE':_0x42ce85(0x1b7),'nuDCS':'cucumber-js','gGSBr':_0x42ce85(0x177),'tjsUd':function(_0x1c73bb,_0x3d42c4){return _0x1c73bb-_0x3d42c4;},'fjslO':function(_0x2d3275,_0x5bda0c){return _0x2d3275>=_0x5bda0c;},'fWSJS':function(_0x372624,_0x2ed4a7,_0x190a44,_0x4e7b1a,_0x1c8209,_0x31bf4a){return _0x372624(_0x2ed4a7,_0x190a44,_0x4e7b1a,_0x1c8209,_0x31bf4a);}},_0x3fd708=new BrowserStackSetup(_0x23b03f,_0x4767df['nuDCS']);await _0x3fd708[_0x42ce85(0x195)](),await helper[_0x42ce85(0x18c)](_0x3fd708[_0x42ce85(0x19a)]);const _0xa5547d=[];if(!_0x3fd708[_0x42ce85(0x19a)])return;const _0x2b32a9=_0x3fd708[_0x42ce85(0x19a)][_0x42ce85(0x179)],_0x560b16=helper[_0x42ce85(0x15c)](_0x3fd708[_0x42ce85(0x19a)]);_0x3fd708['config']['platforms'][_0x42ce85(0x19c)]((_0x321d3b,_0x5586fc)=>{const _0x18ed05=_0x42ce85;_0x560b16?_0xa5547d[_0x18ed05(0x1a2)](helper['modifyBrowserStackW3CCaps'](_0x3fd708[_0x18ed05(0x19a)],_0x4767df[_0x18ed05(0x19f)],_0x5586fc)):_0xa5547d[_0x18ed05(0x1a2)](helper[_0x18ed05(0x15e)](_0x3fd708[_0x18ed05(0x19a)],_0x4767df[_0x18ed05(0x19f)],_0x5586fc));});const _0x10fcaf={'server':helper[_0x42ce85(0x199)](_0x3fd708[_0x42ce85(0x19a)]),'proxySettings':_0x3fd708[_0x42ce85(0x19a)]['proxySettings'],'maxWorkers':_0x2b32a9,'browserStackLogLevel':_0x3fd708[_0x42ce85(0x19a)][_0x42ce85(0x16a)],'skipSessionName':_0x3fd708[_0x42ce85(0x19a)][_0x42ce85(0x180)][_0x42ce85(0x15b)],'skipSessionStatus':_0x3fd708['config'][_0x42ce85(0x180)][_0x42ce85(0x174)],'turboScaleUrl':_0x3fd708[_0x42ce85(0x19a)][_0x42ce85(0x19d)]},_0x2c5acf=process[_0x42ce85(0x16e)],[_0x2fb146,_0x37c2ef]=helper[_0x42ce85(0x18a)](_0x2c5acf),_0x348f02=path['join'](process[_0x42ce85(0x187)](),_0x4767df['gGSBr']);if(_0x4767df[_0x42ce85(0x198)](_0x37c2ef['length'],0x0)){helper[_0x42ce85(0x16c)](_0x348f02);for(let _0xc935fc=_0x4767df['tjsUd'](_0x2fb146[_0x42ce85(0x1b3)],0x1);_0x4767df['fjslO'](_0xc935fc,0x0);_0xc935fc--){_0x2c5acf[_0x42ce85(0x1a6)](_0x2fb146[_0xc935fc],0x2);}}helper[_0x42ce85(0x18d)]();let _0x2ee431;_0x4767df[_0x42ce85(0x15f)](parallelCucumberRun,_0xa5547d,_0x10fcaf,_0x3fd708['config'],_0x2c5acf,_0x37c2ef)[_0x42ce85(0x175)](async _0x164450=>{const _0xe044f7=_0x42ce85;_0x2ee431=_0x164450;const _0x12d1e6=_0x4767df[_0xe044f7(0x1b4)](printCucumberStats,_0x164450);process[_0xe044f7(0x167)]=_0x12d1e6,_0x4767df[_0xe044f7(0x198)](_0x37c2ef['length'],0x0)&&(logger[_0xe044f7(0x1ac)](_0x4767df[_0xe044f7(0x185)]),helper['mergeOutputFiles'](_0x348f02,_0x37c2ef),logger[_0xe044f7(0x1ac)](_0x4767df[_0xe044f7(0x16d)]),helper[_0xe044f7(0x15a)](_0x348f02));})[_0x42ce85(0x1a3)](async()=>{const _0x2213d5=_0x42ce85;_0x3fd708['errorMessage']=helper['getErrorMessageFromResults'](_0x2ee431,_0x4767df[_0x2213d5(0x19f)]),await helper[_0x2213d5(0x163)](_0x3fd708);});}module[a4_0x44f2c3(0x17e)]=run;
|
|
2
|
+
'use strict';const a4_0x3701ec=a4_0x177d;(function(_0x355207,_0x44452e){const _0x46d6c8=a4_0x177d,_0x997aa1=_0x355207();while(!![]){try{const _0x314c9d=-parseInt(_0x46d6c8(0x134))/0x1+parseInt(_0x46d6c8(0x13c))/0x2+-parseInt(_0x46d6c8(0xfd))/0x3*(parseInt(_0x46d6c8(0xfc))/0x4)+parseInt(_0x46d6c8(0x100))/0x5*(parseInt(_0x46d6c8(0x113))/0x6)+-parseInt(_0x46d6c8(0x12f))/0x7+-parseInt(_0x46d6c8(0xf0))/0x8*(-parseInt(_0x46d6c8(0x104))/0x9)+-parseInt(_0x46d6c8(0xe9))/0xa;if(_0x314c9d===_0x44452e)break;else _0x997aa1['push'](_0x997aa1['shift']());}catch(_0x31ac14){_0x997aa1['push'](_0x997aa1['shift']());}}}(a4_0x323d,0x62680));const fs=require('fs'),path=require(a4_0x3701ec(0x12d)),logger=require(a4_0x3701ec(0x136))['winstonLogger'],{default:BrowserStackSetup}=require(a4_0x3701ec(0x135)),helper=require('../../helpers/helper'),constants=require(a4_0x3701ec(0x124)),{parallelCucumberRun}=require(a4_0x3701ec(0x118)),chalk=require(a4_0x3701ec(0x11d));function printCucumberStats(_0x253582){const _0xafe5=a4_0x3701ec,_0x495bf2={};_0x495bf2[_0xafe5(0x130)]=function(_0xde3844,_0x4205bc){return _0xde3844>_0x4205bc;},_0x495bf2[_0xafe5(0xe6)]=function(_0x1f59fa,_0x4af336){return _0x1f59fa-_0x4af336;},_0x495bf2[_0xafe5(0x10c)]=function(_0x5ade85,_0x245cce){return _0x5ade85-_0x245cce;},_0x495bf2['xsuzf']=function(_0xa6c269,_0x43b1fa){return _0xa6c269>_0x43b1fa;},_0x495bf2[_0xafe5(0x10b)]=function(_0x2a9be3,_0x292d0a){return _0x2a9be3>_0x292d0a;},_0x495bf2[_0xafe5(0x115)]=function(_0x50932a,_0x3036ac){return _0x50932a>_0x3036ac;},_0x495bf2[_0xafe5(0x133)]=function(_0x5a616a,_0x134c7a){return _0x5a616a>_0x134c7a;},_0x495bf2[_0xafe5(0x126)]=function(_0x2c46da,_0x1fe22a){return _0x2c46da>_0x1fe22a;},_0x495bf2[_0xafe5(0x12c)]=function(_0x1bb816,_0x50a751){return _0x1bb816+_0x50a751;},_0x495bf2[_0xafe5(0xf5)]=function(_0x15e22c,_0x453c65){return _0x15e22c+_0x453c65;},_0x495bf2[_0xafe5(0x137)]=function(_0x1def07,_0x3c05c4){return _0x1def07+_0x3c05c4;},_0x495bf2[_0xafe5(0xee)]=function(_0xcb1811,_0x4f5296){return _0xcb1811===_0x4f5296;},_0x495bf2['aRHQg']=_0xafe5(0x11c);const _0x5236cd=_0x495bf2;let _0x12eb3a=0x0;if(_0x5236cd[_0xafe5(0xee)](_0x253582['length'],0x0))return _0x12eb3a;return console['log'](chalk[_0xafe5(0x131)][_0xafe5(0x13a)](_0x5236cd['aRHQg'])),_0x253582[_0xafe5(0xe4)](_0x1fcf92=>{const _0x5b1a2e=_0xafe5,_0x3f4da7=_0x1fcf92[0x0],_0x5e746b=_0x1fcf92[0x1];console[_0x5b1a2e(0x111)]('\x0a'+chalk[_0x5b1a2e(0x131)][_0x5b1a2e(0x12a)](''+helper['getPlatformName'](_0x3f4da7)));const _0x2b7668=_0x5e746b[_0x5b1a2e(0xf9)],_0x4b1572=_0x5e746b['steps'],_0xdd47f3=_0x5e746b[_0x5b1a2e(0x109)],_0x94a774=_0x5e746b[_0x5b1a2e(0x12e)],_0x4253b4=_0x5e746b[_0x5b1a2e(0x13b)],_0x3b552d=_0x5e746b[_0x5b1a2e(0xf1)],_0x30c911=_0x5e746b[_0x5b1a2e(0x108)],_0x3b5586=_0x5e746b[_0x5b1a2e(0x125)],_0x1d52eb=_0x5e746b[_0x5b1a2e(0x10f)],_0xfd0115=_0x5e746b['stepsAmbiguous'],_0x25f8f3=_0x5e746b[_0x5b1a2e(0xff)];let _0x2bacfb=_0x2b7668+_0x5b1a2e(0x132);const _0x4dc788=_0x5236cd[_0x5b1a2e(0x130)](_0x5236cd['yGiFJ'](_0x2b7668,_0xdd47f3),0x0)?_0x5236cd[_0x5b1a2e(0x10c)](_0x2b7668,_0xdd47f3):0x0;if(_0x5236cd[_0x5b1a2e(0x130)](_0xdd47f3,0x0)&&_0x5236cd[_0x5b1a2e(0x129)](_0x4dc788,0x0))_0x2bacfb+='\x20('+chalk[_0x5b1a2e(0x131)][_0x5b1a2e(0xef)](_0xdd47f3+_0x5b1a2e(0x10a))+',\x20'+chalk[_0x5b1a2e(0x131)][_0x5b1a2e(0x128)](_0x4dc788+'\x20passed')+')';else(_0x5236cd['GNxig'](_0xdd47f3,0x0)||_0x5236cd[_0x5b1a2e(0x10b)](_0x4dc788,0x0))&&(_0x2bacfb+=_0x5236cd[_0x5b1a2e(0x130)](_0xdd47f3,0x0)?'\x20('+chalk[_0x5b1a2e(0x131)][_0x5b1a2e(0xef)](_0xdd47f3+_0x5b1a2e(0x10a))+')':'\x20('+chalk[_0x5b1a2e(0x131)]['green'](_0x4dc788+_0x5b1a2e(0x10e))+')');const _0xea4f54=_0x4b1572+_0x5b1a2e(0x120),_0x4df06a=[];_0x5236cd[_0x5b1a2e(0x129)](_0xfd0115,0x0)&&_0x4df06a[_0x5b1a2e(0xf2)](''+chalk['bold'][_0x5b1a2e(0xef)](_0xfd0115+_0x5b1a2e(0x11b)));_0x5236cd['njTCB'](_0x94a774,0x0)&&_0x4df06a[_0x5b1a2e(0xf2)](''+chalk[_0x5b1a2e(0x131)]['red'](_0x94a774+_0x5b1a2e(0x10a)));_0x5236cd[_0x5b1a2e(0x133)](_0x4253b4,0x0)&&_0x4df06a[_0x5b1a2e(0xf2)](''+chalk[_0x5b1a2e(0x131)][_0x5b1a2e(0x128)](_0x4253b4+_0x5b1a2e(0x10e)));_0x5236cd['GNxig'](_0x30c911,0x0)&&_0x4df06a[_0x5b1a2e(0xf2)](''+chalk[_0x5b1a2e(0x131)]['yellow'](_0x30c911+'\x20pending'));_0x5236cd['gFcfr'](_0x3b552d,0x0)&&_0x4df06a['push'](''+chalk[_0x5b1a2e(0x131)][_0x5b1a2e(0x106)](_0x3b552d+'\x20skipped'));_0x5236cd['GNxig'](_0x3b5586,0x0)&&_0x4df06a[_0x5b1a2e(0xf2)](''+chalk['bold']['yellow'](_0x3b5586+_0x5b1a2e(0xf6)));_0x5236cd[_0x5b1a2e(0x129)](_0x1d52eb,0x0)&&_0x4df06a[_0x5b1a2e(0xf2)](''+chalk[_0x5b1a2e(0x131)]['yellow'](_0x1d52eb+_0x5b1a2e(0x114)));const _0x4ae036=_0x5236cd[_0x5b1a2e(0x12c)](_0x5236cd[_0x5b1a2e(0xf5)](_0x5236cd[_0x5b1a2e(0xf5)](_0xea4f54,'('),_0x4df06a[_0x5b1a2e(0x127)](',\x20')),')');console[_0x5b1a2e(0x111)](_0x5236cd[_0x5b1a2e(0x137)](_0x5236cd[_0x5b1a2e(0xf5)](_0x5236cd[_0x5b1a2e(0xf5)](_0x5236cd[_0x5b1a2e(0x12c)]('\x0a',_0x2bacfb),'\x0a'),_0x4ae036),'\x0a')),_0x5236cd[_0x5b1a2e(0xee)](_0x25f8f3,![])&&(_0x12eb3a=0x1);}),_0x12eb3a;}function a4_0x177d(_0x54c23b,_0x24990f){const _0x323dcf=a4_0x323d();return a4_0x177d=function(_0x177d36,_0x41b5ff){_0x177d36=_0x177d36-0xe1;let _0x24db1d=_0x323dcf[_0x177d36];return _0x24db1d;},a4_0x177d(_0x54c23b,_0x24990f);}async function run(_0x5bed69,_0x5a8018){const _0x407e91=a4_0x3701ec,_0x487028={'dwTxO':'cucumber','mbhZh':function(_0x1d2c08,_0x373da3){return _0x1d2c08(_0x373da3);},'dczJM':function(_0x19f41c,_0x376b1e){return _0x19f41c>_0x376b1e;},'hNeZI':_0x407e91(0x123),'fJQWt':_0x407e91(0xeb),'RmTxK':_0x407e91(0xf4),'djzNQ':'tmp','cYpkq':function(_0x3be419,_0x1cf0cd){return _0x3be419-_0x1cf0cd;},'SPlAx':function(_0x3211a1,_0x50b34e){return _0x3211a1>=_0x50b34e;},'auJhk':function(_0x339698,_0x1e0c82,_0x4df199,_0x593d0f,_0x106f32,_0x31753c){return _0x339698(_0x1e0c82,_0x4df199,_0x593d0f,_0x106f32,_0x31753c);}},_0x37a62e=new BrowserStackSetup(_0x5bed69,_0x487028[_0x407e91(0xfa)]);await _0x37a62e[_0x407e91(0x117)](),await helper[_0x407e91(0x11e)](_0x37a62e[_0x407e91(0x122)]);const _0x362cdc=[];if(!_0x37a62e[_0x407e91(0x122)])return;const _0x4013af=_0x37a62e[_0x407e91(0x122)][_0x407e91(0x11a)],_0x223bb0=helper[_0x407e91(0xe3)](_0x37a62e['config']);_0x37a62e[_0x407e91(0x122)][_0x407e91(0x138)][_0x407e91(0xe4)]((_0x111a41,_0x53bb4a)=>{const _0xc55783=_0x407e91;_0x223bb0?_0x362cdc[_0xc55783(0xf2)](helper[_0xc55783(0xe5)](_0x37a62e[_0xc55783(0x122)],_0x487028[_0xc55783(0xec)],_0x53bb4a)):_0x362cdc[_0xc55783(0xf2)](helper[_0xc55783(0xf7)](_0x37a62e[_0xc55783(0x122)],_0x487028[_0xc55783(0xec)],_0x53bb4a));});const _0x32c6cd={'server':helper[_0x407e91(0xfb)](_0x37a62e['config']),'proxySettings':_0x37a62e['config']['proxySettings'],'maxWorkers':_0x4013af,'browserStackLogLevel':_0x37a62e[_0x407e91(0x122)][_0x407e91(0xea)],'skipSessionName':_0x37a62e['config']['testContextOptions'][_0x407e91(0xe2)],'skipSessionStatus':_0x37a62e[_0x407e91(0x122)][_0x407e91(0x12b)]['skipSessionStatus'],'turboScaleUrl':_0x37a62e[_0x407e91(0x122)]['turboScaleUrl']},_0x3a17e9=process['argv'],[_0x3a9dbb,_0x5397d0]=helper['parseFormatters'](_0x3a17e9),_0x42d4b4=path[_0x407e91(0x127)](process[_0x407e91(0x107)](),_0x487028[_0x407e91(0xfe)]);if(_0x487028[_0x407e91(0x11f)](_0x5397d0[_0x407e91(0xe1)],0x0)){helper[_0x407e91(0x105)](_0x42d4b4);for(let _0x4fb579=_0x487028[_0x407e91(0xe7)](_0x3a9dbb[_0x407e91(0xe1)],0x1);_0x487028[_0x407e91(0xe8)](_0x4fb579,0x0);_0x4fb579--){_0x3a17e9[_0x407e91(0xf3)](_0x3a9dbb[_0x4fb579],0x2);}}helper['markSDKSetupComplete']();let _0x1664cb;_0x487028[_0x407e91(0x112)](parallelCucumberRun,_0x362cdc,_0x32c6cd,_0x37a62e['config'],_0x3a17e9,_0x5397d0)[_0x407e91(0xed)](async _0x2fba28=>{const _0x95f2a6=_0x407e91;_0x1664cb=_0x2fba28;const _0x1a0d30=_0x487028[_0x95f2a6(0x116)](printCucumberStats,_0x2fba28);process[_0x95f2a6(0x121)]=_0x1a0d30,_0x487028[_0x95f2a6(0x11f)](_0x5397d0[_0x95f2a6(0xe1)],0x0)&&(logger[_0x95f2a6(0x10d)](_0x487028[_0x95f2a6(0x102)]),helper[_0x95f2a6(0x103)](_0x42d4b4,_0x5397d0),logger[_0x95f2a6(0x10d)](_0x487028['fJQWt']),helper['removeDir'](_0x42d4b4));})[_0x407e91(0xf8)](async()=>{const _0x3c4079=_0x407e91;_0x37a62e[_0x3c4079(0x110)]=helper[_0x3c4079(0x119)](_0x1664cb,_0x487028[_0x3c4079(0xec)]),await helper[_0x3c4079(0x139)](_0x37a62e);});}module[a4_0x3701ec(0x101)]=run;function a4_0x323d(){const _0x227aed=['cucumber-js','CzjmX','\x20undefined','modifyBrowserStackCaps','finally','scenarios','RmTxK','getHubUrl','8eLzrMK','1190409VdLIOt','djzNQ','processSuccess','485xZfNrW','exports','hNeZI','mergeOutputFiles','3996NhqwsT','createDir','cyan','cwd','stepsPending','scenariosFailed','\x20failed','GNxig','bOUnP','debug','\x20passed','stepsUnknown','errorMessage','log','auJhk','44598pRtHsK','\x20skipped','njTCB','mbhZh','initialize','../test-runner','getErrorMessageFromResults','parallelsPerPlatform','\x20ambiguous','****\x20RESULTS\x20****','chalk','handleApp','dczJM','\x20steps','exitCode','config','Generating\x20consolidated\x20report...','../utils/constants','stepsUndefined','gFcfr','join','green','xsuzf','yellow','testContextOptions','wzoYq','path','stepsFailed','2491937hjxezV','MHpNB','bold','\x20scenarios','LLeJO','567009MYutsU','../../helpers/BrowserStackSetup','../../helpers/logger','PnlIc','platforms','finalExecution','bgWhite','stepsPassed','1475674aXRHOF','length','skipSessionName','useW3C','forEach','modifyBrowserStackW3CCaps','yGiFJ','cYpkq','SPlAx','735360cjWnWK','logLevel','Removing\x20tmp\x20directory\x20created\x20for\x20reports','dwTxO','then','zMMdE','red','13232dVyCGt','stepsSkipped','push','splice'];a4_0x323d=function(){return _0x227aed;};return a4_0x323d();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a5_0x26d589=a5_0x2eaa;(function(_0x54cea1,_0x3d0f3f){const _0x2c604e=a5_0x2eaa,_0x3bcb47=_0x54cea1();while(!![]){try{const _0x90c29d=-parseInt(_0x2c604e(0x119))/0x1+parseInt(_0x2c604e(0x116))/0x2*(parseInt(_0x2c604e(0x121))/0x3)+-parseInt(_0x2c604e(0x13e))/0x4*(-parseInt(_0x2c604e(0x12d))/0x5)+-parseInt(_0x2c604e(0x142))/0x6+parseInt(_0x2c604e(0x147))/0x7+parseInt(_0x2c604e(0x139))/0x8+parseInt(_0x2c604e(0x132))/0x9;if(_0x90c29d===_0x3d0f3f)break;else _0x3bcb47['push'](_0x3bcb47['shift']());}catch(_0x4d10){_0x3bcb47['push'](_0x3bcb47['shift']());}}}(a5_0xd056,0x460bf));const {requireModule,getPlatformName,nestedKeyValue}=require('../../../helpers/helper'),{Formatter,formatterHelpers,Status}=requireModule(a5_0x26d589(0x129));function a5_0x2eaa(_0x485e91,_0x5c62dc){const _0xd05642=a5_0xd056();return a5_0x2eaa=function(_0x2eaa10,_0x22cfd9){_0x2eaa10=_0x2eaa10-0x108;let _0xb105db=_0xd05642[_0x2eaa10];return _0xb105db;},a5_0x2eaa(_0x485e91,_0x5c62dc);}class BrowserstackFormatter extends Formatter{constructor(_0x234c5d){const _0x31b0e8=a5_0x26d589,_0x583107={'NOaCK':function(_0x75e6b6,_0x4166c4){return _0x75e6b6!==_0x4166c4;},'fHEfR':function(_0x276227,_0x3a3501){return _0x276227!==_0x3a3501;},'vskeV':function(_0x164fbd,_0x351366){return _0x164fbd(_0x351366);},'bBtEg':function(_0x4120ff,_0x33d4b9){return _0x4120ff+_0x33d4b9;},'xaCgI':_0x31b0e8(0x133)};super(_0x234c5d),_0x234c5d[_0x31b0e8(0x11d)]['on'](_0x583107['xaCgI'],_0x1e410c=>{const _0x20ad15=_0x31b0e8;if(_0x1e410c['testCaseStarted'])testSuites+=0x1;else{if(_0x1e410c[_0x20ad15(0x12f)]){let _0x5ef404;if(_0x583107[_0x20ad15(0x13c)](process[_0x20ad15(0x12a)]['CONFIG'],undefined)){const _0x4d5b8a=JSON[_0x20ad15(0x11b)](process[_0x20ad15(0x12a)][_0x20ad15(0x12c)]);_0x5ef404=_0x4d5b8a[_0x20ad15(0x12b)];}_0x583107['fHEfR'](_0x5ef404,undefined)&&(global[_0x20ad15(0x14a)]=_0x583107[_0x20ad15(0x10d)](getPlatformName,_0x5ef404),this[_0x20ad15(0x117)](_0x583107[_0x20ad15(0x118)](_0x20ad15(0x130)+global['__platform'],'\x0a')));}else{if(_0x1e410c[_0x20ad15(0x120)])this['logTestCaseFinished'](_0x1e410c[_0x20ad15(0x120)]);else _0x1e410c[_0x20ad15(0x148)]&&this['logTestRunFinished'](_0x1e410c[_0x20ad15(0x148)]);}}});}[a5_0x26d589(0x123)](_0x26ef2c){const _0x5745ca=a5_0x26d589,_0x167ab4={'wSRDs':function(_0x1f2297,_0x360710){return _0x1f2297!==_0x360710;},'OFuLq':_0x5745ca(0x128),'UxCIf':function(_0x394978,_0x54859e){return _0x394978+_0x54859e;},'prILo':function(_0x23771f,_0x583d53){return _0x23771f+_0x583d53;},'BbwUb':'\x20\x20\x20\x20','rPTCo':_0x5745ca(0x14c),'vwhEU':function(_0x3413b0,_0x497582){return _0x3413b0===_0x497582;},'ykBxh':'FAILED','DhZgY':function(_0x58eabb,_0x14c2fb,_0x49fe5a){return _0x58eabb(_0x14c2fb,_0x49fe5a);},'ZSOeK':_0x5745ca(0x131),'jAshG':_0x5745ca(0x13a),'cTHhM':function(_0x3daed9,_0x4da041){return _0x3daed9+_0x4da041;},'Zodig':function(_0x5115b4,_0x30a461){return _0x5115b4!==_0x30a461;},'ypsaV':function(_0x482714,_0x38c021){return _0x482714+_0x38c021;},'MhRDK':function(_0x1f7e8d,_0xb41253){return _0x1f7e8d+_0xb41253;},'Wgybk':function(_0x1d0684,_0x64bd0){return _0x1d0684+_0x64bd0;},'TQGNM':function(_0x518136,_0xb2e230){return _0x518136+_0xb2e230;}};_0x167ab4[_0x5745ca(0x126)](global[_0x5745ca(0x14a)],undefined)&&this[_0x5745ca(0x117)](_0x167ab4[_0x5745ca(0x14e)](_0x167ab4[_0x5745ca(0x14f)]('\x0a',global[_0x5745ca(0x14a)]),'\x0a'));const _0x359ed5=this[_0x5745ca(0x146)]['getTestCaseAttempt'](_0x26ef2c['testCaseStartedId']);this[_0x5745ca(0x117)](_0x167ab4[_0x5745ca(0x10b)](_0x167ab4[_0x5745ca(0x134)](_0x167ab4[_0x5745ca(0x10b)](_0x167ab4['TQGNM']('\x20\x20',_0x359ed5['gherkinDocument'][_0x5745ca(0x11a)][_0x5745ca(0x10c)]),_0x167ab4[_0x5745ca(0x11c)]),_0x359ed5[_0x5745ca(0x108)]['name']),'\x0a'));const _0x3ebe2a={};_0x3ebe2a['cwd']=this[_0x5745ca(0x151)],_0x3ebe2a[_0x5745ca(0x11f)]=this[_0x5745ca(0x11f)],_0x3ebe2a[_0x5745ca(0x12e)]=this[_0x5745ca(0x12e)],_0x3ebe2a['testCaseAttempt']=_0x359ed5;const _0xd34f68=formatterHelpers['parseTestCaseAttempt'](_0x3ebe2a);let _0x6ced10=![];_0xd34f68['testSteps'][_0x5745ca(0x114)](_0x2cd8be=>{const _0x183731=_0x5745ca;if(_0x167ab4['wSRDs'](_0x2cd8be[_0x183731(0x10c)],_0x167ab4[_0x183731(0x149)])&&!this[_0x183731(0x125)](_0x2cd8be)){totalTests+=0x1,this[_0x183731(0x117)](_0x167ab4[_0x183731(0x115)](_0x167ab4[_0x183731(0x14e)](_0x167ab4[_0x183731(0x115)](_0x167ab4[_0x183731(0x14e)](_0x167ab4['UxCIf'](_0x167ab4[_0x183731(0x152)],_0x2cd8be['keyword']),_0x2cd8be[_0x183731(0x110)]||''),_0x167ab4[_0x183731(0x11c)]),Status[_0x2cd8be[_0x183731(0x131)]['status']]),'\x0a')),this['incrementCounter'](Status[_0x2cd8be[_0x183731(0x131)][_0x183731(0x13b)]]);if(_0x167ab4[_0x183731(0x140)](Status[_0x2cd8be['result'][_0x183731(0x13b)]],_0x167ab4[_0x183731(0x112)])){_0x6ced10=!![];const _0x3e08e3=_0x167ab4[_0x183731(0x150)](nestedKeyValue,_0x2cd8be,[_0x167ab4[_0x183731(0x10a)],_0x167ab4['jAshG']]);_0x3e08e3&&(testsErrorMessage[_0x167ab4[_0x183731(0x115)](_0x167ab4[_0x183731(0x10e)](_0x359ed5['gherkinDocument'][_0x183731(0x11a)][_0x183731(0x10c)],_0x167ab4[_0x183731(0x11c)]),_0x359ed5['pickle'][_0x183731(0x10c)])]=_0x3e08e3,this[_0x183731(0x117)](_0x167ab4['cTHhM'](_0x3e08e3,'\x0a')));}}}),_0x6ced10&&(testSuitesFailed+=0x1),this[_0x5745ca(0x117)]('\x0a');}[a5_0x26d589(0x14b)](_0x256e8d){}[a5_0x26d589(0x125)](_0x2f3af4){const _0xacda8d=a5_0x26d589,_0x2f757b={};_0x2f757b[_0xacda8d(0x141)]=function(_0x2a30f3,_0x39dddb){return _0x2a30f3!==_0x39dddb;},_0x2f757b['sqCba']=_0xacda8d(0x13d);const _0x100c2b=_0x2f757b;if(_0x100c2b['LefXd'](_0x2f3af4[_0xacda8d(0x14d)],undefined))return![];if(_0x2f3af4[_0xacda8d(0x145)]&&_0x2f3af4[_0xacda8d(0x145)][_0xacda8d(0x135)][_0xacda8d(0x109)](_0x100c2b[_0xacda8d(0x143)]))return!![];return![];}['incrementCounter'](_0x15a4c9){const _0x76ff16=a5_0x26d589,_0x4332d3={};_0x4332d3[_0x76ff16(0x144)]=_0x76ff16(0x122),_0x4332d3[_0x76ff16(0x136)]=_0x76ff16(0x138),_0x4332d3[_0x76ff16(0x127)]='SKIPPED',_0x4332d3[_0x76ff16(0x113)]='PENDING',_0x4332d3[_0x76ff16(0x124)]=_0x76ff16(0x10f),_0x4332d3[_0x76ff16(0x13f)]=_0x76ff16(0x153),_0x4332d3[_0x76ff16(0x111)]=_0x76ff16(0x137);const _0x1a7fe6=_0x4332d3;switch(_0x15a4c9){case _0x1a7fe6[_0x76ff16(0x144)]:testsFailed+=0x1;break;case _0x1a7fe6[_0x76ff16(0x136)]:testsPassed+=0x1;break;case _0x1a7fe6[_0x76ff16(0x127)]:testsSkipped+=0x1;break;case _0x1a7fe6[_0x76ff16(0x113)]:testsPending+=0x1;break;case _0x1a7fe6[_0x76ff16(0x124)]:testsUndefined+=0x1;break;case _0x1a7fe6[_0x76ff16(0x13f)]:testsUnknown+=0x1;break;case _0x1a7fe6[_0x76ff16(0x111)]:testsAmbiguous+=0x1;break;default:break;}}}module[a5_0x26d589(0x11e)]=BrowserstackFormatter;function a5_0xd056(){const _0x27cd72=['LefXd','3282306WVvOYI','sqCba','HarNz','actionLocation','eventDataCollector','1200262KTaknu','testRunFinished','OFuLq','__platform','logTestRunFinished','\x20-\x20','sourceLocation','prILo','ypsaV','DhZgY','cwd','BbwUb','UNKNOWN','pickle','includes','ZSOeK','MhRDK','name','vskeV','cTHhM','UNDEFINED','text','EOUUU','ykBxh','tgxuO','forEach','UxCIf','41812cvDTCU','log','bBtEg','503709pzvFPh','feature','parse','rPTCo','eventBroadcaster','exports','snippetBuilder','testCaseFinished','57qVxHiT','FAILED','logTestCaseFinished','OLSKH','isBstackHook','Zodig','WxDmy','bstack','@cucumber/cucumber','env','capability','CONFIG','1702495xcJIOQ','supportCodeLibrary','testRunStarted','Executing\x20tests\x20for\x20','result','1067058sqEtTa','envelope','Wgybk','uri','imBfn','AMBIGUOUS','PASSED','2479440uFfUwc','message','status','NOaCK','cucumber-js/test.setup.js','4iMChcS','uSkpj','vwhEU'];a5_0xd056=function(){return _0x27cd72;};return a5_0xd056();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a6_0x1fb8(){const _0x4b8778=['qKVNj','kOUdO','\x20\x20\x20\x20','HkUAu','hNJov','jfSXf','actionLocation','exception','tWtTp','pFyfe','getTestCaseAttempt','SeShU','feature','PENDING','cOqFc','ffWxG','hueNi','CONFIG','cucumber','line','MdzoV','MpqRP','290nBTNWw','capability','mEuXF','getTestCaseData','steps','TiCFx','vyoiK','2112506mLUATy','YkPZn','../../../helpers/helper','test-run-finished','__platform','undefined','14ZzfgYo','test-run-started','vwYJH','yUQJW','eventBroadcaster','SVKIB','8lekwDO','logTestCaseFinished','sourceLocation','stepResults','pDuhX','forEach','3101142kIgPzb','\x20\x20\x20\x20AFTER\x20-\x20','dpPqj','UNDEFINED','FAILED','scilF','615501ztLNiv','tbCGt','\x20\x20\x20\x20BEFORE\x20-\x20','11772100jystJS','UNKNOWN','log','Xkrtt','parse','AMBIGUOUS','cMWgW','getStepLineToPickledStepMap','TBMyJ','13197357sJWyzj','jRXyA','pickle','gherkinDocument','cucumber/lib/formatter/helpers/pickle_parser.js','includes','result','zSiwE','ntzXs','toUpperCase','length','status','Executing\x20tests\x20for\x20','eventDataCollector','env','testCase','test-case-finished','zfOmc','RILcL','KYJae','EtLfK','stack','YlhNi','text','QoOlz','phrdc','PASSED','cucumber-js/test_old.setup.js','ZWvXU','3627339vJncCN','name','uri','exports','oJEfT','4984qgoCyq'];a6_0x1fb8=function(){return _0x4b8778;};return a6_0x1fb8();}const a6_0x59f2bc=a6_0xc701;(function(_0x12ac73,_0x57f421){const _0x3c450c=a6_0xc701,_0x477a1f=_0x12ac73();while(!![]){try{const _0x60aace=-parseInt(_0x3c450c(0xeb))/0x1+-parseInt(_0x3c450c(0x137))/0x2+parseInt(_0x3c450c(0x114))/0x3+parseInt(_0x3c450c(0x119))/0x4*(-parseInt(_0x3c450c(0x130))/0x5)+-parseInt(_0x3c450c(0xe5))/0x6*(-parseInt(_0x3c450c(0x13d))/0x7)+-parseInt(_0x3c450c(0xdf))/0x8*(-parseInt(_0x3c450c(0xf7))/0x9)+-parseInt(_0x3c450c(0xee))/0xa;if(_0x60aace===_0x57f421)break;else _0x477a1f['push'](_0x477a1f['shift']());}catch(_0x8a1294){_0x477a1f['push'](_0x477a1f['shift']());}}}(a6_0x1fb8,0xc0600));function a6_0xc701(_0x5d8008,_0xafab67){const _0x1fb8bc=a6_0x1fb8();return a6_0xc701=function(_0xc70176,_0x38a037){_0xc70176=_0xc70176-0xdb;let _0xfd8e91=_0x1fb8bc[_0xc70176];return _0xfd8e91;},a6_0xc701(_0x5d8008,_0xafab67);}const {requireModule,getPlatformName,nestedKeyValue}=require(a6_0x59f2bc(0x139)),{Formatter}=requireModule(a6_0x59f2bc(0x12c)),pickleParser=requireModule(a6_0x59f2bc(0xfb));class BrowserstackFormatter extends Formatter{constructor(_0xe9e01c){const _0x556a14=a6_0x59f2bc,_0x59b525={'HkUAu':function(_0x28fa4e,_0x3435b5){return _0x28fa4e!==_0x3435b5;},'tWtTp':function(_0x227414,_0x16f5a9){return _0x227414!==_0x16f5a9;},'SVKIB':function(_0xf4d83e,_0x50df16){return _0xf4d83e(_0x50df16);},'vyoiK':_0x556a14(0x13e),'oJEfT':'test-case-started','phrdc':_0x556a14(0x107),'zfOmc':_0x556a14(0x13a),'dpPqj':'test-step-started'};super(_0xe9e01c),_0xe9e01c[_0x556a14(0xdd)]['on'](_0x59b525[_0x556a14(0x136)],()=>{const _0x220871=_0x556a14;let _0x2919d7;if(_0x59b525[_0x220871(0x11d)](process[_0x220871(0x105)][_0x220871(0x12b)],undefined)){const _0x2062e8=JSON[_0x220871(0xf2)](process['env'][_0x220871(0x12b)]);_0x2919d7=_0x2062e8[_0x220871(0x131)];}_0x59b525[_0x220871(0x122)](_0x2919d7,undefined)&&(global[_0x220871(0x13b)]=_0x59b525[_0x220871(0xde)](getPlatformName,_0x2919d7),console[_0x220871(0xf0)](_0x220871(0x103)+global['__platform']));}),_0xe9e01c[_0x556a14(0xdd)]['on'](_0x59b525[_0x556a14(0x118)],()=>{testSuites+=0x1;}),_0xe9e01c[_0x556a14(0xdd)]['on'](_0x59b525[_0x556a14(0x110)],_0x586af7=>{this['logTestCaseFinished'](_0x586af7);}),_0xe9e01c['eventBroadcaster']['on'](_0x59b525[_0x556a14(0x108)],()=>{totalTests-=0x2;}),_0xe9e01c['eventBroadcaster']['on'](_0x59b525[_0x556a14(0xe7)],()=>{totalTests+=0x1;});}[a6_0x59f2bc(0xe0)](_0x4c1ddd){const _0xd842d9=a6_0x59f2bc,_0x13ffb8={'YkPZn':_0xd842d9(0xe9),'qKVNj':_0xd842d9(0x111),'KmcWC':'SKIPPED','BcWaP':_0xd842d9(0x127),'cMWgW':_0xd842d9(0xe8),'FIpiL':_0xd842d9(0xef),'zSiwE':_0xd842d9(0xf3),'kOUdO':function(_0x33f50e,_0x228d18){return _0x33f50e+_0x228d18;},'vwYJH':_0xd842d9(0x11c),'KYJae':'\x20-\x20','RILcL':function(_0x4ba560,_0x563dfb){return _0x4ba560(_0x563dfb);},'ffWxG':_0xd842d9(0x112),'EtLfK':function(_0x16a02d,_0x29768b){return _0x16a02d(_0x29768b);},'cOqFc':_0xd842d9(0xe6),'scilF':_0xd842d9(0xed),'ntzXs':function(_0x57baef,_0x22bb5f){return _0x57baef===_0x22bb5f;},'MpqRP':function(_0x531319,_0x35eb0a,_0x39c46d){return _0x531319(_0x35eb0a,_0x39c46d);},'hNJov':'result','hueNi':_0xd842d9(0x121),'YlhNi':_0xd842d9(0x10c),'vXoSF':function(_0x11cb76,_0x5a4e9a){return _0x11cb76+_0x5a4e9a;},'tbCGt':function(_0x1d08ce,_0x540838){return _0x1d08ce!==_0x540838;},'pFyfe':function(_0x333f96,_0x3afab5){return _0x333f96+_0x3afab5;},'MdzoV':function(_0x15ca69,_0x28216b){return _0x15ca69+_0x28216b;},'jfSXf':function(_0x2e5249,_0x3691ad){return _0x2e5249!==_0x3691ad;},'ZWvXU':_0xd842d9(0x13c),'SeShU':function(_0x4e58c8,_0x478332){return _0x4e58c8+_0x478332;},'mEuXF':function(_0x36b6a,_0x2c7f44){return _0x36b6a+_0x2c7f44;},'yUQJW':function(_0x386e53,_0x3ce274){return _0x386e53<_0x3ce274;},'jRXyA':function(_0x15b3a4,_0x1b291d){return _0x15b3a4+_0x1b291d;},'pDuhX':function(_0x8abc02,_0x2e4c45){return _0x8abc02+_0x2e4c45;},'Xkrtt':function(_0x36a354,_0x11f536){return _0x36a354(_0x11f536);},'QoOlz':function(_0x359e62,_0x249969,_0x15e6fe){return _0x359e62(_0x249969,_0x15e6fe);},'TiCFx':function(_0x4e7f51,_0x459c5c){return _0x4e7f51+_0x459c5c;},'TBMyJ':function(_0x4beb04,_0xc70ff1){return _0x4beb04+_0xc70ff1;}};let _0x3f4b7a=![];function _0x513b8a(_0x529c0a){const _0xf76f8d=_0xd842d9;switch(_0x529c0a){case _0x13ffb8[_0xf76f8d(0x138)]:testsFailed+=0x1;break;case _0x13ffb8[_0xf76f8d(0x11a)]:testsPassed+=0x1;break;case _0x13ffb8['KmcWC']:testsSkipped+=0x1;break;case _0x13ffb8['BcWaP']:testsPending+=0x1;break;case _0x13ffb8[_0xf76f8d(0xf4)]:testsUndefined+=0x1;break;case _0x13ffb8['FIpiL']:testsUnknown+=0x1;break;case _0x13ffb8[_0xf76f8d(0xfe)]:testsAmbiguous+=0x1;break;default:break;}}_0x13ffb8[_0xd842d9(0xec)](global[_0xd842d9(0x13b)],undefined)&&console['log'](_0x13ffb8[_0xd842d9(0x123)](_0x13ffb8[_0xd842d9(0x12e)]('\x0a',global['__platform']),'\x0a'));let _0x292149=![];if(_0x13ffb8[_0xd842d9(0x11f)](typeof this[_0xd842d9(0x104)]['getTestCaseData'],_0x13ffb8[_0xd842d9(0x113)])){var _0x566e64=this['eventDataCollector'][_0xd842d9(0x133)](_0x4c1ddd[_0xd842d9(0xe1)]),_0x1595b3=_0x566e64[_0xd842d9(0xf9)],_0x457408=_0x566e64[_0xd842d9(0x106)];console[_0xd842d9(0xf0)](_0x13ffb8['kOUdO']('\x20\x20',_0x1595b3[_0xd842d9(0x115)]));var _0x3ac8f7=(0x0,pickleParser[_0xd842d9(0xf5)])(_0x1595b3);_0x457408[_0xd842d9(0x134)][_0xd842d9(0xe4)](function(_0x59fa07){const _0x57e815=_0xd842d9;if(_0x59fa07[_0x57e815(0x120)]&&_0x59fa07['sourceLocation'])_0x3f4b7a=!![],console[_0x57e815(0xf0)](_0x13ffb8['kOUdO'](_0x13ffb8[_0x57e815(0x11b)](_0x13ffb8[_0x57e815(0x11b)](_0x13ffb8['vwYJH'],_0x3ac8f7[_0x59fa07[_0x57e815(0xe1)][_0x57e815(0x12d)]][_0x57e815(0x10e)]),_0x13ffb8[_0x57e815(0x10a)]),_0x59fa07[_0x57e815(0xfd)][_0x57e815(0x102)][_0x57e815(0x100)]())),_0x13ffb8[_0x57e815(0x109)](_0x513b8a,_0x59fa07[_0x57e815(0xfd)]['status']['toUpperCase']());else _0x59fa07[_0x57e815(0x120)]&&(!_0x59fa07[_0x57e815(0x120)]['uri'][_0x57e815(0xfc)](_0x13ffb8[_0x57e815(0x129)])&&(_0x13ffb8[_0x57e815(0x10b)](_0x513b8a,_0x59fa07[_0x57e815(0xfd)][_0x57e815(0x102)][_0x57e815(0x100)]()),_0x3f4b7a?console[_0x57e815(0xf0)](_0x13ffb8[_0x57e815(0x11b)](_0x13ffb8[_0x57e815(0x128)],_0x59fa07[_0x57e815(0xfd)][_0x57e815(0x102)][_0x57e815(0x100)]())):console[_0x57e815(0xf0)](_0x13ffb8[_0x57e815(0x11b)](_0x13ffb8[_0x57e815(0xea)],_0x59fa07[_0x57e815(0xfd)][_0x57e815(0x102)][_0x57e815(0x100)]()))));if(_0x13ffb8['ntzXs'](_0x59fa07[_0x57e815(0xfd)][_0x57e815(0x102)][_0x57e815(0x100)](),_0x13ffb8[_0x57e815(0x138)])){const _0x573df5=_0x13ffb8[_0x57e815(0x12f)](nestedKeyValue,_0x59fa07,[_0x13ffb8[_0x57e815(0x11e)],_0x13ffb8[_0x57e815(0x12a)],_0x13ffb8['YlhNi']]);_0x573df5&&(testsErrorMessage[_0x1595b3[_0x57e815(0x115)]]=_0x573df5,console[_0x57e815(0xf0)](_0x13ffb8['vXoSF'](_0x573df5,'\x0a'))),_0x292149=!![];}});}else{const _0x1131ab=this['eventDataCollector'][_0xd842d9(0x124)](_0x4c1ddd);console['log'](_0x13ffb8[_0xd842d9(0x125)](_0x13ffb8['pFyfe'](_0x13ffb8[_0xd842d9(0x132)]('\x20\x20',_0x1131ab[_0xd842d9(0xfa)]['feature'][_0xd842d9(0x115)]),_0x13ffb8[_0xd842d9(0x10a)]),_0x1131ab[_0xd842d9(0xf9)][_0xd842d9(0x115)]));const _0x36a338=(0x0,pickleParser[_0xd842d9(0xf5)])(_0x1131ab[_0xd842d9(0xf9)]),_0x92007b=_0x1131ab[_0xd842d9(0x106)]['steps'],_0x50b76f=_0x1131ab[_0xd842d9(0xe2)],_0x170f61=_0x92007b[_0xd842d9(0x101)];for(let _0x5c6e99=0x0;_0x13ffb8[_0xd842d9(0xdc)](_0x5c6e99,_0x170f61);_0x5c6e99++){const _0x574774=_0x92007b[_0x5c6e99];if(_0x574774[_0xd842d9(0x120)]&&_0x574774[_0xd842d9(0xe1)])_0x3f4b7a=!![],console[_0xd842d9(0xf0)](_0x13ffb8[_0xd842d9(0x132)](_0x13ffb8[_0xd842d9(0xf8)](_0x13ffb8[_0xd842d9(0xe3)](_0x13ffb8[_0xd842d9(0xdb)],_0x36a338[_0x574774[_0xd842d9(0xe1)][_0xd842d9(0x12d)]][_0xd842d9(0x10e)]),_0x13ffb8[_0xd842d9(0x10a)]),_0x50b76f[_0x5c6e99][_0xd842d9(0x102)][_0xd842d9(0x100)]())),_0x13ffb8[_0xd842d9(0xf1)](_0x513b8a,_0x50b76f[_0x5c6e99][_0xd842d9(0x102)]['toUpperCase']());else _0x574774[_0xd842d9(0x120)]&&(!_0x574774[_0xd842d9(0x120)][_0xd842d9(0x116)][_0xd842d9(0xfc)](_0x13ffb8['ffWxG'])&&(_0x13ffb8[_0xd842d9(0xf1)](_0x513b8a,_0x50b76f[_0x5c6e99][_0xd842d9(0x102)][_0xd842d9(0x100)]()),_0x3f4b7a?console[_0xd842d9(0xf0)](_0x13ffb8[_0xd842d9(0x12e)](_0x13ffb8['cOqFc'],_0x50b76f[_0x5c6e99]['status'][_0xd842d9(0x100)]())):console[_0xd842d9(0xf0)](_0x13ffb8[_0xd842d9(0xf8)](_0x13ffb8[_0xd842d9(0xea)],_0x50b76f[_0x5c6e99][_0xd842d9(0x102)][_0xd842d9(0x100)]()))));if(_0x13ffb8[_0xd842d9(0xff)](_0x50b76f[_0x5c6e99][_0xd842d9(0x102)][_0xd842d9(0x100)](),_0x13ffb8[_0xd842d9(0x138)])){_0x292149=!![];const _0x4b12ba=_0x13ffb8[_0xd842d9(0x10f)](nestedKeyValue,_0x50b76f[_0x5c6e99],[_0x13ffb8['hueNi'],_0x13ffb8[_0xd842d9(0x10d)]]);_0x4b12ba&&(testsErrorMessage[_0x13ffb8[_0xd842d9(0x135)](_0x13ffb8[_0xd842d9(0xf6)](_0x1131ab[_0xd842d9(0xfa)][_0xd842d9(0x126)]['name'],_0x13ffb8[_0xd842d9(0x10a)]),_0x1131ab['pickle'][_0xd842d9(0x115)])]=_0x4b12ba,console[_0xd842d9(0xf0)](_0x13ffb8[_0xd842d9(0x132)](_0x4b12ba,'\x0a')));}}}_0x292149&&(testSuitesFailed+=0x1),console['log']('\x0a');}}module[a6_0x59f2bc(0x117)]=BrowserstackFormatter;
|
|
1
|
+
const a6_0x3ea3f3=a6_0x330d;function a6_0x330d(_0x5af99f,_0x3c49d5){const _0x741157=a6_0x7411();return a6_0x330d=function(_0x330dab,_0xe96441){_0x330dab=_0x330dab-0x7d;let _0x3dea54=_0x741157[_0x330dab];return _0x3dea54;},a6_0x330d(_0x5af99f,_0x3c49d5);}function a6_0x7411(){const _0x49b5c9=['2131REaNXF','stack','BgPJn','hUhMj','JkafA','status','includes','KdgrH','line','HUMHP','RTClv','ZecIH','toUpperCase','FAILED','eventDataCollector','42zqiUks','90SxJJhM','PASSED','LXgzH','UNKNOWN','HUVLt','name','stepResults','cucumber-js/test_old.setup.js','oSljs','1009115ppOaSp','Executing\x20tests\x20for\x20','2875832uXGugb','aebhK','936459VhBaRe','eventBroadcaster','wuWIq','1865454NEhyMR','test-step-started','actionLocation','aMTdB','VyJtR','gyLSA','parse','\x20\x20\x20\x20','text','xlYlT','result','FzfsC','256616QXiexM','CLqNT','pickle','WMGoD','test-case-started','../../../helpers/helper','UNDEFINED','AMBIGUOUS','cucumber/lib/formatter/helpers/pickle_parser.js','VCTZC','feature','HNNWe','yCNiN','getTestCaseData','exception','uDoCf','CONFIG','LStNy','PENDING','ZFxLR','getTestCaseAttempt','length','\x20-\x20','ngDpu','forEach','sourceLocation','testCase','logTestCaseFinished','steps','test-case-finished','QGBsx','JlyPV','bOqjE','844DwzfxL','env','getStepLineToPickledStepMap','FBcEC','rEXuV','SKIPPED','cucumber','LTLQH','520240EswOnh','uri','gherkinDocument','log','RRULy','test-run-finished','__platform','uyfTN'];a6_0x7411=function(){return _0x49b5c9;};return a6_0x7411();}(function(_0x1a9f51,_0xdc3a47){const _0x4ce240=a6_0x330d,_0x650d5=_0x1a9f51();while(!![]){try{const _0x523756=-parseInt(_0x4ce240(0xc2))/0x1*(parseInt(_0x4ce240(0xb2))/0x2)+-parseInt(_0x4ce240(0xd1))/0x3*(-parseInt(_0x4ce240(0x91))/0x4)+-parseInt(_0x4ce240(0x7e))/0x5+parseInt(_0x4ce240(0x85))/0x6+-parseInt(_0x4ce240(0xba))/0x7+-parseInt(_0x4ce240(0x80))/0x8+parseInt(_0x4ce240(0x82))/0x9*(parseInt(_0x4ce240(0xd2))/0xa);if(_0x523756===_0xdc3a47)break;else _0x650d5['push'](_0x650d5['shift']());}catch(_0x5c7a15){_0x650d5['push'](_0x650d5['shift']());}}}(a6_0x7411,0x9513c));const {requireModule,getPlatformName,nestedKeyValue}=require(a6_0x3ea3f3(0x96)),{Formatter}=requireModule(a6_0x3ea3f3(0xb8)),pickleParser=requireModule(a6_0x3ea3f3(0x99));class BrowserstackFormatter extends Formatter{constructor(_0x100b92){const _0x5cccb5=a6_0x3ea3f3,_0x245339={'ZFxLR':function(_0x24fd05,_0x4497fa){return _0x24fd05!==_0x4497fa;},'ngDpu':function(_0x240038,_0x36e02f){return _0x240038(_0x36e02f);},'wTixG':'test-run-started','gyLSA':_0x5cccb5(0x95),'BgPJn':_0x5cccb5(0xae),'lhZvB':_0x5cccb5(0xbf),'dNYvw':_0x5cccb5(0x86)};super(_0x100b92),_0x100b92[_0x5cccb5(0x83)]['on'](_0x245339['wTixG'],()=>{const _0x5f3782=_0x5cccb5;let _0x4cb336;if(_0x245339[_0x5f3782(0xa4)](process[_0x5f3782(0xb3)][_0x5f3782(0xa1)],undefined)){const _0x1d885d=JSON[_0x5f3782(0x8b)](process['env'][_0x5f3782(0xa1)]);_0x4cb336=_0x1d885d['capability'];}_0x245339[_0x5f3782(0xa4)](_0x4cb336,undefined)&&(global['__platform']=_0x245339[_0x5f3782(0xa8)](getPlatformName,_0x4cb336),console[_0x5f3782(0xbd)](_0x5f3782(0x7f)+global[_0x5f3782(0xc0)]));}),_0x100b92[_0x5cccb5(0x83)]['on'](_0x245339[_0x5cccb5(0x8a)],()=>{testSuites+=0x1;}),_0x100b92[_0x5cccb5(0x83)]['on'](_0x245339[_0x5cccb5(0xc4)],_0x2495d=>{this['logTestCaseFinished'](_0x2495d);}),_0x100b92[_0x5cccb5(0x83)]['on'](_0x245339['lhZvB'],()=>{totalTests-=0x2;}),_0x100b92[_0x5cccb5(0x83)]['on'](_0x245339['dNYvw'],()=>{totalTests+=0x1;});}[a6_0x3ea3f3(0xac)](_0x43387f){const _0x2085e3=a6_0x3ea3f3,_0x4b352f={'rEXuV':_0x2085e3(0xcf),'JkafA':_0x2085e3(0xd3),'RTClv':_0x2085e3(0xb7),'hUhMj':_0x2085e3(0xa3),'uyfTN':_0x2085e3(0x97),'bOqjE':_0x2085e3(0xd5),'qlqmw':_0x2085e3(0x98),'aMTdB':function(_0x54d09d,_0x250be0){return _0x54d09d+_0x250be0;},'CLqNT':_0x2085e3(0x8c),'LStNy':_0x2085e3(0xa7),'yCNiN':function(_0x29d666,_0x5ceb25){return _0x29d666(_0x5ceb25);},'oSljs':_0x2085e3(0xd9),'WMGoD':function(_0x54b819,_0x2514cc){return _0x54b819(_0x2514cc);},'aebhK':'\x20\x20\x20\x20AFTER\x20-\x20','KdgrH':function(_0x48b9fa,_0x40e9b4){return _0x48b9fa+_0x40e9b4;},'VyJtR':'\x20\x20\x20\x20BEFORE\x20-\x20','JlyPV':function(_0x3a7643,_0x2d9bd3){return _0x3a7643===_0x2d9bd3;},'HUVLt':function(_0x4f382e,_0x57f3d0,_0x4eced0){return _0x4f382e(_0x57f3d0,_0x4eced0);},'VIbuu':_0x2085e3(0x8f),'HNNWe':_0x2085e3(0x9f),'FzfsC':_0x2085e3(0xc3),'QGBsx':function(_0x5674aa,_0x2f6c34){return _0x5674aa+_0x2f6c34;},'IUkrY':function(_0x5cd4a7,_0x2d2b12){return _0x5cd4a7!==_0x2d2b12;},'utfSY':function(_0x5eb0d1,_0x485bc2){return _0x5eb0d1!==_0x485bc2;},'wuWIq':'undefined','LTLQH':function(_0x3c60aa,_0x292ae2){return _0x3c60aa+_0x292ae2;},'VCTZC':function(_0x5610b6,_0x567e67){return _0x5610b6<_0x567e67;},'uDoCf':function(_0x5df757,_0x4dc754){return _0x5df757+_0x4dc754;},'RRULy':function(_0x50c5ad,_0x16cfbe){return _0x50c5ad+_0x16cfbe;},'HUMHP':function(_0x490dd4,_0x28a165){return _0x490dd4(_0x28a165);},'pmBMP':function(_0x3d366a,_0x3d1c65){return _0x3d366a+_0x3d1c65;},'ZecIH':function(_0x10a86f,_0x56aeb6){return _0x10a86f+_0x56aeb6;},'FBcEC':function(_0x2a34a8,_0x5407f9,_0x2d7f22){return _0x2a34a8(_0x5407f9,_0x2d7f22);},'xlYlT':function(_0xf45726,_0x7165f){return _0xf45726+_0x7165f;},'LXgzH':function(_0xabc24a,_0x2f5682){return _0xabc24a+_0x2f5682;}};let _0x219801=![];function _0x1563cf(_0xf56491){const _0x10e1c5=_0x2085e3;switch(_0xf56491){case _0x4b352f[_0x10e1c5(0xb6)]:testsFailed+=0x1;break;case _0x4b352f[_0x10e1c5(0xc6)]:testsPassed+=0x1;break;case _0x4b352f[_0x10e1c5(0xcc)]:testsSkipped+=0x1;break;case _0x4b352f[_0x10e1c5(0xc5)]:testsPending+=0x1;break;case _0x4b352f[_0x10e1c5(0xc1)]:testsUndefined+=0x1;break;case _0x4b352f[_0x10e1c5(0xb1)]:testsUnknown+=0x1;break;case _0x4b352f['qlqmw']:testsAmbiguous+=0x1;break;default:break;}}_0x4b352f['IUkrY'](global[_0x2085e3(0xc0)],undefined)&&console[_0x2085e3(0xbd)](_0x4b352f['QGBsx'](_0x4b352f['aMTdB']('\x0a',global['__platform']),'\x0a'));let _0x15412f=![];if(_0x4b352f['utfSY'](typeof this['eventDataCollector']['getTestCaseData'],_0x4b352f[_0x2085e3(0x84)])){var _0x1d57bf=this[_0x2085e3(0xd0)][_0x2085e3(0x9e)](_0x43387f[_0x2085e3(0xaa)]),_0x3452fc=_0x1d57bf[_0x2085e3(0x93)],_0x274b02=_0x1d57bf[_0x2085e3(0xab)];console[_0x2085e3(0xbd)](_0x4b352f['QGBsx']('\x20\x20',_0x3452fc[_0x2085e3(0xd7)]));var _0x5530be=(0x0,pickleParser[_0x2085e3(0xb4)])(_0x3452fc);_0x274b02[_0x2085e3(0xad)][_0x2085e3(0xa9)](function(_0x41f676){const _0x387004=_0x2085e3;if(_0x41f676[_0x387004(0x87)]&&_0x41f676[_0x387004(0xaa)])_0x219801=!![],console[_0x387004(0xbd)](_0x4b352f[_0x387004(0x88)](_0x4b352f['aMTdB'](_0x4b352f[_0x387004(0x88)](_0x4b352f['CLqNT'],_0x5530be[_0x41f676[_0x387004(0xaa)]['line']][_0x387004(0x8d)]),_0x4b352f[_0x387004(0xa2)]),_0x41f676[_0x387004(0x8f)][_0x387004(0xc7)]['toUpperCase']())),_0x4b352f[_0x387004(0x9d)](_0x1563cf,_0x41f676[_0x387004(0x8f)][_0x387004(0xc7)][_0x387004(0xce)]());else _0x41f676['actionLocation']&&(!_0x41f676[_0x387004(0x87)][_0x387004(0xbb)]['includes'](_0x4b352f[_0x387004(0x7d)])&&(_0x4b352f[_0x387004(0x94)](_0x1563cf,_0x41f676[_0x387004(0x8f)][_0x387004(0xc7)][_0x387004(0xce)]()),_0x219801?console[_0x387004(0xbd)](_0x4b352f[_0x387004(0x88)](_0x4b352f[_0x387004(0x81)],_0x41f676[_0x387004(0x8f)]['status'][_0x387004(0xce)]())):console[_0x387004(0xbd)](_0x4b352f[_0x387004(0xc9)](_0x4b352f[_0x387004(0x89)],_0x41f676[_0x387004(0x8f)][_0x387004(0xc7)][_0x387004(0xce)]()))));if(_0x4b352f[_0x387004(0xb0)](_0x41f676[_0x387004(0x8f)]['status'][_0x387004(0xce)](),_0x4b352f[_0x387004(0xb6)])){const _0x466a02=_0x4b352f[_0x387004(0xd6)](nestedKeyValue,_0x41f676,[_0x4b352f['VIbuu'],_0x4b352f['HNNWe'],_0x4b352f['FzfsC']]);_0x466a02&&(testsErrorMessage[_0x3452fc[_0x387004(0xd7)]]=_0x466a02,console[_0x387004(0xbd)](_0x4b352f[_0x387004(0xaf)](_0x466a02,'\x0a'))),_0x15412f=!![];}});}else{const _0x42435f=this['eventDataCollector'][_0x2085e3(0xa5)](_0x43387f);console[_0x2085e3(0xbd)](_0x4b352f[_0x2085e3(0xaf)](_0x4b352f['QGBsx'](_0x4b352f[_0x2085e3(0xb9)]('\x20\x20',_0x42435f[_0x2085e3(0xbc)][_0x2085e3(0x9b)][_0x2085e3(0xd7)]),_0x4b352f[_0x2085e3(0xa2)]),_0x42435f[_0x2085e3(0x93)][_0x2085e3(0xd7)]));const _0x10d2c0=(0x0,pickleParser[_0x2085e3(0xb4)])(_0x42435f[_0x2085e3(0x93)]),_0x32202d=_0x42435f[_0x2085e3(0xab)][_0x2085e3(0xad)],_0x6b69c2=_0x42435f[_0x2085e3(0xd8)],_0x2a7d4f=_0x32202d[_0x2085e3(0xa6)];for(let _0x5610f0=0x0;_0x4b352f[_0x2085e3(0x9a)](_0x5610f0,_0x2a7d4f);_0x5610f0++){const _0x5ebcc4=_0x32202d[_0x5610f0];if(_0x5ebcc4[_0x2085e3(0x87)]&&_0x5ebcc4[_0x2085e3(0xaa)])_0x219801=!![],console['log'](_0x4b352f[_0x2085e3(0xa0)](_0x4b352f[_0x2085e3(0xb9)](_0x4b352f[_0x2085e3(0xbe)](_0x4b352f[_0x2085e3(0x92)],_0x10d2c0[_0x5ebcc4[_0x2085e3(0xaa)][_0x2085e3(0xca)]][_0x2085e3(0x8d)]),_0x4b352f[_0x2085e3(0xa2)]),_0x6b69c2[_0x5610f0]['status'][_0x2085e3(0xce)]())),_0x4b352f[_0x2085e3(0xcb)](_0x1563cf,_0x6b69c2[_0x5610f0]['status']['toUpperCase']());else _0x5ebcc4[_0x2085e3(0x87)]&&(!_0x5ebcc4[_0x2085e3(0x87)][_0x2085e3(0xbb)][_0x2085e3(0xc8)](_0x4b352f[_0x2085e3(0x7d)])&&(_0x4b352f['HUMHP'](_0x1563cf,_0x6b69c2[_0x5610f0][_0x2085e3(0xc7)][_0x2085e3(0xce)]()),_0x219801?console[_0x2085e3(0xbd)](_0x4b352f['pmBMP'](_0x4b352f['aebhK'],_0x6b69c2[_0x5610f0][_0x2085e3(0xc7)]['toUpperCase']())):console['log'](_0x4b352f[_0x2085e3(0xcd)](_0x4b352f[_0x2085e3(0x89)],_0x6b69c2[_0x5610f0]['status']['toUpperCase']()))));if(_0x4b352f[_0x2085e3(0xb0)](_0x6b69c2[_0x5610f0][_0x2085e3(0xc7)][_0x2085e3(0xce)](),_0x4b352f[_0x2085e3(0xb6)])){_0x15412f=!![];const _0x344fa4=_0x4b352f[_0x2085e3(0xb5)](nestedKeyValue,_0x6b69c2[_0x5610f0],[_0x4b352f[_0x2085e3(0x9c)],_0x4b352f[_0x2085e3(0x90)]]);_0x344fa4&&(testsErrorMessage[_0x4b352f[_0x2085e3(0xb9)](_0x4b352f[_0x2085e3(0x8e)](_0x42435f[_0x2085e3(0xbc)][_0x2085e3(0x9b)][_0x2085e3(0xd7)],_0x4b352f[_0x2085e3(0xa2)]),_0x42435f[_0x2085e3(0x93)]['name'])]=_0x344fa4,console[_0x2085e3(0xbd)](_0x4b352f[_0x2085e3(0xd4)](_0x344fa4,'\x0a')));}}}_0x15412f&&(testSuitesFailed+=0x1),console[_0x2085e3(0xbd)]('\x0a');}}module['exports']=BrowserstackFormatter;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a7_0x50444f=a7_0x5856;(function(_0x2cab91,_0x350024){const _0x1084d5=a7_0x5856,_0x6b77ab=_0x2cab91();while(!![]){try{const _0x5e786c=-parseInt(_0x1084d5(0x140))/0x1+parseInt(_0x1084d5(0x144))/0x2+parseInt(_0x1084d5(0x185))/0x3*(-parseInt(_0x1084d5(0x180))/0x4)+parseInt(_0x1084d5(0x16f))/0x5*(parseInt(_0x1084d5(0x12b))/0x6)+parseInt(_0x1084d5(0x15e))/0x7*(parseInt(_0x1084d5(0x16d))/0x8)+parseInt(_0x1084d5(0x161))/0x9+-parseInt(_0x1084d5(0x14e))/0xa*(parseInt(_0x1084d5(0x13a))/0xb);if(_0x5e786c===_0x350024)break;else _0x6b77ab['push'](_0x6b77ab['shift']());}catch(_0x23c2c7){_0x6b77ab['push'](_0x6b77ab['shift']());}}}(a7_0x478e,0x70cc6));const {requireModule,modifyCommand,isTrue,markSessionStatus}=require(a7_0x50444f(0x174)),setKeepAlive=require(a7_0x50444f(0x13e)),PerformanceTester=require(a7_0x50444f(0x14d)),cucumberModule=requireModule(a7_0x50444f(0x151)),logger=require('../../helpers/logger')[a7_0x50444f(0x16c)];modifyCommand(),setKeepAlive();const Before=cucumberModule[a7_0x50444f(0x17a)],After=cucumberModule['After'],AfterAll=cucumberModule[a7_0x50444f(0x17e)],BeforeAll=cucumberModule[a7_0x50444f(0x14b)],AfterStep=cucumberModule[a7_0x50444f(0x167)],configuration=process[a7_0x50444f(0x164)][a7_0x50444f(0x13b)];function a7_0x478e(){const _0x193c66=['pickleStep','Failed:\x20','Passed:\x20','toString','zIgoc','passed','rdSvV','rXLAT','sXZKF','startMonitoring','JMSSh','../../index','Error:\x20adding\x20scenario\x20error\x20at\x20After:\x20','gMymo','\x0aError:\x20','stopMonitoring','Error:\x20quiting\x20driver\x20at\x20driver\x20cleanup:\x20','bstack','setDefaultTimeout','4|3|1|0|2',',\x22level\x22:\x20\x22','726KEJPvK','Error:\x20at\x20After:\x20','driverCleanup','__skipSessionName','message','info','push','failed','TIIXH','Error:\x20quiting\x20driver\x20at\x20After:\x20','Hivdj','NNkdv','RKWsh','session_','nyNdf','143chEzne','CONFIG','vuYvq','OIQmQ','../../helpers/setKeepAlive','Error:\x20at\x20After\x20Step:\x20','701926hQMuPv','Inside\x20browserstack\x20After','__timeout','status','1303174LSKshz','shift','__drivers','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20\x22','name','wmjcq','BeforeAll','koPEB','../../helpers/performance-tester','879470hVoXac','pickle','fzlDr','@cucumber/cucumber/lib/index.js','debug','MrwUK','length','\x20|\x20','rgcVw','TIEgE','toLowerCase','result','TqwJJ','timeout','PsCzt','eXdbE','7qPAvgV','quitCount_','skipSessionStatus','4715118KRLywQ','ecmXs','parse','env','BhCnn','LYrmR','AfterStep','skipSessionName','Inside\x20browserstack\x20AfterAll','split','cGsTP','winstonLogger','5269280Hdbbow','stringify','22530pAZwMJ','Passed','HRlFH','cZUpQ','yiXiZ','../../helpers/helper','__sessionFailed','KpmNY','error','GnUjm','__error_messages__','Before','WIHPB','text','Error:\x20cleaning\x20up\x20driver:\x20','AfterAll','hpiiq','72116dejenf','buQhi','finally','Inside\x20browserstack\x20AfterStep','\x22}}','12LKnahx','executeScript'];a7_0x478e=function(){return _0x193c66;};return a7_0x478e();}if(configuration!==undefined){const config=JSON[a7_0x50444f(0x163)](configuration);isTrue(config[a7_0x50444f(0x168)])&&(global['__skipSessionName']=!![]),global['__skipSessionStatus']=isTrue(config[a7_0x50444f(0x160)]),require(a7_0x50444f(0x121))['browserstackAgentV2'](config),global['__platformCaps']=config['platformCaps']||{};}global[a7_0x50444f(0x142)]=0x0;const __setDefaultTimeout=cucumberModule['setDefaultTimeout'];cucumberModule[a7_0x50444f(0x128)]=_0xf2fc6b=>{const _0x507225={'NufMH':function(_0x2e2975,_0x3d6a5d){return _0x2e2975(_0x3d6a5d);}};global['__timeout']=_0xf2fc6b,_0x507225['NufMH'](__setDefaultTimeout,_0xf2fc6b);};const a7_0x2b2ca1={};a7_0x2b2ca1['name']='bstack',BeforeAll(a7_0x2b2ca1,function(){const _0x4ec8ba=a7_0x50444f,_0xa9393b={'OIQmQ':function(_0x1c8771,_0x1c5347,_0x53f47d,_0x18ebd2){return _0x1c8771(_0x1c5347,_0x53f47d,_0x18ebd2);},'ecmXs':_0x4ec8ba(0x132),'Hivdj':_0x4ec8ba(0x155),'sXZKF':function(_0x146a7,_0xf79201,_0x3d3a62){return _0x146a7(_0xf79201,_0x3d3a62);},'rgcVw':'passed','WIHPB':'Inside\x20browserstack\x20BeforeAll'};PerformanceTester[_0x4ec8ba(0x11f)](),logger['debug'](_0xa9393b[_0x4ec8ba(0x17b)]),global[_0x4ec8ba(0x179)]=[],global[_0x4ec8ba(0x175)]=![],global[_0x4ec8ba(0x12d)]=async()=>{const _0x5e2b35=_0x4ec8ba;let _0x97782=![];try{await global[_0x5e2b35(0x146)][0x0]['session_'],_0x97782=!![],global[_0x5e2b35(0x175)]?await _0xa9393b[_0x5e2b35(0x13d)](markSessionStatus,global[_0x5e2b35(0x146)][0x0],_0xa9393b[_0x5e2b35(0x162)],global[_0x5e2b35(0x179)]['join'](_0xa9393b[_0x5e2b35(0x135)])):await _0xa9393b[_0x5e2b35(0x11e)](markSessionStatus,global['__drivers'][0x0],_0xa9393b[_0x5e2b35(0x156)]);}catch(_0x4d472d){logger['debug'](_0x5e2b35(0x17d)+_0x4d472d);}global['__error_messages__']=[],global['__sessionFailed']=![];if(_0x97782)try{await global[_0x5e2b35(0x146)][0x0]['initQuit']();}catch(_0x13fafd){logger[_0x5e2b35(0x152)](_0x5e2b35(0x126)+_0x13fafd);}};});function a7_0x5856(_0x3dbd42,_0x30feaf){const _0x478e4d=a7_0x478e();return a7_0x5856=function(_0x5856f2,_0x300d9b){_0x5856f2=_0x5856f2-0x11d;let _0x1f8b14=_0x478e4d[_0x5856f2];return _0x1f8b14;},a7_0x5856(_0x3dbd42,_0x30feaf);}const a7_0x1226da={};a7_0x1226da[a7_0x50444f(0x149)]=a7_0x50444f(0x127),a7_0x1226da[a7_0x50444f(0x15b)]=0x2710,Before(a7_0x1226da,function(_0x24429e,_0x27a85e){const _0x1b74c2=a7_0x50444f,_0x405901={'fzlDr':function(_0x2ac51d,_0x5ffe66){return _0x2ac51d>_0x5ffe66;},'zIgoc':function(_0x338e81,_0x4d0ca7){return _0x338e81>_0x4d0ca7;},'TIIXH':function(_0x20459e){return _0x20459e();},'RKWsh':'Inside\x20browserstack\x20Before'};logger[_0x1b74c2(0x152)](_0x405901[_0x1b74c2(0x137)]),new Promise(async _0x2ed709=>{const _0x82d670=_0x1b74c2;try{_0x405901[_0x82d670(0x150)](global[_0x82d670(0x146)][_0x82d670(0x154)],0x1)&&(await global['driverCleanup'](),global[_0x82d670(0x146)][_0x82d670(0x145)]()),global[_0x82d670(0x146)][0x0]['quitCount_']&&_0x405901[_0x82d670(0x18b)](global[_0x82d670(0x146)][0x0][_0x82d670(0x15f)],0x0)&&await global['driverCleanup']();}catch(_0x12820a){}_0x405901[_0x82d670(0x133)](_0x2ed709);})[_0x1b74c2(0x182)](_0x27a85e);});const a7_0x561dc8={};a7_0x561dc8[a7_0x50444f(0x149)]='bstack',a7_0x561dc8['timeout']=0x2710,After(a7_0x561dc8,function(_0x1eda06,_0xfc985b){const _0xe7455b=a7_0x50444f,_0x3a8acc={'BhCnn':_0xe7455b(0x129),'mWfWW':function(_0x4d6ad6,_0x18d507){return _0x4d6ad6===_0x18d507;},'hpiiq':_0xe7455b(0x132),'eXdbE':function(_0xaa37d3,_0xaeb5e9,_0x12d450,_0x17a39f){return _0xaa37d3(_0xaeb5e9,_0x12d450,_0x17a39f);},'kERNU':'\x20|\x20','NNkdv':function(_0x466267,_0x115cda,_0x38ab20){return _0x466267(_0x115cda,_0x38ab20);},'rFcDc':_0xe7455b(0x18c),'CIfIn':function(_0x396d19,_0x18ed53){return _0x396d19>_0x18ed53;},'TqwJJ':function(_0x16e23c,_0x2c495b){return _0x16e23c>_0x2c495b;},'mpGDT':function(_0x5f1e5e){return _0x5f1e5e();},'cZUpQ':_0xe7455b(0x141)};logger[_0xe7455b(0x152)](_0x3a8acc[_0xe7455b(0x172)]),new Promise(async _0x2c68e2=>{const _0x1b6fdd=_0xe7455b;let _0x595403=![];try{const _0x54f108=_0x3a8acc[_0x1b6fdd(0x165)][_0x1b6fdd(0x16a)]('|');let _0x5eb216=0x0;while(!![]){switch(_0x54f108[_0x5eb216++]){case'0':!global[_0x1b6fdd(0x12e)]&&await global['__drivers'][0x0][_0x1b6fdd(0x186)](_0x1b6fdd(0x148)+_0x1eda06[_0x1b6fdd(0x14f)][_0x1b6fdd(0x149)]+'\x22}}');continue;case'1':_0x595403=!![];continue;case'2':if(_0x3a8acc['mWfWW'](_0x1eda06[_0x1b6fdd(0x159)][_0x1b6fdd(0x143)][_0x1b6fdd(0x18a)]()[_0x1b6fdd(0x158)](),_0x3a8acc[_0x1b6fdd(0x17f)])||_0x3a8acc['mWfWW'](_0x1eda06[_0x1b6fdd(0x159)]['status']['toString']()[_0x1b6fdd(0x158)](),'6')){try{global[_0x1b6fdd(0x179)][_0x1b6fdd(0x131)](_0x1eda06[_0x1b6fdd(0x159)][_0x1b6fdd(0x12f)]);}catch(_0x8b83d3){logger[_0x1b6fdd(0x152)](_0x1b6fdd(0x122)+_0x8b83d3);}await _0x3a8acc[_0x1b6fdd(0x15d)](markSessionStatus,global[_0x1b6fdd(0x146)][0x0],_0x3a8acc[_0x1b6fdd(0x17f)],global[_0x1b6fdd(0x179)]['join'](_0x3a8acc['kERNU']));}else await _0x3a8acc[_0x1b6fdd(0x136)](markSessionStatus,global[_0x1b6fdd(0x146)][0x0],_0x3a8acc['rFcDc']);continue;case'3':await global[_0x1b6fdd(0x146)][0x0][_0x1b6fdd(0x138)];continue;case'4':_0x3a8acc['CIfIn'](global[_0x1b6fdd(0x146)][_0x1b6fdd(0x154)],0x1)&&(await global['driverCleanup'](),global[_0x1b6fdd(0x146)][_0x1b6fdd(0x145)](),global[_0x1b6fdd(0x179)]=[],global[_0x1b6fdd(0x175)]=![]);continue;}break;}}catch(_0x1b9c87){logger[_0x1b6fdd(0x152)](_0x1b6fdd(0x12c)+_0x1b9c87);}if(_0x595403)try{global[_0x1b6fdd(0x146)][0x0]&&_0x3a8acc[_0x1b6fdd(0x15a)](global['__drivers'][0x0][_0x1b6fdd(0x15f)],0x0)&&await global[_0x1b6fdd(0x146)][0x0]['initQuit']();}catch(_0x11fb93){logger[_0x1b6fdd(0x152)](_0x1b6fdd(0x134)+_0x11fb93);}_0x3a8acc['mpGDT'](_0x2c68e2);})[_0xe7455b(0x182)](()=>_0xfc985b());});const a7_0xe55908={};a7_0xe55908[a7_0x50444f(0x149)]=a7_0x50444f(0x127),a7_0xe55908[a7_0x50444f(0x15b)]=0x2710,AfterStep(a7_0xe55908,function(_0x8543f4,_0x571739){const _0x378383=a7_0x50444f,_0x2146a7={'vuYvq':function(_0xa85ed1,_0x558803){return _0xa85ed1===_0x558803;},'rdSvV':_0x378383(0x132),'GnUjm':function(_0x17118b,_0x394565){return _0x17118b===_0x394565;},'TIEgE':function(_0x17d375,_0x2dcf0e){return _0x17d375!==_0x2dcf0e;},'MrwUK':function(_0x1d0634,_0x255d1a,_0xba94fb){return _0x1d0634(_0x255d1a,_0xba94fb);},'JMSSh':function(_0x4cb608,_0x1ed3bd){return _0x4cb608+_0x1ed3bd;},'nyNdf':_0x378383(0x188),'gMymo':_0x378383(0x124),'KpmNY':_0x378383(0x177),'LYrmR':function(_0x244f6d,_0x255ed7,_0x2dd5be){return _0x244f6d(_0x255ed7,_0x2dd5be);},'buQhi':function(_0x47e835,_0x347117){return _0x47e835+_0x347117;},'rXLAT':function(_0x354e24,_0x182d47){return _0x354e24+_0x182d47;},'koPEB':_0x378383(0x189),'PsCzt':_0x378383(0x130),'wmjcq':_0x378383(0x170),'yiXiZ':function(_0x31279a){return _0x31279a();},'cGsTP':_0x378383(0x183)};logger['debug'](_0x2146a7[_0x378383(0x16b)]);const _0x140afb=async(_0x447845,_0x2223ed)=>{const _0x119215=_0x378383;await global[_0x119215(0x146)][0x0][_0x119215(0x186)](_0x119215(0x147)+_0x447845+_0x119215(0x12a)+_0x2223ed+_0x119215(0x184));};new Promise(async _0x46059d=>{const _0x18171a=_0x378383;try{_0x2146a7[_0x18171a(0x13c)](_0x8543f4[_0x18171a(0x159)][_0x18171a(0x143)]['toString']()[_0x18171a(0x158)](),_0x2146a7[_0x18171a(0x18d)])||_0x2146a7[_0x18171a(0x178)](_0x8543f4[_0x18171a(0x159)][_0x18171a(0x143)][_0x18171a(0x18a)]()['toLowerCase'](),'6')?(global[_0x18171a(0x175)]=!![],global['__error_messages__'][_0x18171a(0x131)](_0x8543f4[_0x18171a(0x159)][_0x18171a(0x12f)]),_0x2146a7[_0x18171a(0x157)](_0x8543f4[_0x18171a(0x187)],undefined)?await _0x2146a7[_0x18171a(0x153)](_0x140afb,JSON[_0x18171a(0x16e)](_0x2146a7['JMSSh'](_0x2146a7['JMSSh'](_0x2146a7[_0x18171a(0x120)](_0x2146a7['nyNdf'],'\x22'+_0x8543f4['pickleStep']['text']+'\x22\x20'),_0x2146a7[_0x18171a(0x123)]),_0x8543f4[_0x18171a(0x159)]['message'])),_0x2146a7[_0x18171a(0x176)]):await _0x2146a7[_0x18171a(0x166)](_0x140afb,JSON[_0x18171a(0x16e)](_0x2146a7[_0x18171a(0x181)](_0x2146a7[_0x18171a(0x139)],_0x8543f4[_0x18171a(0x159)][_0x18171a(0x12f)])),_0x2146a7[_0x18171a(0x176)])):_0x2146a7[_0x18171a(0x157)](_0x8543f4[_0x18171a(0x187)],undefined)?await _0x2146a7[_0x18171a(0x166)](_0x140afb,JSON[_0x18171a(0x16e)](_0x2146a7[_0x18171a(0x11d)](_0x2146a7[_0x18171a(0x14c)],'\x22'+_0x8543f4[_0x18171a(0x187)][_0x18171a(0x17c)]+'\x22')),_0x2146a7[_0x18171a(0x15c)]):await _0x2146a7['LYrmR'](_0x140afb,JSON[_0x18171a(0x16e)](_0x2146a7[_0x18171a(0x14a)]),_0x2146a7[_0x18171a(0x15c)]);}catch(_0x3499f8){logger[_0x18171a(0x152)](_0x18171a(0x13f)+_0x3499f8);}_0x2146a7[_0x18171a(0x173)](_0x46059d);})[_0x378383(0x182)](()=>_0x571739());});const a7_0x3d042d={};a7_0x3d042d[a7_0x50444f(0x149)]=a7_0x50444f(0x127),a7_0x3d042d[a7_0x50444f(0x15b)]=0x7530,AfterAll(a7_0x3d042d,async function(_0x2cd128,_0x12bab5){const _0x1ba3ef=a7_0x50444f,_0x400b5a={'TIKOA':function(_0x1011d5){return _0x1011d5();},'HRlFH':_0x1ba3ef(0x169)};logger[_0x1ba3ef(0x152)](_0x400b5a[_0x1ba3ef(0x171)]),await new Promise(async _0x178451=>{const _0x246ab9=_0x1ba3ef;PerformanceTester[_0x246ab9(0x125)](),await global['driverCleanup'](),_0x400b5a['TIKOA'](_0x178451);});});
|
|
1
|
+
const a7_0x12a440=a7_0x5ecb;(function(_0x47f50f,_0x4034b2){const _0x2aa62f=a7_0x5ecb,_0x3bb045=_0x47f50f();while(!![]){try{const _0x49dc13=-parseInt(_0x2aa62f(0x159))/0x1*(parseInt(_0x2aa62f(0x168))/0x2)+-parseInt(_0x2aa62f(0x179))/0x3+-parseInt(_0x2aa62f(0x17b))/0x4+-parseInt(_0x2aa62f(0x15b))/0x5+parseInt(_0x2aa62f(0x171))/0x6+parseInt(_0x2aa62f(0x13f))/0x7+parseInt(_0x2aa62f(0x17d))/0x8;if(_0x49dc13===_0x4034b2)break;else _0x3bb045['push'](_0x3bb045['shift']());}catch(_0x5a3ef){_0x3bb045['push'](_0x3bb045['shift']());}}}(a7_0x15b3,0xe5ef9));const {requireModule,modifyCommand,isTrue,markSessionStatus}=require(a7_0x12a440(0x17e)),setKeepAlive=require(a7_0x12a440(0x13e)),PerformanceTester=require('../../helpers/performance-tester'),cucumberModule=requireModule('@cucumber/cucumber/lib/index.js'),logger=require(a7_0x12a440(0x164))[a7_0x12a440(0x130)];modifyCommand(),setKeepAlive();const Before=cucumberModule['Before'],After=cucumberModule[a7_0x12a440(0x169)],AfterAll=cucumberModule[a7_0x12a440(0x176)],BeforeAll=cucumberModule[a7_0x12a440(0x148)],AfterStep=cucumberModule['AfterStep'],configuration=process[a7_0x12a440(0x133)][a7_0x12a440(0x153)];function a7_0x15b3(){const _0x2a7891=['518904kUQnUL','split','7362520mIRyIZ','__platformCaps','20160976ZDvCrr','../../helpers/helper','Error:\x20cleaning\x20up\x20driver:\x20','jafeF','DHJYm','RJiqv','Inside\x20browserstack\x20After','length','ZWAcU','zZRqC','status','push','doYTI','XfZcn','Error:\x20adding\x20scenario\x20error\x20at\x20After:\x20','erPrP','tAQRC','uQrCN','pezTi','qWoqY','EGzRs','Error:\x20at\x20After\x20Step:\x20','AvmvT','failed','wKdwM','sZOQF','Passed','AYsyv',',\x22level\x22:\x20\x22','PvwQg','UijzB','nZdEU','winstonLogger','__drivers','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20\x22','env','UuRmJ','Error:\x20at\x20After:\x20','quitCount_','__skipSessionStatus','debug','toString','startMonitoring','tllnh','timeout','LDScw','../../helpers/setKeepAlive','9840565PZvrLB','nSbXw','QaqSy','executeScript','__sessionFailed','\x20|\x20','passed','Failed:\x20','message','BeforeAll','Inside\x20browserstack\x20Before','yJQxS','skipSessionName','bstack','setDefaultTimeout','pickleStep','text','driverCleanup','fFUpx','parse','CONFIG','stopMonitoring','name','Error:\x20quiting\x20driver\x20at\x20After:\x20','CNpif','result','3360DTliiu','info','4659990NkoDTL','\x0aError:\x20','Passed:\x20','jOgdh','finally','join','CTtyn','QRoTi','UXvxZ','../../helpers/logger','STxxY','pickle','WXsdg','878RwsjRO','After','\x22}}','CXZLD','skipSessionStatus','__error_messages__','initQuit','error','stringify','8619216cKzliO','vjJIA','../../index','Inside\x20browserstack\x20BeforeAll','__skipSessionName','AfterAll','Inside\x20browserstack\x20AfterStep','toLowerCase'];a7_0x15b3=function(){return _0x2a7891;};return a7_0x15b3();}if(configuration!==undefined){const config=JSON[a7_0x12a440(0x152)](configuration);isTrue(config[a7_0x12a440(0x14b)])&&(global[a7_0x12a440(0x175)]=!![]),global[a7_0x12a440(0x137)]=isTrue(config[a7_0x12a440(0x16c)]),require(a7_0x12a440(0x173))['browserstackAgentV2'](config),global[a7_0x12a440(0x17c)]=config['platformCaps']||{};}global['__timeout']=0x0;function a7_0x5ecb(_0x371ccc,_0x1c8586){const _0x15b3f1=a7_0x15b3();return a7_0x5ecb=function(_0x5ecb96,_0x2570bc){_0x5ecb96=_0x5ecb96-0x11d;let _0xc30249=_0x15b3f1[_0x5ecb96];return _0xc30249;},a7_0x5ecb(_0x371ccc,_0x1c8586);}const __setDefaultTimeout=cucumberModule[a7_0x12a440(0x14d)];cucumberModule[a7_0x12a440(0x14d)]=_0x3189a8=>{const _0x348512=a7_0x12a440,_0x1f6b80={'tllnh':function(_0x55eb7d,_0x1a6a9f){return _0x55eb7d(_0x1a6a9f);}};global['__timeout']=_0x3189a8,_0x1f6b80[_0x348512(0x13b)](__setDefaultTimeout,_0x3189a8);};const a7_0x2f5d05={};a7_0x2f5d05['name']=a7_0x12a440(0x14c),BeforeAll(a7_0x2f5d05,function(){const _0x3df3cc=a7_0x12a440,_0x30770a={'GsMJq':function(_0x445445,_0x4bdad1,_0x27ea7a,_0x1ecd56){return _0x445445(_0x4bdad1,_0x27ea7a,_0x1ecd56);},'CXZLD':_0x3df3cc(0x127),'QRoTi':_0x3df3cc(0x144),'STxxY':function(_0x1aaee4,_0x1b4b40,_0x429881){return _0x1aaee4(_0x1b4b40,_0x429881);},'RJiqv':_0x3df3cc(0x145),'jafeF':_0x3df3cc(0x174)};PerformanceTester[_0x3df3cc(0x13a)](),logger[_0x3df3cc(0x138)](_0x30770a[_0x3df3cc(0x180)]),global[_0x3df3cc(0x16d)]=[],global[_0x3df3cc(0x143)]=![],global[_0x3df3cc(0x150)]=async()=>{const _0x3bdeec=_0x3df3cc;let _0x2e8003=![];try{await global['__drivers'][0x0]['session_'],_0x2e8003=!![],global['__sessionFailed']?await _0x30770a['GsMJq'](markSessionStatus,global['__drivers'][0x0],_0x30770a[_0x3bdeec(0x16b)],global['__error_messages__'][_0x3bdeec(0x160)](_0x30770a[_0x3bdeec(0x162)])):await _0x30770a[_0x3bdeec(0x165)](markSessionStatus,global['__drivers'][0x0],_0x30770a[_0x3bdeec(0x182)]);}catch(_0x21a200){logger[_0x3bdeec(0x138)](_0x3bdeec(0x17f)+_0x21a200);}global[_0x3bdeec(0x16d)]=[],global['__sessionFailed']=![];if(_0x2e8003)try{await global[_0x3bdeec(0x131)][0x0][_0x3bdeec(0x16e)]();}catch(_0x96130d){logger[_0x3bdeec(0x138)]('Error:\x20quiting\x20driver\x20at\x20driver\x20cleanup:\x20'+_0x96130d);}};});const a7_0x54bfce={};a7_0x54bfce[a7_0x12a440(0x155)]=a7_0x12a440(0x14c),a7_0x54bfce[a7_0x12a440(0x13c)]=0x2710,Before(a7_0x54bfce,function(_0x5702d3,_0x4ebbb8){const _0x1231c0=a7_0x12a440,_0x507fdb={'erPrP':function(_0x480189,_0x5c07e6){return _0x480189>_0x5c07e6;},'LDScw':function(_0xb1e618){return _0xb1e618();},'ZWAcU':_0x1231c0(0x149)};logger['debug'](_0x507fdb[_0x1231c0(0x185)]),new Promise(async _0x19946f=>{const _0x35675e=_0x1231c0;try{_0x507fdb[_0x35675e(0x11f)](global[_0x35675e(0x131)][_0x35675e(0x184)],0x1)&&(await global[_0x35675e(0x150)](),global['__drivers']['shift']()),global[_0x35675e(0x131)][0x0][_0x35675e(0x136)]&&_0x507fdb[_0x35675e(0x11f)](global[_0x35675e(0x131)][0x0][_0x35675e(0x136)],0x0)&&await global['driverCleanup']();}catch(_0x355b3f){}_0x507fdb[_0x35675e(0x13d)](_0x19946f);})[_0x1231c0(0x15f)](_0x4ebbb8);});const a7_0x1c3a4f={};a7_0x1c3a4f['name']=a7_0x12a440(0x14c),a7_0x1c3a4f['timeout']=0x2710,After(a7_0x1c3a4f,function(_0x599af4,_0x3129ce){const _0x3a2a30=a7_0x12a440,_0x3caad1={'UijzB':'3|1|4|0|2','AvmvT':function(_0x25a405,_0x333aa3){return _0x25a405===_0x333aa3;},'vjJIA':_0x3a2a30(0x127),'AYsyv':function(_0x1402c6,_0x559509,_0x51edf3,_0x224405){return _0x1402c6(_0x559509,_0x51edf3,_0x224405);},'nZdEU':_0x3a2a30(0x144),'qWoqY':function(_0x15f64f,_0x531a10,_0x4d639b){return _0x15f64f(_0x531a10,_0x4d639b);},'doYTI':_0x3a2a30(0x145),'QaqSy':function(_0x18c369,_0x2e5b8f){return _0x18c369>_0x2e5b8f;},'DHJYm':function(_0x5f4114){return _0x5f4114();},'pezTi':_0x3a2a30(0x183)};logger[_0x3a2a30(0x138)](_0x3caad1[_0x3a2a30(0x122)]),new Promise(async _0x15fad6=>{const _0x378bc1=_0x3a2a30;let _0x2f764c=![];try{const _0x7b651b=_0x3caad1[_0x378bc1(0x12e)][_0x378bc1(0x17a)]('|');let _0x3c1cd3=0x0;while(!![]){switch(_0x7b651b[_0x3c1cd3++]){case'0':!global[_0x378bc1(0x175)]&&await global[_0x378bc1(0x131)][0x0][_0x378bc1(0x142)](_0x378bc1(0x132)+_0x599af4[_0x378bc1(0x166)]['name']+_0x378bc1(0x16a));continue;case'1':await global[_0x378bc1(0x131)][0x0]['session_'];continue;case'2':if(_0x3caad1[_0x378bc1(0x126)](_0x599af4[_0x378bc1(0x158)][_0x378bc1(0x187)]['toString']()['toLowerCase'](),_0x3caad1[_0x378bc1(0x172)])||_0x3caad1['AvmvT'](_0x599af4['result'][_0x378bc1(0x187)][_0x378bc1(0x139)]()[_0x378bc1(0x178)](),'6')){try{global[_0x378bc1(0x16d)][_0x378bc1(0x188)](_0x599af4[_0x378bc1(0x158)][_0x378bc1(0x147)]);}catch(_0xee7ca0){logger['debug'](_0x378bc1(0x11e)+_0xee7ca0);}await _0x3caad1[_0x378bc1(0x12b)](markSessionStatus,global['__drivers'][0x0],_0x3caad1[_0x378bc1(0x172)],global[_0x378bc1(0x16d)][_0x378bc1(0x160)](_0x3caad1[_0x378bc1(0x12f)]));}else await _0x3caad1[_0x378bc1(0x123)](markSessionStatus,global[_0x378bc1(0x131)][0x0],_0x3caad1[_0x378bc1(0x189)]);continue;case'3':_0x3caad1[_0x378bc1(0x141)](global['__drivers']['length'],0x1)&&(await global['driverCleanup'](),global[_0x378bc1(0x131)]['shift'](),global[_0x378bc1(0x16d)]=[],global[_0x378bc1(0x143)]=![]);continue;case'4':_0x2f764c=!![];continue;}break;}}catch(_0x1d2c85){logger[_0x378bc1(0x138)](_0x378bc1(0x135)+_0x1d2c85);}if(_0x2f764c)try{global[_0x378bc1(0x131)][0x0]&&_0x3caad1['QaqSy'](global[_0x378bc1(0x131)][0x0]['quitCount_'],0x0)&&await global[_0x378bc1(0x131)][0x0][_0x378bc1(0x16e)]();}catch(_0x5de52a){logger[_0x378bc1(0x138)](_0x378bc1(0x156)+_0x5de52a);}_0x3caad1[_0x378bc1(0x181)](_0x15fad6);})[_0x3a2a30(0x15f)](()=>_0x3129ce());});const a7_0x510593={};a7_0x510593[a7_0x12a440(0x155)]='bstack',a7_0x510593[a7_0x12a440(0x13c)]=0x2710,AfterStep(a7_0x510593,function(_0x3f4a35,_0xa300fa){const _0x488be9=a7_0x12a440,_0x26aff9={'jOgdh':function(_0x6b0b53,_0x182b35){return _0x6b0b53===_0x182b35;},'UXvxZ':_0x488be9(0x127),'tAQRC':function(_0x298ae0,_0x3ca29d){return _0x298ae0!==_0x3ca29d;},'PvwQg':function(_0xfebdd8,_0x14d257,_0x3cda60){return _0xfebdd8(_0x14d257,_0x3cda60);},'XfZcn':function(_0xbcaa49,_0x4372b3){return _0xbcaa49+_0x4372b3;},'CTtyn':function(_0x649f1f,_0x2f6606){return _0x649f1f+_0x2f6606;},'nSbXw':_0x488be9(0x146),'EGzRs':_0x488be9(0x15c),'WXsdg':_0x488be9(0x16f),'uQrCN':function(_0x25cd2b,_0x140801){return _0x25cd2b!==_0x140801;},'UuRmJ':function(_0x745b7c,_0x457828){return _0x745b7c+_0x457828;},'tgjYr':_0x488be9(0x15d),'yJQxS':_0x488be9(0x15a),'fFUpx':_0x488be9(0x12a),'sZOQF':function(_0x3070b6){return _0x3070b6();},'wKdwM':_0x488be9(0x177)};logger[_0x488be9(0x138)](_0x26aff9[_0x488be9(0x128)]);const _0x5a11ca=async(_0x4de0f7,_0x59a71a)=>{const _0x330975=_0x488be9;await global[_0x330975(0x131)][0x0][_0x330975(0x142)]('browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:'+_0x4de0f7+_0x330975(0x12c)+_0x59a71a+_0x330975(0x16a));};new Promise(async _0x347004=>{const _0x50d0fa=_0x488be9;try{_0x26aff9[_0x50d0fa(0x15e)](_0x3f4a35[_0x50d0fa(0x158)]['status'][_0x50d0fa(0x139)]()[_0x50d0fa(0x178)](),_0x26aff9[_0x50d0fa(0x163)])||_0x26aff9[_0x50d0fa(0x15e)](_0x3f4a35[_0x50d0fa(0x158)][_0x50d0fa(0x187)][_0x50d0fa(0x139)]()[_0x50d0fa(0x178)](),'6')?(global[_0x50d0fa(0x143)]=!![],global[_0x50d0fa(0x16d)][_0x50d0fa(0x188)](_0x3f4a35[_0x50d0fa(0x158)]['message']),_0x26aff9[_0x50d0fa(0x120)](_0x3f4a35[_0x50d0fa(0x14e)],undefined)?await _0x26aff9[_0x50d0fa(0x12d)](_0x5a11ca,JSON[_0x50d0fa(0x170)](_0x26aff9[_0x50d0fa(0x11d)](_0x26aff9[_0x50d0fa(0x161)](_0x26aff9['CTtyn'](_0x26aff9[_0x50d0fa(0x140)],'\x22'+_0x3f4a35[_0x50d0fa(0x14e)][_0x50d0fa(0x14f)]+'\x22\x20'),_0x26aff9[_0x50d0fa(0x124)]),_0x3f4a35[_0x50d0fa(0x158)][_0x50d0fa(0x147)])),_0x26aff9[_0x50d0fa(0x167)]):await _0x26aff9[_0x50d0fa(0x12d)](_0x5a11ca,JSON[_0x50d0fa(0x170)](_0x26aff9['CTtyn'](_0x26aff9[_0x50d0fa(0x140)],_0x3f4a35[_0x50d0fa(0x158)][_0x50d0fa(0x147)])),_0x26aff9['WXsdg'])):_0x26aff9[_0x50d0fa(0x121)](_0x3f4a35[_0x50d0fa(0x14e)],undefined)?await _0x26aff9[_0x50d0fa(0x12d)](_0x5a11ca,JSON[_0x50d0fa(0x170)](_0x26aff9[_0x50d0fa(0x134)](_0x26aff9['tgjYr'],'\x22'+_0x3f4a35['pickleStep'][_0x50d0fa(0x14f)]+'\x22')),_0x26aff9[_0x50d0fa(0x14a)]):await _0x26aff9[_0x50d0fa(0x12d)](_0x5a11ca,JSON['stringify'](_0x26aff9[_0x50d0fa(0x151)]),_0x26aff9[_0x50d0fa(0x14a)]);}catch(_0x126243){logger[_0x50d0fa(0x138)](_0x50d0fa(0x125)+_0x126243);}_0x26aff9[_0x50d0fa(0x129)](_0x347004);})[_0x488be9(0x15f)](()=>_0xa300fa());});const a7_0x3ff698={};a7_0x3ff698[a7_0x12a440(0x155)]=a7_0x12a440(0x14c),a7_0x3ff698[a7_0x12a440(0x13c)]=0x7530,AfterAll(a7_0x3ff698,async function(_0x1abae4,_0x5354d0){const _0x5b73b0=a7_0x12a440,_0x21be52={'CNpif':function(_0x5b5fdd){return _0x5b5fdd();},'zZRqC':'Inside\x20browserstack\x20AfterAll'};logger[_0x5b73b0(0x138)](_0x21be52[_0x5b73b0(0x186)]),await new Promise(async _0x14045=>{const _0x4d6640=_0x5b73b0;PerformanceTester[_0x4d6640(0x154)](),await global['driverCleanup'](),_0x21be52[_0x4d6640(0x157)](_0x14045);});});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a8_0x55151f=a8_0x45b6;(function(_0x1767c9,_0x31c49b){const _0x501e3e=a8_0x45b6,_0xc369f2=_0x1767c9();while(!![]){try{const _0x11208e=parseInt(_0x501e3e(0x209))/0x1+parseInt(_0x501e3e(0x1f1))/0x2*(-parseInt(_0x501e3e(0x1f6))/0x3)+-parseInt(_0x501e3e(0x21d))/0x4*(parseInt(_0x501e3e(0x1fe))/0x5)+-parseInt(_0x501e3e(0x213))/0x6+-parseInt(_0x501e3e(0x20c))/0x7+parseInt(_0x501e3e(0x212))/0x8+parseInt(_0x501e3e(0x20e))/0x9*(parseInt(_0x501e3e(0x21a))/0xa);if(_0x11208e===_0x31c49b)break;else _0xc369f2['push'](_0xc369f2['shift']());}catch(_0x4b5868){_0xc369f2['push'](_0xc369f2['shift']());}}}(a8_0x5a67,0xab62b));const {requireModule,modifyCommand,isTrue,markSessionStatus}=require(a8_0x55151f(0x1ff)),setKeepAlive=require(a8_0x55151f(0x206)),cucumberModule=requireModule(a8_0x55151f(0x219)),logger=require('../../helpers/logger')[a8_0x55151f(0x220)];modifyCommand(),setKeepAlive();const Before=cucumberModule['Before'],After=cucumberModule[a8_0x55151f(0x20a)],configuration=process[a8_0x55151f(0x201)][a8_0x55151f(0x210)];if(configuration!==undefined){const config=JSON[a8_0x55151f(0x1fd)](configuration);isTrue(config[a8_0x55151f(0x1f2)])&&(global[a8_0x55151f(0x218)]=!![]),global['__skipSessionStatus']=isTrue(config[a8_0x55151f(0x205)]),require('../../index')['browserstackAgentV2'](config),global['__platformCaps']=config['platformCaps']||{};}global[a8_0x55151f(0x1fc)]=0x0;function a8_0x45b6(_0x577902,_0x3e9417){const _0x5a679a=a8_0x5a67();return a8_0x45b6=function(_0x45b603,_0x4d46b9){_0x45b603=_0x45b603-0x1f0;let _0x5a837c=_0x5a679a[_0x45b603];return _0x5a837c;},a8_0x45b6(_0x577902,_0x3e9417);}const __setDefaultTimeout=cucumberModule[a8_0x55151f(0x1fb)];cucumberModule[a8_0x55151f(0x1fb)]=_0xbed905=>{const _0x2c5ad0=a8_0x55151f,_0x270ac6={'IEToI':function(_0xcaccfd,_0x4f73d1){return _0xcaccfd(_0x4f73d1);}};global[_0x2c5ad0(0x1fc)]=_0xbed905,_0x270ac6['IEToI'](__setDefaultTimeout,_0xbed905);};const a8_0x150923={};a8_0x150923[a8_0x55151f(0x207)]=a8_0x55151f(0x1f9),Before(a8_0x150923,function(){const _0x4498da=a8_0x55151f,_0x5df240={};_0x5df240[_0x4498da(0x1f7)]='Inside\x20browserstack\x20Before';const _0x773fc8=_0x5df240;logger[_0x4498da(0x216)](_0x773fc8[_0x4498da(0x1f7)]),global[_0x4498da(0x1f4)]=[];});const a8_0x193fab={};function a8_0x5a67(){const _0x165a89=['1552wkcbTO','skipSessionName','join','__error_messages__','failed','246sSoRXs','drgzI','cxegp','bstack','Error:\x20setting\x20status\x20at\x20After:\x20','setDefaultTimeout','__timeout','parse','947855RizDCu','../../helpers/helper','toLowerCase','env','JtnRc','EbfiP','QZWPt','skipSessionStatus','../../helpers/setKeepAlive','name','__driver','524904BNfjmj','After','\x20|\x20','2244046fKPZuJ','session_','36jwhAMs','Error:\x20quiting\x20at\x20After:\x20','CONFIG','\x22}}','9318024TuNpFM','8394198hjrwaR','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20\x22','then','debug','executeScript','__skipSessionName','cucumber/lib/index.js','4358590kqsnkL','timeout','ohZMr','20MkKKiR','status','IjLZX','winstonLogger','initQuit','fwocH','pickle'];a8_0x5a67=function(){return _0x165a89;};return a8_0x5a67();}a8_0x193fab[a8_0x55151f(0x207)]='bstack',a8_0x193fab[a8_0x55151f(0x21b)]=0x2710,After(a8_0x193fab,function(_0x572b61,_0xafb1de){const _0x326a8d=a8_0x55151f,_0x2215e8={'EbfiP':function(_0x4e060c,_0x43b1ad){return _0x4e060c===_0x43b1ad;},'JtnRc':_0x326a8d(0x1f5),'DfixE':function(_0x5500c4,_0x4ef693,_0x14a6ff,_0x5e2d3b){return _0x5500c4(_0x4ef693,_0x14a6ff,_0x5e2d3b);},'IjLZX':_0x326a8d(0x20b),'ohZMr':function(_0x555144,_0x1d3bd4,_0x120423){return _0x555144(_0x1d3bd4,_0x120423);},'cxegp':'passed','QZWPt':function(_0x14636d){return _0x14636d();},'euIEX':function(_0x1a499d,_0x2ba029){return _0x1a499d(_0x2ba029);},'fwocH':'Inside\x20browserstack\x20After'};logger[_0x326a8d(0x216)](_0x2215e8[_0x326a8d(0x222)]),new Promise(async(_0x122441,_0x13e746)=>{const _0x2fab42=_0x326a8d;let _0x22f053=![];try{await global['__driver'][_0x2fab42(0x20d)],_0x22f053=!![],!global[_0x2fab42(0x218)]&&await global[_0x2fab42(0x208)][_0x2fab42(0x217)](_0x2fab42(0x214)+_0x572b61[_0x2fab42(0x1f0)][_0x2fab42(0x207)]+_0x2fab42(0x211)),_0x2215e8[_0x2fab42(0x203)](_0x572b61['result'][_0x2fab42(0x21e)][_0x2fab42(0x200)](),_0x2215e8[_0x2fab42(0x202)])?await _0x2215e8['DfixE'](markSessionStatus,global[_0x2fab42(0x208)],_0x2215e8[_0x2fab42(0x202)],global[_0x2fab42(0x1f4)][_0x2fab42(0x1f3)](_0x2215e8[_0x2fab42(0x21f)])):await _0x2215e8[_0x2fab42(0x21c)](markSessionStatus,global[_0x2fab42(0x208)],_0x2215e8[_0x2fab42(0x1f8)]);}catch(_0x323f1a){logger['debug'](_0x2fab42(0x1fa)+_0x323f1a);}if(_0x22f053)try{await global[_0x2fab42(0x208)][_0x2fab42(0x221)](),_0x2215e8['QZWPt'](_0x122441);}catch(_0x2b3118){logger[_0x2fab42(0x216)](_0x2fab42(0x20f)+_0x2b3118),_0x2215e8['euIEX'](_0x13e746,_0x2b3118);}else _0x2215e8[_0x2fab42(0x204)](_0x13e746);})[_0x326a8d(0x215)](()=>_0xafb1de());});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a9_0x26a4be=a9_0x32ee;(function(_0x4707fa,_0x2109de){const _0x547562=a9_0x32ee,_0x36f541=_0x4707fa();while(!![]){try{const _0x45a81c=parseInt(_0x547562(0x13c))/0x1*(parseInt(_0x547562(0x13a))/0x2)+-parseInt(_0x547562(0x130))/0x3*(-parseInt(_0x547562(0x139))/0x4)+parseInt(_0x547562(0x135))/0x5*(-parseInt(_0x547562(0x13b))/0x6)+parseInt(_0x547562(0x133))/0x7+parseInt(_0x547562(0x12d))/0x8*(parseInt(_0x547562(0x137))/0x9)+parseInt(_0x547562(0x134))/0xa+-parseInt(_0x547562(0x13d))/0xb;if(_0x45a81c===_0x2109de)break;else _0x36f541['push'](_0x36f541['shift']());}catch(_0x275973){_0x36f541['push'](_0x36f541['shift']());}}}(a9_0x12ee,0x2d606));const {requireModule}=require(a9_0x26a4be(0x132)),constants=require(a9_0x26a4be(0x12f));;let cucumberModule=null;try{cucumberModule=requireModule('@cucumber/cucumber/lib/index.js');}catch(a9_0x413fc1){cucumberModule=requireModule(a9_0x26a4be(0x131));}function a9_0x12ee(){const _0x5bc9c0=['../../helpers/helper','2136260FHzvwa','1731080jfMYTv','15DTmjkh','setDefaultTimeout','481851JELFWg','__timeout','422528aTCRya','60866UCvTXu','136302RptucO','3tzXFWA','8739863HhFNrb','40mxbDJT','BSTACK_DELTA','../utils/constants','6KhUnax','cucumber/lib/index.js'];a9_0x12ee=function(){return _0x5bc9c0;};return a9_0x12ee();}function a9_0x32ee(_0x30e4ed,_0x1fd220){const _0x12ee0d=a9_0x12ee();return a9_0x32ee=function(_0x32ee64,_0xc7ac6b){_0x32ee64=_0x32ee64-0x12d;let _0x201de6=_0x12ee0d[_0x32ee64];return _0x201de6;},a9_0x32ee(_0x30e4ed,_0x1fd220);}cucumberModule[a9_0x26a4be(0x136)](constants[a9_0x26a4be(0x12e)]+global[a9_0x26a4be(0x138)]*0x1);
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
'use strict';const a10_0x4ad970=a10_0x1c93;function a10_0x4141(){const _0x18cc2d=['54099pupdaJ','1230tlsiPP','connect','url','integrations','type','winstonLogger','only','help','browserstackLocal','Failed\x20to\x20establish\x20connection.','mmsln','split','options','invalid','map','hosts','command','localIdentifier','13630KzuzSA','vOjwu','config','17795qONzmv','bstackAccessKey','1084FUxSdq','./constants','join','browserStackLocalOptions','epilogue','496wEskHS','every','protocol','qJaap','Integration\x20hosts\x20missing.','replace','hostname','HWnHO','510264mTbPAE','Connection\x20established\x20successfully.','XcByG','bstackAccesskey','../../helpers/BrowserStackSetup','error','undefined','../../helpers/logger','missing','describe','exports','cbafj','https:','JaKbh','port','eLMPO','uHQwj','string','https','30FxguFV','wrDrc','bstack-accesskey','49643CicPsu','5480636zQydva','accessKey','443','BrowserStack\x20access\x20key\x20missing.','2036460DrcCZw','EAxTQ','uJBpR','root','zWoCN','trim','usage'];a10_0x4141=function(){return _0x18cc2d;};return a10_0x4141();}(function(_0x45fa47,_0x2b83ee){const _0x39af72=a10_0x1c93,_0x1889c4=_0x45fa47();while(!![]){try{const _0x4d863b=-parseInt(_0x39af72(0x215))/0x1*(parseInt(_0x39af72(0x1f0))/0x2)+parseInt(_0x39af72(0x1f8))/0x3+parseInt(_0x39af72(0x217))/0x4*(parseInt(_0x39af72(0x212))/0x5)+-parseInt(_0x39af72(0x224))/0x6+-parseInt(_0x39af72(0x1f4))/0x7+-parseInt(_0x39af72(0x21c))/0x8*(parseInt(_0x39af72(0x1ff))/0x9)+parseInt(_0x39af72(0x200))/0xa*(parseInt(_0x39af72(0x1f3))/0xb);if(_0x4d863b===_0x2b83ee)break;else _0x1889c4['push'](_0x1889c4['shift']());}catch(_0x439ef4){_0x1889c4['push'](_0x1889c4['shift']());}}}(a10_0x4141,0x718aa));function a10_0x1c93(_0x593dac,_0x5a30f3){const _0x414179=a10_0x4141();return a10_0x1c93=function(_0x1c93d4,_0x416e14){_0x1c93d4=_0x1c93d4-0x1df;let _0x3735a0=_0x414179[_0x1c93d4];return _0x3735a0;},a10_0x1c93(_0x593dac,_0x5a30f3);}const {default:BrowserStackSetup}=require(a10_0x4ad970(0x1e1)),logger=require(a10_0x4ad970(0x1e4))[a10_0x4ad970(0x205)],{URL}=require(a10_0x4ad970(0x202)),helper=require('../../helpers/helper'),{HELP_MESSAGES,ERROR_MESSAGES}=require(a10_0x4ad970(0x218)),validHosts=function(_0x476416){const _0x311a08=a10_0x4ad970;return _0x476416[_0x311a08(0x20b)](',')[_0x311a08(0x21d)](_0x3e5982=>{const _0x5a3aaa=_0x311a08;try{new URL(_0x3e5982[_0x5a3aaa(0x1fd)]());}catch(_0x4802f8){return![];}return!![];});},parseOnPremHosts=function(_0x459c8e){const _0x119df3=a10_0x4ad970,_0x5ac23e={};_0x5ac23e['jzOAY']=function(_0x757231,_0x1facd0){return _0x757231===_0x1facd0;},_0x5ac23e[_0x119df3(0x213)]=_0x119df3(0x1e9),_0x5ac23e[_0x119df3(0x1fc)]=_0x119df3(0x1f6),_0x5ac23e[_0x119df3(0x1e8)]=function(_0xcb2f09,_0x6cbf61){return _0xcb2f09===_0x6cbf61;},_0x5ac23e[_0x119df3(0x1f9)]=_0x119df3(0x1ef);const _0xe6e58d=_0x5ac23e;return _0x459c8e[_0x119df3(0x20b)](',')[_0x119df3(0x20e)](_0x1103fd=>{const _0x572ffd=_0x119df3,_0x187392=new URL(_0x1103fd[_0x572ffd(0x1fd)]()),_0x4f8472=_0x187392[_0x572ffd(0x222)],_0x457638=_0x187392[_0x572ffd(0x1eb)]||(_0xe6e58d['jzOAY'](_0x187392[_0x572ffd(0x21e)],_0xe6e58d[_0x572ffd(0x213)])?_0xe6e58d[_0x572ffd(0x1fc)]:'80'),_0x547d3f=_0x187392['protocol'][_0x572ffd(0x221)](':',''),_0x28168d=_0xe6e58d[_0x572ffd(0x1e8)](_0x547d3f,_0xe6e58d[_0x572ffd(0x1f9)])?0x1:0x0;return _0x4f8472+','+_0x457638+','+_0x28168d;});},connectCommandBuilder=function(_0xb539b8){const _0x4aaa48=a10_0x4ad970,_0x3817c0={};_0x3817c0[_0x4aaa48(0x223)]=_0x4aaa48(0x1ee);const _0x24d3e4=_0x3817c0,_0x34d76f={};_0x34d76f[_0x4aaa48(0x1e6)]=HELP_MESSAGES[_0x4aaa48(0x20c)][_0x4aaa48(0x216)],_0x34d76f[_0x4aaa48(0x204)]=_0x24d3e4['HWnHO'];const _0x1dd229={};_0x1dd229['describe']=HELP_MESSAGES[_0x4aaa48(0x20c)][_0x4aaa48(0x20f)],_0x1dd229['type']=_0x24d3e4[_0x4aaa48(0x223)],_0x1dd229['demandOption']=!![];const _0x2537b5={};return _0x2537b5[_0x4aaa48(0x1f2)]=_0x34d76f,_0x2537b5[_0x4aaa48(0x20f)]=_0x1dd229,_0xb539b8['options'](_0x2537b5);},connectCommandHandler=async function(_0x36d5e3){const _0x47d7c5=a10_0x4ad970,_0x1f4bc4={'QEvJN':_0x47d7c5(0x203),'uHQwj':function(_0x350813,_0x3d0fb0){return _0x350813===_0x3d0fb0;},'wrDrc':_0x47d7c5(0x1e3),'Kegjv':_0x47d7c5(0x1f7),'KwrUJ':_0x47d7c5(0x220),'JaKbh':function(_0x3bbc18,_0x26230a){return _0x3bbc18(_0x26230a);},'RvSyK':'Hosts\x20not\x20valid','qJaap':'integrations-repeater','eLMPO':_0x47d7c5(0x225),'uJBpR':_0x47d7c5(0x209)};try{const _0x11f7d1=new BrowserStackSetup(_0x36d5e3,_0x1f4bc4['QEvJN']);_0x36d5e3[_0x47d7c5(0x1e0)]&&(_0x11f7d1[_0x47d7c5(0x214)]['accessKey']=_0x36d5e3[_0x47d7c5(0x1e0)]);if(_0x1f4bc4[_0x47d7c5(0x1ed)](typeof _0x11f7d1[_0x47d7c5(0x214)][_0x47d7c5(0x1f5)],_0x1f4bc4[_0x47d7c5(0x1f1)])){logger[_0x47d7c5(0x1e2)](_0x1f4bc4['Kegjv']);throw new Error(ERROR_MESSAGES[_0x47d7c5(0x216)]['missing']);}const _0x2b5828=_0x36d5e3[_0x47d7c5(0x20f)];if(_0x1f4bc4[_0x47d7c5(0x1ed)](typeof _0x2b5828,_0x1f4bc4[_0x47d7c5(0x1f1)])){logger[_0x47d7c5(0x1e2)](_0x1f4bc4['KwrUJ']);throw new Error(ERROR_MESSAGES['hosts'][_0x47d7c5(0x1e5)]);}if(!_0x1f4bc4[_0x47d7c5(0x1ea)](validHosts,_0x2b5828)){logger[_0x47d7c5(0x1e2)](_0x1f4bc4['RvSyK']);throw new Error(ERROR_MESSAGES['hosts'][_0x47d7c5(0x20d)]);}const _0x2509bd=_0x1f4bc4[_0x47d7c5(0x1ea)](parseOnPremHosts,_0x2b5828);_0x11f7d1[_0x47d7c5(0x214)][_0x47d7c5(0x208)]=!![],_0x11f7d1['config'][_0x47d7c5(0x21a)][_0x47d7c5(0x211)]=_0x1f4bc4[_0x47d7c5(0x21f)],_0x11f7d1[_0x47d7c5(0x214)][_0x47d7c5(0x21a)][_0x47d7c5(0x206)]=_0x2509bd[_0x47d7c5(0x219)](','),helper['setProxySettings'](_0x11f7d1[_0x47d7c5(0x214)]),await _0x11f7d1['setupBrowserstackLocal'](),logger['info'](_0x1f4bc4[_0x47d7c5(0x1ec)]);}catch(_0x2164ea){logger['error'](_0x1f4bc4[_0x47d7c5(0x1fa)]);throw new Error(_0x2164ea['toString']());}};function run(_0x457e77){const _0x54198e=a10_0x4ad970,_0x48a02d={};_0x48a02d[_0x54198e(0x20a)]=_0x54198e(0x201),_0x48a02d[_0x54198e(0x1df)]=_0x54198e(0x207);const _0x1c7a31=_0x48a02d;_0x457e77[_0x54198e(0x1fe)](HELP_MESSAGES[_0x54198e(0x210)][_0x54198e(0x1fb)])['command'](_0x1c7a31['mmsln'],HELP_MESSAGES['command'][_0x54198e(0x201)],connectCommandBuilder,connectCommandHandler)['demandCommand']()['help'](_0x1c7a31[_0x54198e(0x1df)])[_0x54198e(0x21b)](HELP_MESSAGES[_0x54198e(0x210)]['footer']);}module[a10_0x4ad970(0x1e7)]=run;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var a11_0x1bf9a6=a11_0x2ae6;function a11_0x30db(){var _0xc37bc4=['HELP_MESSAGES','command','535915AklbzW','214YwsmXv','bstackAccessKey','Connect\x20new\x20integration\x20from\x20a\x20list\x20of\x20supported\x20tools.','options','footer','19848vbnqnB','Use\x20\x22browserstack-cli\x20integrations\x20<command_group>\x20-h/--help\x22\x20for\x20additional\x20help\x20and\x20details\x20about\x20BrowserStack\x20integrations.','1292095nbWNgj','hosts','968fuezjh','320600BhVapC','This\x20option\x20allows\x20you\x20to\x20provide\x20additional\x20configuration\x20specific\x20to\x20your\x20environment.\x20Specify\x20a\x20comma\x20separated\x20list\x20of\x20hosts\x20(eg:\x20http://your-jira.yourdomain.com:8080,..)\x20for\x20the\x20integration.','missing','BrowserStack\x20access\x20key\x20missing.\x20Specify\x20your\x20BrowserStack\x20access\x20key\x20for\x20authentication\x20with\x20our\x20services.','845624hinBkU','301107bCyKkW','Integration\x20hosts\x20are\x20not\x20in\x20the\x20right\x20format.\x20Specify\x20a\x20comma\x20separated\x20list\x20of\x20hosts\x20(eg:\x20http://your-jira.yourdomain.com:8080,..)\x20for\x20the\x20integration.','Integrate\x20BrowserStack\x20with\x20your\x20favorite\x20third-party\x20tools\x20for\x20faster\x20and\x20efficient\x20testing.','Integration\x20hosts\x20missing.\x20Specify\x20a\x20comma\x20separated\x20list\x20of\x20hosts\x20(eg:\x20http://your-jira.yourdomain.com:8080,..)\x20for\x20the\x20integration.','root','invalid'];a11_0x30db=function(){return _0xc37bc4;};return a11_0x30db();}(function(_0x91db4c,_0x5266c1){var _0x3515c7=a11_0x2ae6,_0x5a4ad3=_0x91db4c();while(!![]){try{var _0x5f2168=parseInt(_0x3515c7(0x1d0))/0x1*(-parseInt(_0x3515c7(0x1c1))/0x2)+parseInt(_0x3515c7(0x1c7))/0x3+-parseInt(_0x3515c7(0x1c6))/0x4+parseInt(_0x3515c7(0x1cf))/0x5+-parseInt(_0x3515c7(0x1d5))/0x6+parseInt(_0x3515c7(0x1bf))/0x7+parseInt(_0x3515c7(0x1c2))/0x8;if(_0x5f2168===_0x5266c1)break;else _0x5a4ad3['push'](_0x5a4ad3['shift']());}catch(_0x592cb5){_0x5a4ad3['push'](_0x5a4ad3['shift']());}}}(a11_0x30db,0x1bd02));var a11_0x15d566={};a11_0x15d566[a11_0x1bf9a6(0x1d1)]='Specify\x20your\x20BrowserStack\x20access\x20key\x20for\x20authentication\x20with\x20our\x20services.',a11_0x15d566['hosts']=a11_0x1bf9a6(0x1c3);function a11_0x2ae6(_0x5664d7,_0x4de925){var _0x30db96=a11_0x30db();return a11_0x2ae6=function(_0x2ae693,_0x47f061){_0x2ae693=_0x2ae693-0x1be;var _0x315959=_0x30db96[_0x2ae693];return _0x315959;},a11_0x2ae6(_0x5664d7,_0x4de925);}var a11_0x1078f3={};a11_0x1078f3[a11_0x1bf9a6(0x1cb)]=a11_0x1bf9a6(0x1c9),a11_0x1078f3['connect']=a11_0x1bf9a6(0x1d2),a11_0x1078f3[a11_0x1bf9a6(0x1d4)]=a11_0x1bf9a6(0x1be);var a11_0x51b465={};a11_0x51b465[a11_0x1bf9a6(0x1d3)]=a11_0x15d566,a11_0x51b465[a11_0x1bf9a6(0x1ce)]=a11_0x1078f3,exports[a11_0x1bf9a6(0x1cd)]=a11_0x51b465;var a11_0x427972={};a11_0x427972[a11_0x1bf9a6(0x1c4)]=a11_0x1bf9a6(0x1c5);var a11_0x384e6c={};a11_0x384e6c[a11_0x1bf9a6(0x1c4)]=a11_0x1bf9a6(0x1ca),a11_0x384e6c[a11_0x1bf9a6(0x1cc)]=a11_0x1bf9a6(0x1c8);var a11_0x6062fa={};a11_0x6062fa['bstackAccessKey']=a11_0x427972,a11_0x6062fa[a11_0x1bf9a6(0x1c0)]=a11_0x384e6c,exports['ERROR_MESSAGES']=a11_0x6062fa;
|
package/src/bin/jest/command.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a10_0x25d798=a10_0x3f1c;(function(_0x39fcd3,_0x29bfdf){const _0x5f3626=a10_0x3f1c,_0x3a2219=_0x39fcd3();while(!![]){try{const _0x4255fe=-parseInt(_0x5f3626(0xf2))/0x1*(parseInt(_0x5f3626(0xc7))/0x2)+-parseInt(_0x5f3626(0x12e))/0x3+parseInt(_0x5f3626(0xce))/0x4+parseInt(_0x5f3626(0xe8))/0x5+parseInt(_0x5f3626(0xb5))/0x6+-parseInt(_0x5f3626(0x108))/0x7*(-parseInt(_0x5f3626(0x105))/0x8)+-parseInt(_0x5f3626(0xf3))/0x9;if(_0x4255fe===_0x29bfdf)break;else _0x3a2219['push'](_0x3a2219['shift']());}catch(_0x4148c9){_0x3a2219['push'](_0x3a2219['shift']());}}}(a10_0x5710,0xbcf1c));function a10_0x5710(){const _0x18a75d=['DGiNC','MbppP','testContextOptions','resolve','handleApp','slZvR','isTestObservabilitySession','BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run\x20ID:\x20','jQFxu','length','hjnvF','jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','getHubUrl','XqYkE','reporters','debug','platforms','--config','testObservability','timeout__','./test-observability/test-details','703695iEaYMc','initialize','Getting\x20your\x20jest\x20configs\x20from\x20package.json','njFuW','launch','jest.cmd','findIndex','root_dir_path','BROWSERSTACK_TEST_ACCESSIBILITY_YML','forEach','jest','winstonLogger','runInBand','testEnvironment','Creating\x20','parallelsPerPlatform','skipping\x20test_before\x20setup\x20since\x20selenium\x20not\x20found','printBuildLink','MODULE','../../helpers/logger','TZYgb','setup','skipSessionStatus','lDdEH','/jest.setup.js','errorMessage','\x0a\x0a\x20\x20\x20\x20const\x20ReporterDispatcher\x20=\x20_interopRequireDefault(requireModule(\x27@jest/core/build/ReporterDispatcher.js\x27)).default;\x20//node_modules/@jest/core/build/ReporterDispatcher.js\x0a\x20\x20\x20\x20const\x20fs\x20=\x20require(\x27fs\x27);\x0a\x20\x20\x20\x20const\x20path\x20=\x20require(\x27path\x27);\x0a\x20\x20\x20\x20const\x20helper\x20=\x20require(\x27../../../helpers/helper\x27);\x0a\x20\x20\x20\x20var\x20_someFunc\x20=\x20ReporterDispatcher.prototype.onRunComplete;\x0a\x20\x20\x20\x20ReporterDispatcher.prototype.onRunComplete\x20=\x20async\x20function\x20(testContexts,\x20results)\x20{\x0a\x20\x20\x20\x20\x20\x20results.numTotalTestSuites\x20=\x20results.numTotalTestSuites\x20*\x20','Error\x20while\x20parsing\x20','1788696UKThNV','Modifying\x20jest\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','browserStackPercyOptions','Exception\x20in\x20stop\x20build\x20request\x20to\x20Observability\x20:\x20','true','LZxyq','GGOpo','XLLbl','info','testEnvironmentOptions','jtudf','json','turboScaleUrl','MSRcF','\x20:\x20','proxySettings','../utils/constants','jest_browserstack.config.cjs','6886lBdOka','jest.config.','join','config','child_process','accessibilityOptions','inherit','4554624RfXUwo','cjs','dhMgN','splice','shutdown','existsSync','isUndefined','SbjiF','../../helpers/accessibility-automation/helper','close','maxWorkers','setupFiles','const\x20config=','test','ZDxFP','stringify','JqJwU','setupFilesAfterEnv','/customImplements/customTestRunnerTemplate.js','push','readFileSync','runner','BROWSERSTACK_TEST_OBSERVABILITY_YML','jest_browserstack_results.json','platformCaps','env','6683285Jqsyns','unlinkSync','isAccessibilityAutomationSession','kMcLt','platform','qBjlY','idOCF','checkAccessibilityPlatformConfig','default','logLevel','58gBbsOG','23821119AZCwAt','mjs','xqWci','path','/customImplements/customTestRunner.js','../../helpers/BrowserStackSetup','Getting\x20your\x20jest\x20configs\x20from\x20',';\x0a\x20\x20\x20\x20\x20\x20fs.writeFileSync(path.join(__dirname,\x20\x27jest_browserstack_results.json\x27),\x20JSON.stringify(results));\x0a\x20\x20\x20\x20\x20\x20return\x20_someFunc.call(this,\x20testContexts,\x20results);\x0a\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20var\x20_onTestFileResultOrig\x20=\x20ReporterDispatcher.prototype.onTestFileResult;\x0a\x20\x20\x20\x20ReporterDispatcher.prototype.onTestFileResult\x20=\x20async\x20function\x20(test,\x20testResult,\x20result)\x20{\x0a\x20\x20\x20\x20\x20\x20testResult.platform\x20=\x20helper.getPlatformName(test.context.config.capability);\x0a\x20\x20\x20\x20\x20\x20return\x20_onTestFileResultOrig.call(this,\x20test,\x20testResult,\x20result);\x0a\x20\x20\x20\x20}\x0a\x20\x20','useW3C','cNyWn','testTimeout','../../helpers/helper','capabilities','../../helpers/test-observability/utils','jest_browserstack.config.js','markSDKSetupComplete','/customImplements/customEnvironment.js','QdCqB','8652296ujEatL','Unable\x20to\x20find\x20jest-circus,\x20','exports','7IRJsOT','log','exitCode','Showing\x20jest\x20logs\x20and\x20reporter\x20logs.','serial__','BSTACK_JEST_TEST_ENV','BS_A11Y_JWT','RUYtG','getErrorMessageFromResults','skipSessionName','child\x20process\x20exited\x20with\x20code\x20','/test_before.setup.js','assign','\x0amodule.exports\x20=\x20config;','afhRq','uACld','accessibility'];a10_0x5710=function(){return _0x18a75d;};return a10_0x5710();}const fs=require('fs'),path=require(a10_0x25d798(0xf6)),{spawn}=require(a10_0x25d798(0xcb)),logger=require(a10_0x25d798(0xac))[a10_0x25d798(0xa4)],{default:BrowserStackSetup}=require(a10_0x25d798(0xf8)),helper=require(a10_0x25d798(0xfe)),constants=require(a10_0x25d798(0xc5)),accessibilityHelper=require(a10_0x25d798(0xd6)),{updateTestRerunConfig}=require('./test-observability/helper'),testOpsHelper=require('../../helpers/test-observability/utils'),SessionHandler=require('../../helpers/test-observability/sessionHandler'),{getFrameworkVersion,debug}=require(a10_0x25d798(0x100)),TestDetails=require(a10_0x25d798(0x12d)),{getPercyOptions}=require('../../helpers/percy/utils'),getUserJestConfigs=(_0x40567b,_0x36d825)=>{const _0x42bda0=a10_0x25d798,_0x251bb1={'lDdEH':function(_0x4a6dc2,_0x5011a4){return _0x4a6dc2(_0x5011a4);},'xsTgm':function(_0x553c89,_0x2b38ed){return _0x553c89||_0x2b38ed;},'idOCF':'package.json','JdlKu':_0x42bda0(0x130),'afhRq':_0x42bda0(0xf4),'njFuW':_0x42bda0(0xcf),'SNulh':_0x42bda0(0xc0),'DGiNC':function(_0x3fe214,_0x34a0b4){return _0x3fe214(_0x34a0b4);}},_0x593c97=_0x36d825[_0x42bda0(0x134)](_0x24f68f=>_0x24f68f==='--config');if(!helper['isUndefined'](_0x40567b[_0x42bda0(0xca)])){logger['info'](_0x42bda0(0xf9)+_0x40567b[_0x42bda0(0xca)]);const _0x296a9b=_0x251bb1[_0x42bda0(0xb0)](require,path[_0x42bda0(0x11c)](_0x40567b['config']));return _0x36d825[_0x42bda0(0xd1)](_0x593c97,0x2),_0x251bb1['xsTgm'](_0x296a9b,{});}const _0x58dc25=_0x251bb1[_0x42bda0(0xb0)](require,path[_0x42bda0(0xc9)](process['cwd'](),_0x251bb1[_0x42bda0(0xee)]));if(_0x58dc25[_0x42bda0(0x138)])return logger['info'](_0x251bb1['JdlKu']),_0x58dc25['jest'];const _0x2ef894=['js',_0x251bb1[_0x42bda0(0x116)],_0x251bb1[_0x42bda0(0x131)],_0x251bb1['SNulh'],'ts'];for(const _0x38fa57 of _0x2ef894){const _0x3e65df=path[_0x42bda0(0xc9)](process['cwd'](),_0x42bda0(0xc8)+_0x38fa57);if(fs[_0x42bda0(0xd3)](_0x3e65df))return _0x251bb1[_0x42bda0(0x119)](require,_0x3e65df);}return{};},getSerial=(_0x1ce283,_0x5ad91e)=>{const _0x132611=a10_0x25d798,_0x29f9fe={};_0x29f9fe[_0x132611(0xbf)]=_0x132611(0xb9),_0x29f9fe[_0x132611(0xc2)]=function(_0x29c343,_0x2e384d){return _0x29c343>_0x2e384d;},_0x29f9fe['XqYkE']='false';const _0x3f8ce=_0x29f9fe;let _0xb5cf87=_0x3f8ce[_0x132611(0xbf)];return _0x3f8ce[_0x132611(0xc2)](_0x1ce283[_0x132611(0x122)],0x1)&&(!_0x5ad91e[_0x132611(0xa5)]&&(helper['isUndefined'](_0x5ad91e[_0x132611(0xd8)])||_0x3f8ce['MSRcF'](_0x5ad91e['maxWorkers'],0x1)))&&(_0xb5cf87=_0x3f8ce[_0x132611(0x126)]),_0xb5cf87;},getMaxWorkers=(_0x426e29,_0xb3a59f)=>{const _0x5d45d0=a10_0x25d798,_0x4ae7e5={'xqWci':function(_0x2df25a,_0x46fe61){return _0x2df25a(_0x46fe61);}};let _0x25a829=0x1;if(!helper['isUndefined'](_0xb3a59f[_0x5d45d0(0xa8)]))_0x25a829=_0x4ae7e5[_0x5d45d0(0xf5)](parseInt,_0xb3a59f['parallelsPerPlatform']);else!helper['isUndefined'](_0x426e29[_0x5d45d0(0xd8)])&&(_0x25a829=_0x426e29[_0x5d45d0(0xd8)]);return _0x25a829;};function a10_0x3f1c(_0xfe5086,_0x1aab84){const _0x5710a1=a10_0x5710();return a10_0x3f1c=function(_0x3f1ca0,_0x4d8917){_0x3f1ca0=_0x3f1ca0-0xa4;let _0x5e3faa=_0x5710a1[_0x3f1ca0];return _0x5e3faa;},a10_0x3f1c(_0xfe5086,_0x1aab84);}async function run(_0x4b4e4c,_0x39f630){const _0x5d7ba8=a10_0x25d798,_0x5cde5a={'slZvR':_0x5d7ba8(0x138),'MbppP':function(_0x553b3b,_0x4df116){return _0x553b3b(_0x4df116);},'TOSLp':function(_0x121fb0,_0x35855c){return _0x121fb0!=_0x35855c;},'JqJwU':_0x5d7ba8(0xb9),'MUBDU':function(_0x20e3d9,_0x8b7a7a,_0x3bdfb7){return _0x20e3d9(_0x8b7a7a,_0x3bdfb7);},'GGOpo':_0x5d7ba8(0xb6),'qBjlY':function(_0x5e6fc4,_0x32ace7){return _0x5e6fc4>_0x32ace7;},'RUYtG':function(_0x3692a5,_0x39e679,_0x23ccdd){return _0x3692a5(_0x39e679,_0x23ccdd);},'CGsBl':function(_0x3665af,_0x1dedb6){return _0x3665af*_0x1dedb6;},'eDKtc':function(_0x55767d,_0x2a1996){return _0x55767d===_0x2a1996;},'HwWQq':_0x5d7ba8(0xc6),'jQFxu':_0x5d7ba8(0x101),'dhMgN':'customImplements','TZYgb':_0x5d7ba8(0xe5),'XLLbl':_0x5d7ba8(0x124),'SbjiF':function(_0x36c354,_0x7bd5d2){return _0x36c354(_0x7bd5d2);},'hjnvF':_0x5d7ba8(0xa9),'xlOUS':_0x5d7ba8(0xf0),'uACld':_0x5d7ba8(0x10b),'ZDxFP':function(_0x2d4f44,_0x54b90b){return _0x2d4f44(_0x54b90b);},'QdCqB':function(_0xf9a5,_0x3d0223,_0x5743f3,_0xe492ed){return _0xf9a5(_0x3d0223,_0x5743f3,_0xe492ed);},'cNyWn':_0x5d7ba8(0x133),'kMcLt':_0x5d7ba8(0x12a),'LZxyq':_0x5d7ba8(0xcd),'ExxIk':_0x5d7ba8(0xd7)},_0x2c401f=new BrowserStackSetup(_0x4b4e4c,_0x5cde5a[_0x5d7ba8(0x11e)]);helper['isBrowserstackInfra']()&&(await _0x2c401f[_0x5d7ba8(0x12f)](),await helper[_0x5d7ba8(0x11d)](_0x2c401f['config']));if(!_0x2c401f[_0x5d7ba8(0xca)])return;_0x5cde5a['TOSLp'](_0x2c401f['config'][_0x5d7ba8(0x12b)],null)?process[_0x5d7ba8(0xe7)][_0x5d7ba8(0xe4)]=_0x2c401f[_0x5d7ba8(0xca)][_0x5d7ba8(0x12b)]:process[_0x5d7ba8(0xe7)][_0x5d7ba8(0xe4)]=_0x5cde5a[_0x5d7ba8(0xde)];const _0x1a0810=_0x5cde5a['MUBDU'](getUserJestConfigs,_0x4b4e4c,_0x39f630);logger[_0x5d7ba8(0xbd)](_0x5cde5a[_0x5d7ba8(0xbb)]);const _0x1f074f=Object[_0x5d7ba8(0x114)]({},_0x1a0810);_0x1f074f[_0x5d7ba8(0xbe)]=Object['assign']({},_0x1f074f[_0x5d7ba8(0xbe)],{'server':helper[_0x5d7ba8(0x125)](_0x2c401f[_0x5d7ba8(0xca)]),'environment':_0x1a0810[_0x5d7ba8(0xa6)]}),_0x1f074f['testEnvironmentOptions'][_0x5d7ba8(0xb7)]=_0x5cde5a[_0x5d7ba8(0x11a)](getPercyOptions,_0x2c401f[_0x5d7ba8(0xca)]);const _0x4a0f1b=helper[_0x5d7ba8(0xfb)](_0x2c401f[_0x5d7ba8(0xca)]),_0x269154=[];_0x5cde5a[_0x5d7ba8(0xed)](_0x2c401f['config'][_0x5d7ba8(0x129)][_0x5d7ba8(0x122)],0x0)?_0x2c401f['config'][_0x5d7ba8(0x129)][_0x5d7ba8(0x137)]((_0x2e5ec6,_0x41f993)=>{const _0x33ff4f=_0x5d7ba8;_0x4a0f1b?_0x269154[_0x33ff4f(0xe1)](helper['modifyBrowserStackW3CCaps'](_0x2c401f[_0x33ff4f(0xca)],_0x5cde5a[_0x33ff4f(0x11e)],_0x41f993)):_0x269154['push'](helper['modifyBrowserStackCaps'](_0x2c401f[_0x33ff4f(0xca)],_0x5cde5a[_0x33ff4f(0x11e)],_0x41f993));}):_0x269154[_0x5d7ba8(0xe1)]({});!helper[_0x5d7ba8(0xd4)](_0x2c401f[_0x5d7ba8(0xca)][_0x5d7ba8(0xcc)])&&(process[_0x5d7ba8(0xe7)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON[_0x5d7ba8(0xdd)](_0x2c401f[_0x5d7ba8(0xca)][_0x5d7ba8(0xcc)]));let _0x2961c1=_0x2c401f[_0x5d7ba8(0xca)][_0x5d7ba8(0x118)];_0x2961c1=_0x2961c1||accessibilityHelper[_0x5d7ba8(0xef)](_0x2c401f[_0x5d7ba8(0xca)]),process[_0x5d7ba8(0xe7)][_0x5d7ba8(0x136)]=_0x2961c1;if(_0x2961c1){const [_0x467d53,_0x511e32]=await accessibilityHelper['createAccessibilityTestRun'](_0x2c401f[_0x5d7ba8(0xca)],_0x5cde5a[_0x5d7ba8(0x11e)]);logger['info'](_0x5d7ba8(0x120)+_0x511e32),process['env'][_0x5d7ba8(0x10e)]=_0x467d53,process[_0x5d7ba8(0xe7)]['BS_A11Y_TEST_RUN_ID']=_0x511e32;}_0x1f074f[_0x5d7ba8(0xbe)][_0x5d7ba8(0xff)]=_0x269154,_0x1f074f[_0x5d7ba8(0xbe)][_0x5d7ba8(0x10c)]=_0x5cde5a[_0x5d7ba8(0x10f)](getSerial,_0x269154,_0x4b4e4c),_0x1f074f[_0x5d7ba8(0xbe)]['parallels__']=_0x5cde5a[_0x5d7ba8(0x10f)](getMaxWorkers,_0x4b4e4c,_0x2c401f[_0x5d7ba8(0xca)]),_0x1f074f['testEnvironmentOptions'][_0x5d7ba8(0xc4)]=_0x2c401f['config'][_0x5d7ba8(0xc4)],_0x1f074f[_0x5d7ba8(0xbe)][_0x5d7ba8(0x12c)]=_0x5cde5a['CGsBl'](_0x4b4e4c[_0x5d7ba8(0xfd)],0x1)||0x1388,_0x1f074f[_0x5d7ba8(0xbe)][_0x5d7ba8(0x111)]=_0x2c401f[_0x5d7ba8(0xca)]['testContextOptions'][_0x5d7ba8(0x111)],_0x1f074f[_0x5d7ba8(0xbe)][_0x5d7ba8(0xaf)]=_0x2c401f[_0x5d7ba8(0xca)][_0x5d7ba8(0x11b)][_0x5d7ba8(0xaf)],_0x1f074f[_0x5d7ba8(0xbe)]['browserStackLogLevel']=_0x2c401f[_0x5d7ba8(0xca)][_0x5d7ba8(0xf1)],_0x1f074f[_0x5d7ba8(0xbe)][_0x5d7ba8(0xc1)]=_0x2c401f['config'][_0x5d7ba8(0xc1)],_0x1f074f[_0x5d7ba8(0xbe)][_0x5d7ba8(0xe6)]=_0x2c401f[_0x5d7ba8(0xca)][_0x5d7ba8(0x129)];let _0x15d417='';_0x5cde5a['eDKtc'](helper['getPackageType'](),constants['PACKAGE_TYPE'][_0x5d7ba8(0xab)])?_0x15d417=_0x5cde5a['HwWQq']:_0x15d417=_0x5cde5a[_0x5d7ba8(0x121)];const _0x191959=_0x15d417,_0x436bfe=path['join'](__dirname,_0x5cde5a[_0x5d7ba8(0xd0)],_0x5cde5a[_0x5d7ba8(0xad)]),_0x12668d=__dirname+_0x5d7ba8(0xf7),_0x31e7bc=__dirname+_0x5d7ba8(0xe0);_0x1f074f[_0x5d7ba8(0xa6)]&&(process[_0x5d7ba8(0xe7)][_0x5d7ba8(0x10d)]=_0x1f074f[_0x5d7ba8(0xa6)]);_0x1f074f[_0x5d7ba8(0xa6)]=__dirname+_0x5d7ba8(0x103),_0x1f074f['runner']=_0x12668d,_0x1f074f[_0x5d7ba8(0xdf)]=_0x1f074f[_0x5d7ba8(0xdf)]||[],_0x1f074f['setupFilesAfterEnv'][_0x5d7ba8(0xe1)](__dirname+_0x5d7ba8(0xb1));if(testOpsHelper[_0x5d7ba8(0x11f)]()){let _0x59d370=null;try{_0x59d370=helper['requireModule'](_0x5cde5a[_0x5d7ba8(0xbc)]);}catch(_0x2ad19b){_0x5cde5a[_0x5d7ba8(0xd5)](debug,_0x5d7ba8(0x106)+_0x2ad19b);}_0x59d370&&(_0x1f074f['setupFilesAfterEnv']['push'](__dirname+'/test-observability/data-hooks.js'),_0x1f074f['testRunner']=__dirname+'/customImplements/customCircus.js');}_0x1f074f[_0x5d7ba8(0xd9)]=_0x1f074f[_0x5d7ba8(0xd9)]||[];try{helper['requireSeleniumWebdriver'](),_0x1f074f[_0x5d7ba8(0xd9)][_0x5d7ba8(0xe1)](__dirname+_0x5d7ba8(0x113));}catch{logger[_0x5d7ba8(0x128)](_0x5cde5a[_0x5d7ba8(0x123)]);}_0x1f074f['reporters']=_0x1f074f[_0x5d7ba8(0x127)]||[_0x5cde5a['xlOUS']],_0x5cde5a['MUBDU'](updateTestRerunConfig,_0x1f074f,_0x2c401f);const _0x3b906d=fs[_0x5d7ba8(0xe2)](_0x31e7bc);fs['writeFileSync'](_0x1f074f[_0x5d7ba8(0xe3)],'\x0a\x20\x20\x20\x20'+_0x3b906d+_0x5d7ba8(0xb3)+_0x2c401f['config'][_0x5d7ba8(0x129)]['length']+_0x5d7ba8(0xfa)),logger[_0x5d7ba8(0xbd)](_0x5d7ba8(0xa7)+_0x191959+'\x20with\x20browserstack\x20jest\x20configs'),fs['writeFileSync'](_0x191959,_0x5d7ba8(0xda)+JSON[_0x5d7ba8(0xdd)](_0x1f074f)+_0x5d7ba8(0x115)),logger[_0x5d7ba8(0xbd)](_0x5cde5a[_0x5d7ba8(0x117)]);const _0x35944f={};_0x35944f[_0x5d7ba8(0x135)]='',await SessionHandler[_0x5d7ba8(0x132)](Object['assign']({},_0x2c401f[_0x5d7ba8(0xca)],_0x35944f),{'frameworkName':_0x5cde5a[_0x5d7ba8(0x11e)],'frameworkVersion':_0x5cde5a[_0x5d7ba8(0xdc)](getFrameworkVersion,_0x5cde5a[_0x5d7ba8(0x11e)])});testOpsHelper[_0x5d7ba8(0x11f)]()&&TestDetails[_0x5d7ba8(0xae)]();helper['filterBrowserstackConfig']({},_0x39f630),helper[_0x5d7ba8(0x102)]();const _0x2c51b3=_0x5cde5a[_0x5d7ba8(0x104)](spawn,/^win/[_0x5d7ba8(0xdb)](process[_0x5d7ba8(0xec)])?_0x5cde5a[_0x5d7ba8(0xfc)]:_0x5cde5a['slZvR'],[_0x5cde5a[_0x5d7ba8(0xeb)],_0x191959,..._0x39f630['slice'](0x1)],{'stdio':_0x5cde5a[_0x5d7ba8(0xba)],'env':Object[_0x5d7ba8(0x114)]({},process[_0x5d7ba8(0xe7)])});_0x2c51b3['on'](_0x5cde5a['ExxIk'],async _0x2299a7=>{const _0x151961=_0x5d7ba8;process[_0x151961(0x10a)]=_0x2299a7,logger[_0x151961(0x128)](_0x151961(0x112)+_0x2299a7),logger[_0x151961(0xbd)]('Deleting\x20'+_0x191959);let _0x91fff3=null;if(fs['existsSync'](_0x436bfe)){_0x91fff3=fs[_0x151961(0xe2)](_0x436bfe);try{_0x91fff3=JSON['parse'](_0x91fff3);}catch(_0x247b93){logger[_0x151961(0x128)](_0x151961(0xb4)+_0x436bfe+',\x20'+_0x91fff3+_0x151961(0xc3)+_0x247b93);}fs[_0x151961(0xe9)](_0x436bfe);}accessibilityHelper[_0x151961(0xea)]()&&accessibilityHelper['stopAccessibilityTestRun'](_0x2c401f['config']);fs[_0x151961(0xe9)](_0x191959),fs['unlinkSync'](_0x12668d),_0x91fff3&&(_0x2c401f[_0x151961(0xb2)]=helper[_0x151961(0x110)](_0x91fff3,_0x5cde5a[_0x151961(0x11e)],_0x2c401f));if(testOpsHelper[_0x151961(0x11f)]())try{await SessionHandler['stop']();}catch(_0x14976f){console[_0x151961(0x109)](_0x14976f),_0x5cde5a[_0x151961(0x11a)](debug,_0x151961(0xb8)+_0x14976f);}testOpsHelper[_0x151961(0xaa)](),TestDetails[_0x151961(0xd2)](),await helper['finalExecution'](_0x2c401f);});}module[a10_0x25d798(0x107)]=run;
|
|
2
|
+
'use strict';const a12_0x2ed126=a12_0x34f3;function a12_0x508f(){const _0x318bf0=['Unable\x20to\x20find\x20jest-circus,\x20','inherit','xdgeN','platformCaps','parallelsPerPlatform','Creating\x20','skipSessionName','IYjiz','KaXZm','ZGXVn','findIndex','sOeVC','MjAPU','cwd','child\x20process\x20exited\x20with\x20code\x20','launch','package.json','BS_A11Y_TEST_RUN_ID','4708oBsBba','tUolJ','platforms','forEach','filterBrowserstackConfig','./test-observability/test-details','jest_browserstack_results.json','json','turboScaleUrl','browserStackLogLevel','accessibilityOptions','Deleting\x20','gXEqB','RviJo','/customImplements/customEnvironment.js','PDduB','isBrowserstackInfra','\x20:\x20','rZRLa','KCjEx','length','proxySettings','Modifying\x20jest\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','Error\x20while\x20parsing\x20','browserStackPercyOptions','child_process','join','isUndefined','initialize','runInBand','../utils/constants','timeout__','/customImplements/customCircus.js','existsSync','stringify','1115382jIfIJu','getHubUrl','platform','useW3C','jest','\x0a\x20\x20\x20\x20','2635829uUmlFD','TFDft','logLevel','root_dir_path','runner','skipSessionStatus','PACKAGE_TYPE','\x0amodule.exports\x20=\x20config;','1212410HonyDg','../../helpers/BrowserStackSetup','capabilities','taWEc','JsgZu','checkAccessibilityPlatformConfig','exitCode','1242bdMQGK','MODULE','close','testObservability','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','maxWorkers','accessibility','\x20with\x20browserstack\x20jest\x20configs','GBJuD','cjs','env','parse','mjs','winstonLogger','../../helpers/helper','resolve','parallels__','Getting\x20your\x20jest\x20configs\x20from\x20package.json','CJYhu','requireSeleniumWebdriver','debug','Getting\x20your\x20jest\x20configs\x20from\x20','../../helpers/accessibility-automation/helper','setupFilesAfterEnv','config','8bKWYLZ','skipping\x20test_before\x20setup\x20since\x20selenium\x20not\x20found','writeFileSync','info','/customImplements/customTestRunner.js','fdgzj','Exception\x20in\x20stop\x20build\x20request\x20to\x20Observability\x20:\x20',';\x0a\x20\x20\x20\x20\x20\x20fs.writeFileSync(path.join(__dirname,\x20\x27jest_browserstack_results.json\x27),\x20JSON.stringify(results));\x0a\x20\x20\x20\x20\x20\x20return\x20_someFunc.call(this,\x20testContexts,\x20results);\x0a\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20var\x20_onTestFileResultOrig\x20=\x20ReporterDispatcher.prototype.onTestFileResult;\x0a\x20\x20\x20\x20ReporterDispatcher.prototype.onTestFileResult\x20=\x20async\x20function\x20(test,\x20testResult,\x20result)\x20{\x0a\x20\x20\x20\x20\x20\x20testResult.platform\x20=\x20helper.getPlatformName(test.context.config.capability);\x0a\x20\x20\x20\x20\x20\x20return\x20_onTestFileResultOrig.call(this,\x20test,\x20testResult,\x20result);\x0a\x20\x20\x20\x20}\x0a\x20\x20','push','4356117PQxqtB','spbVY','BROWSERSTACK_TEST_OBSERVABILITY_YML','path','BROWSERSTACK_TEST_ACCESSIBILITY_YML','test','getPackageType','/customImplements/customTestRunnerTemplate.js','markSDKSetupComplete','--config','270080rvifXo','slice','jest_browserstack.config.js','jest.config.','unlinkSync','jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','readFileSync','testContextOptions','DcAHa','ASjnl','shutdown','modifyBrowserStackCaps','yJQlg','createAccessibilityTestRun','XvEbO','CaKWE','../../helpers/test-observability/utils','setupFiles','isTestObservabilitySession','requireModule','testEnvironment','splice','DhHvA','iooUf','testTimeout','isAccessibilityAutomationSession','true','assign','testEnvironmentOptions','387564mImJrS','./test-observability/helper','reporters','printBuildLink','kHmpr'];a12_0x508f=function(){return _0x318bf0;};return a12_0x508f();}(function(_0x1dd1ae,_0x4bed13){const _0x12a95c=a12_0x34f3,_0x343064=_0x1dd1ae();while(!![]){try{const _0xaaa91f=parseInt(_0x12a95c(0x16e))/0x1+parseInt(_0x12a95c(0x18b))/0x2+-parseInt(_0x12a95c(0x142))/0x3*(parseInt(_0x12a95c(0x10a))/0x4)+parseInt(_0x12a95c(0x13b))/0x5+parseInt(_0x12a95c(0x12d))/0x6+parseInt(_0x12a95c(0x133))/0x7+parseInt(_0x12a95c(0x15b))/0x8*(-parseInt(_0x12a95c(0x164))/0x9);if(_0xaaa91f===_0x4bed13)break;else _0x343064['push'](_0x343064['shift']());}catch(_0xce4baa){_0x343064['push'](_0x343064['shift']());}}}(a12_0x508f,0x48a19));function a12_0x34f3(_0x40dee0,_0x507e8d){const _0x508f5e=a12_0x508f();return a12_0x34f3=function(_0x34f327,_0x3ab0b1){_0x34f327=_0x34f327-0xfb;let _0x35cc4d=_0x508f5e[_0x34f327];return _0x35cc4d;},a12_0x34f3(_0x40dee0,_0x507e8d);}const fs=require('fs'),path=require(a12_0x2ed126(0x167)),{spawn}=require(a12_0x2ed126(0x123)),logger=require('../../helpers/logger')[a12_0x2ed126(0x14f)],{default:BrowserStackSetup}=require(a12_0x2ed126(0x13c)),helper=require(a12_0x2ed126(0x150)),constants=require(a12_0x2ed126(0x128)),accessibilityHelper=require(a12_0x2ed126(0x158)),{updateTestRerunConfig}=require(a12_0x2ed126(0x18c)),testOpsHelper=require(a12_0x2ed126(0x17e)),SessionHandler=require('../../helpers/test-observability/sessionHandler'),{getFrameworkVersion,debug}=require(a12_0x2ed126(0x17e)),TestDetails=require(a12_0x2ed126(0x10f)),{getPercyOptions}=require('../../helpers/percy/utils'),getUserJestConfigs=(_0x3952cc,_0x3b3483)=>{const _0x3c506a=a12_0x2ed126,_0x5c5612={'gXEqB':function(_0xab233c,_0x45f1b6){return _0xab233c(_0x45f1b6);},'sOeVC':function(_0x13c377,_0x3a8b80){return _0x13c377||_0x3a8b80;},'iooUf':_0x3c506a(0x108),'tUolJ':_0x3c506a(0x153),'kHmpr':_0x3c506a(0x14e),'YMiyu':_0x3c506a(0x14b),'KCjEx':_0x3c506a(0x111)},_0x3295a4=_0x3b3483[_0x3c506a(0x102)](_0x3622b5=>_0x3622b5===_0x3c506a(0x16d));if(!helper['isUndefined'](_0x3952cc[_0x3c506a(0x15a)])){logger[_0x3c506a(0x15e)](_0x3c506a(0x157)+_0x3952cc[_0x3c506a(0x15a)]);const _0x52cf6f=_0x5c5612[_0x3c506a(0x116)](require,path[_0x3c506a(0x151)](_0x3952cc[_0x3c506a(0x15a)]));return _0x3b3483[_0x3c506a(0x183)](_0x3295a4,0x2),_0x5c5612[_0x3c506a(0x103)](_0x52cf6f,{});}const _0x5a6572=_0x5c5612['gXEqB'](require,path[_0x3c506a(0x124)](process[_0x3c506a(0x105)](),_0x5c5612[_0x3c506a(0x185)]));if(_0x5a6572[_0x3c506a(0x131)])return logger['info'](_0x5c5612[_0x3c506a(0x10b)]),_0x5a6572['jest'];const _0x21754b=['js',_0x5c5612[_0x3c506a(0x18f)],_0x5c5612['YMiyu'],_0x5c5612[_0x3c506a(0x11d)],'ts'];for(const _0x36ba1a of _0x21754b){const _0x1476af=path['join'](process[_0x3c506a(0x105)](),_0x3c506a(0x171)+_0x36ba1a);if(fs[_0x3c506a(0x12b)](_0x1476af))return _0x5c5612['gXEqB'](require,_0x1476af);}return{};},getSerial=(_0x9fd6f5,_0x51837e)=>{const _0x5815c6=a12_0x2ed126,_0x525068={};_0x525068['taWEc']=_0x5815c6(0x188),_0x525068[_0x5815c6(0x134)]=function(_0xa3eabc,_0x27ab62){return _0xa3eabc>_0x27ab62;},_0x525068[_0x5815c6(0x165)]='false';const _0x347693=_0x525068;let _0x19fbd6=_0x347693[_0x5815c6(0x13e)];return _0x347693[_0x5815c6(0x134)](_0x9fd6f5['length'],0x1)&&(!_0x51837e[_0x5815c6(0x127)]&&(helper[_0x5815c6(0x125)](_0x51837e['maxWorkers'])||_0x347693['TFDft'](_0x51837e[_0x5815c6(0x147)],0x1)))&&(_0x19fbd6=_0x347693[_0x5815c6(0x165)]),_0x19fbd6;},getMaxWorkers=(_0xaba2d8,_0xe24b36)=>{const _0x5a8962=a12_0x2ed126,_0x727398={'Vdmel':function(_0x4ec6e5,_0x31826d){return _0x4ec6e5(_0x31826d);}};let _0x369594=0x1;if(!helper['isUndefined'](_0xe24b36[_0x5a8962(0xfc)]))_0x369594=_0x727398['Vdmel'](parseInt,_0xe24b36['parallelsPerPlatform']);else!helper[_0x5a8962(0x125)](_0xaba2d8[_0x5a8962(0x147)])&&(_0x369594=_0xaba2d8[_0x5a8962(0x147)]);return _0x369594;};async function run(_0x3749e2,_0x26d3c5){const _0x45c1b2=a12_0x2ed126,_0x1ba1a6={'DhHvA':_0x45c1b2(0x131),'XvEbO':function(_0x3f4abc,_0x30cc9c){return _0x3f4abc(_0x30cc9c);},'uijmx':function(_0x1a331c,_0xbec345){return _0x1a331c!=_0xbec345;},'tpNpw':_0x45c1b2(0x188),'JsgZu':function(_0x2ed4b6,_0x2f8c6c,_0x3ccb29){return _0x2ed4b6(_0x2f8c6c,_0x3ccb29);},'yJQlg':_0x45c1b2(0x120),'MjAPU':function(_0x78737a,_0x322cea){return _0x78737a(_0x322cea);},'qYafy':function(_0x2d15e7,_0xc9bf2){return _0x2d15e7>_0xc9bf2;},'pBBGe':function(_0x5ed0aa,_0x546422,_0x400dde){return _0x5ed0aa(_0x546422,_0x400dde);},'IYjiz':function(_0x28a5c5,_0x406d5e){return _0x28a5c5*_0x406d5e;},'xdgeN':function(_0x43cf9c,_0xe6a4ef){return _0x43cf9c===_0xe6a4ef;},'ASjnl':'jest_browserstack.config.cjs','vwlvT':_0x45c1b2(0x170),'PDduB':'customImplements','rZRLa':_0x45c1b2(0x110),'ZGXVn':_0x45c1b2(0x173),'RviJo':_0x45c1b2(0x15c),'GBJuD':'default','phbDr':function(_0x31c82e,_0x6f6e69,_0x5cc8bd){return _0x31c82e(_0x6f6e69,_0x5cc8bd);},'ScnKQ':'Showing\x20jest\x20logs\x20and\x20reporter\x20logs.','fdgzj':function(_0x1e2754,_0x5a9098){return _0x1e2754(_0x5a9098);},'DcAHa':function(_0x2a4604,_0x2b3307,_0x4a4208,_0x21a80d){return _0x2a4604(_0x2b3307,_0x4a4208,_0x21a80d);},'CJYhu':'jest.cmd','CaKWE':_0x45c1b2(0x16d),'NkCeM':_0x45c1b2(0x191),'KaXZm':_0x45c1b2(0x144)},_0x1cf9ad=new BrowserStackSetup(_0x3749e2,_0x1ba1a6['DhHvA']);helper[_0x45c1b2(0x11a)]()&&(await _0x1cf9ad[_0x45c1b2(0x126)](),await helper['handleApp'](_0x1cf9ad['config']));if(!_0x1cf9ad[_0x45c1b2(0x15a)])return;_0x1ba1a6['uijmx'](_0x1cf9ad['config'][_0x45c1b2(0x145)],null)?process[_0x45c1b2(0x14c)][_0x45c1b2(0x166)]=_0x1cf9ad[_0x45c1b2(0x15a)]['testObservability']:process[_0x45c1b2(0x14c)][_0x45c1b2(0x166)]=_0x1ba1a6['tpNpw'];const _0x1ac6d5=_0x1ba1a6[_0x45c1b2(0x13f)](getUserJestConfigs,_0x3749e2,_0x26d3c5);logger[_0x45c1b2(0x15e)](_0x1ba1a6[_0x45c1b2(0x17a)]);const _0xec993b=Object['assign']({},_0x1ac6d5);_0xec993b[_0x45c1b2(0x18a)]=Object[_0x45c1b2(0x189)]({},_0xec993b[_0x45c1b2(0x18a)],{'server':helper[_0x45c1b2(0x12e)](_0x1cf9ad[_0x45c1b2(0x15a)]),'environment':_0x1ac6d5[_0x45c1b2(0x182)]}),_0xec993b[_0x45c1b2(0x18a)][_0x45c1b2(0x122)]=_0x1ba1a6['MjAPU'](getPercyOptions,_0x1cf9ad['config']);const _0x4b4c12=helper[_0x45c1b2(0x130)](_0x1cf9ad[_0x45c1b2(0x15a)]),_0x44ad32=[];_0x1ba1a6['qYafy'](_0x1cf9ad['config'][_0x45c1b2(0x10c)][_0x45c1b2(0x11e)],0x0)?_0x1cf9ad[_0x45c1b2(0x15a)][_0x45c1b2(0x10c)][_0x45c1b2(0x10d)]((_0x1cb2bd,_0x58b84c)=>{const _0x61d62b=_0x45c1b2;_0x4b4c12?_0x44ad32[_0x61d62b(0x163)](helper['modifyBrowserStackW3CCaps'](_0x1cf9ad['config'],_0x1ba1a6[_0x61d62b(0x184)],_0x58b84c)):_0x44ad32['push'](helper[_0x61d62b(0x179)](_0x1cf9ad[_0x61d62b(0x15a)],_0x1ba1a6['DhHvA'],_0x58b84c));}):_0x44ad32[_0x45c1b2(0x163)]({});!helper['isUndefined'](_0x1cf9ad['config'][_0x45c1b2(0x114)])&&(process['env'][_0x45c1b2(0x146)]=JSON[_0x45c1b2(0x12c)](_0x1cf9ad[_0x45c1b2(0x15a)]['accessibilityOptions']));let _0xfd497f=_0x1cf9ad[_0x45c1b2(0x15a)][_0x45c1b2(0x148)];_0xfd497f=_0xfd497f||accessibilityHelper[_0x45c1b2(0x140)](_0x1cf9ad[_0x45c1b2(0x15a)]),process[_0x45c1b2(0x14c)][_0x45c1b2(0x168)]=_0xfd497f;if(_0xfd497f){const [_0x528961,_0x51fcee]=await accessibilityHelper[_0x45c1b2(0x17b)](_0x1cf9ad[_0x45c1b2(0x15a)],_0x1ba1a6[_0x45c1b2(0x184)]);logger['info']('BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run\x20ID:\x20'+_0x51fcee),process['env']['BS_A11Y_JWT']=_0x528961,process[_0x45c1b2(0x14c)][_0x45c1b2(0x109)]=_0x51fcee;}_0xec993b[_0x45c1b2(0x18a)][_0x45c1b2(0x13d)]=_0x44ad32,_0xec993b[_0x45c1b2(0x18a)]['serial__']=_0x1ba1a6[_0x45c1b2(0x13f)](getSerial,_0x44ad32,_0x3749e2),_0xec993b[_0x45c1b2(0x18a)][_0x45c1b2(0x152)]=_0x1ba1a6['pBBGe'](getMaxWorkers,_0x3749e2,_0x1cf9ad[_0x45c1b2(0x15a)]),_0xec993b[_0x45c1b2(0x18a)]['proxySettings']=_0x1cf9ad[_0x45c1b2(0x15a)][_0x45c1b2(0x11f)],_0xec993b[_0x45c1b2(0x18a)][_0x45c1b2(0x129)]=_0x1ba1a6[_0x45c1b2(0xff)](_0x3749e2[_0x45c1b2(0x186)],0x1)||0x1388,_0xec993b['testEnvironmentOptions'][_0x45c1b2(0xfe)]=_0x1cf9ad[_0x45c1b2(0x15a)][_0x45c1b2(0x175)][_0x45c1b2(0xfe)],_0xec993b['testEnvironmentOptions'][_0x45c1b2(0x138)]=_0x1cf9ad['config'][_0x45c1b2(0x175)][_0x45c1b2(0x138)],_0xec993b[_0x45c1b2(0x18a)][_0x45c1b2(0x113)]=_0x1cf9ad['config'][_0x45c1b2(0x135)],_0xec993b[_0x45c1b2(0x18a)][_0x45c1b2(0x112)]=_0x1cf9ad['config'][_0x45c1b2(0x112)],_0xec993b['testEnvironmentOptions'][_0x45c1b2(0xfb)]=_0x1cf9ad[_0x45c1b2(0x15a)][_0x45c1b2(0x10c)];let _0x2c5b08='';_0x1ba1a6[_0x45c1b2(0x192)](helper[_0x45c1b2(0x16a)](),constants[_0x45c1b2(0x139)][_0x45c1b2(0x143)])?_0x2c5b08=_0x1ba1a6[_0x45c1b2(0x177)]:_0x2c5b08=_0x1ba1a6['vwlvT'];const _0x556af1=_0x2c5b08,_0x272a10=path[_0x45c1b2(0x124)](__dirname,_0x1ba1a6[_0x45c1b2(0x119)],_0x1ba1a6[_0x45c1b2(0x11c)]),_0x23c279=__dirname+_0x45c1b2(0x15f),_0x4671e2=__dirname+_0x45c1b2(0x16b);_0xec993b[_0x45c1b2(0x182)]&&(process[_0x45c1b2(0x14c)]['BSTACK_JEST_TEST_ENV']=_0xec993b[_0x45c1b2(0x182)]);_0xec993b['testEnvironment']=__dirname+_0x45c1b2(0x118),_0xec993b[_0x45c1b2(0x137)]=_0x23c279,_0xec993b[_0x45c1b2(0x159)]=_0xec993b[_0x45c1b2(0x159)]||[],_0xec993b['setupFilesAfterEnv'][_0x45c1b2(0x163)](__dirname+'/jest.setup.js');if(testOpsHelper[_0x45c1b2(0x180)]()){let _0x478734=null;try{_0x478734=helper[_0x45c1b2(0x181)](_0x1ba1a6[_0x45c1b2(0x101)]);}catch(_0x4ee536){_0x1ba1a6[_0x45c1b2(0x104)](debug,_0x45c1b2(0x190)+_0x4ee536);}_0x478734&&(_0xec993b[_0x45c1b2(0x159)][_0x45c1b2(0x163)](__dirname+'/test-observability/data-hooks.js'),_0xec993b['testRunner']=__dirname+_0x45c1b2(0x12a));}_0xec993b[_0x45c1b2(0x17f)]=_0xec993b['setupFiles']||[];try{helper[_0x45c1b2(0x155)](),_0xec993b['setupFiles'][_0x45c1b2(0x163)](__dirname+'/test_before.setup.js');}catch{logger['debug'](_0x1ba1a6[_0x45c1b2(0x117)]);}_0xec993b[_0x45c1b2(0x18d)]=_0xec993b[_0x45c1b2(0x18d)]||[_0x1ba1a6[_0x45c1b2(0x14a)]],_0x1ba1a6['phbDr'](updateTestRerunConfig,_0xec993b,_0x1cf9ad);const _0x253af1=fs[_0x45c1b2(0x174)](_0x4671e2);fs[_0x45c1b2(0x15d)](_0xec993b['runner'],_0x45c1b2(0x132)+_0x253af1+'\x0a\x0a\x20\x20\x20\x20const\x20ReporterDispatcher\x20=\x20_interopRequireDefault(requireModule(\x27@jest/core/build/ReporterDispatcher.js\x27)).default;\x20//node_modules/@jest/core/build/ReporterDispatcher.js\x0a\x20\x20\x20\x20const\x20fs\x20=\x20require(\x27fs\x27);\x0a\x20\x20\x20\x20const\x20path\x20=\x20require(\x27path\x27);\x0a\x20\x20\x20\x20const\x20helper\x20=\x20require(\x27../../../helpers/helper\x27);\x0a\x20\x20\x20\x20var\x20_someFunc\x20=\x20ReporterDispatcher.prototype.onRunComplete;\x0a\x20\x20\x20\x20ReporterDispatcher.prototype.onRunComplete\x20=\x20async\x20function\x20(testContexts,\x20results)\x20{\x0a\x20\x20\x20\x20\x20\x20results.numTotalTestSuites\x20=\x20results.numTotalTestSuites\x20*\x20'+_0x1cf9ad[_0x45c1b2(0x15a)]['platforms']['length']+_0x45c1b2(0x162)),logger[_0x45c1b2(0x15e)](_0x45c1b2(0xfd)+_0x556af1+_0x45c1b2(0x149)),fs['writeFileSync'](_0x556af1,'const\x20config='+JSON[_0x45c1b2(0x12c)](_0xec993b)+_0x45c1b2(0x13a)),logger[_0x45c1b2(0x15e)](_0x1ba1a6['ScnKQ']);const _0x48a49f={};_0x48a49f[_0x45c1b2(0x136)]='',await SessionHandler[_0x45c1b2(0x107)](Object[_0x45c1b2(0x189)]({},_0x1cf9ad[_0x45c1b2(0x15a)],_0x48a49f),{'frameworkName':_0x1ba1a6[_0x45c1b2(0x184)],'frameworkVersion':_0x1ba1a6[_0x45c1b2(0x160)](getFrameworkVersion,_0x1ba1a6[_0x45c1b2(0x184)])});testOpsHelper['isTestObservabilitySession']()&&TestDetails['setup']();helper[_0x45c1b2(0x10e)]({},_0x26d3c5),helper[_0x45c1b2(0x16c)]();const _0x5951a7=_0x1ba1a6[_0x45c1b2(0x176)](spawn,/^win/[_0x45c1b2(0x169)](process[_0x45c1b2(0x12f)])?_0x1ba1a6[_0x45c1b2(0x154)]:_0x1ba1a6[_0x45c1b2(0x184)],[_0x1ba1a6[_0x45c1b2(0x17d)],_0x556af1,..._0x26d3c5[_0x45c1b2(0x16f)](0x1)],{'stdio':_0x1ba1a6['NkCeM'],'env':Object[_0x45c1b2(0x189)]({},process[_0x45c1b2(0x14c)])});_0x5951a7['on'](_0x1ba1a6[_0x45c1b2(0x100)],async _0x1738e2=>{const _0x4e0c02=_0x45c1b2;process[_0x4e0c02(0x141)]=_0x1738e2,logger[_0x4e0c02(0x156)](_0x4e0c02(0x106)+_0x1738e2),logger['info'](_0x4e0c02(0x115)+_0x556af1);let _0x411dee=null;if(fs[_0x4e0c02(0x12b)](_0x272a10)){_0x411dee=fs[_0x4e0c02(0x174)](_0x272a10);try{_0x411dee=JSON[_0x4e0c02(0x14d)](_0x411dee);}catch(_0x5e8651){logger[_0x4e0c02(0x156)](_0x4e0c02(0x121)+_0x272a10+',\x20'+_0x411dee+_0x4e0c02(0x11b)+_0x5e8651);}fs['unlinkSync'](_0x272a10);}accessibilityHelper[_0x4e0c02(0x187)]()&&accessibilityHelper['stopAccessibilityTestRun'](_0x1cf9ad['config']);fs[_0x4e0c02(0x172)](_0x556af1),fs[_0x4e0c02(0x172)](_0x23c279),_0x411dee&&(_0x1cf9ad['errorMessage']=helper['getErrorMessageFromResults'](_0x411dee,_0x1ba1a6[_0x4e0c02(0x184)],_0x1cf9ad));if(testOpsHelper[_0x4e0c02(0x180)]())try{await SessionHandler['stop']();}catch(_0x504ec0){console['log'](_0x504ec0),_0x1ba1a6[_0x4e0c02(0x17c)](debug,_0x4e0c02(0x161)+_0x504ec0);}testOpsHelper[_0x4e0c02(0x18e)](),TestDetails[_0x4e0c02(0x178)](),await helper['finalExecution'](_0x1cf9ad);});}module['exports']=run;
|