Acceptance Tests - Fetyali7/MAK-soen341project2023 GitHub Wiki
Acceptance test for Sign up page!
- Check if inputs box are empty
- Username
- Password
- Confirm Password
- Applicant or Employer
- Check if Password and Confirm Password are the same
- Check if an Account already exists with the same Username or Email
- Display Error if one of the error applies
- Alert user that the account has been created if no error
- Navigate to Login page
Acceptance test for Login page!
- Check if inputs for email and password match with the database
- Alert the user that login was sucessful
- Navigate to Home page
- Navigation bar should show that the user's name on the right
- If the user is an Applicant
- Find Job tab
- Submitted tab
- Inbox tab if the user is an Employer
- Job tab
- PostJob tab
- Inbox
Acceptance test for Job Postings page!
-
Shows all availlable job postings
-
Search bar allows to find job postings with specific company name or position
-
If the user is an applicant
-
There is an apply button under each job postings
-
If the user is an Employer
-
There is an edit button and delete button only to their job postings
-
Edit button will navigate to a new page with the job postings information and allow changes to the database.
-
Delete button will remove the job postings from the database
Acceptance test for Post Job page!
- Only Employers can see this page
- Gives an error if input box are empty
- Clicking on add button will alert the user that the job posting is successful
Acceptance test for Inbox page!
- If the user is an Applicant
- Shows all jobs where they have been accepted by the employer
- If the user is an Employer
- Shows all information of applicants that applied to their job postings
- There is an interview button that will send a message to the applicant that has been accepted
Acceptance test for Submitted page!
- Only applicant can see this page
- Shows the company name and description of all job postings that he has applied to