mirror of
https://github.com/Qortal/Qortal-Hub.git
synced 2025-04-20 10:05:56 +00:00
ensure it toggles back to original setting
This commit is contained in:
parent
35d486a62a
commit
373370f80e
@ -22,5 +22,7 @@ describe('PasswordField', () => {
|
||||
expect(getByTestId("password-text-indicator").textContent).toBe('😸');
|
||||
await user.click(getByTestId('toggle-view-password-btn'));
|
||||
expect(getByTestId("plain-text-indicator").textContent).toBe('🙀');
|
||||
await user.click(getByTestId('toggle-view-password-btn'));
|
||||
expect(getByTestId("password-text-indicator").textContent).toBe('😸');
|
||||
})
|
||||
})
|
Loading…
x
Reference in New Issue
Block a user