Skip to content

Commit

Permalink
Merge branch 'main' into snyk-upgrade-a01219c3a07316c6b8fd00ba2f50d331
Browse files Browse the repository at this point in the history
  • Loading branch information
Zaperex authored Jan 5, 2024
2 parents 12af4b1 + f54db34 commit 6ca443a
Showing 1 changed file with 78 additions and 0 deletions.
78 changes: 78 additions & 0 deletions e2e-tests/cypress/e2e/plugins/dynamic-plugins-info.spec.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
const plugins = [
{
name: 'backstage-plugin-catalog-backend-module-github-dynamic',
version: '0.4.4',
platform: 'node',
role: 'backend-plugin-module',
},
{
name: 'backstage-plugin-catalog-backend-module-github-org-dynamic',
version: '0.1.0',
platform: 'node',
role: 'backend-plugin-module',
},
{
name: 'backstage-plugin-github-actions',
version: '0.6.6',
role: 'frontend-plugin',
platform: 'web',
},
{
name: 'backstage-plugin-github-issues',
version: '0.2.14',
role: 'frontend-plugin',
platform: 'web',
},
{
name: 'backstage-plugin-kubernetes-backend-dynamic',
version: '0.13.0',
platform: 'node',
role: 'backend-plugin-module',
},
{
name: '@janus-idp/backstage-plugin-keycloak-backend-dynamic',
version: '1.7.6',
platform: 'node',
role: 'backend-plugin-module',
},
{
name: '@janus-idp/backstage-plugin-ocm',
version: '3.5.0',
role: 'frontend-plugin',
platform: 'web',
},
{
name: '@janus-idp/backstage-plugin-ocm-backend-dynamic',
version: '3.4.6',
platform: 'node',
role: 'backend-plugin',
},
{
name: '@janus-idp/backstage-plugin-quay',
version: '1.4.6',
role: 'frontend-plugin',
platform: 'web',
},
{
name: '@janus-idp/backstage-scaffolder-backend-module-quay-dynamic',
version: '1.2.1',
platform: 'node',
role: 'backend-plugin-module',
},
{
name: 'roadiehq-backstage-plugin-github-pull-requests',
version: '2.5.18',
role: 'frontend-plugin',
platform: 'web',
},
];

describe('dynamic-plugins-info backend plugin', () => {
it('should lists all the dynamic plugins installed', () => {
cy.request('/api/dynamic-plugins-info/loaded-plugins')
.its('body')
.then(body => {
expect(body).to.include.deep.members(plugins);
});
});
});

0 comments on commit 6ca443a

Please sign in to comment.