Browse Source

scenario veiwing your organisation

cucumber-rails
JG 3 years ago
parent
commit
5ec9455b39
  1. 2
      features/step_definitions/data_coordinator_steps.rb
  2. 5
      features/users/data_coordinator.feature

2
features/step_definitions/data_coordinator_steps.rb

@ -15,6 +15,4 @@ end
Then("the user navigation bar is highlighted") do
expect(page).to have_css('[aria-current="page"]', text: "Users")
expect(page).not_to have_css('[aria-current="page"]', text: "About your organisation")
expect(page).not_to have_css('[aria-current="page"]', text: "Logs")
end

5
features/users/data_coordinator.feature

@ -7,3 +7,8 @@ Feature: Data Coordinator Features
When I visit the users page
Then I see information about those users
And the user navigation bar is highlighted
Scenario: Viewing your organisation details
When I visit the About your organisation page
Then I see information about your organisation
And the about your organisation navigation bar is highlighted

Loading…
Cancel
Save