improve UITestRunner

This commit is contained in:
Manfred Karrer 2014-09-01 19:38:49 +02:00
parent 99f644dd0e
commit 4624ebad94
3 changed files with 15 additions and 6 deletions

View File

@ -1,3 +1,11 @@
/*
Theme colors:
blue: 0096c9
main bg grey: dddddd
content bg grey: f4f4f4
*/
/* Create offer screen */
#input-description-label {
-fx-font-size: 11;

View File

@ -26,6 +26,7 @@ import java.util.ResourceBundle;
import javax.inject.Inject;
import javafx.fxml.FXML;
import javafx.fxml.Initializable;
import javafx.scene.control.*;
import javafx.scene.image.*;
import javafx.scene.layout.*;
@ -33,7 +34,7 @@ import javafx.scene.layout.*;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
public class CreateOfferControllerUIMock {
public class CreateOfferControllerUIMock implements Initializable {
private static final Logger log = LoggerFactory.getLogger(CreateOfferControllerUIMock.class);
public VBox priceAmountMinAmountBox;
@ -70,7 +71,7 @@ public class CreateOfferControllerUIMock {
private CreateOfferControllerUIMock() {
}
@Override
public void initialize(URL url, ResourceBundle rb) {
paymentInfoPane.setVisible(false);

View File

@ -150,7 +150,7 @@
<ImageView fx:id="priceAmountInfoIcon" fitHeight="24.0" fitWidth="24.0" pickOnBounds="true"
preserveRatio="true" GridPane.rowIndex="2" GridPane.valignment="TOP">
<image>
<Image url="@../../../../../../../../main/resources/images/info_44.png"/>
<Image fx:id="infoIcon" url="@../../../../../../../../main/resources/images/info_44.png"/>
</image>
<GridPane.margin>
<Insets right="2.0" top="4.0"/>
@ -220,7 +220,7 @@
<ImageView fx:id="paymentInfoIcon" fitHeight="24.0" fitWidth="24.0" pickOnBounds="true"
preserveRatio="true" visible="true" GridPane.rowIndex="9" GridPane.valignment="TOP">
<image>
<Image url="@../../../../../../../../main/resources/images/info_44.png"/>
<fx:reference source="infoIcon"/>
</image>
<GridPane.margin>
<Insets right="2.0" top="4.0"/>
@ -291,7 +291,7 @@
<ImageView fx:id="payFundsInfoIcon" fitHeight="24.0" fitWidth="24.0" pickOnBounds="true"
preserveRatio="true" visible="true" GridPane.rowIndex="14" GridPane.valignment="TOP">
<image>
<Image url="@../../../../../../../../main/resources/images/info_44.png"/>
<fx:reference source="infoIcon"/>
</image>
<GridPane.margin>
<Insets right="2.0" top="4.0"/>
@ -373,7 +373,7 @@
<ImageView fx:id="showDetailsInfoIcon" fitHeight="24.0" fitWidth="24.0" pickOnBounds="true"
preserveRatio="true" visible="true" GridPane.rowIndex="22" GridPane.valignment="TOP">
<image>
<Image url="@../../../../../../../../main/resources/images/info_44.png"/>
<fx:reference source="infoIcon"/>
</image>
<GridPane.margin>
<Insets right="2.0" top="4.0"/>