Skip to content

Commit

Permalink
add e2e expectation to redirect to StartPage when abgabe is clicked
Browse files Browse the repository at this point in the history
  • Loading branch information
reckseba committed Jan 14, 2025
1 parent 6a5ed69 commit 00cb418
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions frontend/e2e/StartPage.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,9 @@ test(
await expect(page.getByText('BSG')).toHaveCount(1)
await expect(page.getByText('Übersicht Verwaltungsvorschriften')).toHaveCount(1)
await expect(page.getByText('Neue Dokumentationseinheit')).toHaveCount(1)
await page.getByText('Neue Dokumentationseinheit').click()

// this needs to change when KSNR are generated dynamically
await expect(page).toHaveURL('/documentUnit/KSNR054920707/fundstellen')
},
)

0 comments on commit 00cb418

Please sign in to comment.