From 561a0df3fea6fc55831c210aba2a2c982da0e520 Mon Sep 17 00:00:00 2001 From: Sylvain Duchesne Date: Mon, 26 Jan 2026 17:29:10 +0100 Subject: [PATCH] User profile page with past and future events --- features/step_definitions/screen.steps.ts | 6 +- reports/cucumber-report.html | 2 +- reports/cucumber-report.json | 1190 ++++++++++----------- src/data/stepDefinitions.ts | 2 +- src/data/testResults.ts | 52 +- src/screens/UserProfileScreen.tsx | 53 +- 6 files changed, 667 insertions(+), 638 deletions(-) diff --git a/features/step_definitions/screen.steps.ts b/features/step_definitions/screen.steps.ts index b3e4752..da3c206 100644 --- a/features/step_definitions/screen.steps.ts +++ b/features/step_definitions/screen.steps.ts @@ -175,9 +175,9 @@ Then('je peux contacter l\'utilisateur', async function (this: FestipodWorld) { Then('je peux voir les événements auxquels l\'utilisateur a participé', async function (this: FestipodWorld) { expect(this.currentScreenId).to.equal('user-profile'); const source = this.getRenderedText(); - // UserProfileScreen.tsx line 52: "Événements en commun" section with pastEvents - expect(/Événements en commun/.test(source), 'User profile should have "Événements en commun" section').to.be.true; - expect(/pastEvents/.test(source), 'User profile should display pastEvents data').to.be.true; + // UserProfileScreen.tsx: "Événements à venir" and "Événements passés" sections + expect(/Événements à venir/.test(source), 'User profile should have "Événements à venir" section').to.be.true; + expect(/Événements passés/.test(source), 'User profile should have "Événements passés" section').to.be.true; }); Then('je peux configurer mes notifications', async function (this: FestipodWorld) { diff --git a/reports/cucumber-report.html b/reports/cucumber-report.html index 23dc1d8..91e0e57 100644 --- a/reports/cucumber-report.html +++ b/reports/cucumber-report.html @@ -46,7 +46,7 @@