Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 7d56a903c8 | |||
| ef7183a2d6 | |||
| 6d48470691 |
@@ -16,7 +16,7 @@ concurrency:
|
||||
|
||||
jobs:
|
||||
e2e:
|
||||
uses: privilegedescalation/.github/.github/workflows/plugin-e2e.yaml@main
|
||||
uses: privilegedescalation/.github/.github/workflows/plugin-e2e.yaml@hugh/add-pnpm-support-plugin-e2e
|
||||
with:
|
||||
node-version: '22'
|
||||
headlamp-version: v0.40.1
|
||||
|
||||
@@ -1,14 +0,0 @@
|
||||
name: Renovate
|
||||
on:
|
||||
schedule:
|
||||
- cron: '0 3 * * *'
|
||||
workflow_dispatch:
|
||||
jobs:
|
||||
renovate:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: renovatebot/github-action@v40.3.0
|
||||
with:
|
||||
configurationFile: renovate.json
|
||||
renovate-json5: true
|
||||
@@ -5,3 +5,9 @@ dist/
|
||||
.env
|
||||
.env.local
|
||||
.eslintcache
|
||||
|
||||
# E2E
|
||||
e2e/.auth/
|
||||
.env.e2e
|
||||
playwright-report/
|
||||
test-results/
|
||||
|
||||
+2
-3
@@ -24,14 +24,14 @@ test.describe('TNS CSI plugin smoke tests', () => {
|
||||
|
||||
await page.waitForLoadState('networkidle');
|
||||
await expect(page).toHaveURL(/tns-csi/);
|
||||
await expect(page.getByRole('heading', { name: /TNS.CSI/i })).toBeVisible();
|
||||
await expect(page.getByRole('heading', { name: /tns.csi.*overview/i })).toBeVisible();
|
||||
});
|
||||
|
||||
test('TNS CSI page renders content', async ({ page }) => {
|
||||
await page.goto('/c/main/tns-csi');
|
||||
await waitForSidebar(page);
|
||||
|
||||
await expect(page.getByRole('heading', { name: /TNS.CSI/i })).toBeVisible({
|
||||
await expect(page.getByRole('heading', { name: /tns.csi.*overview/i })).toBeVisible({
|
||||
timeout: 15_000,
|
||||
});
|
||||
|
||||
@@ -43,7 +43,6 @@ test.describe('TNS CSI plugin smoke tests', () => {
|
||||
test('plugin settings page shows TNS CSI plugin entry', async ({ page }) => {
|
||||
await page.goto('/settings/plugins');
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForSelector('[class*="PluginList"], [class*="plugins"], table, list', { timeout: 10_000 }).catch(() => {});
|
||||
|
||||
const pluginEntry = page.locator('text=/tns.csi/i').first();
|
||||
await expect(pluginEntry).toBeVisible({ timeout: 30_000 });
|
||||
|
||||
+4
-4
@@ -24,7 +24,8 @@
|
||||
"format:check": "prettier --check src/",
|
||||
"test": "vitest run",
|
||||
"test:watch": "vitest",
|
||||
"e2e": "playwright test"
|
||||
"e2e": "playwright test",
|
||||
"e2e:headed": "playwright test --headed"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"react": "^18.0.0",
|
||||
@@ -48,12 +49,11 @@
|
||||
"react-router-dom": "^5.3.0",
|
||||
"typescript": "~5.6.2",
|
||||
"vitest": "^3.2.4",
|
||||
"@playwright/test": "^1.59.1"
|
||||
"@playwright/test": "^1.58.2"
|
||||
},
|
||||
"overrides": {
|
||||
"tar": "^7.5.11",
|
||||
"undici": "^7.24.3",
|
||||
"vite": ">=6.4.2",
|
||||
"elliptic": ">=6.6.1"
|
||||
"vite": ">=6.4.2"
|
||||
}
|
||||
}
|
||||
|
||||
Generated
+530
-530
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user