mirror of
https://github.com/ansible/awx.git
synced 2024-10-31 15:21:13 +03:00
update e2e test for codemirror change
This commit is contained in:
parent
7476fefd65
commit
e96e1e925c
@ -18,7 +18,7 @@
|
|||||||
<i class="fa fa-question-circle"></i>
|
<i class="fa fa-question-circle"></i>
|
||||||
</a>
|
</a>
|
||||||
<div class="atCodeMirror-toggleContainer FormToggle-container">
|
<div class="atCodeMirror-toggleContainer FormToggle-container">
|
||||||
<div class="btn-group">
|
<div id="{{ name }}_parse_type" class="btn-group">
|
||||||
<label ng-class="{'btn-primary': parseType === 'yaml','Button-primary--hollow' : parseType === 'json'}" class="btn btn-xs">
|
<label ng-class="{'btn-primary': parseType === 'yaml','Button-primary--hollow' : parseType === 'json'}" class="btn btn-xs">
|
||||||
<input
|
<input
|
||||||
type="radio"
|
type="radio"
|
||||||
|
@ -159,8 +159,8 @@ module.exports = {
|
|||||||
client.click('div[class="CodeMirror-scroll"]');
|
client.click('div[class="CodeMirror-scroll"]');
|
||||||
client.sendKeys('.CodeMirror textarea', client.Keys.ENTER);
|
client.sendKeys('.CodeMirror textarea', client.Keys.ENTER);
|
||||||
client.sendKeys('.CodeMirror textarea', 'ansible_connection: local');
|
client.sendKeys('.CodeMirror textarea', 'ansible_connection: local');
|
||||||
client.click('#host_host_variables_parse_type label[class$="hollow"]');
|
client.click('#host_variables_parse_type label[class$="hollow"]');
|
||||||
client.click('#host_host_variables_parse_type label[class$="hollow"]');
|
client.click('#host_variables_parse_type label[class$="hollow"]');
|
||||||
|
|
||||||
client.expect.element('#host_save_btn').enabled;
|
client.expect.element('#host_save_btn').enabled;
|
||||||
client.click('#host_save_btn');
|
client.click('#host_save_btn');
|
||||||
|
Loading…
Reference in New Issue
Block a user