@@ -32,28 +32,29 @@ class BiDi
32
32
expect ( browsing_context . id ) . to eq ( id )
33
33
end
34
34
35
- it 'can create a window' do
35
+ it 'can create a window without a reference context ' do
36
36
browsing_context = described_class . new ( driver : driver , type : :window )
37
37
expect ( browsing_context . id ) . not_to be_nil
38
38
end
39
39
40
- it 'can create a window with a reference context' do
40
+ it 'can create a window with a reference context' , except : { browser : :chrome } do
41
41
browsing_context = described_class . new ( driver : driver , type : :window ,
42
42
reference_context : driver . window_handle )
43
43
expect ( browsing_context . id ) . not_to be_nil
44
44
end
45
45
46
- it 'can create a tab' do
46
+ it 'can create a tab without a reference context ' do
47
47
browsing_context = described_class . new ( driver : driver , type : :tab )
48
48
expect ( browsing_context . id ) . not_to be_nil
49
49
end
50
50
51
- it 'can create a tab with a reference context' do
51
+ it 'can create a tab with a reference context' , except : { browser : :chrome } do
52
52
browsing_context = described_class . new ( driver : driver , type : :tab , reference_context : driver . window_handle )
53
53
expect ( browsing_context . id ) . not_to be_nil
54
54
end
55
55
56
- it 'can navigate to a url' , except : { browser : :chrome , reason : 'navigation_id is not nil' } do
56
+ it 'can navigate to a url without a readiness state' ,
57
+ except : { browser : :chrome , reason : 'navigation_id is not nil' } do
57
58
browsing_context = described_class . new ( driver : driver , type : :tab )
58
59
59
60
info = browsing_context . navigate url : url_for ( '/bidi/logEntryAdded.html' )
0 commit comments