itemengine-cypress-automation 1.0.216 → 1.0.218-numberLineFixes-382e88a.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (47) hide show
  1. package/cypress/e2e/ILC/ListOrderingNew/HorizontalOrientation/previewContentsForAllViews.smoke.js +2 -1
  2. package/cypress/e2e/ILC/NumberLine/Scoring/allOrNothingWithAlternatePointsGreaterThanCorrectPoints.js +61 -60
  3. package/cypress/e2e/ILC/NumberLine/Scoring/allOrNothingWithCorrectPointsEqualToAlternatePoints.js +56 -56
  4. package/cypress/e2e/ILC/NumberLine/Scoring/allOrNothingWithCorrectPointsGreaterThanAlternativePoints.js +57 -57
  5. package/cypress/e2e/ILC/NumberLine/Scoring/manualAndNonScoredScoring.js +43 -41
  6. package/cypress/e2e/ILC/NumberLine/Scoring/partialEqualWeightsBasic.js +71 -66
  7. package/cypress/e2e/ILC/NumberLine/Scoring/partialEqualWeightsWithAlternatePointsGreaterThanCorrectPoints.js +86 -77
  8. package/cypress/e2e/ILC/NumberLine/Scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternatePoints.js +89 -81
  9. package/cypress/e2e/ILC/NumberLine/Scoring/partialEqualWeigtsWithCorrectPointsEqualToAlternatePoints.js +66 -58
  10. package/cypress/e2e/ILC/NumberLine/allOrNothingScoringForAllViews.smoke.js +158 -153
  11. package/cypress/e2e/ILC/NumberLine/checkAnswerFunctionalityForAllViews.js +5 -5
  12. package/cypress/e2e/ILC/NumberLine/editTabScoringSection.js +3 -3
  13. package/cypress/e2e/ILC/NumberLine/gradingViewAndCorrectAnswerView.smoke.js +8 -8
  14. package/cypress/e2e/ILC/NumberLine/previewTabContentsForAllViews.smoke.js +40 -40
  15. package/cypress/e2e/ILC/NumberLine/toolsAndControls.js +10 -10
  16. package/cypress/e2e/ILC/NumberLine/verticalNumberLine/allOrNothingScoringForAllViews.smoke.js +56 -56
  17. package/cypress/e2e/ILC/NumberLine/verticalNumberLine/gradingViewAndCorrectAnswerView.smoke.js +10 -10
  18. package/cypress/e2e/ILC/NumberLine/verticalNumberLine/layoutSection.js +20 -20
  19. package/cypress/e2e/ILC/NumberLine/verticalNumberLine/numberLineSection.js +8 -8
  20. package/cypress/e2e/ILC/NumberLine/verticalNumberLine/previewTabContentsForAllViews.smoke.js +31 -31
  21. package/cypress/e2e/ILC/NumberLineLabel/Scoring/allOrNothingAlternativePointsGreaterThanCorrectPoints.js +2 -2
  22. package/cypress/e2e/ILC/NumberLineLabel/Scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +2 -2
  23. package/cypress/e2e/ILC/NumberLineLabel/Scoring/allOrNothingCorrectPointsGreaterThanAlternativePoints.js +2 -2
  24. package/cypress/e2e/ILC/NumberLineLabel/Scoring/manualAndNonScoredScoring.js +1 -1
  25. package/cypress/e2e/ILC/NumberLineLabel/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +3 -2
  26. package/cypress/e2e/ILC/NumberLineLabel/Scoring/partialDifferentWeightsBasic.js +1 -1
  27. package/cypress/e2e/ILC/NumberLineLabel/Scoring/partialDifferentWeightsCorrectPointsEqualToAlternativePoints.js +2 -1
  28. package/cypress/e2e/ILC/NumberLineLabel/Scoring/partialDifferentWeightsCorrectPointsGreaterThanAlternativePoints.js +3 -1
  29. package/cypress/e2e/ILC/NumberLineLabel/Scoring/partialEqualWeightsAlternativePointsGreaterThanCorrectPoints.js +2 -2
  30. package/cypress/e2e/ILC/NumberLineLabel/Scoring/partialEqualWeightsBasic.js +1 -1
  31. package/cypress/e2e/ILC/NumberLineLabel/Scoring/partialEqualWeightsCorrectPointsEqualToAlternativePoints.js +1 -1
  32. package/cypress/e2e/ILC/NumberLineLabel/Scoring/partialEqualWeightsCorrectPointsGreaterThanAlternativePoints.js +2 -2
  33. package/cypress/e2e/ILC/NumberLineLabel/allOrNothingForAllViews.smoke.js +1 -1
  34. package/cypress/e2e/ILC/NumberLineLabel/gradingViewAndCorrectAnswerView.smoke.js +1 -1
  35. package/cypress/e2e/ILC/NumberLineLabel/previewContentsForAllViews.smoke.js +1 -1
  36. package/cypress/e2e/ILC/NumberLineLabel/verticalNumberLine/allOrNothingForAllViews.smoke.js +6 -6
  37. package/cypress/e2e/ILC/NumberLineLabel/verticalNumberLine/gradingViewAndCorrectAnswerView.smoke.js +8 -8
  38. package/cypress/e2e/ILC/NumberLineLabel/verticalNumberLine/layoutSection.js +3 -3
  39. package/cypress/e2e/ILC/NumberLineLabel/verticalNumberLine/numberLineSection.js +5 -5
  40. package/cypress/e2e/ILC/NumberLineLabel/verticalNumberLine/previewContentsForAllViews.smoke.js +2 -2
  41. package/cypress/e2e/ILC/TextEntryMath/allOrNothingBasicForAllViews.smoke.js +1 -0
  42. package/cypress/pages/components/layoutSectionComponent.js +65 -53
  43. package/cypress/pages/components/numberLineCommonComponent.js +76 -52
  44. package/cypress/pages/listOrderingPage.js +13 -0
  45. package/cypress/pages/numberLineLabelPage.js +25 -21
  46. package/cypress/pages/numberLinePage.js +64 -59
  47. package/package.json +2 -2
