diff --git a/.github/workflows/e2e.yaml b/.github/workflows/e2e.yaml deleted file mode 100644 index 4ee85a4..0000000 --- a/.github/workflows/e2e.yaml +++ /dev/null @@ -1,23 +0,0 @@ -name: E2E Tests - -on: - push: - branches: [main] - pull_request: - branches: [main] - workflow_dispatch: - -permissions: - contents: read - -concurrency: - group: e2e-${{ github.repository }} - cancel-in-progress: false - -jobs: - e2e: - uses: privilegedescalation/.github/.github/workflows/plugin-e2e.yaml@hugh/add-pnpm-support-plugin-e2e - with: - node-version: '22' - headlamp-version: v0.40.1 - e2e-namespace: headlamp-dev diff --git a/e2e/auth.setup.ts b/e2e/auth.setup.ts deleted file mode 100644 index fcd9f7f..0000000 --- a/e2e/auth.setup.ts +++ /dev/null @@ -1,69 +0,0 @@ -import { test as setup, expect, Page } from '@playwright/test'; - -const AUTH_STATE_PATH = 'e2e/.auth/state.json'; - -async function authenticateWithOIDC(page: Page, username: string, password: string): Promise { - await page.goto('/'); - await page.waitForURL('**/login'); - - const popupPromise = page.waitForEvent('popup'); - await page.getByRole('button', { name: /sign in/i }).click(); - const popup = await popupPromise; - - await popup.waitForLoadState('domcontentloaded'); - await popup.waitForLoadState('networkidle'); - - const usernameField = popup.getByRole('textbox', { name: /email or username/i }); - await usernameField.waitFor({ state: 'visible', timeout: 15_000 }); - await usernameField.fill(username); - await popup.getByRole('button', { name: /log in/i }).click(); - - await popup.waitForLoadState('networkidle'); - const passwordField = popup.getByRole('textbox', { name: /password/i }); - await passwordField.waitFor({ state: 'visible', timeout: 15_000 }); - await passwordField.fill(password); - await popup.getByRole('button', { name: /continue|log in/i }).click(); - - await popup.waitForEvent('close', { timeout: 15_000 }); - - await expect(page.getByRole('navigation', { name: 'Navigation' })).toBeVisible({ - timeout: 15_000, - }); -} - -async function authenticateWithToken(page: Page, token: string): Promise { - await page.goto('/'); - await page.waitForURL(/\/(login|token)$/); - - if (page.url().includes('/login')) { - const useTokenBtn = page.getByRole('button', { name: /use a token/i }); - await useTokenBtn.waitFor({ state: 'visible', timeout: 15_000 }); - await useTokenBtn.click(); - await page.waitForURL('**/token'); - } - - await page.getByRole('textbox', { name: /id token/i }).fill(token); - await page.getByRole('button', { name: /authenticate/i }).click(); - - await expect(page.getByRole('navigation', { name: 'Navigation' })).toBeVisible({ - timeout: 15_000, - }); -} - -setup('authenticate with Headlamp', async ({ page }) => { - const username = process.env.AUTHENTIK_USERNAME; - const password = process.env.AUTHENTIK_PASSWORD; - const token = process.env.HEADLAMP_TOKEN; - - if (username && password) { - await authenticateWithOIDC(page, username, password); - } else if (token) { - await authenticateWithToken(page, token); - } else { - throw new Error( - 'Set AUTHENTIK_USERNAME + AUTHENTIK_PASSWORD for OIDC auth, or HEADLAMP_TOKEN for token auth' - ); - } - - await page.context().storageState({ path: AUTH_STATE_PATH }); -}); diff --git a/e2e/rook.spec.ts b/e2e/rook.spec.ts deleted file mode 100644 index bb6f15d..0000000 --- a/e2e/rook.spec.ts +++ /dev/null @@ -1,63 +0,0 @@ -import { test, expect } from '@playwright/test'; - -async function waitForSidebar(page: import('@playwright/test').Page) { - const sidebar = page.getByRole('navigation', { name: 'Navigation' }); - await expect(sidebar).toBeVisible({ timeout: 15_000 }); - await page.waitForLoadState('networkidle'); - return sidebar; -} - -test.describe('Rook plugin smoke tests', () => { - test('sidebar contains Rook entry', async ({ page }) => { - await page.goto('/'); - const sidebar = await waitForSidebar(page); - await expect(sidebar.getByRole('button', { name: /rook/i })).toBeVisible(); - }); - - test('Rook sidebar entry navigates to overview', async ({ page }) => { - await page.goto('/'); - const sidebar = await waitForSidebar(page); - - const rookEntry = sidebar.getByRole('button', { name: /rook/i }); - await expect(rookEntry).toBeVisible(); - await rookEntry.click(); - - await page.waitForLoadState('networkidle'); - await expect(page).toHaveURL(/rook-ceph/); - await expect(page.getByRole('heading', { name: /overview/i })).toBeVisible(); - }); - - test('overview page renders content', async ({ page }) => { - await page.goto('/c/main/rook-ceph'); - await waitForSidebar(page); - - await expect(page.getByRole('heading', { name: /overview/i })).toBeVisible({ - timeout: 15_000, - }); - - const hasContent = await page.locator('text=/cluster|ceph|status/i').first().isVisible().catch(() => false); - const hasDashboard = await page.locator('[class*="Mui"]').first().isVisible().catch(() => false); - expect(hasContent || hasDashboard).toBe(true); - }); - - test('navigation to storage classes view works', async ({ page }) => { - await page.goto('/c/main/rook-ceph'); - - const sidebar = page.getByRole('navigation', { name: 'Navigation' }); - const storageClassesLink = sidebar.getByRole('link', { name: /storage classes/i }); - await expect(storageClassesLink).toBeVisible({ timeout: 10_000 }); - await storageClassesLink.click(); - - await page.waitForLoadState('networkidle'); - await expect(page).toHaveURL(/rook-ceph\/storage-classes/); - await expect(page.getByRole('heading', { name: /storage class/i })).toBeVisible({ timeout: 15_000 }); - }); - - test('plugin settings page shows rook plugin entry', async ({ page }) => { - await page.goto('/settings/plugins'); - await page.waitForLoadState('networkidle'); - - const pluginEntry = page.locator('text=rook').first(); - await expect(pluginEntry).toBeVisible({ timeout: 30_000 }); - }); -}); diff --git a/package.json b/package.json index f48ccc4..eaf36ef 100644 --- a/package.json +++ b/package.json @@ -22,15 +22,12 @@ "format": "prettier --write src/", "format:check": "prettier --check src/", "test": "vitest run", - "test:watch": "vitest", - "e2e": "playwright test", - "e2e:headed": "playwright test --headed" + "test:watch": "vitest" }, "devDependencies": { "@headlamp-k8s/eslint-config": "^0.6.0", "@kinvolk/headlamp-plugin": "^0.13.0", "@mui/material": "^5.15.14", - "@playwright/test": "^1.58.2", "@testing-library/jest-dom": "^6.4.8", "@testing-library/react": "^16.0.0", "@testing-library/user-event": "^14.5.2", @@ -52,5 +49,12 @@ "vite": ">=6.4.2", "lodash": ">=4.18.0", "elliptic": ">=6.6.1" + }, + "pnpm": { + "onlyBuiltDependencies": [ + "@swc/core", + "esbuild", + "msw" + ] } } \ No newline at end of file diff --git a/playwright.config.ts b/playwright.config.ts deleted file mode 100644 index b916edf..0000000 --- a/playwright.config.ts +++ /dev/null @@ -1,27 +0,0 @@ -import { defineConfig, devices } from '@playwright/test'; - -export default defineConfig({ - testDir: './e2e', - timeout: 30_000, - expect: { timeout: 10_000 }, - fullyParallel: false, - forbidOnly: !!process.env.CI, - retries: process.env.CI ? 1 : 0, - reporter: 'list', - use: { - baseURL: process.env.HEADLAMP_URL || (() => { throw new Error('HEADLAMP_URL is required — run scripts/deploy-e2e-headlamp.sh first'); })(), - trace: 'on-first-retry', - screenshot: 'only-on-failure', - }, - projects: [ - { name: 'setup', testMatch: /auth\.setup\.ts/, timeout: 60_000 }, - { - name: 'chromium', - use: { - ...devices['Desktop Chrome'], - storageState: 'e2e/.auth/state.json', - }, - dependencies: ['setup'], - }, - ], -}); diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index ddc43ac..f01b80c 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -10,16 +10,13 @@ importers: devDependencies: '@headlamp-k8s/eslint-config': specifier: ^0.6.0 - version: 0.6.0(@typescript-eslint/eslint-plugin@8.59.0(@typescript-eslint/parser@8.59.0(eslint@8.57.1)(typescript@5.6.3))(eslint@8.57.1)(typescript@5.6.3))(eslint-config-prettier@9.1.2(eslint@8.57.1))(eslint-plugin-import@2.32.0(@typescript-eslint/parser@8.59.0(eslint@8.57.1)(typescript@5.6.3))(eslint@8.57.1))(eslint-plugin-jsx-a11y@6.10.2(eslint@8.57.1))(eslint-plugin-react-hooks@4.6.2(eslint@8.57.1))(eslint-plugin-react@7.35.0(eslint@8.57.1))(eslint-plugin-simple-import-sort@12.1.1(eslint@8.57.1))(eslint-plugin-unused-imports@4.4.1(@typescript-eslint/eslint-plugin@8.59.0(@typescript-eslint/parser@8.59.0(eslint@8.57.1)(typescript@5.6.3))(eslint@8.57.1)(typescript@5.6.3))(eslint@8.57.1))(eslint@8.57.1) + version: 0.6.0(@typescript-eslint/eslint-plugin@8.59.0(@typescript-eslint/parser@8.59.0(eslint@8.57.1)(typescript@5.6.3))(eslint@8.57.1)(typescript@5.6.2))(eslint-config-prettier@9.1.2(eslint@8.57.1))(eslint-plugin-import@2.32.0(@typescript-eslint/parser@8.59.0(eslint@8.57.1)(typescript@5.6.3))(eslint@8.57.1))(eslint-plugin-jsx-a11y@6.10.2(eslint@8.57.1))(eslint-plugin-react-hooks@4.6.2(eslint@8.57.1))(eslint-plugin-react@7.35.0(eslint@8.57.1))(eslint-plugin-simple-import-sort@12.1.1(eslint@8.57.1))(eslint-plugin-unused-imports@4.4.1(@typescript-eslint/eslint-plugin@8.59.0(@typescript-eslint/parser@8.59.0(eslint@8.57.1)(typescript@5.6.3))(eslint@8.57.1)(typescript@5.6.2))(eslint@8.57.1))(eslint@8.57.1) '@kinvolk/headlamp-plugin': specifier: ^0.13.0 version: 0.13.1(@swc/core@1.15.30)(@types/debug@4.1.13)(@typescript-eslint/parser@8.59.0(eslint@8.57.1)(typescript@5.6.3))(csstype@3.2.3)(esbuild@0.25.12)(immer@11.1.4)(openapi-types@12.1.3)(redux@5.0.1)(rollup@4.60.2)(terser@5.46.1)(webpack@5.106.2(@swc/core@1.15.30)(esbuild@0.25.12)) '@mui/material': specifier: ^5.15.14 version: 5.18.0(@emotion/react@11.14.0(@types/react@18.3.28)(react@18.3.1))(@emotion/styled@11.14.1(@emotion/react@11.14.0(@types/react@18.3.28)(react@18.3.1))(@types/react@18.3.28)(react@18.3.1))(@types/react@18.3.28)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@playwright/test': - specifier: ^1.58.2 - version: 1.59.1 '@testing-library/jest-dom': specifier: ^6.4.8 version: 6.9.1 @@ -991,11 +988,6 @@ packages: resolution: {integrity: sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==} engines: {node: '>=14'} - '@playwright/test@1.59.1': - resolution: {integrity: sha512-PG6q63nQg5c9rIi4/Z5lR5IVF7yU5MqmKaPOe0HSc0O2cX1fPi96sUQu5j7eo4gKCkB2AnNGoWt7y4/Xx3Kcqg==} - engines: {node: '>=18'} - hasBin: true - '@popperjs/core@2.11.8': resolution: {integrity: sha512-P1st0aksCrn9sGZhp8GMYwBnQsbvAWsZAX44oXNNvLHGqAOcoVxmjZiohstwQ7SqKnbR47akdNi+uleWD8+g6A==} @@ -1065,79 +1057,66 @@ packages: resolution: {integrity: sha512-2QxQrM+KQ7DAW4o22j+XZ6RKdxjLD7BOWTP0Bv0tmjdyhXSsr2Ul1oJDQqh9Zf5qOwTuTc7Ek83mOFaKnodPjg==} cpu: [arm] os: [linux] - libc: [glibc] '@rollup/rollup-linux-arm-musleabihf@4.60.2': resolution: {integrity: sha512-TbziEu2DVsTEOPif2mKWkMeDMLoYjx95oESa9fkQQK7r/Orta0gnkcDpzwufEcAO2BLBsD7mZkXGFqEdMRRwfw==} cpu: [arm] os: [linux] - libc: [musl] '@rollup/rollup-linux-arm64-gnu@4.60.2': resolution: {integrity: sha512-bO/rVDiDUuM2YfuCUwZ1t1cP+/yqjqz+Xf2VtkdppefuOFS2OSeAfgafaHNkFn0t02hEyXngZkxtGqXcXwO8Rg==} cpu: [arm64] os: [linux] - libc: [glibc] '@rollup/rollup-linux-arm64-musl@4.60.2': resolution: {integrity: sha512-hr26p7e93Rl0Za+JwW7EAnwAvKkehh12BU1Llm9Ykiibg4uIr2rbpxG9WCf56GuvidlTG9KiiQT/TXT1yAWxTA==} cpu: [arm64] os: [linux] - libc: [musl] '@rollup/rollup-linux-loong64-gnu@4.60.2': resolution: {integrity: sha512-pOjB/uSIyDt+ow3k/RcLvUAOGpysT2phDn7TTUB3n75SlIgZzM6NKAqlErPhoFU+npgY3/n+2HYIQVbF70P9/A==} cpu: [loong64] os: [linux] - libc: [glibc] '@rollup/rollup-linux-loong64-musl@4.60.2': resolution: {integrity: sha512-2/w+q8jszv9Ww1c+6uJT3OwqhdmGP2/4T17cu8WuwyUuuaCDDJ2ojdyYwZzCxx0GcsZBhzi3HmH+J5pZNXnd+Q==} cpu: [loong64] os: [linux] - libc: [musl] '@rollup/rollup-linux-ppc64-gnu@4.60.2': resolution: {integrity: sha512-11+aL5vKheYgczxtPVVRhdptAM2H7fcDR5Gw4/bTcteuZBlH4oP9f5s9zYO9aGZvoGeBpqXI/9TZZihZ609wKw==} cpu: [ppc64] os: [linux] - libc: [glibc] '@rollup/rollup-linux-ppc64-musl@4.60.2': resolution: {integrity: sha512-i16fokAGK46IVZuV8LIIwMdtqhin9hfYkCh8pf8iC3QU3LpwL+1FSFGej+O7l3E/AoknL6Dclh2oTdnRMpTzFQ==} cpu: [ppc64] os: [linux] - libc: [musl] '@rollup/rollup-linux-riscv64-gnu@4.60.2': resolution: {integrity: sha512-49FkKS6RGQoriDSK/6E2GkAsAuU5kETFCh7pG4yD/ylj9rKhTmO3elsnmBvRD4PgJPds5W2PkhC82aVwmUcJ7A==} cpu: [riscv64] os: [linux] - libc: [glibc] '@rollup/rollup-linux-riscv64-musl@4.60.2': resolution: {integrity: sha512-mjYNkHPfGpUR00DuM1ZZIgs64Hpf4bWcz9Z41+4Q+pgDx73UwWdAYyf6EG/lRFldmdHHzgrYyge5akFUW0D3mQ==} cpu: [riscv64] os: [linux] - libc: [musl] '@rollup/rollup-linux-s390x-gnu@4.60.2': resolution: {integrity: sha512-ALyvJz965BQk8E9Al/JDKKDLH2kfKFLTGMlgkAbbYtZuJt9LU8DW3ZoDMCtQpXAltZxwBHevXz5u+gf0yA0YoA==} cpu: [s390x] os: [linux] - libc: [glibc] '@rollup/rollup-linux-x64-gnu@4.60.2': resolution: {integrity: sha512-UQjrkIdWrKI626Du8lCQ6MJp/6V1LAo2bOK9OTu4mSn8GGXIkPXk/Vsp4bLHCd9Z9Iz2OTEaokUE90VweJgIYQ==} cpu: [x64] os: [linux] - libc: [glibc] '@rollup/rollup-linux-x64-musl@4.60.2': resolution: {integrity: sha512-bTsRGj6VlSdn/XD4CGyzMnzaBs9bsRxy79eTqTCBsA8TMIEky7qg48aPkvJvFe1HyzQ5oMZdg7AnVlWQSKLTnw==} cpu: [x64] os: [linux] - libc: [musl] '@rollup/rollup-openbsd-x64@4.60.2': resolution: {integrity: sha512-6d4Z3534xitaA1FcMWP7mQPq5zGwBmGbhphh2DwaA1aNIXUu3KTOfwrWpbwI4/Gr0uANo7NTtaykFyO2hPuFLg==} @@ -1380,42 +1359,36 @@ packages: engines: {node: '>=10'} cpu: [arm64] os: [linux] - libc: [glibc] '@swc/core-linux-arm64-musl@1.15.30': resolution: {integrity: sha512-1SYGs2l0Yyyi0pR/P/NKz/x0kqxkoiw+BXeJjLUdecSk/KasncWlJrc6hOvFSgKHOBrzgM5jwuluKtlT8dnrcA==} engines: {node: '>=10'} cpu: [arm64] os: [linux] - libc: [musl] '@swc/core-linux-ppc64-gnu@1.15.30': resolution: {integrity: sha512-TXREtiXeRhbfDFbmhnkIsXpKfzbfT73YkV2ZF6w0sfxgjC5zI2ZAbaCOq25qxvegofj2K93DtOpm9RLaBgqR2g==} engines: {node: '>=10'} cpu: [ppc64] os: [linux] - libc: [glibc] '@swc/core-linux-s390x-gnu@1.15.30': resolution: {integrity: sha512-DCR2YYeyd6DQE4OuDhImouuNcjXEiEdnn1Y0DyGteugPEDvVuvYk8Xddi+4o2SgWH6jiW8/I+3emZvbep1NC+g==} engines: {node: '>=10'} cpu: [s390x] os: [linux] - libc: [glibc] '@swc/core-linux-x64-gnu@1.15.30': resolution: {integrity: sha512-5Pizw3NgfOJ5BJOBK8TIRa59xFW2avESTOBDPTAYwZYa1JNDs+KMF9lUfjJiJLM5HiMs/wPheA9eiT0q9m2AoA==} engines: {node: '>=10'} cpu: [x64] os: [linux] - libc: [glibc] '@swc/core-linux-x64-musl@1.15.30': resolution: {integrity: sha512-qyqydP/wyH8alcIP4a2hnGSjHLJjm9H7yDFup+CPy9oTahFgLLwnNcv5UHXqO2Qs3AIND+cls5f/Bb6hqpxdgA==} engines: {node: '>=10'} cpu: [x64] os: [linux] - libc: [musl] '@swc/core-win32-arm64-msvc@1.15.30': resolution: {integrity: sha512-CaQENgDHVGOg1mSF5sQVgvfFHG9kjMor2rkLMLeLOkfZYNj13ppnJ9+lfaBZLZUMMbnlGQnavCJb8PVBUOso7Q==} @@ -3057,11 +3030,6 @@ packages: fs.realpath@1.0.0: resolution: {integrity: sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==} - fsevents@2.3.2: - resolution: {integrity: sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==} - engines: {node: ^8.16.0 || ^10.6.0 || >=11.0.0} - os: [darwin] - fsevents@2.3.3: resolution: {integrity: sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==} engines: {node: ^8.16.0 || ^10.6.0 || >=11.0.0} @@ -4198,16 +4166,6 @@ packages: resolution: {integrity: sha512-NPE8TDbzl/3YQYY7CSS228s3g2ollTFnc+Qi3tqmqJp9Vg2ovUpixcJEo2HJScN2Ez+kEaal6y70c0ehqJBJeA==} engines: {node: '>=10'} - playwright-core@1.59.1: - resolution: {integrity: sha512-HBV/RJg81z5BiiZ9yPzIiClYV/QMsDCKUyogwH9p3MCP6IYjUFu/MActgYAvK0oWyV9NlwM3GLBjADyWgydVyg==} - engines: {node: '>=18'} - hasBin: true - - playwright@1.59.1: - resolution: {integrity: sha512-C8oWjPR3F81yljW9o5OxcWzfh6avkVwDD2VYdwIGqTkl+OGFISgypqzfu7dOe4QNLL2aqcWBmI3PMtLIK233lw==} - engines: {node: '>=18'} - hasBin: true - possible-typed-array-names@1.1.0: resolution: {integrity: sha512-/+5VFTchJDoVj3bhoqi6UeymcD00DAwb1nJwamzPvHEszJ4FpF6SNNbUbOS8yI56qHzdV8eK0qEfOSiodkTdxg==} engines: {node: '>= 0.4'} @@ -6002,7 +5960,7 @@ snapshots: dependencies: is-negated-glob: 1.0.0 - '@headlamp-k8s/eslint-config@0.6.0(@typescript-eslint/eslint-plugin@8.59.0(@typescript-eslint/parser@8.59.0(eslint@8.57.1)(typescript@5.6.3))(eslint@8.57.1)(typescript@5.6.3))(eslint-config-prettier@9.1.2(eslint@8.57.1))(eslint-plugin-import@2.32.0(@typescript-eslint/parser@8.59.0(eslint@8.57.1)(typescript@5.6.3))(eslint@8.57.1))(eslint-plugin-jsx-a11y@6.10.2(eslint@8.57.1))(eslint-plugin-react-hooks@4.6.2(eslint@8.57.1))(eslint-plugin-react@7.35.0(eslint@8.57.1))(eslint-plugin-simple-import-sort@12.1.1(eslint@8.57.1))(eslint-plugin-unused-imports@4.4.1(@typescript-eslint/eslint-plugin@8.59.0(@typescript-eslint/parser@8.59.0(eslint@8.57.1)(typescript@5.6.3))(eslint@8.57.1)(typescript@5.6.3))(eslint@8.57.1))(eslint@8.57.1)': + '@headlamp-k8s/eslint-config@0.6.0(@typescript-eslint/eslint-plugin@8.59.0(@typescript-eslint/parser@8.59.0(eslint@8.57.1)(typescript@5.6.3))(eslint@8.57.1)(typescript@5.6.2))(eslint-config-prettier@9.1.2(eslint@8.57.1))(eslint-plugin-import@2.32.0(@typescript-eslint/parser@8.59.0(eslint@8.57.1)(typescript@5.6.3))(eslint@8.57.1))(eslint-plugin-jsx-a11y@6.10.2(eslint@8.57.1))(eslint-plugin-react-hooks@4.6.2(eslint@8.57.1))(eslint-plugin-react@7.35.0(eslint@8.57.1))(eslint-plugin-simple-import-sort@12.1.1(eslint@8.57.1))(eslint-plugin-unused-imports@4.4.1(@typescript-eslint/eslint-plugin@8.59.0(@typescript-eslint/parser@8.59.0(eslint@8.57.1)(typescript@5.6.3))(eslint@8.57.1)(typescript@5.6.2))(eslint@8.57.1))(eslint@8.57.1)': dependencies: '@typescript-eslint/eslint-plugin': 8.59.0(@typescript-eslint/parser@8.59.0(eslint@8.57.1)(typescript@5.6.3))(eslint@8.57.1)(typescript@5.6.3) '@typescript-eslint/parser': 8.59.0(eslint@8.57.1)(typescript@5.5.4) @@ -6013,7 +5971,7 @@ snapshots: eslint-plugin-react: 7.35.0(eslint@8.57.1) eslint-plugin-react-hooks: 4.6.2(eslint@8.57.1) eslint-plugin-simple-import-sort: 12.1.1(eslint@8.57.1) - eslint-plugin-unused-imports: 4.4.1(@typescript-eslint/eslint-plugin@8.59.0(@typescript-eslint/parser@8.59.0(eslint@8.57.1)(typescript@5.6.3))(eslint@8.57.1)(typescript@5.6.3))(eslint@8.57.1) + eslint-plugin-unused-imports: 4.4.1(@typescript-eslint/eslint-plugin@8.59.0(@typescript-eslint/parser@8.59.0(eslint@8.57.1)(typescript@5.6.3))(eslint@8.57.1)(typescript@5.6.2))(eslint@8.57.1) typescript: 5.5.4 transitivePeerDependencies: - supports-color @@ -6145,7 +6103,7 @@ snapshots: '@apidevtools/swagger-parser': 10.1.1(openapi-types@12.1.3) '@emotion/react': 11.14.0(@types/react@18.3.28)(react@18.3.1) '@emotion/styled': 11.14.1(@emotion/react@11.14.0(@types/react@18.3.28)(react@18.3.1))(@types/react@18.3.28)(react@18.3.1) - '@headlamp-k8s/eslint-config': 0.6.0(@typescript-eslint/eslint-plugin@8.59.0(@typescript-eslint/parser@8.59.0(eslint@8.57.1)(typescript@5.6.3))(eslint@8.57.1)(typescript@5.6.3))(eslint-config-prettier@9.1.2(eslint@8.57.1))(eslint-plugin-import@2.32.0(@typescript-eslint/parser@8.59.0(eslint@8.57.1)(typescript@5.6.3))(eslint@8.57.1))(eslint-plugin-jsx-a11y@6.10.2(eslint@8.57.1))(eslint-plugin-react-hooks@4.6.2(eslint@8.57.1))(eslint-plugin-react@7.35.0(eslint@8.57.1))(eslint-plugin-simple-import-sort@12.1.1(eslint@8.57.1))(eslint-plugin-unused-imports@4.4.1(@typescript-eslint/eslint-plugin@8.59.0(@typescript-eslint/parser@8.59.0(eslint@8.57.1)(typescript@5.6.3))(eslint@8.57.1)(typescript@5.6.3))(eslint@8.57.1))(eslint@8.57.1) + '@headlamp-k8s/eslint-config': 0.6.0(@typescript-eslint/eslint-plugin@8.59.0(@typescript-eslint/parser@8.59.0(eslint@8.57.1)(typescript@5.6.3))(eslint@8.57.1)(typescript@5.6.2))(eslint-config-prettier@9.1.2(eslint@8.57.1))(eslint-plugin-import@2.32.0(@typescript-eslint/parser@8.59.0(eslint@8.57.1)(typescript@5.6.3))(eslint@8.57.1))(eslint-plugin-jsx-a11y@6.10.2(eslint@8.57.1))(eslint-plugin-react-hooks@4.6.2(eslint@8.57.1))(eslint-plugin-react@7.35.0(eslint@8.57.1))(eslint-plugin-simple-import-sort@12.1.1(eslint@8.57.1))(eslint-plugin-unused-imports@4.4.1(@typescript-eslint/eslint-plugin@8.59.0(@typescript-eslint/parser@8.59.0(eslint@8.57.1)(typescript@5.6.3))(eslint@8.57.1)(typescript@5.6.2))(eslint@8.57.1))(eslint@8.57.1) '@headlamp-k8s/pluginctl': 0.1.1 '@iconify/icons-mdi': 1.2.48 '@iconify/react': 3.2.2(react@18.3.1) @@ -6157,11 +6115,11 @@ snapshots: '@mui/x-date-pickers': 7.29.4(@emotion/react@11.14.0(@types/react@18.3.28)(react@18.3.1))(@emotion/styled@11.14.1(@emotion/react@11.14.0(@types/react@18.3.28)(react@18.3.1))(@types/react@18.3.28)(react@18.3.1))(@mui/material@5.18.0(@emotion/react@11.14.0(@types/react@18.3.28)(react@18.3.1))(@emotion/styled@11.14.1(@emotion/react@11.14.0(@types/react@18.3.28)(react@18.3.1))(@types/react@18.3.28)(react@18.3.1))(@types/react@18.3.28)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(@mui/system@5.18.0(@emotion/react@11.14.0(@types/react@18.3.28)(react@18.3.1))(@emotion/styled@11.14.1(@emotion/react@11.14.0(@types/react@18.3.28)(react@18.3.1))(@types/react@18.3.28)(react@18.3.1))(@types/react@18.3.28)(react@18.3.1))(@types/react@18.3.28)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) '@mui/x-tree-view': 6.17.0(@emotion/react@11.14.0(@types/react@18.3.28)(react@18.3.1))(@emotion/styled@11.14.1(@emotion/react@11.14.0(@types/react@18.3.28)(react@18.3.1))(@types/react@18.3.28)(react@18.3.1))(@mui/material@5.18.0(@emotion/react@11.14.0(@types/react@18.3.28)(react@18.3.1))(@emotion/styled@11.14.1(@emotion/react@11.14.0(@types/react@18.3.28)(react@18.3.1))(@types/react@18.3.28)(react@18.3.1))(@types/react@18.3.28)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(@mui/system@5.18.0(@emotion/react@11.14.0(@types/react@18.3.28)(react@18.3.1))(@emotion/styled@11.14.1(@emotion/react@11.14.0(@types/react@18.3.28)(react@18.3.1))(@types/react@18.3.28)(react@18.3.1))(@types/react@18.3.28)(react@18.3.1))(@types/react@18.3.28)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) '@reduxjs/toolkit': 2.11.2(react-redux@9.2.0(@types/react@18.3.28)(react@18.3.1)(redux@5.0.1))(react@18.3.1) - '@storybook/addon-docs': 9.1.20(@types/react@18.3.28)(storybook@9.1.20(@testing-library/dom@10.4.1)(msw@2.4.9(typescript@5.6.3))(prettier@2.8.8)(vite@6.4.2(@types/node@20.19.39)(terser@5.46.1)(yaml@2.8.3))) - '@storybook/addon-links': 9.1.20(react@18.3.1)(storybook@9.1.20(@testing-library/dom@10.4.1)(msw@2.4.9(typescript@5.6.3))(prettier@2.8.8)(vite@6.4.2(@types/node@20.19.39)(terser@5.46.1)(yaml@2.8.3))) + '@storybook/addon-docs': 9.1.20(@types/react@18.3.28)(storybook@9.1.20(@testing-library/dom@10.4.1)(msw@2.4.9(typescript@5.6.2))(prettier@2.8.8)(vite@6.4.2(@types/node@20.19.39)(terser@5.46.1)(yaml@2.8.3))) + '@storybook/addon-links': 9.1.20(react@18.3.1)(storybook@9.1.20(@testing-library/dom@10.4.1)(msw@2.4.9(typescript@5.6.2))(prettier@2.8.8)(vite@6.4.2(@types/node@20.19.39)(terser@5.46.1)(yaml@2.8.3))) '@storybook/addon-webpack5-compiler-swc': 3.0.0(webpack@5.106.2(@swc/core@1.15.30)(esbuild@0.25.12)) - '@storybook/react-vite': 9.1.20(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(rollup@4.60.2)(storybook@9.1.20(@testing-library/dom@10.4.1)(msw@2.4.9(typescript@5.6.3))(prettier@2.8.8)(vite@6.4.2(@types/node@20.19.39)(terser@5.46.1)(yaml@2.8.3)))(typescript@5.6.2)(vite@6.4.2(@types/node@20.19.39)(terser@5.46.1)(yaml@2.8.3)) - '@storybook/react-webpack5': 9.1.20(@swc/core@1.15.30)(esbuild@0.25.12)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@9.1.20(@testing-library/dom@10.4.1)(msw@2.4.9(typescript@5.6.3))(prettier@2.8.8)(vite@6.4.2(@types/node@20.19.39)(terser@5.46.1)(yaml@2.8.3)))(typescript@5.6.2) + '@storybook/react-vite': 9.1.20(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(rollup@4.60.2)(storybook@9.1.20(@testing-library/dom@10.4.1)(msw@2.4.9(typescript@5.6.2))(prettier@2.8.8)(vite@6.4.2(@types/node@20.19.39)(terser@5.46.1)(yaml@2.8.3)))(typescript@5.6.2)(vite@6.4.2(@types/node@20.19.39)(terser@5.46.1)(yaml@2.8.3)) + '@storybook/react-webpack5': 9.1.20(@swc/core@1.15.30)(esbuild@0.25.12)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@9.1.20(@testing-library/dom@10.4.1)(msw@2.4.9(typescript@5.6.2))(prettier@2.8.8)(vite@6.4.2(@types/node@20.19.39)(terser@5.46.1)(yaml@2.8.3)))(typescript@5.6.2) '@tanstack/react-query': 5.99.2(react@18.3.1) '@testing-library/dom': 10.4.1 '@testing-library/jest-dom': 6.9.1 @@ -6179,7 +6137,7 @@ snapshots: '@types/react-router-dom': 5.3.3 '@types/react-window': 1.8.8 '@types/semver': 7.7.1 - '@typescript-eslint/eslint-plugin': 8.59.0(@typescript-eslint/parser@8.59.0(eslint@8.57.1)(typescript@5.6.3))(eslint@8.57.1)(typescript@5.6.2) + '@typescript-eslint/eslint-plugin': 8.59.0(@typescript-eslint/parser@8.59.0(eslint@8.57.1)(typescript@5.6.3))(eslint@8.57.1)(typescript@5.6.3) '@vitejs/plugin-react': 4.7.0(vite@6.4.2(@types/node@20.19.39)(terser@5.46.1)(yaml@2.8.3)) '@vitest/coverage-istanbul': 3.2.4(vitest@3.2.4(@types/debug@4.1.13)(@types/node@20.19.39)(jsdom@24.1.3)(msw@2.4.9(typescript@5.6.3))(terser@5.46.1)(yaml@2.8.3)) '@xterm/addon-fit': 0.10.0(@xterm/xterm@5.5.0) @@ -6196,7 +6154,7 @@ snapshots: eslint-plugin-react: 7.35.0(eslint@8.57.1) eslint-plugin-react-hooks: 4.6.2(eslint@8.57.1) eslint-plugin-simple-import-sort: 12.1.1(eslint@8.57.1) - eslint-plugin-unused-imports: 4.4.1(@typescript-eslint/eslint-plugin@8.59.0(@typescript-eslint/parser@8.59.0(eslint@8.57.1)(typescript@5.6.3))(eslint@8.57.1)(typescript@5.6.3))(eslint@8.57.1) + eslint-plugin-unused-imports: 4.4.1(@typescript-eslint/eslint-plugin@8.59.0(@typescript-eslint/parser@8.59.0(eslint@8.57.1)(typescript@5.6.3))(eslint@8.57.1)(typescript@5.6.2))(eslint@8.57.1) fast-check: 4.7.0 fs-extra: 11.3.4 fuse.js: 7.3.0 @@ -6209,10 +6167,10 @@ snapshots: jsdom: 24.1.3 jsonpath-plus: 10.4.0 lodash: 4.18.1 - material-react-table: 2.13.3(93149b7a28d7dcf9399e2d03ebc8c990) + material-react-table: 2.13.3(fztvggcltry67ds2nv4c5qir4m) monaco-editor: 0.52.2 msw: 2.4.9(typescript@5.6.2) - msw-storybook-addon: 2.0.3(msw@2.4.9(typescript@5.6.3)) + msw-storybook-addon: 2.0.3(msw@2.4.9(typescript@5.6.2)) notistack: 3.0.2(csstype@3.2.3)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) path-browserify: 1.0.1 prettier: 2.8.8 @@ -6545,10 +6503,6 @@ snapshots: '@pkgjs/parseargs@0.11.0': optional: true - '@playwright/test@1.59.1': - dependencies: - playwright: 1.59.1 - '@popperjs/core@2.11.8': {} '@reduxjs/toolkit@2.11.2(react-redux@9.2.0(@types/react@18.3.28)(react@18.3.1)(redux@5.0.1))(react@18.3.1)': @@ -6662,12 +6616,12 @@ snapshots: '@standard-schema/utils@0.3.0': {} - '@storybook/addon-docs@9.1.20(@types/react@18.3.28)(storybook@9.1.20(@testing-library/dom@10.4.1)(msw@2.4.9(typescript@5.6.3))(prettier@2.8.8)(vite@6.4.2(@types/node@20.19.39)(terser@5.46.1)(yaml@2.8.3)))': + '@storybook/addon-docs@9.1.20(@types/react@18.3.28)(storybook@9.1.20(@testing-library/dom@10.4.1)(msw@2.4.9(typescript@5.6.2))(prettier@2.8.8)(vite@6.4.2(@types/node@20.19.39)(terser@5.46.1)(yaml@2.8.3)))': dependencies: '@mdx-js/react': 3.1.1(@types/react@18.3.28)(react@18.3.1) - '@storybook/csf-plugin': 9.1.20(storybook@9.1.20(@testing-library/dom@10.4.1)(msw@2.4.9(typescript@5.6.3))(prettier@2.8.8)(vite@6.4.2(@types/node@20.19.39)(terser@5.46.1)(yaml@2.8.3))) + '@storybook/csf-plugin': 9.1.20(storybook@9.1.20(@testing-library/dom@10.4.1)(msw@2.4.9(typescript@5.6.2))(prettier@2.8.8)(vite@6.4.2(@types/node@20.19.39)(terser@5.46.1)(yaml@2.8.3))) '@storybook/icons': 1.6.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@storybook/react-dom-shim': 9.1.20(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@9.1.20(@testing-library/dom@10.4.1)(msw@2.4.9(typescript@5.6.3))(prettier@2.8.8)(vite@6.4.2(@types/node@20.19.39)(terser@5.46.1)(yaml@2.8.3))) + '@storybook/react-dom-shim': 9.1.20(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@9.1.20(@testing-library/dom@10.4.1)(msw@2.4.9(typescript@5.6.2))(prettier@2.8.8)(vite@6.4.2(@types/node@20.19.39)(terser@5.46.1)(yaml@2.8.3))) react: 18.3.1 react-dom: 18.3.1(react@18.3.1) storybook: 9.1.20(@testing-library/dom@10.4.1)(msw@2.4.9(typescript@5.6.3))(prettier@2.8.8)(vite@7.3.2(@types/node@20.19.39)(terser@5.46.1)(yaml@2.8.3)) @@ -6675,7 +6629,7 @@ snapshots: transitivePeerDependencies: - '@types/react' - '@storybook/addon-links@9.1.20(react@18.3.1)(storybook@9.1.20(@testing-library/dom@10.4.1)(msw@2.4.9(typescript@5.6.3))(prettier@2.8.8)(vite@6.4.2(@types/node@20.19.39)(terser@5.46.1)(yaml@2.8.3)))': + '@storybook/addon-links@9.1.20(react@18.3.1)(storybook@9.1.20(@testing-library/dom@10.4.1)(msw@2.4.9(typescript@5.6.2))(prettier@2.8.8)(vite@6.4.2(@types/node@20.19.39)(terser@5.46.1)(yaml@2.8.3)))': dependencies: '@storybook/global': 5.0.0 storybook: 9.1.20(@testing-library/dom@10.4.1)(msw@2.4.9(typescript@5.6.3))(prettier@2.8.8)(vite@7.3.2(@types/node@20.19.39)(terser@5.46.1)(yaml@2.8.3)) @@ -6690,16 +6644,16 @@ snapshots: - '@swc/helpers' - webpack - '@storybook/builder-vite@9.1.20(storybook@9.1.20(@testing-library/dom@10.4.1)(msw@2.4.9(typescript@5.6.3))(prettier@2.8.8)(vite@6.4.2(@types/node@20.19.39)(terser@5.46.1)(yaml@2.8.3)))(vite@6.4.2(@types/node@20.19.39)(terser@5.46.1)(yaml@2.8.3))': + '@storybook/builder-vite@9.1.20(storybook@9.1.20(@testing-library/dom@10.4.1)(msw@2.4.9(typescript@5.6.2))(prettier@2.8.8)(vite@6.4.2(@types/node@20.19.39)(terser@5.46.1)(yaml@2.8.3)))(vite@6.4.2(@types/node@20.19.39)(terser@5.46.1)(yaml@2.8.3))': dependencies: - '@storybook/csf-plugin': 9.1.20(storybook@9.1.20(@testing-library/dom@10.4.1)(msw@2.4.9(typescript@5.6.3))(prettier@2.8.8)(vite@6.4.2(@types/node@20.19.39)(terser@5.46.1)(yaml@2.8.3))) + '@storybook/csf-plugin': 9.1.20(storybook@9.1.20(@testing-library/dom@10.4.1)(msw@2.4.9(typescript@5.6.2))(prettier@2.8.8)(vite@6.4.2(@types/node@20.19.39)(terser@5.46.1)(yaml@2.8.3))) storybook: 9.1.20(@testing-library/dom@10.4.1)(msw@2.4.9(typescript@5.6.3))(prettier@2.8.8)(vite@7.3.2(@types/node@20.19.39)(terser@5.46.1)(yaml@2.8.3)) ts-dedent: 2.2.0 vite: 6.4.2(@types/node@20.19.39)(terser@5.46.1)(yaml@2.8.3) - '@storybook/builder-webpack5@9.1.20(@swc/core@1.15.30)(esbuild@0.25.12)(storybook@9.1.20(@testing-library/dom@10.4.1)(msw@2.4.9(typescript@5.6.3))(prettier@2.8.8)(vite@6.4.2(@types/node@20.19.39)(terser@5.46.1)(yaml@2.8.3)))(typescript@5.6.2)': + '@storybook/builder-webpack5@9.1.20(@swc/core@1.15.30)(esbuild@0.25.12)(storybook@9.1.20(@testing-library/dom@10.4.1)(msw@2.4.9(typescript@5.6.2))(prettier@2.8.8)(vite@6.4.2(@types/node@20.19.39)(terser@5.46.1)(yaml@2.8.3)))(typescript@5.6.2)': dependencies: - '@storybook/core-webpack': 9.1.20(storybook@9.1.20(@testing-library/dom@10.4.1)(msw@2.4.9(typescript@5.6.3))(prettier@2.8.8)(vite@6.4.2(@types/node@20.19.39)(terser@5.46.1)(yaml@2.8.3))) + '@storybook/core-webpack': 9.1.20(storybook@9.1.20(@testing-library/dom@10.4.1)(msw@2.4.9(typescript@5.6.2))(prettier@2.8.8)(vite@6.4.2(@types/node@20.19.39)(terser@5.46.1)(yaml@2.8.3))) case-sensitive-paths-webpack-plugin: 2.4.0 cjs-module-lexer: 1.4.3 css-loader: 6.11.0(webpack@5.106.2(@swc/core@1.15.30)(esbuild@0.25.12)) @@ -6724,12 +6678,12 @@ snapshots: - uglify-js - webpack-cli - '@storybook/core-webpack@9.1.20(storybook@9.1.20(@testing-library/dom@10.4.1)(msw@2.4.9(typescript@5.6.3))(prettier@2.8.8)(vite@6.4.2(@types/node@20.19.39)(terser@5.46.1)(yaml@2.8.3)))': + '@storybook/core-webpack@9.1.20(storybook@9.1.20(@testing-library/dom@10.4.1)(msw@2.4.9(typescript@5.6.2))(prettier@2.8.8)(vite@6.4.2(@types/node@20.19.39)(terser@5.46.1)(yaml@2.8.3)))': dependencies: storybook: 9.1.20(@testing-library/dom@10.4.1)(msw@2.4.9(typescript@5.6.3))(prettier@2.8.8)(vite@7.3.2(@types/node@20.19.39)(terser@5.46.1)(yaml@2.8.3)) ts-dedent: 2.2.0 - '@storybook/csf-plugin@9.1.20(storybook@9.1.20(@testing-library/dom@10.4.1)(msw@2.4.9(typescript@5.6.3))(prettier@2.8.8)(vite@6.4.2(@types/node@20.19.39)(terser@5.46.1)(yaml@2.8.3)))': + '@storybook/csf-plugin@9.1.20(storybook@9.1.20(@testing-library/dom@10.4.1)(msw@2.4.9(typescript@5.6.2))(prettier@2.8.8)(vite@6.4.2(@types/node@20.19.39)(terser@5.46.1)(yaml@2.8.3)))': dependencies: storybook: 9.1.20(@testing-library/dom@10.4.1)(msw@2.4.9(typescript@5.6.3))(prettier@2.8.8)(vite@7.3.2(@types/node@20.19.39)(terser@5.46.1)(yaml@2.8.3)) unplugin: 1.16.1 @@ -6741,9 +6695,9 @@ snapshots: react: 18.3.1 react-dom: 18.3.1(react@18.3.1) - '@storybook/preset-react-webpack@9.1.20(@swc/core@1.15.30)(esbuild@0.25.12)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@9.1.20(@testing-library/dom@10.4.1)(msw@2.4.9(typescript@5.6.3))(prettier@2.8.8)(vite@6.4.2(@types/node@20.19.39)(terser@5.46.1)(yaml@2.8.3)))(typescript@5.6.2)': + '@storybook/preset-react-webpack@9.1.20(@swc/core@1.15.30)(esbuild@0.25.12)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@9.1.20(@testing-library/dom@10.4.1)(msw@2.4.9(typescript@5.6.2))(prettier@2.8.8)(vite@6.4.2(@types/node@20.19.39)(terser@5.46.1)(yaml@2.8.3)))(typescript@5.6.2)': dependencies: - '@storybook/core-webpack': 9.1.20(storybook@9.1.20(@testing-library/dom@10.4.1)(msw@2.4.9(typescript@5.6.3))(prettier@2.8.8)(vite@6.4.2(@types/node@20.19.39)(terser@5.46.1)(yaml@2.8.3))) + '@storybook/core-webpack': 9.1.20(storybook@9.1.20(@testing-library/dom@10.4.1)(msw@2.4.9(typescript@5.6.2))(prettier@2.8.8)(vite@6.4.2(@types/node@20.19.39)(terser@5.46.1)(yaml@2.8.3))) '@storybook/react-docgen-typescript-plugin': 1.0.6--canary.9.0c3f3b7.0(typescript@5.6.2)(webpack@5.106.2(@swc/core@1.15.30)(esbuild@0.25.12)) '@types/semver': 7.7.1 find-up: 7.0.0 @@ -6779,18 +6733,18 @@ snapshots: transitivePeerDependencies: - supports-color - '@storybook/react-dom-shim@9.1.20(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@9.1.20(@testing-library/dom@10.4.1)(msw@2.4.9(typescript@5.6.3))(prettier@2.8.8)(vite@6.4.2(@types/node@20.19.39)(terser@5.46.1)(yaml@2.8.3)))': + '@storybook/react-dom-shim@9.1.20(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@9.1.20(@testing-library/dom@10.4.1)(msw@2.4.9(typescript@5.6.2))(prettier@2.8.8)(vite@6.4.2(@types/node@20.19.39)(terser@5.46.1)(yaml@2.8.3)))': dependencies: react: 18.3.1 react-dom: 18.3.1(react@18.3.1) storybook: 9.1.20(@testing-library/dom@10.4.1)(msw@2.4.9(typescript@5.6.3))(prettier@2.8.8)(vite@7.3.2(@types/node@20.19.39)(terser@5.46.1)(yaml@2.8.3)) - '@storybook/react-vite@9.1.20(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(rollup@4.60.2)(storybook@9.1.20(@testing-library/dom@10.4.1)(msw@2.4.9(typescript@5.6.3))(prettier@2.8.8)(vite@6.4.2(@types/node@20.19.39)(terser@5.46.1)(yaml@2.8.3)))(typescript@5.6.2)(vite@6.4.2(@types/node@20.19.39)(terser@5.46.1)(yaml@2.8.3))': + '@storybook/react-vite@9.1.20(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(rollup@4.60.2)(storybook@9.1.20(@testing-library/dom@10.4.1)(msw@2.4.9(typescript@5.6.2))(prettier@2.8.8)(vite@6.4.2(@types/node@20.19.39)(terser@5.46.1)(yaml@2.8.3)))(typescript@5.6.2)(vite@6.4.2(@types/node@20.19.39)(terser@5.46.1)(yaml@2.8.3))': dependencies: '@joshwooding/vite-plugin-react-docgen-typescript': 0.6.1(typescript@5.6.2)(vite@6.4.2(@types/node@20.19.39)(terser@5.46.1)(yaml@2.8.3)) '@rollup/pluginutils': 5.3.0(rollup@4.60.2) - '@storybook/builder-vite': 9.1.20(storybook@9.1.20(@testing-library/dom@10.4.1)(msw@2.4.9(typescript@5.6.3))(prettier@2.8.8)(vite@6.4.2(@types/node@20.19.39)(terser@5.46.1)(yaml@2.8.3)))(vite@6.4.2(@types/node@20.19.39)(terser@5.46.1)(yaml@2.8.3)) - '@storybook/react': 9.1.20(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@9.1.20(@testing-library/dom@10.4.1)(msw@2.4.9(typescript@5.6.3))(prettier@2.8.8)(vite@6.4.2(@types/node@20.19.39)(terser@5.46.1)(yaml@2.8.3)))(typescript@5.6.2) + '@storybook/builder-vite': 9.1.20(storybook@9.1.20(@testing-library/dom@10.4.1)(msw@2.4.9(typescript@5.6.2))(prettier@2.8.8)(vite@6.4.2(@types/node@20.19.39)(terser@5.46.1)(yaml@2.8.3)))(vite@6.4.2(@types/node@20.19.39)(terser@5.46.1)(yaml@2.8.3)) + '@storybook/react': 9.1.20(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@9.1.20(@testing-library/dom@10.4.1)(msw@2.4.9(typescript@5.6.2))(prettier@2.8.8)(vite@6.4.2(@types/node@20.19.39)(terser@5.46.1)(yaml@2.8.3)))(typescript@5.6.2) find-up: 7.0.0 magic-string: 0.30.21 react: 18.3.1 @@ -6805,11 +6759,11 @@ snapshots: - supports-color - typescript - '@storybook/react-webpack5@9.1.20(@swc/core@1.15.30)(esbuild@0.25.12)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@9.1.20(@testing-library/dom@10.4.1)(msw@2.4.9(typescript@5.6.3))(prettier@2.8.8)(vite@6.4.2(@types/node@20.19.39)(terser@5.46.1)(yaml@2.8.3)))(typescript@5.6.2)': + '@storybook/react-webpack5@9.1.20(@swc/core@1.15.30)(esbuild@0.25.12)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@9.1.20(@testing-library/dom@10.4.1)(msw@2.4.9(typescript@5.6.2))(prettier@2.8.8)(vite@6.4.2(@types/node@20.19.39)(terser@5.46.1)(yaml@2.8.3)))(typescript@5.6.2)': dependencies: - '@storybook/builder-webpack5': 9.1.20(@swc/core@1.15.30)(esbuild@0.25.12)(storybook@9.1.20(@testing-library/dom@10.4.1)(msw@2.4.9(typescript@5.6.3))(prettier@2.8.8)(vite@6.4.2(@types/node@20.19.39)(terser@5.46.1)(yaml@2.8.3)))(typescript@5.6.2) - '@storybook/preset-react-webpack': 9.1.20(@swc/core@1.15.30)(esbuild@0.25.12)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@9.1.20(@testing-library/dom@10.4.1)(msw@2.4.9(typescript@5.6.3))(prettier@2.8.8)(vite@6.4.2(@types/node@20.19.39)(terser@5.46.1)(yaml@2.8.3)))(typescript@5.6.2) - '@storybook/react': 9.1.20(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@9.1.20(@testing-library/dom@10.4.1)(msw@2.4.9(typescript@5.6.3))(prettier@2.8.8)(vite@6.4.2(@types/node@20.19.39)(terser@5.46.1)(yaml@2.8.3)))(typescript@5.6.2) + '@storybook/builder-webpack5': 9.1.20(@swc/core@1.15.30)(esbuild@0.25.12)(storybook@9.1.20(@testing-library/dom@10.4.1)(msw@2.4.9(typescript@5.6.2))(prettier@2.8.8)(vite@6.4.2(@types/node@20.19.39)(terser@5.46.1)(yaml@2.8.3)))(typescript@5.6.2) + '@storybook/preset-react-webpack': 9.1.20(@swc/core@1.15.30)(esbuild@0.25.12)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@9.1.20(@testing-library/dom@10.4.1)(msw@2.4.9(typescript@5.6.2))(prettier@2.8.8)(vite@6.4.2(@types/node@20.19.39)(terser@5.46.1)(yaml@2.8.3)))(typescript@5.6.2) + '@storybook/react': 9.1.20(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@9.1.20(@testing-library/dom@10.4.1)(msw@2.4.9(typescript@5.6.2))(prettier@2.8.8)(vite@6.4.2(@types/node@20.19.39)(terser@5.46.1)(yaml@2.8.3)))(typescript@5.6.2) react: 18.3.1 react-dom: 18.3.1(react@18.3.1) storybook: 9.1.20(@testing-library/dom@10.4.1)(msw@2.4.9(typescript@5.6.3))(prettier@2.8.8)(vite@7.3.2(@types/node@20.19.39)(terser@5.46.1)(yaml@2.8.3)) @@ -6823,10 +6777,10 @@ snapshots: - uglify-js - webpack-cli - '@storybook/react@9.1.20(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@9.1.20(@testing-library/dom@10.4.1)(msw@2.4.9(typescript@5.6.3))(prettier@2.8.8)(vite@6.4.2(@types/node@20.19.39)(terser@5.46.1)(yaml@2.8.3)))(typescript@5.6.2)': + '@storybook/react@9.1.20(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@9.1.20(@testing-library/dom@10.4.1)(msw@2.4.9(typescript@5.6.2))(prettier@2.8.8)(vite@6.4.2(@types/node@20.19.39)(terser@5.46.1)(yaml@2.8.3)))(typescript@5.6.2)': dependencies: '@storybook/global': 5.0.0 - '@storybook/react-dom-shim': 9.1.20(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@9.1.20(@testing-library/dom@10.4.1)(msw@2.4.9(typescript@5.6.3))(prettier@2.8.8)(vite@6.4.2(@types/node@20.19.39)(terser@5.46.1)(yaml@2.8.3))) + '@storybook/react-dom-shim': 9.1.20(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@9.1.20(@testing-library/dom@10.4.1)(msw@2.4.9(typescript@5.6.2))(prettier@2.8.8)(vite@6.4.2(@types/node@20.19.39)(terser@5.46.1)(yaml@2.8.3))) react: 18.3.1 react-dom: 18.3.1(react@18.3.1) storybook: 9.1.20(@testing-library/dom@10.4.1)(msw@2.4.9(typescript@5.6.3))(prettier@2.8.8)(vite@7.3.2(@types/node@20.19.39)(terser@5.46.1)(yaml@2.8.3)) @@ -7221,7 +7175,7 @@ snapshots: '@types/wrap-ansi@3.0.0': {} - '@typescript-eslint/eslint-plugin@8.59.0(@typescript-eslint/parser@8.59.0(eslint@8.57.1)(typescript@5.6.3))(eslint@8.57.1)(typescript@5.6.2)': + '@typescript-eslint/eslint-plugin@8.59.0(@typescript-eslint/parser@8.59.0(eslint@8.57.1)(typescript@5.6.3))(eslint@8.57.1)(typescript@5.6.3)': dependencies: '@eslint-community/regexpp': 4.12.2 '@typescript-eslint/parser': 8.59.0(eslint@8.57.1)(typescript@5.6.3) @@ -7233,22 +7187,6 @@ snapshots: ignore: 7.0.5 natural-compare: 1.4.0 ts-api-utils: 2.5.0(typescript@5.6.2) - typescript: 5.6.2 - transitivePeerDependencies: - - supports-color - - '@typescript-eslint/eslint-plugin@8.59.0(@typescript-eslint/parser@8.59.0(eslint@8.57.1)(typescript@5.6.3))(eslint@8.57.1)(typescript@5.6.3)': - dependencies: - '@eslint-community/regexpp': 4.12.2 - '@typescript-eslint/parser': 8.59.0(eslint@8.57.1)(typescript@5.6.3) - '@typescript-eslint/scope-manager': 8.59.0 - '@typescript-eslint/type-utils': 8.59.0(eslint@8.57.1)(typescript@5.6.3) - '@typescript-eslint/utils': 8.59.0(eslint@8.57.1)(typescript@5.6.3) - '@typescript-eslint/visitor-keys': 8.59.0 - eslint: 8.57.1 - ignore: 7.0.5 - natural-compare: 1.4.0 - ts-api-utils: 2.5.0(typescript@5.6.3) typescript: 5.6.3 transitivePeerDependencies: - supports-color @@ -7295,15 +7233,6 @@ snapshots: transitivePeerDependencies: - supports-color - '@typescript-eslint/project-service@8.59.0(typescript@5.6.3)': - dependencies: - '@typescript-eslint/tsconfig-utils': 8.59.0(typescript@5.6.3) - '@typescript-eslint/types': 8.59.0 - debug: 4.4.3 - typescript: 5.6.3 - transitivePeerDependencies: - - supports-color - '@typescript-eslint/scope-manager@8.59.0': dependencies: '@typescript-eslint/types': 8.59.0 @@ -7317,10 +7246,6 @@ snapshots: dependencies: typescript: 5.6.2 - '@typescript-eslint/tsconfig-utils@8.59.0(typescript@5.6.3)': - dependencies: - typescript: 5.6.3 - '@typescript-eslint/type-utils@8.59.0(eslint@8.57.1)(typescript@5.6.2)': dependencies: '@typescript-eslint/types': 8.59.0 @@ -7333,18 +7258,6 @@ snapshots: transitivePeerDependencies: - supports-color - '@typescript-eslint/type-utils@8.59.0(eslint@8.57.1)(typescript@5.6.3)': - dependencies: - '@typescript-eslint/types': 8.59.0 - '@typescript-eslint/typescript-estree': 8.59.0(typescript@5.6.3) - '@typescript-eslint/utils': 8.59.0(eslint@8.57.1)(typescript@5.6.3) - debug: 4.4.3 - eslint: 8.57.1 - ts-api-utils: 2.5.0(typescript@5.6.3) - typescript: 5.6.3 - transitivePeerDependencies: - - supports-color - '@typescript-eslint/types@8.59.0': {} '@typescript-eslint/typescript-estree@8.59.0(typescript@5.5.4)': @@ -7379,15 +7292,15 @@ snapshots: '@typescript-eslint/typescript-estree@8.59.0(typescript@5.6.3)': dependencies: - '@typescript-eslint/project-service': 8.59.0(typescript@5.6.3) - '@typescript-eslint/tsconfig-utils': 8.59.0(typescript@5.6.3) + '@typescript-eslint/project-service': 8.59.0(typescript@5.6.2) + '@typescript-eslint/tsconfig-utils': 8.59.0(typescript@5.6.2) '@typescript-eslint/types': 8.59.0 '@typescript-eslint/visitor-keys': 8.59.0 debug: 4.4.3 minimatch: 10.2.5 semver: 7.7.4 tinyglobby: 0.2.16 - ts-api-utils: 2.5.0(typescript@5.6.3) + ts-api-utils: 2.5.0(typescript@5.6.2) typescript: 5.6.3 transitivePeerDependencies: - supports-color @@ -7403,17 +7316,6 @@ snapshots: transitivePeerDependencies: - supports-color - '@typescript-eslint/utils@8.59.0(eslint@8.57.1)(typescript@5.6.3)': - dependencies: - '@eslint-community/eslint-utils': 4.9.1(eslint@8.57.1) - '@typescript-eslint/scope-manager': 8.59.0 - '@typescript-eslint/types': 8.59.0 - '@typescript-eslint/typescript-estree': 8.59.0(typescript@5.6.3) - eslint: 8.57.1 - typescript: 5.6.3 - transitivePeerDependencies: - - supports-color - '@typescript-eslint/visitor-keys@8.59.0': dependencies: '@typescript-eslint/types': 8.59.0 @@ -7457,7 +7359,7 @@ snapshots: chai: 5.3.3 tinyrainbow: 2.0.0 - '@vitest/mocker@3.2.4(msw@2.4.9(typescript@5.6.3))(vite@6.4.2(@types/node@20.19.39)(terser@5.46.1)(yaml@2.8.3))': + '@vitest/mocker@3.2.4(msw@2.4.9(typescript@5.6.2))(vite@6.4.2(@types/node@20.19.39)(terser@5.46.1)(yaml@2.8.3))': dependencies: '@vitest/spy': 3.2.4 estree-walker: 3.0.3 @@ -8776,7 +8678,7 @@ snapshots: dependencies: eslint: 8.57.1 - eslint-plugin-unused-imports@4.4.1(@typescript-eslint/eslint-plugin@8.59.0(@typescript-eslint/parser@8.59.0(eslint@8.57.1)(typescript@5.6.3))(eslint@8.57.1)(typescript@5.6.3))(eslint@8.57.1): + eslint-plugin-unused-imports@4.4.1(@typescript-eslint/eslint-plugin@8.59.0(@typescript-eslint/parser@8.59.0(eslint@8.57.1)(typescript@5.6.3))(eslint@8.57.1)(typescript@5.6.2))(eslint@8.57.1): dependencies: eslint: 8.57.1 optionalDependencies: @@ -9060,9 +8962,6 @@ snapshots: fs.realpath@1.0.0: {} - fsevents@2.3.2: - optional: true - fsevents@2.3.3: optional: true @@ -9807,7 +9706,7 @@ snapshots: '@types/minimatch': 3.0.5 minimatch: 3.1.5 - material-react-table@2.13.3(93149b7a28d7dcf9399e2d03ebc8c990): + material-react-table@2.13.3(fztvggcltry67ds2nv4c5qir4m): dependencies: '@emotion/react': 11.14.0(@types/react@18.3.28)(react@18.3.1) '@emotion/styled': 11.14.1(@emotion/react@11.14.0(@types/react@18.3.28)(react@18.3.1))(@types/react@18.3.28)(react@18.3.1) @@ -10113,7 +10012,7 @@ snapshots: ms@2.1.3: {} - msw-storybook-addon@2.0.3(msw@2.4.9(typescript@5.6.3)): + msw-storybook-addon@2.0.3(msw@2.4.9(typescript@5.6.2)): dependencies: is-node-process: 1.2.0 msw: 2.4.9(typescript@5.6.2) @@ -10443,14 +10342,6 @@ snapshots: dependencies: find-up: 5.0.0 - playwright-core@1.59.1: {} - - playwright@1.59.1: - dependencies: - playwright-core: 1.59.1 - optionalDependencies: - fsevents: 2.3.2 - possible-typed-array-names@1.1.0: {} postcss-modules-extract-imports@3.1.0(postcss@8.5.10): @@ -11123,7 +11014,7 @@ snapshots: '@testing-library/jest-dom': 6.9.1 '@testing-library/user-event': 14.6.1(@testing-library/dom@10.4.1) '@vitest/expect': 3.2.4 - '@vitest/mocker': 3.2.4(msw@2.4.9(typescript@5.6.3))(vite@6.4.2(@types/node@20.19.39)(terser@5.46.1)(yaml@2.8.3)) + '@vitest/mocker': 3.2.4(msw@2.4.9(typescript@5.6.2))(vite@6.4.2(@types/node@20.19.39)(terser@5.46.1)(yaml@2.8.3)) '@vitest/spy': 3.2.4 better-opn: 3.0.2 esbuild: 0.25.12 @@ -11433,10 +11324,6 @@ snapshots: dependencies: typescript: 5.6.2 - ts-api-utils@2.5.0(typescript@5.6.3): - dependencies: - typescript: 5.6.3 - ts-dedent@2.2.0: {} ts-loader@9.5.7(typescript@5.6.2)(webpack@5.106.2(@swc/core@1.15.30)(esbuild@0.25.12)): diff --git a/scripts/deploy-e2e-headlamp.sh b/scripts/deploy-e2e-headlamp.sh deleted file mode 100755 index 30edb91..0000000 --- a/scripts/deploy-e2e-headlamp.sh +++ /dev/null @@ -1,189 +0,0 @@ -#!/usr/bin/env bash -# deploy-e2e-headlamp.sh -# -# Deploys a stock Headlamp instance with the rook plugin loaded via -# a ConfigMap volume mount. -# -# E2E resources are deployed to the `headlamp-dev` namespace. Nothing -# persists beyond the test run — teardown cleans up all created resources. -# -# Prerequisites: -# - Plugin built (dist/ exists with plugin-main.js + package.json) -# - kubectl configured with cluster access -# -# Environment: -# E2E_NAMESPACE — namespace for E2E Headlamp (default: headlamp-dev) -# E2E_RELEASE — release/resource name prefix (default: headlamp-e2e) -# HEADLAMP_VERSION — Headlamp image tag (default: latest) -set -euo pipefail - -REPO_ROOT="$(cd "$(dirname "$0")/.." && pwd)" -DIST_DIR="$REPO_ROOT/dist" - -E2E_NAMESPACE="${E2E_NAMESPACE:-headlamp-dev}" -E2E_RELEASE="${E2E_RELEASE:-headlamp-e2e}" -HEADLAMP_VERSION="${HEADLAMP_VERSION:-latest}" - -if [ ! -d "$DIST_DIR" ]; then - echo "ERROR: dist/ not found. Run 'pnpm build' first." >&2 - exit 1 -fi - -echo "Checking RBAC permissions in namespace '${E2E_NAMESPACE}'..." -if ! kubectl auth can-i delete configmaps -n "$E2E_NAMESPACE" --quiet 2>/dev/null; then - echo "ERROR: Missing RBAC — cannot delete configmaps in namespace '${E2E_NAMESPACE}'." >&2 - exit 1 -fi - -echo "=== E2E Headlamp Deployment ===" -echo " Image: ghcr.io/headlamp-k8s/headlamp:${HEADLAMP_VERSION}" -echo " Namespace: $E2E_NAMESPACE" -echo " Release: $E2E_RELEASE" - -echo "" -echo "Creating ConfigMap with plugin files..." - -kubectl delete configmap headlamp-rook-plugin \ - -n "$E2E_NAMESPACE" --ignore-not-found - -kubectl create configmap headlamp-rook-plugin \ - -n "$E2E_NAMESPACE" \ - --from-file="$DIST_DIR" \ - --from-file=package.json="$REPO_ROOT/package.json" - -echo "" -echo "Removing any existing E2E deployment (clean-start)..." -kubectl delete deployment "${E2E_RELEASE}" -n "$E2E_NAMESPACE" --ignore-not-found --wait -kubectl delete service "${E2E_RELEASE}" -n "$E2E_NAMESPACE" --ignore-not-found --wait -kubectl delete serviceaccount "${E2E_RELEASE}" -n "$E2E_NAMESPACE" --ignore-not-found --wait - -echo "" -echo "Deploying Headlamp E2E instance..." - -kubectl apply -f - </dev/null; do - ATTEMPTS=$((ATTEMPTS + 1)) - if [ "$ATTEMPTS" -ge "$MAX_ATTEMPTS" ]; then - echo "ERROR: ${SVC_URL} not reachable after $((MAX_ATTEMPTS * 5))s" >&2 - exit 1 - fi - echo " [${ATTEMPTS}/${MAX_ATTEMPTS}] not yet reachable, retrying in 5s..." - sleep 5 -done -echo "" -echo "E2E Headlamp is ready at: ${SVC_URL}" - -echo "" -echo "Creating service account token for E2E auth..." -kubectl create serviceaccount headlamp-e2e-test \ - -n "$E2E_NAMESPACE" --dry-run=client -o yaml | kubectl apply -f - - -TOKEN=$(kubectl create token headlamp-e2e-test -n "$E2E_NAMESPACE" --duration=1h 2>/dev/null || echo "") -if [ -n "$TOKEN" ]; then - echo "HEADLAMP_URL=${SVC_URL}" > "$REPO_ROOT/.env.e2e" - echo "HEADLAMP_TOKEN=${TOKEN}" >> "$REPO_ROOT/.env.e2e" - echo "Wrote .env.e2e with HEADLAMP_URL and HEADLAMP_TOKEN" -else - echo " WARNING: Could not generate token." -fi - -echo "" -echo "E2E deployment complete." diff --git a/scripts/teardown-e2e-headlamp.sh b/scripts/teardown-e2e-headlamp.sh deleted file mode 100755 index 218d74b..0000000 --- a/scripts/teardown-e2e-headlamp.sh +++ /dev/null @@ -1,37 +0,0 @@ -#!/usr/bin/env bash -# teardown-e2e-headlamp.sh -# -# Tears down the dedicated E2E Headlamp instance deployed by deploy-e2e-headlamp.sh. -# -# Environment: -# E2E_NAMESPACE — namespace to clean up (default: headlamp-dev) -# E2E_RELEASE — release/resource name prefix (default: headlamp-e2e) -set -euo pipefail - -REPO_ROOT="$(cd "$(dirname "$0")/.." && pwd)" - -E2E_NAMESPACE="${E2E_NAMESPACE:-headlamp-dev}" -E2E_RELEASE="${E2E_RELEASE:-headlamp-e2e}" - -echo "=== E2E Headlamp Teardown ===" -echo " Namespace: $E2E_NAMESPACE" -echo " Release: $E2E_RELEASE" - -echo "Removing Headlamp Deployment, Service, and ServiceAccount..." -kubectl delete deployment "${E2E_RELEASE}" -n "$E2E_NAMESPACE" --ignore-not-found -kubectl delete service "${E2E_RELEASE}" -n "$E2E_NAMESPACE" --ignore-not-found -kubectl delete serviceaccount "${E2E_RELEASE}" -n "$E2E_NAMESPACE" --ignore-not-found - -echo "Cleaning up ConfigMap..." -kubectl delete configmap headlamp-rook-plugin -n "$E2E_NAMESPACE" --ignore-not-found - -echo "Cleaning up test service account..." -kubectl delete serviceaccount headlamp-e2e-test -n "$E2E_NAMESPACE" --ignore-not-found - -if [ -f "$REPO_ROOT/.env.e2e" ]; then - rm "$REPO_ROOT/.env.e2e" - echo "Removed .env.e2e" -fi - -echo "" -echo "E2E teardown complete."