Skip to content

Instantly share code, notes, and snippets.

@0xIslamTaha
Created June 4, 2018 22:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save 0xIslamTaha/9e5b74c6c816f235697c89242dfa4f74 to your computer and use it in GitHub Desktop.
Save 0xIslamTaha/9e5b74c6c816f235697c89242dfa4f74 to your computer and use it in GitHub Desktop.

Description

Members of a campaign should see lesson list when they navigate to campaign in portal

Test Scenarios:

- Scenario #1:
    - As an admin, Create new campaign (NEW_CAMPAIGN)
    - As an admin, Add a lesson to it. (Add a BROWSER lesson to NEW_CAMPAIGN)
    - As an admin, Create a new user (TEST_USER)
    - As an admin, Add the user to the campaign. (Add TEST_USER to NEW_CAMPAIGN)
    - Login as TEST_USER, should succed
    - Navigate to campaign, should succeed
    - Check lessons, You should find BROWSER lesson

- Scenario #2:
    - As an admin, Create new campaign (NEW_CAMPAIGN)
    - As an admin, Add a lesson to it. (Add a BROWSER lesson to NEW_CAMPAIGN)
    - As an admin, Create a new department (TEST_DEPART)
    - As an admin, Create new user (TEST_USER_1, ...)
    - As an admin, Add the user to the department. (Add TEST_USER_1 to TEST_DEPART)
    - As an admin, Add the department to the campaign. (Add TEST_DEPART to NEW_CAMPAIGN)
    - Login as TEST_USER_1, should succed
    - Navigate to campaign, should succeed
    - Check lessons, You should find BROWSER lesson
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment