From Fedora Project Wiki

(Created page with "{{QA/Test_Case |description=This test case is to check that fonts/rendering are correctly displayed and strings translated in flatpak applications. Flatpak is pre-installed in...")
 
No edit summary
 
(9 intermediate revisions by 4 users not shown)
Line 2: Line 2:
|description=This test case is to check that fonts/rendering are correctly displayed and strings translated in flatpak applications. Flatpak is pre-installed in Fedora.  
|description=This test case is to check that fonts/rendering are correctly displayed and strings translated in flatpak applications. Flatpak is pre-installed in Fedora.  
|setup=
|setup=
1. Download and install the [https://flathub.org/repo/flathub.flatpakrepo Flathub repository file]
1. Install any package
or manually add the Flathub remote by running below command <pre>flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo</pre>
`$ flatpak install <app name>`
2. Install some [https://flathub.org/ apps] that Flathub offers.
`eg. flatpak install TextEditor`
or `flatpak install gedit`


Example to install gedit: You can click on "[https://flathub.org/apps/details/org.gnome.gedit Install]" directly or you can scroll down a little bit for command line instructions to install it.
2. To run flatpak app
`$ flatpak run <Application ID>`
`eg flatpak run org.gnome.TextEditor`


Run `$ flatpak list` to get `Application ID`
3. Follow up to the steps in [[QA:Testcase change language]] to switch the language.
3. Follow up to the steps in [[QA:Testcase change language]] to switch the language.
Optional:
* If you want to test any application from flathub then you need to enable it, please refer https://flatpak.org/setup/Fedora/ .
* If you want to search any application before installation
`$ flatpak search <app name>`
Note: One can also install flatpak apps from `gnome-software`.


|actions=  
|actions=  
# Look for an application to launch on desktop environment menus
# Run the flatpak application using command line. Example: flatpak run <Application ID>
# Run the application. Nice to test applications:
# Nice to test applications:
#* LibreOffice
#* LibreOffice <pre>$ flatpak run org.libreoffice.LibreOffice</pre>
#* Evolution, Thunderbird
#* Text Editor <pre>$ flatpak run org.gnome.TextEditor</pre>
#* Terminal
#* Firefox <pre>$ flatpak run org.mozilla.firefox</pre>
#* Empathy
#* Evolution <pre>$ flatpak run org.gnome.Evolution</pre>
#* gedit
# Follow the steps in [[QA:Testcase i18n input application]] to check input.
# Check the display of text in your language in the application (fonts/rendering/characters) such as menu items, input, output, prompts, and window contents. (GUI)   
# Check the display of text in your language in the application (fonts/rendering/characters) such as menu items, input, output, prompts, and window contents. (GUI)   
|results=
|results=
# Input should work accordingly with proper rendering.
# Characters/Rendering are displayed properly and clearly in the application as well as in system menus.
# Characters/Rendering are displayed properly and clearly in the application as well as in system menus.
# Input should work accordingly with proper rendering.
# (Emoji reference files: https://github.com/fedora-i18n/emoji-testcase)


}}
}}

Latest revision as of 08:38, 4 March 2024

Description

This test case is to check that fonts/rendering are correctly displayed and strings translated in flatpak applications. Flatpak is pre-installed in Fedora.

Setup

1. Install any package $ flatpak install <app name> eg. flatpak install TextEditor or flatpak install gedit

2. To run flatpak app $ flatpak run <Application ID> eg flatpak run org.gnome.TextEditor

Run $ flatpak list to get Application ID

3. Follow up to the steps in QA:Testcase change language to switch the language.

Optional:

  • If you want to test any application from flathub then you need to enable it, please refer https://flatpak.org/setup/Fedora/ .
  • If you want to search any application before installation

$ flatpak search <app name>

Note: One can also install flatpak apps from gnome-software.

How to test

  1. Run the flatpak application using command line. Example: flatpak run <Application ID>
  2. Nice to test applications:
    • LibreOffice
      $ flatpak run org.libreoffice.LibreOffice
    • Text Editor
      $ flatpak run org.gnome.TextEditor
    • Firefox
      $ flatpak run org.mozilla.firefox
    • Evolution
      $ flatpak run org.gnome.Evolution
  3. Follow the steps in QA:Testcase i18n input application to check input.
  4. Check the display of text in your language in the application (fonts/rendering/characters) such as menu items, input, output, prompts, and window contents. (GUI)

Expected Results

  1. Input should work accordingly with proper rendering.
  2. Characters/Rendering are displayed properly and clearly in the application as well as in system menus.
  3. (Emoji reference files: https://github.com/fedora-i18n/emoji-testcase)