-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cypress framework optimization (#951)
* Add tests for Revoke Environment access and Delete consumer feature * make name in metrics list unique * fix publishing api content * fix publishing api content * upd service acct title * fix batch sync not returning non 200 error on failures * fix public flow access button defect * upd error messaging for revoke consumer access * remove the manual mode for cred issuer * make sure we render routes even if no path is provided * pending requests should be enforced editing consumer * ensure email name is provided * add confirmation dialogs * fix for error when deleting basic issuer * provide better error info in activity for issuers * fix delete namespace race condition * Optimized test-data files by removing the redundant records * remove debugger statement * Set default run browser as edge --------- Co-authored-by: ikethecoder <[email protected]>
- Loading branch information
1 parent
1d11ed5
commit d1a6716
Showing
81 changed files
with
893 additions
and
255 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,82 @@ | ||
{ | ||
"namespace": "newplatform", | ||
"deleteResources": { | ||
"namespace": "gw-a9232" | ||
}, | ||
"clientCredentials": { | ||
"namespace": "gw-d2c50" | ||
}, | ||
"namespacePreview": { | ||
"namespace": "gw-16a3a" | ||
}, | ||
"orgAssignment": { | ||
"namespace": "gw-f016e" | ||
}, | ||
"orgAssignmentMultipleAdmin": { | ||
"namespace": "orgassignment1" | ||
}, | ||
"orgAssignmentOrgUnit": { | ||
"namespace": "orgassign-unit" | ||
}, | ||
"checkPermission": { | ||
"namespace": "gw-deedd", | ||
"grantPermission": { | ||
"Mark": { | ||
"userName": "Mark F Mark L", | ||
"email": "[email protected]", | ||
"accessRole": [ | ||
"Access.Manage" | ||
] | ||
}, | ||
"Mark_NV": { | ||
"userName": "Mark F Mark L", | ||
"email": "[email protected]", | ||
"accessRole": [ | ||
"Namespace.View" | ||
] | ||
}, | ||
"Wendy": { | ||
"userName": "Wendy F Wendy L", | ||
"email": "[email protected]", | ||
"accessRole": [ | ||
"Namespace.Manage", | ||
"CredentialIssuer.Admin" | ||
] | ||
}, | ||
"Wendy_NM": { | ||
"userName": "Wendy F Wendy L", | ||
"email": "[email protected]", | ||
"accessRole": [ | ||
"Namespace.Manage" | ||
] | ||
}, | ||
"Wendy_CA": { | ||
"userName": "Wendy F Wendy L", | ||
"email": "[email protected]", | ||
"accessRole": [ | ||
"CredentialIssuer.Admin" | ||
] | ||
}, | ||
"Wendy_GC": { | ||
"userName": "Wendy F Wendy L", | ||
"email": "[email protected]", | ||
"accessRole": [ | ||
"GatewayConfig.Publish", | ||
"Namespace.View" | ||
] | ||
}, | ||
"Janis": { | ||
"userName": "Janis Smith", | ||
"email": "[email protected]", | ||
"accessRole": [ | ||
"Namespace.Manage", | ||
"CredentialIssuer.Admin" | ||
] | ||
} | ||
} | ||
}, | ||
"apiTest": { | ||
"namespace": "gw-c3f31", | ||
"delete_namespace": "testplatform" | ||
} | ||
} |
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,34 @@ | ||
services: | ||
- name: a-service-for-newplatform | ||
host: httpbin.org | ||
tags: [ns.newplatform.test] | ||
port: 443 | ||
protocol: https | ||
retries: 0 | ||
routes: | ||
- name: a-service-for-newplatform-route | ||
tags: [ns.newplatform.test] | ||
hosts: | ||
- a-service-for-newplatform.api.gov.bc.ca | ||
paths: | ||
- / | ||
methods: | ||
- GET | ||
strip_path: false | ||
https_redirect_status_code: 426 | ||
path_handling: v0 | ||
|
||
plugins: | ||
- name: key-auth | ||
tags: [ ns.newplatform.test ] | ||
protocols: [ http, https ] | ||
config: | ||
key_names: ["X-API-KEY"] | ||
run_on_preflight: true | ||
hide_credentials: true | ||
key_in_body: false | ||
- name: acl | ||
tags: [ ns.newplatform.test ] | ||
config: | ||
hide_groups_header: true | ||
allow: [ "406CB7CF" ] |
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,34 @@ | ||
services: | ||
- name: a-service-for-newplatform-test | ||
host: httpbin.org | ||
tags: [ns.newplatform.test] | ||
port: 443 | ||
protocol: https | ||
retries: 0 | ||
routes: | ||
- name: a-service-for-newplatform-test-route | ||
tags: [ns.newplatform.test] | ||
hosts: | ||
- a-service-for-newplatform-test.api.gov.bc.ca | ||
paths: | ||
- / | ||
methods: | ||
- GET | ||
strip_path: false | ||
https_redirect_status_code: 426 | ||
path_handling: v0 | ||
|
||
plugins: | ||
- name: key-auth | ||
tags: [ ns.newplatform.test ] | ||
protocols: [ http, https ] | ||
config: | ||
key_names: ["X-API-KEY"] | ||
run_on_preflight: true | ||
hide_credentials: true | ||
key_in_body: false | ||
- name: acl | ||
tags: [ ns.newplatform.test ] | ||
config: | ||
hide_groups_header: true | ||
allow: [ "9AA97172" ] |
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
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
Oops, something went wrong.