Skip to content
Snippets Groups Projects
Unverified Commit 5a848b44 authored by Alexander Polyankin's avatar Alexander Polyankin Committed by GitHub
Browse files

Do not reload settings on error when explicit Save is used (#17123)

parent 8b83319d
No related branches found
No related tags found
No related merge requests found
......@@ -87,8 +87,6 @@ export const updateEmailSettings = createThunkAction(
} catch (error) {
console.log("error updating email settings", settings, error);
throw error;
} finally {
await dispatch(reloadSettings());
}
};
},
......@@ -124,8 +122,6 @@ export const updateSlackSettings = createThunkAction(
} catch (error) {
console.log("error updating slack settings", settings, error);
throw error;
} finally {
await dispatch(reloadSettings());
}
};
},
......@@ -143,8 +139,6 @@ export const updateLdapSettings = createThunkAction(
} catch (error) {
console.log("error updating LDAP settings", settings, error);
throw error;
} finally {
await dispatch(reloadSettings());
}
};
},
......
......@@ -52,7 +52,7 @@ describe("scenarios > admin > settings > SSO > LDAP", () => {
cy.button("Changes saved!");
});
it.skip("should not reset previously populated fields when validation fails for just one of them (metabase#16226)", () => {
it("should not reset previously populated fields when validation fails for just one of them (metabase#16226)", () => {
cy.findByPlaceholderText("ldap.yourdomain.org").type("foobar");
cy.findByPlaceholderText("389").type("baz");
cy.button("Save changes").click();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment