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
While searching for some playwright set-up issues I came across this one and I gave it a try so I'm presenting this PR. I have setup basic tests With Playwright in JavaScript following #1790. The following changes have been made:
Changes
data-testid
to certain elements that didn't have unique selectors but were crucial to the testIssue Reference
#1790
TODO
The test that needs to be added after this
Testing:
How to Run the Tests:
Install Dependencies: Ensure you have all necessary dependencies installed by running:
npm install
Start the Web Server: Before running the tests, start the web server.
npm start
Ensure the web server is running and accessible.
Run Tests Locally: To execute the tests locally, use the following command:
Run Tests in CI: The tests are configured to run automatically in the CI pipeline on each build. You can verify this by checking the CI logs for the test execution results.
Request for Review
I would be grateful if you could take a look at this PR and review the changes if this PR meets your expectations.