atlas-engineer / nyxt

Nyxt - the hacker's browser.
https://nyxt-browser.com/
9.88k stars 413 forks source link

`tests/renderer-online/set-url` is broken #3172

Open aadcg opened 1 year ago

aadcg commented 1 year ago

When running (asdf:test-system :nyxt/gi-gtk). the test in the title seems to be misbehaving. Can you reproduce @aartaka?

------- STARTING Testing: NYXT/TESTS/RENDERER 

Starting: NYXT/TESTS/RENDERER::SET-ONLINE-URL
Nyxt version 4
<INFO> [00:27:15] Source location: #P"/home/aadcg/common-lisp/nyxt/"
<INFO> [00:27:15] Profile: "test"
<INFO> [00:27:15] Listening to socket: #P"/tmp/nyxt-test.socket"
<INFO> [00:27:27] GTK extensions directory: #P"/tmp/nyxt-tests/home/aadcg/common-lisp/nyxt/libraries/web-extensions/"
<INFO> [00:27:27] GTK extensions directory: #P"/tmp/nyxt-tests/home/aadcg/common-lisp/nyxt/libraries/web-extensions/"
<INFO> [00:27:28] Loading #P"/tmp/nyxt-tests/home/aadcg/.local/share/nyxt/bookmarks.lisp".
<INFO> [00:27:29] Loading #P"/tmp/nyxt-tests/home/aadcg/.local/share/nyxt/auto-rules.lisp".
<INFO> [00:27:29] Loading "http://example.org/".
<INFO> [00:27:29] Finished loading "http://example.org/".
<INFO> [00:27:29] Deleting socket #P"/tmp/nyxt-test.socket".
<WARN> [00:27:29] Warning: JavaScript error: GError: Domain: "WebKitJavascriptError", Code: 601, Message: Unsupported result type
(the last message is printed ad eternum)
aartaka commented 1 year ago

I remember that renderer tests were failing recently, but I need to refresh my Guix env to check it reliably. Stand by.

aadcg commented 1 year ago

@hgluka can you reproduce?

hgluka commented 1 year ago

@aadcg I can reproduce it when I just run (asdf:test-system :nyxt/gi-gtk) in a fresh REPL. When I run (asdf:load-system :nyxt) first, I get no errors and all 17 assertions pass.