Skip to content

Commit

Permalink
Add more GUI tests.
Browse files Browse the repository at this point in the history
Signed-off-by: Mikko Saarinen <[email protected]>
  • Loading branch information
msaarine committed Feb 26, 2025
1 parent 65b84ec commit 71ae27b
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 5 deletions.
7 changes: 6 additions & 1 deletion Robot-Framework/test-suites/bat-tests/gui-vm.robot
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Start Calculator on LenovoX1

Start Sticky Notes on LenovoX1
[Documentation] Start Sticky Notes and verify process started
[Tags] sticky_notes SP-T201
[Tags] sticky_notes SP-T201-1
Start XDG application 'Sticky Notes'
Check that the application was started sticky-wrapped

Expand All @@ -46,6 +46,11 @@ Start File Manager on LenovoX1
Start XDG application 'File Manager'
Check that the application was started pcmanfm

Start Falcon AI on LenovoX1
[Documentation] Start Falcon AI and verify process started
[Tags] falcon_ai SP-T223-1
Start XDG application 'Falcon AI'
Check that the application was started alpaca-wrapped

*** Keywords ***

Expand Down
25 changes: 21 additions & 4 deletions Robot-Framework/test-suites/gui-tests/gui_apps.robot
Original file line number Diff line number Diff line change
Expand Up @@ -36,38 +36,55 @@ Start and close PDF Viewer via GUI on LenovoX1
Start app via GUI on LenovoX1 ${ZATHURA_VM} zathura
Close app via GUI on LenovoX1 ${ZATHURA_VM} zathura ./window-close-neg.png

Start and close Sticky Notes via GUI on LenovoX1
[Documentation] Start Sticky Notes via GUI test automation and verify related process started
... Close Sticky Notes via GUI test automation and verify related process stopped
[Tags] SP-T201-2 lenovo-x1
Get icon /run/current-system/sw/share/icons/hicolor/scalable/apps com.vixalien.sticky.svg crop=15
Start app via GUI on LenovoX1 ${GUI_VM} sticky-wrapped #.com.vixalien.sticky-wrapped
Close app via GUI on LenovoX1 ${GUI_VM} sticky-wrapped ./window-close.png

Start and close Calculator via GUI on LenovoX1
[Documentation] Start Calculator via GUI test automation and verify related process started
... Close Calculator via GUI test automation and verify related process stopped
[Tags] SSRCSP-T202 lenovo-x1
[Tags] SP-T202 lenovo-x1
Get icon app gnome-calculator.svg crop=10
Start app via GUI on LenovoX1 ${GUI_VM} gnome-calculator
Close app via GUI on LenovoX1 ${GUI_VM} gnome-calculator ./window-close.png

Start and close Bluetooth Settings via GUI on LenovoX1
[Documentation] Start Bluetooh via GUI test automation and verify related process started
... Close Blutooth via via GUI test automation and verify related process stopped
[Tags] SSRCSP-T204 lenovo-x1
[Tags] SP-T204 lenovo-x1
Get icon app blueman.svg crop=30
Start app via GUI on LenovoX1 ${GUI_VM} blueman-manager-wrapped-wrapped
Close app via GUI on LenovoX1 ${GUI_VM} blueman-manager-wrapped-wrapped ./window-close-neg.png

Start and close Control Panel via GUI on LenovoX1
[Documentation] Start Control Panel via GUI test automation and verify related process started
... Close Control Panel via GUI test automation and verify related process stopped
[Tags] SSRCSP-T205 lenovo-x1
[Tags] SP-T205 lenovo-x1
Get icon app gnome-control-center.svg crop=10
Start app via GUI on LenovoX1 ${GUI_VM} ctrl-panel
Close app via GUI on LenovoX1 ${GUI_VM} ctrl-panel ./window-close.png

Start and close File Manager via GUI on LenovoX1
[Documentation] Start File Manager via GUI test automation and verify related process started
... Close File Manager via GUI test automation and verify related process stopped
[Tags] SSRCSP-T206 lenovo-x1
[Tags] SP-T206 lenovo-x1
Get icon app xfce-filemanager.svg crop=30
Start app via GUI on LenovoX1 ${GUI_VM} pcmanfm
Close app via GUI on LenovoX1 ${GUI_VM} pcmanfm ./window-close-neg.png

Start and close Falcon AI via GUI on LenovoX1
[Documentation] Start Falcon AI via GUI test automation and verify related process started
... Close Falcon AI via GUI test automation and verify related process stopped
... Clicks the icon and some Alpaca window is opened.
[Tags] SP-T223-2 lenovo-x1
Get icon ghaf-artwork falcon-icon.svg crop=30
Start app via GUI on LenovoX1 ${GUI_VM} alpaca-wrapped
Close app via GUI on LenovoX1 ${GUI_VM} alpaca-wrapped ./window-close.png

Start and close Firefox via GUI on Orin AGX
[Documentation] Passing this test requires that display is connected to the target device
... Start Firefox via GUI test automation and verify related process started
Expand Down

0 comments on commit 71ae27b

Please sign in to comment.