Skip the menu screen if there is just one account

This commit is contained in:
Stanko K.R.
2025-11-04 17:52:31 +01:00
parent 5775702159
commit 875515b51d
3 changed files with 73 additions and 11 deletions
+1 -2
View File
@@ -50,8 +50,7 @@ class SmokeTest < ApplicationSystemTestCase
private
def sign_in_as(user)
visit session_transfer_url(user.identity.transfer_id, script_name: nil)
click_on ApplicationRecord.with_tenant(user.tenant) { Account.sole.name }
assert_selector "h1", text: "Writebook"
assert_selector "h1", text: "Latest Activity"
end
def fill_in_lexxy(selector = "lexxy-editor", with:)