test(e2e): add end-to-end tests for playlist import, providers, and settings persistence

- Implemented tests for importing M3U playlists via native dialog.
- Added smoke tests for loading Xtream and Stalker content through IPC.
- Created tests to verify persistence of remote control settings across app restarts.
- Updated smoke tests to check for main window properties and workspace content rendering.

refactor(electron-backend): enhance store service and database path handling

- Modified store service to use a dynamic configuration directory based on environment.
- Refactored database connection to utilize new path utility functions for better path management.

fix(e2e): improve test selectors and structure for better reliability

- Updated test selectors in web-e2e tests to use role-based queries for better accessibility.
- Refactored settings tests to reduce redundancy and improve clarity.

chore(e2e): update TypeScript configuration for better inclusion of test files

- Adjusted tsconfig.json to ensure proper inclusion of e2e test files.

Entire-Checkpoint: bb9a8e2e351e
This commit is contained in:
4gray committed 2026-03-17 23:30:16 +01:00
1 parent 0c451b0dd7
commit 81c2aab829
23 files changed
+955 -443

No files matched your search

@@ -109,9 +109,7 @@
role="radio"
(click)="selectTheme(themeOption.value)"
>
<mat-icon>{{
themeOption.icon
}}</mat-icon>
<mat-icon>{{ themeOption.icon }}</mat-icon>
<span>{{
themeOption.labelKey | translate
}}</span>
@@ -487,6 +485,7 @@
<div class="setting-item__control setting-item__toggle">
<mat-checkbox
formControlName="remoteControl"
data-test-id="remote-control-enabled"
></mat-checkbox>
</div>
</div>
@@ -519,6 +518,7 @@
matInput
type="number"
id="remoteControlPort"
data-test-id="remote-control-port"
formControlName="remoteControlPort"
min="1"
max="65535"