-
Notifications
You must be signed in to change notification settings - Fork 153
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into snyk-upgrade-a01219c3a07316c6b8fd00ba2f50d331
- Loading branch information
Showing
16 changed files
with
112 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
--- | ||
--- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
'app': patch | ||
'@internal/plugin-dynamic-plugins-info-backend': patch | ||
'@internal/plugin-scalprum-backend': patch | ||
--- | ||
|
||
Updated dependency `@testing-library/user-event` to `14.5.2`. | ||
Updated dependency `@types/supertest` to `2.0.16`. | ||
Updated dependency `@types/mock-fs` to `4.13.4`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
'backend': patch | ||
--- | ||
|
||
Updated dependency `fs-extra` to `11.2.0`. | ||
Updated dependency `@types/fs-extra` to `11.0.4`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
29 changes: 29 additions & 0 deletions
29
e2e-tests/cypress/e2e/plugins/quick-access-and-tech-radar.spec.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
import { HomePage } from '../../support/pages/HomePage'; | ||
import { TechRadar } from '../../support/pages/TechRadar'; | ||
import { Common } from '../../utils/Common'; | ||
import { UIhelper } from '../../utils/UIhelper'; | ||
|
||
//Pre-req: Enable backstage-plugin-tech-radar Plugin | ||
|
||
describe('Test Customized Quick Access and tech-radar plugin', () => { | ||
before(() => { | ||
Common.loginAsGuest(); | ||
}); | ||
|
||
it('Verify Customized Quick Access', () => { | ||
HomePage.verifyQuickAccess('TEST COMMUNITY', 'Website', true); | ||
HomePage.verifyQuickAccess('MONITORING TOOLS', 'Grafana', true); | ||
HomePage.verifyQuickAccess('SECURITY TOOLS', 'Vault', true); | ||
}); | ||
|
||
it('Verify tech-radar', () => { | ||
UIhelper.openSidebar('Tech Radar'); | ||
UIhelper.verifyHeading('Tech Radar'); | ||
UIhelper.verifyHeading('Company Radar'); | ||
|
||
TechRadar.verifyRadarDetails('Languages', 'TEST JavaScript'); | ||
TechRadar.verifyRadarDetails('Storage', 'AWS S3'); | ||
TechRadar.verifyRadarDetails('Frameworks', 'React'); | ||
TechRadar.verifyRadarDetails('Infrastructure', 'ArgoCD'); | ||
}); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
export class TechRadar { | ||
static verifyRadarDetails(section: string, text: string) { | ||
cy.contains('h2', section) | ||
.parent() | ||
.contains(text) | ||
.scrollIntoView() | ||
.should('be.visible'); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8446,10 +8446,10 @@ | |
"@testing-library/dom" "^8.0.0" | ||
"@types/react-dom" "<18.0.0" | ||
|
||
"@testing-library/[email protected].1": | ||
version "14.5.1" | ||
resolved "https://registry.yarnpkg.com/@testing-library/user-event/-/user-event-14.5.1.tgz#27337d72046d5236b32fd977edee3f74c71d332f" | ||
integrity sha512-UCcUKrUYGj7ClomOo2SpNVvx4/fkd/2BbIHDCle8A0ax+P3bU7yJwDBDrS6ZwdTMARWTGODX1hEsCcO+7beJjg== | ||
"@testing-library/[email protected].2": | ||
version "14.5.2" | ||
resolved "https://registry.yarnpkg.com/@testing-library/user-event/-/user-event-14.5.2.tgz#db7257d727c891905947bd1c1a99da20e03c2ebd" | ||
integrity sha512-YAh82Wh4TIrxYLmfGcixwD18oIjyC1pFQC2Y01F2lzV2HTMiYrI0nze0FD0ocB//CKS/7jIUgae+adPqxK5yCQ== | ||
|
||
"@tokenizer/token@^0.3.0": | ||
version "0.3.0" | ||
|
@@ -8704,11 +8704,12 @@ | |
"@types/qs" "*" | ||
"@types/serve-static" "*" | ||
|
||
"@types/fs-extra@9.0.11": | ||
version "9.0.11" | ||
resolved "https://registry.yarnpkg.com/@types/fs-extra/-/fs-extra-9.0.11.tgz#8cc99e103499eab9f347dbc6ca4e99fb8d2c2b87" | ||
integrity sha512-mZsifGG4QeQ7hlkhO56u7zt/ycBgGxSVsFI/6lGTU34VtwkiqrrSDgw0+ygs8kFGWcXnFQWMrzF2h7TtDFNixA== | ||
"@types/fs-extra@11.0.4": | ||
version "11.0.4" | ||
resolved "https://registry.yarnpkg.com/@types/fs-extra/-/fs-extra-11.0.4.tgz#e16a863bb8843fba8c5004362b5a73e17becca45" | ||
integrity sha512-yTbItCNreRooED33qjunPthRcSjERP1r4MqCZc7wv0u2sUkzTFp45tgUfS5+r7FrZPdmCCNflLhVSP/o+SemsQ== | ||
dependencies: | ||
"@types/jsonfile" "*" | ||
"@types/node" "*" | ||
|
||
"@types/glob@*": | ||
|
@@ -8849,6 +8850,13 @@ | |
resolved "https://registry.yarnpkg.com/@types/json5/-/json5-0.0.29.tgz#ee28707ae94e11d2b827bcbe5270bcea7f3e71ee" | ||
integrity sha512-dRLjCWHYg4oaA77cxO64oO+7JwCwnIzkZPdrrC71jQmQtlhM556pwKo5bUzqvZndkVbeFLIIi+9TC40JNF5hNQ== | ||
|
||
"@types/jsonfile@*": | ||
version "6.1.4" | ||
resolved "https://registry.yarnpkg.com/@types/jsonfile/-/jsonfile-6.1.4.tgz#614afec1a1164e7d670b4a7ad64df3e7beb7b702" | ||
integrity sha512-D5qGUYwjvnNNextdU59/+fI+spnwtTFmyQP0h+PfIOSkNfpU6AOICUOkm4i0OnSk+NyjdPJrxCDro0sJsWlRpQ== | ||
dependencies: | ||
"@types/node" "*" | ||
|
||
"@types/jsonwebtoken@^9.0.0": | ||
version "9.0.4" | ||
resolved "https://registry.yarnpkg.com/@types/jsonwebtoken/-/jsonwebtoken-9.0.4.tgz#8b74bbe87bde81a3469d4b32a80609bec62c23ec" | ||
|
@@ -8928,10 +8936,10 @@ | |
resolved "https://registry.yarnpkg.com/@types/minimist/-/minimist-1.2.4.tgz#81f886786411c45bba3f33e781ab48bd56bfca2e" | ||
integrity sha512-Kfe/D3hxHTusnPNRbycJE1N77WHDsdS4AjUYIzlDzhDrS47NrwuL3YW4VITxwR7KCVpzwgy4Rbj829KSSQmwXQ== | ||
|
||
"@types/[email protected].3": | ||
version "4.13.3" | ||
resolved "https://registry.yarnpkg.com/@types/mock-fs/-/mock-fs-4.13.3.tgz#57a53413bd27bca41509053b105430eaf6bf1cce" | ||
integrity sha512-PeXnRqMVBkVjHNCxu1wzPBi9cv5uWVl6535XD11NXt8pasJXh2MHxWvJs6d7eyt/V6BGgHZ4O3LF71CVMdMasA== | ||
"@types/[email protected].4": | ||
version "4.13.4" | ||
resolved "https://registry.yarnpkg.com/@types/mock-fs/-/mock-fs-4.13.4.tgz#e73edb4b4889d44d23f1ea02d6eebe50aa30b09a" | ||
integrity sha512-mXmM0o6lULPI8z3XNnQCpL0BGxPwx1Ul1wXYEPBGl4efShyxW2Rln0JOPEWGyZaYZMM6OVXM/15zUuFMY52ljg== | ||
dependencies: | ||
"@types/node" "*" | ||
|
||
|
@@ -9225,10 +9233,10 @@ | |
"@types/cookiejar" "*" | ||
"@types/node" "*" | ||
|
||
"@types/[email protected].15": | ||
version "2.0.15" | ||
resolved "https://registry.yarnpkg.com/@types/supertest/-/supertest-2.0.15.tgz#3d032865048c84c6a3bbbf1f949145b917d2ff65" | ||
integrity sha512-jUCZZ/TMcpGzoSaed9Gjr8HCf3HehExdibyw3OHHEL1als1KmyzcOZZH4MjbObI8TkWsEr7bc7gsW0WTDni+qQ== | ||
"@types/[email protected].16": | ||
version "2.0.16" | ||
resolved "https://registry.yarnpkg.com/@types/supertest/-/supertest-2.0.16.tgz#7a1294edebecb960d957bbe9b26002a2b7f21cd7" | ||
integrity sha512-6c2ogktZ06tr2ENoZivgm7YnprnhYE4ZoXGMY+oA7IuAf17M8FWvujXZGmxLv8y0PTyts4x5A+erSwVUFA8XSg== | ||
dependencies: | ||
"@types/superagent" "*" | ||
|
||
|
@@ -14901,6 +14909,15 @@ [email protected], fs-extra@^10.0.0, fs-extra@^10.1.0: | |
jsonfile "^6.0.1" | ||
universalify "^2.0.0" | ||
|
||
[email protected]: | ||
version "11.2.0" | ||
resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-11.2.0.tgz#e70e17dfad64232287d01929399e0ea7c86b0e5b" | ||
integrity sha512-PmDi3uwK5nFuXh7XDTlVnS17xJS7vW36is2+w3xcv8SVxiB4NyATf4ctkVY5bkSjX0Y4nbvZCq1/EjtEyr9ktw== | ||
dependencies: | ||
graceful-fs "^4.2.0" | ||
jsonfile "^6.0.1" | ||
universalify "^2.0.0" | ||
|
||
fs-extra@^7.0.1: | ||
version "7.0.1" | ||
resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-7.0.1.tgz#4f189c44aa123b895f722804f55ea23eadc348e9" | ||
|