synapse-hub 2.2.4 → 2.4.1
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/.agents/agents/failure-analyst.md +11 -0
- package/.agents/agents/live-explorer.md +28 -0
- package/.agents/agents/orchestrator.md +23 -4
- package/.agents/agents/pom-crafter.md +15 -0
- package/.agents/agents/quality-gatekeeper.md +20 -4
- package/.agents/agents/test-runner.md +12 -0
- package/.agents/rules/communication-style.md +40 -0
- package/.agents/rules/context-engineering.md +23 -0
- package/.agents/rules/git-push-protocol.md +10 -16
- package/.agents/rules/graphify.md +14 -14
- package/.agents/rules/mandatory-playwright-live.md +29 -29
- package/.agents/rules/mobile_appium_rules.md +132 -0
- package/.agents/rules/performance_testing_rules.md +74 -0
- package/.agents/rules/systematic-debugging.md +6 -6
- package/.agents/skills/agent-orchestration-multi-agent-optimize/SKILL.md +64 -215
- package/.agents/skills/agent-orchestration-multi-agent-optimize/examples/swarm_workload_config.json +12 -0
- package/.agents/skills/antigravity-test-sentinel/SKILL.md +3 -3
- package/.agents/skills/antigravity-test-sentinel/examples/dod_gate_policy.json +11 -0
- package/.agents/skills/api-network-mocking-interception/SKILL.md +1 -1
- package/.agents/skills/api-network-mocking-interception/examples/network_route_stub.json +9 -0
- package/.agents/skills/api-spec-to-e2e-matrix/SKILL.md +9 -9
- package/.agents/skills/api-spec-to-e2e-matrix/examples/sample_openapi.json +19 -0
- package/.agents/skills/architecture-decision-records/SKILL.md +35 -412
- package/.agents/skills/architecture-decision-records/examples/0001-record-architecture-decisions.md +12 -0
- package/.agents/skills/auth-session-and-cookie-manager/SKILL.md +1 -1
- package/.agents/skills/auth-session-and-cookie-manager/examples/storage_state_sample.json +11 -0
- package/.agents/skills/backend-load-and-stress-patterns/SKILL.md +80 -186
- package/.agents/skills/backend-load-and-stress-patterns/examples/k6_load_test_sample.js +13 -0
- package/.agents/skills/bats-testing-patterns/SKILL.md +1 -1
- package/.agents/skills/bats-testing-patterns/examples/cli_runner_test.bats +6 -0
- package/.agents/skills/bats-testing-patterns/resources/implementation-playbook.md +614 -614
- package/.agents/skills/clean-pom-crafter/SKILL.md +21 -3
- package/.agents/skills/clean-pom-crafter/examples/standard_test_case.groovy +28 -28
- package/.agents/skills/clean-pom-crafter/references/pom_patterns.groovy +138 -138
- package/.agents/skills/code-refactoring-refactor-clean/SKILL.md +2 -2
- package/.agents/skills/code-refactoring-refactor-clean/examples/refactored_page_sample.groovy +9 -0
- package/.agents/skills/db-state-verifier-and-seeder/SKILL.md +5 -5
- package/.agents/skills/db-state-verifier-and-seeder/examples/db_fixture_seed.json +12 -0
- package/.agents/skills/e2e-testing-patterns/SKILL.md +1 -1
- package/.agents/skills/e2e-testing-patterns/examples/playwright_sharded_config.ts +12 -0
- package/.agents/skills/e2e-testing-patterns/resources/implementation-playbook.md +522 -522
- package/.agents/skills/failure-autopsy-and-healing/SKILL.md +17 -3
- package/.agents/skills/failure-autopsy-and-healing/examples/sample_junit_failure.xml +8 -0
- package/.agents/skills/failure-autopsy-and-healing/references/healing_matrix.md +64 -64
- package/.agents/skills/failure-autopsy-and-healing/references/qa_investigation_protocol.md +56 -56
- package/.agents/skills/failure-autopsy-and-healing/scripts/triage_failures.sh +98 -98
- package/.agents/skills/file-and-report-validator/SKILL.md +1 -1
- package/.agents/skills/file-and-report-validator/examples/sample_export_schema.json +14 -0
- package/.agents/skills/flaky-test-sentinel-and-quarantine/SKILL.md +3 -3
- package/.agents/skills/flaky-test-sentinel-and-quarantine/examples/quarantine_registry.json +11 -0
- package/.agents/skills/gherkin-to-suite/SKILL.md +103 -0
- package/.agents/skills/gherkin-to-suite/examples/checkout.feature +39 -0
- package/.agents/skills/gherkin-to-suite/examples/suite_report_sample.json +334 -0
- package/.agents/skills/github-actions-templates/SKILL.md +47 -304
- package/.agents/skills/github-actions-templates/examples/matrix_test_pipeline.yml +8 -0
- package/.agents/skills/graphify-impact-analyzer/SKILL.md +6 -6
- package/.agents/skills/graphify-impact-analyzer/examples/dependency_blast_radius.json +8 -0
- package/.agents/skills/katalon-cli-runner/SKILL.md +2 -2
- package/.agents/skills/katalon-cli-runner/examples/headless_kre_exec.sh +3 -0
- package/.agents/skills/katalon-cli-runner/references/groovy-patterns.md +209 -209
- package/.agents/skills/katalon-cli-runner/references/katalon-api.md +155 -155
- package/.agents/skills/katalon-cli-runner/references/runner_commands.md +67 -67
- package/.agents/skills/lam-script-generator/SKILL.md +42 -1
- package/.agents/skills/lam-script-generator/examples/user_story_sample.md +8 -0
- package/.agents/skills/lean-code-ladder/SKILL.md +83 -0
- package/.agents/skills/lean-code-ladder/examples/ladder_walkthrough.md +37 -0
- package/.agents/skills/meta-prompt-crafter/SKILL.md +107 -0
- package/.agents/skills/meta-prompt-crafter/examples/qa_prompt_template.md +35 -0
- package/.agents/skills/persistent-planning-files/SKILL.md +108 -0
- package/.agents/skills/persistent-planning-files/examples/task_plan_example.md +56 -0
- package/.agents/skills/playwright-live-interaction/SKILL.md +49 -1
- package/.agents/skills/playwright-live-interaction/examples/live_probe_script.js +5 -0
- package/.agents/skills/playwright-live-interaction/references/advanced_superpowers.md +160 -160
- package/.agents/skills/playwright-live-interaction/references/compact_accessibility_snapshots.md +75 -75
- package/.agents/skills/playwright-live-interaction/references/recipes.md +388 -388
- package/.agents/skills/playwright-live-interaction/references/swarm_orchestration.md +134 -134
- package/.agents/skills/playwright-webapp-testing/SKILL.md +93 -0
- package/.agents/skills/playwright-webapp-testing/examples/server_lifecycle_playwright.py +63 -0
- package/.agents/skills/rbt-manual-testing/SKILL.md +150 -0
- package/.agents/skills/rbt-manual-testing/examples/checkout_rbt_manual_suite.md +25 -0
- package/.agents/skills/security-dast-sentinel/SKILL.md +54 -135
- package/.agents/skills/security-dast-sentinel/examples/dast_scan_config.json +10 -0
- package/.agents/skills/self-healing-locator/SKILL.md +24 -10
- package/.agents/skills/self-healing-locator/examples/aom_diff_sample.json +16 -0
- package/.agents/skills/skillspector-security-guard/SKILL.md +32 -90
- package/.agents/skills/skillspector-security-guard/examples/safe_mcp_config.json +12 -0
- package/.agents/skills/surgical-coding-principles/SKILL.md +89 -0
- package/.agents/skills/surgical-coding-principles/examples/surgical_vs_scope_creep.md +46 -0
- package/.agents/skills/synthetic-test-data-generator/SKILL.md +3 -3
- package/.agents/skills/synthetic-test-data-generator/examples/idempotent_data_recipe.json +9 -0
- package/.agents/skills/systematic-debugging/SKILL.md +100 -0
- package/.agents/skills/systematic-debugging/examples/four_phase_case.md +44 -0
- package/.agents/skills/test-driven-development/SKILL.md +114 -0
- package/.agents/skills/test-driven-development/examples/red_green_refactor_qa.md +78 -0
- package/.agents/skills/token-and-context-optimizer/SKILL.md +1 -1
- package/.agents/skills/token-and-context-optimizer/examples/distilled_log_sample.txt +3 -0
- package/.agents/skills/verification-before-completion/SKILL.md +100 -0
- package/.agents/skills/verification-before-completion/examples/evidence_log_example.md +46 -0
- package/.agents/skills/visual-regression-sentinel/SKILL.md +21 -1
- package/.agents/skills/visual-regression-sentinel/examples/visual_mask_rules.json +9 -0
- package/.agents/skills/wcag-audit-patterns/SKILL.md +3 -3
- package/.agents/skills/wcag-audit-patterns/examples/wcag_compliance_checklist.json +10 -0
- package/.agents/skills/wcag-audit-patterns/resources/implementation-playbook.md +541 -541
- package/.agents/skills/web-vitals-and-performance-profiler/SKILL.md +1 -1
- package/.agents/skills/web-vitals-and-performance-profiler/examples/cwv_budget_policy.json +6 -0
- package/.agents/templates/completion_report.md +57 -57
- package/.agents/workflows/analyze_requirement_document.md +18 -0
- package/.agents/workflows/export_testcases_excel.md +32 -0
- package/.agents/workflows/generate_combinatorial_test_data.md +28 -0
- package/.agents/workflows/generate_cross_module_test_plan.md +37 -0
- package/.agents/workflows/generate_manual_testcases_rbt.md +56 -0
- package/.agents/workflows/generate_requirements_from_website.md +25 -0
- package/.agents/workflows/generate_testcases_from_requirements.md +21 -0
- package/.agents/workflows/graphify.md +10 -10
- package/.agents/workflows/verify.md +2 -2
- package/.cursor/rules/language.mdc +7 -7
- package/.cursor/rules/synapse-qa.mdc +23 -0
- package/.cursorrules +7 -0
- package/.pre-commit-hooks.yaml +14 -0
- package/.windsurfrules +7 -0
- package/AGENTS.md +54 -15
- package/CLAUDE.md +35 -12
- package/LICENSE +30 -0
- package/NOTICE +180 -0
- package/README.en.md +331 -0
- package/README.md +252 -515
- package/action.yml +51 -0
- package/benchmarks/qa_eval/README.md +71 -0
- package/benchmarks/qa_eval/build_dataset.py +677 -0
- package/benchmarks/qa_eval/dataset/api_contract_drift/qa-challenge-06_api_contract_drift.json +22 -0
- package/benchmarks/qa_eval/dataset/api_contract_drift/qa-challenge-07_api_contract_drift.json +22 -0
- package/benchmarks/qa_eval/dataset/api_contract_drift/qa-challenge-08_api_contract_drift.json +22 -0
- package/benchmarks/qa_eval/dataset/api_contract_drift/qa-challenge-09_api_contract_drift.json +22 -0
- package/benchmarks/qa_eval/dataset/api_contract_drift/qa-challenge-10_api_contract_drift.json +22 -0
- package/benchmarks/qa_eval/dataset/fake_pass_tautology/qa-challenge-21_fake_pass_tautology.json +21 -0
- package/benchmarks/qa_eval/dataset/fake_pass_tautology/qa-challenge-22_fake_pass_tautology.json +21 -0
- package/benchmarks/qa_eval/dataset/fake_pass_tautology/qa-challenge-23_fake_pass_tautology.json +21 -0
- package/benchmarks/qa_eval/dataset/fake_pass_tautology/qa-challenge-24_fake_pass_tautology.json +21 -0
- package/benchmarks/qa_eval/dataset/fake_pass_tautology/qa-challenge-25_fake_pass_tautology.json +21 -0
- package/benchmarks/qa_eval/dataset/locator_drift/qa-challenge-01_locator_drift.json +23 -0
- package/benchmarks/qa_eval/dataset/locator_drift/qa-challenge-02_locator_drift.json +23 -0
- package/benchmarks/qa_eval/dataset/locator_drift/qa-challenge-03_locator_drift.json +23 -0
- package/benchmarks/qa_eval/dataset/locator_drift/qa-challenge-04_locator_drift.json +23 -0
- package/benchmarks/qa_eval/dataset/locator_drift/qa-challenge-05_locator_drift.json +23 -0
- package/benchmarks/qa_eval/dataset/stale_and_mutation/qa-challenge-16_stale_and_mutation.json +22 -0
- package/benchmarks/qa_eval/dataset/stale_and_mutation/qa-challenge-17_stale_and_mutation.json +22 -0
- package/benchmarks/qa_eval/dataset/stale_and_mutation/qa-challenge-18_stale_and_mutation.json +22 -0
- package/benchmarks/qa_eval/dataset/stale_and_mutation/qa-challenge-19_stale_and_mutation.json +22 -0
- package/benchmarks/qa_eval/dataset/stale_and_mutation/qa-challenge-20_stale_and_mutation.json +23 -0
- package/benchmarks/qa_eval/dataset/timing_and_race/qa-challenge-11_timing_and_race.json +22 -0
- package/benchmarks/qa_eval/dataset/timing_and_race/qa-challenge-12_timing_and_race.json +22 -0
- package/benchmarks/qa_eval/dataset/timing_and_race/qa-challenge-13_timing_and_race.json +22 -0
- package/benchmarks/qa_eval/dataset/timing_and_race/qa-challenge-14_timing_and_race.json +22 -0
- package/benchmarks/qa_eval/dataset/timing_and_race/qa-challenge-15_timing_and_race.json +22 -0
- package/benchmarks/qa_eval/eval_runner.py +418 -0
- package/benchmarks/qa_eval/reports/AB_METHODOLOGY_REPORT.md +83 -0
- package/benchmarks/qa_eval/reports/BENCHMARK_REPORT.md +69 -0
- package/benchmarks/qa_eval/reports/eval_results.json +105 -0
- package/bin/agent-qa.js +16 -4
- package/docs/ARCHITECTURE.md +107 -0
- package/docs/CI_CD_INTEGRATION.md +94 -0
- package/docs/CLI_REFERENCE.md +157 -0
- package/docs/CONTRIBUTING.md +91 -0
- package/docs/PLUGIN_DEVELOPMENT_GUIDE.md +126 -0
- package/docs/TOKEN_QUOTA_PLAYBOOK.md +41 -0
- package/docs/adopted-ecosystem-tools.md +87 -0
- package/docs/schemas/synapse.config.schema.json +64 -0
- package/examples/cypress-ecommerce-suite/README.md +45 -0
- package/examples/cypress-ecommerce-suite/cypress/e2e/checkout.cy.js +17 -0
- package/examples/cypress-ecommerce-suite/cypress/pages/BasePage.js +29 -0
- package/examples/cypress-ecommerce-suite/cypress/pages/CartPage.js +51 -0
- package/examples/cypress-ecommerce-suite/cypress.config.js +13 -0
- package/examples/cypress-ecommerce-suite/package.json +13 -0
- package/examples/katalon-suite/Keywords/pages/BasePage.groovy +19 -0
- package/examples/katalon-suite/Keywords/pages/DashboardPage.groovy +29 -0
- package/examples/katalon-suite/Keywords/pages/LoginPage.groovy +45 -0
- package/examples/katalon-suite/Profiles/default.glbl +12 -0
- package/examples/katalon-suite/README.md +18 -0
- package/examples/katalon-suite/Scripts/Auth/TC_LoginSuccess/Script1234567890.groovy +12 -0
- package/examples/katalon-suite/Scripts/Dashboard/TC_ViewSummary/Script1234567891.groovy +15 -0
- package/examples/katalon-suite/katalon_suite.prj +21 -0
- package/examples/playwright-crm-suite/README.md +40 -0
- package/examples/playwright-crm-suite/package.json +14 -0
- package/examples/playwright-crm-suite/pages/BasePage.ts +37 -0
- package/examples/playwright-crm-suite/pages/CustomerPage.ts +57 -0
- package/examples/playwright-crm-suite/pages/LoginPage.ts +32 -0
- package/examples/playwright-crm-suite/playwright.config.ts +27 -0
- package/examples/playwright-crm-suite/tests/auth.spec.ts +22 -0
- package/examples/playwright-crm-suite/tests/customers.spec.ts +33 -0
- package/examples/plugins/sample-custom-plugin/README.md +14 -0
- package/examples/plugins/sample-custom-plugin/plugin.json +16 -0
- package/examples/plugins/sample-custom-plugin/skills/custom-security-headers-audit/SKILL.md +29 -0
- package/examples/plugins/sample-custom-plugin/skills/custom-security-headers-audit/examples/audit_fixture.json +8 -0
- package/examples/plugins/sample-custom-plugin/tools/custom_security_headers.py +125 -0
- package/examples/practices/README.md +22 -0
- package/examples/practices/requirements/crm/requirements_contracts.md +292 -0
- package/examples/practices/requirements/crm/requirements_customers.md +462 -0
- package/examples/practices/requirements/crm/requirements_login.md +202 -0
- package/examples/practices/requirements/crm/requirements_projects.md +396 -0
- package/examples/practices/requirements/crm/requirements_tasks.md +343 -0
- package/examples/practices/requirements/ecommerce/requirements_category_brand.txt +402 -0
- package/examples/practices/requirements/jira/KAN-5/KAN-1/2026-04-03_04-28-27.png +0 -0
- package/examples/practices/requirements/jira/KAN-5/KAN-1/KAN-1_requirement.md +52 -0
- package/examples/practices/requirements/jira/KAN-5/KAN-4/2026-04-03_04-28-19.png +0 -0
- package/examples/practices/requirements/jira/KAN-5/KAN-4/2026-04-03_04-28-57.png +0 -0
- package/examples/practices/requirements/jira/KAN-5/KAN-4/KAN-4_requirement.md +119 -0
- package/examples/practices/requirements/jira/KAN-5/KAN-5_overview.md +9 -0
- package/examples/practices/requirements/jira/KAN-5/KAN-6/2026-04-03_05-58-08.png +0 -0
- package/examples/practices/requirements/jira/KAN-5/KAN-6/2026-04-03_05-58-23.png +0 -0
- package/examples/practices/requirements/jira/KAN-5/KAN-6/KAN-6_requirement.md +32 -0
- package/examples/practices/testcases/api/book_management_api_test_cases.md +144 -0
- package/examples/practices/testcases/api/user_management_api_test_cases.md +139 -0
- package/examples/practices/testcases/crm/test_cases_crm_login.md +148 -0
- package/examples/practices/testcases/crm/test_cases_customers.md +156 -0
- package/examples/pytest-api-suite/README.md +45 -0
- package/examples/pytest-api-suite/conftest.py +31 -0
- package/examples/pytest-api-suite/pages/user_api_client.py +36 -0
- package/examples/pytest-api-suite/requirements.txt +2 -0
- package/examples/pytest-api-suite/tests/test_user_api.py +44 -0
- package/examples/selenium-suite/README.md +18 -0
- package/examples/selenium-suite/pages/base_page.py +27 -0
- package/examples/selenium-suite/pages/login_page.py +29 -0
- package/examples/selenium-suite/pages/order_page.py +25 -0
- package/examples/selenium-suite/pytest.ini +6 -0
- package/examples/selenium-suite/requirements.txt +2 -0
- package/examples/selenium-suite/tests/test_login.py +10 -0
- package/examples/selenium-suite/tests/test_order.py +10 -0
- package/package.json +27 -12
- package/scripts/generate_skill_examples.py +244 -0
- package/scripts/install.ps1 +112 -0
- package/scripts/install_global_plugin.ps1 +94 -0
- package/scripts/install_global_plugin.sh +49 -0
- package/scripts/lint_skills.ps1 +57 -0
- package/scripts/package_dist.py +323 -0
- package/scripts/setup.sh +59 -0
- package/scripts/update_hub.ps1 +19 -0
- package/scripts/update_hub.sh +15 -0
- package/skills_manifest.json +209 -6
- package/synapse.config.json +30 -0
- package/templates/PROJECT_AI_GUIDE_TEMPLATE.md +7 -7
- package/templates/PROJECT_STATE_TEMPLATE.md +1 -1
- package/templates/ai_bridges/CLAUDE.md +33 -16
- package/templates/ai_bridges/copilot-instructions.md +14 -21
- package/templates/ai_bridges/cursor_synapse_qa.mdc +17 -20
- package/templates/ai_bridges/windsurfrules +21 -21
- package/templates/ci/github-actions-synapse.yml +71 -4
- package/templates/welcome.html.tmpl +1674 -0
- package/tools/.infer_baseline.json +1102 -0
- package/tools/TOOLS_RUNBOOK.md +98 -131
- package/tools/__init__.py +26 -0
- package/tools/agent_canary.py +501 -501
- package/tools/analyze_project.py +31 -17
- package/tools/api_fuzzer.py +278 -6
- package/tools/author_integrity.py +6 -6
- package/tools/auto_heal.py +1 -1
- package/tools/browser_helpers.js +105 -7
- package/tools/bug_reporter.py +31 -1
- package/tools/bump_version.py +30 -3
- package/tools/cache_resolver.py +248 -14
- package/tools/check_env.py +55 -14
- package/tools/check_version_sync.py +171 -0
- package/tools/ci_healing_hook.py +1 -1
- package/tools/cli.py +454 -42
- package/tools/count_tokens.py +1257 -0
- package/tools/dashboard_generator.py +2638 -0
- package/tools/db_sandbox.py +198 -20
- package/tools/e2e_flow_prober.ps1 +12 -64
- package/tools/e2e_flow_prober.py +99 -0
- package/tools/e2e_flow_prober.sh +4 -0
- package/tools/flaky_detector.py +4 -3
- package/tools/generate_allure_report.ps1 +12 -29
- package/tools/generate_allure_report.py +77 -0
- package/tools/generate_allure_report.sh +4 -0
- package/tools/generate_jmx_plan.py +257 -58
- package/tools/generate_test_reports.ps1 +12 -134
- package/tools/generate_test_reports.py +133 -0
- package/tools/generate_test_reports.sh +4 -0
- package/tools/gherkin_suite.py +758 -0
- package/tools/git_pre_commit_guard.py +12 -6
- package/tools/goldfish_review.py +366 -0
- package/tools/heal_pr_automator.py +1 -1
- package/tools/heuristic_locator_matcher.py +170 -21
- package/tools/infer_linter.py +612 -70
- package/tools/lint_ai_docs.py +64 -0
- package/tools/matrix_sharder.py +1 -1
- package/tools/mcp_excel_server.ps1 +12 -250
- package/tools/mcp_excel_server.py +249 -0
- package/tools/mcp_excel_server.sh +4 -0
- package/tools/mcp_server.py +368 -144
- package/tools/md_to_xlsx.py +307 -0
- package/tools/micro_mutator.py +302 -69
- package/tools/omni_transpiler.py +2 -2
- package/tools/output_formatter.py +128 -0
- package/tools/pinpoint_failure.py +88 -88
- package/tools/project_state.py +2 -2
- package/tools/repo_map.py +1 -1
- package/tools/safety_firewall.py +196 -45
- package/tools/setup_project.py +295 -31
- package/tools/skillspector.py +31 -0
- package/tools/spec_drift_sentinel.py +439 -0
- package/tools/sync_agent_rules.py +248 -0
- package/tools/telemetry_correlator.py +45 -0
- package/tools/test_impact.py +51 -12
- package/tools/tms_sync_bridge.py +21 -5
- package/tools/universal_ir.py +3 -0
- package/tools/update_sentinel.py +87 -15
- package/tools/verify_all.ps1 +13 -0
- package/tools/verify_all.py +479 -85
- package/tools/visual_diff_canvas.py +1 -0
- package/tools/visual_som_helper.py +1 -1
- package/tools/watch_mode.py +305 -0
- package/tools/welcome_page.py +291 -0
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "QA-CHALLENGE-06",
|
|
3
|
+
"name": "Numeric ID Serialized as String (Type Mutation)",
|
|
4
|
+
"category": "api_contract_drift",
|
|
5
|
+
"difficulty": "MEDIUM",
|
|
6
|
+
"description": "Backend response changed 'invoice_id: 10423' (int) to 'invoice_id: \"10423\"' (string).",
|
|
7
|
+
"failure_vector": {
|
|
8
|
+
"type": "TYPE_MUTATION",
|
|
9
|
+
"broken_assertion": "assert response.data.invoice_id == 10423",
|
|
10
|
+
"error_log": "AssertionError: Expected integer 10423 but received string '10423'",
|
|
11
|
+
"api_payload": "{\"status\": \"SUCCESS\", \"invoice_id\": \"10423\", \"amount\": 250.0}"
|
|
12
|
+
},
|
|
13
|
+
"expected_resolution": {
|
|
14
|
+
"healed_assertion": "assert str(response.data.invoice_id) == '10423'",
|
|
15
|
+
"strategy": "TYPE_COERCION_ASSERTION"
|
|
16
|
+
},
|
|
17
|
+
"benchmark_targets": {
|
|
18
|
+
"max_heal_time_sec": 2.0,
|
|
19
|
+
"max_token_cost": 280,
|
|
20
|
+
"min_confidence_score": 0.9
|
|
21
|
+
}
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "QA-CHALLENGE-07",
|
|
3
|
+
"name": "Payload Response Field Rename",
|
|
4
|
+
"category": "api_contract_drift",
|
|
5
|
+
"difficulty": "EASY",
|
|
6
|
+
"description": "User profile endpoint renamed 'user_email' to 'email_address'.",
|
|
7
|
+
"failure_vector": {
|
|
8
|
+
"type": "FIELD_RENAME",
|
|
9
|
+
"broken_assertion": "assert response.json()['user_email'] == 'qa@example.com'",
|
|
10
|
+
"error_log": "KeyError: 'user_email' not found in response dictionary",
|
|
11
|
+
"api_payload": "{\"id\": 42, \"email_address\": \"qa@example.com\", \"role\": \"QA\"}"
|
|
12
|
+
},
|
|
13
|
+
"expected_resolution": {
|
|
14
|
+
"healed_assertion": "assert (response.json().get('email_address') or response.json().get('user_email')) == 'qa@example.com'",
|
|
15
|
+
"strategy": "RESILIENT_FIELD_LOOKUP"
|
|
16
|
+
},
|
|
17
|
+
"benchmark_targets": {
|
|
18
|
+
"max_heal_time_sec": 1.5,
|
|
19
|
+
"max_token_cost": 260,
|
|
20
|
+
"min_confidence_score": 0.95
|
|
21
|
+
}
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "QA-CHALLENGE-08",
|
|
3
|
+
"name": "Nested Response Object Flattened",
|
|
4
|
+
"category": "api_contract_drift",
|
|
5
|
+
"difficulty": "MEDIUM",
|
|
6
|
+
"description": "Backend flattened nested profile: 'data.profile.tier' changed to 'data.tier'.",
|
|
7
|
+
"failure_vector": {
|
|
8
|
+
"type": "STRUCTURE_FLATTEN",
|
|
9
|
+
"broken_assertion": "assert response.json()['profile']['tier'] == 'GOLD'",
|
|
10
|
+
"error_log": "TypeError: 'NoneType' or KeyError: 'profile'",
|
|
11
|
+
"api_payload": "{\"tier\": \"GOLD\", \"points\": 1200}"
|
|
12
|
+
},
|
|
13
|
+
"expected_resolution": {
|
|
14
|
+
"healed_assertion": "tier = response.json().get('tier') or response.json().get('profile', {}).get('tier'); assert tier == 'GOLD'",
|
|
15
|
+
"strategy": "SCHEMA_PATH_FALLBACK"
|
|
16
|
+
},
|
|
17
|
+
"benchmark_targets": {
|
|
18
|
+
"max_heal_time_sec": 2.0,
|
|
19
|
+
"max_token_cost": 320,
|
|
20
|
+
"min_confidence_score": 0.9
|
|
21
|
+
}
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "QA-CHALLENGE-09",
|
|
3
|
+
"name": "HTTP Creation Status Code Shift (200 OK -> 201 Created)",
|
|
4
|
+
"category": "api_contract_drift",
|
|
5
|
+
"difficulty": "EASY",
|
|
6
|
+
"description": "POST endpoint updated to RFC-compliant 201 Created instead of legacy 200 OK.",
|
|
7
|
+
"failure_vector": {
|
|
8
|
+
"type": "STATUS_CODE_SHIFT",
|
|
9
|
+
"broken_assertion": "assert response.status_code == 200",
|
|
10
|
+
"error_log": "AssertionError: Expected status code 200 but received 201",
|
|
11
|
+
"api_payload": "{\"status\": 201, \"created\": true}"
|
|
12
|
+
},
|
|
13
|
+
"expected_resolution": {
|
|
14
|
+
"healed_assertion": "assert response.status_code in (200, 201)",
|
|
15
|
+
"strategy": "SUCCESS_STATUS_RANGE"
|
|
16
|
+
},
|
|
17
|
+
"benchmark_targets": {
|
|
18
|
+
"max_heal_time_sec": 1.0,
|
|
19
|
+
"max_token_cost": 220,
|
|
20
|
+
"min_confidence_score": 0.98
|
|
21
|
+
}
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "QA-CHALLENGE-10",
|
|
3
|
+
"name": "Authentication Header Prefix Upgrade",
|
|
4
|
+
"category": "api_contract_drift",
|
|
5
|
+
"difficulty": "EASY",
|
|
6
|
+
"description": "API gateway changed auth format from 'Authorization: Token <token>' to 'Bearer <token>'.",
|
|
7
|
+
"failure_vector": {
|
|
8
|
+
"type": "AUTH_HEADER_DRIFT",
|
|
9
|
+
"broken_code": "headers = {'Authorization': f'Token {auth_token}'}",
|
|
10
|
+
"error_log": "HTTP 401 Unauthorized: Invalid authorization scheme. Expected 'Bearer'.",
|
|
11
|
+
"api_payload": "{\"error\": \"Unauthorized\", \"code\": 401}"
|
|
12
|
+
},
|
|
13
|
+
"expected_resolution": {
|
|
14
|
+
"healed_code": "headers = {'Authorization': f'Bearer {auth_token}'}",
|
|
15
|
+
"strategy": "STANDARD_BEARER_TOKEN"
|
|
16
|
+
},
|
|
17
|
+
"benchmark_targets": {
|
|
18
|
+
"max_heal_time_sec": 1.5,
|
|
19
|
+
"max_token_cost": 250,
|
|
20
|
+
"min_confidence_score": 0.95
|
|
21
|
+
}
|
|
22
|
+
}
|
package/benchmarks/qa_eval/dataset/fake_pass_tautology/qa-challenge-21_fake_pass_tautology.json
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "QA-CHALLENGE-21",
|
|
3
|
+
"name": "Swallowed HTTP 500 Error in Empty Catch Block",
|
|
4
|
+
"category": "fake_pass_tautology",
|
|
5
|
+
"difficulty": "EASY",
|
|
6
|
+
"description": "Test silently catches runtime exceptions in an empty catch, masking severe backend 500 crash.",
|
|
7
|
+
"failure_vector": {
|
|
8
|
+
"type": "SWALLOWED_EXCEPTION",
|
|
9
|
+
"code_snippet": "try { page.click('#submit-payment') } catch (Exception e) {} // Test passes even on 500",
|
|
10
|
+
"detection_rule": "EMPTY_CATCH_PATTERN"
|
|
11
|
+
},
|
|
12
|
+
"expected_resolution": {
|
|
13
|
+
"healed_code": "page.click('#submit-payment'); assert page.locator('.success-toast').isVisible();",
|
|
14
|
+
"strategy": "REMOVE_SWALLOWED_CATCH_AND_ASSERT"
|
|
15
|
+
},
|
|
16
|
+
"benchmark_targets": {
|
|
17
|
+
"max_heal_time_sec": 1.0,
|
|
18
|
+
"max_token_cost": 200,
|
|
19
|
+
"min_confidence_score": 0.99
|
|
20
|
+
}
|
|
21
|
+
}
|
package/benchmarks/qa_eval/dataset/fake_pass_tautology/qa-challenge-22_fake_pass_tautology.json
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "QA-CHALLENGE-22",
|
|
3
|
+
"name": "Zero-Assertion Smoke Test (Tautological Pass)",
|
|
4
|
+
"category": "fake_pass_tautology",
|
|
5
|
+
"difficulty": "EASY",
|
|
6
|
+
"description": "Test executes form inputs and clicks submit but contains exactly 0 assertion statements.",
|
|
7
|
+
"failure_vector": {
|
|
8
|
+
"type": "ZERO_ASSERTION_PASS",
|
|
9
|
+
"code_snippet": "page.fill('#username', 'admin'); page.fill('#password', 'secret'); page.click('#login-btn');",
|
|
10
|
+
"detection_rule": "FAKE_PASS_NO_ASSERTION"
|
|
11
|
+
},
|
|
12
|
+
"expected_resolution": {
|
|
13
|
+
"healed_code": "page.fill('#username', 'admin'); page.fill('#password', 'secret'); page.click('#login-btn'); expect(page.locator('#dashboard-header')).toBeVisible();",
|
|
14
|
+
"strategy": "INJECT_POST_CONDITION_ASSERTION"
|
|
15
|
+
},
|
|
16
|
+
"benchmark_targets": {
|
|
17
|
+
"max_heal_time_sec": 1.5,
|
|
18
|
+
"max_token_cost": 240,
|
|
19
|
+
"min_confidence_score": 0.97
|
|
20
|
+
}
|
|
21
|
+
}
|
package/benchmarks/qa_eval/dataset/fake_pass_tautology/qa-challenge-23_fake_pass_tautology.json
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "QA-CHALLENGE-23",
|
|
3
|
+
"name": "Tautological assert true == true",
|
|
4
|
+
"category": "fake_pass_tautology",
|
|
5
|
+
"difficulty": "EASY",
|
|
6
|
+
"description": "Test asserts trivial identity 'assert true == true' instead of verifying business state.",
|
|
7
|
+
"failure_vector": {
|
|
8
|
+
"type": "TAUTOLOGY_ASSERTION",
|
|
9
|
+
"code_snippet": "def response = api.createInvoice(); assert true == true;",
|
|
10
|
+
"detection_rule": "TAUTOLOGY_PATTERN"
|
|
11
|
+
},
|
|
12
|
+
"expected_resolution": {
|
|
13
|
+
"healed_code": "def response = api.createInvoice(); assert response.status == 201 && response.id != null;",
|
|
14
|
+
"strategy": "MUTATION_TESTING_KILLS_TAUTOLOGY"
|
|
15
|
+
},
|
|
16
|
+
"benchmark_targets": {
|
|
17
|
+
"max_heal_time_sec": 1.0,
|
|
18
|
+
"max_token_cost": 220,
|
|
19
|
+
"min_confidence_score": 0.98
|
|
20
|
+
}
|
|
21
|
+
}
|
package/benchmarks/qa_eval/dataset/fake_pass_tautology/qa-challenge-24_fake_pass_tautology.json
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "QA-CHALLENGE-24",
|
|
3
|
+
"name": "Unawaited Async Assertion (Silent Green Trap)",
|
|
4
|
+
"category": "fake_pass_tautology",
|
|
5
|
+
"difficulty": "MEDIUM",
|
|
6
|
+
"description": "Missing 'await' on expect(locator).toBeVisible(); Promise resolves ignored after test exit.",
|
|
7
|
+
"failure_vector": {
|
|
8
|
+
"type": "UNAWAITED_ASYNC_ASSERTION",
|
|
9
|
+
"code_snippet": "page.click('#save'); expect(page.locator('.alert')).toBeVisible(); // Missing await!",
|
|
10
|
+
"detection_rule": "UNAWAITED_ASYNC_EXPECT"
|
|
11
|
+
},
|
|
12
|
+
"expected_resolution": {
|
|
13
|
+
"healed_code": "page.click('#save'); await expect(page.locator('.alert')).toBeVisible();",
|
|
14
|
+
"strategy": "AST_ASYNC_AWAIT_ENFORCEMENT"
|
|
15
|
+
},
|
|
16
|
+
"benchmark_targets": {
|
|
17
|
+
"max_heal_time_sec": 1.5,
|
|
18
|
+
"max_token_cost": 250,
|
|
19
|
+
"min_confidence_score": 0.96
|
|
20
|
+
}
|
|
21
|
+
}
|
package/benchmarks/qa_eval/dataset/fake_pass_tautology/qa-challenge-25_fake_pass_tautology.json
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "QA-CHALLENGE-25",
|
|
3
|
+
"name": "Unbounded Relational Assertion (status >= 200)",
|
|
4
|
+
"category": "fake_pass_tautology",
|
|
5
|
+
"difficulty": "EASY",
|
|
6
|
+
"description": "Assertion checks 'status >= 200' without ceiling, so HTTP 500 error causes false pass.",
|
|
7
|
+
"failure_vector": {
|
|
8
|
+
"type": "UNBOUNDED_STATUS_ASSERTION",
|
|
9
|
+
"code_snippet": "def resp = client.send(); assert resp.statusCode >= 200; // Passes on 500!",
|
|
10
|
+
"detection_rule": "MUTATION_BOUNDARY_SHIFT"
|
|
11
|
+
},
|
|
12
|
+
"expected_resolution": {
|
|
13
|
+
"healed_code": "def resp = client.send(); assert resp.statusCode >= 200 && resp.statusCode < 300;",
|
|
14
|
+
"strategy": "BOUNDED_INTERVAL_ASSERTION"
|
|
15
|
+
},
|
|
16
|
+
"benchmark_targets": {
|
|
17
|
+
"max_heal_time_sec": 1.2,
|
|
18
|
+
"max_token_cost": 230,
|
|
19
|
+
"min_confidence_score": 0.98
|
|
20
|
+
}
|
|
21
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "QA-CHALLENGE-01",
|
|
3
|
+
"name": "Dynamic CSS-in-JS Hash Locator Shift",
|
|
4
|
+
"category": "locator_drift",
|
|
5
|
+
"difficulty": "MEDIUM",
|
|
6
|
+
"description": "Button class changed from '.btn-submit' to dynamic hashed class '.btn-submit_a8f9x2'.",
|
|
7
|
+
"failure_vector": {
|
|
8
|
+
"type": "LOCATOR_DRIFT",
|
|
9
|
+
"broken_locator": "button.btn-submit",
|
|
10
|
+
"error_log": "ElementNotFoundException: Cannot locate element with selector 'button.btn-submit' within 5000ms",
|
|
11
|
+
"dom_snapshot": "<button class='btn-submit_a8f9x2' data-testid='submit-order-btn' role='button' aria-label='Submit Order'>Submit Order</button>"
|
|
12
|
+
},
|
|
13
|
+
"expected_resolution": {
|
|
14
|
+
"healed_locator": "[data-testid='submit-order-btn']",
|
|
15
|
+
"fallback_locator": "button:has-text('Submit Order')",
|
|
16
|
+
"strategy": "AOM_ROLE_OR_TESTID"
|
|
17
|
+
},
|
|
18
|
+
"benchmark_targets": {
|
|
19
|
+
"max_heal_time_sec": 2.0,
|
|
20
|
+
"max_token_cost": 350,
|
|
21
|
+
"min_confidence_score": 0.85
|
|
22
|
+
}
|
|
23
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "QA-CHALLENGE-02",
|
|
3
|
+
"name": "Nested Shadow DOM Component Piercing",
|
|
4
|
+
"category": "locator_drift",
|
|
5
|
+
"difficulty": "HARD",
|
|
6
|
+
"description": "Input field moved inside Web Component with '#shadow-root (open)'.",
|
|
7
|
+
"failure_vector": {
|
|
8
|
+
"type": "SHADOW_DOM_ISOLATION",
|
|
9
|
+
"broken_locator": "#customer-email",
|
|
10
|
+
"error_log": "NoSuchElementException: Element '#customer-email' not found in document root",
|
|
11
|
+
"dom_snapshot": "<user-profile-card><template shadowrootmode='open'><input id='customer-email' type='email' data-testid='user-email'/></template></user-profile-card>"
|
|
12
|
+
},
|
|
13
|
+
"expected_resolution": {
|
|
14
|
+
"healed_locator": "user-profile-card >> internal:control=enter-shadow >> input#customer-email",
|
|
15
|
+
"fallback_locator": "user-profile-card >> input[type='email']",
|
|
16
|
+
"strategy": "SHADOW_DOM_PIERCING"
|
|
17
|
+
},
|
|
18
|
+
"benchmark_targets": {
|
|
19
|
+
"max_heal_time_sec": 3.0,
|
|
20
|
+
"max_token_cost": 400,
|
|
21
|
+
"min_confidence_score": 0.88
|
|
22
|
+
}
|
|
23
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "QA-CHALLENGE-03",
|
|
3
|
+
"name": "Semantic Text Label Evolution",
|
|
4
|
+
"category": "locator_drift",
|
|
5
|
+
"difficulty": "EASY",
|
|
6
|
+
"description": "CTA button label text changed from 'Submit Order' to 'Complete Purchase'.",
|
|
7
|
+
"failure_vector": {
|
|
8
|
+
"type": "LABEL_EVOLUTION",
|
|
9
|
+
"broken_locator": "//button[text()='Submit Order']",
|
|
10
|
+
"error_log": "TimeoutException: Timed out waiting for element with XPath //button[text()='Submit Order']",
|
|
11
|
+
"dom_snapshot": "<button type='submit' class='p-button-success' id='order-cta'>Complete Purchase</button>"
|
|
12
|
+
},
|
|
13
|
+
"expected_resolution": {
|
|
14
|
+
"healed_locator": "#order-cta",
|
|
15
|
+
"fallback_locator": "button[type='submit']",
|
|
16
|
+
"strategy": "ID_AND_SEMANTIC_INTENT"
|
|
17
|
+
},
|
|
18
|
+
"benchmark_targets": {
|
|
19
|
+
"max_heal_time_sec": 1.5,
|
|
20
|
+
"max_token_cost": 300,
|
|
21
|
+
"min_confidence_score": 0.9
|
|
22
|
+
}
|
|
23
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "QA-CHALLENGE-04",
|
|
3
|
+
"name": "Legacy ID Removed in Favor of data-testid",
|
|
4
|
+
"category": "locator_drift",
|
|
5
|
+
"difficulty": "EASY",
|
|
6
|
+
"description": "Frontend framework removed legacy 'id=customer_name' during React refactor.",
|
|
7
|
+
"failure_vector": {
|
|
8
|
+
"type": "ID_REMOVAL",
|
|
9
|
+
"broken_locator": "#customer_name",
|
|
10
|
+
"error_log": "ElementNotFoundException: Cannot locate element '#customer_name'",
|
|
11
|
+
"dom_snapshot": "<input type='text' name='customerName' data-testid='customer-name-field' class='form-control'/>"
|
|
12
|
+
},
|
|
13
|
+
"expected_resolution": {
|
|
14
|
+
"healed_locator": "[data-testid='customer-name-field']",
|
|
15
|
+
"fallback_locator": "input[name='customerName']",
|
|
16
|
+
"strategy": "DATA_TESTID_UPGRADE"
|
|
17
|
+
},
|
|
18
|
+
"benchmark_targets": {
|
|
19
|
+
"max_heal_time_sec": 1.5,
|
|
20
|
+
"max_token_cost": 250,
|
|
21
|
+
"min_confidence_score": 0.92
|
|
22
|
+
}
|
|
23
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "QA-CHALLENGE-05",
|
|
3
|
+
"name": "HTML Tag Evolution: Anchor to ARIA Button",
|
|
4
|
+
"category": "locator_drift",
|
|
5
|
+
"difficulty": "MEDIUM",
|
|
6
|
+
"description": "Navigation link <a href='#'> converted into accessible <button role='button'>.",
|
|
7
|
+
"failure_vector": {
|
|
8
|
+
"type": "TAG_MUTATION",
|
|
9
|
+
"broken_locator": "a.nav-export",
|
|
10
|
+
"error_log": "ElementNotInteractableException: Element <a class='nav-export'> is no longer attached or interactive",
|
|
11
|
+
"dom_snapshot": "<button role='button' class='btn-export' aria-label='Export Report' data-action='export'>Export Report</button>"
|
|
12
|
+
},
|
|
13
|
+
"expected_resolution": {
|
|
14
|
+
"healed_locator": "button[aria-label='Export Report']",
|
|
15
|
+
"fallback_locator": "button:has-text('Export Report')",
|
|
16
|
+
"strategy": "AOM_ROLE_MAPPING"
|
|
17
|
+
},
|
|
18
|
+
"benchmark_targets": {
|
|
19
|
+
"max_heal_time_sec": 2.0,
|
|
20
|
+
"max_token_cost": 300,
|
|
21
|
+
"min_confidence_score": 0.88
|
|
22
|
+
}
|
|
23
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "QA-CHALLENGE-16",
|
|
3
|
+
"name": "WebSocket Table Auto-Refresh Stale Reference",
|
|
4
|
+
"category": "stale_and_mutation",
|
|
5
|
+
"difficulty": "HARD",
|
|
6
|
+
"description": "WebSocket pushes live quotes every 1.5s, wiping and recreating <tr> elements.",
|
|
7
|
+
"failure_vector": {
|
|
8
|
+
"type": "STALE_ELEMENT",
|
|
9
|
+
"broken_code": "def row = page.locator('#stocks tr').first(); page.waitForTimeout(1600); row.click();",
|
|
10
|
+
"error_log": "StaleElementReferenceException: Element is no longer attached to DOM",
|
|
11
|
+
"environment_condition": "WebSocket DOM Mutation"
|
|
12
|
+
},
|
|
13
|
+
"expected_resolution": {
|
|
14
|
+
"healed_code": "page.locator('#stocks tr').first().click(); // Re-queries locator at moment of dispatch",
|
|
15
|
+
"strategy": "DYNAMIC_LOCATOR_REQUERY"
|
|
16
|
+
},
|
|
17
|
+
"benchmark_targets": {
|
|
18
|
+
"max_heal_time_sec": 2.5,
|
|
19
|
+
"max_token_cost": 340,
|
|
20
|
+
"min_confidence_score": 0.9
|
|
21
|
+
}
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "QA-CHALLENGE-17",
|
|
3
|
+
"name": "Tab Switch Component Unmount Detach",
|
|
4
|
+
"category": "stale_and_mutation",
|
|
5
|
+
"difficulty": "MEDIUM",
|
|
6
|
+
"description": "Switching active tabs unmounts previous panel component entirely from virtual DOM.",
|
|
7
|
+
"failure_vector": {
|
|
8
|
+
"type": "COMPONENT_UNMOUNT",
|
|
9
|
+
"broken_code": "page.click('#tab-billing'); page.fill('#billing-tax-id', 'TAX-999');",
|
|
10
|
+
"error_log": "ElementNotInteractableException: Target element '#billing-tax-id' is hidden or unmounted",
|
|
11
|
+
"environment_condition": "Tab Component View Switching"
|
|
12
|
+
},
|
|
13
|
+
"expected_resolution": {
|
|
14
|
+
"healed_code": "page.click('#tab-billing'); page.waitForSelector('#billing-tab-content[aria-hidden=\"false\"]'); page.fill('#billing-tax-id', 'TAX-999');",
|
|
15
|
+
"strategy": "TAB_MOUNT_SYNCHRONIZATION"
|
|
16
|
+
},
|
|
17
|
+
"benchmark_targets": {
|
|
18
|
+
"max_heal_time_sec": 2.0,
|
|
19
|
+
"max_token_cost": 300,
|
|
20
|
+
"min_confidence_score": 0.91
|
|
21
|
+
}
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "QA-CHALLENGE-18",
|
|
3
|
+
"name": "Pagination Replaces tbody (Stale Row Index)",
|
|
4
|
+
"category": "stale_and_mutation",
|
|
5
|
+
"difficulty": "MEDIUM",
|
|
6
|
+
"description": "Navigating to page 2 updates table rows; old row references become detached.",
|
|
7
|
+
"failure_vector": {
|
|
8
|
+
"type": "PAGINATION_DETACH",
|
|
9
|
+
"broken_code": "page.click('.p-paginator-next'); page.locator('tbody tr').nth(0).click();",
|
|
10
|
+
"error_log": "StaleElementReferenceException: Stale element handle during click dispatch",
|
|
11
|
+
"environment_condition": "Data Table Pagination"
|
|
12
|
+
},
|
|
13
|
+
"expected_resolution": {
|
|
14
|
+
"healed_code": "page.click('.p-paginator-next'); page.waitForResponse(r => r.url().includes('page=2')); page.locator('tbody tr').first().click();",
|
|
15
|
+
"strategy": "PAGINATION_NETWORK_SYNC"
|
|
16
|
+
},
|
|
17
|
+
"benchmark_targets": {
|
|
18
|
+
"max_heal_time_sec": 2.0,
|
|
19
|
+
"max_token_cost": 310,
|
|
20
|
+
"min_confidence_score": 0.92
|
|
21
|
+
}
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "QA-CHALLENGE-19",
|
|
3
|
+
"name": "Reopened Modal Generates Fresh DOM Node",
|
|
4
|
+
"category": "stale_and_mutation",
|
|
5
|
+
"difficulty": "MEDIUM",
|
|
6
|
+
"description": "Closing and reopening dialog instantiates new DOM element with same CSS selector.",
|
|
7
|
+
"failure_vector": {
|
|
8
|
+
"type": "FRESH_INSTANCE_STALE",
|
|
9
|
+
"broken_code": "def modal = page.locator('#edit-dialog'); page.click('#close-btn'); page.click('#open-btn'); modal.fill('input', 'new');",
|
|
10
|
+
"error_log": "ElementNotVisibleException: Cached element reference points to detached/hidden dialog instance",
|
|
11
|
+
"environment_condition": "Modal Lifecycle Instantiation"
|
|
12
|
+
},
|
|
13
|
+
"expected_resolution": {
|
|
14
|
+
"healed_code": "page.click('#close-btn'); page.click('#open-btn'); page.locator('#edit-dialog:visible input').fill('new');",
|
|
15
|
+
"strategy": "VISIBLE_SELECTOR_REBIND"
|
|
16
|
+
},
|
|
17
|
+
"benchmark_targets": {
|
|
18
|
+
"max_heal_time_sec": 2.0,
|
|
19
|
+
"max_token_cost": 290,
|
|
20
|
+
"min_confidence_score": 0.94
|
|
21
|
+
}
|
|
22
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "QA-CHALLENGE-20",
|
|
3
|
+
"name": "Locale Swap Invalidates Hardcoded Text Selectors",
|
|
4
|
+
"category": "stale_and_mutation",
|
|
5
|
+
"difficulty": "EASY",
|
|
6
|
+
"description": "Application language changed to French ('Enregistrer'); text selector 'Save' fails.",
|
|
7
|
+
"failure_vector": {
|
|
8
|
+
"type": "I18N_TEXT_MUTATION",
|
|
9
|
+
"broken_locator": "button:has-text('Save')",
|
|
10
|
+
"error_log": "TimeoutException: No element found matching text 'Save'",
|
|
11
|
+
"dom_snapshot": "<button type='submit' data-action='save' class='btn-primary' aria-label='save-record'>Enregistrer</button>"
|
|
12
|
+
},
|
|
13
|
+
"expected_resolution": {
|
|
14
|
+
"healed_locator": "button[data-action='save']",
|
|
15
|
+
"fallback_locator": "button[aria-label='save-record']",
|
|
16
|
+
"strategy": "LOCALE_AGNOSTIC_DATA_ATTRIBUTES"
|
|
17
|
+
},
|
|
18
|
+
"benchmark_targets": {
|
|
19
|
+
"max_heal_time_sec": 1.5,
|
|
20
|
+
"max_token_cost": 270,
|
|
21
|
+
"min_confidence_score": 0.95
|
|
22
|
+
}
|
|
23
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "QA-CHALLENGE-11",
|
|
3
|
+
"name": "Network Latency Spike (3,500ms Throttle) Breaking Static Sleep",
|
|
4
|
+
"category": "timing_and_race",
|
|
5
|
+
"difficulty": "MEDIUM",
|
|
6
|
+
"description": "Microservice latency under load takes 3.5s; test had Thread.sleep(2000).",
|
|
7
|
+
"failure_vector": {
|
|
8
|
+
"type": "STATIC_SLEEP_TIMEOUT",
|
|
9
|
+
"broken_code": "Thread.sleep(2000); assert WebUI.verifyElementPresent('#result')",
|
|
10
|
+
"error_log": "ElementNotFoundException: Element '#result' not present after 2000ms delay",
|
|
11
|
+
"environment_condition": "CDP Network Throttling 3500ms delay"
|
|
12
|
+
},
|
|
13
|
+
"expected_resolution": {
|
|
14
|
+
"healed_code": "page.waitForSelector('#result', timeout: 10000); page.waitForLoadState('networkidle')",
|
|
15
|
+
"strategy": "DYNAMIC_SMART_WAIT"
|
|
16
|
+
},
|
|
17
|
+
"benchmark_targets": {
|
|
18
|
+
"max_heal_time_sec": 2.5,
|
|
19
|
+
"max_token_cost": 320,
|
|
20
|
+
"min_confidence_score": 0.92
|
|
21
|
+
}
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "QA-CHALLENGE-12",
|
|
3
|
+
"name": "PrimeNG Modal Backdrop Fading Intercept",
|
|
4
|
+
"category": "timing_and_race",
|
|
5
|
+
"difficulty": "HARD",
|
|
6
|
+
"description": "Modal backdrop takes 450ms CSS transition to fade out; click immediately triggers intercept.",
|
|
7
|
+
"failure_vector": {
|
|
8
|
+
"type": "CLICK_INTERCEPTED",
|
|
9
|
+
"broken_code": "page.click('#confirm-btn')",
|
|
10
|
+
"error_log": "ElementClickInterceptedException: <div class='p-component-overlay p-component-overlay-enter'> intercepts pointer-events",
|
|
11
|
+
"environment_condition": "PrimeNG Modal Fade Transition"
|
|
12
|
+
},
|
|
13
|
+
"expected_resolution": {
|
|
14
|
+
"healed_code": "page.waitForSelector('.p-component-overlay', state: 'detached'); BasePage.clickJS('#confirm-btn')",
|
|
15
|
+
"strategy": "OVERLAY_SAFE_DISPATCH"
|
|
16
|
+
},
|
|
17
|
+
"benchmark_targets": {
|
|
18
|
+
"max_heal_time_sec": 3.0,
|
|
19
|
+
"max_token_cost": 380,
|
|
20
|
+
"min_confidence_score": 0.9
|
|
21
|
+
}
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "QA-CHALLENGE-13",
|
|
3
|
+
"name": "Debounced Search Input Autocomplete Race",
|
|
4
|
+
"category": "timing_and_race",
|
|
5
|
+
"difficulty": "MEDIUM",
|
|
6
|
+
"description": "Search input debounces 400ms before sending query; test clicked dropdown item before query fired.",
|
|
7
|
+
"failure_vector": {
|
|
8
|
+
"type": "DEBOUNCE_RACE",
|
|
9
|
+
"broken_code": "page.fill('#search-input', 'Invoice'); page.click('.dropdown-item:first-child')",
|
|
10
|
+
"error_log": "TimeoutException: Timed out waiting for '.dropdown-item' to appear in DOM",
|
|
11
|
+
"environment_condition": "Debounce Timer 400ms"
|
|
12
|
+
},
|
|
13
|
+
"expected_resolution": {
|
|
14
|
+
"healed_code": "page.fill('#search-input', 'Invoice'); page.waitForResponse(r => r.url().includes('/search') && r.status() == 200); page.click('.dropdown-item:first-child')",
|
|
15
|
+
"strategy": "CDP_RESPONSE_BARRIER"
|
|
16
|
+
},
|
|
17
|
+
"benchmark_targets": {
|
|
18
|
+
"max_heal_time_sec": 2.5,
|
|
19
|
+
"max_token_cost": 350,
|
|
20
|
+
"min_confidence_score": 0.88
|
|
21
|
+
}
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "QA-CHALLENGE-14",
|
|
3
|
+
"name": "Async Chart SVG Animation Race Condition",
|
|
4
|
+
"category": "timing_and_race",
|
|
5
|
+
"difficulty": "MEDIUM",
|
|
6
|
+
"description": "Financial chart takes 1200ms to calculate series and render SVG paths.",
|
|
7
|
+
"failure_vector": {
|
|
8
|
+
"type": "ASYNC_RENDER_RACE",
|
|
9
|
+
"broken_code": "page.click('.chart-bar:last-child')",
|
|
10
|
+
"error_log": "ElementNotFoundException: Selector '.chart-bar:last-child' not found",
|
|
11
|
+
"environment_condition": "Highcharts Rendering Animation"
|
|
12
|
+
},
|
|
13
|
+
"expected_resolution": {
|
|
14
|
+
"healed_code": "page.waitForSelector('.highcharts-series path', state: 'visible'); page.click('.chart-bar:last-child')",
|
|
15
|
+
"strategy": "SVG_VISIBILITY_SMART_WAIT"
|
|
16
|
+
},
|
|
17
|
+
"benchmark_targets": {
|
|
18
|
+
"max_heal_time_sec": 2.0,
|
|
19
|
+
"max_token_cost": 310,
|
|
20
|
+
"min_confidence_score": 0.9
|
|
21
|
+
}
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "QA-CHALLENGE-15",
|
|
3
|
+
"name": "Infinite Scroll Lazy Loaded Chunk Detach",
|
|
4
|
+
"category": "timing_and_race",
|
|
5
|
+
"difficulty": "MEDIUM",
|
|
6
|
+
"description": "Table rows 50-100 require viewport scroll to trigger network chunk download.",
|
|
7
|
+
"failure_vector": {
|
|
8
|
+
"type": "LAZY_LOAD_RACE",
|
|
9
|
+
"broken_code": "page.locator('tr[data-id=\"75\"]').click()",
|
|
10
|
+
"error_log": "TimeoutException: Timed out waiting for 'tr[data-id=\"75\"]' to be visible",
|
|
11
|
+
"environment_condition": "Virtual Scrolling Table"
|
|
12
|
+
},
|
|
13
|
+
"expected_resolution": {
|
|
14
|
+
"healed_code": "page.locator('tr[data-id=\"75\"]').scrollIntoViewIfNeeded(); page.locator('tr[data-id=\"75\"]').click()",
|
|
15
|
+
"strategy": "VIRTUAL_SCROLL_INTO_VIEW"
|
|
16
|
+
},
|
|
17
|
+
"benchmark_targets": {
|
|
18
|
+
"max_heal_time_sec": 2.0,
|
|
19
|
+
"max_token_cost": 300,
|
|
20
|
+
"min_confidence_score": 0.92
|
|
21
|
+
}
|
|
22
|
+
}
|