@testim/testim-cli 3.200.0 → 3.201.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/OverrideTestDataBuilder.js +1 -1
- package/commons/featureFlags.js +0 -3
- package/executionQueue.js +2 -2
- package/npm-shrinkwrap.json +458 -130
- package/package.json +6 -6
- package/player/stepActions/pixelValidationStepAction.js +2 -2
- package/player/utils/eyeSdkService.js +8 -2
- package/reports/junitReporter.js +0 -3
- package/runner.js +1 -10
- package/runners/ParallelWorkerManager.js +2 -2
- package/runners/TestPlanRunner.js +11 -11
- package/testRunHandler.js +8 -3
- package/workers/WorkerSelenium.js +3 -0
|
@@ -32,7 +32,7 @@ class OverrideTestDataBuilder {
|
|
|
32
32
|
}
|
|
33
33
|
}
|
|
34
34
|
if (this.isObjectNotArray(params) && typeof params.overrideAllTestsData !== 'undefined') {
|
|
35
|
-
if (
|
|
35
|
+
if (_.isObject(params.overrideAllTestsData) && !_.isEmpty(params.overrideAllTestsData)) {
|
|
36
36
|
const testNames = this.testInfoList.map(test => test.name);
|
|
37
37
|
testNames.forEach(testName => this.overrideSingeTest(testName, params.overrideAllTestsData));
|
|
38
38
|
delete params.overrideAllTestsData;
|
package/commons/featureFlags.js
CHANGED
|
@@ -37,7 +37,6 @@ class FeatureFlagsService {
|
|
|
37
37
|
useSafariWebdriverVisibilityChecks: new Rox.Flag(),
|
|
38
38
|
useClickimVisibilityChecks: new Rox.Flag(),
|
|
39
39
|
useIEWebdriverVisibilityChecks: new Rox.Flag(),
|
|
40
|
-
enableTDKRun: new Rox.Flag(true),
|
|
41
40
|
runGetElementCodeInAut: new Rox.Flag(),
|
|
42
41
|
enableNpmPackageInstallUsingNpmCli: new Rox.Flag(),
|
|
43
42
|
enableFrameSwitchOptimization: new Rox.Flag(),
|
|
@@ -47,8 +46,6 @@ class FeatureFlagsService {
|
|
|
47
46
|
warnOnBadNetwork: new Rox.Flag(false),
|
|
48
47
|
overrideAzureStorageUrl: new Rox.Flag(),
|
|
49
48
|
useJsInputCodeInSafari: new Rox.Flag(),
|
|
50
|
-
testNameTestDataInJunitReport: new Rox.Flag(),
|
|
51
|
-
countRetries: new Rox.Flag(),
|
|
52
49
|
autoSaveDownloadFileFireFox: new Rox.Flag(true),
|
|
53
50
|
safariSelectOptionDispatchEventOnSelectElement: new Rox.Flag(true),
|
|
54
51
|
experimentalPreCodeCompilation: new Rox.Flag(false),
|
package/executionQueue.js
CHANGED
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
const TestRun = require('./testRunHandler.js');
|
|
4
4
|
|
|
5
5
|
class ExecutionQueue {
|
|
6
|
-
constructor(executionId, testList, options, branchToUse, testStatus) {
|
|
7
|
-
this._waitingTests = testList.map(testInfo => new TestRun(executionId, testInfo, options, branchToUse, testStatus));
|
|
6
|
+
constructor(executionId, executionName, testList, options, branchToUse, testStatus) {
|
|
7
|
+
this._waitingTests = testList.map(testInfo => new TestRun(executionId, executionName, testInfo, options, branchToUse, testStatus));
|
|
8
8
|
}
|
|
9
9
|
|
|
10
10
|
getNext() {
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -163,6 +163,11 @@
|
|
|
163
163
|
"tr46": "^1.0.1",
|
|
164
164
|
"webidl-conversions": "^4.0.2"
|
|
165
165
|
}
|
|
166
|
+
},
|
|
167
|
+
"ws": {
|
|
168
|
+
"version": "7.5.5",
|
|
169
|
+
"resolved": "https://registry.npmjs.org/ws/-/ws-7.5.5.tgz",
|
|
170
|
+
"integrity": "sha512-BAkMFcAzl8as1G/hArkxOxq3G7pjUqQ3gzYbLL0/5zNkph70e+lCoxBGnm6AW1+/aiNeV4fnKqZ8m4GZewmH2w=="
|
|
166
171
|
}
|
|
167
172
|
}
|
|
168
173
|
},
|
|
@@ -267,9 +272,9 @@
|
|
|
267
272
|
}
|
|
268
273
|
},
|
|
269
274
|
"@babel/compat-data": {
|
|
270
|
-
"version": "7.16.
|
|
271
|
-
"resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.16.
|
|
272
|
-
"integrity": "sha512-
|
|
275
|
+
"version": "7.16.4",
|
|
276
|
+
"resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.16.4.tgz",
|
|
277
|
+
"integrity": "sha512-1o/jo7D+kC9ZjHX5v+EHrdjl3PhxMrLSOTGsOdHJ+KL8HCaEK6ehrVL2RS6oHDZp+L7xLirLrPmQtEng769J/Q==",
|
|
273
278
|
"dev": true
|
|
274
279
|
},
|
|
275
280
|
"@babel/core": {
|
|
@@ -544,9 +549,9 @@
|
|
|
544
549
|
}
|
|
545
550
|
},
|
|
546
551
|
"@babel/parser": {
|
|
547
|
-
"version": "7.16.
|
|
548
|
-
"resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.16.
|
|
549
|
-
"integrity": "sha512-
|
|
552
|
+
"version": "7.16.4",
|
|
553
|
+
"resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.16.4.tgz",
|
|
554
|
+
"integrity": "sha512-6V0qdPUaiVHH3RtZeLIsc+6pDhbYzHR8ogA8w+f+Wc77DuXto19g2QUwveINoS34Uw+W8/hQDGJCx+i4n7xcng==",
|
|
550
555
|
"dev": true
|
|
551
556
|
},
|
|
552
557
|
"@babel/runtime": {
|
|
@@ -677,6 +682,349 @@
|
|
|
677
682
|
"resolved": "https://registry.npmjs.org/@istanbuljs/schema/-/schema-0.1.3.tgz",
|
|
678
683
|
"integrity": "sha512-ZXRY4jNvVgSVQ8DL3LTcakaAtXwTVUxE81hslsyD2AtoXW/wVob10HkOJ1X/pAlcI7D+2YoZKg5do8G/w6RYgA=="
|
|
679
684
|
},
|
|
685
|
+
"@jimp/bmp": {
|
|
686
|
+
"version": "0.16.1",
|
|
687
|
+
"resolved": "https://registry.npmjs.org/@jimp/bmp/-/bmp-0.16.1.tgz",
|
|
688
|
+
"integrity": "sha512-iwyNYQeBawrdg/f24x3pQ5rEx+/GwjZcCXd3Kgc+ZUd+Ivia7sIqBsOnDaMZdKCBPlfW364ekexnlOqyVa0NWg==",
|
|
689
|
+
"requires": {
|
|
690
|
+
"@babel/runtime": "^7.7.2",
|
|
691
|
+
"@jimp/utils": "^0.16.1",
|
|
692
|
+
"bmp-js": "^0.1.0"
|
|
693
|
+
}
|
|
694
|
+
},
|
|
695
|
+
"@jimp/core": {
|
|
696
|
+
"version": "0.16.1",
|
|
697
|
+
"resolved": "https://registry.npmjs.org/@jimp/core/-/core-0.16.1.tgz",
|
|
698
|
+
"integrity": "sha512-la7kQia31V6kQ4q1kI/uLimu8FXx7imWVajDGtwUG8fzePLWDFJyZl0fdIXVCL1JW2nBcRHidUot6jvlRDi2+g==",
|
|
699
|
+
"requires": {
|
|
700
|
+
"@babel/runtime": "^7.7.2",
|
|
701
|
+
"@jimp/utils": "^0.16.1",
|
|
702
|
+
"any-base": "^1.1.0",
|
|
703
|
+
"buffer": "^5.2.0",
|
|
704
|
+
"exif-parser": "^0.1.12",
|
|
705
|
+
"file-type": "^9.0.0",
|
|
706
|
+
"load-bmfont": "^1.3.1",
|
|
707
|
+
"mkdirp": "^0.5.1",
|
|
708
|
+
"phin": "^2.9.1",
|
|
709
|
+
"pixelmatch": "^4.0.2",
|
|
710
|
+
"tinycolor2": "^1.4.1"
|
|
711
|
+
},
|
|
712
|
+
"dependencies": {
|
|
713
|
+
"file-type": {
|
|
714
|
+
"version": "9.0.0",
|
|
715
|
+
"resolved": "https://registry.npmjs.org/file-type/-/file-type-9.0.0.tgz",
|
|
716
|
+
"integrity": "sha512-Qe/5NJrgIOlwijpq3B7BEpzPFcgzggOTagZmkXQY4LA6bsXKTUstK7Wp12lEJ/mLKTpvIZxmIuRcLYWT6ov9lw=="
|
|
717
|
+
},
|
|
718
|
+
"mkdirp": {
|
|
719
|
+
"version": "0.5.5",
|
|
720
|
+
"resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.5.tgz",
|
|
721
|
+
"integrity": "sha512-NKmAlESf6jMGym1++R0Ra7wvhV+wFW63FaSOFPwRahvea0gMUcGUhVeAg/0BC0wiv9ih5NYPB1Wn1UEI1/L+xQ==",
|
|
722
|
+
"requires": {
|
|
723
|
+
"minimist": "^1.2.5"
|
|
724
|
+
}
|
|
725
|
+
}
|
|
726
|
+
}
|
|
727
|
+
},
|
|
728
|
+
"@jimp/custom": {
|
|
729
|
+
"version": "0.16.1",
|
|
730
|
+
"resolved": "https://registry.npmjs.org/@jimp/custom/-/custom-0.16.1.tgz",
|
|
731
|
+
"integrity": "sha512-DNUAHNSiUI/j9hmbatD6WN/EBIyeq4AO0frl5ETtt51VN1SvE4t4v83ZA/V6ikxEf3hxLju4tQ5Pc3zmZkN/3A==",
|
|
732
|
+
"requires": {
|
|
733
|
+
"@babel/runtime": "^7.7.2",
|
|
734
|
+
"@jimp/core": "^0.16.1"
|
|
735
|
+
}
|
|
736
|
+
},
|
|
737
|
+
"@jimp/gif": {
|
|
738
|
+
"version": "0.16.1",
|
|
739
|
+
"resolved": "https://registry.npmjs.org/@jimp/gif/-/gif-0.16.1.tgz",
|
|
740
|
+
"integrity": "sha512-r/1+GzIW1D5zrP4tNrfW+3y4vqD935WBXSc8X/wm23QTY9aJO9Lw6PEdzpYCEY+SOklIFKaJYUAq/Nvgm/9ryw==",
|
|
741
|
+
"requires": {
|
|
742
|
+
"@babel/runtime": "^7.7.2",
|
|
743
|
+
"@jimp/utils": "^0.16.1",
|
|
744
|
+
"gifwrap": "^0.9.2",
|
|
745
|
+
"omggif": "^1.0.9"
|
|
746
|
+
}
|
|
747
|
+
},
|
|
748
|
+
"@jimp/jpeg": {
|
|
749
|
+
"version": "0.16.1",
|
|
750
|
+
"resolved": "https://registry.npmjs.org/@jimp/jpeg/-/jpeg-0.16.1.tgz",
|
|
751
|
+
"integrity": "sha512-8352zrdlCCLFdZ/J+JjBslDvml+fS3Z8gttdml0We759PnnZGqrnPRhkOEOJbNUlE+dD4ckLeIe6NPxlS/7U+w==",
|
|
752
|
+
"requires": {
|
|
753
|
+
"@babel/runtime": "^7.7.2",
|
|
754
|
+
"@jimp/utils": "^0.16.1",
|
|
755
|
+
"jpeg-js": "0.4.2"
|
|
756
|
+
}
|
|
757
|
+
},
|
|
758
|
+
"@jimp/plugin-blit": {
|
|
759
|
+
"version": "0.16.1",
|
|
760
|
+
"resolved": "https://registry.npmjs.org/@jimp/plugin-blit/-/plugin-blit-0.16.1.tgz",
|
|
761
|
+
"integrity": "sha512-fKFNARm32RoLSokJ8WZXHHH2CGzz6ire2n1Jh6u+XQLhk9TweT1DcLHIXwQMh8oR12KgjbgsMGvrMVlVknmOAg==",
|
|
762
|
+
"requires": {
|
|
763
|
+
"@babel/runtime": "^7.7.2",
|
|
764
|
+
"@jimp/utils": "^0.16.1"
|
|
765
|
+
}
|
|
766
|
+
},
|
|
767
|
+
"@jimp/plugin-blur": {
|
|
768
|
+
"version": "0.16.1",
|
|
769
|
+
"resolved": "https://registry.npmjs.org/@jimp/plugin-blur/-/plugin-blur-0.16.1.tgz",
|
|
770
|
+
"integrity": "sha512-1WhuLGGj9MypFKRcPvmW45ht7nXkOKu+lg3n2VBzIB7r4kKNVchuI59bXaCYQumOLEqVK7JdB4glaDAbCQCLyw==",
|
|
771
|
+
"requires": {
|
|
772
|
+
"@babel/runtime": "^7.7.2",
|
|
773
|
+
"@jimp/utils": "^0.16.1"
|
|
774
|
+
}
|
|
775
|
+
},
|
|
776
|
+
"@jimp/plugin-circle": {
|
|
777
|
+
"version": "0.16.1",
|
|
778
|
+
"resolved": "https://registry.npmjs.org/@jimp/plugin-circle/-/plugin-circle-0.16.1.tgz",
|
|
779
|
+
"integrity": "sha512-JK7yi1CIU7/XL8hdahjcbGA3V7c+F+Iw+mhMQhLEi7Q0tCnZ69YJBTamMiNg3fWPVfMuvWJJKOBRVpwNTuaZRg==",
|
|
780
|
+
"requires": {
|
|
781
|
+
"@babel/runtime": "^7.7.2",
|
|
782
|
+
"@jimp/utils": "^0.16.1"
|
|
783
|
+
}
|
|
784
|
+
},
|
|
785
|
+
"@jimp/plugin-color": {
|
|
786
|
+
"version": "0.16.1",
|
|
787
|
+
"resolved": "https://registry.npmjs.org/@jimp/plugin-color/-/plugin-color-0.16.1.tgz",
|
|
788
|
+
"integrity": "sha512-9yQttBAO5SEFj7S6nJK54f+1BnuBG4c28q+iyzm1JjtnehjqMg6Ljw4gCSDCvoCQ3jBSYHN66pmwTV74SU1B7A==",
|
|
789
|
+
"requires": {
|
|
790
|
+
"@babel/runtime": "^7.7.2",
|
|
791
|
+
"@jimp/utils": "^0.16.1",
|
|
792
|
+
"tinycolor2": "^1.4.1"
|
|
793
|
+
}
|
|
794
|
+
},
|
|
795
|
+
"@jimp/plugin-contain": {
|
|
796
|
+
"version": "0.16.1",
|
|
797
|
+
"resolved": "https://registry.npmjs.org/@jimp/plugin-contain/-/plugin-contain-0.16.1.tgz",
|
|
798
|
+
"integrity": "sha512-44F3dUIjBDHN+Ym/vEfg+jtjMjAqd2uw9nssN67/n4FdpuZUVs7E7wadKY1RRNuJO+WgcD5aDQcsvurXMETQTg==",
|
|
799
|
+
"requires": {
|
|
800
|
+
"@babel/runtime": "^7.7.2",
|
|
801
|
+
"@jimp/utils": "^0.16.1"
|
|
802
|
+
}
|
|
803
|
+
},
|
|
804
|
+
"@jimp/plugin-cover": {
|
|
805
|
+
"version": "0.16.1",
|
|
806
|
+
"resolved": "https://registry.npmjs.org/@jimp/plugin-cover/-/plugin-cover-0.16.1.tgz",
|
|
807
|
+
"integrity": "sha512-YztWCIldBAVo0zxcQXR+a/uk3/TtYnpKU2CanOPJ7baIuDlWPsG+YE4xTsswZZc12H9Kl7CiziEbDtvF9kwA/Q==",
|
|
808
|
+
"requires": {
|
|
809
|
+
"@babel/runtime": "^7.7.2",
|
|
810
|
+
"@jimp/utils": "^0.16.1"
|
|
811
|
+
}
|
|
812
|
+
},
|
|
813
|
+
"@jimp/plugin-crop": {
|
|
814
|
+
"version": "0.16.1",
|
|
815
|
+
"resolved": "https://registry.npmjs.org/@jimp/plugin-crop/-/plugin-crop-0.16.1.tgz",
|
|
816
|
+
"integrity": "sha512-UQdva9oQzCVadkyo3T5Tv2CUZbf0klm2cD4cWMlASuTOYgaGaFHhT9st+kmfvXjKL8q3STkBu/zUPV6PbuV3ew==",
|
|
817
|
+
"requires": {
|
|
818
|
+
"@babel/runtime": "^7.7.2",
|
|
819
|
+
"@jimp/utils": "^0.16.1"
|
|
820
|
+
}
|
|
821
|
+
},
|
|
822
|
+
"@jimp/plugin-displace": {
|
|
823
|
+
"version": "0.16.1",
|
|
824
|
+
"resolved": "https://registry.npmjs.org/@jimp/plugin-displace/-/plugin-displace-0.16.1.tgz",
|
|
825
|
+
"integrity": "sha512-iVAWuz2+G6Heu8gVZksUz+4hQYpR4R0R/RtBzpWEl8ItBe7O6QjORAkhxzg+WdYLL2A/Yd4ekTpvK0/qW8hTVw==",
|
|
826
|
+
"requires": {
|
|
827
|
+
"@babel/runtime": "^7.7.2",
|
|
828
|
+
"@jimp/utils": "^0.16.1"
|
|
829
|
+
}
|
|
830
|
+
},
|
|
831
|
+
"@jimp/plugin-dither": {
|
|
832
|
+
"version": "0.16.1",
|
|
833
|
+
"resolved": "https://registry.npmjs.org/@jimp/plugin-dither/-/plugin-dither-0.16.1.tgz",
|
|
834
|
+
"integrity": "sha512-tADKVd+HDC9EhJRUDwMvzBXPz4GLoU6s5P7xkVq46tskExYSptgj5713J5Thj3NMgH9Rsqu22jNg1H/7tr3V9Q==",
|
|
835
|
+
"requires": {
|
|
836
|
+
"@babel/runtime": "^7.7.2",
|
|
837
|
+
"@jimp/utils": "^0.16.1"
|
|
838
|
+
}
|
|
839
|
+
},
|
|
840
|
+
"@jimp/plugin-fisheye": {
|
|
841
|
+
"version": "0.16.1",
|
|
842
|
+
"resolved": "https://registry.npmjs.org/@jimp/plugin-fisheye/-/plugin-fisheye-0.16.1.tgz",
|
|
843
|
+
"integrity": "sha512-BWHnc5hVobviTyIRHhIy9VxI1ACf4CeSuCfURB6JZm87YuyvgQh5aX5UDKtOz/3haMHXBLP61ZBxlNpMD8CG4A==",
|
|
844
|
+
"requires": {
|
|
845
|
+
"@babel/runtime": "^7.7.2",
|
|
846
|
+
"@jimp/utils": "^0.16.1"
|
|
847
|
+
}
|
|
848
|
+
},
|
|
849
|
+
"@jimp/plugin-flip": {
|
|
850
|
+
"version": "0.16.1",
|
|
851
|
+
"resolved": "https://registry.npmjs.org/@jimp/plugin-flip/-/plugin-flip-0.16.1.tgz",
|
|
852
|
+
"integrity": "sha512-KdxTf0zErfZ8DyHkImDTnQBuHby+a5YFdoKI/G3GpBl3qxLBvC+PWkS2F/iN3H7wszP7/TKxTEvWL927pypT0w==",
|
|
853
|
+
"requires": {
|
|
854
|
+
"@babel/runtime": "^7.7.2",
|
|
855
|
+
"@jimp/utils": "^0.16.1"
|
|
856
|
+
}
|
|
857
|
+
},
|
|
858
|
+
"@jimp/plugin-gaussian": {
|
|
859
|
+
"version": "0.16.1",
|
|
860
|
+
"resolved": "https://registry.npmjs.org/@jimp/plugin-gaussian/-/plugin-gaussian-0.16.1.tgz",
|
|
861
|
+
"integrity": "sha512-u9n4wjskh3N1mSqketbL6tVcLU2S5TEaFPR40K6TDv4phPLZALi1Of7reUmYpVm8mBDHt1I6kGhuCJiWvzfGyg==",
|
|
862
|
+
"requires": {
|
|
863
|
+
"@babel/runtime": "^7.7.2",
|
|
864
|
+
"@jimp/utils": "^0.16.1"
|
|
865
|
+
}
|
|
866
|
+
},
|
|
867
|
+
"@jimp/plugin-invert": {
|
|
868
|
+
"version": "0.16.1",
|
|
869
|
+
"resolved": "https://registry.npmjs.org/@jimp/plugin-invert/-/plugin-invert-0.16.1.tgz",
|
|
870
|
+
"integrity": "sha512-2DKuyVXANH8WDpW9NG+PYFbehzJfweZszFYyxcaewaPLN0GxvxVLOGOPP1NuUTcHkOdMFbE0nHDuB7f+sYF/2w==",
|
|
871
|
+
"requires": {
|
|
872
|
+
"@babel/runtime": "^7.7.2",
|
|
873
|
+
"@jimp/utils": "^0.16.1"
|
|
874
|
+
}
|
|
875
|
+
},
|
|
876
|
+
"@jimp/plugin-mask": {
|
|
877
|
+
"version": "0.16.1",
|
|
878
|
+
"resolved": "https://registry.npmjs.org/@jimp/plugin-mask/-/plugin-mask-0.16.1.tgz",
|
|
879
|
+
"integrity": "sha512-snfiqHlVuj4bSFS0v96vo2PpqCDMe4JB+O++sMo5jF5mvGcGL6AIeLo8cYqPNpdO6BZpBJ8MY5El0Veckhr39Q==",
|
|
880
|
+
"requires": {
|
|
881
|
+
"@babel/runtime": "^7.7.2",
|
|
882
|
+
"@jimp/utils": "^0.16.1"
|
|
883
|
+
}
|
|
884
|
+
},
|
|
885
|
+
"@jimp/plugin-normalize": {
|
|
886
|
+
"version": "0.16.1",
|
|
887
|
+
"resolved": "https://registry.npmjs.org/@jimp/plugin-normalize/-/plugin-normalize-0.16.1.tgz",
|
|
888
|
+
"integrity": "sha512-dOQfIOvGLKDKXPU8xXWzaUeB0nvkosHw6Xg1WhS1Z5Q0PazByhaxOQkSKgUryNN/H+X7UdbDvlyh/yHf3ITRaw==",
|
|
889
|
+
"requires": {
|
|
890
|
+
"@babel/runtime": "^7.7.2",
|
|
891
|
+
"@jimp/utils": "^0.16.1"
|
|
892
|
+
}
|
|
893
|
+
},
|
|
894
|
+
"@jimp/plugin-print": {
|
|
895
|
+
"version": "0.16.1",
|
|
896
|
+
"resolved": "https://registry.npmjs.org/@jimp/plugin-print/-/plugin-print-0.16.1.tgz",
|
|
897
|
+
"integrity": "sha512-ceWgYN40jbN4cWRxixym+csyVymvrryuKBQ+zoIvN5iE6OyS+2d7Mn4zlNgumSczb9GGyZZESIgVcBDA1ezq0Q==",
|
|
898
|
+
"requires": {
|
|
899
|
+
"@babel/runtime": "^7.7.2",
|
|
900
|
+
"@jimp/utils": "^0.16.1",
|
|
901
|
+
"load-bmfont": "^1.4.0"
|
|
902
|
+
}
|
|
903
|
+
},
|
|
904
|
+
"@jimp/plugin-resize": {
|
|
905
|
+
"version": "0.16.1",
|
|
906
|
+
"resolved": "https://registry.npmjs.org/@jimp/plugin-resize/-/plugin-resize-0.16.1.tgz",
|
|
907
|
+
"integrity": "sha512-u4JBLdRI7dargC04p2Ha24kofQBk3vhaf0q8FwSYgnCRwxfvh2RxvhJZk9H7Q91JZp6wgjz/SjvEAYjGCEgAwQ==",
|
|
908
|
+
"requires": {
|
|
909
|
+
"@babel/runtime": "^7.7.2",
|
|
910
|
+
"@jimp/utils": "^0.16.1"
|
|
911
|
+
}
|
|
912
|
+
},
|
|
913
|
+
"@jimp/plugin-rotate": {
|
|
914
|
+
"version": "0.16.1",
|
|
915
|
+
"resolved": "https://registry.npmjs.org/@jimp/plugin-rotate/-/plugin-rotate-0.16.1.tgz",
|
|
916
|
+
"integrity": "sha512-ZUU415gDQ0VjYutmVgAYYxC9Og9ixu2jAGMCU54mSMfuIlmohYfwARQmI7h4QB84M76c9hVLdONWjuo+rip/zg==",
|
|
917
|
+
"requires": {
|
|
918
|
+
"@babel/runtime": "^7.7.2",
|
|
919
|
+
"@jimp/utils": "^0.16.1"
|
|
920
|
+
}
|
|
921
|
+
},
|
|
922
|
+
"@jimp/plugin-scale": {
|
|
923
|
+
"version": "0.16.1",
|
|
924
|
+
"resolved": "https://registry.npmjs.org/@jimp/plugin-scale/-/plugin-scale-0.16.1.tgz",
|
|
925
|
+
"integrity": "sha512-jM2QlgThIDIc4rcyughD5O7sOYezxdafg/2Xtd1csfK3z6fba3asxDwthqPZAgitrLgiKBDp6XfzC07Y/CefUw==",
|
|
926
|
+
"requires": {
|
|
927
|
+
"@babel/runtime": "^7.7.2",
|
|
928
|
+
"@jimp/utils": "^0.16.1"
|
|
929
|
+
}
|
|
930
|
+
},
|
|
931
|
+
"@jimp/plugin-shadow": {
|
|
932
|
+
"version": "0.16.1",
|
|
933
|
+
"resolved": "https://registry.npmjs.org/@jimp/plugin-shadow/-/plugin-shadow-0.16.1.tgz",
|
|
934
|
+
"integrity": "sha512-MeD2Is17oKzXLnsphAa1sDstTu6nxscugxAEk3ji0GV1FohCvpHBcec0nAq6/czg4WzqfDts+fcPfC79qWmqrA==",
|
|
935
|
+
"requires": {
|
|
936
|
+
"@babel/runtime": "^7.7.2",
|
|
937
|
+
"@jimp/utils": "^0.16.1"
|
|
938
|
+
}
|
|
939
|
+
},
|
|
940
|
+
"@jimp/plugin-threshold": {
|
|
941
|
+
"version": "0.16.1",
|
|
942
|
+
"resolved": "https://registry.npmjs.org/@jimp/plugin-threshold/-/plugin-threshold-0.16.1.tgz",
|
|
943
|
+
"integrity": "sha512-iGW8U/wiCSR0+6syrPioVGoSzQFt4Z91SsCRbgNKTAk7D+XQv6OI78jvvYg4o0c2FOlwGhqz147HZV5utoSLxA==",
|
|
944
|
+
"requires": {
|
|
945
|
+
"@babel/runtime": "^7.7.2",
|
|
946
|
+
"@jimp/utils": "^0.16.1"
|
|
947
|
+
}
|
|
948
|
+
},
|
|
949
|
+
"@jimp/plugins": {
|
|
950
|
+
"version": "0.16.1",
|
|
951
|
+
"resolved": "https://registry.npmjs.org/@jimp/plugins/-/plugins-0.16.1.tgz",
|
|
952
|
+
"integrity": "sha512-c+lCqa25b+4q6mJZSetlxhMoYuiltyS+ValLzdwK/47+aYsq+kcJNl+TuxIEKf59yr9+5rkbpsPkZHLF/V7FFA==",
|
|
953
|
+
"requires": {
|
|
954
|
+
"@babel/runtime": "^7.7.2",
|
|
955
|
+
"@jimp/plugin-blit": "^0.16.1",
|
|
956
|
+
"@jimp/plugin-blur": "^0.16.1",
|
|
957
|
+
"@jimp/plugin-circle": "^0.16.1",
|
|
958
|
+
"@jimp/plugin-color": "^0.16.1",
|
|
959
|
+
"@jimp/plugin-contain": "^0.16.1",
|
|
960
|
+
"@jimp/plugin-cover": "^0.16.1",
|
|
961
|
+
"@jimp/plugin-crop": "^0.16.1",
|
|
962
|
+
"@jimp/plugin-displace": "^0.16.1",
|
|
963
|
+
"@jimp/plugin-dither": "^0.16.1",
|
|
964
|
+
"@jimp/plugin-fisheye": "^0.16.1",
|
|
965
|
+
"@jimp/plugin-flip": "^0.16.1",
|
|
966
|
+
"@jimp/plugin-gaussian": "^0.16.1",
|
|
967
|
+
"@jimp/plugin-invert": "^0.16.1",
|
|
968
|
+
"@jimp/plugin-mask": "^0.16.1",
|
|
969
|
+
"@jimp/plugin-normalize": "^0.16.1",
|
|
970
|
+
"@jimp/plugin-print": "^0.16.1",
|
|
971
|
+
"@jimp/plugin-resize": "^0.16.1",
|
|
972
|
+
"@jimp/plugin-rotate": "^0.16.1",
|
|
973
|
+
"@jimp/plugin-scale": "^0.16.1",
|
|
974
|
+
"@jimp/plugin-shadow": "^0.16.1",
|
|
975
|
+
"@jimp/plugin-threshold": "^0.16.1",
|
|
976
|
+
"timm": "^1.6.1"
|
|
977
|
+
}
|
|
978
|
+
},
|
|
979
|
+
"@jimp/png": {
|
|
980
|
+
"version": "0.16.1",
|
|
981
|
+
"resolved": "https://registry.npmjs.org/@jimp/png/-/png-0.16.1.tgz",
|
|
982
|
+
"integrity": "sha512-iyWoCxEBTW0OUWWn6SveD4LePW89kO7ZOy5sCfYeDM/oTPLpR8iMIGvZpZUz1b8kvzFr27vPst4E5rJhGjwsdw==",
|
|
983
|
+
"requires": {
|
|
984
|
+
"@babel/runtime": "^7.7.2",
|
|
985
|
+
"@jimp/utils": "^0.16.1",
|
|
986
|
+
"pngjs": "^3.3.3"
|
|
987
|
+
}
|
|
988
|
+
},
|
|
989
|
+
"@jimp/tiff": {
|
|
990
|
+
"version": "0.16.1",
|
|
991
|
+
"resolved": "https://registry.npmjs.org/@jimp/tiff/-/tiff-0.16.1.tgz",
|
|
992
|
+
"integrity": "sha512-3K3+xpJS79RmSkAvFMgqY5dhSB+/sxhwTFA9f4AVHUK0oKW+u6r52Z1L0tMXHnpbAdR9EJ+xaAl2D4x19XShkQ==",
|
|
993
|
+
"requires": {
|
|
994
|
+
"@babel/runtime": "^7.7.2",
|
|
995
|
+
"utif": "^2.0.1"
|
|
996
|
+
}
|
|
997
|
+
},
|
|
998
|
+
"@jimp/types": {
|
|
999
|
+
"version": "0.16.1",
|
|
1000
|
+
"resolved": "https://registry.npmjs.org/@jimp/types/-/types-0.16.1.tgz",
|
|
1001
|
+
"integrity": "sha512-g1w/+NfWqiVW4CaXSJyD28JQqZtm2eyKMWPhBBDCJN9nLCN12/Az0WFF3JUAktzdsEC2KRN2AqB1a2oMZBNgSQ==",
|
|
1002
|
+
"requires": {
|
|
1003
|
+
"@babel/runtime": "^7.7.2",
|
|
1004
|
+
"@jimp/bmp": "^0.16.1",
|
|
1005
|
+
"@jimp/gif": "^0.16.1",
|
|
1006
|
+
"@jimp/jpeg": "^0.16.1",
|
|
1007
|
+
"@jimp/png": "^0.16.1",
|
|
1008
|
+
"@jimp/tiff": "^0.16.1",
|
|
1009
|
+
"timm": "^1.6.1"
|
|
1010
|
+
}
|
|
1011
|
+
},
|
|
1012
|
+
"@jimp/utils": {
|
|
1013
|
+
"version": "0.16.1",
|
|
1014
|
+
"resolved": "https://registry.npmjs.org/@jimp/utils/-/utils-0.16.1.tgz",
|
|
1015
|
+
"integrity": "sha512-8fULQjB0x4LzUSiSYG6ZtQl355sZjxbv8r9PPAuYHzS9sGiSHJQavNqK/nKnpDsVkU88/vRGcE7t3nMU0dEnVw==",
|
|
1016
|
+
"requires": {
|
|
1017
|
+
"@babel/runtime": "^7.7.2",
|
|
1018
|
+
"regenerator-runtime": "^0.13.3"
|
|
1019
|
+
},
|
|
1020
|
+
"dependencies": {
|
|
1021
|
+
"regenerator-runtime": {
|
|
1022
|
+
"version": "0.13.9",
|
|
1023
|
+
"resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.9.tgz",
|
|
1024
|
+
"integrity": "sha512-p3VT+cOEgxFsRRA9X4lkI1E+k2/CtnKtU4gcxyaCUreilL/vqI6CdZ3wxVUx3UOUg+gnUOQQcRI7BmSI656MYA=="
|
|
1025
|
+
}
|
|
1026
|
+
}
|
|
1027
|
+
},
|
|
680
1028
|
"@segment/loosely-validate-event": {
|
|
681
1029
|
"version": "2.0.0",
|
|
682
1030
|
"resolved": "https://registry.npmjs.org/@segment/loosely-validate-event/-/loosely-validate-event-2.0.0.tgz",
|
|
@@ -1095,6 +1443,11 @@
|
|
|
1095
1443
|
"integrity": "sha1-qCJQ3bABXponyoLoLqYDu/pF768=",
|
|
1096
1444
|
"dev": true
|
|
1097
1445
|
},
|
|
1446
|
+
"any-base": {
|
|
1447
|
+
"version": "1.1.0",
|
|
1448
|
+
"resolved": "https://registry.npmjs.org/any-base/-/any-base-1.1.0.tgz",
|
|
1449
|
+
"integrity": "sha512-uMgjozySS8adZZYePpaWs8cxB9/kdzmpX6SgJZ+wbz1K5eYk5QMYDVJaZKhxyIHUdnnJkfR7SVgStgH7LkGUyg=="
|
|
1450
|
+
},
|
|
1098
1451
|
"anymatch": {
|
|
1099
1452
|
"version": "2.0.0",
|
|
1100
1453
|
"resolved": "https://registry.npmjs.org/anymatch/-/anymatch-2.0.0.tgz",
|
|
@@ -1195,6 +1548,11 @@
|
|
|
1195
1548
|
"tr46": "^1.0.1",
|
|
1196
1549
|
"webidl-conversions": "^4.0.2"
|
|
1197
1550
|
}
|
|
1551
|
+
},
|
|
1552
|
+
"ws": {
|
|
1553
|
+
"version": "7.5.5",
|
|
1554
|
+
"resolved": "https://registry.npmjs.org/ws/-/ws-7.5.5.tgz",
|
|
1555
|
+
"integrity": "sha512-BAkMFcAzl8as1G/hArkxOxq3G7pjUqQ3gzYbLL0/5zNkph70e+lCoxBGnm6AW1+/aiNeV4fnKqZ8m4GZewmH2w=="
|
|
1198
1556
|
}
|
|
1199
1557
|
}
|
|
1200
1558
|
},
|
|
@@ -1727,11 +2085,6 @@
|
|
|
1727
2085
|
"tweetnacl": "^0.14.3"
|
|
1728
2086
|
}
|
|
1729
2087
|
},
|
|
1730
|
-
"bignumber.js": {
|
|
1731
|
-
"version": "2.4.0",
|
|
1732
|
-
"resolved": "https://registry.npmjs.org/bignumber.js/-/bignumber.js-2.4.0.tgz",
|
|
1733
|
-
"integrity": "sha1-g4qZLan51zfg9LLbC+YrsJ3Qxeg="
|
|
1734
|
-
},
|
|
1735
2088
|
"binary-extensions": {
|
|
1736
2089
|
"version": "1.13.1",
|
|
1737
2090
|
"resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-1.13.1.tgz",
|
|
@@ -1782,9 +2135,9 @@
|
|
|
1782
2135
|
"integrity": "sha1-EomrIsu8OgJYe6rTVZU1HdDBwEc="
|
|
1783
2136
|
},
|
|
1784
2137
|
"bmp-js": {
|
|
1785
|
-
"version": "0.0
|
|
1786
|
-
"resolved": "https://registry.npmjs.org/bmp-js/-/bmp-js-0.0.
|
|
1787
|
-
"integrity": "sha1-
|
|
2138
|
+
"version": "0.1.0",
|
|
2139
|
+
"resolved": "https://registry.npmjs.org/bmp-js/-/bmp-js-0.1.0.tgz",
|
|
2140
|
+
"integrity": "sha1-4Fpj95amwf8l9Hcex62twUjAcjM="
|
|
1788
2141
|
},
|
|
1789
2142
|
"body-parser": {
|
|
1790
2143
|
"version": "1.19.0",
|
|
@@ -1873,13 +2226,13 @@
|
|
|
1873
2226
|
"dev": true
|
|
1874
2227
|
},
|
|
1875
2228
|
"browserslist": {
|
|
1876
|
-
"version": "4.
|
|
1877
|
-
"resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.
|
|
1878
|
-
"integrity": "sha512-
|
|
2229
|
+
"version": "4.18.1",
|
|
2230
|
+
"resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.18.1.tgz",
|
|
2231
|
+
"integrity": "sha512-8ScCzdpPwR2wQh8IT82CA2VgDwjHyqMovPBZSNH54+tm4Jk2pCuv90gmAdH6J84OCRWi0b4gMe6O6XPXuJnjgQ==",
|
|
1879
2232
|
"dev": true,
|
|
1880
2233
|
"requires": {
|
|
1881
|
-
"caniuse-lite": "^1.0.
|
|
1882
|
-
"electron-to-chromium": "^1.3.
|
|
2234
|
+
"caniuse-lite": "^1.0.30001280",
|
|
2235
|
+
"electron-to-chromium": "^1.3.896",
|
|
1883
2236
|
"escalade": "^3.1.1",
|
|
1884
2237
|
"node-releases": "^2.0.1",
|
|
1885
2238
|
"picocolors": "^1.0.0"
|
|
@@ -2033,9 +2386,9 @@
|
|
|
2033
2386
|
"dev": true
|
|
2034
2387
|
},
|
|
2035
2388
|
"caniuse-lite": {
|
|
2036
|
-
"version": "1.0.
|
|
2037
|
-
"resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.
|
|
2038
|
-
"integrity": "sha512-
|
|
2389
|
+
"version": "1.0.30001282",
|
|
2390
|
+
"resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001282.tgz",
|
|
2391
|
+
"integrity": "sha512-YhF/hG6nqBEllymSIjLtR2iWDDnChvhnVJqp+vloyt2tEHFG1yBR+ac2B/rOw0qOK0m0lEXU2dv4E/sMk5P9Kg==",
|
|
2039
2392
|
"dev": true
|
|
2040
2393
|
},
|
|
2041
2394
|
"caseless": {
|
|
@@ -2183,6 +2536,11 @@
|
|
|
2183
2536
|
"tr46": "^1.0.1",
|
|
2184
2537
|
"webidl-conversions": "^4.0.2"
|
|
2185
2538
|
}
|
|
2539
|
+
},
|
|
2540
|
+
"ws": {
|
|
2541
|
+
"version": "7.5.5",
|
|
2542
|
+
"resolved": "https://registry.npmjs.org/ws/-/ws-7.5.5.tgz",
|
|
2543
|
+
"integrity": "sha512-BAkMFcAzl8as1G/hArkxOxq3G7pjUqQ3gzYbLL0/5zNkph70e+lCoxBGnm6AW1+/aiNeV4fnKqZ8m4GZewmH2w=="
|
|
2186
2544
|
}
|
|
2187
2545
|
}
|
|
2188
2546
|
},
|
|
@@ -2200,9 +2558,9 @@
|
|
|
2200
2558
|
},
|
|
2201
2559
|
"dependencies": {
|
|
2202
2560
|
"@types/node": {
|
|
2203
|
-
"version": "16.11.
|
|
2204
|
-
"resolved": "https://registry.npmjs.org/@types/node/-/node-16.11.
|
|
2205
|
-
"integrity": "sha512-
|
|
2561
|
+
"version": "16.11.9",
|
|
2562
|
+
"resolved": "https://registry.npmjs.org/@types/node/-/node-16.11.9.tgz",
|
|
2563
|
+
"integrity": "sha512-MKmdASMf3LtPzwLyRrFjtFFZ48cMf8jmX5VRYrDQiJa8Ybu5VAmkqBWqKU8fdCwD8ysw4mQ9nrEHvzg6gunR7A=="
|
|
2206
2564
|
},
|
|
2207
2565
|
"mkdirp": {
|
|
2208
2566
|
"version": "0.5.5",
|
|
@@ -3172,9 +3530,9 @@
|
|
|
3172
3530
|
"integrity": "sha512-GJCAeDBKfREgkBtgrYSf9hQy9kTb3helv0zGdzqhM7iAkW8FA/ZF97VQDbwFiwIT8MQLLOe5VlPZOEvZAqtUAQ=="
|
|
3173
3531
|
},
|
|
3174
3532
|
"electron-to-chromium": {
|
|
3175
|
-
"version": "1.3.
|
|
3176
|
-
"resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.
|
|
3177
|
-
"integrity": "sha512-
|
|
3533
|
+
"version": "1.3.904",
|
|
3534
|
+
"resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.904.tgz",
|
|
3535
|
+
"integrity": "sha512-x5uZWXcVNYkTh4JubD7KSC1VMKz0vZwJUqVwY3ihsW0bst1BXDe494Uqbg3Y0fDGVjJqA8vEeGuvO5foyH2+qw==",
|
|
3178
3536
|
"dev": true
|
|
3179
3537
|
},
|
|
3180
3538
|
"emoji-regex": {
|
|
@@ -3329,11 +3687,6 @@
|
|
|
3329
3687
|
"es6-symbol": "^3.1.1"
|
|
3330
3688
|
}
|
|
3331
3689
|
},
|
|
3332
|
-
"es6-promise": {
|
|
3333
|
-
"version": "3.3.1",
|
|
3334
|
-
"resolved": "https://registry.npmjs.org/es6-promise/-/es6-promise-3.3.1.tgz",
|
|
3335
|
-
"integrity": "sha1-oIzd6EzNvzTQJ6FFG8kdS80ophM="
|
|
3336
|
-
},
|
|
3337
3690
|
"es6-symbol": {
|
|
3338
3691
|
"version": "3.1.3",
|
|
3339
3692
|
"resolved": "https://registry.npmjs.org/es6-symbol/-/es6-symbol-3.1.3.tgz",
|
|
@@ -4300,6 +4653,15 @@
|
|
|
4300
4653
|
"assert-plus": "^1.0.0"
|
|
4301
4654
|
}
|
|
4302
4655
|
},
|
|
4656
|
+
"gifwrap": {
|
|
4657
|
+
"version": "0.9.2",
|
|
4658
|
+
"resolved": "https://registry.npmjs.org/gifwrap/-/gifwrap-0.9.2.tgz",
|
|
4659
|
+
"integrity": "sha512-fcIswrPaiCDAyO8xnWvHSZdWChjKXUanKKpAiWWJ/UTkEi/aYKn5+90e7DE820zbEaVR9CE2y4z9bzhQijZ0BA==",
|
|
4660
|
+
"requires": {
|
|
4661
|
+
"image-q": "^1.1.1",
|
|
4662
|
+
"omggif": "^1.0.10"
|
|
4663
|
+
}
|
|
4664
|
+
},
|
|
4303
4665
|
"glob": {
|
|
4304
4666
|
"version": "7.1.6",
|
|
4305
4667
|
"resolved": "https://registry.npmjs.org/glob/-/glob-7.1.6.tgz",
|
|
@@ -4830,6 +5192,11 @@
|
|
|
4830
5192
|
"resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz",
|
|
4831
5193
|
"integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA=="
|
|
4832
5194
|
},
|
|
5195
|
+
"image-q": {
|
|
5196
|
+
"version": "1.1.1",
|
|
5197
|
+
"resolved": "https://registry.npmjs.org/image-q/-/image-q-1.1.1.tgz",
|
|
5198
|
+
"integrity": "sha1-/IQJlmRGC5DKhi2TALa/u7+/gFY="
|
|
5199
|
+
},
|
|
4833
5200
|
"import-fresh": {
|
|
4834
5201
|
"version": "3.3.0",
|
|
4835
5202
|
"resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.0.tgz",
|
|
@@ -5476,45 +5843,21 @@
|
|
|
5476
5843
|
}
|
|
5477
5844
|
},
|
|
5478
5845
|
"jimp": {
|
|
5479
|
-
"version": "0.
|
|
5480
|
-
"resolved": "https://registry.npmjs.org/jimp/-/jimp-0.
|
|
5481
|
-
"integrity": "
|
|
5482
|
-
"requires": {
|
|
5483
|
-
"
|
|
5484
|
-
"
|
|
5485
|
-
"
|
|
5486
|
-
"
|
|
5487
|
-
"
|
|
5488
|
-
"jpeg-js": "^0.2.0",
|
|
5489
|
-
"load-bmfont": "^1.2.3",
|
|
5490
|
-
"mime": "^1.3.4",
|
|
5491
|
-
"mkdirp": "0.5.1",
|
|
5492
|
-
"pixelmatch": "^4.0.0",
|
|
5493
|
-
"pngjs": "^3.0.0",
|
|
5494
|
-
"read-chunk": "^1.0.1",
|
|
5495
|
-
"request": "^2.65.0",
|
|
5496
|
-
"stream-to-buffer": "^0.1.0",
|
|
5497
|
-
"tinycolor2": "^1.1.2",
|
|
5498
|
-
"url-regex": "^3.0.0"
|
|
5846
|
+
"version": "0.16.1",
|
|
5847
|
+
"resolved": "https://registry.npmjs.org/jimp/-/jimp-0.16.1.tgz",
|
|
5848
|
+
"integrity": "sha512-+EKVxbR36Td7Hfd23wKGIeEyHbxShZDX6L8uJkgVW3ESA9GiTEPK08tG1XI2r/0w5Ch0HyJF5kPqF9K7EmGjaw==",
|
|
5849
|
+
"requires": {
|
|
5850
|
+
"@babel/runtime": "^7.7.2",
|
|
5851
|
+
"@jimp/custom": "^0.16.1",
|
|
5852
|
+
"@jimp/plugins": "^0.16.1",
|
|
5853
|
+
"@jimp/types": "^0.16.1",
|
|
5854
|
+
"regenerator-runtime": "^0.13.3"
|
|
5499
5855
|
},
|
|
5500
5856
|
"dependencies": {
|
|
5501
|
-
"
|
|
5502
|
-
"version": "
|
|
5503
|
-
"resolved": "https://registry.npmjs.org/
|
|
5504
|
-
"integrity": "
|
|
5505
|
-
},
|
|
5506
|
-
"minimist": {
|
|
5507
|
-
"version": "0.0.8",
|
|
5508
|
-
"resolved": "https://registry.npmjs.org/minimist/-/minimist-0.0.8.tgz",
|
|
5509
|
-
"integrity": "sha1-hX/Kv8M5fSYluCKCYuhqp6ARsF0="
|
|
5510
|
-
},
|
|
5511
|
-
"mkdirp": {
|
|
5512
|
-
"version": "0.5.1",
|
|
5513
|
-
"resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.1.tgz",
|
|
5514
|
-
"integrity": "sha1-MAV0OOrGz3+MR2fzhkjWaX11yQM=",
|
|
5515
|
-
"requires": {
|
|
5516
|
-
"minimist": "0.0.8"
|
|
5517
|
-
}
|
|
5857
|
+
"regenerator-runtime": {
|
|
5858
|
+
"version": "0.13.9",
|
|
5859
|
+
"resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.9.tgz",
|
|
5860
|
+
"integrity": "sha512-p3VT+cOEgxFsRRA9X4lkI1E+k2/CtnKtU4gcxyaCUreilL/vqI6CdZ3wxVUx3UOUg+gnUOQQcRI7BmSI656MYA=="
|
|
5518
5861
|
}
|
|
5519
5862
|
}
|
|
5520
5863
|
},
|
|
@@ -5524,9 +5867,9 @@
|
|
|
5524
5867
|
"integrity": "sha1-uEF7dQZho5K+4sJTfGiyqdSXfNU="
|
|
5525
5868
|
},
|
|
5526
5869
|
"jpeg-js": {
|
|
5527
|
-
"version": "0.2
|
|
5528
|
-
"resolved": "https://registry.npmjs.org/jpeg-js/-/jpeg-js-0.2.
|
|
5529
|
-
"integrity": "
|
|
5870
|
+
"version": "0.4.2",
|
|
5871
|
+
"resolved": "https://registry.npmjs.org/jpeg-js/-/jpeg-js-0.4.2.tgz",
|
|
5872
|
+
"integrity": "sha512-+az2gi/hvex7eLTMTlbRLOhH6P6WFdk2ITI8HJsaH2VqYO0I594zXSYEP+tf4FW+8Cy68ScDXoAsQdyQanv3sw=="
|
|
5530
5873
|
},
|
|
5531
5874
|
"js-beautify": {
|
|
5532
5875
|
"version": "1.14.0",
|
|
@@ -5595,9 +5938,9 @@
|
|
|
5595
5938
|
},
|
|
5596
5939
|
"dependencies": {
|
|
5597
5940
|
"acorn": {
|
|
5598
|
-
"version": "8.
|
|
5599
|
-
"resolved": "https://registry.npmjs.org/acorn/-/acorn-8.
|
|
5600
|
-
"integrity": "sha512-
|
|
5941
|
+
"version": "8.6.0",
|
|
5942
|
+
"resolved": "https://registry.npmjs.org/acorn/-/acorn-8.6.0.tgz",
|
|
5943
|
+
"integrity": "sha512-U1riIR+lBSNi3IbxtaHOIKdH8sLFv3NYfNv8sg7ZsNhcfl4HF2++BfqqrNAxoCLQW1iiylOj76ecnaUxz+z9yw=="
|
|
5601
5944
|
},
|
|
5602
5945
|
"acorn-globals": {
|
|
5603
5946
|
"version": "6.0.0",
|
|
@@ -5943,9 +6286,9 @@
|
|
|
5943
6286
|
}
|
|
5944
6287
|
},
|
|
5945
6288
|
"lines-and-columns": {
|
|
5946
|
-
"version": "1.
|
|
5947
|
-
"resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.
|
|
5948
|
-
"integrity": "
|
|
6289
|
+
"version": "1.2.4",
|
|
6290
|
+
"resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.2.4.tgz",
|
|
6291
|
+
"integrity": "sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg=="
|
|
5949
6292
|
},
|
|
5950
6293
|
"load-bmfont": {
|
|
5951
6294
|
"version": "1.4.1",
|
|
@@ -5996,9 +6339,9 @@
|
|
|
5996
6339
|
}
|
|
5997
6340
|
},
|
|
5998
6341
|
"lodash": {
|
|
5999
|
-
"version": "4.17.
|
|
6000
|
-
"resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.
|
|
6001
|
-
"integrity": "sha512-
|
|
6342
|
+
"version": "4.17.21",
|
|
6343
|
+
"resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz",
|
|
6344
|
+
"integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg=="
|
|
6002
6345
|
},
|
|
6003
6346
|
"lodash.defaults": {
|
|
6004
6347
|
"version": "4.2.0",
|
|
@@ -10579,6 +10922,11 @@
|
|
|
10579
10922
|
"make-iterator": "^1.0.0"
|
|
10580
10923
|
}
|
|
10581
10924
|
},
|
|
10925
|
+
"omggif": {
|
|
10926
|
+
"version": "1.0.10",
|
|
10927
|
+
"resolved": "https://registry.npmjs.org/omggif/-/omggif-1.0.10.tgz",
|
|
10928
|
+
"integrity": "sha512-LMJTtvgc/nugXj0Vcrrs68Mn2D1r0zf630VNtqtpI1FEO7e+O9FP4gqs9AcnBaSEeoHIPm28u6qgPR0oyEpGSw=="
|
|
10929
|
+
},
|
|
10582
10930
|
"on-finished": {
|
|
10583
10931
|
"version": "2.3.0",
|
|
10584
10932
|
"resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.3.0.tgz",
|
|
@@ -11441,11 +11789,6 @@
|
|
|
11441
11789
|
"unpipe": "1.0.0"
|
|
11442
11790
|
}
|
|
11443
11791
|
},
|
|
11444
|
-
"read-chunk": {
|
|
11445
|
-
"version": "1.0.1",
|
|
11446
|
-
"resolved": "https://registry.npmjs.org/read-chunk/-/read-chunk-1.0.1.tgz",
|
|
11447
|
-
"integrity": "sha1-X2jKswfmY/GZk1J9m1icrORmEZQ="
|
|
11448
|
-
},
|
|
11449
11792
|
"read-pkg": {
|
|
11450
11793
|
"version": "1.1.0",
|
|
11451
11794
|
"resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-1.1.0.tgz",
|
|
@@ -12009,9 +12352,9 @@
|
|
|
12009
12352
|
"dev": true
|
|
12010
12353
|
},
|
|
12011
12354
|
"signal-exit": {
|
|
12012
|
-
"version": "3.0.
|
|
12013
|
-
"resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.
|
|
12014
|
-
"integrity": "sha512-
|
|
12355
|
+
"version": "3.0.6",
|
|
12356
|
+
"resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.6.tgz",
|
|
12357
|
+
"integrity": "sha512-sDl4qMFpijcGw22U5w63KmD3cZJfBuFlVNbVMKje2keoKML7X2UzWbc4XrmEbDwg0NXJc3yv4/ox7b+JWb57kQ=="
|
|
12015
12358
|
},
|
|
12016
12359
|
"sinon": {
|
|
12017
12360
|
"version": "9.0.2",
|
|
@@ -12291,9 +12634,9 @@
|
|
|
12291
12634
|
}
|
|
12292
12635
|
},
|
|
12293
12636
|
"source-map-support": {
|
|
12294
|
-
"version": "0.5.
|
|
12295
|
-
"resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.
|
|
12296
|
-
"integrity": "sha512-
|
|
12637
|
+
"version": "0.5.21",
|
|
12638
|
+
"resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.21.tgz",
|
|
12639
|
+
"integrity": "sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w==",
|
|
12297
12640
|
"dev": true,
|
|
12298
12641
|
"requires": {
|
|
12299
12642
|
"buffer-from": "^1.0.0",
|
|
@@ -12375,9 +12718,9 @@
|
|
|
12375
12718
|
}
|
|
12376
12719
|
},
|
|
12377
12720
|
"spdx-license-ids": {
|
|
12378
|
-
"version": "3.0.
|
|
12379
|
-
"resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.
|
|
12380
|
-
"integrity": "sha512-
|
|
12721
|
+
"version": "3.0.11",
|
|
12722
|
+
"resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.11.tgz",
|
|
12723
|
+
"integrity": "sha512-Ctl2BrFiM0X3MANYgj3CkygxhRmr9mi6xhejbdO960nF6EDJApTYpn0BQnDKlnNBULKiCN1n3w9EBkHK8ZWg+g=="
|
|
12381
12724
|
},
|
|
12382
12725
|
"split-string": {
|
|
12383
12726
|
"version": "3.1.0",
|
|
@@ -12466,19 +12809,6 @@
|
|
|
12466
12809
|
"integrity": "sha512-AiisoFqQ0vbGcZgQPY1cdP2I76glaVA/RauYR4G4thNFgkTqr90yXTo4LYX60Jl+sIlPNHHdGSwo01AvbKUSVQ==",
|
|
12467
12810
|
"dev": true
|
|
12468
12811
|
},
|
|
12469
|
-
"stream-to": {
|
|
12470
|
-
"version": "0.2.2",
|
|
12471
|
-
"resolved": "https://registry.npmjs.org/stream-to/-/stream-to-0.2.2.tgz",
|
|
12472
|
-
"integrity": "sha1-hDBgmNhf25kLn6MAsbPM9V6O8B0="
|
|
12473
|
-
},
|
|
12474
|
-
"stream-to-buffer": {
|
|
12475
|
-
"version": "0.1.0",
|
|
12476
|
-
"resolved": "https://registry.npmjs.org/stream-to-buffer/-/stream-to-buffer-0.1.0.tgz",
|
|
12477
|
-
"integrity": "sha1-JnmdkDqyAlyb1VCsRxcbAPjdgKk=",
|
|
12478
|
-
"requires": {
|
|
12479
|
-
"stream-to": "~0.2.0"
|
|
12480
|
-
}
|
|
12481
|
-
},
|
|
12482
12812
|
"string-width": {
|
|
12483
12813
|
"version": "2.1.1",
|
|
12484
12814
|
"resolved": "https://registry.npmjs.org/string-width/-/string-width-2.1.1.tgz",
|
|
@@ -12776,6 +13106,11 @@
|
|
|
12776
13106
|
"integrity": "sha1-dkpaEa9QVhkhsTPztE5hhofg9cM=",
|
|
12777
13107
|
"dev": true
|
|
12778
13108
|
},
|
|
13109
|
+
"timm": {
|
|
13110
|
+
"version": "1.7.1",
|
|
13111
|
+
"resolved": "https://registry.npmjs.org/timm/-/timm-1.7.1.tgz",
|
|
13112
|
+
"integrity": "sha512-IjZc9KIotudix8bMaBW6QvMuq64BrJWFs1+4V0lXwWGQZwH+LnX87doAYhem4caOEusRP9/g6jVDQmZ8XOk1nw=="
|
|
13113
|
+
},
|
|
12779
13114
|
"tinycolor2": {
|
|
12780
13115
|
"version": "1.4.2",
|
|
12781
13116
|
"resolved": "https://registry.npmjs.org/tinycolor2/-/tinycolor2-1.4.2.tgz",
|
|
@@ -13014,9 +13349,9 @@
|
|
|
13014
13349
|
"dev": true
|
|
13015
13350
|
},
|
|
13016
13351
|
"ua-parser-js": {
|
|
13017
|
-
"version": "0.7.
|
|
13018
|
-
"resolved": "https://registry.npmjs.org/ua-parser-js/-/ua-parser-js-0.7.
|
|
13019
|
-
"integrity": "sha512-
|
|
13352
|
+
"version": "0.7.28",
|
|
13353
|
+
"resolved": "https://registry.npmjs.org/ua-parser-js/-/ua-parser-js-0.7.28.tgz",
|
|
13354
|
+
"integrity": "sha512-6Gurc1n//gjp9eQNXjD9O3M/sMwVtN5S8Lv9bvOYBfKfDNiIIhqiyi01vMBO45u4zkDE420w/e0se7Vs+sIg+g=="
|
|
13020
13355
|
},
|
|
13021
13356
|
"unbox-primitive": {
|
|
13022
13357
|
"version": "1.0.1",
|
|
@@ -13184,27 +13519,20 @@
|
|
|
13184
13519
|
}
|
|
13185
13520
|
}
|
|
13186
13521
|
},
|
|
13187
|
-
"url-regex": {
|
|
13188
|
-
"version": "3.2.0",
|
|
13189
|
-
"resolved": "https://registry.npmjs.org/url-regex/-/url-regex-3.2.0.tgz",
|
|
13190
|
-
"integrity": "sha1-260eDJ4p4QXdCx8J9oYvf9tIJyQ=",
|
|
13191
|
-
"requires": {
|
|
13192
|
-
"ip-regex": "^1.0.1"
|
|
13193
|
-
},
|
|
13194
|
-
"dependencies": {
|
|
13195
|
-
"ip-regex": {
|
|
13196
|
-
"version": "1.0.3",
|
|
13197
|
-
"resolved": "https://registry.npmjs.org/ip-regex/-/ip-regex-1.0.3.tgz",
|
|
13198
|
-
"integrity": "sha1-3FiQdvZZ9BnCIgOaMzFvHHOH7/0="
|
|
13199
|
-
}
|
|
13200
|
-
}
|
|
13201
|
-
},
|
|
13202
13522
|
"use": {
|
|
13203
13523
|
"version": "3.1.1",
|
|
13204
13524
|
"resolved": "https://registry.npmjs.org/use/-/use-3.1.1.tgz",
|
|
13205
13525
|
"integrity": "sha512-cwESVXlO3url9YWlFW/TA9cshCEhtu7IKJ/p5soJ/gGpj7vbvFrAY/eIioQ6Dw23KjZhYgiIo8HOs1nQ2vr/oQ==",
|
|
13206
13526
|
"dev": true
|
|
13207
13527
|
},
|
|
13528
|
+
"utif": {
|
|
13529
|
+
"version": "2.0.1",
|
|
13530
|
+
"resolved": "https://registry.npmjs.org/utif/-/utif-2.0.1.tgz",
|
|
13531
|
+
"integrity": "sha512-Z/S1fNKCicQTf375lIP9G8Sa1H/phcysstNrrSdZKj1f9g58J4NMgb5IgiEZN9/nLMPDwF0W7hdOe9Qq2IYoLg==",
|
|
13532
|
+
"requires": {
|
|
13533
|
+
"pako": "^1.0.5"
|
|
13534
|
+
}
|
|
13535
|
+
},
|
|
13208
13536
|
"util-deprecate": {
|
|
13209
13537
|
"version": "1.0.2",
|
|
13210
13538
|
"resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz",
|
|
@@ -13543,9 +13871,9 @@
|
|
|
13543
13871
|
}
|
|
13544
13872
|
},
|
|
13545
13873
|
"ws": {
|
|
13546
|
-
"version": "
|
|
13547
|
-
"resolved": "https://registry.npmjs.org/ws/-/ws-
|
|
13548
|
-
"integrity": "sha512-
|
|
13874
|
+
"version": "8.2.3",
|
|
13875
|
+
"resolved": "https://registry.npmjs.org/ws/-/ws-8.2.3.tgz",
|
|
13876
|
+
"integrity": "sha512-wBuoj1BDpC6ZQ1B7DWQBYVLphPWkm8i9Y0/3YdHjHKHiohOJ1ws+3OccDWtH+PoC9DZD5WOTrJvNbWvjS6JWaA=="
|
|
13549
13877
|
},
|
|
13550
13878
|
"xhr": {
|
|
13551
13879
|
"version": "2.6.0",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@testim/testim-cli",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.201.0",
|
|
4
4
|
"description": "Command line interface for running Testing on your CI",
|
|
5
5
|
"author": "Oren Rubin",
|
|
6
6
|
"contributors": [{
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"typescript": "3.9.3"
|
|
37
37
|
},
|
|
38
38
|
"lazyDependencies": {
|
|
39
|
-
"ngrok": "3.
|
|
39
|
+
"ngrok": "3.4.0",
|
|
40
40
|
"webpack": "4.43.0",
|
|
41
41
|
"playwright": "0.12.1",
|
|
42
42
|
"puppeteer": "2.1.1",
|
|
@@ -79,10 +79,10 @@
|
|
|
79
79
|
"glob": "7.1.6",
|
|
80
80
|
"istanbul-lib-report": "3.0.0",
|
|
81
81
|
"istanbul-reports": "3.0.2",
|
|
82
|
-
"jimp": "0.
|
|
82
|
+
"jimp": "0.16.1",
|
|
83
83
|
"jsdom": "16.7.0",
|
|
84
84
|
"jsonwebtoken": "8.5.1",
|
|
85
|
-
"lodash": "4.17.
|
|
85
|
+
"lodash": "4.17.21",
|
|
86
86
|
"memory-fs": "0.5.0",
|
|
87
87
|
"memorystream": "0.3.1",
|
|
88
88
|
"mkdirp": "1.0.4",
|
|
@@ -105,9 +105,9 @@
|
|
|
105
105
|
"superagent-proxy": "3.0.0",
|
|
106
106
|
"test-exclude": "6.0.0",
|
|
107
107
|
"threads": "0.12.0",
|
|
108
|
-
"ua-parser-js": "0.7.
|
|
108
|
+
"ua-parser-js": "0.7.28",
|
|
109
109
|
"validate-npm-package-name": "3.0.0",
|
|
110
|
-
"ws": "
|
|
110
|
+
"ws": "8.2.3",
|
|
111
111
|
"xml2js": "0.4.23",
|
|
112
112
|
"yaml": "1.10.0"
|
|
113
113
|
},
|
|
@@ -7,9 +7,9 @@ const logger = require('../../commons/logger').getLogger('pixel-validation-step-
|
|
|
7
7
|
|
|
8
8
|
class PixelValidationStepAction extends StepAction {
|
|
9
9
|
async performAction() {
|
|
10
|
-
const { shouldUseVisualGrid, applitoolsSdkConfig: config } = this.context;
|
|
10
|
+
const { shouldUseVisualGrid, applitoolsSdkConfig: config, testResultId } = this.context;
|
|
11
11
|
this.runContext = this.context.getRunContext(undefined);
|
|
12
|
-
const eyeManager = await eyeSdkService.getManager(shouldUseVisualGrid, this.context.config.applitoolsConcurrency || 5);
|
|
12
|
+
const eyeManager = await eyeSdkService.getManager(shouldUseVisualGrid, this.context.config.applitoolsConcurrency || 5, testResultId);
|
|
13
13
|
const targetElementData = this.getTarget() || {};
|
|
14
14
|
try {
|
|
15
15
|
const openedEye = await eyeManager.openEyes({ driver: this.driver.client, config });
|
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
// https://github.com/applitools/eyes.sdk.javascript1/blob/master/packages/eyes-webdriverio-4/src/spec-driver.ts
|
|
2
2
|
|
|
3
|
+
/**
|
|
4
|
+
* @type {{ EyeSdkBuilder: typeof import('../../../../clickim/src/background/eyeSdkBuilder').EyeSdkBuilder }}
|
|
5
|
+
*/
|
|
6
|
+
const sessionPlayer = require('../../commons/getSessionPlayerRequire');
|
|
3
7
|
const { makeSDK } = require('@applitools/eyes-sdk-core');
|
|
4
8
|
const { W3C_ELEMENT_ID } = require('../constants');
|
|
5
9
|
const _ = require('lodash');
|
|
@@ -222,8 +226,10 @@ class EyeSdkService {
|
|
|
222
226
|
VisualGridClient: require('@applitools/visual-grid-client'),
|
|
223
227
|
});
|
|
224
228
|
}
|
|
225
|
-
getManager(useVisualGrid, concurrency) {
|
|
226
|
-
|
|
229
|
+
async getManager(useVisualGrid, concurrency, batchId) {
|
|
230
|
+
const manager = await this.sdk.makeManager({ type: useVisualGrid ? 'vg' : 'classic', concurrency });
|
|
231
|
+
sessionPlayer.EyeSdkBuilder.rememberCreatedBatch(batchId);
|
|
232
|
+
return manager;
|
|
227
233
|
}
|
|
228
234
|
}
|
|
229
235
|
|
package/reports/junitReporter.js
CHANGED
|
@@ -50,9 +50,6 @@ class JunitReporter {
|
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
function getPrintName(testResult) {
|
|
53
|
-
if (!featureFlags.flags.testNameTestDataInJunitReport.isEnabled()) {
|
|
54
|
-
return testResult.name;
|
|
55
|
-
}
|
|
56
53
|
const testData = testResult.testData || {};
|
|
57
54
|
const testDataNumber = typeof testData.total === 'number' ? ` - ${testData.index} / ${testData.total} Data set` : '';
|
|
58
55
|
return `${testResult.name}${testDataNumber}`;
|
package/runner.js
CHANGED
|
@@ -286,16 +286,7 @@ async function init(options) {
|
|
|
286
286
|
reporter.setOptions(options, branchToUse);
|
|
287
287
|
}
|
|
288
288
|
|
|
289
|
-
function run(options, customExtensionLocalLocation) {
|
|
290
|
-
perf.log('in runner.js run');
|
|
291
|
-
|
|
292
|
-
if (options.files.length > 0 && !featureFlags.flags.enableTDKRun.isEnabled()) {
|
|
293
|
-
throw new ArgError('run command is not supported, please sign up to the Testim Development Kit beta - https://go.testim.io/testims-new-beta-testim-tdk-testim-development-kit-testautomation');
|
|
294
|
-
}
|
|
295
|
-
return runRunner(options, customExtensionLocalLocation);
|
|
296
|
-
}
|
|
297
|
-
|
|
298
289
|
module.exports = {
|
|
299
|
-
run,
|
|
290
|
+
run: runRunner,
|
|
300
291
|
init: Promise.method(init),
|
|
301
292
|
};
|
|
@@ -46,14 +46,14 @@ class ParallelWorkerManager {
|
|
|
46
46
|
return Array.from(new Array(count), createWorker);
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
async runTests(testList, testStatus, executionId, options, branchToUse, authData, workerCount, stopOnError) {
|
|
49
|
+
async runTests(testList, testStatus, executionId, executionName, options, branchToUse, authData, workerCount, stopOnError) {
|
|
50
50
|
if (testList && testList.length === 0) {
|
|
51
51
|
return undefined;
|
|
52
52
|
}
|
|
53
53
|
|
|
54
54
|
const runAndWaitToComplete = token => new Promise((resolve, reject) => {
|
|
55
55
|
const projectId = options.project;
|
|
56
|
-
const executionQueue = new ExecutionQueue(executionId, testList, options, branchToUse, testStatus);
|
|
56
|
+
const executionQueue = new ExecutionQueue(executionId, executionName, testList, options, branchToUse, testStatus);
|
|
57
57
|
|
|
58
58
|
const combinedTestResults = {};
|
|
59
59
|
const testCount = testList.length;
|
|
@@ -29,30 +29,30 @@ class TestPlanRunner {
|
|
|
29
29
|
this.workerManager = new ParallelWorkerManager(customExtensionLocalLocation);
|
|
30
30
|
this.startTime = Date.now();
|
|
31
31
|
}
|
|
32
|
-
runTestAllPhases(beforeTests, tests, afterTests, branchToUse, tpOptions, executionId, testStatus) {
|
|
32
|
+
runTestAllPhases(beforeTests, tests, afterTests, branchToUse, tpOptions, executionId, executionName, testStatus) {
|
|
33
33
|
const executionResults = {};
|
|
34
34
|
const authData = testimCustomToken.getTokenV3UserData();
|
|
35
35
|
|
|
36
|
-
const runBeforeTests = (beforeTests, testStatus, executionId, tpOptions, branchToUse, authData) => {
|
|
36
|
+
const runBeforeTests = (beforeTests, testStatus, executionId, executionName, tpOptions, branchToUse, authData) => {
|
|
37
37
|
const workerCount = 1;
|
|
38
38
|
const stopOnError = true;
|
|
39
|
-
return this.workerManager.runTests(beforeTests, testStatus, executionId, tpOptions, branchToUse, authData, workerCount, stopOnError)
|
|
39
|
+
return this.workerManager.runTests(beforeTests, testStatus, executionId, executionName, tpOptions, branchToUse, authData, workerCount, stopOnError)
|
|
40
40
|
.then(beforeTestsResults => Object.assign(executionResults, beforeTestsResults));
|
|
41
41
|
};
|
|
42
42
|
|
|
43
|
-
const runTestPlanTests = (tests, testStatus, executionId, tpOptions, branchToUse, authData) => {
|
|
43
|
+
const runTestPlanTests = (tests, testStatus, executionId, executionName, tpOptions, branchToUse, authData) => {
|
|
44
44
|
const workerCount = config.TESTIM_CONCURRENT_WORKER_COUNT || tpOptions.parallel;
|
|
45
45
|
const stopOnError = false;
|
|
46
46
|
perf.log('right before this.workerManager.runTests');
|
|
47
|
-
return this.workerManager.runTests(tests, testStatus, executionId, tpOptions, branchToUse, authData, workerCount, stopOnError)
|
|
47
|
+
return this.workerManager.runTests(tests, testStatus, executionId, executionName, tpOptions, branchToUse, authData, workerCount, stopOnError)
|
|
48
48
|
.log('right after this.workerManager.runTests')
|
|
49
49
|
.then(testsResults => Object.assign(executionResults, testsResults));
|
|
50
50
|
};
|
|
51
51
|
|
|
52
|
-
const runAfterTests = (afterTests, testStatus, executionId, tpOptions, branchToUse, authData) => {
|
|
52
|
+
const runAfterTests = (afterTests, testStatus, executionId, executionName, tpOptions, branchToUse, authData) => {
|
|
53
53
|
const workerCount = 1;
|
|
54
54
|
const stopOnError = false;
|
|
55
|
-
return this.workerManager.runTests(afterTests, testStatus, executionId, tpOptions, branchToUse, authData, workerCount, stopOnError)
|
|
55
|
+
return this.workerManager.runTests(afterTests, testStatus, executionId, executionName, tpOptions, branchToUse, authData, workerCount, stopOnError)
|
|
56
56
|
.then(afterTestsResults => Object.assign(executionResults, afterTestsResults));
|
|
57
57
|
};
|
|
58
58
|
|
|
@@ -63,11 +63,11 @@ class TestPlanRunner {
|
|
|
63
63
|
const sessionType = utils.getSessionType(tpOptions);
|
|
64
64
|
analyticsService.analyticsExecsStart({ authData, executionId, projectId: tpOptions.project, sessionType });
|
|
65
65
|
perf.log('right before runBeforeTests');
|
|
66
|
-
return runBeforeTests(beforeTests, testStatus, executionId, tpOptions, branchToUse, authData)
|
|
66
|
+
return runBeforeTests(beforeTests, testStatus, executionId, executionName, tpOptions, branchToUse, authData)
|
|
67
67
|
.log('right before runTestPlanTests')
|
|
68
|
-
.then(() => runTestPlanTests(tests, testStatus, executionId, tpOptions, branchToUse, authData))
|
|
68
|
+
.then(() => runTestPlanTests(tests, testStatus, executionId, executionName, tpOptions, branchToUse, authData))
|
|
69
69
|
.log('right after runTestPlanTests')
|
|
70
|
-
.then(() => runAfterTests(afterTests, testStatus, executionId, tpOptions, branchToUse, authData))
|
|
70
|
+
.then(() => runAfterTests(afterTests, testStatus, executionId, executionName, tpOptions, branchToUse, authData))
|
|
71
71
|
.then(() => executionResults)
|
|
72
72
|
.catch(err => {
|
|
73
73
|
logger.error('error running test plan', { err });
|
|
@@ -167,7 +167,7 @@ class TestPlanRunner {
|
|
|
167
167
|
}
|
|
168
168
|
|
|
169
169
|
perf.log('before runTestAllPhases');
|
|
170
|
-
const results = await this.runTestAllPhases(testListInfo.beforeTests, testListInfo.tests, testListInfo.afterTests, branch, tpOptions, executionId, testStatus);
|
|
170
|
+
const results = await this.runTestAllPhases(testListInfo.beforeTests, testListInfo.tests, testListInfo.afterTests, branch, tpOptions, executionId, testPlanName || 'All Tests', testStatus);
|
|
171
171
|
const childResults = await Bluebird.resolve(childTestResults)
|
|
172
172
|
.timeout(TDK_CHILD_RESULTS_TIMEOUT)
|
|
173
173
|
.catch(async () => {
|
package/testRunHandler.js
CHANGED
|
@@ -15,13 +15,13 @@ const utils = require('./utils');
|
|
|
15
15
|
const config = require('./commons/config');
|
|
16
16
|
const analytics = require('./commons/testimAnalytics');
|
|
17
17
|
const { SeleniumPerfStats } = require('./commons/SeleniumPerfStats');
|
|
18
|
-
const featureFlags = require('./commons/featureFlags');
|
|
19
18
|
const { preloadTests } = require('./commons/preloadTests');
|
|
20
19
|
|
|
21
20
|
const RETRIES_ON_TIMEOUT = 3;
|
|
22
21
|
|
|
23
|
-
const TestRun = function (executionId, test, options, branchToUse, testRunStatus) {
|
|
22
|
+
const TestRun = function (executionId, executionName, test, options, branchToUse, testRunStatus) {
|
|
24
23
|
this._executionId = executionId;
|
|
24
|
+
this._executionName = executionName;
|
|
25
25
|
this._testStatus = test.testStatus;
|
|
26
26
|
this._testId = test.testId;
|
|
27
27
|
this._testName = test.name;
|
|
@@ -81,6 +81,10 @@ TestRun.prototype.getExecutionId = function () {
|
|
|
81
81
|
return this._executionId;
|
|
82
82
|
};
|
|
83
83
|
|
|
84
|
+
TestRun.prototype.getExecutionName = function () {
|
|
85
|
+
return this._executionName;
|
|
86
|
+
};
|
|
87
|
+
|
|
84
88
|
TestRun.prototype.getNativeAppData = function () {
|
|
85
89
|
if (this._nativeApp && !this._options.baseUrl) {
|
|
86
90
|
return this._nativeApp;
|
|
@@ -122,6 +126,7 @@ TestRun.prototype.getRunRequestParams = async function () {
|
|
|
122
126
|
refreshToken: testimCustomToken.getRefreshToken(),
|
|
123
127
|
projectId: this._options.project,
|
|
124
128
|
executionId: this._executionId,
|
|
129
|
+
executionName: this._executionName,
|
|
125
130
|
testId: this._testId,
|
|
126
131
|
resultId: this._testResultId,
|
|
127
132
|
baseUrl: this._baseUrl,
|
|
@@ -528,7 +533,7 @@ TestRun.prototype.isAllowReportTestResultRetries = function () {
|
|
|
528
533
|
TestRun.prototype.onRetry = async function () {
|
|
529
534
|
this._previousTestResultId = this._testResultId;
|
|
530
535
|
|
|
531
|
-
if (!
|
|
536
|
+
if (!this.isAllowReportTestResultRetries()) {
|
|
532
537
|
return;
|
|
533
538
|
}
|
|
534
539
|
|
|
@@ -88,6 +88,9 @@ class WorkerSelenium extends BaseWorker {
|
|
|
88
88
|
|
|
89
89
|
setupCliPerformanceMonitoring(sessionPlayer);
|
|
90
90
|
|
|
91
|
+
sessionPlayer.playbackManager.executionId = testRunHandler.getExecutionId();
|
|
92
|
+
sessionPlayer.playbackManager.executionName = testRunHandler.getExecutionName();
|
|
93
|
+
|
|
91
94
|
sessionPlayer.setLightweightMode(this.options.lightweightMode);
|
|
92
95
|
if (sessionPlayerInit.localAssetService) {
|
|
93
96
|
sessionPlayerInit.localAssetService.initialize({ serverUrl: this.options.localRCASaver });
|