itemengine-cypress-automation 1.0.48 → 1.0.51
Sign up to get free protection for your applications and to get access to all the features.
- package/cypress/e2e/ILC/ListMatching/Scoring/groupedOptionsAllOrNothingAlternatePointsGreaterThanCorrectPoints.js +28 -0
- package/cypress/e2e/ILC/ListMatching/Scoring/groupedOptionsAllOrNothingCorrectPointsEqualToAlternatePoints.js +30 -0
- package/cypress/e2e/ILC/ListMatching/{listMatchingGroupedOptionsAllOrNothingScoringWithAlternateAnswer.js → Scoring/groupedOptionsAllOrNothingCorrectPointsGreaterThanAlternatePoints.js} +5 -7
- package/cypress/e2e/ILC/ListMatching/{listMatchingGroupedOptionsAllOrNothingScoring.js → Scoring/groupedOptionsAllOrNothingScoring.js} +2 -2
- package/cypress/e2e/ILC/ListMatching/{listMatchingGroupedOptionsManualAndNonScoredScoring.js → Scoring/groupedOptionsManualAndNonScoredScoring.js} +2 -2
- package/cypress/e2e/ILC/ListMatching/{listMatchingGroupedOptionsPartialDifferentScorings.js → Scoring/groupedOptionsPartialDifferentWeightsScoring.js} +2 -2
- package/cypress/e2e/ILC/ListMatching/Scoring/groupedOptionsPartialDifferrentWeightsAlternatePointsGreaterThanCorrectPoints.js +30 -0
- package/cypress/e2e/ILC/ListMatching/{listMatchingGroupedOptionsPartialDifferentScoringWithAlternateTab.js → Scoring/groupedOptionsPartialDifferrentWeightsCorrectPointsEqualToAlternatePoints.js} +6 -6
- package/cypress/e2e/ILC/ListMatching/Scoring/groupedOptionsPartialDifferrentWeightsCorrectPointsGreaterThanAlternatePoints.js +30 -0
- package/cypress/e2e/ILC/ListMatching/Scoring/groupedOptionsPartialEqualWeightsAlternatePointsGreaterThanCorrectPoints.js +30 -0
- package/cypress/e2e/ILC/ListMatching/{listMatchingGroupedOptionsPartialEqualWeightsScoringWithAlternateTab.js → Scoring/groupedOptionsPartialEqualWeightsCorrectPointsEqualToAlternatePoints.js} +6 -6
- package/cypress/e2e/ILC/ListMatching/Scoring/groupedOptionsPartialEqualWeightsCorrectPointsGreaterThanAlternatePoints.js +30 -0
- package/cypress/e2e/ILC/ListMatching/{listMatchingGroupedOptionsPartialEqualWeightsScoring.js → Scoring/groupedOptionsPartialEqualWeightsScorings.js} +2 -2
- package/cypress/e2e/ILC/ListMatching/Scoring/standardOptionsAllOrNothingAlternatePointsGreaterThanCorrectPoints.js +28 -0
- package/cypress/e2e/ILC/ListMatching/Scoring/standardOptionsAllOrNothingCorrectPointsEqualToAlternatePoints.js +30 -0
- package/cypress/e2e/ILC/ListMatching/{listMatchingStandardOptionsAllOrNothingScoringWithAlternateAnswer.js → Scoring/standardOptionsAllOrNothingCorrectPointsGreaterThanAlternatePoints.js} +5 -7
- package/cypress/e2e/ILC/ListMatching/{listMatchingStandardOptionsAllOrNothingScoring.js → Scoring/standardOptionsAllOrNothingScoring.js} +2 -2
- package/cypress/e2e/ILC/ListMatching/{listMatchingStandardOptionsManualAndNonScoredScoring.js → Scoring/standardOptionsManualAndNonScoredScoring.js} +2 -2
- package/cypress/e2e/ILC/ListMatching/Scoring/standardOptionsPartialDifferentWeightsAlternatePointsGreaterThanCorrectPoints.js +30 -0
- package/cypress/e2e/ILC/ListMatching/{listMatchingStandardOptionsPartialDifferentScoringWithAlternateAnswer.js → Scoring/standardOptionsPartialDifferentWeightsCorrectPointsEqualToAlternatePoints.js} +6 -6
- package/cypress/e2e/ILC/ListMatching/Scoring/standardOptionsPartialDifferentWeightsCorrectPointsGreaterThanAlternatePoints.js +30 -0
- package/cypress/e2e/ILC/ListMatching/{listMatchingStandardOptionsPartialDIfferentScoring.js → Scoring/standardOptionsPartialDifferentWeightsScoring.js} +2 -2
- package/cypress/e2e/ILC/ListMatching/Scoring/standardOptionsPartialEqualWeightsAlternatePointsMoreThanCorrectPoints.js +29 -0
- package/cypress/e2e/ILC/ListMatching/{listMatchingStandardOptionsPartialEqualScoringWithAlternateAnswer.js → Scoring/standardOptionsPartialEqualWeightsCorrectPointsEqualToAlternatePoints.js} +6 -6
- package/cypress/e2e/ILC/ListMatching/Scoring/standardOptionsPartialEqualWeightsCorrectPointsMoreThanAlternatePoints.js +29 -0
- package/cypress/e2e/ILC/ListMatching/{listMatchingStandardOptionsPartialEqualScoring.js → Scoring/standardOptionsPartialEqualWeightsScoring.js} +2 -2
- package/cypress/e2e/ILC/ListOrdering/Scoring/allOrNothingAlternatePointsGreaterThanCorrectPoints.js +246 -0
- package/cypress/e2e/ILC/ListOrdering/Scoring/allOrNothingCorrectPointsEqualToAlternatePoints.js +246 -0
- package/cypress/e2e/ILC/ListOrdering/Scoring/allOrNothingCorrectPointsGreaterThanAlternatePoints.js +246 -0
- package/cypress/e2e/ILC/ListOrdering/{listOrderingAllOrNothingScoring.js → Scoring/allOrNothingScoring.js} +3 -3
- package/cypress/e2e/ILC/ListOrdering/{listOrderingManuallyAndNonScoredScoring.js → Scoring/manuallyAndNonScoredScoring.js} +3 -3
- package/cypress/e2e/ILC/ListOrdering/Scoring/partialDifferentWeightsAlternatePointsGreaterThanCorrectPoints.js +316 -0
- package/cypress/e2e/ILC/ListOrdering/Scoring/partialDifferentWeightsCorrectPointsEqualToAlternatePoints.js +287 -0
- package/cypress/e2e/ILC/ListOrdering/Scoring/partialDifferentWeightsCorrectPointsGreaterThanAlternatePoints.js +316 -0
- package/cypress/e2e/ILC/ListOrdering/{listOrderingPartialDifferentWeightsScoring.js → Scoring/partialDifferentWeightsScoring.js} +3 -3
- package/cypress/e2e/ILC/ListOrdering/Scoring/partialEqualWeightsAlternatePointsGreaterThanCorrectPoints.js +286 -0
- package/cypress/e2e/ILC/ListOrdering/Scoring/partialEqualWeightsCorrectPointsEqualToAlternatePoints.js +258 -0
- package/cypress/e2e/ILC/ListOrdering/Scoring/partialEqualWeightsCorrectPointsGreaterThanAlternatePoints.js +287 -0
- package/cypress/e2e/ILC/ListOrdering/{listOrderingPartialEqualWeightsScoring.js → Scoring/partialEqualWeightsScoring.js} +3 -3
- package/cypress/e2e/ILC/ListSorting/Scoring/allOrNothingAlternatePointsGreaterThanCorrectPoints.js +261 -0
- package/cypress/e2e/ILC/ListSorting/Scoring/allOrNothingCorrectPointsEqualToAlternatePoints.js +261 -0
- package/cypress/e2e/ILC/ListSorting/Scoring/allOrNothingCorrectPointsGreaterThanAlternatePoints.js +261 -0
- package/cypress/e2e/ILC/ListSorting/{listSortingAllOrNothingScoring.js → Scoring/allOrNothingScoring.js} +3 -3
- package/cypress/e2e/ILC/ListSorting/{listSortingManuallyAndNonScoredScoring.js → Scoring/manuallyAndNonScoredScoring.js} +3 -3
- package/cypress/e2e/ILC/ListSorting/Scoring/partialDifferentWeightsAlternatePointsGreaterThanCorrectPoints.js +338 -0
- package/cypress/e2e/ILC/ListSorting/Scoring/partialDifferentWeightsCorrectPointsEqualToAlternatePoints.js +303 -0
- package/cypress/e2e/ILC/ListSorting/Scoring/partialDifferentWeightsCorrectPointsGreaterThanAlternatePoints.js +337 -0
- package/cypress/e2e/ILC/ListSorting/{listSortingPartialDifferentWeightsScoring.js → Scoring/partialDifferentWeightsScoring.js} +3 -3
- package/cypress/e2e/ILC/ListSorting/Scoring/partialEqualWeightsAlternatePointsGreaterThanCorrectPoints.js +307 -0
- package/cypress/e2e/ILC/ListSorting/Scoring/partialEqualWeightsCorrectPointsEqualToAlternatePoints.js +272 -0
- package/cypress/e2e/ILC/ListSorting/Scoring/partialEqualWeightsCorrectPointsGreaterThanAlternatePoints.js +307 -0
- package/cypress/e2e/ILC/ListSorting/{listSortingPartialEqualWeightsScoring.js → Scoring/partialEqualWeightsScoring.js} +3 -3
- package/cypress/e2e/ILC/Passage/multipageContentEditTab.js +242 -0
- package/cypress/e2e/ILC/Passage/passageAdditionalSettings.js +99 -0
- package/cypress/e2e/ILC/Passage/passageEditTab.js +241 -0
- package/cypress/e2e/ILC/Passage/passageHeaderSection.js +73 -0
- package/cypress/e2e/ILC/Passage/passagePreviewTab.js +246 -0
- package/cypress/pages/listMatchingScoring.js +16 -105
- package/package.json +1 -1
- package/cypress/e2e/ILC/ListOrdering/listOrderingAllOrNothingScoringWithAlternateAnswer.js +0 -712
- package/cypress/e2e/ILC/ListOrdering/listOrderingPartialDifferentWeightsScoringWithAlternateAnswer.js +0 -895
- package/cypress/e2e/ILC/ListOrdering/listOrderingPartialEqualWeightsScoringWithAlternateAnswer.js +0 -807
- package/cypress/e2e/ILC/ListSorting/listSortingAllOrNothingScoringWithAlternateAnswer.js +0 -759
- package/cypress/e2e/ILC/ListSorting/listSortingPartialDifferentWeightsScoringWithAlternateTab.js +0 -952
- package/cypress/e2e/ILC/ListSorting/listSortingPartialEqualWeightsScoringWithAlternateAnswer.js +0 -860
@@ -0,0 +1,28 @@
|
|
1
|
+
import { listMatchingPage, listMatchingScoring } from "../../../../pages";
|
2
|
+
import abortEarlySetup from "../../../../support/helpers/abortEarly";
|
3
|
+
|
4
|
+
describe('Create Item page - List Matching - grouped options layout - All or nothing scoring with alternate answer - When alternate answer points are more than correct answer points', () => {
|
5
|
+
before(() => {
|
6
|
+
cy.loginAs('admin');
|
7
|
+
});
|
8
|
+
|
9
|
+
describe('Question Preview: AutoScored - All or Nothing grouped options layout with alternate answer - When alternate answer points are more than correct answer points', () => {
|
10
|
+
abortEarlySetup();
|
11
|
+
before(() => {
|
12
|
+
cy.log('Navigate to List Matching question type, adding correct answer responses and alternate answer responses for autoscored - all or nothing scoring, adding points and switch to preview tab');
|
13
|
+
listMatchingPage.steps.navigateToCreateQuestion('list matching');
|
14
|
+
cy.barsPreLoaderWait();
|
15
|
+
listMatchingPage.steps.setQuestionStemsAndGroupedOptionsForScoringWithAlternateTab();
|
16
|
+
listMatchingPage.steps.allotPoints(7);
|
17
|
+
listMatchingPage.steps.setCorrectAnswersForCorrectTab();
|
18
|
+
listMatchingPage.steps.clickOnAddAlternateAnswerButton();
|
19
|
+
listMatchingPage.steps.allotPoints(10);
|
20
|
+
listMatchingPage.steps.setCorrectAnswersForAlternateTab();
|
21
|
+
listMatchingPage.steps.expandAdditonalSettings();
|
22
|
+
listMatchingPage.steps.checkAllowStudentsToCheckAnswerCheckbox();
|
23
|
+
listMatchingPage.steps.switchToPreviewTab();
|
24
|
+
});
|
25
|
+
|
26
|
+
listMatchingScoring.tests.verifyAllOrNothingScoringWithAlternateAnswerWhenAlternatePointsAreMoreThanCorrectPoints();
|
27
|
+
});
|
28
|
+
});
|
@@ -0,0 +1,30 @@
|
|
1
|
+
import { listMatchingPage, listMatchingScoring } from "../../../../pages";
|
2
|
+
import abortEarlySetup from "../../../../support/helpers/abortEarly";
|
3
|
+
|
4
|
+
describe('Create Item page - List Matching - grouped options layout - All or nothing scoring with alternate answer - When Correct Answer points are more than Alternate Answer points', () => {
|
5
|
+
before(() => {
|
6
|
+
cy.loginAs('admin');
|
7
|
+
});
|
8
|
+
|
9
|
+
describe('Question Preview: AutoScored - All or Nothing grouped options layout with alternate answer - When correct answer points are more than alternate answer points', () => {
|
10
|
+
abortEarlySetup();
|
11
|
+
before(() => {
|
12
|
+
cy.log('Navigate to List Matching question type, adding correct answer responses and alternate answer responses for autoscored - all or nothing scoring, adding points and switch to preview tab');
|
13
|
+
listMatchingPage.steps.navigateToCreateQuestion('list matching');
|
14
|
+
cy.barsPreLoaderWait();
|
15
|
+
listMatchingPage.steps.setQuestionStemsAndGroupedOptionsForScoringWithAlternateTab();
|
16
|
+
listMatchingPage.steps.allotPoints(7);
|
17
|
+
listMatchingPage.steps.setCorrectAnswersForCorrectTab();
|
18
|
+
listMatchingPage.steps.clickOnAddAlternateAnswerButton();
|
19
|
+
listMatchingPage.steps.allotPoints(7);
|
20
|
+
listMatchingPage.steps.setCorrectAnswersForAlternateTab();
|
21
|
+
listMatchingPage.steps.expandAdditonalSettings();
|
22
|
+
listMatchingPage.steps.checkAllowStudentsToCheckAnswerCheckbox();
|
23
|
+
listMatchingPage.steps.switchToPreviewTab();
|
24
|
+
});
|
25
|
+
|
26
|
+
listMatchingScoring.tests.verifyAllOrNothingScoringWithAlternateAnswerWhenCorrectPointsAreEqualToAlternatePoints();
|
27
|
+
|
28
|
+
listMatchingScoring.tests.verifyMinimumScoreAwardedIfAttemptedForIncorrectAnswer(7);
|
29
|
+
});
|
30
|
+
});
|
@@ -1,12 +1,12 @@
|
|
1
|
-
import { listMatchingPage, listMatchingScoring } from "
|
2
|
-
import abortEarlySetup from "
|
1
|
+
import { listMatchingPage, listMatchingScoring } from "../../../../pages";
|
2
|
+
import abortEarlySetup from "../../../../support/helpers/abortEarly";
|
3
3
|
|
4
|
-
describe('Create Item page - List Matching - grouped options layout - All or nothing scoring with alternate answer', () => {
|
4
|
+
describe('Create Item page - List Matching - grouped options layout - All or nothing scoring with alternate answer - When Correct Answer points are more than Alternate Answer points', () => {
|
5
5
|
before(() => {
|
6
6
|
cy.loginAs('admin');
|
7
7
|
});
|
8
8
|
|
9
|
-
describe('Question Preview: AutoScored - All or Nothing grouped options layout with alternate answer', () => {
|
9
|
+
describe('Question Preview: AutoScored - All or Nothing grouped options layout with alternate answer - When Correct Answer points are more than Alternate Answer points', () => {
|
10
10
|
abortEarlySetup();
|
11
11
|
before(() => {
|
12
12
|
cy.log('Navigate to List Matching question type, adding correct answer responses and alternate answer responses for autoscored - all or nothing scoring, adding points and switch to preview tab');
|
@@ -23,8 +23,6 @@ describe('Create Item page - List Matching - grouped options layout - All or not
|
|
23
23
|
listMatchingPage.steps.switchToPreviewTab();
|
24
24
|
});
|
25
25
|
|
26
|
-
listMatchingScoring.tests.
|
27
|
-
|
28
|
-
listMatchingScoring.tests.verifyMinimumScoreAwardedIfAttemptedForIncorrectAnswer(7);
|
26
|
+
listMatchingScoring.tests.verifyAllOrNothingScoringWithAlternateAnswerWhenCorrectPointsAreMoreThanAlternatePoints();
|
29
27
|
});
|
30
28
|
});
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import { listMatchingPage, listMatchingScoring } from "
|
2
|
-
import abortEarlySetup from "
|
1
|
+
import { listMatchingPage, listMatchingScoring } from "../../../../pages";
|
2
|
+
import abortEarlySetup from "../../../../support/helpers/abortEarly";
|
3
3
|
|
4
4
|
describe('Create Item page - List Matching - grouped options layout - All or nothing scoring', () => {
|
5
5
|
before(() => {
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import { listMatchingPage, listMatchingScoring } from "
|
2
|
-
import abortEarlySetup from "
|
1
|
+
import { listMatchingPage, listMatchingScoring } from "../../../../pages";
|
2
|
+
import abortEarlySetup from "../../../../support/helpers/abortEarly";
|
3
3
|
const css = Cypress.env('css');
|
4
4
|
|
5
5
|
describe('Create Item page - List Matching - grouped options layout - Manually scored', () => {
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import { listMatchingPage, listMatchingScoring } from "
|
2
|
-
import abortEarlySetup from "
|
1
|
+
import { listMatchingPage, listMatchingScoring } from "../../../../pages";
|
2
|
+
import abortEarlySetup from "../../../../support/helpers/abortEarly";
|
3
3
|
|
4
4
|
describe('Create Item page - List Matching - grouped options layout - Partial different weights scoring', () => {
|
5
5
|
before(() => {
|
@@ -0,0 +1,30 @@
|
|
1
|
+
import { listMatchingPage, listMatchingScoring } from "../../../../pages";
|
2
|
+
import abortEarlySetup from "../../../../support/helpers/abortEarly";
|
3
|
+
|
4
|
+
describe('Create Item page - List Matching - grouped options layout - Partial different weights scoring with alternate answer - When alternate answer points are more than correct answer points', () => {
|
5
|
+
before(() => {
|
6
|
+
cy.loginAs('admin');
|
7
|
+
});
|
8
|
+
|
9
|
+
describe('Question Preview: AutoScored - Partial different weights grouped options layout with alternate answer - When alternate answer points are more than correct answer points', () => {
|
10
|
+
abortEarlySetup();
|
11
|
+
before(() => {
|
12
|
+
cy.log('Navigate to List Matching question type, adding correct answer responses and alternate answer responses for autoscored - partial different scoring, adding points and switch to preview tab');
|
13
|
+
listMatchingPage.steps.navigateToCreateQuestion('list matching');
|
14
|
+
cy.barsPreLoaderWait();
|
15
|
+
listMatchingPage.steps.setQuestionStemsAndGroupedOptionsForScoringWithAlternateTab();
|
16
|
+
listMatchingPage.steps.setCorrectAnswersForCorrectTab();
|
17
|
+
listMatchingPage.steps.selectPartialDifferentWeightsCheckbox();
|
18
|
+
listMatchingPage.steps.addPartialDifferentWeightsPoints([5, 7, 4, 8]);
|
19
|
+
listMatchingPage.steps.clickOnAddAlternateAnswerButton();
|
20
|
+
listMatchingPage.steps.setCorrectAnswersForAlternateTab();
|
21
|
+
listMatchingPage.steps.addPartialDifferentWeightsPoints([4, 9, 6, 10]);
|
22
|
+
listMatchingPage.steps.uncheckRoundDownScoreCheckbox();
|
23
|
+
listMatchingPage.steps.expandAdditonalSettings();
|
24
|
+
listMatchingPage.steps.checkAllowStudentsToCheckAnswerCheckbox();
|
25
|
+
listMatchingPage.steps.switchToPreviewTab();
|
26
|
+
});
|
27
|
+
|
28
|
+
listMatchingScoring.tests.verifyPartialDifferentWeightWithAlternateAnswerWhenAlternatePointsMoreThanCorrectPoints('grouped');
|
29
|
+
});
|
30
|
+
});
|
@@ -1,12 +1,12 @@
|
|
1
|
-
import { listMatchingPage, listMatchingScoring } from "
|
2
|
-
import abortEarlySetup from "
|
1
|
+
import { listMatchingPage, listMatchingScoring } from "../../../../pages";
|
2
|
+
import abortEarlySetup from "../../../../support/helpers/abortEarly";
|
3
3
|
|
4
|
-
describe('Create Item page - List Matching - grouped options layout - Partial different weights scoring with alternate answer', () => {
|
4
|
+
describe('Create Item page - List Matching - grouped options layout - Partial different weights scoring with alternate answer - When correct answer points are equal to alternate answer points', () => {
|
5
5
|
before(() => {
|
6
6
|
cy.loginAs('admin');
|
7
7
|
});
|
8
8
|
|
9
|
-
describe('Question Preview: AutoScored - Partial different weights grouped options layout with alternate answer', () => {
|
9
|
+
describe('Question Preview: AutoScored - Partial different weights grouped options layout with alternate answer - When correct answer points are equal to alternate answer points', () => {
|
10
10
|
abortEarlySetup();
|
11
11
|
before(() => {
|
12
12
|
cy.log('Navigate to List Matching question type, adding correct answer responses and alternate answer responses for autoscored - partial different scoring, adding points and switch to preview tab');
|
@@ -18,14 +18,14 @@ describe('Create Item page - List Matching - grouped options layout - Partial di
|
|
18
18
|
listMatchingPage.steps.addPartialDifferentWeightsPoints([5, 7, 4, 8]);
|
19
19
|
listMatchingPage.steps.clickOnAddAlternateAnswerButton();
|
20
20
|
listMatchingPage.steps.setCorrectAnswersForAlternateTab();
|
21
|
-
listMatchingPage.steps.addPartialDifferentWeightsPoints([
|
21
|
+
listMatchingPage.steps.addPartialDifferentWeightsPoints([6, 9, 4, 5]);
|
22
22
|
listMatchingPage.steps.uncheckRoundDownScoreCheckbox();
|
23
23
|
listMatchingPage.steps.expandAdditonalSettings();
|
24
24
|
listMatchingPage.steps.checkAllowStudentsToCheckAnswerCheckbox();
|
25
25
|
listMatchingPage.steps.switchToPreviewTab();
|
26
26
|
});
|
27
27
|
|
28
|
-
listMatchingScoring.tests.
|
28
|
+
listMatchingScoring.tests.verifyPartialDifferentWeightWithAlternateAnswerWhenCorrectPointsEqualToAlternatePoints('grouped');
|
29
29
|
|
30
30
|
listMatchingScoring.tests.verifyMinimumScoreAwardedIfAttemptedForIncorrectAnswer('24');
|
31
31
|
|
@@ -0,0 +1,30 @@
|
|
1
|
+
import { listMatchingPage, listMatchingScoring } from "../../../../pages";
|
2
|
+
import abortEarlySetup from "../../../../support/helpers/abortEarly";
|
3
|
+
|
4
|
+
describe('Create Item page - List Matching - grouped options layout - Partial different weights scoring with alternate answer - When Correct Answer points are more than Alternate Answer points', () => {
|
5
|
+
before(() => {
|
6
|
+
cy.loginAs('admin');
|
7
|
+
});
|
8
|
+
|
9
|
+
describe('Question Preview: AutoScored - Partial different weights grouped options layout with alternate answer - When Correct Answer points are more than Alternate Answer points', () => {
|
10
|
+
abortEarlySetup();
|
11
|
+
before(() => {
|
12
|
+
cy.log('Navigate to List Matching question type, adding correct answer responses and alternate answer responses for autoscored - partial different scoring, adding points and switch to preview tab');
|
13
|
+
listMatchingPage.steps.navigateToCreateQuestion('list matching');
|
14
|
+
cy.barsPreLoaderWait();
|
15
|
+
listMatchingPage.steps.setQuestionStemsAndGroupedOptionsForScoringWithAlternateTab();
|
16
|
+
listMatchingPage.steps.setCorrectAnswersForCorrectTab();
|
17
|
+
listMatchingPage.steps.selectPartialDifferentWeightsCheckbox();
|
18
|
+
listMatchingPage.steps.addPartialDifferentWeightsPoints([5, 7, 4, 8]);
|
19
|
+
listMatchingPage.steps.clickOnAddAlternateAnswerButton();
|
20
|
+
listMatchingPage.steps.setCorrectAnswersForAlternateTab();
|
21
|
+
listMatchingPage.steps.addPartialDifferentWeightsPoints([3, 9, 2, 6]);
|
22
|
+
listMatchingPage.steps.uncheckRoundDownScoreCheckbox();
|
23
|
+
listMatchingPage.steps.expandAdditonalSettings();
|
24
|
+
listMatchingPage.steps.checkAllowStudentsToCheckAnswerCheckbox();
|
25
|
+
listMatchingPage.steps.switchToPreviewTab();
|
26
|
+
});
|
27
|
+
|
28
|
+
listMatchingScoring.tests.verifyPartialDifferentWeightWithAlternateAnswerWhenCorrectPointsMoreThanAlternatePoints('grouped');
|
29
|
+
});
|
30
|
+
});
|
@@ -0,0 +1,30 @@
|
|
1
|
+
import { listMatchingPage, listMatchingScoring } from "../../../../pages";
|
2
|
+
import abortEarlySetup from "../../../../support/helpers/abortEarly";
|
3
|
+
const css = Cypress.env('css');
|
4
|
+
|
5
|
+
describe('Create Item page - List Matching - standard options layout - Partial equal weights scoring with alternate answer - When alternate answer points are more than correct answer points', () => {
|
6
|
+
before(() => {
|
7
|
+
cy.loginAs('admin');
|
8
|
+
});
|
9
|
+
|
10
|
+
describe('Question Preview: AutoScored - Partial equal weights grouped options layout with alternate answer - When alternate answer points are more than correct answer points', () => {
|
11
|
+
abortEarlySetup();
|
12
|
+
before(() => {
|
13
|
+
cy.log('Navigate to List Matching question type, adding correct answer responses and alternate answer responses for autoscored - partial equal scoring, adding points and switch to preview tab');
|
14
|
+
listMatchingPage.steps.navigateToCreateQuestion('list matching');
|
15
|
+
cy.barsPreLoaderWait();
|
16
|
+
listMatchingPage.steps.setQuestionStemsAndGroupedOptionsForScoringWithAlternateTab();
|
17
|
+
listMatchingPage.steps.selectPartialEqualWeightsCheckbox();
|
18
|
+
listMatchingPage.steps.allotPoints(20);
|
19
|
+
listMatchingPage.steps.setCorrectAnswersForCorrectTab();
|
20
|
+
listMatchingPage.steps.clickOnAddAlternateAnswerButton();
|
21
|
+
listMatchingPage.steps.allotPoints(24);
|
22
|
+
listMatchingPage.steps.setCorrectAnswersForAlternateTab();
|
23
|
+
listMatchingPage.steps.expandAdditonalSettings();
|
24
|
+
listMatchingPage.steps.checkAllowStudentsToCheckAnswerCheckbox();
|
25
|
+
listMatchingPage.steps.switchToPreviewTab();
|
26
|
+
});
|
27
|
+
|
28
|
+
listMatchingScoring.tests.verifyPartialEqualWeightsWithAlternateAnswerWhenAlternatePointsAreMoreThanCorrectPoints('grouped');
|
29
|
+
});
|
30
|
+
});
|
@@ -1,13 +1,13 @@
|
|
1
|
-
import { listMatchingPage, listMatchingScoring } from "
|
2
|
-
import abortEarlySetup from "
|
1
|
+
import { listMatchingPage, listMatchingScoring } from "../../../../pages";
|
2
|
+
import abortEarlySetup from "../../../../support/helpers/abortEarly";
|
3
3
|
const css = Cypress.env('css');
|
4
4
|
|
5
|
-
describe('Create Item page - List Matching - standard options layout - Partial equal weights scoring with alternate answer', () => {
|
5
|
+
describe('Create Item page - List Matching - standard options layout - Partial equal weights scoring with alternate answer - When correct answer points are equal to alternate answer points', () => {
|
6
6
|
before(() => {
|
7
7
|
cy.loginAs('admin');
|
8
8
|
});
|
9
9
|
|
10
|
-
describe('Question Preview: AutoScored - Partial equal weights grouped options layout with alternate answer', () => {
|
10
|
+
describe('Question Preview: AutoScored - Partial equal weights grouped options layout with alternate answer - When correct answer points are equal to alternate answer points', () => {
|
11
11
|
abortEarlySetup();
|
12
12
|
before(() => {
|
13
13
|
cy.log('Navigate to List Matching question type, adding correct answer responses and alternate answer responses for autoscored - partial equal scoring, adding points and switch to preview tab');
|
@@ -18,14 +18,14 @@ describe('Create Item page - List Matching - standard options layout - Partial e
|
|
18
18
|
listMatchingPage.steps.allotPoints(20);
|
19
19
|
listMatchingPage.steps.setCorrectAnswersForCorrectTab();
|
20
20
|
listMatchingPage.steps.clickOnAddAlternateAnswerButton();
|
21
|
-
listMatchingPage.steps.allotPoints(
|
21
|
+
listMatchingPage.steps.allotPoints(20);
|
22
22
|
listMatchingPage.steps.setCorrectAnswersForAlternateTab();
|
23
23
|
listMatchingPage.steps.expandAdditonalSettings();
|
24
24
|
listMatchingPage.steps.checkAllowStudentsToCheckAnswerCheckbox();
|
25
25
|
listMatchingPage.steps.switchToPreviewTab();
|
26
26
|
});
|
27
27
|
|
28
|
-
listMatchingScoring.tests.
|
28
|
+
listMatchingScoring.tests.verifyPartialEqualWeightsWithAlternateAnswerWhenCorrectPointsAreEqualToAlternatePoints();
|
29
29
|
|
30
30
|
listMatchingScoring.tests.verifyMinimumScoreAwardedIfAttemptedForIncorrectAnswer('20');
|
31
31
|
|
@@ -0,0 +1,30 @@
|
|
1
|
+
import { listMatchingPage, listMatchingScoring } from "../../../../pages";
|
2
|
+
import abortEarlySetup from "../../../../support/helpers/abortEarly";
|
3
|
+
const css = Cypress.env('css');
|
4
|
+
|
5
|
+
describe('Create Item page - List Matching - standard options layout - Partial equal weights scoring with alternate answer - When correct answer points are more than alternate answer points', () => {
|
6
|
+
before(() => {
|
7
|
+
cy.loginAs('admin');
|
8
|
+
});
|
9
|
+
|
10
|
+
describe('Question Preview: AutoScored - Partial equal weights grouped options layout with alternate answer - When correct answer points are more than alternate answer points', () => {
|
11
|
+
abortEarlySetup();
|
12
|
+
before(() => {
|
13
|
+
cy.log('Navigate to List Matching question type, adding correct answer responses and alternate answer responses for autoscored - partial equal scoring, adding points and switch to preview tab');
|
14
|
+
listMatchingPage.steps.navigateToCreateQuestion('list matching');
|
15
|
+
cy.barsPreLoaderWait();
|
16
|
+
listMatchingPage.steps.setQuestionStemsAndGroupedOptionsForScoringWithAlternateTab();
|
17
|
+
listMatchingPage.steps.selectPartialEqualWeightsCheckbox();
|
18
|
+
listMatchingPage.steps.allotPoints(20);
|
19
|
+
listMatchingPage.steps.setCorrectAnswersForCorrectTab();
|
20
|
+
listMatchingPage.steps.clickOnAddAlternateAnswerButton();
|
21
|
+
listMatchingPage.steps.allotPoints(12);
|
22
|
+
listMatchingPage.steps.setCorrectAnswersForAlternateTab();
|
23
|
+
listMatchingPage.steps.expandAdditonalSettings();
|
24
|
+
listMatchingPage.steps.checkAllowStudentsToCheckAnswerCheckbox();
|
25
|
+
listMatchingPage.steps.switchToPreviewTab();
|
26
|
+
});
|
27
|
+
|
28
|
+
listMatchingScoring.tests.verifyPartialEqualWeightsWithAlternateAnswerWhenCorrectPointsAreMoreThanAlternatePoints('grouped');
|
29
|
+
});
|
30
|
+
});
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import { listMatchingPage, listMatchingScoring } from "
|
2
|
-
import abortEarlySetup from "
|
1
|
+
import { listMatchingPage, listMatchingScoring } from "../../../../pages";
|
2
|
+
import abortEarlySetup from "../../../../support/helpers/abortEarly";
|
3
3
|
|
4
4
|
describe('Create Item page - List Matching - standard options layout - Partial equal weights scoring', () => {
|
5
5
|
before(() => {
|
@@ -0,0 +1,28 @@
|
|
1
|
+
import { listMatchingPage, listMatchingScoring } from "../../../../pages";
|
2
|
+
import abortEarlySetup from "../../../../support/helpers/abortEarly";
|
3
|
+
|
4
|
+
describe('Create Item page - List Matching - standard options layout - All or nothing scoring with alternate answer - When alternate answer points are more than correct answer points', () => {
|
5
|
+
before(() => {
|
6
|
+
cy.loginAs('admin');
|
7
|
+
});
|
8
|
+
|
9
|
+
describe('Question Preview: AutoScored - All or Nothing standard options layout with alternate answer - When alternate answer points are more than correct answer points', () => {
|
10
|
+
abortEarlySetup();
|
11
|
+
before(() => {
|
12
|
+
cy.log('Navigate to List Matching question type, adding correct answer responses and alternate answer responses for autoscored - all or nothing scoring, adding points and switch to preview tab');
|
13
|
+
listMatchingPage.steps.navigateToCreateQuestion('list matching');
|
14
|
+
cy.barsPreLoaderWait();
|
15
|
+
listMatchingPage.steps.setQuestionStemsAndOptionsForScoringWithAlternateTab();
|
16
|
+
listMatchingPage.steps.allotPoints(7);
|
17
|
+
listMatchingPage.steps.setCorrectAnswersForCorrectTab();
|
18
|
+
listMatchingPage.steps.clickOnAddAlternateAnswerButton();
|
19
|
+
listMatchingPage.steps.allotPoints(10);
|
20
|
+
listMatchingPage.steps.setCorrectAnswersForAlternateTab();
|
21
|
+
listMatchingPage.steps.expandAdditonalSettings();
|
22
|
+
listMatchingPage.steps.checkAllowStudentsToCheckAnswerCheckbox();
|
23
|
+
listMatchingPage.steps.switchToPreviewTab();
|
24
|
+
});
|
25
|
+
|
26
|
+
listMatchingScoring.tests.verifyAllOrNothingScoringWithAlternateAnswerWhenAlternatePointsAreMoreThanCorrectPoints();
|
27
|
+
});
|
28
|
+
});
|
@@ -0,0 +1,30 @@
|
|
1
|
+
import { listMatchingPage, listMatchingScoring } from "../../../../pages";
|
2
|
+
import abortEarlySetup from "../../../../support/helpers/abortEarly";
|
3
|
+
|
4
|
+
describe('Create Item page - List Matching - standard options layout - All or nothing scoring with alternate answer - When correct answer points are equal to alternate answer points', () => {
|
5
|
+
before(() => {
|
6
|
+
cy.loginAs('admin');
|
7
|
+
});
|
8
|
+
|
9
|
+
describe('Question Preview: AutoScored - All or Nothing standard options layout with alternate answer - When correct answer points are equal to alternate answer points', () => {
|
10
|
+
abortEarlySetup();
|
11
|
+
before(() => {
|
12
|
+
cy.log('Navigate to List Matching question type, adding correct answer responses and alternate answer responses for autoscored - all or nothing scoring, adding points and switch to preview tab');
|
13
|
+
listMatchingPage.steps.navigateToCreateQuestion('list matching');
|
14
|
+
cy.barsPreLoaderWait();
|
15
|
+
listMatchingPage.steps.setQuestionStemsAndOptionsForScoringWithAlternateTab();
|
16
|
+
listMatchingPage.steps.allotPoints(7);
|
17
|
+
listMatchingPage.steps.setCorrectAnswersForCorrectTab();
|
18
|
+
listMatchingPage.steps.clickOnAddAlternateAnswerButton();
|
19
|
+
listMatchingPage.steps.allotPoints(7);
|
20
|
+
listMatchingPage.steps.setCorrectAnswersForAlternateTab();
|
21
|
+
listMatchingPage.steps.expandAdditonalSettings();
|
22
|
+
listMatchingPage.steps.checkAllowStudentsToCheckAnswerCheckbox();
|
23
|
+
listMatchingPage.steps.switchToPreviewTab();
|
24
|
+
});
|
25
|
+
|
26
|
+
listMatchingScoring.tests.verifyAllOrNothingScoringWithAlternateAnswerWhenCorrectPointsAreEqualToAlternatePoints();
|
27
|
+
|
28
|
+
listMatchingScoring.tests.verifyMinimumScoreAwardedIfAttemptedForIncorrectAnswer('7');
|
29
|
+
});
|
30
|
+
});
|
@@ -1,12 +1,12 @@
|
|
1
|
-
import { listMatchingPage, listMatchingScoring } from "
|
2
|
-
import abortEarlySetup from "
|
1
|
+
import { listMatchingPage, listMatchingScoring } from "../../../../pages";
|
2
|
+
import abortEarlySetup from "../../../../support/helpers/abortEarly";
|
3
3
|
|
4
|
-
describe('Create Item page - List Matching - standard options layout - All or nothing scoring with alternate answer', () => {
|
4
|
+
describe('Create Item page - List Matching - standard options layout - All or nothing scoring with alternate answer - When correct answer points are more than alternate answer points', () => {
|
5
5
|
before(() => {
|
6
6
|
cy.loginAs('admin');
|
7
7
|
});
|
8
8
|
|
9
|
-
describe('Question Preview: AutoScored - All or Nothing standard options layout with alternate answer', () => {
|
9
|
+
describe('Question Preview: AutoScored - All or Nothing standard options layout with alternate answer - When correct answer points are more than alternate answer points', () => {
|
10
10
|
abortEarlySetup();
|
11
11
|
before(() => {
|
12
12
|
cy.log('Navigate to List Matching question type, adding correct answer responses and alternate answer responses for autoscored - all or nothing scoring, adding points and switch to preview tab');
|
@@ -23,8 +23,6 @@ describe('Create Item page - List Matching - standard options layout - All or no
|
|
23
23
|
listMatchingPage.steps.switchToPreviewTab();
|
24
24
|
});
|
25
25
|
|
26
|
-
listMatchingScoring.tests.
|
27
|
-
|
28
|
-
listMatchingScoring.tests.verifyMinimumScoreAwardedIfAttemptedForIncorrectAnswer('7');
|
26
|
+
listMatchingScoring.tests.verifyAllOrNothingScoringWithAlternateAnswerWhenCorrectPointsAreMoreThanAlternatePoints();
|
29
27
|
});
|
30
28
|
});
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import { listMatchingPage, listMatchingScoring } from "
|
2
|
-
import abortEarlySetup from "
|
1
|
+
import { listMatchingPage, listMatchingScoring } from "../../../../pages";
|
2
|
+
import abortEarlySetup from "../../../../support/helpers/abortEarly";
|
3
3
|
|
4
4
|
describe('Create Item page - List Matching - standard options layout - All or nothing scoring', () => {
|
5
5
|
before(() => {
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import { listMatchingPage, listMatchingScoring } from "
|
2
|
-
import abortEarlySetup from "
|
1
|
+
import { listMatchingPage, listMatchingScoring } from "../../../../pages";
|
2
|
+
import abortEarlySetup from "../../../../support/helpers/abortEarly";
|
3
3
|
const css = Cypress.env('css');
|
4
4
|
|
5
5
|
describe('Create Item page - List Matching - standard options layout - Manually scored', () => {
|
@@ -0,0 +1,30 @@
|
|
1
|
+
import { listMatchingPage, listMatchingScoring } from "../../../../pages";
|
2
|
+
import abortEarlySetup from "../../../../support/helpers/abortEarly";
|
3
|
+
|
4
|
+
describe('Create Item page - List Matching - standard options layout - Partial different weights scoring with alternate answer - When alternate answer points are more than correct answer points', () => {
|
5
|
+
before(() => {
|
6
|
+
cy.loginAs('admin');
|
7
|
+
});
|
8
|
+
|
9
|
+
describe('Question Preview: AutoScored - Partial different weights standard options layout with alternate answer - When alternate answer points are more than correct answer points', () => {
|
10
|
+
abortEarlySetup();
|
11
|
+
before(() => {
|
12
|
+
cy.log('Navigate to List Matching question type, adding correct answer responses and alternate answer responses for autoscored - partial different scoring, adding points and switch to preview tab');
|
13
|
+
listMatchingPage.steps.navigateToCreateQuestion('list matching');
|
14
|
+
cy.barsPreLoaderWait();
|
15
|
+
listMatchingPage.steps.setQuestionStemsAndOptionsForScoringWithAlternateTab();
|
16
|
+
listMatchingPage.steps.setCorrectAnswersForCorrectTab();
|
17
|
+
listMatchingPage.steps.selectPartialDifferentWeightsCheckbox();
|
18
|
+
listMatchingPage.steps.addPartialDifferentWeightsPoints([5, 7, 4, 8]);
|
19
|
+
listMatchingPage.steps.clickOnAddAlternateAnswerButton();
|
20
|
+
listMatchingPage.steps.setCorrectAnswersForAlternateTab();
|
21
|
+
listMatchingPage.steps.addPartialDifferentWeightsPoints([4, 9, 6, 10]);
|
22
|
+
listMatchingPage.steps.uncheckRoundDownScoreCheckbox();
|
23
|
+
listMatchingPage.steps.expandAdditonalSettings();
|
24
|
+
listMatchingPage.steps.checkAllowStudentsToCheckAnswerCheckbox();
|
25
|
+
listMatchingPage.steps.switchToPreviewTab();
|
26
|
+
});
|
27
|
+
|
28
|
+
listMatchingScoring.tests.verifyPartialDifferentWeightWithAlternateAnswerWhenAlternatePointsMoreThanCorrectPoints('standard');
|
29
|
+
});
|
30
|
+
});
|
@@ -1,12 +1,12 @@
|
|
1
|
-
import { listMatchingPage, listMatchingScoring } from "
|
2
|
-
import abortEarlySetup from "
|
1
|
+
import { listMatchingPage, listMatchingScoring } from "../../../../pages";
|
2
|
+
import abortEarlySetup from "../../../../support/helpers/abortEarly";
|
3
3
|
|
4
|
-
describe('Create Item page - List Matching - standard options layout - Partial different weights scoring with alternate answer', () => {
|
4
|
+
describe('Create Item page - List Matching - standard options layout - Partial different weights scoring with alternate answer - When correct answer points are equal to alternate answer points', () => {
|
5
5
|
before(() => {
|
6
6
|
cy.loginAs('admin');
|
7
7
|
});
|
8
8
|
|
9
|
-
describe('Question Preview: AutoScored - Partial different weights standard options layout with alternate answer', () => {
|
9
|
+
describe('Question Preview: AutoScored - Partial different weights standard options layout with alternate answer - When correct answer points are equal to alternate answer points', () => {
|
10
10
|
abortEarlySetup();
|
11
11
|
before(() => {
|
12
12
|
cy.log('Navigate to List Matching question type, adding correct answer responses and alternate answer responses for autoscored - partial different scoring, adding points and switch to preview tab');
|
@@ -18,14 +18,14 @@ describe('Create Item page - List Matching - standard options layout - Partial d
|
|
18
18
|
listMatchingPage.steps.addPartialDifferentWeightsPoints([5, 7, 4, 8]);
|
19
19
|
listMatchingPage.steps.clickOnAddAlternateAnswerButton();
|
20
20
|
listMatchingPage.steps.setCorrectAnswersForAlternateTab();
|
21
|
-
listMatchingPage.steps.addPartialDifferentWeightsPoints([
|
21
|
+
listMatchingPage.steps.addPartialDifferentWeightsPoints([6, 9, 4, 5]);
|
22
22
|
listMatchingPage.steps.uncheckRoundDownScoreCheckbox();
|
23
23
|
listMatchingPage.steps.expandAdditonalSettings();
|
24
24
|
listMatchingPage.steps.checkAllowStudentsToCheckAnswerCheckbox();
|
25
25
|
listMatchingPage.steps.switchToPreviewTab();
|
26
26
|
});
|
27
27
|
|
28
|
-
listMatchingScoring.tests.
|
28
|
+
listMatchingScoring.tests.verifyPartialDifferentWeightWithAlternateAnswerWhenCorrectPointsEqualToAlternatePoints('standard');
|
29
29
|
|
30
30
|
listMatchingScoring.tests.verifyMinimumScoreAwardedIfAttemptedForIncorrectAnswer('24');
|
31
31
|
|
@@ -0,0 +1,30 @@
|
|
1
|
+
import { listMatchingPage, listMatchingScoring } from "../../../../pages";
|
2
|
+
import abortEarlySetup from "../../../../support/helpers/abortEarly";
|
3
|
+
|
4
|
+
describe('Create Item page - List Matching - standard options layout - Partial different weights scoring with alternate answer - When correct answer points are more than alternate answer points', () => {
|
5
|
+
before(() => {
|
6
|
+
cy.loginAs('admin');
|
7
|
+
});
|
8
|
+
|
9
|
+
describe('Question Preview: AutoScored - Partial different weights standard options layout with alternate answer - When correct answer points are more than alternate answer points', () => {
|
10
|
+
abortEarlySetup();
|
11
|
+
before(() => {
|
12
|
+
cy.log('Navigate to List Matching question type, adding correct answer responses and alternate answer responses for autoscored - partial different scoring, adding points and switch to preview tab');
|
13
|
+
listMatchingPage.steps.navigateToCreateQuestion('list matching');
|
14
|
+
cy.barsPreLoaderWait();
|
15
|
+
listMatchingPage.steps.setQuestionStemsAndOptionsForScoringWithAlternateTab();
|
16
|
+
listMatchingPage.steps.setCorrectAnswersForCorrectTab();
|
17
|
+
listMatchingPage.steps.selectPartialDifferentWeightsCheckbox();
|
18
|
+
listMatchingPage.steps.addPartialDifferentWeightsPoints([5, 7, 4, 8]);
|
19
|
+
listMatchingPage.steps.clickOnAddAlternateAnswerButton();
|
20
|
+
listMatchingPage.steps.setCorrectAnswersForAlternateTab();
|
21
|
+
listMatchingPage.steps.addPartialDifferentWeightsPoints([3, 9, 2, 6]);
|
22
|
+
listMatchingPage.steps.uncheckRoundDownScoreCheckbox();
|
23
|
+
listMatchingPage.steps.expandAdditonalSettings();
|
24
|
+
listMatchingPage.steps.checkAllowStudentsToCheckAnswerCheckbox();
|
25
|
+
listMatchingPage.steps.switchToPreviewTab();
|
26
|
+
});
|
27
|
+
|
28
|
+
listMatchingScoring.tests.verifyPartialDifferentWeightWithAlternateAnswerWhenCorrectPointsMoreThanAlternatePoints('standard');
|
29
|
+
});
|
30
|
+
});
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import { listMatchingPage, listMatchingScoring } from "
|
2
|
-
import abortEarlySetup from "
|
1
|
+
import { listMatchingPage, listMatchingScoring } from "../../../../pages";
|
2
|
+
import abortEarlySetup from "../../../../support/helpers/abortEarly";
|
3
3
|
|
4
4
|
describe('Create Item page - List Matching - standard options layout - Partial different weights scoring', () => {
|
5
5
|
before(() => {
|
@@ -0,0 +1,29 @@
|
|
1
|
+
import { listMatchingPage, listMatchingScoring } from "../../../../pages";
|
2
|
+
import abortEarlySetup from "../../../../support/helpers/abortEarly";
|
3
|
+
|
4
|
+
describe('Create Item page - List Matching - standard options layout - Partial equal weights scoring with alternate answer - When alternate answer points are more than correct answer points', () => {
|
5
|
+
before(() => {
|
6
|
+
cy.loginAs('admin');
|
7
|
+
});
|
8
|
+
|
9
|
+
describe('Question Preview: AutoScored - Partial equal weights standard options layout with alternate answer', () => {
|
10
|
+
abortEarlySetup();
|
11
|
+
before(() => {
|
12
|
+
cy.log('Navigate to List Matching question type, adding correct answer responses and alternate answer responses for autoscored - partial equal scoring, adding points and switch to preview tab');
|
13
|
+
listMatchingPage.steps.navigateToCreateQuestion('list matching');
|
14
|
+
cy.barsPreLoaderWait();
|
15
|
+
listMatchingPage.steps.setQuestionStemsAndOptionsForScoringWithAlternateTab();
|
16
|
+
listMatchingPage.steps.selectPartialEqualWeightsCheckbox();
|
17
|
+
listMatchingPage.steps.allotPoints(20);
|
18
|
+
listMatchingPage.steps.setCorrectAnswersForCorrectTab();
|
19
|
+
listMatchingPage.steps.clickOnAddAlternateAnswerButton();
|
20
|
+
listMatchingPage.steps.allotPoints(24);
|
21
|
+
listMatchingPage.steps.setCorrectAnswersForAlternateTab();
|
22
|
+
listMatchingPage.steps.expandAdditonalSettings();
|
23
|
+
listMatchingPage.steps.checkAllowStudentsToCheckAnswerCheckbox();
|
24
|
+
listMatchingPage.steps.switchToPreviewTab();
|
25
|
+
});
|
26
|
+
|
27
|
+
listMatchingScoring.tests.verifyPartialEqualWeightsWithAlternateAnswerWhenAlternatePointsAreMoreThanCorrectPoints('standard');
|
28
|
+
});
|
29
|
+
});
|
@@ -1,12 +1,12 @@
|
|
1
|
-
import { listMatchingPage, listMatchingScoring } from "
|
2
|
-
import abortEarlySetup from "
|
1
|
+
import { listMatchingPage, listMatchingScoring } from "../../../../pages";
|
2
|
+
import abortEarlySetup from "../../../../support/helpers/abortEarly";
|
3
3
|
|
4
|
-
describe('Create Item page - List Matching - standard options layout - Partial equal weights scoring with alternate answer', () => {
|
4
|
+
describe('Create Item page - List Matching - standard options layout - Partial equal weights scoring with alternate answer - When correct answer points are equal to alternate answer points', () => {
|
5
5
|
before(() => {
|
6
6
|
cy.loginAs('admin');
|
7
7
|
});
|
8
8
|
|
9
|
-
describe('Question Preview: AutoScored - Partial equal weights standard options layout with alternate answer', () => {
|
9
|
+
describe('Question Preview: AutoScored - Partial equal weights standard options layout with alternate answer - When correct answer points are equal to alternate answer points', () => {
|
10
10
|
abortEarlySetup();
|
11
11
|
before(() => {
|
12
12
|
cy.log('Navigate to List Matching question type, adding correct answer responses and alternate answer responses for autoscored - partial equal scoring, adding points and switch to preview tab');
|
@@ -17,14 +17,14 @@ describe('Create Item page - List Matching - standard options layout - Partial e
|
|
17
17
|
listMatchingPage.steps.allotPoints(20);
|
18
18
|
listMatchingPage.steps.setCorrectAnswersForCorrectTab();
|
19
19
|
listMatchingPage.steps.clickOnAddAlternateAnswerButton();
|
20
|
-
listMatchingPage.steps.allotPoints(
|
20
|
+
listMatchingPage.steps.allotPoints(20);
|
21
21
|
listMatchingPage.steps.setCorrectAnswersForAlternateTab();
|
22
22
|
listMatchingPage.steps.expandAdditonalSettings();
|
23
23
|
listMatchingPage.steps.checkAllowStudentsToCheckAnswerCheckbox();
|
24
24
|
listMatchingPage.steps.switchToPreviewTab();
|
25
25
|
});
|
26
26
|
|
27
|
-
listMatchingScoring.tests.
|
27
|
+
listMatchingScoring.tests.verifyPartialEqualWeightsWithAlternateAnswerWhenCorrectPointsAreEqualToAlternatePoints();
|
28
28
|
|
29
29
|
listMatchingScoring.tests.verifyMinimumScoreAwardedIfAttemptedForIncorrectAnswer('20');
|
30
30
|
|