Skip to content

Test e2e theme dashboard - #547

Merged
johdanike merged 2 commits into
SwiftChainn:mainfrom
Ikechukwu-Patrick:test-e2e-theme-dashboard
Sep 1, 2026
Merged

Test e2e theme dashboard#547
johdanike merged 2 commits into
SwiftChainn:mainfrom
Ikechukwu-Patrick:test-e2e-theme-dashboard

Conversation

@Ikechukwu-Patrick

Copy link
Copy Markdown
Contributor

Closes #508

Summary
Introduces automated E2E testing for the dashboard's theme toggling capabilities to ensure the UI gracefully switches and persists the active Tailwind CSS color modes.

Changes Proposed

  • Created cypress/e2e/theme-toggle.cy.ts to mock auth and access the dashboard.
  • Simulated interactions with the theme switch to verify the injection and removal of the dark class on the root <html> element.
  • Validated that CSS properties dynamically update in response to the toggle.
  • Verified that the theme preference safely persists across page reloads via local storage caching.

@drips-wave

drips-wave Bot commented Sep 1, 2026

Copy link
Copy Markdown

@Ikechukwu-Patrick Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@johdanike
johdanike merged commit 22ca7b1 into SwiftChainn:main Sep 1, 2026
0 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Test] E2E: Toggle Dark/Light Mode on Dashboard Overview

2 participants