Bugfix Issue 1443 Test Approach Chapter Verified - sebiboga/testlink-upgraded GitHub Wiki

Issue #1443 — Test Strategy "Test Approach" chapter: verified complete (stale tracking issue)

Issue requirement

The tracking issue requested a dedicated chapter page for the Test Approach section of the Test Strategy:

  • Page: gui/templates/strategy/approach.html
  • Icon: fa-compass
  • Wired into:
    • Aside nav: sub-item under Test Strategy (href_test_strategy_* labels in en_GB/en_US/ro_RO strings.txt)
    • General Overview: CHAPTERS entry in gui/templates/strategy/testStrategy.html with an Open chapter button
  • i18n keys: ts.approach* in en.json + ro.json (header, sub, card titles, bullets)
  • Content — Strategy: risk-based prioritisation of what to test first; shift-left (static and early dynamic testing); combination of manual and automated execution. Techniques: specification-based techniques (EP, BVA, decision tables); experience-based and exploratory testing; regression and smoke suites on every build.

Investigation result (measured)

Every requirement above is already implemented and verified working on the default branch. No defect is reproducible on this issue's subject matter; the issue was a tracking issue left open after the chapter landed.

Implementation provenance:

  • f934433d7 — feat(strategy): dedicated pages + nav sub-items for all 18 Test Strategy chapters (Refs #1426, #1440-#1458) — created approach.html, the BFF chapter-map entry (api/strategy/index.php:61, num 4, fa-compass, ts.chapterApproach → approach.html) and the ASIDE sub-item (gui/templates/dashio/aside.tpl:144, label href_test_strategy_approach).
  • 1ee2e0501 — jQuery loaded on all Test Strategy chapter pages so TLi18n initializes inside the mainframe iframe (Refs #1457).
  • 945679c5b — the 179 chapter content keys (incl. ts.approach*) translated in all 8 non-en/ro bundles (Refs #1486, closed bug).

Verification evidence

  • HTTP: approach.html → 200; testStrategy.html → 200.
  • BFF (authenticated): GET api/strategy/index.php?action=chapters → status:ok with chapter 4 = {icon:"fa-compass", key:"ts.chapterApproach", descKey:"ts.chapterApproachDesc", url:"/gui/templates/strategy/approach.html"}; footer keys present.
  • ASIDE label href_test_strategy_approach present in locale/en_US/strings.txt:2285, locale/en_GB/strings.txt:2316, locale/ro_RO/strings.txt:33; common.php:2112 maps testStrategyApproach → approach.html.
  • i18n: all 10 bundles (de en es fr it ja pt ro ru zh) contain all 10 ts.approach* keys + ts.chapterApproach/ts.chapterApproachDesc with native translations; every bundle passes python3 -m json.tool.
  • Browser (admin/admin): ASIDE → Test Strategy → Approach renders the chapter in the mainframe (header + sub, Strategy card with 3 bullets, Techniques card with 3 bullets, Back-to-Strategy link, locale switcher); General Overview card #4 shows fa-compass + Open chapter → navigates to approach.html; locale switch → Română renders Abordarea Testării + translated bullets. Console: 0 messages.
  • Event Viewer: events table has no new ERROR/WARNING entries.

Resolution

No code change was needed (nothing to fix). Closed after an 8/8 PASS regression suite (tmp/TLU_Test_Cases.md), browser/console/Event-Viewer clean.

Screenshots

  • Test Approach — English render — approach.html: title/header/sub, both cards (Strategy + Techniques) with all six bullets, Back-to-Strategy link, locale switcher.
  • Test Approach — Română render — same page after the locale switcher → Română: Abordarea Testării, translated header/sub/cards/bullets proving client-side i18n.