Commit graph

4719 commits

Author SHA1 Message Date
Jake Barnby
afdd8cf58f
Merge branch '1.8.x' into cursor/update-docker-base-to-0-10-3-27d7 2025-08-09 17:50:31 +12:00
Cursor Agent
1885799ac8 Refactor: Move assertSamePixels method to a different location in Scope class
Co-authored-by: jakeb994 <jakeb994@gmail.com>
2025-08-09 05:47:40 +00:00
Cursor Agent
bb5e25ea4b Update GraphQL avatars test to validate response headers and content
Co-authored-by: jakeb994 <jakeb994@gmail.com>
2025-08-09 05:03:47 +00:00
Cursor Agent
f0e49bb2a3 Update avatar test to validate response headers and content type
Co-authored-by: jakeb994 <jakeb994@gmail.com>
2025-08-09 04:58:11 +00: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
ff8ad93544 Update avatar test to validate response headers and content type
Co-authored-by: jakeb994 <jakeb994@gmail.com>
2025-08-09 04:44:19 +00:00
Cursor Agent
375961c0fa Inline image comparison logic in Scope test class, remove ImageAssertions
Co-authored-by: jakeb994 <jakeb994@gmail.com>
2025-08-09 04:26:33 +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
6ca9cbf3d7 Update credit card icon size in AvatarsTest
Co-authored-by: jakeb994 <jakeb994@gmail.com>
2025-08-08 13:33:52 +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
Jake Barnby
89197e0f9e
Merge remote-tracking branch 'origin/1.7.x' into 1.8.x
# Conflicts:
#	app/config/specs/open-api3-latest-console.json
#	app/config/specs/swagger2-latest-console.json
#	composer.lock
2025-08-09 01:12:18 +12:00
Jake Barnby
96b7f31abb
Fix tests 2025-08-09 00:53:33 +12:00
Jake Barnby
4ff90783f3
Merge pull request #10273 from ArnabChatterjee20k/dat-600
updated database type to grids and legacy
2025-08-06 12:12:58 +00:00
ArnabChatterjee20k
ee9f1f8645 updated database type to grids and legacy 2025-08-06 17:30:11 +05:30
Matej Bačo
10a7f8acfe Formatting fix 2025-08-06 11:06:35 +02:00
Matej Bačo
61ec98bc5e Improve tests 2025-08-06 11:06:18 +02:00
Jake Barnby
5c202763aa
Merge branch '1.8.x' of github.com:appwrite/appwrite into 1.8.x 2025-08-06 18:05:17 +12:00
Jake Barnby
abad8bce70
Fix tests 2025-08-06 18:05:00 +12:00
Jake Barnby
33d2b2a27f
Merge pull request #10266 from ArnabChatterjee20k/dat-600
Added type attribute to the database creation flow
2025-08-06 05:57:19 +00:00
Jake Barnby
162358deff
Fix refs 2025-08-06 17:36:28 +12:00
ArnabChatterjee20k
4ed511f31c Merge remote-tracking branch 'upstream/1.8.x' into dat-600 2025-08-06 10:57:20 +05:30
Jake Barnby
bd4fb03b74
Merge remote-tracking branch 'origin/1.7.x' into 1.8.x
# Conflicts:
#	app/config/specs/open-api3-latest-client.json
#	app/config/specs/open-api3-latest-console.json
#	app/config/specs/open-api3-latest-server.json
#	app/config/specs/swagger2-latest-client.json
#	app/config/specs/swagger2-latest-console.json
#	app/config/specs/swagger2-latest-server.json
#	app/controllers/api/databases.php
#	composer.lock
#	tests/e2e/Services/Databases/Legacy/DatabasesBase.php
#	tests/e2e/Services/Migrations/MigrationsBase.php
2025-08-06 17:24:00 +12:00
ArnabChatterjee20k
28cf4e1d94 updated the validator of type of database to validator 2025-08-05 18:07:11 +05:30
Matej Bačo
2d4e99cb1a Revert revert of CAA validation 2025-08-05 13:44:06 +02:00
ArnabChatterjee20k
7fdbd12937 Merge remote-tracking branch 'upstream/1.8.x' into dat-600 2025-08-05 16:49:45 +05:30
ArnabChatterjee20k
f06af411ba Add 'type' attribute to database creation and update tests 2025-08-05 16:48:05 +05:30
Jake Barnby
0109ca218e
Merge pull request #10264 from appwrite/fix-dec-min-0
Fix atomic number ops with limit 0
2025-08-05 21:33:33 +12:00
Jake Barnby
43f0849979
Fix atomic num ops with limit 0 2025-08-05 20:38:26 +12:00
Matej Bačo
9c320f9c71
Revert "Check CAA record before issuing certificate" 2025-08-05 10:23:39 +02:00
ArnabChatterjee20k
697ac3447b fix: Update getUser method call in RealtimeCustomClientTest for clarity 2025-08-05 13:37:24 +05:30
ArnabChatterjee20k
5baa2ad113 refactor: Rename triggerQueuesForBulkDocuments to triggerBulk for consistency across document actions 2025-08-05 13:29:38 +05:30
ArnabChatterjee20k
a144d41020 feat: Enhance RealtimeCustomClientTest with permission updates and timeout assertions for clients 2025-08-05 11:53:17 +05:30
Matej Bačo
5e294d0849 Support empty CAA records 2025-08-04 15:35:40 +02:00
ArnabChatterjee20k
59026a17dc feat: Enhance database operations with event queues and improve test coverage for bulk operations
- Added event queue injections in Bulk Update and Create classes for better event handling.
- Modified getUser method in Scope class to allow for user retrieval with an override option.
- Expanded RealtimeCustomClientTest to include comprehensive tests for bulk create, update, and delete operations, ensuring proper event emissions for multiple clients.
- Improved assertions in tests to validate event data and permissions for created, updated, and deleted documents.
2025-08-04 19:01:48 +05:30
Matej Bačo
48a977526e Fix tests 2025-08-04 14:53:13 +02:00
Matej Bačo
689fbee10c Merge branch '1.7.x' into feat-check-CAA-in-DNS 2025-08-04 14:32:20 +02:00
Matej Bačo
4cafd2e07d Improve PR quality 2025-08-04 14:28:50 +02:00
Khushboo Verma
16685dad4e Update console tests 2025-08-04 01:49:08 +05:30
Khushboo Verma
69dbb3222f Add check in proxy 2025-08-04 01:33:47 +05:30
Khushboo Verma
d48aa60609 Update test 2025-08-04 01:22:10 +05:30
Khushboo Verma
484ebb5059 Check CAA record in DNSTest 2025-08-04 00:42:00 +05:30
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
ArnabChatterjee20k
27684ef38c Merge remote-tracking branch 'upstream/1.8.x' into dat-588 2025-08-01 13:54:13 +05:30
ArnabChatterjee20k
82fbc524f8 Add comprehensive tests for date and time operations in database rows
- Implemented `testDateTimeRow` to validate the behavior of datetime columns, including creation, retrieval, and modification of rows with custom createdAt and updatedAt timestamps.
- Added `testSingleRowDateOperations` to cover various scenarios for single row operations with custom date handling.
- Created `testBulkRowDateOperations` to test bulk creation and updates of rows with date fields.
- Introduced `testUpsertRowDateOperations` to verify upsert functionality with custom date fields.
- Cleaned up legacy test file by removing unnecessary blank lines.
2025-08-01 13:53:04 +05:30
ArnabChatterjee20k
de69692ff2 added modify createdAt/updatedAt support 2025-07-31 20:32:14 +05:30
Jake Barnby
1ea9aca90f
Fix test 2025-07-31 02:10:29 +12:00
Jake Barnby
efc21d3dcf
Fix tests 2025-07-31 00:12:59 +12:00
Jake Barnby
a21e37b054
Add permissions support for CSV 2025-07-30 23:42:01 +12:00
Jake Barnby
5b12a6c8b1
Add internal attributes CSV test 2025-07-30 16:50:09 +12:00
Jake Barnby
01c8dab34d
Fix CSV success test 2025-07-30 16:46:14 +12:00
Jake Barnby
6347d7da3f
Merge remote-tracking branch 'origin/1.7.x' into 1.8.x
# Conflicts:
#	composer.lock
2025-07-29 22:52:06 +12:00
Chirag Aggarwal
06e4920ee2 fix: create email target when using email otp registration 2025-07-29 11:57:57 +05:30
Jake Barnby
360e4ce992
Add test case 2025-07-29 16:54:39 +12:00
Darshan
7a5a3706b6 fix: tests. 2025-07-27 18:13:30 +05:30
Darshan
1ed45def9d update: graphql tests. 2025-07-27 15:23:07 +05:30
Darshan
1f31b75582 fix: tests. 2025-07-27 14:48:19 +05:30
Darshan
d7136e77ea fix: tests. 2025-07-27 13:50:34 +05:30
Jake Barnby
6637cc0ed7
Fix merge 2025-07-27 17:09:50 +12:00
Jake Barnby
cdbd89b3f3
Merge remote-tracking branch 'origin/1.7.x' into 1.8.x
# Conflicts:
#	app/config/specs/open-api3-1.8.x-client.json
#	app/config/specs/open-api3-1.8.x-console.json
#	app/config/specs/open-api3-1.8.x-server.json
#	app/config/specs/open-api3-latest-client.json
#	app/config/specs/open-api3-latest-console.json
#	app/config/specs/open-api3-latest-server.json
#	app/config/specs/swagger2-1.8.x-client.json
#	app/config/specs/swagger2-1.8.x-console.json
#	app/config/specs/swagger2-1.8.x-server.json
#	app/config/specs/swagger2-latest-client.json
#	app/config/specs/swagger2-latest-console.json
#	app/config/specs/swagger2-latest-server.json
#	app/controllers/api/databases.php
#	composer.lock
#	tests/e2e/Services/Databases/Legacy/DatabasesBase.php
2025-07-27 16:07:04 +12:00
Matej Bačo
e4dc36edf0
Merge pull request #10198 from hmacr/1we17-preview-for-emails
Preview text for emails
2025-07-24 16:47:08 +02:00
hmacr
ee5a644771 tests 2025-07-24 19:39:23 +05:30
hmacr
8240c9ccdc add tests 2025-07-23 20:39:02 +05:30
ArnabChatterjee20k
c398e08f90 Add user injection and permission handling in Upsert actions 2025-07-22 14:10:58 +05:30
Jake Barnby
cd39bd6512
Merge pull request #10179 from appwrite/dat-579
Added the cases of null permissions in the upsert route and update th…
2025-07-22 20:22:56 +12:00
ArnabChatterjee20k
7bb760b4a1 added test for relation related upsert , fixed formatting 2025-07-22 13:10:05 +05:30
Jake Barnby
7355711f24
Fix index tests 2025-07-22 16:35:35 +12:00
Jake Barnby
724ee41eff
Fix index tests 2025-07-22 14:48:48 +12:00
Jake Barnby
f33ed64f6a
Fix index tests 2025-07-22 14:14:08 +12:00
ArnabChatterjee20k
8b88a09374 added the cases of null permissions in the upsert route and update the e2e test 2025-07-21 19:32:27 +05:30
Jake Barnby
75bd0dc55b
Update tables test 2025-07-21 21:26:08 +12:00
Jake Barnby
51c95347a0
Merge remote-tracking branch 'origin/main' into 1.8.x
# Conflicts:
#	app/config/specs/open-api3-latest-client.json
#	app/config/specs/open-api3-latest-console.json
#	app/config/specs/open-api3-latest-server.json
#	app/config/specs/swagger2-latest-client.json
#	app/config/specs/swagger2-latest-console.json
#	app/config/specs/swagger2-latest-server.json
#	app/controllers/api/databases.php
2025-07-21 20:42:16 +12:00
Jake Barnby
891db255bc
Fix tests 2025-07-21 19:59:38 +12:00
Jake Barnby
f082cfacfa
Fix tests 2025-07-21 19:43:33 +12:00
Jake Barnby
f0f7381b97
Update libs 2025-07-21 19:13:34 +12:00
Jake Barnby
3e8cd9d748
Merge remote-tracking branch 'origin/1.7.x' into 1.8.x 2025-07-21 18:53:02 +12:00
Chirag Aggarwal
7fecfc73ca fix: formatting 2025-07-19 10:39:39 +05:30
Chirag Aggarwal
c55f039f13 chore: add unit test 2025-07-18 22:23:33 +05:30
Darshan
d6ec18bda7 update: maintain tests consistency. 2025-07-18 12:14:02 +05:30
Darshan
79bdf705d6 Merge branch '1.8.x' into 'bump-migrations'. 2025-07-18 10:57:29 +05:30
Darshan
9b1f5eb905 update: tests. 2025-07-18 10:55:48 +05:30
Jake Barnby
9ceeb76ad0
Merge branch '1.7.x' into 1.8.x
# Conflicts:
#	app/controllers/api/databases.php
#	composer.lock
#	src/Appwrite/GraphQL/Types/Mapper.php
2025-07-18 17:24:12 +12:00
Darshan
944f5ed7c1 update: mirror tests to Tables api. 2025-07-17 18:58:56 +05:30
Darshan
ee317b0b8d Merge branch '1.8.x' into 'lazy-load-relationships'. 2025-07-17 18:15:16 +05:30
Matej Bačo
8c57d28f8f
Merge pull request #10127 from appwrite/chore-speed-up-tests
Chore: speed up tests
2025-07-11 16:21:40 +02:00
Steven Nguyen
435a319fb6
Merge pull request #10130 from appwrite/fix-oauth2-redirect-validation
fix: success validation in oauth2 redirect
2025-07-10 09:06:43 -07:00
Matej Bačo
18492ab917 Revert unwanted change 2025-07-10 16:16:06 +02:00
Matej Bačo
89d54f847f Speed up build cancellation 2025-07-10 15:52:29 +02:00
Matej Bačo
6dc6ff6ba0 Fix formatting 2025-07-10 14:44:44 +02:00
Matej Bačo
581235f972 Fix more tests 2025-07-10 14:43:56 +02:00
Matej Bačo
f02ba4c976 Fix function tests 2025-07-10 14:25:53 +02:00
Matej Bačo
eaf9b8b228 Migrate remaining tests to node 2025-07-10 12:55:45 +02:00
Steven Nguyen
990e1b91bb
fix: omit : and @ if user and pass are empty
So, unparsing should not end up with https://:@appwrite.io just because user and pass are empty strings.
2025-07-09 22:09:18 -07:00
Steven Nguyen
f202685450
fix: handle parsing URL that is only a scheme
In react native, a redirect URL may only be a url scheme such as appwrite-callback-myproject://. Since parse_url() fails on this type of URL, we need to add this workaround.
2025-07-09 22:01:38 -07:00
ArnabChatterjee20k
1d9aac5a49 updated upsert document test with api key 2025-07-09 23:57:39 +05:30
ArnabChatterjee20k
ca61b528b9 reverted the api signature and started handling it internally 2025-07-09 23:49:56 +05:30
ArnabChatterjee20k
50109b833a removed tests for the upsert without permissions for passing the tests 2025-07-09 21:49:07 +05:30
Matej Bačo
5ace34790d Migrate many tests to JS 2025-07-09 16:58:55 +02:00
ArnabChatterjee20k
c36720e3b0 updated param of permissiosns in upsert and updated tests for upsert without permissions 2025-07-09 16:37:41 +05:30
Matej Bačo
e42275e0b7 Minify tests 2025-07-09 11:26:05 +02:00
Darshan
7ca951ed81 remove: {} 2025-07-08 15:43:51 +05:30
Darshan
020814e672 update: inline guest headers. 2025-07-08 15:43:28 +05:30
Darshan
7ea896301f update: test to include preview, view and download with file-security. 2025-07-08 15:42:38 +05:30
Darshan
97d5f0f030 add: e2e. 2025-07-08 15:34:52 +05:30
Chirag Aggarwal
5fffae39d4 chore: update naming and add tests 2025-07-05 17:59:01 +05:30
Jake Barnby
b2fa28754d
Merge remote-tracking branch 'origin/1.7.x' into 1.8.x
# Conflicts:
#	.github/workflows/benchmark.yml
#	composer.lock
#	src/Appwrite/Event/Database.php
2025-07-04 10:00:45 -04:00
Khushboo Verma
2545977d47 Fix site template test 2025-07-04 17:46:21 +05:30
Chirag Aggarwal
ef2dfb6cca
Merge branch '1.7.x' into feat-exp-scheme 2025-07-03 16:37:17 +05:30
Darshan
4d0bd1d74f add: delay, retries. 2025-07-01 18:10:19 +05:30
Darshan
385e4e14b8 add: delay, retries. 2025-07-01 17:33:11 +05:30
Chirag Aggarwal
8027251224
Merge branch '1.7.x' into feat-exp-scheme 2025-06-27 09:21:27 +05:30
Matej Bačo
df902d2624 Fix account tests using old token 2025-06-26 20:47:59 +02:00
Matej Bačo
d4b53175dc
Update tests/e2e/Scopes/Scope.php 2025-06-26 18:33:22 +02:00
Matej Bačo
87c100db28 Improve General tests logging 2025-06-26 18:09:07 +02:00
Matej Bačo
918ad8979d Fix flakyness of account tests 2025-06-26 18:07:59 +02:00
Chirag Aggarwal
06ce606ac7 Merge branch '1.7.x' into feat-exp-scheme 2025-06-26 18:38:10 +05:30
Matej Bačo
c85cfe132e Improve flaky tests logging 2025-06-25 15:53:59 +02:00
Darshan
bce666e81b add: scopes on migrations and update tests. 2025-06-25 17:02:21 +05:30
Matej Bačo
b6d4baf4dc Fix tests 2025-06-25 13:14:08 +02:00
Darshan
789064e295 add: new scopes to the api. 2025-06-25 11:29:45 +05:30
Chirag Aggarwal
65b5af1b00 chore: fix tests 2025-06-25 11:27:23 +05:30
Chirag Aggarwal
6dda6e1fda chore: remove console log 2025-06-25 11:25:39 +05:30
Chirag Aggarwal
c331a3caae chore: minor fixes 2025-06-25 11:00:07 +05:30
Chirag Aggarwal
dbc58655b2 Merge branch '1.7.x' into feat-exp-scheme 2025-06-25 07:53:28 +05:30
Darshan
7e026b11b4
Merge branch '1.8.x' into lazy-load-relationships 2025-06-23 10:45:55 +05:30
Steven Nguyen
ffc7f4c7ae
Merge pull request #9590 from appwrite/fix-templates
Fix template to use button
2025-06-21 09:33:06 -07:00
Darshan
4521302cb8 fix: graphql test for complex queries. 2025-06-19 18:36:32 +05:30
Darshan
531f50a2c7 fix: sdk namespacing and graphql tests. 2025-06-19 17:59:29 +05:30
Darshan
7ebe8f6c9e revert: legacy tests namespacing to old. 2025-06-19 17:34:16 +05:30
Darshan
c08db975d6
Merge branch '1.8.x' into database-aliases 2025-06-19 14:52:13 +05:30
Darshan
c93d92abef rename: tests from collections to legacy. 2025-06-19 10:52:15 +05:30
Jake Barnby
53a00deb0a
Merge pull request #10010 from ArnabChatterjee20k/dat-522
Added auth option to allow invalidating existing sessions
2025-06-18 17:41:41 -04:00
ArnabChatterjee20k
d053282bcb linting 2025-06-19 02:29:21 +05:30
ArnabChatterjee20k
225b6e8413 updated tests and project invaldate session 2025-06-19 02:26:58 +05:30
ArnabChatterjee20k
56494ca427 updated invalidation session during the change password in the account endpoint 2025-06-18 13:30:24 +05:30
Darshan
deb8b3a789 revert: stuff that is not supposed to be in this branch. 2025-06-17 11:11:47 +05:30
Darshan
34e4299e10
Merge branch '1.8.x' into database-aliases 2025-06-17 10:13:38 +05:30
ArnabChatterjee20k
28fbd64864 updated session invalidation tests , models and descriptions 2025-06-17 00:40:32 +05:30
ArnabChatterjee20k
7a0ba95231 updated onPasswordChange to invalidate session 2025-06-16 23:05:52 +05:30
Jake Barnby
e704e96290
Revert "Feat: Lazy-load relationships" 2025-06-16 11:48:27 -04:00
Jake Barnby
a21ccfd694
Merge pull request #9669 from appwrite/lazy-load-relationships
Feat: Lazy-load relationships
2025-06-16 11:48:18 -04:00
Jake Barnby
89f0c28e26
Merge remote-tracking branch 'origin/1.7.x' into 1.8.x
# Conflicts:
#	.coderabbit.yaml
2025-06-16 11:37:50 -04:00
Darshan
3be1aa3801
Merge branch '1.7.x' into fix-templates 2025-06-15 11:21:33 +05:30
ArnabChatterjee20k
fde2f278e8 added invalidating sessions for the project users 2025-06-14 18:07:42 +05:30
Darshan
44a5a3eca1
Merge branch '1.8.x' into lazy-load-relationships 2025-06-13 20:01:01 +05:30
Matej Bačo
e7c0111229
Merge branch '1.7.x' into feat-speed-up-site-tests 2025-06-13 12:05:48 +02:00
Darshan
8cbd06173d update: realtime channels checks for tables api. 2025-06-13 15:11:18 +05:30
Darshan
9cfff792fd add: graphql tests for bulk apis to server tests. 2025-06-13 14:13:26 +05:30
Darshan
6e1fa0526d add: graphql tests for bulk apis to server tests. 2025-06-13 14:07:33 +05:30