Skip to content

Commit fb48d01

Browse files
committed
Added cy.scrollPageToCenter(); in line 841 and cy.scrollPageToBottom(); in 915 in configuration.js file
1 parent be648fc commit fb48d01

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

ui-tests/cypress/lib/dashboard/manage/configurations/configurations.js

100644100755
Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -837,7 +837,8 @@ const verifyPageElements = () => {
837837
isChecked: true
838838
});
839839

840-
cy.scrollPageToBottom();
840+
// cy.scrollPageToBottom();
841+
cy.scrollPageToCenter();
841842

842843
cy.verifyElement({
843844
labelElement: configurationsListBoxElements({ subFeature: SETTINGS.SECURITY.PASSWORD_EXPIRATION }).SELECTED_SUBFEATURE_TITLE,
@@ -912,6 +913,8 @@ const verifyPageElements = () => {
912913
labelText: "If enabled, provided passwords must contain at least one special symbol (not a number or latin character)",
913914
});
914915

916+
cy.scrollPageToBottom();
917+
915918
cy.verifyElement({
916919
element: configurationsListBoxElements({ subFeature: SETTINGS.SECURITY.PASSWORD_SYMBOL }).SELECTED_SUBFEATURE_CHECKBOX,
917920
isChecked: true

0 commit comments

Comments
 (0)