itemengine-cypress-automation 1.0.341-IEI-5600-IEI-5708-cfbbc8e.0 → 1.0.341-graphAndCharts-0a4e8d7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -68,6 +68,7 @@ describe('Create Item page -numberLine : Additional settings', () => {
68
68
  cy.barsPreLoaderWait();
69
69
  numberLineLabelPage.steps.addTextInQuestionInstructionsInputField('Plot label on the number line');
70
70
  numberLineLabelPage.steps.navigateToLabelNumberLineTab();
71
+ numberLineLabelPage.steps.addTextInQuestionInstructionsInputField('Plot label on the number line');
71
72
  numberLineLabelPage.steps.enterTextInMultipleLabelInputFields(['Label 1', 'Label 2', 'Label 3']);
72
73
  numberLineLabelPage.steps.clickAndDropLabelOnNumberLineSpecifyCorrectAnswer('Label 1', 'horizontal', range, 0);
73
74
  numberLineLabelPage.steps.verifyPointsPlottedOnNumberLineSpecifyCorrectAnswer(range, [0]);
@@ -29,7 +29,7 @@ describe("Create Review Item", () => {
29
29
  cy.deleteThinkSphereItem('~zzz item name');
30
30
  cy.createThinkSphereItem('~zzz item name');
31
31
  thinkSpherePage.steps.navigateToReviewItemsPage();
32
- });
32
+ })
33
33
 
34
34
  after(() => {
35
35
  cy.deleteThinkSphereItem('~zzz item name');
@@ -151,7 +151,7 @@ describe('Create item : ThinkSphere - Edit tab basics', () => {
151
151
  });
152
152
  });
153
153
 
154
- it('Accessibility of Image Upload Section After upload', { tags: 'a11y' }, () => {
154
+ it.skip('Accessibility of Image Upload Section After upload', { tags: 'a11y' }, () => {
155
155
  cy.checkAccessibility(thinkSpherePage.imageUploadSection(), { timeout: 15000 });
156
156
  });
157
157
  });
@@ -1,8 +1,6 @@
1
1
  import { thinkSpherePage } from '../../../pages/thinkSpherePage';
2
- import { browseItemsPage } from "../../../pages/components/browseItemsPage";
3
2
  import abortEarlySetup from "../../../support/helpers/abortEarly";
4
3
  import utilities from "../../../support/helpers/utilities";
5
- const css = Cypress.env('css');
6
4
 
