diff --git a/e2e/specs/biometrics.spec.ts b/e2e/specs/biometrics.spec.ts index 3afe37dcce..e5e02f8380 100644 --- a/e2e/specs/biometrics.spec.ts +++ b/e2e/specs/biometrics.spec.ts @@ -66,7 +66,7 @@ test('Record biometrics', async ({ page }) => { }); }); -test('Record abnormal biometrics', async ({ page }) => { +test('Record invalid biometrics', async ({ page }) => { const biometricsPage = new BiometricsAndVitalsPage(page); await test.step('When I visit the vitals and biometrics page', async () => { @@ -81,8 +81,8 @@ test('Record abnormal biometrics', async ({ page }) => { await expect(biometricsPage.page.getByText(/record vitals and biometrics/i)).toBeVisible(); }); - await test.step('When I fill `255` as the weight', async () => { - await biometricsPage.page.getByRole('spinbutton', { name: /weight/i }).fill('255'); + await test.step('When I fill `-5` as the weight', async () => { + await biometricsPage.page.getByRole('spinbutton', { name: /weight/i }).fill('-5'); }); await test.step('And I fill `275` as the height', async () => {