File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed
tests/suites/tenant/diagnostics/tabs Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -129,11 +129,17 @@ test.describe('Diagnostics Queries tab', async () => {
129129
130130 const diagnostics = new Diagnostics ( page ) ;
131131
132+ // Switch to "Per minute" view for testing
133+ await diagnostics . selectQueryPeriod ( QueryPeriod . PerMinute ) ;
134+
135+ // Wait for the table to refresh with new data
136+ await page . waitForTimeout ( 2000 ) ;
137+
132138 // Wait for data to appear with active refreshing
133139 const hasData = await diagnostics . waitForTableDataWithRefresh ( ) ;
134140 expect ( hasData ) . toBe ( true ) ;
135141
136- // Verify first row has non-empty values for key columns (test first 4 columns)
142+ // Verify first row has non-empty values for key columns in "Per minute" view
137143 for ( const column of QueryTopColumns . slice ( 0 , 4 ) ) {
138144 const columnValue = await diagnostics . table . getCellValueByHeader ( 1 , column ) ;
139145 expect ( columnValue . trim ( ) ) . toBeTruthy ( ) ;
You can’t perform that action at this time.
0 commit comments