teammates
teammates copied to clipboard
Improve Front-End Testing
We should add further tests to the frontend to ensure our application works as intended.
This issue is created to help keep track of pages that require testing:
Very high priority
- [ ] Session Submission Page
- [ ] Session Edit Page
- [ ] Session Result Page
High priority
- [ ] Course Join Page
- [ ] Instructor Home Page
- [ ] Student Home Page
- [ ] Courses Page
- [ ] Course Edit Page
- [ ] Course Enroll Page
- [ ] Admin Search Page
Those picking up on this issue can take the example of Admin Home Page Tests and test some of the above pages.
Some things to look out for include:
- On the initial page load, correct API requests are made and page structure is correctly initialized (unit tests)
- Given an API output, the internal data structure of the page is correct (unit tests)
- Given internal data structure, the HTML generated is as expected (snapshot test)
- Given interaction, the internal data structure is changed as expected (unit tests)
- Given interaction which results in API requests, the service layer is called with the correct parameters (unit tests)
- (for results page) Given list of responses, the statistics should be calculated as expected (unit tests)
I will attempt on Student Home Page
component.
Hi, still some tests free classes available? Most of them are done as I checked.
@SimonHasak Hi, you can look for front end test files that do not have tests yet. It does not have to be in the list above. Alternatively, you can look at existing tests and see if there are any cases not tested for
Hello, we are a student group from Australian National University, is there any tests need to be done for this issue? We can start working on this issue! Thank you.
Hi, I'm new here.
I was just wondering why this issue remains open even though all 10 tasks of the issue have been completed?