github.com/pluralsh/plural-cli@v0.9.5/pkg/ui/web/src/graphql/tests.graphql (about) 1 fragment Step on TestStep { 2 id 3 name 4 status 5 hasLogs 6 description 7 insertedAt 8 updatedAt 9 } 10 11 12 fragment Test on Test { 13 id 14 name 15 promoteTag 16 status 17 insertedAt 18 updatedAt 19 steps { ...Step } 20 } 21 22 mutation CreateTest($name: String!, $attrs: TestAttributes!) { 23 createTest(name: $name, attributes: $attrs) { 24 ...Test 25 } 26 } 27 28 mutation UpdateTest($id: ID!, $attrs: TestAttributes!) { 29 updateTest(id: $id, attributes: $attrs) { 30 ...Test 31 } 32 } 33 34 mutation UpdateStep($id: ID!, $logs: UploadOrUrl!) { 35 updateStep(id: $id, attributes: {logs: $logs}) { id } 36 } 37 38 mutation PublishLogs($id: ID!, $logs: String!) { 39 publishLogs(id: $id, logs: $logs) { id } 40 }