appwrite/tests/e2e
Jake Barnby 1c85789a6e fix: scope cache tests to setup document IDs to avoid count mismatch
The testListDocumentsWithCache and testListDocumentsCacheBustedByAttributeChange
tests were failing because testCreateDocument (which runs earlier) adds 3 more
documents to the same movies collection, resulting in 6 docs instead of expected 3.
Additionally, the cache bust test was getting a cache 'hit' instead of 'miss' on
its first request due to sharing the same cache key as the previous test.

Fix by filtering all cache test queries to the 3 known setup document IDs, and
using distinct select/order queries in each test to avoid cache key collisions.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-26 20:34:46 +13:00
..
General Timing updates 2026-02-24 14:00:07 +13:00
Scopes Switch types 2026-02-25 21:42:28 +13:00
Services fix: scope cache tests to setup document IDs to avoid count mismatch 2026-02-26 20:34:46 +13:00
Traits Consolidate, remove depends, add fixtures 2026-01-10 03:21:31 +13:00
Client.php Merge remote-tracking branch 'origin/feat-db-tests' into feat-mongodb 2026-02-18 03:27:23 +13:00