7
5
  const editedStrategies = [
8
6
  'Edited strategy 1',
@@ -62,15 +60,11 @@ const editedFontSize = 'Normal';
62
60
  describe('Edit Question and edit item', () => {
63
61
  before(() => {
64
62
  cy.loginAs('admin');
65
- cy.deleteThinkSphereItem('~zzz item name test test test');
66
- cy.createThinkSphereItem('~zzz item name test test test', true);
63
+ cy.deleteThinkSphereItem('~zzz item name');
64
+ cy.createThinkSphereItem('~zzz item name');
67
65
  thinkSpherePage.steps.visitThinksphereBrowseItemsPage();
68
66
  });
69
67
 
70
- after(() => {
71
- cy.deleteThinkSphereItem('~zzz item name test test test');
72
- });
73
-
74
68
  describe('Edit question', () => {
75
69
  abortEarlySetup();
76
70
  it('When user edits the question instructions, then the changes should be saved successfully and edited question instruction should get displayed in preview side', () => {
@@ -78,23 +72,66 @@ describe('Edit Question and edit item', () => {
78
72
  thinkSpherePage.steps.clearQuestionInstructionsInputField();
79
73
  thinkSpherePage.steps.addTextInQuestionInstructionsInputField('Edit question instructions');
80
74
  thinkSpherePage.steps.saveAQuestionAndVerifySnackbar();
81
- thinkSpherePage.steps.switchToPreviewTab();
82
- thinkSpherePage.steps.verifyQuestionInstructionPreviewTexWrapperVisibility('Edit question instructions');
75
+ utilities.verifyElementVisibilityState(thinkSpherePage.questionInstructionPreviewTexWrapper(), 'visible');
76
+ utilities.verifyInnerText(thinkSpherePage.questionInstructionPreviewTexWrapper(), 'Edit question instructions');
83
77
  });
84
78
 
85
79
  it('When user edits the question instructions image, then the changes should be saved successfully and edited question instruction image should get displayed in preview side', () => {
86
- thinkSpherePage.steps.switchToEditTab();
87
80
  thinkSpherePage.steps.clickOnEditQuestionIcon();
81
+ cy.wait(1000);
88
82
  thinkSpherePage.steps.uploadFile('uploads/image.png');
89
83
  thinkSpherePage.steps.saveAQuestionAndVerifySnackbar();
90
- thinkSpherePage.steps.switchToPreviewTab();
91
- thinkSpherePage.steps.verifyQuestionInstructionPreviewImageWrapperVisibility();
84
+ utilities.verifyElementVisibilityState(thinkSpherePage.questionInstructionPreviewImageWrapper(), 'visible');
85
+ utilities.verifyElementVisibilityState(thinkSpherePage.questionInstructionPreviewImageExpandButton(), 'visible');
92
86
  });
93
87
 
94
- thinkSpherePage.tests.verifyStrategiesAndSentenceStartersSection({editedStrategies, editedSentenceStarters, selectStrategies, selectSentenceStarters});
88
+ it('When user edits the strategies and sentence starers, then the changes should be saved successfully and edited strategies and sentence starers should get displayed in preview side', () => {
89
+ thinkSpherePage.steps.clickOnEditQuestionIcon();
90
+ editedStrategies.forEach((strategy, index) => {
91
+ thinkSpherePage.steps.addOptionText('strategy', index, strategy);
92
+ });
93
+ cy.wait(2000);
94
+ editedSentenceStarters.forEach((sentenceStarter, index) => {
95
+ thinkSpherePage.steps.addOptionText('sentenceStarter', index, sentenceStarter);
96
+ });
97
+ cy.wait(2000);
98
+ thinkSpherePage.steps.saveAQuestionAndVerifySnackbar();
99
+ editedStrategies.forEach((label, index) => {
100
+ utilities.verifyInnerText(utilities.getNthElement(thinkSpherePage.strategyTextWrapper(), index), label);
101
+ });
102
+ thinkSpherePage.steps.expandChooseStarterDropdown();
103
+ editedSentenceStarters.forEach((label, index) => {
104
+ utilities.verifyInnerText(utilities.getNthElement(thinkSpherePage.chooseStartersListOptionLabels(), index), label);
105
+ });
106
+ utilities.clickOnBody();
107
+ });
108
+
109
+ it('When user select unselect the strategies and sentence starers, then the changes should be saved successfully and selected strategies and sentence starers should get displayed in preview side', () => {
110
+ thinkSpherePage.steps.clickOnEditQuestionIcon();
111
+ editedStrategies.forEach((strategy, index) => {
112
+ if(!selectStrategies.includes(strategy)){
113
+ thinkSpherePage.steps.selectOption('strategy', index);
114
+ }
115
+ });
116
+ cy.wait(2000);
117
+ editedSentenceStarters.forEach((sentenceStarter, index) => {
118
+ if(!selectSentenceStarters.includes(sentenceStarter)){
119
+ thinkSpherePage.steps.selectOption('sentenceStarter', index);
120
+ }
121
+ });
122
+ cy.wait(2000);
123
+ thinkSpherePage.steps.saveAQuestionAndVerifySnackbar();
124
+ selectStrategies.forEach((label, index) => {
125
+ utilities.verifyInnerText(utilities.getNthElement(thinkSpherePage.strategyTextWrapper(), index), label);
126
+ });
127
+ thinkSpherePage.steps.expandChooseStarterDropdown();
128
+ selectSentenceStarters.forEach((label, index) => {
129
+ utilities.verifyInnerText(utilities.getNthElement(thinkSpherePage.chooseStartersListOptionLabels(), index), label);
130
+ });
131
+ utilities.clickOnBody();
132
+ });
95
133
 
96
134
  it('When user updates the solve phase toolbar options and controls, then it should get updated successfully', () => {
97
- thinkSpherePage.steps.switchToEditTab();
98
135
  thinkSpherePage.steps.clickOnEditQuestionIcon();
99
136
  thinkSpherePage.steps.expandCustomizeToolsAndControls();
100
137
  thinkSpherePage.steps.selectTools(newSelectedToolbarOptions, 0);
@@ -114,9 +151,9 @@ describe('Edit Question and edit item', () => {
114
151
  thinkSpherePage.steps.clickOnImageRadioButton();
115
152
  thinkSpherePage.steps.uploadWhiteBoardImage('uploads/highlightImage.jpg');
116
153
  thinkSpherePage.steps.addInputToOpacityInputField(whiteBoardImageOpacity);
117
- thinkSpherePage.steps.addImageAlternativeTextInputFieldText(alternateTextForImage);
154
+ thinkSpherePage.imageAlternativeTextInputField().type(alternateTextForImage);
155
+ cy.wait(2000);
118
156
  thinkSpherePage.steps.saveAQuestionAndVerifySnackbar();
119
- thinkSpherePage.steps.switchToPreviewTab();
120
157
  });
121
158
 
122
159
  it('When user updates solve phase data, then updated solve phase data should reflect to user when revisit to edit the question', () => {
@@ -143,134 +180,6 @@ describe('Edit Question and edit item', () => {
143
180
  thinkSpherePage.steps.clickOnEditThinkSphereItem();
144
181
  thinkSpherePage.steps.expandAdditionalSettings();
145
182
  utilities.verifyInnerText(thinkSpherePage.fontSizeDropdown(), editedFontSize);
146
- thinkSpherePage.steps.saveAQuestionAndVerifySnackbar();
147
- });
148
- });
149
-
150
- describe('Edit review question', () => {
151
- abortEarlySetup();
152
- before(() => {
153
- browseItemsPage.steps.clickOnAddReviewItem();
154
- thinkSpherePage.steps.createReviewQuestion();
155
- thinkSpherePage.steps.switchToPreviewTab();
156
- thinkSpherePage.steps.clickOnReviewTab();
157
- });
158
-
159
- it('\'Question instruction\' section should be present', () => {
160
- thinkSpherePage.steps.verifyQuestionInstructionPreviewTexWrapperVisibility('Edit question instructions');
161
- });
162
-
163
- it('CSS of \'Question instruction\' section', { tags: 'css' }, () => {
164
- utilities.verifyCSS(thinkSpherePage.questionInstructionPreviewTexWrapper(), {
165
- 'border-radius': '12px',
166
- 'background-color': css.color.questionInstructionBG,
167
- 'padding': '10px 170px 10px 27px',
168
- 'font-size': css.fontSize.heading,
169
- 'font-weight': css.fontWeight.regular,
170
- });
171
- });
172
-
173
- it('Question instruction image should visibile in the preview', () => {
174
- thinkSpherePage.steps.verifyQuestionInstructionPreviewImageWrapperVisibility();
175
- });
176
-
177
- it('CSS of question instruction image section', { tags: 'css' }, () => {
178
- utilities.verifyCSS(thinkSpherePage.questionInstructionPreviewImageWrapper(), {
179
- 'width': '143px',
180
- 'height': '110px',
181
- 'border': `1px solid ${css.color.secondaryBtnBorder}`,
182
- 'background-color': css.color.primaryBtn,
183
- });
184
- utilities.verifyCSS(thinkSpherePage.questionInstructionPreviewImageExpandButton(), {
185
- 'width': '24px',
186
- 'height': '24px',
187
- 'box-shadow': `${css.color.boxShadow} 0px 2px 8px 0px`,
188
- 'border': `1px solid ${css.color.figDefaultComponentBorder}`,
189
- 'border-radius': '4px',
190
- 'background-color': css.color.primaryBtn,
191
- });
192
- });
193
-
194
- it('When user clicks on expand question instruction image then it should open in the popup', () => {
195
- thinkSpherePage.steps.clickOnQuestionInstructionExpandImageButton();
196
- utilities.verifyElementVisibilityState(thinkSpherePage.dialogBoxRoot(), 'visible');
197
- thinkSpherePage.steps.verifyQuestionImagePopup();
198
- });
199
-
200
- it('CSS of question instruction image popup', { tags: 'css' }, () => {
201
- utilities.verifyCSS(thinkSpherePage.dialogBoxRoot(), {
202
- 'border-radius': '8px',
203
- 'border': `1px solid ${css.color.secondaryBtnBorder}`,
204
- 'box-shadow': `${css.color.dialogBoxBoxShadow} 0px 0px 10px 0px`,
205
- });
206
- utilities.verifyCSS(thinkSpherePage.closeExpandImagePopupButton(), {
207
- 'background-color': css.color.primaryBtn,
208
- 'font-size': css.fontSize.normal,
209
- 'font-weight': css.fontWeight.semibold,
210
- 'border': `1px solid ${css.color.secondaryBtnBorder}`,
211
- 'color': css.color.primaryBtnBorder,
212
- });
213
- });
214
-
215
- it('When user clicks on close expand image popup button then it should remove the popup', () => {
216
- thinkSpherePage.steps.clickOnCloseExpandImagePopupButton();
217
- utilities.verifyElementVisibilityState(thinkSpherePage.dialogBoxRoot(), 'notExist');
218
- });
219
-
220
- it('\'Check your math\' section header should be present', () => {
221
- utilities.verifyElementVisibilityState(thinkSpherePage.checkYourMathHeading(), 'visible');
222
- utilities.verifyInnerText(thinkSpherePage.checkYourMathHeading(), 'Check your math');
223
- });
224
-
225
- it('CSS of \'Check your math\' section header', { tags: 'css' }, () => {
226
- utilities.verifyCSS(thinkSpherePage.checkYourMathHeading(), {
227
- 'color': css.color.primaryBtnBorder,
228
- 'font-size': css.fontSize.heading,
229
- 'font-weight': css.fontWeight.semibold,
230
- });
231
- });
232
-
233
- it('\'The problem is asking me to\' section header should be present', () => {
234
- utilities.verifyElementVisibilityState(thinkSpherePage.problemAskingToMeTextWrapper(), 'visible');
235
- utilities.verifyInnerText(thinkSpherePage.problemAskingToMeTextWrapper(), 'The problem is asking me to...');
236
- });
237
-
238
- it('Review question should be present', () => {
239
- utilities.verifyElementVisibilityState(thinkSpherePage.reviewQuestionWrapper(), 'visible');
240
- });
241
-
242
- it('CSS of \'The problem is asking me to\' section', { tags: 'css' }, () => {
243
- utilities.verifyCSS(thinkSpherePage.problemAskingToMeTextWrapper(), {
244
- 'color': css.color.primaryBtnBorder,
245
- 'font-size': css.fontSize.normal,
246
- 'font-weight': css.fontWeight.bold,
247
- });
248
- utilities.verifyCSS(thinkSpherePage.reviewComponentWrapper(), {
249
- 'border': `1px solid ${css.color.secondaryBtnBorder}`,
250
- 'border-radius': '12px'
251
- });
252
- });
253
-
254
- it('When User type in the \'The problem is asking me to\' in the plan tab, then it should render in the \'The problem is asking me to\' in the review tab', () => {
255
- thinkSpherePage.steps.clickOnPlanTab();
256
- thinkSpherePage.steps.verifyProblemAskingTextAreaFunctionality('This is a test text for the problem.');
257
- thinkSpherePage.steps.clickOnReviewTab();
258
- utilities.verifyElementVisibilityState(thinkSpherePage.problemStatementWrapper(), 'visible');
259
- utilities.verifyInnerText(thinkSpherePage.problemStatementWrapper(), 'This is a test text for the problem.');
260
- });
261
-
262
- it('CSS of \'The problem is asking me to\' section statement', { tags: 'css' }, () => {
263
- utilities.verifyCSS(thinkSpherePage.problemStatementWrapper(), {
264
- 'color': css.color.text,
265
- 'font-size': css.fontSize.default,
266
- 'font-weight': css.fontWeight.regular,
267
- });
268
- });
269
-
270
- it('When switch to grading view then it should show the correct answer for review question', () => {
271
- thinkSpherePage.steps.switchToGradingView();
272
- thinkSpherePage.steps.verifyCorrectAnswerLabel();
273
- thinkSpherePage.steps.switchToStudentView();
274
183
  });
275
184
  });
276
185
  });
@@ -265,8 +265,6 @@ describe('Create question page - Essay Response: Edit category', () => {
265
265
  utilities.verifyElementVisibilityState(editCategoryFlyout.dialogBox(), 'notExist');
266
266
  editCategoryFlyout.steps.openEditCategoryFlyout();
267
267
  utilities.verifyElementDisabled(editCategoryFlyout.buttonReset());
268
- editCategoryFlyout.steps.verifyCategoryCharacterNotSelected(`${equationEditorCategoriesAndSymbols.general.symbols.dollar.ariaLabel}`)
269
- });
270
268
  });
271
269
 
272
270
  describe('Save a edited category', () => {
@@ -18,28 +18,6 @@ const sentenceStartersTextDefault = [
18
18
  'I will check my work by',
19
19
  'If my strategy is not working, I will'
20
20
  ];
21
- const preAuthoredStrategyVideos = [
22
- {
23
- displayName: 'Create_a_model',
24
- duration: '00:24',
25
- },
26
- {
27
- displayName: 'Look_for_a_pattern',
28
- duration: '00:18',
29
- },
30
- {
31
- displayName: 'Guess_check_and_revise',
32
- duration: '00:17',
33
- },
34
- {
35
- displayName: 'Try_with_friendlier_numbers',
36
- duration: '00:26',
37
- },
38
- {
39
- displayName: 'Show_with_an_equation',
40
- duration: '00:22',
41
- }
42
- ];
43
21
  describe('Create item : ThinkSphere Question - Plan Phases Section',() => {
44
22
  before(() => {
45
23
  cy.loginAs('admin');
@@ -77,37 +55,19 @@ describe('Create item : ThinkSphere Question - Plan Phases Section',() => {
77
55
  });
78
56
  });
79
57
 
80
- describe('\'Plan Phase\' Section Strategies list component - Pre-authored Videos', () => {
81
- abortEarlySetup();
82
- it('Strategies list options should have Pre-authored Videos', () => {
83
- thinkSpherePage.steps.verifyPreAuthoredVideoTitles(preAuthoredStrategyVideos.map(video => video.displayName));
84
- })
85
- it('When the user clicks on the video, the respective video should play', () => {
86
- thinkSpherePage.steps.verifyPreAuthoredVideos(preAuthoredStrategyVideos);
87
- });
88
- });
89
-
90
58
  describe('\'Plan Phase\' Video Preview Component', () => {
91
59
  const playbackSpeedOptions = ['1x', '1.25x', '1.5x', '2x'];
92
60
  const playbackSpeedMultiplier = [1, 1.25, 1.5, 2];
93
- before(()=>{
94
- thinkSpherePage.steps.addOption('strategy');
95
- thinkSpherePage.steps.addOptionText('strategy', 5, "Custom strategy");
96
- })
97
-
98
- after(() => {
99
- thinkSpherePage.steps.deleteOption(5);
100
- })
101
61
 
102
62
  it('When the video is uploaded it should display the video and its buttons correctly', () => {
103
- thinkSpherePage.videoLinkComponent(5)
63
+ thinkSpherePage.videoLinkComponent()
104
64
  .within(() => {
105
65
  thinkSpherePage.uploadVideoLinkButton()
106
66
  .click();
107
67
  });
108
68
  thinkSpherePage.steps.uploadVideoFile('uploads/sample.mp4');
109
69
  cy.wait(10000);
110
- thinkSpherePage.videoLinkComponent(5)
70
+ thinkSpherePage.videoLinkComponent()
111
71
  .within(() => {
112
72
  thinkSpherePage.uploadVideoLinkButton()
113
73
  .click();
@@ -191,7 +151,7 @@ describe('Create item : ThinkSphere Question - Plan Phases Section',() => {
191
151
 
192
152
  it('When video player is in paused state and user clicks on \'Play\' button, then playback should get resumed and \'Play\' button should get replaced with \'Pause\' button.', () => {
193
153
  thinkSpherePage.videoPopupCloseButton().click();
194
- thinkSpherePage.videoLinkComponent(5)
154
+ thinkSpherePage.videoLinkComponent()
195
155
  .within(() => {
196
156
  thinkSpherePage.uploadVideoLinkButton()
197
157
  .click();
@@ -336,7 +296,7 @@ describe('Create item : ThinkSphere Question - Plan Phases Section',() => {
336
296
 
337
297
  it('When the user hovers over the playback speed button, a tooltip \'Playback speed\' should be displayed and on hovering away from the button, the tooltip should disappear', () => {
338
298
  thinkSpherePage.videoPopupCloseButton().click();
339
- thinkSpherePage.videoLinkComponent(5)
299
+ thinkSpherePage.videoLinkComponent()
340
300
  .within(() => {
341
301
  thinkSpherePage.uploadVideoLinkButton()
342
302
  .click();
@@ -536,7 +496,7 @@ describe('Create item : ThinkSphere Question - Plan Phases Section',() => {
536
496
 
537
497
  thinkSpherePage.tests.verifyResetToDefaultFunctionality(strategiesTextDefault, 'strategy');
538
498
 
539
- thinkSpherePage.tests.verifyVideoLinkComponent(5);
499
+ thinkSpherePage.tests.verifyVideoLinkComponent();
540
500
 
541
501
  it('Accessibility of \'Plan Phase\' Section Strategies list component', { tags: 'a11y' }, () => {
542
502
  cy.checkAccessibility(thinkSpherePage.planStrategySection());
@@ -24,14 +24,11 @@ describe('Preview question : ThinkSphere Question - Plan Section - preview tab',
24
24
  thinkSpherePage.steps.switchToPreviewTab();
25
25
  });
26
26
 
27
- after(() => {
28
- cy.deleteThinkSphereItem('~zzz item name');
29
- });
30
-
31
27
  describe('\'Question instruction\' section', () => {
32
28
  abortEarlySetup();
33
29
  it('\'Question instruction\' section should be present', () => {
34
- thinkSpherePage.steps.verifyQuestionInstructionPreviewTexWrapperVisibility('question instruction text');
30
+ utilities.verifyElementVisibilityState(thinkSpherePage.questionInstructionPreviewTexWrapper(), 'visible');
31
+ utilities.verifyInnerText(thinkSpherePage.questionInstructionPreviewTexWrapper(), 'question instruction text');
35
32
  });
36
33
 
37
34
  it('CSS of \'Question instruction\' section', { tags: 'css' }, () => {
@@ -49,7 +46,8 @@ describe('Preview question : ThinkSphere Question - Plan Section - preview tab',
49
46
  cy.wait(1000);
50
47
  thinkSpherePage.steps.uploadFile('uploads/image.png');
51
48
  thinkSpherePage.steps.switchToPreviewTab();
52
- thinkSpherePage.steps.verifyQuestionInstructionPreviewImageWrapperVisibility();
49
+ utilities.verifyElementVisibilityState(thinkSpherePage.questionInstructionPreviewImageWrapper(), 'visible');
50
+ utilities.verifyElementVisibilityState(thinkSpherePage.questionInstructionPreviewImageExpandButton(), 'visible');
53
51
  });
54
52
 
55
53
  it('CSS of question instruction image section', { tags: 'css' }, () => {
@@ -281,7 +279,7 @@ describe('Preview question : ThinkSphere Question - Plan Section - preview tab',
281
279
 
282
280
  it('\'Planning journal\' section heading should be present', () => {
283
281
  utilities.verifyElementVisibilityState(thinkSpherePage.planningPreviewHeading(), 'visible');
284
- utilities.verifyInnerText(thinkSpherePage.planningPreviewHeading(), 'Planning journal');
282
+ utilities.verifyInnerText(thinkSpherePage.planningPreviewHeading(), 'Planing journal');
285
283
  });
286
284
 
287
285
  it('\'Sentence starters\' label and dropdown should be displayed', () => {
@@ -475,12 +473,14 @@ describe('Preview question : ThinkSphere Question - Plan Section - preview tab',
475
473
  });
476
474
  });
477
475
 
478
- it('CSS of strategy chip when it is selected and CSS of planning journal section', { tags: 'css' }, () => {
476
+ it('CSS of strategy chip when it is selected', { tags: 'css' }, () => {
479
477
  utilities.verifyCSS(thinkSpherePage.strategyChip(), {
480
478
  'background-color': css.color.secondaryBtnBorder,
481
479
  'border': `1px solid ${css.color.primaryBtnBg}`,
482
480
  });
481
+ });
483
482
 
483
+ it('CSS of planning journal section', { tags: 'css' }, () => {
484
484
  utilities.verifyCSS(thinkSpherePage.planningPreviewHeading(), {
485
485
  'color': css.color.primaryBtnBorder,
486
486
  'font-size': css.fontSize.heading,
@@ -7,7 +7,7 @@ const canvasTools = [
7
7
  'Text', 'Pen', 'Highlighter', 'Image', 'Shapes',
8
8
  'Stamps', 'Unifix Cube', 'Diagrams', 'Array',
9
9
  'Number line', 'Fraction bars', 'Protractor', 'Table', 'Grids',
10
- 'Equation editor', 'Algebra tiles', 'Point eraser', 'Item eraser'
10
+ 'Equation editor', 'Algebra tiles'
11
11
  ];
12
12
  const defaultSelectedCanvasTools = ['Text', 'Pen', 'Highlighter', 'Image', 'Shapes', 'Stamps'];
13
13
  const canvasControls = ['Move', 'Delete', 'Undo', 'Redo', 'Clear all'];
@@ -264,8 +264,8 @@ describe('ThinkSphere Question - Solve Phases Section', () => {
264
264
  });
265
265
 
266
266
  it('The edit button should not be displayed for the keypad category button.', () => {
267
- utilities.verifyElementVisibilityState(thinkSpherePage.equationEditorSectionCategories().contains(`${equationEditorCategoriesAndSymbols['keyPad'].displayName}`).find(thinkSpherePage.equationEditorSectionCategoriesEditIcon()), 'notExist');
268
- });
267
+ utilities.verifyElementVisibilityState(thinkSpherePage.equationEditorSectionCategories().contains(`${equationEditorCategoriesAndSymbols['keyPad'].displayName}`).find(thinkSpherePage.equationEditorSectionCategoriesEditIcon()), 'visible');
268
+ })
269
269
 
270
270
  it('User should be able to unselect default selected category and should be able to select default unselected category.', () => {
271
271
  thinkSpherePage.equationEditorSectionCategories().contains(`${equationEditorCategoriesAndSymbols['keyPad'].displayName}`).click();
@@ -32,7 +32,7 @@ const steps = {
32
32
 
33
33
  const tests = {
34
34
  verifyDefaultToolDropdown:(toolOptionsArray, defaultTool)=>{
35
- const defaultSelectedTool = defaultTool || toolOptionsArray[1];
35
+ const defaultSelectedTool = defaultTool || toolOptionsArray[0];
36
36
  it(`\'Default tool\' label and dropdown should be displayed with \'${defaultSelectedTool}\' option selected by default`, () => {
37
37
  utilities.verifyInnerText(defaultToolDropdown.defaultToolDropdownLabel(), 'Default tool');
38
38
  utilities.verifyInnerText(defaultToolDropdown.defaultToolDropdown(), defaultSelectedTool);