Skip to content

test: [UIE-10834] - Fix Image test failures by mocking feature flag#13572

Merged
jdamore-linode merged 4 commits intolinode:developfrom
jdamore-linode:UIE-10834-image-related-test-failures
Apr 10, 2026
Merged

test: [UIE-10834] - Fix Image test failures by mocking feature flag#13572
jdamore-linode merged 4 commits intolinode:developfrom
jdamore-linode:UIE-10834-image-related-test-failures

Conversation

@jdamore-linode
Copy link
Copy Markdown
Contributor

Description 📝

This works around the Cypress test failures in Image related tests that started failing after enabling the privateImageSharing feature flag in develop this morning. This is only a quick workaround, and proper test coverage for Private Image Sharing-enabled flows will be pursued in our Playwright test suite.

Changes 🔄

  • Mock the privateImageSharing flag to be disabled in failing tests

Scope 🚢

Upon production release, changes in this PR will be visible to:

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

Target release date 🗓️

I'd like to merge these as soon as possible once we confirm the tests pass as a result of these changes.

How to test 🧪

We can rely on CI for this

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 marked this pull request as ready for review April 9, 2026 22:20
@jdamore-linode jdamore-linode requested review from a team as code owners April 9, 2026 22:20
@jdamore-linode jdamore-linode requested review from abailly-akamai, dmcintyr-akamai and pmakode-akamai and removed request for a team April 9, 2026 22:20
@linode-gh-bot
Copy link
Copy Markdown
Collaborator

Cloud Manager UI test results

🔺 1 failing test on test run #3 ↗︎

❌ Failing✅ Passing↪️ Skipped🕐 Duration
1 Failing901 Passing11 Skipped39m 19s

Details

Failing Tests
SpecTest
object-storage.e2e.spec.tsCloud Manager Cypress Tests→object storage end-to-end tests » can update bucket access

Troubleshooting

Use this command to re-run the failing tests:

pnpm cy:run -s "cypress/e2e/core/objectStorage/object-storage.e2e.spec.ts"

@pmakode-akamai pmakode-akamai added Add'tl Approval Needed Waiting on another approval! Testing Private Image Sharing Related to Private Image Sharing feature labels Apr 10, 2026
@github-project-automation github-project-automation bot moved this from Review to Approved in Cloud Manager Apr 10, 2026
@jdamore-linode jdamore-linode merged commit f213afd into linode:develop Apr 10, 2026
34 of 35 checks passed
@github-project-automation github-project-automation bot moved this from Approved to Merged in Cloud Manager Apr 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Add'tl Approval Needed Waiting on another approval! Private Image Sharing Related to Private Image Sharing feature Ready for Review Testing

Projects

Status: Merged

Development

Successfully merging this pull request may close these issues.

4 participants