@InBrowser(emulator = Emulator.GOOGLE_NEXUS_5) @Test(groups = "mercury_search_searchResultsPageHasNoSearchIconInTopBar") public void mercury_search_searchResultsPageHasNoSearchIconInTopBar() { SearchResultsPage resultsPage = new SearchResultsPage().openForQuery(SEARCH_PHRASE); Assertion.assertFalse(resultsPage.getTopBar().isSearchIconClickable()); }
@InBrowser(emulator = Emulator.GOOGLE_NEXUS_5) @Test(groups = "mercury_search_searchInputDoesNotCoverNavigation") public void mercury_search_searchInputDoesNotCoverNavigation() { SearchResultsPage resultsPage = new SearchResultsPage().openForQuery(SEARCH_PHRASE); resultsPage.getTopBar().openNavigation(); Assertion.assertFalse(resultsPage.getSearch().isSearchInputFieldEditable()); }