Skip to content

Commit

Permalink
chore: add useTitle test
Browse files Browse the repository at this point in the history
  • Loading branch information
bun913 committed Sep 1, 2024
1 parent 4e17552 commit 485adb1
Showing 1 changed file with 42 additions and 0 deletions.
42 changes: 42 additions & 0 deletions test/systemTest/useTitle.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
{
"info": {
"_postman_id": "hoge",
"name": "UseTestTitleTest",
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
"_exporter_id": "2"
},
"item": [
{
"name": "Get",
"event": [
{
"listen": "test",
"script": {
"exec": [
"pm.test(\"MatchIfTestTitleEnvIsSettedWithoutCaseId1\", function () {",
" pm.expect(pm.response.code).to.be.eq(200);",
"});",
"",
"pm.test(\"MatchIfTestTitleEnvIsSettedWithoutCaseId2\", function () {",
" pm.expect(pm.response.code).to.be.eq(200);",
"});",
""
],
"type": "text/javascript"
}
}
],
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "https://github.com/bun913/newman-reporter-neo",
"protocol": "https",
"host": ["github", "com"],
"path": ["bun913", "newman-reporter-neo"]
}
},
"response": []
}
]
}

0 comments on commit 485adb1

Please sign in to comment.