mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-01-11 08:41:55 -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"
|
s = "div[name='ipasshpubkey'].multivalued-widget"
|
||||||
facet = self.get_facet()
|
facet = self.get_facet()
|
||||||
btn = self.find(s, By.CSS_SELECTOR, facet, strict=True)
|
btn = self.find(s, By.CSS_SELECTOR, facet, strict=True)
|
||||||
btn_is_displayed = btn.is_displayed
|
assert btn.is_displayed is not True
|
||||||
|
|
||||||
# logout needs to prevent using this unpermitted user in other tests
|
|
||||||
try:
|
|
||||||
assert btn_is_displayed is not True
|
|
||||||
finally:
|
|
||||||
self.logout()
|
|
||||||
|
@ -422,7 +422,6 @@ class test_user(user_tasks):
|
|||||||
"""
|
"""
|
||||||
Try to login with no username provided
|
Try to login with no username provided
|
||||||
"""
|
"""
|
||||||
self.driver.delete_all_cookies()
|
|
||||||
self.init_app(login='', password='xxx123')
|
self.init_app(login='', password='xxx123')
|
||||||
|
|
||||||
alert_e = self.find('.alert[data-name="username"]',
|
alert_e = self.find('.alert[data-name="username"]',
|
||||||
|
Loading…
Reference in New Issue
Block a user