11# Test cases
22
3- Below is a list of test cases that could be covered by automated scripts for the ** EngageSphere** application.
3+ Below is a list of test cases currently covered by automated scripts for the ** EngageSphere** application.
44
5- The tests should cover both the API and Graphical User Interface (GUI.)
5+ The tests cover both the API and Graphical User Interface (GUI.)
66
7- ## API
7+ > The GUI tests cover integrated frontend tests, accessibility (a11y) tests, and component tests.
8+
9+ ## API tests
810
911When sending a GET request to the ` /customers ` endpoint:
1012
@@ -21,7 +23,11 @@ When sending a GET request to the `/customers` endpoint:
2123- It handles invalid requests gracefully (e.g., limit as a boolean)
2224- It handles invalid requests gracefully (e.g., unsupported size)
2325
24- ## GUI
26+ ## GUI tests
27+
28+ Below are the three kinds of GUI tests:
29+
30+ ### Frontend integrated tests
2531
2632- It filters by All sizes
2733- It filters by Small size
@@ -36,7 +42,7 @@ When sending a GET request to the `/customers` endpoint:
3642- It disables the name text input field when there are no customers in the database
3743- It shows a Loading... fallback element before the initial customers' fetch
3844
39- ### A11y
45+ ### A11y tests
4046
4147- Customers table
4248 - It finds no a11y issues in light mode
@@ -51,7 +57,7 @@ When sending a GET request to the `/customers` endpoint:
5157 - It finds no a11y issues in light mode
5258 - It finds no a11y issues in dark mode
5359
54- ## Component
60+ ### Component tests
5561
5662- ` <CustomerDetails /> `
5763 - It renders with contact details
0 commit comments