masquerade
masquerade copied to clipboard
Can't set value to a not empty lookup field, if this field located in the table.
Environment
- Masquerade version: 2.0.2
- Cuba platform version: 7.2
Description of the bug or enhancement
In the LookupField setValue(String value) implementation is used method setFilter(value). If LookupField value in not empty, method setFilter() use WebElement method sendKeys with value 'Keys.chord(Keys.CONTROL, "a"), Keys.DELETE'. In cuba app shortcut ctrl+A is used for selecting all fields in the table. So, if we have not empty LookupField in the table, we can't set value to the such field.
-
Expected behavior LookupField value is changed to the correct value
-
Actual behavior Instead changing value we select all rows in the table