Skip to content

Commit

Permalink
cd
Browse files Browse the repository at this point in the history
  • Loading branch information
PKulkoRaccoonGang committed Oct 30, 2024
1 parent 64ee339 commit 9db899e
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/generic/configure-modal/ConfigureModal.test.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,10 @@ describe('<ConfigureModal /> for Unit', () => {

expect(getByRole('button', { name: messages.cancelButton.defaultMessage })).toBeInTheDocument();
expect(getByRole('button', { name: messages.saveButton.defaultMessage })).toBeInTheDocument();

expect(queryByText(messages.discussionEnabledSectionTitle.defaultMessage)).toBeInTheDocument();
expect(queryByText(messages.discussionEnabledCheckbox.defaultMessage)).toBeInTheDocument();
expect(queryByText(messages.discussionEnabledDescription.defaultMessage)).toBeInTheDocument();
});
});

Expand Down Expand Up @@ -278,6 +282,9 @@ describe('<ConfigureModal /> for XBlock', () => {

expect(getByRole('button', { name: messages.cancelButton.defaultMessage })).toBeInTheDocument();
expect(getByRole('button', { name: messages.saveButton.defaultMessage })).toBeInTheDocument();

expect(queryByText(messages.discussionEnabledSectionTitle.defaultMessage)).not.toBeInTheDocument();
expect(queryByText(messages.discussionEnabledCheckbox.defaultMessage)).not.toBeInTheDocument();
expect(queryByText(messages.discussionEnabledDescription.defaultMessage)).not.toBeInTheDocument();
});
});

0 comments on commit 9db899e

Please sign in to comment.