mirror of
https://github.com/silverstripe/silverstripe-behat-extension
synced 2024-10-22 17:05:32 +02:00
More examples on versioned
This commit is contained in:
parent
a35636f6b0
commit
6a24609dab
@ -641,6 +641,8 @@ It's based on the `vendor/bin/behat -di @cms` output.
|
||||
|
||||
Given /^(?:(an|a|the) )"(?<type>[^"]+)" "(?<id>[^"]+)" is (?<state>[^"]*)$/
|
||||
- Example: Given the "page" "Page 1" is not published
|
||||
- Example: Given the "page" "Page 1" is published
|
||||
- Example: Given the "page" "Page 1" is deleted
|
||||
|
||||
Given /^there are the following ([^\s]*) records$/
|
||||
- Accepts YAML fixture definitions similar to the ones used in SilverStripe unit testing.
|
||||
|
Loading…
Reference in New Issue
Block a user