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:
Ivan Ortega Alba
2023-04-06 09:07:41 +02:00
committed by GitHub
parent 421b911c45
commit 45df536263
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -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')