Skip to content

Commit 67c5b31

Browse files
committed
Updated scroll page methods location
1 parent a708942 commit 67c5b31

File tree

2 files changed

+0
-8
lines changed

2 files changed

+0
-8
lines changed

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,6 @@ const verifyPageElements = () => {
179179
attrText: "100"
180180
});
181181

182-
cy.scrollPageSlightly();
183182
cy.scrollPageToCenter();
184183

185184
cy.verifyElement({

ui-tests/cypress/support/commands.js

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -226,13 +226,6 @@ Cypress.Commands.add("scrollDataTableToLeft", (element = '.el-table__body-wrappe
226226
cy.get(element).eq(index).scrollTo('left', { ensureScrollable: false });
227227
});
228228

229-
Cypress.Commands.add("scrollPageSlightly", (element = '.main-view', index = 0, offset = 100) => {
230-
cy.get(element)
231-
.eq(index)
232-
.scrollTo('top', { ensureScrollable: false })
233-
.scrollTo(0, offset, { ensureScrollable: false }); // x=0, y=offset
234-
});
235-
236229
Cypress.Commands.add('verifyElement', ({
237230
labelElement,
238231
labelText,

0 commit comments

Comments
 (0)