browserstack-node-sdk 1.26.4 → 1.27.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (95) hide show
  1. package/ats/src/commands/configure.js +1 -1
  2. package/ats/src/commands/connect.js +1 -1
  3. package/ats/src/commands/connect_commands/grid.js +1 -1
  4. package/ats/src/commands/create.js +1 -1
  5. package/ats/src/commands/create_commands/grid.js +1 -1
  6. package/ats/src/commands/delete.js +1 -1
  7. package/ats/src/commands/delete_commands/grid.js +1 -1
  8. package/ats/src/commands/init.js +1 -1
  9. package/ats/src/commands/list.js +1 -1
  10. package/ats/src/commands/list_commands/grid_profiles.js +1 -1
  11. package/ats/src/commands/list_commands/grids.js +1 -1
  12. package/ats/src/config/constants.js +1 -1
  13. package/ats/src/config/logger.js +1 -1
  14. package/ats/src/index.js +1 -1
  15. package/ats/src/utils/AWSUtils.js +1 -1
  16. package/ats/src/utils/createAutoscalerStack.js +1 -1
  17. package/ats/src/utils/createClusterStack.js +1 -1
  18. package/ats/src/utils/createk8sClient.js +1 -1
  19. package/ats/src/utils/deleteStack.js +1 -1
  20. package/ats/src/utils/gridComponents.js +1 -1
  21. package/ats/src/utils/hstUtils.js +1 -1
  22. package/ats/src/utils/instrumentationUtils.js +1 -1
  23. package/ats/src/utils/userInput.js +1 -1
  24. package/ats/src/utils/utilityMethods.js +1 -1
  25. package/ats/src/utils/webSocketUtils.js +1 -1
  26. package/package.json +1 -1
  27. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  28. package/src/bin/codeceptjs/command.js +1 -1
  29. package/src/bin/cucumber-js/command.js +1 -1
  30. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  31. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  32. package/src/bin/cucumber-js/test.setup.js +1 -1
  33. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  34. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  35. package/src/bin/jest/command.js +1 -1
  36. package/src/bin/jest/customEnvironment.js +1 -1
  37. package/src/bin/jest/customTestRunnerTemplate.js +1 -1
  38. package/src/bin/jest/jest.setup.js +1 -1
  39. package/src/bin/jest/test_before.setup.js +1 -1
  40. package/src/bin/launcher/launcher.js +1 -1
  41. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  42. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  43. package/src/bin/mocha/command.js +1 -1
  44. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  45. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  46. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  47. package/src/bin/mocha/test.setup.js +1 -1
  48. package/src/bin/nightwatch/command.js +1 -1
  49. package/src/bin/playwright/accessibility-helper.js +1 -0
  50. package/src/bin/playwright/command.js +1 -1
  51. package/src/bin/playwright/globalSetup.js +1 -1
  52. package/src/bin/playwright/mock-process.js +1 -1
  53. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  54. package/src/bin/playwright/reporter/reporter.js +1 -1
  55. package/src/bin/playwright/reporter/test-details.js +1 -1
  56. package/src/bin/runner.js +1 -1
  57. package/src/bin/setup.js +1 -1
  58. package/src/bin/test-runner/index.js +1 -1
  59. package/src/bin/test-runner/runTest.js +1 -1
  60. package/src/bin/test-runner/testWorker.js +1 -1
  61. package/src/bin/utils/constants.js +1 -1
  62. package/src/bin/utils/log4jsAppender.js +1 -1
  63. package/src/bin/utils/logPatcher.js +1 -1
  64. package/src/bin/utils/logReportingAPI.js +1 -1
  65. package/src/bin/vanilla-js/command.js +1 -1
  66. package/src/helpers/BrowserStackSetup.js +1 -1
  67. package/src/helpers/accessibility-automation/constants.js +1 -0
  68. package/src/helpers/accessibility-automation/helper.js +1 -0
  69. package/src/helpers/capsMapping.js +1 -1
  70. package/src/helpers/helper.js +1 -1
  71. package/src/helpers/logger.js +1 -1
  72. package/src/helpers/patchHelpers.js +1 -1
  73. package/src/helpers/request-spy.js +1 -1
  74. package/src/helpers/setKeepAlive.js +1 -1
  75. package/src/helpers/test-observability/constants.js +1 -1
  76. package/src/helpers/test-observability/error-handler.js +1 -1
  77. package/src/helpers/test-observability/performance-tester.js +1 -1
  78. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  79. package/src/helpers/test-observability/sessionHandler.js +1 -1
  80. package/src/helpers/test-observability/utils.js +1 -1
  81. package/src/helpers/w3cMapping.js +1 -1
  82. package/src/hubAllocationMethods.js +1 -1
  83. package/src/index.js +1 -1
  84. package/ats/src/cloudproviders/AWS.js +0 -1
  85. package/ats/src/cloudproviders/Azure.js +0 -1
  86. package/ats/src/cloudproviders/CloudProvider.js +0 -1
  87. package/ats/src/cloudproviders/utils.js +0 -1
  88. package/ats/src/templates/azureresources/akscluster.json +0 -127
  89. package/ats/src/templates/azureresources/azureInstancetypes.json +0 -759
  90. package/ats/src/templates/azureresources/federatedidentityhub.json +0 -50
  91. package/ats/src/templates/azureresources/federatedidentitynode.json +0 -50
  92. package/ats/src/templates/azureresources/managedidentity.json +0 -49
  93. package/ats/src/templates/azureresources/storageaccount.json +0 -92
  94. package/ats/src/templates/default-service-account.yaml +0 -5
  95. package/src/bin/mocha/accessibility-automation/constants.js +0 -1
