Add Sign Up e2e tests (#1268)

This commit is contained in:
Alejandra
2024-07-29 12:53:43 -05:00
committed by GitHub
parent 41999a694f
commit 8f7004821a
3 changed files with 182 additions and 1 deletions

View File

@@ -0,0 +1,11 @@
export const randomEmail = () =>
`test_${Math.random().toString(36).substring(7)}@example.com`
export const randomTeamName = () =>
`Team ${Math.random().toString(36).substring(7)}`
export const slugify = (text: string) =>
text
.toLowerCase()
.replace(/\s+/g, "-")
.replace(/[^\w-]+/g, "")