中文汉化
Deploy to Staging / deploy (push) Has been cancelled
Conflict detector / main (push) Has been cancelled
Lint Backend / lint-backend (push) Has been cancelled
Playwright Tests / changes (push) Has been cancelled
Test Backend / test-backend (push) Has been cancelled
Test Docker Compose / test-docker-compose (push) Has been cancelled
Playwright Tests / test-playwright (1, 4) (push) Has been cancelled
Playwright Tests / test-playwright (2, 4) (push) Has been cancelled
Playwright Tests / test-playwright (3, 4) (push) Has been cancelled
Playwright Tests / test-playwright (4, 4) (push) Has been cancelled
Playwright Tests / merge-playwright-reports (push) Has been cancelled
Playwright Tests / alls-green-playwright (push) Has been cancelled
Issue Manager / issue-manager (push) Has been cancelled

This commit is contained in:
z66
2025-12-18 09:40:41 +08:00
parent 6a91475bf6
commit db867dcbe5
41 changed files with 671 additions and 666 deletions
+2 -2
View File
@@ -75,13 +75,13 @@ test("Sign up with existing email", async ({ page }) => {
const email = randomEmail()
const password = randomPassword()
// Sign up with an email
// 使用邮箱注册
await page.goto("/signup")
await fillForm(page, fullName, email, password, password)
await page.getByRole("button", { name: "Sign Up" }).click()
// Sign up again with the same email
// 使用相同邮箱再次注册
await page.goto("/signup")
await fillForm(page, fullName, email, password, password)
+2 -2
View File
@@ -41,7 +41,7 @@ export function findLastEmail({
}) {
const timeoutPromise = new Promise<never>((_, reject) =>
setTimeout(
() => reject(new Error("Timeout while trying to get latest email")),
() => reject(new Error("获取最新邮件时超时")),
timeout,
),
)
@@ -53,7 +53,7 @@ export function findLastEmail({
if (emailData) {
return emailData
}
// Wait for 100ms before checking again
// 等待 100 毫秒后再次检查
await new Promise((resolve) => setTimeout(resolve, 100))
}
}
+1 -2
View File
@@ -1,5 +1,4 @@
// Note: the `PrivateService` is only available when generating the client
// for local environments
// 注意:`PrivateService` 仅在为本地环境生成客户端时可用
import { OpenAPI, PrivateService } from "../../src/client"
OpenAPI.BASE = `${process.env.VITE_API_URL}`