Skip to content

Commit 92f1573

Browse files
authored
deflake sync suite (#101)
* finish setup if possible * take screenshot * no screenshot * no screenshot * docs * papercut * screenshot * add more screenshots * force restart CI * remove screenshots * force context * force restart CI w/ screenshots * force restart CI w/ one screenshot
1 parent 5bfde38 commit 92f1573

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

tests/sync_and_fxa/test_existing_fxa.py

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,14 @@ def fxa_test_account():
2020
return ("[email protected]", "Test123???")
2121

2222

23-
@pytest.mark.unstable
2423
def test_sync_existing_fxa(
25-
driver: Firefox, fxa_test_account: Tuple[str, str], restmail_session, get_otp_code
24+
driver: Firefox,
25+
fxa_test_account: Tuple[str, str],
26+
restmail_session,
27+
get_otp_code,
28+
screenshot,
2629
):
30+
"""C131098: User is able to log in with existing FxAccount"""
2731
(username, password) = fxa_test_account
2832
panel_ui = PanelUi(driver)
2933
panel_ui.click_sync_sign_in_button()
@@ -40,4 +44,6 @@ def test_sync_existing_fxa(
4044
fxa.fill_otp_code(otp)
4145
except (NoSuchElementException, TimeoutException):
4246
pass
47+
with driver.context(driver.CONTEXT_CHROME):
48+
screenshot("test_sync_existing_fxa_chrome")
4349
panel_ui.confirm_sync_in_progress()

0 commit comments

Comments
 (0)