Commit aefe456f authored by Grzegorz Bizon's avatar Grzegorz Bizon

Merge branch 'improve_qa_page_readme' into 'master'

Improve QA page README

See merge request gitlab-org/gitlab-ce!22176
parents bcc03064 8b3cdf05
......@@ -86,8 +86,12 @@ module Page
end
```
It is possible to use `element` DSL method without value, with a String value
or with a Regexp.
The `view` DSL method declares the filename of the view where an
`element` is implmented.
The `element` DSL method in turn declares an element and defines a value
to match to the actual view code. It is possible to use `element` with value,
with a String value or with a Regexp.
```ruby
view 'app/views/my/view.html.haml' do
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment