mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-24 08:00:02 -06:00
Remove unnecessary session clearing in some Web UI tests
Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com> Reviewed-By: Petr Vobornik <pvoborni@redhat.com>
This commit is contained in:
parent
93eafaec1a
commit
970af640ee
@ -287,10 +287,4 @@ class test_selfservice(UI_driver):
|
||||
s = "div[name='ipasshpubkey'].multivalued-widget"
|
||||
facet = self.get_facet()
|
||||
btn = self.find(s, By.CSS_SELECTOR, facet, strict=True)
|
||||
btn_is_displayed = btn.is_displayed
|
||||
|
||||
# logout needs to prevent using this unpermitted user in other tests
|
||||
try:
|
||||
assert btn_is_displayed is not True
|
||||
finally:
|
||||
self.logout()
|
||||
assert btn.is_displayed is not True
|
||||
|
@ -422,7 +422,6 @@ class test_user(user_tasks):
|
||||
"""
|
||||
Try to login with no username provided
|
||||
"""
|
||||
self.driver.delete_all_cookies()
|
||||
self.init_app(login='', password='xxx123')
|
||||
|
||||
alert_e = self.find('.alert[data-name="username"]',
|
||||
|
Loading…
Reference in New Issue
Block a user