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:
Serhii Tsymbaliuk committed 2018-09-19 13:32:51 +02:00
1 parent 93eafaec1a
commit 970af640ee
2 files changed
+1 -8

No files matched your search

+1 -7
View File
@@ -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
-1
View File
@@ -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"]',