<commit_before>Given /^I select the list tab$/ do
  @main_window.get(:id => "main_tabs").select("listboxes") if @main_window.get(:id => "main_tabs").selected.name != "listboxes"
end

Then /^the single select list box contains the expected items$/ do
  @main_window.get(:id => "single_select_list_box").items.should == %w{Zero One Two Three}
end

Then /^the multi select list box contains the expected items$/ do
  @main_window.get(:id => "multiple_select_list").items.should == %w{Zero One Two Three}
end

When /^I select Zero from the single select list box$/ do
  @main_window.get(:id => "single_select_list_box").select("Zero")
end

Then /^the first item from the single select list box is selected$/ do
  @main_window.get(:id => "single_select_list_box").selected.should match("Zero")
end

When /^I select the second item from the single select list box$/ do
  @main_window.get(:id => "single_select_list_box").select(1)
end

Then /^the second item from the single select list box is selected$/ do
  @main_window.get(:id => "single_select_list_box").selected.should match("One")
end

When /^I select Three from the single select list box$/ do
  @main_window.get(:id => "single_select_list_box").select("Three")
end

Then /^the single select list box selected item is Three$/ do
  @main_window.get(:id => "single_select_list_box").selected.should match("Three")
end

When /^I select Zero from the multi select list box$/ do
  @main_window.get(:id => "multiple_select_list").select("Zero")
end

Then /^the first item from the multi select list box is selected$/ do
  @main_window.get(:id => "multiple_select_list").selected.should match("Zero")
end

When /^I select Two from the multi select list box$/ do
  @main_window.get(:id => "multiple_select_list").select("Two")
end

Then /^the selected items for the multi select list box are Zero and Two$/ do
  sleep 2
  puts @main_window.get(:id => "multiple_select_list").can_select_multiple?
  puts @main_window.get(:id => "multiple_select_list").selected.should == %w{Zero Two}
end<commit_msg>removing unused test steps - seemingly can't select multiple items from a multi-select list box<commit_after>Given /^I select the list tab$/ do
  @main_window.get(:id => "main_tabs").select("listboxes") if @main_window.get(:id => "main_tabs").selected.name != "listboxes"
end

Then /^the single select list box contains the expected items$/ do
  @main_window.get(:id => "single_select_list_box").items.should == %w{Zero One Two Three}
end

Then /^the multi select list box contains the expected items$/ do
  @main_window.get(:id => "multiple_select_list").items.should == %w{Zero One Two Three}
end

When /^I select Zero from the single select list box$/ do
  @main_window.get(:id => "single_select_list_box").select("Zero")
end

Then /^the first item from the single select list box is selected$/ do
  @main_window.get(:id => "single_select_list_box").selected.should match("Zero")
end

When /^I select the second item from the single select list box$/ do
  @main_window.get(:id => "single_select_list_box").select(1)
end

Then /^the second item from the single select list box is selected$/ do
  @main_window.get(:id => "single_select_list_box").selected.should match("One")
end

When /^I select Three from the single select list box$/ do
  @main_window.get(:id => "single_select_list_box").select("Three")
end

Then /^the single select list box selected item is Three$/ do
  @main_window.get(:id => "single_select_list_box").selected.should match("Three")
end

When /^I select Zero from the multi select list box$/ do
  @main_window.get(:id => "multiple_select_list").select("Zero")
end

Then /^the first item from the multi select list box is selected$/ do
  @main_window.get(:id => "multiple_select_list").selected.should match("Zero")
end
{'fraction_non_alphanumeric': 0.13097438605756537, 'fraction_numerical': 0.0007921837866385001, 'mean_word_length': 5.031847133757962, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 30, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6526246', 'n_tokens_mistral': 1195, 'n_tokens_neox': 1168, 'n_words': 400}