File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed
rb/spec/integration/selenium/webdriver Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -21,19 +21,20 @@ module Selenium
21
21
module WebDriver
22
22
module DriverExtensions
23
23
describe HasWebStorage , only : { browser : %i[ chrome firefox ] } do
24
- shared_examples_for 'web storage' do
24
+ shared_examples 'web storage' do
25
25
before do
26
26
driver . navigate . to url_for ( 'clicks.html' )
27
27
storage . clear
28
28
end
29
29
30
- # https://bugs.chromium.org/p/chromedriver/issues/detail?id=2177
31
- it 'can get and set items' , except : { browser : :chrome } do
30
+ # https://bugs.chromium.org/p/chromedriver/issues/detail?id=2177 - To monitor as recently fixed
31
+ it 'can get and set items' do
32
32
expect ( storage ) . to be_empty
33
33
storage [ 'foo' ] = 'bar'
34
- expect ( storage [ 'foo' ] ) . to eq ( 'bar' )
35
34
35
+ expect ( storage [ 'foo' ] ) . to eq ( 'bar' )
36
36
storage [ 'foo1' ] = 'bar1'
37
+
37
38
expect ( storage [ 'foo1' ] ) . to eq ( 'bar1' )
38
39
39
40
expect ( storage . size ) . to eq ( 2 )
@@ -48,8 +49,8 @@ module DriverExtensions
48
49
expect ( storage . keys ) . to include ( 'foo1' , 'foo2' , 'foo3' )
49
50
end
50
51
51
- # https://bugs.chromium.org/p/chromedriver/issues/detail?id=2177
52
- it 'can clear all items' , except : { browser : :chrome } do
52
+ # https://bugs.chromium.org/p/chromedriver/issues/detail?id=2177 - To monitor as recently fixed
53
+ it 'can clear all items' do
53
54
storage [ 'foo1' ] = 'bar1'
54
55
storage [ 'foo2' ] = 'bar2'
55
56
storage [ 'foo3' ] = 'bar3'
You can’t perform that action at this time.
0 commit comments