Skip to content

test: [M3-10450] - Fix failing test in linode-storage.spec.ts#12705

Merged
dmcintyr-akamai merged 5 commits intolinode:developfrom
dmcintyr-akamai:M3-10450_failingTest
Aug 15, 2025
Merged

test: [M3-10450] - Fix failing test in linode-storage.spec.ts#12705
dmcintyr-akamai merged 5 commits intolinode:developfrom
dmcintyr-akamai:M3-10450_failingTest

Conversation

@dmcintyr-akamai
Copy link
Copy Markdown
Contributor

Description 📝

Fix failing test in linode-storage.spec.ts. Purpose of test is to verify that linode can be deleted successfully.

Changes 🔄

Test always fails in linode-storage.spec.ts, in every branch. Change in backend broke unchanged code in test that was previously working. Failure started @ July 28 2025.

Test fails bc a linode disk w/ config of disk_encryption: 'enabled' fails to actually be deleted. So i modified the test to expect the disk to NOT be deleted. The UI seems to indicate that the disk is being deleted but then the disk remains in the list of disks. If the backend is ever updated to "fix" this apparent bug, then this test will break, so this test serves as a early warning indicator of the change in the backend.

I also added another test to test the deletion of a linode disk w/ disk_encryption: 'disabled', and this disk can be deleted as expected. Once deletion is confirmed, the disk is no longer visible in the list.

How to test 🧪

pnpm run cy:run -s cypress/e2e/core/linodes/linode-storage.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 14, 2025 18:56
@dmcintyr-akamai dmcintyr-akamai requested review from a team as code owners August 14, 2025 18:56
@dmcintyr-akamai dmcintyr-akamai requested review from bnussman-akamai, cliu-akamai and mjac0bs and removed request for a team August 14, 2025 18:56
@linode-gh-bot
Copy link
Copy Markdown
Collaborator

Cloud Manager UI test results

🎉 719 passing tests on test run #3 ↗︎

❌ Failing✅ Passing↪️ Skipped🕐 Duration
0 Failing719 Passing4 Skipped132m 26s

Copy link
Copy Markdown
Member

@bnussman-akamai bnussman-akamai left a comment

Choose a reason for hiding this comment

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

Thanks for fixing this on! And for the detailed description and code comments!

Copy link
Copy Markdown
Contributor

@mjac0bs mjac0bs left a comment

Choose a reason for hiding this comment

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

Thank you!

@github-project-automation github-project-automation bot moved this from Review to Approved in Cloud Manager Aug 14, 2025
@mjac0bs mjac0bs added Approved Multiple approvals and ready to merge! Testing and removed Add'tl Approval Needed Waiting on another approval! labels Aug 14, 2025
@dmcintyr-akamai dmcintyr-akamai merged commit d8b4425 into linode:develop Aug 15, 2025
35 checks passed
@github-project-automation github-project-automation bot moved this from Approved to Merged in Cloud Manager Aug 15, 2025
@dmcintyr-akamai dmcintyr-akamai deleted the M3-10450_failingTest branch August 15, 2025 13:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Approved Multiple approvals and ready to merge! Testing

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

4 participants