@zohodesk/testinglibrary 0.0.36-n20-experimental → 0.0.38-n20-experimental

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/build/lib/cli.js CHANGED
@@ -22,8 +22,14 @@ switch (option) {
22
22
  }
23
23
  case 'unit-test':
24
24
  {
25
+ const testFile = process.argv[3];
25
26
  _logger.Logger.log(_logger.Logger.SUCCESS_TYPE, 'Running Unit Tests..');
26
- (0, _unitTestingFramework.default)();
27
+ console.log(testFile);
28
+ (0, _unitTestingFramework.default)({
29
+ ...(testFile && {
30
+ testPathPattern: testFile
31
+ })
32
+ });
27
33
  break;
28
34
  }
29
35
  case 'validate':
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@zohodesk/testinglibrary",
3
- "version": "0.0.36-n20-experimental",
3
+ "version": "0.0.38-n20-experimental",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "@zohodesk/testinglibrary",
9
- "version": "0.0.36-n20-experimental",
9
+ "version": "0.0.38-n20-experimental",
10
10
  "hasInstallScript": true,
11
11
  "license": "ISC",
12
12
  "dependencies": {
@@ -15,7 +15,7 @@
15
15
  "@playwright/test": "1.56.1",
16
16
  "@reportportal/agent-js-playwright": "5.2.2",
17
17
  "@testing-library/jest-dom": "6.9.1",
18
- "@zohodesk/unit-testing-framework": "0.0.13-experimental",
18
+ "@zohodesk/unit-testing-framework": "0.0.20-experimental",
19
19
  "babel-jest": "30.2.0",
20
20
  "babel-plugin-transform-dynamic-import": "2.1.0",
21
21
  "fast-glob": "3.3.3",
@@ -2261,37 +2261,6 @@
2261
2261
  "integrity": "sha512-KIF0eLcafHbWOuSDWFw0lMmgJOLdDRWjEL1kfXEWrqHmx2119HxVAr35WuEd9z542d3Yyg+XNqSr+81rIKqEdg==",
2262
2262
  "license": "MIT"
2263
2263
  },
2264
- "node_modules/@emnapi/core": {
2265
- "version": "1.8.1",
2266
- "resolved": "https://registry.npmjs.org/@emnapi/core/-/core-1.8.1.tgz",
2267
- "integrity": "sha512-AvT9QFpxK0Zd8J0jopedNm+w/2fIzvtPKPjqyw9jwvBaReTTqPBk9Hixaz7KbjimP+QNz605/XnjFcDAL2pqBg==",
2268
- "license": "MIT",
2269
- "optional": true,
2270
- "dependencies": {
2271
- "@emnapi/wasi-threads": "1.1.0",
2272
- "tslib": "^2.4.0"
2273
- }
2274
- },
2275
- "node_modules/@emnapi/runtime": {
2276
- "version": "1.8.1",
2277
- "resolved": "https://registry.npmjs.org/@emnapi/runtime/-/runtime-1.8.1.tgz",
2278
- "integrity": "sha512-mehfKSMWjjNol8659Z8KxEMrdSJDDot5SXMq00dM8BN4o+CLNXQ0xH2V7EchNHV4RmbZLmmPdEaXZc5H2FXmDg==",
2279
- "license": "MIT",
2280
- "optional": true,
2281
- "dependencies": {
2282
- "tslib": "^2.4.0"
2283
- }
2284
- },
2285
- "node_modules/@emnapi/wasi-threads": {
2286
- "version": "1.1.0",
2287
- "resolved": "https://registry.npmjs.org/@emnapi/wasi-threads/-/wasi-threads-1.1.0.tgz",
2288
- "integrity": "sha512-WI0DdZ8xFSbgMjR1sFsKABJ/C5OnRrjT06JXbZKexJGrDuPTzZdDYfFlsgcCXCyf+suG5QU2e/y1Wo2V/OapLQ==",
2289
- "license": "MIT",
2290
- "optional": true,
2291
- "dependencies": {
2292
- "tslib": "^2.4.0"
2293
- }
2294
- },
2295
2264
  "node_modules/@eslint-community/eslint-utils": {
2296
2265
  "version": "4.9.1",
2297
2266
  "resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.9.1.tgz",
@@ -3161,18 +3130,6 @@
3161
3130
  "node": ">=18"
3162
3131
  }
3163
3132
  },
3164
- "node_modules/@napi-rs/wasm-runtime": {
3165
- "version": "0.2.12",
3166
- "resolved": "https://registry.npmjs.org/@napi-rs/wasm-runtime/-/wasm-runtime-0.2.12.tgz",
3167
- "integrity": "sha512-ZVWUcfwY4E/yPitQJl481FjFo3K22D6qF0DuFH6Y/nbnE11GY5uguDxZMGXPQ8WQ0128MXQD7TnfHyK4oWoIJQ==",
3168
- "license": "MIT",
3169
- "optional": true,
3170
- "dependencies": {
3171
- "@emnapi/core": "^1.4.3",
3172
- "@emnapi/runtime": "^1.4.3",
3173
- "@tybys/wasm-util": "^0.10.0"
3174
- }
3175
- },
3176
3133
  "node_modules/@nicolo-ribaudo/chokidar-2": {
3177
3134
  "version": "2.1.8-no-fsevents.3",
3178
3135
  "resolved": "https://registry.npmjs.org/@nicolo-ribaudo/chokidar-2/-/chokidar-2-2.1.8-no-fsevents.3.tgz",
@@ -3404,16 +3361,6 @@
3404
3361
  "yarn": ">=1"
3405
3362
  }
3406
3363
  },
3407
- "node_modules/@tybys/wasm-util": {
3408
- "version": "0.10.1",
3409
- "resolved": "https://registry.npmjs.org/@tybys/wasm-util/-/wasm-util-0.10.1.tgz",
3410
- "integrity": "sha512-9tTaPJLSiejZKx+Bmog4uSubteqTvFrVrURwkmHixBo0G4seD0zUxp98E1DzUBJxLQ3NPwXrGKDiVjwx/DpPsg==",
3411
- "license": "MIT",
3412
- "optional": true,
3413
- "dependencies": {
3414
- "tslib": "^2.4.0"
3415
- }
3416
- },
3417
3364
  "node_modules/@types/babel__core": {
3418
3365
  "version": "7.20.5",
3419
3366
  "resolved": "https://registry.npmjs.org/@types/babel__core/-/babel__core-7.20.5.tgz",
@@ -3565,32 +3512,6 @@
3565
3512
  "integrity": "sha512-WmoN8qaIAo7WTYWbAZuG8PYEhn5fkz7dZrqTBZ7dtt//lL2Gwms1IcnQ5yHqjDfX8Ft5j4YzDM23f87zBfDe9g==",
3566
3513
  "license": "ISC"
3567
3514
  },
3568
- "node_modules/@unrs/resolver-binding-android-arm-eabi": {
3569
- "version": "1.11.1",
3570
- "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-android-arm-eabi/-/resolver-binding-android-arm-eabi-1.11.1.tgz",
3571
- "integrity": "sha512-ppLRUgHVaGRWUx0R0Ut06Mjo9gBaBkg3v/8AxusGLhsIotbBLuRk51rAzqLC8gq6NyyAojEXglNjzf6R948DNw==",
3572
- "cpu": [
3573
- "arm"
3574
- ],
3575
- "license": "MIT",
3576
- "optional": true,
3577
- "os": [
3578
- "android"
3579
- ]
3580
- },
3581
- "node_modules/@unrs/resolver-binding-android-arm64": {
3582
- "version": "1.11.1",
3583
- "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-android-arm64/-/resolver-binding-android-arm64-1.11.1.tgz",
3584
- "integrity": "sha512-lCxkVtb4wp1v+EoN+HjIG9cIIzPkX5OtM03pQYkG+U5O/wL53LC4QbIeazgiKqluGeVEeBlZahHalCaBvU1a2g==",
3585
- "cpu": [
3586
- "arm64"
3587
- ],
3588
- "license": "MIT",
3589
- "optional": true,
3590
- "os": [
3591
- "android"
3592
- ]
3593
- },
3594
3515
  "node_modules/@unrs/resolver-binding-darwin-arm64": {
3595
3516
  "version": "1.11.1",
3596
3517
  "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-darwin-arm64/-/resolver-binding-darwin-arm64-1.11.1.tgz",
@@ -3604,221 +3525,10 @@
3604
3525
  "darwin"
3605
3526
  ]
