Skip to content

Commit

Permalink
Revert "remove not yet implemented adw - tbd in OPSEXP-2868"
Browse files Browse the repository at this point in the history
This reverts commit b28d8f3.
  • Loading branch information
alxgomz committed Oct 2, 2024
1 parent 27f3d7d commit f6b0d21
Showing 1 changed file with 74 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -547,6 +547,80 @@
},
"response": []
},
{
"name": "Validate Digital Workspace",
"event": [
{
"listen": "test",
"script": {
"exec": [
"",
"pm.globals.get(\"url\");",
"",
"// only run this test if it's an Enterprise repo",
"if (pm.environment.get(\"repositoryEdition\") == \"Enterprise\")",
"{",
" pm.test(\"adwIsUpAndRunningTest\", function () {",
" pm.response.to.have.status(200);",
" });",
"",
" pm.test(\"Check that body matches string\", function () {",
" pm.expect(pm.response.text()).to.include(\"Alfresco Digital Workspace\");",
" });",
"}",
"else",
"{",
" pm.test(\"testResponseStatusIs404ForCommunity\", function ()",
" {",
" pm.response.to.have.status(404);",
" });",
"}"
],
"type": "text/javascript"
}
}
],
"request": {
"auth": {
"type": "basic",
"basic": [
{
"key": "username",
"value": "admin",
"type": "string"
},
{
"key": "password",
"value": "admin",
"type": "string"
},
{
"key": "saveHelperData",
"type": "any"
},
{
"key": "showPassword",
"value": false,
"type": "boolean"
}
]
},
"method": "GET",
"header": [],
"url": {
"raw": "{{protocol}}://{{url}}/workspace",
"protocol": "{{protocol}}",
"host": [
"{{url}}"
],
"path": [
"workspace"
]
},
"description": "Validate Digital Workspace is deployed correctly"
},
"response": []
},
{
"name": "google-docs",
"event": [
Expand Down

0 comments on commit f6b0d21

Please sign in to comment.