diff --git a/awx/ui/src/screens/Login/Login.js b/awx/ui/src/screens/Login/Login.js
index 7b70e150d8..0e9009a10a 100644
--- a/awx/ui/src/screens/Login/Login.js
+++ b/awx/ui/src/screens/Login/Login.js
@@ -208,6 +208,7 @@ function AWXLogin({ alt, isAuthenticated }) {
>
{(formik) => (
', () => {
);
});
+ test.only('form has autocomplete off', async () => {
+ let wrapper;
+ await act(async () => {
+ wrapper = mountWithContexts( false} />);
+ });
+ expect(wrapper.find('form[autoComplete="off"]').length).toBe(1);
+ });
+
test('custom logo renders Brand component with correct src and alt', async () => {
let wrapper;
await act(async () => {