summaryrefslogtreecommitdiffstats
path: root/cypress_test/integration_tests/mobile/impress/searchbar_spec.js
diff options
context:
space:
mode:
Diffstat (limited to 'cypress_test/integration_tests/mobile/impress/searchbar_spec.js')
-rw-r--r--cypress_test/integration_tests/mobile/impress/searchbar_spec.js7
1 files changed, 2 insertions, 5 deletions
diff --git a/cypress_test/integration_tests/mobile/impress/searchbar_spec.js b/cypress_test/integration_tests/mobile/impress/searchbar_spec.js
index cd9a00591f..ce385c557b 100644
--- a/cypress_test/integration_tests/mobile/impress/searchbar_spec.js
+++ b/cypress_test/integration_tests/mobile/impress/searchbar_spec.js
@@ -41,16 +41,13 @@ describe('Searching via search bar.', function() {
helper.selectAllText();
- cy.get('.leaflet-marker-icon')
- .should('exist');
+ helper.textSelectionShouldExist();
searchHelper.tpyeIntoSearchField('q');
searchHelper.searchNext();
- // Should be no selection
- cy.get('.leaflet-marker-icon')
- .should('not.exist');
+ helper.textSelectionShouldNotExist();
});
it('Search next / prev instance.', function() {