File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed
openvidu-components-angular/e2e/nested-components Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -101,8 +101,15 @@ describe('Testing EVENTS', () => {
101101
102102 await utils . toggleFullscreenFromToolbar ( ) ;
103103
104- await utils . waitForElement ( '#onFullscreenEnabledChanged' ) ;
105- expect ( await utils . isPresent ( '#onFullscreenEnabledChanged' ) ) . to . be . true ;
104+ try {
105+ await utils . waitForElement ( '#onFullscreenEnabledChanged' ) ;
106+ expect ( await utils . isPresent ( '#onFullscreenEnabledChanged' ) ) . to . be . true ;
107+ } catch ( error ) {
108+ browser . takeScreenshot ( ) . then ( ( screen ) => {
109+ // log the screenshot in base64 to be able to see it in chrome
110+ console . log ( 'data:image/png;base64,' + screen ) ;
111+ } ) ;
112+ }
106113 } ) ;
107114
108115 it ( 'should receive the onRecordingStartRequested event' , async ( ) => {
You can’t perform that action at this time.
0 commit comments