Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| ac8c2499a2 | |||
| 13347ab9c1 |
@@ -16,7 +16,7 @@ concurrency:
|
||||
|
||||
jobs:
|
||||
e2e:
|
||||
uses: privilegedescalation/.github/.github/workflows/plugin-e2e.yaml@hugh/add-pnpm-support-plugin-e2e
|
||||
uses: privilegedescalation/.github/.github/workflows/plugin-e2e.yaml@main
|
||||
with:
|
||||
node-version: "22"
|
||||
headlamp-version: v0.40.1
|
||||
|
||||
+6
-2
@@ -45,11 +45,15 @@ test.describe('Rook plugin smoke tests', () => {
|
||||
const sidebar = page.getByRole('navigation', { name: 'Navigation' });
|
||||
|
||||
const rookBtn = sidebar.getByRole('button', { name: /rook/i });
|
||||
await expect(rookBtn).toBeVisible();
|
||||
await rookBtn.click();
|
||||
await page.waitForLoadState('networkidle');
|
||||
|
||||
const storageClassesLink = sidebar.getByRole('link', { name: /storage classes/i });
|
||||
await expect(storageClassesLink).toBeVisible({ timeout: 10_000 });
|
||||
const sidebarAfterClick = page.getByRole('navigation', { name: 'Navigation' });
|
||||
await expect(sidebarAfterClick).toBeVisible();
|
||||
|
||||
const storageClassesLink = sidebarAfterClick.getByRole('link', { name: /storage classes/i });
|
||||
await storageClassesLink.waitFor({ state: 'visible', timeout: 15_000 });
|
||||
await storageClassesLink.click();
|
||||
|
||||
await page.waitForLoadState('networkidle');
|
||||
|
||||
Reference in New Issue
Block a user