nyxt icon indicating copy to clipboard operation
nyxt copied to clipboard

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

Open aadcg opened this issue 9 months ago • 3 comments

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)

aadcg avatar Sep 15 '23 21:09 aadcg

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

aartaka avatar Sep 18 '23 16:09 aartaka

@hgluka can you reproduce?

aadcg avatar Sep 24 '23 13:09 aadcg

@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.

hgluka avatar Sep 25 '23 09:09 hgluka