Fixing intermittent test failure

This commit is contained in:
Anthony Davis 2014-07-30 23:43:04 -05:00
parent 39c9b4335a
commit 8deddd269e
1 changed files with 1 additions and 1 deletions

View File

@ -543,7 +543,7 @@ def change_session_genre #randomly just change it
find('#session-settings-dialog') # ensure the dialog is visible
within('#session-settings-dialog') do
wait_for_ajax
@new_genre = get_options(here).-(["Select Genre"]).-(selected_genres).sample.to_s
@new_genre = get_options(here).-(["Select Genre", "Unspecified"]).-(selected_genres).sample.to_s
jk_select(@new_genre, '#session-settings-dialog select[name="genres"]')
wait_for_ajax
find('#session-settings-dialog-submit').trigger(:click)