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

View file

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