test: add smoke testing automation for telecom and ithelpdesk usecases #736
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Purpose
This pull request refactors and enhances the end-to-end test codebase, focusing on simplifying test logic, improving maintainability, and introducing new utilities for chat interaction and validation. The changes include significant cleanup of legacy code, improved response validation, and better test data management.
Test Data Management Improvements:
config/constants.py)Refactoring and Simplification:
BasePageandHomePage, streamlining methods for clarity and maintainability. (base/base.py,pages/HomePage.py) [1] [2]BasePageby removing unnecessary logging and error handling, focusing on status code assertion. (base/base.py)Enhanced Chat Interaction Utilities:
HomePagefor common chat actions:validate_chat_response,delete_first_chat_thread,edit_chat_title, andcreate_new_chat, making test scripts more expressive and reusable. (pages/HomePage.py)pages/HomePage.py)Test Selector and Wait Logic Updates:
pages/HomePage.py) [1] [2]General Code Quality:
base/base.py,pages/HomePage.py,config/constants.py) [1] [2] [3]These changes collectively improve the reliability, readability, and extensibility of the test suite, making it easier to add new tests and maintain existing ones.
Does this introduce a breaking change?
Golden Path Validation
Deployment Validation
What to Check
Verify that the following are valid
Other Information