summaryrefslogtreecommitdiff
path: root/spec/support/helpers/listbox_input_helper.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/support/helpers/listbox_input_helper.rb')
-rw-r--r--spec/support/helpers/listbox_input_helper.rb18
1 files changed, 0 insertions, 18 deletions
diff --git a/spec/support/helpers/listbox_input_helper.rb b/spec/support/helpers/listbox_input_helper.rb
deleted file mode 100644
index ca7fbac5daa..00000000000
--- a/spec/support/helpers/listbox_input_helper.rb
+++ /dev/null
@@ -1,18 +0,0 @@
-# frozen_string_literal: true
-
-module ListboxInputHelper
- include WaitForRequests
-
- def listbox_input(value, from:)
- open_listbox_input(from) do
- find('[role="option"]', text: value).click
- end
- end
-
- def open_listbox_input(selector)
- page.within(selector) do
- page.find('button[aria-haspopup="listbox"]').click
- yield
- end
- end
-end