itemengine-cypress-automation 1.0.359 → 1.0.360

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.
@@ -120,7 +120,7 @@ describe('Create question page - Essay Response: Create custom category', () =>
120
120
 
121
121
  it(`By default, the ${equationEditorCategoriesAndSymbols['intermediate'].displayName} category accordion should be expanded and other all accordions should be in collapsed state`, () => {
122
122
  for (let index = 2; index < allCategories.length; index++) {
123
- if (allCategories[index] === 'intermediate') {
123
+ if (allCategories[index] === 'Intermediate') {
124
124
  createCustomCategoryFlyout.steps.verifyCategoryAccordionIsExpanded(`${equationEditorCategoriesAndSymbols[allCategories[index]].displayName}`);
125
125
  } else {
126
126
  createCustomCategoryFlyout.steps.verifyCategoryAccordionIsCollapsed(`${equationEditorCategoriesAndSymbols[allCategories[index]].displayName}`);
@@ -3,9 +3,9 @@ module.exports = {
3
3
  serverUrl: 'https://eyes.applitools.com',
4
4
  browser: [
5
5
  { width: 1366, height: 609, name: 'chrome' },
6
- // { width: 1280, height: 832, name: 'edgechromium' },
7
- // { width: 1536, height: 960, name: 'safari' },
8
- // { width: 1024, height: 1366, name: 'safari' }
6
+ { width: 1280, height: 832, name: 'edgechromium' },
7
+ { width: 1536, height: 960, name: 'safari' },
8
+ { width: 1024, height: 1366, name: 'safari' }
9
9
  ],
10
10
  //Configuration options: https://applitools.com/tutorials/sdks/cypress/configuration
11
11
  APPLITOOLS_IS_DISABLED: true
@@ -1384,6 +1384,7 @@ const steps = {
1384
1384
 
1385
1385
  expandRowSpacingDropdown: () => {
1386
1386
  gridQuestionCommonComponent.rowSpacingDropdown()
1387
+ .trigger('mouseover')
1387
1388
  .click();
1388
1389
  },
1389
1390
 
@@ -39,6 +39,7 @@ const selectors = {
39
39
  const steps = {
40
40
  expandOptionDesignDropdown: () => {
41
41
  mcqAdditionalSettingsBase.optionDesignDropdown()
42
+ .trigger('mouseover')
42
43
  .click();
43
44
  },
44
45
 
@@ -106,6 +107,8 @@ const steps = {
106
107
 
107
108
  expandNumberOfOptionsColumnDropdown: () => {
108
109
  mcqAdditionalSettingsBase.numberOfOptionColumnsDropdown()
110
+ .should('be.visible') // Ensure the dropdown is visible
111
+ .trigger('mouseover')
109
112
  .click();
110
113
  },
111
114
 
@@ -23,7 +23,7 @@ const selectors = {
23
23
  minimumScoringDropdown: () => cy.get('#minimum-scoring-select'),
24
24
  minimumScoringDropdownListOptions: (ariaLabel = null) => {
25
25
  if (ariaLabel) {
26
- return cy.get(`[aria-labelledby*="minimum-scoring-dropdown-label"] [role="option"][aria-label="${ariaLabel}"]`)
26
+ return cy.get(`[aria-labelledby*="minimum-scoring-dropdown-label"] [role="option"][aria-label*="${ariaLabel}"]`)
27
27
  } else {
28
28
  return cy.get('[aria-labelledby*="minimum-scoring-dropdown-label"] [role="option"]')
29
29
  }
@@ -67,6 +67,7 @@ const steps = {
67
67
  expandScoringTypeDropdown: () => {
68
68
  utilities.scrollIntoView(scoringSectionBaseEditTab.scoringTypeDropdown());
69
69
  scoringSectionBaseEditTab.scoringTypeDropdown()
70
+ .trigger('mouseover')
70
71
  .click();
71
72
  utilities.verifyElementVisibilityState(commonComponents.dropdownList(), 'exist');
72
73
  },
@@ -159,6 +160,7 @@ const steps = {
159
160
 
160
161
  expandMinimumScoringDropdown: () => {
161
162
  scoringSectionBaseEditTab.minimumScoringDropdown()
163
+ .trigger('mouseover')
162
164
  .click();
163
165
  cy.wait(1500);
164
166
  utilities.verifyElementVisibilityState(commonComponents.dropdownList(), 'exist');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "itemengine-cypress-automation",
3
- "version": "1.0.359",
3
+ "version": "1.0.360",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {