diff --git a/core/src/components/searchbar/test/toolbar/e2e.js b/core/src/components/searchbar/test/toolbar/e2e.js new file mode 100644 index 0000000000..838525f0c6 --- /dev/null +++ b/core/src/components/searchbar/test/toolbar/e2e.js @@ -0,0 +1,19 @@ +'use strict'; + +const { By, until } = require('selenium-webdriver'); +const { register, Page, platforms } = require('../../../../../scripts/e2e'); + +class E2ETestPage extends Page { + constructor(driver, platform) { + super(driver, `http://localhost:3333/src/components/searchbar/test/toolbar?ionic:mode=${platform}`); + } +} + +platforms.forEach(platform => { + describe('searchbar/toolbar', () => { + register('should init', driver => { + const page = new E2ETestPage(driver, platform); + return page.navigate('#content'); + }); + }); +}); diff --git a/core/src/components/searchbar/test/toolbar/index.html b/core/src/components/searchbar/test/toolbar/index.html index ff1592116d..827809eb8a 100644 --- a/core/src/components/searchbar/test/toolbar/index.html +++ b/core/src/components/searchbar/test/toolbar/index.html @@ -18,20 +18,7 @@ - - - - - - - - - - - - - - +
Search - Transparent Toolbar
@@ -87,12 +74,25 @@ + + + + + + + + + + + +