Skip to content

Commit

Permalink
test: expect the correct error message
Browse files Browse the repository at this point in the history
  • Loading branch information
Zangetsu101 committed Nov 26, 2024
1 parent d1b09e7 commit 3488959
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion e2e/testcases/marriage/6-details-page-validation.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ test.describe('6. Validate Marriage details page', () => {
await page.getByPlaceholder('yyyy').fill('1960')
await page.getByText('Marriage details').click()
await expect(page.locator('#marriageDate_error')).toHaveText(
'Must be a valid date of marriage'
'Illegal age of marriage'
)
})

Expand Down

0 comments on commit 3488959

Please sign in to comment.