Wait for screenshot until display is up
authorJan-Simon Möller <jsmoeller@linuxfoundation.org>
Wed, 15 Sep 2021 14:50:18 +0000 (16:50 +0200)
committerJan-Simon Möller <jsmoeller@linuxfoundation.org>
Wed, 15 Sep 2021 14:50:18 +0000 (16:50 +0200)
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Change-Id: Ie74175ab892f12a4eca439350bdd043bb282f931

common/scripts/agl-screenshot-test.sh

index d1261ba..b0c79cd 100755 (executable)
@@ -67,6 +67,9 @@ fi
 #echo "Found agl-screenshoooter in $AGL_SCREENSHOOTER"
 rm -rf agl-screenshot-*.png
 
+# give it a bit more time to display
+sleep 30
+
 if $AGL_SCREENSHOOTER; then
        echo "Screenshot taken"
 else