- Testing Framework: Cypress
- Website Under Test: StackInfo
Out of 20 test cases executed, 15 passed successfully, while 5 failed.
-
Should allow typing a search query - Passed
- Users can type a search query into the search bar.
-
Should verify search field presence - Passed
- The search field is present and visible.
-
Should allow entering valid and not invalid inputs - Failed
- Validation of inputs encountered failures.
-
Should display relevant cards when searching for an existing company - Passed
- Relevant cards are displayed for existing companies.
-
Should display cards for companies using a specific technology - Passed
- Cards are displayed for companies using a specific technology.
-
Should support searching for multiple keywords - Passed
- Searching for multiple keywords returns relevant results.
-
Should display an error message for URL input - Passed
- Correctly displays an error message for URL input.
-
Should display an error message for empty input - Failed
- Failed to display an error message for empty input. it display all companies.
-
Should display an error message for invalid input - Passed
- Successfully displayed an error message for invalid input.
-
Should clear search results when "Remove All" button is clicked - Passed
- Clears search results upon clicking "Remove All" button.
-
Should display an error message for number input - Failed
- Failed to display an error message for number input. Further investigation needed.
-
Should persist search results after refreshing the page - Failed
- Search results were not persisted after refreshing the page.
-
Should allow typing a search query in lower case only - Passed
- Allows typing a search query in lower case.
-
Should allow typing a search query in upper case only - Passed
- Allows typing a search query in upper case.
-
Should allow typing a search query in both lower and upper cases - Passed
- Allows typing a search query in both lower and upper cases.
-
Should allow typing a partial search query - Passed
- Partial search queries return relevant results.
-
Should have a Placeholder Text in Search Input Field - Passed
- Displays the placeholder text in the search input field.
-
Should display valid output after clicking on the search button - Failed
- Failed to display valid output after clicking on the search button. Further investigation needed.
-
Should display relevant cards when searching for a partial existing company - Passed
- Relevant cards are displayed when searching for a partial existing company.
-
Should display relevant cards when searching for a partial existing city - Passed
- Relevant cards are displayed when searching for a partial existing city.
The test suite provided valuable insights into the functionality of the search feature on the StackInfo website. While many aspects of the search functionality worked as expected, there are areas that require further investigation and potential refinement in the test scenarios.