Skip to content

Can't set value to a not empty lookup field, if this field located in the table. #69

Description

@MTokarenko

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions