Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update tests readme with up-to-date instructions #1346

Merged
merged 1 commit into from
May 1, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion tests/e2e/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ Running only failed tests is not yet implemented. However you can use tags to ru
Just add a tag before scenario, like:
```
Feature: Display record
@javascript
@example
Scenario: As a user I want to display a single record
```
Expand All @@ -33,10 +34,13 @@ And then run:
vendor/bin/behat --tags=example
```

Note: Make sure to keep the `@javascript` tag in order to run the E2E test
with a running browser under the hood.

Writing tests
---

Put your tests inside `./tests/behat/` folder.
Put your tests inside `./tests/e2e/` folder.

For describing test scenarios Behat uses [Gherkin syntax](http://docs.behat.org/en/v2.5/guides/1.gherkin.html).

Expand Down