Files
core/tests/e2e
Bob den Otter eca2350e52 Merge pull request #1343 from bolt/feature/confirm-collection-item-delete
Require confirmation to delete collection item in editor
2020-05-01 13:55:42 +02:00
..
2020-01-27 10:11:53 +01:00
2020-04-16 16:30:08 +02:00
2020-01-27 10:11:53 +01:00
2020-02-01 16:58:15 +01:00
2020-04-29 14:07:46 +02:00
2020-01-27 10:11:53 +01:00
2020-02-01 16:58:15 +01:00
2020-02-01 16:58:15 +01:00
2020-01-27 10:11:53 +01:00
2020-01-27 10:11:53 +01:00
2020-01-27 10:11:53 +01:00
2020-01-27 10:11:53 +01:00
2020-01-27 10:11:53 +01:00
2020-03-28 16:28:47 +01:00
2020-01-27 10:11:53 +01:00

Bolt Behat end-to-end tests

Bolt uses Behat for E2E testing.

Installation

Be sure that you have Java installed.

Run under core folder:

./run_behat_tests.sh

Usage

Run all tests with:

make behat-js

Running only failed tests is not yet implemented. However you can use tags to run only a few of them! Just add a tag before scenario, like:

Feature: Display record
    @example
    Scenario: As a user I want to display a single record

And then run:

vendor/bin/behat --tags=example

Writing tests

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

For describing test scenarios Behat uses Gherkin syntax.

For writing custom steps please refer to Behat docs.