From bbc3df082f5b85401b239af77da9b2d01b0f0407 Mon Sep 17 00:00:00 2001 From: koji Date: Wed, 13 Sep 2023 19:43:22 -0400 Subject: [PATCH] fix tests --- app/src/pages/AppSettings/__test__/AdvancedSettings.test.tsx | 2 +- .../__tests__/RobotSettingsDashboard.test.tsx | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/src/pages/AppSettings/__test__/AdvancedSettings.test.tsx b/app/src/pages/AppSettings/__test__/AdvancedSettings.test.tsx index 53132159442..d7abab1aeae 100644 --- a/app/src/pages/AppSettings/__test__/AdvancedSettings.test.tsx +++ b/app/src/pages/AppSettings/__test__/AdvancedSettings.test.tsx @@ -138,7 +138,7 @@ describe('AdvancedSettings', () => { getByText('Additional Custom Labware Source Folder') getByText('Prevent Robot Caching') getByText('Clear Unavailable Robots') - getByText('Enable Developer Tools') + getByText('Developer Tools') getByText('OT-2 Advanced Settings') getByText('Tip Length Calibration Method') getByText('USB-to-Ethernet Adapter Information') diff --git a/app/src/pages/OnDeviceDisplay/RobotSettingsDashboard/__tests__/RobotSettingsDashboard.test.tsx b/app/src/pages/OnDeviceDisplay/RobotSettingsDashboard/__tests__/RobotSettingsDashboard.test.tsx index 1a8e36829a1..f35446c237e 100644 --- a/app/src/pages/OnDeviceDisplay/RobotSettingsDashboard/__tests__/RobotSettingsDashboard.test.tsx +++ b/app/src/pages/OnDeviceDisplay/RobotSettingsDashboard/__tests__/RobotSettingsDashboard.test.tsx @@ -144,7 +144,7 @@ describe('RobotSettingsDashboard', () => { getByText('Update Channel') getByText('Apply Labware Offsets') getByText('Use stored data when setting up a protocol.') - getByText('Enable Developer Tools') + getByText('Developer Tools') getByText('Access additional logging and feature flags.') }) @@ -247,7 +247,7 @@ describe('RobotSettingsDashboard', () => { it('should call a mock function when tapping enable dev tools', () => { const [{ getByText }] = render() - const button = getByText('Enable Developer Tools') + const button = getByText('Developer Tools') fireEvent.click(button) expect(mockToggleDevtools).toHaveBeenCalled() })