Skip to content
Snippets Groups Projects
Commit 1aa846be authored by Mark Yan's avatar Mark Yan
Browse files

Merge branch 'slb/ps/update-utility-tests' into 'master'

test: update the test for the utility LS endpoint after the dataset deletion

See merge request !661
parents dd53aa1d 5f91a180
No related branches found
No related tags found
1 merge request!661test: update the test for the utility LS endpoint after the dataset deletion
Pipeline #172457 failed
......@@ -5,7 +5,7 @@ dist
# python
*.pyc
# Log Files
# Log Files
*.log
# test
......
{
"info": {
"_postman_id": "b2d777d8-fb16-4604-866d-73f44b31083c",
"name": "SDMS-E2E ver.M15 - Release 0.18",
"_postman_id": "5bed183e-6dd4-4017-a66e-200ec7283e9e",
"name": "SDMS-E2E ver.M17 - Release 0.20",
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
"_exporter_id": "17166992"
},
......@@ -11663,7 +11663,7 @@
"response": []
},
{
"name": "UTILITY LS 2",
"name": "UTILITY LS AFTER DATASET DELETE",
"event": [
{
"listen": "test",
......@@ -11681,19 +11681,19 @@
" });",
"",
" pm.test(\"Check Data List\", function () {",
" var test = false;",
" if(jsonData.length >=1) {",
" var test = false;",
" for(var i = 0; i < jsonData.length; i++) {",
" if(jsonData[i] !== pm.environment.get('dsx01')) {",
" if(jsonData[i] === pm.environment.get('dsx01')) {",
" test = true",
" break;",
" }",
" }",
" } else {",
" test=true",
" } ",
" pm.expect(test).to.eql(true);",
" } ",
" pm.expect(test).to.eql(false);",
" });",
"",
"",
" // Reset environment variables if _.retryOnFailure function was used before",
" var key = request.name + '_counter';",
" pm.environment.unset(key);",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment