b4600d07d8
- Adds E2E workflow with deploy/teardown scripts - Adds Playwright smoke tests for ArgoCD sidebar and app list - Uses unique release name to avoid collision with shared runner
18 lines
634 B
TypeScript
18 lines
634 B
TypeScript
import { test, expect } from '@playwright/test';
|
|
|
|
test.describe('ArgoCD plugin smoke tests', () => {
|
|
test('sidebar contains ArgoCD entry', async ({ page }) => {
|
|
await page.goto('/');
|
|
const sidebar = page.getByRole('navigation', { name: 'Navigation' });
|
|
await expect(sidebar).toBeVisible({ timeout: 15_000 });
|
|
await expect(sidebar.getByRole('button', { name: 'ArgoCD' })).toBeVisible();
|
|
});
|
|
|
|
test('applications list page loads', async ({ page }) => {
|
|
await page.goto('/c/main/argocd');
|
|
|
|
await expect(
|
|
page.getByRole('heading', { name: /argo.*cd/i })
|
|
).toBeVisible({ timeout: 15_000 });
|
|
});
|
|
}); |