Create FxA test account before Selenium session (#264)
* Create FxA test account before starting Selenium session * Show debug logs when a test fails
This commit is contained in:
Родитель
6af7d43c4a
Коммит
d8d07dc264
|
@ -13,7 +13,7 @@ class TestLogin(object):
|
|||
|
||||
_fxa_logged_in_indicator_locator = (By.ID, 'loggedin')
|
||||
|
||||
def test_user_can_sign_in(self, selenium, fxa_account, click_login, timeout):
|
||||
def test_user_can_sign_in(self, fxa_account, selenium, click_login, timeout):
|
||||
fxa = WebDriverFxA(selenium, timeout)
|
||||
fxa.sign_in(fxa_account.email, fxa_account.password)
|
||||
# We sometimes need to wait longer than the standard 10 seconds
|
||||
|
|
1
tox.ini
1
tox.ini
|
@ -38,3 +38,4 @@ testpaths = tests
|
|||
xfail_strict = true
|
||||
base_url = https://123done-stable.dev.lcip.org
|
||||
sensitive_url = mozilla\.(com|org)
|
||||
log_level = debug
|
||||
|
|
Загрузка…
Ссылка в новой задаче