itemengine-cypress-automation 1.0.524-IEI-5333-9152198.0 → 1.0.524-dependabot-npm-and-yarn-multi-c7c3a225fc-99281e6.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.
- package/cypress/pages/audioPlayerPage.js +2 -2
- package/cypress/pages/components/additionalSettingsPanel.js +3 -3
- package/cypress/pages/components/essayResponseCommonComponents.js +2 -2
- package/cypress/pages/components/gridQuestionCommonComponent.js +2 -2
- package/cypress/pages/components/questionInputFieldComponent.js +1 -1
- package/cypress/pages/components/questionInstructionsComponent.js +1 -1
- package/cypress/pages/contentBlocksPage.js +1 -1
- package/cypress/pages/essayResponsePage.js +1 -1
- package/cypress/pages/textSelectionPage.js +1 -1
- package/package.json +2 -2
@@ -61,7 +61,7 @@ const selectors = {
|
|
61
61
|
playAttemptsLimitInputField: () => cy.get('.freeResponseAudioFormTextInput input'),
|
62
62
|
studentViewSettingsLabel: () => cy.get('[class*="AudioPlayerstyles__TranscriptLabelWrapper"]').eq(0),
|
63
63
|
audioOverviewLabel: () => cy.get('.additional-settings-label'),
|
64
|
-
audioOverviewInputField: () => cy.get('[
|
64
|
+
audioOverviewInputField: () => cy.get('[title="Description"]'),
|
65
65
|
transcriptLabel: () => cy.get('[class*="TranscriptWrapper"] [class*="AudioPlayerstyles__TranscriptLabelWrapper"]'),
|
66
66
|
uploadTranscriptUploadLabel: () => cy.get('[class*="AudioPlayerstyles__AudioLabel"]').eq(2),
|
67
67
|
uploadTranscriptFileNameLabel: () => cy.get('[class*="AudioPlayerstyles__AudioLabel"]').eq(3),
|
@@ -72,7 +72,7 @@ const selectors = {
|
|
72
72
|
transcriptFileUploadProgressBar: () => cy.get('.audio-player-form-progressbar'),
|
73
73
|
transcriptInputFieldLabel: () => cy.get('.additional-settings-label').eq(1),
|
74
74
|
deleteTranscriptButton: () => cy.get('[aria-label*="Delete"]'),
|
75
|
-
transcriptCKeditorInputField: () => cy.get('div[contenteditable="true"][aria-label="Transcript"]'),
|
75
|
+
transcriptCKeditorInputField: () => cy.get('div[contenteditable="true"][aria-label="Transcript"][title="Transcript"]'),
|
76
76
|
//Preview tab
|
77
77
|
volumeControlButton: () => cy.get('.audio-player-volume-wrapper .audio-player-icon'),
|
78
78
|
playbackPlayButton: () => cy.get('.audio-resource-preview-wrapper-without-print button[aria-label="Play"]'),
|
@@ -10,9 +10,9 @@ const selectors = {
|
|
10
10
|
additionalSettingsTeacherGuidelinesLabel: () => cy.get('.additional-settings-detail-wrapper .additional-settings-label').eq(0),
|
11
11
|
additionalSettingsSampleAnswerLabel: () => cy.get('.additional-settings-detail-wrapper .additional-settings-label').eq(1),
|
12
12
|
additionalSettingsAcknowledgementsLabel: () => cy.get('.additional-settings-detail-wrapper .additional-settings-label').eq(2),
|
13
|
-
additionalSettingsTeacherGuidelinesInputField: () => cy.get('[
|
14
|
-
additionalSettingsSampleAnswerInputField: () => cy.get('[
|
15
|
-
additionalSettingsAcknowledgementsInputField: () => cy.get('[
|
13
|
+
additionalSettingsTeacherGuidelinesInputField: () => cy.get('[title="Teacher Scoring Guidelines"]'),
|
14
|
+
additionalSettingsSampleAnswerInputField: () => cy.get('[title="Sample Answer"]'),
|
15
|
+
additionalSettingsAcknowledgementsInputField: () => cy.get('[title="acknowledgements and references"]'),
|
16
16
|
//Font-size dropdown
|
17
17
|
fontSizeLabel: () => cy.get('#Font-Size-dropdown-label'),
|
18
18
|
fontSizeDropdown: () => cy.get('#Font-Size-select'),
|
@@ -72,7 +72,7 @@ const selectors = {
|
|
72
72
|
wordCountWrapper: () => cy.get('[class*="indexstyle__WordCharCountWrapper"]'),
|
73
73
|
|
74
74
|
//Preview tab
|
75
|
-
responseField: () => cy.get('[
|
75
|
+
responseField: () => cy.get('[title="Enter your response to the question here."]'),
|
76
76
|
responseFieldWordCount: () => cy.get('[class*="InputLimitLabelWrapper"]'),
|
77
77
|
responseFieldEquation: () => cy.get('.cke_widget_element'),
|
78
78
|
responseFieldText: () => cy.get('[class*="EssayResponseGradingViewstyle__GradingViewWrapper"] .question-text-wrapper'),
|
@@ -82,7 +82,7 @@ const selectors = {
|
|
82
82
|
//Additional settings, These are old selectors. Need to update them along with additional settings file revamp
|
83
83
|
studentResponseAndLayoutLabel: () => cy.get('.layout-text'),
|
84
84
|
predefinedTextLabel: () => cy.get('[class*="EssayResponsestyles__PropertyLabel"]'),
|
85
|
-
predefinedTextInputField: () => cy.get('[
|
85
|
+
predefinedTextInputField: () => cy.get('[title="Predefined Text"]'),
|
86
86
|
placeholderTextLabel: () => cy.get('.place-holder-text .text-label'),
|
87
87
|
placeholderTextInputField: () => cy.get('[aria-label="Placeholder Text"]'),
|
88
88
|
minHeightLabel: () => cy.get('.size-wrapper .text-label').eq(0),
|
@@ -34,8 +34,8 @@ const selectors = {
|
|
34
34
|
editCellPropertyRow: () => gridQuestionCommonComponent.editCellPropertyTableWrapper().find('[class*="wrapper-row"]'),
|
35
35
|
editCellPropertyTableLeftPaginationButton: () => cy.get('.authoring-selection-grid [class*="SelectionGridstyles__PaginationLeftControl"]'),
|
36
36
|
editCellPropertyTableRightPaginationButton: () => cy.get('.authoring-selection-grid [class*="SelectionGridstyles__PaginationRightControl"]'),
|
37
|
-
cellPropertyInputField: () => cy.get('[
|
38
|
-
optionCellPropertyInputField: () => cy.get('[
|
37
|
+
cellPropertyInputField: () => cy.get('[title*="text"], [class*="SelectionGridstyles__AuthoringHeadingWrapper"] input, [class*="SelectionGridstyles"] input'),
|
38
|
+
optionCellPropertyInputField: () => cy.get('[title="Option text or image..."],[placeholder="Option text or image..."]'),
|
39
39
|
tableRowSpecifyCorrectAnswerSection: () => cy.get('.correct-answer-accordion [class*="wrapper-row"]'),
|
40
40
|
tableRowPreviewTab: () => cy.get('[class*="question-preview-wrapper"] [class*="wrapper-row"]'),
|
41
41
|
tableRowHeadersSpecifyCorrectAnswerSection: () => cy.get('.set-correct-ans-selection-grid .cell-content-text'),
|
@@ -3,7 +3,7 @@ import { commonComponents } from "./commonComponents";
|
|
3
3
|
|
4
4
|
const selectors = {
|
5
5
|
questionLabel: () => cy.get('.cloze-with-text-question-wrapper .title-casing'),
|
6
|
-
questionInputField: () => cy.get('.cloze-with-text-question-wrapper [
|
6
|
+
questionInputField: () => cy.get('.cloze-with-text-question-wrapper [title="question"]'),
|
7
7
|
responseArea: () => cy.get('.cke_widget_wrapper_add_response_element'),
|
8
8
|
responseAreaCloseButton: () => cy.get('.add_response_close'),
|
9
9
|
addResponseAreaButton: () => cy.get('.add-response-token-wrapper-cls button'),
|
@@ -5,7 +5,7 @@ const css = Cypress.env('css');
|
|
5
5
|
|
6
6
|
const selectors = {
|
7
7
|
questionInstructionsLabelEditTab: () => cy.get('.edit-question-instruction-label'),
|
8
|
-
questionInstructionsInputField: () => cy.get('[
|
8
|
+
questionInstructionsInputField: () => cy.get('[title="Question Instructions"]'),
|
9
9
|
questionInstructionsText: () => cy.get('.question-instruction'),
|
10
10
|
questionInstructionsWrapper: () => cy.get('.edit-question-instruction-wrapper'),
|
11
11
|
questionInstructionsTextPreviewTab: () => cy.get('.question-instruction:visible'),
|
@@ -15,7 +15,7 @@ const selectors = {
|
|
15
15
|
groupDividerWrapper: () => cy.get('.body-group-divider'),
|
16
16
|
textBlockWrapper: () => cy.get('.body-text-block'),
|
17
17
|
textBlockLabel: () => cy.get('.body-section-header'),
|
18
|
-
textBlockInputField: () => cy.get('[
|
18
|
+
textBlockInputField: () => cy.get('[title="Enter text block"]'),
|
19
19
|
bodyLabel: () => cy.get('.options-label'),
|
20
20
|
bodyWrapper: () => cy.get('.edit-mcq-options-wrapper'),
|
21
21
|
bodySubTitleLabel: () => cy.get('.body-section-header'),
|
@@ -129,7 +129,7 @@ const hyperlinkDialogBox = {
|
|
129
129
|
hyperlinkDialogboxURLInputField: () => essayResponsePage.hyperlinkDialogBox().find('input[class*="cke_dialog_ui_input_text"]').eq(1),
|
130
130
|
hyperlinkDialogboxButtonOk: () => cy.get('.action-button-wrapper [role="button"]').eq(1),
|
131
131
|
hyperlinkDialogboxButtonCancel: () => cy.get('.action-button-wrapper [role="button"]').eq(0),
|
132
|
-
previewInputFieldHyperlinkText: () => cy.get('div[
|
132
|
+
previewInputFieldHyperlinkText: () => cy.get('div[title="Enter your response to the question here."] a'),
|
133
133
|
}
|
134
134
|
|
135
135
|
const steps = {
|
@@ -25,7 +25,7 @@ const selectors = {
|
|
25
25
|
...showAvailableOptionsToStudents,
|
26
26
|
...showStudentMaximumNumberOfPossibleSelections,
|
27
27
|
questionLabel: () => cy.get('[class*="Highlightstyles__QuestionComponentWrapper"] .title-casing'),
|
28
|
-
questionInputField: () => cy.get('[class*="Highlightstyles__QuestionComponentWrapper"] [
|
28
|
+
questionInputField: () => cy.get('[class*="Highlightstyles__QuestionComponentWrapper"] [title="Question"]'),
|
29
29
|
specifyPossibleOptionsTextFieldWrapper: () => cy.get('[class*="Highlightstyles__HighLightWrapper"] .question-text-wrapper'),
|
30
30
|
textSelectionStyleLabel: () => cy.get('.text-selection-style .options-label'),
|
31
31
|
textSelectionStyleButtonLabel: (ariaLabel = null) => {
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "itemengine-cypress-automation",
|
3
|
-
"version": "1.0.524-
|
3
|
+
"version": "1.0.524-dependabot-npm-and-yarn-multi-c7c3a225fc-99281e6.0",
|
4
4
|
"description": "",
|
5
5
|
"main": "index.js",
|
6
6
|
"scripts": {
|
@@ -42,7 +42,7 @@
|
|
42
42
|
"axios": "^1.12.2",
|
43
43
|
"cy-verify-downloads": "^0.1.11",
|
44
44
|
"cy2": "^4.0.9",
|
45
|
-
"cypress": "^
|
45
|
+
"cypress": "^15.2.0",
|
46
46
|
"cypress-axe": "^1.4.0",
|
47
47
|
"cypress-file-upload": "^5.0.8",
|
48
48
|
"cypress-real-events": "^1.7.6",
|