Skip to content

Inconsistent selection behavior in end-to-end tests #1

@dmitrybublik

Description

@dmitrybublik

TestStack.White.UIItems.ListViewRow cannot be selected normally. The method Select() doesn't work. For selection emultaion we use trick:

listViewRow.Focus();
listViewRow.Cells[0].Click();

But this trick works unstable. It is better add big delay between Focus() and Click():

listViewRow.Focus();
Task.Delay(1000).Wait();
listViewRow.Cells[0].Click();

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions