diff --git a/.gitignore b/.gitignore
index 44a31903f..d23062ac7 100644
--- a/.gitignore
+++ b/.gitignore
@@ -16,3 +16,5 @@ test/fixtures/ssl/device-root-ca.srl
.env*
.iex.exs
+
+.DS_Store
\ No newline at end of file
diff --git a/lib/nerves_hub_web/live/deployments/new.html.heex b/lib/nerves_hub_web/live/deployments/new.html.heex
index b1173f8cc..3e5c0d6eb 100644
--- a/lib/nerves_hub_web/live/deployments/new.html.heex
+++ b/lib/nerves_hub_web/live/deployments/new.html.heex
@@ -21,6 +21,7 @@
<% else %>
<.form :let={f} for={@form} phx-submit="create-deployment">
+ <%!-- <%= hidden_input(f, :platform, value: @platform) %> --%>
<%= text_input(f, :name, class: "form-control", id: "name_input") %>
diff --git a/mix.exs b/mix.exs
index 397ac2e63..20f7047c1 100644
--- a/mix.exs
+++ b/mix.exs
@@ -104,7 +104,7 @@ defmodule NervesHub.MixProject do
{:phoenix_pubsub, "~> 2.0"},
{:phoenix_swoosh, "~> 1.0"},
{:phoenix_view, "~> 2.0"},
- {:phoenix_test, "~> 0.3.0", only: :test, runtime: false},
+ {:phoenix_test, "~> 0.4.2", only: :test, runtime: false},
{:plug, "~> 1.7"},
{:postgrex, "~> 0.14"},
{:scrivener_ecto, "~> 3.0"},
diff --git a/mix.lock b/mix.lock
index e1c11922e..a5e485886 100644
--- a/mix.lock
+++ b/mix.lock
@@ -60,7 +60,7 @@
"phoenix_pubsub": {:hex, :phoenix_pubsub, "2.1.3", "3168d78ba41835aecad272d5e8cd51aa87a7ac9eb836eabc42f6e57538e3731d", [:mix], [], "hexpm", "bba06bc1dcfd8cb086759f0edc94a8ba2bc8896d5331a1e2c2902bf8e36ee502"},
"phoenix_swoosh": {:hex, :phoenix_swoosh, "1.2.1", "b74ccaa8046fbc388a62134360ee7d9742d5a8ae74063f34eb050279de7a99e1", [:mix], [{:finch, "~> 0.8", [hex: :finch, repo: "hexpm", optional: true]}, {:hackney, "~> 1.10", [hex: :hackney, repo: "hexpm", optional: true]}, {:phoenix, "~> 1.6", [hex: :phoenix, repo: "hexpm", optional: true]}, {:phoenix_html, "~> 3.0 or ~> 4.0", [hex: :phoenix_html, repo: "hexpm", optional: true]}, {:phoenix_view, "~> 1.0 or ~> 2.0", [hex: :phoenix_view, repo: "hexpm", optional: false]}, {:swoosh, "~> 1.5", [hex: :swoosh, repo: "hexpm", optional: false]}], "hexpm", "4000eeba3f9d7d1a6bf56d2bd56733d5cadf41a7f0d8ffe5bb67e7d667e204a2"},
"phoenix_template": {:hex, :phoenix_template, "1.0.4", "e2092c132f3b5e5b2d49c96695342eb36d0ed514c5b252a77048d5969330d639", [:mix], [{:phoenix_html, "~> 2.14.2 or ~> 3.0 or ~> 4.0", [hex: :phoenix_html, repo: "hexpm", optional: true]}], "hexpm", "2c0c81f0e5c6753faf5cca2f229c9709919aba34fab866d3bc05060c9c444206"},
- "phoenix_test": {:hex, :phoenix_test, "0.3.1", "adf5d67cb152fa1e0220527a9827db7f865a20817c7c0161315ba6fe86a8946c", [:mix], [{:deep_merge, "~> 1.0", [hex: :deep_merge, repo: "hexpm", optional: false]}, {:floki, ">= 0.30.0", [hex: :floki, repo: "hexpm", optional: false]}, {:jason, "~> 1.4", [hex: :jason, repo: "hexpm", optional: false]}, {:phoenix, "~> 1.7.10", [hex: :phoenix, repo: "hexpm", optional: false]}, {:phoenix_live_view, "~> 0.20.1", [hex: :phoenix_live_view, repo: "hexpm", optional: false]}], "hexpm", "03f24332a966673ff40d35c45f427c7671537ea508b5777141dd60e60cdae22a"},
+ "phoenix_test": {:hex, :phoenix_test, "0.4.2", "bc00efd2bf736bc23bc40dbfd841aab88f14f767addb40b884d7910241e521b5", [:mix], [{:floki, ">= 0.30.0", [hex: :floki, repo: "hexpm", optional: false]}, {:jason, "~> 1.4", [hex: :jason, repo: "hexpm", optional: false]}, {:mime, ">= 1.0.0", [hex: :mime, repo: "hexpm", optional: true]}, {:phoenix, "~> 1.7.10", [hex: :phoenix, repo: "hexpm", optional: false]}, {:phoenix_live_view, "~> 0.20.1", [hex: :phoenix_live_view, repo: "hexpm", optional: false]}], "hexpm", "22a1fab760aefb60f214c0796999bf167962583dd313fb595502500041668b5c"},
"phoenix_view": {:hex, :phoenix_view, "2.0.4", "b45c9d9cf15b3a1af5fb555c674b525391b6a1fe975f040fb4d913397b31abf4", [:mix], [{:phoenix_html, "~> 2.14.2 or ~> 3.0 or ~> 4.0", [hex: :phoenix_html, repo: "hexpm", optional: true]}, {:phoenix_template, "~> 1.0", [hex: :phoenix_template, repo: "hexpm", optional: false]}], "hexpm", "4e992022ce14f31fe57335db27a28154afcc94e9983266835bb3040243eb620b"},
"plug": {:hex, :plug, "1.16.1", "40c74619c12f82736d2214557dedec2e9762029b2438d6d175c5074c933edc9d", [:mix], [{:mime, "~> 1.0 or ~> 2.0", [hex: :mime, repo: "hexpm", optional: false]}, {:plug_crypto, "~> 1.1.1 or ~> 1.2 or ~> 2.0", [hex: :plug_crypto, repo: "hexpm", optional: false]}, {:telemetry, "~> 0.4.3 or ~> 1.0", [hex: :telemetry, repo: "hexpm", optional: false]}], "hexpm", "a13ff6b9006b03d7e33874945b2755253841b238c34071ed85b0e86057f8cddc"},
"plug_crypto": {:hex, :plug_crypto, "2.1.0", "f44309c2b06d249c27c8d3f65cfe08158ade08418cf540fd4f72d4d6863abb7b", [:mix], [], "hexpm", "131216a4b030b8f8ce0f26038bc4421ae60e4bb95c5cf5395e1421437824c4fa"},
diff --git a/test/nerves_hub_web/live/deployments/new_test.exs b/test/nerves_hub_web/live/deployments/new_test.exs
index 89f87062b..63c6a29e5 100644
--- a/test/nerves_hub_web/live/deployments/new_test.exs
+++ b/test/nerves_hub_web/live/deployments/new_test.exs
@@ -25,7 +25,10 @@ defmodule NervesHubWeb.Live.Deployments.NewTest do
|> select(firmware.platform, from: "Platform")
|> fill_in("Deployment name", with: "Moussaka")
|> fill_in("Tag(s) distributed to", with: "josh, lars")
- |> fill_in("Firmware version", with: firmware.id)
+ |> select(
+ "#{firmware.version} #{firmware.platform} #{firmware.architecture} #{firmware.uuid}",
+ from: "Firmware version"
+ )
|> click_button("Create Deployment")
|> assert_path(URI.encode("/org/#{org.name}/#{product.name}/deployments"))
|> assert_has("h1", text: "Deployments")