Commit Graph

198 Commits

Author SHA1 Message Date
Jake Barnby 5cb36a0a3a fix: resolve E2E test race conditions in parallel execution
- Add probe callback support to getLastEmail(), getLastEmailByAddress(),
  and getLastRequest() to filter results by content before accepting
- Fix variable name typo in TeamsCustomClientTest ($email vs $lastEmail)
- Add event probes to all 56 webhook test getLastRequest() calls to
  filter by specific event pattern (resource ID + action)
- Add email probes to Account OTP/recovery/magic-url tests to wait for
  the correct email (security phrase, Password Reset subject, etc.)
- Add email probes to Projects tests for recovery email URL matching
- Increase FunctionsSchedule future time from 1min to 2min to avoid
  timing issues when seconds are zeroed

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-24 14:43:15 +13:00
Jake Barnby 1cb7c4b3f6 Merge remote-tracking branch 'origin/1.8.x' into feat-mongodb
# Conflicts:
#	.gitignore
#	composer.lock
#	tests/e2e/Services/Teams/TeamsCustomClientTest.php
2026-02-24 14:06:57 +13:00
Jake Barnby bada1a7c05 Timing updates 2026-02-24 14:00:07 +13:00
Matej Bačo 5414cc67ab Finalize html encoding rework 2026-02-23 12:54:20 +01:00
Chirag Aggarwal 2d05d608f4 Upgrade utopia-php dependencies and fix namespace changes
- Upgrade utopia-php/cli from 0.15 to 0.22
- Upgrade utopia-php/analytics from 0.10 to 0.15
- Upgrade utopia-php/orchestration from 0.9 to 0.19
- Use dev branches for utopia-php/framework and utopia-php/platform
- Remove utopia-php/swoole dependency (merged into framework)
- Migrate Utopia\CLI\Console to Utopia\Console across all files
- Migrate Utopia\Http to Utopia\Http\Http namespace
- Migrate Utopia\Swoole\Files to Utopia\Http\Files (now instance-based)
- Convert static CLI::setResource() calls to instance-based Dependency API
- Fix StatsResources task named parameter mismatch
2026-02-10 10:34:24 +05:30
Jake Barnby 9f9d195daf fix: Add retry logic and defensive checks for Teams owner downgrade test
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-06 21:16:41 +13:00
Jake Barnby b1257cc40a perf: Remove @depends from Webhooks and Teams tests
Enables --functional mode for parallel test execution by:
- Adding helper methods for independent test setup
- Removing all #[Depends] annotations
- Using static caching for shared resources

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-06 04:47:12 +13:00
Jake Barnby 714b8d7ea6 Migrate to PHPUnit 11 2026-01-15 16:14:53 +13:00
Jake Barnby 84f9485049 Fix tests 2026-01-15 14:04:39 +13:00
Jake Barnby 879a599bed Fix parallel cases 2026-01-11 02:33:20 +13:00
shimon a7dbb3daea Refactor API parameters to replace 'includeTotal' with 'total' across multiple endpoints for consistency in response handling. 2025-10-29 11:08:08 +02:00
shimon 5f3316ff18 fix assertion order 2025-10-20 18:38:14 +03:00
shimon fb4e3e1b9d Implement 'includeTotal' parameter across multiple API endpoints to control total count in responses, ensuring consistent behavior in session, log, and membership retrievals. 2025-10-20 18:18:17 +03:00
Darshan e6d143c806 Merge branch '1.7.x' into fix-templates 2025-06-10 14:20:28 +05:30
Darshan 67cb3aad2f fix: test. 2025-05-30 18:05:03 +05:30
Darshan 3063ac899c update: tests. 2025-05-30 14:21:11 +05:30
Darshan 2de9b85d6b Merge branch 'main' into 'fix-teams-deletion'. 2025-05-27 19:16:40 +05:30
Darshan 3adbe8a8f5 revert: minor change. 2025-05-26 11:41:58 +05:30
Darshan 96bef81ebc fix: tests! 2025-05-26 11:33:58 +05:30
Darshan 3f839e3807 update: tests to account for console and custom client projects. 2025-05-25 12:27:29 +05:30
Matej Bačo c5d4173923 Merge branch '1.6.x' into 1.7.x 2025-05-15 18:27:56 +02:00
Darshan 15992da369 update: tests. 2025-05-15 15:01:23 +05:30
Darshan f13a28cf6d Merge branch '1.7.x' into fix-templates 2025-05-04 19:08:06 +05:30
Chirag Aggarwal 74abf4897b chore: fix teamCreateMembership 2025-04-14 08:47:57 +00:00
Darshan 2243f0c72e fix: test for only console db <> orgs. 2025-04-06 10:29:18 +05:30
Darshan c3c568653f add: roles check test. 2025-04-06 10:21:55 +05:30
Darshan 736078203a update: change method name. 2025-03-29 18:22:59 +05:30
Darshan 6f501e2777 fix: teams test. 2025-03-29 17:19:46 +05:30
Chirag Aggarwal d259f21c65 refactor: tests to match the new membership logic 2025-02-12 10:48:32 +00:00
Chirag Aggarwal 3a5342ae24 chore: added test cases 2025-01-30 05:05:26 +00:00
Chirag Aggarwal 120ceeedad chore: review 2025-01-16 04:27:25 +00:00
Chirag Aggarwal b5449a8ca6 fix: resend invitation 2025-01-13 18:25:48 +00:00
Torsten Dittmann 5f56c45c6c fix: team invites with existing session 2024-11-19 17:18:51 +01:00
loks0n ca533f40c9 fix: memberships-privacy mfa only 2024-11-13 10:45:50 +01:00
loks0n 21e946e9b6 fix: tests 2024-11-07 19:12:41 +01:00
loks0n e7e1a5b11f fix: tests 2024-11-07 11:13:20 +01:00
loks0n e4c6e97ded feat: memberships privacy 2024-11-06 21:15:31 +01:00
loks0n a6ae565093 fix: tests 2024-11-06 17:54:02 +01:00
loks0n cb70a51adb fix: tests 2024-11-06 16:35:31 +01:00
loks0n 12b60e01cf fix: tests 2024-11-06 15:51:15 +01:00
loks0n 0e254618f6 fix: tests 2024-11-05 18:37:48 +01:00
loks0n 9d1f366161 fix: console 2024-11-05 17:59:14 +01:00
loks0n 71879236b8 fix: disable test 2024-11-05 17:42:01 +01:00
loks0n 8ecc2058a1 fix: tests 2024-11-05 17:19:56 +01:00
loks0n 69e8fdf077 chore: refactor 2024-11-05 17:05:21 +01:00
loks0n 4c14375d89 fix: tests 2024-11-01 13:31:33 +00:00
loks0n 37d60e1039 fix: var name 2024-11-01 13:28:13 +00:00
loks0n f5e2f4acfa fix: endpoint name 2024-11-01 12:53:54 +00:00
loks0n c9b2d6eb90 feat: teamHideSensitiveFields 2024-11-01 11:38:56 +00:00
Damodar Lohani b30e5d4cda fix test 2024-09-05 03:52:00 +00:00