Skip to content
Snippets Groups Projects
Commit aefe456f authored by Grzegorz Bizon's avatar Grzegorz Bizon
Browse files

Merge branch 'improve_qa_page_readme' into 'master'

Improve QA page README

See merge request gitlab-org/gitlab-ce!22176
parents bcc03064 8b3cdf05
No related branches found
No related tags found
1 merge request!10495Merge Requests - Assignee
Loading
Loading
@@ -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
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment