Skip to content

Instantly share code, notes, and snippets.

@manvillej
Created April 24, 2021 14:28
Show Gist options
  • Save manvillej/45045d5f10491fb7c764ec4ac0447b53 to your computer and use it in GitHub Desktop.
Save manvillej/45045d5f10491fb7c764ec4ac0447b53 to your computer and use it in GitHub Desktop.
schema {
query: Query
}
type Query {
atfTestSuite(id: String!): atfTestSuite
atfTest(id: String!): atfTest
}
type atfTestSuite {
id: ID
name: String
active: Boolean
filter: String
description: String
parent: String
tests: testList
}
type testList {
results:[atfTest]
}
type atfTest {
active: Boolean
id: ID @source(value: "sys_id")
name: String
description: String
testHistory(limit: String): atfTestResultList @source(value: "sys_id")
}
type atfTestResultList {
history:[atfTestStatus]
}
type atfTestStatus {
id: ID
pending: Int
duration: String
startTime: String
endTime: String
output: String
status: String
userAgents: String
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment