// Bookmarks a few websites, toggles the history and bookmarks setting to off, then verifies if the visited and bookmarked websites do not show in the suggestions.
funtoggleSearchBookmarksAndHistoryTest(){
// Bookmarks 2 websites, toggles the bookmarks and history search settings off,
// then verifies if the websites do not show in the suggestions.
valpage1=getGenericAsset(mockWebServer,1)
valpage2=getGenericAsset(mockWebServer,2)
valpage3=getGenericAsset(mockWebServer,3)
homeScreen{
}.openNavigationToolbar{
navigationToolbar{
}.enterURLAndEnterToBrowser(page1.url){
verifyUrl(page1.url.toString())
}.openThreeDotMenu{
}.bookmarkPage{}
}.bookmarkPage{
}.openTabDrawer{
closeTab()
}
navigationToolbar{
}.enterURLAndEnterToBrowser(page2.url){
verifyUrl(page2.url.toString())
}.openThreeDotMenu{
}.bookmarkPage{}
navigationToolbar{
}.enterURLAndEnterToBrowser(page3.url){
mDevice.waitForIdle()
}.bookmarkPage{
}.openTabDrawer{
closeTab()
}
navigationToolbar{
verifyNoHistoryBookmarks()
// Verifies that bookmarks & history suggestions are shown