Add unit to save set test

This commit is contained in:
Brandon Presley 2023-01-04 13:27:17 +13:00
parent 42912040ff
commit 495b89fba3
1 changed files with 2 additions and 0 deletions

View File

@ -80,6 +80,8 @@ it('saves', async () => {
fireEvent.changeText(reps[0], '10')
const weights = await waitFor(() => getAllByText('Weight'))
fireEvent.changeText(weights[0], '60')
const units = await waitFor(() => getAllByText('Unit'))
fireEvent.changeText(units[0], 'lb')
const save = getByText('Save')
fireEvent.press(save)
const home = await waitFor(() => getByText('Home'))