@@ -29,7 +29,8 @@ module WebDriver
29
29
expect ( driver . title ) . to eq ( 'XHTML Test Page' )
30
30
end
31
31
32
- it 'supports events' do
32
+ it 'supports events' , except : { browser : :firefox ,
33
+ reason : 'https://bugzilla.mozilla.org/show_bug.cgi?id=1819965' } do
33
34
expect { |block |
34
35
driver . devtools . page . enable
35
36
driver . devtools . page . on ( :load_event_fired , &block )
@@ -38,7 +39,8 @@ module WebDriver
38
39
} . to yield_control
39
40
end
40
41
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
42
44
expect {
43
45
driver . devtools . page . enable
44
46
driver . devtools . page . on ( :load_event_fired ) { raise 'This is fine!' }
@@ -71,7 +73,8 @@ module WebDriver
71
73
end
72
74
end
73
75
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
75
78
logs = [ ]
76
79
driver . on_log_event ( :console ) { |log | logs . push ( log ) }
77
80
driver . navigate . to url_for ( 'javascriptPage.html' )
@@ -109,8 +112,8 @@ module WebDriver
109
112
)
110
113
end
111
114
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
114
117
logs = [ ]
115
118
driver . on_log_event ( :console ) { |log | logs . push ( log ) }
116
119
driver . navigate . to url_for ( 'javascriptPage.html' )
@@ -123,7 +126,8 @@ module WebDriver
123
126
)
124
127
end
125
128
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
127
131
exceptions = [ ]
128
132
driver . on_log_event ( :exception ) { |exception | exceptions . push ( exception ) }
129
133
driver . navigate . to url_for ( 'javascriptPage.html' )
0 commit comments