fix: remove an extra editing xblock modal on unit page (#2111)
This commit is contained in:
@@ -720,12 +720,6 @@ describe('<CourseUnit />', () => {
|
||||
userEvent.click(problemButton);
|
||||
});
|
||||
|
||||
await waitFor(() => {
|
||||
expect(screen.getByRole('heading', {
|
||||
name: new RegExp(`${addComponentMessages.blockEditorModalTitle.defaultMessage}`, 'i'),
|
||||
})).toBeInTheDocument();
|
||||
});
|
||||
|
||||
axiosMock
|
||||
.onGet(getCourseSectionVerticalApiUrl(blockId))
|
||||
.reply(200, courseSectionVerticalMock);
|
||||
|
||||
Reference in New Issue
Block a user