Wait for the bilingual region screen in China harness runs

This commit is contained in:
ZacharyZhang-NY committed 2026-10-06 18:50:08 -04:00
1 parent ed10c3661d
commit b7edf95ecb
1 file changed
+3 -4
+3 -4
View File
@@ -645,9 +645,8 @@ drive_configurator() {
[[ $REGION == "china" ]] && press down
press ret
# Keyboard follows; Ctrl+C there defers provisioning. China reruns the
# installer in cage + foot, so the next screens are Chinese.
wait_for_screen "$(region_text "keyboard layout" "键盘")" 300
# Global asks for the keyboard; China reruns in cage + foot on a bilingual region screen with a US keyboard. Ctrl+C on either defers provisioning.
wait_for_screen "$(region_text "keyboard layout" "选择区域")" 300
capture_console "success-installer-01-keyboard-layout"
if $PROVISION; then
@@ -678,7 +677,7 @@ drive_configurator() {
return 0
fi
press ret # English (US) is preselected
press ret # English (US), or China, is preselected
# Normal flow: user step comes before disk selection.
wait_for_screen "$(region_text "Username" "用户名")" 120