adi-kiran / career-flow

Application Tracking System for Group 64, Project 3
MIT License
0 stars 3 forks source link

UI Testing Framework #45

Open amritav opened 10 months ago

amritav commented 10 months ago

The Need for a UI Testing Framework

Currently we don't have any framework to test if the components have been rendered correctly in the browser. Having a UI testing framework will ensure we don't break any workflows when making changes.

Why UI Testing Matters

UI testing is an essential aspect of software development, particularly in web applications where user interfaces play a crucial role in user satisfaction. Ensuring that components are rendered correctly is vital for the following reasons:

1. Preventing Workflow Disruptions

Without a UI testing framework, we run the risk of introducing errors and breaking existing workflows when making changes to our codebase. A simple code modification can unintentionally impact the rendering of components, leading to unexpected behavior for users. UI testing helps identify these issues early in the development process, reducing the likelihood of workflow disruptions.

2. Enhancing User Experience

A well-tested user interface contributes to a seamless and enjoyable user experience. UI testing ensures that our applications consistently meet user expectations.

Affected Parts: All React Components

To address these concerns and establish a robust testing strategy, we propose implementing a UI testing framework that will be applied to all React components within our application. This comprehensive approach ensures that no component is left untested, minimizing the chances of overlooking critical rendering issues.