mirror of
https://github.com/livebook-dev/livebook.git
synced 2025-02-24 23:09:23 +08:00
Fix session confirm message
This commit is contained in:
parent
d58986c5bf
commit
25215b67e3
2 changed files with 4 additions and 2 deletions
|
@ -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")
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue