File tree Expand file tree Collapse file tree 3 files changed +10
-1
lines changed
Expand file tree Collapse file tree 3 files changed +10
-1
lines changed Original file line number Diff line number Diff line change 3131 with :
3232 chrome-version : stable
3333
34+ - name : Fix Chrome
35+ run : |
36+ sudo chown root:root /opt/hostedtoolcache/setup-chrome/chromium/stable/x64/chrome-sandbox
37+ sudo chmod 4755 /opt/hostedtoolcache/setup-chrome/chromium/stable/x64/chrome-sandbox
38+
3439 - name : Run tests
3540 run : |
3641 mkdir -p /tmp/ferrum
Original file line number Diff line number Diff line change @@ -98,7 +98,9 @@ def start
9898 end
9999
100100 env = Hash ( @xvfb &.to_env ) . merge ( @env )
101+ puts "=================== #{ @command . to_a . inspect } "
101102 @pid = ::Process . spawn ( env , *@command . to_a , process_options )
103+ puts "=================== #{ @pid } "
102104 ObjectSpace . define_finalizer ( self , self . class . process_killer ( @pid ) )
103105
104106 parse_ws_url ( read_io , @process_timeout )
@@ -154,6 +156,8 @@ def parse_ws_url(read_io, timeout)
154156 while ( now = Utils ::ElapsedTime . monotonic_time ) < max_time
155157 begin
156158 output += read_io . read_nonblock ( 512 )
159+ puts output
160+ output
157161 rescue IO ::WaitReadable
158162 read_io . wait_readable ( max_time - now )
159163 else
Original file line number Diff line number Diff line change 4646 end
4747
4848 config . after ( :all ) do
49- @browser . quit
49+ @browser & .quit
5050 end
5151
5252 config . before ( :each ) do
You can’t perform that action at this time.
0 commit comments