Skip to content

test(playwright): complément d'acceptance utilisateur — parcours secrets - #2589

Closed
shikanime wants to merge 3 commits into
mainfrom
test/uat-playwright
Closed

shikanime wants to merge 3 commits into
mainfrom
test/uat-playwright

Conversation

@shikanime

@shikanime shikanime commented Aug 25, 2026 •

Copy link
Copy Markdown
Member

Issues liées

#2574


Quel est le comportement actuel ?

Le parcours UI des secrets de projet n'avait aucun spec Playwright dédié ; le cahier de tests fonctionnels documente la bascule « Afficher/Cacher les secrets des services ».

Quel est le nouveau comportement ?

playwright/e2e-tests/secrets.spec.ts — un seul test :

  • bascule du libellé Afficher ↔ Cacher sur un projet neuf (le retour à l'état caché clôt le parcours) ;
  • la visibilité initiale du bouton reste couverte par « Should show project secrets » (dashboard.spec.ts) ;
  • le cas projet verrouillé (bouton indisponible) n'est pas couvert — la stack CI ne provisionne pas de projet verrouillé.

playwright/integration-tests/user-flow.spec.ts — « Check project secrets » :

  • sur un environnement d'intégration, la modale expose la section GITLAB avec les clés GIT_MIRROR_PROJECT_ID / GIT_MIRROR_TOKEN (valeur non vide) et la section VAULT — clés seulement, les valeurs tournent avec le provisionnement.

Suite e2e : 176 tests listés (chromium+firefox), lint ESLint vert. Le parcours a été exécuté avec succès dans le run merge-queue #32905282108 (4 shards Playwright success) sur une base proche.

Cette PR introduit-elle un breaking change ?

Non.

@yorha-operator yorha-operator left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verdict : Approuvé — la PR reste en draft dans l'attente de la décision d'atterrissage.

Complément d'acceptance SECR autonome : un seul fichier, deux commits dans le périmètre, aucun conflit prévisible avec les autres files. ✨ Éloge — le parcours secrets en Playwright referme l'écart customer-facing identifié dans #2574 entre unité/e2e et expérience réelle.

@yorha-operator yorha-operator left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verdict : Approuvé — la PR reste en draft dans l'attente de la décision d'atterrissage.

Complément d'acceptance SECR autonome : un seul fichier, deux commits dans le périmètre, aucun conflit prévisible avec les autres files. ✨ Éloge — le parcours secrets en Playwright referme l'écart customer-facing identifié dans #2574 entre unité/e2e et expérience réelle.

@shikanime
shikanime force-pushed the test/uat-playwright branch 3 times, most recently from 37d0132 to 35cf87d Compare September 10, 2026 15:15
@shikanime shikanime changed the title test(playwright): complément d'acceptance utilisateur — parcours secrets (SECR) test(playwright): complément d'acceptance utilisateur — parcours secrets Sep 10, 2026
@shikanime
shikanime force-pushed the test/uat-playwright branch 2 times, most recently from 09b4a0f to 8be7be5 Compare September 10, 2026 15:35
@shikanime
shikanime marked this pull request as ready for review September 10, 2026 15:40
@shikanime
shikanime requested a review from a team as a code owner September 10, 2026 15:40
StephaneTrebel
StephaneTrebel previously approved these changes Sep 11, 2026
@shikanime
shikanime added this pull request to the merge queue Sep 11, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Sep 11, 2026
@shikanime
shikanime added this pull request to the merge queue Sep 11, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Sep 11, 2026
@shikanime
shikanime added this pull request to the merge queue Sep 11, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Sep 11, 2026
@shikanime shikanime self-assigned this Sep 24, 2026
@shikanime
shikanime marked this pull request as draft September 24, 2026 08:43
@shikanime shikanime added the preview Deploy preview app with Argo-cd label Sep 24, 2026
@github-actions

Copy link
Copy Markdown
Contributor

🤖 Hey !

A preview of the application is available at : https://console-pr-2589.dso.cpin-hp.numerique-interieur.fr

Please be patient, deployment may take a few minutes.

@shikanime shikanime removed the preview Deploy preview app with Argo-cd label Sep 28, 2026
@shikanime shikanime moved this to Backlog in Cloud Pi Native Sep 29, 2026
@github-project-automation github-project-automation Bot moved this from Backlog to Ready in Cloud Pi Native Sep 29, 2026
@shikanime shikanime added this to the 9.27.0 milestone Sep 29, 2026
@shikanime
shikanime requested review from a team and StephaneTrebel September 29, 2026 11:13
@shikanime
shikanime removed the request for review from StephaneTrebel September 29, 2026 13:25
@shikanime shikanime added the enhancement New feature or request label Oct 1, 2026
@shikanime
shikanime force-pushed the test/uat-playwright branch from fd35bba to b5ab8be Compare October 1, 2026 14:49
@shikanime
shikanime force-pushed the test/uat-playwright branch from b5ab8be to 7df372e Compare October 1, 2026 16:38

@StephaneTrebel StephaneTrebel left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Le parcours Playwright vérifie utilement la bascule Afficher/Cacher et le test d’intégration cible les clés stables, sans exposer les valeurs tournantes. La branche est à 46 commits de main : rebaser et relancer les contrôles avant approbation.

@iliesmrf iliesmrf modified the milestones: 9.27.0, 9.28.0 Oct 2, 2026
@shikanime
shikanime force-pushed the test/uat-playwright branch from 7df372e to c390e5d Compare October 2, 2026 11:56
@StephaneTrebel

Copy link
Copy Markdown
Collaborator

Relecture de la tête actuelle : le parcours Playwright vérifie la bascule Afficher/Cacher et le scénario d’intégration vérifie les secrets attendus sans figer leurs valeurs. La PR étant en brouillon, aucun verdict formel n’est publié.

@shikanime
shikanime force-pushed the test/uat-playwright branch from c390e5d to 30a83fb Compare October 2, 2026 15:01
shikanime and others added 3 commits October 2, 2026 17:09
Co-authored-by: Automata <automata@shikanime.studio>
Retire le test redondant (visibilité du toggle, déjà couvert par
'Should show project secrets' dans dashboard.spec.ts), le skip verrouillé
(0 assertion) et le guard afterEach superflu (deleteProject gère sa
navigation). Un seul test conserve le contrat : libellé Afficher/Cacher.

Signed-off-by: William Phetsinorath <william.phetsinorath-open@interieur.gouv.fr>
Change-Id: I0e1156816ab0c44aebbbdfbf7be968576a6a6964

Co-authored-by: Automata <automata@shikanime.studio>
Co-authored-by: Automata <automata@shikanime.studio>
@shikanime
shikanime force-pushed the test/uat-playwright branch from 30a83fb to 48f61fa Compare October 2, 2026 15:09
@shikanime

Copy link
Copy Markdown
Member Author

CC #2796

@shikanime shikanime closed this Oct 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

built enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants