diff --git a/src/course-outline/CourseOutline.test.jsx b/src/course-outline/CourseOutline.test.jsx index dafc7d8e82..0f7973f277 100644 --- a/src/course-outline/CourseOutline.test.jsx +++ b/src/course-outline/CourseOutline.test.jsx @@ -556,12 +556,14 @@ describe('', () => { const configureBtn = await within(firstSubsection).findByTestId('subsection-card-header__menu-configure-button'); fireEvent.click(configureBtn); - const releaseDatePicker = await findByTestId('release-date-picker'); + expect(await findByText(newGraderType)).toBeInTheDocument(); + const releaseDateStack = await findByTestId('release-date-stack'); + const releaseDatePicker = await within(releaseDateStack).findByPlaceholderText('MM/DD/YYYY'); expect(releaseDatePicker).toHaveValue('08/10/2025'); - const dueDatePicker = await findByTestId('release-date-picker'); + const dueDateStack = await findByTestId('due-date-stack'); + const dueDatePicker = await within(dueDateStack).findByPlaceholderText('MM/DD/YYYY'); expect(dueDatePicker).toHaveValue('09/10/2025'); - expect(await findByText(newGraderType)).toBeInTheDocument(); const advancedTab = await findByRole('tab', { name: configureModalMessages.advancedTabTitle.defaultMessage }); fireEvent.click(advancedTab); const radioButtons = await findAllByRole('radio'); diff --git a/src/course-outline/configure-modal/BasicTab.jsx b/src/course-outline/configure-modal/BasicTab.jsx index 215fb31253..be24b28931 100644 --- a/src/course-outline/configure-modal/BasicTab.jsx +++ b/src/course-outline/configure-modal/BasicTab.jsx @@ -28,21 +28,22 @@ const BasicTab = ({

- - +
+ + +
{ isSubsection && ( @@ -60,21 +61,23 @@ const BasicTab = ({ {createOptions()} - - +
+ + +
)