Skip to content

Commit 94ba2e6

Browse files
hide refresh buttons
1 parent 4c54efd commit 94ba2e6

File tree

3 files changed

+8
-6
lines changed

3 files changed

+8
-6
lines changed

redisinsight/ui/src/pages/rdi/statistics/StatisticsPage.spec.tsx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ describe('StatisticsPage', () => {
161161
})
162162
})
163163

164-
it('should call proper telemetry event when refresh is clicked for data streams section', () => {
164+
xit('should call proper telemetry event when refresh is clicked for data streams section', () => {
165165
render(<StatisticsPage />)
166166

167167
fireEvent.click(screen.getByTestId('data-streams-refresh-btn'))
@@ -175,7 +175,7 @@ describe('StatisticsPage', () => {
175175
})
176176
})
177177

178-
it('should call proper telemetry event when refresh is clicked for clients section', () => {
178+
xit('should call proper telemetry event when refresh is clicked for clients section', () => {
179179
render(<StatisticsPage />)
180180

181181
fireEvent.click(screen.getByTestId('clients-refresh-btn'))
@@ -228,7 +228,7 @@ describe('StatisticsPage', () => {
228228
})
229229
})
230230

231-
it('should call proper telemetry event when auto refresh is enabled for data streams section', async () => {
231+
xit('should call proper telemetry event when auto refresh is enabled for data streams section', async () => {
232232
render(<StatisticsPage />)
233233

234234
const testid = 'data-streams'
@@ -247,7 +247,7 @@ describe('StatisticsPage', () => {
247247
})
248248
})
249249

250-
it('should call proper telemetry event when auto refresh is disabled for data streams section', async () => {
250+
xit('should call proper telemetry event when auto refresh is disabled for data streams section', async () => {
251251
render(<StatisticsPage />)
252252

253253
const testid = 'data-streams'
@@ -267,7 +267,7 @@ describe('StatisticsPage', () => {
267267
})
268268
})
269269

270-
it('should call proper telemetry event when auto refresh is enabled for clients section', async () => {
270+
xit('should call proper telemetry event when auto refresh is enabled for clients section', async () => {
271271
render(<StatisticsPage />)
272272

273273
const testid = 'clients'
@@ -286,7 +286,7 @@ describe('StatisticsPage', () => {
286286
})
287287
})
288288

289-
it('should call proper telemetry event when auto refresh is disabled for clients section', async () => {
289+
xit('should call proper telemetry event when auto refresh is disabled for clients section', async () => {
290290
render(<StatisticsPage />)
291291

292292
const testid = 'clients'

redisinsight/ui/src/pages/rdi/statistics/clients/Clients.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ const Clients = ({ data, loading, onRefresh, onRefreshClicked, onChangeAutoRefre
7070
<Accordion
7171
id="clients"
7272
title="Clients"
73+
hideAutoRefresh
7374
loading={loading}
7475
onRefresh={onRefresh}
7576
onRefreshClicked={onRefreshClicked}

redisinsight/ui/src/pages/rdi/statistics/data-streams/DataStreams.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@ const DataStreams = ({ data, loading, onRefresh, onRefreshClicked, onChangeAutoR
101101
<Accordion
102102
id="data-streams"
103103
title="Data streams overview"
104+
hideAutoRefresh
104105
loading={loading}
105106
onRefresh={onRefresh}
106107
onRefreshClicked={onRefreshClicked}

0 commit comments

Comments
 (0)