mirror of
https://github.com/apache/zeppelin
synced 2026-05-24 09:38:26 +00:00
fix: ParagraphIT, parameterizedQueryForm
This commit is contained in:
parent
08eba10b2d
commit
4029c029c6
2 changed files with 3 additions and 4 deletions
|
|
@ -270,7 +270,7 @@ public class ParagraphActionsIT extends AbstractZeppelinIT {
|
|||
collector.checkThat("Before Run Output field contains ",
|
||||
driver.findElements(By.xpath(xpathToOutputField)).size(),
|
||||
CoreMatchers.equalTo(0));
|
||||
driver.findElement(By.xpath(getParagraphXPath(1) + "//span[@ng-click='runParagraph(getEditorValue())']")).click();
|
||||
runParagraph(1);
|
||||
waitForParagraph(1, "FINISHED");
|
||||
collector.checkThat("After Run Output field contains ",
|
||||
driver.findElement(By.xpath(xpathToOutputField)).getText(),
|
||||
|
|
@ -286,7 +286,6 @@ public class ParagraphActionsIT extends AbstractZeppelinIT {
|
|||
} catch (Exception e) {
|
||||
handleException("Exception in ParagraphActionsIT while testClearOutputButton ", e);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@Test
|
||||
|
|
|
|||
|
|
@ -22,14 +22,14 @@ limitations under the License.
|
|||
|
||||
<input class="form-control input-sm"
|
||||
ng-if="!paragraph.settings.forms[formulaire.name].options"
|
||||
ng-enter="runParagraph(getEditorValue())"
|
||||
ng-enter="runParagraphFromButton(getEditorValue())"
|
||||
ng-model="paragraph.settings.params[formulaire.name]"
|
||||
ng-class="{'disable': paragraph.status == 'RUNNING' || paragraph.status == 'PENDING' }"
|
||||
name="{{formulaire.name}}" />
|
||||
|
||||
<select class="form-control input-sm"
|
||||
ng-if="paragraph.settings.forms[formulaire.name].options && paragraph.settings.forms[formulaire.name].type != 'checkbox'"
|
||||
ng-enter="runParagraph(getEditorValue())"
|
||||
ng-enter="runParagraphFromButton(getEditorValue())"
|
||||
ng-model="paragraph.settings.params[formulaire.name]"
|
||||
ng-class="{'disable': paragraph.status == 'RUNNING' || paragraph.status == 'PENDING' }"
|
||||
name="{{formulaire.name}}"
|
||||
|
|
|
|||
Loading…
Reference in a new issue