diff --git a/packages/core/src/components/toolbar/test/scenarios/e2e.js b/packages/core/src/components/toolbar/test/scenarios/e2e.js new file mode 100644 index 0000000000..56c2c79640 --- /dev/null +++ b/packages/core/src/components/toolbar/test/scenarios/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/toolbar/test/scenarios?ionicplatform=${platform}`); + } +} + +platforms.forEach(platform => { + describe('toolbar/scenarios', () => { + register('should init', driver => { + const page = new E2ETestPage(driver, platform); + return page.navigate(); + }); + }); +}); diff --git a/packages/core/src/components/toolbar/test/scenarios/index.html b/packages/core/src/components/toolbar/test/scenarios/index.html new file mode 100644 index 0000000000..0b9a2fcc81 --- /dev/null +++ b/packages/core/src/components/toolbar/test/scenarios/index.html @@ -0,0 +1,239 @@ + + + + + Toolbar - Scenarios + + + + + + + + + This should have no padding + + + + This is the title that never ends. It just goes on and on my friend. + + + + + + + + + + + + + + + + + This is a long title with buttons. It just goes on and on my friend. + + + + + + + + + + + + + + + + + Defaults + + + + + + + + + + + + + + + + + Defaults.activated + + + + + + + + + + Solid + + + Solid + + + Help + + + + + + + + + + + + + Solid + + + Solid Activated + + + Help + + + + + + + + + + + + + Star + + + + + + + + Outline + + + + + + + + + + Star + + + + + + + + Outline.activated + + + + + + + Clear + + + + + Edit + + + + Icon/Color Attr + + + + + + Go Back + + + + + Edit + + + Text Only + + + + + + + + + + + + Left side menu toggle + + + + + + + + + Right side menu toggle + + + + + + + + + + + + + + Something + + + Else + + + + + + + + Light + + + Toolbar + + + Default Segment + + + + + + + + + +