Skip to content

Commit

Permalink
use invalid values
Browse files Browse the repository at this point in the history
  • Loading branch information
kdaud committed Nov 13, 2024
1 parent 58eda01 commit 020f505
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions e2e/specs/biometrics.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 () => {
Expand All @@ -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 () => {
Expand Down

0 comments on commit 020f505

Please sign in to comment.