File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -100,6 +100,7 @@ try {
100100 const outputView = await bottomBar . openOutputView ( )
101101 await outputView . selectChannel ( 'WebdriverIO' )
102102 const logs = await outputView . getText ( )
103+ console . log ( logs )
103104
104105 const regexp = typeof expectedLog === 'string' ? new RegExp ( expectedLog ) : expectedLog
105106
@@ -120,15 +121,15 @@ async function clickGlobalAction(bottomBar: BottomBarPanel, label: string) {
120121 await bottomBar . toggle ( true )
121122 let action
122123 try {
123- action = await bottomBar . elem
124+ action = ( await bottomBar . elem
124125 . $ ( bottomBar . locators . globalActions )
125- . $ ( `.//a[contains(@aria-label, '${ label } ') and @role='checkbox']` )
126+ . $ ( `.//a[contains(@aria-label, '${ label } ') and @role='checkbox']` ) ) as WebdriverIO . Element
126127 } catch {
127128 // the panel is already maximized
128129 }
129130 try {
130131 if ( action ) {
131- await action . click ( )
132+ await action . click ( { } )
132133 }
133134 } catch {
134135 // pass
You can’t perform that action at this time.
0 commit comments