feat: add TestSubstep along with step status

This commit is contained in:
Ali BARIN
2022-02-09 22:48:29 +01:00
committed by Ömer Faruk Aydın
parent 50ef6be69c
commit 020ef45f0a
13 changed files with 165 additions and 16 deletions

View File

@@ -222,9 +222,11 @@
"description": "Will be triggered when you tweet something new.",
"subSteps": [
{
"key": "chooseAccount",
"name": "Choose account"
},
{
"key": "testStep",
"name": "Test trigger"
}
]
@@ -235,9 +237,11 @@
"description": "Will be triggered when a specific user tweet something new.",
"subSteps": [
{
"key": "chooseAccount",
"name": "Choose account"
},
{
"key": "chooseTrigger",
"name": "Set up a trigger",
"arguments": [
{
@@ -249,6 +253,7 @@
]
},
{
"key": "testStep",
"name": "Test trigger"
}
]
@@ -261,9 +266,11 @@
"description": "Will create a tweet.",
"subSteps": [
{
"key": "chooseAccount",
"name": "Choose account"
},
{
"key": "chooseAction",
"name": "Set up action",
"arguments": [
{
@@ -275,6 +282,7 @@
]
},
{
"key": "testStep",
"name": "Test action"
}
]

View File

@@ -11,6 +11,7 @@ const actionType = new GraphQLObjectType({
new GraphQLObjectType({
name: 'ActionSubStep',
fields: {
key: { type: GraphQLString },
name: { type: GraphQLString },
arguments: {
type: GraphQLList(

View File

@@ -11,6 +11,7 @@ const triggerType = new GraphQLObjectType({
new GraphQLObjectType({
name: 'TriggerSubStep',
fields: {
key: { type: GraphQLString },
name: { type: GraphQLString },
arguments: {
type: GraphQLList(