A phone row's second line starts under the title, its date on the title's line (#500)
The line under an unread title (an episode's length) started under the unread dot, and the date was centred on the row, so a two-line row's date sat between its lines, off line with every other row's. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01RqkrVCCH8YcP2Y3i8VNYWA
This commit is contained in:
@@ -3293,6 +3293,11 @@ test.describe('on a phone', () => {
|
||||
await page.locator('#feedlist .feed', { hasText: 'Seasoned Show' }).click();
|
||||
await expect(row.locator('.t [role=img][aria-label="Unread"]')).toBeVisible();
|
||||
await expect(row.locator('.line [aria-label="Pinned"]')).toBeVisible();
|
||||
// What is under the title starts where its text does, past the dot, and the date is on the
|
||||
// title's line, not centred between the two.
|
||||
const [dot, mark, title, date] = await Promise.all(['.udot', '.pinmark', '.t', '.date'].map(s => row.locator(s).boundingBox()));
|
||||
expect(Math.abs(mark!.x - (dot!.x + dot!.width + 7))).toBeLessThan(2);
|
||||
expect(date!.y + date!.height).toBeLessThan(title!.y + title!.height + 3);
|
||||
await flags({ read: true, flagged: false });
|
||||
await page.reload();
|
||||
await page.locator('#burger').click();
|
||||
|
||||
Reference in New Issue
Block a user