mirror of
https://github.com/we-promise/sure.git
synced 2026-04-16 18:44:13 +00:00
Add delay after disabling AI Assistant
Added a sleep delay to ensure the AI Assistant is properly disabled before asserting the path and user state. Signed-off-by: Juan José Mata <juanjo.mata@gmail.com>
This commit is contained in:
@@ -12,6 +12,8 @@ class Settings::AiPromptsTest < ApplicationSystemTestCase
|
||||
|
||||
click_button "Disable AI Assistant"
|
||||
|
||||
sleep 5
|
||||
|
||||
assert_current_path settings_ai_prompts_path
|
||||
@user.reload
|
||||
assert_not @user.ai_enabled?
|
||||
|
||||
Reference in New Issue
Block a user