File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
e2e/components/fullscreen Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -10,24 +10,24 @@ describe('fullscreen', () => {
10
10
element ( by . id ( 'fullscreen' ) ) . click ( ) ;
11
11
element ( by . id ( 'dialog' ) ) . click ( ) ;
12
12
13
- overlayInFullscreen . then ( isPresent => {
13
+ overlayInFullscreen ( ) . then ( isPresent => {
14
14
expect ( isPresent ) . toBe ( true ) ;
15
15
element ( by . id ( 'exitfullscreenindialog' ) ) . click ( ) ;
16
- overlayInBody . then ( isPresent => {
16
+ overlayInBody ( ) . then ( isPresent => {
17
17
expect ( isPresent ) . toBe ( true ) ;
18
18
} ) ;
19
19
} ) ;
20
20
} ) ;
21
21
22
22
it ( 'should open a dialog inside the document body and move it to a fullscreen element' , ( ) => {
23
23
element ( by . id ( 'dialog' ) ) . click ( ) ;
24
- overlayInBody . then ( isPresent => {
24
+ overlayInBody ( ) . then ( isPresent => {
25
25
expect ( isPresent ) . toBe ( true ) ;
26
26
element ( by . id ( 'fullscreenindialog' ) ) . click ( ) ;
27
- overlayInFullscreen . then ( isPresent => {
27
+ overlayInFullscreen ( ) . then ( isPresent => {
28
28
expect ( isPresent ) . toBe ( true ) ;
29
29
element ( by . id ( 'exitfullscreenindialog' ) ) . click ( ) ;
30
- browser . isElementPresent ( by . css ( 'body > .md-overlay-container' ) ) . then ( isPresent => {
30
+ overlayInBody ( ) . then ( isPresent => {
31
31
expect ( isPresent ) . toBe ( true ) ;
32
32
} ) ;
33
33
} ) ;
You can’t perform that action at this time.
0 commit comments