3606
3527
  },
3607
- "node_modules/@unrs/resolver-binding-darwin-x64": {
3608
- "version": "1.11.1",
3609
- "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-darwin-x64/-/resolver-binding-darwin-x64-1.11.1.tgz",
3610
- "integrity": "sha512-cFzP7rWKd3lZaCsDze07QX1SC24lO8mPty9vdP+YVa3MGdVgPmFc59317b2ioXtgCMKGiCLxJ4HQs62oz6GfRQ==",
3611
- "cpu": [
3612
- "x64"
3613
- ],
3614
- "license": "MIT",
3615
- "optional": true,
3616
- "os": [
3617
- "darwin"
3618
- ]
3619
- },
3620
- "node_modules/@unrs/resolver-binding-freebsd-x64": {
3621
- "version": "1.11.1",
3622
- "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-freebsd-x64/-/resolver-binding-freebsd-x64-1.11.1.tgz",
3623
- "integrity": "sha512-fqtGgak3zX4DCB6PFpsH5+Kmt/8CIi4Bry4rb1ho6Av2QHTREM+47y282Uqiu3ZRF5IQioJQ5qWRV6jduA+iGw==",
3624
- "cpu": [
3625
- "x64"
3626
- ],
3627
- "license": "MIT",
3628
- "optional": true,
3629
- "os": [
3630
- "freebsd"
3631
- ]
3632
- },
3633
- "node_modules/@unrs/resolver-binding-linux-arm-gnueabihf": {
3634
- "version": "1.11.1",
3635
- "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-linux-arm-gnueabihf/-/resolver-binding-linux-arm-gnueabihf-1.11.1.tgz",
3636
- "integrity": "sha512-u92mvlcYtp9MRKmP+ZvMmtPN34+/3lMHlyMj7wXJDeXxuM0Vgzz0+PPJNsro1m3IZPYChIkn944wW8TYgGKFHw==",
3637
- "cpu": [
3638
- "arm"
3639
- ],
3640
- "license": "MIT",
3641
- "optional": true,
3642
- "os": [
3643
- "linux"
3644
- ]
3645
- },
3646
- "node_modules/@unrs/resolver-binding-linux-arm-musleabihf": {
3647
- "version": "1.11.1",
3648
- "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-linux-arm-musleabihf/-/resolver-binding-linux-arm-musleabihf-1.11.1.tgz",
3649
- "integrity": "sha512-cINaoY2z7LVCrfHkIcmvj7osTOtm6VVT16b5oQdS4beibX2SYBwgYLmqhBjA1t51CarSaBuX5YNsWLjsqfW5Cw==",
3650
- "cpu": [
3651
- "arm"
3652
- ],
3653
- "license": "MIT",
3654
- "optional": true,
3655
- "os": [
3656
- "linux"
3657
- ]
3658
- },
3659
- "node_modules/@unrs/resolver-binding-linux-arm64-gnu": {
3660
- "version": "1.11.1",
3661
- "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-linux-arm64-gnu/-/resolver-binding-linux-arm64-gnu-1.11.1.tgz",
3662
- "integrity": "sha512-34gw7PjDGB9JgePJEmhEqBhWvCiiWCuXsL9hYphDF7crW7UgI05gyBAi6MF58uGcMOiOqSJ2ybEeCvHcq0BCmQ==",
3663
- "cpu": [
3664
- "arm64"
3665
- ],
3666
- "license": "MIT",
3667
- "optional": true,
3668
- "os": [
3669
- "linux"
3670
- ]
3671
- },
3672
- "node_modules/@unrs/resolver-binding-linux-arm64-musl": {
3673
- "version": "1.11.1",
3674
- "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-linux-arm64-musl/-/resolver-binding-linux-arm64-musl-1.11.1.tgz",
3675
- "integrity": "sha512-RyMIx6Uf53hhOtJDIamSbTskA99sPHS96wxVE/bJtePJJtpdKGXO1wY90oRdXuYOGOTuqjT8ACccMc4K6QmT3w==",
3676
- "cpu": [
3677
- "arm64"
3678
- ],
3679
- "license": "MIT",
3680
- "optional": true,
3681
- "os": [
3682
- "linux"
3683
- ]
3684
- },
3685
- "node_modules/@unrs/resolver-binding-linux-ppc64-gnu": {
3686
- "version": "1.11.1",
3687
- "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-linux-ppc64-gnu/-/resolver-binding-linux-ppc64-gnu-1.11.1.tgz",
3688
- "integrity": "sha512-D8Vae74A4/a+mZH0FbOkFJL9DSK2R6TFPC9M+jCWYia/q2einCubX10pecpDiTmkJVUH+y8K3BZClycD8nCShA==",
3689
- "cpu": [
3690
- "ppc64"
3691
- ],
3692
- "license": "MIT",
3693
- "optional": true,
3694
- "os": [
3695
- "linux"
3696
- ]
3697
- },
3698
- "node_modules/@unrs/resolver-binding-linux-riscv64-gnu": {
3699
- "version": "1.11.1",
3700
- "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-linux-riscv64-gnu/-/resolver-binding-linux-riscv64-gnu-1.11.1.tgz",
3701
- "integrity": "sha512-frxL4OrzOWVVsOc96+V3aqTIQl1O2TjgExV4EKgRY09AJ9leZpEg8Ak9phadbuX0BA4k8U5qtvMSQQGGmaJqcQ==",
3702
- "cpu": [
3703
- "riscv64"
3704
- ],
3705
- "license": "MIT",
3706
- "optional": true,
3707
- "os": [
3708
- "linux"
3709
- ]
3710
- },
3711
- "node_modules/@unrs/resolver-binding-linux-riscv64-musl": {
3712
- "version": "1.11.1",
3713
- "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-linux-riscv64-musl/-/resolver-binding-linux-riscv64-musl-1.11.1.tgz",
3714
- "integrity": "sha512-mJ5vuDaIZ+l/acv01sHoXfpnyrNKOk/3aDoEdLO/Xtn9HuZlDD6jKxHlkN8ZhWyLJsRBxfv9GYM2utQ1SChKew==",
3715
- "cpu": [
3716
- "riscv64"
3717
- ],
3718
- "license": "MIT",
3719
- "optional": true,
3720
- "os": [
3721
- "linux"
3722
- ]
3723
- },
3724
- "node_modules/@unrs/resolver-binding-linux-s390x-gnu": {
3725
- "version": "1.11.1",
3726
- "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-linux-s390x-gnu/-/resolver-binding-linux-s390x-gnu-1.11.1.tgz",
3727
- "integrity": "sha512-kELo8ebBVtb9sA7rMe1Cph4QHreByhaZ2QEADd9NzIQsYNQpt9UkM9iqr2lhGr5afh885d/cB5QeTXSbZHTYPg==",
3728
- "cpu": [
3729
- "s390x"
3730
- ],
3731
- "license": "MIT",
3732
- "optional": true,
3733
- "os": [
3734
- "linux"
3735
- ]
3736
- },
3737
- "node_modules/@unrs/resolver-binding-linux-x64-gnu": {
3738
- "version": "1.11.1",
3739
- "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-linux-x64-gnu/-/resolver-binding-linux-x64-gnu-1.11.1.tgz",
3740
- "integrity": "sha512-C3ZAHugKgovV5YvAMsxhq0gtXuwESUKc5MhEtjBpLoHPLYM+iuwSj3lflFwK3DPm68660rZ7G8BMcwSro7hD5w==",
3741
- "cpu": [
3742
- "x64"
3743
- ],
3744
- "license": "MIT",
3745
- "optional": true,
3746
- "os": [
3747
- "linux"
3748
- ]
3749
- },
3750
- "node_modules/@unrs/resolver-binding-linux-x64-musl": {
3751
- "version": "1.11.1",
3752
- "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-linux-x64-musl/-/resolver-binding-linux-x64-musl-1.11.1.tgz",
3753
- "integrity": "sha512-rV0YSoyhK2nZ4vEswT/QwqzqQXw5I6CjoaYMOX0TqBlWhojUf8P94mvI7nuJTeaCkkds3QE4+zS8Ko+GdXuZtA==",
3754
- "cpu": [
3755
- "x64"
3756
- ],
3757
- "license": "MIT",
3758
- "optional": true,
3759
- "os": [
3760
- "linux"
3761
- ]
3762
- },
3763
- "node_modules/@unrs/resolver-binding-wasm32-wasi": {
3764
- "version": "1.11.1",
3765
- "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-wasm32-wasi/-/resolver-binding-wasm32-wasi-1.11.1.tgz",
3766
- "integrity": "sha512-5u4RkfxJm+Ng7IWgkzi3qrFOvLvQYnPBmjmZQ8+szTK/b31fQCnleNl1GgEt7nIsZRIf5PLhPwT0WM+q45x/UQ==",
3767
- "cpu": [
3768
- "wasm32"
3769
- ],
3770
- "license": "MIT",
3771
- "optional": true,
3772
- "dependencies": {
3773
- "@napi-rs/wasm-runtime": "^0.2.11"
3774
- },
3775
- "engines": {
3776
- "node": ">=14.0.0"
3777
- }
3778
- },
3779
- "node_modules/@unrs/resolver-binding-win32-arm64-msvc": {
3780
- "version": "1.11.1",
3781
- "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-win32-arm64-msvc/-/resolver-binding-win32-arm64-msvc-1.11.1.tgz",
3782
- "integrity": "sha512-nRcz5Il4ln0kMhfL8S3hLkxI85BXs3o8EYoattsJNdsX4YUU89iOkVn7g0VHSRxFuVMdM4Q1jEpIId1Ihim/Uw==",
3783
- "cpu": [
3784
- "arm64"
3785
- ],
3786
- "license": "MIT",
3787
- "optional": true,
3788
- "os": [
3789
- "win32"
3790
- ]
3791
- },
3792
- "node_modules/@unrs/resolver-binding-win32-ia32-msvc": {
3793
- "version": "1.11.1",
3794
- "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-win32-ia32-msvc/-/resolver-binding-win32-ia32-msvc-1.11.1.tgz",
3795
- "integrity": "sha512-DCEI6t5i1NmAZp6pFonpD5m7i6aFrpofcp4LA2i8IIq60Jyo28hamKBxNrZcyOwVOZkgsRp9O2sXWBWP8MnvIQ==",
3796
- "cpu": [
3797
- "ia32"
3798
- ],
3799
- "license": "MIT",
3800
- "optional": true,
3801
- "os": [
3802
- "win32"
3803
- ]
3804
- },
3805
- "node_modules/@unrs/resolver-binding-win32-x64-msvc": {
3806
- "version": "1.11.1",
3807
- "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-win32-x64-msvc/-/resolver-binding-win32-x64-msvc-1.11.1.tgz",
3808
- "integrity": "sha512-lrW200hZdbfRtztbygyaq/6jP6AKE8qQN2KvPcJ+x7wiD038YtnYtZ82IMNJ69GJibV7bwL3y9FgK+5w/pYt6g==",
3809
- "cpu": [
3810
- "x64"
3811
- ],
3812
- "license": "MIT",
3813
- "optional": true,
3814
- "os": [
3815
- "win32"
3816
- ]
3817
- },
3818
3528
  "node_modules/@zohodesk/unit-testing-framework": {
3819
- "version": "0.0.13-experimental",
3820
- "resolved": "https://registry.npmjs.org/@zohodesk/unit-testing-framework/-/unit-testing-framework-0.0.13-experimental.tgz",
3821
- "integrity": "sha512-Zi8Dxgcuwm28nEAUZCY6U0VxjiBxBQCN7vI7N67NyFqNJMPxWkL8galOLM0LDKAyUYXFC49Dg1FO7Gs4rg2fUQ==",
3529
+ "version": "0.0.20-experimental",
3530
+ "resolved": "https://registry.npmjs.org/@zohodesk/unit-testing-framework/-/unit-testing-framework-0.0.20-experimental.tgz",
3531
+ "integrity": "sha512-Y6P7Qd+oPzjAChxrZgH5pVHlIof56nOmTy2w8MbL4WsC8ZuzNuQAXnQEO6KkK1ZA6GT3IDqJo9n2fEqRGr/0sQ==",
3822
3532
  "license": "MIT",
3823
3533
  "dependencies": {
3824
3534
  "@babel/core": "7.29.0",
@@ -9760,13 +9470,6 @@
9760
9470
  "node": ">=18"
9761
9471
  }
9762
9472
  },
