diff --git a/device-posture/device-posture.https.html b/device-posture/device-posture.https.html index 75c2fa513b10ac..f84317c19bf6f8 100644 --- a/device-posture/device-posture.https.html +++ b/device-posture/device-posture.https.html @@ -22,7 +22,7 @@ const watcher = new EventWatcher(t, navigator.devicePosture, ['change']); const postures = ['folded', 'continuous', 'folded']; for (const posture of postures) { - test_driver.set_device_posture(posture); + await test_driver.set_device_posture(posture); await watcher.wait_for('change').then(() => { assert_equals(posture, navigator.devicePosture.type); });