Skip to content

RI-8040 [E2E] 7.4 Settings -> Redis Cloud Settings#5595

Open
pd-redis wants to merge 2 commits intomainfrom
e2e/RI-8040/redis-cloud-settings
Open

RI-8040 [E2E] 7.4 Settings -> Redis Cloud Settings#5595
pd-redis wants to merge 2 commits intomainfrom
e2e/RI-8040/redis-cloud-settings

Conversation

@pd-redis
Copy link
Contributor

@pd-redis pd-redis commented Mar 4, 2026

What

Add Playwright E2E tests for the Redis Cloud Settings section (7.4) of the Settings page.

Tests verify that the API user keys text, autodiscover button, and create cloud database button are displayed. Tests skip gracefully in browser mode when the cloudSso feature flag is disabled (Electron only).

Testing

Run: npx playwright test tests/main/settings/redis-cloud-settings

Note: Tests will be skipped in Chromium mode since the Redis Cloud section requires the cloudSso feature flag (Electron build only).


Closes #RI-8040

Made with Cursor


Note

Low Risk
Test-only changes that add new E2E coverage and update documentation, with no production logic impact.

Overview
Adds new Playwright E2E coverage for the Settings page’s Redis Cloud section, asserting the API user keys text plus Autodiscover and Create Redis Cloud database buttons are visible.

Updates TEST_PLAN.md to mark the two Redis Cloud Settings cases as implemented, and makes the new suite auto-skip on non-Electron projects where the cloudSso-gated UI isn’t available.

Written by Cursor Bugbot for commit 4494952. This will update automatically on new commits. Configure here.

@jit-ci
Copy link

jit-ci bot commented Mar 4, 2026

🛡️ Jit Security Scan Results

CRITICAL HIGH MEDIUM

✅ No security findings were detected in this PR


Security scan by Jit

Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.

Tests skip gracefully when cloudSso feature flag is disabled (browser mode).

References: #RI-8040
Made-with: Cursor
@pd-redis pd-redis force-pushed the e2e/RI-8040/redis-cloud-settings branch from 53eeb09 to 92ac960 Compare March 5, 2026 08:56
Comment on lines +19 to +20
test.skip(true, 'Redis Cloud settings not available (cloudSso feature flag disabled)');
}
Copy link
Contributor

Choose a reason for hiding this comment

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

we need a better way for such checks, the redisCloudButton could be hidden for electron and this will be skipped (false positive)

I was thinking about passing the environment when running tests somehow or relying on the playwright project

I have the same issue in my pr but didn't resolve it yet https://github.com/redis/RedisInsight/pull/5542/changes#diff-410bc7146336b19b7708fbcdee38b8a46991890d95d8cde6125fd53bbde13147R19-R22

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.

2 participants