itemengine-cypress-automation 1.0.184-e2e-execution-crash-3b9d0d0.0 → 1.0.185-repoUpdate26April-b17eb46.0
Sign up to get free protection for your applications and to get access to all the features.
- package/cypress/e2e/ILC/AudioPlayerNew/allSupportedFileTypes.js +79 -0
- package/cypress/e2e/ILC/AudioPlayerNew/barAudioPlayerStyle.js +345 -0
- package/cypress/e2e/ILC/AudioPlayerNew/compactAudioPlayerStyle.js +429 -0
- package/cypress/e2e/ILC/AudioPlayerNew/previewContents.smoke.js +162 -0
- package/cypress/e2e/ILC/AudioPlayerNew/standardAudioPlayerStyle.js +489 -0
- package/cypress/e2e/ILC/AudioPlayerNew/uploadAndAddAudioFile.js +313 -0
- package/cypress/e2e/ILC/AudioResponseNew/barRecorderStyle.smoke.js +1 -1
- package/cypress/e2e/ILC/AudioResponseNew/compactRecorderStyle.smoke.js +1 -1
- package/cypress/e2e/ILC/AudioResponseNew/standardRecorderStyle.smoke.js +1 -1
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/clickAndDrop.js +1 -1
- package/cypress/e2e/ILC/DrawingResponse/drawingResponseGradingViewAndCorrectAnswerViewContents.smoke.js +5 -8
- package/cypress/e2e/ILC/EditTabSettingPage/itemPreviewSettingsTabFunctionality.js +417 -28
- package/cypress/e2e/ILC/EssayResponse/editCategoryFlyout.js +1 -1
- package/cypress/e2e/ILC/FeedbackScaleNew/headerSection.js +29 -1
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/previewContentsForAllViews.smoke.js +2 -2
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/studentViewSettings.js +1 -1
- package/cypress/e2e/ILC/FillInTheGapsDropdownNew/studentViewSettings.js +1 -1
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/editTabScoring.js +1 -0
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/previewContentsForAllViews.smoke.js +2 -2
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/studentViewSettings.js +1 -1
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/studentViewSettings.js +1 -1
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/partialDifferentWeightsWithCorrectPointsEqualToAlternativePoints.js +4 -4
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +1 -1
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/studentViewSettings.js +1 -1
- package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +5 -5
- package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/partialDifferentWeightsWithCorrectPointsEqualToAlternativePoints.js +3 -4
- package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +1 -1
- package/cypress/e2e/ILC/FillInTheGapsTextNew/headerSection.js +1 -0
- package/cypress/e2e/ILC/FillInTheGapsTextNew/studentViewSettings.js +1 -1
- package/cypress/e2e/ILC/Graphing/Scoring/allOrNothingWithAlternativePointsGreaterThanCorrectPoints.js +2 -2
- package/cypress/e2e/ILC/Graphing/Scoring/allOrNothingWithCorrectPointsEqualToAlternatePoints.js +2 -2
- package/cypress/e2e/ILC/Graphing/Scoring/allOrNothingWithCorrectPointsGreaterThanAlternativePoints.js +2 -2
- package/cypress/e2e/ILC/Graphing/addBackgroundShapesSection.js +2 -2
- package/cypress/e2e/ILC/Graphing/studentViewSettings.js +1 -1
- package/cypress/e2e/ILC/GridFill/checkAnswerFunctionalityForAllViews.smoke.js +2 -2
- package/cypress/e2e/ILC/GridFill/gridLayoutContents.js +11 -3
- package/cypress/e2e/ILC/GridFill/previewContentsForAllViews.smoke.js +3 -3
- package/cypress/e2e/ILC/GridFill/studentViewSettingsSection.js +1 -1
- package/cypress/e2e/ILC/ListOrderingDropdown/allOrNothingForAllViews.smoke.js +230 -0
- package/cypress/e2e/ILC/ListOrderingDropdown/checkAnswerFunctionalityForAllViews.smoke.js +124 -0
- package/cypress/e2e/ILC/ListOrderingDropdown/previewContentsForAllViews.smoke.js +201 -0
- package/cypress/e2e/ILC/ListOrderingNew/Scoring/allOrNothingAlternativePointsGreaterThanCorrectPoints.js +216 -0
- package/cypress/e2e/ILC/ListOrderingNew/Scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +214 -0
- package/cypress/e2e/ILC/ListOrderingNew/Scoring/allOrNothingCorrectPointsGreaterThanAlternativePoints.js +251 -0
- package/cypress/e2e/ILC/ListOrderingNew/Scoring/allOrNothingPenaltyScoring.js +52 -0
- package/cypress/e2e/ILC/ListOrderingNew/Scoring/manuallyAndNonScored.js +128 -0
- package/cypress/e2e/ILC/ListOrderingNew/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +279 -0
- package/cypress/e2e/ILC/ListOrderingNew/Scoring/partialDifferentWeightsBasic.js +109 -0
- package/cypress/e2e/ILC/ListOrderingNew/Scoring/partialDifferentWeightsCorrectPointsEqualToAlternativePoints.js +278 -0
- package/cypress/e2e/ILC/ListOrderingNew/Scoring/partialDifferentWeightsCorrectPointsGreaterThanAlternativePoints.js +278 -0
- package/cypress/e2e/ILC/ListOrderingNew/Scoring/partialDifferentWeightsMinimumAndPenaltyScoring.js +335 -0
- package/cypress/e2e/ILC/ListOrderingNew/Scoring/partialEqualWeightsAlternativePointsGreaterThanCorrectPoints.js +250 -0
- package/cypress/e2e/ILC/ListOrderingNew/Scoring/partialEqualWeightsBasic.js +161 -0
- package/cypress/e2e/ILC/ListOrderingNew/Scoring/partialEqualWeightsCorrectPointsEqualToAlternativePoints.js +216 -0
- package/cypress/e2e/ILC/ListOrderingNew/Scoring/partialEqualWeightsCorrectPointsGreaterThanAlternativePoints.js +252 -0
- package/cypress/e2e/ILC/ListOrderingNew/additionalSettings.js +118 -0
- package/cypress/e2e/ILC/ListOrderingNew/allOrNothingForAllViews.smoke.js +243 -0
- package/cypress/e2e/ILC/ListOrderingNew/checkAnswerFunctionalityForAllViews.smoke.js +128 -0
- package/cypress/e2e/ILC/ListOrderingNew/editTabBasicSection.js +155 -0
- package/cypress/e2e/ILC/ListOrderingNew/editTabScoring.js +195 -0
- package/cypress/e2e/ILC/ListOrderingNew/headerSection.js +78 -0
- package/cypress/e2e/ILC/ListOrderingNew/minimumScoringPenaltyPointsAndRoundingDropdown.js +194 -0
- package/cypress/e2e/ILC/ListOrderingNew/previewContentsForAllViews.smoke.js +176 -0
- package/cypress/e2e/ILC/ListOrderingNew/specifyCorrectAnswerSection.js +112 -0
- package/cypress/e2e/ILC/ListOrderingNew/studentViewSettings.js +244 -0
- package/cypress/e2e/ILC/Matching/studentViewSettings.js +1 -1
- package/cypress/e2e/ILC/MultipleSelection/allOrNothingWithAlternativeAnswer.js +1 -0
- package/cypress/e2e/ILC/MultipleSelectionGridNew/studentViewSettings.js +1 -1
- package/cypress/e2e/ILC/NumberLine/LayoutSection.js +181 -0
- package/cypress/e2e/ILC/NumberLine/Scoring/allOrNothingWithCorrectPointsGreaterThanAlternativePoints.js +3 -3
- package/cypress/e2e/ILC/NumberLine/allOrNothingScoringForAllViews.smoke.js +57 -1
- package/cypress/e2e/ILC/NumberLine/lineSettingsSection.js +33 -0
- package/cypress/e2e/ILC/NumberLine/numberLineSection.js +46 -0
- package/cypress/e2e/ILC/NumberLine/previewTabContentsForAllViews.smoke.js +1 -1
- package/cypress/e2e/ILC/NumberLine/studentViewSettings.js +1 -1
- package/cypress/e2e/ILC/NumberLine/toolSettings.js +2 -1
- package/cypress/e2e/ILC/NumberLine/verticalNumberLine/allOrNothingScoringForAllViews.smoke.js +696 -0
- package/cypress/e2e/ILC/NumberLine/verticalNumberLine/gradingViewAndCorrectAnswerView.smoke.js +173 -0
- package/cypress/e2e/ILC/NumberLine/verticalNumberLine/layoutSection.js +183 -0
- package/cypress/e2e/ILC/NumberLine/verticalNumberLine/numberLineSection.js +73 -0
- package/cypress/e2e/ILC/NumberLine/verticalNumberLine/previewTabContentsForAllViews.smoke.js +204 -0
- package/cypress/e2e/ILC/NumberLineLabel/allOrNothingForAllViews.smoke.js +288 -0
- package/cypress/e2e/ILC/NumberLineLabel/checkAnswerFunctionalityForAllViews.smoke.js +153 -0
- package/cypress/e2e/ILC/NumberLineLabel/gradingViewAndCorrectAnswerView.smoke.js +164 -0
- package/cypress/e2e/ILC/NumberLineLabel/previewContentsForAllViews.smoke.js +120 -0
- package/cypress/e2e/ILC/Protractor/protractorPreviewContents.smoke.js +1 -1
- package/cypress/e2e/ILC/ReadingRuler/readingRulerEditTabBasicsSection.js +49 -1
- package/cypress/e2e/ILC/ShortTextResponseNew/studentViewSettings.js +1 -1
- package/cypress/e2e/ILC/SingleSelectionGridNew/studentViewSettings.js +1 -1
- package/cypress/e2e/ILC/TextEntryMath/responseEvaluationMethodsAndCustomSettings.js +2 -2
- package/cypress/e2e/ILC/TextSelection/Scoring/allOrNothingAlternatePointsMoreThanCorrectPoints.js +0 -1
- package/cypress/e2e/ILC/TextSelection/Scoring/allOrNothingCorrectPointsEqualToAlternatePoints.js +0 -1
- package/cypress/e2e/ILC/TextSelection/Scoring/allOrNothingCorrectPointsMoreThanAlternatePoints.js +0 -1
- package/cypress/e2e/ILC/TextSelection/Scoring/basicScoringForAllTextSelectionTypes.smoke.js +0 -1
- package/cypress/e2e/ILC/TextSelection/additionalSettings.js +125 -0
- package/cypress/e2e/ILC/TextSelection/allOrNothingScoringForAllViews.smoke.js +0 -1
- package/cypress/e2e/ILC/TextSelection/checkAnswerFunctionalityForAllViews.smoke.js +1 -2
- package/cypress/e2e/ILC/TextSelection/editTabScoringSection.js +5 -4
- package/cypress/e2e/ILC/TextSelection/headerSection.js +73 -0
- package/cypress/e2e/ILC/TextSelection/previewContentsForAllViews.smoke.js +6 -7
- package/cypress/e2e/ILC/TextSelection/questionInstructionsAndQuestion.js +179 -0
- package/cypress/e2e/ILC/TextSelection/specifyCorrectAnswerSection.js +89 -0
- package/cypress/e2e/ILC/TextSelection/studentViewSettings.js +436 -0
- package/cypress/e2e/ILC/TextSelection/styleAndLayoutCustomizationAccordion.js +277 -0
- package/cypress/e2e/ILC/TextSelection/textSelectionModesInPreviewTab.js +222 -0
- package/cypress/e2e/ILC/TextSelection/textSelectionModesInSpecifyCorrectAnswerSection.js +260 -0
- package/cypress/e2e/ILC/TextSelection/textSelectionModesInSpecifyPossibleOptionsSection.js +380 -0
- package/cypress/e2e/ILC/ToolSettings/toolSettingsContent.js +5 -5
- package/cypress/e2e/ILC/ToolSettings/toolSettingsPreviewContents.smoke.js +3 -3
- package/cypress/fixtures/constants.js +1 -1
- package/cypress/fixtures/equationEditorCategoriesAndSymbols .js +20 -20
- package/cypress/fixtures/theme/ilc.json +20 -18
- package/cypress/pages/audioPlayerPage.js +274 -504
- package/cypress/pages/brainingCampManipulativePage.js +1 -1
- package/cypress/pages/components/autoScoredSpecifyCorrectAnswerSection.js +3 -3
- package/cypress/pages/components/autoScoredStudentViewSettings.js +5 -5
- package/cypress/pages/components/commonComponents.js +1 -0
- package/cypress/pages/components/draggableOptionContainer.js +1 -0
- package/cypress/pages/components/equationEditorFlyout.js +3 -2
- package/cypress/pages/components/essayResponseCommonComponents.js +8 -2
- package/cypress/pages/components/fillInTheGapsDropdownCommonComponent.js +1 -0
- package/cypress/pages/components/imageCanvasComponent.js +2 -1
- package/cypress/pages/components/index.js +3 -0
- package/cypress/pages/components/layoutSectionComponent.js +1191 -0
- package/cypress/pages/components/numberLineCommonComponent.js +36 -0
- package/cypress/pages/components/optionsWrapperComponent.js +13 -2
- package/cypress/pages/components/playbackControlsBaseComponent.js +20 -13
- package/cypress/pages/components/styleAndLayoutCustomizationAccordionComponent.js +46 -0
- package/cypress/pages/components/toolSettingsComponent.js +6 -0
- package/cypress/pages/contentBlocksPage.js +18 -2
- package/cypress/pages/createItemPage.js +75 -8
- package/cypress/pages/dialogBoxBase.js +2 -2
- package/cypress/pages/drawingResponsePage.js +24 -4
- package/cypress/pages/feedbackScalePage.js +3 -0
- package/cypress/pages/graphingPage.js +19 -1
- package/cypress/pages/gridFillPage.js +25 -8
- package/cypress/pages/index.js +2 -1
- package/cypress/pages/itemPreviewSettingsPage.js +4 -0
- package/cypress/pages/listOrderingPage.js +435 -557
- package/cypress/pages/matchingPage.js +1 -1
- package/cypress/pages/multipleSelectionPage.js +23 -1
- package/cypress/pages/numberLineLabelPage.js +333 -0
- package/cypress/pages/numberLinePage.js +1370 -132
- package/cypress/pages/rulerPage.js +6 -2
- package/cypress/pages/textSelectionPage.js +461 -23
- package/package.json +1 -1
@@ -0,0 +1,436 @@
|
|
1
|
+
import { textSelectionPage } from "../../../pages";
|
2
|
+
import abortEarlySetup from "../../../support/helpers/abortEarly";
|
3
|
+
import utilities from "../../../support/helpers/utilities";
|
4
|
+
const css = Cypress.env('css');
|
5
|
+
|
6
|
+
const paragraphTextArray = ['All animals have a unique role to play in maintaining the balance of nature.', 'A lot of animal species exist in both, land and water. As a result, each of them has a purpose for their existence.', 'The animals divide into specific groups in biology. Amphibians are those which can live on both, land and water.', 'Mammals are ones which give birth to their offspring in the womb and have mammary glands.'];
|
7
|
+
|
8
|
+
describe('Create Item page - Text selection: Student view settings', () => {
|
9
|
+
before(() => {
|
10
|
+
cy.loginAs('admin');
|
11
|
+
});
|
12
|
+
|
13
|
+
describe('Enable outer border : Edit tab', () => {
|
14
|
+
abortEarlySetup();
|
15
|
+
before(() => {
|
16
|
+
textSelectionPage.steps.navigateToCreateQuestion('text selection');
|
17
|
+
cy.barsPreLoaderWait();
|
18
|
+
});
|
19
|
+
|
20
|
+
textSelectionPage.tests.verifyStudentViewSettingsLabelAndCSS();
|
21
|
+
|
22
|
+
textSelectionPage.tests.verifyEnableOuterBorderContents();
|
23
|
+
});
|
24
|
+
|
25
|
+
describe('Enable outer border : Preview tab', () => {
|
26
|
+
abortEarlySetup();
|
27
|
+
before(() => {
|
28
|
+
textSelectionPage.steps.navigateToCreateQuestion('text selection');
|
29
|
+
cy.barsPreLoaderWait();
|
30
|
+
textSelectionPage.steps.switchToPreviewTab();
|
31
|
+
});
|
32
|
+
|
33
|
+
it('When the \'Enable outer border\' checkbox is in checked state, an outer border over the question preview should be visible', () => {
|
34
|
+
textSelectionPage.steps.verifyQuestionTextOuterBorderIsDisplayedInPreviewTab();
|
35
|
+
});
|
36
|
+
|
37
|
+
it('When the user unchecks the \'Enable outer border\' checkbox, then the outer border over the question preview should not be displayed', () => {
|
38
|
+
textSelectionPage.steps.switchToEditTab();
|
39
|
+
textSelectionPage.steps.uncheckEnableOuterBorderCheckbox();
|
40
|
+
textSelectionPage.steps.switchToPreviewTab();
|
41
|
+
textSelectionPage.steps.verifyQuestionTextOuterBorderIsNotDisplayedInPreviewTab();
|
42
|
+
});
|
43
|
+
|
44
|
+
it('CSS of \'Enable outer border\' checkbox - unchecked state', { tags: 'css' }, () => {
|
45
|
+
textSelectionPage.steps.switchToEditTab();
|
46
|
+
utilities.verifyCSS(textSelectionPage.enableOuterBorderCheckbox().parent().find('svg'), {
|
47
|
+
'fill': css.color.uncheckedCheckbox
|
48
|
+
});
|
49
|
+
});
|
50
|
+
|
51
|
+
it('Accessibility of \'Enable outer border\' checkbox - unchecked state', { tags: 'a11y' }, () => {
|
52
|
+
cy.checkAccessibility(textSelectionPage.enableOuterBorderCheckbox().parents('[data-ngie-testid="enable-outer-border-checkbox"]'));
|
53
|
+
});
|
54
|
+
});
|
55
|
+
|
56
|
+
describe('Allow students to check answer: Edit tab', () => {
|
57
|
+
abortEarlySetup();
|
58
|
+
before(() => {
|
59
|
+
textSelectionPage.steps.navigateToCreateQuestion('text selection');
|
60
|
+
cy.barsPreLoaderWait();
|
61
|
+
});
|
62
|
+
|
63
|
+
textSelectionPage.tests.verifyAllowStudentsToCheckAnswerLabelAndCheckboxCSS();
|
64
|
+
|
65
|
+
textSelectionPage.tests.verifyMaximumAttemptsDropdownDisplayedWhenAllowStudentsToCheckAnswerIsChecked();
|
66
|
+
|
67
|
+
textSelectionPage.tests.verifyMaxCheckAnswerAttemptsDropdown();
|
68
|
+
|
69
|
+
textSelectionPage.tests.verifyAllowStudentsToCheckAnswerContentsCSSAndA11y();
|
70
|
+
});
|
71
|
+
|
72
|
+
describe('Allow students to check answer: Preview tab', () => {
|
73
|
+
abortEarlySetup();
|
74
|
+
before(() => {
|
75
|
+
textSelectionPage.steps.navigateToCreateQuestion('text selection');
|
76
|
+
cy.barsPreLoaderWait();
|
77
|
+
textSelectionPage.steps.clearQuestionInputField();
|
78
|
+
paragraphTextArray.forEach((paragraphText) => {
|
79
|
+
textSelectionPage.steps.addInputToQuestionInputField(`${paragraphText}{enter}`);
|
80
|
+
});
|
81
|
+
textSelectionPage.steps.addInputToQuestionInputField('{backspace}');
|
82
|
+
textSelectionPage.steps.switchTextSelectionMode('Paragraph');
|
83
|
+
textSelectionPage.steps.clickOnOptionInSpecifyPossibleOptionsSection(paragraphTextArray[0]);
|
84
|
+
textSelectionPage.steps.clickOnOptionInSpecifyPossibleOptionsSection(paragraphTextArray[1]);
|
85
|
+
textSelectionPage.steps.clickOnOptionInSpecifyPossibleOptionsSection(paragraphTextArray[2]);
|
86
|
+
textSelectionPage.steps.selectOptionInSpecifyCorrectAnswerSection(paragraphTextArray[0]);
|
87
|
+
textSelectionPage.steps.selectOptionInSpecifyCorrectAnswerSection(paragraphTextArray[1]);
|
88
|
+
textSelectionPage.steps.selectOptionInSpecifyCorrectAnswerSection(paragraphTextArray[2]);
|
89
|
+
textSelectionPage.steps.allotPoints(20);
|
90
|
+
});
|
91
|
+
|
92
|
+
it('When the user has added options and specified correct answer and points then on checking the \'Allow students to check answer\' checkbox the Check answer button should be displayed in the preview tab', () => {
|
93
|
+
textSelectionPage.steps.checkAllowStudentToCheckAnswerCheckbox();
|
94
|
+
textSelectionPage.steps.switchToPreviewTab();
|
95
|
+
utilities.verifyInnerText(textSelectionPage.checkAnswerButton(), 'Check answer');
|
96
|
+
utilities.verifyElementVisibilityState(textSelectionPage.checkAnswerButton(), 'visible');
|
97
|
+
});
|
98
|
+
|
99
|
+
it('When the user selects an option and checks the answer then an icon should be displayed beside the selected option and the check answer button should be in enabled state', () => {
|
100
|
+
textSelectionPage.steps.selectOptionInPreviewTab(paragraphTextArray[0]);
|
101
|
+
textSelectionPage.steps.checkAnswer();
|
102
|
+
textSelectionPage.steps.verifyCorrectIconForOption(paragraphTextArray[0]);
|
103
|
+
textSelectionPage.steps.verifyCheckAnswerButtonEnabled();
|
104
|
+
});
|
105
|
+
|
106
|
+
it('When the user selects an option from the Maximum check answer attempts dropdown then the user should be able to check answer only those many times in the preview tab', () => {
|
107
|
+
textSelectionPage.steps.switchToEditTab();
|
108
|
+
textSelectionPage.steps.expandMaxCheckAnswerAttemptsDropdown();
|
109
|
+
textSelectionPage.steps.selectMaxCheckAnswerAttemptsDropdownListOption('1');
|
110
|
+
textSelectionPage.steps.switchToPreviewTab();
|
111
|
+
textSelectionPage.steps.selectOptionInPreviewTab(paragraphTextArray[0]);
|
112
|
+
textSelectionPage.steps.checkAnswer();
|
113
|
+
textSelectionPage.steps.verifyCheckAnswerButtonDisabled();
|
114
|
+
});
|
115
|
+
|
116
|
+
textSelectionPage.tests.verifyDisabledCheckAnswerButtonWithCSSAndA11y();
|
117
|
+
|
118
|
+
it('When the user updates the value of \'Maximum check answer attempts\' dropdown, it should get reflected on the Preview tab', () => {
|
119
|
+
textSelectionPage.steps.switchToEditTab();
|
120
|
+
textSelectionPage.steps.expandMaxCheckAnswerAttemptsDropdown();
|
121
|
+
textSelectionPage.steps.selectMaxCheckAnswerAttemptsDropdownListOption('4');
|
122
|
+
textSelectionPage.steps.switchToPreviewTab();
|
123
|
+
textSelectionPage.steps.verifyCheckAnswerButtonEnabled();
|
124
|
+
textSelectionPage.steps.selectOptionInPreviewTab(paragraphTextArray[0]);
|
125
|
+
textSelectionPage.steps.checkAnswer();
|
126
|
+
textSelectionPage.steps.verifyCheckAnswerButtonEnabled();
|
127
|
+
textSelectionPage.steps.selectOptionInPreviewTab(paragraphTextArray[1]);
|
128
|
+
textSelectionPage.steps.checkAnswer();
|
129
|
+
textSelectionPage.steps.verifyCheckAnswerButtonEnabled();
|
130
|
+
textSelectionPage.steps.selectOptionInPreviewTab(paragraphTextArray[2]);
|
131
|
+
textSelectionPage.steps.checkAnswer();
|
132
|
+
textSelectionPage.steps.verifyCheckAnswerButtonEnabled();
|
133
|
+
});
|
134
|
+
});
|
135
|
+
|
136
|
+
describe('Show the available options to students: Edit tab', () => {
|
137
|
+
abortEarlySetup();
|
138
|
+
before(() => {
|
139
|
+
textSelectionPage.steps.navigateToCreateQuestion('text selection');
|
140
|
+
cy.barsPreLoaderWait();
|
141
|
+
});
|
142
|
+
|
143
|
+
it('\'Show the available options to students\' label and checkbox should be displayed. By default, \'Show the available options to students\' checkbox should be in unchecked state', () => {
|
144
|
+
utilities.verifyInnerText(textSelectionPage.showAvailableOptionsToStudentsLabel(), 'Show the available options to students');
|
145
|
+
utilities.verifyElementVisibilityState(textSelectionPage.showAvailableOptionsToStudentsLabel(), 'visible');
|
146
|
+
utilities.verifyElementVisibilityState(textSelectionPage.showAvailableOptionsToStudentsCheckbox(), 'exist');
|
147
|
+
textSelectionPage.steps.verifyShowAvailableOptionsToStudentsCheckboxIsUnchecked();
|
148
|
+
});
|
149
|
+
|
150
|
+
it('CSS of \'Show the available options to students\' checkbox and label - unchecked state', { tags: 'css' }, () => {
|
151
|
+
utilities.verifyCSS(textSelectionPage.showAvailableOptionsToStudentsLabel(), {
|
152
|
+
'color': css.color.labelText,
|
153
|
+
'font-size': css.fontSize.normal,
|
154
|
+
'font-weight': css.fontWeight.regular
|
155
|
+
});
|
156
|
+
utilities.verifyCSS(textSelectionPage.showAvailableOptionsToStudentsCheckbox().parent().find('svg'), {
|
157
|
+
'fill': css.color.uncheckedCheckbox
|
158
|
+
});
|
159
|
+
});
|
160
|
+
|
161
|
+
it('Accessibility of \'Show the available options to students\' checkbox - unchecked state', { tags: 'a11y' }, () => {
|
162
|
+
cy.checkAccessibility(textSelectionPage.showAvailableOptionsToStudentsCheckbox().parents('[data-ngie-testid="show-the-available-options-to-students-checkbox"]'));
|
163
|
+
});
|
164
|
+
|
165
|
+
it('User should be able to check the \'Show the available options to students\' checkbox', () => {
|
166
|
+
textSelectionPage.steps.checkShowAvailableOptionsToStudentsCheckbox();
|
167
|
+
});
|
168
|
+
|
169
|
+
it('CSS of \'Enable outer border\' label and checkbox - checked state', { tags: 'css' }, () => {
|
170
|
+
utilities.verifyCSS(textSelectionPage.showAvailableOptionsToStudentsCheckbox().parent().find('svg g g').eq(0), {
|
171
|
+
'fill': css.color.activeButtons
|
172
|
+
});
|
173
|
+
});
|
174
|
+
|
175
|
+
it('Accessibility of \'Show the available options to students\' checkbox - checked state', { tags: 'a11y' }, () => {
|
176
|
+
cy.checkAccessibility(textSelectionPage.showAvailableOptionsToStudentsCheckbox().parents('[data-ngie-testid="show-the-available-options-to-students-checkbox"]'));
|
177
|
+
});
|
178
|
+
});
|
179
|
+
|
180
|
+
describe('Show the available options to students: Preview tab', () => {
|
181
|
+
abortEarlySetup();
|
182
|
+
before(() => {
|
183
|
+
textSelectionPage.steps.navigateToCreateQuestion('text selection');
|
184
|
+
cy.barsPreLoaderWait();
|
185
|
+
textSelectionPage.steps.clearQuestionInputField();
|
186
|
+
paragraphTextArray.forEach((paragraphText) => {
|
187
|
+
textSelectionPage.steps.addInputToQuestionInputField(`${paragraphText}{enter}`);
|
188
|
+
});
|
189
|
+
textSelectionPage.steps.addInputToQuestionInputField('{backspace}');
|
190
|
+
textSelectionPage.steps.switchTextSelectionMode('Paragraph');
|
191
|
+
textSelectionPage.steps.clickOnOptionInSpecifyPossibleOptionsSection(paragraphTextArray[0]);
|
192
|
+
textSelectionPage.steps.clickOnOptionInSpecifyPossibleOptionsSection(paragraphTextArray[1]);
|
193
|
+
textSelectionPage.steps.clickOnOptionInSpecifyPossibleOptionsSection(paragraphTextArray[2]);
|
194
|
+
textSelectionPage.steps.selectOptionInSpecifyCorrectAnswerSection(paragraphTextArray[0]);
|
195
|
+
textSelectionPage.steps.selectOptionInSpecifyCorrectAnswerSection(paragraphTextArray[1]);
|
196
|
+
textSelectionPage.steps.selectOptionInSpecifyCorrectAnswerSection(paragraphTextArray[2]);
|
197
|
+
textSelectionPage.steps.allotPoints(20);
|
198
|
+
textSelectionPage.steps.switchToPreviewTab();
|
199
|
+
});
|
200
|
+
|
201
|
+
it('When \'Show the available options to students\' checkbox is unchecked, then in preview tab the options should be displayed in standard state without any highlighted background', () => {
|
202
|
+
textSelectionPage.steps.verifyStandardStateOptionInPreviewTab(paragraphTextArray[0]);
|
203
|
+
textSelectionPage.steps.verifyStandardStateOptionInPreviewTab(paragraphTextArray[1]);
|
204
|
+
textSelectionPage.steps.verifyStandardStateOptionInPreviewTab(paragraphTextArray[2]);
|
205
|
+
});
|
206
|
+
|
207
|
+
it('When \'Show the available options to students\' checkbox is checked, then in preview tab the available options should be displayed with a highlighted background', () => {
|
208
|
+
textSelectionPage.steps.switchToEditTab();
|
209
|
+
textSelectionPage.steps.checkShowAvailableOptionsToStudentsCheckbox();
|
210
|
+
textSelectionPage.steps.switchToPreviewTab();
|
211
|
+
textSelectionPage.steps.verifyOptionIsDisplayedToStudentsInPreviewTab(paragraphTextArray[0]);
|
212
|
+
textSelectionPage.steps.verifyOptionIsDisplayedToStudentsInPreviewTab(paragraphTextArray[1]);
|
213
|
+
textSelectionPage.steps.verifyOptionIsDisplayedToStudentsInPreviewTab(paragraphTextArray[2]);
|
214
|
+
});
|
215
|
+
|
216
|
+
it('When user selects an option in preview tab, then that option should be selected', () => {
|
217
|
+
textSelectionPage.steps.selectOptionInPreviewTab(paragraphTextArray[0]);
|
218
|
+
textSelectionPage.steps.verifySelectedStateOptionInPreviewTab(paragraphTextArray[0], 'blue');
|
219
|
+
});
|
220
|
+
|
221
|
+
it('When user deselects an option in preview tab, then that option should be displayed as available option with a highlighted background', () => {
|
222
|
+
textSelectionPage.steps.deselectOptionInPreviewTab(paragraphTextArray[0]);
|
223
|
+
textSelectionPage.steps.verifyOptionIsDisplayedToStudentsInPreviewTab(paragraphTextArray[0]);
|
224
|
+
});
|
225
|
+
|
226
|
+
it('Accessibility of options with highlighted background', { tags: 'a11y' }, () => {
|
227
|
+
cy.checkAccessibility(textSelectionPage.questionTextWrapperPreviewTab());
|
228
|
+
});
|
229
|
+
|
230
|
+
it('When \'Show the available options to students\' checkbox is unchecked again, then in preview tab the available options should be not be displayed with a highlighted background', () => {
|
231
|
+
textSelectionPage.steps.switchToEditTab();
|
232
|
+
textSelectionPage.steps.uncheckShowAvailableOptionsToStudentsCheckbox();
|
233
|
+
textSelectionPage.steps.switchToPreviewTab();
|
234
|
+
textSelectionPage.steps.verifyStandardStateOptionInPreviewTab(paragraphTextArray[0]);
|
235
|
+
textSelectionPage.steps.verifyStandardStateOptionInPreviewTab(paragraphTextArray[1]);
|
236
|
+
textSelectionPage.steps.verifyStandardStateOptionInPreviewTab(paragraphTextArray[2]);
|
237
|
+
});
|
238
|
+
});
|
239
|
+
|
240
|
+
describe('Maximum number of possible selections and Show student the maximum number of possible selections: Edit tab', () => {
|
241
|
+
const listOptions = ['No limit', '1', '2', '3'];
|
242
|
+
abortEarlySetup();
|
243
|
+
before(() => {
|
244
|
+
textSelectionPage.steps.navigateToCreateQuestion('text selection');
|
245
|
+
cy.barsPreLoaderWait();
|
246
|
+
textSelectionPage.steps.clearQuestionInputField();
|
247
|
+
paragraphTextArray.forEach((paragraphText) => {
|
248
|
+
textSelectionPage.steps.addInputToQuestionInputField(`${paragraphText}{enter}`);
|
249
|
+
});
|
250
|
+
textSelectionPage.steps.addInputToQuestionInputField('{backspace}');
|
251
|
+
textSelectionPage.steps.switchTextSelectionMode('Paragraph');
|
252
|
+
});
|
253
|
+
|
254
|
+
it('\'Maximum number of possible selections\' label and dropdown should be displayed. By default the \'No limit\' should be the selected option in the \'Maximum number of possible selections\' dropdown', () => {
|
255
|
+
utilities.verifyInnerText(textSelectionPage.maxNumberOfPossibleSelectionsLabel(), 'Maximum number of possible selections');
|
256
|
+
utilities.verifyElementVisibilityState(textSelectionPage.maxNumberOfPossibleSelectionsLabel(), 'visible');
|
257
|
+
utilities.verifyInnerText(textSelectionPage.maxNumberOfPossibleSelectionsDropdown(), 'No limit');
|
258
|
+
});
|
259
|
+
|
260
|
+
it('When no options are selected in specify possible options section, then only No limit option should be displayed in the \'Maximum number of possible selections\' dropdown', () => {
|
261
|
+
textSelectionPage.steps.expandMaxNumberOfPossibleSelectionsDropdown();
|
262
|
+
utilities.verifyElementVisibilityState(textSelectionPage.dropdownList(), 'visible');
|
263
|
+
textSelectionPage.steps.verifyMaxNumberOfPossibleSelectionsDropdownListOptions([listOptions[0]]);
|
264
|
+
textSelectionPage.steps.selectOptionFromMaxNumberOfPossibleSelectionsDropdown('no limit');
|
265
|
+
});
|
266
|
+
|
267
|
+
it('When the user adds new options, the list options in the \'Maximum number of possible selections\' dropdown should also update accordingly', () => {
|
268
|
+
textSelectionPage.steps.clickOnOptionInSpecifyPossibleOptionsSection(paragraphTextArray[0]);
|
269
|
+
textSelectionPage.steps.clickOnOptionInSpecifyPossibleOptionsSection(paragraphTextArray[1]);
|
270
|
+
textSelectionPage.steps.clickOnOptionInSpecifyPossibleOptionsSection(paragraphTextArray[2]);
|
271
|
+
textSelectionPage.steps.expandMaxNumberOfPossibleSelectionsDropdown();
|
272
|
+
utilities.verifyElementVisibilityState(textSelectionPage.dropdownList(), 'visible');
|
273
|
+
textSelectionPage.steps.verifyMaxNumberOfPossibleSelectionsDropdownListOptions(listOptions);
|
274
|
+
textSelectionPage.steps.selectOptionFromMaxNumberOfPossibleSelectionsDropdown('no limit');
|
275
|
+
});
|
276
|
+
|
277
|
+
it('CSS of \'Maximum number of possible selections\' dropdown in active state', { tags: 'css' }, () => {
|
278
|
+
utilities.verifyCSS(textSelectionPage.dropdownListOption().eq(1), {
|
279
|
+
'color': css.color.liText,
|
280
|
+
'font-size': css.fontSize.default,
|
281
|
+
'font-weight': css.fontWeight.regular,
|
282
|
+
'background-color': css.color.liTextSelectedBg
|
283
|
+
});
|
284
|
+
utilities.verifyCSS(textSelectionPage.dropdownListOption().eq(0), {
|
285
|
+
'background-color': css.color.transparent
|
286
|
+
});
|
287
|
+
});
|
288
|
+
|
289
|
+
it('Accessibility of \'Maximum number of possible selections\' dropdown in active state', { tags: 'a11y' }, () => {
|
290
|
+
cy.checkAccessibility(textSelectionPage.dropdownList())
|
291
|
+
});
|
292
|
+
|
293
|
+
it('When the user selects a finite number of options value from the \'Maximum number of possible selections\' dropdown, then the user should only be able to set correct answers in the specify correct answer section according to the selected option', () => {
|
294
|
+
textSelectionPage.steps.expandMaxNumberOfPossibleSelectionsDropdown();
|
295
|
+
textSelectionPage.steps.selectOptionFromMaxNumberOfPossibleSelectionsDropdown('2');
|
296
|
+
textSelectionPage.steps.selectOptionInSpecifyCorrectAnswerSection(paragraphTextArray[0]);
|
297
|
+
textSelectionPage.steps.selectOptionInSpecifyCorrectAnswerSection(paragraphTextArray[1]);
|
298
|
+
});
|
299
|
+
|
300
|
+
it('When user tries to select more number of options than the maximum number of options dropdown, then error message \'Error: maximum # options can be selected.\' should be displayed and user should not be able to select the option', () => {
|
301
|
+
textSelectionPage.steps.clickOnOptionInSpecifyCorrectAnswerSection(paragraphTextArray[2]);
|
302
|
+
textSelectionPage.steps.verifyOptionIsNotSelectedInSpecifyCorrectAnswerSection(paragraphTextArray[2]);
|
303
|
+
utilities.verifyInnerText(textSelectionPage.maximumOptionsCanBeSelectedErrorMessage(), 'Error: maximum 2 options can be selected.');
|
304
|
+
});
|
305
|
+
|
306
|
+
it('\'Show student the maximum number of possible selections\' label and checkbox should be displayed. By default the checkbox should be unchecked', () => {
|
307
|
+
utilities.verifyInnerText(textSelectionPage.showStudentMaximumNumberOfPossibleSelectionsLabel(), 'Show student the maximum number of possible selections');
|
308
|
+
utilities.verifyElementVisibilityState(textSelectionPage.showStudentMaximumNumberOfPossibleSelectionsLabel(), 'visible');
|
309
|
+
utilities.verifyElementVisibilityState(textSelectionPage.showStudentMaximumNumberOfPossibleSelectionsCheckbox(), 'exist');
|
310
|
+
textSelectionPage.steps.verifyShowStudentTheMaxNumberOfSelectionsCheckboxIsUnchecked();
|
311
|
+
});
|
312
|
+
|
313
|
+
it('CSS of \'Show student the maximum number of possible selections\' checkbox and label - unchecked state', { tags: 'css' }, () => {
|
314
|
+
utilities.verifyCSS(textSelectionPage.showStudentMaximumNumberOfPossibleSelectionsLabel(), {
|
315
|
+
'color': css.color.labelText,
|
316
|
+
'font-size': css.fontSize.normal,
|
317
|
+
'font-weight': css.fontWeight.regular
|
318
|
+
});
|
319
|
+
utilities.verifyCSS(textSelectionPage.showStudentMaximumNumberOfPossibleSelectionsCheckbox().parent().find('svg'), {
|
320
|
+
'fill': css.color.uncheckedCheckbox
|
321
|
+
});
|
322
|
+
});
|
323
|
+
|
324
|
+
it('When the user checks the \'Show student the maximum number of possible selections\' checkbox, help text should \'Maximum answers in each dropzone: #\' not be displayed in the specify correct answer section', () => {
|
325
|
+
textSelectionPage.steps.checkShowStudentTheMaxNumberOfSelectionsCheckbox();
|
326
|
+
utilities.verifyElementVisibilityState(textSelectionPage.maximumNumberOfSelectionsHelpText(), 'notExist');
|
327
|
+
});
|
328
|
+
|
329
|
+
it('CSS of \'Show student the maximum number of possible selections\' label and checkbox - checked state', { tags: 'css' }, () => {
|
330
|
+
utilities.verifyCSS(textSelectionPage.showStudentMaximumNumberOfPossibleSelectionsCheckbox().parent().find('svg g g').eq(0), {
|
331
|
+
'fill': css.color.activeButtons
|
332
|
+
});
|
333
|
+
});
|
334
|
+
|
335
|
+
it('Accessibility of \'Show student the maximum number of possible selections\' checkbox - checked state', { tags: 'a11y' }, () => {
|
336
|
+
cy.checkAccessibility(textSelectionPage.showStudentMaximumNumberOfPossibleSelectionsCheckbox().parents('[data-ngie-testid="show-student-the-maximum-number-of-possible-selections-checkbox"]'));
|
337
|
+
});
|
338
|
+
|
339
|
+
it('When the user selects \'No limit\' from the \'Maximum number of possible selections\' dropdown, then the user should be able to set n number of options in a dropzone in the specify correct answer section', () => {
|
340
|
+
textSelectionPage.steps.expandMaxNumberOfPossibleSelectionsDropdown();
|
341
|
+
textSelectionPage.steps.selectOptionFromMaxNumberOfPossibleSelectionsDropdown('no limit');
|
342
|
+
textSelectionPage.steps.selectOptionInSpecifyCorrectAnswerSection(paragraphTextArray[0]);
|
343
|
+
textSelectionPage.steps.selectOptionInSpecifyCorrectAnswerSection(paragraphTextArray[2]);
|
344
|
+
});
|
345
|
+
});
|
346
|
+
|
347
|
+
describe('Maximum number of possible selections and Show student the maximum number of possible selections: Preview tab', () => {
|
348
|
+
abortEarlySetup();
|
349
|
+
before(() => {
|
350
|
+
textSelectionPage.steps.navigateToCreateQuestion('text selection');
|
351
|
+
cy.barsPreLoaderWait();
|
352
|
+
textSelectionPage.steps.clearQuestionInputField();
|
353
|
+
paragraphTextArray.forEach((paragraphText) => {
|
354
|
+
textSelectionPage.steps.addInputToQuestionInputField(`${paragraphText}{enter}`);
|
355
|
+
});
|
356
|
+
textSelectionPage.steps.addInputToQuestionInputField('{backspace}');
|
357
|
+
textSelectionPage.steps.switchTextSelectionMode('Paragraph');
|
358
|
+
textSelectionPage.steps.clickOnOptionInSpecifyPossibleOptionsSection(paragraphTextArray[0]);
|
359
|
+
textSelectionPage.steps.clickOnOptionInSpecifyPossibleOptionsSection(paragraphTextArray[1]);
|
360
|
+
textSelectionPage.steps.clickOnOptionInSpecifyPossibleOptionsSection(paragraphTextArray[2]);
|
361
|
+
});
|
362
|
+
|
363
|
+
it('When the user selects a finite number of options value from the \'Maximum number of possible selections\' dropdown, then the user should only be able to select options in the preview tab according to the selected maximum limit', () => {
|
364
|
+
textSelectionPage.steps.expandMaxNumberOfPossibleSelectionsDropdown();
|
365
|
+
textSelectionPage.steps.selectOptionFromMaxNumberOfPossibleSelectionsDropdown('2');
|
366
|
+
textSelectionPage.steps.switchToPreviewTab();
|
367
|
+
textSelectionPage.steps.selectOptionInPreviewTab(paragraphTextArray[0]);
|
368
|
+
textSelectionPage.steps.selectOptionInPreviewTab(paragraphTextArray[1]);
|
369
|
+
});
|
370
|
+
|
371
|
+
it('When user tries to select more number of options than the maximum limit, then error message \'Maximum n options can be selected.\' should be displayed and extra options should not be selected', () => {
|
372
|
+
textSelectionPage.steps.clickOnOptionInSpecifyCorrectAnswerSection(paragraphTextArray[2]);
|
373
|
+
textSelectionPage.steps.verifyOptionIsNotSelectedInSpecifyCorrectAnswerSection(paragraphTextArray[2]);
|
374
|
+
utilities.verifyInnerText(textSelectionPage.maximumOptionsCanBeSelectedErrorMessagePreviewTab(), 'Maximum 2 options can be selected.');
|
375
|
+
});
|
376
|
+
|
377
|
+
it('CSS of \'Maximum n options can be selected.\' error message', { tags: 'css' }, () => {
|
378
|
+
utilities.verifyCSS(textSelectionPage.maximumOptionsCanBeSelectedErrorMessagePreviewTab(), {
|
379
|
+
'color': css.color.warningMessage,
|
380
|
+
'font-size': css.fontSize.normal,
|
381
|
+
'font-weight': css.fontWeight.regular
|
382
|
+
});
|
383
|
+
utilities.verifyCSS(textSelectionPage.maximumOptionsCanBeSelectedErrorMessageWrapperPreviewTab().find('svg'), {
|
384
|
+
'color': css.color.warningMessage,
|
385
|
+
});
|
386
|
+
utilities.verifyCSS(textSelectionPage.maximumOptionsCanBeSelectedErrorMessageWrapperPreviewTab(), {
|
387
|
+
'border': `1px solid ${css.color.warningContainerBorder}`
|
388
|
+
});
|
389
|
+
utilities.verifyCSS(textSelectionPage.maximumOptionsCanBeSelectedErrorMessageWrapperPreviewTab(), {
|
390
|
+
'background-color': css.color.warningContainerBackground
|
391
|
+
});
|
392
|
+
});
|
393
|
+
|
394
|
+
it('Accessibility of \'Maximum n options can be selected.\' error message', { tags: 'a11y' }, () => {
|
395
|
+
cy.checkAccessibility(textSelectionPage.maximumOptionsCanBeSelectedErrorMessageWrapperPreviewTab());
|
396
|
+
});
|
397
|
+
|
398
|
+
it('When \'Show student the maximum number of possible selections\' checkbox is in unchecked state, no help text should be displayed in the preview tab', () => {
|
399
|
+
utilities.verifyElementVisibilityState(textSelectionPage.maximumNumberOfSelectionsHelpText(), 'notExist');
|
400
|
+
});
|
401
|
+
|
402
|
+
it('When the user checks the \'Show student the maximum number of possible selections\' checkbox, a help text \'Maximum number of possible selections: n\' should be displayed in the preview tab', () => {
|
403
|
+
textSelectionPage.steps.switchToEditTab();
|
404
|
+
textSelectionPage.steps.checkShowStudentTheMaxNumberOfSelectionsCheckbox();
|
405
|
+
textSelectionPage.steps.switchToPreviewTab();
|
406
|
+
utilities.verifyInnerText(textSelectionPage.maximumNumberOfSelectionsHelpText(), 'Maximum number of possible selections: 2');
|
407
|
+
});
|
408
|
+
|
409
|
+
it('CSS of help text \'Maximum number of possible selections: n\'', { tags: 'css' }, () => {
|
410
|
+
utilities.verifyCSS(textSelectionPage.maximumNumberOfSelectionsHelpText(), {
|
411
|
+
'color': css.color.text,
|
412
|
+
'font-size': css.fontSize.default,
|
413
|
+
'font-weight': css.fontWeight.regular
|
414
|
+
});
|
415
|
+
utilities.verifyCSS(textSelectionPage.maximumNumberOfSelectionsHelpText().find('span'), {
|
416
|
+
'color': css.color.text,
|
417
|
+
'font-size': css.fontSize.default,
|
418
|
+
'font-weight': css.fontWeight.bold
|
419
|
+
});
|
420
|
+
});
|
421
|
+
|
422
|
+
it('Accessibility of help text \'Maximum number of possible selections: n\'', { tags: 'a11y' }, () => {
|
423
|
+
cy.checkAccessibility(textSelectionPage.maximumNumberOfSelectionsHelpText());
|
424
|
+
});
|
425
|
+
|
426
|
+
it('When the user selects \'No limit\' from the \'Maximum number of possible selections\' dropdown, then the user should be able to set n number of options in a dropzone in the preview tab', () => {
|
427
|
+
textSelectionPage.steps.switchToEditTab();
|
428
|
+
textSelectionPage.steps.expandMaxNumberOfPossibleSelectionsDropdown();
|
429
|
+
textSelectionPage.steps.selectOptionFromMaxNumberOfPossibleSelectionsDropdown('no limit');
|
430
|
+
textSelectionPage.steps.switchToPreviewTab();
|
431
|
+
textSelectionPage.steps.selectOptionInPreviewTab(paragraphTextArray[0]);
|
432
|
+
textSelectionPage.steps.selectOptionInPreviewTab(paragraphTextArray[1]);
|
433
|
+
textSelectionPage.steps.selectOptionInPreviewTab(paragraphTextArray[2]);
|
434
|
+
});
|
435
|
+
});
|
436
|
+
});
|