# 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_COMPOSITION_MODE	HALF_ASCII
SEND_KEYS	1a
UPDATE_MOBILE_KEYBOARD	TOGGLE_FLICK_TO_HIRAGANA	SPACE_OR_CONVERT_KEEPING_COMPOSITION
SWITCH_COMPOSITION_MODE	HIRAGANA
SEND_KEYS	l/
EXPECT_PREEDIT	1aねん

EXPECT_IN_ALL_CANDIDATE_WORDS	1
EXPECT_IN_ALL_CANDIDATE_WORDS	１

SUBMIT_CANDIDATE_BY_VALUE	1
EXPECT_RESULT	1
EXPECT_PREEDIT	aねん

RESET_CONTEXT

UPDATE_MOBILE_KEYBOARD	TOGGLE_FLICK_TO_NUMBER	SPACE_OR_CONVERT_KEEPING_COMPOSITION
SWITCH_COMPOSITION_MODE	HALF_ASCII
SEND_KEYS	1a
UPDATE_MOBILE_KEYBOARD	TOGGLE_FLICK_TO_HIRAGANA	SPACE_OR_CONVERT_KEEPING_COMPOSITION
SWITCH_COMPOSITION_MODE	HIRAGANA
SEND_KEYS	l/
EXPECT_PREEDIT	1aねん

EXPECT_IN_ALL_CANDIDATE_WORDS	1
EXPECT_IN_ALL_CANDIDATE_WORDS	１

SUBMIT_CANDIDATE_BY_VALUE	１
EXPECT_RESULT	１
EXPECT_PREEDIT	aねん
