Beispiel #1
0
        public void GivenTheAuthorityUserIsManagingOrganisationsAndUsers()
        {
            GivenThatAnAuthorityUserHasLoggedInOnPublicBrowse();
            var organisationDashboardSteps = new OrganisationDashboard.OrganisationsDashboard(Test, Context);

            organisationDashboardSteps.WhenAnAuthorityUserClicksTheAdminTileOnThePublicBrowseHomepage();
            organisationDashboardSteps.ThenTheAuthorityUserIsDirectedToTheOrganisationsDashboard();
        }
Beispiel #2
0
        public void GivenIAmOnARandomOrganisationUserAccountDashboard()
        {
            GivenTheAuthorityUserIsManagingOrganisationsAndUsers();
            var organisationDashboardSteps = new OrganisationDashboard.OrganisationsDashboard(Test, Context);

            organisationDashboardSteps.WhenAnOrganisationIsSelected();
            organisationDashboardSteps.ThenTheUserAccountsDashboardForThatOrganisationIsDisplayed();
            var odsCode = Test.Pages.UserAccountsDashboard.GetODSCode();

            Context.Add("ODSCode", odsCode);
        }