Skip to content

Testing and QA (final sprint)

Esteban Vergara Giraldo edited this page Nov 15, 2024 · 3 revisions

Aclaration

This document EXTENDS the past one at Testing-and-QA-(OLD) in the sections: Functional testing (Automatic E2E tests) and Software quality

Manual testing

USER TESTS

Title: User Registration and Login Test on Softserve Academy

Description: Verify that users can register and log in to the Softserve Academy platform without any issues. The test includes creating a new user account and testing the login functionality with the newly created credentials.

Test Steps:

  • Navigate to the Softserve Academy registration page.
  • Enter the following information in the registration form:
  • Name: "cock"
  • Email: "[email protected]"
  • Password: 1234
  • Confirm Password: 1234
  • Click the "Register" button to create the account.
  • After registration, navigate to the login page.
  • Enter the email and password used during registration.
  • Click the "Login" button to log in.

Expected Result:

The system successfully creates the user account without errors. The user is redirected to the main screen of Softserve Academy upon successful registration. After logging in, the user gains access to the platform without any issues.

Actual Result:

The test was executed without errors; the registration and login process worked correctly as expected.

test test test

Title: User Profile Update Test on Softserve Academy

Description: Verify that a logged-in user can update their profile by changing their name and uploading a profile picture on the Softserve Academy platform.

Test Steps:

  • Log in to the Softserve Academy platform using the previously created account (Email: "[email protected]", Password: "****").
  • Navigate to the profile update section.
  • In the "Update Profile" form, change the name from "cock" to "cockcano".
  • Upload a new profile picture by selecting an image file.
  • Click the "Update Profile" button to save the changes.
  • Return to the main account information page to verify the updated profile details.

Expected Result:

The system successfully updates the user’s profile with the new name and displays the uploaded profile picture. The updated name "cockcano" and profile picture should be visible in the account information section.

Actual Result:

The test was executed without errors; the profile update, including the name change and photo upload, worked as expected.

test test

Title: User Learning Preferences Update Test on Softserve Academy

Description: Verify that a logged-in user can update their learning preferences on the Softserve Academy platform and that multiple updates work as expected without any issues.

Test Steps:

Log in to the Softserve Academy platform using the user account. Navigate to the "Edit Preference" section. Set the following preferences: Media type: Text Content type: Summary Learning type: Challenges Time per Week (Minutes): 6000 Time per Session (Minutes): 600 Click the "Update Preferences" button to save the changes. Verify that the updated preferences are saved correctly. Change the preferences again with the following values: Media type: Video Content type: Guides Learning type: Autodidact Time per Week (Minutes): 6000 Time per Session (Minutes): 600 Click the "Update Preferences" button again. Verify that the new preferences are saved without any errors.

Expected Result:

The system successfully saves and displays the updated learning preferences each time. No errors occur when updating preferences multiple times.

Actual Result:

The test was executed without errors; the learning preferences were successfully updated each time as expected.

test test

Title: Update Current and Target Skills Test on Softserve Academy

Description: Verify that a logged-in user can successfully update both their current skills and target skills on the Softserve Academy platform.

Test Steps:

  • Log in to the Softserve Academy platform using the user account.
  • Navigate to the "Update Current Skills" section.
  • Set the following current skills:
  • Python - Level 1
  • MySQL - Level 1
  • Click the "Update Current Skills" button to save the changes.
  • Verify that the updated current skills are displayed correctly on the profile.
  • Navigate to the "Update Target Skills" section.
  • Set the following target skills:
  • Python - Level 5
  • MySQL - Level 5
  • C++ - Level 5
  • Java - Level 5
  • Click the "Update Target Skills" button to save the changes.
  • Verify that the updated target skills are displayed correctly on the profile.

Expected Result:

The system successfully saves and displays the updated current and target skills on the profile. Each skill level is displayed as selected, with no errors during the update process.

Actual Result:

The test was executed without errors; both current and target skills were updated and displayed as expected.

test test test test

Title: Generate Personalized Learning Route Test on Softserve Academy

Description: Verify that a logged-in user can generate a personalized learning route after updating their skills on the Softserve Academy platform.

Test Steps:

  • Log in to the Softserve Academy platform using the user account.
  • Ensure that current and target skills have been updated (e.g., Python - Level 5, MySQL - Level 5, C++ - Level 5).
  • Navigate to the "Generate Learning Routes" section.
  • Click the "Go to Learning Route" button to access the learning route generation page.
  • Click the "Generate Learning Routes" button to create a personalized route based on the updated skills.

Expected Result:

The system successfully generates a personalized learning route that aligns with the updated current and target skills. The generated route displays relevant skills and resources tailored to the user’s preferences and skill levels.

Actual Result:

The test was executed without errors; the personalized learning route was created successfully as expected.

test test

Title: Python Learning Route Progress and Content Interaction Test on Softserve Academy

Description: Verify that a user can access, interact with, and complete contents in a learning route on the Softserve Academy platform. The test includes commenting on content, checking progress updates, and ensuring the progress bar reflects completion accurately.

Test Steps:

  • Log in to the Softserve Academy platform and navigate to the Python learning route (Level 5).
  • Open the first content item, "Python Introduction."
  • Leave a comment on the content with a message, e.g., "What a great tutorial."
  • Return to the main Python learning route page.
  • Verify that the progress bar updates to reflect partial completion.
  • Open additional content items sequentially: "The Python Tutorial - Python 3.13.0", "Automate the Boring Stuff with Python", "Python Syntax", "Python Variables"
  • After each content item is opened, return to the main route page and check the progress bar for updates.
  • Continue until all content items in the route are marked as completed.
  • Verify that the progress bar reaches 100% upon completion of all items.

Expected Result:

Each time content is opened, the system tracks the user’s progress and updates the progress bar accurately. Comments are saved successfully and displayed on the content. Upon opening all content items, the progress bar displays 100% completion.

Actual Result:

The test executed without errors; the progress bar updated as expected with each content interaction, and reached 100% upon completion of all items. Comments were also saved and displayed correctly.

test test test test test test

ADMIN TESTS

Title: Admin User Login Test on Softserve Academy

Description: Verify that an admin user can successfully log in to the Softserve Academy platform and access admin-specific features, indicated by the presence of the Admin panel in the top navigation bar.

Test Steps:

  • Navigate to the Softserve Academy login page.
  • Enter the admin user credentials:
  • Email: [email protected]
  • Password: "****" (hidden for security)
  • Click the "Login" button to access the platform.
  • Once logged in, verify that the Admin panel is visible in the top navigation bar, confirming admin privileges.

Expected Result:

The admin user logs in successfully and is redirected to their profile page. The Admin panel is present in the top navigation bar, indicating that the user has admin access.

Actual Result:

The test was executed without errors; the admin user logged in successfully, and the Admin panel was displayed as expected.

test test

Title: Admin Learning Resource Creation and Verification Test on Softserve Academy

Description: Verify that an admin user can access the learning resource creation view, create a new resource, and see it listed in the learning resources.

Test Steps:

  • Log in to the Softserve Academy platform as an admin user.
  • Hover over the "Admin" button in the navigation bar to access the dropdown menu.
  • Select "Learning Resources" to view the list of existing resources.
  • Hover over the "Admin" button again and select "Create Learning Resource" from the dropdown.
  • In the "Learning Resource Creation" form, fill in the following details:
  • Name: C++ Structs
  • Link: www.cpp.com/structs
  • Content Type: Summary
  • Media Type: Text
  • Details: "An in-depth explanation of structs in C++, including memory alignment and other topics"
  • General Resource Level: 3
  • Duration: 30 (minutes)
  • Language: English
  • Original Platform: cppfoundation
  • Original Author: Linus Torvalds
  • Required Skills: C++ - Level 2
  • Learning Skills: C++ - Level 3
  • Click the "Create Resource" button to save the new resource.
  • Navigate back to the "Learning Resources" list and scroll to the bottom to locate the newly created resource.

Expected Result:

The admin user can access the learning resource creation form, fill in the details, and save the resource successfully. The newly created resource, C++ Structs, appears at the end of the learning resources list with the correct details.

Actual Result:

The test executed without errors; the admin user successfully created the learning resource, and it appeared in the list as expected.

test test test test test

Title: Admin Skill Creation and Verification Test on Softserve Academy

Description: Verify that an admin user can access the skill creation view, create a new skill, and see it listed in the skills list.

Test Steps:

  • Log in to the Softserve Academy platform as an admin user.
  • Hover over the "Admin" button in the navigation bar to access the dropdown menu.
  • Select "Skills" to view the list of existing skills.
  • Hover over the "Admin" button again and select "Create Skill" from the dropdown.
  • In the "Create Skill" form, fill in the following details:
  • Name: Scala
  • Skill Type: Programming Language
  • Image: Upload the scala_lang_logo_icon_170760.webp file
  • Click the "Create Skill" button to save the new skill.
  • Navigate back to the "Skills" list and scroll to verify that the newly created skill, Scala, appears in the list.

Expected Result:

The admin user can access the skill creation form, fill in the details, and save the skill successfully. The newly created skill, Scala, appears in the skills list with the correct details.

Actual Result:

The test executed without errors; the admin user successfully created the skill, and it appeared in the list as expected.

test test test

Accesibility Tests Using Google Lighthouse

https://pagespeed.web.dev/analysis/http-34-72-154-173/wvl1e06wbe?form_factor=desktop&category=performance&category=accessibility&category=best-practices&category=seo&hl=en-GB&utm_source=lh-chrome-ext

Image image image image

Usability testing

image image image image image image image image image image

Clone this wiki locally