Commit Graph

58 Commits

Author SHA1 Message Date
Cole Robinson
f1468cf1c7 uitests: addhardware error dialog tests 2018-01-21 10:02:08 -05:00
Cole Robinson
114cfb3479 uitests: addhardware controller tests 2018-01-21 10:02:08 -05:00
Cole Robinson
dc3c0b29f7 uitests: addhardware storage/disk testing 2018-01-21 10:02:08 -05:00
Cole Robinson
c620e7405c uitests: addhardware: add network tests 2018-01-21 10:02:08 -05:00
Cole Robinson
72f006ae8b utils: Have find 'name' match labeller text too
Simplifies API callers
2018-01-21 10:02:05 -05:00
Cole Robinson
d3b6df8e9a uitests: s/find_pattern/find/g 2018-01-19 11:05:23 -05:00
Cole Robinson
9232a51d55 uitests: Add a bunch of addhardware testing 2018-01-19 11:04:44 -05:00
Cole Robinson
be03382e25 uitests: Add snapshot tests 2018-01-18 16:56:07 -05:00
Cole Robinson
e7c822bf8f uitests: connect: Fix failure case to always fail 2018-01-15 09:57:33 -05:00
Cole Robinson
d8d71bddfb ui: Add createnet/pool/vol/interface tests 2018-01-11 21:02:34 -05:00
Cole Robinson
570ee90c4d uitests: Centralize object list smoketest handling 2018-01-11 10:27:48 -05:00
Cole Robinson
a4e1b64f1a uitests: Move helper functions into the Node wrapper class 2018-01-11 08:24:58 -05:00
Cole Robinson
9c4c9aeb8f uitests: Wait for windows to become 'active'
If we wait for windows to become active in the window manager before
we try to do any clickyclicky, this solves a lot of the race
conditions I was trying to work around widget by widget
2018-01-10 18:41:55 -05:00
Cole Robinson
8d7440fbde uitests: Add 'open connection' testing 2018-01-10 13:52:53 -05:00
Cole Robinson
dc344fc8ee error: Add accessible strings for error dialogs
Makes UI testing easier
2018-01-09 17:58:55 -05:00
Cole Robinson
09dd1596e2 uitests: Add preferences dialog tests 2018-01-09 17:41:20 -05:00
Cole Robinson
c073fc2a7e ui: about: Bump copyright year 2018-01-09 17:41:20 -05:00
Cole Robinson
7a12899b44 uitests: Add test for 'about' dialog 2018-01-09 17:41:20 -05:00
Cole Robinson
4b4f532417 uitests: Wire up --coverage
Need to launch the external coverage process to actually measure
things
2018-01-09 13:51:53 -05:00
Cole Robinson
b4a2c46f6a virt-manager: If --connect passed, wait for it to init
...before showing the UI. This helps the UI test suite be less
racy at least.
2018-01-09 13:51:53 -05:00
Cole Robinson
0c615497b1 uitests: Drop sleeps from newvm tests
Adds a few new uiutils options to facilitate watching for the expected
result, rather than depending on hardcoded sleeps
2018-01-09 13:51:53 -05:00
Cole Robinson
4fbffc4086 uitests: Drop redundant sleeps
All these cases have sleep+backoff built into the dogtail logic,
so we don't need to manually sleep
2018-01-09 12:04:49 -05:00
Cole Robinson
8030e0a35c uitests: Centralize app shutdown
Try a graceful shutdown, wait for app to respond, before trying SIGKILL.
2018-01-09 12:04:43 -05:00
Cole Robinson
acfd59f22b uitests: Split out UITestCase class 2018-01-09 10:06:26 -05:00
Cole Robinson
89945118df uitests: Make unittest.installHandler work as expected
And ctrl-c exiting in general.
2018-01-08 09:21:42 -05:00
Cole Robinson
10246e0caa tests: uitests: wire up --debug option 2017-10-21 19:41:33 -04:00
Cole Robinson
be7db97ecf uitests: launch UI with same python executable
As the tests were launched with
2017-10-21 19:41:33 -04:00
Cole Robinson
6b8f0b6e1a tests: uitests: Add a delay for nvram rename test
Seems to fail a bit otherwise
2017-09-15 19:42:40 -04:00
Cole Robinson
6f8206dc55 uitests: newvm: Fix after CPU UI tweaks 2017-07-20 17:54:11 -04:00
Cole Robinson
1e3e9a9fc4 uitests: Add 'host' window smoke tests 2017-07-20 17:27:22 -04:00
Cole Robinson
f551d7e55d Replace file() usage with open()
Same semantics, but the latter is needed for python3
2017-05-05 14:53:12 -04:00
Cole Robinson
55288c4551 Convert to python3 style print() syntax
Use __future__ imports to keep this working for python2
2017-05-05 14:52:37 -04:00
Cole Robinson
62feeb02a8 Switch to python3 style 'except X as Y' notation
Which also works with python2.7
2017-05-05 14:52:11 -04:00
Cole Robinson
fcebefd3bb tests: Stop using deprecated assertEquals
The recommended way is assertEqual
2017-05-05 12:40:52 -04:00
Mikhail Feoktistov
3f59906af6 Add GUI test for Virtuozzo containers 2017-03-22 11:00:50 -04:00
Cole Robinson
e58b1fc95f uitests: Add details->rename tests 2017-03-08 13:22:09 -05:00
Cole Robinson
581e5b2ee8 uitests: Add clone wizard tests 2017-03-06 22:15:46 -05:00
Cole Robinson
ed92e03f39 tests: make test-clone VMs offline by default
Simplifies test cases
2017-03-06 22:15:46 -05:00
Cole Robinson
84d8cd9896 tests: Rename clone test VMs to have a common "test-clone" prefix 2017-03-06 22:05:35 -05:00
Cole Robinson
4c87b5e541 tests: uitests: Fix with git 2016-06-17 19:30:45 -04:00
Cole Robinson
182808f97b uitests: newvm: Fix CDROM test
Need to click the OS text entry to close the popup window
2016-05-17 18:01:47 -04:00
Cole Robinson
f4dfb6de9d Fix recent pylint/pep8 output 2016-04-18 16:42:12 -04:00
Cole Robinson
f7ae826f0a Fix some gi version errors from pylint 2015-12-06 15:41:49 -05:00
Cole Robinson
bb62a0f7a4 uitests: Add more install tests for arch/machine/virt handling 2015-09-14 19:27:55 -04:00
Cole Robinson
2fda875072 uitests: Check CPU value in a loop, for robustness 2015-09-14 19:26:26 -04:00
Cole Robinson
1e01395ad9 uitests: newvm: Add basic test case for xen paravirt 2015-09-14 17:01:32 -04:00
Cole Robinson
01da21b93a uitests: Add a basic details.py test
Checks all hw of test-many-devices and make sure an error isn't raised
2015-09-14 14:44:39 -04:00
Cole Robinson
cfd980611a uitests: Add check_in_loop helper function 2015-09-14 12:59:49 -04:00
Cole Robinson
3d9b3528e9 uitests: Separate static methods from DogtailApp 2015-09-14 12:55:04 -04:00
Cole Robinson
ddea18baf9 create: Cleanup of distro detection code
- Use better variable names
- Lots of comments
- Streamline various parts
2015-09-13 12:28:16 -04:00