mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Timeseries: Update auto-migration e2e test (#67402)
This commit is contained in:
parent
a5206a1cda
commit
62587eee88
@ -35,7 +35,7 @@ e2e.scenario({
|
|||||||
e2e.pages.Dashboard.Annotations.marker().should('exist');
|
e2e.pages.Dashboard.Annotations.marker().should('exist');
|
||||||
});
|
});
|
||||||
|
|
||||||
e2e.pages.Dashboard.wrapper().children().children('.scrollbar-view').scrollTo('bottom');
|
cy.get('body').children().find('.scrollbar-view').first().scrollTo('bottom');
|
||||||
|
|
||||||
e2e.components.Panels.Panel.title('05:00')
|
e2e.components.Panels.Panel.title('05:00')
|
||||||
.should('exist')
|
.should('exist')
|
||||||
|
@ -49,7 +49,6 @@ export const Pages = {
|
|||||||
},
|
},
|
||||||
Dashboard: {
|
Dashboard: {
|
||||||
url: (uid: string) => `/d/${uid}`,
|
url: (uid: string) => `/d/${uid}`,
|
||||||
wrapper: 'data-testid dashboard-page-wrapper',
|
|
||||||
DashNav: {
|
DashNav: {
|
||||||
/**
|
/**
|
||||||
* @deprecated use navV2 from Grafana 8.3 instead
|
* @deprecated use navV2 from Grafana 8.3 instead
|
||||||
|
@ -3,7 +3,6 @@ import { css, cx } from '@emotion/css';
|
|||||||
import React, { useLayoutEffect } from 'react';
|
import React, { useLayoutEffect } from 'react';
|
||||||
|
|
||||||
import { GrafanaTheme2, PageLayoutType } from '@grafana/data';
|
import { GrafanaTheme2, PageLayoutType } from '@grafana/data';
|
||||||
import { selectors } from '@grafana/e2e-selectors';
|
|
||||||
import { CustomScrollbar, useStyles2 } from '@grafana/ui';
|
import { CustomScrollbar, useStyles2 } from '@grafana/ui';
|
||||||
import { useGrafana } from 'app/core/context/GrafanaContext';
|
import { useGrafana } from 'app/core/context/GrafanaContext';
|
||||||
|
|
||||||
@ -51,7 +50,7 @@ export const Page: PageType = ({
|
|||||||
}, [navModel, pageNav, chrome, layout]);
|
}, [navModel, pageNav, chrome, layout]);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className={cx(styles.wrapper, className)} {...otherProps} data-testid={selectors.pages.Dashboard.wrapper}>
|
<div className={cx(styles.wrapper, className)} {...otherProps}>
|
||||||
{layout === PageLayoutType.Standard && (
|
{layout === PageLayoutType.Standard && (
|
||||||
<CustomScrollbar autoHeightMin={'100%'} scrollTop={scrollTop} scrollRefCallback={scrollRef}>
|
<CustomScrollbar autoHeightMin={'100%'} scrollTop={scrollTop} scrollRefCallback={scrollRef}>
|
||||||
<div className={styles.pageInner}>
|
<div className={styles.pageInner}>
|
||||||
|
Loading…
Reference in New Issue
Block a user