Skip to content

Commit

Permalink
fix(test): 初期セットアップで初期パスワードを入力していないのを修正
Browse files Browse the repository at this point in the history
  • Loading branch information
kakkokari-gtyih committed Oct 3, 2024
1 parent d2175a9 commit 8e5f5c0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cypress/support/commands.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
});

Expand Down

0 comments on commit 8e5f5c0

Please sign in to comment.