Commit 8cd81d05df38f29c77d065737a0307d004707485
1 parent
47d97221
Exists in
master
and in
28 other branches
[postgres-tests] Fixing last_admin feature test
Showing
2 changed files
with
2 additions
and
2 deletions
Show diff stats
app/views/profile_members/_members_list.rhtml
@@ -10,7 +10,7 @@ | @@ -10,7 +10,7 @@ | ||
10 | <th><%= _('Actions') %></th> | 10 | <th><%= _('Actions') %></th> |
11 | </tr> | 11 | </tr> |
12 | <% collection.each do |m| %> | 12 | <% collection.each do |m| %> |
13 | - <tr> | 13 | + <tr title="<%= m.name %>"> |
14 | <td><%= link_to_profile m.short_name, m.identifier, :title => m.name %> </td> | 14 | <td><%= link_to_profile m.short_name, m.identifier, :title => m.name %> </td> |
15 | <td> | 15 | <td> |
16 | <div class="members-buttons-cell"> | 16 | <div class="members-buttons-cell"> |
features/last_administrator_leaving.feature
@@ -17,7 +17,7 @@ Feature: remove administrator role | @@ -17,7 +17,7 @@ Feature: remove administrator role | ||
17 | Scenario: the last administrator removes his administrator role and must choose the new administrator | 17 | Scenario: the last administrator removes his administrator role and must choose the new administrator |
18 | Given "Maria Souza" is a member of "Nice people" | 18 | Given "Maria Souza" is a member of "Nice people" |
19 | And I am on Nice people's members management | 19 | And I am on Nice people's members management |
20 | - And I follow "Edit" | 20 | + And I follow "Edit" within "tr[title='Joao Silva']" |
21 | And I uncheck "Profile Administrator" | 21 | And I uncheck "Profile Administrator" |
22 | When I press "Save changes" | 22 | When I press "Save changes" |
23 | Then I should see "Since you are the last administrator, you must choose" | 23 | Then I should see "Since you are the last administrator, you must choose" |