Skip to content

Commit bff368c

Browse files
test: [M3-10474] - Fix qemu-reboot-upgrade-notice.spec.ts test failure (linode#12691)
* remove double `at` in assertion * Added changeset: Fix `qemu-reboot-upgrade-notice.spec.ts` test failure due to incorrect assertion --------- Co-authored-by: Banks Nussman <[email protected]>
1 parent 2d6645f commit bff368c

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@linode/manager": Tests
3+
---
4+
5+
Fix `qemu-reboot-upgrade-notice.spec.ts` test failure due to incorrect assertion ([#12691](https://github.com/linode/manager/pull/12691))

packages/manager/cypress/e2e/core/notificationsAndEvents/qemu-reboot-upgrade-notice.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,9 +86,9 @@ describe('QEMU reboot upgrade notification', () => {
8686
];
8787

8888
// We use ! since in `LinodeMaintenanceText` the `start_time` is never null.
89-
const formattedTime = `at ${formatDate(upcomingMaintenance[0].start_time!, {
89+
const formattedTime = formatDate(upcomingMaintenance[0].start_time!, {
9090
timezone: mockProfile.timezone,
91-
})}`;
91+
});
9292

9393
const maintenanceTooltipText = `This Linode’s maintenance window opens at ${formattedTime}. For more information, see your open support tickets.`;
9494

0 commit comments

Comments
 (0)