Playwright script for TC29, 105 and 113#692
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR implements two test cases (TC105 and TC113) for the project management module. TC105 tests the creation and deletion of private views, while TC113 tests multiple filter functionality with both positive and negative scenarios.
- Enhanced error handling in API requests with detailed error body logging
- Added comprehensive filter functionality for project listings
- Implemented private view creation and deletion capabilities
- Updated test data structure to support multiple project payloads per test case
Reviewed Changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated 7 comments.
Show a summary per file
| File | Description |
|---|---|
| tests/e2e/utils/api/projectRequests.js | Enhanced error handling with detailed error body logging for failed API requests |
| tests/e2e/specs/manager/project.spec.js | Added two new test cases (TC105, TC113) for private view management and project filtering |
| tests/e2e/pageObjects/projectPage.js | Extended page object with filter controls, view management, and utility methods |
| tests/e2e/helpers/timesheetHelper.js | Refactored to support multiple project payloads per test case with improved error handling |
| tests/e2e/data/manager/team.js | Updated employee list for TC53 test case |
| tests/e2e/data/manager/project.js | Added test data for TC105 and TC113 with multiple project configurations |
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Description
Relevant Technical Choices
Testing Instructions
Additional Information:
Screenshot/Screencast
Checklist
Fixes #