Configured slumber: 1 week data collection -> 2 week slumber -> 2 day data collection

This commit is contained in:
Fredrik Wollsén 2019-06-11 13:07:17 +03:00
Родитель f1d6e07543
Коммит 6365cfeeca
3 изменённых файлов: 4 добавлений и 4 удалений

Просмотреть файл

@ -84,7 +84,7 @@ No user interface elements are modified in this study.
- Install the add-on as per above - Install the add-on as per above
- Verify that the study runs - Verify that the study runs
- Quit Firefox - Quit Firefox
- Adjust the system clock so that the study is just about to have run for 14 days - Adjust the system clock so that the study is just about to have run for 21 days
- Start Firefox - Start Firefox
- Verify that the study runs - Verify that the study runs
- Verify that the study add-on log out includes "We have entered the slumber period. Do not activate the study but schedule the re-activation" - Verify that the study add-on log out includes "We have entered the slumber period. Do not activate the study but schedule the re-activation"
@ -102,7 +102,7 @@ No user interface elements are modified in this study.
- Install the add-on as per above - Install the add-on as per above
- Verify that the study runs - Verify that the study runs
- Quit Firefox - Quit Firefox
- Adjust the system clock so that the study has run for 16 days - Adjust the system clock so that the study has run for 22 days
- Start Firefox - Start Firefox
- Verify that the study runs - Verify that the study runs
- Verify that the study add-on log out includes "We are back after the slumber, simply activate the study and wait for study to expire" - Verify that the study add-on log out includes "We are back after the slumber, simply activate the study and wait for study to expire"

Просмотреть файл

@ -34,7 +34,7 @@
let studyLengthInDays; let studyLengthInDays;
const defaultSlumberStartDay = 7; const defaultSlumberStartDay = 7;
const defaultSlumberEndDay = 14; const defaultSlumberEndDay = 21;
class StudyLifeCycleHandler { class StudyLifeCycleHandler {
/** /**

Просмотреть файл

@ -81,7 +81,7 @@ const baseStudySetup = {
// maximum time that the study should run, from the first run // maximum time that the study should run, from the first run
expire: { expire: {
days: 7 * 3, // 3 weeks days: 7+14+2,
}, },
}; };