Skip to content

Commit

Permalink
docs: adding general rules to e2e contribution guidelines (#1966)
Browse files Browse the repository at this point in the history
* adding general rules

* Update CONTRIBUTING.MD
  • Loading branch information
nilgaar authored Dec 4, 2024
1 parent df8bf7b commit 04df020
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions docs/e2e-tests/CONTRIBUTING.MD
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,13 @@ These principles are valid for new contributions. Some parts of the codebase may

All architecture principles and guidelines must be agreed upon by the team. Every team member's voice is important, and open communication ensures alignment and shared understanding of the project's direction.

6. **General Rules**

All tests have to follow a set of simple rules:
I. Check the preconditions. If tests are running in parallel, try to create the preconditions you need to avoid race conditions.
II. Each test has to test one and only one thing.
III. All tests have to contain preconditions, actions, and assertions, like you whould do in [Gherkin](https://cucumber.io/docs/guides/overview/); think in those terms.

#### Technical Guidelines

1. **Page Object Model (POM)**
Expand Down

0 comments on commit 04df020

Please sign in to comment.