Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade Primitives and rename tokens to pre-v8 release #1964

Merged
merged 14 commits into from
Apr 21, 2023
Prev Previous commit
Fix AutoComplete system tests
  • Loading branch information
camertron committed Apr 21, 2023
commit cdd6fe3430f553a66df74794f31654b51eb55f61
8 changes: 4 additions & 4 deletions test/system/beta/auto_complete_component_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ def test_renders_component

assert_selector("auto-complete[for=\"list-id\"][src=\"/auto_complete\"]") do
assert_selector("input.FormControl-input")
assert_selector("ul[id=\"list-id\"].ActionList", visible: false)
assert_selector("ul[id=\"list-id\"].ActionListWrap", visible: false)
end
refute_selector(".ActionList-item")
refute_selector(".ActionListItem")
end

def test_search_items
Expand All @@ -21,8 +21,8 @@ def test_search_items
fill_in "input-id", with: "a"

# results are now visible
assert_selector("ul[id=\"list-id\"].ActionList", visible: true)
assert_selector(".ActionList-item")
assert_selector("ul[id=\"list-id\"].ActionListWrap", visible: true)
assert_selector(".ActionListItem")
end

def test_renders_non_visible_label
Expand Down