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

Fix pager duty test #2653

Merged
merged 21 commits into from
Dec 19, 2018
Merged
Changes from 19 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
85 changes: 56 additions & 29 deletions TestPlaybooks/playbook-PagerDuty_Test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ tasks:
view: |-
{
"position": {
"x": 480,
"x": 50,
"y": 340
}
}
Expand All @@ -72,7 +72,7 @@ tasks:
view: |-
{
"position": {
"x": 480,
"x": 50,
"y": 515
}
}
Expand All @@ -99,7 +99,7 @@ tasks:
view: |-
{
"position": {
"x": 50,
"x": 480,
"y": 340
}
}
Expand All @@ -125,7 +125,7 @@ tasks:
view: |-
{
"position": {
"x": 50,
"x": 480,
"y": 515
}
}
Expand All @@ -144,7 +144,7 @@ tasks:
brand: ""
nexttasks:
'#none#':
- "6"
- "8"
scriptarguments:
since: {}
sortBy: {}
Expand All @@ -159,24 +159,56 @@ tasks:
}
}
note: false
"6":
id: "6"
taskid: 264477b8-5c63-4d53-8874-276b316e2b6d
type: regular
timertriggers: []
"7":
id: "7"
taskid: 7fdf0e18-3eb6-46b6-8da3-d99fbdee35a9
type: title
task:
id: 7fdf0e18-3eb6-46b6-8da3-d99fbdee35a9
version: -1
name: PagerDuty Commands
type: title
iscommand: false
brand: ""
nexttasks:
'#none#':
- "3"
- "1"
- "5"
separatecontext: false
view: |-
{
"position": {
"x": 480,
"y": 195
}
}
note: false
timertriggers: []
"8":
id: "8"
taskid: a9c1e79d-88e9-4695-8b34-1c117ef5f3a8
type: condition
task:
id: 264477b8-5c63-4d53-8874-276b316e2b6d
version: -1
name: Verify Context
scriptName: VerifyContext
type: regular
name: Is There an Incident key?
type: condition
iscommand: false
brand: ""
scriptarguments:
expectedValue: {}
fields: {}
path:
simple: PagerDuty.Incidents
nexttasks:
"yes":
- "9"
separatecontext: false
conditions:
- label: "yes"
condition:
- - operator: isExists
left:
value:
simple: ${PagerDuty.Incidents}
iscontext: true
view: |-
{
"position": {
Expand All @@ -185,28 +217,23 @@ tasks:
}
}
note: false
"7":
id: "7"
taskid: ef319398-78f9-4c70-8e3a-d846929cb16d
"9":
id: "9"
taskid: 7a2c4ce5-a31d-41e7-8f9f-69a13d13d277
type: title
task:
id: ef319398-78f9-4c70-8e3a-d846929cb16d
version: -1
name: PagerDuty Commands
name: End of test
type: title
iscommand: false
brand: ""
nexttasks:
'#none#':
- "3"
- "1"
- "5"
separatecontext: false
view: |-
{
"position": {
"x": 480,
"y": 195
"x": 910,
"y": 690
}
}
note: false
Expand All @@ -215,7 +242,7 @@ view: |-
"linkLabelsPosition": {},
"paper": {
"dimensions": {
"height": 560,
"height": 705,
"width": 1240,
"x": 50,
"y": 50
Expand Down