Mohammad Rizwan
746a036c7e
ipatests: Test newly added certificate lable
...
Signed-off-by: Mohammad Rizwan <myusuf@redhat.com >
Reviewed-By: Florence Blanc-Renaud <flo@redhat.com >
Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com >
Reviewed-By: Mohammad Rizwan Yusuf <myusuf@redhat.com >
2022-11-15 13:04:22 +01:00
Erik Belko
d6a643b798
ipatests: Add test for grace login limit
...
Test user and pwpolicy entity for grace login limit setting.
Related: https://pagure.io/freeipa/issue/9211
Signed-off-by: Erik Belko <ebelko@redhat.com >
Reviewed-By: Michal Polovka <mpolovka@redhat.com >
2022-11-10 09:30:15 +01:00
Alexander Bokovoy
03a905eed9
external-idp: add XMLRPC tests for External IdP objects and idp indicator
...
Fixes: https://pagure.io/freeipa/issue/8804
Fixes: https://pagure.io/freeipa/issue/8803
Signed-off-by: Alexander Bokovoy <abokovoy@redhat.com >
Signed-off-by: Florence Blanc-Renaud <flo@redhat.com >
Reviewed-By: Francisco Trivino <ftrivino@redhat.com >
Reviewed-By: Sumit Bose <sbose@redhat.com >
2022-05-10 15:52:41 +03:00
Michal Polovka
a0d11517f8
WebUI: test_user: test if user is enabled by default
...
Test checks if the user is enabled, able to reset their password and
authentication types in both CA and CA-less environment.
Related: https://pagure.io/freeipa/issue/8203
Signed-off-by: Michal Polovka <mpolovka@redhat.com >
Reviewed-By: Michal Polovka <mpolovka@redhat.com >
Reviewed-By: Serhii Tsymbaliuk <stsymbal@redhat.com >
2021-04-16 18:25:57 +02:00
Alexander Bokovoy
2c98105cf2
tests_webui: flip leading and trailing space password test
...
With commit 809d9cb80f we now allow
leading and trailing space in passwords. Fix Web UI tests to follow this
change.
Fixes: https://pagure.io/freeipa/issue/8629
Signed-off-by: Alexander Bokovoy <abokovoy@redhat.com >
Reviewed-By: Florence Blanc-Renaud <frenaud@redhat.com >
2020-12-21 22:32:39 +02:00
Mohammad Rizwan Yusuf
0c02920529
WebUI tests: fix PEP8 issues in test_webui/test_user.py
...
PEP8 fix for teat_webui/test_user.py. Errors involved:
- line > 79 character
- 2 blank line needed before class
- single space was needed between # and comment
Signed-off-by: Mohammad Rizwan Yusuf <myusuf@redhat.com >
Reviewed-By: Sergey Orlov <sorlov@redhat.com >
2020-05-06 12:02:51 +02:00
Mohammad Rizwan Yusuf
4b83c2a9e4
webui: check if notification area doesn't intercept menu button
...
Notification used to intercept the click on page for some element.
This test ensures that element is clickable.
related: https://pagure.io/freeipa/issue/8120
Signed-off-by: Mohammad Rizwan Yusuf <myusuf@redhat.com >
Reviewed-By: Sergey Orlov <sorlov@redhat.com >
2020-05-06 12:02:51 +02:00
Christian Heimes
86d76efcef
Fix E266 too many leading '#' for block comment
...
Related: https://pagure.io/freeipa/issue/8306
Signed-off-by: Christian Heimes <cheimes@redhat.com >
Reviewed-By: Florence Blanc-Renaud <frenaud@redhat.com >
2020-05-05 10:42:46 +02:00
Serhii Tsymbaliuk
123c93f92c
WebUI: Make 'Unlock' option is available only on locked user page
...
The implementation includes checking password policy for selected user.
'Unlock' option is available only in case user reached a limit of login failures.
Ticket: https://pagure.io/freeipa/issue/5062
Signed-off-by: Serhii Tsymbaliuk <stsymbal@redhat.com >
Reviewed-By: Petr Vobornik <pvoborni@redhat.com >
Reviewed-By: Armando Neto <abiagion@redhat.com >
2019-09-11 18:26:34 +02:00
Serhii Tsymbaliuk
bf1875a0e7
Web UI tests: Get rid of *_cert_path and *_csr_path config variables
...
Web UI tests now don't require additional configuration to test certificates.
Self-signed certificates and CSR are generated on fly.
Next variables from ~/.ipa/ui_test.conf for now are deprecated:
- arbitrary_cert_path
- service_csr_path
- user_csr_path
Ticket: https://pagure.io/freeipa/issue/7843
Reviewed-By: Sergey Orlov <sorlov@redhat.com >
2019-02-06 18:11:56 +01:00
Serhii Tsymbaliuk
1affddaabe
Increase some timeouts in Web UI tests
...
Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com >
Reviewed-By: Petr Vobornik <pvoborni@redhat.com >
2018-09-19 13:32:51 +02:00
Serhii Tsymbaliuk
970af640ee
Remove unnecessary session clearing in some Web UI tests
...
Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com >
Reviewed-By: Petr Vobornik <pvoborni@redhat.com >
2018-09-19 13:32:51 +02:00
Serhii Tsymbaliuk
685cef554b
Fix test_user::test_login_without_username (Web UI test)
...
Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com >
Reviewed-By: Petr Vobornik <pvoborni@redhat.com >
2018-09-19 13:32:51 +02:00
Pavel Picka
016df47ded
WebUI Tests stabilize
...
- close notifications
- add wait in cert test case
Signed-off-by: Pavel Picka <ppicka@redhat.com >
Reviewed-By: Michal Reznik <mreznik@redhat.com >
2018-08-07 16:31:03 +02:00
Michal Reznik
e140d198ea
ui_tests: stabilization fixes
...
This patch aims to fix the following tests which seems to be quite
unstable recently:
test_user::test_actions - closing notification and moving to element
to have screenshot of current place.
test_user::certificates - add wait() / close_notification
Also adds missing @screenshot decorator to test_user_misc method.
Reviewed-By: Pavel Picka <ppicka@redhat.com >
2018-07-04 15:21:30 +02:00
Michal Reznik
e16a76ad97
ui_tests: extend test_user suite
...
Extend WebUI test_user suite with the following test cases:
test_add_user_special
test_user_misc
test_ssh_keys
test_add_delete_undo_reset
test_disable_delete_admin
test_login_without_username
https://pagure.io/freeipa/issue/7507
Reviewed-By: Petr Vobornik <pvoborni@redhat.com >
Reviewed-By: Varun Mylaraiah <mvarun@redhat.com >
2018-04-27 14:19:59 +02:00
Michal Reznik
dc4f28de52
test_webui: add user life-cycles tests
...
Add user life-cycles test cases.
https://pagure.io/freeipa/issue/7463
Reviewed-By: Petr Vobornik <pvoborni@redhat.com >
2018-04-09 09:06:48 +02:00
Stanislav Laznicka
af1b8513ab
Remove the message attribute from exceptions
...
This is causing python2 tests print ugly warnings about the
deprecation of the `message` attribute in python2.6.
https://pagure.io/freeipa/issue/7131
Reviewed-By: Florence Blanc-Renaud <frenaud@redhat.com >
2017-10-06 09:19:46 +02:00
Martin Basti
9d83be3647
Remove unused variables in tests
...
This commit removes or marks unused variables as "expected to be unused"
by using '_' prefix.
Reviewed-By: Florence Blanc-Renaud <frenaud@redhat.com >
Reviewed-By: Stanislav Laznicka <slaznick@redhat.com >
2016-09-27 13:35:58 +02:00
tester
37c0bd1dd6
TEST: managing user certificates
...
Part of: https://fedorahosted.org/freeipa/ticket/6064
Reviewed-By: Lenka Doudova <ldoudova@redhat.com >
2016-08-01 17:07:49 +02:00
Pavel Vomacka
73ef15ccb4
Fix test which checks removing of user
...
The name of delete action is now 'delete_active_user' not just 'delete' therefore
tests needs to be fixed.
https://fedorahosted.org/freeipa/ticket/6052
Reviewed-By: Lenka Doudova <ldoudova@redhat.com >
2016-07-27 19:22:30 +02:00
Lenka Doudova
6468a39850
WebUI: Test creating user without private group
...
Test for option to create a user without private group in web UI.
Covers ticket https://fedorahosted.org/freeipa/ticket/5804
Reviewed-By: Pavel Vomacka <pvomacka@redhat.com >
2016-04-15 10:17:20 +02:00
Milan Kubik
0a64e9bd70
Applied tier0 and tier1 marks on unit tests and xmlrpc tests
...
Web UI tests were marked as tier1 tests.
The tier system is intended to be used together with CI system
to make sure the more complicated tests are being run only
when all of the basic functionality is working.
The system is using pytest's marker system. E.g. an invocation of
all tier1 tests with listing will look like:
$ py.test -v -m tier1 ipatests
or in case of out of tree tests:
$ ipa-run-tests -m tier1
Reviewed-By: Ales 'alich' Marecek <amarecek@redhat.com >
2015-11-09 11:49:17 +01:00
Petr Vobornik
35d3f03843
webui: support unlock user command
...
Call user-unlock command from Web UI.
It will unlock displayed user on current master.
https://fedorahosted.org/freeipa/ticket/4407
Reviewed-By: Endi Sukma Dewata <edewata@redhat.com >
2014-06-30 13:11:53 +02:00
Petr Vobornik
870db2f677
webui: rebase user password dialog on password dialog and add otp support
...
https://fedorahosted.org/freeipa/ticket/4262
Reviewed-By: Endi Sukma Dewata <edewata@redhat.com >
2014-06-26 12:37:39 +02:00
Petr Vobornik
2f3dc7908d
webui: move user reset password action to action dropdown
...
Reviewed-By: Endi Sukma Dewata <edewata@redhat.com >
2014-06-10 10:23:26 +02:00
Petr Vobornik
3eaa69a686
webui: change navigation from RCUE to PatternFly
...
Mainly html and css changes.
Second level menus are absolutely positioned and so they don't adjust container
size making other elements to overlap.
side effect partially fixes:
https://fedorahosted.org/freeipa/ticket/3435
Reviewed-By: Endi Sukma Dewata <edewata@redhat.com >
2014-06-10 10:23:23 +02:00
Petr Vobornik
6d618853a4
webui-ci: decorate all webui tests with screenshot decorator
...
Reviewed-By: Adam Misnyovszki <amisnyov@redhat.com >
2014-05-12 18:52:58 +02:00
Petr Vobornik
77a56b7f87
Adapt password expiration notification to new navigation
...
https://fedorahosted.org/freeipa/ticket/3902
2014-01-21 12:04:02 +01:00
Petr Vobornik
e3d56597cd
Fix password expiration notification
...
- was broken by navigation and application controller refactoring
https://fedorahosted.org/freeipa/ticket/4003
2013-10-30 13:31:12 +01:00
Petr Vobornik
6ec5e5fec6
Web UI integration tests: PEP8 fixes
...
Tests modified to comply with PEP8 rules with exception of rule E501 (long lines).
Done by autopep8 tool and 2 manual modifications.
https://fedorahosted.org/freeipa/ticket/3744
2013-07-26 13:35:12 +02:00
Petr Vobornik
2a9be92855
Upstream Web UI tests
...
Documentation: http://www.freeipa.org/page/Web_UI_Integration_Tests
https://fedorahosted.org/freeipa/ticket/3744
2013-07-16 13:15:59 +02:00