stack/apps/e2e/tests/backend/endpoints/api/v1
Aman Ganapathy ba38f26014
Update email rendering code to use latest version of freestyle and to have a fallback with vercel sandbox (#1091)
Previously, we were using an old version of `freestyle.sh` and
experienced issues with it failing. We want to update it to the latest
API and also introduce a fallback that can be used when freestyle fails
to improve reliability. We refactor the `freestyle.tsx` wrapper code
around `freestyle` to a `js-execution-engine`, which also offers
opportunities to extend the email rendering engine abstraction in the
future. If `freestyle` encounters runtime errors while running the code
or fails, we retry once and then default to `Vercel sandbox`. Note that
we also introduce a sanity test: 5% of the time, we will run the code
through both `freestyle` and the `Vercel Sandbox` and log it if the
results don't match.

As a chore, we also up the time limit on a `failed-email-digest.test.ts`
test to make it less flakey.
2026-01-14 10:53:16 -08:00
..
__snapshots__ Onboarding app & restricted users (#1069) 2026-01-11 17:22:14 -08:00
auth Onboarding app & restricted users (#1069) 2026-01-11 17:22:14 -08:00
contact-channels Onboarding app & restricted users (#1069) 2026-01-11 17:22:14 -08:00
emails Support async replicas (#1097) 2026-01-12 15:07:08 -08:00
integrations Speed up tests (#1063) 2025-12-28 11:25:04 -08:00
internal Update email rendering code to use latest version of freestyle and to have a fallback with vercel sandbox (#1091) 2026-01-14 10:53:16 -08:00
payments upgrade/downgrade plans (#1087) 2026-01-14 00:17:29 +00:00
api-keys.test.ts Email outbox backend (#1030) 2025-12-12 10:26:38 -08:00
auth-flows.test.ts Fix tests 2025-07-16 11:42:25 -07:00
check-feature-support.test.ts More backend endpoint implementations (#126) 2024-07-13 22:04:53 -07:00
connected-accounts.test.ts Customizable ports (#962) 2025-10-20 15:24:47 -07:00
data-vault.test.ts Speed up tests (#1063) 2025-12-28 11:25:04 -08:00
email-themes.test.ts Email templates and project logos (#852) 2025-11-19 19:12:20 -08:00
index.test.ts Significantly faster users/[user_id] endpoint (and some others) (#998) 2025-11-05 09:15:36 -08:00
internal-metrics.test.ts "Last active at" column on users and sessions (#1081) 2026-01-09 11:39:07 -08:00
notification-preferences.test.ts Speed up tests (#1063) 2025-12-28 11:25:04 -08:00
oauth-providers.test.ts Speed up tests (#1063) 2025-12-28 11:25:04 -08:00
project-permission-definitions.test.ts Config DB migration step 2 (#629) 2025-04-29 14:52:45 -07:00
project-permissions.test.ts Speed up tests (#1063) 2025-12-28 11:25:04 -08:00
projects.test.ts Add more indexes 2025-12-30 03:52:28 +01:00
render-email.test.ts Email Drafts (#849) 2025-09-10 22:57:18 +00:00
restricted-users.test.ts Onboarding app & restricted users (#1069) 2026-01-11 17:22:14 -08:00
send-email.test.ts Email outbox backend (#1030) 2025-12-12 10:26:38 -08:00
stripe-webhooks.test.ts Payment transactions (#990) 2025-11-18 12:11:01 -08:00
team-invitations.test.ts Onboarding app & restricted users (#1069) 2026-01-11 17:22:14 -08:00
team-member-profiles.test.ts Speed up tests (#1063) 2025-12-28 11:25:04 -08:00
team-memberships.test.ts Onboarding app & restricted users (#1069) 2026-01-11 17:22:14 -08:00
team-permission-definitions.test.ts Fix error where deleting a team creator default permission would make the dashboard crash 2025-08-11 17:42:54 -07:00
team-permissions.test.ts Speed up tests (#1063) 2025-12-28 11:25:04 -08:00
teams.test.ts Speed up tests (#1063) 2025-12-28 11:25:04 -08:00
unsubscribe-link.test.ts Email outbox backend (#1030) 2025-12-12 10:26:38 -08:00
users-primary-email.test.ts Onboarding app & restricted users (#1069) 2026-01-11 17:22:14 -08:00
users.test.ts Onboarding app & restricted users (#1069) 2026-01-11 17:22:14 -08:00