Skip to content
This repository was archived by the owner on Jul 22, 2025. It is now read-only.

Commit 294824c

Browse files
committed
test fix
1 parent d965986 commit 294824c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

spec/system/page_objects/pages/admin_ai_features.rb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@ def visit
1111
end
1212

1313
def toggle_configured
14-
page.find("#{FEATURES_PAGE} .ai-features__controls select").click
15-
page.find("option[value='configured']").click
14+
select = page.find("#{FEATURES_PAGE} .ai-features__controls .d-select")
15+
select.find("option[value='configured']").select_option
1616
end
1717

1818
def toggle_unconfigured
19-
page.find("#{FEATURES_PAGE} .ai-features__controls select").click
20-
page.find("option[value='unconfigured']").click
19+
select = page.find("#{FEATURES_PAGE} .ai-features__controls .d-select")
20+
select.find("option[value='unconfigured']").select_option
2121
end
2222

2323
def has_listed_modules?(count)

0 commit comments

Comments
 (0)