@testspectra/cli 1.1.11-rc.5 → 1.1.13
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/demo-app/assets/index-DDYS5fLp.css +1 -0
- package/demo-app/assets/index-euCENPMy.js +154 -0
- package/demo-app/index.html +2 -2
- package/dist/.tsbuildinfo +1 -0
- package/dist/commands/__tests__/run-e2e.test.js +24 -6
- package/dist/commands/demo.d.ts +1 -0
- package/dist/commands/demo.js +26 -4
- package/dist/commands/doctor.js +23 -0
- package/dist/commands/run.d.ts +3 -0
- package/dist/commands/run.js +41 -4
- package/dist/commands/test.d.ts +9 -9
- package/dist/commands/test.js +40 -75
- package/dist/commands/update.d.ts +3 -0
- package/dist/commands/update.js +109 -0
- package/dist/config/loader.js +31 -4
- package/dist/config/schema.d.ts +58 -0
- package/dist/config/schema.js +4 -1
- package/dist/generator/__tests__/tsconfig-isolation.test.js +21 -0
- package/dist/generator/__tests__/type-generator.test.js +14 -0
- package/dist/generator/tsconfig-generator.js +1 -0
- package/dist/generator/type-generator.js +2 -0
- package/dist/index.js +8 -4
- package/dist/lifecycle/__tests__/lifecycle-engine.test.js +290 -0
- package/dist/lifecycle/hook-discovery.d.ts +24 -0
- package/dist/lifecycle/hook-discovery.js +60 -0
- package/dist/lifecycle/hook-dispatcher.d.ts +34 -0
- package/dist/lifecycle/hook-dispatcher.js +190 -0
- package/dist/lifecycle/index.d.ts +3 -0
- package/dist/lifecycle/index.js +3 -0
- package/dist/lifecycle/parallel-grouping.d.ts +27 -0
- package/dist/lifecycle/parallel-grouping.js +151 -0
- package/dist/reporter/semantic-formatter.js +2 -0
- package/dist/reporter/types.d.ts +1 -1
- package/dist/runner/bridge.d.ts +2 -0
- package/dist/runner/bridge.js +4 -1
- package/dist/runner/reporter.d.ts +5 -43
- package/dist/runner/reporter.js +46 -179
- package/dist/utils/__tests__/demo-state.test.d.ts +1 -0
- package/dist/utils/__tests__/demo-state.test.js +96 -0
- package/dist/utils/api-server.d.ts +1 -1
- package/dist/utils/api-server.js +7 -3
- package/dist/utils/demo-server.d.ts +2 -0
- package/dist/utils/demo-server.js +18 -5
- package/dist/utils/demo-state.d.ts +40 -0
- package/dist/utils/demo-state.js +157 -0
- package/package.json +8 -7
- package/templates/default/fixtures/sampleDocument.pdf +14 -0
- package/templates/default/fixtures/sampleImage.png +0 -0
- package/templates/default/package.json +2 -2
- package/templates/default/page-objects/MatchersPage/common.ts +41 -0
- package/templates/default/page-objects/MatchersPage/mobile.ts +8 -3
- package/templates/default/page-objects/PlaygroundPage/mobile.ts +6 -0
- package/templates/default/page-objects/PlaygroundPage/web.ts +2 -0
- package/templates/default/specs/Authentication/TC-0021-seed-authenticated-session/mobile.test.ts +3 -0
- package/templates/default/specs/BrowserContext/TC-0007-title-and-navigation/mobile.test.ts +3 -0
- package/templates/default/specs/BrowserContext/TC-0007-title-and-navigation/web.test.ts +1 -1
- package/templates/default/specs/Playground/TC-0003-file-upload/web.test.ts +11 -0
- package/templates/default/spectra.config.ts +5 -1
- package/templates/nx/.nx/workspace-data/70094CFD-E89B-57A1-9619-2FC5F4963C54.db +0 -0
- package/templates/nx/.nx/workspace-data/70094CFD-E89B-57A1-9619-2FC5F4963C54.db-shm +0 -0
- package/templates/nx/.nx/workspace-data/70094CFD-E89B-57A1-9619-2FC5F4963C54.db-wal +0 -0
- package/templates/nx/.nx/workspace-data/d/daemon.log +7104 -1012
- package/templates/nx/.nx/workspace-data/d/server-process.json +3 -0
- package/templates/nx/.nx/workspace-data/file-map.json +116 -104
- package/templates/nx/.nx/workspace-data/lockfile.hash +1 -1
- package/templates/nx/.nx/workspace-data/nx_files.nxt +0 -0
- package/templates/nx/.nx/workspace-data/parsed-lock-file.json +81 -130
- package/templates/nx/.nx/workspace-data/project-graph.json +83 -138
- package/templates/nx/package.json +2 -2
- package/templates/nx/packages/matchers/e2e/specs/BrowserContext/TC-0007-title-and-navigation/web.test.ts +1 -1
- package/templates/nx/packages/playground/e2e/specs/Playground/TC-0003-file-upload/web.test.ts +11 -0
- package/templates/nx/shared/testing/fixtures/sampleDocument.pdf +14 -0
- package/templates/nx/shared/testing/fixtures/sampleImage.png +0 -0
- package/templates/nx/shared/testing/page-objects/MatchersPage/mobile.ts +68 -26
- package/templates/nx/shared/testing/page-objects/PlaygroundPage/mobile.ts +39 -17
- package/templates/nx/shared/testing/page-objects/PlaygroundPage/web.ts +2 -0
- package/templates/nx/spectra.config.ts +3 -3
- package/templates/react-component/fixtures/sampleDocument.pdf +14 -0
- package/templates/react-component/fixtures/sampleImage.png +0 -0
- package/templates/react-component/package.json +3 -3
- package/templates/react-component/page-objects/FileUploadComponent/web.ts +15 -0
- package/templates/react-component/specs/FileUploadComponent/TC-0001-upload-fixtures/web.test.tsx +18 -0
- package/templates/react-component/specs/UserListComponent/TC-0001-intercepted-user-list/spec.md +20 -0
- package/templates/react-component/specs/UserListComponent/TC-0001-intercepted-user-list/web.test.tsx +15 -0
- package/templates/react-component/specs/UserListComponent/suite.md +12 -0
- package/templates/react-component/src/components/FileUpload/FileUpload.tsx +44 -0
- package/templates/react-component/src/components/UserList/UserList.tsx +48 -0
- package/bin/.testspectra-runner.hash +0 -1
- package/demo-app/assets/index-BhlW-eXG.css +0 -1
- package/demo-app/assets/index-DOtRypCa.js +0 -154
- package/dist/commands/__tests__/doctor-scope.test.js +0 -24
- /package/dist/{commands/__tests__/doctor-scope.test.d.ts → lifecycle/__tests__/lifecycle-engine.test.d.ts} +0 -0
|
@@ -862,103 +862,94 @@
|
|
|
862
862
|
"hash": "sha512-8L9xFeTYKhm49xfIypoe2W5wV1m/3Z58kT+7kR9A8OyFxcPduI4VmxaUMQyKYrRjUoLLSXv6EKKID5Tvj9cUVw=="
|
|
863
863
|
}
|
|
864
864
|
},
|
|
865
|
-
"npm:@nrwl/tao": {
|
|
866
|
-
"type": "npm",
|
|
867
|
-
"name": "npm:@nrwl/tao",
|
|
868
|
-
"data": {
|
|
869
|
-
"version": "19.8.4",
|
|
870
|
-
"packageName": "@nrwl/tao",
|
|
871
|
-
"hash": "sha512-03/+QZ4/6HmKbEmvzCutLI1XIclBspNYtiVHmGPRWuwhnZViqYfnyl8J7RWVdFEoKKA5fhJqpg7e28aGuoMBvQ=="
|
|
872
|
-
}
|
|
873
|
-
},
|
|
874
865
|
"npm:@nx/nx-darwin-arm64": {
|
|
875
866
|
"type": "npm",
|
|
876
867
|
"name": "npm:@nx/nx-darwin-arm64",
|
|
877
868
|
"data": {
|
|
878
|
-
"version": "
|
|
869
|
+
"version": "20.8.4",
|
|
879
870
|
"packageName": "@nx/nx-darwin-arm64",
|
|
880
|
-
"hash": "sha512-
|
|
871
|
+
"hash": "sha512-8Y7+4wj1qoZsuDRpnuiHzSIsMt3VqtJ0su8dgd/MyGccvvi4pndan2R5yTiVw/wmbMxtBmZ6PO6Z8dgSIrMVog=="
|
|
881
872
|
}
|
|
882
873
|
},
|
|
883
874
|
"npm:@nx/nx-darwin-x64": {
|
|
884
875
|
"type": "npm",
|
|
885
876
|
"name": "npm:@nx/nx-darwin-x64",
|
|
886
877
|
"data": {
|
|
887
|
-
"version": "
|
|
878
|
+
"version": "20.8.4",
|
|
888
879
|
"packageName": "@nx/nx-darwin-x64",
|
|
889
|
-
"hash": "sha512-
|
|
880
|
+
"hash": "sha512-2lfuxRc56QWnAysMhcD03tpCPiRzV1+foUq0MhV2sSBIybXmgV4wHLkPZNhlBCl4FNXrWiZiN1OJ2X9AGiOdug=="
|
|
890
881
|
}
|
|
891
882
|
},
|
|
892
883
|
"npm:@nx/nx-freebsd-x64": {
|
|
893
884
|
"type": "npm",
|
|
894
885
|
"name": "npm:@nx/nx-freebsd-x64",
|
|
895
886
|
"data": {
|
|
896
|
-
"version": "
|
|
887
|
+
"version": "20.8.4",
|
|
897
888
|
"packageName": "@nx/nx-freebsd-x64",
|
|
898
|
-
"hash": "sha512-
|
|
889
|
+
"hash": "sha512-99vnUXZy+OUBHU+8Yhabre2qafepKg9GKkQkhmXvJGqOmuIsepK7wirUFo2PiVM8YhS6UV2rv6hKAZcQ7skYyg=="
|
|
899
890
|
}
|
|
900
891
|
},
|
|
901
892
|
"npm:@nx/nx-linux-arm-gnueabihf": {
|
|
902
893
|
"type": "npm",
|
|
903
894
|
"name": "npm:@nx/nx-linux-arm-gnueabihf",
|
|
904
895
|
"data": {
|
|
905
|
-
"version": "
|
|
896
|
+
"version": "20.8.4",
|
|
906
897
|
"packageName": "@nx/nx-linux-arm-gnueabihf",
|
|
907
|
-
"hash": "sha512-
|
|
898
|
+
"hash": "sha512-dht73zpnpzEUEzMHFQs4mfiwZH3WcJgQNWkD5p7WkeJewHq2Yyd0eG5Jg3kB7wnFtwPUV1eNJRM5rephgylkLA=="
|
|
908
899
|
}
|
|
909
900
|
},
|
|
910
901
|
"npm:@nx/nx-linux-arm64-gnu": {
|
|
911
902
|
"type": "npm",
|
|
912
903
|
"name": "npm:@nx/nx-linux-arm64-gnu",
|
|
913
904
|
"data": {
|
|
914
|
-
"version": "
|
|
905
|
+
"version": "20.8.4",
|
|
915
906
|
"packageName": "@nx/nx-linux-arm64-gnu",
|
|
916
|
-
"hash": "sha512-
|
|
907
|
+
"hash": "sha512-syXxbJZ0yPaqzVmB28QJgUtaarSiW/PQmv/5Z2Ps8rCi7kYylISPVNjP1NNiIOcGDRWbHqoBfM0bEGPfSp0rBQ=="
|
|
917
908
|
}
|
|
918
909
|
},
|
|
919
910
|
"npm:@nx/nx-linux-arm64-musl": {
|
|
920
911
|
"type": "npm",
|
|
921
912
|
"name": "npm:@nx/nx-linux-arm64-musl",
|
|
922
913
|
"data": {
|
|
923
|
-
"version": "
|
|
914
|
+
"version": "20.8.4",
|
|
924
915
|
"packageName": "@nx/nx-linux-arm64-musl",
|
|
925
|
-
"hash": "sha512-
|
|
916
|
+
"hash": "sha512-AlZZFolS/S0FahRKG7rJ0Z9CgmIkyzHgGaoy3qNEMDEjFhR3jt2ZZSLp90W7zjgrxojOo90ajNMrg2UmtcQRDA=="
|
|
926
917
|
}
|
|
927
918
|
},
|
|
928
919
|
"npm:@nx/nx-linux-x64-gnu": {
|
|
929
920
|
"type": "npm",
|
|
930
921
|
"name": "npm:@nx/nx-linux-x64-gnu",
|
|
931
922
|
"data": {
|
|
932
|
-
"version": "
|
|
923
|
+
"version": "20.8.4",
|
|
933
924
|
"packageName": "@nx/nx-linux-x64-gnu",
|
|
934
|
-
"hash": "sha512-
|
|
925
|
+
"hash": "sha512-MSu+xVNdR95tuuO+eL/a/ZeMlhfrZ627On5xaCZXnJ+lFxNg/S4nlKZQk0Eq5hYALCd/GKgFGasRdlRdOtvGPg=="
|
|
935
926
|
}
|
|
936
927
|
},
|
|
937
928
|
"npm:@nx/nx-linux-x64-musl": {
|
|
938
929
|
"type": "npm",
|
|
939
930
|
"name": "npm:@nx/nx-linux-x64-musl",
|
|
940
931
|
"data": {
|
|
941
|
-
"version": "
|
|
932
|
+
"version": "20.8.4",
|
|
942
933
|
"packageName": "@nx/nx-linux-x64-musl",
|
|
943
|
-
"hash": "sha512-
|
|
934
|
+
"hash": "sha512-KxpQpyLCgIIHWZ4iRSUN9ohCwn1ZSDASbuFCdG3mohryzCy8WrPkuPcb+68J3wuQhmA5w//Xpp/dL0hHoit9zQ=="
|
|
944
935
|
}
|
|
945
936
|
},
|
|
946
937
|
"npm:@nx/nx-win32-arm64-msvc": {
|
|
947
938
|
"type": "npm",
|
|
948
939
|
"name": "npm:@nx/nx-win32-arm64-msvc",
|
|
949
940
|
"data": {
|
|
950
|
-
"version": "
|
|
941
|
+
"version": "20.8.4",
|
|
951
942
|
"packageName": "@nx/nx-win32-arm64-msvc",
|
|
952
|
-
"hash": "sha512-
|
|
943
|
+
"hash": "sha512-ffLBrxM9ibk+eWSY995kiFFRTSRb9HkD5T1s/uZyxV6jfxYPaZDBAWAETDneyBXps7WtaOMu+kVZlXQ3X+TfIA=="
|
|
953
944
|
}
|
|
954
945
|
},
|
|
955
946
|
"npm:@nx/nx-win32-x64-msvc": {
|
|
956
947
|
"type": "npm",
|
|
957
948
|
"name": "npm:@nx/nx-win32-x64-msvc",
|
|
958
949
|
"data": {
|
|
959
|
-
"version": "
|
|
950
|
+
"version": "20.8.4",
|
|
960
951
|
"packageName": "@nx/nx-win32-x64-msvc",
|
|
961
|
-
"hash": "sha512
|
|
952
|
+
"hash": "sha512-JxuuZc4h8EBqoYAiRHwskimpTJx70yn4lhIRFBoW5ICkxXW1Rw0yip/1UVsWRHXg/x9BxmH7VVazdfaQWmGu6A=="
|
|
962
953
|
}
|
|
963
954
|
},
|
|
964
955
|
"npm:@pkgjs/parseargs": {
|
|
@@ -1505,9 +1496,9 @@
|
|
|
1505
1496
|
"type": "npm",
|
|
1506
1497
|
"name": "npm:@yarnpkg/parsers",
|
|
1507
1498
|
"data": {
|
|
1508
|
-
"version": "3.0.
|
|
1499
|
+
"version": "3.0.2",
|
|
1509
1500
|
"packageName": "@yarnpkg/parsers",
|
|
1510
|
-
"hash": "sha512
|
|
1501
|
+
"hash": "sha512-/HcYgtUSiJiot/XWGLOlGxPYUG65+/31V8oqk17vZLW1xlCoR4PampyePljOxY2n8/3jz9+tIFzICsyGujJZoA=="
|
|
1511
1502
|
}
|
|
1512
1503
|
},
|
|
1513
1504
|
"npm:@zip.js/zip.js": {
|
|
@@ -2797,15 +2788,6 @@
|
|
|
2797
2788
|
"hash": "sha512-1A8za6ws41LQgv9HrE/66jyC5yuSjQ3L/KOpFtoBilsAK2iA2wuS5rTt1OCzIvtS2V7nVmedsUU+DGRcjBmOYA=="
|
|
2798
2789
|
}
|
|
2799
2790
|
},
|
|
2800
|
-
"npm:duplexer": {
|
|
2801
|
-
"type": "npm",
|
|
2802
|
-
"name": "npm:duplexer",
|
|
2803
|
-
"data": {
|
|
2804
|
-
"version": "0.1.2",
|
|
2805
|
-
"packageName": "duplexer",
|
|
2806
|
-
"hash": "sha512-jtD6YG370ZCIi/9GTaJKQxWTZD045+4R4hTk/x1UyoqadyJ9x9CgSi1RlVDQF8U2sxLLSnFkCaMihqljHIWgMg=="
|
|
2807
|
-
}
|
|
2808
|
-
},
|
|
2809
2791
|
"npm:eastasianwidth": {
|
|
2810
2792
|
"type": "npm",
|
|
2811
2793
|
"name": "npm:eastasianwidth",
|
|
@@ -5114,9 +5096,9 @@
|
|
|
5114
5096
|
"type": "npm",
|
|
5115
5097
|
"name": "npm:nx",
|
|
5116
5098
|
"data": {
|
|
5117
|
-
"version": "
|
|
5099
|
+
"version": "20.8.4",
|
|
5118
5100
|
"packageName": "nx",
|
|
5119
|
-
"hash": "sha512
|
|
5101
|
+
"hash": "sha512-/++x0OM3/UTmDR+wmPeV13tSxeTr+QGzj3flgtH9DiOPmQnn2CjHWAMZiOhcSh/hHoE/V3ySL4757InQUsVtjQ=="
|
|
5120
5102
|
}
|
|
5121
5103
|
},
|
|
5122
5104
|
"npm:object-inspect": {
|
|
@@ -5812,6 +5794,15 @@
|
|
|
5812
5794
|
"hash": "sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw=="
|
|
5813
5795
|
}
|
|
5814
5796
|
},
|
|
5797
|
+
"npm:resolve.exports": {
|
|
5798
|
+
"type": "npm",
|
|
5799
|
+
"name": "npm:resolve.exports",
|
|
5800
|
+
"data": {
|
|
5801
|
+
"version": "2.0.3",
|
|
5802
|
+
"packageName": "resolve.exports",
|
|
5803
|
+
"hash": "sha512-OcXjMsGdhL4XnbShKpAcSqPMzQoYkYyhbEaeSko47MjRP9NfEQMhZkXL1DoFlt9LWQn4YttrdnV6X2OiyzBi+A=="
|
|
5804
|
+
}
|
|
5805
|
+
},
|
|
5815
5806
|
"npm:responselike@1.0.2": {
|
|
5816
5807
|
"type": "npm",
|
|
5817
5808
|
"name": "npm:responselike@1.0.2",
|
|
@@ -6343,15 +6334,6 @@
|
|
|
6343
6334
|
"hash": "sha512-rDG3Ah4TV0k1hWvLSzkZtMmLN9+eS+h3knq4MP6A42Y3Yh5qGNnOUs1jJkoSr8FG5dsL28c7KgkIBzSEykqtuw=="
|
|
6344
6335
|
}
|
|
6345
6336
|
},
|
|
6346
|
-
"npm:strong-log-transformer": {
|
|
6347
|
-
"type": "npm",
|
|
6348
|
-
"name": "npm:strong-log-transformer",
|
|
6349
|
-
"data": {
|
|
6350
|
-
"version": "2.1.0",
|
|
6351
|
-
"packageName": "strong-log-transformer",
|
|
6352
|
-
"hash": "sha512-B3Hgul+z0L9a236FAUC9iZsL+nVHgoCJnqCbN588DjYxvGXaXaaFbfmQ/JhvKjZwsOukuR72XbHv71Qkug0HxA=="
|
|
6353
|
-
}
|
|
6354
|
-
},
|
|
6355
6337
|
"npm:supports-color@7.2.0": {
|
|
6356
6338
|
"type": "npm",
|
|
6357
6339
|
"name": "npm:supports-color@7.2.0",
|
|
@@ -6820,9 +6802,9 @@
|
|
|
6820
6802
|
"hash": "sha512-SyrSVpygEdPzvgpapVZRQCy8XIOecadp56bPQewpfSfo9ypB6wdOUkx13NBu2ANDlUAtJX7KaLJpTtywVHNlVw=="
|
|
6821
6803
|
}
|
|
6822
6804
|
},
|
|
6823
|
-
"npm:webdriverio": {
|
|
6805
|
+
"npm:webdriverio@9.31.6": {
|
|
6824
6806
|
"type": "npm",
|
|
6825
|
-
"name": "npm:webdriverio",
|
|
6807
|
+
"name": "npm:webdriverio@9.31.6",
|
|
6826
6808
|
"data": {
|
|
6827
6809
|
"version": "9.31.6",
|
|
6828
6810
|
"packageName": "webdriverio",
|
|
@@ -7027,6 +7009,15 @@
|
|
|
7027
7009
|
"hash": "sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g=="
|
|
7028
7010
|
}
|
|
7029
7011
|
},
|
|
7012
|
+
"npm:yaml": {
|
|
7013
|
+
"type": "npm",
|
|
7014
|
+
"name": "npm:yaml",
|
|
7015
|
+
"data": {
|
|
7016
|
+
"version": "2.9.1",
|
|
7017
|
+
"packageName": "yaml",
|
|
7018
|
+
"hash": "sha512-3NxN8+78OdzbT7C/WjGsyfPAtJaN3FNDsWxv7Y7mcDsT/oOmgW8BpyQQFFBnvZE3j9Y2Sdz1ULFLezL7Eb2yFw=="
|
|
7019
|
+
}
|
|
7020
|
+
},
|
|
7030
7021
|
"npm:yargs-parser@20.2.9": {
|
|
7031
7022
|
"type": "npm",
|
|
7032
7023
|
"name": "npm:yargs-parser@20.2.9",
|
|
@@ -7973,18 +7964,6 @@
|
|
|
7973
7964
|
"type": "static"
|
|
7974
7965
|
}
|
|
7975
7966
|
],
|
|
7976
|
-
"npm:@nrwl/tao": [
|
|
7977
|
-
{
|
|
7978
|
-
"source": "npm:@nrwl/tao",
|
|
7979
|
-
"target": "npm:nx",
|
|
7980
|
-
"type": "static"
|
|
7981
|
-
},
|
|
7982
|
-
{
|
|
7983
|
-
"source": "npm:@nrwl/tao",
|
|
7984
|
-
"target": "npm:tslib",
|
|
7985
|
-
"type": "static"
|
|
7986
|
-
}
|
|
7987
|
-
],
|
|
7988
7967
|
"npm:@promptbook/utils": [
|
|
7989
7968
|
{
|
|
7990
7969
|
"source": "npm:@promptbook/utils",
|
|
@@ -8313,7 +8292,7 @@
|
|
|
8313
8292
|
},
|
|
8314
8293
|
{
|
|
8315
8294
|
"source": "npm:@wdio/cli",
|
|
8316
|
-
"target": "npm:webdriverio",
|
|
8295
|
+
"target": "npm:webdriverio@9.31.6",
|
|
8317
8296
|
"type": "static"
|
|
8318
8297
|
},
|
|
8319
8298
|
{
|
|
@@ -8488,7 +8467,7 @@
|
|
|
8488
8467
|
},
|
|
8489
8468
|
{
|
|
8490
8469
|
"source": "npm:@wdio/globals",
|
|
8491
|
-
"target": "npm:webdriverio",
|
|
8470
|
+
"target": "npm:webdriverio@9.31.6",
|
|
8492
8471
|
"type": "static"
|
|
8493
8472
|
}
|
|
8494
8473
|
],
|
|
@@ -8719,7 +8698,7 @@
|
|
|
8719
8698
|
},
|
|
8720
8699
|
{
|
|
8721
8700
|
"source": "npm:@wdio/runner",
|
|
8722
|
-
"target": "npm:webdriverio",
|
|
8701
|
+
"target": "npm:webdriverio@9.31.6",
|
|
8723
8702
|
"type": "static"
|
|
8724
8703
|
}
|
|
8725
8704
|
],
|
|
@@ -9867,11 +9846,6 @@
|
|
|
9867
9846
|
"source": "npm:debug@2.6.9",
|
|
9868
9847
|
"target": "npm:ms@2.0.0",
|
|
9869
9848
|
"type": "static"
|
|
9870
|
-
},
|
|
9871
|
-
{
|
|
9872
|
-
"source": "npm:debug@2.6.9",
|
|
9873
|
-
"target": "npm:supports-color@8.1.1",
|
|
9874
|
-
"type": "static"
|
|
9875
9849
|
}
|
|
9876
9850
|
],
|
|
9877
9851
|
"npm:debug@4.3.4": [
|
|
@@ -9879,11 +9853,6 @@
|
|
|
9879
9853
|
"source": "npm:debug@4.3.4",
|
|
9880
9854
|
"target": "npm:ms@2.1.2",
|
|
9881
9855
|
"type": "static"
|
|
9882
|
-
},
|
|
9883
|
-
{
|
|
9884
|
-
"source": "npm:debug@4.3.4",
|
|
9885
|
-
"target": "npm:supports-color@8.1.1",
|
|
9886
|
-
"type": "static"
|
|
9887
9856
|
}
|
|
9888
9857
|
],
|
|
9889
9858
|
"npm:debug@4.4.3": [
|
|
@@ -10455,7 +10424,7 @@
|
|
|
10455
10424
|
},
|
|
10456
10425
|
{
|
|
10457
10426
|
"source": "npm:expect-webdriverio",
|
|
10458
|
-
"target": "npm:webdriverio",
|
|
10427
|
+
"target": "npm:webdriverio@9.31.6",
|
|
10459
10428
|
"type": "static"
|
|
10460
10429
|
}
|
|
10461
10430
|
],
|
|
@@ -10647,13 +10616,6 @@
|
|
|
10647
10616
|
"type": "static"
|
|
10648
10617
|
}
|
|
10649
10618
|
],
|
|
10650
|
-
"npm:follow-redirects": [
|
|
10651
|
-
{
|
|
10652
|
-
"source": "npm:follow-redirects",
|
|
10653
|
-
"target": "npm:debug@4.4.3",
|
|
10654
|
-
"type": "static"
|
|
10655
|
-
}
|
|
10656
|
-
],
|
|
10657
10619
|
"npm:foreground-child": [
|
|
10658
10620
|
{
|
|
10659
10621
|
"source": "npm:foreground-child",
|
|
@@ -12178,11 +12140,6 @@
|
|
|
12178
12140
|
"target": "npm:@napi-rs/wasm-runtime",
|
|
12179
12141
|
"type": "static"
|
|
12180
12142
|
},
|
|
12181
|
-
{
|
|
12182
|
-
"source": "npm:nx",
|
|
12183
|
-
"target": "npm:@nrwl/tao",
|
|
12184
|
-
"type": "static"
|
|
12185
|
-
},
|
|
12186
12143
|
{
|
|
12187
12144
|
"source": "npm:nx",
|
|
12188
12145
|
"target": "npm:@yarnpkg/lockfile",
|
|
@@ -12300,17 +12257,17 @@
|
|
|
12300
12257
|
},
|
|
12301
12258
|
{
|
|
12302
12259
|
"source": "npm:nx",
|
|
12303
|
-
"target": "npm:
|
|
12260
|
+
"target": "npm:resolve.exports",
|
|
12304
12261
|
"type": "static"
|
|
12305
12262
|
},
|
|
12306
12263
|
{
|
|
12307
12264
|
"source": "npm:nx",
|
|
12308
|
-
"target": "npm:
|
|
12265
|
+
"target": "npm:semver@7.8.5",
|
|
12309
12266
|
"type": "static"
|
|
12310
12267
|
},
|
|
12311
12268
|
{
|
|
12312
12269
|
"source": "npm:nx",
|
|
12313
|
-
"target": "npm:
|
|
12270
|
+
"target": "npm:string-width@4.2.3",
|
|
12314
12271
|
"type": "static"
|
|
12315
12272
|
},
|
|
12316
12273
|
{
|
|
@@ -12333,6 +12290,11 @@
|
|
|
12333
12290
|
"target": "npm:tslib",
|
|
12334
12291
|
"type": "static"
|
|
12335
12292
|
},
|
|
12293
|
+
{
|
|
12294
|
+
"source": "npm:nx",
|
|
12295
|
+
"target": "npm:yaml",
|
|
12296
|
+
"type": "static"
|
|
12297
|
+
},
|
|
12336
12298
|
{
|
|
12337
12299
|
"source": "npm:nx",
|
|
12338
12300
|
"target": "npm:yargs@17.7.3",
|
|
@@ -13325,23 +13287,6 @@
|
|
|
13325
13287
|
"type": "static"
|
|
13326
13288
|
}
|
|
13327
13289
|
],
|
|
13328
|
-
"npm:strong-log-transformer": [
|
|
13329
|
-
{
|
|
13330
|
-
"source": "npm:strong-log-transformer",
|
|
13331
|
-
"target": "npm:duplexer",
|
|
13332
|
-
"type": "static"
|
|
13333
|
-
},
|
|
13334
|
-
{
|
|
13335
|
-
"source": "npm:strong-log-transformer",
|
|
13336
|
-
"target": "npm:minimist",
|
|
13337
|
-
"type": "static"
|
|
13338
|
-
},
|
|
13339
|
-
{
|
|
13340
|
-
"source": "npm:strong-log-transformer",
|
|
13341
|
-
"target": "npm:through",
|
|
13342
|
-
"type": "static"
|
|
13343
|
-
}
|
|
13344
|
-
],
|
|
13345
13290
|
"npm:supports-color@7.2.0": [
|
|
13346
13291
|
{
|
|
13347
13292
|
"source": "npm:supports-color@7.2.0",
|
|
@@ -13957,129 +13902,129 @@
|
|
|
13957
13902
|
"type": "static"
|
|
13958
13903
|
}
|
|
13959
13904
|
],
|
|
13960
|
-
"npm:webdriverio": [
|
|
13905
|
+
"npm:webdriverio@9.31.6": [
|
|
13961
13906
|
{
|
|
13962
|
-
"source": "npm:webdriverio",
|
|
13907
|
+
"source": "npm:webdriverio@9.31.6",
|
|
13963
13908
|
"target": "npm:@types/node",
|
|
13964
13909
|
"type": "static"
|
|
13965
13910
|
},
|
|
13966
13911
|
{
|
|
13967
|
-
"source": "npm:webdriverio",
|
|
13912
|
+
"source": "npm:webdriverio@9.31.6",
|
|
13968
13913
|
"target": "npm:@types/sinonjs__fake-timers",
|
|
13969
13914
|
"type": "static"
|
|
13970
13915
|
},
|
|
13971
13916
|
{
|
|
13972
|
-
"source": "npm:webdriverio",
|
|
13917
|
+
"source": "npm:webdriverio@9.31.6",
|
|
13973
13918
|
"target": "npm:@wdio/config@9.31.6",
|
|
13974
13919
|
"type": "static"
|
|
13975
13920
|
},
|
|
13976
13921
|
{
|
|
13977
|
-
"source": "npm:webdriverio",
|
|
13922
|
+
"source": "npm:webdriverio@9.31.6",
|
|
13978
13923
|
"target": "npm:@wdio/logger@9.29.1",
|
|
13979
13924
|
"type": "static"
|
|
13980
13925
|
},
|
|
13981
13926
|
{
|
|
13982
|
-
"source": "npm:webdriverio",
|
|
13927
|
+
"source": "npm:webdriverio@9.31.6",
|
|
13983
13928
|
"target": "npm:@wdio/protocols@9.31.5",
|
|
13984
13929
|
"type": "static"
|
|
13985
13930
|
},
|
|
13986
13931
|
{
|
|
13987
|
-
"source": "npm:webdriverio",
|
|
13932
|
+
"source": "npm:webdriverio@9.31.6",
|
|
13988
13933
|
"target": "npm:@wdio/repl@9.16.2",
|
|
13989
13934
|
"type": "static"
|
|
13990
13935
|
},
|
|
13991
13936
|
{
|
|
13992
|
-
"source": "npm:webdriverio",
|
|
13937
|
+
"source": "npm:webdriverio@9.31.6",
|
|
13993
13938
|
"target": "npm:@wdio/types@9.31.2",
|
|
13994
13939
|
"type": "static"
|
|
13995
13940
|
},
|
|
13996
13941
|
{
|
|
13997
|
-
"source": "npm:webdriverio",
|
|
13942
|
+
"source": "npm:webdriverio@9.31.6",
|
|
13998
13943
|
"target": "npm:@wdio/utils@9.31.6",
|
|
13999
13944
|
"type": "static"
|
|
14000
13945
|
},
|
|
14001
13946
|
{
|
|
14002
|
-
"source": "npm:webdriverio",
|
|
13947
|
+
"source": "npm:webdriverio@9.31.6",
|
|
14003
13948
|
"target": "npm:archiver",
|
|
14004
13949
|
"type": "static"
|
|
14005
13950
|
},
|
|
14006
13951
|
{
|
|
14007
|
-
"source": "npm:webdriverio",
|
|
13952
|
+
"source": "npm:webdriverio@9.31.6",
|
|
14008
13953
|
"target": "npm:aria-query",
|
|
14009
13954
|
"type": "static"
|
|
14010
13955
|
},
|
|
14011
13956
|
{
|
|
14012
|
-
"source": "npm:webdriverio",
|
|
13957
|
+
"source": "npm:webdriverio@9.31.6",
|
|
14013
13958
|
"target": "npm:cheerio",
|
|
14014
13959
|
"type": "static"
|
|
14015
13960
|
},
|
|
14016
13961
|
{
|
|
14017
|
-
"source": "npm:webdriverio",
|
|
13962
|
+
"source": "npm:webdriverio@9.31.6",
|
|
14018
13963
|
"target": "npm:css-shorthand-properties",
|
|
14019
13964
|
"type": "static"
|
|
14020
13965
|
},
|
|
14021
13966
|
{
|
|
14022
|
-
"source": "npm:webdriverio",
|
|
13967
|
+
"source": "npm:webdriverio@9.31.6",
|
|
14023
13968
|
"target": "npm:css-value",
|
|
14024
13969
|
"type": "static"
|
|
14025
13970
|
},
|
|
14026
13971
|
{
|
|
14027
|
-
"source": "npm:webdriverio",
|
|
13972
|
+
"source": "npm:webdriverio@9.31.6",
|
|
14028
13973
|
"target": "npm:grapheme-splitter",
|
|
14029
13974
|
"type": "static"
|
|
14030
13975
|
},
|
|
14031
13976
|
{
|
|
14032
|
-
"source": "npm:webdriverio",
|
|
13977
|
+
"source": "npm:webdriverio@9.31.6",
|
|
14033
13978
|
"target": "npm:htmlfy",
|
|
14034
13979
|
"type": "static"
|
|
14035
13980
|
},
|
|
14036
13981
|
{
|
|
14037
|
-
"source": "npm:webdriverio",
|
|
13982
|
+
"source": "npm:webdriverio@9.31.6",
|
|
14038
13983
|
"target": "npm:is-plain-obj@4.1.0",
|
|
14039
13984
|
"type": "static"
|
|
14040
13985
|
},
|
|
14041
13986
|
{
|
|
14042
|
-
"source": "npm:webdriverio",
|
|
13987
|
+
"source": "npm:webdriverio@9.31.6",
|
|
14043
13988
|
"target": "npm:jszip",
|
|
14044
13989
|
"type": "static"
|
|
14045
13990
|
},
|
|
14046
13991
|
{
|
|
14047
|
-
"source": "npm:webdriverio",
|
|
13992
|
+
"source": "npm:webdriverio@9.31.6",
|
|
14048
13993
|
"target": "npm:lodash.clonedeep",
|
|
14049
13994
|
"type": "static"
|
|
14050
13995
|
},
|
|
14051
13996
|
{
|
|
14052
|
-
"source": "npm:webdriverio",
|
|
13997
|
+
"source": "npm:webdriverio@9.31.6",
|
|
14053
13998
|
"target": "npm:lodash.zip",
|
|
14054
13999
|
"type": "static"
|
|
14055
14000
|
},
|
|
14056
14001
|
{
|
|
14057
|
-
"source": "npm:webdriverio",
|
|
14002
|
+
"source": "npm:webdriverio@9.31.6",
|
|
14058
14003
|
"target": "npm:query-selector-shadow-dom",
|
|
14059
14004
|
"type": "static"
|
|
14060
14005
|
},
|
|
14061
14006
|
{
|
|
14062
|
-
"source": "npm:webdriverio",
|
|
14007
|
+
"source": "npm:webdriverio@9.31.6",
|
|
14063
14008
|
"target": "npm:resq",
|
|
14064
14009
|
"type": "static"
|
|
14065
14010
|
},
|
|
14066
14011
|
{
|
|
14067
|
-
"source": "npm:webdriverio",
|
|
14012
|
+
"source": "npm:webdriverio@9.31.6",
|
|
14068
14013
|
"target": "npm:rgb2hex",
|
|
14069
14014
|
"type": "static"
|
|
14070
14015
|
},
|
|
14071
14016
|
{
|
|
14072
|
-
"source": "npm:webdriverio",
|
|
14017
|
+
"source": "npm:webdriverio@9.31.6",
|
|
14073
14018
|
"target": "npm:serialize-error@12.0.0",
|
|
14074
14019
|
"type": "static"
|
|
14075
14020
|
},
|
|
14076
14021
|
{
|
|
14077
|
-
"source": "npm:webdriverio",
|
|
14022
|
+
"source": "npm:webdriverio@9.31.6",
|
|
14078
14023
|
"target": "npm:urlpattern-polyfill@10.1.0",
|
|
14079
14024
|
"type": "static"
|
|
14080
14025
|
},
|
|
14081
14026
|
{
|
|
14082
|
-
"source": "npm:webdriverio",
|
|
14027
|
+
"source": "npm:webdriverio@9.31.6",
|
|
14083
14028
|
"target": "npm:webdriver@9.31.6",
|
|
14084
14029
|
"type": "static"
|
|
14085
14030
|
}
|
|
@@ -14386,5 +14331,5 @@
|
|
|
14386
14331
|
},
|
|
14387
14332
|
"version": "6.0",
|
|
14388
14333
|
"errors": [],
|
|
14389
|
-
"computedAt":
|
|
14334
|
+
"computedAt": 1789987357222
|
|
14390
14335
|
}
|
|
@@ -12,8 +12,8 @@
|
|
|
12
12
|
"postinstall": "spectra sync-types"
|
|
13
13
|
},
|
|
14
14
|
"devDependencies": {
|
|
15
|
-
"@testspectra/cli": "^1.1.
|
|
16
|
-
"@testspectra/matchers": "^1.1.
|
|
15
|
+
"@testspectra/cli": "^1.1.13",
|
|
16
|
+
"@testspectra/matchers": "^1.1.13",
|
|
17
17
|
"@types/node": "^20.14.0",
|
|
18
18
|
"@wdio/cli": "^9.2.8",
|
|
19
19
|
"@wdio/local-runner": "^9.2.8",
|
|
@@ -8,7 +8,7 @@ it("Verify page title and sidebar navigation links", async () => {
|
|
|
8
8
|
// Browser URL assertions
|
|
9
9
|
const currentUrl = await browser.getUrl();
|
|
10
10
|
await Spectra.browser.shouldHaveUrl(currentUrl);
|
|
11
|
-
await Spectra.browser.shouldContainUrl("localhost
|
|
11
|
+
await Spectra.browser.shouldContainUrl("localhost");
|
|
12
12
|
|
|
13
13
|
// Page lifecycle and console error diagnostics
|
|
14
14
|
await Spectra.browser.shouldBeLoaded();
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
it("Verify uploading image and document fixtures to file input", async () => {
|
|
2
|
+
await PlaygroundPage.open();
|
|
3
|
+
|
|
4
|
+
// 1. Upload sample image fixture
|
|
5
|
+
await PlaygroundPage.fileInput.upload(Fixture.sampleImage);
|
|
6
|
+
await PlaygroundPage.uploadedFilename.shouldContainText("sampleImage");
|
|
7
|
+
|
|
8
|
+
// 2. Upload sample PDF document fixture
|
|
9
|
+
await PlaygroundPage.fileInput.upload(Fixture.sampleDocument);
|
|
10
|
+
await PlaygroundPage.uploadedFilename.shouldContainText("sampleDocument");
|
|
11
|
+
});
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
%PDF-1.4
|
|
2
|
+
1 0 obj<</Type/Catalog/Pages 2 0 R>>endobj
|
|
3
|
+
2 0 obj<</Type/Pages/Kids[3 0 R]/Count 1>>endobj
|
|
4
|
+
3 0 obj<</Type/Page/MediaBox[0 0 612 792]/Parent 2 0 R/Resources<<>>>>endobj
|
|
5
|
+
xref
|
|
6
|
+
0 4
|
|
7
|
+
0000000000 65535 f
|
|
8
|
+
0000000009 00000 n
|
|
9
|
+
0000000058 00000 n
|
|
10
|
+
0000000115 00000 n
|
|
11
|
+
trailer<</Size 4/Root 1 0 R>>
|
|
12
|
+
startxref
|
|
13
|
+
206
|
|
14
|
+
%%EOF
|
|
Binary file
|