Skip to content

feature: Implement playwright basic setup #114

@Nishchit14

Description

@Nishchit14

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions