summaryrefslogtreecommitdiffstats
path: root/ipatests/test_webui/data_user.py
diff options
context:
space:
mode:
authorPetr Vobornik <pvoborni@redhat.com>2013-06-27 09:45:17 +0200
committerPetr Vobornik <pvoborni@redhat.com>2013-07-26 13:35:12 +0200
commita3567cef981c0cd6883debcd000651a8b12dd247 (patch)
tree134d5f4320ee65c0dc228fbf551e631ef1c77bd4 /ipatests/test_webui/data_user.py
parentbc06e30481474c640f4a0c5359c6c6cfa86a4d5c (diff)
downloadfreeipa-a3567cef981c0cd6883debcd000651a8b12dd247.tar.gz
freeipa-a3567cef981c0cd6883debcd000651a8b12dd247.tar.xz
freeipa-a3567cef981c0cd6883debcd000651a8b12dd247.zip
Web UI integration tests: Verify data after add and mod
https://fedorahosted.org/freeipa/ticket/3744
Diffstat (limited to 'ipatests/test_webui/data_user.py')
-rw-r--r--ipatests/test_webui/data_user.py16
1 files changed, 16 insertions, 0 deletions
diff --git a/ipatests/test_webui/data_user.py b/ipatests/test_webui/data_user.py
index c44eb4307..20ac3868d 100644
--- a/ipatests/test_webui/data_user.py
+++ b/ipatests/test_webui/data_user.py
@@ -28,9 +28,25 @@ DATA = {
('textbox', 'givenname', 'Name'),
('textbox', 'sn', 'Surname'),
],
+ 'add_v': [
+ ('textbox', 'givenname', 'Name'),
+ ('textbox', 'sn', 'Surname'),
+ ('label', 'uid', PKEY),
+ ],
'mod': [
('textbox', 'givenname','OtherName'),
('textbox', 'sn','OtherSurname'),
+ ('multivalued', 'telephonenumber', [
+ ('add', '123456789'),
+ ('add', '987654321'),
+ ]),
+ ('combobox', 'manager', 'admin'),
+ ],
+ 'mod_v': [
+ ('textbox', 'givenname', 'OtherName'),
+ ('textbox', 'sn', 'OtherSurname'),
+ ('multivalued', 'telephonenumber', ['123456789', '987654321']),
+ ('combobox', 'manager', 'admin'),
],
}