Skip to content

Commit

Permalink
fix: ComboBoxElement#clear to empty the field as well (#6936) (#6954)
Browse files Browse the repository at this point in the history
Co-authored-by: Tatu Lund <[email protected]>
Co-authored-by: Sascha Ißbrücker <[email protected]>
  • Loading branch information
3 people authored Dec 16, 2024
1 parent bd8cc5e commit e866b7e
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -39,6 +39,8 @@ public class ComboBoxElement extends TestBenchElement
@Override
public void clear() {
setValue(null);
// Setting value to null is not enough to empty the text input
executeScript("arguments[0].clear();", this);
}

/**

0 comments on commit e866b7e

Please sign in to comment.