chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: New egg: webdriver


From: Mario Domenech Goulart
Subject: Re: New egg: webdriver
Date: Sat, 15 Apr 2023 08:55:05 +0200

Hi Daniel,

On Sat, 15 Apr 2023 07:12:31 +0500 Daniel Ziltener <dziltener@lyrion.ch> wrote:

> Hi all,
>
> I have written a new egg implementing the WebDriver API, fittingly
> named "webdriver". It covers most of the API except the shadow-dom
> parts, as I honestly have not really understood yet what exactly the
> purpose of the shadow dom is...
>
> Wiki page: http://wiki.call-cc.org/eggref/5/webdriver
> Release-info file:
> https://fossil.lyrion.ch/chicken-webdriver/doc/trunk/webdriver.release-info
>
> I hope it will be as useful to some as it will be for me. As always,
> bug reports, suggestions, and fixes are welcome.

I've gotten a couple of test failures with test-new egg:

==== webdriver (1 of 1) ====
  Fetching........................................[ ok ] 0s
  Reading .egg....................................[ ok ] 0s
  Checking dependencies...........................[ ok ] 0s
  Checking category...............................[ ok ] 0s
  Checking license................................[ ok ] 0s
  Checking author.................................[ ok ] 0s
  Installing......................................[ ok ] 12m47s
  Checking version................................[ -- ]
  Testing.........................................[fail] 37s
  Checking documentation..........................[ ok ] 0s


In salmonella.log I see

Session id check ..................................................... [ERROR]

Error: (tcp-connect) cannot create socket - Connection refused
    (string? (begin (initialize-session browser) (slot-value browser 
'session-id)))

Navigating to the first website ...................................... [ERROR]

Error: (tcp-connect) cannot create socket - Connection refused
    (begin
      (initialize-session browser)
      (set-url browser "http://info.cern.ch/hypertext/WWW/TheProject.html";)
      (url browser))
          

I guess those tests are not suitable for an environment where we have no
browser running, right?  Can tests check that and decide what to
execute?

BTW, using references to external resources in tests (e.g.,
http://info.cern.ch) might lead to trouble.

All the best.
Mario
-- 
http://parenteses.org/mario



reply via email to

[Prev in Thread] Current Thread [Next in Thread]