## page was renamed from DesktopTeam/TestPlans/GNOMEConsole ## GNOME Console became GNOME's default terminal app in 2022. Since the '''Terminal''' doesn't have a test suite or autopkgtests, we rely on a manual test plan to verify functionality after updates to new versions. These tests should be run before every SRU and when updating `ptyxis` to a new major version in Ubuntu's development series. == Open the terminal with the global keyboard shortcut == Press ''Ctrl+Alt+T''. The Terminal app should start. No other terminal app should be launched with that default keyboard shortcut. == Open a new tab == 1. Open the terminal 1. Use `cd /` to change the directory to the `/` directory 1. Click the '''+''' button to open a new tab 1. A new tab should open with the same current working directory 1. Use ''Ctrl+Shift+T'' to open a new tab 1. A new tab should open with the same current working directory NOTE: This feature is not yet working for Ptyxis but will be fixed before we switch the default terminal to Ptyxis ([[https://launchpad.net/bugs/2083705|LP: #2083705]]). == Default font == The default font for the terminal content area should be Ubuntu Mono. == Default keyboard shortcuts == Open the '''☰''' menu and click ''Keyboard Shortcuts''. Test each listed keyboard shortcut one by one. Close the ''Keyboard Shortcuts'' dialog before testing each shortcut. == Zoom == Open the ☰ menu and use the '''-''' and '''+''' buttons to adjust the zoom of the terminal content area. The zoom should change immediately. == Screen reader == 1. Use the global keyboard shortcut ''Alt+Windows key+S'' to toggle on the screen reader 1. Open the Terminal 1. Enter `ls /` 1. The screenreader should read your command as you type it, then the contents of the `/` folder, and finally your terminal prompt 1. Use the global keyboard shortcut ''Alt+Windows key+S'' to toggle off the screen reader == Notifications for long running background commands == 1. Open the Terminal 1. Run this command: `sleep 5` 1. Immediately switch to a different tab or window 1. A few seconds later, you should receive a notification to let you know that the sleep 5 command has completed 1. Run `sleep 5` again but this time keep your focus on the console 1. A few seconds later, the command should complete but there shouldn't be a notification. == Dark theme support == - Open the '''☰''' menu. Verify that switching between Light, Dark, and Automatic style modes works correctly to change the colors for the terminal preferences dialog. Currently colors are not configured to change for the terminal window decoration or the terminal content area based on the Light/Dark style. == Red style for root == In a terminal window, run the command `sudo su` The terminal titlebar should change color to red. After entering your password, you can run the command `exit` to exit root mode. The terminal titlebar should change back to the normal theme (light or dark). The color change actually works even if you aren't authenticated as root yet. That's an implementation detail/bug and may change. == Alternate style for remote == In a terminal window, run a command like `ssh exampleuser@example.com` The terminal titlebar should change color to a different shade of purple. After entering your password, you can run the command `exit` to exit the ssh session. The terminal titlebar should change back to the normal Ubuntu purple. The color change actually works even if you aren't connecting to the remote server yet. That's an implementation detail/bug and may change. = Features not implemented for Ptyxis yet = == Open the terminal from the file browser == - Enter a folder in the default file browser (nautilus). - Right click on either the empty space in the main view or on a different directory. - Choose ''Open in Terminal''. A Terminal window should open with the current working directory set to the selected directory ---- CategoryDesktopTestPlans