Navigation: Remove bodyScrolling toggle and make it default (#93652)

* remove bodyScrolling toggle and make it default

* fix e2e tests
This commit is contained in:
Ashley Harrison
2024-09-24 13:23:18 +01:00
committed by GitHub
parent 7f7fed8c3c
commit a54308138f
24 changed files with 95 additions and 265 deletions
@@ -12,7 +12,7 @@ describe('Dashboards', () => {
e2e.components.Panels.Panel.title('Panel #1').should('be.visible');
// scroll to the bottom
cy.get('#page-scrollbar').scrollTo('bottom', {
cy.scrollTo('bottom', {
timeout: 5 * 1000,
});
@@ -12,7 +12,7 @@ describe('Dashboards', () => {
e2e.components.Panels.Panel.title('Panel #1').should('be.visible');
// scroll to the bottom
cy.get('#page-scrollbar').scrollTo('bottom', {
cy.scrollTo('bottom', {
timeout: 5 * 1000,
});
@@ -64,7 +64,7 @@ describe('Auto-migrate graph panel', () => {
e2e.pages.Dashboard.Annotations.marker().should('exist');
});
cy.get('#pageContent .scrollbar-view').first().scrollTo('bottom');
cy.scrollTo('bottom');
e2e.components.Panels.Panel.title('05:00')
.should('exist')
+1 -1
View File
@@ -64,7 +64,7 @@ describe('Auto-migrate graph panel', () => {
e2e.pages.Dashboard.Annotations.marker().should('exist');
});
cy.get('#pageContent .scrollbar-view').first().scrollTo('bottom');
cy.scrollTo('bottom');
e2e.components.Panels.Panel.title('05:00')
.should('exist')