# User can signup using passkey with an invite code ## Description: User can signup using passkey with an invite code ## Step-by-step procedure: ### A) Admin creates class and manages passkey 1. Launch the application. 2. Click **Get started** button on On-boarding screen. 3. On "Let's get started" screen, Tap on the **School name** field. 4. Enter the **School name**. 5. Select on School name that will appear below the School name field. 6. Verify the user is in **Login** screen. 7. Tap on the **Username** field and enter the username. 8. Tap on the **Password** field and enter the password. 9. Tap on the **Login** button. 10. Verify the user is in the **Apps** screen. 11. Tap on Classes and confirm the Classes screen is visible. 12. Tap on the +Class button. 13. On the Add class screen, tap Save without filling details and verify Required* error appears. 14. Enter class name in the Class name field and description in the Description field. 15. Tap Save and verify the class New Class is created successfully. 16. Admin clicks on "People" tab 17. User clicks on user's name. 18. On person detail screen, user clicks on "Manage account" button. 19. On "Manage account" screen, user clicks on "Create passkey" button. 20. A dialog box appears asking - "Create passkey to sign in to Respect?" 21. Click on "Create" button. 22. New screen appears asking - "Use your screen lock". 23. User use their screen lock 24. Passkey got created. 25. On manage account screen user able to see "1 Passkeys" button. 26. User clicks on "1 Passkeys". 27. User able to see icon to delete the passkey ### B) Admin sending invite code to the teacher 1. Click on the "Classes" tab. 2. Click on class name. 3. Admin user on class detail screen clicks on "+ Add Teacher" button. 4. Verify user is in "Add teacher" screen. 5. Admin click on "Copy invite code" button and copy the code. 6. Admin send this code to teacher user via a messaging app (eg: Whatsapp) ### C) Teacher sign-up via invite code to the class 1. Teacher launch the application on their device. 2. Click **Get started** button on On-boarding screen. 3. On "Let's get started" screen, Tap on the **School name** field. 4. Enter the **School name**. 5. Select on School name that will appear below the School name field. 6. Verify the user is in **Login** screen. 7. Click on "I have an invite code" button. 8. Verify user is in "Enter invite code" screen. 9. Click on "Invite code" field and enter valid code shared by admin. 10. User clicks on "Next" button. 11. Verify user is in "Invitation" screen also verify the class name. 12. Click on "Next" button. 13. Verify user on "Terms and conditions" screen. 14. Click on "Accept" button. 15. User is in "Your profile" screen. 16. User enter name, select gender and enter date of birth 17. User clicks on "Next" button. 18. User is in "Create account" screen. 19. Verify username is generated automatically. 20. Clicks on "Sig-up" button. 21. A dialog box appears asking - "Create passkey to sign in to Respect?" 22. Click on "Create" button. 23. New screen appears asking - "Use your screen lock". 24. User use their screen lock 25. Passkey got created. 26. Wait until Waiting for approval screen appears with Please wait message. ### D) Admin approve teacher's request to join the class 1. Launch the application. 2. Click **Get started** button on On-boarding screen. 3. On "Let's get started" screen, Tap on the **School name** field. 4. Enter the **School name**. 5. Select on School name that will appear below the School name field. 6. Verify the user is in **Login** screen. 7. A dialog box appears saying - "Choose a saved passkey for Respect" 8. Click on "admin" option in the saved passkey list. 9. Verify that the user is successfully logged in and the Apps screen is displayed 10. Click on the "Classes" tab. 11. Click on class name 12. On class detail screen verify user able to see pending request list. 13. Verify user able to see teacher name in the list 14. Click on "Approve" button. 15. Verify user able to see the Teacher name under teacher's list. ### E) Teacher login to the class 1. Launch the app again 2. Click **Get started** button on On-boarding screen. 3. On "Let's get started" screen, Tap on the **School name** field. 4. Enter the **School name**. 5. Select on School name that will appear below the School name field. 6. Verify the user is in **Login** screen. 7. A dialog box appears saying - "Choose a saved passkey for Respect" 8. Click on teacher's username from the saved passkey list. 9. Verify that the user is successfully logged in and the Apps screen is displayed. 10. Click on the "Classes" tab. 11. Click on class name 12. On class detail screen verify user able to see members list. 13. Verify user able to see their name under Teacher's list.