Commit 8cd81d05df38f29c77d065737a0307d004707485

Authored by Rodrigo Souto
1 parent 47d97221

[postgres-tests] Fixing last_admin feature test

app/views/profile_members/_members_list.rhtml
... ... @@ -10,7 +10,7 @@
10 10 <th><%= _('Actions') %></th>
11 11 </tr>
12 12 <% collection.each do |m| %>
13   - <tr>
  13 + <tr title="<%= m.name %>">
14 14 <td><%= link_to_profile m.short_name, m.identifier, :title => m.name %> </td>
15 15 <td>
16 16 <div class="members-buttons-cell">
... ...
features/last_administrator_leaving.feature
... ... @@ -17,7 +17,7 @@ Feature: remove administrator role
17 17 Scenario: the last administrator removes his administrator role and must choose the new administrator
18 18 Given "Maria Souza" is a member of "Nice people"
19 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 21 And I uncheck "Profile Administrator"
22 22 When I press "Save changes"
23 23 Then I should see "Since you are the last administrator, you must choose"
... ...