@@ -1,7 +1,7 @@
1
1
  import utilities from "../../support/helpers/utilities";
2
2
  import { dialogBoxBase } from "../dialogBoxBase";
3
3
  const css = Cypress.env('css');
4
- const orientationToggleButton = ['Horizontal', 'Vertical'];
4
+ const orientationToggleButton = ['Sideways', 'Upright'];
5
5
  const lineSettingsOptions = ['Whole numbers', 'Decimals', 'Fractions', 'Mixed fractions'];
6
6
 
7
7
  const selectors = {
@@ -30,18 +30,18 @@ const selectors = {
30
30
  makeResponsiveCheckboxIcon: () => cy.get('.mobile-responsive-wrapper .MuiSwitch-thumb'),
31
31
  whatIsThisLabel: () => cy.get('.what-is-wrapper [class*="StyledLink"]'),
32
32
  makeResponsiveHelpText: () => cy.get('[class*="WhatIsThisDescriptionWrapper"]'),
33
- showMinArrowLabel: () => cy.get('[data-ngie-testid="show-min-arrow-checkbox"] .MuiFormControlLabel-label'),
34
- showMinArrowCheckbox: () => cy.get('[data-ngie-testid="show-min-arrow-checkbox"] input'),
35
- showMaxArrowLabel: () => cy.get('[data-ngie-testid="show-max-arrow-checkbox"] .MuiFormControlLabel-label'),
36
- showMaxArrowCheckbox: () => cy.get('[data-ngie-testid="show-max-arrow-checkbox"] input'),
37
- stackResponsesLabel: () => cy.get('[data-ngie-testid="stack-responses-checkbox"] .MuiFormControlLabel-label'),
38
- stackResponsesCheckbox: () => cy.get('[data-ngie-testid="stack-responses-checkbox"] input'),
33
+ showMinArrowLabel: () => cy.get('[data-ngie-testid="display-minimum-arrow-checkbox"] .MuiFormControlLabel-label'),
34
+ showMinArrowCheckbox: () => cy.get('[data-ngie-testid="display-minimum-arrow-checkbox"] input'),
35
+ showMaxArrowLabel: () => cy.get('[data-ngie-testid="display-maximum-arrow-checkbox"] .MuiFormControlLabel-label'),
36
+ showMaxArrowCheckbox: () => cy.get('[data-ngie-testid="display-maximum-arrow-checkbox"] input'),
37
+ stackResponsesLabel: () => cy.get('[data-ngie-testid="stack-segment/ray-checkbox"] .MuiFormControlLabel-label'),
38
+ stackResponsesCheckbox: () => cy.get('[data-ngie-testid="stack-segment/ray-checkbox"] input'),
39
39
  staggerResponseLabel: () => cy.get('[data-ngie-testid="stagger-response-checkbox"] .MuiFormControlLabel-label'),
40
40
  staggerResponseCheckbox: () => cy.get('[data-ngie-testid="stagger-response-checkbox"] input'),
41
- showLabelsLabel: () => cy.get('[data-ngie-testid="show-labels-checkbox"] .MuiFormControlLabel-label'),
42
- showLabelsCheckbox: () => cy.get('[data-ngie-testid="show-labels-checkbox"] input'),
43
- showTicksLabel: () => cy.get('[data-ngie-testid="show-ticks-checkbox"] .MuiFormControlLabel-label'),
44
- showTicksCheckbox: () => cy.get('[data-ngie-testid="show-ticks-checkbox"] input'),
41
+ showLabelsLabel: () => cy.get('[data-ngie-testid="display-values-checkbox"] .MuiFormControlLabel-label'),
42
+ showLabelsCheckbox: () => cy.get('[data-ngie-testid="display-values-checkbox"] input'),
43
+ showTicksLabel: () => cy.get('[data-ngie-testid="display-nodes-checkbox"] .MuiFormControlLabel-label'),
44
+ showTicksCheckbox: () => cy.get('[data-ngie-testid="display-nodes-checkbox"] input'),
45
45
  showMinLabel: () => cy.get('[data-ngie-testid="show-min-checkbox"] .MuiFormControlLabel-label'),
46
46
  showMinCheckbox: () => cy.get('[data-ngie-testid="show-min-checkbox"] input'),
47
47
  showMaxLabel: () => cy.get('[data-ngie-testid="show-max-checkbox"] .MuiFormControlLabel-label'),
@@ -221,19 +221,19 @@ const steps = {
221
221
 
222
222
  /**
223
223
  * @description Verify that the specified checkbox is checked.
224
- * @param {('Stagger response'|'Show labels'|'Show ticks'|'Show min'|'Show max'|'Limit number of responses'|'Show min arrow'|'Show max arrow'|'Stack responses')} checkboxName - The name of the checkbox to verify.
224
+ * @param {('Stagger response'|'Display values'|'Display nodes'|'Show min'|'Show max'|'Limit number of responses'|'Display minimum arrow'|'Display maximum arrow'|'Stack segment/ray')} checkboxName - The name of the checkbox to verify.
225
225
  */
226
226
  verifyCheckboxChecked: (checkboxName) => {
227
227
  switch (checkboxName) {
228
- case 'Show min arrow':
228
+ case 'Display minimum arrow':
229
229
  layoutSectionComponent.showMinArrowCheckbox()
230
230
  .should('be.checked');
231
231
  break;
232
- case 'Show max arrow':
232
+ case 'Display maximum arrow':
233
233
  layoutSectionComponent.showMaxArrowCheckbox()
234
234
  .should('be.checked');
235
235
  break;
236
- case 'Stack responses':
236
+ case 'Stack segment/ray':
237
237
  layoutSectionComponent.stackResponsesCheckbox()
238
238
  .should('be.checked');
239
239
  break;
@@ -241,11 +241,11 @@ const steps = {
241
241
  layoutSectionComponent.staggerResponseCheckbox()
242
242
  .should('be.checked');
243
243
  break;
244
- case 'Show labels':
244
+ case 'Display values':
245
245
  layoutSectionComponent.showLabelsCheckbox()
246
246
  .should('be.checked');
247
247
  break;
248
- case 'Show ticks':
248
+ case 'Display nodes':
249
249
  layoutSectionComponent.showTicksCheckbox()
250
250
  .should('be.checked');
251
251
  break;
@@ -268,19 +268,19 @@ const steps = {
268
268
 
269
269
  /**
270
270
  * @description Verify that the specified checkbox is unchecked.
271
- * @param {('Stagger response'|'Show labels'|'Show ticks'|'Show min'|'Show max'|'Limit number of responses'|'Show min arrow'|'Show max arrow'|'Stack responses')} checkboxName - The name of the checkbox to verify.
271
+ * @param {('Stagger response'|'Display values'|'Display nodes'|'Show min'|'Show max'|'Limit number of responses'|'Display minimum arrow'|'Display maximum arrow'|'Stack segment/ray')} checkboxName - The name of the checkbox to verify.
272
272
  */
273
273
  verifyCheckboxUnchecked: (checkboxName) => {
274
274
  switch (checkboxName) {
275
- case 'Show min arrow':
275
+ case 'Display minimum arrow':
276
276
  layoutSectionComponent.showMinArrowCheckbox()
277
277
  .should('not.be.checked');
278
278
  break;
279
- case 'Show max arrow':
279
+ case 'Display maximum arrow':
280
280
  layoutSectionComponent.showMaxArrowCheckbox()
281
281
  .should('not.be.checked');
282
282
  break;
283
- case 'Stack responses':
283
+ case 'Stack segment/ray':
284
284
  layoutSectionComponent.stackResponsesCheckbox()
285
285
  .should('not.be.checked');
286
286
  break;
@@ -288,11 +288,11 @@ const steps = {
288
288
  layoutSectionComponent.staggerResponseCheckbox()
289
289
  .should('not.be.checked');
290
290
  break;
291
- case 'Show labels':
291
+ case 'Display values':
292
292
  layoutSectionComponent.showLabelsCheckbox()
293
293
  .should('not.be.checked');
294
294
  break;
295
- case 'Show ticks':
295
+ case 'Display nodes':
296
296
  layoutSectionComponent.showTicksCheckbox()
297
297
  .should('not.be.checked');
298
298
  break;
@@ -315,21 +315,21 @@ const steps = {
315
315
 
316
316
  /**
317
317
  *@description Checks the specified checkbox
318
- * @param {('Stagger response'|'Show labels'|'Show ticks'|'Show min'|'Show max'|'Limit number of responses'|'Show min arrow'|'Show max arrow'|'Stack responses')} checkboxName - The name of the checkbox.
318
+ * @param {('Stagger response'|'Display values'|'Display nodes'|'Show min'|'Show max'|'Limit number of responses'|'Display minimum arrow'|'Display maximum arrow'|'Stack segment/ray')} checkboxName - The name of the checkbox.
319
319
  */
320
320
  checkCheckbox: (checkboxName) => {
321
321
  switch (checkboxName) {
322
- case 'Show min arrow':
322
+ case 'Display minimum arrow':
323
323
  layoutSectionComponent.showMinArrowCheckbox()
324
324
  .click()
325
325
  .should('be.checked');
326
326
  break;
327
- case 'Show max arrow':
327
+ case 'Display maximum arrow':
328
328
  layoutSectionComponent.showMaxArrowCheckbox()
329
329
  .click()
330
330
  .should('be.checked');
331
331
  break;
332
- case 'Stack responses':
332
+ case 'Stack segment/ray':
333
333
  layoutSectionComponent.stackResponsesCheckbox()
334
334
  .click()
335
335
  .should('be.checked');
@@ -339,12 +339,12 @@ const steps = {
339
339
  .click()
340
340
  .should('be.checked');
341
341
  break;
342
- case 'Show labels':
342
+ case 'Display values':
343
343
  layoutSectionComponent.showLabelsCheckbox()
344
344
  .click()
345
345
  .should('be.checked');
346
346
  break;
347
- case 'Show ticks':
347
+ case 'Display nodes':
348
348
  layoutSectionComponent.showTicksCheckbox()
349
349
  .click()
350
350
  .should('be.checked');
@@ -371,21 +371,21 @@ const steps = {
371
371
 
372
372
  /**
373
373
  *@description Unchecks the specified checkbox
374
- * @param {('Stagger response'|'Show labels'|'Show ticks'|'Show min'|'Show max'|'Limit number of responses'|'Show min arrow'|'Show max arrow'|'Stack responses')} checkboxName - The name of the checkbox.
374
+ * @param {('Stagger response'|'Display values'|'Display nodes'|'Show min'|'Show max'|'Limit number of responses'|'Display minimum arrow'|'Display maximum arrow'|'Stack segment/ray')} checkboxName - The name of the checkbox.
375
375
  */
376
376
  uncheckCheckbox: (checkboxName) => {
377
377
  switch (checkboxName) {
378
- case 'Show min arrow':
378
+ case 'Display minimum arrow':
379
379
  layoutSectionComponent.showMinArrowCheckbox()
380
380
  .click()
381
381
  .should('not.be.checked');
382
382
  break;
383
- case 'Show max arrow':
383
+ case 'Display maximum arrow':
384
384
  layoutSectionComponent.showMaxArrowCheckbox()
385
385
  .click()
386
386
  .should('not.be.checked');
387
387
  break;
388
- case 'Stack responses':
388
+ case 'Stack segment/ray':
389
389
  layoutSectionComponent.stackResponsesCheckbox()
390
390
  .click()
391
391
  .should('not.be.checked');
@@ -395,12 +395,12 @@ const steps = {
395
395
  .click()
396
396
  .should('not.be.checked');
397
397
  break;
398
- case 'Show labels':
398
+ case 'Display values':
399
399
  layoutSectionComponent.showLabelsCheckbox()
400
400
  .click()
401
401
  .should('not.be.checked');
402
402
  break;
403
- case 'Show ticks':
403
+ case 'Display nodes':
404
404
  layoutSectionComponent.showTicksCheckbox()
405
405
  .click()
406
406
  .should('not.be.checked');
@@ -427,7 +427,7 @@ const steps = {
427
427
 
428
428
  /**
429
429
  * Clicks on the orientation toggle button with the specified ARIA label and verifies it is selected.
430
- * @param {("Horizontal"|"Vertical")} ariaLabel - The ARIA label of the orientation toggle button to select.
430
+ * @param {("Sideways"|"Upright")} ariaLabel - The ARIA label of the orientation toggle button to select.
431
431
  */
432
432
  selectOrientationToggleButton: (ariaLabel) => {
433
433
  layoutSectionComponent.orientationToggleButton(ariaLabel)
@@ -437,7 +437,7 @@ const steps = {
437
437
 
438
438
  /**
439
439
  * Verifies that the toggle button with the specified ARIA label is selected.
440
- * @param {("Horizontal"|"Vertical")}} ariaLabel - The ARIA label of the toggle button to verify.
440
+ * @param {("Sideways"|"Upright")}} ariaLabel - The ARIA label of the toggle button to verify.
441
441
  */
442
442
  verifyOrientationToggleButtonSelected: (ariaLabel) => {
443
443
  layoutSectionComponent.orientationToggleButton(ariaLabel)
@@ -446,7 +446,7 @@ const steps = {
446
446
 
447
447
  /**
448
448
  * Verifies that the toggle button with the specified ARIA label is unselected.
449
- * @param {("Horizontal"|"Vertical")}} ariaLabel - The ARIA label of the toggle button to verify.
449
+ * @param {("Sideways"|"Upright")}} ariaLabel - The ARIA label of the toggle button to verify.
450
450
  */
451
451
  verifyOrientationToggleButtonUnselected: (ariaLabel) => {
452
452
  layoutSectionComponent.orientationToggleButton(ariaLabel)
@@ -455,11 +455,11 @@ const steps = {
455
455
 
456
456
  /**
457
457
  * Verifies the orientation and size of the number line section.
458
- * @param {string} orientation - The orientation of the number line section ('Horizontal' or 'Vertical').
458
+ * @param {string} orientation - The orientation of the number line section ('Sideways' or 'Upright').
459
459
  * @param {string} value - The value representing the width or height of the number line section.
460
460
  */
461
461
  verifyNumberLineOrientationAndSizeNumberLineSection: (orientation, value) => {
462
- if (orientation === 'Horizontal') {
462
+ if (orientation === 'Sideways') {
463
463
  layoutSectionComponent.numberLineNumberLineSection()
464
464
  .should('have.attr', 'width', value)
465
465
  } else {
@@ -509,16 +509,18 @@ const steps = {
509
509
 
510
510
  /**
511
511
  * Verifies the visibility and text of labels on the number line section.
512
- * @param {string} value - The initial value of the labels.
512
+ * @param {string} min - The initial value of the labels.
513
513
  * @param {number} interval - The interval between consecutive labels.
514
514
  */
515
- verifyLabelsVisibleOnNumberLineNumberLineSection: (value, interval) => {
515
+ verifyLabelsVisibleOnNumberLineNumberLineSection: (min, interval) => {
516
516
  cy.wait(3000);
517
517
  layoutSectionComponent.numberLineNumberLineSection()
518
518
  .parents('.ngie-jxgbox')
519
519
  .find('.number-line-tick-font')
520
520
  .its('length').then((len) => {
521
- for (let index = 0; index < len; index++) {
521
+ const length = len - 3;
522
+ let value = min + 1;
523
+ for (let index = 0; index < length; index++) {
522
524
  layoutSectionComponent.numberLineNumberLineSection()
523
525
  .parents('.ngie-jxgbox')
524
526
  .find('.number-line-tick-font')
@@ -526,6 +528,16 @@ const steps = {
526
528
  .should('have.text', value);
527
529
  value += interval;
528
530
  }
531
+ layoutSectionComponent.numberLineNumberLineSection()
532
+ .parents('.ngie-jxgbox')
533
+ .find('.number-line-tick-font')
534
+ .eq(len - 2)
535
+ .should('have.text', min);
536
+ layoutSectionComponent.numberLineNumberLineSection()
537
+ .parents('.ngie-jxgbox')
538
+ .find('.number-line-tick-font')
539
+ .eq(len - 1)
540
+ .should('have.text', `${value + 1}`);
529
541
  });
530
542
  },
531
543
 
@@ -802,15 +814,15 @@ const steps = {
802
814
  const tests = {
803
815
  /**
804
816
  * Verifies the content of the layout section based on the orientation.
805
- * @param {string} orientation - The orientation of the layout section ('Horizontal' or 'Vertical').
817
+ * @param {string} orientation - The orientation of the layout section ('Sideways' or 'Upright').
806
818
  */
807
819
  verifyLayoutSectionContent: (orientation) => {
808
820
  const labelCheckboxPairs = [
809
- { getLabelElement: layoutSectionComponent.showMinArrowLabel, label: 'Show min arrow', defaultChecked: false },
810
- { getLabelElement: layoutSectionComponent.showMaxArrowLabel, label: 'Show max arrow', defaultChecked: false },
821
+ { getLabelElement: layoutSectionComponent.showMinArrowLabel, label: 'Display minimum arrow', defaultChecked: false },
822
+ { getLabelElement: layoutSectionComponent.showMaxArrowLabel, label: 'Display maximum arrow', defaultChecked: false },
811
823
  { getLabelElement: layoutSectionComponent.staggerResponseLabel, label: 'Stagger response', defaultChecked: true },
812
- { getLabelElement: layoutSectionComponent.showLabelsLabel, label: 'Show labels', defaultChecked: true },
813
- { getLabelElement: layoutSectionComponent.showTicksLabel, label: 'Show ticks', defaultChecked: true },
824
+ { getLabelElement: layoutSectionComponent.showLabelsLabel, label: 'Display values', defaultChecked: true },
825
+ { getLabelElement: layoutSectionComponent.showTicksLabel, label: 'Display nodes', defaultChecked: true },
814
826
  { getLabelElement: layoutSectionComponent.showMinLabel, label: 'Show min', defaultChecked: true },
815
827
  { getLabelElement: layoutSectionComponent.showMaxLabel, label: 'Show max', defaultChecked: true },
816
828
  { getLabelElement: layoutSectionComponent.limitNumbersOfResponsesLabel, label: 'Limit number of responses', defaultChecked: true },
@@ -833,7 +845,7 @@ const tests = {
833
845
  });
834
846
 
835
847
  it(`Orientation label and 2 toggle buttons ${orientationToggleButton} should be displayed`, () => {
836
- utilities.verifyInnerText(layoutSectionComponent.orientationLabel(), 'Orientation');
848
+ utilities.verifyInnerText(layoutSectionComponent.orientationLabel(), 'Direction');
837
849
  utilities.verifyElementVisibilityState(layoutSectionComponent.orientationLabel(), 'visible');
838
850
  utilities.verifyElementVisibilityState(layoutSectionComponent.orientationToggleButton(), 'visible');
839
851
  utilities.verifyElementCount(layoutSectionComponent.orientationToggleButton(), 2);
@@ -843,7 +855,7 @@ const tests = {
843
855
  });
844
856
  });
845
857
 
846
- if (orientation === "Horizontal") {
858
+ if (orientation === "Sideways") {
847
859
  it(`Width(px) label and input field should be displayed and by default, input field should have 640 and user should be able to update the value of input field`, () => {
848
860
  utilities.verifyInnerText(layoutSectionComponent.widthLabel(), 'Width (px)');
849
861
  utilities.verifyElementVisibilityState(layoutSectionComponent.widthLabel(), 'visible');
@@ -915,7 +927,7 @@ const tests = {
915
927
  'font-size': css.fontSize.normal,
916
928
  'font-weight': css.fontWeight.regular
917
929
  });
918
- if (orientation === "Horizontal") {
930
+ if (orientation === "Sideways") {
919
931
  utilities.verifyCSS(layoutSectionComponent.widthLabel(), {
920
932
  'color': css.color.labels,
921
933
  'font-size': css.fontSize.normal,
@@ -999,10 +1011,10 @@ const tests = {
999
1011
 
1000
1012
  /**
1001
1013
  * Verifies the content of the number line section based on the orientation.
1002
- * @param {string} orientation - The orientation of the layout section ('Horizontal' or 'Vertical').
1014
+ * @param {string} orientation - The orientation of the layout section ('Sideways' or 'Upright').
1003
1015
  */
1004
1016
  verifyNumberLineSectionContent: (orientation) => {
1005
- const displayNumbersOptions = (orientation === "Horizontal") ? ["Below line", "Above line"] : ["Left of line", "Right of line"];
1017
+ const displayNumbersOptions = (orientation === "Sideways") ? ["Below line", "Above line"] : ["Left of line", "Right of line"];
1006
1018
 
1007
1019
  it('Number line title and number line should be displayed', () => {
1008
1020
  utilities.verifyInnerText(layoutSectionComponent.numberLineTitleNumberLineSection(), 'Number line title');