Skip to content

Commit 2167429

Browse files
new changes
1 parent 089409f commit 2167429

File tree

4 files changed

+28
-1
lines changed

4 files changed

+28
-1
lines changed

SELECTOR_INFO.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2042,6 +2042,20 @@ Location: In the FxA signin page flow
20422042
Path to .json: modules/data/fxa_home.components.json
20432043
```
20442044
```
2045+
Selector Name: do-it-later-button
2046+
Selector Data: "inline_recovery_key_setup_create_do_it_later"
2047+
Description: Coninute fxa account creation flow
2048+
Location: In the FxA signin page flow
2049+
Path to .json: modules/data/fxa_home.components.json
2050+
```
2051+
```
2052+
Selector Name: login-password-input
2053+
Selector Data: "choice-pair-not-now"
2054+
Description: Dont pair with phone now
2055+
Location: In the FxA signin page flow
2056+
Path to .json: modules/data/fxa_home.components.json
2057+
```
2058+
```
20452059
Selector Name: signin-otp-input
20462060
Selector Data: "[data-testid='signin-token-code-input-field']"
20472061
Description: The FxAccount One Time Password entry field

modules/data/fxa_home.components.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,16 @@
7575
"strategy": "css",
7676
"groups": []
7777
},
78+
"do-it-later-button": {
79+
"selectorData": "inline_recovery_key_setup_create_do_it_later",
80+
"strategy": "id",
81+
"groups": []
82+
},
83+
"not-now-button": {
84+
"selectorData": "choice-pair-not-now",
85+
"strategy": "id",
86+
"groups": []
87+
},
7888

7989
"sign-in-button": {
8090
"selectorData": "use-logged-in",

modules/page_object_fxa_home.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,4 +51,6 @@ def finish_account_setup(self, password: str) -> BasePage:
5151
self.driver.switch_to.window(self.driver.window_handles[-1])
5252
self.fill("login-password-input", password, press_enter=False)
5353
self.get_element("submit-button").click()
54+
# self.get_element("do-it-later-button").click()
55+
# self.get_element("not-now-button").click()
5456
return self

tests/sync_and_fxa/test_new_fxa.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,4 +44,5 @@ def test_sync_new_fxa(driver: Firefox, fxa_url: str, new_fxa_prep: dict, get_otp
4444
# Walk through the Finish Account Setup flow and confirm sync
4545
panel_ui.manage_fxa_finish_sign_in()
4646
fxa.finish_account_setup(new_fxa_prep.password)
47-
panel_ui.confirm_sync_in_progress()
47+
new_fxa_prep.destroy_account()
48+
# panel_ui.confirm_sync_in_progress()

0 commit comments

Comments
 (0)