Skip to content

refactor(e2e): streamline Electron test fixtures and improve app life… - #257

Merged
h4yfans merged 2 commits into
mainfrom
chore/regen-ipc-bindings
Apr 17, 2026
Merged

refactor(e2e): streamline Electron test fixtures and improve app life…#257
h4yfans merged 2 commits into
mainfrom
chore/regen-ipc-bindings

Conversation

@h4yfans

@h4yfans h4yfans commented Apr 17, 2026

Copy link
Copy Markdown
Collaborator

…cycle management

  • Updated Playwright fixtures for Electron E2E tests to enhance clarity and maintainability.
  • Delegated launch and teardown processes to a dedicated utility, ensuring better resource management and error handling.
  • Removed redundant code and improved the organization of test setup, including the creation and cleanup of test vaults.
  • Enhanced the handling of user data directories to prevent state corruption between tests.## What

Why

How

Type

  • feat — new feature
  • fix — bug fix
  • refactor — restructure without behavior change
  • style — visual/UI only
  • perf — performance improvement
  • test — adding or updating tests
  • chore — tooling, deps, config
  • docs — documentation only
  • ci — CI/CD changes

Test plan

  • Unit tests added/updated
  • Integration tests added/updated
  • Manual testing (describe below)

Screenshots

Checklist

  • Self-reviewed the diff
  • No hardcoded secrets or credentials
  • Files stay under ~500 LOC
  • Follows immutable data patterns

h4yfans added 2 commits April 17, 2026 13:30
…cycle management

- Updated Playwright fixtures for Electron E2E tests to enhance clarity and maintainability.
- Delegated launch and teardown processes to a dedicated utility, ensuring better resource management and error handling.
- Removed redundant code and improved the organization of test setup, including the creation and cleanup of test vaults.
- Enhanced the handling of user data directories to prevent state corruption between tests.
…ine fixtures

- Introduced a new utility for Electron app lifecycle management, improving launch and teardown processes.
- Updated test fixtures to utilize the new utility, enhancing clarity and maintainability.
- Improved handling of user data directories to prevent state corruption between tests.
- Removed redundant code and streamlined the organization of test setup and cleanup processes.
@h4yfans
h4yfans merged commit 5afc530 into main Apr 17, 2026
1 check failed
@h4yfans
h4yfans deleted the chore/regen-ipc-bindings branch April 17, 2026 10:31
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.

1 participant