Commit graph

15 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
bada1a7c05 Timing updates 2026-02-24 14:00:07 +13:00
Jake Barnby
2c5dee0fdd fix: resolve test failures in Databases, Functions, Messaging, Storage
- Fix typo CLient -> Client in DatabasesBase.php:4568
- Fix typo CLient -> Client in StorageCustomClientTest.php:428
- Fix cleanupFunction() call with extra parameter in FunctionsScheduleTest.php:175
- Increase message scheduling test timeouts from 30s to 180s for CI stability

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-06 04:03:40 +13:00
Jake Barnby
20f7af49b1 fix: increase FunctionsSchedule test timeout for CI stability
Remove explicit sleep and increase assertEventually timeout from 60s to
180s to account for slower deployment and scheduling in CI. Also use
assertGreaterThanOrEqual to handle cases where multiple executions
may have run.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-05 18:45:30 +13:00
Khushboo Verma
c087449725 Fix schedule execution test 2025-08-27 12:39:38 +05:30
Khushboo Verma
1458505201 Address PR comments 2025-08-26 12:55:51 +05:30
Matej Bačo
5ace34790d Migrate many tests to JS 2025-07-09 16:58:55 +02:00
loks0n
35c2978b74 fix: test warning 2024-11-06 19:01:18 +01:00
Jake Barnby
8bc37026cd
Revert "Feat adding coroutines" 2024-10-08 20:54:40 +13:00
Binyamin Yawitz
16835f96bf
chore: merge 2024-10-07 11:02:18 -04:00
loks0n
a45db60313 fix: falsy values 2024-10-02 14:16:25 +01:00
loks0n
2d102a122c fix: tests 2024-09-20 13:42:08 +01:00
loks0n
41490602f7 fix: template 2024-09-20 10:38:43 +01:00
loks0n
e4ad2ed566 fix: realtime tests 2024-09-20 09:33:26 +01:00
loks0n
321227db15 fix: seperate tests 2024-09-20 09:15:05 +01:00
Renamed from tests/e2e/Services/Functions/FunctionsScheduleTest.php (Browse further)