test: [DI-29822] - Add spec for create notification channel#13383
Open
shnagend-akamai wants to merge 6 commits intolinode:developfrom
Open
test: [DI-29822] - Add spec for create notification channel#13383shnagend-akamai wants to merge 6 commits intolinode:developfrom
shnagend-akamai wants to merge 6 commits intolinode:developfrom
Conversation
packages/manager/cypress/e2e/core/cloudpulse/alert-notification-channel-create.spec.ts
Outdated
Show resolved
Hide resolved
| .click(); | ||
|
|
||
| // Validate API request payload for notification channel creation | ||
| cy.wait('@createAlertChannelNew').then((interception) => { |
Contributor
There was a problem hiding this comment.
this block of code doesn't test anything in the UI, it's just testing the test code which mocks the response. the test below where you filter for the label to ensure that the new item is visible is sufficient and does this better.
Contributor
Author
There was a problem hiding this comment.
Agreed but since we are also carrying out integration testing, the payload validation is covered as part of that flow. A similar implementation has been consistently followed across other test cases as well to ensure the right values are passed to the appropriate labels maintaining end-to-end confidence.
cc : @venkymano-akamai , @santoshp210-akamai
dmcintyr-akamai
approved these changes
Feb 10, 2026
…n_channel_alert_linode_February_09
santoshp210-akamai
approved these changes
Feb 12, 2026
Collaborator
Cloud Manager UI test results🎉 868 passing tests on test run #5 ↗︎
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description 📝
This PR adds a new test specification (spec) relating to creating a notification channel in the Linode Manager application. It is basically work done as part of DI-29084, which is a ticket related to the notification channel feature.
Changes 🔄
Target release date 🗓️
24th Feb
Preview 📷
Include a screenshot
<img src="" />or video<video src="" />of the change.alert-notification-channel-create.spec.ts.mp4
How to test 🧪
pnpm cy:run -s "cypress/e2e/core/cloudpulse/alert-notification-channel-create.spec.ts"
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
As an Author, before moving this PR from Draft to Open, I confirmed ✅