mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Migration: TestData Query Editor (#27997)
* Use new editor * Add basic fields * Add labels * Add ids * Add ManualEntryEditor * Use tooltip prop * Switch to inline labels * Fix inline label tooltip position * Allow resetting max-width * Replace form inputs * Add random walk editor * separate editors * Add logs and endpoints fields * Add PredictablePulseEditor * Add CSVWaveEditor * Add grow prop * Add default query * Fix types * Fix manual editor * Fix type issues * Handle scenario change * Sort scenarios by label * Add ManualEditor test * Fix label height * test manual editor * Update test * Setup QueryEditor tests * Fix selected value * Connect CSVWaveEditor * Convert stream data to numbers * Fix random walk editor * Cleanup * Convert scenarios to ts * Remove extra icon styles * Minor tweaks * Update e2e tests * Remove useEffect * Add missing aria-labels * Use new button components
This commit is contained in:
@@ -69,9 +69,20 @@ e2e.scenario({
|
||||
});
|
||||
|
||||
// Change to CSV Metric Values scenario for A
|
||||
e2e.components.DataSource.TestData.QueryTab.scenarioSelect()
|
||||
.eq(1)
|
||||
.select('CSV Metric Values');
|
||||
e2e.components.DataSource.TestData.QueryTab.scenarioSelectContainer()
|
||||
.should('be.visible')
|
||||
.within(() => {
|
||||
e2e.components.Select.input()
|
||||
.eq(0)
|
||||
.should('be.visible')
|
||||
.click();
|
||||
|
||||
cy.contains('CSV Metric Values')
|
||||
.scrollIntoView()
|
||||
.should('be.visible')
|
||||
.eq(0)
|
||||
.click();
|
||||
});
|
||||
|
||||
e2e().wait('@apiPostQuery');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user