@@ -3,7 +3,7 @@ import TestIDs from '../playground/src/testIDs';
33
44const { elementByLabel, elementById } = Utils ;
55
6- describe . e2e ( 'SideMenu' , ( ) => {
6+ describe ( 'SideMenu' , ( ) => {
77 beforeEach ( async ( ) => {
88 await device . launchApp ( { newInstance : true } ) ;
99 await elementById ( TestIDs . SIDE_MENU_BTN ) . tap ( ) ;
@@ -38,13 +38,13 @@ describe.e2e('SideMenu', () => {
3838 await expect ( elementById ( TestIDs . CLOSE_RIGHT_SIDE_MENU_BTN ) ) . toBeNotVisible ( ) ;
3939 } ) ;
4040
41- it ( 'should rotate' , async ( ) => {
41+ it . e2e ( 'should rotate' , async ( ) => {
4242 await elementById ( TestIDs . OPEN_LEFT_SIDE_MENU_BTN ) . tap ( ) ;
4343 await device . setOrientation ( 'landscape' ) ;
4444 await expect ( elementById ( TestIDs . LEFT_SIDE_MENU_PUSH_BTN ) ) . toBeVisible ( ) ;
4545 } ) ;
4646
47- it ( ':ios: rotation should update drawer height' , async ( ) => {
47+ it . e2e ( ':ios: rotation should update drawer height' , async ( ) => {
4848 await elementById ( TestIDs . OPEN_LEFT_SIDE_MENU_BTN ) . tap ( ) ;
4949 await expect ( elementByLabel ( 'left drawer height: 869' ) ) . toBeVisible ( ) ;
5050 await device . setOrientation ( 'landscape' ) ;
@@ -53,23 +53,24 @@ describe.e2e('SideMenu', () => {
5353 await expect ( elementByLabel ( 'left drawer height: 869' ) ) . toBeVisible ( ) ;
5454 } ) ;
5555
56- it ( 'should set left drawer width' , async ( ) => {
56+ it . e2e ( 'should set left drawer width' , async ( ) => {
5757 await elementById ( TestIDs . OPEN_LEFT_SIDE_MENU_BTN ) . tap ( ) ;
58+ await expect ( elementById ( TestIDs . SIDE_MENU_LEFT_DRAWER_HEIGHT_TEXT ) ) . toBeVisible ( ) ;
5859 await expect ( elementByLabel ( 'left drawer width: 250' ) ) . toBeVisible ( ) ;
5960 } ) ;
6061
61- it ( 'should change left drawer width' , async ( ) => {
62+ it . e2e ( 'should change left drawer width' , async ( ) => {
6263 await elementById ( TestIDs . CHANGE_LEFT_SIDE_MENU_WIDTH_BTN ) . tap ( ) ;
6364 await elementById ( TestIDs . OPEN_LEFT_SIDE_MENU_BTN ) . tap ( ) ;
6465 await expect ( elementByLabel ( 'left drawer width: 50' ) ) . toBeVisible ( ) ;
6566 } ) ;
6667
67- it ( 'should set right drawer width' , async ( ) => {
68+ it . e2e ( 'should set right drawer width' , async ( ) => {
6869 await elementById ( TestIDs . OPEN_RIGHT_SIDE_MENU_BTN ) . tap ( ) ;
6970 await expect ( elementByLabel ( 'right drawer width: 250' ) ) . toBeVisible ( ) ;
7071 } ) ;
7172
72- it ( 'should change right drawer width' , async ( ) => {
73+ it . e2e ( 'should change right drawer width' , async ( ) => {
7374 await elementById ( TestIDs . CHANGE_RIGHT_SIDE_MENU_WIDTH_BTN ) . tap ( ) ;
7475 await elementById ( TestIDs . OPEN_RIGHT_SIDE_MENU_BTN ) . tap ( ) ;
7576 await expect ( elementByLabel ( 'right drawer width: 50' ) ) . toBeVisible ( ) ;
0 commit comments