|
35 | 35 | "category": "functional", |
36 | 36 | "description": "Function List Page renders a table with function entries", |
37 | 37 | "steps": [ |
38 | | - "Navigate to /functions route", |
39 | | - "Table renders with columns: name, runtime, status, url, replicas, actions", |
40 | | - "Each row displays function data from hardcoded real API responses", |
41 | | - "URL column shows shortened clickable link", |
42 | | - "Clicking function row or edit action button redirects to /functions/edit/:name", |
43 | | - "Actions column has edit and delete icon buttons" |
| 38 | + "SourceControlService lists function repos via Octokit (topic:serverless-function) and fetches func.yaml per repo for runtime", |
| 39 | + "ClusterService watches Deployments with label function.knative.dev/name via useK8sWatchResource, maps to DeployedFunction[]", |
| 40 | + "useFunctionListPage hook merges repos + deployments into FunctionListItem[] (repos are source of truth, undeployed get NotDeployed status)", |
| 41 | + "Table renders with columns: name, runtime, status, url, replicas, actions using PatternFly clickable rows", |
| 42 | + "Status column uses SDK components: SuccessStatus (Running), ProgressStatus (Deploying/CreatingRepo/Pushing/PushedToGitHub), ErrorStatus (Error), InfoStatus (ScaledToZero/NotDeployed), StatusIconAndText+YellowExclamationTriangleIcon (Unknown)", |
| 43 | + "URL column shows hostname-only clickable link opening in new tab", |
| 44 | + "Clicking function row or edit action navigates to /functions/edit/:name", |
| 45 | + "Delete action uses SDK useDeleteModal with custom message and Undeploy button text", |
| 46 | + "Empty state renders when no functions exist, spinner while loading" |
44 | 47 | ], |
45 | 48 | "passes": false |
46 | 49 | }, |
|
0 commit comments