fix(test): 初期セットアップで初期パスワードを入力していないのを修正 (#14685)

This commit is contained in:
かっこかり 2024-10-04 07:54:19 +09:00 committed by GitHub
parent 650e22c90d
commit a08a38c29a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

View File

@ -48,6 +48,7 @@ Cypress.Commands.add('registerUser', (username, password, isAdmin = false) => {
cy.request('POST', route, { cy.request('POST', route, {
username: username, username: username,
password: password, password: password,
...(isAdmin ? { setupPassword: 'example_password_please_change_this_or_you_will_get_hacked' } : {}),
}).its('body').as(username); }).its('body').as(username);
}); });