summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authortechknowlogick <techknowlogick@gitea.io>2023-08-21 15:27:50 -0400
committerGitHub <noreply@github.com>2023-08-21 19:27:50 +0000
commitb3f713717407fcb66515a7a702e81b2028800f76 (patch)
tree659d47cf53867f6ae8f6608625898d993a7b492c /tests
parent02a45e8d581eb484906c684e505f1b4d417a2b03 (diff)
downloadgitea-b3f713717407fcb66515a7a702e81b2028800f76.tar.gz
gitea-b3f713717407fcb66515a7a702e81b2028800f76.zip
Update minimum password length requirements (#25946)
Diffstat (limited to 'tests')
-rw-r--r--tests/e2e/example.test.e2e.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/e2e/example.test.e2e.js b/tests/e2e/example.test.e2e.js
index 5e45bad24a..870c28cc77 100644
--- a/tests/e2e/example.test.e2e.js
+++ b/tests/e2e/example.test.e2e.js
@@ -18,8 +18,8 @@ test('Test Register Form', async ({page}, workerInfo) => {
await expect(response?.status()).toBe(200); // Status OK
await page.type('input[name=user_name]', `e2e-test-${workerInfo.workerIndex}`);
await page.type('input[name=email]', `e2e-test-${workerInfo.workerIndex}@test.com`);
- await page.type('input[name=password]', 'test123');
- await page.type('input[name=retype]', 'test123');
+ await page.type('input[name=password]', 'test123test123');
+ await page.type('input[name=retype]', 'test123test123');
await page.click('form button.ui.green.button:visible');
// Make sure we routed to the home page. Else login failed.
await expect(page.url()).toBe(`${workerInfo.project.use.baseURL}/`);