fix(web): avoid nesting buttons inside links ()

This commit is contained in:
Michel Heusschen 2024-07-29 16:36:10 +02:00 committed by GitHub
commit 2e059bfbfd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
15 changed files with 216 additions and 96 deletions
e2e/src/web/specs

View file

@ -13,7 +13,7 @@ test.describe('Registration', () => {
test('admin registration', async ({ page }) => {
// welcome
await page.goto('/');
await page.getByRole('button', { name: 'Getting Started' }).click();
await page.getByRole('link', { name: 'Getting Started' }).click();
// register
await expect(page).toHaveTitle(/Admin Registration/);