Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UI: Display List of Users #8

Open
tyndyll opened this issue Nov 11, 2017 · 0 comments
Open

UI: Display List of Users #8

tyndyll opened this issue Nov 11, 2017 · 0 comments
Labels
Milestone

Comments

@tyndyll
Copy link
Contributor

tyndyll commented Nov 11, 2017

Create a page which makes an authenticated request to /api/members to receive a list of members, and present as a list

Scenario: Member List
In order to view members
As a Manager,
I want to see the list of members so that I can see who is involved with Farset

Feature: Happy Path
Given I have authenticated
When I go to the admin panel
And make a request to /api/members
Then I will receive a list of Members
And I will display them

Feature: Non manager accessing member list
Given I have authenticated as a non manager
When I go to the admin panel
And make a request to /api/members
Then I will receive a 401 response
And I will display an error message

In case the server endpoints do not exist use the following data structure for testing purposes

{
    "members": [
        {
            "id": 1,
            "user": {
                "first_name": "Test",
                "last_name": "User",
                "email": "[email protected]"
            }
        }
    ]
}
@tyndyll tyndyll added the ui label Nov 11, 2017
@tyndyll tyndyll added this to the poc milestone Nov 11, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant