refactor: comentarii strict functionale, fara referinte PRD/stories
Curatare globala a comentariilor si docstring-urilor (app, tools, teste, scripturi): eliminate referintele la PRD-uri, US-xxx, task-uri istorice si review-uri; pastrata doar informatia functionala, formulata scurt. Regula adaugata in CLAUDE.md (sectiunea Stil). Fara modificari de cod sau comportament. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -1,7 +1,4 @@
|
||||
"""Teste US-003 — tab "Integrare" (hub documentatie + exemple cod).
|
||||
|
||||
TDD: testele se scriu INAINTE de implementare; la inceput pica (RED),
|
||||
dupa implementare trec (GREEN).
|
||||
"""Teste tab "Integrare" (hub documentatie + exemple cod).
|
||||
|
||||
Rute testate:
|
||||
- GET / -> tab-bar contine tab "Integrare"
|
||||
@@ -294,11 +291,11 @@ def test_fara_culori_hardcodate_doar_tokens(client):
|
||||
|
||||
|
||||
# =========================================================================== #
|
||||
# test_export_postman_are_atribut_download [FIX-2] #
|
||||
# test_export_postman_are_atribut_download #
|
||||
# =========================================================================== #
|
||||
|
||||
def test_export_postman_are_atribut_download(client):
|
||||
"""Linkul Postman (.json) contine atributul download (PRD US-003)."""
|
||||
"""Linkul Postman (.json) contine atributul download."""
|
||||
_create_account_user("postman_download@test.com")
|
||||
_login(client, "postman_download@test.com")
|
||||
|
||||
@@ -317,11 +314,11 @@ def test_export_postman_are_atribut_download(client):
|
||||
|
||||
|
||||
# =========================================================================== #
|
||||
# test_export_card_foloseste_cardlink [FIX-1] #
|
||||
# test_export_card_foloseste_cardlink #
|
||||
# =========================================================================== #
|
||||
|
||||
def test_export_card_foloseste_cardlink(client):
|
||||
"""Cardul Export & referinta foloseste componenta .cardlink (PRD US-003)."""
|
||||
"""Cardul Export & referinta foloseste componenta .cardlink."""
|
||||
_create_account_user("export_cardlink@test.com")
|
||||
_login(client, "export_cardlink@test.com")
|
||||
|
||||
@@ -340,18 +337,18 @@ def test_export_card_foloseste_cardlink(client):
|
||||
|
||||
|
||||
# =========================================================================== #
|
||||
# test_microcopy_anticonfuzie_la_test_cheie [FIX-3] #
|
||||
# test_microcopy_anticonfuzie_la_test_cheie #
|
||||
# =========================================================================== #
|
||||
|
||||
def test_microcopy_anticonfuzie_la_test_cheie(client):
|
||||
"""Formularul 'Testeaza conexiunea' contine microcopy anti-confuzie (PRD US-004)."""
|
||||
"""Formularul 'Testeaza conexiunea' contine microcopy anti-confuzie."""
|
||||
_create_account_user("microcopy@test.com")
|
||||
_login(client, "microcopy@test.com")
|
||||
|
||||
resp = client.get("/_fragments/integrare")
|
||||
assert resp.status_code == 200
|
||||
html = resp.text
|
||||
# Textul specific din PRD US-004
|
||||
# Textul specific din formular
|
||||
assert "Nu o salvam" in html, (
|
||||
"Microcopy anti-confuzie lipseste din formularul 'Testeaza conexiunea'. "
|
||||
"Trebuie sa contina: 'Nu o salvam si nu o memoram'."
|
||||
@@ -359,11 +356,11 @@ def test_microcopy_anticonfuzie_la_test_cheie(client):
|
||||
|
||||
|
||||
# =========================================================================== #
|
||||
# test_buton_copiaza_schimba_label_in_copiat [FIX-4] #
|
||||
# test_buton_copiaza_schimba_label_in_copiat #
|
||||
# =========================================================================== #
|
||||
|
||||
def test_buton_copiaza_schimba_label_in_copiat(client):
|
||||
"""Scriptul JS schimba label-ul butonului in 'Copiat' la copiere (PRD US-003)."""
|
||||
"""Scriptul JS schimba label-ul butonului in 'Copiat' la copiere."""
|
||||
_create_account_user("copiat_label@test.com")
|
||||
_login(client, "copiat_label@test.com")
|
||||
|
||||
@@ -398,7 +395,7 @@ def test_buton_copiaza_schimba_label_in_copiat(client):
|
||||
|
||||
|
||||
# =========================================================================== #
|
||||
# test_script_integrare_scoped_pe_container [FIX-3] #
|
||||
# test_script_integrare_scoped_pe_container #
|
||||
# =========================================================================== #
|
||||
|
||||
def test_script_integrare_scoped_pe_container(client):
|
||||
|
||||
Reference in New Issue
Block a user