File tree Expand file tree Collapse file tree 2 files changed +128
-2
lines changed Expand file tree Collapse file tree 2 files changed +128
-2
lines changed Original file line number Diff line number Diff line change 72
72
73
73
- tapOn : " Navigate up"
74
74
75
- - assertVisible :
76
- text : " Save and autofill passwords"
77
75
- evalScript : ${output.addLogins.counter++}
78
76
79
77
- scrollUntilVisible :
Original file line number Diff line number Diff line change
1
+ appId : com.duckduckgo.mobile.android
2
+ name : " Autofill: Autofill Settings Screen"
3
+ tags :
4
+ - autofillNoAuthTests
5
+ ---
6
+ # Pre-requisite: on an autofill-eligible device
7
+ - retry :
8
+ maxRetries : 3
9
+ commands :
10
+ - launchApp :
11
+ clearState : true
12
+ - runFlow : ../shared/skip_all_onboarding.yaml
13
+
14
+ - tapOn :
15
+ id : " com.duckduckgo.mobile.android:id/browserMenuImageView"
16
+ - assertVisible : " Settings"
17
+ - tapOn : " Settings"
18
+
19
+ - scrollUntilVisible :
20
+ element :
21
+ text : " Passwords.*"
22
+ - assertVisible : " Passwords.*"
23
+ - tapOn : " Passwords.*"
24
+
25
+ - assertVisible :
26
+ id : secondaryText
27
+ text : " 0"
28
+
29
+ - assertVisible :
30
+ text : " Ask to Save and Autofill"
31
+
32
+ - assertVisible :
33
+ id : syncDesktopPasswordsOption
34
+
35
+ - tapOn :
36
+ id : passwordsListItem
37
+
38
+ - assertVisible :
39
+ text : " No passwords saved yet"
40
+ - assertNotVisible :
41
+ id : searchLogins
42
+
43
+ - runScript : steps/2_script.js
44
+
45
+ - repeat :
46
+ while :
47
+ true : ${output.addLogins.counter < output.addLogins.domains.length}
48
+ commands :
49
+ - tapOn :
50
+ id : addLoginManually
51
+ - assertVisible :
52
+ text : Add Password
53
+ - assertNotVisible :
54
+ id : view_menu_save
55
+
56
+ - scrollUntilVisible :
57
+ element :
58
+ id : usernameEditText
59
+ - tapOn :
60
+ id : usernameEditText
61
+ - inputText : " user"
62
+
63
+ - assertVisible :
64
+ id : view_menu_save
65
+
66
+ - scrollUntilVisible :
67
+ element :
68
+ id : passwordEditText
69
+ - tapOn :
70
+ id : passwordEditText
71
+ - inputText : " 123"
72
+
73
+ - scrollUntilVisible :
74
+ element :
75
+ id : domainEditText
76
+ - tapOn :
77
+ id : domainEditText
78
+ - inputText : " ${output.addLogins.domains[output.addLogins.counter]}"
79
+
80
+ - scrollUntilVisible :
81
+ element :
82
+ id : notesEditText
83
+ - tapOn :
84
+ id : notesEditText
85
+ - inputText : " a note"
86
+
87
+ - tapOn :
88
+ id : view_menu_save
89
+ retryTapIfNoChange : false
90
+
91
+ - scrollUntilVisible :
92
+ element :
93
+ text : " Last updated.*"
94
+ - assertVisible : " Last updated.*"
95
+
96
+ - tapOn : " Navigate up"
97
+
98
+ - evalScript : ${output.addLogins.counter++}
99
+
100
+ - scrollUntilVisible :
101
+ element :
102
+ text : " #"
103
+ - assertVisible :
104
+ text : " #"
105
+
106
+ - scrollUntilVisible :
107
+ element :
108
+ text : " a.example.com"
109
+ - assertVisible :
110
+ text : " a.example.com"
111
+
112
+ - assertNotVisible :
113
+ text : " https://a.example.com"
114
+
115
+ - scrollUntilVisible :
116
+ element :
117
+ text : " fill.dev"
118
+ - assertVisible :
119
+ text : " fill.dev"
120
+
121
+ - assertNotVisible :
122
+ text : " fill.dev/example"
123
+
124
+ - tapOn : " Navigate up"
125
+
126
+ - assertVisible :
127
+ id : secondaryText
128
+ text : " 3"
You can’t perform that action at this time.
0 commit comments