From Fedora Project Wiki

(Added difference beween F29 and lowers)
No edit summary
(12 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. 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.
|description=This test-case is for the IBus Emojier utility.  
|actions=You may wish to install 'google-noto-emoji-fonts' rpm for the emoji fonts.
|setup=You need to try it on the installed environment because emoji typing feature are '''disabled by default on Live'''.
|actions=You may want to check that 'google-noto-emoji-color-fonts' is already installed.


* Test cases for emoji typing
* Test cases for emoji typing


# Log into the desktop and Launch a text application likes `gedit` and focus on it.
<ol type="a"> <!-- Special case "a" to enable index 0 below -->
# After 1, Type Control-Shift-e
<li>Emoji annotation typing<li>
# After 2, 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.
  <ol start="0">
# After 2, 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.
  <li>Make sure you log into installed gnome-session but not Live image</li>
# After 2, Type "smile" and Space key x 2 to show the lookup window and press Escape key several times.
  <li>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</li>
# After 1, Right click on IBus panel icon and choose "Emoji Choice" men item. (non-GNOME desktops only)
  <li>Launch a text application likes `gnome-text-editor` and focus on it</li>
# After 6, Open an emoji category with mouse click. Click menu button on the dialog and choose "Close" button.
  <li>Type Super-period since Fedora 37, Control-period in previous Fedora versions</li>
# After 6, Click  "Open Unicode Choice" and open Unicode categories and click one of the Unicode character.
  <li>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.</li>
# Run `ibus-setup` utility, select "Emoji" tab, change "Emoji annotation language", change "Emoji font" to "Noto Color Emoji" and close the dialog
  </ol>
# After 1, Type "1f466", Shift-space, "1f467"
</ol>
# Run `man ibus-emoji` on your terminal application likes gnome-terminal.
 
# Emoji chooser dialog from Command line
## Launch a text application likes `gnome-text-editor` and focus on it.
## Type Super-period since Fedora 37, Control-period in previous Fedora versions.
## 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. (Enter key works in Xorg desktop only. You chould copy Contrl-Shift-c on the selected emoji candidate to copy it in Wayland desktop instead of Enter key.)
# Cancel emoji typing
## Launch a text application likes `gnome-text-editor` and focus on it.
## Type Super-period since Fedora 37, Control-period in previous Fedora versions.
## "smile" and Space key x 2 to show the lookup window and press Escape key several times.
# Emoji chooser dialog from Panel menu
## Right click on IBus panel icon and choose "Emoji Choice" menu item. (non-GNOME desktops only)
## Open an emoji category with mouse click. Click menu button on the dialog and choose "Close" button.
# Unicode chooser dialog
## Right click on IBus panel icon and choose "Emoji Choice" menu item. (non-GNOME desktops only)
## Click  "Open Unicode Choice" and open Unicode categories and click one of the Unicode character.
# Change Emoji annotation language and font
## Run `ibus-setup` utility, select "Emoji" tab, change "Emoji annotation language", change "Unicode font" to "Noto Color Emoji" and close the dialog
# Type emoji code point
## Launch a text application likes `gnome-text-editor` and focus on it.
## Type Super-period since Fedora 37, Control-period in previous Fedora versions.
## After 3, Type "1f9d2", Shift-space, "1f3fe"
# Man page test
## Run `man ibus-emoji` on your terminal application likes gnome-terminal.


* Test cases for Unicode code points
* Test cases for Unicode code points
Line 26: Line 49:
* Test results for emoji typing
* Test results for emoji typing


# N/A
<ol type="a"> <!-- Special case "a" to enable index 0 in the test case above -->
# "e" preedit is shown on the current input focus.
<li>Emoji annotation typing<li>
# 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.
  <ol>
# The chosen emoji is inserted on the text application. The dialog title "Emoji Choice" is shown in GNOME desktop only.
  <li>N/A</li>
# Escape key can close the lookup window, reverted the preedit to the original annotation, erase the preedit finally.
  <li>N/A</li>
# emoji category dialog is shown and this and #4 is same.
  <li>"e" preedit is shown on the current input focus.</li>
# Close Emojier.
  <li>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.</li>
# The chosen Unicode is inserted on the text application. Ctrl-Shift-n,p keys work in Unicode categories dialog to page up/down categories.
  </ol>
# The changed settings reflects to the Emojier. And Emojier shows emoji or Unicode lists from the selected category correctly without restarting ibus-daemon.
</ol>
# Two Unicode characters are shown.
 
# The man page is shown.
# Emoji chooser dialog from Command line
## The chosen emoji is inserted on the text application. The dialog title "Emoji Choice" is shown in GNOME desktop only.
# Cancel emoji typing
## Escape key can close the lookup window, reverted the preedit to the original annotation, erase the preedit finally.
# Emoji chooser dialog from Panel menu
## emoji category dialog is shown.
## Close Emojier.
# Unicode chooser dialog
## The chosen Unicode is inserted on the text application. Ctrl-Shift-n,p keys work in Unicode categories dialog to page up/down categories.
# Change Emoji annotation language and font
## The changed settings reflects to the Emojier. And Emojier shows emoji or Unicode lists from the selected category correctly without restarting ibus-daemon.
# Type emoji code point
## A child glyph with medium-dark skin tone is shown. I.e. the range between U+1F3FB and U+1F3FF is a color modifier.
# Man page test
## The man page is shown.


* Test results for Unicode code points
* Test results for Unicode code points

Revision as of 07:20, 19 October 2022

Description

This test-case is for the IBus Emojier utility.

Setup

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

How to test

You may want to check that 'google-noto-emoji-color-fonts' is already installed.

  • Test cases for emoji typing
  1. Emoji annotation typing
    1. Make sure you log into installed gnome-session but not Live image
    2. 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
    3. Launch a text application likes gnome-text-editor and focus on it
    4. Type Super-period since Fedora 37, Control-period in previous Fedora versions
    5. 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.
  1. Emoji chooser dialog from Command line
    1. Launch a text application likes gnome-text-editor and focus on it.
    2. Type Super-period since Fedora 37, Control-period in previous Fedora versions.
    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. (Enter key works in Xorg desktop only. You chould copy Contrl-Shift-c on the selected emoji candidate to copy it in Wayland desktop instead of Enter key.)
  2. Cancel emoji typing
    1. Launch a text application likes gnome-text-editor and focus on it.
    2. Type Super-period since Fedora 37, Control-period in previous Fedora versions.
    3. "smile" and Space key x 2 to show the lookup window and press Escape key several times.
  3. Emoji chooser dialog from Panel menu
    1. Right click on IBus panel icon and choose "Emoji Choice" menu item. (non-GNOME desktops only)
    2. Open an emoji category with mouse click. Click menu button on the dialog and choose "Close" button.
  4. Unicode chooser dialog
    1. Right click on IBus panel icon and choose "Emoji Choice" menu item. (non-GNOME desktops only)
    2. Click "Open Unicode Choice" and open Unicode categories and click one of the Unicode character.
  5. Change Emoji annotation language and font
    1. Run ibus-setup utility, select "Emoji" tab, change "Emoji annotation language", change "Unicode font" to "Noto Color Emoji" and close the dialog
  6. Type emoji code point
    1. Launch a text application likes gnome-text-editor and focus on it.
    2. Type Super-period since Fedora 37, Control-period in previous Fedora versions.
    3. After 3, Type "1f9d2", Shift-space, "1f3fe"
  7. Man page test
    1. 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. Emoji annotation 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.
  1. Emoji chooser dialog from Command line
    1. The chosen emoji is inserted on the text application. The dialog title "Emoji Choice" is shown in GNOME desktop only.
  2. Cancel emoji typing
    1. Escape key can close the lookup window, reverted the preedit to the original annotation, erase the preedit finally.
  3. Emoji chooser dialog from Panel menu
    1. emoji category dialog is shown.
    2. Close Emojier.
  4. Unicode chooser dialog
    1. The chosen Unicode is inserted on the text application. Ctrl-Shift-n,p keys work in Unicode categories dialog to page up/down categories.
  5. Change Emoji annotation language and font
    1. The changed settings reflects to the Emojier. And Emojier shows emoji or Unicode lists from the selected category correctly without restarting ibus-daemon.
  6. Type emoji code point
    1. A child glyph with medium-dark skin tone is shown. I.e. the range between U+1F3FB and U+1F3FF is a color modifier.
  7. Man page test
    1. 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.)