 
     test "handles 'open' command" do
       Serum.DevServer.CommandHandler.Mock
-      |> expect(:open_url, fn "http://localhost:8080" -> :ok end)
+      |> expect(:open_url, fn "http://localhost:8080/test-site/" -> :ok end)
 
       stderr =
         capture_io(:stderr, fn ->


    test "prints a warning when failed to open a browser" do
      Serum.DevServer.CommandHandler.Mock
      |> expect(:open_url, fn "http://localhost:8080" -> :error end)

      stderr =
        capture_io(:stderr, fn ->

    {:ok, io_opts} = IOProxy.config()

    IOProxy.config(mute_err: false)
    GlobalBindings.load(%{site: %{base_url: "/test-site/"}})

    on_exit(fn ->
      IOProxy.config(Keyword.new(io_opts))
      GlobalBindings.load(%{})
    end)
  end

  setup do
