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-7991] - Integration Test: Linode Create with Placement Group #10473

Merged
merged 6 commits into from
May 21, 2024

Conversation

abailly-akamai
Copy link
Contributor

@abailly-akamai abailly-akamai commented May 15, 2024

Description πŸ“

PR to add an integration test to the Placement Group feature within Linode Create flow

The test covers the following:

  • "Placement Group" Region capability including related notices
  • Placement Group creation within the Linode Create flow
  • Linode Creation with a placement group

Changes πŸ”„

  • New create-linode-with-placement-groups.spec.ts test
  • Add needed data-test-id
  • Fix small issue with tooltip data-test-id containing JSX element as a child (was showing as "Object Object")

How to test πŸ§ͺ

Verification steps

  • Confirm appropriate steps for the test
  • run yarn cy:run -s "cypress/e2e/core/placementGroups/create-linode-with-placement-groups.spec.ts"

As an Author I have considered πŸ€”

Check all that apply

  • πŸ‘€ 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

@abailly-akamai abailly-akamai self-assigned this May 15, 2024
@abailly-akamai abailly-akamai added the e2e Indicates that a PR touches Cypress tests in some way label May 15, 2024
@abailly-akamai abailly-akamai marked this pull request as ready for review May 15, 2024 17:57
@abailly-akamai abailly-akamai requested review from a team as code owners May 15, 2024 17:57
@abailly-akamai abailly-akamai requested review from AzureLatte, mjac0bs and hana-linode and removed request for a team May 15, 2024 17:57
@abailly-akamai abailly-akamai changed the title test: [M3-7991] - Linode Create with Placement Group test: [M3-7991] - Integration Test: Linode Create with Placement Group May 15, 2024
Copy link

github-actions bot commented May 15, 2024

Coverage Report: βœ…
Base Coverage: 81.52%
Current Coverage: 81.53%

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.

  • Confirmed that test coverage is covering the main aspects of the create linode with PG flow.
  • Watched the test run in debug mode and confirmed it passed.
  • Confirmed the CI test failure is unrelated but if you make any updates to this PR, you'll want to merge in the latest develop to avoid another failure.
  • Approving because LGTM - left only minor suggestions.

image

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.

Nice work @abailly-akamai, the new test looks (and runs) great!

@abailly-akamai abailly-akamai merged commit 1e9c3f0 into linode:develop May 21, 2024
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
e2e Indicates that a PR touches Cypress tests in some way Placement Groups
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants