From fcc986749cf11591d7a7867a79bf3a56cfcc76ba Mon Sep 17 00:00:00 2001 From: Jethary Date: Tue, 12 Sep 2023 13:23:36 -0400 Subject: [PATCH 1/2] fix(app): interventional modal test remove link --- .../InterventionModal/__tests__/InterventionModal.test.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/organisms/InterventionModal/__tests__/InterventionModal.test.tsx b/app/src/organisms/InterventionModal/__tests__/InterventionModal.test.tsx index 2f1317fca63..2c251e1603d 100644 --- a/app/src/organisms/InterventionModal/__tests__/InterventionModal.test.tsx +++ b/app/src/organisms/InterventionModal/__tests__/InterventionModal.test.tsx @@ -45,10 +45,10 @@ describe('InterventionModal', () => { } }) - it('renders an InterventionModal with the robot name in the header, learn more link, and confirm button', () => { + it('renders an InterventionModal with the robot name in the header and confirm button', () => { const { getByText, getByRole } = render(props) getByText('Pause on Otie') - getByText('Learn more about manual steps') + // getByText('Learn more about manual steps') getByRole('button', { name: 'Confirm and resume' }) }) From 34a12bb32ee0441f73a54d7964e31a640aa4b380 Mon Sep 17 00:00:00 2001 From: Jethary Date: Tue, 12 Sep 2023 14:00:39 -0400 Subject: [PATCH 2/2] fix moduleoverflowmenu test that is failing for some reason --- .../organisms/ModuleCard/__tests__/ModuleOverflowMenu.test.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/organisms/ModuleCard/__tests__/ModuleOverflowMenu.test.tsx b/app/src/organisms/ModuleCard/__tests__/ModuleOverflowMenu.test.tsx index c7519d6e049..200a0f7bf17 100644 --- a/app/src/organisms/ModuleCard/__tests__/ModuleOverflowMenu.test.tsx +++ b/app/src/organisms/ModuleCard/__tests__/ModuleOverflowMenu.test.tsx @@ -525,6 +525,7 @@ describe('ModuleOverflowMenu', () => { }) it('a mock function should be called when clicking Calibrate if pipette is ready', () => { + mockUseIsOT3.mockReturnValue(true) props = { ...props, isPipetteReady: true,