Skip to content

Latest commit

 

History

History
91 lines (80 loc) · 2.82 KB

CONTRIBUTING.md

File metadata and controls

91 lines (80 loc) · 2.82 KB

Contributing to E2E CodeceptJS Boilerplate

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.

Table of Contents

Code of Conduct

Please follow our Code of Conduct to maintain a welcoming environment for all contributors.

Getting Started

  1. Fork the repository to your GitHub account.
  2. Clone your forked repository to your local machine:
    git clone https://github.com/your-username/e2e-codeceptjs-boilerplate.git
  3. Create a new branch for your feature or bugfix:
    git checkout -b feature/your-feature-name

Development Setup

  1. Install Node.js (version 14.x or higher recommended).
  2. Install project dependencies:
    npm install
  3. Set up Playwright browsers:
    npx playwright install
  4. Run the tests to ensure everything is set up correctly:
    npm run test

Coding Standards

Creating Issues

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.

Submitting Pull Requests

  1. Ensure your branch is up to date with the latest main branch:
    git fetch origin
    git checkout main
    git pull origin main
  2. Push your branch to your fork:
    git push origin feature/your-feature-name
  3. Open a pull request from your branch to the main branch of this repository.
  4. Ensure that your PR description clearly explains the changes and includes relevant issue references.

Running Tests

  • Run the complete test suite before submitting your PR:
    npm run test
  • Generate Allure reports:
    npm run generate-allure-report-with-history

Commit Messages

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

Contact

For questions or help, open a discussion on GitHub or contact us at [dipenc245@gmail.com].