Skip to content

Commit

Permalink
change text to match suggestions in ticket comment
Browse files Browse the repository at this point in the history
  • Loading branch information
jerader committed Jul 27, 2022
1 parent 6c7a108 commit 6d7e83b
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 12 deletions.
10 changes: 5 additions & 5 deletions app/src/assets/localization/en/run_details.json
Original file line number Diff line number Diff line change
Expand Up @@ -107,10 +107,10 @@
"view_analysis_error_details": "View <errorLink>error details</errorLink>",
"engaging_magnetic_module": "Engaging Magnetic Module",
"disengaging_magnetic_module": "Disengaging Magnetic Module",
"setting_temperature_module_temp": "Setting Temperature Module temperature to {{temp}}°C (rounded off to nearest integer)",
"setting_temperature_module_temp": "Setting Temperature Module to {{temp}}°C (rounded to nearest integer)",
"deactivate_temperature_module": "Deactivating Temperature Module",
"waiting_to_reach_temp_module": "Waiting for Temperature Module to reach temperature {{temp}}°C (rounded off to nearest integer)",
"setting_thermocycler_block_temp": "Setting Thermocycler well block temperature to {{temp}}°C",
"waiting_to_reach_temp_module": "Waiting for Temperature Module to reach {{temp}}°C (rounded to nearest integer)",
"setting_thermocycler_block_temp": "Setting Thermocycler block temperature to {{temp}}°C",
"setting_thermocycler_lid_temp": "Setting Thermocycler lid temperature to {{temp}}°C",
"waiting_for_tc_lid_to_reach": "Waiting for Thermocycler lid to reach target temperature",
"waiting_for_tc_block_to_reach": "Waiting for Thermocycler block to reach target temperature",
Expand All @@ -123,10 +123,10 @@
"setting_hs_temp": "Setting Target Temperature of Heater-Shaker to {{temp}}°C",
"waiting_for_hs_to_reach": "Waiting for Heater-Shaker to reach target temperature",
"set_and_await_hs_shake": "Setting Heater-Shaker to shake at {{rpm}} rpm and waiting until reached",
"deactivating_hs_heater": "Deactivating Heater-Shaker Heater",
"deactivating_hs_heater": "Deactivating heater",
"unlatching_hs_latch": "Unlatching labware on Heater-Shaker",
"latching_hs_latch": "Latching labware on Heater-Shaker",
"deactivate_hs_shake": "Deactivating Heater-Shaker Shaker",
"deactivate_hs_shake": "Deactivating shaker",
"wait_for_duration": "Pause for {{seconds}} seconds",
"tc_run_profile_steps": "temperature: {{celsius}}°C, seconds: {{seconds}}"
}
Original file line number Diff line number Diff line change
Expand Up @@ -492,9 +492,7 @@ describe('StepText', () => {
analysisCommand: null,
runCommand: MOCK_SET_TARGET_TEMP_COMMAND as RunCommandSummary,
})
getByText(
'Setting Temperature Module temperature to 50°C (rounded off to nearest integer)'
)
getByText('Setting Temperature Module to 50°C (rounded to nearest integer)')
})

it('renders correct command text for deactivating temp module', () => {
Expand All @@ -515,7 +513,7 @@ describe('StepText', () => {
runCommand: MOCK_AWAIT_TEMP_COMMAND as RunCommandSummary,
})
getByText(
'Waiting for Temperature Module to reach temperature 50°C (rounded off to nearest integer)'
'Waiting for Temperature Module to reach 50°C (rounded to nearest integer)'
)
})

Expand All @@ -526,7 +524,7 @@ describe('StepText', () => {
analysisCommand: null,
runCommand: MOCK_SET_TC_BLOCK_COMMAND as RunCommandSummary,
})
getByText('Setting Thermocycler well block temperature to 50°C')
getByText('Setting Thermocycler block temperature to 50°C')
})

it('renders correct command text for setting TC lid temp', () => {
Expand Down Expand Up @@ -662,7 +660,7 @@ describe('StepText', () => {
analysisCommand: null,
runCommand: MOCK_HS_DEACTIVATE_TEMP as RunCommandSummary,
})
getByText('Deactivating Heater-Shaker Heater')
getByText('Deactivating heater')
})

it('renders correct command text for deactivate HS shake', () => {
Expand All @@ -672,7 +670,7 @@ describe('StepText', () => {
analysisCommand: null,
runCommand: MOCK_HS_DEACTIVATE_SHAKE as RunCommandSummary,
})
getByText('Deactivating Heater-Shaker Shaker')
getByText('Deactivating shaker')
})

it('renders correct command text for close hs latch', () => {
Expand Down

0 comments on commit 6d7e83b

Please sign in to comment.