Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(test) Update vitals & biometrics e2e test #1997

Merged
merged 1 commit into from
Sep 5, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading