From d9659867b95c76af7688b3f3142a66f1a19069d0 Mon Sep 17 00:00:00 2001 From: awesomerobot Date: Fri, 27 Jun 2025 17:13:15 -0400 Subject: [PATCH] update toggle spec --- spec/system/page_objects/pages/admin_ai_features.rb | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/spec/system/page_objects/pages/admin_ai_features.rb b/spec/system/page_objects/pages/admin_ai_features.rb index c632cef5..98ce6dcc 100644 --- a/spec/system/page_objects/pages/admin_ai_features.rb +++ b/spec/system/page_objects/pages/admin_ai_features.rb @@ -11,11 +11,13 @@ module PageObjects end def toggle_configured - page.find("#{FEATURES_PAGE} .ai-feature-groups .configured").click + page.find("#{FEATURES_PAGE} .ai-features__controls select").click + page.find("option[value='configured']").click end def toggle_unconfigured - page.find("#{FEATURES_PAGE} .ai-feature-groups .unconfigured").click + page.find("#{FEATURES_PAGE} .ai-features__controls select").click + page.find("option[value='unconfigured']").click end def has_listed_modules?(count)