Skip to content

Commit

Permalink
fixing tests for delete button
Browse files Browse the repository at this point in the history
  • Loading branch information
paulo-valim committed Jan 23, 2024
1 parent d0ff0c1 commit 892ae32
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion test/livebook_teams/web/hub/deployment_group_live_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ defmodule LivebookWeb.Integration.Hub.DeploymentGroupLiveTest do
|> has_element?()

view
|> element("#hub-secret-#{secret.name}-delete", "Delete")
|> element("#hub-secret-#{secret.name}-delete")
|> render_click()

render_confirm(view)
Expand Down
2 changes: 1 addition & 1 deletion test/livebook_teams/web/hub/edit_live_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ defmodule LivebookWeb.Integration.Hub.EditLiveTest do
|> has_element?()

view
|> element("#hub-secret-#{secret.name}-delete", "Delete")
|> element("#hub-secret-#{secret.name}-delete")
|> render_click()

render_confirm(view)
Expand Down
2 changes: 1 addition & 1 deletion test/livebook_web/live/hub/edit_live_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ defmodule LivebookWeb.Hub.EditLiveTest do
|> has_element?()

view
|> element("#hub-secret-#{secret.name}-delete", "Delete")
|> element("#hub-secret-#{secret.name}-delete")
|> render_click()

render_confirm(view)
Expand Down

0 comments on commit 892ae32

Please sign in to comment.