Signals folder under All Subscriptions, with its + on the folder's row (#256)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-16 17:39:04 +00:00
parent 0fdd609791
commit 8d93b58deb
5 changed files with 20 additions and 16 deletions

View File

@@ -1671,7 +1671,8 @@ test.describe('an item with no files, on a phone', () => {
});
test('a pinned feed, even one from inside a folder, goes to the top of the list', async ({ page }) => {
const rows = page.locator('#feedlist .feed');
// The Signals folder is first, under All Subscriptions (#256), and no feed.
const rows = page.locator('#feedlist .feed:not(.sigs)');
const group = page.locator('.feed.group').first();
if ((await group.locator('.chev').getAttribute('aria-expanded')) !== 'true') await group.locator('.chev').click();
const child = page.locator('.feed.child').first();
@@ -2078,9 +2079,8 @@ test('a Signal holds the items Jev says fit its keywords, read where they are re
const { id: feed } = await (await page.request.post('/api/feeds', { data: { url: 'http://127.0.0.1:8792/signal.xml' } })).json();
await page.reload();
// A folder, closed until opened, as an OPML's is (#255).
await page.locator('#feedlist .sigs .chev').click();
await page.locator('#feedlist .feed', { hasText: 'New signal' }).click();
// The + on the folder's own row (#256); making one opens the folder to show it.
await page.locator('#feedlist .sigs .sigadd').click();
await page.locator('#sgname').fill('F1');
await page.locator('#sgkwin').fill('monaco');
await page.keyboard.press('Enter');