Skip to content

test: [M3-9174] - Add Cypress tests for Firewall landing page improvements related to Linode Interfaces - #12040

Merged
jdamore-linode merged 6 commits into
linode:developfrom
jdamore-linode:M3-9174-firewalls-landing-page-linode-interfaces
Apr 16, 2025
Merged

test: [M3-9174] - Add Cypress tests for Firewall landing page improvements related to Linode Interfaces#12040
jdamore-linode merged 6 commits into
linode:developfrom
jdamore-linode:M3-9174-firewalls-landing-page-linode-interfaces

Conversation

@jdamore-linode

Copy link
Copy Markdown
Contributor

Description 📝

This adds a few new Firewall landing page tests to cover functionality added by the Linode Interfaces project.

Changes 🔄

  • Rename landing-page-empty-state.spec.ts to firewall-landing-page.spec.ts
  • Add lists all Firewalls and lists default Firewalls tests in firewall-landing-page.spec.ts
  • Add cannot delete default Firewalls test in delete-firewall.spec.ts
  • Add mockGetFirewallSettings mock util

Target release date 🗓️

4/24

How to test 🧪

We can rely on CI for this. To run the tests locally, however, you can use this command:

pnpm cy:run -s "cypress/e2e/core/firewalls/delete-firewall.spec.ts,cypress/e2e/core/firewalls/firewall-landing-page.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 unit tests are passing
  • TypeScript compilation succeeded without errors
  • Code passes all linting rules

@jdamore-linode
jdamore-linode requested a review from a team as a code owner April 15, 2025 21:48
@jdamore-linode
jdamore-linode requested review from hana-akamai and harsh-akamai and removed request for a team April 15, 2025 21:48

@coliu-akamai coliu-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.

✅ confirmed tests pass

tests look great, thanks Joe! 🎉

Comment thread packages/manager/cypress/e2e/core/firewalls/delete-firewall.spec.ts Outdated
@coliu-akamai coliu-akamai added Add'tl Approval Needed Waiting on another approval! and removed Ready for Review labels Apr 16, 2025
@github-project-automation github-project-automation Bot moved this from Review to Approved in Cloud Manager Apr 16, 2025
@bnussman-akamai bnussman-akamai added Approved Multiple approvals and ready to merge! and removed Add'tl Approval Needed Waiting on another approval! labels Apr 16, 2025
@linode-gh-bot

Copy link
Copy Markdown

Cloud Manager UI test results

🔺 1 failing test on test run #4 ↗︎

❌ Failing✅ Passing↪️ Skipped🕐 Duration
1 Failing542 Passing5 Skipped116m 20s

Details

Failing Tests
SpecTest
bucket-details-multicluster.spec.tsCloud Manager Cypress Tests→Object Storage Multicluster Bucket Details Tabs→Properties tab without required capabilities » Object Storage Multicluster Bucket Details Tabs→Properties tab without required capabilities

Troubleshooting

Use this command to re-run the failing tests:

pnpm cy:run -s "cypress/e2e/core/objectStorageMulticluster/bucket-details-multicluster.spec.ts"

@jdamore-linode
jdamore-linode merged commit 23633bb into linode:develop Apr 16, 2025
@github-project-automation github-project-automation Bot moved this from Approved to Merged in Cloud Manager Apr 16, 2025
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! Linode Interfaces

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

4 participants