Bugs 390164 and 390166: fix steps and expectedResults spacing and the

syntax error in the "select tests" dialog. p=ben_h, r=zach.
This commit is contained in:
zach@zachlipton.com 2007-07-30 11:11:50 -07:00
Родитель 5a978e0375
Коммит 8bebefde7a
2 изменённых файлов: 6 добавлений и 5 удалений

Просмотреть файл

@ -40,16 +40,16 @@
</hbox>
<vbox width="370px" minwidth="370px">
<groupbox height="160px" minwidth="370px" width="370px">
<groupbox maxheight="130px" minwidth="370px" width="370px">
<caption label="&qa.testcase.steps;" crop="end" maxwidth="200"/>
<div xmlns="http://www.w3.org/1999/xhtml" style="width: 350px; height: 160px; overflow: auto;" id="qa-testcase-steps" class="list"/>
<div xmlns="http://www.w3.org/1999/xhtml" style="width: 350px; height: 140px; overflow: auto;" id="qa-testcase-steps" class="list"/>
</groupbox>
<splitter id="qa-mainwindow-splitter" state="open" collapse="none">
<grippy/>
</splitter>
<groupbox height="130px" minwidth="370px" width="370px">
<groupbox maxheight="120px" minwidth="370px" width="370px">
<caption label="&qa.testcase.expected;" />
<div xmlns="http://www.w3.org/1999/xhtml" style="width: 350px; height: 130px; overflow: auto;" id="qa-testcase-expected" class="list"/>
<div xmlns="http://www.w3.org/1999/xhtml" style="width: 350px; height: 120px; overflow: auto;" id="qa-testcase-expected" class="list"/>
</groupbox>
</vbox>

Просмотреть файл

@ -10,12 +10,13 @@
if (window.arguments.length > 0) {
updateFunction = window.arguments[0]; // parent window passes in a function to update itself with data
handleCancel = window.arguments[1]; // parent window passes in a function to restore state if dialog canceled
}
}
litmus.getTestruns(populateTestRuns);
}
function handleRunSelect() {
var id = document.getElementById("qa-st-testrun").selectedItem.getAttribute("value");
if (id == "") return; // oddly, this check doesn't seem necessary in the other handlers...
litmus.getTestrun(id, populateTestGroups);
}