From Fedora Project Wiki

(Created ibus emoji test cases.)
 
(Fix to referrence step numbers.)
(11 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{QA/Test_Case
{{QA/Test_Case
|description=This test-case is for the IBus Emojier utility in F26 or later.
|description=This test-case is for the IBus Emojier utility in F26 or later. The test cases have been slight different since F29 and you need to type emoji annotations on a text entry of IBus emoji dialog in F27 and F28 instead of the application preedit.
|setup=You may want to try it on the installed environment because emoji typing feature are '''disabled by default on Live'''.
|actions=You may wish to install 'google-noto-emoji-fonts' rpm for the emoji fonts.
|actions=You may wish to install 'google-noto-emoji-fonts' rpm for the emoji fonts.


* Test cases for non-GNOME desktops likes XFCE4, Plasma, MATE or etc
* Test cases for emoji typing


# Log into the desktop and Launch a text application likes `gedit` and focus on it.
# Run `gnome-control-center keyboard` and add an input method sources besides XKB sources to enable IBus for XKB sources in case you use GNOME desktop
# After 1, Type Control-Shift-e
# Launch a text application likes `gedit` and focus on it.
# After 2, Type "smile" on the Emojier dialog and some emoji candidates are shown. Arrow keys or Control-f,b,n,p can move the selected emoji and press Enter key.
# After 2, Type Control-period
# After 2, Press Arrow keys or Control-f,b can move the selected category on Emojier, press Enter key to open the emoji candidates for the selected category, Arrow keys or Control-f,b,n,p can move the selected emoji and press Enter key.
# After 3, Type "smile" and Space key to convert the emoji annotation to an emoji character. And press Space key again to show more emoji candidates with a lookup window. Space,  arrow keys or Control-f,b,n,p can move the selected emoji and press Enter key.
# After 2, Press Escape key on emoji candidate list, press Escape key after you type an emoji annotations, press Escape key on emoji category list without typing any emoji annotations.
# After 3, Press Space to show an emoji categories dialog. Press Arrow keys or Control-f,b can move the selected category on Emojier, press Enter key to open the emoji candidates for the selected category, Arrow keys or Control-f,b,n,p can move the selected emoji and press Enter key.
# After 1, Right click on IBus panel icon and choose "Emoji Choice" men item.
# After 3, Type "smile" and Space key x 2 to show the lookup window and press Escape key several times.
# After 6, Click "x" button to close the dialog
# After 2, Right click on IBus panel icon and choose "Emoji Choice" menu item. (non-GNOME desktops only)
# Run `ibus-setup` utility, select "Emoji" tab, change "Emoji annotation language", chnage "Emoji font" to "Noto Color Emoji" and close the dialog
# After 7, Open an emoji category with mouse click. Click menu button on the dialog and choose "Close" button.
# After 1, Type "1f466", Shift-space, "1f467"
# After 7, Click  "Open Unicode Choice" and open Unicode categories and click one of the Unicode character.
# Run `ibus-setup` utility, select "Emoji" tab, change "Emoji annotation language", change "Unicode font" to "Noto Color Emoji" and close the dialog
# After 3, Type "1f9d2", Shift-space, "1f3fe"
# Run `man ibus-emoji` on your terminal application likes gnome-terminal.
# Run `man ibus-emoji` on your terminal application likes gnome-terminal.


* Test cases for GNOME desktop
* Test cases for Unicode code points
 
# Log into the desktop and Launch a text application likes `gedit` and focus on it.
# After 1, Type Control-Shift-u
# After 2, Type "123" and type Space key


# Log into the desktop and launch gnome-terminal
# After 1, Run `ibus emoji`
# After 2, Type "smile" on the Emojier dialog and some emoji candidates are shown. Arrow keys or Control-f,b,n,p can move the selected emoji and press Enter key.
# After 1, Run `ibus emoji --help`
# Refer the test cases for on-GNOME desktops likes XFCE4, Plasma, MATE or etc above.
|results=
|results=
* Test results for non-GNOME desktops likes XFCE4, Plasma, MATE or etc
* Test results for emoji typing


# N/A
# N/A
# "Emoji Choice" dialog is shown.
# N/A
# The chosen emoji is inserted on the text application which was focused before Emojier is launched.
# "e" preedit is shown on the current input focus.
# The chosen emoji is inserted on the text application which was focused before Emojier is launched.
# The chosen emoji is inserted on the text application. The lookup window forms one dimension in GNOME desktop and it does two demension in non-GNOME desktop. The lookup window is located at the application's cursor position.
# Escape key can bring back to the category list from emoji list, erase your typed emoji annotation, close the dialog.
# The chosen emoji is inserted on the text application. The dialog title "Emoji Choice" is shown in GNOME desktop only.
# "Emoji Choice" dialog is shown.
# Escape key can close the lookup window, reverted the preedit to the original annotation, erase the preedit finally.
# emoji category dialog is shown and this and #4 is same.
# Close Emojier.
# Close Emojier.
# The changed settings reflects to the Emojier.
# The chosen Unicode is inserted on the text application. Ctrl-Shift-n,p keys work in Unicode categories dialog to page up/down categories.
# Two Unicode characters are shown.
# The changed settings reflects to the Emojier. And Emojier shows emoji or Unicode lists from the selected category correctly without restarting ibus-daemon.
# A child glyph with medium-dark skin tone is shown. I.e. the range between U+1F3FB and U+1F3FF is a color modifier.
# The man page is shown.
# The man page is shown.


* Test results for GNOME desktop
* Test results for Unicode code points


# N/A
# N/A
# "Emoji Choice" dialog is shown.
# "u" preedit is shown on the current input focus.
# The chosen emoji is copied to your clipboard and can paste it to a text application likes gedit.
# The Unicode chracter with the code point U+123  is inserted on the text application without showing IBus lookup window. (Ctrl-Shift-e shows the lookup window with Space key.)
# The help message is shown for the command arguments.
 
# N/A
}}
}}
[[Category:Package_ibus_test_cases]]
[[Category:Package_ibus_test_cases]]
[[Category:I18n_Desktop]]
[[Category:I18n_Desktop]]

