Skip to content

test: [M3-10405 & M3-10406] - LKE Standard and Enterprise Cluster Create Tests for LKE-E Post-LA - #12831

Merged
jdamore-linode merged 14 commits into
linode:developfrom
jdamore-linode:M3-10405-lke-create-post-la-enabled-cypress
Sep 10, 2025
Merged

jdamore-linode merged 14 commits into
linode:developfrom
jdamore-linode:M3-10405-lke-create-post-la-enabled-cypress

Conversation

@jdamore-linode

Copy link
Copy Markdown
Contributor

Description 📝

This adds a handful of LKE cluster create tests for standard and Enterprise LKE clusters when the lkeEnterprise.postLa feature flag is enabled.

Changes 🔄

  • Add lkeCreatePage page utility object to ease further LKE create test development
  • Add standard LKE create flow Cypress test for {{postLa}} feature
  • Add Enterprise LKE create flow Cypress test for {{postLa}} feature
  • Add tests for create flows after switching from one tier to another (Standard -> Enterprise and Enterprise -> Standard)

Scope 🚢

  • All customers
  • Some customers (e.g. in Beta or Limited Availability)
  • No customers / Not applicable

Target release date 🗓️

N/A.

How to test 🧪

Prerequisites

We can rely on CI to confirm that the tests pass as expected. Additionally, you can run the relevant specs locally using this command:

pnpm cy:run -s "cypress/e2e/core/kubernetes/lke-create.spec.ts,cypress/e2e/core/kubernetes/lke-enterprise-create.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

@jdamore-linode
jdamore-linode requested a review from a team as a code owner September 5, 2025 21:25
@jdamore-linode
jdamore-linode requested review from coliu-akamai and hasyed-akamai and removed request for a team September 5, 2025 21:25

@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

thanks @jdamore-linode!

@github-project-automation github-project-automation Bot moved this from Review to Approved in Cloud Manager Sep 9, 2025

@mjac0bs mjac0bs 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 for these, Joe!

Things looked good on my read-through of the test cases.

Comment thread packages/manager/cypress/e2e/core/kubernetes/lke-create.spec.ts
expect(nodePools[0]['type']).to.equal(mockPlan.id);
expect(nodePools[0]['count']).to.equal(3);

// TODO M3-10590 - Uncomment and adjust according to chosen resolution.

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.

After the discussion with Product, I did add a comment on M3-10590 to describe the chosen resolution. Thanks for adding this comment here.

Comment thread packages/manager/cypress/e2e/core/kubernetes/lke-enterprise-create.spec.ts Outdated

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.

Really cool file of utils. I'm looking forward to using them!

@mjac0bs mjac0bs added Approved Multiple approvals and ready to merge! and removed Ready for Review Under Review labels Sep 9, 2025
@linode-gh-bot

Copy link
Copy Markdown

Cloud Manager UI test results

🎉 749 passing tests on test run #7 ↗︎

❌ Failing✅ Passing↪️ Skipped🕐 Duration
0 Failing749 Passing6 Skipped35m 40s

@jdamore-linode
jdamore-linode merged commit 28ec548 into linode:develop Sep 10, 2025
35 checks passed
@github-project-automation github-project-automation Bot moved this from Approved to Merged in Cloud Manager Sep 10, 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! LKE-Enterprise

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

5 participants