diff options
author | Ilia Motornyi <elmot@vaadin.com> | 2018-05-02 13:34:10 +0300 |
---|---|---|
committer | Teemu Suo-Anttila <tsuoanttila@users.noreply.github.com> | 2018-05-02 13:34:10 +0300 |
commit | c4d621c7772347f1b90c94d566c894b7434cb7f1 (patch) | |
tree | 896e04c4002ccec28d60995fb9534acbd91d211d /testbench-api/src/main/java | |
parent | 494dac9ec2f509777a1a31579c3aaaf84b158709 (diff) | |
download | vaadin-framework-c4d621c7772347f1b90c94d566c894b7434cb7f1.tar.gz vaadin-framework-c4d621c7772347f1b90c94d566c894b7434cb7f1.zip |
Enable formatting in testbench-api module (#10852)
Diffstat (limited to 'testbench-api/src/main/java')
-rw-r--r-- | testbench-api/src/main/java/com/vaadin/testbench/elements/GridElement.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/testbench-api/src/main/java/com/vaadin/testbench/elements/GridElement.java b/testbench-api/src/main/java/com/vaadin/testbench/elements/GridElement.java index c9c91a9be6..2f78e01f13 100644 --- a/testbench-api/src/main/java/com/vaadin/testbench/elements/GridElement.java +++ b/testbench-api/src/main/java/com/vaadin/testbench/elements/GridElement.java @@ -462,7 +462,8 @@ public class GridElement extends AbstractComponentElement { Optional<WebElement> toggleButton = getDriver() .findElement(By.className("v-grid-sidebar-content")) .findElements(By.className("column-hiding-toggle")).stream() - .filter(element -> element.getText().equals(toggleCaption)).findAny(); + .filter(element -> element.getText().equals(toggleCaption)) + .findAny(); if (toggleButton.isPresent()) { toggleButton.ifPresent(element -> element.click()); } else { |