@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
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,23 @@
|
|
|
3
3
|
Minden release a `dynamo-e2e-foundation` HYPERPLAN MP-N ütemezést követi.
|
|
4
4
|
Verzióformátum: `MM.mm.p` (két-számjegyes major-minor, Dynamo-konvenció).
|
|
5
5
|
|
|
6
|
+
## [01.18.12] — 2026-09-23 — Opt-in shared page load for generated form suites
|
|
7
|
+
|
|
8
|
+
- Added `sharedPageLoad` to the form-suite settings (default `false`, behavior unchanged). When enabled, each
|
|
9
|
+
fill-based field `describe` loads the page ONCE in `beforeAll` (with the project `use` options) instead of once per
|
|
10
|
+
test; stateful field types and form-level tests keep a fresh page per test. Measured on a real form: 2.6x faster,
|
|
11
|
+
identical results (BFR-MASTERPROMPTER-053). Details: `__documentations/2026-09-23-shared-page-load.md`.
|
|
12
|
+
|
|
13
|
+
## [01.18.11] — 2026-08-26 — Deterministic game E2E preset
|
|
14
|
+
|
|
15
|
+
- Added `@futdevpro/dynamo-e2e/game` with an event-driven, capability-gated seam for deterministic seed read-back,
|
|
16
|
+
versioned state import/export, manual clock advancement, canvas world-to-screen mapping and failure artifacts.
|
|
17
|
+
- The default seam guard permits loopback hosts only. Test environments require an explicit allow-list entry and
|
|
18
|
+
retain their server-side guard; timeout values are failure bounds, with no fixed sleep or helper polling.
|
|
19
|
+
- Added schema-v1 game journey contracts and bidirectional validation for cross-feature serial state carry,
|
|
20
|
+
step-level business assertions, value outcomes, variant coverage, executable evidence and cleanup ownership.
|
|
21
|
+
- Corrected `DYE2E_PACKAGE_VERSION` to the actual package version.
|
|
22
|
+
|
|
6
23
|
## [01.18.9] — 2026-07-21 — Playwright-config preset (fleet e2e-config konszolidáció #2)
|
|
7
24
|
|
|
8
25
|
### Added
|
|
@@ -105,9 +122,9 @@ generator (NEM AI-engine).** Az AI agent EXTERNAL consumer.
|
|
|
105
122
|
|
|
106
123
|
### Spec-pinning
|
|
107
124
|
|
|
108
|
-
[`documentations/specifications/ai-visual-qa-system.md`](../../documentations/specifications/ai-visual-qa-system.md)
|
|
125
|
+
[`fdp-documentations/specifications/ai-visual-qa-system.md`](../../fdp-documentations/specifications/ai-visual-qa-system.md)
|
|
109
126
|
22 szekció canonical, scope-LOCK preamble UI-20260611-003. Workspace HYPERPLAN:
|
|
110
|
-
`documentations/plans/ai-visual-qa/HYPERPLAN.md` 13 MP.
|
|
127
|
+
`fdp-documentations/plans/ai-visual-qa/HYPERPLAN.md` 13 MP.
|
|
111
128
|
|
|
112
129
|
## [01.17.1] — 2026-06-10 — 🎯 HYPERPLAN 112/112 ✓
|
|
113
130
|
|
|
@@ -338,7 +355,7 @@ generator (NEM AI-engine).** Az AI agent EXTERNAL consumer.
|
|
|
338
355
|
(generic / FDP-stack / OGS) + per-agent DISPATCH prompt-snippet
|
|
339
356
|
- `__documentations/per-project-integration-playbook.md` — 6 LIVE-projekt
|
|
340
357
|
playbook (master-prompter → organizer → futdevpro → niche-datasets →
|
|
341
|
-
fdp-token-service → fdp-auth-service) + DISPATCH-backlog-template
|
|
358
|
+
fdp-token-service *(ma: credit-service)* → fdp-auth-service) + DISPATCH-backlog-template
|
|
342
359
|
- `__documentations/release-announcement-template.md` — Discord/Slack
|
|
343
360
|
template (3 channel + JSON-embed)
|
|
344
361
|
- **Wave-2b field-type stubs** (`contracts/_collections/test-case-sets/wave-2b-stubs.const.ts`):
|
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) Future Development Program Ltd. (HU)
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -70,4 +70,7 @@ const specSource = DyE2E_FormSuite_Generator.emit({
|
|
|
70
70
|
- `@futdevpro/dynamo-e2e/generators` — Node-only emission engine
|
|
71
71
|
- `@futdevpro/dynamo-e2e/runtime` — Playwright fixtures + page-objects (Wave-4)
|
|
72
72
|
- `@futdevpro/dynamo-e2e/presets` — pre-built suites + `DyE2E_getPlaywrightConfig` / `DyE2E_getGlobalSetup` playwright-config factory (fleet e2e-config SSOT)
|
|
73
|
+
- `@futdevpro/dynamo-e2e/game` — capability-gated deterministic game seam, failure artifacts and bidirectional journey-catalog validation
|
|
73
74
|
- `@futdevpro/dynamo-e2e/cwv` — Core Web Vitals (Wave-3)
|
|
75
|
+
|
|
76
|
+
Detailed game-preset contract: [`__documentations/game-preset.md`](__documentations/game-preset.md).
|
|
@@ -41,5 +41,13 @@ export interface DyE2E_FormTestSuite_Settings {
|
|
|
41
41
|
extraImports?: string[];
|
|
42
42
|
/** `describe`-block prefix — default: a form-Settings.key + ' Form'. */
|
|
43
43
|
describePrefix?: string;
|
|
44
|
+
/**
|
|
45
|
+
* Opt-in: ONE page load per field `describe` (in `beforeAll`) instead of one per test (BFR-MASTERPROMPTER-053).
|
|
46
|
+
*
|
|
47
|
+
* Only for FILL-BASED field types — a fill replaces the value, so the cases do not depend on each other. Stateful
|
|
48
|
+
* types (checkbox, select family, chips, autocomplete, file) keep the per-test load: their cases click from the
|
|
49
|
+
* CURRENT state. Form-level (submitting) tests always get a fresh page. Default: `false`.
|
|
50
|
+
*/
|
|
51
|
+
sharedPageLoad?: boolean;
|
|
44
52
|
}
|
|
45
53
|
//# sourceMappingURL=form-test-suite-settings.interface.d.ts.map
|
package/build/_modules/contracts/_models/interfaces/form-test-suite-settings.interface.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"form-test-suite-settings.interface.d.ts","sourceRoot":"","sources":["../../../../../src/_modules/contracts/_models/interfaces/form-test-suite-settings.interface.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,wCAAwC,CAAC;AAClF,OAAO,EAAE,sBAAsB,EAAE,MAAM,sCAAsC,CAAC;AAE9E;;;;;;GAMG;AACH,MAAM,WAAW,6BAA6B;IAC5C,kEAAkE;IAClE,QAAQ,EAAE,MAAM,CAAC;IACjB,+CAA+C;IAC/C,SAAS,CAAC,EAAE,wBAAwB,EAAE,CAAC;IACvC,+EAA+E;IAC/E,SAAS,CAAC,EAAE,wBAAwB,EAAE,CAAC;IACvC;;;;;OAKG;IACH,WAAW,CAAC,EAAE;QACZ,IAAI,EAAE,wBAAwB,CAAC;QAC/B,UAAU,CAAC,EAAE,OAAO,CAAC;QACrB,WAAW,CAAC,EAAE,MAAM,CAAC;QACrB,aAAa,CAAC,EAAE,MAAM,CAAC;KACxB,EAAE,CAAC;CACL;AAED;;GAEG;AACH,MAAM,WAAW,4BAA4B;IAC3C,wEAAwE;IACxE,OAAO,EAAE,sBAAsB,CAAC;IAChC,mDAAmD;IACnD,cAAc,CAAC,EAAE,6BAA6B,EAAE,CAAC;IACjD,gFAAgF;IAChF,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,2EAA2E;IAC3E,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC;IACxB,wEAAwE;IACxE,cAAc,CAAC,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"form-test-suite-settings.interface.d.ts","sourceRoot":"","sources":["../../../../../src/_modules/contracts/_models/interfaces/form-test-suite-settings.interface.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,wCAAwC,CAAC;AAClF,OAAO,EAAE,sBAAsB,EAAE,MAAM,sCAAsC,CAAC;AAE9E;;;;;;GAMG;AACH,MAAM,WAAW,6BAA6B;IAC5C,kEAAkE;IAClE,QAAQ,EAAE,MAAM,CAAC;IACjB,+CAA+C;IAC/C,SAAS,CAAC,EAAE,wBAAwB,EAAE,CAAC;IACvC,+EAA+E;IAC/E,SAAS,CAAC,EAAE,wBAAwB,EAAE,CAAC;IACvC;;;;;OAKG;IACH,WAAW,CAAC,EAAE;QACZ,IAAI,EAAE,wBAAwB,CAAC;QAC/B,UAAU,CAAC,EAAE,OAAO,CAAC;QACrB,WAAW,CAAC,EAAE,MAAM,CAAC;QACrB,aAAa,CAAC,EAAE,MAAM,CAAC;KACxB,EAAE,CAAC;CACL;AAED;;GAEG;AACH,MAAM,WAAW,4BAA4B;IAC3C,wEAAwE;IACxE,OAAO,EAAE,sBAAsB,CAAC;IAChC,mDAAmD;IACnD,cAAc,CAAC,EAAE,6BAA6B,EAAE,CAAC;IACjD,gFAAgF;IAChF,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,2EAA2E;IAC3E,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC;IACxB,wEAAwE;IACxE,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;;;;;OAMG;IACH,cAAc,CAAC,EAAE,OAAO,CAAC;CAC1B"}
|
|
@@ -33,5 +33,18 @@ export declare class DyE2E_CWVDiagnose_Util {
|
|
|
33
33
|
static diagnoseAll(measurements: DyE2E_CWVMeasurement_DataModel[], thresholds: DyE2E_CWVThresholds_Interface): DyE2E_CWVDiagnose_Hint[];
|
|
34
34
|
/** Egy metric-szintű optimalizálási javaslat. */
|
|
35
35
|
private static suggest;
|
|
36
|
+
/**
|
|
37
|
+
* A CLS legnagyobb sulyu forrasa — vagy `undefined`, ha nincs ertekelheto adat.
|
|
38
|
+
*
|
|
39
|
+
* ⚠️ **Ez RANGSOR, nem pontos per-elem CLS-felbontas.** A Layout Shift API-ban az ertek az
|
|
40
|
+
* ESEMENYEN van, nem forrasonkent: egy esemeny ertekét MINDEN forrasa „viszi”. A node-onkenti
|
|
41
|
+
* osszeg tehat abszolut ertekben tulszamol — de arra, hogy MELYIK elem szerepel a legnagyobb
|
|
42
|
+
* elmozdulasokban, helyes valaszt ad. Ezt szandekosan kimondjuk, mert egy „pontosnak” hitt
|
|
43
|
+
* szam rosszabb, mint egy bevallottan kozelito rangsor.
|
|
44
|
+
*
|
|
45
|
+
* ⚠️ Dontetlennel a nagyobb mozgatott terulet nyer — a puszta sorrend (beerkezesi) nem
|
|
46
|
+
* hordoz informaciot, es futasonkent valtozhat.
|
|
47
|
+
*/
|
|
48
|
+
private static dominantClsSource;
|
|
36
49
|
}
|
|
37
50
|
//# sourceMappingURL=cwv-diagnose.util.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cwv-diagnose.util.d.ts","sourceRoot":"","sources":["../../../../src/_modules/cwv/_collections/cwv-diagnose.util.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,6CAA6C,CAAC;AACnF,OAAO,EAAE,6BAA6B,EAAE,MAAM,6DAA6D,CAAC;AAC5G,OAAO,EAAE,8BAA8B,EAAE,MAAM,uCAAuC,CAAC;AAEvF;;;;;;GAMG;AAEH,MAAM,WAAW,sBAAsB;IACrC,MAAM,EAAE,oBAAoB,CAAC;IAC7B,4BAA4B;IAC5B,GAAG,EAAE,MAAM,CAAC;IACZ,kCAAkC;IAClC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,yEAAyE;IACzE,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,8BAA8B;IAC9B,OAAO,EAAE,MAAM,CAAC;IAChB,+BAA+B;IAC/B,UAAU,EAAE,MAAM,CAAC;CACpB;AASD,qBAAa,sBAAsB;IAEjC;;;OAGG;IACH,OAAO,CAAC,MAAM,CAAC,UAAU;IAiBzB,8EAA8E;IAC9E,MAAM,CAAC,cAAc,CACnB,YAAY,EAAE,8BAA8B,EAAE,EAC9C,MAAM,EAAE,oBAAoB,EAC5B,UAAU,EAAE,6BAA6B,GACxC,sBAAsB,GAAG,IAAI;
|
|
1
|
+
{"version":3,"file":"cwv-diagnose.util.d.ts","sourceRoot":"","sources":["../../../../src/_modules/cwv/_collections/cwv-diagnose.util.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,6CAA6C,CAAC;AACnF,OAAO,EAAE,6BAA6B,EAAE,MAAM,6DAA6D,CAAC;AAC5G,OAAO,EAAE,8BAA8B,EAAE,MAAM,uCAAuC,CAAC;AAEvF;;;;;;GAMG;AAEH,MAAM,WAAW,sBAAsB;IACrC,MAAM,EAAE,oBAAoB,CAAC;IAC7B,4BAA4B;IAC5B,GAAG,EAAE,MAAM,CAAC;IACZ,kCAAkC;IAClC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,yEAAyE;IACzE,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,8BAA8B;IAC9B,OAAO,EAAE,MAAM,CAAC;IAChB,+BAA+B;IAC/B,UAAU,EAAE,MAAM,CAAC;CACpB;AASD,qBAAa,sBAAsB;IAEjC;;;OAGG;IACH,OAAO,CAAC,MAAM,CAAC,UAAU;IAiBzB,8EAA8E;IAC9E,MAAM,CAAC,cAAc,CACnB,YAAY,EAAE,8BAA8B,EAAE,EAC9C,MAAM,EAAE,oBAAoB,EAC5B,UAAU,EAAE,6BAA6B,GACxC,sBAAsB,GAAG,IAAI;IAqDhC,2CAA2C;IAC3C,MAAM,CAAC,WAAW,CAChB,YAAY,EAAE,8BAA8B,EAAE,EAC9C,UAAU,EAAE,6BAA6B,GACxC,sBAAsB,EAAE;IAa3B,iDAAiD;IACjD,OAAO,CAAC,MAAM,CAAC,OAAO;IA2BtB;;;;;;;;;;;OAWG;IACH,OAAO,CAAC,MAAM,CAAC,iBAAiB;CA6CjC"}
|
|
@@ -43,7 +43,10 @@ class DyE2E_CWVDiagnose_Util {
|
|
|
43
43
|
? worst.attribution.element
|
|
44
44
|
: typeof worst.attribution?.target === 'string'
|
|
45
45
|
? worst.attribution.target
|
|
46
|
-
|
|
46
|
+
// ⚠️ BFR-FUTDEVPRO-009 — CLS-nel az attribucio `sources` tombot ad, NEM `element`/`target`-et,
|
|
47
|
+
// ezert a ket fenti ag egyike sem illeszkedett: a CLS-diagnozis eddig EGYALTALAN nem nevezett
|
|
48
|
+
// meg elemet. A lista ráadásul sulyozatlan volt, tehat meg kezzel sem lehetett rangsorolni.
|
|
49
|
+
: DyE2E_CWVDiagnose_Util.dominantClsSource(worst.attribution);
|
|
47
50
|
const thresholdKey = metric === cwv_metric_type_enum_1.DyE2E_CWVMetric_Type.lcp ? 'lcp_p75_ms' :
|
|
48
51
|
metric === cwv_metric_type_enum_1.DyE2E_CWVMetric_Type.cls ? 'cls_p75' :
|
|
49
52
|
metric === cwv_metric_type_enum_1.DyE2E_CWVMetric_Type.inp ? 'inp_p75_ms' :
|
|
@@ -103,6 +106,47 @@ class DyE2E_CWVDiagnose_Util {
|
|
|
103
106
|
}
|
|
104
107
|
return 'Optimalizálási javaslat — lásd web.dev metric-specific docs.';
|
|
105
108
|
}
|
|
109
|
+
/**
|
|
110
|
+
* A CLS legnagyobb sulyu forrasa — vagy `undefined`, ha nincs ertekelheto adat.
|
|
111
|
+
*
|
|
112
|
+
* ⚠️ **Ez RANGSOR, nem pontos per-elem CLS-felbontas.** A Layout Shift API-ban az ertek az
|
|
113
|
+
* ESEMENYEN van, nem forrasonkent: egy esemeny ertekét MINDEN forrasa „viszi”. A node-onkenti
|
|
114
|
+
* osszeg tehat abszolut ertekben tulszamol — de arra, hogy MELYIK elem szerepel a legnagyobb
|
|
115
|
+
* elmozdulasokban, helyes valaszt ad. Ezt szandekosan kimondjuk, mert egy „pontosnak” hitt
|
|
116
|
+
* szam rosszabb, mint egy bevallottan kozelito rangsor.
|
|
117
|
+
*
|
|
118
|
+
* ⚠️ Dontetlennel a nagyobb mozgatott terulet nyer — a puszta sorrend (beerkezesi) nem
|
|
119
|
+
* hordoz informaciot, es futasonkent valtozhat.
|
|
120
|
+
*/
|
|
121
|
+
static dominantClsSource(attribution) {
|
|
122
|
+
const sources = attribution?.sources;
|
|
123
|
+
if (!Array.isArray(sources) || sources.length === 0) {
|
|
124
|
+
return undefined;
|
|
125
|
+
}
|
|
126
|
+
const weightByNode = new Map();
|
|
127
|
+
for (const entry of sources) {
|
|
128
|
+
const source = entry;
|
|
129
|
+
const node = typeof source?.node === 'string' && source.node.length > 0 ? source.node : 'unknown';
|
|
130
|
+
const value = typeof source?.shiftValue === 'number' ? source.shiftValue : 0;
|
|
131
|
+
const area = Math.max((source?.previousRect?.width ?? 0) * (source?.previousRect?.height ?? 0), (source?.currentRect?.width ?? 0) * (source?.currentRect?.height ?? 0));
|
|
132
|
+
const current = weightByNode.get(node) ?? { value: 0, area: 0 };
|
|
133
|
+
weightByNode.set(node, { value: current.value + value, area: current.area + area });
|
|
134
|
+
}
|
|
135
|
+
let bestNode;
|
|
136
|
+
let best = { value: -1, area: -1 };
|
|
137
|
+
for (const [node, weight] of weightByNode) {
|
|
138
|
+
if (weight.value > best.value || weight.value === best.value && weight.area > best.area) {
|
|
139
|
+
bestNode = node;
|
|
140
|
+
best = weight;
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
// Ha egyetlen forras sem hozott sulyt (regi, sulyozatlan adat), a nevet meg megadjuk — de
|
|
144
|
+
// csak akkor, ha egyertelmu; kulonben a rangsor talalgatas lenne.
|
|
145
|
+
if (best.value <= 0 && best.area <= 0) {
|
|
146
|
+
return weightByNode.size === 1 ? bestNode : undefined;
|
|
147
|
+
}
|
|
148
|
+
return bestNode;
|
|
149
|
+
}
|
|
106
150
|
}
|
|
107
151
|
exports.DyE2E_CWVDiagnose_Util = DyE2E_CWVDiagnose_Util;
|
|
108
152
|
//# sourceMappingURL=cwv-diagnose.util.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cwv-diagnose.util.js","sourceRoot":"","sources":["../../../../src/_modules/cwv/_collections/cwv-diagnose.util.ts"],"names":[],"mappings":";;;AAAA,sFAAmF;AA0BnF,MAAM,eAAe,GAA2B;IAC9C,GAAG,EAAE,2DAA2D;IAChE,KAAK,EAAE,2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,EAAE,CAAC;gBACxF,QAAQ,GAAG,IAAI,CAAC;gBAChB,IAAI,GAAG,MAAM,CAAC;YAChB,CAAC;QACH,CAAC;QAED,0FAA0F;QAC1F,kEAAkE;QAClE,IAAI,IAAI,CAAC,KAAK,IAAI,CAAC,IAAI,IAAI,CAAC,IAAI,IAAI,CAAC,EAAE,CAAC;YACtC,OAAO,YAAY,CAAC,IAAI,KAAK,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;QACxD,CAAC;QAED,OAAO,QAAQ,CAAC;IAClB,CAAC;CACF;AAvLD,wDAuLC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"web-vitals-page-script.const.d.ts","sourceRoot":"","sources":["../../../../src/_modules/cwv/_collections/web-vitals-page-script.const.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,eAAO,MAAM,4BAA4B,EAAE,
|
|
1
|
+
{"version":3,"file":"web-vitals-page-script.const.d.ts","sourceRoot":"","sources":["../../../../src/_modules/cwv/_collections/web-vitals-page-script.const.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,eAAO,MAAM,4BAA4B,EAAE,MAwFnC,CAAC"}
|
|
@@ -63,7 +63,23 @@ exports.DYE2E_WEB_VITALS_PAGE_SCRIPT = `
|
|
|
63
63
|
if (e3.sources && e3.sources.length > 0) {
|
|
64
64
|
for (var s = 0; s < e3.sources.length; s++) {
|
|
65
65
|
var src = e3.sources[s];
|
|
66
|
-
|
|
66
|
+
// BFR-FUTDEVPRO-009 — a forras SULYA is kell, nem csak a neve. Korabban csak a
|
|
67
|
+
// tagName kerult be, igy a riport egy SULYOZATLAN listat adott: nem lehetett
|
|
68
|
+
// megmondani, melyik forras okozta a CLS tulnyomo reszet. Ez nem rossz SZAMOT ad,
|
|
69
|
+
// hanem rossz OKOT — es az cselekvesre kesztet, ezert rosszabb.
|
|
70
|
+
//
|
|
71
|
+
// A Layout Shift API-ban az ertek az ESEMENYEN van, nem forrasonkent; a forras
|
|
72
|
+
// sulyat a mozgatott terulet aranya adja. Ezert a nyers adatot visszuk (esemeny-
|
|
73
|
+
// ertek + a ket teglalap), es az osszesites a fogyaszto oldalan tortenik — igy
|
|
74
|
+
// nem tunk el informaciot egy elhamarkodott aggregacioval.
|
|
75
|
+
var prev = src.previousRect;
|
|
76
|
+
var curr = src.currentRect;
|
|
77
|
+
clsSources.push({
|
|
78
|
+
node: src.node ? (src.node.tagName || 'unknown') : null,
|
|
79
|
+
shiftValue: e3.value,
|
|
80
|
+
previousRect: prev ? { x: prev.x, y: prev.y, width: prev.width, height: prev.height } : null,
|
|
81
|
+
currentRect: curr ? { x: curr.x, y: curr.y, width: curr.width, height: curr.height } : null,
|
|
82
|
+
});
|
|
67
83
|
}
|
|
68
84
|
}
|
|
69
85
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"web-vitals-page-script.const.js","sourceRoot":"","sources":["../../../../src/_modules/cwv/_collections/web-vitals-page-script.const.ts"],"names":[],"mappings":";;;AAAA;;;;;;;;GAQG;AACU,QAAA,4BAA4B,GAAW
|
|
1
|
+
{"version":3,"file":"web-vitals-page-script.const.js","sourceRoot":"","sources":["../../../../src/_modules/cwv/_collections/web-vitals-page-script.const.ts"],"names":[],"mappings":";;;AAAA;;;;;;;;GAQG;AACU,QAAA,4BAA4B,GAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwFnD,CAAC,IAAI,EAAE,CAAC"}
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
export type DyE2E_GameCapability_Type = 'seed' | 'state' | 'clock' | 'canvas' | 'diagnostics';
|
|
2
|
+
export interface DyE2E_GamePoint_Interface {
|
|
3
|
+
x: number;
|
|
4
|
+
y: number;
|
|
5
|
+
}
|
|
6
|
+
export interface DyE2E_GameDiagnostics_Interface {
|
|
7
|
+
seed?: string | number;
|
|
8
|
+
stateVersion?: string | number;
|
|
9
|
+
clockMs?: number;
|
|
10
|
+
lastBusinessTransition?: string;
|
|
11
|
+
[key: string]: unknown;
|
|
12
|
+
}
|
|
13
|
+
export interface DyE2E_GameVersionedState_Interface<TPayload = unknown> {
|
|
14
|
+
schemaVersion: string | number;
|
|
15
|
+
payload?: TPayload;
|
|
16
|
+
[key: string]: unknown;
|
|
17
|
+
}
|
|
18
|
+
export interface DyE2E_GameFailureArtifact_Interface<TSnapshot = unknown, TState extends DyE2E_GameVersionedState_Interface = DyE2E_GameVersionedState_Interface> {
|
|
19
|
+
url: string;
|
|
20
|
+
viewport: {
|
|
21
|
+
width: number;
|
|
22
|
+
height: number;
|
|
23
|
+
} | null;
|
|
24
|
+
capabilities: readonly DyE2E_GameCapability_Type[];
|
|
25
|
+
seed?: string | number;
|
|
26
|
+
state?: TState;
|
|
27
|
+
snapshot?: TSnapshot;
|
|
28
|
+
diagnostics?: DyE2E_GameDiagnostics_Interface;
|
|
29
|
+
captureErrors?: Readonly<Record<string, string>>;
|
|
30
|
+
}
|
|
31
|
+
export interface DyE2E_GameSeam_Options_Interface {
|
|
32
|
+
seamKey?: string;
|
|
33
|
+
readyEventName?: string;
|
|
34
|
+
optInStorageKey?: string;
|
|
35
|
+
optInQueryParam?: string;
|
|
36
|
+
timeoutMs?: number;
|
|
37
|
+
allowedHosts?: readonly string[];
|
|
38
|
+
requiredCapabilities?: readonly DyE2E_GameCapability_Type[];
|
|
39
|
+
}
|
|
40
|
+
export interface DyE2E_GameJourneyStep_Interface {
|
|
41
|
+
id: string;
|
|
42
|
+
businessAssertion: string;
|
|
43
|
+
consumesStateFromStepId?: string;
|
|
44
|
+
}
|
|
45
|
+
export type DyE2E_GameJourneyVariant_Type = 'happy-path' | 'decline' | 'partial' | 'fallback' | 'interruption-resume' | 'access-limited';
|
|
46
|
+
export interface DyE2E_GameJourneyCleanup_Interface {
|
|
47
|
+
owner: string;
|
|
48
|
+
mode: 'hard-delete' | 'restore-snapshot' | 'reset-profile';
|
|
49
|
+
businessAssertion: string;
|
|
50
|
+
}
|
|
51
|
+
export interface DyE2E_GameJourney_Interface {
|
|
52
|
+
id: string;
|
|
53
|
+
title: string;
|
|
54
|
+
critical: boolean;
|
|
55
|
+
serial: true;
|
|
56
|
+
variant: DyE2E_GameJourneyVariant_Type;
|
|
57
|
+
featureIds: readonly string[];
|
|
58
|
+
evidenceTestIds: readonly string[];
|
|
59
|
+
steps: readonly DyE2E_GameJourneyStep_Interface[];
|
|
60
|
+
valueOutcome: string;
|
|
61
|
+
cleanup: DyE2E_GameJourneyCleanup_Interface;
|
|
62
|
+
}
|
|
63
|
+
export interface DyE2E_GameJourneyFeature_Interface {
|
|
64
|
+
id: string;
|
|
65
|
+
journeyIds: readonly string[];
|
|
66
|
+
}
|
|
67
|
+
export interface DyE2E_GameJourneyCatalog_Interface {
|
|
68
|
+
schemaVersion: 1;
|
|
69
|
+
requiredVariants: readonly DyE2E_GameJourneyVariant_Type[];
|
|
70
|
+
features: readonly DyE2E_GameJourneyFeature_Interface[];
|
|
71
|
+
journeys: readonly DyE2E_GameJourney_Interface[];
|
|
72
|
+
}
|
|
73
|
+
export interface DyE2E_GameJourneyCatalog_Finding_Interface {
|
|
74
|
+
path: string;
|
|
75
|
+
code: string;
|
|
76
|
+
message: string;
|
|
77
|
+
}
|
|
78
|
+
export interface DyE2E_GameJourneyCatalog_Validation_Interface {
|
|
79
|
+
valid: boolean;
|
|
80
|
+
findings: DyE2E_GameJourneyCatalog_Finding_Interface[];
|
|
81
|
+
}
|
|
82
|
+
//# sourceMappingURL=game-contracts.interface.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"game-contracts.interface.d.ts","sourceRoot":"","sources":["../../../../src/_modules/game/_models/game-contracts.interface.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,yBAAyB,GAAG,MAAM,GAAG,OAAO,GAAG,OAAO,GAAG,QAAQ,GAAG,a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,0CAA0C;IACzD,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,6CAA6C;IAC5D,KAAK,EAAE,OAAO,CAAC;IACf,QAAQ,EAAE,0CAA0C,EAAE,CAAC;CACxD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"game-contracts.interface.js","sourceRoot":"","sources":["../../../../src/_modules/game/_models/game-contracts.interface.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import type { Page } from '@playwright/test';
|
|
2
|
+
import { DyE2E_GameCapability_Type, DyE2E_GameFailureArtifact_Interface, DyE2E_GamePoint_Interface, DyE2E_GameSeam_Options_Interface, DyE2E_GameVersionedState_Interface } from './_models/game-contracts.interface';
|
|
3
|
+
/**
|
|
4
|
+
* Capability-gated adapter for an explicitly enabled browser game test seam.
|
|
5
|
+
*
|
|
6
|
+
* It never creates business state. Readiness is event-driven; timeout values are hard failure bounds, not fixed
|
|
7
|
+
* sleeps or polling intervals.
|
|
8
|
+
*/
|
|
9
|
+
export declare class DyE2E_GameSeam_Helper<TSnapshot = unknown, TState extends DyE2E_GameVersionedState_Interface = DyE2E_GameVersionedState_Interface> {
|
|
10
|
+
private readonly page;
|
|
11
|
+
private readonly seamKey;
|
|
12
|
+
private readonly readyEventName;
|
|
13
|
+
private readonly optInStorageKey;
|
|
14
|
+
private readonly optInQueryParam;
|
|
15
|
+
private readonly timeoutMs;
|
|
16
|
+
private readonly allowedHosts;
|
|
17
|
+
private readonly requiredCapabilities;
|
|
18
|
+
constructor(page: Page, options?: DyE2E_GameSeam_Options_Interface);
|
|
19
|
+
/** Enable the seam before navigation. Non-loopback hosts require an explicit allow-list entry. */
|
|
20
|
+
enableForNavigation(targetUrl: string): Promise<void>;
|
|
21
|
+
/** Add the explicit query opt-in while preserving existing query parameters. */
|
|
22
|
+
withOptIn(targetUrl: string): string;
|
|
23
|
+
/** Wait for one readiness event, or return immediately if the seam is already installed. */
|
|
24
|
+
waitForSeam(): Promise<void>;
|
|
25
|
+
capabilities(): Promise<readonly DyE2E_GameCapability_Type[]>;
|
|
26
|
+
snapshot(): Promise<TSnapshot>;
|
|
27
|
+
installSeed(seed: string | number): Promise<void>;
|
|
28
|
+
readSeed(): Promise<string | number>;
|
|
29
|
+
exportState(): Promise<TState>;
|
|
30
|
+
importState(state: TState): Promise<void>;
|
|
31
|
+
advanceClock(deltaMs: number): Promise<void>;
|
|
32
|
+
worldToScreen(point: DyE2E_GamePoint_Interface): Promise<DyE2E_GamePoint_Interface>;
|
|
33
|
+
/** One browser round-trip containing the evidence needed to diagnose deterministic game failures. */
|
|
34
|
+
captureFailureArtifact(): Promise<DyE2E_GameFailureArtifact_Interface<TSnapshot, TState>>;
|
|
35
|
+
private assertAllowedHost;
|
|
36
|
+
private requireCapabilities;
|
|
37
|
+
private assertVersionedState;
|
|
38
|
+
private invoke;
|
|
39
|
+
}
|
|
40
|
+
//# sourceMappingURL=game-seam.helper.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"game-seam.helper.d.ts","sourceRoot":"","sources":["../../../src/_modules/game/game-seam.helper.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AAE7C,OAAO,EACL,yBAAyB,EAEzB,mCAAmC,EACnC,yBAAyB,EACzB,gCAAgC,EAChC,kCAAkC,EACnC,MAAM,oCAAoC,CAAC;AAK5C;;;;;GAKG;AACH,qBAAa,qBAAqB,CAChC,SAAS,GAAG,OAAO,EACnB,MAAM,SAAS,kCAAkC,GAAG,kCAAkC;IAW1E,OAAO,CAAC,QAAQ,CAAC,IAAI;IARjC,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAS;IACjC,OAAO,CAAC,QAAQ,CAAC,cAAc,CAAS;IACxC,OAAO,CAAC,QAAQ,CAAC,eAAe,CAAS;IACz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