Skip to content

test [M3 9558]: replace hardcoded region id in clone linode test - #11992

Merged
jdamore-linode merged 6 commits into
linode:developfrom
dmcintyr-akamai:M3-9558_clone_devcloud
Apr 15, 2025
Merged

test [M3 9558]: replace hardcoded region id in clone linode test#11992
jdamore-linode merged 6 commits into
linode:developfrom
dmcintyr-akamai:M3-9558_clone_devcloud

Conversation

@dmcintyr-akamai

Copy link
Copy Markdown
Contributor

Description 📝

Replaced the region IDs which were hardcoded and may not exist in all environments. The mock pricing data had hardcoded region IDs, so it was easier to mock the regions to include these hardcoded IDs (us-west, us-east).

Changes 🔄

Added mock regions for us-west and us-east.

How to test 🧪

pnpm run cy:e2e -s 'cypress/e2e/core/linodes/clone-linode.spec.ts'

(How to reproduce the issue, if applicable)

To repro the initial bug, run pnpm run cy:e2e -s 'cypress/e2e/core/linodes/clone-linode.spec.ts' in an environment that lacks us-west or us-east regions.

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

Commit message and pull request title format standards

Note: Remove this section before opening the pull request
Make sure your PR title and commit message on squash and merge are as shown below

<commit type>: [JIRA-ticket-number] - <description>

Commit Types:

  • feat: New feature for the user (not a part of the code, or ci, ...).
  • fix: Bugfix for the user (not a fix to build something, ...).
  • change: Modifying an existing visual UI instance. Such as a component or a feature.
  • refactor: Restructuring existing code without changing its external behavior or visual UI. Typically to improve readability, maintainability, and performance.
  • test: New tests or changes to existing tests. Does not change the production code.
  • upcoming: A new feature that is in progress, not visible to users yet, and usually behind a feature flag.

Example: feat: [M3-1234] - Allow user to view their login history


@dmcintyr-akamai
dmcintyr-akamai marked this pull request as ready for review April 8, 2025 17:58
@dmcintyr-akamai
dmcintyr-akamai requested review from a team as code owners April 8, 2025 17:58
@dmcintyr-akamai
dmcintyr-akamai requested review from dwiley-akamai, hkhalil-akamai and jdamore-linode and removed request for a team April 8, 2025 17:58
@linode-gh-bot

Copy link
Copy Markdown

Cloud Manager UI test results

🔺 1 failing test on test run #4 ↗︎

❌ Failing✅ Passing↪️ Skipped🕐 Duration
1 Failing539 Passing4 Skipped112m 51s

Details

Failing Tests
SpecTest
resize-linode.spec.tsCloud Manager Cypress Tests→resize linode » resize linode

Troubleshooting

Use this command to re-run the failing tests:

pnpm cy:run -s "cypress/e2e/core/linodes/resize-linode.spec.ts"

@jdamore-linode jdamore-linode 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.

Nice, thanks @dmcintyr-akamai!

@github-project-automation github-project-automation Bot moved this from Review to Approved in Cloud Manager Apr 11, 2025
@jdamore-linode jdamore-linode added the Approved Multiple approvals and ready to merge! label Apr 11, 2025
@jdamore-linode
jdamore-linode merged commit 9823703 into linode:develop Apr 15, 2025
@github-project-automation github-project-automation Bot moved this from Approved to Merged in Cloud Manager Apr 15, 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!

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

4 participants