add Behat tests
This commit is contained in:
parent
88405438e4
commit
87270d8096
5 changed files with 362 additions and 0 deletions
10
features/wp-search.feature
Normal file
10
features/wp-search.feature
Normal file
|
@ -0,0 +1,10 @@
|
|||
Feature: Search
|
||||
In order to find older articles
|
||||
As a website user
|
||||
I need to be able to search for a word
|
||||
|
||||
Scenario: Searching for a post
|
||||
Given I am on the homepage
|
||||
When I search for "Welcome"
|
||||
Then I should see "Hello world!"
|
||||
And I should see "Welcome to WordPress. This is your first post."
|
Loading…
Add table
Add a link
Reference in a new issue