Skip to content

Commit

Permalink
whoops x2
Browse files Browse the repository at this point in the history
  • Loading branch information
sfoster1 committed Oct 7, 2024
1 parent 1007573 commit 9ae9ae0
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions app/src/molecules/Command/__tests__/CommandText.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -822,8 +822,8 @@ describe('CommandText', () => {
}
)
screen.getByText('Running thermocycler profile with 2 steps:')
screen.getByText('Temperature: 20°C, hold time: 00h 00m 10s')
screen.getByText('Temperature: 40°C, hold time: 00h 00m 30s')
screen.getByText('Temperature: 20°C, hold time: 0h 00m 10s')
screen.getByText('Temperature: 40°C, hold time: 0h 00m 30s')
})
it('renders correct text for thermocycler/runProfile on ODD', () => {
const mockProfileSteps = [
Expand Down Expand Up @@ -852,9 +852,9 @@ describe('CommandText', () => {
}
)
screen.getByText('Running thermocycler profile with 2 steps:')
screen.getByText('Temperature: 20°C, hold time: 00h 00m 10s')
screen.getByText('Temperature: 20°C, hold time: 0h 00m 10s')
expect(
screen.queryByText('Temperature: 40°C, hold time: 00h 00m 30s')
screen.queryByText('Temperature: 40°C, hold time: 0h 00m 30s')
).not.toBeInTheDocument()
})
it('renders correct text for thermocycler/runExtendedProfile on Desktop', () => {
Expand Down Expand Up @@ -899,14 +899,14 @@ describe('CommandText', () => {
screen.getByText(
'Running thermocycler profile with 4 total steps and cycles:'
)
screen.getByText('Temperature: 20°C, hold time: 00h 00m 10s')
screen.getByText('Temperature: 20°C, hold time: 0h 00m 10s')
screen.getByText('10 repetitions of the following steps:')
screen.getByText('Temperature: 10°C, hold time: 00h 00m 15s')
screen.getByText('Temperature: 11°C, hold time: 00h 00m 12s')
screen.getByText('Temperature: 40°C, hold time: 00h 00m 30s')
screen.getByText('Temperature: 10°C, hold time: 0h 00m 15s')
screen.getByText('Temperature: 11°C, hold time: 0h 00m 12s')
screen.getByText('Temperature: 40°C, hold time: 0h 00m 30s')
screen.getByText('9 repetitions of the following steps:')
screen.getByText('Temperature: 12°C, hold time: 03h 36m 40s')
screen.getByText('Temperature: 13°C, hold time: 00h 00m 14s')
screen.getByText('Temperature: 12°C, hold time: 3h 36m 40s')
screen.getByText('Temperature: 13°C, hold time: 0h 00m 14s')
})
it('renders correct text for thermocycler/runExtendedProfile on ODD', () => {
const mockProfileSteps = [
Expand Down Expand Up @@ -951,28 +951,28 @@ describe('CommandText', () => {
screen.getByText(
'Running thermocycler profile with 4 total steps and cycles:'
)
screen.getByText('Temperature: 20°C, hold time: 00h 00m 10s')
screen.getByText('Temperature: 20°C, hold time: 0h 00m 10s')

expect(
screen.queryByText('10 repetitions of the following steps:')
).not.toBeInTheDocument()
expect(
screen.queryByText('Temperature: 10°C, hold time: 00h 00m 15s')
screen.queryByText('Temperature: 10°C, hold time: 0h 00m 15s')
).not.toBeInTheDocument()
expect(
screen.queryByText('Temperature: 11°C, hold time: 00h 00m 12s')
screen.queryByText('Temperature: 11°C, hold time: 0h 00m 12s')
).not.toBeInTheDocument()
expect(
screen.queryByText('Temperature: 40°C, hold time: 00h 00m 30s')
screen.queryByText('Temperature: 40°C, hold time: 0h 00m 30s')
).not.toBeInTheDocument()
expect(
screen.queryByText('9 repetitions of the following steps:')
).not.toBeInTheDocument()
expect(
screen.queryByText('Temperature: 12°C, hold time: 00h 00m 13s')
screen.queryByText('Temperature: 12°C, hold time: 0h 00m 13s')
).not.toBeInTheDocument()
expect(
screen.queryByText('Temperature: 13°C, hold time: 00h 00m 14s')
screen.queryByText('Temperature: 13°C, hold time: 0h 00m 14s')
).not.toBeInTheDocument()
})
it('renders correct text for heaterShaker/setAndWaitForShakeSpeed', () => {
Expand Down

0 comments on commit 9ae9ae0

Please sign in to comment.