itemengine-cypress-automation 1.0.377-highlight-flakiness-08bd446.0 → 1.0.377
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.
@@ -114,6 +114,7 @@ describe('Create item page - Grid fill: Customize layout section - \'Fill Image\
|
|
114
114
|
it('When the user adds the image more than of 10MB, then the file should not be uploaded', () => {
|
115
115
|
gridFillPage.steps.uploadFilledImageFile('20mbFile.png');
|
116
116
|
gridFillPage.steps.verifyFilledImageFileNameLabel('highlightImage.jpg');
|
117
|
+
gridFillPage.steps.verifyErrorMessageDoesNotHaveText();
|
117
118
|
});
|
118
119
|
|
119
120
|
it('Delete button should appear beside uploaded file\'s name', () => {
|
@@ -44,7 +44,7 @@ describe('Create item page - Grid fill: Header section and Saving question', ()
|
|
44
44
|
describe('Validation error messages', () => {
|
45
45
|
dialogBoxBase.tests.verifyRequiredFieldsWarningPopupOnClickingSaveButton(['Please set points']);
|
46
46
|
|
47
|
-
it('Validation error messages should not be displayed below required input fields', () => {
|
47
|
+
it('Validation error messages and error icons should not be displayed below required input fields', () => {
|
48
48
|
gridFillPage.steps.verifyQuestionInstructionsErrorMessageIsNotDisplayed();
|
49
49
|
gridFillPage.steps.verifyPointsFieldErrorMessageIsNotDisplayed();
|
50
50
|
gridFillPage.steps.verifySpecifyCorrectAnswerErrorIconNotExists();
|
@@ -97,6 +97,10 @@ const steps = {
|
|
97
97
|
utilities.verifyElementVisibilityState(commonComponents.tooltipText(), 'notExist');
|
98
98
|
},
|
99
99
|
|
100
|
+
verifyErrorMessageDoesNotHaveText: () => {
|
101
|
+
commonComponents.errorMessage()
|
102
|
+
.should('not.have.text', 'Error:');
|
103
|
+
}
|
100
104
|
}
|
101
105
|
|
102
106
|
const tests = {
|
@@ -2924,7 +2924,7 @@ const tests = {
|
|
2924
2924
|
gridFillPage.steps.selectCellSpecifyCorrectAnswerSection(0, 0);
|
2925
2925
|
});
|
2926
2926
|
|
2927
|
-
it(`When user deselect all the cells in the grid in the ${accordionName} accordion,
|
2927
|
+
it(`When user deselect all the cells in the grid in the ${accordionName} accordion, error message and error icons should not be displayed on \'${accordionName}\' accordion`, () => {
|
2928
2928
|
gridFillPage.steps.deselectCellSpecifyCorrectAnswerSection(0, 0);
|
2929
2929
|
gridFillPage.steps.verifyErrorMessageIsNotDisplayed();
|
2930
2930
|
if (accordionName == 'Correct') {
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "itemengine-cypress-automation",
|
3
|
-
"version": "1.0.377
|
3
|
+
"version": "1.0.377",
|
4
4
|
"description": "",
|
5
5
|
"main": "index.js",
|
6
6
|
"scripts": {
|
@@ -52,4 +52,4 @@
|
|
52
52
|
"devDependencies": {
|
53
53
|
"@applitools/eyes-cypress": "^3.47.0"
|
54
54
|
}
|
55
|
-
}
|
55
|
+
}
|