Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refonte / Ajout de Tests E2E + snapshots #1317

Closed
7 tasks
jeannelf opened this issue Sep 25, 2023 · 10 comments
Closed
7 tasks

Refonte / Ajout de Tests E2E + snapshots #1317

jeannelf opened this issue Sep 25, 2023 · 10 comments
Assignees

Comments

@jeannelf
Copy link

jeannelf commented Sep 25, 2023

Ajouter des tests e2e pour avoir une couverture complète du site, et s’assurer qu’ils passent.
Les tests indispensables à avoir pour cette v0

Page d'accueil :

  • la page s'affiche
  • le CTA de démarrage apparaît bien sur la page d'accueil
  • on peut passer les pages du tuto et/ou faire le tuto (suivant ou passer)

Simulateur :

  • chaque persona peut passer le test

Challenge tes amis :

  • la page s'affiche
  • on peut créer un groupe
  • le résultat se modifie quand quelqu'un a fait le test (à passer plus tard si jamais cest trop complexxx)
@jeannelf
Copy link
Author

@florianpanchout ca te va comme premiere liste un peu high level sur les trucs à mettre en tests e2e?

@florianpanchout
Copy link
Contributor

Ça me semble bien (et j'ai l'impression que c'est déjà couvert en prod).

Je rajouterais :

  • mettre en place Cypress Snapshot (ou équivalent) pour avoir la liste exhaustive des pages affectées par une PR

@jeannelf jeannelf changed the title Refonte / Ajout de Tests E2E Refonte / Ajout de Tests E2E + snapshots Sep 26, 2023
@florianpanchout florianpanchout assigned bjlaa and unassigned bjlaa Oct 2, 2023
@florianpanchout florianpanchout assigned bjlaa and unassigned EmileRolley Oct 5, 2023
@florianpanchout
Copy link
Contributor

Et petit cadeau :

  • Ajouter des tests via Browsterstack pour s'éviter d'avoir à tester sur toutes les config possibles à chaque fois

@jeannelf jeannelf assigned florianpanchout and unassigned bjlaa Oct 11, 2023
@bjlaa bjlaa assigned bjlaa and unassigned florianpanchout Oct 12, 2023
@bjlaa bjlaa closed this as completed Oct 16, 2023
@bjlaa
Copy link
Contributor

bjlaa commented Oct 16, 2023

Et petit cadeau :
Ajouter des tests via Browsterstack pour s'éviter d'avoir à tester sur toutes les config possibles à chaque fois

À mettre dans une nouvelle carte ? :)

@florianpanchout
Copy link
Contributor

Yep, ainsi que

Je rajouterais :

  • mettre en place Cypress Snapshot (ou équivalent) pour avoir la liste exhaustive des pages affectées par une PR

@bjlaa
Copy link
Contributor

bjlaa commented Oct 16, 2023

Purée on s'est mal compris, je connaissais pas cette lib, j'ai ajouté un test qui prend un snapshot (juste une photo) de chaque page 😭

@florianpanchout
Copy link
Contributor

...et qui en fait quoi ?

@bjlaa
Copy link
Contributor

bjlaa commented Oct 16, 2023

Ça me paraissait curieux à moi aussi, je me suis imaginé que tu voulais pouvoir checker à la mano 🤔

@jeannelf
Copy link
Author

@florianpanchout je peux tester quoi en fonctionnel la ? rien non ?
J'ai créé une nouvelle carte notion avec les 2 points manquants : https://www.notion.so/accelerateur-transition-ecologique-ademe/Refonte-Test-e2e-fin-91817ecb8c914a3297b8f3fa8a8debd0?pvs=4

@florianpanchout
Copy link
Contributor

Nope rien a tester de ton côté

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

No branches or pull requests

4 participants