summaryrefslogtreecommitdiff
path: root/cypress/e2e
diff options
context:
space:
mode:
authorかっこかり <67428053+kakkokari-gtyih@users.noreply.github.com>2024-10-03 18:18:00 +0900
committerGitHub <noreply@github.com>2024-10-03 18:18:00 +0900
commit2c1a7470d35cb840950e63008fb4014e5e341dd6 (patch)
tree54885d1453a2ae5d57bd500d7a6573630d6b3447 /cypress/e2e
parentUpdate CHANGELOG.md (diff)
downloadmisskey-2c1a7470d35cb840950e63008fb4014e5e341dd6.tar.gz
misskey-2c1a7470d35cb840950e63008fb4014e5e341dd6.tar.bz2
misskey-2c1a7470d35cb840950e63008fb4014e5e341dd6.zip
feat: サーバー初期設定時に初期パスワードを要求できるように (#14626)
* feat: サーバー初期設定時専用の初期パスワードを設定できるように * 無いのに入力された場合もエラーにする * :art: * :art: * cypress-devcontainerにもpassを設定(テストが失敗するため) * [ci skip] :art: * :v: * test: please revert this commit before merge * Revert "test: please revert this commit before merge" This reverts commit 66b2b48f66830d2450d8cda03955c143feba76c7. * Update locales/ja-JP.yml Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com> * build assets * Update Changelog * fix condition * fix condition * add comment * change error code * 他のエラーコードと合わせる * Update CHANGELOG.md --------- Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
Diffstat (limited to 'cypress/e2e')
-rw-r--r--cypress/e2e/basic.cy.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/cypress/e2e/basic.cy.ts b/cypress/e2e/basic.cy.ts
index d2525e0a7d..e4baeacbf3 100644
--- a/cypress/e2e/basic.cy.ts
+++ b/cypress/e2e/basic.cy.ts
@@ -23,6 +23,7 @@ describe('Before setup instance', () => {
cy.intercept('POST', '/api/admin/accounts/create').as('signup');
+ cy.get('[data-cy-admin-initial-password] input').type('example_password_please_change_this_or_you_will_get_hacked');
cy.get('[data-cy-admin-username] input').type('admin');
cy.get('[data-cy-admin-password] input').type('admin1234');
cy.get('[data-cy-admin-ok]').click();