Skip to content

Commit

Permalink
fix: marriage
Browse files Browse the repository at this point in the history
  • Loading branch information
jamil314 committed Sep 30, 2024
1 parent df0a4ac commit a0581ac
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions e2e/testcases/marriage/1-marriage-event-declaration.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -179,8 +179,12 @@ test.describe('1. Marriage event validation', () => {
await page.getByText('Continue', { exact: true }).click()

await test.step('1.13.3. Delete declaration from the 3 dot menu', async () => {
await page.click('#eventToggleMenuToggleButton')
await page.getByText('Delete declaration', { exact: true }).click()
await page.click('#eventToggleMenu-dropdownMenu')
await page
.locator('#eventToggleMenu-dropdownMenu')
.getByRole('listitem')
.filter({ hasText: 'Delete declaration' })
.click()
await page.getByText('Confirm', { exact: true }).click()
await expect(
page.getByText('No records in progress', { exact: true })
Expand Down

0 comments on commit a0581ac

Please sign in to comment.