fix: correct settings test selector to match plugin name
The settings E2E test looked for 'headlamp-polaris-plugin' but the plugin is registered as 'polaris' (package.json name and registerPluginSettings call). Fix the selector to match. Refs: PRI-28 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -5,7 +5,7 @@ test.describe('Polaris plugin settings', () => {
|
||||
await page.goto('/c/main/settings/plugins');
|
||||
|
||||
// Find Polaris plugin in the list
|
||||
const pluginCard = page.locator('text=headlamp-polaris-plugin').first();
|
||||
const pluginCard = page.locator('text=polaris').first();
|
||||
await expect(pluginCard).toBeVisible();
|
||||
|
||||
// Click to view settings (if settings are displayed inline, they should already be visible)
|
||||
|
||||
Reference in New Issue
Block a user