# This file contains a scenario for testing variant candidates of auto partial
# suggestion.
# See also http://b/issue?id=147788072

# Enable IME
SEND_KEY	ON

SET_MOBILE_REQUEST

RESET_CONTEXT

UPDATE_MOBILE_KEYBOARD	TOGGLE_FLICK_TO_NUMBER	SPACE_OR_CONVERT_KEEPING_COMPOSITION
SWITCH_INPUT_MODE	HALF_ASCII
SEND_KEYS	10
UPDATE_MOBILE_KEYBOARD	TOGGLE_FLICK_TO_HIRAGANA	SPACE_OR_CONVERT_KEEPING_COMPOSITION
SWITCH_INPUT_MODE	HIRAGANA
SEND_KEYS	l|
EXPECT_PREEDIT	10ねこ

EXPECT_IN_ALL_CANDIDATE_WORDS	10
EXPECT_IN_ALL_CANDIDATE_WORDS	１０

SUBMIT_CANDIDATE_BY_VALUE	10
EXPECT_RESULT	10
EXPECT_PREEDIT	ねこ

RESET_CONTEXT

UPDATE_MOBILE_KEYBOARD	TOGGLE_FLICK_TO_NUMBER	SPACE_OR_CONVERT_KEEPING_COMPOSITION
SWITCH_INPUT_MODE	HALF_ASCII
SEND_KEYS	10
UPDATE_MOBILE_KEYBOARD	TOGGLE_FLICK_TO_HIRAGANA	SPACE_OR_CONVERT_KEEPING_COMPOSITION
SWITCH_INPUT_MODE	HIRAGANA
SEND_KEYS	l|
EXPECT_PREEDIT	10ねこ

EXPECT_IN_ALL_CANDIDATE_WORDS	10
EXPECT_IN_ALL_CANDIDATE_WORDS	１０

SUBMIT_CANDIDATE_BY_VALUE	１０
EXPECT_RESULT	１０
EXPECT_PREEDIT	ねこ
