From f5a2a21f11dbdc308306adbddbeccbd9b8d9ef54 Mon Sep 17 00:00:00 2001 From: Jack Kingsman Date: Sun, 19 Apr 2026 20:45:11 -0700 Subject: [PATCH] Fix e2e tests --- tests/e2e/specs/favorites.spec.ts | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/tests/e2e/specs/favorites.spec.ts b/tests/e2e/specs/favorites.spec.ts index 4775f5d..198007b 100644 --- a/tests/e2e/specs/favorites.spec.ts +++ b/tests/e2e/specs/favorites.spec.ts @@ -52,6 +52,12 @@ test.describe('Favorites persistence', () => { return channels.some((c) => c.key === channelKey && c.favorite); }) .toBe(false); - await expect(page.getByText('Favorites')).not.toBeVisible(); + // The test channel should no longer appear under the Favorites header — + // but the Favorites section itself may remain if radio-synced contacts are favorited. + const channelsSectionHeader = page.getByText('Channels'); + await expect(channelsSectionHeader).toBeVisible(); + // Verify the channel now appears in the non-favorites Channels section + const channelEntry = page.getByText(channelName, { exact: true }).first(); + await expect(channelEntry).toBeVisible(); }); });