File tree Expand file tree Collapse file tree 3 files changed +21
-2
lines changed Expand file tree Collapse file tree 3 files changed +21
-2
lines changed Original file line number Diff line number Diff line change 1+ import { browser , by , element } from 'protractor' ;
2+ import { screenshot } from '../screenshot' ;
3+
4+ describe ( 'md-toolbar' , ( ) => {
5+
6+ beforeEach ( ( ) => browser . get ( '/toolbar' ) ) ;
7+
8+ it ( 'should show a toolbar' , async ( ) => {
9+ expect ( element ( by . tagName ( 'md-toolbar' ) ) ) . toBeDefined ( ) ;
10+
11+ screenshot ( 'multiple toolbar components' ) ;
12+ } ) ;
13+
14+ } ) ;
Original file line number Diff line number Diff line change 11import { Routes } from '@angular/router' ;
2- import { CardFancyExample , ListOverviewExample } from '@angular/material-examples' ;
3-
42import { Home } from './e2e-app' ;
53import { ButtonE2E } from '../button/button-e2e' ;
64import { BasicTabs } from '../tabs/tabs-e2e' ;
@@ -17,6 +15,11 @@ import {FullscreenE2E} from '../fullscreen/fullscreen-e2e';
1715import { InputE2E } from '../input/input-e2e' ;
1816import { SidenavE2E } from '../sidenav/sidenav-e2e' ;
1917import { BlockScrollStrategyE2E } from '../block-scroll-strategy/block-scroll-strategy-e2e' ;
18+ import {
19+ CardFancyExample ,
20+ ListOverviewExample ,
21+ ToolbarMultirowExample
22+ } from '@angular/material-examples' ;
2023
2124export const E2E_APP_ROUTES : Routes = [
2225 { path : '' , component : Home } ,
@@ -37,4 +40,5 @@ export const E2E_APP_ROUTES: Routes = [
3740 { path : 'slide-toggle' , component : SlideToggleE2E } ,
3841 { path : 'tabs' , component : BasicTabs } ,
3942 { path : 'card-fancy' , component : CardFancyExample } ,
43+ { path : 'toolbar' , component : ToolbarMultirowExample }
4044] ;
Original file line number Diff line number Diff line change @@ -4,3 +4,4 @@ export * from './example-module';
44export * from './list-overview/list-overview-example' ;
55export * from './datepicker-overview/datepicker-overview-example' ;
66export * from './card-fancy/card-fancy-example' ;
7+ export * from './toolbar-multirow/toolbar-multirow-example' ;
You can’t perform that action at this time.
0 commit comments