Teacher

Registration
Feature: Management of the teacher profile
  This feature contains registration, updating and deletion of a user account for teachers, including all profile data

  Scenario: A new user registers on the platform with only mandatory data
    Given user Iris is new to the platform
    When Iris indicates she wants to register as a teacher
    Then she is presented with a registration form
    When she gives her first name as Iris
    And her surname as de Bruin
    And her email as iris.de.bruin@outlook.com
    And her password as superSecret
    And her country as the Netherlands
    And indicates that she agrees with the privacy statement
    And she confirms the registration
    Then she receives an email at iris.de.bruin@outlook.com asking to activate her account
    When she follows the activation instructions in the email
    Then her account is activated
    And she can log in with email iris.de.bruin@outlook.com and password superSecret

  Scenario: A new user registers on the platform, completing her full profile
    Given user Jeffrey is new to the platform
    When Jeffrey indicates he wants to register as a teacher
    Then he is presented with a registration form
    When he gives his first name as Jeffrey
    And his surname as Wang
    And his email as jeffrey.wang@outlook.com
    And his password as superSecret
    And his post code as 3081
    And his country as the Netherlands
    And his available days as Monday,Wednesday,Friday
    And his profile text as Liefst alleen groep acht.
    And indicates that he agrees with the privacy statement
    And he confirms the registration
    Then he receives an email at jeffrey.wang@outlook.com asking to activate his account
    When he follows the activation instructions in the email
    Then his account is activated
Retrieval
Feature: Retrieval of teacher entities by id or search criteria
  This scenarios in this feature express the detailed security restrictions around retrieval

  Background:
    Given a user with email <name> is known to the platform
      | name                      |  |  |
      | iris.de.bruin@outlook.com |  |  |
      | jan@zwart@gmail.com       |  |  |


  Scenario: list public teacher data by any search criteria

  Scenario: look up any teacher's full data by their id

  Scenario: a teacher looks up their own complete record

  Scenario: look up basic details of a teacher by id

  Scenario: list public school data by any search criteria

  Scenario: look up a school's full data by its id

  Scenario: a school contact looks up their school's full record

  Scenario: a teacher can look up the school that they are connected with full details

  Scenario: a teacher can look up any school with basic details
Update and delete
Feature: Management of the teacher profile
  This feature contains registration, updating and deletion of a user account for teachers, including all profile data

  Background:
    Given a user with email iris.de.bruin@outlook.com is known to the platform

  Scenario: update the teacher record of the logged-in user
    When Iris logs into the system
    And indicates she wants to change her profile
    Then she can update her first name to Irina and surname to de Zwart
    And her password to Bienvenu123
    And her post code to 5511
    And her profile text to Liefst alleen groep drie en vier
    And her available days as Tuesday,Thursday
    Then her account details are updated

  Scenario: update the email of the logged-in user
    When Iris logs into the system
    And indicates she wants to change her email
    Then she can update her email to iris.de.bruin@gmail.com
    And she receives an email at iris.de.bruin@gmail.com confirming the change

  Scenario: Resetting the password by the logged-in user
    When Iris indicates she has forgotten her password
    Then she can enter her email as iris.de.bruin@gmail.com
    And she receives an email at iris.de.bruin@gmail.com with a link to a password page
    When she follows the link to the password reset page
    Then she can enter a new password as updatedPwd
    And she can log in with email iris.de.bruin@outlook.com and password updatedPwd

  Scenario: delete the teacher record of the logged-in user
    When Iris logs into the system
    And indicates that she wants to delete her account
    And confirms her decision to delete
    Then she receives email confirmation that the account has been deleted
    And she can no longer log in

  Scenario: update a teacher record for a random user

  Scenario: delete a teacher record for a random user

Last update: June 29, 2023
Authors: MarcelWildenburg