-
Notifications
You must be signed in to change notification settings - Fork 356
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
adding tab to render the payload inside it
- Loading branch information
Showing
2 changed files
with
68 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,40 +7,57 @@ exports[`AnsiblePlaybookWorkflow component should render the AnsiblePlaybookWork | |
<div | ||
className="col-md-12 col-lg-6" | ||
> | ||
<Controlled | ||
className="miq-codemirror ansible-playbook-workflow-payload" | ||
options={ | ||
Object { | ||
"autoCloseBrackets": true, | ||
"gutters": Array [ | ||
"CodeMirror-lint-markers", | ||
], | ||
"lineNumbers": true, | ||
"lineWrapping": true, | ||
"lint": true, | ||
"mode": "yaml", | ||
"styleActiveLine": true, | ||
"theme": "eclipse", | ||
} | ||
} | ||
value={ | ||
Object { | ||
"address": Object { | ||
"city": "Anytown", | ||
"street": "123 Main St", | ||
"zip": 12345, | ||
}, | ||
"age": 30, | ||
"email": "[email protected]", | ||
"hobbies": Array [ | ||
"Reading", | ||
"Hiking", | ||
"Cooking", | ||
], | ||
"name": "John Doe", | ||
} | ||
} | ||
/> | ||
<Tabs | ||
className="miq_custom_tabs" | ||
scrollDebounceWait={150} | ||
scrollIntoView={true} | ||
selected={0} | ||
selectionMode="automatic" | ||
type="default" | ||
> | ||
<Tab | ||
key="tabtext" | ||
label="Text" | ||
onClick={[Function]} | ||
onKeyDown={[Function]} | ||
selected={false} | ||
> | ||
<Controlled | ||
className="miq-codemirror ansible-playbook-workflow-payload" | ||
options={ | ||
Object { | ||
"autoCloseBrackets": true, | ||
"gutters": Array [ | ||
"CodeMirror-lint-markers", | ||
], | ||
"lineNumbers": true, | ||
"lineWrapping": true, | ||
"lint": true, | ||
"mode": "yaml", | ||
"styleActiveLine": true, | ||
"theme": "eclipse", | ||
} | ||
} | ||
value={ | ||
Object { | ||
"address": Object { | ||
"city": "Anytown", | ||
"street": "123 Main St", | ||
"zip": 12345, | ||
}, | ||
"age": 30, | ||
"email": "[email protected]", | ||
"hobbies": Array [ | ||
"Reading", | ||
"Hiking", | ||
"Cooking", | ||
], | ||
"name": "John Doe", | ||
} | ||
} | ||
/> | ||
</Tab> | ||
</Tabs> | ||
</div> | ||
</div> | ||
`; | ||
|
@@ -56,7 +73,7 @@ exports[`AnsiblePlaybookWorkflow component should render the AnsiblePlaybookWork | |
className="col-md-12 col-lg-6" | ||
> | ||
<NotificationMessage | ||
message="Payload is not avaible" | ||
message="Payload is not avaible." | ||
type="info" | ||
> | ||
<div | ||
|
@@ -66,7 +83,7 @@ exports[`AnsiblePlaybookWorkflow component should render the AnsiblePlaybookWork | |
className="pficon pficon-info" | ||
/> | ||
<strong> | ||
Payload is not avaible | ||
Payload is not avaible. | ||
</strong> | ||
</div> | ||
</NotificationMessage> | ||
|