9763
- "node_modules/tslib": {
9764
- "version": "2.8.1",
9765
- "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz",
9766
- "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==",
9767
- "license": "0BSD",
9768
- "optional": true
9769
- },
9770
9473
  "node_modules/type-check": {
9771
9474
  "version": "0.4.0",
9772
9475
  "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zohodesk/testinglibrary",
3
- "version": "0.0.36-n20-experimental",
3
+ "version": "0.0.38-n20-experimental",
4
4
  "main": "./build/index.js",
5
5
  "scripts": {
6
6
  "postinstall": "node bin/postinstall.js",
@@ -26,7 +26,7 @@
26
26
  "@playwright/test": "1.56.1",
27
27
  "@reportportal/agent-js-playwright": "5.2.2",
28
28
  "@testing-library/jest-dom": "6.9.1",
29
- "@zohodesk/unit-testing-framework": "0.0.13-experimental",
29
+ "@zohodesk/unit-testing-framework": "0.0.20-experimental",
30
30
  "babel-jest": "30.2.0",
31
31
  "babel-plugin-transform-dynamic-import": "2.1.0",
32
32
  "fast-glob": "3.3.3",
@@ -0,0 +1,277 @@
1
+ <html><head><meta charset="utf-8"/><title>Unit Report</title><style type="text/css">:root {
2
+ --text-primary: #111;
3
+ --text-secondary: #4f4f4f;
4
+ --success: #006633;
5
+ --success-bright: #80ffbf;
6
+ --danger: #cc071e;
7
+ --danger-bright: #fbdfe0;
8
+ --warning: #995c00;
9
+ --warning-bright: #ffeea8;
10
+ --panel: #eee;
11
+ --border: #949494;
12
+ --disabled: #6b6b6b;
13
+ }
14
+
15
+ html,
16
+ body {
17
+ font-family: Arial, Helvetica, sans-serif;
18
+ font-size: 16px;
19
+ margin: 0;
20
+ padding: 0;
21
+ color: var(--text-primary);
22
+ }
23
+ body {
24
+ padding: 2rem 1rem;
25
+ }
26
+ .jesthtml-content {
27
+ margin: 0 auto;
28
+ max-width: 70rem;
29
+ }
30
+ header {
31
+ display: flex;
32
+ align-items: center;
33
+ }
34
+ #title {
35
+ margin: 0;
36
+ flex-grow: 1;
37
+ }
38
+ #logo {
39
+ height: 4rem;
40
+ }
41
+ #timestamp {
42
+ color: var(--text-secondary);
43
+ margin-top: 0.5rem;
44
+ }
45
+
46
+ #metadata-container {
47
+ display: flex;
48
+ flex-direction: column;
49
+ gap: 2rem;
50
+ margin-bottom: 2rem;
51
+ }
52
+
53
+ .additional-information-container {
54
+ display: flex;
55
+ flex-direction: column;
56
+ gap: 0.5rem;
57
+ color: var(--text-secondary);
58
+ }
59
+
60
+ /** SUMMARY */
61
+ #summary {
62
+ color: var(--text-primary);
63
+ display: flex;
64
+ font-family: monospace;
65
+ font-size: 1rem;
66
+ }
67
+ #summary > div {
68
+ margin-right: 0.5rem;
69
+ background: var(--panel);
70
+ padding: 1rem;
71
+ min-width: 15rem;
72
+ }
73
+ #summary > div:last-child {
74
+ margin-right: 0;
75
+ }
76
+ @media only screen and (max-width: 720px) {
77
+ #summary {
78
+ flex-direction: column;
79
+ }
80
+ #summary > div {
81
+ margin-right: 0;
82
+ margin-top: 1rem;
83
+ }
84
+ #summary > div:first-child {
85
+ margin-top: 0;
86
+ }
87
+ }
88
+
89
+ .summary-total {
90
+ font-weight: bold;
91
+ margin-bottom: 0.5rem;
92
+ }
93
+ .summary-passed {
94
+ color: var(--success);
95
+ border-left: 0.4rem solid var(--success);
96
+ padding-left: 0.5rem;
97
+ margin-bottom: 0.15rem;
98
+ }
99
+ .summary-failed,
100
+ .summary-obsolete-snapshots {
101
+ color: var(--danger);
102
+ border-left: 0.4rem solid var(--danger);
103
+ padding-left: 0.5rem;
104
+ margin-bottom: 0.15rem;
105
+ }
106
+ .summary-pending {
107
+ color: var(--warning);
108
+ border-left: 0.4rem solid var(--warning);
109
+ padding-left: 0.5rem;
110
+ margin-bottom: 0.15rem;
111
+ }
112
+ .summary-empty {
113
+ color: var(--disabled);
114
+ border-left: 0.4rem solid var(--disabled);
115
+ margin-bottom: 0.15rem;
116
+ }
117
+
118
+ .test-result {
119
+ padding: 1rem;
120
+ margin-bottom: 0.25rem;
121
+ }
122
+ .test-result:last-child {
123
+ border: 0;
124
+ }
125
+ .test-result.passed {
126
+ background-color: var(--success-bright);
127
+ color: var(--success);
128
+ }
129
+ .test-result.failed {
130
+ background-color: var(--danger-bright);
131
+ color: var(--danger);
132
+ }
133
+ .test-result.pending {
134
+ background-color: var(--warning-bright);
135
+ color: var(--warning);
136
+ }
137
+
138
+ .test-info {
139
+ display: flex;
140
+ justify-content: space-between;
141
+ }
142
+ .test-suitename {
143
+ width: 20%;
144
+ text-align: left;
145
+ font-weight: bold;
146
+ word-break: break-word;
147
+ }
148
+ .test-title {
149
+ width: 40%;
150
+ text-align: left;
151
+ font-style: italic;
152
+ }
153
+ .test-status {
154
+ width: 20%;
155
+ text-align: right;
156
+ }
157
+ .test-duration {
158
+ width: 10%;
159
+ text-align: right;
160
+ font-size: 0.85rem;
161
+ }
162
+
163
+ .failureMessages {
164
+ padding: 0 1rem;
165
+ margin-top: 1rem;
166
+ border-top: 1px dashed var(--danger);
167
+ }
168
+ .failureMessages.suiteFailure {
169
+ border-top: none;
170
+ }
171
+ .failureMsg {
172
+ white-space: pre-wrap;
173
+ white-space: -moz-pre-wrap;
174
+ white-space: -pre-wrap;
175
+ white-space: -o-pre-wrap;
176
+ word-wrap: break-word;
177
+ }
178
+
179
+ .suite-container {
180
+ margin-bottom: 1rem;
181
+ }
182
+ .suite-info {
183
+ padding: 1rem;
184
+ background-color: var(--panel);
185
+ color: var(--text-secondary);
186
+ border: 0.15rem solid;
187
+ border-color: var(--panel);
188
+ display: flex;
189
+ align-items: center;
190
+ margin-bottom: 0.25rem;
191
+ }
192
+ .suite-info:hover {
193
+ border-color: var(--border);
194
+ cursor: pointer;
195
+ }
196
+ .suite-info .suite-path {
197
+ word-break: break-all;
198
+ flex-grow: 1;
199
+ font-family: monospace;
200
+ font-size: 1rem;
201
+ }
202
+ .suite-info .suite-time {
203
+ margin-left: 1rem;
204
+ padding: 0.2rem 0.3rem;
205
+ font-size: 0.85rem;
206
+ }
207
+ .suite-info .suite-time.warn {
208
+ background-color: var(--danger);
209
+ color: #fff;
210
+ }
211
+ .suite-info:before {
212
+ content: "\2303";
213
+ display: inline-block;
214
+ margin-right: 1rem;
215
+ transform: rotate(180deg) translateY(0.15rem);
216
+ }
217
+ .suite-container[open] .suite-info:before {
218
+ transform: rotate(0deg) translateY(0.15rem);
219
+ }
220
+
221
+ /* CONSOLE LOGS */
222
+ .suite-consolelog {
223
+ margin-bottom: 0.25rem;
224
+ padding: 1rem;
225
+ background-color: var(--panel);
226
+ }
227
+ .suite-consolelog-header {
228
+ font-weight: bold;
229
+ }
230
+ .suite-consolelog-item {
231
+ padding: 0.5rem;
232
+ }
233
+ .suite-consolelog-item pre {
234
+ margin: 0.5rem 0;
235
+ white-space: pre-wrap;
236
+ white-space: -moz-pre-wrap;
237
+ white-space: -pre-wrap;
238
+ white-space: -o-pre-wrap;
239
+ word-wrap: break-word;
240
+ }
241
+ .suite-consolelog-item-origin {
242
+ color: var(--text-secondary);
243
+ font-weight: bold;
244
+ }
245
+ .suite-consolelog-item-message {
246
+ color: var(--text-primary);
247
+ font-size: 1rem;
248
+ padding: 0 0.5rem;
249
+ }
250
+
251
+ /* OBSOLETE SNAPSHOTS */
252
+ .suite-obsolete-snapshots {
253
+ margin-bottom: 0.25rem;
254
+ padding: 1rem;
255
+ background-color: var(--danger-bright);
256
+ color: var(--danger);
257
+ }
258
+ .suite-obsolete-snapshots-header {
259
+ font-weight: bold;
260
+ }
261
+ .suite-obsolete-snapshots-item {
262
+ padding: 0.5rem;
263
+ }
264
+ .suite-obsolete-snapshots-item pre {
265
+ margin: 0.5rem 0;
266
+ white-space: pre-wrap;
267
+ white-space: -moz-pre-wrap;
268
+ white-space: -pre-wrap;
269
+ white-space: -o-pre-wrap;
270
+ word-wrap: break-word;
271
+ }
272
+ .suite-obsolete-snapshots-item-message {
273
+ color: var(--text-primary);
274
+ font-size: 1rem;
275
+ padding: 0 0.5rem;
276
+ }
277
+ </style></head><body><main class="jesthtml-content"><header><h1 id="title">Unit Report</h1></header><section id="metadata-container"><div id="timestamp">Started: 2026-02-26 16:05:28</div><div id="summary"><div id="suite-summary"><div class="summary-total">Suites (1)</div><div class="summary-passed ">1 passed</div><div class="summary-failed summary-empty">0 failed</div><div class="summary-pending summary-empty">0 pending</div></div><div id="test-summary"><div class="summary-total">Tests (3)</div><div class="summary-passed ">3 passed</div><div class="summary-failed summary-empty">0 failed</div><div class="summary-pending summary-empty">0 pending</div></div></div></section><details id="suite-1" class="suite-container" open=""><summary class="suite-info"><div class="suite-path">/Users/muthu-19817/git/testing-framework/src/test/core/playwright/helpers/__tests__/customFixturesHelper.test.js</div><div class="suite-time">0.176s</div></summary><div class="suite-tests"><div class="test-result passed"><div class="test-info"><div class="test-suitename">getCustomAccountDetails</div><div class="test-title">returns selected user when any tag info is present</div><div class="test-status">passed</div><div class="test-duration">0.002s</div></div></div><div class="test-result passed"><div class="test-info"><div class="test-suitename">getCustomAccountDetails</div><div class="test-title">logs and returns undefined if getCustomAccountDetails function throws</div><div class="test-status">passed</div><div class="test-duration"> </div></div></div><div class="test-result passed"><div class="test-info"><div class="test-suitename">getCustomAccountDetails</div><div class="test-title">returns default actor when no tag info is not provided</div><div class="test-status">passed</div><div class="test-duration"> </div></div></div></div></details></main></body></html>