@@ -1,50 +0,0 @@
1
- {
2
- "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
3
- "contentVersion": "1.0.0.0",
4
- "parameters": {
5
- "clusterName": {
6
- "type": "string",
7
- "metadata": {
8
- "description": "The name of the Managed Cluster resource."
9
- }
10
- },
11
- "oidcIssuer": {
12
- "type": "string",
13
- "metadata": {
14
- "description": "OIDC Issuer of AKS Cluster"
15
- }
16
- },
17
- "gridName": {
18
- "type": "string",
19
- "metadata": {
20
- "description": "Grid Name"
21
- }
22
- }
23
- },
24
- "variables": {
25
- "managedIdentityName": "[concat('turboscale-managed-identity-', parameters('clusterName'))]"
26
- },
27
- "resources": [
28
- {
29
- "type": "Microsoft.ManagedIdentity/userAssignedIdentities",
30
- "apiVersion": "2022-01-31-preview",
31
- "name": "[variables('managedIdentityName')]",
32
- "location": "[resourceGroup().location]"
33
- },
34
- {
35
- "type": "Microsoft.ManagedIdentity/userAssignedIdentities/federatedIdentityCredentials",
36
- "apiVersion": "2022-01-31-preview",
37
- "name": "[concat(variables('managedIdentityName'), '/turboscale-federated-identity-hub-', parameters('gridName'))]",
38
- "dependsOn": [
39
- "[resourceId('Microsoft.ManagedIdentity/userAssignedIdentities', variables('managedIdentityName'))]"
40
- ],
41
- "properties": {
42
- "issuer": "[parameters('oidcIssuer')]",
43
- "subject": "[concat('system:serviceaccount:', parameters('gridName'), ':default')]",
44
- "audiences": [
45
- "api://AzureADTokenExchange"
46
- ]
47
- }
48
- }
49
- ]
50
- }
@@ -1,50 +0,0 @@
1
- {
2
- "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
3
- "contentVersion": "1.0.0.0",
4
- "parameters": {
5
- "clusterName": {
6
- "type": "string",
7
- "metadata": {
8
- "description": "The name of the Managed Cluster resource."
9
- }
10
- },
11
- "oidcIssuer": {
12
- "type": "string",
13
- "metadata": {
14
- "description": "OIDC Issuer of AKS Cluster"
15
- }
16
- },
17
- "gridName": {
18
- "type": "string",
19
- "metadata": {
20
- "description": "Grid Name"
21
- }
22
- }
23
- },
24
- "variables": {
25
- "managedIdentityName": "[concat('turboscale-managed-identity-', parameters('clusterName'))]"
26
- },
27
- "resources": [
28
- {
29
- "type": "Microsoft.ManagedIdentity/userAssignedIdentities",
30
- "apiVersion": "2022-01-31-preview",
31
- "name": "[variables('managedIdentityName')]",
32
- "location": "[resourceGroup().location]"
33
- },
34
- {
35
- "type": "Microsoft.ManagedIdentity/userAssignedIdentities/federatedIdentityCredentials",
36
- "apiVersion": "2022-01-31-preview",
37
- "name": "[concat(variables('managedIdentityName'), '/turboscale-federated-identity-node-', parameters('gridName'))]",
38
- "dependsOn": [
39
- "[resourceId('Microsoft.ManagedIdentity/userAssignedIdentities', variables('managedIdentityName'))]"
40
- ],
41
- "properties": {
42
- "issuer": "[parameters('oidcIssuer')]",
43
- "subject": "[concat('system:serviceaccount:', parameters('gridName'), ':browser-node')]",
44
- "audiences": [
45
- "api://AzureADTokenExchange"
46
- ]
47
- }
48
- }
49
- ]
50
- }
@@ -1,49 +0,0 @@
1
- {
2
- "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
3
- "contentVersion": "1.0.0.0",
4
- "parameters": {
5
- "clusterName": {
6
- "type": "string",
7
- "metadata": {
8
- "description": "The name of the Managed Cluster resource."
9
- }
10
- }
11
- },
12
- "variables": {
13
- "managedIdentityName": "[concat('turboscale-managed-identity-', parameters('clusterName'))]",
14
- "BlobDataContributorRoleDefinitionId": "[subscriptionResourceId('Microsoft.Authorization/roleDefinitions', 'ba92f5b4-2d11-453d-a403-e96b0029c9fe')]",
15
- "DelegatorRoleDefinitionId": "[subscriptionResourceId('Microsoft.Authorization/roleDefinitions', 'db58b8e5-c6ad-4a2a-8342-4190687cbf4a')]"
16
- },
17
- "resources": [
18
- {
19
- "type": "Microsoft.ManagedIdentity/userAssignedIdentities",
20
- "apiVersion": "2023-01-31",
21
- "name": "[variables('managedIdentityName')]",
22
- "location": "[resourceGroup().location]"
23
- },
24
- {
25
- "type": "Microsoft.Authorization/roleAssignments",
26
- "apiVersion": "2020-08-01-preview",
27
- "name": "[guid(resourceGroup().id, resourceId('Microsoft.ManagedIdentity/userAssignedIdentities', variables('managedIdentityName')), variables('DelegatorRoleDefinitionId'))]",
28
- "location": "[resourceGroup().location]",
29
- "properties": {
30
- "principalType": "ServicePrincipal",
31
- "roleDefinitionId": "[variables('DelegatorRoleDefinitionId')]",
32
- "principalId": "[reference(resourceId('Microsoft.ManagedIdentity/userAssignedIdentities', variables('managedIdentityName')), '2023-01-31').principalId]",
33
- "scope": "[concat('/subscriptions/', subscription().subscriptionId, '/resourceGroups/', resourceGroup().name)]"
34
- }
35
- },
36
- {
37
- "type": "Microsoft.Authorization/roleAssignments",
38
- "apiVersion": "2020-08-01-preview",
39
- "name": "[guid(resourceGroup().id, resourceId('Microsoft.ManagedIdentity/userAssignedIdentities', variables('managedIdentityName')), variables('BlobDataContributorRoleDefinitionId'))]",
40
- "location": "[resourceGroup().location]",
41
- "properties": {
42
- "principalType": "ServicePrincipal",
43
- "roleDefinitionId": "[variables('BlobDataContributorRoleDefinitionId')]",
44
- "principalId": "[reference(resourceId('Microsoft.ManagedIdentity/userAssignedIdentities', variables('managedIdentityName')), '2023-01-31').principalId]",
45
- "scope": "[concat('/subscriptions/', subscription().subscriptionId, '/resourceGroups/', resourceGroup().name)]"
46
- }
47
- }
48
- ]
49
- }
@@ -1,92 +0,0 @@
1
- {
2
- "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
3
- "contentVersion": "1.0.0.0",
4
- "parameters": {
5
- "storageAccountName": {
6
- "type": "string",
7
- "metadata": {
8
- "description": "Storage account name"
9
- }
10
- }
11
- },
12
- "resources": [
13
- {
14
- "type": "Microsoft.Storage/storageAccounts",
15
- "apiVersion": "2021-04-01",
16
- "name": "[parameters('storageAccountName')]",
17
- "location": "[resourceGroup().location]",
18
- "sku": {
19
- "name": "Standard_RAGRS",
20
- "tier": "Standard"
21
- },
22
- "kind": "StorageV2",
23
- "properties": {
24
- "allowCrossTenantReplication": false,
25
- "minimumTlsVersion": "TLS1_0",
26
- "allowBlobPublicAccess": false,
27
- "networkAcls": {
28
- "bypass": "AzureServices",
29
- "virtualNetworkRules": [],
30
- "ipRules": [],
31
- "defaultAction": "Allow"
32
- },
33
- "supportsHttpsTrafficOnly": true,
34
- "encryption": {
35
- "services": {
36
- "file": {
37
- "keyType": "Account",
38
- "enabled": true
39
- },
40
- "table": {
41
- "keyType": "Account",
42
- "enabled": true
43
- },
44
- "blob": {
45
- "keyType": "Account",
46
- "enabled": true
47
- }
48
- },
49
- "keySource": "Microsoft.Storage"
50
- },
51
- "accessTier": "Hot"
52
- }
53
- },
54
- {
55
- "type": "Microsoft.Storage/storageAccounts/blobServices",
56
- "apiVersion": "2021-04-01",
57
- "name": "[concat(parameters('storageAccountName'), '/default')]",
58
- "dependsOn": [
59
- "[resourceId('Microsoft.Storage/storageAccounts', parameters('storageAccountName'))]"
60
- ],
61
- "sku": {
62
- "name": "Standard_RAGRS",
63
- "tier": "Standard"
64
- },
65
- "properties": {
66
- "cors": {
67
- "corsRules": [
68
- {
69
- "allowedOrigins": [
70
- "*"
71
- ],
72
- "allowedMethods": [
73
- "GET"
74
- ],
75
- "maxAgeInSeconds": 0,
76
- "exposedHeaders": [
77
- ""
78
- ],
79
- "allowedHeaders": [
80
- "*"
81
- ]
82
- }
83
- ]
84
- },
85
- "deleteRetentionPolicy": {
86
- "allowPermanentDelete": false,
87
- "enabled": false
88
- }
89
- }
90
- }
91
- ]
92
- }
@@ -1,5 +0,0 @@
1
- apiVersion: v1
2
- kind: ServiceAccount
3
- metadata:
4
- namespace: <GridNamespace>
5
- name: default
@@ -1 +0,0 @@
1
- var a14_0x4896a4=a14_0x19b4;function a14_0x19b4(_0x516375,_0x1bd611){var _0x2f7831=a14_0x2f78();return a14_0x19b4=function(_0x19b4bc,_0x5b37a9){_0x19b4bc=_0x19b4bc-0x172;var _0x50d634=_0x2f7831[_0x19b4bc];return _0x50d634;},a14_0x19b4(_0x516375,_0x1bd611);}(function(_0x8024c,_0x496865){var _0x550e4e=a14_0x19b4,_0x1ec85f=_0x8024c();while(!![]){try{var _0x299f0c=-parseInt(_0x550e4e(0x17c))/0x1+-parseInt(_0x550e4e(0x17f))/0x2*(-parseInt(_0x550e4e(0x172))/0x3)+-parseInt(_0x550e4e(0x17d))/0x4+parseInt(_0x550e4e(0x176))/0x5*(-parseInt(_0x550e4e(0x17a))/0x6)+parseInt(_0x550e4e(0x178))/0x7+parseInt(_0x550e4e(0x173))/0x8+-parseInt(_0x550e4e(0x17e))/0x9*(-parseInt(_0x550e4e(0x175))/0xa);if(_0x299f0c===_0x496865)break;else _0x1ec85f['push'](_0x1ec85f['shift']());}catch(_0x1dea8f){_0x1ec85f['push'](_0x1ec85f['shift']());}}}(a14_0x2f78,0x38ccd),exports[a14_0x4896a4(0x179)]=a14_0x4896a4(0x180),exports[a14_0x4896a4(0x177)]=['wcag2a',a14_0x4896a4(0x182),'wcag2aaa',a14_0x4896a4(0x174),a14_0x4896a4(0x17b),a14_0x4896a4(0x181)]);function a14_0x2f78(){var _0x4d034b=['2271HeicDe','3017384sZkDIW','wcag21a','10AJlklI','1355380zEAEcq','WCAG_VERSIONS','2600829GSLzKc','API_URL','6wyDLQQ','wcag21aa','377024bncxSK','971220BwEdFg','191871dujqXf','934IIgWuH','https://accessibility.browserstack.com/api','wcag21aaa','wcag2aa'];a14_0x2f78=function(){return _0x4d034b;};return a14_0x2f78();}