File tree Expand file tree Collapse file tree 1 file changed +41
-10
lines changed Expand file tree Collapse file tree 1 file changed +41
-10
lines changed Original file line number Diff line number Diff line change 3737- runFlow : ../shared/browser_screen/click_on_menu_button.yaml
3838- tapOn :
3939 text : " add bookmark"
40- - runFlow : ../shared/browser_screen/click_on_menu_button.yaml
40+ - action : back
4141- tapOn :
42- text : " bookmarks "
42+ id : " bookmarksImageView "
4343- tapOn :
4444 id : " com.duckduckgo.mobile.android:id/trailingIcon"
4545 index : 0
5858 id : " browserLayout"
5959- extendedWaitUntil :
6060 visible :
61+ id : " omnibarTextInput"
6162 text : " https://www.eff.org/"
62- childOf :
63- id : " omnibarTextInput"
6463 timeout : 10000
65- - assertVisible :
66- text : " https://www.eff.org/"
67- childOf :
68- id : " omnibarTextInput"
6964
7065# verify that tapping on a favorite opens the web page (SERP in this case)
7166- tapOn :
@@ -77,10 +72,46 @@ tags:
7772- assertVisible :
7873 id : " browserLayout"
7974- assertVisible :
75+ id : " omnibarTextInput"
8076 text : " reddit"
81- childOf :
82- id : " omnibarTextInput"
8377- assertVisible :
8478 text : " reddit"
8579 childOf :
8680 id : " browserLayout"
81+
82+ # verify that tapping on a tabs menu opens the tab switcher
83+ - tapOn :
84+ id : " tabsButton"
85+ - assertVisible :
86+ id : " newTabButton"
87+ - assertVisible :
88+ id : " fireButton"
89+ - assertVisible :
90+ id : " menuButton"
91+ - tapOn :
92+ id : " cardContentsContainer"
93+ - assertVisible :
94+ id : " omnibarTextInput"
95+ text : " reddit"
96+
97+ # verify that tapping on a new tab button opens a new tab
98+ - tapOn :
99+ id : " newTabButton"
100+ - hideKeyboard
101+ - assertVisible :
102+ text : " 2"
103+ childOf :
104+ id : " tabsButton"
105+ - assertVisible :
106+ id : " autofillButton"
107+ - assertNotVisible :
108+ id : " newTabButton"
109+ - tapOn :
110+ id : " quickAccessFaviconCard"
111+ - assertVisible :
112+ id : " omnibarTextInput"
113+ text : " reddit"
114+ - assertVisible :
115+ id : " newTabButton"
116+ - assertNotVisible :
117+ id : " autofillButton"
You can’t perform that action at this time.
0 commit comments