mirror of
https://github.com/silverstripe/silverstripe-behat-extension
synced 2024-06-29 16:09:45 +02:00
Improved docs
This commit is contained in:
parent
71245ababd
commit
88de98e03d
|
@ -324,6 +324,10 @@ Here's a sample profile for your `behat.yml`:
|
||||||
|
|
||||||
## Cheatsheet
|
## Cheatsheet
|
||||||
|
|
||||||
|
This is a manually categorized list of available commands
|
||||||
|
when both the `cms` and `framework` modules are installed.
|
||||||
|
It's based on the `vendor/bin/behat -di @cms` output.
|
||||||
|
|
||||||
### Basics
|
### Basics
|
||||||
|
|
||||||
Then /^(?:|I )should see "(?P<text>(?:[^"]|\\")*)"$/
|
Then /^(?:|I )should see "(?P<text>(?:[^"]|\\")*)"$/
|
||||||
|
@ -459,7 +463,7 @@ Here's a sample profile for your `behat.yml`:
|
||||||
|
|
||||||
When /^I append "(?P<value>([^"]*))" to the "(?P<field>([^"]*))" HTML field$/
|
When /^I append "(?P<value>([^"]*))" to the "(?P<field>([^"]*))" HTML field$/
|
||||||
|
|
||||||
Then /^the "(?P<field>([^"]*))" HTML field should contain "(?P<value>([^"]*))"$/
|
Then /^the "(?P<locator>([^"]*))" HTML field should contain "(?P<html>([^"]*))"$/
|
||||||
|
|
||||||
When /^(?:|I )fill in "(?P<field>(?:[^"]|\\")*)" dropdown with "(?P<value>(?:[^"]|\\")*)"$/
|
When /^(?:|I )fill in "(?P<field>(?:[^"]|\\")*)" dropdown with "(?P<value>(?:[^"]|\\")*)"$/
|
||||||
- Workaround for chosen.js dropdowns or tree dropdowns which hide the original dropdown field.
|
- Workaround for chosen.js dropdowns or tree dropdowns which hide the original dropdown field.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user