Skip to content

Commit 91a6a9f

Browse files
committed
verified-boot.robot: Add laptops without battery workaround
Signed-off-by: Filip Gołaś <[email protected]>
1 parent 9950f9a commit 91a6a9f

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

dasharo-security/verified-boot.robot

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,13 @@ VBO009.001 Recovery boot popup is displayed when incorrectly signed firmware is
103103
# extended FW boot times
104104
Set DUT Response Timeout 300s
105105
${recovery_popup}= Read From Terminal Until Press ENTER key to continue
106+
# Workaround for laptops tested using sonoff & without a battery
106107
Should Contain ${recovery_popup} !!! WARNING !!!
108+
IF 'battery is not detected' in $recovery_popup
109+
Sleep 12s
110+
Read From Terminal
111+
${recovery_popup}= Read From Terminal Until Press ENTER key to continue
112+
END
107113
Should Contain ${recovery_popup} Recovery reason code:
108114
Should Contain ${recovery_popup} Recovery reason:
109115
Boot System Or From Connected Disk ${ENV_ID_UBUNTU}

0 commit comments

Comments
 (0)