@@ -29,7 +29,8 @@ module WebDriver
2929 expect ( driver . title ) . to eq ( 'XHTML Test Page' )
3030 end
3131
32- it 'supports events' do
32+ it 'supports events' , except : { browser : :firefox ,
33+ reason : 'https://bugzilla.mozilla.org/show_bug.cgi?id=1819965' } do
3334 expect { |block |
3435 driver . devtools . page . enable
3536 driver . devtools . page . on ( :load_event_fired , &block )
@@ -38,7 +39,8 @@ module WebDriver
3839 } . to yield_control
3940 end
4041
41- it 'propagates errors in events' do
42+ it 'propagates errors in events' , except : { browser : :firefox ,
43+ reason : 'https://bugzilla.mozilla.org/show_bug.cgi?id=1819965' } do
4244 expect {
4345 driver . devtools . page . enable
4446 driver . devtools . page . on ( :load_event_fired ) { raise 'This is fine!' }
@@ -71,7 +73,8 @@ module WebDriver
7173 end
7274 end
7375
74- it 'notifies about log messages' do
76+ it 'notifies about log messages' , except : { browser : :firefox ,
77+ reason : 'https://bugzilla.mozilla.org/show_bug.cgi?id=1819965' } do
7578 logs = [ ]
7679 driver . on_log_event ( :console ) { |log | logs . push ( log ) }
7780 driver . navigate . to url_for ( 'javascriptPage.html' )
@@ -109,8 +112,8 @@ module WebDriver
109112 )
110113 end
111114
112- it 'notifies about document log messages' , only : { browser : : firefox,
113- reason : 'Firefox & Chrome parse document differently ' } do
115+ it 'notifies about document log messages' , except : { browser : %i[ chrome edge firefox ] ,
116+ reason : 'https://bugzilla.mozilla.org/show_bug.cgi?id=1819965 ' } do
114117 logs = [ ]
115118 driver . on_log_event ( :console ) { |log | logs . push ( log ) }
116119 driver . navigate . to url_for ( 'javascriptPage.html' )
@@ -123,7 +126,8 @@ module WebDriver
123126 )
124127 end
125128
126- it 'notifies about exceptions' do
129+ it 'notifies about exceptions' , except : { browser : :firefox ,
130+ reason : 'https://bugzilla.mozilla.org/show_bug.cgi?id=1819965' } do
127131 exceptions = [ ]
128132 driver . on_log_event ( :exception ) { |exception | exceptions . push ( exception ) }
129133 driver . navigate . to url_for ( 'javascriptPage.html' )
0 commit comments