Fixed wrong paths helper for cukes

pull/469/head
Sebastian Schuster 11 years ago
parent 5b18c79a14
commit c59e3a5901
  1. 10
      features/projects/archive.feature
  2. 2
      features/support/paths.rb

@ -38,22 +38,22 @@ Feature: Navigating to reports page
@javascript @javascript
Scenario: Archiving and unarchiving a project with a subproject Scenario: Archiving and unarchiving a project with a subproject
Given I am already admin Given I am already admin
When I go to the projects page When I go to the projects admin page
Then I should be on the projects page Then I should be on the projects admin page
And I should see "Projects" And I should see "Projects"
And I click on "Archive" within "tr.odd" And I click on "Archive" within "tr.odd"
And I confirm popups And I confirm popups
Then I should be on the projects page Then I should be on the projects admin page
And I should not see "ParentProject" And I should not see "ParentProject"
And I should not see "SubProject" And I should not see "SubProject"
When I go to the page of the project called "ParentProject" When I go to the page of the project called "ParentProject"
Then I should see "403" Then I should see "403"
When I go to the page of the project called "SubProject" When I go to the page of the project called "SubProject"
Then I should see "403" Then I should see "403"
When I go to the projects page When I go to the projects admin page
When I select "all" from "status" When I select "all" from "status"
And I click on "Unarchive" within "tr.odd" And I click on "Unarchive" within "tr.odd"
Then I should be on the projects page Then I should be on the projects admin page
And I should see "ParentProject" And I should see "ParentProject"
When I go to the page of the project called "ParentProject" When I go to the page of the project called "ParentProject"
Then I should see "ParentProject" Then I should see "ParentProject"

@ -265,7 +265,7 @@ module NavigationHelpers
when /^the enumerations page$/ when /^the enumerations page$/
'/admin/enumerations' '/admin/enumerations'
when /^the projects page$/ when /^the projects admin page$/
'/admin/projects' '/admin/projects'
when /^the authentication modes page$/ when /^the authentication modes page$/

Loading…
Cancel
Save