From 87703df9e621a8dce4a59b2b8c978788df96278b Mon Sep 17 00:00:00 2001 From: adpat Date: Fri, 22 Dec 2023 11:00:11 +0100 Subject: [PATCH] Completed gherkin tests --- ...Scheduler-time-and-participant-starting-time.md | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/docs/gherkin/Relative-Scheduler-time-and-participant-starting-time.md b/docs/gherkin/Relative-Scheduler-time-and-participant-starting-time.md index 38f1cfe5..2e4669fd 100644 --- a/docs/gherkin/Relative-Scheduler-time-and-participant-starting-time.md +++ b/docs/gherkin/Relative-Scheduler-time-and-participant-starting-time.md @@ -3,11 +3,9 @@ ### Background: - Study was created or exists and has a valid relative observation and 10 participants. -## Absolute Scheduler in SMF (updated version) - -| **Scenario** | **Given** | **Steps** | **Expected Result** | **Result** | **Note** | -|---------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| -| Participant list exists and updates | Background, and that a smartphone with the more app is prepared | | THEN the participants list should show a "started on" coloumn
AND it should update with the correct starting date once the user data has been entered to the smartphone | | | -| Relative scheduer shows the correct start and end times | Background, and the observation tab is open | | THEN the relative scheduler should show the correct start and end date (I have entered) at any given point during this test. | | | -| The exported calendar shows the correct dates. | Background, and the study list is open. | | THEN the existing observation(s) should be displayed correctly
AND should not have a one hour offset compared to the observation(s) in the study manager | | | -| Correct observation display on the smartphone | Background, one observation with a relative calendar exists with an start time of day one at 00:00 and an end time of 12:00
AND it is repeated every day
AND a mobile phone with the MORE app is ready to join the study
AND the participant tab is open | | THEN the observaions should be shown at the correct time, at the correct day. | | | +| **Scenario** | **Given** | **Steps** | **Expected Result** | **Result** | **Note** | +|---------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------|-----------------------------------------------------| +| Participant list exists and updates | Background, and that a smartphone with the more app is prepared | | THEN the participants list should show a "started on" coloumn
AND it should update with the correct starting date once the user data has been entered to the smartphone | as expected | After reload the startdate and time has been shown. | +| Relative scheduer shows the correct start and end times | Background, and the observation tab is open | | THEN the relative scheduler should show the correct start and end date (I have entered) at any given point during this test. | as expected | | +| The exported calendar shows the correct dates. | Background, and the study list is open. | | THEN the existing observation(s) should be displayed correctly
AND should not have a one hour offset compared to the observation(s) in the study manager | as expected | | +| Correct observation display on the smartphone | Background, one observation with a relative calendar exists with an start time of day one at 00:00 and an end time of 12:00
AND it is repeated every day
AND a mobile phone with the MORE app is ready to join the study
AND the participant tab is open | | THEN the observaions should be shown at the correct time, at the correct day. | as expected | |