canonical / mir-ci

Mir CI helpers
1 stars 1 forks source link

`grab_screenshot` should wait for the next frame #66

Closed hbatagelo closed 5 months ago

hbatagelo commented 5 months ago

Shouldn't we have that dance in grab_screenshot? I mean, if we don't have a frame, we shouldn't be grabbing it. And in that case, don't we need a timeout on grab_screenshot? And couldn't we await it?

_Originally posted by @Saviq in https://github.com/MirServer/mir-ci/pull/62#discussion_r1477856724_