aboutsummaryrefslogtreecommitdiffstats
path: root/tools/zap-deep-profile-test.js
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-10-07 08:34:13 -0700
committerAdam Soltys <[email protected]>2026-10-07 08:34:13 -0700
commita6bae186071e7e07136a37f63864d0bf578edd16 (patch)
tree6fa8a1086f5b30093f7c9085b6afe06d8c69aa60 /tools/zap-deep-profile-test.js
parent7067ed8024cf8d4694fe260df90897c5ebecb245 (diff)
parentdfb017c1b10cb52c24f4f0bcf745c6abea11b98f (diff)
downloadcoinosv3-a6bae186071e7e07136a37f63864d0bf578edd16.tar.gz
coinosv3-a6bae186071e7e07136a37f63864d0bf578edd16.zip
Merge branch 'worktree-agent-a4c5f0908bc7757bf'
Diffstat (limited to 'tools/zap-deep-profile-test.js')
-rw-r--r--tools/zap-deep-profile-test.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/zap-deep-profile-test.js b/tools/zap-deep-profile-test.js
index 555b54c..55c7b5d 100644
--- a/tools/zap-deep-profile-test.js
+++ b/tools/zap-deep-profile-test.js
@@ -41,6 +41,8 @@ try {
const zapBtn = await until(() => page.$('.note-actions .zap, button.zap, [aria-label*="zap" i]'), 20000);
check('a post with a zap button', !!zapBtn);
if (zapBtn) {
+ // (to the middle of the screen: at the bottom edge the tap lands on the bottom nav)
+ await zapBtn.evaluate((b) => b.scrollIntoView({ block: 'center' }));
await zapBtn.click();
// whatever the zap ends in, it says so in a toast or on the zap screen
const said = await until(() => page.evaluate(() => {