From Fedora Project Wiki

(Created page with "{{QA/Test_Case |description=Test Gnome Text Editor |setup= # Ensure that {{package|gnome-text-editor}} is installed. |actions= # From your favorite VT run '''gnome-text-editor''' or head over to overview and '''Text Editor''' # '''Open''' dropdown should give all previously opened items # '''Hamburger menu''' has choice for theme, change and see # Accidentally close the '''text editor'' by pkill |results= # Gnome Text Editor should be default for all text # Copying,p...")
 
(link to tracker issues)
 
(2 intermediate revisions by the same user not shown)
Line 2: Line 2:
|description=Test Gnome Text Editor
|description=Test Gnome Text Editor
|setup=
|setup=
# Ensure that {{package|gnome-text-editor}} is installed.
# Make sure that ''GNOME Text Editor'' (package {{pkg|gnome-text-editor}}) is installed.
|actions=
|actions=
# From your favorite VT run '''gnome-text-editor''' or head over  to overview and '''Text Editor'''
# From GNOME start ''Text Editor'', or run `gnome-text-editor` command
# '''Open''' dropdown should give all previously opened items
# Type some random text, save it as a file, close the editor.
# '''Hamburger menu''' has choice for theme, change and see
# In file browser, verify that the file has been saved in the selected location.
# Accidentally close the '''text editor'' by pkill
# Open the text file from the file browser, verify that it contains the text you typed down.
# Type some more text. Then hit {{key|Ctrl|Z}} repeatedly to undo your latest changes and return back to the original text you started with.
# Open several tabs, reorder them, close some. They should behave as expected.
# Open source code files for different programming languages (popular ones are e.g. Python, Javascript, C, Bash, etc). Text Editor should be able to open all popular types of source code and perform syntax highlighting for them (text coloring).
#* There is a nice collection of source code samples for different languages [https://github.com/TheRenegadeCoder/sample-programs/releases in this project]. Just download and extract the archive and look into <code>archive/</code>.
# From the tool menu and app preferences, enable options like line numbers, the right margin or current line highlight and see whether the work as expected.
# From the options menu, switch between light and dark mode, change font size, search for a text. See whether they work as expected.
# See whether the Open button lists your recently closed documents and whether you can easily reopen them by selecting them.
# Perform some additional [[QA:Testcase Exploratory Testing|Exploratory testing]].


|results=
|results=
 
# Text Editor can display and edit all text files including source code files.
# Gnome Text Editor should be default for all text
# Text editing works as expected.
# Copying,pasting,creating and saving files should work
# Please report all failures to the [https://gitlab.gnome.org/GNOME/gnome-text-editor/issues GNOME tracker].
# Themes should be changeable
# If accidentally closed, the text editor should restart with whatever was the last state
}}
}}


[[Category:GNOME default application test cases]]
[[Category:GNOME default application test cases]]
[[Category:Package_gnome-text-editor_test_cases]]

Latest revision as of 11:13, 8 March 2023

Description

Test Gnome Text Editor

Setup

  1. Make sure that GNOME Text Editor (package gnome-text-editor) is installed.

How to test

  1. From GNOME start Text Editor, or run gnome-text-editor command
  2. Type some random text, save it as a file, close the editor.
  3. In file browser, verify that the file has been saved in the selected location.
  4. Open the text file from the file browser, verify that it contains the text you typed down.
  5. Type some more text. Then hit Ctrl+Z repeatedly to undo your latest changes and return back to the original text you started with.
  6. Open several tabs, reorder them, close some. They should behave as expected.
  7. Open source code files for different programming languages (popular ones are e.g. Python, Javascript, C, Bash, etc). Text Editor should be able to open all popular types of source code and perform syntax highlighting for them (text coloring).
    • There is a nice collection of source code samples for different languages in this project. Just download and extract the archive and look into archive/.
  8. From the tool menu and app preferences, enable options like line numbers, the right margin or current line highlight and see whether the work as expected.
  9. From the options menu, switch between light and dark mode, change font size, search for a text. See whether they work as expected.
  10. See whether the Open button lists your recently closed documents and whether you can easily reopen them by selecting them.
  11. Perform some additional Exploratory testing.

Expected Results

  1. Text Editor can display and edit all text files including source code files.
  2. Text editing works as expected.
  3. Please report all failures to the GNOME tracker.