File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 9595 async hasExpectedLog ( workbench : Workbench , expectedLog : RegExp | string ) {
9696 const bottomBar = workbench . getBottomBar ( )
9797 await bottomBar . toggle ( true )
98- await clickGlobalAction ( bottomBar , bottomBar . locators . maximize )
98+ // await clickGlobalAction(bottomBar, bottomBar.locators.maximize)
9999
100100 const outputView = await bottomBar . openOutputView ( )
101101 await outputView . selectChannel ( 'WebdriverIO' )
@@ -107,7 +107,7 @@ try {
107107 const pass = logs . some ( ( log ) => regexp . test ( log ) )
108108
109109 await bottomBar . toggle ( true )
110- await clickGlobalAction ( bottomBar , bottomBar . locators . restore )
110+ // await clickGlobalAction(bottomBar, bottomBar.locators.restore)
111111 const message = pass ? 'The log outputs include expected text.' : 'The expected text is not included'
112112 return { pass, message : ( ) => message }
113113 } ,
@@ -117,7 +117,7 @@ try {
117117 console . warn ( 'Failed to extend expect:' , error )
118118}
119119
120- async function clickGlobalAction ( bottomBar : BottomBarPanel , label : string ) {
120+ export async function clickGlobalAction ( bottomBar : BottomBarPanel , label : string ) {
121121 let action
122122 try {
123123 action = ( await bottomBar . elem
You can’t perform that action at this time.
0 commit comments