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

[TRA-13028] Tests end-to-end avec Playwright #2822

Closed
wants to merge 25 commits into from
Closed

Conversation

GaelFerrand
Copy link
Collaborator

@GaelFerrand GaelFerrand commented Nov 3, 2023

Contexte

Afin de réduire le temps de recettage, notamment au niveau des checklists standards BSDs, et d'améliorer la couverture de test, cette PR vise à ajouter Playwright au repo.

TODO

  • Faire runner les tests sur la CI
  • Documenter l'installation + usages courants

Notes

Lancer les tests en local:
npx playwright test

Afficher le rapport:
npx playwright show-report

Lancer le recorder:
npx playwright codegen http://trackdechets.local/login

Ticket Favro

Etudier la faisabilité des tests end-to-end

Copy link

sonarcloud bot commented Nov 6, 2023

SonarCloud Quality Gate failed.    Quality Gate failed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot E 1 Security Hotspot
Code Smell A 1 Code Smell

No Coverage information No Coverage information
0.0% 0.0% Duplication

idea Catch issues before they fail your Quality Gate with our IDE extension sonarlint SonarLint

console.log("========================================================");
console.log("========================= E2E ==========================");
console.log("========================================================");
console.log("env", process.env);

Check failure

Code scanning / CodeQL

Clear-text logging of sensitive information High test

This logs sensitive data returned by
process environment
as clear text.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant