diff --git a/web/e2e/account.mjs b/web/e2e/account.mjs index 834c749..32797ef 100644 --- a/web/e2e/account.mjs +++ b/web/e2e/account.mjs @@ -130,8 +130,8 @@ async function main() { () => document.querySelector('input[aria-label="昵称"]')?.value?.length > 0, ); await page.getByLabel("昵称").fill(nickname); - await page.getByRole("button", { name: "保存昵称" }).click(); - await page.waitForSelector("text=昵称已更新"); + await page.getByRole("button", { name: "保存资料" }).click(); + await page.waitForSelector("text=资料已更新"); check("昵称保存成功", true); const currentField = page.getByLabel("当前密码");