feature: Implement playwright basic setup
Description:
Firecamp currently does not have any playwright configuration. This feature request is to implement a basic playwright setup to allow for testing and deploying Firecamp services using Playwright.
This should include:
- [ ] 1. Adding playwright and any required plugins as dependencies in package.json
- [ ] 2. Creating a simple playwright config file with a test script that runs a basic test
- [ ] 3. Setting up a playwright command to run tests
- [ ] 4. Creating a sample test file that imports and tests a simple Firecamp module (open Firecamp and test simple GET api. maybe JSONplaceholder)
- [ ] 5. Setting up Playwright to run on CI so tests are executed on each commit
- [ ] 6. Updating CONTRIBUTING.md with instructions on how to run tests locally
- [ ] 7. Updating README with a badge for playwright test status and note about the use of playwright for testing
This will lay the groundwork for an automated testing framework using Playwright. Additional tests can be added in future issues.
Resources
https://playwright.dev https://playwright.dev/docs/intro#installing-playwright https://playwright.dev/docs/writing-tests
@Nishchit14 I will work on it, please assign to me
@aggmoulik are you working on it?
interested in contributing to this issue. let me know if i can
Hey @Nishchit14 yes working on it. Will create a PR today.
Thank you @aggmoulik, more excited about the full PR. @nish17 let this PR get merged first, It will be followed by subsequent e2e tests. you can work on them.
@aggmoulik you seem busy, as we have other tasks that are dependent on this issue to get started. I will have to move forward from here. really appreciate your interest.
@nish17 would you like to continue with this task?
Hey @Nishchit14 sorry I was out of office, I suppose we can move forward as example test is only pending. I can make another PR for that if it is okay.
@aggmoulik - let me know if I can help out in anyway possible.
@aggmoulik sure, you can update the same PR. let me know once you're ready. i am planning to complete and merge this task by this week.
@nish17 would you be happy to take it further?