make test more precise

This commit is contained in:
Matthias Mair 2026-07-01 23:45:54 +02:00
parent ead43b9aba
commit f2618099ee
No known key found for this signature in database
GPG Key ID: A593429DDA23B66A
1 changed files with 2 additions and 4 deletions

View File

@ -75,10 +75,8 @@ test('Plugins - User Settings', async ({ browser }) => {
await navigate(page, 'settings/user/');
await loadTab(page, 'Plugin Settings');
// User settings for the "Sample Plugin" should be visible
await page
.getByRole('button', { name: 'Sample Plugin', exact: true })
.click();
// User settings for the "SampleIntegrationPlugin" should be visible
await page.getByRole('button', { name: 'SampleIntegrationPlugin' }).click();
await page.getByText('User Setting 1').waitFor();
await page.getByText('User Setting 2').waitFor();