Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(project): u#2860 t#4048 add id workflow to get_projet #508

Merged
merged 1 commit into from
Sep 28, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@


class WorkflowNestedSerializer(BaseModel):
id: UUIDB64
name: str
slug: str

Expand Down
12 changes: 8 additions & 4 deletions python/docs/postman/taiga.postman_collection_e2e.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"info": {
"_postman_id": "5511fda1-e0cf-4e71-9c44-ae40b83d9fa7",
"_postman_id": "cf393355-0c41-4532-8f51-592b8ef092ab",
"name": "taiga-next e2e",
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
"_exporter_id": "9835734"
Expand Down Expand Up @@ -2517,6 +2517,7 @@
" pm.expect(workspace).to.have.property(\"userRole\");",
"",
" var workflows = jsonRes.workflows;",
" pm.expect(workflows[0]).to.have.property(\"id\");",
" pm.expect(workflows[0]).to.have.property(\"name\");",
" pm.expect(workflows[0]).to.have.property(\"slug\");",
"",
Expand Down Expand Up @@ -4035,7 +4036,8 @@
" pm.expect(jsonRes).to.have.property(\"order\");",
" pm.expect(jsonRes).to.have.property(\"workflow\");",
" ",
" pm.expect(Object.keys(jsonRes.workflow).length).to.equal(2); ",
" pm.expect(Object.keys(jsonRes.workflow).length).to.equal(3);",
" pm.expect(jsonRes.workflow).to.have.property(\"id\"); ",
" pm.expect(jsonRes.workflow).to.have.property(\"name\");",
" pm.expect(jsonRes.workflow).to.have.property(\"slug\");",
"});"
Expand Down Expand Up @@ -5019,10 +5021,11 @@
" var numOfReturnedFields = Object.keys(jsonRes.status).length;",
" pm.expect(numOfReturnedFields).to.equal(4);",
"",
" pm.expect(jsonRes.workflow).to.have.property(\"id\");",
" pm.expect(jsonRes.workflow).to.have.property(\"name\");",
" pm.expect(jsonRes.workflow).to.have.property(\"slug\");",
" numOfReturnedFields = Object.keys(jsonRes.workflow).length;",
" pm.expect(numOfReturnedFields).to.equal(2);",
" pm.expect(numOfReturnedFields).to.equal(3);",
"});",
"",
"pm.test(\"Environment variable settings\", function () {",
Expand Down Expand Up @@ -5107,10 +5110,11 @@
" var numOfReturnedFields = Object.keys(jsonRes.status).length;",
" pm.expect(numOfReturnedFields).to.equal(4);",
"",
" pm.expect(jsonRes.workflow).to.have.property(\"id\");",
" pm.expect(jsonRes.workflow).to.have.property(\"name\");",
" pm.expect(jsonRes.workflow).to.have.property(\"slug\");",
" numOfReturnedFields = Object.keys(jsonRes.workflow).length;",
" pm.expect(numOfReturnedFields).to.equal(2);",
" pm.expect(numOfReturnedFields).to.equal(3);",
"",
" // Validate updates",
" pm.expect(jsonRes.title).to.contain(\"New title\");",
Expand Down
Loading