@@ -5,7 +5,7 @@ describe('Test528', () => {
55 await device . reloadReactNative ( ) ;
66 } ) ;
77
8- it ( 'should Test528 exist' , async ( ) => {
8+ it ( 'Test528 should exist' , async ( ) => {
99 await waitFor ( element ( by . id ( 'root-screen-tests-Test528' ) ) )
1010 . toBeVisible ( )
1111 . whileElement ( by . id ( 'root-screen-examples-scrollview' ) )
@@ -17,15 +17,15 @@ describe('Test528', () => {
1717
1818 // Detox currently supports orientation only on iOS
1919 if ( device . getPlatform ( ) === 'ios' ) {
20- it ( 'displays headerRight button after orientation change on Screen1 ' , async ( ) => {
20+ it ( 'headerRight button should be visible after orientation change' , async ( ) => {
2121 await expect ( element ( by . text ( 'Custom Button' ) ) ) . toBeVisible ( 100 ) ;
2222 await device . setOrientation ( 'landscape' ) ;
2323 await expect ( element ( by . text ( 'Custom Button' ) ) ) . toBeVisible ( 100 ) ;
2424 await device . setOrientation ( 'portrait' ) ;
2525 await expect ( element ( by . text ( 'Custom Button' ) ) ) . toBeVisible ( 100 ) ;
2626 } ) ;
2727
28- it ( 'displays headerRight button on Screen1 after orientation change on Screen2 ' , async ( ) => {
28+ it ( 'headerRight button should be visible after coming back from horizontal screen ' , async ( ) => {
2929 await element ( by . text ( 'Go to Screen 2' ) ) . tap ( ) ;
3030 await device . setOrientation ( 'landscape' ) ;
3131 await element ( by . id ( 'BackButton' ) ) . tap ( ) ;
0 commit comments