diff --git a/.ibm/pipelines/value_files/values_showcase-rbac.yaml b/.ibm/pipelines/value_files/values_showcase-rbac.yaml index 9725d5b917..b136c0d782 100644 --- a/.ibm/pipelines/value_files/values_showcase-rbac.yaml +++ b/.ibm/pipelines/value_files/values_showcase-rbac.yaml @@ -211,6 +211,165 @@ global: frontend: red-hat-developer-hub.backstage-plugin-orchestrator-form-widgets: {} + - package: ./dynamic-plugins/dist/red-hat-developer-hub-backstage-plugin-dynamic-home-page + disabled: false + pluginConfig: + dynamicPlugins: + frontend: + red-hat-developer-hub.backstage-plugin-dynamic-home-page: + dynamicRoutes: + - path: / + importName: DynamicHomePage + mountPoints: + - mountPoint: application/listener + importName: VisitListener + - mountPoint: home.page/cards + importName: OnboardingSection + config: + id: rhdh-onboarding-section + title: Red Hat Developer Hub - Onboarding + cardLayout: + width: + minColumns: 4 + maxColumns: 12 + defaultColumns: 12 + height: + minRows: 2 + maxRows: 12 + defaultRows: 4 + layouts: + xl: + w: 12 + h: 6 + lg: + w: 12 + h: 6 + md: + w: 12 + h: 7 + sm: + w: 12 + h: 8 + xs: + w: 12 + h: 9 + xxs: + w: 12 + h: 14 + - mountPoint: home.page/cards + importName: EntitySection + config: + id: rhdh-entity-section + title: Red Hat Developer Hub - Software Catalog + cardLayout: + width: + minColumns: 4 + maxColumns: 12 + defaultColumns: 12 + height: + minRows: 2 + maxRows: 12 + defaultRows: 4 + layouts: + xl: + w: 12 + h: 7 + lg: + w: 12 + h: 7 + md: + w: 12 + h: 8 + sm: + w: 12 + h: 9 + xs: + w: 12 + h: 11 + xxs: + w: 12 + h: 15 + - mountPoint: home.page/cards + importName: TemplateSection + config: + id: rhdh-template-section + title: Red Hat Developer Hub - Explore templates + cardLayout: + width: + minColumns: 4 + maxColumns: 12 + defaultColumns: 12 + height: + minRows: 2 + maxRows: 12 + defaultRows: 4 + layouts: + xl: + w: 12 + h: 5 + lg: + w: 12 + h: 5 + md: + w: 12 + h: 5 + sm: + w: 12 + h: 5 + xs: + w: 12 + h: 7.5 + xxs: + w: 12 + h: 13.5 + - mountPoint: home.page/cards + importName: QuickAccessCard + config: + id: quickaccess-card + title: Quick Access Card + - mountPoint: home.page/cards + importName: SearchBar + config: + id: searchbar + title: Search + cardLayout: + width: + minColumns: 4 + maxColumns: 12 + defaultColumns: 12 + height: + minRows: 1 + maxRows: 2 + defaultRows: 2 + - mountPoint: home.page/cards + importName: CatalogStarredEntitiesCard + config: + id: catalog-starred-entities-card + title: Starred catalog entities + - mountPoint: home.page/cards + importName: RecentlyVisitedCard + config: + id: recently-visited-card + title: Recently visited + - mountPoint: home.page/cards + importName: TopVisitedCard + config: + id: top-visited-card + title: Top visited + - mountPoint: home.page/cards + importName: FeaturedDocsCard + config: + id: featured-docs-card + title: Featured docs + - mountPoint: home.page/cards + importName: JokeCard + config: + id: joke-card + title: Random joke + translationResources: + - importName: homepageTranslations + ref: homepageTranslationRef + # -- Upstream Backstage [chart configuration](https://github.com/backstage/charts/blob/main/charts/backstage/values.yaml) # @default -- Use Openshift compatible settings upstream: diff --git a/e2e-tests/playwright/e2e/plugins/rbac/rbac.spec.ts b/e2e-tests/playwright/e2e/plugins/rbac/rbac.spec.ts index 7d31d1b016..74d28d1bd3 100644 --- a/e2e-tests/playwright/e2e/plugins/rbac/rbac.spec.ts +++ b/e2e-tests/playwright/e2e/plugins/rbac/rbac.spec.ts @@ -320,8 +320,7 @@ test.describe("Test RBAC", () => { await uiHelper.clickLink("RBAC"); }); - //FIXME RHDHBUGS-2483 - test.skip("Create and edit a role from the roles list page", async ({ + test("Create and edit a role from the roles list page", async ({ page, }) => { const uiHelper = new UIhelper(page); @@ -403,8 +402,7 @@ test.describe("Test RBAC", () => { await rbacPo.deleteRole("role:default/test-role"); }); - //FIXME https://issues.redhat.com/browse/RHDHBUGS-2483 - test.skip("Edit users and groups and update policies of a role from the overview page", async ({ + test("Edit users and groups and update policies of a role from the overview page", async ({ page, }) => { const uiHelper = new UIhelper(page); @@ -749,8 +747,7 @@ test.describe("Test RBAC", () => { await uiHelper.verifyHeading("All roles (1)"); }); - //FIXME https://issues.redhat.com/browse/RHDHBUGS-2483 - test.skip("Test that user with `IsOwner` condition can access the RBAC page, create a role, edit a role, and delete the role", async ({ + test("Test that user with `IsOwner` condition can access the RBAC page, create a role, edit a role, and delete the role", async ({ page, }) => { const common = new Common(page);