From 25215b67e346fb5819d3c190a78bcf6bac3f6ada Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Valim?= Date: Tue, 23 Apr 2024 19:46:07 +0200 Subject: [PATCH] Fix session confirm message --- test/livebook_teams/web/session_live_test.exs | 3 ++- test/livebook_web/live/session_live_test.exs | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/test/livebook_teams/web/session_live_test.exs b/test/livebook_teams/web/session_live_test.exs index 18ca26f13..31e295bfa 100644 --- a/test/livebook_teams/web/session_live_test.exs +++ b/test/livebook_teams/web/session_live_test.exs @@ -281,7 +281,8 @@ defmodule LivebookWeb.Integration.SessionLiveTest do # to the session, allowing the user to fetches the secret. render_click(add_secret_button) - assert render(view) =~ "in #{hub_label(team)}. Allow this session to access it?" + assert render(view) =~ + "in the #{hub_label(team)} workspace. Allow this notebook to access it?" view |> element("#secrets-modal button", "Grant access") diff --git a/test/livebook_web/live/session_live_test.exs b/test/livebook_web/live/session_live_test.exs index 0bafe33c9..201dbc0f0 100644 --- a/test/livebook_web/live/session_live_test.exs +++ b/test/livebook_web/live/session_live_test.exs @@ -1635,7 +1635,8 @@ defmodule LivebookWeb.SessionLiveTest do # to the session, allowing the user to fetches the secret. render_click(add_secret_button) - assert render(view) =~ "in #{hub_label(secret)}. Allow this session to access it?" + assert render(view) =~ + "in the #{hub_label(secret)} workspace. Allow this notebook to access it?" grant_access_button = element(view, "#secrets-modal button", "Grant access") render_click(grant_access_button)