|
490 | 490 | ] |
491 | 491 | } |
492 | 492 | }, |
| 493 | + "/v1/projects/{projectId}/testcases/{testcaseId}/updateSteps": { |
| 494 | + "post": { |
| 495 | + "summary": "Update steps assigned to a testcase.", |
| 496 | + "tags": [], |
| 497 | + "operationId": "updateTestcaseSteps", |
| 498 | + "deprecated": false, |
| 499 | + "produces": [ |
| 500 | + "application/json" |
| 501 | + ], |
| 502 | + "parameters": [ |
| 503 | + { |
| 504 | + "name": "projectId", |
| 505 | + "in": "path", |
| 506 | + "type": "string", |
| 507 | + "description": "Project Id", |
| 508 | + "required": true |
| 509 | + }, |
| 510 | + { |
| 511 | + "name": "testcaseId", |
| 512 | + "in": "path", |
| 513 | + "type": "string", |
| 514 | + "description": "Testcase Id", |
| 515 | + "required": true |
| 516 | + }, |
| 517 | + { |
| 518 | + "name": "Body", |
| 519 | + "in": "body", |
| 520 | + "required": true, |
| 521 | + "description": "", |
| 522 | + "schema": { |
| 523 | + "$ref": "#/definitions/UpdatedTestcase" |
| 524 | + } |
| 525 | + } |
| 526 | + ] |
| 527 | + } |
| 528 | + }, |
493 | 529 | "/v1/testsuite/{testSuiteId}/execute": { |
494 | 530 | "post": { |
495 | 531 | "summary": "It executes a test suite", |
|
658 | 694 | } |
659 | 695 | } |
660 | 696 | }, |
| 697 | + "/v1/testcases/{testcaseId}/isgenerating": { |
| 698 | + "get": { |
| 699 | + "summary": "generating test cases", |
| 700 | + "tags": [], |
| 701 | + "operationId": "isGenerating", |
| 702 | + "deprecated": false, |
| 703 | + "produces": [ |
| 704 | + "application/json" |
| 705 | + ], |
| 706 | + "parameters": [ |
| 707 | + { |
| 708 | + "name": "testcaseId", |
| 709 | + "in": "path", |
| 710 | + "type": "string", |
| 711 | + "description": "TestCase Id", |
| 712 | + "required": true |
| 713 | + } |
| 714 | + ], |
| 715 | + "responses": { |
| 716 | + "description": "whether it is generating", |
| 717 | + "schema": { |
| 718 | + "type": "boolean" |
| 719 | + } |
| 720 | + } |
| 721 | + } |
| 722 | + }, |
661 | 723 | "/blocks/getAll/{accountId}/{blockId}": { |
662 | 724 | "get": { |
663 | 725 | "summary": "Get test steps for a specific test case block", |
|
1008 | 1070 | "test_steps" |
1009 | 1071 | ] |
1010 | 1072 | }, |
| 1073 | + "UpdatedTestcase": { |
| 1074 | + "title": "UpdatedTestcase", |
| 1075 | + "example": { |
| 1076 | + "debugPoints": [], |
| 1077 | + "isCreationMode": false, |
| 1078 | + "sessionId": "P-uWAnuGR", |
| 1079 | + "testSteps": [{ |
| 1080 | + "data": "https://webdriver.io", |
| 1081 | + "instr": "open website", |
| 1082 | + "columnName": "", |
| 1083 | + "xpath": "", |
| 1084 | + "stepId": "" |
| 1085 | + }] |
| 1086 | + }, |
| 1087 | + "type": "object", |
| 1088 | + "properties": { |
| 1089 | + "debugPoints": { |
| 1090 | + "type": "array", |
| 1091 | + "items": { |
| 1092 | + "type": "number" |
| 1093 | + } |
| 1094 | + }, |
| 1095 | + "isCreationMode": { |
| 1096 | + "type": "boolean" |
| 1097 | + }, |
| 1098 | + "sessionId": { |
| 1099 | + "type": "string" |
| 1100 | + }, |
| 1101 | + "testSteps": { |
| 1102 | + "type": "array", |
| 1103 | + "items": { |
| 1104 | + "$ref": "#/definitions/Step" |
| 1105 | + } |
| 1106 | + } |
| 1107 | + }, |
| 1108 | + "required": [ |
| 1109 | + "isCreationMode", |
| 1110 | + "sessionId", |
| 1111 | + "testSteps" |
| 1112 | + ] |
| 1113 | + }, |
1011 | 1114 | "GetTestsuitesByProject": { |
1012 | 1115 | "title": "GetTestsuitesByProject", |
1013 | 1116 | "example": { |
|
0 commit comments