aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorPanagiotis "Ivory" Vasilopoulos <git@n0toose.net>2023-08-08 15:25:05 +0000
committerGitHub <noreply@github.com>2023-08-08 15:25:05 +0000
commitdaf709286397c30d12a75f5c7bb262486f531143 (patch)
tree144f75994e55c2f29faa27ee91fa2b8b3106b9c7 /tests
parent4fc4f6e6341cd6115dd7ac6e03888df16c6f718e (diff)
downloadgitea-daf709286397c30d12a75f5c7bb262486f531143.tar.gz
gitea-daf709286397c30d12a75f5c7bb262486f531143.zip
Improve multiple strings in en-US locale (#26213)
I kept sending pull requests that consisted of one-line changes. It's time to settle this once and for all. (Maybe.) - Explain Gitea behavior and the consequences of each setting better, so that the user does not have to consult the docs. - Do not use different spellings of identical terms interchangeably, e.g. `e-mail` and `email`. - Use more conventional terms to describe the same things, e.g. `Confirm Password` instead of `Re-Type Password`. - Introduces additional clarification for Mirror Settings - Small adjustments in test - This is a cry for help. - Grammar and spelling consistencies for en-US locale (e.g. cancelled -> canceled) - Introduce tooltip improvements. --------- Co-authored-by: delvh <dev.lh@web.de> Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> Co-authored-by: Giteabot <teabot@gitea.io>
Diffstat (limited to 'tests')
-rw-r--r--tests/e2e/example.test.e2e.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/e2e/example.test.e2e.js b/tests/e2e/example.test.e2e.js
index b0aa2b7a65..5e45bad24a 100644
--- a/tests/e2e/example.test.e2e.js
+++ b/tests/e2e/example.test.e2e.js
@@ -24,7 +24,7 @@ test('Test Register Form', async ({page}, workerInfo) => {
// Make sure we routed to the home page. Else login failed.
await expect(page.url()).toBe(`${workerInfo.project.use.baseURL}/`);
await expect(page.locator('.dashboard-navbar span>img.ui.avatar')).toBeVisible();
- await expect(page.locator('.ui.positive.message.flash-success')).toHaveText('Account was successfully created.');
+ await expect(page.locator('.ui.positive.message.flash-success')).toHaveText('Account was successfully created. Welcome!');
save_visual(page);
});