mirror of
https://github.com/meineerde/redmine.git
synced 2025-12-24 01:11:12 +00:00
Use CSS selector to find move left/right buttons.
git-svn-id: http://svn.redmine.org/redmine/trunk@16865 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
530eef9603
commit
8a1e09d17b
@ -12,9 +12,9 @@
|
||||
:ondblclick => "moveOptions(this.form.#{available_tag_id}, this.form.#{selected_tag_id});" %>
|
||||
</span>
|
||||
<span class="buttons">
|
||||
<input type="button" value="→"
|
||||
<input type="button" value="→" class="move-right"
|
||||
onclick="moveOptions(this.form.<%= available_tag_id %>, this.form.<%= selected_tag_id %>);" />
|
||||
<input type="button" value="←"
|
||||
<input type="button" value="←" class="move-left"
|
||||
onclick="moveOptions(this.form.<%= selected_tag_id %>, this.form.<%= available_tag_id %>);" />
|
||||
</span>
|
||||
<span>
|
||||
|
||||
@ -87,10 +87,10 @@ class TimelogTest < ApplicationSystemTestCase
|
||||
visit '/settings?tab=timelog'
|
||||
# Remove a column
|
||||
select 'Comment', :from => 'Selected Columns'
|
||||
click_on "←"
|
||||
page.first('input[type=button].move-left').click
|
||||
# Add a column
|
||||
select 'Tracker', :from => 'Available Columns'
|
||||
click_on "→"
|
||||
page.first('input[type=button].move-right').click
|
||||
click_on 'Save'
|
||||
|
||||
# Display the list with updated settings
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user