Jake Barnby
3ecb4ee4e2
Sync 1.8.x
2026-02-26 18:50:29 +13:00
Jake Barnby
1abc707285
Remove strict file size assertions from avatar tests
...
The PNG file size varies depending on ImageMagick version and
compression settings. The meaningful validations (dimensions,
format, content-type) are already being tested.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com >
2026-02-06 02:07:46 +13:00
Darshan
e5fa23ef6c
add: 1:1 comparison tests.
2025-11-21 20:05:31 +05:30
Damodar Lohani
b303bd1051
add correct assertion
2025-10-29 03:34:25 +00:00
Damodar Lohani
60a4266204
validate data length
2025-10-29 03:30:59 +00:00
eldadfux
f13c029751
Refactor avatar screenshot API to replace 'viewport' parameter with separate 'viewportWidth' and 'viewportHeight' parameters; update related tests for validation of new dimensions and edge cases.
2025-10-24 22:53:10 +01:00
Eldad Fux
e00a73f442
Enhance avatar screenshot API by adding 'scale' parameter for browser scaling; update related tests to validate new functionality and edge cases.
2025-10-22 10:22:17 +01:00
Eldad Fux
dfe87a0d37
Rename avatar screenshot endpoint from '/v1/avatars/screenshot' to '/v1/avatars/screenshots' for consistency; update related tests accordingly.
2025-10-22 01:40:31 +01:00
Eldad Fux
dc7bb627d5
Enhance avatar screenshot API with new parameters and validations; add GraphQL support and extensive tests for various scenarios
2025-10-22 01:24:31 +01:00
Eldad Fux
f35b80ba1a
Refactor avatar screenshot handling and add comprehensive tests for various header and parameter validations
2025-10-21 21:20:31 +01:00
Cursor Agent
44b3cbe597
Fix whitespace and indentation in AvatarsBase test method
...
Co-authored-by: jakeb994 <jakeb994@gmail.com >
2025-08-09 04:45:32 +00:00
Cursor Agent
612b03a9d6
Add assertSamePixels method to Scope class for image comparison
...
Co-authored-by: jakeb994 <jakeb994@gmail.com >
2025-08-09 04:24:04 +00:00
Cursor Agent
b1199c8cdd
Improve QR code image testing with pixel-level comparison
...
Co-authored-by: jakeb994 <jakeb994@gmail.com >
2025-08-09 04:15:44 +00:00
Cursor Agent
969e9cfa1e
Update QR code avatar test to use fixed file size instead of file read
...
Co-authored-by: jakeb994 <jakeb994@gmail.com >
2025-08-08 13:31:08 +00:00
Chirag Aggarwal
10b82716e4
chore: update test
2025-08-03 22:31:26 +05:30
Chirag Aggarwal
7c5dd9d0f4
add test
2025-08-03 13:38:59 +05:30
Steven Nguyen
9d47237da9
Merge branch '1.4.x' into fix-skip-non-ascii-chars-image
2023-09-29 11:07:31 -07:00
Steven Nguyen
f2feecf84e
Fix avatars tests
...
Because the tests referenced images on the appwrite.io website, but the
appwrite.io website changed, the tests broke. This updates the tests to
reference valid images/URLs.
In addition, the favicon test was changed to use github.com because
appwrite.io has an SVG favicon which the avatars API does not support.
2023-09-29 10:25:22 -07:00
Bradley Schofield
1136dc9e64
Add Test and don't stop on special char
2023-09-29 16:27:59 +01:00
Jake Barnby
085b50be8b
Check if host is public domain before requesting
2023-08-30 02:04:52 -04:00
Bradley Schofield
9e0e2f8e77
Add Tests
...
+ Added Tests
+ Remove unneeded rand variable
2022-09-05 11:21:04 +01:00
Everly Precia Suresh
19300ccdd7
format files in app, src, tests
2022-05-23 14:54:50 +00:00
Torsten Dittmann
79c79cd96e
fix: url scheme validation
2022-02-16 16:16:37 +01:00
Eldad Fux
12015a75e0
Added more tests
2021-01-10 07:53:58 +02:00
Eldad Fux
f1112ca5f2
Fixed avatar tests
2020-07-06 22:53:26 +03:00
Eldad Fux
11b935756b
Added tests
2020-06-09 22:54:15 +03:00
Eldad Fux
46cfa9ee92
Updated $uid to $id
2020-02-17 09:16:11 +02:00
Eldad Fux
327b82dffc
Improved e2e tests
2020-01-12 13:11:16 +02:00