diff --git a/src/editors/containers/ProblemEditor/components/EditProblemView/SettingsWidget/__snapshots__/index.test.jsx.snap b/src/editors/containers/ProblemEditor/components/EditProblemView/SettingsWidget/__snapshots__/index.test.jsx.snap
index 03d847439..8056153dd 100644
--- a/src/editors/containers/ProblemEditor/components/EditProblemView/SettingsWidget/__snapshots__/index.test.jsx.snap
+++ b/src/editors/containers/ProblemEditor/components/EditProblemView/SettingsWidget/__snapshots__/index.test.jsx.snap
@@ -1,5 +1,92 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
+exports[`SettingsWidget snapshot snapshot: renders Settings widget for Advanced Problem with correct widgets 1`] = `
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+`;
+
exports[`SettingsWidget snapshot snapshot: renders Settings widget page 1`] = `
-
-
-
+ {
+ problemType !== ProblemTypeKeys.ADVANCED && (
+
+
+
+ )
+ }
{
problemType === ProblemTypeKeys.ADVANCED && (
diff --git a/src/editors/containers/ProblemEditor/components/EditProblemView/SettingsWidget/index.test.jsx b/src/editors/containers/ProblemEditor/components/EditProblemView/SettingsWidget/index.test.jsx
index 8d1ea256f..3b014735f 100644
--- a/src/editors/containers/ProblemEditor/components/EditProblemView/SettingsWidget/index.test.jsx
+++ b/src/editors/containers/ProblemEditor/components/EditProblemView/SettingsWidget/index.test.jsx
@@ -56,6 +56,14 @@ describe('SettingsWidget', () => {
showAdvancedSettingsCards.mockReturnValue(showAdvancedSettingsCardsProps);
expect(shallow()).toMatchSnapshot();
});
+ test('snapshot: renders Settings widget for Advanced Problem with correct widgets', () => {
+ const showAdvancedSettingsCardsProps = {
+ isAdvancedCardsVisible: true,
+ setResetTrue: jest.fn().mockName('showAdvancedSettingsCards.setResetTrue'),
+ };
+ showAdvancedSettingsCards.mockReturnValue(showAdvancedSettingsCardsProps);
+ expect(shallow()).toMatchSnapshot();
+ });
});
describe('mapDispatchToProps', () => {