Skip to content

Commit 4f2717d

Browse files
committed
chore(release): v0.0.3
1 parent 196a6ca commit 4f2717d

2 files changed

Lines changed: 19 additions & 16 deletions

File tree

README.md

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -127,14 +127,18 @@ We use two automated workflows:
127127
- **Status:** [![Deploy](https://github.com/SophiaHackLab/docusaurus/actions/workflows/deploy.yml/badge.svg)](https://github.com/SophiaHackLab/docusaurus/actions/workflows/deploy.yml)
128128

129129
**2. E2E Test Workflow** (`.github/workflows/test.yml`)
130-
- **Trigger:** Push to `main`, Pull requests
130+
- **Trigger:** Push to `main`, Pull requests, manual dispatch
131131
- **Steps:**
132132
1. Checkout code
133-
2. Setup Node.js and Playwright
134-
3. Build and serve Docusaurus
135-
4. Run e2e tests (69 tests × 3 browsers)
136-
5. Generate JUnit XML and HTML reports
137-
6. Upload test artifacts
133+
2. Setup Node.js 20 with npm cache
134+
3. Install dependencies with `npm ci`
135+
4. Install Playwright browsers with dependencies
136+
5. Build Docusaurus
137+
6. Run Playwright tests with JUnit, HTML, and list reporters
138+
7. Upload test results (JUnit XML and HTML)
139+
8. Upload screenshots on failure
140+
9. Publish test summary to GitHub
141+
- **Timeout:** 15 minutes maximum
138142
- **Reports:** Available as GitHub Actions artifacts for 30 days
139143
- **Status:** [![Tests](https://github.com/SophiaHackLab/docusaurus/actions/workflows/test.yml/badge.svg)](https://github.com/SophiaHackLab/docusaurus/actions/workflows/test.yml)
140144

docs/contributing.md

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ Bienvenue dans le dépôt de documentation du SophiaHackLab!
4141
### Option 2: Configuration de développement local (pour les modifications complexes)
4242

4343
**Prérequis:**
44-
- Node.js 18+ (version 20 recommandée)
45-
- npm 9+
44+
- Node.js 20+
45+
- npm 10+
4646
- Git
4747
- Connaissance de base de Markdown
4848

@@ -87,16 +87,16 @@ npm run test:report # Voir le rapport HTML des tests
8787

8888
### Configuration des tests Playwright
8989

90-
Notre suite de tests s'exécute sur 3 navigateurs (Chromium, Firefox, WebKit) et vérifie 69 scénarios.
90+
Notre suite de tests contient 23 tests qui s'exécutent sur 3 navigateurs (Chromium, Firefox, WebKit), soit 69 exécutions au total.
9191

9292
**Navigateurs Playwright:**
9393
```bash
9494
npx playwright install --with-deps
9595
```
9696

9797
**Exigences de test:**
98-
-Taux de réussite minimum: 95% (66/69 tests)
99-
- ✅ Tests réussis sur les 3 navigateurs
98+
-Tous les tests doivent passer (23 tests × 3 navigateurs = 69 exécutions)
99+
- ✅ Tests réussis sur les 3 navigateurs (Chromium, Firefox, WebKit)
100100
- ✅ Construction sans erreur
101101
- ✅ Aucun lien brisé
102102

@@ -371,8 +371,8 @@ Votre PR doit:
371371

372372
1. **Vérifications automatisées** exécutées via GitHub Actions:
373373
- Vérification de la construction
374-
- Tests E2E (69 tests × 3 navigateurs)
375-
- Génération de rapport de test
374+
- Tests E2E (23 tests sur 3 navigateurs = 69 exécutions)
375+
- Génération de rapports de test (JUnit XML et HTML)
376376

377377
2. **Révision manuelle** par les mainteneurs:
378378
- Qualité du code
@@ -431,9 +431,8 @@ Si vous vivez ou êtes témoin d'un comportement inacceptable:
431431

432432
### Documentation du projet
433433

434-
- [README.md](https://github.com/SophiaHackLab/docusaurus/blob/main/README.md) - Vue d'ensemble
435-
- [DEPLOYMENT.md](https://github.com/SophiaHackLab/docusaurus/blob/main/DEPLOYMENT.md) - Déploiement
436-
- [PROJECT_SUMMARY.md](https://github.com/SophiaHackLab/docusaurus/blob/main/PROJECT_SUMMARY.md) - Résumé complet
434+
- [README.md](https://github.com/SophiaHackLab/docusaurus/blob/main/README.md) - Vue d'ensemble du projet et configuration
435+
- [DEPLOYMENT.md](https://github.com/SophiaHackLab/docusaurus/blob/main/DEPLOYMENT.md) - Instructions de déploiement
437436

438437
### Documentation externe
439438

0 commit comments

Comments
 (0)