mirror of
https://github.com/grafana/grafana.git
synced 2025-01-25 15:56:56 -06:00
Flaky E2E: Wait for the data to be loaded before switch to table view (#66072)
Fix flaky e2e for panel edit suite
This commit is contained in:
parent
421b911c45
commit
45df536263
@ -79,6 +79,7 @@ e2e.scenario({
|
||||
e2e.components.PluginVisualization.current().should((e) => expect(e).to.contain('Time series'));
|
||||
|
||||
// Check that table view works
|
||||
e2e.components.Panels.Panel.loadingBar().should('not.exist');
|
||||
e2e.components.PanelEditor.toggleTableView().click({ force: true });
|
||||
e2e.components.Panels.Visualization.Table.header()
|
||||
.should('be.visible')
|
||||
|
@ -76,6 +76,7 @@ export const Components = {
|
||||
menu: (title: string) => `data-testid Panel menu ${title}`,
|
||||
containerByTitle: (title: string) => `${title} panel`,
|
||||
headerCornerInfo: (mode: string) => `Panel header ${mode}`,
|
||||
loadingBar: () => `Panel loading bar`,
|
||||
},
|
||||
Visualization: {
|
||||
Graph: {
|
||||
|
Loading…
Reference in New Issue
Block a user