Skip to content

Commit 0ba819d

Browse files
upcoming: [DI-28682] - UX enhancements of CloudPulseDateTimeRangePicker in metrics (#13216)
* upcoming: [DI-28682] - UX enhancements of Time Range Picker in CloudPulse metrics * upcoming: [DI-28682] - Use small screens * upcoming: [DI-28682] - Allow backdrop click * upcoming: [DI-28682] - Remove and use existing timezone * Added changeset: UX enhancements of `CloudPulseDateTimeRangePicker` and `DateTimeRangePicker` components in cloudpulse metrics * upcoming: [DI-28682] - Background style update * Integrate user profile for timezone handling * upcoming: [DI-28682] - Contextual view changes * upcoming: [DI-28682] - Fix for dependency * Added: [DI-28776] - Fix one eslint issue
1 parent 63863f1 commit 0ba819d

File tree

13 files changed

+359
-127
lines changed

13 files changed

+359
-127
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@linode/manager": Upcoming Features
3+
---
4+
5+
UX enhancements of `CloudPulseDateTimeRangePicker` and `DateTimeRangePicker` components in cloudpulse metrics ([#13216](https://github.com/linode/manager/pull/13216))

packages/manager/cypress/e2e/core/cloudpulse/dbaas-widgets-verification.spec.ts

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -290,12 +290,11 @@ describe('Integration Tests for DBaaS Dashboard ', () => {
290290
.click();
291291

292292
// Select a time duration from the autocomplete input.
293-
// Updated selector for MUI x-date-pickers v8 - click on the wrapper div
294-
cy.get('[aria-labelledby="start-date"]').parent().as('startDateInput');
293+
ui.button.findByTitle('Last hour').as('timeRangeTrigger');
294+
cy.get('@timeRangeTrigger').click();
295295

296-
cy.get('@startDateInput').click();
297-
298-
cy.get('[data-qa-preset="Last day"]').click();
296+
// select a different preset but cancel
297+
ui.button.findByTitle('Last day').click();
299298

300299
// Click the "Apply" button to confirm the end date and time
301300
cy.get('[data-qa-buttons="apply"]')

packages/manager/cypress/e2e/core/cloudpulse/linode-widget-verification.spec.ts

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -179,12 +179,11 @@ describe('Integration Tests for Linode Dashboard ', () => {
179179
.should('be.visible')
180180
.click();
181181
// Select a time duration from the autocomplete input.
182-
// Updated selector for MUI x-date-pickers v8 - click on the wrapper div
183-
cy.get('[aria-labelledby="start-date"]').parent().as('startDateInput');
182+
ui.button.findByTitle('Last hour').as('timeRangeTrigger');
183+
cy.get('@timeRangeTrigger').click();
184184

185-
cy.get('@startDateInput').click();
186-
187-
cy.get('[data-qa-preset="Last day"]').click();
185+
// select a different preset but cancel
186+
ui.button.findByTitle('Last day').click();
188187

189188
// Click the "Apply" button to confirm the end date and time
190189
cy.get('[data-qa-buttons="apply"]')

packages/manager/cypress/e2e/core/cloudpulse/nodebalancer-widget-verification.spec.ts

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -182,12 +182,11 @@ describe('Integration Tests for Nodebalancer Dashboard ', () => {
182182
.click();
183183

184184
// Select a time duration from the autocomplete input.
185-
// Updated selector for MUI x-date-pickers v8 - click on the wrapper div
186-
cy.get('[aria-labelledby="start-date"]').parent().as('startDateInput');
185+
ui.button.findByTitle('Last hour').as('timeRangeTrigger');
186+
cy.get('@timeRangeTrigger').click();
187187

188-
cy.get('@startDateInput').click();
189-
190-
cy.get('[data-qa-preset="Last day"]').click();
188+
// select a different preset but cancel
189+
ui.button.findByTitle('Last day').click();
191190

192191
cy.get('[data-qa-buttons="apply"]')
193192
.should('be.visible')

0 commit comments

Comments
 (0)