mirror of
https://github.com/Qortal/Qortal-Hub.git
synced 2025-07-23 04:36:52 +00:00
ensure it toggles back to original setting
This commit is contained in:
@@ -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('😸');
|
||||
})
|
||||
})
|
Reference in New Issue
Block a user