Skip to content

Commit

Permalink
Make test more stable and actually run in production mode (#130)
Browse files Browse the repository at this point in the history
  • Loading branch information
Artur- authored Apr 5, 2018
1 parent 0c5a35b commit 7a325fe
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
8 changes: 8 additions & 0 deletions vaadin-platform-test/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,10 @@
<id>vaadin-addons</id>
<url>http://maven.vaadin.com/vaadin-addons</url>
</repository>
<repository>
<id>vaadin-pre-relase</id>
<url>http://maven.vaadin.com/vaadin-prereleases</url>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
Expand All @@ -49,6 +53,10 @@
<groupId>com.vaadin</groupId>
<artifactId>vaadin</artifactId>
</dependency>
<dependency>
<groupId>com.vaadin</groupId>
<artifactId>flow-server-production-mode</artifactId>
</dependency>

<!-- TestBench must be included in the project separately to get
a test scope -->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,6 @@ public ComponentsView() {
Row row2 = new Row(lineChart, barChart);
row2.setComponentSpan(lineChart, 2);
row2.setComponentSpan(barChart, 2);
row2.setHeight("300px");

board.add(row, row2);

Expand Down Expand Up @@ -246,7 +245,7 @@ protected void onAttach(AttachEvent attachEvent) {
super.onAttach(attachEvent);
// Workaround for https://github.com/vaadin/flow/issues/3279
dialog.open();
Notification notification = Notification.show("Hello", 10000,
Notification notification = Notification.show("Hello", 30000,
Position.TOP_CENTER);
attachEvent.getUI().add(notification);
}
Expand Down

0 comments on commit 7a325fe

Please sign in to comment.