From 5ec9455b3974f1c4814a0304889985f6112e36af Mon Sep 17 00:00:00 2001 From: JG Date: Mon, 23 May 2022 12:22:24 +0100 Subject: [PATCH] scenario veiwing your organisation --- features/step_definitions/data_coordinator_steps.rb | 2 -- features/users/data_coordinator.feature | 5 +++++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/features/step_definitions/data_coordinator_steps.rb b/features/step_definitions/data_coordinator_steps.rb index 408041a74..2b6384f5f 100644 --- a/features/step_definitions/data_coordinator_steps.rb +++ b/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 diff --git a/features/users/data_coordinator.feature b/features/users/data_coordinator.feature index 20751cfcf..1b5e3bdf3 100644 --- a/features/users/data_coordinator.feature +++ b/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