Skip to content

test: [M3-8050] - Fix OBJ E2E tests following API release#10417

Merged
jdamore-linode merged 2 commits intolinode:developfrom
jdamore-linode:M3-8050-fix-obj-e2es
Apr 30, 2024
Merged

test: [M3-8050] - Fix OBJ E2E tests following API release#10417
jdamore-linode merged 2 commits intolinode:developfrom
jdamore-linode:M3-8050-fix-obj-e2es

Conversation

@jdamore-linode
Copy link
Contributor

@jdamore-linode jdamore-linode commented Apr 29, 2024

Description 📝

This fixes a couple OBJ E2E tests that are failing following the latest API release. The failures are caused by the API responding with a 400 when we pass the region property in OBJ requests; previously this property was ignored, but now the API handles the property by rejecting it when a certain API-side config flag is not set.

Our OBJ factories include values for both the region and cluster properties, so this fixes the issue by manually setting region to undefined in the impacted tests.

How to test 🧪

We can rely on CI for this; in its current state, these two tests fail 100% of the time, so it should be pretty easy to determine whether or not this PR resolves the problem.

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

@jdamore-linode jdamore-linode self-assigned this Apr 29, 2024
@jdamore-linode jdamore-linode requested a review from a team as a code owner April 29, 2024 19:12
@jdamore-linode jdamore-linode requested review from cliu-akamai and removed request for a team April 29, 2024 19:12
@jdamore-linode jdamore-linode requested a review from a team as a code owner April 29, 2024 19:14
@jdamore-linode jdamore-linode requested review from cpathipa and hkhalil-akamai and removed request for a team April 29, 2024 19:14
@github-actions
Copy link

github-actions bot commented Apr 29, 2024

Coverage Report:
Base Coverage: 81.82%
Current Coverage: 81.82%

Copy link
Contributor

@cpathipa cpathipa 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 @jdamore-linode for fixing it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants