Skip to content

Commit 228842d

Browse files
committed
Fix test selector
1 parent 585fc84 commit 228842d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/support/javascript_helpers.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@ def fill_in_editor(locator, with:)
1414

1515
def fill_in_select2(locator, with:)
1616
find(locator).sibling(".select2-container").click
17-
find("li.select2-results__option[role=treeitem]", text: with).click
17+
find("li.select2-results__option[role=option]", text: with).click
1818
end
1919
end

0 commit comments

Comments
 (0)