Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: [M3-9023] - Add coverage for Kube version upgrades in landing page #11478

Conversation

hana-akamai
Copy link
Contributor

@hana-akamai hana-akamai commented Jan 6, 2025

Description 📝

Add coverage for checking that there is no upgrade chip when there is no new kube version available and move kube version landing page e2e tests from lke-update.spec.ts to lke-landing-page.spec.ts

How to test 🧪

yarn cy:run -s "cypress/e2e/core/kubernetes/lke-landing-page.spec.ts"

Verification steps

(How to verify changes)

  • Confirm e2e tests are passing
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

@hana-akamai hana-akamai added e2e Indicates that a PR touches Cypress tests in some way LKE-Enterprise labels Jan 6, 2025
@hana-akamai hana-akamai self-assigned this Jan 6, 2025
@hana-akamai hana-akamai changed the title test: [M3-9023] - Add coverage for Kube version upgrades test: [M3-9023] - Add coverage for Kube version upgrades in landing page Jan 6, 2025
@hana-akamai hana-akamai marked this pull request as ready for review January 6, 2025 16:19
@hana-akamai hana-akamai requested review from a team as code owners January 6, 2025 16:19
@hana-akamai hana-akamai requested review from AzureLatte, carrillo-erik, harsh-akamai and mjac0bs and removed request for a team January 6, 2025 16:19
Copy link
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 for adding and rearranging!

✅ Tests for the landing page version upgrades are actually in the landing page spec now
✅ We're covering all the scenarios outlined in the ticket

Screenshot 2025-01-06 at 8 50 37 AM

@mjac0bs mjac0bs added the Add'tl Approval Needed Waiting on another approval! label Jan 6, 2025
…spec.ts

Co-authored-by: Mariah Jacobs <114685994+mjac0bs@users.noreply.github.com>
@linode-gh-bot
Copy link
Collaborator

Cloud Manager UI test results

🎉 473 passing tests on test run #3 ↗︎

❌ Failing✅ Passing↪️ Skipped🕐 Duration
0 Failing473 Passing2 Skipped100m 43s

Copy link
Contributor

@coliu-akamai coliu-akamai left a comment

Choose a reason for hiding this comment

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

✅ confirmed tests passed, thank you!

should we get another sdet to review since Azure's no longer on this team? ;-;

@coliu-akamai coliu-akamai added Approved Multiple approvals and ready to merge! and removed Add'tl Approval Needed Waiting on another approval! labels Jan 7, 2025
@hana-akamai hana-akamai requested review from jdamore-linode and removed request for AzureLatte January 7, 2025 15:36
Copy link
Contributor

@jdamore-linode jdamore-linode left a comment

Choose a reason for hiding this comment

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

Thanks @hana-akamai! The new tests look good and pass reliably. Thanks for moving those other two tests from lke-update too!

@hana-akamai hana-akamai merged commit 47ddb5b into linode:develop Jan 7, 2025
22 of 23 checks passed
@hana-akamai hana-akamai deleted the M3-9023-kube-landing-version-upgrade-e2e branch January 7, 2025 17:04
Copy link

cypress bot commented Jan 7, 2025

Cloud Manager E2E    Run #7044

Run Properties:  status check passed Passed #7044  •  git commit 47ddb5b402: test: [M3-9023] - Add coverage for Kube version upgrades in landing page (#11478...
Project Cloud Manager E2E
Branch Review develop
Run status status check passed Passed #7044
Run duration 28m 30s
Commit git commit 47ddb5b402: test: [M3-9023] - Add coverage for Kube version upgrades in landing page (#11478...
Committer Hana Xu
View all properties for this run ↗︎

Test results
Tests that failed  Failures 0
Tests that were flaky  Flaky 3
Tests that did not run due to a developer annotating a test with .skip  Pending 2
Tests that did not run due to a failure in a mocha hook  Skipped 0
Tests that passed  Passing 476
View all changes introduced in this branch ↗︎

dmcintyr-akamai pushed a commit to dmcintyr-akamai/manager that referenced this pull request Jan 9, 2025
…age (linode#11478)

## Description 📝
Add coverage for checking that there is no upgrade chip when there is no new kube version available and move kube version landing page e2e tests from `lke-update.spec.ts` to `lke-landing-page.spec.ts`

## How to test 🧪

```
yarn cy:run -s "cypress/e2e/core/kubernetes/lke-landing-page.spec.ts"
```

---------

Co-authored-by: Mariah Jacobs <114685994+mjac0bs@users.noreply.github.com>
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! e2e Indicates that a PR touches Cypress tests in some way LKE-Enterprise
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants