aboutsummaryrefslogtreecommitdiffstats
path: root/tools/post-edit-test.js
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-10-25 13:37:17 -0700
committerAdam Soltys <[email protected]>2026-10-25 13:37:17 -0700
commit0a0fef43ffe112271a70c53f4399c4fb9b5b5dd6 (patch)
treee58c976cda28837786f12385ab2ac87e07212b5f /tools/post-edit-test.js
parent697f09427e31aa5f6fe7e86a709f6e2a4c01f4eb (diff)
downloadcoinosv3-0a0fef43ffe112271a70c53f4399c4fb9b5b5dd6.tar.gz
coinosv3-0a0fef43ffe112271a70c53f4399c4fb9b5b5dd6.zip
A post you deleted leaves your profile's list (and any feed it was reposted into) instead of leaving a "This post was deleted by its author" row; threads still keep the deleted post's place
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01QjVvE4YAcK3AGwV7kZXeN4
Diffstat (limited to 'tools/post-edit-test.js')
-rw-r--r--tools/post-edit-test.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/post-edit-test.js b/tools/post-edit-test.js
index 0b8bf6f..2ed1260 100644
--- a/tools/post-edit-test.js
+++ b/tools/post-edit-test.js
@@ -160,6 +160,7 @@ try {
await openFeed();
check('the feed is back', await waitText('a post a stranger tried to delete', 15000));
check('my deleted post stays gone', !(await has('my own post')));
+ check('...with no "was deleted" row in its place', !(await has('deleted by its author')));
check('no page errors', errs.length === 0, errs.slice(0, 2).join(' | '));
} finally { await browser.close(); server.stop(true); }
console.log(ok ? '\nāœ… post edits and deletions' : '\nāŒ failed');