mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-06-17 11:29:37 -04:00
improve UITestRunner
This commit is contained in:
parent
99f644dd0e
commit
4624ebad94
3 changed files with 15 additions and 6 deletions
|
@ -1,3 +1,11 @@
|
||||||
|
/*
|
||||||
|
Theme colors:
|
||||||
|
|
||||||
|
blue: 0096c9
|
||||||
|
main bg grey: dddddd
|
||||||
|
content bg grey: f4f4f4
|
||||||
|
|
||||||
|
*/
|
||||||
/* Create offer screen */
|
/* Create offer screen */
|
||||||
#input-description-label {
|
#input-description-label {
|
||||||
-fx-font-size: 11;
|
-fx-font-size: 11;
|
||||||
|
|
|
@ -26,6 +26,7 @@ import java.util.ResourceBundle;
|
||||||
import javax.inject.Inject;
|
import javax.inject.Inject;
|
||||||
|
|
||||||
import javafx.fxml.FXML;
|
import javafx.fxml.FXML;
|
||||||
|
import javafx.fxml.Initializable;
|
||||||
import javafx.scene.control.*;
|
import javafx.scene.control.*;
|
||||||
import javafx.scene.image.*;
|
import javafx.scene.image.*;
|
||||||
import javafx.scene.layout.*;
|
import javafx.scene.layout.*;
|
||||||
|
@ -33,7 +34,7 @@ import javafx.scene.layout.*;
|
||||||
import org.slf4j.Logger;
|
import org.slf4j.Logger;
|
||||||
import org.slf4j.LoggerFactory;
|
import org.slf4j.LoggerFactory;
|
||||||
|
|
||||||
public class CreateOfferControllerUIMock {
|
public class CreateOfferControllerUIMock implements Initializable {
|
||||||
private static final Logger log = LoggerFactory.getLogger(CreateOfferControllerUIMock.class);
|
private static final Logger log = LoggerFactory.getLogger(CreateOfferControllerUIMock.class);
|
||||||
|
|
||||||
public VBox priceAmountMinAmountBox;
|
public VBox priceAmountMinAmountBox;
|
||||||
|
@ -70,7 +71,7 @@ public class CreateOfferControllerUIMock {
|
||||||
private CreateOfferControllerUIMock() {
|
private CreateOfferControllerUIMock() {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public void initialize(URL url, ResourceBundle rb) {
|
public void initialize(URL url, ResourceBundle rb) {
|
||||||
|
|
||||||
paymentInfoPane.setVisible(false);
|
paymentInfoPane.setVisible(false);
|
||||||
|
|
|
@ -150,7 +150,7 @@
|
||||||
<ImageView fx:id="priceAmountInfoIcon" fitHeight="24.0" fitWidth="24.0" pickOnBounds="true"
|
<ImageView fx:id="priceAmountInfoIcon" fitHeight="24.0" fitWidth="24.0" pickOnBounds="true"
|
||||||
preserveRatio="true" GridPane.rowIndex="2" GridPane.valignment="TOP">
|
preserveRatio="true" GridPane.rowIndex="2" GridPane.valignment="TOP">
|
||||||
<image>
|
<image>
|
||||||
<Image url="@../../../../../../../../main/resources/images/info_44.png"/>
|
<Image fx:id="infoIcon" url="@../../../../../../../../main/resources/images/info_44.png"/>
|
||||||
</image>
|
</image>
|
||||||
<GridPane.margin>
|
<GridPane.margin>
|
||||||
<Insets right="2.0" top="4.0"/>
|
<Insets right="2.0" top="4.0"/>
|
||||||
|
@ -220,7 +220,7 @@
|
||||||
<ImageView fx:id="paymentInfoIcon" fitHeight="24.0" fitWidth="24.0" pickOnBounds="true"
|
<ImageView fx:id="paymentInfoIcon" fitHeight="24.0" fitWidth="24.0" pickOnBounds="true"
|
||||||
preserveRatio="true" visible="true" GridPane.rowIndex="9" GridPane.valignment="TOP">
|
preserveRatio="true" visible="true" GridPane.rowIndex="9" GridPane.valignment="TOP">
|
||||||
<image>
|
<image>
|
||||||
<Image url="@../../../../../../../../main/resources/images/info_44.png"/>
|
<fx:reference source="infoIcon"/>
|
||||||
</image>
|
</image>
|
||||||
<GridPane.margin>
|
<GridPane.margin>
|
||||||
<Insets right="2.0" top="4.0"/>
|
<Insets right="2.0" top="4.0"/>
|
||||||
|
@ -291,7 +291,7 @@
|
||||||
<ImageView fx:id="payFundsInfoIcon" fitHeight="24.0" fitWidth="24.0" pickOnBounds="true"
|
<ImageView fx:id="payFundsInfoIcon" fitHeight="24.0" fitWidth="24.0" pickOnBounds="true"
|
||||||
preserveRatio="true" visible="true" GridPane.rowIndex="14" GridPane.valignment="TOP">
|
preserveRatio="true" visible="true" GridPane.rowIndex="14" GridPane.valignment="TOP">
|
||||||
<image>
|
<image>
|
||||||
<Image url="@../../../../../../../../main/resources/images/info_44.png"/>
|
<fx:reference source="infoIcon"/>
|
||||||
</image>
|
</image>
|
||||||
<GridPane.margin>
|
<GridPane.margin>
|
||||||
<Insets right="2.0" top="4.0"/>
|
<Insets right="2.0" top="4.0"/>
|
||||||
|
@ -373,7 +373,7 @@
|
||||||
<ImageView fx:id="showDetailsInfoIcon" fitHeight="24.0" fitWidth="24.0" pickOnBounds="true"
|
<ImageView fx:id="showDetailsInfoIcon" fitHeight="24.0" fitWidth="24.0" pickOnBounds="true"
|
||||||
preserveRatio="true" visible="true" GridPane.rowIndex="22" GridPane.valignment="TOP">
|
preserveRatio="true" visible="true" GridPane.rowIndex="22" GridPane.valignment="TOP">
|
||||||
<image>
|
<image>
|
||||||
<Image url="@../../../../../../../../main/resources/images/info_44.png"/>
|
<fx:reference source="infoIcon"/>
|
||||||
</image>
|
</image>
|
||||||
<GridPane.margin>
|
<GridPane.margin>
|
||||||
<Insets right="2.0" top="4.0"/>
|
<Insets right="2.0" top="4.0"/>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue