Configured slumber: 1 week data collection -> 2 week slumber -> 2 day data collection
This commit is contained in:
Родитель
f1d6e07543
Коммит
6365cfeeca
|
@ -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,
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче