diff --git a/e2e/various-suite/explore.spec.ts b/e2e/various-suite/explore.spec.ts index d77248ead51..8ba2fede78e 100644 --- a/e2e/various-suite/explore.spec.ts +++ b/e2e/various-suite/explore.spec.ts @@ -47,5 +47,10 @@ e2e.scenario({ // Both queries above should have been run and be shown in the query history e2e.components.QueryTab.queryHistoryButton().should('be.visible').click(); e2e.components.QueryHistory.queryText().should('have.length', 2).should('contain', 'csv_metric_values'); + + // delete all queries + cy.get('button[title="Delete query"]').each((button) => { + button.trigger('click'); + }); }, });