itemengine-cypress-automation 1.0.24 → 1.0.26
Sign up to get free protection for your applications and to get access to all the features.
- package/cypress/e2e/ILC/FillInTheGapsText/fillInTheGapsTextAdditionalSettingsAdvanceSettingsForAllResponseAreas.js +511 -0
- package/cypress/e2e/ILC/FillInTheGapsText/fillInTheGapsTextAdditionalSettingsBasic.js +263 -0
- package/cypress/e2e/ILC/FillInTheGapsText/fillInTheGapsTextAdditionalSettingsResponseAccordions.js +734 -0
- package/cypress/e2e/ILC/FillInTheGapsText/fillInTheGapsTextAdditionalSettingsStudentResponseAreaAndLayout.js +603 -0
- package/cypress/e2e/ILC/FillInTheGapsText/fillInTheGapsTextAllOrNothingWithAlternateAnswer.js +54 -0
- package/cypress/e2e/ILC/FillInTheGapsText/fillInTheGapsTextAutoScoredScoring.js +0 -46
- package/cypress/e2e/ILC/FillInTheGapsText/fillInTheGapsTextPartialDifferentWeights.js +47 -0
- package/cypress/e2e/ILC/FillInTheGapsText/{fillInTheGapsTextScoringPartialDifferentWeights.js → fillInTheGapsTextPartialDifferentWeightsWithAlternateAnswer.js} +1 -38
- package/cypress/e2e/ILC/FillInTheGapsText/fillInTheGapsTextPartialEqualWeights.js +45 -0
- package/cypress/e2e/ILC/FillInTheGapsText/{fillInTheGapsTextScoringPartialEqualWeights.js → fillInTheGapsTextPartialEqualWeightsWithAlternateAnswer.js} +0 -37
- package/cypress/e2e/ILC/HighlightImage/highlightImageAdditionalSettings.js +447 -0
- package/cypress/e2e/ILC/HighlightImage/highlightImageAllOrNothingScoring.js +1029 -0
- package/cypress/e2e/ILC/HighlightImage/highlightImageCustomizeHighlightProperties.js +1010 -0
- package/cypress/e2e/ILC/HighlightImage/highlightImageEditTabBasic.js +200 -0
- package/cypress/e2e/ILC/HighlightImage/highlightImageEditTabHighlightSectionContents.js +318 -0
- package/cypress/e2e/ILC/HighlightImage/highlightImageEditTabScoring.js +403 -0
- package/cypress/e2e/ILC/HighlightImage/highlightImageHeaderSection.js +86 -0
- package/cypress/e2e/ILC/HighlightImage/highlightImageManuallyAndNonScoredScoring.js +176 -0
- package/cypress/e2e/ILC/HighlightImage/highlightImagePartialDifferentWeightsScoring.js +1093 -0
- package/cypress/e2e/ILC/HighlightImage/highlightImagePartialEqualWeightsScoring.js +1087 -0
- package/cypress/e2e/ILC/HighlightImage/highlightImagePreviewTab.js +88 -0
- package/cypress/e2e/ILC/HighlightImage/highlightImageSetCorrectAnswerCheckboxes.js +244 -0
- package/cypress/e2e/ILC/HighlightImage/highlightImageSetCorrectAnswerSection.js +186 -0
- package/cypress/e2e/ILC/HighlightImage/highlightImageToolsFunctionality.js +309 -0
- package/package.json +1 -1
- package/cypress/e2e/ILC/FillInTheGapsText/fillInTheGapsTextAdditionalSettings.js +0 -2060
@@ -34,51 +34,5 @@ describe('Create Item page - Fill in the Gaps: Scoring Section', () => {
|
|
34
34
|
|
35
35
|
fillInTheGapsScoring.tests.verifyAutoScoredAllOrNothingScoring('fill in the gaps - text');
|
36
36
|
});
|
37
|
-
|
38
|
-
describe('Question Preview: AutoScored - All or Nothing with alternate answer with \'Match from all responses property - \"false\"\'', () => {
|
39
|
-
abortEarlySetup();
|
40
|
-
before(() => {
|
41
|
-
cy.log('Navigate to Fill in the gaps - text question type, adding correct answer responses and alternate answer responses for autoscored - all or nothing scoring, adding points and switch to preview tab');
|
42
|
-
fillInTheGapsTextPage.steps.navigateToCreateQuestion('fill in the gaps with text');
|
43
|
-
fillInTheGapsTextPage.steps.setCorrectAnswerResponses(['Response 1', 'Response 2']);
|
44
|
-
fillInTheGapsTextPage.steps.allotPoints(7);
|
45
|
-
fillInTheGapsTextPage.steps.verifySetCorrectAnswerErrorIconIsNotDisplayed();
|
46
|
-
fillInTheGapsTextPage.alternateAnswerButton()
|
47
|
-
.click();
|
48
|
-
fillInTheGapsTextPage.steps.setCorrectAnswerResponses(['Response 3', 'Response 4']);
|
49
|
-
fillInTheGapsTextPage.steps.allotPoints(3);
|
50
|
-
fillInTheGapsTextPage.steps.verifySetCorrectAnswerErrorIconIsNotDisplayed();
|
51
|
-
fillInTheGapsTextPage.steps.expandAdditonalSettings();
|
52
|
-
fillInTheGapsTextPage.allowStudentsToCheckAnswerCheckbox()
|
53
|
-
.click();
|
54
|
-
fillInTheGapsTextPage.steps.switchToPreviewTab();
|
55
|
-
});
|
56
|
-
|
57
|
-
fillInTheGapsScoring.tests.verifyAutoScoredAllOrNothingWithAlternateAnswerAndMatchFromAllResponsesFalse('fill in the gaps - text')
|
58
|
-
});
|
59
|
-
|
60
|
-
describe('Question Preview: AutoScored - All or Nothing with alternate answer with \'Match from all responses property - \"true\"\'', () => {
|
61
|
-
abortEarlySetup();
|
62
|
-
before(() => {
|
63
|
-
cy.log('Navigate to Fill in the gaps - text question type, adding correct answer responses and alternate answer responses for autoscored - all or nothing scoring');
|
64
|
-
fillInTheGapsTextPage.steps.navigateToCreateQuestion('fill in the gaps with text');
|
65
|
-
fillInTheGapsTextPage.steps.setCorrectAnswerResponses(['Response 1', 'Response 2']);
|
66
|
-
fillInTheGapsTextPage.steps.allotPoints(7);
|
67
|
-
fillInTheGapsTextPage.steps.verifySetCorrectAnswerErrorIconIsNotDisplayed();
|
68
|
-
fillInTheGapsTextPage.alternateAnswerButton()
|
69
|
-
.click();
|
70
|
-
fillInTheGapsTextPage.steps.setCorrectAnswerResponses(['Response 3', 'Response 4']);
|
71
|
-
fillInTheGapsTextPage.steps.allotPoints(3);
|
72
|
-
fillInTheGapsTextPage.steps.verifySetCorrectAnswerErrorIconIsNotDisplayed();
|
73
|
-
fillInTheGapsTextPage.matchFromAllResponsesCheckbox()
|
74
|
-
.click();
|
75
|
-
fillInTheGapsTextPage.steps.expandAdditonalSettings();
|
76
|
-
fillInTheGapsTextPage.allowStudentsToCheckAnswerCheckbox()
|
77
|
-
.click();
|
78
|
-
fillInTheGapsTextPage.steps.switchToPreviewTab();
|
79
|
-
});
|
80
|
-
|
81
|
-
fillInTheGapsScoring.tests.verifyAutoScoredAllOrNothingWithAlternateAnswerAndMatchFromAllResponsesTrue('fill in the gaps - text')
|
82
|
-
});
|
83
37
|
});
|
84
38
|
|
@@ -0,0 +1,47 @@
|
|
1
|
+
import { fillInTheGapsScoring } from "../../../pages/fillInTheGapsScoring";
|
2
|
+
import { fillInTheGapsTextPage } from "../../../pages/fillInTheGapsTextPage";
|
3
|
+
import abortEarlySetup from "../../../support/helpers/abortEarly";
|
4
|
+
const css = Cypress.env('css');
|
5
|
+
|
6
|
+
describe('Fill in the gaps - text: Partial Different scoring', () => {
|
7
|
+
before(() => {
|
8
|
+
cy.loginAs('admin');
|
9
|
+
});
|
10
|
+
|
11
|
+
describe('Question Preview: AutoScored - Partial different weights', () => {
|
12
|
+
abortEarlySetup();
|
13
|
+
before(() => {
|
14
|
+
cy.log('Navigate to Fill in the gaps - text question type, fill the necessary details and points, uncheck round down score checkbox and switch to preview tab');
|
15
|
+
fillInTheGapsTextPage.steps.navigateToCreateQuestion('fill in the gaps with text');
|
16
|
+
fillInTheGapsTextPage.partialDifferentWeightsCheckbox()
|
17
|
+
.click();
|
18
|
+
fillInTheGapsTextPage.steps.setCorrectAnswerResponses(['Response 1', 'Response 2']);
|
19
|
+
fillInTheGapsTextPage.steps.addPartialDifferentWeightsPoints([5.4, 4.8]);
|
20
|
+
fillInTheGapsTextPage.steps.verifySetCorrectAnswerErrorIconIsNotDisplayed();
|
21
|
+
fillInTheGapsTextPage.rounddownScoreCheckbox()
|
22
|
+
.click();
|
23
|
+
fillInTheGapsTextPage.steps.expandAdditonalSettings();
|
24
|
+
fillInTheGapsTextPage.allowStudentsToCheckAnswerCheckbox()
|
25
|
+
.click();
|
26
|
+
fillInTheGapsTextPage.steps.switchToPreviewTab();
|
27
|
+
});
|
28
|
+
|
29
|
+
fillInTheGapsScoring.tests.verifyAutoScoredPartialDifferentWeightsScoring('fill in the gaps - text');
|
30
|
+
});
|
31
|
+
|
32
|
+
describe('Partial Different Weights: Round down score', () => {
|
33
|
+
abortEarlySetup();
|
34
|
+
before(() => {
|
35
|
+
cy.log('Add question instructions and options, set correct answers, select partial - different weights scoring and add points (in decimals) for correct answer options');
|
36
|
+
fillInTheGapsTextPage.steps.navigateToCreateQuestion('fill in the gaps with text');
|
37
|
+
fillInTheGapsTextPage.partialDifferentWeightsCheckbox()
|
38
|
+
.click();
|
39
|
+
fillInTheGapsTextPage.steps.setCorrectAnswerResponses(['Response 1', 'Response 2']);
|
40
|
+
fillInTheGapsTextPage.steps.addPartialDifferentWeightsPoints([1.36, 2.89]);
|
41
|
+
fillInTheGapsTextPage.steps.verifySetCorrectAnswerErrorIconIsNotDisplayed();
|
42
|
+
fillInTheGapsTextPage.steps.switchToPreviewTab();
|
43
|
+
});
|
44
|
+
|
45
|
+
fillInTheGapsScoring.tests.verifyAutoScoredPartialDifferentWeightsRoundDownScore('fill in the gaps - text');
|
46
|
+
});
|
47
|
+
});
|
@@ -7,28 +7,7 @@ describe('Fill in the gaps - text: Partial Different scoring', () => {
|
|
7
7
|
before(() => {
|
8
8
|
cy.loginAs('admin');
|
9
9
|
});
|
10
|
-
|
11
|
-
describe('Question Preview: AutoScored - Partial different weights', () => {
|
12
|
-
abortEarlySetup();
|
13
|
-
before(() => {
|
14
|
-
cy.log('Navigate to Fill in the gaps - text question type, fill the necessary details and points, uncheck round down score checkbox and switch to preview tab');
|
15
|
-
fillInTheGapsTextPage.steps.navigateToCreateQuestion('fill in the gaps with text');
|
16
|
-
fillInTheGapsTextPage.partialDifferentWeightsCheckbox()
|
17
|
-
.click();
|
18
|
-
fillInTheGapsTextPage.steps.setCorrectAnswerResponses(['Response 1', 'Response 2']);
|
19
|
-
fillInTheGapsTextPage.steps.addPartialDifferentWeightsPoints([5.4, 4.8]);
|
20
|
-
fillInTheGapsTextPage.steps.verifySetCorrectAnswerErrorIconIsNotDisplayed();
|
21
|
-
fillInTheGapsTextPage.rounddownScoreCheckbox()
|
22
|
-
.click();
|
23
|
-
fillInTheGapsTextPage.steps.expandAdditonalSettings();
|
24
|
-
fillInTheGapsTextPage.allowStudentsToCheckAnswerCheckbox()
|
25
|
-
.click();
|
26
|
-
fillInTheGapsTextPage.steps.switchToPreviewTab();
|
27
|
-
});
|
28
|
-
|
29
|
-
fillInTheGapsScoring.tests.verifyAutoScoredPartialDifferentWeightsScoring('fill in the gaps - text');
|
30
|
-
});
|
31
|
-
|
10
|
+
|
32
11
|
describe('Question Preview: AutoScored - Partial different weights with alternate answer with \'Match from all responses - \"false\"', () => {
|
33
12
|
abortEarlySetup();
|
34
13
|
before(() => {
|
@@ -78,20 +57,4 @@ describe('Fill in the gaps - text: Partial Different scoring', () => {
|
|
78
57
|
|
79
58
|
fillInTheGapsScoring.tests.verifyAutoScoredPartialDifferentWeightsWithAlternateAnswerAndMatchFromAllResponsesTrue('fill in the gaps - text');
|
80
59
|
});
|
81
|
-
|
82
|
-
describe('Partial Different Weights: Round down score', () => {
|
83
|
-
abortEarlySetup();
|
84
|
-
before(() => {
|
85
|
-
cy.log('Add question instructions and options, set correct answers, select partial - different weights scoring and add points (in decimals) for correct answer options');
|
86
|
-
fillInTheGapsTextPage.steps.navigateToCreateQuestion('fill in the gaps with text');
|
87
|
-
fillInTheGapsTextPage.partialDifferentWeightsCheckbox()
|
88
|
-
.click();
|
89
|
-
fillInTheGapsTextPage.steps.setCorrectAnswerResponses(['Response 1', 'Response 2']);
|
90
|
-
fillInTheGapsTextPage.steps.addPartialDifferentWeightsPoints([1.36, 2.89]);
|
91
|
-
fillInTheGapsTextPage.steps.verifySetCorrectAnswerErrorIconIsNotDisplayed();
|
92
|
-
fillInTheGapsTextPage.steps.switchToPreviewTab();
|
93
|
-
});
|
94
|
-
|
95
|
-
fillInTheGapsScoring.tests.verifyAutoScoredPartialDifferentWeightsRoundDownScore('fill in the gaps - text');
|
96
|
-
});
|
97
60
|
});
|
@@ -0,0 +1,45 @@
|
|
1
|
+
import { fillInTheGapsScoring, fillInTheGapsTextPage } from "../../../pages";
|
2
|
+
import abortEarlySetup from "../../../support/helpers/abortEarly";
|
3
|
+
|
4
|
+
describe('Fill in the gaps - Text Scoring Section Partial - equal weights', () => {
|
5
|
+
before(() => {
|
6
|
+
cy.loginAs('admin');
|
7
|
+
})
|
8
|
+
|
9
|
+
describe('Question Preview Auto Scored: Partial - equal weights', () => {
|
10
|
+
abortEarlySetup();
|
11
|
+
before(() => {
|
12
|
+
cy.log('Navigate to Fill in the gaps - text question type, fill the necessary details and points and switch to preview tab');
|
13
|
+
fillInTheGapsTextPage.steps.navigateToCreateQuestion('fill in the gaps with text');
|
14
|
+
fillInTheGapsTextPage.steps.addQuestionInstructions();
|
15
|
+
fillInTheGapsTextPage.steps.setCorrectAnswerResponses(['Response 1', 'Response 2']);
|
16
|
+
fillInTheGapsTextPage.steps.allotPoints('10');
|
17
|
+
fillInTheGapsTextPage.steps.verifySetCorrectAnswerErrorIconIsNotDisplayed();
|
18
|
+
fillInTheGapsTextPage.steps.expandAdditonalSettings();
|
19
|
+
fillInTheGapsTextPage.allowStudentsToCheckAnswerCheckbox()
|
20
|
+
.click();
|
21
|
+
fillInTheGapsTextPage.partialEqualWeightsCheckbox()
|
22
|
+
.click();
|
23
|
+
fillInTheGapsTextPage.steps.switchToPreviewTab();
|
24
|
+
});
|
25
|
+
|
26
|
+
fillInTheGapsScoring.tests.verifyAutoScoredPartialEqualWeightsScoring('fill in the gaps - text')
|
27
|
+
});
|
28
|
+
|
29
|
+
describe('Partial Equal Weights: Round down score', () => {
|
30
|
+
abortEarlySetup();
|
31
|
+
before(() => {
|
32
|
+
cy.log('Add question instructions and options, set correct answers, select partial - equal weights scoring and add points (in decimals) for correct answer options');
|
33
|
+
fillInTheGapsTextPage.steps.navigateToCreateQuestion('fill in the gaps with text');
|
34
|
+
fillInTheGapsTextPage.steps.addQuestionInstructions();
|
35
|
+
fillInTheGapsTextPage.partialEqualWeightsCheckbox()
|
36
|
+
.click();
|
37
|
+
fillInTheGapsTextPage.steps.setCorrectAnswerResponses(['Response 1', 'Response 2']);
|
38
|
+
fillInTheGapsTextPage.pointsInputField()
|
39
|
+
.type('8.5');
|
40
|
+
fillInTheGapsTextPage.steps.verifySetCorrectAnswerErrorIconIsNotDisplayed();
|
41
|
+
});
|
42
|
+
|
43
|
+
fillInTheGapsScoring.tests.verifyAutoScoredPartialEqualWeightsRoundDownScore('fill in the gaps - text');
|
44
|
+
});
|
45
|
+
});
|
@@ -4,26 +4,6 @@ import abortEarlySetup from "../../../support/helpers/abortEarly";
|
|
4
4
|
describe('Fill in the gaps - Text Scoring Section Partial - equal weights', () => {
|
5
5
|
before(() => {
|
6
6
|
cy.loginAs('admin');
|
7
|
-
})
|
8
|
-
|
9
|
-
describe('Question Preview Auto Scored: Partial - equal weights', () => {
|
10
|
-
abortEarlySetup();
|
11
|
-
before(() => {
|
12
|
-
cy.log('Navigate to Fill in the gaps - text question type, fill the necessary details and points and switch to preview tab');
|
13
|
-
fillInTheGapsTextPage.steps.navigateToCreateQuestion('fill in the gaps with text');
|
14
|
-
fillInTheGapsTextPage.steps.addQuestionInstructions();
|
15
|
-
fillInTheGapsTextPage.steps.setCorrectAnswerResponses(['Response 1', 'Response 2']);
|
16
|
-
fillInTheGapsTextPage.steps.allotPoints('10');
|
17
|
-
fillInTheGapsTextPage.steps.verifySetCorrectAnswerErrorIconIsNotDisplayed();
|
18
|
-
fillInTheGapsTextPage.steps.expandAdditonalSettings();
|
19
|
-
fillInTheGapsTextPage.allowStudentsToCheckAnswerCheckbox()
|
20
|
-
.click();
|
21
|
-
fillInTheGapsTextPage.partialEqualWeightsCheckbox()
|
22
|
-
.click();
|
23
|
-
fillInTheGapsTextPage.steps.switchToPreviewTab();
|
24
|
-
});
|
25
|
-
|
26
|
-
fillInTheGapsScoring.tests.verifyAutoScoredPartialEqualWeightsScoring('fill in the gaps - text')
|
27
7
|
});
|
28
8
|
|
29
9
|
describe('Question preview: Partial - equal weights with alternate answer and match from all responses - \"false\"', () => {
|
@@ -75,21 +55,4 @@ describe('Fill in the gaps - Text Scoring Section Partial - equal weights', () =
|
|
75
55
|
|
76
56
|
fillInTheGapsScoring.tests.verifyAutoScoredPartialEqualWeightsWithAlternateAnswerAndMatchFromAllResponsesTrue('fill in the gaps - text');
|
77
57
|
});
|
78
|
-
|
79
|
-
describe('Partial Equal Weights: Round down score', () => {
|
80
|
-
abortEarlySetup();
|
81
|
-
before(() => {
|
82
|
-
cy.log('Add question instructions and options, set correct answers, select partial - equal weights scoring and add points (in decimals) for correct answer options');
|
83
|
-
fillInTheGapsTextPage.steps.navigateToCreateQuestion('fill in the gaps with text');
|
84
|
-
fillInTheGapsTextPage.steps.addQuestionInstructions();
|
85
|
-
fillInTheGapsTextPage.partialEqualWeightsCheckbox()
|
86
|
-
.click();
|
87
|
-
fillInTheGapsTextPage.steps.setCorrectAnswerResponses(['Response 1', 'Response 2']);
|
88
|
-
fillInTheGapsTextPage.pointsInputField()
|
89
|
-
.type('8.5');
|
90
|
-
fillInTheGapsTextPage.steps.verifySetCorrectAnswerErrorIconIsNotDisplayed();
|
91
|
-
});
|
92
|
-
|
93
|
-
fillInTheGapsScoring.tests.verifyAutoScoredPartialEqualWeightsRoundDownScore('fill in the gaps - text');
|
94
|
-
});
|
95
58
|
});
|