@testim/testim-cli 3.248.0 → 3.251.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/npm-shrinkwrap.json +186 -101
- package/package.json +1 -1
- package/player/services/playbackTimeoutCalculator.js +15 -1
- package/player/stepActions/apiStepAction.js +9 -7
- package/player/stepActions/sfdcRecordedStepAction.js +23 -0
- package/player/stepActions/stepActionRegistrar.js +4 -1
- package/runOptions.js +3 -0
- package/workers/BaseWorker.js +2 -2
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@testim/testim-cli",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.251.0",
|
|
4
4
|
"lockfileVersion": 2,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "@testim/testim-cli",
|
|
9
|
-
"version": "3.
|
|
9
|
+
"version": "3.251.0",
|
|
10
10
|
"license": "Proprietary",
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"@applitools/eyes-sdk-core": "13.6.23",
|
|
@@ -556,9 +556,9 @@
|
|
|
556
556
|
}
|
|
557
557
|
},
|
|
558
558
|
"node_modules/@babel/runtime": {
|
|
559
|
-
"version": "7.18.
|
|
560
|
-
"resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.18.
|
|
561
|
-
"integrity": "sha512-
|
|
559
|
+
"version": "7.18.9",
|
|
560
|
+
"resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.18.9.tgz",
|
|
561
|
+
"integrity": "sha512-lkqXDcvlFT5rvEjiu6+QYO+1GXrEHRo2LOtS7E4GtX5ESIZOgepqsZBVIj6Pv+a6zqsya9VCgiK1KAK4BvJDAw==",
|
|
562
562
|
"dependencies": {
|
|
563
563
|
"regenerator-runtime": "^0.13.4"
|
|
564
564
|
},
|
|
@@ -1091,9 +1091,9 @@
|
|
|
1091
1091
|
}
|
|
1092
1092
|
},
|
|
1093
1093
|
"node_modules/@sinonjs/text-encoding": {
|
|
1094
|
-
"version": "0.7.
|
|
1095
|
-
"resolved": "https://registry.npmjs.org/@sinonjs/text-encoding/-/text-encoding-0.7.
|
|
1096
|
-
"integrity": "sha512
|
|
1094
|
+
"version": "0.7.2",
|
|
1095
|
+
"resolved": "https://registry.npmjs.org/@sinonjs/text-encoding/-/text-encoding-0.7.2.tgz",
|
|
1096
|
+
"integrity": "sha512-sXXKG+uL9IrKqViTtao2Ws6dy0znu9sOaP1di/jKGW1M6VssO8vlpXCQcpZ+jisQ1tTFAC5Jo/EOzFbggBagFQ==",
|
|
1097
1097
|
"dev": true
|
|
1098
1098
|
},
|
|
1099
1099
|
"node_modules/@socket.io/component-emitter": {
|
|
@@ -1419,9 +1419,9 @@
|
|
|
1419
1419
|
}
|
|
1420
1420
|
},
|
|
1421
1421
|
"node_modules/acorn": {
|
|
1422
|
-
"version": "8.
|
|
1423
|
-
"resolved": "https://registry.npmjs.org/acorn/-/acorn-8.
|
|
1424
|
-
"integrity": "sha512-
|
|
1422
|
+
"version": "8.8.0",
|
|
1423
|
+
"resolved": "https://registry.npmjs.org/acorn/-/acorn-8.8.0.tgz",
|
|
1424
|
+
"integrity": "sha512-QOxyigPVrpZ2GXT+PFyZTl6TtOFc5egxHIP9IlQ+RbupQuX4RkT/Bee4/kQuC02Xkzg84JcT7oLYtDIQxp+v7w==",
|
|
1425
1425
|
"bin": {
|
|
1426
1426
|
"acorn": "bin/acorn"
|
|
1427
1427
|
},
|
|
@@ -1882,9 +1882,9 @@
|
|
|
1882
1882
|
}
|
|
1883
1883
|
},
|
|
1884
1884
|
"node_modules/appium-dom-utils/node_modules/ws": {
|
|
1885
|
-
"version": "7.5.
|
|
1886
|
-
"resolved": "https://registry.npmjs.org/ws/-/ws-7.5.
|
|
1887
|
-
"integrity": "sha512-
|
|
1885
|
+
"version": "7.5.9",
|
|
1886
|
+
"resolved": "https://registry.npmjs.org/ws/-/ws-7.5.9.tgz",
|
|
1887
|
+
"integrity": "sha512-F+P9Jil7UiSKSkppIiD94dN07AwvFixvLIj1Og1Rl9GGMuNipJnV9JzjD6XuqmAeiswGvUmNLjr5cFuXwNS77Q==",
|
|
1888
1888
|
"engines": {
|
|
1889
1889
|
"node": ">=8.3.0"
|
|
1890
1890
|
},
|
|
@@ -2963,9 +2963,9 @@
|
|
|
2963
2963
|
}
|
|
2964
2964
|
},
|
|
2965
2965
|
"node_modules/chrome-dompath/node_modules/ws": {
|
|
2966
|
-
"version": "7.5.
|
|
2967
|
-
"resolved": "https://registry.npmjs.org/ws/-/ws-7.5.
|
|
2968
|
-
"integrity": "sha512-
|
|
2966
|
+
"version": "7.5.9",
|
|
2967
|
+
"resolved": "https://registry.npmjs.org/ws/-/ws-7.5.9.tgz",
|
|
2968
|
+
"integrity": "sha512-F+P9Jil7UiSKSkppIiD94dN07AwvFixvLIj1Og1Rl9GGMuNipJnV9JzjD6XuqmAeiswGvUmNLjr5cFuXwNS77Q==",
|
|
2969
2969
|
"engines": {
|
|
2970
2970
|
"node": ">=8.3.0"
|
|
2971
2971
|
},
|
|
@@ -3113,9 +3113,9 @@
|
|
|
3113
3113
|
}
|
|
3114
3114
|
},
|
|
3115
3115
|
"node_modules/cli-spinners": {
|
|
3116
|
-
"version": "2.
|
|
3117
|
-
"resolved": "https://registry.npmjs.org/cli-spinners/-/cli-spinners-2.
|
|
3118
|
-
"integrity": "sha512-
|
|
3116
|
+
"version": "2.7.0",
|
|
3117
|
+
"resolved": "https://registry.npmjs.org/cli-spinners/-/cli-spinners-2.7.0.tgz",
|
|
3118
|
+
"integrity": "sha512-qu3pN8Y3qHNgE2AFweciB1IfMnmZ/fsNTEE+NOFjmGB2F/7rLhnhzppvpCnN4FovtP26k8lHyy9ptEbNwWFLzw==",
|
|
3119
3119
|
"engines": {
|
|
3120
3120
|
"node": ">=6"
|
|
3121
3121
|
},
|
|
@@ -4414,9 +4414,9 @@
|
|
|
4414
4414
|
}
|
|
4415
4415
|
},
|
|
4416
4416
|
"node_modules/es5-ext": {
|
|
4417
|
-
"version": "0.10.
|
|
4418
|
-
"resolved": "https://registry.npmjs.org/es5-ext/-/es5-ext-0.10.
|
|
4419
|
-
"integrity": "sha512-
|
|
4417
|
+
"version": "0.10.62",
|
|
4418
|
+
"resolved": "https://registry.npmjs.org/es5-ext/-/es5-ext-0.10.62.tgz",
|
|
4419
|
+
"integrity": "sha512-BHLqn0klhEpnOKSrzn/Xsz2UIW8j+cGmo9JLzr8BiUapV8hPL9+FliFqjwr9ngW7jWdnxv6eO+/LqyhJVqgrjA==",
|
|
4420
4420
|
"dev": true,
|
|
4421
4421
|
"hasInstallScript": true,
|
|
4422
4422
|
"dependencies": {
|
|
@@ -4867,9 +4867,9 @@
|
|
|
4867
4867
|
}
|
|
4868
4868
|
},
|
|
4869
4869
|
"node_modules/ext/node_modules/type": {
|
|
4870
|
-
"version": "2.
|
|
4871
|
-
"resolved": "https://registry.npmjs.org/type/-/type-2.
|
|
4872
|
-
"integrity": "sha512-
|
|
4870
|
+
"version": "2.7.2",
|
|
4871
|
+
"resolved": "https://registry.npmjs.org/type/-/type-2.7.2.tgz",
|
|
4872
|
+
"integrity": "sha512-dzlvlNlt6AXU7EBSfpAscydQ7gXB+pPGsPnfJnZpiNJBDj7IaJzQlBZYGdEi4R9HmPdBv2XmWJ6YUtoTa7lmCw==",
|
|
4873
4873
|
"dev": true
|
|
4874
4874
|
},
|
|
4875
4875
|
"node_modules/extend": {
|
|
@@ -6525,9 +6525,9 @@
|
|
|
6525
6525
|
"integrity": "sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w=="
|
|
6526
6526
|
},
|
|
6527
6527
|
"node_modules/is-core-module": {
|
|
6528
|
-
"version": "2.
|
|
6529
|
-
"resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.
|
|
6530
|
-
"integrity": "sha512
|
|
6528
|
+
"version": "2.10.0",
|
|
6529
|
+
"resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.10.0.tgz",
|
|
6530
|
+
"integrity": "sha512-Erxj2n/LDAZ7H8WNJXd9tw38GYM3dv8rk8Zcs+jJuxYTW7sozH+SS8NtrSjVL1/vpLvWi1hxy96IzjJ3EHTJJg==",
|
|
6531
6531
|
"dev": true,
|
|
6532
6532
|
"dependencies": {
|
|
6533
6533
|
"has": "^1.0.3"
|
|
@@ -6938,15 +6938,15 @@
|
|
|
6938
6938
|
"integrity": "sha512-ru1HWKek8octvUHFHvE5ZzQ1yAsJmIvRdGWvSoKV52XKyuyYA437QWDttXT8eZXDSbuMpHlLzPDZUPd6idIz+Q=="
|
|
6939
6939
|
},
|
|
6940
6940
|
"node_modules/js-beautify": {
|
|
6941
|
-
"version": "1.14.
|
|
6942
|
-
"resolved": "https://registry.npmjs.org/js-beautify/-/js-beautify-1.14.
|
|
6943
|
-
"integrity": "sha512
|
|
6941
|
+
"version": "1.14.5",
|
|
6942
|
+
"resolved": "https://registry.npmjs.org/js-beautify/-/js-beautify-1.14.5.tgz",
|
|
6943
|
+
"integrity": "sha512-P2BfZBhXchh10uZ87qMKpM2tfcDXLA+jDiWU/OV864yWdTGzLUGNAdp9Y1ID5ubpNVGls3cZ1UMcO8myUB+UyA==",
|
|
6944
6944
|
"dev": true,
|
|
6945
6945
|
"dependencies": {
|
|
6946
6946
|
"config-chain": "^1.1.13",
|
|
6947
6947
|
"editorconfig": "^0.15.3",
|
|
6948
|
-
"glob": "^
|
|
6949
|
-
"nopt": "^
|
|
6948
|
+
"glob": "^8.0.3",
|
|
6949
|
+
"nopt": "^6.0.0"
|
|
6950
6950
|
},
|
|
6951
6951
|
"bin": {
|
|
6952
6952
|
"css-beautify": "js/bin/css-beautify.js",
|
|
@@ -6957,6 +6957,46 @@
|
|
|
6957
6957
|
"node": ">=10"
|
|
6958
6958
|
}
|
|
6959
6959
|
},
|
|
6960
|
+
"node_modules/js-beautify/node_modules/brace-expansion": {
|
|
6961
|
+
"version": "2.0.1",
|
|
6962
|
+
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz",
|
|
6963
|
+
"integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==",
|
|
6964
|
+
"dev": true,
|
|
6965
|
+
"dependencies": {
|
|
6966
|
+
"balanced-match": "^1.0.0"
|
|
6967
|
+
}
|
|
6968
|
+
},
|
|
6969
|
+
"node_modules/js-beautify/node_modules/glob": {
|
|
6970
|
+
"version": "8.0.3",
|
|
6971
|
+
"resolved": "https://registry.npmjs.org/glob/-/glob-8.0.3.tgz",
|
|
6972
|
+
"integrity": "sha512-ull455NHSHI/Y1FqGaaYFaLGkNMMJbavMrEGFXG/PGrg6y7sutWHUHrz6gy6WEBH6akM1M414dWKCNs+IhKdiQ==",
|
|
6973
|
+
"dev": true,
|
|
6974
|
+
"dependencies": {
|
|
6975
|
+
"fs.realpath": "^1.0.0",
|
|
6976
|
+
"inflight": "^1.0.4",
|
|
6977
|
+
"inherits": "2",
|
|
6978
|
+
"minimatch": "^5.0.1",
|
|
6979
|
+
"once": "^1.3.0"
|
|
6980
|
+
},
|
|
6981
|
+
"engines": {
|
|
6982
|
+
"node": ">=12"
|
|
6983
|
+
},
|
|
6984
|
+
"funding": {
|
|
6985
|
+
"url": "https://github.com/sponsors/isaacs"
|
|
6986
|
+
}
|
|
6987
|
+
},
|
|
6988
|
+
"node_modules/js-beautify/node_modules/minimatch": {
|
|
6989
|
+
"version": "5.1.0",
|
|
6990
|
+
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.1.0.tgz",
|
|
6991
|
+
"integrity": "sha512-9TPBGGak4nHfGZsPBohm9AWg6NoT7QTCehS3BIJABslyZbzxfV78QM2Y6+i741OPZIafFAaiiEMh5OyIrJPgtg==",
|
|
6992
|
+
"dev": true,
|
|
6993
|
+
"dependencies": {
|
|
6994
|
+
"brace-expansion": "^2.0.1"
|
|
6995
|
+
},
|
|
6996
|
+
"engines": {
|
|
6997
|
+
"node": ">=10"
|
|
6998
|
+
}
|
|
6999
|
+
},
|
|
6960
7000
|
"node_modules/js-tokens": {
|
|
6961
7001
|
"version": "4.0.0",
|
|
6962
7002
|
"resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz",
|
|
@@ -8084,17 +8124,17 @@
|
|
|
8084
8124
|
}
|
|
8085
8125
|
},
|
|
8086
8126
|
"node_modules/nopt": {
|
|
8087
|
-
"version": "
|
|
8088
|
-
"resolved": "https://registry.npmjs.org/nopt/-/nopt-
|
|
8089
|
-
"integrity": "sha512-
|
|
8127
|
+
"version": "6.0.0",
|
|
8128
|
+
"resolved": "https://registry.npmjs.org/nopt/-/nopt-6.0.0.tgz",
|
|
8129
|
+
"integrity": "sha512-ZwLpbTgdhuZUnZzjd7nb1ZV+4DoiC6/sfiVKok72ym/4Tlf+DFdlHYmT2JPmcNNWV6Pi3SDf1kT+A4r9RTuT9g==",
|
|
8090
8130
|
"dependencies": {
|
|
8091
|
-
"abbrev": "1"
|
|
8131
|
+
"abbrev": "^1.0.0"
|
|
8092
8132
|
},
|
|
8093
8133
|
"bin": {
|
|
8094
8134
|
"nopt": "bin/nopt.js"
|
|
8095
8135
|
},
|
|
8096
8136
|
"engines": {
|
|
8097
|
-
"node": ">=
|
|
8137
|
+
"node": "^12.13.0 || ^14.15.0 || >=16.0.0"
|
|
8098
8138
|
}
|
|
8099
8139
|
},
|
|
8100
8140
|
"node_modules/normalize-package-data": {
|
|
@@ -10579,14 +10619,14 @@
|
|
|
10579
10619
|
}
|
|
10580
10620
|
},
|
|
10581
10621
|
"node_modules/object.assign": {
|
|
10582
|
-
"version": "4.1.
|
|
10583
|
-
"resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.
|
|
10584
|
-
"integrity": "sha512-
|
|
10622
|
+
"version": "4.1.3",
|
|
10623
|
+
"resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.3.tgz",
|
|
10624
|
+
"integrity": "sha512-ZFJnX3zltyjcYJL0RoCJuzb+11zWGyaDbjgxZbdV7rFEcHQuYxrZqhow67aA7xpes6LhojyFDaBKAFfogQrikA==",
|
|
10585
10625
|
"dev": true,
|
|
10586
10626
|
"dependencies": {
|
|
10587
|
-
"call-bind": "^1.0.
|
|
10588
|
-
"define-properties": "^1.1.
|
|
10589
|
-
"has-symbols": "^1.0.
|
|
10627
|
+
"call-bind": "^1.0.2",
|
|
10628
|
+
"define-properties": "^1.1.4",
|
|
10629
|
+
"has-symbols": "^1.0.3",
|
|
10590
10630
|
"object-keys": "^1.1.1"
|
|
10591
10631
|
},
|
|
10592
10632
|
"engines": {
|
|
@@ -12688,11 +12728,11 @@
|
|
|
12688
12728
|
}
|
|
12689
12729
|
},
|
|
12690
12730
|
"node_modules/socks": {
|
|
12691
|
-
"version": "2.
|
|
12692
|
-
"resolved": "https://registry.npmjs.org/socks/-/socks-2.
|
|
12693
|
-
"integrity": "sha512-
|
|
12731
|
+
"version": "2.7.0",
|
|
12732
|
+
"resolved": "https://registry.npmjs.org/socks/-/socks-2.7.0.tgz",
|
|
12733
|
+
"integrity": "sha512-scnOe9y4VuiNUULJN72GrM26BNOjVsfPXI+j+98PkyEfsIXroa5ofyjT+FzGvn/xHs73U2JtoBYAVx9Hl4quSA==",
|
|
12694
12734
|
"dependencies": {
|
|
12695
|
-
"ip": "^
|
|
12735
|
+
"ip": "^2.0.0",
|
|
12696
12736
|
"smart-buffer": "^4.2.0"
|
|
12697
12737
|
},
|
|
12698
12738
|
"engines": {
|
|
@@ -12713,6 +12753,11 @@
|
|
|
12713
12753
|
"node": ">= 6"
|
|
12714
12754
|
}
|
|
12715
12755
|
},
|
|
12756
|
+
"node_modules/socks/node_modules/ip": {
|
|
12757
|
+
"version": "2.0.0",
|
|
12758
|
+
"resolved": "https://registry.npmjs.org/ip/-/ip-2.0.0.tgz",
|
|
12759
|
+
"integrity": "sha512-WKa+XuLG1A1R0UWhl2+1XQSi+fZWMsYKffMZTTYsiZaUD8k2yDAj5atimTUD2TZkyCkNEeYE5NhFZmupOGtjYQ=="
|
|
12760
|
+
},
|
|
12716
12761
|
"node_modules/source-map": {
|
|
12717
12762
|
"version": "0.5.7",
|
|
12718
12763
|
"resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz",
|
|
@@ -14552,9 +14597,9 @@
|
|
|
14552
14597
|
}
|
|
14553
14598
|
},
|
|
14554
14599
|
"node_modules/yargs-parser": {
|
|
14555
|
-
"version": "21.
|
|
14556
|
-
"resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.
|
|
14557
|
-
"integrity": "sha512-
|
|
14600
|
+
"version": "21.1.1",
|
|
14601
|
+
"resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.1.1.tgz",
|
|
14602
|
+
"integrity": "sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==",
|
|
14558
14603
|
"engines": {
|
|
14559
14604
|
"node": ">=12"
|
|
14560
14605
|
}
|
|
@@ -15001,9 +15046,9 @@
|
|
|
15001
15046
|
}
|
|
15002
15047
|
},
|
|
15003
15048
|
"@babel/runtime": {
|
|
15004
|
-
"version": "7.18.
|
|
15005
|
-
"resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.18.
|
|
15006
|
-
"integrity": "sha512-
|
|
15049
|
+
"version": "7.18.9",
|
|
15050
|
+
"resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.18.9.tgz",
|
|
15051
|
+
"integrity": "sha512-lkqXDcvlFT5rvEjiu6+QYO+1GXrEHRo2LOtS7E4GtX5ESIZOgepqsZBVIj6Pv+a6zqsya9VCgiK1KAK4BvJDAw==",
|
|
15007
15052
|
"requires": {
|
|
15008
15053
|
"regenerator-runtime": "^0.13.4"
|
|
15009
15054
|
}
|
|
@@ -15425,9 +15470,9 @@
|
|
|
15425
15470
|
}
|
|
15426
15471
|
},
|
|
15427
15472
|
"@sinonjs/text-encoding": {
|
|
15428
|
-
"version": "0.7.
|
|
15429
|
-
"resolved": "https://registry.npmjs.org/@sinonjs/text-encoding/-/text-encoding-0.7.
|
|
15430
|
-
"integrity": "sha512
|
|
15473
|
+
"version": "0.7.2",
|
|
15474
|
+
"resolved": "https://registry.npmjs.org/@sinonjs/text-encoding/-/text-encoding-0.7.2.tgz",
|
|
15475
|
+
"integrity": "sha512-sXXKG+uL9IrKqViTtao2Ws6dy0znu9sOaP1di/jKGW1M6VssO8vlpXCQcpZ+jisQ1tTFAC5Jo/EOzFbggBagFQ==",
|
|
15431
15476
|
"dev": true
|
|
15432
15477
|
},
|
|
15433
15478
|
"@socket.io/component-emitter": {
|
|
@@ -15709,9 +15754,9 @@
|
|
|
15709
15754
|
}
|
|
15710
15755
|
},
|
|
15711
15756
|
"acorn": {
|
|
15712
|
-
"version": "8.
|
|
15713
|
-
"resolved": "https://registry.npmjs.org/acorn/-/acorn-8.
|
|
15714
|
-
"integrity": "sha512-
|
|
15757
|
+
"version": "8.8.0",
|
|
15758
|
+
"resolved": "https://registry.npmjs.org/acorn/-/acorn-8.8.0.tgz",
|
|
15759
|
+
"integrity": "sha512-QOxyigPVrpZ2GXT+PFyZTl6TtOFc5egxHIP9IlQ+RbupQuX4RkT/Bee4/kQuC02Xkzg84JcT7oLYtDIQxp+v7w=="
|
|
15715
15760
|
},
|
|
15716
15761
|
"acorn-globals": {
|
|
15717
15762
|
"version": "6.0.0",
|
|
@@ -16074,9 +16119,9 @@
|
|
|
16074
16119
|
}
|
|
16075
16120
|
},
|
|
16076
16121
|
"ws": {
|
|
16077
|
-
"version": "7.5.
|
|
16078
|
-
"resolved": "https://registry.npmjs.org/ws/-/ws-7.5.
|
|
16079
|
-
"integrity": "sha512-
|
|
16122
|
+
"version": "7.5.9",
|
|
16123
|
+
"resolved": "https://registry.npmjs.org/ws/-/ws-7.5.9.tgz",
|
|
16124
|
+
"integrity": "sha512-F+P9Jil7UiSKSkppIiD94dN07AwvFixvLIj1Og1Rl9GGMuNipJnV9JzjD6XuqmAeiswGvUmNLjr5cFuXwNS77Q==",
|
|
16080
16125
|
"requires": {}
|
|
16081
16126
|
},
|
|
16082
16127
|
"xml-name-validator": {
|
|
@@ -16940,9 +16985,9 @@
|
|
|
16940
16985
|
}
|
|
16941
16986
|
},
|
|
16942
16987
|
"ws": {
|
|
16943
|
-
"version": "7.5.
|
|
16944
|
-
"resolved": "https://registry.npmjs.org/ws/-/ws-7.5.
|
|
16945
|
-
"integrity": "sha512-
|
|
16988
|
+
"version": "7.5.9",
|
|
16989
|
+
"resolved": "https://registry.npmjs.org/ws/-/ws-7.5.9.tgz",
|
|
16990
|
+
"integrity": "sha512-F+P9Jil7UiSKSkppIiD94dN07AwvFixvLIj1Og1Rl9GGMuNipJnV9JzjD6XuqmAeiswGvUmNLjr5cFuXwNS77Q==",
|
|
16946
16991
|
"requires": {}
|
|
16947
16992
|
},
|
|
16948
16993
|
"xml-name-validator": {
|
|
@@ -17051,9 +17096,9 @@
|
|
|
17051
17096
|
}
|
|
17052
17097
|
},
|
|
17053
17098
|
"cli-spinners": {
|
|
17054
|
-
"version": "2.
|
|
17055
|
-
"resolved": "https://registry.npmjs.org/cli-spinners/-/cli-spinners-2.
|
|
17056
|
-
"integrity": "sha512-
|
|
17099
|
+
"version": "2.7.0",
|
|
17100
|
+
"resolved": "https://registry.npmjs.org/cli-spinners/-/cli-spinners-2.7.0.tgz",
|
|
17101
|
+
"integrity": "sha512-qu3pN8Y3qHNgE2AFweciB1IfMnmZ/fsNTEE+NOFjmGB2F/7rLhnhzppvpCnN4FovtP26k8lHyy9ptEbNwWFLzw=="
|
|
17057
17102
|
},
|
|
17058
17103
|
"cli-width": {
|
|
17059
17104
|
"version": "2.2.1",
|
|
@@ -18121,9 +18166,9 @@
|
|
|
18121
18166
|
}
|
|
18122
18167
|
},
|
|
18123
18168
|
"es5-ext": {
|
|
18124
|
-
"version": "0.10.
|
|
18125
|
-
"resolved": "https://registry.npmjs.org/es5-ext/-/es5-ext-0.10.
|
|
18126
|
-
"integrity": "sha512-
|
|
18169
|
+
"version": "0.10.62",
|
|
18170
|
+
"resolved": "https://registry.npmjs.org/es5-ext/-/es5-ext-0.10.62.tgz",
|
|
18171
|
+
"integrity": "sha512-BHLqn0klhEpnOKSrzn/Xsz2UIW8j+cGmo9JLzr8BiUapV8hPL9+FliFqjwr9ngW7jWdnxv6eO+/LqyhJVqgrjA==",
|
|
18127
18172
|
"dev": true,
|
|
18128
18173
|
"requires": {
|
|
18129
18174
|
"es6-iterator": "^2.0.3",
|
|
@@ -18468,9 +18513,9 @@
|
|
|
18468
18513
|
},
|
|
18469
18514
|
"dependencies": {
|
|
18470
18515
|
"type": {
|
|
18471
|
-
"version": "2.
|
|
18472
|
-
"resolved": "https://registry.npmjs.org/type/-/type-2.
|
|
18473
|
-
"integrity": "sha512-
|
|
18516
|
+
"version": "2.7.2",
|
|
18517
|
+
"resolved": "https://registry.npmjs.org/type/-/type-2.7.2.tgz",
|
|
18518
|
+
"integrity": "sha512-dzlvlNlt6AXU7EBSfpAscydQ7gXB+pPGsPnfJnZpiNJBDj7IaJzQlBZYGdEi4R9HmPdBv2XmWJ6YUtoTa7lmCw==",
|
|
18474
18519
|
"dev": true
|
|
18475
18520
|
}
|
|
18476
18521
|
}
|
|
@@ -19819,9 +19864,9 @@
|
|
|
19819
19864
|
"integrity": "sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w=="
|
|
19820
19865
|
},
|
|
19821
19866
|
"is-core-module": {
|
|
19822
|
-
"version": "2.
|
|
19823
|
-
"resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.
|
|
19824
|
-
"integrity": "sha512
|
|
19867
|
+
"version": "2.10.0",
|
|
19868
|
+
"resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.10.0.tgz",
|
|
19869
|
+
"integrity": "sha512-Erxj2n/LDAZ7H8WNJXd9tw38GYM3dv8rk8Zcs+jJuxYTW7sozH+SS8NtrSjVL1/vpLvWi1hxy96IzjJ3EHTJJg==",
|
|
19825
19870
|
"dev": true,
|
|
19826
19871
|
"requires": {
|
|
19827
19872
|
"has": "^1.0.3"
|
|
@@ -20123,15 +20168,48 @@
|
|
|
20123
20168
|
"integrity": "sha512-ru1HWKek8octvUHFHvE5ZzQ1yAsJmIvRdGWvSoKV52XKyuyYA437QWDttXT8eZXDSbuMpHlLzPDZUPd6idIz+Q=="
|
|
20124
20169
|
},
|
|
20125
20170
|
"js-beautify": {
|
|
20126
|
-
"version": "1.14.
|
|
20127
|
-
"resolved": "https://registry.npmjs.org/js-beautify/-/js-beautify-1.14.
|
|
20128
|
-
"integrity": "sha512
|
|
20171
|
+
"version": "1.14.5",
|
|
20172
|
+
"resolved": "https://registry.npmjs.org/js-beautify/-/js-beautify-1.14.5.tgz",
|
|
20173
|
+
"integrity": "sha512-P2BfZBhXchh10uZ87qMKpM2tfcDXLA+jDiWU/OV864yWdTGzLUGNAdp9Y1ID5ubpNVGls3cZ1UMcO8myUB+UyA==",
|
|
20129
20174
|
"dev": true,
|
|
20130
20175
|
"requires": {
|
|
20131
20176
|
"config-chain": "^1.1.13",
|
|
20132
20177
|
"editorconfig": "^0.15.3",
|
|
20133
|
-
"glob": "^
|
|
20134
|
-
"nopt": "^
|
|
20178
|
+
"glob": "^8.0.3",
|
|
20179
|
+
"nopt": "^6.0.0"
|
|
20180
|
+
},
|
|
20181
|
+
"dependencies": {
|
|
20182
|
+
"brace-expansion": {
|
|
20183
|
+
"version": "2.0.1",
|
|
20184
|
+
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz",
|
|
20185
|
+
"integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==",
|
|
20186
|
+
"dev": true,
|
|
20187
|
+
"requires": {
|
|
20188
|
+
"balanced-match": "^1.0.0"
|
|
20189
|
+
}
|
|
20190
|
+
},
|
|
20191
|
+
"glob": {
|
|
20192
|
+
"version": "8.0.3",
|
|
20193
|
+
"resolved": "https://registry.npmjs.org/glob/-/glob-8.0.3.tgz",
|
|
20194
|
+
"integrity": "sha512-ull455NHSHI/Y1FqGaaYFaLGkNMMJbavMrEGFXG/PGrg6y7sutWHUHrz6gy6WEBH6akM1M414dWKCNs+IhKdiQ==",
|
|
20195
|
+
"dev": true,
|
|
20196
|
+
"requires": {
|
|
20197
|
+
"fs.realpath": "^1.0.0",
|
|
20198
|
+
"inflight": "^1.0.4",
|
|
20199
|
+
"inherits": "2",
|
|
20200
|
+
"minimatch": "^5.0.1",
|
|
20201
|
+
"once": "^1.3.0"
|
|
20202
|
+
}
|
|
20203
|
+
},
|
|
20204
|
+
"minimatch": {
|
|
20205
|
+
"version": "5.1.0",
|
|
20206
|
+
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.1.0.tgz",
|
|
20207
|
+
"integrity": "sha512-9TPBGGak4nHfGZsPBohm9AWg6NoT7QTCehS3BIJABslyZbzxfV78QM2Y6+i741OPZIafFAaiiEMh5OyIrJPgtg==",
|
|
20208
|
+
"dev": true,
|
|
20209
|
+
"requires": {
|
|
20210
|
+
"brace-expansion": "^2.0.1"
|
|
20211
|
+
}
|
|
20212
|
+
}
|
|
20135
20213
|
}
|
|
20136
20214
|
},
|
|
20137
20215
|
"js-tokens": {
|
|
@@ -21097,11 +21175,11 @@
|
|
|
21097
21175
|
}
|
|
21098
21176
|
},
|
|
21099
21177
|
"nopt": {
|
|
21100
|
-
"version": "
|
|
21101
|
-
"resolved": "https://registry.npmjs.org/nopt/-/nopt-
|
|
21102
|
-
"integrity": "sha512-
|
|
21178
|
+
"version": "6.0.0",
|
|
21179
|
+
"resolved": "https://registry.npmjs.org/nopt/-/nopt-6.0.0.tgz",
|
|
21180
|
+
"integrity": "sha512-ZwLpbTgdhuZUnZzjd7nb1ZV+4DoiC6/sfiVKok72ym/4Tlf+DFdlHYmT2JPmcNNWV6Pi3SDf1kT+A4r9RTuT9g==",
|
|
21103
21181
|
"requires": {
|
|
21104
|
-
"abbrev": "1"
|
|
21182
|
+
"abbrev": "^1.0.0"
|
|
21105
21183
|
}
|
|
21106
21184
|
},
|
|
21107
21185
|
"normalize-package-data": {
|
|
@@ -22813,14 +22891,14 @@
|
|
|
22813
22891
|
}
|
|
22814
22892
|
},
|
|
22815
22893
|
"object.assign": {
|
|
22816
|
-
"version": "4.1.
|
|
22817
|
-
"resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.
|
|
22818
|
-
"integrity": "sha512-
|
|
22894
|
+
"version": "4.1.3",
|
|
22895
|
+
"resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.3.tgz",
|
|
22896
|
+
"integrity": "sha512-ZFJnX3zltyjcYJL0RoCJuzb+11zWGyaDbjgxZbdV7rFEcHQuYxrZqhow67aA7xpes6LhojyFDaBKAFfogQrikA==",
|
|
22819
22897
|
"dev": true,
|
|
22820
22898
|
"requires": {
|
|
22821
|
-
"call-bind": "^1.0.
|
|
22822
|
-
"define-properties": "^1.1.
|
|
22823
|
-
"has-symbols": "^1.0.
|
|
22899
|
+
"call-bind": "^1.0.2",
|
|
22900
|
+
"define-properties": "^1.1.4",
|
|
22901
|
+
"has-symbols": "^1.0.3",
|
|
22824
22902
|
"object-keys": "^1.1.1"
|
|
22825
22903
|
}
|
|
22826
22904
|
},
|
|
@@ -24509,12 +24587,19 @@
|
|
|
24509
24587
|
}
|
|
24510
24588
|
},
|
|
24511
24589
|
"socks": {
|
|
24512
|
-
"version": "2.
|
|
24513
|
-
"resolved": "https://registry.npmjs.org/socks/-/socks-2.
|
|
24514
|
-
"integrity": "sha512-
|
|
24590
|
+
"version": "2.7.0",
|
|
24591
|
+
"resolved": "https://registry.npmjs.org/socks/-/socks-2.7.0.tgz",
|
|
24592
|
+
"integrity": "sha512-scnOe9y4VuiNUULJN72GrM26BNOjVsfPXI+j+98PkyEfsIXroa5ofyjT+FzGvn/xHs73U2JtoBYAVx9Hl4quSA==",
|
|
24515
24593
|
"requires": {
|
|
24516
|
-
"ip": "^
|
|
24594
|
+
"ip": "^2.0.0",
|
|
24517
24595
|
"smart-buffer": "^4.2.0"
|
|
24596
|
+
},
|
|
24597
|
+
"dependencies": {
|
|
24598
|
+
"ip": {
|
|
24599
|
+
"version": "2.0.0",
|
|
24600
|
+
"resolved": "https://registry.npmjs.org/ip/-/ip-2.0.0.tgz",
|
|
24601
|
+
"integrity": "sha512-WKa+XuLG1A1R0UWhl2+1XQSi+fZWMsYKffMZTTYsiZaUD8k2yDAj5atimTUD2TZkyCkNEeYE5NhFZmupOGtjYQ=="
|
|
24602
|
+
}
|
|
24518
24603
|
}
|
|
24519
24604
|
},
|
|
24520
24605
|
"socks-proxy-agent": {
|
|
@@ -26026,9 +26111,9 @@
|
|
|
26026
26111
|
}
|
|
26027
26112
|
},
|
|
26028
26113
|
"yargs-parser": {
|
|
26029
|
-
"version": "21.
|
|
26030
|
-
"resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.
|
|
26031
|
-
"integrity": "sha512-
|
|
26114
|
+
"version": "21.1.1",
|
|
26115
|
+
"resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.1.1.tgz",
|
|
26116
|
+
"integrity": "sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw=="
|
|
26032
26117
|
},
|
|
26033
26118
|
"yauzl": {
|
|
26034
26119
|
"version": "2.10.0",
|
package/package.json
CHANGED
|
@@ -4,7 +4,21 @@ const _ = require('lodash');
|
|
|
4
4
|
|
|
5
5
|
const COMMUNICATION_BUFFER_TIME = 1000;
|
|
6
6
|
const UI_VERIFICATION_STEPS = ['simple-ui-verification', 'wait-for-simple-ui-verification'];
|
|
7
|
-
const FULL_TIMEOUT_STEP_TYPES = [
|
|
7
|
+
const FULL_TIMEOUT_STEP_TYPES = [
|
|
8
|
+
...UI_VERIFICATION_STEPS,
|
|
9
|
+
'custom-validation',
|
|
10
|
+
'sfdc-recorded-step',
|
|
11
|
+
'sfdc-step-login',
|
|
12
|
+
'sfdc-step-logout',
|
|
13
|
+
'sfdc-step-sobjectcreate',
|
|
14
|
+
'sfdc-step-sobjectdelete',
|
|
15
|
+
'sfdc-step-findrecord',
|
|
16
|
+
'sfdc-step-quickaction',
|
|
17
|
+
'sfdc-step-sobjectvalidate',
|
|
18
|
+
'sfdc-step-launchapp',
|
|
19
|
+
'sfdc-step-closeconsoletabs',
|
|
20
|
+
'sfdc-step-sobjectedit',
|
|
21
|
+
];
|
|
8
22
|
|
|
9
23
|
class PlaybackTimeoutCalculator {
|
|
10
24
|
constructor(isDebuggerConnected) {
|
|
@@ -37,9 +37,11 @@ class ApiStepAction extends StepAction {
|
|
|
37
37
|
body: context.apiBody,
|
|
38
38
|
timeout: context.data.maxTotalStepTime,
|
|
39
39
|
omitCookies: step.omitCookies,
|
|
40
|
+
formData: step.formData,
|
|
41
|
+
fileUrls: context.fileUrls,
|
|
40
42
|
};
|
|
41
43
|
|
|
42
|
-
return (step.sendViaWebApp ? this.runApiInAut(
|
|
44
|
+
return (step.sendViaWebApp ? this.runApiInAut(eventData) : this.runApiInBg(eventData))
|
|
43
45
|
.then(resp => {
|
|
44
46
|
const result = resp.result || {};
|
|
45
47
|
|
|
@@ -51,31 +53,31 @@ class ApiStepAction extends StepAction {
|
|
|
51
53
|
|
|
52
54
|
if (resp.success) {
|
|
53
55
|
if (result.status === 0) {
|
|
54
|
-
return
|
|
56
|
+
return {
|
|
55
57
|
result,
|
|
56
58
|
resultInfo,
|
|
57
59
|
shouldRetry: false,
|
|
58
60
|
success: false,
|
|
59
61
|
reason: 'Connection problem',
|
|
60
62
|
errorType: constants.API_REQUEST_NETWORK_ERROR,
|
|
61
|
-
}
|
|
63
|
+
};
|
|
62
64
|
}
|
|
63
|
-
return
|
|
65
|
+
return {
|
|
64
66
|
result,
|
|
65
67
|
resultInfo,
|
|
66
68
|
shouldRetry: false,
|
|
67
69
|
success: true,
|
|
68
|
-
}
|
|
70
|
+
};
|
|
69
71
|
}
|
|
70
72
|
|
|
71
|
-
return
|
|
73
|
+
return {
|
|
72
74
|
result,
|
|
73
75
|
resultInfo,
|
|
74
76
|
shouldRetry: false,
|
|
75
77
|
success: false,
|
|
76
78
|
reason: result.error || sessionPlayer.commonConstants.error.REQUEST_TIMED_OUT,
|
|
77
79
|
errorType: result.error ? constants.API_FAILURE : constants.API_REQUEST_NETWORK_ERROR,
|
|
78
|
-
}
|
|
80
|
+
};
|
|
79
81
|
});
|
|
80
82
|
}
|
|
81
83
|
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
const StepAction = require('./stepAction');
|
|
2
|
+
const { sfdc } = require('../../commons/getSessionPlayerRequire');
|
|
3
|
+
|
|
4
|
+
class SfdcRecordedStepAction extends StepAction {
|
|
5
|
+
async performAction() {
|
|
6
|
+
const page = sfdc.sfdcNewSePage(this.driver);
|
|
7
|
+
try {
|
|
8
|
+
await sfdc.sfdcExecuteRecordedStep(page, this.step.recordedData);
|
|
9
|
+
return { success: true };
|
|
10
|
+
} catch (err) {
|
|
11
|
+
return {
|
|
12
|
+
success: false,
|
|
13
|
+
reason: err.reason || err.message,
|
|
14
|
+
exception: err,
|
|
15
|
+
shouldRetry: false, // TODO - check this. Our (bFormat) steps are probably not retryable?
|
|
16
|
+
};
|
|
17
|
+
} finally {
|
|
18
|
+
page.releaseObjects();
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
module.exports = SfdcRecordedStepAction;
|
|
@@ -28,6 +28,7 @@ const CliConditionStepAction = require('./cliConditionStepAction');
|
|
|
28
28
|
const NodePackageStepAction = require('./nodePackageStepAction');
|
|
29
29
|
const ExtensionOnlyStepAction = require('./extensionOnlyStepAction');
|
|
30
30
|
const SfdcStepAction = require('./sfdcStepAction');
|
|
31
|
+
const SfdcRecordedStepAction = require('./sfdcRecordedStepAction');
|
|
31
32
|
|
|
32
33
|
function register(stepActionByType, stepActionFactory) {
|
|
33
34
|
Object.keys(stepActionByType).forEach(type => {
|
|
@@ -84,16 +85,18 @@ module.exports = function (driver, stepActionFactory, runMode) {
|
|
|
84
85
|
'cli-email-code-step': CliJsStepAction,
|
|
85
86
|
'tdk-hybrid': TdkHybridStepAction,
|
|
86
87
|
|
|
88
|
+
'sfdc-recorded-step': SfdcRecordedStepAction,
|
|
87
89
|
'sfdc-step-login': SfdcStepAction,
|
|
88
90
|
'sfdc-step-logout': SfdcStepAction,
|
|
89
91
|
'sfdc-step-sobjectcreate': SfdcStepAction,
|
|
90
92
|
'sfdc-step-sobjectdelete': SfdcStepAction,
|
|
91
93
|
'sfdc-step-findrecord': SfdcStepAction,
|
|
92
94
|
'sfdc-step-quickaction': SfdcStepAction,
|
|
93
|
-
'sfdc-step-
|
|
95
|
+
'sfdc-step-sobjectedit': SfdcStepAction,
|
|
94
96
|
'sfdc-step-sobjectvalidate': SfdcStepAction,
|
|
95
97
|
'sfdc-step-launchapp': SfdcStepAction,
|
|
96
98
|
'sfdc-step-closeconsoletabs': SfdcStepAction,
|
|
99
|
+
'sfdc-step-relatedlistaction': SfdcStepAction,
|
|
97
100
|
};
|
|
98
101
|
|
|
99
102
|
register(STEP_ACTION_MAPPING, stepActionFactory);
|
package/runOptions.js
CHANGED
|
@@ -910,6 +910,9 @@ module.exports = {
|
|
|
910
910
|
if (program.resultLabel.length) {
|
|
911
911
|
program.resultLabel = program.resultLabel.map(label => label.trim()).filter(Boolean);
|
|
912
912
|
const invalidLabels = program.resultLabel.filter(label => label.length >= 250).filter(Boolean);
|
|
913
|
+
if (program.branch === 'auto-detect' && program.resultLabel.includes('auto-detect-branch') && utils.getEnvironmentGitBranch()) {
|
|
914
|
+
program.resultLabel.unshift(utils.getEnvironmentGitBranch());
|
|
915
|
+
}
|
|
913
916
|
if (invalidLabels.length) {
|
|
914
917
|
throw new ArgError('A result label cannot exceed 250 characters');
|
|
915
918
|
}
|
package/workers/BaseWorker.js
CHANGED
|
@@ -129,7 +129,7 @@ class BaseWorker {
|
|
|
129
129
|
await utils.delay(this.options.getBrowserTimeout - (Date.now() - startTime));
|
|
130
130
|
throw error;
|
|
131
131
|
}
|
|
132
|
-
}, { retries: this.options.getBrowserRetries - 1, minTimeout: 0 });
|
|
132
|
+
}, { retries: this.options.getBrowserRetries - 1, minTimeout: 0, factor: 1 });
|
|
133
133
|
perf.log('after getSlotOnce retries');
|
|
134
134
|
|
|
135
135
|
perf.log('before getBrowserOnce retries');
|
|
@@ -168,7 +168,7 @@ class BaseWorker {
|
|
|
168
168
|
}
|
|
169
169
|
throw error;
|
|
170
170
|
}
|
|
171
|
-
}, { retries: getBrowserRetriesNumber - 1, minTimeout: 0 });
|
|
171
|
+
}, { retries: getBrowserRetriesNumber - 1, minTimeout: 0, factor: 1 });
|
|
172
172
|
perf.log('after getBrowserOnce retries');
|
|
173
173
|
} catch (err) {
|
|
174
174
|
await releasePlayer(this.id, this.releaseSlotOnTestFinished, projectId, testPlayer);
|