Supernova Internship Test Report

August - October 2024

Introduction

Internship Certificate

Tester Information

Name: Ryley Johnson

Date: Aug-Oct 2024

Video Demonstration

Disclaimer: Some scenes in this video have been blurred/redacted to maintain privacy.

Focus Areas

Test Results Summary

Component Total Tests Passed Failed Bugs Found
Cal_carrier_remmitance 28 14 14 14
Ping 5 5 0 0
Leads Management/Kanban Board - - - 8
Mobile UI - - - 5

Detailed Test Analysis

Cal_carrier_remmitance API Testing

Endpoint Parameters: carrier_id(string, requires uppercase), transaction_date(string, format: "YYYY-MM-DD")

Key Findings

Ping API Testing

- Limited test cases executed

- Potential for expansion into security testing (SQL injections)

Leads Management/Kanban Board Testing

Primary Issues

Mobile UI Testing

Key Issues

Recommendations

Technical Improvements

  1. Enhance error handling for invalid requests
  2. Implement user-friendly error messages
  3. Conduct comprehensive mobile testing
  4. Establish clear frontend functionality requirements

Specific API Recommendations

Error Response Enhancement

- Current issue: Complex error messages with stack traces

Disclaimer: The following error response is a generic example and has been modified to protect the privacy of the company's data.

{
                "error": "single positional indexer is out-of-bounds",
                "stackTrace": "Traceback (most recent call last):\n  File \"/path/to/api/file.py\", line 48, in http_trigger\n    response = temp_df.iloc[0].to_dict()\n               ~~~~~~~~~~~~^^^\n  File \"/path/to/library/file.py\", line 1191, in __getitem__\n    return self._getitem_axis(maybe_callable, axis=axis)\n           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n  File \"/path/to/library/file.py\", line 1752, in _getitem_axis\n    self._validate_integer(key, axis)\n  File \"/path/to/library/file.py\", line 1685, in _validate_integer\n    raise IndexError(\"single positional indexer is out-of-bounds\")\nIndexError: single positional indexer is out-of-bounds\n"
            }

- Recommendation: Implement user-friendly error messages

French Character Support

- Current behavior: Returns HTTP 400 for carrier_id with French accents

- Recommendation: Add support for French accented characters given Canadian service context

Date Handling Logic

- Current issue: Inconsistent start_date_inclu values

- Example: transaction_date of 2030-04-15 returns start_date_inclu of 2024-01-01

- Recommendation: Review and align date logic with business requirements

- My understanding of how this API is supposed to work is somewhat limited, but based on my assumption, for example, if I set a transaction_date of 2030-04-15, the start_date_inclu in the results should not be before that. However, when I tested this, I set the transaction_date to 2030-04-15, but the API response returned a start_date_inclu of 2024-01-01. Because of this assumption, I wrote a new postman pre-request and post-request script.

Final Conclusion

Testing the Supernova API and UI of the webapp was an excellent experience for the entire team. In this project, the API and UI testing efforts revealed significant areas of both success and improvements. While the platform demonstrated reliable handling of requests, a notable number of failed assertions and defects, particularly in error handling and validation were identified. The exploratory testing on both desktop and mobile platforms also uncovered several usability and functional issues, particularly concerning responsiveness and session management. Addressing these will be crucial for improving the overall user experience and reliability of the platform.