You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After upgrading versions of Wallaby and Chromedriver, we recently started encountering an error in all of our Wallaby tests. The full stack trace is below. It appears there's a mismatch in the expectation of a port_number vs. wrapper_script_port field in the state passed to handle_info.
13:46:22.106 [error] GenServer Wallaby.Experimental.Chrome.Chromedriver terminating
** (FunctionClauseError) no function clause matching in Wallaby.Experimental.Chrome.Chromedriver.Server.handle_info/2
(wallaby) lib/wallaby/experimental/chrome/chromedriver/server.ex:76: Wallaby.Experimental.Chrome.Chromedriver.Server.handle_info({#Port<0.50>, {:data, "ChromeDriver was started successfully.\n"}}, %Wallaby.Experimental.Chrome.Chromedriver.Server.State{calls_awaiting_readiness: [], chromedriver_path: "/Users/linsy/Documents/lab-tools/client/node_modules/chromedriver/lib/chromedriver/chromedriver", port_number: 55959, ready?: false})
(stdlib) gen_server.erl:637: :gen_server.try_dispatch/4
(stdlib) gen_server.erl:711: :gen_server.handle_msg/6
(stdlib) proc_lib.erl:249: :proc_lib.init_p_do_apply/3
Last message: {#Port<0.50>, {:data, "ChromeDriver was started successfully.\n"}}
The result, during test run, is this:
** (exit) exited in: GenServer.call(Wallaby.Experimental.Chrome.Chromedriver, :wait_until_ready, 5000)
** (EXIT) no process: the process is not alive or there's no process currently associated with the given name, possibly because its application isn't started
The text was updated successfully, but these errors were encountered:
The test suite fails resoundingly with the latest ChromeDriver version on the v0.24.0 tag, but passes on master. I should be able to cut a release of what's on master.
Issue
After upgrading versions of Wallaby and Chromedriver, we recently started encountering an error in all of our Wallaby tests. The full stack trace is below. It appears there's a mismatch in the expectation of a
port_number
vs.wrapper_script_port
field in the state passed tohandle_info
.Test Code & HTML
(This happens with all of our tests.)
The result, during test run, is this:
The text was updated successfully, but these errors were encountered: