Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions workspaces/scorecard/.changeset/icy-poets-run.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
'@red-hat-developer-hub/backstage-plugin-scorecard-backend-module-dependabot': minor
'@red-hat-developer-hub/backstage-plugin-scorecard-backend-module-filecheck': minor
'@red-hat-developer-hub/backstage-plugin-scorecard-backend-module-sonarqube': minor
'@red-hat-developer-hub/backstage-plugin-scorecard-backend-module-openssf': minor
'@red-hat-developer-hub/backstage-plugin-scorecard-backend-module-github': minor
'@red-hat-developer-hub/backstage-plugin-scorecard-backend-module-jira': minor
'@red-hat-developer-hub/backstage-plugin-scorecard-backend': minor
'@red-hat-developer-hub/backstage-plugin-scorecard-common': minor
'@red-hat-developer-hub/backstage-plugin-scorecard-node': minor
'@red-hat-developer-hub/backstage-plugin-scorecard': minor
---

Backstage version bump to v1.51.2
2 changes: 1 addition & 1 deletion workspaces/scorecard/backstage.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"version": "1.49.3"
"version": "1.51.2"
}
6 changes: 3 additions & 3 deletions workspaces/scorecard/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,10 @@
"directory": "workspaces/scorecard"
},
"devDependencies": {
"@backstage/cli": "^0.36.0",
"@backstage/cli-defaults": "^0.1.0",
"@backstage/cli": "^0.36.2",
"@backstage/cli-defaults": "^0.1.2",
"@backstage/e2e-test-utils": "^0.1.2",
"@backstage/repo-tools": "^0.17.0",
"@backstage/repo-tools": "^0.17.2",
"@changesets/cli": "^2.27.1",
"@jest/environment-jsdom-abstract": "^30.3.0",
"@playwright/test": "1.60.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,9 @@ export class CatalogPage {
if (baseLocale === 'en') return;

const displayName = getLocaleDisplayName(locale);
await this.page.getByRole('link', { name: 'Settings' }).click();
await this.page.goto('/settings');

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[low] test-inadequate

E2E test replaced UI-element-based navigation with direct page.goto() calls, slightly reducing coverage of navigation link presence/functionality. The affected code is test setup, not the behavior under test.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[low] test-weakened

switchToLocale switches from role-based link clicking to direct URL navigation (page.goto), bypassing UI element verification. However, this is consistent with existing page.goto() usage in loginAndSetLocale() and openCatalog() in the same file, and the method's core purpose (locale switching) remains fully tested.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[low] test behavior change

The switchToLocale method changes from clicking the Settings link (SPA navigation) to page.goto('/settings') (full page navigation), reducing E2E test fidelity for sidebar navigation.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[low] test-weakened

switchToLocale changed from clicking UI links to direct page.goto() calls, reducing coverage of the navigation flow.

Suggested fix: Update selectors to match the new Backstage UI rather than bypassing navigation, or add assertions after goto calls.

await this.page.getByRole('button', { name: 'English' }).click();
await this.page.getByRole('option', { name: displayName }).click();
await this.page.locator('a').filter({ hasText: 'Home' }).click();
await this.page.goto('/');
}
}
54 changes: 27 additions & 27 deletions workspaces/scorecard/packages/app-legacy/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,32 +20,32 @@
},
"dependencies": {
"@backstage-community/plugin-github-issues": "^0.13.0",
"@backstage-community/plugin-rbac": "^1.50.0",
"@backstage/app-defaults": "^1.7.6",
"@backstage/catalog-model": "^1.7.7",
"@backstage/cli": "^0.36.0",
"@backstage/core-app-api": "^1.19.6",
"@backstage/core-components": "^0.18.8",
"@backstage/core-plugin-api": "^1.12.4",
"@backstage/integration-react": "^1.2.16",
"@backstage/plugin-api-docs": "^0.13.5",
"@backstage/plugin-catalog": "^2.0.1",
"@backstage/plugin-catalog-common": "^1.1.8",
"@backstage/plugin-catalog-graph": "^0.6.0",
"@backstage/plugin-catalog-import": "^0.13.11",
"@backstage/plugin-catalog-react": "^2.1.1",
"@backstage/plugin-kubernetes": "^0.12.17",
"@backstage/plugin-org": "^0.7.0",
"@backstage/plugin-permission-react": "^0.4.41",
"@backstage/plugin-scaffolder": "^1.36.1",
"@backstage/plugin-search": "^1.7.0",
"@backstage/plugin-search-react": "^1.11.0",
"@backstage/plugin-techdocs": "^1.17.2",
"@backstage/plugin-techdocs-module-addons-contrib": "^1.1.34",
"@backstage/plugin-techdocs-react": "^1.3.9",
"@backstage/plugin-user-settings": "^0.9.1",
"@backstage/theme": "^0.7.2",
"@backstage/ui": "^0.13.2",
"@backstage-community/plugin-rbac": "^1.52.1",
"@backstage/app-defaults": "^1.7.8",
"@backstage/catalog-model": "^1.9.0",
"@backstage/cli": "^0.36.2",
"@backstage/core-app-api": "^1.20.1",
"@backstage/core-components": "^0.18.10",
"@backstage/core-plugin-api": "^1.12.6",
"@backstage/integration-react": "^1.2.18",
"@backstage/plugin-api-docs": "^0.14.1",
"@backstage/plugin-catalog": "^2.0.5",
"@backstage/plugin-catalog-common": "^1.1.10",
"@backstage/plugin-catalog-graph": "^0.6.4",
"@backstage/plugin-catalog-import": "^0.13.13",
"@backstage/plugin-catalog-react": "^3.0.0",
"@backstage/plugin-kubernetes": "^0.12.19",
"@backstage/plugin-org": "^0.7.4",
"@backstage/plugin-permission-react": "^0.5.1",
"@backstage/plugin-scaffolder": "^1.37.0",
"@backstage/plugin-search": "^1.7.4",
"@backstage/plugin-search-react": "^1.11.4",
"@backstage/plugin-techdocs": "^1.17.6",
"@backstage/plugin-techdocs-module-addons-contrib": "^1.1.36",
"@backstage/plugin-techdocs-react": "^1.3.11",
"@backstage/plugin-user-settings": "^0.9.3",
"@backstage/theme": "^0.7.3",
"@backstage/ui": "^0.15.0",
"@mui/icons-material": "5.18.0",
"@mui/material": "5.18.0",
"@mui/styles": "5.18.0",
Expand All @@ -63,7 +63,7 @@
},
"devDependencies": {
"@axe-core/playwright": "^4.10.0",
"@backstage/test-utils": "^1.7.16",
"@backstage/test-utils": "^1.7.18",
"@playwright/test": "1.60.0",
"@red-hat-developer-hub/backstage-plugin-scorecard-common": "workspace:^",
"@testing-library/dom": "^9.0.0",
Expand Down
34 changes: 17 additions & 17 deletions workspaces/scorecard/packages/app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,23 +16,23 @@
"clean": "backstage-cli package clean"
},
"dependencies": {
"@backstage-community/plugin-rbac": "^1.50.0",
"@backstage/cli": "^0.36.0",
"@backstage/core-compat-api": "^0.5.9",
"@backstage/core-components": "^0.18.8",
"@backstage/core-plugin-api": "^1.12.4",
"@backstage/frontend-defaults": "^0.5.0",
"@backstage/frontend-plugin-api": "^0.15.1",
"@backstage/plugin-api-docs": "^0.13.5",
"@backstage/plugin-app-react": "^0.2.1",
"@backstage/plugin-catalog": "^2.0.1",
"@backstage/plugin-home": "^0.9.3",
"@backstage/plugin-org": "^0.7.0",
"@backstage/plugin-scaffolder": "^1.36.1",
"@backstage/plugin-search": "^1.7.0",
"@backstage/plugin-techdocs": "^1.17.2",
"@backstage/plugin-user-settings": "^0.9.1",
"@backstage/ui": "^0.13.2",
"@backstage-community/plugin-rbac": "^1.52.1",
"@backstage/cli": "^0.36.2",
"@backstage/core-compat-api": "^0.5.11",
"@backstage/core-components": "^0.18.10",
"@backstage/core-plugin-api": "^1.12.6",
"@backstage/frontend-defaults": "^0.5.2",
"@backstage/frontend-plugin-api": "^0.17.1",
"@backstage/plugin-api-docs": "^0.14.1",
"@backstage/plugin-app-react": "^0.2.3",
"@backstage/plugin-catalog": "^2.0.5",
"@backstage/plugin-home": "^0.9.6",
"@backstage/plugin-org": "^0.7.4",
"@backstage/plugin-scaffolder": "^1.37.0",
"@backstage/plugin-search": "^1.7.4",
"@backstage/plugin-techdocs": "^1.17.6",
"@backstage/plugin-user-settings": "^0.9.3",
"@backstage/ui": "^0.15.0",
"@mui/icons-material": "^5.18.0",
"@mui/material": "^5.18.0",
"@red-hat-developer-hub/backstage-plugin-dynamic-home-page": "1.11.0",
Expand Down
50 changes: 25 additions & 25 deletions workspaces/scorecard/packages/backend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,31 +21,31 @@
"build-image": "docker build ../.. -f Dockerfile --tag backstage"
},
"dependencies": {
"@backstage-community/plugin-rbac-backend": "^7.2.0",
"@backstage/backend-defaults": "^0.16.0",
"@backstage/config": "^1.3.6",
"@backstage/plugin-app-backend": "^0.5.12",
"@backstage/plugin-auth-backend": "^0.27.3",
"@backstage/plugin-auth-backend-module-github-provider": "^0.5.1",
"@backstage/plugin-auth-backend-module-guest-provider": "^0.2.17",
"@backstage/plugin-auth-node": "^0.6.14",
"@backstage/plugin-catalog-backend": "^3.5.0",
"@backstage/plugin-catalog-backend-module-logs": "^0.1.20",
"@backstage/plugin-catalog-backend-module-scaffolder-entity-model": "^0.2.18",
"@backstage/plugin-kubernetes-backend": "^0.21.2",
"@backstage-community/plugin-rbac-backend": "^7.12.2",
"@backstage/backend-defaults": "^0.17.2",
"@backstage/config": "^1.3.8",
"@backstage/plugin-app-backend": "^0.5.14",
"@backstage/plugin-auth-backend": "^0.29.0",
"@backstage/plugin-auth-backend-module-github-provider": "^0.5.3",
"@backstage/plugin-auth-backend-module-guest-provider": "^0.2.19",
"@backstage/plugin-auth-node": "^0.7.1",
"@backstage/plugin-catalog-backend": "^3.7.1",
"@backstage/plugin-catalog-backend-module-logs": "^0.1.22",
"@backstage/plugin-catalog-backend-module-scaffolder-entity-model": "^0.2.20",
"@backstage/plugin-kubernetes-backend": "^0.21.4",
"@backstage/plugin-mcp-actions-backend": "0.1.12",
"@backstage/plugin-permission-backend": "^0.7.10",
"@backstage/plugin-permission-common": "^0.9.7",
"@backstage/plugin-permission-node": "^0.10.11",
"@backstage/plugin-proxy-backend": "^0.6.11",
"@backstage/plugin-scaffolder-backend": "^3.2.0",
"@backstage/plugin-scaffolder-backend-module-github": "^0.9.7",
"@backstage/plugin-search-backend": "^2.1.0",
"@backstage/plugin-search-backend-module-catalog": "^0.3.13",
"@backstage/plugin-search-backend-module-pg": "^0.5.53",
"@backstage/plugin-search-backend-module-techdocs": "^0.4.12",
"@backstage/plugin-search-backend-node": "^1.4.2",
"@backstage/plugin-techdocs-backend": "^2.1.6",
"@backstage/plugin-permission-backend": "^0.7.12",
"@backstage/plugin-permission-common": "^0.9.9",
"@backstage/plugin-permission-node": "^0.11.0",
"@backstage/plugin-proxy-backend": "^0.6.13",
"@backstage/plugin-scaffolder-backend": "^4.0.0",
"@backstage/plugin-scaffolder-backend-module-github": "^0.9.9",
"@backstage/plugin-search-backend": "^2.1.2",
"@backstage/plugin-search-backend-module-catalog": "^0.3.15",
"@backstage/plugin-search-backend-module-pg": "^0.5.55",
"@backstage/plugin-search-backend-module-techdocs": "^0.4.14",
"@backstage/plugin-search-backend-node": "^1.4.4",
"@backstage/plugin-techdocs-backend": "^2.2.0",
"@red-hat-developer-hub/backstage-plugin-scorecard-backend": "workspace:^",
"@red-hat-developer-hub/backstage-plugin-scorecard-backend-module-dependabot": "workspace:^",
"@red-hat-developer-hub/backstage-plugin-scorecard-backend-module-filecheck": "workspace:^",
Expand All @@ -59,7 +59,7 @@
"pg": "^8.11.3"
},
"devDependencies": {
"@backstage/cli": "^0.36.0"
"@backstage/cli": "^0.36.2"
},
"files": [
"dist"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,18 +30,18 @@
"postpack": "backstage-cli package postpack"
},
"dependencies": {
"@backstage/backend-plugin-api": "^1.8.0",
"@backstage/catalog-client": "^1.14.0",
"@backstage/catalog-model": "^1.7.7",
"@backstage/config": "^1.3.6",
"@backstage/integration": "^2.0.0",
"@backstage/backend-plugin-api": "^1.9.1",
"@backstage/catalog-client": "^1.15.2",
"@backstage/catalog-model": "^1.9.0",
"@backstage/config": "^1.3.8",
"@backstage/integration": "^2.0.2",
"@octokit/rest": "^19.0.3",
"@red-hat-developer-hub/backstage-plugin-scorecard-common": "workspace:^",
"@red-hat-developer-hub/backstage-plugin-scorecard-node": "workspace:^"
},
"devDependencies": {
"@backstage/backend-test-utils": "^1.11.1",
"@backstage/cli": "^0.36.0"
"@backstage/backend-test-utils": "^1.11.3",
"@backstage/cli": "^0.36.2"
},
"files": [
"dist"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,18 +38,18 @@
"prettier:fix": "prettier --ignore-unknown --write ."
},
"dependencies": {
"@backstage/backend-plugin-api": "^1.8.0",
"@backstage/catalog-client": "^1.14.0",
"@backstage/catalog-model": "^1.7.7",
"@backstage/errors": "^1.2.7",
"@backstage/integration": "^2.0.0",
"@backstage/backend-plugin-api": "^1.9.1",
"@backstage/catalog-client": "^1.15.2",
"@backstage/catalog-model": "^1.9.0",
"@backstage/errors": "^1.3.1",
"@backstage/integration": "^2.0.2",
"@red-hat-developer-hub/backstage-plugin-scorecard-common": "workspace:^",
"@red-hat-developer-hub/backstage-plugin-scorecard-node": "workspace:^"
},
"devDependencies": {
"@backstage/backend-test-utils": "^1.11.1",
"@backstage/cli": "^0.36.0",
"@backstage/config": "^1.3.6"
"@backstage/backend-test-utils": "^1.11.3",
"@backstage/cli": "^0.36.2",
"@backstage/config": "^1.3.8"
},
"files": [
"config.d.ts",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,19 +38,19 @@
"prettier:fix": "prettier --ignore-unknown --write ."
},
"dependencies": {
"@backstage/backend-plugin-api": "^1.8.0",
"@backstage/catalog-client": "^1.14.0",
"@backstage/catalog-model": "^1.7.7",
"@backstage/integration": "^2.0.0",
"@backstage/plugin-catalog-node": "^2.1.0",
"@backstage/backend-plugin-api": "^1.9.1",
"@backstage/catalog-client": "^1.15.2",
"@backstage/catalog-model": "^1.9.0",
"@backstage/integration": "^2.0.2",
"@backstage/plugin-catalog-node": "^2.2.1",
"@octokit/graphql": "^9.0.1",
"@red-hat-developer-hub/backstage-plugin-scorecard-common": "workspace:^",
"@red-hat-developer-hub/backstage-plugin-scorecard-node": "workspace:^"
},
"devDependencies": {
"@backstage/backend-test-utils": "^1.11.1",
"@backstage/cli": "^0.36.0",
"@backstage/config": "^1.3.6"
"@backstage/backend-test-utils": "^1.11.3",
"@backstage/cli": "^0.36.2",
"@backstage/config": "^1.3.8"
},
"files": [
"config.d.ts",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,17 +38,17 @@
"prettier:fix": "prettier --ignore-unknown --write ."
},
"dependencies": {
"@backstage/backend-plugin-api": "^1.8.0",
"@backstage/catalog-client": "^1.14.0",
"@backstage/catalog-model": "^1.7.7",
"@backstage/plugin-catalog-node": "^2.1.0",
"@backstage/backend-plugin-api": "^1.9.1",
"@backstage/catalog-client": "^1.15.2",
"@backstage/catalog-model": "^1.9.0",
"@backstage/plugin-catalog-node": "^2.2.1",
"@red-hat-developer-hub/backstage-plugin-scorecard-common": "workspace:^",
"@red-hat-developer-hub/backstage-plugin-scorecard-node": "workspace:^"
},
"devDependencies": {
"@backstage/backend-test-utils": "^1.11.1",
"@backstage/cli": "^0.36.0",
"@backstage/config": "^1.3.6"
"@backstage/backend-test-utils": "^1.11.3",
"@backstage/cli": "^0.36.2",
"@backstage/config": "^1.3.8"
},
"files": [
"config.d.ts",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,15 @@
"postpack": "backstage-cli package postpack"
},
"dependencies": {
"@backstage/backend-plugin-api": "^1.8.0",
"@backstage/catalog-client": "^1.14.0",
"@backstage/catalog-model": "^1.7.7",
"@backstage/backend-plugin-api": "^1.9.1",
"@backstage/catalog-client": "^1.15.2",
"@backstage/catalog-model": "^1.9.0",
"@red-hat-developer-hub/backstage-plugin-scorecard-common": "workspace:^",
"@red-hat-developer-hub/backstage-plugin-scorecard-node": "workspace:^"
},
"devDependencies": {
"@backstage/backend-test-utils": "^1.11.1",
"@backstage/cli": "^0.36.0"
"@backstage/backend-test-utils": "^1.11.3",
"@backstage/cli": "^0.36.2"
},
"files": [
"dist"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,16 +30,16 @@
"postpack": "backstage-cli package postpack"
},
"dependencies": {
"@backstage/backend-plugin-api": "^1.8.0",
"@backstage/catalog-client": "^1.14.0",
"@backstage/catalog-model": "^1.7.7",
"@backstage/config": "^1.3.6",
"@backstage/backend-plugin-api": "^1.9.1",
"@backstage/catalog-client": "^1.15.2",
"@backstage/catalog-model": "^1.9.0",
"@backstage/config": "^1.3.8",
"@red-hat-developer-hub/backstage-plugin-scorecard-common": "workspace:^",
"@red-hat-developer-hub/backstage-plugin-scorecard-node": "workspace:^"
},
"devDependencies": {
"@backstage/backend-test-utils": "^1.11.1",
"@backstage/cli": "^0.36.0"
"@backstage/backend-test-utils": "^1.11.3",
"@backstage/cli": "^0.36.2"
},
"configSchema": "config.d.ts",
"files": [
Expand Down
Loading
Loading