Skip to content

Commit 30b5a90

Browse files
authored
chore(fix): fix quay tests and bump shared-react in nexus-repository-… (#2528)
chore(fix): fix quay tests and bump shared-react in nexus-repository-manager Signed-off-by: Kim Tsao <[email protected]>
1 parent 67cfca0 commit 30b5a90

File tree

3 files changed

+12
-6
lines changed

3 files changed

+12
-6
lines changed

.changeset/dull-donuts-refuse.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
"@janus-idp/backstage-plugin-nexus-repository-manager": patch
3+
"@janus-idp/backstage-plugin-quay": patch
4+
---
5+
6+
re-enable quay tests, bump shared-react dependency in nexus-repository-manager

plugins/nexus-repository-manager/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
"@backstage/core-plugin-api": "^1.9.2",
3737
"@backstage/plugin-catalog-react": "^1.11.3",
3838
"@backstage/theme": "^0.5.3",
39-
"@janus-idp/shared-react": "2.6.3",
39+
"@janus-idp/shared-react": "2.6.4",
4040
"@material-ui/core": "^4.9.13",
4141
"@material-ui/icons": "^4.11.3",
4242
"@material-ui/lab": "^4.0.0-alpha.45",

plugins/quay/tests/quay.spec.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,21 +37,21 @@ test.describe('Quay plugin', () => {
3737
}
3838
});
3939

40-
test.skip('Vulnerabilities are listed', async () => {
40+
test('Vulnerabilities are listed', async () => {
4141
const severity = ['High:', 'Medium:', 'Low:'];
4242
for (const lvl of severity) {
4343
await expect(page.getByRole('link', { name: lvl })).toBeVisible();
4444
}
4545
});
4646

47-
test.skip('Vulnerability details are accessible', async () => {
47+
test('Vulnerability details are accessible', async () => {
4848
await page.getByRole('link', { name: 'High' }).first().click();
4949
await expect(page.getByText('Vulnerabilities for')).toBeVisible({
5050
timeout: 15000,
5151
});
5252
});
5353

54-
test.skip('Vulnerability columns are shown', async () => {
54+
test('Vulnerability columns are shown', async () => {
5555
const columns = [
5656
'Advisory',
5757
'Severity',
@@ -65,12 +65,12 @@ test.describe('Quay plugin', () => {
6565
}
6666
});
6767

68-
test.skip('Vulnerability rows are shown', async () => {
68+
test('Vulnerability rows are shown', async () => {
6969
const tbody = page.locator('tbody');
7070
await expect(tbody.locator('tr')).toHaveCount(5);
7171
});
7272

73-
test.skip('Link back to repository works', async () => {
73+
test('Link back to repository works', async () => {
7474
await page.getByRole('link', { name: 'Back to repository' }).click();
7575
await expect(
7676
page.getByRole('link', { name: 'backstage-test/test-images' }),

0 commit comments

Comments
 (0)