We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3bfc31c commit 2028abdCopy full SHA for 2028abd
tests/password_manager/test_add_password_save_valid_data.py
@@ -36,8 +36,8 @@ def test_add_password_save_valid_data(driver: Firefox):
36
37
# Check password added in the listbox
38
logins = about_logins.get_elements("login-list-item")
39
- mozilla_login = next(
40
- login for login in logins if login.get_attribute("title") == WEBSITE_ADDRESS
+ mozilla_login = any(
+ [login for login in logins if login.get_attribute("title") == WEBSITE_ADDRESS]
41
)
42
assert mozilla_login
43
0 commit comments