Add synchronization logic to fill, check, and select
Refactor wait_for methods in ui_helpers for acceptance tests.