From e359ab66cba761a4d2231a94060607c9b3516ed1 Mon Sep 17 00:00:00 2001 From: Romulo3000 Date: Sat, 4 Oct 2025 16:30:51 -0300 Subject: [PATCH 1/3] feature notification --- feature/notification.feature | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 feature/notification.feature diff --git a/feature/notification.feature b/feature/notification.feature new file mode 100644 index 000000000..e69de29bb From ca199663643105a009c295a74d81f87115940e13 Mon Sep 17 00:00:00 2001 From: Romulo3000 Date: Sat, 4 Oct 2025 17:00:17 -0300 Subject: [PATCH 2/3] add cenario to feature --- feature/notification.feature | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/feature/notification.feature b/feature/notification.feature index e69de29bb..3b3c510a7 100644 --- a/feature/notification.feature +++ b/feature/notification.feature @@ -0,0 +1,19 @@ + + +Scenario: Editing grade + +Given The student "Marcos Almeida" has achieved "MPA, MPA, -" for the evaluated learning goals +And I’m at the "Editing grades" page +When I confirm grades to the system +Then I go to "grades" page +And I see the new grade to "Marcos Almeida" +and the student "Marcos Almeida" receive a email from the system + +Scenario: Editing grade for the second time + +Given The student "Marcos Almeida" has achieved "MPA, MPA, -" for the evaluated learning goals +And I’m at the "Editing grades" page +When I confirm grades to the system +Then I go to "grades" page +And I see the new grade to "Marcos Almeida" +and the student "Marcos Almeida" don't receive a email from the system because he alredy received once today From 3aa3bfa425998b654de737672c36292ac63c49e5 Mon Sep 17 00:00:00 2001 From: Romulo3000 Date: Sat, 4 Oct 2025 17:13:26 -0300 Subject: [PATCH 3/3] novo cenario --- feature/notification.feature | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/feature/notification.feature b/feature/notification.feature index 3b3c510a7..1395778c8 100644 --- a/feature/notification.feature +++ b/feature/notification.feature @@ -9,11 +9,20 @@ Then I go to "grades" page And I see the new grade to "Marcos Almeida" and the student "Marcos Almeida" receive a email from the system +Scenario: + +Given The student "Valeria Almeida" has achieved "MANA, MANA, -" for the evaluated learning goals +And I’m at the "Editing grades" page +When I confirm grades to the system +Then I go to "grades" page +And I see the new grade to "Valeria Almeida" +and the student "Valeria Almeida" receive a email from the system + Scenario: Editing grade for the second time Given The student "Marcos Almeida" has achieved "MPA, MPA, -" for the evaluated learning goals And I’m at the "Editing grades" page When I confirm grades to the system Then I go to "grades" page -And I see the new grade to "Marcos Almeida" +And I see the new grade to "Marcos Almeida" a and the student "Marcos Almeida" don't receive a email from the system because he alredy received once today