addressbook-level4 icon indicating copy to clipboard operation
addressbook-level4 copied to clipboard

SelectCommandSystemTest: update to verify selected card is visible

Open Zhiyuan-Amos opened this issue 6 years ago • 0 comments

SelectCommand selects a card and scrolls to the card.

SelectCommandSystemTest does not verify that the card is visible.

Let's update SelectCommandSystemTest to verify that the person card is in the on-screen bounding box of the PersonListPanel. From taking a quick look, it seems that there's no easy way to get the (x,y) coordinates of each person card using JavaFX / TestFX. Using Flowless may help as there's API for such functionality.

Zhiyuan-Amos avatar Mar 14 '18 11:03 Zhiyuan-Amos