Thank you for your interest in contributing to the E2E CodeceptJS Boilerplate! This document outlines the process for contributing to the project, including setting up the development environment, coding standards, and submitting changes.
- Code of Conduct
- Getting Started
- Development Setup
- Coding Standards
- Creating Issues
- Submitting Pull Requests
- Running Tests
- Commit Messages
- Contact
Please follow our Code of Conduct to maintain a welcoming environment for all contributors.
- Fork the repository to your GitHub account.
- Clone your forked repository to your local machine:
git clone https://github.com/your-username/e2e-codeceptjs-boilerplate.git
- Create a new branch for your feature or bugfix:
git checkout -b feature/your-feature-name
- Install Node.js (version 14.x or higher recommended).
- Install project dependencies:
npm install
- Set up Playwright browsers:
npx playwright install
- Run the tests to ensure everything is set up correctly:
npm run test
- Follow the Airbnb JavaScript Style Guide.
- Ensure your code passes ESLint checks before committing:
npm run lint
Before opening a new issue, search the existing issues to avoid duplicates. When creating a new issue, provide a detailed description, including steps to reproduce, expected behavior, and relevant screenshots.
- Ensure your branch is up to date with the latest
main
branch:git fetch origin git checkout main git pull origin main
- Push your branch to your fork:
git push origin feature/your-feature-name
- Open a pull request from your branch to the
main
branch of this repository. - Ensure that your PR description clearly explains the changes and includes relevant issue references.
- Run the complete test suite before submitting your PR:
npm run test
- Generate Allure reports:
npm run generate-allure-report-with-history
Use the following format for commit messages:
feat: Add new feature description
fix: Correct bug in specific module
docs: Update documentation
style: Improve code formatting
test: Add or update tests
chore: Miscellaneous tasks
For questions or help, open a discussion on GitHub or contact us at [dipenc245@gmail.com].