@futdevpro/dynamo-e2e 1.18.10 → 1.18.12
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/CHANGELOG.md +20 -3
- package/LICENSE +21 -0
- package/README.md +3 -0
- package/build/_modules/contracts/_models/interfaces/form-test-suite-settings.interface.d.ts +8 -0
- package/build/_modules/contracts/_models/interfaces/form-test-suite-settings.interface.d.ts.map +1 -1
- package/build/_modules/cwv/_collections/cwv-diagnose.util.d.ts +13 -0
- package/build/_modules/cwv/_collections/cwv-diagnose.util.d.ts.map +1 -1
- package/build/_modules/cwv/_collections/cwv-diagnose.util.js +45 -1
- package/build/_modules/cwv/_collections/cwv-diagnose.util.js.map +1 -1
- package/build/_modules/cwv/_collections/web-vitals-page-script.const.d.ts.map +1 -1
- package/build/_modules/cwv/_collections/web-vitals-page-script.const.js +17 -1
- package/build/_modules/cwv/_collections/web-vitals-page-script.const.js.map +1 -1
- package/build/_modules/game/_models/game-contracts.interface.d.ts +82 -0
- package/build/_modules/game/_models/game-contracts.interface.d.ts.map +1 -0
- package/build/_modules/game/_models/game-contracts.interface.js +3 -0
- package/build/_modules/game/_models/game-contracts.interface.js.map +1 -0
- package/build/_modules/game/game-seam.helper.d.ts +40 -0
- package/build/_modules/game/game-seam.helper.d.ts.map +1 -0
- package/build/_modules/game/game-seam.helper.js +254 -0
- package/build/_modules/game/game-seam.helper.js.map +1 -0
- package/build/_modules/game/index.d.ts +4 -0
- package/build/_modules/game/index.d.ts.map +1 -0
- package/build/_modules/game/index.js +20 -0
- package/build/_modules/game/index.js.map +1 -0
- package/build/_modules/game/journey-catalog.validator.d.ts +5 -0
- package/build/_modules/game/journey-catalog.validator.d.ts.map +1 -0
- package/build/_modules/game/journey-catalog.validator.js +244 -0
- package/build/_modules/game/journey-catalog.validator.js.map +1 -0
- package/build/_modules/generators/_collections/cli-runner.util.d.ts.map +1 -1
- package/build/_modules/generators/_collections/cli-runner.util.js +28 -0
- package/build/_modules/generators/_collections/cli-runner.util.js.map +1 -1
- package/build/_modules/generators/_collections/field-emission.util.d.ts.map +1 -1
- package/build/_modules/generators/_collections/field-emission.util.js +51 -7
- package/build/_modules/generators/_collections/field-emission.util.js.map +1 -1
- package/build/_modules/generators/_collections/form-level-emission.util.d.ts.map +1 -1
- package/build/_modules/generators/_collections/form-level-emission.util.js +8 -0
- package/build/_modules/generators/_collections/form-level-emission.util.js.map +1 -1
- package/build/_modules/generators/_models/form-settings-shape.interface.d.ts +21 -0
- package/build/_modules/generators/_models/form-settings-shape.interface.d.ts.map +1 -1
- package/build/_modules/generators/form-suite.generator.d.ts +5 -0
- package/build/_modules/generators/form-suite.generator.d.ts.map +1 -1
- package/build/_modules/generators/form-suite.generator.js +53 -5
- package/build/_modules/generators/form-suite.generator.js.map +1 -1
- package/build/_modules/presets/_collections/playwright-config.factory.d.ts.map +1 -1
- package/build/_modules/presets/_collections/playwright-config.factory.js +6 -0
- package/build/_modules/presets/_collections/playwright-config.factory.js.map +1 -1
- package/build/_modules/presets/_models/interfaces/playwright-config-options.interface.d.ts +4 -0
- package/build/_modules/presets/_models/interfaces/playwright-config-options.interface.d.ts.map +1 -1
- package/build/_modules/vqa/_collections/utils/deterministic-finding.util.d.ts +2 -1
- package/build/_modules/vqa/_collections/utils/deterministic-finding.util.d.ts.map +1 -1
- package/build/_modules/vqa/_collections/utils/deterministic-finding.util.js.map +1 -1
- package/build/_modules/vqa/_models/interfaces/feature-manifest.interface.d.ts +29 -2
- package/build/_modules/vqa/_models/interfaces/feature-manifest.interface.d.ts.map +1 -1
- package/build/_modules/vqa/_models/interfaces/finding.interface.d.ts +2 -1
- package/build/_modules/vqa/_models/interfaces/finding.interface.d.ts.map +1 -1
- package/build/_modules/vqa/generators/ai-agent-readme.template.js +1 -1
- package/build/_modules/vqa/generators/bundle-summary.template.d.ts.map +1 -1
- package/build/_modules/vqa/generators/bundle-summary.template.js +1 -1
- package/build/_modules/vqa/generators/bundle-summary.template.js.map +1 -1
- package/build/_modules/vqa/generators/capture-spec.generator.d.ts +5 -0
- package/build/_modules/vqa/generators/capture-spec.generator.d.ts.map +1 -1
- package/build/_modules/vqa/generators/capture-spec.generator.js +26 -10
- package/build/_modules/vqa/generators/capture-spec.generator.js.map +1 -1
- package/build/_modules/vqa/generators/comparison-bundle.generator.d.ts.map +1 -1
- package/build/_modules/vqa/generators/comparison-bundle.generator.js +1 -1
- package/build/_modules/vqa/generators/comparison-bundle.generator.js.map +1 -1
- package/build/_modules/vqa/generators/review-bundle.generator.d.ts.map +1 -1
- package/build/_modules/vqa/generators/review-bundle.generator.js +2 -2
- package/build/_modules/vqa/generators/review-bundle.generator.js.map +1 -1
- package/build/index.d.ts +1 -0
- package/build/index.d.ts.map +1 -1
- package/build/index.js +2 -1
- package/build/index.js.map +1 -1
- package/package.json +37 -5
- package/.c8rc.json +0 -25
- package/.dynamo/pipeline.cicd.config.json +0 -167
- package/.dynamo/version-bump.config.json +0 -5
- package/.github/workflows/main.yml +0 -35
- package/BUILD.md +0 -36
- package/CONTRIBUTING.md +0 -90
- package/build/_modules/contracts/contracts.spec.d.ts +0 -2
- package/build/_modules/contracts/contracts.spec.d.ts.map +0 -1
- package/build/_modules/contracts/contracts.spec.js +0 -144
- package/build/_modules/contracts/contracts.spec.js.map +0 -1
- package/build/_modules/cwv/cwv-comparison.spec.d.ts +0 -2
- package/build/_modules/cwv/cwv-comparison.spec.d.ts.map +0 -1
- package/build/_modules/cwv/cwv-comparison.spec.js +0 -77
- package/build/_modules/cwv/cwv-comparison.spec.js.map +0 -1
- package/build/_modules/cwv/cwv-diagnose.spec.d.ts +0 -2
- package/build/_modules/cwv/cwv-diagnose.spec.d.ts.map +0 -1
- package/build/_modules/cwv/cwv-diagnose.spec.js +0 -78
- package/build/_modules/cwv/cwv-diagnose.spec.js.map +0 -1
- package/build/_modules/cwv/cwv-suite.generator.spec.d.ts +0 -2
- package/build/_modules/cwv/cwv-suite.generator.spec.d.ts.map +0 -1
- package/build/_modules/cwv/cwv-suite.generator.spec.js +0 -81
- package/build/_modules/cwv/cwv-suite.generator.spec.js.map +0 -1
- package/build/_modules/cwv/cwv-summarize.spec.d.ts +0 -2
- package/build/_modules/cwv/cwv-summarize.spec.d.ts.map +0 -1
- package/build/_modules/cwv/cwv-summarize.spec.js +0 -70
- package/build/_modules/cwv/cwv-summarize.spec.js.map +0 -1
- package/build/_modules/cwv/inp-emit-integration.spec.d.ts +0 -2
- package/build/_modules/cwv/inp-emit-integration.spec.d.ts.map +0 -1
- package/build/_modules/cwv/inp-emit-integration.spec.js +0 -43
- package/build/_modules/cwv/inp-emit-integration.spec.js.map +0 -1
- package/build/_modules/cwv/inp-interaction-driver.spec.d.ts +0 -2
- package/build/_modules/cwv/inp-interaction-driver.spec.d.ts.map +0 -1
- package/build/_modules/cwv/inp-interaction-driver.spec.js +0 -44
- package/build/_modules/cwv/inp-interaction-driver.spec.js.map +0 -1
- package/build/_modules/cwv/inp-script.spec.d.ts +0 -2
- package/build/_modules/cwv/inp-script.spec.d.ts.map +0 -1
- package/build/_modules/cwv/inp-script.spec.js +0 -35
- package/build/_modules/cwv/inp-script.spec.js.map +0 -1
- package/build/_modules/cwv/per-route-thresholds.spec.d.ts +0 -2
- package/build/_modules/cwv/per-route-thresholds.spec.d.ts.map +0 -1
- package/build/_modules/cwv/per-route-thresholds.spec.js +0 -37
- package/build/_modules/cwv/per-route-thresholds.spec.js.map +0 -1
- package/build/_modules/generators/bootstrap.spec.d.ts +0 -2
- package/build/_modules/generators/bootstrap.spec.d.ts.map +0 -1
- package/build/_modules/generators/bootstrap.spec.js +0 -46
- package/build/_modules/generators/bootstrap.spec.js.map +0 -1
- package/build/_modules/generators/cli-runner.spec.d.ts +0 -2
- package/build/_modules/generators/cli-runner.spec.d.ts.map +0 -1
- package/build/_modules/generators/cli-runner.spec.js +0 -93
- package/build/_modules/generators/cli-runner.spec.js.map +0 -1
- package/build/_modules/generators/config-validator.spec.d.ts +0 -2
- package/build/_modules/generators/config-validator.spec.d.ts.map +0 -1
- package/build/_modules/generators/config-validator.spec.js +0 -115
- package/build/_modules/generators/config-validator.spec.js.map +0 -1
- package/build/_modules/generators/doctor.spec.d.ts +0 -2
- package/build/_modules/generators/doctor.spec.d.ts.map +0 -1
- package/build/_modules/generators/doctor.spec.js +0 -68
- package/build/_modules/generators/doctor.spec.js.map +0 -1
- package/build/_modules/generators/field-emission-edge.spec.d.ts +0 -2
- package/build/_modules/generators/field-emission-edge.spec.d.ts.map +0 -1
- package/build/_modules/generators/field-emission-edge.spec.js +0 -164
- package/build/_modules/generators/field-emission-edge.spec.js.map +0 -1
- package/build/_modules/generators/form-suite.generator.spec.d.ts +0 -2
- package/build/_modules/generators/form-suite.generator.spec.d.ts.map +0 -1
- package/build/_modules/generators/form-suite.generator.spec.js +0 -188
- package/build/_modules/generators/form-suite.generator.spec.js.map +0 -1
- package/build/_modules/generators/info.spec.d.ts +0 -2
- package/build/_modules/generators/info.spec.d.ts.map +0 -1
- package/build/_modules/generators/info.spec.js +0 -42
- package/build/_modules/generators/info.spec.js.map +0 -1
- package/build/_modules/generators/json-schema.spec.d.ts +0 -2
- package/build/_modules/generators/json-schema.spec.d.ts.map +0 -1
- package/build/_modules/generators/json-schema.spec.js +0 -81
- package/build/_modules/generators/json-schema.spec.js.map +0 -1
- package/build/_modules/generators/preset-configs.spec.d.ts +0 -2
- package/build/_modules/generators/preset-configs.spec.d.ts.map +0 -1
- package/build/_modules/generators/preset-configs.spec.js +0 -53
- package/build/_modules/generators/preset-configs.spec.js.map +0 -1
- package/build/_modules/generators/test-case-filter-edge.spec.d.ts +0 -2
- package/build/_modules/generators/test-case-filter-edge.spec.d.ts.map +0 -1
- package/build/_modules/generators/test-case-filter-edge.spec.js +0 -105
- package/build/_modules/generators/test-case-filter-edge.spec.js.map +0 -1
- package/build/_modules/generators/viewport-suite.generator.spec.d.ts +0 -2
- package/build/_modules/generators/viewport-suite.generator.spec.d.ts.map +0 -1
- package/build/_modules/generators/viewport-suite.generator.spec.js +0 -59
- package/build/_modules/generators/viewport-suite.generator.spec.js.map +0 -1
- package/build/_modules/generators/wave-2b-emission.spec.d.ts +0 -2
- package/build/_modules/generators/wave-2b-emission.spec.d.ts.map +0 -1
- package/build/_modules/generators/wave-2b-emission.spec.js +0 -115
- package/build/_modules/generators/wave-2b-emission.spec.js.map +0 -1
- package/build/_modules/presets/presets.spec.d.ts +0 -2
- package/build/_modules/presets/presets.spec.d.ts.map +0 -1
- package/build/_modules/presets/presets.spec.js +0 -286
- package/build/_modules/presets/presets.spec.js.map +0 -1
- package/build/_modules/runtime/assertion-helpers.spec.d.ts +0 -2
- package/build/_modules/runtime/assertion-helpers.spec.d.ts.map +0 -1
- package/build/_modules/runtime/assertion-helpers.spec.js +0 -57
- package/build/_modules/runtime/assertion-helpers.spec.js.map +0 -1
- package/build/_modules/runtime/logger.service.spec.d.ts +0 -2
- package/build/_modules/runtime/logger.service.spec.d.ts.map +0 -1
- package/build/_modules/runtime/logger.service.spec.js +0 -61
- package/build/_modules/runtime/logger.service.spec.js.map +0 -1
- package/build/_modules/runtime/login-flow-helper.spec.d.ts +0 -2
- package/build/_modules/runtime/login-flow-helper.spec.d.ts.map +0 -1
- package/build/_modules/runtime/login-flow-helper.spec.js +0 -74
- package/build/_modules/runtime/login-flow-helper.spec.js.map +0 -1
- package/build/_modules/runtime/page-objects.spec.d.ts +0 -2
- package/build/_modules/runtime/page-objects.spec.d.ts.map +0 -1
- package/build/_modules/runtime/page-objects.spec.js +0 -241
- package/build/_modules/runtime/page-objects.spec.js.map +0 -1
- package/build/_modules/runtime/runtime.spec.d.ts +0 -2
- package/build/_modules/runtime/runtime.spec.d.ts.map +0 -1
- package/build/_modules/runtime/runtime.spec.js +0 -73
- package/build/_modules/runtime/runtime.spec.js.map +0 -1
- package/build/_modules/runtime/unique-generator.spec.d.ts +0 -2
- package/build/_modules/runtime/unique-generator.spec.d.ts.map +0 -1
- package/build/_modules/runtime/unique-generator.spec.js +0 -41
- package/build/_modules/runtime/unique-generator.spec.js.map +0 -1
- package/build/_modules/runtime/wave-2b-page-objects.spec.d.ts +0 -2
- package/build/_modules/runtime/wave-2b-page-objects.spec.d.ts.map +0 -1
- package/build/_modules/runtime/wave-2b-page-objects.spec.js +0 -130
- package/build/_modules/runtime/wave-2b-page-objects.spec.js.map +0 -1
- package/build/_modules/vqa/capture-spec.generator.spec.d.ts +0 -2
- package/build/_modules/vqa/capture-spec.generator.spec.d.ts.map +0 -1
- package/build/_modules/vqa/capture-spec.generator.spec.js +0 -126
- package/build/_modules/vqa/capture-spec.generator.spec.js.map +0 -1
- package/build/_modules/vqa/comparison-bundle.generator.spec.d.ts +0 -2
- package/build/_modules/vqa/comparison-bundle.generator.spec.d.ts.map +0 -1
- package/build/_modules/vqa/comparison-bundle.generator.spec.js +0 -130
- package/build/_modules/vqa/comparison-bundle.generator.spec.js.map +0 -1
- package/build/_modules/vqa/finding-validator.spec.d.ts +0 -2
- package/build/_modules/vqa/finding-validator.spec.d.ts.map +0 -1
- package/build/_modules/vqa/finding-validator.spec.js +0 -136
- package/build/_modules/vqa/finding-validator.spec.js.map +0 -1
- package/build/_modules/vqa/manifest-validator.spec.d.ts +0 -2
- package/build/_modules/vqa/manifest-validator.spec.d.ts.map +0 -1
- package/build/_modules/vqa/manifest-validator.spec.js +0 -125
- package/build/_modules/vqa/manifest-validator.spec.js.map +0 -1
- package/build/_modules/vqa/review-bundle.generator.spec.d.ts +0 -2
- package/build/_modules/vqa/review-bundle.generator.spec.d.ts.map +0 -1
- package/build/_modules/vqa/review-bundle.generator.spec.js +0 -166
- package/build/_modules/vqa/review-bundle.generator.spec.js.map +0 -1
- package/build/_modules/vqa/wave-7.spec.d.ts +0 -2
- package/build/_modules/vqa/wave-7.spec.d.ts.map +0 -1
- package/build/_modules/vqa/wave-7.spec.js +0 -203
- package/build/_modules/vqa/wave-7.spec.js.map +0 -1
- package/coverage/base.css +0 -224
- package/coverage/block-navigation.js +0 -87
- package/coverage/contracts/_collections/index.html +0 -116
- package/coverage/contracts/_collections/index.ts.html +0 -97
- package/coverage/contracts/_collections/utils/index.html +0 -116
- package/coverage/contracts/_collections/utils/test-id.util.ts.html +0 -172
- package/coverage/contracts/_enums/cwv-metric-type.enum.ts.html +0 -145
- package/coverage/contracts/_enums/field-test-case-type.enum.ts.html +0 -394
- package/coverage/contracts/_enums/index.html +0 -191
- package/coverage/contracts/_enums/index.ts.html +0 -100
- package/coverage/contracts/_enums/standard-viewport.enum.ts.html +0 -127
- package/coverage/contracts/_enums/test-expectation-type.enum.ts.html +0 -133
- package/coverage/contracts/_enums/test-run-mode-type.enum.ts.html +0 -130
- package/coverage/contracts/index.html +0 -116
- package/coverage/contracts/index.ts.html +0 -121
- package/coverage/cwv/_collections/cwv-aggregator.util.ts.html +0 -241
- package/coverage/cwv/_collections/cwv-comparison.util.ts.html +0 -355
- package/coverage/cwv/_collections/cwv-diagnose.util.ts.html +0 -553
- package/coverage/cwv/_collections/cwv-emission.util.ts.html +0 -448
- package/coverage/cwv/_collections/cwv-summarize.util.ts.html +0 -325
- package/coverage/cwv/_collections/index.html +0 -206
- package/coverage/cwv/_collections/inp-interaction-script.const.ts.html +0 -304
- package/coverage/cwv/_collections/web-vitals-page-script.const.ts.html +0 -331
- package/coverage/cwv/cwv-suite.generator.ts.html +0 -277
- package/coverage/cwv/index.html +0 -116
- package/coverage/favicon.png +0 -0
- package/coverage/generators/_collections/cli-runner.util.ts.html +0 -919
- package/coverage/generators/_collections/config-validator.util.ts.html +0 -397
- package/coverage/generators/_collections/field-emission.util.ts.html +0 -604
- package/coverage/generators/_collections/form-level-emission.util.ts.html +0 -220
- package/coverage/generators/_collections/index.html +0 -236
- package/coverage/generators/_collections/json-schema.util.ts.html +0 -652
- package/coverage/generators/_collections/preset-configs.const.ts.html +0 -328
- package/coverage/generators/_collections/spec-emission.util.ts.html +0 -298
- package/coverage/generators/_collections/test-case-filter.util.ts.html +0 -523
- package/coverage/generators/_collections/viewport-emission.util.ts.html +0 -313
- package/coverage/generators/form-suite.generator.ts.html +0 -406
- package/coverage/generators/index.html +0 -131
- package/coverage/generators/viewport-suite.generator.ts.html +0 -307
- package/coverage/index.html +0 -266
- package/coverage/lcov-report/base.css +0 -224
- package/coverage/lcov-report/block-navigation.js +0 -87
- package/coverage/lcov-report/contracts/_collections/index.html +0 -116
- package/coverage/lcov-report/contracts/_collections/index.ts.html +0 -97
- package/coverage/lcov-report/contracts/_collections/utils/index.html +0 -116
- package/coverage/lcov-report/contracts/_collections/utils/test-id.util.ts.html +0 -172
- package/coverage/lcov-report/contracts/_enums/cwv-metric-type.enum.ts.html +0 -145
- package/coverage/lcov-report/contracts/_enums/field-test-case-type.enum.ts.html +0 -394
- package/coverage/lcov-report/contracts/_enums/index.html +0 -191
- package/coverage/lcov-report/contracts/_enums/index.ts.html +0 -100
- package/coverage/lcov-report/contracts/_enums/standard-viewport.enum.ts.html +0 -127
- package/coverage/lcov-report/contracts/_enums/test-expectation-type.enum.ts.html +0 -133
- package/coverage/lcov-report/contracts/_enums/test-run-mode-type.enum.ts.html +0 -130
- package/coverage/lcov-report/contracts/index.html +0 -116
- package/coverage/lcov-report/contracts/index.ts.html +0 -121
- package/coverage/lcov-report/cwv/_collections/cwv-aggregator.util.ts.html +0 -241
- package/coverage/lcov-report/cwv/_collections/cwv-comparison.util.ts.html +0 -355
- package/coverage/lcov-report/cwv/_collections/cwv-diagnose.util.ts.html +0 -553
- package/coverage/lcov-report/cwv/_collections/cwv-emission.util.ts.html +0 -448
- package/coverage/lcov-report/cwv/_collections/cwv-summarize.util.ts.html +0 -325
- package/coverage/lcov-report/cwv/_collections/index.html +0 -206
- package/coverage/lcov-report/cwv/_collections/inp-interaction-script.const.ts.html +0 -304
- package/coverage/lcov-report/cwv/_collections/web-vitals-page-script.const.ts.html +0 -331
- package/coverage/lcov-report/cwv/cwv-suite.generator.ts.html +0 -277
- package/coverage/lcov-report/cwv/index.html +0 -116
- package/coverage/lcov-report/favicon.png +0 -0
- package/coverage/lcov-report/generators/_collections/cli-runner.util.ts.html +0 -919
- package/coverage/lcov-report/generators/_collections/config-validator.util.ts.html +0 -397
- package/coverage/lcov-report/generators/_collections/field-emission.util.ts.html +0 -604
- package/coverage/lcov-report/generators/_collections/form-level-emission.util.ts.html +0 -220
- package/coverage/lcov-report/generators/_collections/index.html +0 -236
- package/coverage/lcov-report/generators/_collections/json-schema.util.ts.html +0 -652
- package/coverage/lcov-report/generators/_collections/preset-configs.const.ts.html +0 -328
- package/coverage/lcov-report/generators/_collections/spec-emission.util.ts.html +0 -298
- package/coverage/lcov-report/generators/_collections/test-case-filter.util.ts.html +0 -523
- package/coverage/lcov-report/generators/_collections/viewport-emission.util.ts.html +0 -313
- package/coverage/lcov-report/generators/form-suite.generator.ts.html +0 -406
- package/coverage/lcov-report/generators/index.html +0 -131
- package/coverage/lcov-report/generators/viewport-suite.generator.ts.html +0 -307
- package/coverage/lcov-report/index.html +0 -266
- package/coverage/lcov-report/prettify.css +0 -1
- package/coverage/lcov-report/prettify.js +0 -2
- package/coverage/lcov-report/runtime/_collections/assertion-helpers.util.ts.html +0 -205
- package/coverage/lcov-report/runtime/_collections/index.html +0 -146
- package/coverage/lcov-report/runtime/_collections/unique-generator.util.ts.html +0 -256
- package/coverage/lcov-report/runtime/_collections/wait-helpers.util.ts.html +0 -238
- package/coverage/lcov-report/runtime/_services/dialog-page-object.ts.html +0 -157
- package/coverage/lcov-report/runtime/_services/field-page-object.ts.html +0 -253
- package/coverage/lcov-report/runtime/_services/form-page-object.ts.html +0 -184
- package/coverage/lcov-report/runtime/_services/index.html +0 -236
- package/coverage/lcov-report/runtime/_services/loader-page-object.ts.html +0 -142
- package/coverage/lcov-report/runtime/_services/logger.service.ts.html +0 -385
- package/coverage/lcov-report/runtime/_services/login-flow-helper.base.ts.html +0 -331
- package/coverage/lcov-report/runtime/_services/nav-page-object.ts.html +0 -145
- package/coverage/lcov-report/runtime/_services/toast-page-object.ts.html +0 -130
- package/coverage/lcov-report/runtime/_services/wave-2b-page-objects.ts.html +0 -397
- package/coverage/lcov-report/runtime/index.html +0 -116
- package/coverage/lcov-report/runtime/index.ts.html +0 -178
- package/coverage/lcov-report/sort-arrow-sprite.png +0 -0
- package/coverage/lcov-report/sorter.js +0 -210
- package/coverage/lcov.info +0 -4047
- package/coverage/prettify.css +0 -1
- package/coverage/prettify.js +0 -2
- package/coverage/runtime/_collections/assertion-helpers.util.ts.html +0 -205
- package/coverage/runtime/_collections/index.html +0 -146
- package/coverage/runtime/_collections/unique-generator.util.ts.html +0 -256
- package/coverage/runtime/_collections/wait-helpers.util.ts.html +0 -238
- package/coverage/runtime/_services/dialog-page-object.ts.html +0 -157
- package/coverage/runtime/_services/field-page-object.ts.html +0 -253
- package/coverage/runtime/_services/form-page-object.ts.html +0 -184
- package/coverage/runtime/_services/index.html +0 -236
- package/coverage/runtime/_services/loader-page-object.ts.html +0 -142
- package/coverage/runtime/_services/logger.service.ts.html +0 -385
- package/coverage/runtime/_services/login-flow-helper.base.ts.html +0 -331
- package/coverage/runtime/_services/nav-page-object.ts.html +0 -145
- package/coverage/runtime/_services/toast-page-object.ts.html +0 -130
- package/coverage/runtime/_services/wave-2b-page-objects.ts.html +0 -397
- package/coverage/runtime/index.html +0 -116
- package/coverage/runtime/index.ts.html +0 -178
- package/coverage/sort-arrow-sprite.png +0 -0
- package/coverage/sorter.js +0 -210
- package/coverage/tmp/coverage-228636-1781075225757-0.json +0 -1
- package/coverage/tmp/coverage-228704-1781075227108-0.json +0 -1
- package/dogfood/PARITY-MATRIX.md +0 -67
- package/dogfood/generated/date-range-field-new.spec.ts +0 -54
- package/dogfood/generated/password-field-new.spec.ts +0 -97
- package/dogfood/generated/radio-select-field-new.spec.ts +0 -69
- package/dogfood/generated/slider-field-new.spec.ts +0 -47
- package/dogfood/generated/text-field-new.spec.ts +0 -0
- package/dogfood/generated-full/checkbox-field-new.spec.ts +0 -56
- package/dogfood/generated-full/date-field-new.spec.ts +0 -71
- package/dogfood/generated-full/date-range-field-new.spec.ts +0 -54
- package/dogfood/generated-full/datetime-field-new.spec.ts +0 -55
- package/dogfood/generated-full/multiselect-field-new.spec.ts +0 -69
- package/dogfood/generated-full/number-field-new.spec.ts +0 -113
- package/dogfood/generated-full/password-field-new.spec.ts +0 -97
- package/dogfood/generated-full/radio-select-field-new.spec.ts +0 -69
- package/dogfood/generated-full/sandbox-viewport-audit.spec.ts +0 -4643
- package/dogfood/generated-full/select-field-new.spec.ts +0 -69
- package/dogfood/generated-full/slider-field-new.spec.ts +0 -47
- package/dogfood/generated-full/slider-range-field-new.spec.ts +0 -54
- package/dogfood/generated-full/text-field-new.spec.ts +0 -0
- package/dogfood/generated-full/textarea-field-new.spec.ts +0 -72
- package/dogfood/sandbox-bootstrap-full.js +0 -248
- package/dogfood/sandbox-bootstrap.js +0 -170
- package/examples/minimal-form/README.md +0 -55
- package/examples/minimal-form/form-config.json +0 -38
- package/examples/multi-form-app/README.md +0 -63
- package/examples/multi-form-app/cwv-config.json +0 -14
- package/examples/multi-form-app/settings/login-form.json +0 -11
- package/examples/multi-form-app/settings/profile-form.json +0 -25
- package/examples/multi-form-app/viewport-config.json +0 -12
- package/logs/cicd-job.json +0 -3
- package/logs/cicd-report.json +0 -3
- package/logs/cicd-status.json +0 -3
|
@@ -1,166 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
-
}) : function(o, v) {
|
|
16
|
-
o["default"] = v;
|
|
17
|
-
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
-
if (mod && mod.__esModule) return mod;
|
|
20
|
-
var result = {};
|
|
21
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
-
__setModuleDefault(result, mod);
|
|
23
|
-
return result;
|
|
24
|
-
};
|
|
25
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
-
const fs = __importStar(require("fs"));
|
|
27
|
-
const path = __importStar(require("path"));
|
|
28
|
-
const os = __importStar(require("os"));
|
|
29
|
-
const review_bundle_generator_1 = require("./generators/review-bundle.generator");
|
|
30
|
-
const visual_state_type_enum_1 = require("./_enums/visual-state-type.enum");
|
|
31
|
-
const vqa_standard_viewports_const_1 = require("./_collections/constants/vqa-standard-viewports.const");
|
|
32
|
-
const ai_agent_readme_template_1 = require("./generators/ai-agent-readme.template");
|
|
33
|
-
const bundle_summary_template_1 = require("./generators/bundle-summary.template");
|
|
34
|
-
describe('DyE2E_VQA_ReviewBundle_Generator', () => {
|
|
35
|
-
let tmpDir;
|
|
36
|
-
const minimalManifest = {
|
|
37
|
-
featureId: 'demo-feature',
|
|
38
|
-
featureName: 'Demo Feature',
|
|
39
|
-
route: '/demo',
|
|
40
|
-
states: [
|
|
41
|
-
{ stateId: 'default', type: visual_state_type_enum_1.DyE2E_VQA_VisualState_Type.default },
|
|
42
|
-
{ stateId: 'empty', type: visual_state_type_enum_1.DyE2E_VQA_VisualState_Type.empty },
|
|
43
|
-
],
|
|
44
|
-
viewports: [
|
|
45
|
-
vqa_standard_viewports_const_1.DyE2E_VQA_StandardViewports_Const.mobileMedium,
|
|
46
|
-
vqa_standard_viewports_const_1.DyE2E_VQA_StandardViewports_Const.desktop,
|
|
47
|
-
],
|
|
48
|
-
criticalElements: [
|
|
49
|
-
{ key: 'submit', selector: 'button[type=submit]', regionType: 'primary-cta', label: 'Submit' },
|
|
50
|
-
],
|
|
51
|
-
description: 'Demo description.',
|
|
52
|
-
};
|
|
53
|
-
beforeEach(() => {
|
|
54
|
-
tmpDir = fs.mkdtempSync(path.join(os.tmpdir(), 'dye2e-vqa-bundle-'));
|
|
55
|
-
});
|
|
56
|
-
afterEach(() => {
|
|
57
|
-
if (fs.existsSync(tmpDir)) {
|
|
58
|
-
fs.rmSync(tmpDir, { recursive: true, force: true });
|
|
59
|
-
}
|
|
60
|
-
});
|
|
61
|
-
it('| generates a bundle folder with manifest + README + summary + capture-spec', () => {
|
|
62
|
-
const r = review_bundle_generator_1.DyE2E_VQA_ReviewBundle_Generator.generate(minimalManifest, tmpDir, { runId: 'run-001' });
|
|
63
|
-
expect(r.validatorErrors).toEqual([]);
|
|
64
|
-
expect(r.runId).toBe('run-001');
|
|
65
|
-
expect(fs.existsSync(path.join(r.bundlePath, 'manifest.json'))).toBeTrue();
|
|
66
|
-
expect(fs.existsSync(path.join(r.bundlePath, 'README.md'))).toBeTrue();
|
|
67
|
-
expect(fs.existsSync(path.join(r.bundlePath, 'summary.md'))).toBeTrue();
|
|
68
|
-
expect(fs.existsSync(path.join(r.bundlePath, 'capture-spec.ts'))).toBeTrue();
|
|
69
|
-
expect(fs.existsSync(path.join(r.bundlePath, 'findings'))).toBeTrue();
|
|
70
|
-
expect(fs.existsSync(path.join(r.bundlePath, 'meta', 'run-id.txt'))).toBeTrue();
|
|
71
|
-
});
|
|
72
|
-
it('| README contains the 14 audit-questions + finding schema', () => {
|
|
73
|
-
const r = review_bundle_generator_1.DyE2E_VQA_ReviewBundle_Generator.generate(minimalManifest, tmpDir);
|
|
74
|
-
const readme = fs.readFileSync(path.join(r.bundlePath, 'README.md'), 'utf-8');
|
|
75
|
-
expect(readme).toContain('A felület használható ebben az állapotban');
|
|
76
|
-
expect(readme).toContain('VQA-<projekt-slug>-demo-feature-NNN');
|
|
77
|
-
expect(readme).toContain('aiConfidence');
|
|
78
|
-
expect(readme).toContain('16 detektor');
|
|
79
|
-
});
|
|
80
|
-
it('| summary contains state × viewport matrix', () => {
|
|
81
|
-
const r = review_bundle_generator_1.DyE2E_VQA_ReviewBundle_Generator.generate(minimalManifest, tmpDir);
|
|
82
|
-
const summary = fs.readFileSync(path.join(r.bundlePath, 'summary.md'), 'utf-8');
|
|
83
|
-
expect(summary).toContain('`default`');
|
|
84
|
-
expect(summary).toContain('`empty`');
|
|
85
|
-
expect(summary).toContain('mobile-m');
|
|
86
|
-
expect(summary).toContain('desktop');
|
|
87
|
-
});
|
|
88
|
-
it('| validator-errors emerges before any IO if manifest invalid', () => {
|
|
89
|
-
const bad = { ...minimalManifest, featureId: 'Bad_Id' };
|
|
90
|
-
const r = review_bundle_generator_1.DyE2E_VQA_ReviewBundle_Generator.generate(bad, tmpDir);
|
|
91
|
-
expect(r.validatorErrors.length).toBeGreaterThan(0);
|
|
92
|
-
expect(r.bundlePath).toBe('');
|
|
93
|
-
expect(r.files).toEqual([]);
|
|
94
|
-
});
|
|
95
|
-
it('| writes build-id + project-slug into meta/', () => {
|
|
96
|
-
const r = review_bundle_generator_1.DyE2E_VQA_ReviewBundle_Generator.generate(minimalManifest, tmpDir, { buildId: 'build-42', projectSlug: 'organizer' });
|
|
97
|
-
expect(fs.readFileSync(path.join(r.bundlePath, 'meta', 'build-id.txt'), 'utf-8')).toBe('build-42');
|
|
98
|
-
expect(fs.readFileSync(path.join(r.bundlePath, 'meta', 'project-slug.txt'), 'utf-8')).toBe('organizer');
|
|
99
|
-
});
|
|
100
|
-
it('| skipCaptureSpec=true skips capture-spec.ts emit', () => {
|
|
101
|
-
const r = review_bundle_generator_1.DyE2E_VQA_ReviewBundle_Generator.generate(minimalManifest, tmpDir, { skipCaptureSpec: true });
|
|
102
|
-
expect(fs.existsSync(path.join(r.bundlePath, 'capture-spec.ts'))).toBeFalse();
|
|
103
|
-
});
|
|
104
|
-
describe('| verifyBundleArtifacts', () => {
|
|
105
|
-
it('| reports missing artifacts after fresh bundle (capture not run yet)', () => {
|
|
106
|
-
const r = review_bundle_generator_1.DyE2E_VQA_ReviewBundle_Generator.generate(minimalManifest, tmpDir);
|
|
107
|
-
const v = review_bundle_generator_1.DyE2E_VQA_ReviewBundle_Generator.verifyBundleArtifacts(r.bundlePath, minimalManifest);
|
|
108
|
-
expect(v.ok).toBeFalse();
|
|
109
|
-
// 2 states × 2 viewports × 1 orientation × 4 files = 16
|
|
110
|
-
expect(v.missing.length).toBe(16);
|
|
111
|
-
});
|
|
112
|
-
it('| reports OK after simulated capture', () => {
|
|
113
|
-
const r = review_bundle_generator_1.DyE2E_VQA_ReviewBundle_Generator.generate(minimalManifest, tmpDir);
|
|
114
|
-
// Simulate capture: write all expected files
|
|
115
|
-
for (const s of minimalManifest.states) {
|
|
116
|
-
for (const v of minimalManifest.viewports) {
|
|
117
|
-
const stateOut = path.join(r.bundlePath, 'states', s.stateId, `${v.key}-portrait`);
|
|
118
|
-
fs.mkdirSync(stateOut, { recursive: true });
|
|
119
|
-
for (const f of ['full.png', 'fold.png', 'dom-snapshot.json', 'evidence.json']) {
|
|
120
|
-
fs.writeFileSync(path.join(stateOut, f), 'x');
|
|
121
|
-
}
|
|
122
|
-
}
|
|
123
|
-
}
|
|
124
|
-
const v = review_bundle_generator_1.DyE2E_VQA_ReviewBundle_Generator.verifyBundleArtifacts(r.bundlePath, minimalManifest);
|
|
125
|
-
expect(v.ok).toBeTrue();
|
|
126
|
-
expect(v.missing).toEqual([]);
|
|
127
|
-
});
|
|
128
|
-
});
|
|
129
|
-
});
|
|
130
|
-
describe('DyE2E_VQA_AIAgentReadme_Template', () => {
|
|
131
|
-
const m = {
|
|
132
|
-
featureId: 'demo',
|
|
133
|
-
featureName: 'Demo',
|
|
134
|
-
route: '/demo',
|
|
135
|
-
states: [{ stateId: 'a', type: visual_state_type_enum_1.DyE2E_VQA_VisualState_Type.default }],
|
|
136
|
-
viewports: [vqa_standard_viewports_const_1.DyE2E_VQA_StandardViewports_Const.desktop],
|
|
137
|
-
criticalElements: [{ key: 'c', selector: '.c', regionType: 'primary-cta' }],
|
|
138
|
-
};
|
|
139
|
-
it('| includes re-audit instructions only when comparison present', () => {
|
|
140
|
-
const withComparison = ai_agent_readme_template_1.DyE2E_VQA_AIAgentReadme_Template.render(m, 'r1', { stateCount: 1, viewportCount: 1, screenshotCount: 1, hasComparison: true });
|
|
141
|
-
expect(withComparison).toContain('## Re-audit eset');
|
|
142
|
-
const without = ai_agent_readme_template_1.DyE2E_VQA_AIAgentReadme_Template.render(m, 'r1', { stateCount: 1, viewportCount: 1, screenshotCount: 1, hasComparison: false });
|
|
143
|
-
expect(without).not.toContain('## Re-audit eset');
|
|
144
|
-
});
|
|
145
|
-
});
|
|
146
|
-
describe('DyE2E_VQA_BundleSummary_Template', () => {
|
|
147
|
-
it('| renders feature description + critical-elements + expected-feedback', () => {
|
|
148
|
-
const m = {
|
|
149
|
-
featureId: 'demo',
|
|
150
|
-
featureName: 'Demo',
|
|
151
|
-
route: '/demo',
|
|
152
|
-
description: 'Big description.',
|
|
153
|
-
contextNotes: ['note-1', 'note-2'],
|
|
154
|
-
states: [{ stateId: 'a', type: visual_state_type_enum_1.DyE2E_VQA_VisualState_Type.default }],
|
|
155
|
-
viewports: [vqa_standard_viewports_const_1.DyE2E_VQA_StandardViewports_Const.desktop],
|
|
156
|
-
criticalElements: [{ key: 'cta', selector: 'button', regionType: 'primary-cta', label: 'CTA' }],
|
|
157
|
-
expectedFeedback: [{ stateId: 'a', feedbackType: 'loading', expectation: 'spinner-jelenik-meg' }],
|
|
158
|
-
};
|
|
159
|
-
const out = bundle_summary_template_1.DyE2E_VQA_BundleSummary_Template.render(m, 'r1');
|
|
160
|
-
expect(out).toContain('Big description.');
|
|
161
|
-
expect(out).toContain('**cta**');
|
|
162
|
-
expect(out).toContain('spinner-jelenik-meg');
|
|
163
|
-
expect(out).toContain('note-1');
|
|
164
|
-
});
|
|
165
|
-
});
|
|
166
|
-
//# sourceMappingURL=review-bundle.generator.spec.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"review-bundle.generator.spec.js","sourceRoot":"","sources":["../../../src/_modules/vqa/review-bundle.generator.spec.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAyB;AACzB,2CAA6B;AAC7B,uCAAyB;AACzB,kFAAwF;AACxF,4EAA6E;AAC7E,wGAA0G;AAE1G,oFAAyF;AACzF,kFAAwF;AAExF,QAAQ,CAAC,kCAAkC,EAAE,GAAS,EAAE;IAEtD,IAAI,MAAc,CAAC;IAEnB,MAAM,eAAe,GAAwC;QAC3D,SAAS,EAAE,cAAc;QACzB,WAAW,EAAE,cAAc;QAC3B,KAAK,EAAE,OAAO;QACd,MAAM,EAAE;YACN,EAAE,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,mDAA0B,CAAC,OAAO,EAAE;YAChE,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,mDAA0B,CAAC,KAAK,EAAE;SAC7D;QACD,SAAS,EAAE;YACT,gEAAiC,CAAC,YAAY;YAC9C,gEAAiC,CAAC,OAAO;SAC1C;QACD,gBAAgB,EAAE;YAChB,EAAE,GAAG,EAAE,QAAQ,EAAE,QAAQ,EAAE,qBAAqB,EAAE,UAAU,EAAE,aAAa,EAAE,KAAK,EAAE,QAAQ,EAAE;SAC/F;QACD,WAAW,EAAE,mBAAmB;KACjC,CAAC;IAEF,UAAU,CAAC,GAAS,EAAE;QACpB,MAAM,GAAG,EAAE,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,MAAM,EAAE,EAAE,mBAAmB,CAAC,CAAC,CAAC;IACvE,CAAC,CAAC,CAAC;IAEH,SAAS,CAAC,GAAS,EAAE;QACnB,IAAI,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC,EAA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C,SAAS,CAAC,QAAQ,CAAC,CAAC;IAClC,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"wave-7.spec.d.ts","sourceRoot":"","sources":["../../../src/_modules/vqa/wave-7.spec.ts"],"names":[],"mappings":""}
|
|
@@ -1,203 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const risk_score_util_1 = require("./_collections/utils/risk-score.util");
|
|
4
|
-
const deterministic_finding_util_1 = require("./_collections/utils/deterministic-finding.util");
|
|
5
|
-
const vqa_tailwind_viewports_const_1 = require("./_collections/constants/vqa-tailwind-viewports.const");
|
|
6
|
-
const anti_flake_css_const_1 = require("./_collections/constants/anti-flake-css.const");
|
|
7
|
-
const axe_page_script_const_1 = require("./_collections/constants/axe-page-script.const");
|
|
8
|
-
const dom_evidence_detector_enum_1 = require("./_enums/dom-evidence-detector.enum");
|
|
9
|
-
const finding_severity_enum_1 = require("./_enums/finding-severity.enum");
|
|
10
|
-
const capture_spec_generator_1 = require("./generators/capture-spec.generator");
|
|
11
|
-
const visual_state_type_enum_1 = require("./_enums/visual-state-type.enum");
|
|
12
|
-
describe('Wave-7 — organizer-ideák integráció', () => {
|
|
13
|
-
describe('| DyE2E_VQA_RiskScore_Util', () => {
|
|
14
|
-
it('| clean state — score 0, band clean', () => {
|
|
15
|
-
const r = risk_score_util_1.DyE2E_VQA_RiskScore_Util.fromEvidence([
|
|
16
|
-
{ detector: 'nested-scroll', detected: false },
|
|
17
|
-
{ detector: 'small-touch-target', detected: false },
|
|
18
|
-
]);
|
|
19
|
-
expect(r.score).toBe(0);
|
|
20
|
-
expect(r.band).toBe('clean');
|
|
21
|
-
expect(r.detectedCount).toBe(0);
|
|
22
|
-
expect(r.totalCount).toBe(2);
|
|
23
|
-
});
|
|
24
|
-
it('| single high detector → high band', () => {
|
|
25
|
-
const r = risk_score_util_1.DyE2E_VQA_RiskScore_Util.fromEvidence([
|
|
26
|
-
{ detector: 'nested-scroll', detected: true, severityHint: 'high' },
|
|
27
|
-
]);
|
|
28
|
-
expect(r.score).toBe(25);
|
|
29
|
-
expect(r.band).toBe('low'); // 25 → low (next band starts at 26)
|
|
30
|
-
expect(r.detectedCount).toBe(1);
|
|
31
|
-
});
|
|
32
|
-
it('| 2× high + 1× medium = 62 → high band', () => {
|
|
33
|
-
const r = risk_score_util_1.DyE2E_VQA_RiskScore_Util.fromEvidence([
|
|
34
|
-
{ detector: 'nested-scroll', detected: true, severityHint: 'high' },
|
|
35
|
-
{ detector: 'modal-viewport-fit', detected: true, severityHint: 'high' },
|
|
36
|
-
{ detector: 'small-touch-target', detected: true, severityHint: 'medium' },
|
|
37
|
-
]);
|
|
38
|
-
expect(r.score).toBe(62);
|
|
39
|
-
expect(r.band).toBe('high');
|
|
40
|
-
expect(r.detectedCount).toBe(3);
|
|
41
|
-
expect(r.contributors.length).toBe(3);
|
|
42
|
-
expect(r.contributors[0].weight).toBe(25); // high first
|
|
43
|
-
});
|
|
44
|
-
it('| blocker → blocker-candidate band', () => {
|
|
45
|
-
const r = risk_score_util_1.DyE2E_VQA_RiskScore_Util.fromEvidence([
|
|
46
|
-
{ detector: 'modal-viewport-fit', detected: true, severityHint: 'blocker' },
|
|
47
|
-
{ detector: 'nested-scroll', detected: true, severityHint: 'high' },
|
|
48
|
-
]);
|
|
49
|
-
expect(r.score).toBe(75);
|
|
50
|
-
expect(r.band).toBe('high');
|
|
51
|
-
});
|
|
52
|
-
it('| score capped at 100', () => {
|
|
53
|
-
const evidence = Array.from({ length: 10 }, () => ({ detector: 'x', detected: true, severityHint: 'blocker' }));
|
|
54
|
-
const r = risk_score_util_1.DyE2E_VQA_RiskScore_Util.fromEvidence(evidence);
|
|
55
|
-
expect(r.score).toBe(100);
|
|
56
|
-
expect(r.band).toBe('blocker-candidate');
|
|
57
|
-
});
|
|
58
|
-
it('| non-array returns clean', () => {
|
|
59
|
-
const r = risk_score_util_1.DyE2E_VQA_RiskScore_Util.fromEvidence(null);
|
|
60
|
-
expect(r.score).toBe(0);
|
|
61
|
-
expect(r.band).toBe('clean');
|
|
62
|
-
});
|
|
63
|
-
it('| topPriorities sorts descending by score', () => {
|
|
64
|
-
const scores = {
|
|
65
|
-
'a/desk': { score: 30, band: 'medium', contributors: [], detectedCount: 1, totalCount: 16 },
|
|
66
|
-
'b/mob': { score: 70, band: 'high', contributors: [], detectedCount: 2, totalCount: 16 },
|
|
67
|
-
'c/desk': { score: 10, band: 'low', contributors: [], detectedCount: 1, totalCount: 16 },
|
|
68
|
-
};
|
|
69
|
-
const top = risk_score_util_1.DyE2E_VQA_RiskScore_Util.topPriorities(scores, 2);
|
|
70
|
-
expect(top.length).toBe(2);
|
|
71
|
-
expect(top[0].key).toBe('b/mob');
|
|
72
|
-
expect(top[1].key).toBe('a/desk');
|
|
73
|
-
});
|
|
74
|
-
});
|
|
75
|
-
describe('| DyE2E_VQA_DeterministicFinding_Util', () => {
|
|
76
|
-
const ctx = {
|
|
77
|
-
featureId: 'f', stateId: 's', viewport: 'desktop',
|
|
78
|
-
screenshotRef: 'x.png', runId: 'r1', findingIdSeed: 1, projectSlug: 'mp',
|
|
79
|
-
};
|
|
80
|
-
it('| emits finding for nested-scroll detected', () => {
|
|
81
|
-
const findings = deterministic_finding_util_1.DyE2E_VQA_DeterministicFinding_Util.emit([
|
|
82
|
-
{ detector: dom_evidence_detector_enum_1.DyE2E_VQA_DOMEvidence_Detector.nestedScroll, detected: true,
|
|
83
|
-
details: { bodyScroll: true }, suggestedRegions: ['.modal'] },
|
|
84
|
-
], ctx);
|
|
85
|
-
expect(findings.length).toBe(1);
|
|
86
|
-
expect(findings[0].findingId).toBe('VQA-mp-f-001');
|
|
87
|
-
expect(findings[0].severity).toBe(finding_severity_enum_1.DyE2E_VQA_FindingSeverity_Type.high);
|
|
88
|
-
expect(findings[0].suggestedFix).toContain('overflow: hidden');
|
|
89
|
-
expect(findings[0].aiConfidence).toBe(0.95);
|
|
90
|
-
expect(findings[0].tags).toContain('deterministic-detector');
|
|
91
|
-
});
|
|
92
|
-
it('| does NOT emit for non-deterministic detectors (small-touch-target)', () => {
|
|
93
|
-
const findings = deterministic_finding_util_1.DyE2E_VQA_DeterministicFinding_Util.emit([
|
|
94
|
-
{ detector: dom_evidence_detector_enum_1.DyE2E_VQA_DOMEvidence_Detector.smallTouchTarget, detected: true,
|
|
95
|
-
details: {}, severityHint: 'medium' },
|
|
96
|
-
], ctx);
|
|
97
|
-
expect(findings.length).toBe(0);
|
|
98
|
-
});
|
|
99
|
-
it('| skips when detected=false', () => {
|
|
100
|
-
const findings = deterministic_finding_util_1.DyE2E_VQA_DeterministicFinding_Util.emit([
|
|
101
|
-
{ detector: dom_evidence_detector_enum_1.DyE2E_VQA_DOMEvidence_Detector.nestedScroll, detected: false },
|
|
102
|
-
], ctx);
|
|
103
|
-
expect(findings.length).toBe(0);
|
|
104
|
-
});
|
|
105
|
-
it('| handles all 4 deterministic detectors', () => {
|
|
106
|
-
const dets = deterministic_finding_util_1.DyE2E_VQA_DeterministicFinding_Util.getDeterministicDetectors();
|
|
107
|
-
expect(dets.length).toBe(4);
|
|
108
|
-
expect(dets).toContain(dom_evidence_detector_enum_1.DyE2E_VQA_DOMEvidence_Detector.nestedScroll);
|
|
109
|
-
expect(dets).toContain(dom_evidence_detector_enum_1.DyE2E_VQA_DOMEvidence_Detector.modalViewportFit);
|
|
110
|
-
expect(dets).toContain(dom_evidence_detector_enum_1.DyE2E_VQA_DOMEvidence_Detector.hiddenError);
|
|
111
|
-
expect(dets).toContain(dom_evidence_detector_enum_1.DyE2E_VQA_DOMEvidence_Detector.viewportOffCTA);
|
|
112
|
-
});
|
|
113
|
-
it('| increments findingId-seed across emit', () => {
|
|
114
|
-
const findings = deterministic_finding_util_1.DyE2E_VQA_DeterministicFinding_Util.emit([
|
|
115
|
-
{ detector: dom_evidence_detector_enum_1.DyE2E_VQA_DOMEvidence_Detector.nestedScroll, detected: true },
|
|
116
|
-
{ detector: dom_evidence_detector_enum_1.DyE2E_VQA_DOMEvidence_Detector.modalViewportFit, detected: true },
|
|
117
|
-
], { ...ctx, findingIdSeed: 5 });
|
|
118
|
-
expect(findings.length).toBe(2);
|
|
119
|
-
expect(findings[0].findingId).toBe('VQA-mp-f-005');
|
|
120
|
-
expect(findings[1].findingId).toBe('VQA-mp-f-006');
|
|
121
|
-
});
|
|
122
|
-
});
|
|
123
|
-
describe('| Tailwind viewports', () => {
|
|
124
|
-
it('| 8 viewport-kategória', () => {
|
|
125
|
-
expect(Object.keys(vqa_tailwind_viewports_const_1.DyE2E_VQA_TailwindViewports_Const).length).toBe(8);
|
|
126
|
-
expect(vqa_tailwind_viewports_const_1.DyE2E_VQA_TailwindViewports_Const.mobileXs.width).toBe(360);
|
|
127
|
-
expect(vqa_tailwind_viewports_const_1.DyE2E_VQA_TailwindViewports_Const.desktop2xl.width).toBe(2560);
|
|
128
|
-
});
|
|
129
|
-
it('| default subset = 4 viewport', () => {
|
|
130
|
-
expect(vqa_tailwind_viewports_const_1.DyE2E_VQA_TailwindDefaultSubset_Const.length).toBe(4);
|
|
131
|
-
expect(vqa_tailwind_viewports_const_1.DyE2E_VQA_TailwindDefaultSubset_Const[0].key).toBe('mobile-sm');
|
|
132
|
-
});
|
|
133
|
-
});
|
|
134
|
-
describe('| Anti-flake CSS', () => {
|
|
135
|
-
it('| disables animations + transitions', () => {
|
|
136
|
-
expect(anti_flake_css_const_1.DyE2E_VQA_AntiFlake_Css_Const).toContain('animation-duration: 0s');
|
|
137
|
-
expect(anti_flake_css_const_1.DyE2E_VQA_AntiFlake_Css_Const).toContain('transition-duration: 0s');
|
|
138
|
-
});
|
|
139
|
-
});
|
|
140
|
-
describe('| axe-core page-script', () => {
|
|
141
|
-
it('| CDN-URL points to axe-core 4.x', () => {
|
|
142
|
-
expect(axe_page_script_const_1.DyE2E_VQA_Axe_CdnUrl_Const).toContain('axe-core');
|
|
143
|
-
expect(axe_page_script_const_1.DyE2E_VQA_Axe_CdnUrl_Const).toMatch(/axe\.min\.js$/);
|
|
144
|
-
});
|
|
145
|
-
it('| run-script returns violations + summary', () => {
|
|
146
|
-
expect(axe_page_script_const_1.DyE2E_VQA_AxeRunScript_Const).toContain('violations');
|
|
147
|
-
expect(axe_page_script_const_1.DyE2E_VQA_AxeRunScript_Const).toContain('wcag2aa');
|
|
148
|
-
expect(axe_page_script_const_1.DyE2E_VQA_AxeRunScript_Const).toContain('summary');
|
|
149
|
-
});
|
|
150
|
-
});
|
|
151
|
-
describe('| Capture-spec generator integration (anti-flake + mask + readyTestId + axe)', () => {
|
|
152
|
-
const baseManifest = {
|
|
153
|
-
featureId: 'demo', featureName: 'Demo', route: '/d',
|
|
154
|
-
states: [{ stateId: 'default', type: visual_state_type_enum_1.DyE2E_VQA_VisualState_Type.default }],
|
|
155
|
-
viewports: [{ key: 'desktop', label: 'D', width: 1440, height: 900 }],
|
|
156
|
-
criticalElements: [{ key: 'c', selector: '.c', regionType: 'primary-cta' }],
|
|
157
|
-
};
|
|
158
|
-
it('| emits stabilizePage call + anti-flake import', () => {
|
|
159
|
-
const spec = capture_spec_generator_1.DyE2E_VQA_CaptureSpec_Generator.emit(baseManifest);
|
|
160
|
-
expect(spec).toContain('stabilizePage(page)');
|
|
161
|
-
expect(spec).toContain('DyE2E_VQA_AntiFlake_Css_Const');
|
|
162
|
-
});
|
|
163
|
-
it('| mask selectors emit via page.locator()', () => {
|
|
164
|
-
const m = {
|
|
165
|
-
...baseManifest,
|
|
166
|
-
states: [{
|
|
167
|
-
stateId: 'default',
|
|
168
|
-
type: visual_state_type_enum_1.DyE2E_VQA_VisualState_Type.default,
|
|
169
|
-
maskSelectors: ['.timestamp', '.avatar'],
|
|
170
|
-
}],
|
|
171
|
-
};
|
|
172
|
-
const spec = capture_spec_generator_1.DyE2E_VQA_CaptureSpec_Generator.emit(m);
|
|
173
|
-
expect(spec).toContain('page.locator(".timestamp")');
|
|
174
|
-
expect(spec).toContain('page.locator(".avatar")');
|
|
175
|
-
expect(spec).toContain('mask: maskLocators');
|
|
176
|
-
});
|
|
177
|
-
it('| readyTestId emits waitForSelector', () => {
|
|
178
|
-
const m = {
|
|
179
|
-
...baseManifest,
|
|
180
|
-
states: [{
|
|
181
|
-
stateId: 'default',
|
|
182
|
-
type: visual_state_type_enum_1.DyE2E_VQA_VisualState_Type.default,
|
|
183
|
-
readyTestId: 'tasks-page',
|
|
184
|
-
}],
|
|
185
|
-
};
|
|
186
|
-
const spec = capture_spec_generator_1.DyE2E_VQA_CaptureSpec_Generator.emit(m);
|
|
187
|
-
expect(spec).toContain(`page.waitForSelector('[data-testid="tasks-page"]'`);
|
|
188
|
-
});
|
|
189
|
-
it('| a11yEnabled gates axe-import + runAxe call', () => {
|
|
190
|
-
const withAxe = {
|
|
191
|
-
...baseManifest,
|
|
192
|
-
testDataSetup: { a11yEnabled: true },
|
|
193
|
-
};
|
|
194
|
-
const specWith = capture_spec_generator_1.DyE2E_VQA_CaptureSpec_Generator.emit(withAxe);
|
|
195
|
-
expect(specWith).toContain('DyE2E_VQA_Axe_CdnUrl_Const');
|
|
196
|
-
expect(specWith).toContain('runAxe(page,');
|
|
197
|
-
const without = capture_spec_generator_1.DyE2E_VQA_CaptureSpec_Generator.emit(baseManifest);
|
|
198
|
-
expect(without).not.toContain('DyE2E_VQA_Axe_CdnUrl_Const');
|
|
199
|
-
// runAxe function definition is still emitted but it's a no-op when A11Y_ENABLED=false
|
|
200
|
-
});
|
|
201
|
-
});
|
|
202
|
-
});
|
|
203
|
-
//# sourceMappingURL=wave-7.spec.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"wave-7.spec.js","sourceRoot":"","sources":["../../../src/_modules/vqa/wave-7.spec.ts"],"names":[],"mappings":";;AAAA,0EAAgF;AAChF,gGAAsG;AACtG,wGAAiJ;AACjJ,wFAA8F;AAC9F,0FAA0H;AAC1H,oFAAqF;AACrF,0EAAgF;AAChF,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/base.css
DELETED
|
@@ -1,224 +0,0 @@
|
|
|
1
|
-
body, html {
|
|
2
|
-
margin:0; padding: 0;
|
|
3
|
-
height: 100%;
|
|
4
|
-
}
|
|
5
|
-
body {
|
|
6
|
-
font-family: Helvetica Neue, Helvetica, Arial;
|
|
7
|
-
font-size: 14px;
|
|
8
|
-
color:#333;
|
|
9
|
-
}
|
|
10
|
-
.small { font-size: 12px; }
|
|
11
|
-
*, *:after, *:before {
|
|
12
|
-
-webkit-box-sizing:border-box;
|
|
13
|
-
-moz-box-sizing:border-box;
|
|
14
|
-
box-sizing:border-box;
|
|
15
|
-
}
|
|
16
|
-
h1 { font-size: 20px; margin: 0;}
|
|
17
|
-
h2 { font-size: 14px; }
|
|
18
|
-
pre {
|
|
19
|
-
font: 12px/1.4 Consolas, "Liberation Mono", Menlo, Courier, monospace;
|
|
20
|
-
margin: 0;
|
|
21
|
-
padding: 0;
|
|
22
|
-
-moz-tab-size: 2;
|
|
23
|
-
-o-tab-size: 2;
|
|
24
|
-
tab-size: 2;
|
|
25
|
-
}
|
|
26
|
-
a { color:#0074D9; text-decoration:none; }
|
|
27
|
-
a:hover { text-decoration:underline; }
|
|
28
|
-
.strong { font-weight: bold; }
|
|
29
|
-
.space-top1 { padding: 10px 0 0 0; }
|
|
30
|
-
.pad2y { padding: 20px 0; }
|
|
31
|
-
.pad1y { padding: 10px 0; }
|
|
32
|
-
.pad2x { padding: 0 20px; }
|
|
33
|
-
.pad2 { padding: 20px; }
|
|
34
|
-
.pad1 { padding: 10px; }
|
|
35
|
-
.space-left2 { padding-left:55px; }
|
|
36
|
-
.space-right2 { padding-right:20px; }
|
|
37
|
-
.center { text-align:center; }
|
|
38
|
-
.clearfix { display:block; }
|
|
39
|
-
.clearfix:after {
|
|
40
|
-
content:'';
|
|
41
|
-
display:block;
|
|
42
|
-
height:0;
|
|
43
|
-
clear:both;
|
|
44
|
-
visibility:hidden;
|
|
45
|
-
}
|
|
46
|
-
.fl { float: left; }
|
|
47
|
-
@media only screen and (max-width:640px) {
|
|
48
|
-
.col3 { width:100%; max-width:100%; }
|
|
49
|
-
.hide-mobile { display:none!important; }
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
.quiet {
|
|
53
|
-
color: #7f7f7f;
|
|
54
|
-
color: rgba(0,0,0,0.5);
|
|
55
|
-
}
|
|
56
|
-
.quiet a { opacity: 0.7; }
|
|
57
|
-
|
|
58
|
-
.fraction {
|
|
59
|
-
font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace;
|
|
60
|
-
font-size: 10px;
|
|
61
|
-
color: #555;
|
|
62
|
-
background: #E8E8E8;
|
|
63
|
-
padding: 4px 5px;
|
|
64
|
-
border-radius: 3px;
|
|
65
|
-
vertical-align: middle;
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
div.path a:link, div.path a:visited { color: #333; }
|
|
69
|
-
table.coverage {
|
|
70
|
-
border-collapse: collapse;
|
|
71
|
-
margin: 10px 0 0 0;
|
|
72
|
-
padding: 0;
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
table.coverage td {
|
|
76
|
-
margin: 0;
|
|
77
|
-
padding: 0;
|
|
78
|
-
vertical-align: top;
|
|
79
|
-
}
|
|
80
|
-
table.coverage td.line-count {
|
|
81
|
-
text-align: right;
|
|
82
|
-
padding: 0 5px 0 20px;
|
|
83
|
-
}
|
|
84
|
-
table.coverage td.line-coverage {
|
|
85
|
-
text-align: right;
|
|
86
|
-
padding-right: 10px;
|
|
87
|
-
min-width:20px;
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
table.coverage td span.cline-any {
|
|
91
|
-
display: inline-block;
|
|
92
|
-
padding: 0 5px;
|
|
93
|
-
width: 100%;
|
|
94
|
-
}
|
|
95
|
-
.missing-if-branch {
|
|
96
|
-
display: inline-block;
|
|
97
|
-
margin-right: 5px;
|
|
98
|
-
border-radius: 3px;
|
|
99
|
-
position: relative;
|
|
100
|
-
padding: 0 4px;
|
|
101
|
-
background: #333;
|
|
102
|
-
color: yellow;
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
.skip-if-branch {
|
|
106
|
-
display: none;
|
|
107
|
-
margin-right: 10px;
|
|
108
|
-
position: relative;
|
|
109
|
-
padding: 0 4px;
|
|
110
|
-
background: #ccc;
|
|
111
|
-
color: white;
|
|
112
|
-
}
|
|
113
|
-
.missing-if-branch .typ, .skip-if-branch .typ {
|
|
114
|
-
color: inherit !important;
|
|
115
|
-
}
|
|
116
|
-
.coverage-summary {
|
|
117
|
-
border-collapse: collapse;
|
|
118
|
-
width: 100%;
|
|
119
|
-
}
|
|
120
|
-
.coverage-summary tr { border-bottom: 1px solid #bbb; }
|
|
121
|
-
.keyline-all { border: 1px solid #ddd; }
|
|
122
|
-
.coverage-summary td, .coverage-summary th { padding: 10px; }
|
|
123
|
-
.coverage-summary tbody { border: 1px solid #bbb; }
|
|
124
|
-
.coverage-summary td { border-right: 1px solid #bbb; }
|
|
125
|
-
.coverage-summary td:last-child { border-right: none; }
|
|
126
|
-
.coverage-summary th {
|
|
127
|
-
text-align: left;
|
|
128
|
-
font-weight: normal;
|
|
129
|
-
white-space: nowrap;
|
|
130
|
-
}
|
|
131
|
-
.coverage-summary th.file { border-right: none !important; }
|
|
132
|
-
.coverage-summary th.pct { }
|
|
133
|
-
.coverage-summary th.pic,
|
|
134
|
-
.coverage-summary th.abs,
|
|
135
|
-
.coverage-summary td.pct,
|
|
136
|
-
.coverage-summary td.abs { text-align: right; }
|
|
137
|
-
.coverage-summary td.file { white-space: nowrap; }
|
|
138
|
-
.coverage-summary td.pic { min-width: 120px !important; }
|
|
139
|
-
.coverage-summary tfoot td { }
|
|
140
|
-
|
|
141
|
-
.coverage-summary .sorter {
|
|
142
|
-
height: 10px;
|
|
143
|
-
width: 7px;
|
|
144
|
-
display: inline-block;
|
|
145
|
-
margin-left: 0.5em;
|
|
146
|
-
background: url(sort-arrow-sprite.png) no-repeat scroll 0 0 transparent;
|
|
147
|
-
}
|
|
148
|
-
.coverage-summary .sorted .sorter {
|
|
149
|
-
background-position: 0 -20px;
|
|
150
|
-
}
|
|
151
|
-
.coverage-summary .sorted-desc .sorter {
|
|
152
|
-
background-position: 0 -10px;
|
|
153
|
-
}
|
|
154
|
-
.status-line { height: 10px; }
|
|
155
|
-
/* yellow */
|
|
156
|
-
.cbranch-no { background: yellow !important; color: #111; }
|
|
157
|
-
/* dark red */
|
|
158
|
-
.red.solid, .status-line.low, .low .cover-fill { background:#C21F39 }
|
|
159
|
-
.low .chart { border:1px solid #C21F39 }
|
|
160
|
-
.highlighted,
|
|
161
|
-
.highlighted .cstat-no, .highlighted .fstat-no, .highlighted .cbranch-no{
|
|
162
|
-
background: #C21F39 !important;
|
|
163
|
-
}
|
|
164
|
-
/* medium red */
|
|
165
|
-
.cstat-no, .fstat-no, .cbranch-no, .cbranch-no { background:#F6C6CE }
|
|
166
|
-
/* light red */
|
|
167
|
-
.low, .cline-no { background:#FCE1E5 }
|
|
168
|
-
/* light green */
|
|
169
|
-
.high, .cline-yes { background:rgb(230,245,208) }
|
|
170
|
-
/* medium green */
|
|
171
|
-
.cstat-yes { background:rgb(161,215,106) }
|
|
172
|
-
/* dark green */
|
|
173
|
-
.status-line.high, .high .cover-fill { background:rgb(77,146,33) }
|
|
174
|
-
.high .chart { border:1px solid rgb(77,146,33) }
|
|
175
|
-
/* dark yellow (gold) */
|
|
176
|
-
.status-line.medium, .medium .cover-fill { background: #f9cd0b; }
|
|
177
|
-
.medium .chart { border:1px solid #f9cd0b; }
|
|
178
|
-
/* light yellow */
|
|
179
|
-
.medium { background: #fff4c2; }
|
|
180
|
-
|
|
181
|
-
.cstat-skip { background: #ddd; color: #111; }
|
|
182
|
-
.fstat-skip { background: #ddd; color: #111 !important; }
|
|
183
|
-
.cbranch-skip { background: #ddd !important; color: #111; }
|
|
184
|
-
|
|
185
|
-
span.cline-neutral { background: #eaeaea; }
|
|
186
|
-
|
|
187
|
-
.coverage-summary td.empty {
|
|
188
|
-
opacity: .5;
|
|
189
|
-
padding-top: 4px;
|
|
190
|
-
padding-bottom: 4px;
|
|
191
|
-
line-height: 1;
|
|
192
|
-
color: #888;
|
|
193
|
-
}
|
|
194
|
-
|
|
195
|
-
.cover-fill, .cover-empty {
|
|
196
|
-
display:inline-block;
|
|
197
|
-
height: 12px;
|
|
198
|
-
}
|
|
199
|
-
.chart {
|
|
200
|
-
line-height: 0;
|
|
201
|
-
}
|
|
202
|
-
.cover-empty {
|
|
203
|
-
background: white;
|
|
204
|
-
}
|
|
205
|
-
.cover-full {
|
|
206
|
-
border-right: none !important;
|
|
207
|
-
}
|
|
208
|
-
pre.prettyprint {
|
|
209
|
-
border: none !important;
|
|
210
|
-
padding: 0 !important;
|
|
211
|
-
margin: 0 !important;
|
|
212
|
-
}
|
|
213
|
-
.com { color: #999 !important; }
|
|
214
|
-
.ignore-none { color: #999; font-weight: normal; }
|
|
215
|
-
|
|
216
|
-
.wrapper {
|
|
217
|
-
min-height: 100%;
|
|
218
|
-
height: auto !important;
|
|
219
|
-
height: 100%;
|
|
220
|
-
margin: 0 auto -48px;
|
|
221
|
-
}
|
|
222
|
-
.footer, .push {
|
|
223
|
-
height: 48px;
|
|
224
|
-
}
|