Seed versioned OPNsense scripts and label the shared POSIX interpreter

This commit is contained in:
2026-11-20 08:22:59 +01:00
parent 1f3cd5ea0c
commit 2e3916b84b
5 changed files with 56 additions and 7 deletions
+1 -1
View File
@@ -568,7 +568,7 @@ test('publishes versions in the library and keeps the earlier script readable',
await page.getByRole('button', { name: 'Version veröffentlichen' }).click();
await expect(page.getByRole('status')).toContainText('Version 2 veröffentlicht.');
await page.getByText('Frühere Versionen (1)').click();
await page.getByText('Version 1 · Linux · Shell · Agent-Dienstkonto').click();
await page.getByText('Version 1 · POSIX-Shell · Agent-Dienstkonto').click();
await expect(page.locator('pre').filter({ hasText: 'uname -s' })).toBeVisible();
await page.getByRole('button', { name: 'Zur Skriptbibliothek' }).click();
await expect(page.getByRole('row').filter({ hasText: script.name })).toHaveCount(1);