Skip to content

Commit

Permalink
(test) Update vitals & biometrics e2e test (#1997)
Browse files Browse the repository at this point in the history
  • Loading branch information
VeronicaMuthee authored Sep 5, 2024
1 parent 795ee01 commit a6bf9b6
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions e2e/specs/vitals.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,19 +41,15 @@ test('Record vital signs', async ({ page }) => {
await vitalsPage.page.getByRole('spinbutton', { name: /diastolic/i }).fill('100');
});

await test.step('And I fill `37` as the pulse', async () => {
await test.step('And I fill `65` as the pulse', async () => {
await vitalsPage.page.getByRole('spinbutton', { name: /pulse/i }).fill('65');
});

await test.step('And I fill `37` as the respiration rate', async () => {
await test.step('And I fill `16` as the respiration rate', async () => {
await vitalsPage.page.getByRole('spinbutton', { name: /respiration rate/i }).fill('16');
});

await test.step('And I fill `37` as the oxygen saturation', async () => {
await vitalsPage.page.getByRole('spinbutton', { name: /oxygen saturation/i }).fill('98');
});

await test.step('And I add `37` as the oxygen saturation', async () => {
await test.step('And I fill `98` as the oxygen saturation', async () => {
await vitalsPage.page.getByRole('spinbutton', { name: /oxygen saturation/i }).fill('98');
});

Expand Down

0 comments on commit a6bf9b6

Please # to comment.