@@ -11,11 +11,8 @@ module('Integration | Component | administration/certification/flash-algorithm-
11
11
// given
12
12
const flashAlgorithmConfiguration = {
13
13
maximumAssessmentLength: 1 ,
14
- warmUpLength: 2 ,
15
14
challengesBetweenSameCompetence: 3 ,
16
15
variationPercent: 4 ,
17
- variationPercentUntil: 5 ,
18
- doubleMeasuresUntil: 6 ,
19
16
limitToOneQuestionPerTube: true ,
20
17
enablePassageByAllCompetences: false ,
21
18
};
@@ -29,21 +26,12 @@ module('Integration | Component | administration/certification/flash-algorithm-
29
26
const maximumAssessmentLength = await screen .getByRole (' spinbutton' , {
30
27
name: t (' pages.administration.certification.flash-algorithm-configuration.form.maximumAssessmentLength' ),
31
28
}).value ;
32
- const warmUpLength = await screen .getByRole (' spinbutton' , {
33
- name: t (' pages.administration.certification.flash-algorithm-configuration.form.warmUpLength' ),
34
- }).value ;
35
29
const challengesBetweenSameCompetence = await screen .getByRole (' spinbutton' , {
36
30
name: t (' pages.administration.certification.flash-algorithm-configuration.form.challengesBetweenSameCompetence' ),
37
31
}).value ;
38
32
const variationPercent = await screen .getByRole (' spinbutton' , {
39
33
name: t (' pages.administration.certification.flash-algorithm-configuration.form.variationPercent' ),
40
34
}).value ;
41
- const variationPercentUntil = await screen .getByRole (' spinbutton' , {
42
- name: t (' pages.administration.certification.flash-algorithm-configuration.form.variationPercentUntil' ),
43
- }).value ;
44
- const doubleMeasuresUntil = await screen .getByRole (' spinbutton' , {
45
- name: t (' pages.administration.certification.flash-algorithm-configuration.form.doubleMeasuresUntil' ),
46
- }).value ;
47
35
const limitToOneQuestionPerTube = await screen .getByRole (' checkbox' , {
48
36
name: t (' pages.administration.certification.flash-algorithm-configuration.form.limitToOneQuestionPerTube' ),
49
37
}).checked ;
@@ -52,11 +40,8 @@ module('Integration | Component | administration/certification/flash-algorithm-
52
40
}).checked ;
53
41
54
42
assert .strictEqual (maximumAssessmentLength, ' 1' );
55
- assert .strictEqual (warmUpLength, ' 2' );
56
43
assert .strictEqual (challengesBetweenSameCompetence, ' 3' );
57
44
assert .strictEqual (variationPercent, ' 4' );
58
- assert .strictEqual (variationPercentUntil, ' 5' );
59
- assert .strictEqual (doubleMeasuresUntil, ' 6' );
60
45
assert .true (limitToOneQuestionPerTube);
61
46
assert .false (enablePassageByAllCompetences);
62
47
});
0 commit comments