fix: remove an extra editing xblock modal on unit page (#2111)

This commit is contained in:
Ihor Romaniuk
2025-06-10 19:11:01 +02:00
committed by GitHub
parent d440394067
commit ea33c15b36
5 changed files with 4 additions and 32 deletions

View File

@@ -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);