Commit d266ac6
Fix: Stop asserting an exact total post count in delete_post e2e test (#1621)
delete_post used a hardcoded absolute count ("Current results: 20 /
518") purely as a sanity check that filters were cleared and the
right page loaded. The total is not a fixed fixture value - it's the
live total on a shared test backend, which grows over time as other
automated tests create posts - so the exact match was guaranteed to
drift and fail independent of anything this test actually cares
about (the page size stays 20; only the total changes).
Assert the page-size portion and accept any total instead.
Claude-Session: https://claude.ai/code/session_0142M19Se37Y1pxoNy8HvTKV
Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com>1 parent 56058c9 commit d266ac6
1 file changed
Lines changed: 6 additions & 2 deletions
Lines changed: 6 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
107 | 107 | | |
108 | 108 | | |
109 | 109 | | |
110 | | - | |
111 | | - | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
112 | 116 | | |
113 | 117 | | |
114 | 118 | | |
| |||
0 commit comments