Skip to content

Latest commit

 

History

History
162 lines (105 loc) · 10 KB

File metadata and controls

162 lines (105 loc) · 10 KB

Authentication

TEST CASES

Covers

User Sign In

General Sign In

Note: The look and process of Sign-in in production is different from local dev/sandbox and in the Live instance will be using standard RIT shibboleth logins

  1. In the running dev application, press the “Dev Sign in/out” button in the top right of the portal Sign In Button

  2. In the Developer Menu modal, select the desired user to sign in as in the "Select User" dropdown. Dev Menu With Dropdown Open There is the added functionality to search for specific users but for now we can select any one from the time being.

  3. Sign in with the selected user using the “Sign in” button.

  4. The new page should correctly match the user selected. We can quickly check this by pressing the profile button on the top right which will display the signed in user’s profile. Profile in the Top Right Profile Modal

General Sign Out

  1. To sign out, press the “Dev Sign in/out” button in the top right of the portal. Then in the Developer Menu modal, press the “Sign Out” button.
  2. OR press the big RIT Logo in the top left of the portal.

Validating Admin Sign In

  1. Following the same procedure outlined in General Sign In, Sign in as an admin user, admin users should be the first to appear in the system within the dev menu "Select User" Dropdown.
    Dev Menu With Admin User

  2. If there is no admin user in the drop down, reset the application data to use a predefined set of users using the steps outlined in Resetting Data.

  3. Once signed in, ensure that the dashboard tab looks similar as follows (specifally the amount of tabs on the navbar and the mock user button in the top right): Admin Dashboard As an admin, we will have access to every tab in the system, and we should see an additional user mock component at the top of the portal above the nav bar.

Validating Coach Sign In

Similarly to admin Sign in, we will be using the mocked data found with resetting the system Resetting Data.

  1. Following the same procedure outlined in General Sign In, Sign in as a coach user, coach users should be the second to appear in the system within the dev menu "Select User" Dropdown. Dev Menu With Coach User

  2. For this example we will be utilizing "Rachel Thompson" from the mock data. Rachel is the Coach for the projects “DataForge Insights” and “TrendTide Analytics”. Ensure that when we are signed in as Rachel, we only see Coach workflows for these two projects. Rachel’s dashboard tab should look similar to the following: Coach Dashboard

Validating Student Sign In

  1. Following the same procedure outlined in General Sign In, Sign in as a student user, student users should be the third to appear in the system within the dev menu "Select User" Dropdown. Dev Menu With Student User

  2. For this test case we will be utilizing “Glint Surge”. Glint is a student in the project “DataForge” and is unfortunately a light-mode enjoyer. Glint’s dashboard tab should look similar to the following: Student Dashboard

Resetting Data

1.In the running dev application, press the “Dev Sign in/out” button in the top right of the application Sign In Button

2.In the Developer Menu modal, press the “Reset Database” button. Dev Menu

The page will refresh and load a set of mocked data for the application. 3.With this mocked data, the projects of “DataForge Insights” and “TrendTide Analytics” will always load into the most current semester in the mocked dataset. There is a complete set of Students and Coaches across the 12 projects with varying levels of access and project completeness for testing across cases and workflows.

User Preferences

For users' preferences, like dark mode and milestone/gantt/calendar default view toggles, switch buttons can be found by pressing the profile button in the top right corner of the webpage, which will bring up a modal with a similar look and information as seen below. Profile in the Top Right Profile Modal

Dark Mode

  1. Following the same procedure outlined in above, sign in as any user of your choice.

  2. Once logged in, click on the “Profile” button in the top right corner of the portal. This will open the user specific modal shown below Profile Modal

  3. In this modal, click on the button labeled “Dark Mode

  4. Doing so will toggle the dark mode state of the site and should be visible across all tabs of the site. Dark Mode Toggle

Dashboard Views

  1. The Milestone, Gantt, and Calendar views represent different perspectives for deliverables and events within a semester. They can be toggled on and off per project, and they can also be set to be shown by default with each login.

  2. The toggle switches on the all actions bar within a project are project-specific, and they toggle their respective perspectives accordingly. Dashboard Views 1 Dashboard Views 2 Dashboard Views 3 Dashboard Views 4

  3. Default preferences for these views can be found within the profile menu. Profile Modal

  4. When pressing these switches, the toggled-on views should be displayed upon the next sign-in. To test this, sign in as any user and toggle any of the switches and sign out, and sign in again. In the following images, all switches (besides dark mode) were toggled, and thus all views are present for the respective user.

Additional Account Information

  1. Additional account information can be added and tied to students to help capture a layer of preferences like pronouns, time availability, currency availability, and other variables that have not been implemented into the system.

  2. To add or edit additional account information, sign in as a student, press the profile button in the top right corner. There should be an “additional info” field with an edit button. Profile Modal

  3. Pressing the edit button should display a text box, and here you can add information that could be relevant to any projects. Pressing save will save the changes and they should display automatically before closing the modal. Profile Modal Additional Info Profile Modal Additional Info 2 Profile Modal Additional Info 3

  4. Once the modal is closed verify that this can be seen by signing in as another student, or as the coach, within the same project.

  5. Navigate to the “Students” tab and press on the name of the corresponding student whose additional information was just edited.

  6. This should bring up a modal of the students details which should also display the correct and updated additional information. Student Details Modal

Last Login

  1. Last Login dates and times are stored for each user whenever they sign into the application. From a signed-in user’s perspective, this information can be found within the profile modal under the last login field. Profile Modal

  2. When signed in as a student, the last login times of other students within the same project should be visible. These times can be seen in both the “My Teams” table within the “Students” tab, or through the individually linked profiles of each user. Last Login 1 Student Details Modal

  3. When coaches sign in, last login times of all students within their projects can be seen under the “Students” tab. And again individually linked profile times should be displayed correctly. Last Login 2

  4. From an admin sign-in perspective, all student sign-ins can be seen in the “Students” tab. Last Login 3

  5. Additionally, when signed in as an admin last login times can be found type sorted in the Admin tab. Here you can see all user last login times including admins and coaches (as shown below) Last Login 4

User Profile Circle

  1. All signed in users have a profile circle tied to their account to help improve visibility within the system. A user’s own profile circle can be visible on the top right corner alongside the “Profile” button. Profile Modal

  2. Admins and coaches have an hollow outline profile circle while students have filled out profile circle Profile Circle

  3. Profile circles of other users can be seen with submitted actions alongside the submission’s time, date, and submitter. Profile Circle in Action Profile Circle in Action 2

  4. They will also appear the time logging of projects as an extra layer of user differentiation. Profile Circle in Time Logging

  5. Additionally in the students tab profile circles will be attached to every visible student which can be helpful for associating students and their profile circles later in the semester. Profile Circle in Action 3