diff options
| author | Adam Soltys <[email protected]> | 2026-10-07 08:34:13 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2026-10-07 08:34:13 -0700 |
| commit | a6bae186071e7e07136a37f63864d0bf578edd16 (patch) | |
| tree | 6fa8a1086f5b30093f7c9085b6afe06d8c69aa60 /tools/image-tap-test.js | |
| parent | 7067ed8024cf8d4694fe260df90897c5ebecb245 (diff) | |
| parent | dfb017c1b10cb52c24f4f0bcf745c6abea11b98f (diff) | |
| download | coinosv3-a6bae186071e7e07136a37f63864d0bf578edd16.tar.gz coinosv3-a6bae186071e7e07136a37f63864d0bf578edd16.zip | |
Merge branch 'worktree-agent-a4c5f0908bc7757bf'
Diffstat (limited to 'tools/image-tap-test.js')
| -rw-r--r-- | tools/image-tap-test.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/image-tap-test.js b/tools/image-tap-test.js index c531bba..5ed182e 100644 --- a/tools/image-tap-test.js +++ b/tools/image-tap-test.js @@ -38,10 +38,11 @@ try { localStorage.setItem(k + ':follows', JSON.stringify({ tags: [['p', a]], c: '', at: now })); localStorage.setItem(k + ':feedNotes', JSON.stringify([{ id: 'c'.repeat(64), pubkey: a, kind: 1, created_at: now, content: 'a tall one http://localhost:5281/tall.png', tags: [] }])); localStorage.setItem(k + ':profiles', JSON.stringify({ [a]: { name: 'Poster', t: Date.now() } })); + localStorage.setItem('btc-wallet-feed:' + k, 'following'); // new wallets open on Popular }, [base, A]); await page.reload({ waitUntil: 'domcontentloaded' }); await waitText('receive', 20000); - await page.evaluate(() => document.querySelector('.app-bottom-nav .app-nav-button').click()); + await page.evaluate(() => document.querySelector('.app-nav-button[aria-label="Feed"]').click()); check('the picture is in the post', await waitFor(() => { const i = document.querySelector('.notes-feed img.note-img'); return i && i.complete && i.naturalWidth > 0; }, 20000)); // on the phone the box spans the column and the picture sits in its middle // (object-fit: contain); desktop Chrome sizes the box to the picture, so |
