Merge pull request #2 from oliverguenther/fix/21231-fix-broken-cukes

Fix cukes broken from changed table styles
pull/3343/head
HDinger 9 years ago
commit c1b5dcc5a5
  1. 4
      features/projects/archive.feature
  2. 30
      features/users/status.feature
  3. 4
      features/users/user_activation.feature

@ -41,7 +41,7 @@ Feature: Navigating to reports page
When I go to the projects admin page
Then I should be on the projects admin page
And I should see "Projects"
And I click on "Archive" within "tr.odd"
And I click on "Archive" within "tbody > tr:nth-of-type(1)"
And I confirm popups
Then I should be on the projects admin page
And I should not see "ParentProject"
@ -52,7 +52,7 @@ Feature: Navigating to reports page
Then I should see "403"
When I go to the projects admin page
When I select "all" from "status"
And I click on "Unarchive" within "tr.odd"
And I click on "Unarchive" within "tbody > tr:nth-of-type(1)"
Then I should be on the projects admin page
And I should see "ParentProject"
When I go to the page of the project called "ParentProject"

@ -38,26 +38,26 @@ Feature: User Status
# logged in user as well as the "Administrator" string in the table header.
Given the user "bobby" had too many recently failed logins
And I filter the users list by status "active (1)"
Then I should not see "bobby" within ".list tbody"
And I should see "admin" within ".list tbody"
And I should not see "Anonymous" within ".list tbody"
Then I should not see "bobby" within ".generic-table tbody"
And I should see "admin" within ".generic-table tbody"
And I should not see "Anonymous" within ".generic-table tbody"
And I filter the users list by status "locked temporarily (1)"
Then I should see "bobby" within ".list tbody"
And I should not see "admin" within ".list tbody"
And I should not see "Anonymous" within ".list tbody"
Then I should see "bobby" within ".generic-table tbody"
And I should not see "admin" within ".generic-table tbody"
And I should not see "Anonymous" within ".generic-table tbody"
When the user "bobby" is locked
And I filter the users list by status "locked permanently (1)"
Then I should see "bobby" within ".list tbody"
And I should not see "admin" within ".list tbody"
And I should not see "Anonymous" within ".list tbody"
Then I should see "bobby" within ".generic-table tbody"
And I should not see "admin" within ".generic-table tbody"
And I should not see "Anonymous" within ".generic-table tbody"
And I filter the users list by status "locked temporarily (1)"
Then I should see "bobby" within ".list tbody"
And I should not see "admin" within ".list tbody"
And I should not see "Anonymous" within ".list tbody"
Then I should see "bobby" within ".generic-table tbody"
And I should not see "admin" within ".generic-table tbody"
And I should not see "Anonymous" within ".generic-table tbody"
And I filter the users list by status "all (2)"
Then I should see "bobby" within ".list tbody"
And I should see "admin" within ".list tbody"
And I should not see "Anonymous" within ".list tbody"
Then I should see "bobby" within ".generic-table tbody"
And I should see "admin" within ".generic-table tbody"
And I should not see "Anonymous" within ".generic-table tbody"
@javascript
Scenario: User can be unlocked on the index page

@ -40,7 +40,7 @@ And I click on "Submit"
Then I should see "Your account was created and is now pending administrator approval"
And I am admin
And I am on the admin page of pending users
Then I should see "heidi" within ".autoscroll"
Then I should see "heidi" within ".generic-table"
Scenario: An admin activates the pending registration request
Given I am on the registration page
@ -54,5 +54,5 @@ And I click on "Submit"
Then I should see "Your account was created and is now pending administrator approval"
And I am already admin
And I am on the admin page of pending users
When I follow "Activate" within ".autoscroll"
When I follow "Activate" within ".generic-table"
Then I should see "Successful update"

Loading…
Cancel
Save