Revision as of 10:59, 8 September 2021

Description

This test-case is for the IBus Emojier utility in F26 or later. The test cases have been slight different since F29 and you need to type emoji annotations on a text entry of IBus emoji dialog in F27 and F28 instead of the application preedit.

Setup

You may want to try it on the installed environment because emoji typing feature are disabled by default on Live.

How to test

You may wish to install 'google-noto-emoji-fonts' rpm for the emoji fonts.

  • Test cases for emoji typing
  1. Run gnome-control-center keyboard and add an input method sources besides XKB sources to enable IBus for XKB sources in case you use GNOME desktop
  2. Launch a text application likes gedit and focus on it.
  3. After 2, Type Control-period
  4. After 3, Type "smile" and Space key to convert the emoji annotation to an emoji character. And press Space key again to show more emoji candidates with a lookup window. Space, arrow keys or Control-f,b,n,p can move the selected emoji and press Enter key.
  5. After 3, Press Space to show an emoji categories dialog. Press Arrow keys or Control-f,b can move the selected category on Emojier, press Enter key to open the emoji candidates for the selected category, Arrow keys or Control-f,b,n,p can move the selected emoji and press Enter key.
  6. After 3, Type "smile" and Space key x 2 to show the lookup window and press Escape key several times.
  7. After 2, Right click on IBus panel icon and choose "Emoji Choice" menu item. (non-GNOME desktops only)
  8. After 7, Open an emoji category with mouse click. Click menu button on the dialog and choose "Close" button.
  9. After 7, Click "Open Unicode Choice" and open Unicode categories and click one of the Unicode character.
  10. Run ibus-setup utility, select "Emoji" tab, change "Emoji annotation language", change "Unicode font" to "Noto Color Emoji" and close the dialog
  11. After 3, Type "1f9d2", Shift-space, "1f3fe"
  12. Run man ibus-emoji on your terminal application likes gnome-terminal.
  • Test cases for Unicode code points
  1. Log into the desktop and Launch a text application likes gedit and focus on it.
  2. After 1, Type Control-Shift-u
  3. After 2, Type "123" and type Space key

Expected Results

  • Test results for emoji typing
  1. N/A
  2. N/A
  3. "e" preedit is shown on the current input focus.
  4. The chosen emoji is inserted on the text application. The lookup window forms one dimension in GNOME desktop and it does two demension in non-GNOME desktop. The lookup window is located at the application's cursor position.
  5. The chosen emoji is inserted on the text application. The dialog title "Emoji Choice" is shown in GNOME desktop only.
  6. Escape key can close the lookup window, reverted the preedit to the original annotation, erase the preedit finally.
  7. emoji category dialog is shown and this and #4 is same.
  8. Close Emojier.
  9. The chosen Unicode is inserted on the text application. Ctrl-Shift-n,p keys work in Unicode categories dialog to page up/down categories.
  10. The changed settings reflects to the Emojier. And Emojier shows emoji or Unicode lists from the selected category correctly without restarting ibus-daemon.
  11. A child glyph with medium-dark skin tone is shown. I.e. the range between U+1F3FB and U+1F3FF is a color modifier.
  12. The man page is shown.
  • Test results for Unicode code points
  1. N/A
  2. "u" preedit is shown on the current input focus.
  3. The Unicode chracter with the code point U+123 is inserted on the text application without showing IBus lookup window. (Ctrl-Shift-e shows the lookup window with Space key.)