mirror of
https://github.com/coollabsio/coolify.git
synced 2026-11-06 13:10:37 -04:00
fix(modal): let password managers autofill the confirmation password
Closes #9963 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
c6b52a1d36
commit
67673525a8
@@ -38,7 +38,11 @@ it('lets a user delete their own account from the profile page', function () {
|
||||
->screenshot(filename: 'delete-account-modal')
|
||||
->fill('[x-model="userConfirmationText"]', 'leaving@example.com')
|
||||
->screenshot(filename: 'delete-account-confirm-text')
|
||||
// Password managers detect fields when they are added or focused, not when a hidden one shows.
|
||||
->assertScript('() => document.querySelector(\'input[type="password"][x-model="password"]\') === null', true)
|
||||
->click('button:visible:has-text("Continue")')
|
||||
->wait(0.3)
|
||||
->assertScript('() => document.activeElement?.matches(\'input[type="password"][x-model="password"]\')', true)
|
||||
->fill('[x-model="password"]', 'password')
|
||||
->screenshot(filename: 'delete-account-password');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user