test: improve help-menu e2e test stability (#6489)

This commit is contained in:
Matiss Janis Aboltins
2025-12-27 14:31:47 +01:00
committed by GitHub
parent a7ab3f375e
commit 45fa1aaf02
2 changed files with 8 additions and 1 deletions

View File

@@ -26,7 +26,8 @@ test.describe('Help menu', () => {
test('Check the help menu visuals', async () => {
await page.getByRole('button', { name: 'Help' }).click();
expect(page.getByText('Keyboard shortcuts')).toBeVisible();
await expect(page.locator('[data-popover]')).toBeVisible();
await expect(page.getByText('Keyboard shortcuts')).toBeVisible();
await expect(page).toMatchThemeScreenshots();
await page.keyboard.press('Escape');
});

View File

@@ -0,0 +1,6 @@
---
category: Maintenance
authors: [MatissJanis]
---
test: improve help-menu e2e test stability