Skip to content

test(tss): added integration test for dynamic theme switching at runtime - #41

Open
tmdeveloper007 wants to merge 3 commits into
mainfrom
#3291
Open

test(tss): added integration test for dynamic theme switching at runtime#41
tmdeveloper007 wants to merge 3 commits into
mainfrom
#3291

Conversation

@tmdeveloper007

Copy link
Copy Markdown
Owner

Summary of What Has Been Done

Added with 5 integration test cases verifying themes switch correctly at runtime.

Changes Made

  • Created with 5 test cases:
    • switches active theme and returns correct values for dark and light themes
    • fires when is called
    • returns correct resolved styles for widget after theme switch
    • reloads engine when .tss file changes
    • osc-11 background detection triggers theme switch via

Impact it Made

  • Ensures hot-reload of themes works without breaking active sessions
  • Validates the theme variable resolution path
  • Covers the runtime theme switching behavior that lacked test coverage

Closes Karanjot786#3291.

Note: please assign this PR to the tmdeveloper007 account.

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(tss): add integration test for dynamic theme switching at runtime

1 participant