From b1f21edcec82c25cbd6b59b521a841f86fb1f327 Mon Sep 17 00:00:00 2001 From: Oz Tiram Date: Sun, 30 Mar 2025 15:20:05 +0200 Subject: Initial support for meson Mostly copy and paste from linuxmint/xreader Signed-off-by: Oz Tiram --- test/testGoMenu.py | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100755 test/testGoMenu.py (limited to 'test/testGoMenu.py') diff --git a/test/testGoMenu.py b/test/testGoMenu.py new file mode 100755 index 00000000..3ba753b1 --- /dev/null +++ b/test/testGoMenu.py @@ -0,0 +1,30 @@ +#!/usr/bin/python3 + +# This test opens the Go menu and test menu items. + +from testCommon import run_app, bail + +from dogtail.procedural import * + +try: + run_app(file='test-links.pdf') + + focus.frame('test-links.pdf') + click('Go', roleName='menu') + click('Next Page', roleName='menu item') + + click('Go', roleName='menu') + click('Previous Page', roleName='menu item') + + click('Go', roleName='menu') + click('Last Page', roleName='menu item') + + click('Go', roleName='menu') + click('First Page', roleName='menu item') + + # Close + click('File', roleName='menu') + click('Close', roleName='menu item') + +except: + bail() -- cgit v1.2.1