Skip to content

Commit

Permalink
[ci] Fix flaky request test
Browse files Browse the repository at this point in the history
We used the wrong attribute , id instead of number, for identifying the
supersede checkbox. Since id and number are usually equal in our tests
this just failed seldomly.
  • Loading branch information
bgeuken committed Jul 12, 2016
1 parent 8c794f2 commit 177d487
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/spec/features/webui/requests_spec.rb
Expand Up @@ -137,7 +137,7 @@
click_link 'Submit package'
fill_in 'targetproject', with: target_project.name
fill_in 'description', with: 'Testing superseeding'
check("supersede_request_numbers#{bs_request.id}")
check("supersede_request_numbers#{bs_request.number}")
click_button 'Ok'
within '#flash-messages' do
click_link 'submit request'
Expand Down

0 comments on commit 177d487

Please sign in to comment.