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

Suppression des tests e2e #172

Merged
merged 11 commits into from Feb 6, 2023
Merged

Suppression des tests e2e #172

merged 11 commits into from Feb 6, 2023

Conversation

AlexandreCantin
Copy link
Contributor

@AlexandreCantin AlexandreCantin commented Jan 31, 2023

Bon...

Pour les tests unitaires :
on ne gérait pas le cas où les services ne sont pas au statut PUBLIÉ => dans ce cas-là, la notion d'obsolescence n'est pas pertinente...
on avait perdu les rel=noffollow sur les liens markdown
=> les tests unitaires seront modifiés dans une seconde PR (avec ajout d'un pre-commit hook)

Pour les tests e2e => c'est un peu plus compliqué :

  • certains tests sont obsolètes : éléments HTML inexistants ou déplacés / textes modifiés...
  • on m'a imposé l'import avec les .ts sinon les modules ne sont pas trouvés...
  • certains nouveaux appels API n'étaient pas gérés...

=> globalement, il va falloir définir quelle importance on souhaite donner à ces tests => aller plus loin ou les laisser tomber !

@AlexandreCantin AlexandreCantin self-assigned this Jan 31, 2023
@AlexandreCantin AlexandreCantin changed the title Fix unit tests Réparation des tests unitaires et e2e Jan 31, 2023
@AlexandreCantin AlexandreCantin marked this pull request as ready for review February 1, 2023 13:17
package.json Show resolved Hide resolved
package.json Outdated Show resolved Hide resolved
src/lib/utils/misc.ts Outdated Show resolved Hide resolved
@AlexandreCantin AlexandreCantin changed the title Réparation des tests unitaires et e2e Suppression des tests e2e Feb 2, 2023
Copy link
Contributor

@cedricr cedricr left a comment

Choose a reason for hiding this comment

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

Ça m'a l'air presque tout bon, je ne vois plus que le !.env.test dans le .gitignore

@AlexandreCantin AlexandreCantin merged commit 90593e3 into main Feb 6, 2023
@AlexandreCantin AlexandreCantin deleted the fix-unit-tests branch February 6, 2023 08:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants