Skip to content

tests [M3-9610]: VM host maintenance banner in linode landing and details pages - #12753

Merged
jdamore-linode merged 23 commits into
linode:developfrom
dmcintyr-akamai:M3-9610_hostMaint_banner
Sep 5, 2025
Merged

tests [M3-9610]: VM host maintenance banner in linode landing and details pages#12753
jdamore-linode merged 23 commits into
linode:developfrom
dmcintyr-akamai:M3-9610_hostMaint_banner

Conversation

@dmcintyr-akamai

@dmcintyr-akamai dmcintyr-akamai commented Aug 22, 2025

Copy link
Copy Markdown
Contributor

Description 📝

Test the presence and absence of the vm host maintenance banner in the linode landing and details pages.

Changes 🔄

Verify that the proper banner is present when mocking account/maintenance. Suppress platform maintenance notification banners by mocking no data returned from account/notifications. Added data-testid for banners to make it easier to differentiate between different types of notice-banners.

In the landing page, the MaintenanceBannerV2 ([data-qa-maintenance-banner-v2="true"]) is present. In the linode details page, the LinodeMaintenanceBanner ([data-qa-maintenance-banner="true"]) is present.

How to test 🧪

pnpm run cy:run -s cypress/e2e/core/linodes/vm-host-maintenance-linode.spec.ts

Author Checklists

As an Author, to speed up the review process, I considered 🤔

👀 Doing a self review
❔ Our contribution guidelines
🤏 Splitting feature into small PRs
➕ Adding a changeset
🧪 Providing/improving test coverage
🔐 Removing all sensitive information from the code and PR description
🚩 Using a feature flag to protect the release
👣 Providing comprehensive reproduction steps
📑 Providing or updating our documentation
🕛 Scheduling a pair reviewing session
📱 Providing mobile support
♿ Providing accessibility support


  • I have read and considered all applicable items listed above.

As an Author, before moving this PR from Draft to Open, I confirmed ✅

  • All tests and CI checks are passing
  • TypeScript compilation succeeded without errors
  • Code passes all linting rules

@dmcintyr-akamai
dmcintyr-akamai marked this pull request as ready for review August 28, 2025 16:01
@dmcintyr-akamai
dmcintyr-akamai requested review from a team as code owners August 28, 2025 16:01
@dmcintyr-akamai
dmcintyr-akamai requested review from bill-akamai, dwiley-akamai and jdamore-linode and removed request for a team August 28, 2025 16:01
@dmcintyr-akamai

Copy link
Copy Markdown
Contributor Author

do not merge till after #12763 is merged

Comment thread packages/manager/src/components/MaintenanceBanner/LinodeMaintenanceBanner.tsx Outdated

@dwiley-akamai dwiley-akamai left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

vm-host-maintenance-linode.spec.ts passes locally ✅

Can we get a changeset added?

@jdamore-linode jdamore-linode left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks David!

@github-project-automation github-project-automation Bot moved this from Review to Approved in Cloud Manager Sep 4, 2025
@linode-gh-bot

Copy link
Copy Markdown

Cloud Manager UI test results

🎉 745 passing tests on test run #21 ↗︎

❌ Failing✅ Passing↪️ Skipped🕐 Duration
0 Failing745 Passing6 Skipped36m 28s

@jdamore-linode
jdamore-linode merged commit adca23e into linode:develop Sep 5, 2025
35 checks passed
@github-project-automation github-project-automation Bot moved this from Approved to Merged in Cloud Manager Sep 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

5 participants